/* gitg-commit-model.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-commit-model.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - Jesse van den Kieboom
 *
 * gitg is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * gitg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with gitg. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <libgit2-glib/ggit.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <gee.h>
#include <float.h>
#include <math.h>


#define GITG_TYPE_COMMIT_MODEL_COLUMNS (gitg_commit_model_columns_get_type ())

#define GITG_TYPE_COMMIT (gitg_commit_get_type ())
#define GITG_COMMIT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT, GitgCommit))
#define GITG_COMMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT, GitgCommitClass))
#define GITG_IS_COMMIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT))
#define GITG_IS_COMMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT))
#define GITG_COMMIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT, GitgCommitClass))

typedef struct _GitgCommit GitgCommit;
typedef struct _GitgCommitClass GitgCommitClass;

#define GITG_TYPE_COMMIT_MODEL (gitg_commit_model_get_type ())
#define GITG_COMMIT_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_COMMIT_MODEL, GitgCommitModel))
#define GITG_COMMIT_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_COMMIT_MODEL, GitgCommitModelClass))
#define GITG_IS_COMMIT_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_COMMIT_MODEL))
#define GITG_IS_COMMIT_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_COMMIT_MODEL))
#define GITG_COMMIT_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_COMMIT_MODEL, GitgCommitModelClass))

typedef struct _GitgCommitModel GitgCommitModel;
typedef struct _GitgCommitModelClass GitgCommitModelClass;
typedef struct _GitgCommitModelPrivate GitgCommitModelPrivate;

#define GITG_TYPE_REPOSITORY (gitg_repository_get_type ())
#define GITG_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REPOSITORY, GitgRepository))
#define GITG_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REPOSITORY, GitgRepositoryClass))
#define GITG_IS_REPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REPOSITORY))
#define GITG_IS_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REPOSITORY))
#define GITG_REPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REPOSITORY, GitgRepositoryClass))

typedef struct _GitgRepository GitgRepository;
typedef struct _GitgRepositoryClass GitgRepositoryClass;

#define GITG_TYPE_LANES (gitg_lanes_get_type ())
#define GITG_LANES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_LANES, GitgLanes))
#define GITG_LANES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_LANES, GitgLanesClass))
#define GITG_IS_LANES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_LANES))
#define GITG_IS_LANES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_LANES))
#define GITG_LANES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_LANES, GitgLanesClass))

typedef struct _GitgLanes GitgLanes;
typedef struct _GitgLanesClass GitgLanesClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_thread_unref0(var) ((var == NULL) ? NULL : (var = (g_thread_unref (var), NULL)))
typedef struct _Block2Data Block2Data;
typedef struct _Block3Data Block3Data;
typedef struct _Block4Data Block4Data;
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _g_timer_destroy0(var) ((var == NULL) ? NULL : (var = (g_timer_destroy (var), NULL)))

#define GITG_TYPE_LANE (gitg_lane_get_type ())
#define GITG_LANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_LANE, GitgLane))
#define GITG_LANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_LANE, GitgLaneClass))
#define GITG_IS_LANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_LANE))
#define GITG_IS_LANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_LANE))
#define GITG_LANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_LANE, GitgLaneClass))

typedef struct _GitgLane GitgLane;
typedef struct _GitgLaneClass GitgLaneClass;
#define __g_slist_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_slist_free__g_object_unref0_ (var), NULL)))
typedef struct _GitgCommitModelWalkData GitgCommitModelWalkData;
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

typedef enum  {
	GITG_COMMIT_MODEL_COLUMNS_SHA1,
	GITG_COMMIT_MODEL_COLUMNS_SUBJECT,
	GITG_COMMIT_MODEL_COLUMNS_MESSAGE,
	GITG_COMMIT_MODEL_COLUMNS_AUTHOR,
	GITG_COMMIT_MODEL_COLUMNS_AUTHOR_NAME,
	GITG_COMMIT_MODEL_COLUMNS_AUTHOR_EMAIL,
	GITG_COMMIT_MODEL_COLUMNS_AUTHOR_DATE,
	GITG_COMMIT_MODEL_COLUMNS_COMMITTER,
	GITG_COMMIT_MODEL_COLUMNS_COMMITTER_NAME,
	GITG_COMMIT_MODEL_COLUMNS_COMMITTER_EMAIL,
	GITG_COMMIT_MODEL_COLUMNS_COMMITTER_DATE,
	GITG_COMMIT_MODEL_COLUMNS_COMMIT,
	GITG_COMMIT_MODEL_COLUMNS_NUM
} GitgCommitModelColumns;

struct _GitgCommitModel {
	GObject parent_instance;
	GitgCommitModelPrivate * priv;
};

struct _GitgCommitModelClass {
	GObjectClass parent_class;
};

struct _GitgCommitModelPrivate {
	GitgRepository* d_repository;
	GCancellable* d_cancellable;
	GitgCommit** d_ids;
	gint d_ids_length1;
	gint _d_ids_size_;
	GRecMutex __lock_d_ids;
	GitgCommit** d_hidden_ids;
	gint d_hidden_ids_length1;
	gint _d_hidden_ids_size_;
	GThread* d_thread;
	GgitRevisionWalker* d_walker;
	guint d_advertized_size;
	guint d_idleid;
	GRecMutex __lock_d_idleid;
	GitgLanes* d_lanes;
	GgitSortMode d_sortmode;
	GeeHashMap* d_id_hash;
	GRecMutex __lock_d_id_hash;
	GgitOId** d_include;
	gint d_include_length1;
	gint _d_include_size_;
	GgitOId** d_exclude;
	gint d_exclude_length1;
	gint _d_exclude_size_;
	guint d_size;
	gint d_stamp;
	guint _limit;
	GgitOId** _permanent_lanes;
	gint _permanent_lanes_length1;
	gint __permanent_lanes_size_;
};

struct _Block2Data {
	int _ref_count_;
	GitgCommitModel* self;
	GSourceFunc finishedcb;
	gpointer finishedcb_target;
	GDestroyNotify finishedcb_target_destroy_notify;
};

struct _Block3Data {
	int _ref_count_;
	Block2Data * _data2_;
	guint newsize;
};

struct _Block4Data {
	int _ref_count_;
	GitgCommitModel* self;
	GgitOId** included;
	gint included_length1;
	gint _included_size_;
	GgitOId** excluded;
	gint excluded_length1;
	gint _excluded_size_;
	guint limit;
	GSourceFunc cb;
	gpointer cb_target;
	GDestroyNotify cb_target_destroy_notify;
	gdouble wait_elapsed_incremental;
	gdouble wait_elapsed;
	GgitOId** permlanes;
	gint permlanes_length1;
	gint _permlanes_size_;
	GCancellable* cancellable;
	gpointer _async_data_;
};

struct _GitgCommitModelWalkData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitModel* self;
	GCancellable* cancellable;
	Block4Data* _data4_;
	GCancellable* _tmp0_;
	GgitOId** _tmp1_;
	gint _tmp1__length1;
	GgitOId** _tmp2_;
	gint _tmp2__length1;
	GgitOId** _tmp3_;
	gint _tmp3__length1;
	GgitOId** _tmp4_;
	gint _tmp4__length1;
	guint _tmp5_;
	gdouble wait_elapsed_initial;
	gdouble _tmp6_;
	GgitOId** _tmp7_;
	gint _tmp7__length1;
	GgitOId** _tmp8_;
	gint _tmp8__length1;
	GgitOId** _tmp9_;
	gint _tmp9__length1;
	GThreadFunc run;
	void* run_target;
	GDestroyNotify run_target_destroy_notify;
	GThread* _tmp10_;
	GThreadFunc _tmp11_;
	void* _tmp11__target;
	GDestroyNotify _tmp11__target_destroy_notify;
	GThread* _tmp12_;
	GThread* _tmp13_;
	GError * _inner_error_;
};


static gpointer gitg_commit_model_parent_class = NULL;
static GtkTreeModelIface* gitg_commit_model_gtk_tree_model_parent_iface = NULL;

GType gitg_commit_model_columns_get_type (void) G_GNUC_CONST;
GType gitg_commit_model_columns_type (GitgCommitModelColumns self);
GType gitg_commit_get_type (void) G_GNUC_CONST;
GType gitg_commit_model_get_type (void) G_GNUC_CONST;
GType gitg_repository_get_type (void) G_GNUC_CONST;
GType gitg_lanes_get_type (void) G_GNUC_CONST;
#define GITG_COMMIT_MODEL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_COMMIT_MODEL, GitgCommitModelPrivate))
enum  {
	GITG_COMMIT_MODEL_DUMMY_PROPERTY,
	GITG_COMMIT_MODEL_LIMIT,
	GITG_COMMIT_MODEL_SORT_MODE,
	GITG_COMMIT_MODEL_REPOSITORY
};
static void _vala_GgitOId_free (GgitOId* self);
GitgCommitModel* gitg_commit_model_new (GitgRepository* repository);
GitgCommitModel* gitg_commit_model_construct (GType object_type, GitgRepository* repository);
static void gitg_commit_model_real_dispose (GObject* base);
static void gitg_commit_model_cancel (GitgCommitModel* self);
static void gitg_commit_model_clear (GitgCommitModel* self);
static GgitOId* _vala_GgitOId_copy (GgitOId* self);
void gitg_commit_model_reload (GitgCommitModel* self);
static void gitg_commit_model_walk (GitgCommitModel* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_model_walk_finish (GitgCommitModel* self, GAsyncResult* _res_);
static void __lambda38_ (GitgCommitModel* self, GObject* obj, GAsyncResult* res);
static void ___lambda38__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
guint gitg_commit_model_size (GitgCommitModel* self);
GitgCommit* gitg_commit_model_get (GitgCommitModel* self, guint idx);
void gitg_commit_model_set_include (GitgCommitModel* self, GgitOId** ids, int ids_length1);
static GgitOId** _vala_array_dup1 (GgitOId** self, int length);
void gitg_commit_model_set_exclude (GitgCommitModel* self, GgitOId** ids, int ids_length1);
static GgitOId** _vala_array_dup2 (GgitOId** self, int length);
static void gitg_commit_model_notify_batch (GitgCommitModel* self, GSourceFunc finishedcb, void* finishedcb_target, GDestroyNotify finishedcb_target_destroy_notify);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (void * _userdata_);
static gboolean ____lambda35_ (Block3Data* _data3_);
static void gitg_commit_model_emit_update (GitgCommitModel* self, guint added);
static gboolean _____lambda35__gsource_func (gpointer self);
static gboolean gitg_commit_model_needs_resize (GitgCommitModel* self, GitgCommit** ids, int ids_length1, guint* size);
static void gitg_commit_model_walk_data_free (gpointer _data);
static gboolean gitg_commit_model_walk_co (GitgCommitModelWalkData* _data_);
static Block4Data* block4_data_ref (Block4Data* _data4_);
static void block4_data_unref (void * _userdata_);
static GgitOId** _vala_array_dup3 (GgitOId** self, int length);
static GgitOId** _vala_array_dup4 (GgitOId** self, int length);
guint gitg_commit_model_get_limit (GitgCommitModel* self);
static gboolean _gitg_commit_model_walk_co_gsource_func (gpointer self);
GgitOId** gitg_commit_model_get_permanent_lanes (GitgCommitModel* self, int* result_length1);
static GgitOId** _vala_array_dup5 (GgitOId** self, int length);
static void* __lambda34_ (Block4Data* _data4_);
static void _vala_array_add1 (GgitOId*** array, int* length, int* size, GgitOId* value);
void gitg_lanes_reset (GitgLanes* self, GgitOId** reserved, int reserved_length1, GeeHashSet* roots);
static guint ____lambda36_ (GitgCommitModel* self, GgitOId* i);
static guint _____lambda36__gee_hash_data_func (gconstpointer v, gpointer self);
static gboolean ____lambda37_ (GitgCommitModel* self, GgitOId* a, GgitOId* b);
static gboolean _____lambda37__gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self);
gpointer gitg_repository_lookup (GitgRepository* self, GType t_type, GBoxedCopyFunc t_dup_func, GDestroyNotify t_destroy_func, GgitOId* id, GError** error);
GType gitg_lane_get_type (void) G_GNUC_CONST;
gboolean gitg_lanes_next (GitgLanes* self, GitgCommit* next, GSList** lanes, gint* nextpos);
static void _g_object_unref0_ (gpointer var);
static void _g_slist_free__g_object_unref0_ (GSList* self);
void gitg_commit_update_lanes (GitgCommit* self, GSList* lanes, gint mylane);
static gpointer ___lambda34__gthread_func (gpointer self);
static GType gitg_commit_model_real_get_column_type (GtkTreeModel* base, gint index);
static GtkTreeModelFlags gitg_commit_model_real_get_flags (GtkTreeModel* base);
static gboolean gitg_commit_model_real_get_iter (GtkTreeModel* base, GtkTreeIter* iter, GtkTreePath* path);
static gint* _vala_array_dup6 (gint* self, int length);
static gint gitg_commit_model_real_get_n_columns (GtkTreeModel* base);
static GtkTreePath* gitg_commit_model_real_get_path (GtkTreeModel* base, GtkTreeIter* iter);
static void gitg_commit_model_real_get_value (GtkTreeModel* base, GtkTreeIter* iter, gint column, GValue* val);
gchar* gitg_commit_get_committer_date_for_display (GitgCommit* self);
gchar* gitg_commit_get_author_date_for_display (GitgCommit* self);
GitgCommit* gitg_commit_model_commit_from_iter (GitgCommitModel* self, GtkTreeIter* iter);
GtkTreePath* gitg_commit_model_path_from_commit (GitgCommitModel* self, GitgCommit* commit);
GitgCommit* gitg_commit_model_commit_from_path (GitgCommitModel* self, GtkTreePath* path);
static gint* _vala_array_dup7 (gint* self, int length);
static gboolean gitg_commit_model_real_iter_children (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent);
static gboolean gitg_commit_model_real_iter_has_child (GtkTreeModel* base, GtkTreeIter* iter);
static gint gitg_commit_model_real_iter_n_children (GtkTreeModel* base, GtkTreeIter* iter);
static gboolean gitg_commit_model_real_iter_next (GtkTreeModel* base, GtkTreeIter* iter);
static gboolean gitg_commit_model_real_iter_nth_child (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent, gint n);
static gboolean gitg_commit_model_real_iter_parent (GtkTreeModel* base, GtkTreeIter* parent, GtkTreeIter* iter);
void gitg_commit_model_set_limit (GitgCommitModel* self, guint value);
GgitSortMode gitg_commit_model_get_sort_mode (GitgCommitModel* self);
void gitg_commit_model_set_sort_mode (GitgCommitModel* self, GgitSortMode value);
GitgRepository* gitg_commit_model_get_repository (GitgCommitModel* self);
void gitg_commit_model_set_repository (GitgCommitModel* self, GitgRepository* value);
void gitg_commit_model_set_permanent_lanes (GitgCommitModel* self, GgitOId** value, int value_length1);
static GgitOId** _vala_array_dup8 (GgitOId** self, int length);
static GObject * gitg_commit_model_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
GitgLanes* gitg_lanes_new (void);
GitgLanes* gitg_lanes_construct (GType object_type);
static void gitg_commit_model_finalize (GObject* obj);
static void _vala_gitg_commit_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_commit_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


GType gitg_commit_model_columns_type (GitgCommitModelColumns self) {
	GType result = 0UL;
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	switch (self) {
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SHA1:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SUBJECT:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_MESSAGE:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_NAME:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_EMAIL:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_DATE:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_NAME:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_EMAIL:
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_DATE:
#line 362 "gitg-commit-model.c"
		{
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			result = G_TYPE_STRING;
#line 53 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 368 "gitg-commit-model.c"
		}
#line 40 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMIT:
#line 372 "gitg-commit-model.c"
		{
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			result = GITG_TYPE_COMMIT;
#line 55 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 378 "gitg-commit-model.c"
		}
		default:
		{
#line 57 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 384 "gitg-commit-model.c"
		}
	}
#line 60 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = G_TYPE_INVALID;
#line 60 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 391 "gitg-commit-model.c"
}


GType gitg_commit_model_columns_get_type (void) {
	static volatile gsize gitg_commit_model_columns_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_model_columns_type_id__volatile)) {
		static const GEnumValue values[] = {{GITG_COMMIT_MODEL_COLUMNS_SHA1, "GITG_COMMIT_MODEL_COLUMNS_SHA1", "sha1"}, {GITG_COMMIT_MODEL_COLUMNS_SUBJECT, "GITG_COMMIT_MODEL_COLUMNS_SUBJECT", "subject"}, {GITG_COMMIT_MODEL_COLUMNS_MESSAGE, "GITG_COMMIT_MODEL_COLUMNS_MESSAGE", "message"}, {GITG_COMMIT_MODEL_COLUMNS_AUTHOR, "GITG_COMMIT_MODEL_COLUMNS_AUTHOR", "author"}, {GITG_COMMIT_MODEL_COLUMNS_AUTHOR_NAME, "GITG_COMMIT_MODEL_COLUMNS_AUTHOR_NAME", "author-name"}, {GITG_COMMIT_MODEL_COLUMNS_AUTHOR_EMAIL, "GITG_COMMIT_MODEL_COLUMNS_AUTHOR_EMAIL", "author-email"}, {GITG_COMMIT_MODEL_COLUMNS_AUTHOR_DATE, "GITG_COMMIT_MODEL_COLUMNS_AUTHOR_DATE", "author-date"}, {GITG_COMMIT_MODEL_COLUMNS_COMMITTER, "GITG_COMMIT_MODEL_COLUMNS_COMMITTER", "committer"}, {GITG_COMMIT_MODEL_COLUMNS_COMMITTER_NAME, "GITG_COMMIT_MODEL_COLUMNS_COMMITTER_NAME", "committer-name"}, {GITG_COMMIT_MODEL_COLUMNS_COMMITTER_EMAIL, "GITG_COMMIT_MODEL_COLUMNS_COMMITTER_EMAIL", "committer-email"}, {GITG_COMMIT_MODEL_COLUMNS_COMMITTER_DATE, "GITG_COMMIT_MODEL_COLUMNS_COMMITTER_DATE", "committer-date"}, {GITG_COMMIT_MODEL_COLUMNS_COMMIT, "GITG_COMMIT_MODEL_COLUMNS_COMMIT", "commit"}, {GITG_COMMIT_MODEL_COLUMNS_NUM, "GITG_COMMIT_MODEL_COLUMNS_NUM", "num"}, {0, NULL, NULL}};
		GType gitg_commit_model_columns_type_id;
		gitg_commit_model_columns_type_id = g_enum_register_static ("GitgCommitModelColumns", values);
		g_once_init_leave (&gitg_commit_model_columns_type_id__volatile, gitg_commit_model_columns_type_id);
	}
	return gitg_commit_model_columns_type_id__volatile;
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 78 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 410 "gitg-commit-model.c"
}


GitgCommitModel* gitg_commit_model_construct (GType object_type, GitgRepository* repository) {
	GitgCommitModel * self = NULL;
	GitgRepository* _tmp0_ = NULL;
#line 127 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = repository;
#line 127 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) g_object_new (object_type, "repository", _tmp0_, NULL);
#line 125 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return self;
#line 423 "gitg-commit-model.c"
}


GitgCommitModel* gitg_commit_model_new (GitgRepository* repository) {
#line 125 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return gitg_commit_model_construct (GITG_TYPE_COMMIT_MODEL, repository);
#line 430 "gitg-commit-model.c"
}


static void gitg_commit_model_real_dispose (GObject* base) {
	GitgCommitModel * self;
#line 136 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 138 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_cancel (self);
#line 440 "gitg-commit-model.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 145 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return self ? g_object_ref (self) : NULL;
#line 447 "gitg-commit-model.c"
}


static gpointer _g_thread_ref0 (gpointer self) {
#line 150 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return self ? g_thread_ref (self) : NULL;
#line 454 "gitg-commit-model.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 461 "gitg-commit-model.c"
}


static void gitg_commit_model_cancel (GitgCommitModel* self) {
	GCancellable* _tmp0_ = NULL;
	GitgCommit** _tmp10_ = NULL;
	GitgCommit** _tmp11_ = NULL;
	GeeHashMap* _tmp12_ = NULL;
	GError * _inner_error_ = NULL;
#line 141 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 143 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_cancellable;
#line 143 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ != NULL) {
#line 477 "gitg-commit-model.c"
		GCancellable* cancellable = NULL;
		GCancellable* _tmp1_ = NULL;
		GCancellable* _tmp2_ = NULL;
		GCancellable* _tmp3_ = NULL;
		GThread* _tmp4_ = NULL;
		GThread* _tmp5_ = NULL;
#line 145 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = self->priv->d_cancellable;
#line 145 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = _g_object_ref0 (_tmp1_);
#line 145 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		cancellable = _tmp2_;
#line 146 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (self->priv->d_cancellable);
#line 146 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_cancellable = NULL;
#line 148 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = cancellable;
#line 148 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_cancellable_cancel (_tmp3_);
#line 150 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = self->priv->d_thread;
#line 150 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp5_ = _g_thread_ref0 (_tmp4_);
#line 150 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_thread_join (_tmp5_);
#line 151 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (self->priv->d_thread);
#line 151 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_thread = NULL;
#line 143 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (cancellable);
#line 510 "gitg-commit-model.c"
	}
	{
		guint _tmp6_ = 0U;
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp6_ = self->priv->d_idleid;
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_idleid);
#line 518 "gitg-commit-model.c"
		{
			guint _tmp7_ = 0U;
#line 156 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp7_ = self->priv->d_idleid;
#line 156 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp7_ != ((guint) 0)) {
#line 525 "gitg-commit-model.c"
				guint _tmp8_ = 0U;
#line 158 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp8_ = self->priv->d_idleid;
#line 158 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				g_source_remove (_tmp8_);
#line 159 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_idleid = (guint) 0;
#line 533 "gitg-commit-model.c"
			}
		}
		__finally6:
		{
			guint _tmp9_ = 0U;
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp9_ = self->priv->d_idleid;
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_idleid);
#line 543 "gitg-commit-model.c"
		}
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 154 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return;
#line 553 "gitg-commit-model.c"
		}
	}
#line 163 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_clear (self);
#line 165 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp10_ = g_new0 (GitgCommit*, 0 + 1);
#line 165 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_ids = (_vala_array_free (self->priv->d_ids, self->priv->d_ids_length1, (GDestroyNotify) g_object_unref), NULL);
#line 165 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_ids = _tmp10_;
#line 165 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_ids_length1 = 0;
#line 165 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_ids_size_ = self->priv->d_ids_length1;
#line 166 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp11_ = g_new0 (GitgCommit*, 0 + 1);
#line 166 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_hidden_ids = (_vala_array_free (self->priv->d_hidden_ids, self->priv->d_hidden_ids_length1, (GDestroyNotify) g_object_unref), NULL);
#line 166 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_hidden_ids = _tmp11_;
#line 166 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_hidden_ids_length1 = 0;
#line 166 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_hidden_ids_size_ = self->priv->d_hidden_ids_length1;
#line 167 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_advertized_size = (guint) 0;
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp12_ = gee_hash_map_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, G_TYPE_INT, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_id_hash);
#line 169 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_id_hash = _tmp12_;
#line 586 "gitg-commit-model.c"
}


static void __lambda38_ (GitgCommitModel* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_ = NULL;
	GThread* _tmp1_ = NULL;
	GThread* _tmp2_ = NULL;
#line 186 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (res != NULL);
#line 187 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = res;
#line 187 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_walk_finish (self, _tmp0_);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = self->priv->d_thread;
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = _g_thread_ref0 (_tmp1_);
#line 189 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_thread_join (_tmp2_);
#line 190 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_thread_unref0 (self->priv->d_thread);
#line 190 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_thread = NULL;
#line 192 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "finished");
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 193 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_cancellable = NULL;
#line 616 "gitg-commit-model.c"
}


static void ___lambda38__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 186 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	__lambda38_ ((GitgCommitModel*) self, source_object, res);
#line 186 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_unref (self);
#line 625 "gitg-commit-model.c"
}


void gitg_commit_model_reload (GitgCommitModel* self) {
	gboolean _tmp0_ = FALSE;
	GitgRepository* _tmp1_ = NULL;
	GCancellable* cancellable = NULL;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
	GCancellable* _tmp5_ = NULL;
	GCancellable* _tmp6_ = NULL;
#line 172 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 174 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_cancel (self);
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = self->priv->d_repository;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp1_ == NULL) {
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = TRUE;
#line 647 "gitg-commit-model.c"
	} else {
		GgitOId** _tmp2_ = NULL;
		gint _tmp2__length1 = 0;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_include;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2__length1 = self->priv->d_include_length1;
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = _tmp2__length1 == 0;
#line 657 "gitg-commit-model.c"
	}
#line 176 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_) {
#line 178 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return;
#line 663 "gitg-commit-model.c"
	}
#line 181 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = g_cancellable_new ();
#line 181 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	cancellable = _tmp3_;
#line 182 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = cancellable;
#line 182 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 182 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 182 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_cancellable = _tmp5_;
#line 184 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "started");
#line 186 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = cancellable;
#line 186 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_walk (self, _tmp6_, ___lambda38__gasync_ready_callback, g_object_ref (self));
#line 172 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (cancellable);
#line 685 "gitg-commit-model.c"
}


guint gitg_commit_model_size (GitgCommitModel* self) {
	guint result = 0U;
	guint _tmp0_ = 0U;
#line 197 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_advertized_size;
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp0_;
#line 199 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 700 "gitg-commit-model.c"
}


GitgCommit* gitg_commit_model_get (GitgCommitModel* self, guint idx) {
	GitgCommit* result = NULL;
	GitgCommit* ret = NULL;
	guint _tmp0_ = 0U;
	guint _tmp1_ = 0U;
	GError * _inner_error_ = NULL;
#line 202 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 206 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = idx;
#line 206 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = self->priv->d_advertized_size;
#line 206 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ >= _tmp1_) {
#line 208 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = NULL;
#line 208 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (ret);
#line 208 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 724 "gitg-commit-model.c"
	}
	{
		GitgCommit** _tmp2_ = NULL;
		gint _tmp2__length1 = 0;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_ids;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2__length1 = self->priv->d_ids_length1;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_ids);
#line 735 "gitg-commit-model.c"
		{
			GitgCommit** _tmp3_ = NULL;
			gint _tmp3__length1 = 0;
			guint _tmp4_ = 0U;
			GitgCommit* _tmp5_ = NULL;
			GitgCommit* _tmp6_ = NULL;
#line 213 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = self->priv->d_ids;
#line 213 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp3__length1 = self->priv->d_ids_length1;
#line 213 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = idx;
#line 213 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = _tmp3_[_tmp4_];
#line 213 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp6_ = _g_object_ref0 (_tmp5_);
#line 213 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (ret);
#line 213 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			ret = _tmp6_;
#line 756 "gitg-commit-model.c"
		}
		__finally7:
		{
			GitgCommit** _tmp7_ = NULL;
			gint _tmp7__length1 = 0;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp7_ = self->priv->d_ids;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp7__length1 = self->priv->d_ids_length1;
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_ids);
#line 768 "gitg-commit-model.c"
		}
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (ret);
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 211 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 780 "gitg-commit-model.c"
		}
	}
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = ret;
#line 216 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 787 "gitg-commit-model.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 794 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup1 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 805 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 811 "gitg-commit-model.c"
	}
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 815 "gitg-commit-model.c"
}


void gitg_commit_model_set_include (GitgCommitModel* self, GgitOId** ids, int ids_length1) {
	GgitOId** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GgitOId** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 219 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = ids;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = ids_length1;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup1 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_include = (_vala_array_free (self->priv->d_include, self->priv->d_include_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_include = _tmp1_;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_include_length1 = _tmp1__length1;
#line 221 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_include_size_ = self->priv->d_include_length1;
#line 842 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup2 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 853 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 859 "gitg-commit-model.c"
	}
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 863 "gitg-commit-model.c"
}


void gitg_commit_model_set_exclude (GitgCommitModel* self, GgitOId** ids, int ids_length1) {
	GgitOId** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GgitOId** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 224 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = ids;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = ids_length1;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup2 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_exclude = (_vala_array_free (self->priv->d_exclude, self->priv->d_exclude_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_exclude = _tmp1_;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_exclude_length1 = _tmp1__length1;
#line 226 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_exclude_size_ = self->priv->d_exclude_length1;
#line 890 "gitg-commit-model.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return _data2_;
#line 899 "gitg-commit-model.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 908 "gitg-commit-model.c"
		GitgCommitModel* self;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		self = _data2_->self;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		(_data2_->finishedcb_target_destroy_notify == NULL) ? NULL : (_data2_->finishedcb_target_destroy_notify (_data2_->finishedcb_target), NULL);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data2_->finishedcb = NULL;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data2_->finishedcb_target = NULL;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data2_->finishedcb_target_destroy_notify = NULL;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (self);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_slice_free (Block2Data, _data2_);
#line 924 "gitg-commit-model.c"
	}
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return _data3_;
#line 934 "gitg-commit-model.c"
}


static void block3_data_unref (void * _userdata_) {
	Block3Data* _data3_;
	_data3_ = (Block3Data*) _userdata_;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 943 "gitg-commit-model.c"
		GitgCommitModel* self;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		self = _data3_->_data2_->self;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		block2_data_unref (_data3_->_data2_);
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data3_->_data2_ = NULL;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_slice_free (Block3Data, _data3_);
#line 953 "gitg-commit-model.c"
	}
}


static gboolean ____lambda35_ (Block3Data* _data3_) {
	Block2Data* _data2_;
	GitgCommitModel* self;
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 241 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_ = _data3_->_data2_;
#line 241 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = _data2_->self;
#line 967 "gitg-commit-model.c"
	{
		guint _tmp0_ = 0U;
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = self->priv->d_idleid;
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_idleid);
#line 974 "gitg-commit-model.c"
		{
			guint _tmp1_ = 0U;
			guint added = 0U;
			guint _tmp3_ = 0U;
			guint _tmp4_ = 0U;
			GSourceFunc _tmp5_ = NULL;
			void* _tmp5__target = NULL;
#line 244 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = self->priv->d_idleid;
#line 244 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp1_ == ((guint) 0)) {
#line 246 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				result = FALSE;
#line 988 "gitg-commit-model.c"
				{
					guint _tmp2_ = 0U;
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp2_ = self->priv->d_idleid;
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_rec_mutex_unlock (&self->priv->__lock_d_idleid);
#line 995 "gitg-commit-model.c"
				}
#line 246 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				return result;
#line 999 "gitg-commit-model.c"
			}
#line 249 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_idleid = (guint) 0;
#line 251 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = self->priv->d_advertized_size;
#line 251 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			added = _data3_->newsize - _tmp3_;
#line 252 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_advertized_size = _data3_->newsize;
#line 254 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = added;
#line 254 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_emit_update (self, _tmp4_);
#line 256 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = _data2_->finishedcb;
#line 256 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5__target = _data2_->finishedcb_target;
#line 256 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp5_ != NULL) {
#line 1019 "gitg-commit-model.c"
				GSourceFunc _tmp6_ = NULL;
				void* _tmp6__target = NULL;
#line 258 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp6_ = _data2_->finishedcb;
#line 258 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp6__target = _data2_->finishedcb_target;
#line 258 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp6_ (_tmp6__target);
#line 1028 "gitg-commit-model.c"
			}
		}
		__finally9:
		{
			guint _tmp7_ = 0U;
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp7_ = self->priv->d_idleid;
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_idleid);
#line 1038 "gitg-commit-model.c"
		}
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 242 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return FALSE;
#line 1048 "gitg-commit-model.c"
		}
	}
#line 262 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = FALSE;
#line 262 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1055 "gitg-commit-model.c"
}


static gboolean _____lambda35__gsource_func (gpointer self) {
	gboolean result;
	result = ____lambda35_ (self);
#line 241 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1064 "gitg-commit-model.c"
}


static void gitg_commit_model_notify_batch (GitgCommitModel* self, GSourceFunc finishedcb, void* finishedcb_target, GDestroyNotify finishedcb_target_destroy_notify) {
	Block2Data* _data2_;
	GSourceFunc _tmp0_ = NULL;
	void* _tmp0__target = NULL;
	GError * _inner_error_ = NULL;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->_ref_count_ = 1;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->self = g_object_ref (self);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = finishedcb;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__target = finishedcb_target;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	(_data2_->finishedcb_target_destroy_notify == NULL) ? NULL : (_data2_->finishedcb_target_destroy_notify (_data2_->finishedcb_target), NULL);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->finishedcb = NULL;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->finishedcb_target = NULL;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->finishedcb_target_destroy_notify = NULL;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->finishedcb = _tmp0_;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->finishedcb_target = _tmp0__target;
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_->finishedcb_target_destroy_notify = finishedcb_target_destroy_notify;
#line 1099 "gitg-commit-model.c"
	{
		guint _tmp1_ = 0U;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = self->priv->d_idleid;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_idleid);
#line 1106 "gitg-commit-model.c"
		{
			Block3Data* _data3_;
			guint _tmp2_ = 0U;
			GitgCommit** _tmp4_ = NULL;
			gint _tmp4__length1 = 0;
			guint _tmp5_ = 0U;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data3_ = g_slice_new0 (Block3Data);
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data3_->_ref_count_ = 1;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data3_->_data2_ = block2_data_ref (_data2_);
#line 233 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp2_ = self->priv->d_idleid;
#line 233 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp2_ != ((guint) 0)) {
#line 1123 "gitg-commit-model.c"
				guint _tmp3_ = 0U;
#line 235 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp3_ = self->priv->d_idleid;
#line 235 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				g_source_remove (_tmp3_);
#line 236 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_idleid = (guint) 0;
#line 1131 "gitg-commit-model.c"
			}
#line 239 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = self->priv->d_ids;
#line 239 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp4__length1 = self->priv->d_ids_length1;
#line 239 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data3_->newsize = (guint) _tmp4__length1;
#line 241 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _____lambda35__gsource_func, block3_data_ref (_data3_), block3_data_unref);
#line 241 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_idleid = _tmp5_;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			block3_data_unref (_data3_);
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data3_ = NULL;
#line 1147 "gitg-commit-model.c"
		}
		__finally8:
		{
			guint _tmp6_ = 0U;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp6_ = self->priv->d_idleid;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_idleid);
#line 1156 "gitg-commit-model.c"
		}
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			block2_data_unref (_data2_);
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data2_ = NULL;
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 231 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return;
#line 1170 "gitg-commit-model.c"
		}
	}
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	block2_data_unref (_data2_);
#line 229 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data2_ = NULL;
#line 1177 "gitg-commit-model.c"
}


static gboolean gitg_commit_model_needs_resize (GitgCommitModel* self, GitgCommit** ids, int ids_length1, guint* size) {
	gboolean result = FALSE;
	GitgCommit** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	guint _tmp1_ = 0U;
	GitgCommit** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
#line 267 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 269 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = ids;
#line 269 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = ids_length1;
#line 269 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = *size;
#line 269 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (((guint) _tmp0__length1) < _tmp1_) {
#line 271 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 271 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 1202 "gitg-commit-model.c"
	}
#line 274 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = ids;
#line 274 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2__length1 = ids_length1;
#line 274 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp2__length1 < 20000) {
#line 1210 "gitg-commit-model.c"
		guint _tmp3_ = 0U;
#line 276 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = *size;
#line 276 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*size = _tmp3_ * 2;
#line 1216 "gitg-commit-model.c"
	} else {
		guint _tmp4_ = 0U;
#line 280 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = *size;
#line 280 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*size = (guint) (((gdouble) _tmp4_) * 1.2);
#line 1223 "gitg-commit-model.c"
	}
#line 283 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = TRUE;
#line 283 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1229 "gitg-commit-model.c"
}


static void gitg_commit_model_walk_data_free (gpointer _data) {
	GitgCommitModelWalkData* _data_;
	_data_ = _data;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (_data_->self);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_slice_free (GitgCommitModelWalkData, _data_);
#line 1240 "gitg-commit-model.c"
}


static void gitg_commit_model_walk (GitgCommitModel* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitModelWalkData* _data_;
	GitgCommitModel* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_ = g_slice_new0 (GitgCommitModelWalkData);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_commit_model_walk);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_commit_model_walk_data_free);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->self = _tmp0_;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = cancellable;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (_data_->cancellable);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->cancellable = _tmp2_;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_walk_co (_data_);
#line 1269 "gitg-commit-model.c"
}


static void gitg_commit_model_walk_finish (GitgCommitModel* self, GAsyncResult* _res_) {
	GitgCommitModelWalkData* _data_;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1277 "gitg-commit-model.c"
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return _data4_;
#line 1286 "gitg-commit-model.c"
}


static void block4_data_unref (void * _userdata_) {
	Block4Data* _data4_;
	_data4_ = (Block4Data*) _userdata_;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 1295 "gitg-commit-model.c"
		GitgCommitModel* self;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		self = _data4_->self;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data4_->permlanes = (_vala_array_free (_data4_->permlanes, _data4_->permlanes_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		(_data4_->cb_target_destroy_notify == NULL) ? NULL : (_data4_->cb_target_destroy_notify (_data4_->cb_target), NULL);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data4_->cb = NULL;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data4_->cb_target = NULL;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data4_->cb_target_destroy_notify = NULL;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data4_->excluded = (_vala_array_free (_data4_->excluded, _data4_->excluded_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data4_->included = (_vala_array_free (_data4_->included, _data4_->included_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (_data4_->cancellable);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (self);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_slice_free (Block4Data, _data4_);
#line 1319 "gitg-commit-model.c"
	}
}


static GgitOId** _vala_array_dup3 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 1331 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 1337 "gitg-commit-model.c"
	}
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1341 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup4 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 1352 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 1358 "gitg-commit-model.c"
	}
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1362 "gitg-commit-model.c"
}


static gboolean _gitg_commit_model_walk_co_gsource_func (gpointer self) {
	gboolean result;
	result = gitg_commit_model_walk_co (self);
#line 293 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1371 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup5 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 1382 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 1388 "gitg-commit-model.c"
	}
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1392 "gitg-commit-model.c"
}


static void _vala_array_add1 (GgitOId*** array, int* length, int* size, GgitOId* value) {
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if ((*length) == (*size)) {
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*array = g_renew (GgitOId*, *array, (*size) + 1);
#line 1403 "gitg-commit-model.c"
	}
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	(*array)[(*length)++] = value;
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	(*array)[*length] = NULL;
#line 1409 "gitg-commit-model.c"
}


static guint ____lambda36_ (GitgCommitModel* self, GgitOId* i) {
	guint result = 0U;
	GgitOId* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (i != NULL, 0U);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = i;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = ggit_oid_hash (_tmp0_);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp1_;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1427 "gitg-commit-model.c"
}


static guint _____lambda36__gee_hash_data_func (gconstpointer v, gpointer self) {
	guint result;
	result = ____lambda36_ ((GitgCommitModel*) self, (GgitOId*) v);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1436 "gitg-commit-model.c"
}


static gboolean ____lambda37_ (GitgCommitModel* self, GgitOId* a, GgitOId* b) {
	gboolean result = FALSE;
	GgitOId* _tmp0_ = NULL;
	GgitOId* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (a != NULL, FALSE);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (b != NULL, FALSE);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = a;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = b;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = ggit_oid_equal (_tmp0_, _tmp1_);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp2_;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1459 "gitg-commit-model.c"
}


static gboolean _____lambda37__gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self) {
	gboolean result;
	result = ____lambda37_ ((GitgCommitModel*) self, (GgitOId*) a, (GgitOId*) b);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1468 "gitg-commit-model.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1475 "gitg-commit-model.c"
}


static void _g_slist_free__g_object_unref0_ (GSList* self) {
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_slist_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_slist_free (self);
#line 1484 "gitg-commit-model.c"
}


static void* __lambda34_ (Block4Data* _data4_) {
	GitgCommitModel* self;
	void* result = NULL;
	GgitRevisionWalker* _tmp0_ = NULL;
	GgitRevisionWalker* _tmp6_ = NULL;
	GgitRevisionWalker* _tmp7_ = NULL;
	GgitSortMode _tmp8_ = 0;
	GeeHashSet* incset = NULL;
	GeeHashSet* _tmp9_ = NULL;
	GgitOId** _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
	GgitOId** _tmp16_ = NULL;
	gint _tmp16__length1 = 0;
	GgitOId** permanent = NULL;
	GgitOId** _tmp22_ = NULL;
	gint permanent_length1 = 0;
	gint _permanent_size_ = 0;
	GgitOId** _tmp23_ = NULL;
	gint _tmp23__length1 = 0;
	GitgLanes* _tmp30_ = NULL;
	GgitOId** _tmp31_ = NULL;
	gint _tmp31__length1 = 0;
	GeeHashSet* _tmp32_ = NULL;
	guint size = 0U;
	guint hidden_size = 0U;
	GTimer* timer = NULL;
	GTimer* _tmp41_ = NULL;
	GSourceFunc _tmp105_ = NULL;
	void* _tmp105__target = NULL;
	GDestroyNotify _tmp105__target_destroy_notify = NULL;
	GError * _inner_error_ = NULL;
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = _data4_->self;
#line 308 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_walker;
#line 308 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ == NULL) {
#line 1525 "gitg-commit-model.c"
		{
			GgitRevisionWalker* _tmp1_ = NULL;
			GitgRepository* _tmp2_ = NULL;
			GgitRevisionWalker* _tmp3_ = NULL;
			GgitRevisionWalker* _tmp4_ = NULL;
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp2_ = self->priv->d_repository;
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = ggit_revision_walker_new ((GgitRepository*) _tmp2_, &_inner_error_);
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = _tmp3_;
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1539 "gitg-commit-model.c"
				goto __catch10_g_error;
			}
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = _tmp1_;
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = NULL;
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (self->priv->d_walker);
#line 312 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_walker = _tmp4_;
#line 310 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp1_);
#line 1552 "gitg-commit-model.c"
		}
		goto __finally10;
		__catch10_g_error:
		{
			GSourceFunc _tmp5_ = NULL;
			void* _tmp5__target = NULL;
			GDestroyNotify _tmp5__target_destroy_notify = NULL;
#line 310 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 310 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_inner_error_ = NULL;
#line 316 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = _data4_->cb;
#line 316 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5__target = _data4_->cb_target;
#line 316 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5__target_destroy_notify = _data4_->cb_target_destroy_notify;
#line 316 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data4_->cb_target_destroy_notify = NULL;
#line 316 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_notify_batch (self, _tmp5_, _tmp5__target, _tmp5__target_destroy_notify);
#line 317 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			result = NULL;
#line 317 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 1578 "gitg-commit-model.c"
		}
		__finally10:
#line 310 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 310 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 310 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 310 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 1589 "gitg-commit-model.c"
		}
	}
#line 321 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = self->priv->d_walker;
#line 321 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	ggit_revision_walker_reset (_tmp6_);
#line 322 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = self->priv->d_walker;
#line 322 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = self->priv->d_sortmode;
#line 322 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	ggit_revision_walker_set_sort_mode (_tmp7_, _tmp8_);
#line 324 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp9_ = gee_hash_set_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, (GeeHashDataFunc) ggit_oid_hash, NULL, NULL, (GeeEqualDataFunc) ggit_oid_equal, NULL, NULL);
#line 324 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	incset = _tmp9_;
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp10_ = _data4_->included;
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp10__length1 = _data4_->included_length1;
#line 1610 "gitg-commit-model.c"
	{
		GgitOId** oid_collection = NULL;
		gint oid_collection_length1 = 0;
		gint _oid_collection_size_ = 0;
		gint oid_it = 0;
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		oid_collection = _tmp10_;
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		oid_collection_length1 = _tmp10__length1;
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		for (oid_it = 0; oid_it < _tmp10__length1; oid_it = oid_it + 1) {
#line 1622 "gitg-commit-model.c"
			GgitOId* _tmp11_ = NULL;
			GgitOId* oid = NULL;
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp11_ = __vala_GgitOId_copy0 (oid_collection[oid_it]);
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			oid = _tmp11_;
#line 1629 "gitg-commit-model.c"
			{
				{
					GgitRevisionWalker* _tmp12_ = NULL;
					GgitOId* _tmp13_ = NULL;
					GeeHashSet* _tmp14_ = NULL;
					GgitOId* _tmp15_ = NULL;
#line 331 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp12_ = self->priv->d_walker;
#line 331 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp13_ = oid;
#line 331 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					ggit_revision_walker_push (_tmp12_, _tmp13_, &_inner_error_);
#line 331 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1644 "gitg-commit-model.c"
						goto __catch11_g_error;
					}
#line 332 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp14_ = incset;
#line 332 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp15_ = oid;
#line 332 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					gee_abstract_collection_add ((GeeAbstractCollection*) _tmp14_, _tmp15_);
#line 1653 "gitg-commit-model.c"
				}
				goto __finally11;
				__catch11_g_error:
				{
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_inner_error_ = NULL;
#line 1662 "gitg-commit-model.c"
				}
				__finally11:
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (oid);
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 329 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 1677 "gitg-commit-model.c"
				}
#line 327 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (oid);
#line 1681 "gitg-commit-model.c"
			}
		}
	}
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp16_ = _data4_->excluded;
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp16__length1 = _data4_->excluded_length1;
#line 1689 "gitg-commit-model.c"
	{
		GgitOId** oid_collection = NULL;
		gint oid_collection_length1 = 0;
		gint _oid_collection_size_ = 0;
		gint oid_it = 0;
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		oid_collection = _tmp16_;
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		oid_collection_length1 = _tmp16__length1;
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		for (oid_it = 0; oid_it < _tmp16__length1; oid_it = oid_it + 1) {
#line 1701 "gitg-commit-model.c"
			GgitOId* _tmp17_ = NULL;
			GgitOId* oid = NULL;
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp17_ = __vala_GgitOId_copy0 (oid_collection[oid_it]);
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			oid = _tmp17_;
#line 1708 "gitg-commit-model.c"
			{
				{
					GgitRevisionWalker* _tmp18_ = NULL;
					GgitOId* _tmp19_ = NULL;
					GeeHashSet* _tmp20_ = NULL;
					GgitOId* _tmp21_ = NULL;
#line 340 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp18_ = self->priv->d_walker;
#line 340 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp19_ = oid;
#line 340 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					ggit_revision_walker_hide (_tmp18_, _tmp19_, &_inner_error_);
#line 340 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1723 "gitg-commit-model.c"
						goto __catch12_g_error;
					}
#line 341 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp20_ = incset;
#line 341 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp21_ = oid;
#line 341 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp20_, _tmp21_);
#line 1732 "gitg-commit-model.c"
				}
				goto __finally12;
				__catch12_g_error:
				{
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_inner_error_ = NULL;
#line 1741 "gitg-commit-model.c"
				}
				__finally12:
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (oid);
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 338 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 1756 "gitg-commit-model.c"
				}
#line 336 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (oid);
#line 1760 "gitg-commit-model.c"
			}
		}
	}
#line 345 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp22_ = g_new0 (GgitOId*, 0 + 1);
#line 345 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	permanent = _tmp22_;
#line 345 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	permanent_length1 = 0;
#line 345 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_permanent_size_ = permanent_length1;
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp23_ = _data4_->permlanes;
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp23__length1 = _data4_->permlanes_length1;
#line 1776 "gitg-commit-model.c"
	{
		GgitOId** oid_collection = NULL;
		gint oid_collection_length1 = 0;
		gint _oid_collection_size_ = 0;
		gint oid_it = 0;
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		oid_collection = _tmp23_;
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		oid_collection_length1 = _tmp23__length1;
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		for (oid_it = 0; oid_it < _tmp23__length1; oid_it = oid_it + 1) {
#line 1788 "gitg-commit-model.c"
			GgitOId* _tmp24_ = NULL;
			GgitOId* oid = NULL;
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp24_ = __vala_GgitOId_copy0 (oid_collection[oid_it]);
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			oid = _tmp24_;
#line 1795 "gitg-commit-model.c"
			{
				{
					GgitRevisionWalker* _tmp25_ = NULL;
					GgitOId* _tmp26_ = NULL;
					GgitOId** _tmp27_ = NULL;
					gint _tmp27__length1 = 0;
					GgitOId* _tmp28_ = NULL;
					GgitOId* _tmp29_ = NULL;
#line 351 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp25_ = self->priv->d_walker;
#line 351 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp26_ = oid;
#line 351 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					ggit_revision_walker_push (_tmp25_, _tmp26_, &_inner_error_);
#line 351 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1812 "gitg-commit-model.c"
						goto __catch13_g_error;
					}
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp27_ = permanent;
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp27__length1 = permanent_length1;
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp28_ = oid;
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp29_ = __vala_GgitOId_copy0 (_tmp28_);
#line 352 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_vala_array_add1 (&permanent, &permanent_length1, &_permanent_size_, _tmp29_);
#line 1825 "gitg-commit-model.c"
				}
				goto __finally13;
				__catch13_g_error:
				{
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_inner_error_ = NULL;
#line 1834 "gitg-commit-model.c"
				}
				__finally13:
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (oid);
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 349 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 1851 "gitg-commit-model.c"
				}
#line 347 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (oid);
#line 1855 "gitg-commit-model.c"
			}
		}
	}
#line 356 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp30_ = self->priv->d_lanes;
#line 356 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp31_ = permanent;
#line 356 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp31__length1 = permanent_length1;
#line 356 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp32_ = incset;
#line 356 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_lanes_reset (_tmp30_, _tmp31_, _tmp31__length1, _tmp32_);
#line 1869 "gitg-commit-model.c"
	{
		GitgCommit** _tmp33_ = NULL;
		gint _tmp33__length1 = 0;
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp33_ = self->priv->d_ids;
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp33__length1 = self->priv->d_ids_length1;
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_ids);
#line 1879 "gitg-commit-model.c"
		{
			GitgCommit** _tmp34_ = NULL;
			GitgCommit** _tmp35_ = NULL;
			GitgCommit** _tmp36_ = NULL;
			gint _tmp36__length1 = 0;
			GitgCommit** _tmp37_ = NULL;
			gint _tmp37__length1 = 0;
			gint _tmp38_ = 0;
			gint _tmp39_ = 0;
#line 364 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp34_ = g_new0 (GitgCommit*, 1000 + 1);
#line 364 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids = (_vala_array_free (self->priv->d_ids, self->priv->d_ids_length1, (GDestroyNotify) g_object_unref), NULL);
#line 364 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids = _tmp34_;
#line 364 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids_length1 = 1000;
#line 364 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->_d_ids_size_ = self->priv->d_ids_length1;
#line 365 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp35_ = g_new0 (GitgCommit*, 100 + 1);
#line 365 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids = (_vala_array_free (self->priv->d_hidden_ids, self->priv->d_hidden_ids_length1, (GDestroyNotify) g_object_unref), NULL);
#line 365 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids = _tmp35_;
#line 365 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids_length1 = 100;
#line 365 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->_d_hidden_ids_size_ = self->priv->d_hidden_ids_length1;
#line 367 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp36_ = self->priv->d_ids;
#line 367 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp36__length1 = self->priv->d_ids_length1;
#line 367 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			size = (guint) _tmp36__length1;
#line 368 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp37_ = self->priv->d_hidden_ids;
#line 368 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp37__length1 = self->priv->d_hidden_ids_length1;
#line 368 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			hidden_size = (guint) _tmp37__length1;
#line 370 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids_length1 = 0;
#line 370 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp38_ = self->priv->d_ids_length1;
#line 371 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids_length1 = 0;
#line 371 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp39_ = self->priv->d_hidden_ids_length1;
#line 373 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_advertized_size = (guint) 0;
#line 1931 "gitg-commit-model.c"
		}
		__finally14:
		{
			GitgCommit** _tmp40_ = NULL;
			gint _tmp40__length1 = 0;
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp40_ = self->priv->d_ids;
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp40__length1 = self->priv->d_ids_length1;
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_ids);
#line 1943 "gitg-commit-model.c"
		}
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (incset);
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 362 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 1957 "gitg-commit-model.c"
		}
	}
#line 376 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp41_ = g_timer_new ();
#line 376 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	timer = _tmp41_;
#line 1964 "gitg-commit-model.c"
	{
		GeeHashMap* _tmp42_ = NULL;
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp42_ = self->priv->d_id_hash;
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_id_hash);
#line 1971 "gitg-commit-model.c"
		{
			GeeHashMap* _tmp43_ = NULL;
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp43_ = gee_hash_map_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, G_TYPE_INT, NULL, NULL, _____lambda36__gee_hash_data_func, g_object_ref (self), g_object_unref, _____lambda37__gee_equal_data_func, g_object_ref (self), g_object_unref, NULL, NULL, NULL);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (self->priv->d_id_hash);
#line 380 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_id_hash = _tmp43_;
#line 1980 "gitg-commit-model.c"
		}
		__finally15:
		{
			GeeHashMap* _tmp44_ = NULL;
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp44_ = self->priv->d_id_hash;
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 1989 "gitg-commit-model.c"
		}
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_timer_destroy0 (timer);
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (incset);
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 378 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 2005 "gitg-commit-model.c"
		}
	}
#line 383 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	while (TRUE) {
#line 2010 "gitg-commit-model.c"
		GgitOId* id = NULL;
		GitgCommit* commit = NULL;
		GCancellable* _tmp45_ = NULL;
		gboolean _tmp46_ = FALSE;
		gint mylane = 0;
		GSList* lanes = NULL;
		GitgLanes* _tmp57_ = NULL;
		GitgCommit* _tmp58_ = NULL;
		GSList* _tmp59_ = NULL;
		gint _tmp60_ = 0;
		gboolean _tmp61_ = FALSE;
		GTimer* _tmp96_ = NULL;
		gdouble _tmp97_ = 0.0;
		gdouble _tmp98_ = 0.0;
		gboolean _tmp101_ = FALSE;
		guint _tmp102_ = 0U;
#line 388 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp45_ = _data4_->cancellable;
#line 388 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp46_ = g_cancellable_is_cancelled (_tmp45_);
#line 388 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp46_) {
#line 390 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			result = NULL;
#line 390 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 390 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 390 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_timer_destroy0 (timer);
#line 390 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 390 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (incset);
#line 390 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 2047 "gitg-commit-model.c"
		}
		{
			GgitOId* _tmp47_ = NULL;
			GgitRevisionWalker* _tmp48_ = NULL;
			GgitOId* _tmp49_ = NULL;
			GgitOId* _tmp50_ = NULL;
			GgitOId* _tmp51_ = NULL;
			GitgCommit* _tmp52_ = NULL;
			GitgRepository* _tmp53_ = NULL;
			GgitOId* _tmp54_ = NULL;
			gpointer _tmp55_ = NULL;
			GitgCommit* _tmp56_ = NULL;
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp48_ = self->priv->d_walker;
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp49_ = ggit_revision_walker_next (_tmp48_, &_inner_error_);
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp47_ = _tmp49_;
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2068 "gitg-commit-model.c"
				goto __catch16_g_error;
			}
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp50_ = _tmp47_;
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp47_ = NULL;
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 395 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			id = _tmp50_;
#line 397 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp51_ = id;
#line 397 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp51_ == NULL) {
#line 399 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (_tmp47_);
#line 399 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_g_object_unref0 (commit);
#line 399 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (id);
#line 399 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				break;
#line 2091 "gitg-commit-model.c"
			}
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp53_ = self->priv->d_repository;
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp54_ = id;
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp55_ = gitg_repository_lookup (_tmp53_, GITG_TYPE_COMMIT, (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp54_, &_inner_error_);
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp52_ = (GitgCommit*) _tmp55_;
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (_tmp47_);
#line 2105 "gitg-commit-model.c"
				goto __catch16_g_error;
			}
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp56_ = _tmp52_;
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp52_ = NULL;
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 402 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			commit = _tmp56_;
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp52_);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (_tmp47_);
#line 2120 "gitg-commit-model.c"
		}
		goto __finally16;
		__catch16_g_error:
		{
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_inner_error_ = NULL;
#line 403 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 403 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 403 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2135 "gitg-commit-model.c"
		}
		__finally16:
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_timer_destroy0 (timer);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (incset);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 393 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 2156 "gitg-commit-model.c"
		}
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp57_ = self->priv->d_lanes;
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp58_ = commit;
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp61_ = gitg_lanes_next (_tmp57_, _tmp58_, &_tmp59_, &_tmp60_);
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		__g_slist_free__g_object_unref0_0 (lanes);
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		lanes = _tmp59_;
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		mylane = _tmp60_;
#line 408 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp61_) {
#line 2172 "gitg-commit-model.c"
			GitgCommit* _tmp62_ = NULL;
			GSList* _tmp63_ = NULL;
			gint _tmp64_ = 0;
			GitgCommit** _tmp70_ = NULL;
			gint _tmp70__length1 = 0;
			gboolean _tmp71_ = FALSE;
			GitgCommit** _tmp79_ = NULL;
			gint _tmp79__length1 = 0;
			gint _tmp80_ = 0;
			GitgCommit* _tmp81_ = NULL;
			GitgCommit* _tmp82_ = NULL;
			GitgCommit* _tmp83_ = NULL;
#line 410 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp62_ = commit;
#line 410 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp63_ = lanes;
#line 410 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			lanes = NULL;
#line 410 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp64_ = mylane;
#line 410 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_update_lanes (_tmp62_, _tmp63_, _tmp64_);
#line 2195 "gitg-commit-model.c"
			{
				GeeHashMap* _tmp65_ = NULL;
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp65_ = self->priv->d_id_hash;
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				g_rec_mutex_lock (&self->priv->__lock_d_id_hash);
#line 2202 "gitg-commit-model.c"
				{
					GeeHashMap* _tmp66_ = NULL;
					GgitOId* _tmp67_ = NULL;
					GitgCommit** _tmp68_ = NULL;
					gint _tmp68__length1 = 0;
#line 414 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp66_ = self->priv->d_id_hash;
#line 414 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp67_ = id;
#line 414 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp68_ = self->priv->d_ids;
#line 414 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp68__length1 = self->priv->d_ids_length1;
#line 414 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					gee_abstract_map_set ((GeeAbstractMap*) _tmp66_, _tmp67_, (gpointer) ((gintptr) _tmp68__length1));
#line 2218 "gitg-commit-model.c"
				}
				__finally17:
				{
					GeeHashMap* _tmp69_ = NULL;
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp69_ = self->priv->d_id_hash;
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 2227 "gitg-commit-model.c"
				}
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					__g_slist_free__g_object_unref0_0 (lanes);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (commit);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (id);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_g_timer_destroy0 (timer);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 412 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 2249 "gitg-commit-model.c"
				}
			}
#line 417 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp70_ = self->priv->d_ids;
#line 417 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp70__length1 = self->priv->d_ids_length1;
#line 417 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp71_ = gitg_commit_model_needs_resize (self, _tmp70_, _tmp70__length1, &size);
#line 417 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp71_) {
#line 2260 "gitg-commit-model.c"
				gint l = 0;
				GitgCommit** _tmp72_ = NULL;
				gint _tmp72__length1 = 0;
#line 419 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp72_ = self->priv->d_ids;
#line 419 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp72__length1 = self->priv->d_ids_length1;
#line 419 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				l = _tmp72__length1;
#line 2270 "gitg-commit-model.c"
				{
					GitgCommit** _tmp73_ = NULL;
					gint _tmp73__length1 = 0;
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp73_ = self->priv->d_ids;
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp73__length1 = self->priv->d_ids_length1;
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_rec_mutex_lock (&self->priv->__lock_d_ids);
#line 2280 "gitg-commit-model.c"
					{
						guint _tmp74_ = 0U;
						gint _tmp75_ = 0;
						gint _tmp76_ = 0;
						gint _tmp77_ = 0;
#line 423 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_tmp74_ = size;
#line 423 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_tmp75_ = (gint) _tmp74_;
#line 423 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						self->priv->d_ids = g_renew (GitgCommit*, self->priv->d_ids, (gint) _tmp74_);
#line 423 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						(_tmp75_ > self->priv->d_ids_length1) ? memset (self->priv->d_ids + self->priv->d_ids_length1, 0, sizeof (GitgCommit*) * (_tmp75_ - self->priv->d_ids_length1)) : NULL;
#line 423 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						self->priv->d_ids_length1 = _tmp75_;
#line 423 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						self->priv->_d_ids_size_ = _tmp75_;
#line 424 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_tmp76_ = l;
#line 424 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						self->priv->d_ids_length1 = _tmp76_;
#line 424 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_tmp77_ = self->priv->d_ids_length1;
#line 2304 "gitg-commit-model.c"
					}
					__finally18:
					{
						GitgCommit** _tmp78_ = NULL;
						gint _tmp78__length1 = 0;
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_tmp78_ = self->priv->d_ids;
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_tmp78__length1 = self->priv->d_ids_length1;
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						g_rec_mutex_unlock (&self->priv->__lock_d_ids);
#line 2316 "gitg-commit-model.c"
					}
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						__g_slist_free__g_object_unref0_0 (lanes);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_g_object_unref0 (commit);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						__vala_GgitOId_free0 (id);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_g_timer_destroy0 (timer);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						_g_object_unref0 (incset);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						g_clear_error (&_inner_error_);
#line 421 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
						return NULL;
#line 2338 "gitg-commit-model.c"
					}
				}
			}
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp79_ = self->priv->d_ids;
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp79__length1 = self->priv->d_ids_length1;
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp80_ = self->priv->d_ids_length1;
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids_length1 = _tmp80_ + 1;
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp81_ = commit;
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp82_ = _g_object_ref0 (_tmp81_);
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp79_[_tmp80_]);
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp79_[_tmp80_] = _tmp82_;
#line 428 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp83_ = _tmp79_[_tmp80_];
#line 2360 "gitg-commit-model.c"
		} else {
			GitgCommit** _tmp84_ = NULL;
			gint _tmp84__length1 = 0;
			gboolean _tmp85_ = FALSE;
			GitgCommit** _tmp91_ = NULL;
			gint _tmp91__length1 = 0;
			gint _tmp92_ = 0;
			GitgCommit* _tmp93_ = NULL;
			GitgCommit* _tmp94_ = NULL;
			GitgCommit* _tmp95_ = NULL;
#line 432 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp84_ = self->priv->d_hidden_ids;
#line 432 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp84__length1 = self->priv->d_hidden_ids_length1;
#line 432 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp85_ = gitg_commit_model_needs_resize (self, _tmp84_, _tmp84__length1, &hidden_size);
#line 432 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp85_) {
#line 2379 "gitg-commit-model.c"
				gint l = 0;
				GitgCommit** _tmp86_ = NULL;
				gint _tmp86__length1 = 0;
				guint _tmp87_ = 0U;
				gint _tmp88_ = 0;
				gint _tmp89_ = 0;
				gint _tmp90_ = 0;
#line 434 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp86_ = self->priv->d_hidden_ids;
#line 434 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp86__length1 = self->priv->d_hidden_ids_length1;
#line 434 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				l = _tmp86__length1;
#line 436 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp87_ = hidden_size;
#line 436 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp88_ = (gint) _tmp87_;
#line 436 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_hidden_ids = g_renew (GitgCommit*, self->priv->d_hidden_ids, (gint) _tmp87_);
#line 436 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				(_tmp88_ > self->priv->d_hidden_ids_length1) ? memset (self->priv->d_hidden_ids + self->priv->d_hidden_ids_length1, 0, sizeof (GitgCommit*) * (_tmp88_ - self->priv->d_hidden_ids_length1)) : NULL;
#line 436 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_hidden_ids_length1 = _tmp88_;
#line 436 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				self->priv->_d_hidden_ids_size_ = _tmp88_;
#line 437 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp89_ = l;
#line 437 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_hidden_ids_length1 = _tmp89_;
#line 437 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp90_ = self->priv->d_hidden_ids_length1;
#line 2411 "gitg-commit-model.c"
			}
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp91_ = self->priv->d_hidden_ids;
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp91__length1 = self->priv->d_hidden_ids_length1;
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp92_ = self->priv->d_hidden_ids_length1;
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids_length1 = _tmp92_ + 1;
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp93_ = commit;
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp94_ = _g_object_ref0 (_tmp93_);
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp91_[_tmp92_]);
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp91_[_tmp92_] = _tmp94_;
#line 440 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp95_ = _tmp91_[_tmp92_];
#line 2431 "gitg-commit-model.c"
		}
#line 443 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp96_ = timer;
#line 443 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp97_ = g_timer_elapsed (_tmp96_, NULL);
#line 443 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp98_ = _data4_->wait_elapsed;
#line 443 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp97_ >= _tmp98_) {
#line 2441 "gitg-commit-model.c"
			GTimer* _tmp99_ = NULL;
			gdouble _tmp100_ = 0.0;
#line 445 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_notify_batch (self, NULL, NULL, NULL);
#line 446 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp99_ = timer;
#line 446 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_timer_start (_tmp99_);
#line 448 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp100_ = _data4_->wait_elapsed_incremental;
#line 448 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_data4_->wait_elapsed = _tmp100_;
#line 2454 "gitg-commit-model.c"
		}
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp102_ = _data4_->limit;
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp102_ > ((guint) 0)) {
#line 2460 "gitg-commit-model.c"
			GitgCommit** _tmp103_ = NULL;
			gint _tmp103__length1 = 0;
			guint _tmp104_ = 0U;
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp103_ = self->priv->d_ids;
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp103__length1 = self->priv->d_ids_length1;
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp104_ = _data4_->limit;
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp101_ = ((guint) _tmp103__length1) == _tmp104_;
#line 2472 "gitg-commit-model.c"
		} else {
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp101_ = FALSE;
#line 2476 "gitg-commit-model.c"
		}
#line 451 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp101_) {
#line 453 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__g_slist_free__g_object_unref0_0 (lanes);
#line 453 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 453 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 453 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2488 "gitg-commit-model.c"
		}
#line 383 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		__g_slist_free__g_object_unref0_0 (lanes);
#line 383 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (commit);
#line 383 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		__vala_GgitOId_free0 (id);
#line 2496 "gitg-commit-model.c"
	}
#line 457 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp105_ = _data4_->cb;
#line 457 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp105__target = _data4_->cb_target;
#line 457 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp105__target_destroy_notify = _data4_->cb_target_destroy_notify;
#line 457 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data4_->cb_target_destroy_notify = NULL;
#line 457 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_notify_batch (self, _tmp105_, _tmp105__target, _tmp105__target_destroy_notify);
#line 458 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = NULL;
#line 458 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_timer_destroy0 (timer);
#line 458 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 458 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (incset);
#line 458 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2518 "gitg-commit-model.c"
}


static gpointer ___lambda34__gthread_func (gpointer self) {
	gpointer result;
	result = __lambda34_ (self);
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	block4_data_unref (self);
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2529 "gitg-commit-model.c"
}


static gboolean gitg_commit_model_walk_co (GitgCommitModelWalkData* _data_) {
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	switch (_data_->_state_) {
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case 0:
#line 2538 "gitg-commit-model.c"
		goto _state_0;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case 1:
#line 2542 "gitg-commit-model.c"
		goto _state_1;
		default:
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_assert_not_reached ();
#line 2547 "gitg-commit-model.c"
	}
	_state_0:
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_ = g_slice_new0 (Block4Data);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->_ref_count_ = 1;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->self = g_object_ref (_data_->self);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp0_ = NULL;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp0_ = _data_->cancellable;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (_data_->_data4_->cancellable);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->cancellable = _data_->_tmp0_;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->_async_data_ = _data_;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1_ = NULL;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1__length1 = 0;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1_ = _data_->self->priv->d_include;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1__length1 = _data_->self->priv->d_include_length1;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2_ = NULL;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2__length1 = 0;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2_ = (_data_->_tmp1_ != NULL) ? _vala_array_dup3 (_data_->_tmp1_, _data_->_tmp1__length1) : ((gpointer) _data_->_tmp1_);
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2__length1 = _data_->_tmp1__length1;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->included = _data_->_tmp2_;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->included_length1 = _data_->_tmp2__length1;
#line 288 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->_included_size_ = _data_->_data4_->included_length1;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3_ = NULL;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3__length1 = 0;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3_ = _data_->self->priv->d_exclude;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3__length1 = _data_->self->priv->d_exclude_length1;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp4_ = NULL;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp4__length1 = 0;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp4_ = (_data_->_tmp3_ != NULL) ? _vala_array_dup4 (_data_->_tmp3_, _data_->_tmp3__length1) : ((gpointer) _data_->_tmp3_);
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp4__length1 = _data_->_tmp3__length1;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->excluded = _data_->_tmp4_;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->excluded_length1 = _data_->_tmp4__length1;
#line 289 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->_excluded_size_ = _data_->_data4_->excluded_length1;
#line 291 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp5_ = 0U;
#line 291 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp5_ = _data_->self->priv->_limit;
#line 291 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->limit = _data_->_tmp5_;
#line 293 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->cb = _gitg_commit_model_walk_co_gsource_func;
#line 293 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->cb_target = _data_;
#line 293 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->cb_target_destroy_notify = NULL;
#line 297 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->wait_elapsed_initial = 1.0;
#line 301 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->wait_elapsed_incremental = 0.2;
#line 303 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp6_ = 0.0;
#line 303 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp6_ = _data_->wait_elapsed_initial;
#line 303 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->wait_elapsed = _data_->_tmp6_;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp7_ = NULL;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp7__length1 = 0;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp7_ = gitg_commit_model_get_permanent_lanes (_data_->self, &_data_->_tmp7__length1);
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp8_ = NULL;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp8__length1 = 0;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp8__length1 = _data_->_tmp7__length1;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp9_ = NULL;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp9__length1 = 0;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp9_ = (_data_->_tmp8_ != NULL) ? _vala_array_dup5 (_data_->_tmp8_, _data_->_tmp8__length1) : ((gpointer) _data_->_tmp8_);
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp9__length1 = _data_->_tmp8__length1;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->permlanes = _data_->_tmp9_;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->permlanes_length1 = _data_->_tmp9__length1;
#line 305 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_->_permlanes_size_ = _data_->_data4_->permlanes_length1;
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target = NULL;
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target_destroy_notify = NULL;
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->run = ___lambda34__gthread_func;
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target = block4_data_ref (_data_->_data4_);
#line 307 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target_destroy_notify = block4_data_unref;
#line 2670 "gitg-commit-model.c"
	{
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp11_ = NULL;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp11__target = NULL;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp11__target_destroy_notify = NULL;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp11_ = _data_->run;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp11__target = _data_->run_target;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp11__target_destroy_notify = _data_->run_target_destroy_notify;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->run_target_destroy_notify = NULL;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp12_ = NULL;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp12_ = g_thread_try_new ("gitg-history-walk", _data_->_tmp11_, _data_->_tmp11__target, &_data_->_inner_error_);
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp10_ = _data_->_tmp12_;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2694 "gitg-commit-model.c"
			goto __catch19_g_error;
		}
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp13_ = NULL;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp13_ = _data_->_tmp10_;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp10_ = NULL;
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (_data_->self->priv->d_thread);
#line 463 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->self->priv->d_thread = _data_->_tmp13_;
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (_data_->_tmp10_);
#line 2709 "gitg-commit-model.c"
	}
	goto __finally19;
	__catch19_g_error:
	{
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_clear_error (&_data_->_inner_error_);
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_inner_error_ = NULL;
#line 467 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (_data_->self->priv->d_thread);
#line 467 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->self->priv->d_thread = NULL;
#line 468 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		block4_data_unref (_data_->_data4_);
#line 468 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_data4_ = NULL;
#line 468 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (_data_->_state_ == 0) {
#line 468 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2730 "gitg-commit-model.c"
		} else {
#line 468 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2734 "gitg-commit-model.c"
		}
#line 468 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_object_unref (_data_->_async_result);
#line 468 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return FALSE;
#line 2740 "gitg-commit-model.c"
	}
	__finally19:
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		block4_data_unref (_data_->_data4_);
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_data_->_data4_ = NULL;
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_clear_error (&_data_->_inner_error_);
#line 461 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return FALSE;
#line 2755 "gitg-commit-model.c"
	}
#line 471 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_state_ = 1;
#line 471 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return FALSE;
#line 2761 "gitg-commit-model.c"
	_state_1:
	;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	block4_data_unref (_data_->_data4_);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data4_ = NULL;
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_data_->_state_ == 0) {
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2772 "gitg-commit-model.c"
	} else {
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2776 "gitg-commit-model.c"
	}
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_unref (_data_->_async_result);
#line 286 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return FALSE;
#line 2782 "gitg-commit-model.c"
}


static void gitg_commit_model_clear (GitgCommitModel* self) {
	GtkTreePath* path = NULL;
	guint _tmp0_ = 0U;
	GtkTreePath* _tmp1_ = NULL;
	gint _tmp8_ = 0;
#line 474 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 476 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "begin-clear");
#line 479 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_size;
#line 479 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = gtk_tree_path_new_from_indices (_tmp0_, -1);
#line 479 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	path = _tmp1_;
#line 481 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	while (TRUE) {
#line 2803 "gitg-commit-model.c"
		guint _tmp2_ = 0U;
		GtkTreePath* _tmp3_ = NULL;
		guint _tmp4_ = 0U;
		GtkTreePath* _tmp5_ = NULL;
		GtkTreePath* _tmp6_ = NULL;
		GtkTreePath* _tmp7_ = NULL;
#line 481 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_size;
#line 481 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (!(_tmp2_ > ((guint) 0))) {
#line 481 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2816 "gitg-commit-model.c"
		}
#line 483 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = path;
#line 483 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		gtk_tree_path_prev (_tmp3_);
#line 484 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = self->priv->d_size;
#line 484 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_size = _tmp4_ - 1;
#line 486 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp5_ = path;
#line 486 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp6_ = gtk_tree_path_copy (_tmp5_);
#line 486 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp7_ = _tmp6_;
#line 486 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		gtk_tree_model_row_deleted ((GtkTreeModel*) self, _tmp7_);
#line 486 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_gtk_tree_path_free0 (_tmp7_);
#line 2836 "gitg-commit-model.c"
	}
#line 489 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = self->priv->d_stamp;
#line 489 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_stamp = _tmp8_ + 1;
#line 491 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "end-clear");
#line 474 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_gtk_tree_path_free0 (path);
#line 2846 "gitg-commit-model.c"
}


static void gitg_commit_model_emit_update (GitgCommitModel* self, guint added) {
	GtkTreePath* path = NULL;
	guint _tmp0_ = 0U;
	GtkTreePath* _tmp1_ = NULL;
	GtkTreeIter iter = {0};
	gint _tmp2_ = 0;
	guint _tmp14_ = 0U;
#line 494 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 496 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_size;
#line 496 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = gtk_tree_path_new_from_indices (_tmp0_, -1);
#line 496 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	path = _tmp1_;
#line 498 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	memset (&iter, 0, sizeof (GtkTreeIter));
#line 499 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_stamp;
#line 499 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iter.stamp = _tmp2_;
#line 2871 "gitg-commit-model.c"
	{
		guint i = 0U;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		i = (guint) 0;
#line 2876 "gitg-commit-model.c"
		{
			gboolean _tmp3_ = FALSE;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = TRUE;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			while (TRUE) {
#line 2883 "gitg-commit-model.c"
				guint _tmp5_ = 0U;
				guint _tmp6_ = 0U;
				guint _tmp7_ = 0U;
				guint _tmp8_ = 0U;
				GtkTreePath* _tmp9_ = NULL;
				GtkTreePath* _tmp10_ = NULL;
				GtkTreePath* _tmp11_ = NULL;
				GtkTreeIter _tmp12_ = {0};
				GtkTreePath* _tmp13_ = NULL;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				if (!_tmp3_) {
#line 2895 "gitg-commit-model.c"
					guint _tmp4_ = 0U;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp4_ = i;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					i = _tmp4_ + 1;
#line 2901 "gitg-commit-model.c"
				}
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp3_ = FALSE;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp5_ = i;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp6_ = added;
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				if (!(_tmp5_ < _tmp6_)) {
#line 501 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					break;
#line 2913 "gitg-commit-model.c"
				}
#line 503 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp7_ = self->priv->d_size;
#line 503 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				iter.user_data = (void*) ((gulong) _tmp7_);
#line 505 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp8_ = self->priv->d_size;
#line 505 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_size = _tmp8_ + 1;
#line 507 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp9_ = path;
#line 507 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp10_ = gtk_tree_path_copy (_tmp9_);
#line 507 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp11_ = _tmp10_;
#line 507 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp12_ = iter;
#line 507 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				gtk_tree_model_row_inserted ((GtkTreeModel*) self, _tmp11_, &_tmp12_);
#line 507 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_gtk_tree_path_free0 (_tmp11_);
#line 508 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp13_ = path;
#line 508 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				gtk_tree_path_next (_tmp13_);
#line 2939 "gitg-commit-model.c"
			}
		}
	}
#line 511 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp14_ = added;
#line 511 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "update", _tmp14_);
#line 494 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_gtk_tree_path_free0 (path);
#line 2949 "gitg-commit-model.c"
}


static GType gitg_commit_model_real_get_column_type (GtkTreeModel* base, gint index) {
	GitgCommitModel * self;
	GType result = 0UL;
	gint _tmp0_ = 0;
	GType _tmp1_ = 0UL;
#line 514 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 516 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = index;
#line 516 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = gitg_commit_model_columns_type ((GitgCommitModelColumns) _tmp0_);
#line 516 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp1_;
#line 516 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2968 "gitg-commit-model.c"
}


static GtkTreeModelFlags gitg_commit_model_real_get_flags (GtkTreeModel* base) {
	GitgCommitModel * self;
	GtkTreeModelFlags result = 0;
#line 519 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 521 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = GTK_TREE_MODEL_LIST_ONLY | GTK_TREE_MODEL_ITERS_PERSIST;
#line 521 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2981 "gitg-commit-model.c"
}


static gint* _vala_array_dup6 (gint* self, int length) {
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return g_memdup (self, length * sizeof (gint));
#line 2988 "gitg-commit-model.c"
}


static gboolean gitg_commit_model_real_get_iter (GtkTreeModel* base, GtkTreeIter* iter, GtkTreePath* path) {
	GitgCommitModel * self;
	GtkTreeIter _vala_iter = {0};
	gboolean result = FALSE;
	GtkTreeIter _tmp0_ = {0};
	gint* indices = NULL;
	GtkTreePath* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	gint* _tmp3_ = NULL;
	gint* _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	gint indices_length1 = 0;
	gint _indices_size_ = 0;
	gint* _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	guint index = 0U;
	gint* _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	gint _tmp7_ = 0;
	guint _tmp8_ = 0U;
	guint _tmp9_ = 0U;
	guint _tmp10_ = 0U;
	gint _tmp11_ = 0;
#line 525 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 525 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (path != NULL, FALSE);
#line 527 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter = _tmp0_;
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = path;
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = gtk_tree_path_get_indices_with_depth (_tmp1_, &_tmp2_);
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = (_tmp3_ != NULL) ? _vala_array_dup6 (_tmp3_, _tmp2_) : ((gpointer) _tmp3_);
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4__length1 = _tmp2_;
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	indices = _tmp4_;
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	indices_length1 = _tmp4__length1;
#line 529 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_indices_size_ = indices_length1;
#line 531 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = indices;
#line 531 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5__length1 = indices_length1;
#line 531 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp5__length1 != 1) {
#line 533 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 533 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		indices = (g_free (indices), NULL);
#line 533 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 533 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 3049 "gitg-commit-model.c"
		}
#line 533 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3053 "gitg-commit-model.c"
	}
#line 536 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = indices;
#line 536 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6__length1 = indices_length1;
#line 536 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = _tmp6_[0];
#line 536 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	index = (guint) _tmp7_;
#line 538 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = index;
#line 538 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp9_ = self->priv->d_size;
#line 538 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp8_ >= _tmp9_) {
#line 540 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 540 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		indices = (g_free (indices), NULL);
#line 540 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 540 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 3077 "gitg-commit-model.c"
		}
#line 540 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3081 "gitg-commit-model.c"
	}
#line 543 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp10_ = index;
#line 543 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.user_data = (void*) ((gulong) _tmp10_);
#line 544 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp11_ = self->priv->d_stamp;
#line 544 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.stamp = _tmp11_;
#line 546 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = TRUE;
#line 546 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	indices = (g_free (indices), NULL);
#line 546 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (iter) {
#line 546 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*iter = _vala_iter;
#line 3099 "gitg-commit-model.c"
	}
#line 546 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3103 "gitg-commit-model.c"
}


static gint gitg_commit_model_real_get_n_columns (GtkTreeModel* base) {
	GitgCommitModel * self;
	gint result = 0;
#line 549 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 551 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = (gint) GITG_COMMIT_MODEL_COLUMNS_NUM;
#line 551 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3116 "gitg-commit-model.c"
}


static GtkTreePath* gitg_commit_model_real_get_path (GtkTreeModel* base, GtkTreeIter* iter) {
	GitgCommitModel * self;
	GtkTreePath* result = NULL;
	guint id = 0U;
	GtkTreeIter _tmp0_ = {0};
	void* _tmp1_ = NULL;
	GtkTreeIter _tmp2_ = {0};
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	GtkTreePath* _tmp5_ = NULL;
#line 554 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 554 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 556 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = *iter;
#line 556 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_.user_data;
#line 556 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	id = (guint) ((gulong) _tmp1_);
#line 558 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = *iter;
#line 558 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = _tmp2_.stamp;
#line 558 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = self->priv->d_stamp;
#line 558 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp3_ == _tmp4_, NULL);
#line 560 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = gtk_tree_path_new_from_indices ((gint) id, -1);
#line 560 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp5_;
#line 560 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3154 "gitg-commit-model.c"
}


static void gitg_commit_model_real_get_value (GtkTreeModel* base, GtkTreeIter* iter, gint column, GValue* val) {
	GitgCommitModel * self;
	GValue _vala_val = {0};
	GValue _tmp0_ = {0};
	GtkTreeIter _tmp1_ = {0};
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
	guint idx = 0U;
	GtkTreeIter _tmp4_ = {0};
	void* _tmp5_ = NULL;
	GitgCommit* commit = NULL;
	guint _tmp6_ = 0U;
	GitgCommit* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	GType _tmp9_ = 0UL;
	GitgCommit* _tmp10_ = NULL;
	gint _tmp11_ = 0;
#line 563 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 563 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (iter != NULL);
#line 565 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	G_IS_VALUE (&_vala_val) ? (g_value_unset (&_vala_val), NULL) : NULL;
#line 565 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_val = _tmp0_;
#line 567 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = *iter;
#line 567 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = _tmp1_.stamp;
#line 567 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = self->priv->d_stamp;
#line 567 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (_tmp2_ == _tmp3_);
#line 569 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = *iter;
#line 569 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = _tmp4_.user_data;
#line 569 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	idx = (guint) ((gulong) _tmp5_);
#line 570 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = idx;
#line 570 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = gitg_commit_model_get (self, _tmp6_);
#line 570 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	commit = _tmp7_;
#line 572 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = column;
#line 572 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp9_ = gtk_tree_model_get_column_type ((GtkTreeModel*) self, _tmp8_);
#line 572 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_value_init (&_vala_val, _tmp9_);
#line 574 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp10_ = commit;
#line 574 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp10_ == NULL) {
#line 576 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (commit);
#line 576 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (val) {
#line 576 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			*val = _vala_val;
#line 3219 "gitg-commit-model.c"
		} else {
#line 576 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			G_IS_VALUE (&_vala_val) ? (g_value_unset (&_vala_val), NULL) : NULL;
#line 3223 "gitg-commit-model.c"
		}
#line 576 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return;
#line 3227 "gitg-commit-model.c"
	}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp11_ = column;
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	switch (_tmp11_) {
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SHA1:
#line 3235 "gitg-commit-model.c"
		{
			GitgCommit* _tmp12_ = NULL;
			GgitOId* _tmp13_ = NULL;
			GgitOId* _tmp14_ = NULL;
			gchar* _tmp15_ = NULL;
			gchar* _tmp16_ = NULL;
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp12_ = commit;
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp13_ = ggit_object_get_id ((GgitObject*) _tmp12_);
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp14_ = _tmp13_;
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp15_ = ggit_oid_to_string (_tmp14_);
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp16_ = _tmp15_;
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp16_);
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp16_);
#line 582 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (_tmp14_);
#line 583 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3260 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SUBJECT:
#line 3264 "gitg-commit-model.c"
		{
			GitgCommit* _tmp17_ = NULL;
			const gchar* _tmp18_ = NULL;
#line 585 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp17_ = commit;
#line 585 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp18_ = ggit_commit_get_subject ((GgitCommit*) _tmp17_);
#line 585 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp18_);
#line 586 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3276 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_MESSAGE:
#line 3280 "gitg-commit-model.c"
		{
			GitgCommit* _tmp19_ = NULL;
			const gchar* _tmp20_ = NULL;
#line 588 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp19_ = commit;
#line 588 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp20_ = ggit_commit_get_message ((GgitCommit*) _tmp19_);
#line 588 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp20_);
#line 589 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3292 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER:
#line 3296 "gitg-commit-model.c"
		{
			GitgCommit* _tmp21_ = NULL;
			GgitSignature* _tmp22_ = NULL;
			GgitSignature* _tmp23_ = NULL;
			const gchar* _tmp24_ = NULL;
			GitgCommit* _tmp25_ = NULL;
			GgitSignature* _tmp26_ = NULL;
			GgitSignature* _tmp27_ = NULL;
			const gchar* _tmp28_ = NULL;
			gchar* _tmp29_ = NULL;
			gchar* _tmp30_ = NULL;
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp21_ = commit;
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp22_ = ggit_commit_get_committer ((GgitCommit*) _tmp21_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp23_ = _tmp22_;
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp24_ = ggit_signature_get_name (_tmp23_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp25_ = commit;
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp26_ = ggit_commit_get_committer ((GgitCommit*) _tmp25_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp27_ = _tmp26_;
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp28_ = ggit_signature_get_email (_tmp27_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp29_ = g_strdup_printf ("%s <%s>", _tmp24_, _tmp28_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp30_ = _tmp29_;
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp30_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp30_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp27_);
#line 591 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp23_);
#line 593 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3338 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_NAME:
#line 3342 "gitg-commit-model.c"
		{
			GitgCommit* _tmp31_ = NULL;
			GgitSignature* _tmp32_ = NULL;
			GgitSignature* _tmp33_ = NULL;
			const gchar* _tmp34_ = NULL;
#line 595 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp31_ = commit;
#line 595 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp32_ = ggit_commit_get_committer ((GgitCommit*) _tmp31_);
#line 595 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp33_ = _tmp32_;
#line 595 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp34_ = ggit_signature_get_name (_tmp33_);
#line 595 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp34_);
#line 595 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp33_);
#line 596 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3362 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_EMAIL:
#line 3366 "gitg-commit-model.c"
		{
			GitgCommit* _tmp35_ = NULL;
			GgitSignature* _tmp36_ = NULL;
			GgitSignature* _tmp37_ = NULL;
			const gchar* _tmp38_ = NULL;
#line 598 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp35_ = commit;
#line 598 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp36_ = ggit_commit_get_committer ((GgitCommit*) _tmp35_);
#line 598 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp37_ = _tmp36_;
#line 598 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp38_ = ggit_signature_get_email (_tmp37_);
#line 598 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp38_);
#line 598 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp37_);
#line 599 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3386 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_DATE:
#line 3390 "gitg-commit-model.c"
		{
			GitgCommit* _tmp39_ = NULL;
			gchar* _tmp40_ = NULL;
			gchar* _tmp41_ = NULL;
			gchar* _tmp42_ = NULL;
#line 601 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp39_ = commit;
#line 601 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp40_ = gitg_commit_get_committer_date_for_display (_tmp39_);
#line 601 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp41_ = _tmp40_;
#line 601 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp42_ = _tmp41_;
#line 601 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp42_);
#line 601 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp42_);
#line 602 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3410 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR:
#line 3414 "gitg-commit-model.c"
		{
			GitgCommit* _tmp43_ = NULL;
			GgitSignature* _tmp44_ = NULL;
			GgitSignature* _tmp45_ = NULL;
			const gchar* _tmp46_ = NULL;
			GitgCommit* _tmp47_ = NULL;
			GgitSignature* _tmp48_ = NULL;
			GgitSignature* _tmp49_ = NULL;
			const gchar* _tmp50_ = NULL;
			gchar* _tmp51_ = NULL;
			gchar* _tmp52_ = NULL;
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp43_ = commit;
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp44_ = ggit_commit_get_author ((GgitCommit*) _tmp43_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp45_ = _tmp44_;
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp46_ = ggit_signature_get_name (_tmp45_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp47_ = commit;
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp48_ = ggit_commit_get_author ((GgitCommit*) _tmp47_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp49_ = _tmp48_;
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp50_ = ggit_signature_get_email (_tmp49_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp51_ = g_strdup_printf ("%s <%s>", _tmp46_, _tmp50_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp52_ = _tmp51_;
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp52_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp52_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp49_);
#line 604 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp45_);
#line 606 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3456 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_NAME:
#line 3460 "gitg-commit-model.c"
		{
			GitgCommit* _tmp53_ = NULL;
			GgitSignature* _tmp54_ = NULL;
			GgitSignature* _tmp55_ = NULL;
			const gchar* _tmp56_ = NULL;
#line 608 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp53_ = commit;
#line 608 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp54_ = ggit_commit_get_author ((GgitCommit*) _tmp53_);
#line 608 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp55_ = _tmp54_;
#line 608 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp56_ = ggit_signature_get_name (_tmp55_);
#line 608 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp56_);
#line 608 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp55_);
#line 609 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3480 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_EMAIL:
#line 3484 "gitg-commit-model.c"
		{
			GitgCommit* _tmp57_ = NULL;
			GgitSignature* _tmp58_ = NULL;
			GgitSignature* _tmp59_ = NULL;
			const gchar* _tmp60_ = NULL;
#line 611 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp57_ = commit;
#line 611 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp58_ = ggit_commit_get_author ((GgitCommit*) _tmp57_);
#line 611 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp59_ = _tmp58_;
#line 611 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp60_ = ggit_signature_get_email (_tmp59_);
#line 611 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp60_);
#line 611 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp59_);
#line 612 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3504 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_DATE:
#line 3508 "gitg-commit-model.c"
		{
			GitgCommit* _tmp61_ = NULL;
			gchar* _tmp62_ = NULL;
			gchar* _tmp63_ = NULL;
			gchar* _tmp64_ = NULL;
#line 614 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp61_ = commit;
#line 614 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp62_ = gitg_commit_get_author_date_for_display (_tmp61_);
#line 614 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp63_ = _tmp62_;
#line 614 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp64_ = _tmp63_;
#line 614 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp64_);
#line 614 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp64_);
#line 615 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3528 "gitg-commit-model.c"
		}
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMIT:
#line 3532 "gitg-commit-model.c"
		{
			GitgCommit* _tmp65_ = NULL;
#line 617 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp65_ = commit;
#line 617 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_object (&_vala_val, (GObject*) _tmp65_);
#line 618 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3541 "gitg-commit-model.c"
		}
		default:
#line 579 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 3546 "gitg-commit-model.c"
	}
#line 563 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (commit);
#line 563 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (val) {
#line 563 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*val = _vala_val;
#line 3554 "gitg-commit-model.c"
	} else {
#line 563 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		G_IS_VALUE (&_vala_val) ? (g_value_unset (&_vala_val), NULL) : NULL;
#line 3558 "gitg-commit-model.c"
	}
}


GitgCommit* gitg_commit_model_commit_from_iter (GitgCommitModel* self, GtkTreeIter* iter) {
	GitgCommit* result = NULL;
	GtkTreeIter _tmp0_ = {0};
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	guint idx = 0U;
	GtkTreeIter _tmp3_ = {0};
	void* _tmp4_ = NULL;
	GitgCommit* _tmp5_ = NULL;
#line 622 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 622 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 624 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = *iter;
#line 624 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_.stamp;
#line 624 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_stamp;
#line 624 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp1_ == _tmp2_, NULL);
#line 626 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = *iter;
#line 626 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = _tmp3_.user_data;
#line 626 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	idx = (guint) ((gulong) _tmp4_);
#line 628 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = gitg_commit_model_get (self, idx);
#line 628 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp5_;
#line 628 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3596 "gitg-commit-model.c"
}


GtkTreePath* gitg_commit_model_path_from_commit (GitgCommitModel* self, GitgCommit* commit) {
	GtkTreePath* result = NULL;
	GError * _inner_error_ = NULL;
#line 631 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 631 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (commit != NULL, NULL);
#line 3607 "gitg-commit-model.c"
	{
		GeeHashMap* _tmp0_ = NULL;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = self->priv->d_id_hash;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_id_hash);
#line 3614 "gitg-commit-model.c"
		{
			GgitOId* id = NULL;
			GitgCommit* _tmp1_ = NULL;
			GgitOId* _tmp2_ = NULL;
			GeeHashMap* _tmp3_ = NULL;
			GgitOId* _tmp4_ = NULL;
			gboolean _tmp5_ = FALSE;
			GeeHashMap* _tmp7_ = NULL;
			GitgCommit* _tmp8_ = NULL;
			GgitOId* _tmp9_ = NULL;
			GgitOId* _tmp10_ = NULL;
			gpointer _tmp11_ = NULL;
			GtkTreePath* _tmp12_ = NULL;
			GtkTreePath* _tmp13_ = NULL;
#line 635 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = commit;
#line 635 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp2_ = ggit_object_get_id ((GgitObject*) _tmp1_);
#line 635 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			id = _tmp2_;
#line 637 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = self->priv->d_id_hash;
#line 637 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = id;
#line 637 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp3_, _tmp4_);
#line 637 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			if (!_tmp5_) {
#line 639 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				result = NULL;
#line 639 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (id);
#line 3647 "gitg-commit-model.c"
				{
					GeeHashMap* _tmp6_ = NULL;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					_tmp6_ = self->priv->d_id_hash;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
					g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 3654 "gitg-commit-model.c"
				}
#line 639 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				return result;
#line 3658 "gitg-commit-model.c"
			}
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp7_ = self->priv->d_id_hash;
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp8_ = commit;
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp9_ = ggit_object_get_id ((GgitObject*) _tmp8_);
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp10_ = _tmp9_;
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp11_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp7_, _tmp10_);
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp12_ = gtk_tree_path_new_from_indices ((gint) ((gintptr) _tmp11_), -1);
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp13_ = _tmp12_;
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (_tmp10_);
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			result = _tmp13_;
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 3680 "gitg-commit-model.c"
			{
				GeeHashMap* _tmp14_ = NULL;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				_tmp14_ = self->priv->d_id_hash;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
				g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 3687 "gitg-commit-model.c"
			}
#line 642 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 3691 "gitg-commit-model.c"
		}
		__finally20:
		{
			GeeHashMap* _tmp15_ = NULL;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			_tmp15_ = self->priv->d_id_hash;
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 3700 "gitg-commit-model.c"
		}
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_clear_error (&_inner_error_);
#line 633 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return NULL;
#line 3708 "gitg-commit-model.c"
	}
}


static gint* _vala_array_dup7 (gint* self, int length) {
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return g_memdup (self, length * sizeof (gint));
#line 3716 "gitg-commit-model.c"
}


GitgCommit* gitg_commit_model_commit_from_path (GitgCommitModel* self, GtkTreePath* path) {
	GitgCommit* result = NULL;
	gint* indices = NULL;
	GtkTreePath* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint* _tmp2_ = NULL;
	gint* _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	gint indices_length1 = 0;
	gint _indices_size_ = 0;
	gint* _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	gint* _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	gint _tmp6_ = 0;
	GitgCommit* _tmp7_ = NULL;
#line 646 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 646 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (path != NULL, NULL);
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = path;
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = gtk_tree_path_get_indices_with_depth (_tmp0_, &_tmp1_);
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = (_tmp2_ != NULL) ? _vala_array_dup7 (_tmp2_, _tmp1_) : ((gpointer) _tmp2_);
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3__length1 = _tmp1_;
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	indices = _tmp3_;
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	indices_length1 = _tmp3__length1;
#line 648 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_indices_size_ = indices_length1;
#line 650 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = indices;
#line 650 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4__length1 = indices_length1;
#line 650 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp4__length1 != 1) {
#line 652 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = NULL;
#line 652 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		indices = (g_free (indices), NULL);
#line 652 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3766 "gitg-commit-model.c"
	}
#line 655 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = indices;
#line 655 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5__length1 = indices_length1;
#line 655 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = _tmp5_[0];
#line 655 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = gitg_commit_model_get (self, (guint) _tmp6_);
#line 655 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp7_;
#line 655 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	indices = (g_free (indices), NULL);
#line 655 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3782 "gitg-commit-model.c"
}


static gboolean gitg_commit_model_real_iter_children (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent) {
	GitgCommitModel * self;
	GtkTreeIter _vala_iter = {0};
	gboolean result = FALSE;
	GtkTreeIter _tmp0_ = {0};
	GtkTreeIter* _tmp1_ = NULL;
#line 658 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 660 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter = _tmp0_;
#line 662 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = parent;
#line 662 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp1_ == NULL) {
#line 3800 "gitg-commit-model.c"
		gint _tmp2_ = 0;
#line 664 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_vala_iter.user_data = (void*) ((gulong) 0);
#line 665 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_stamp;
#line 665 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_vala_iter.stamp = _tmp2_;
#line 667 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = TRUE;
#line 667 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 667 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 3814 "gitg-commit-model.c"
		}
#line 667 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3818 "gitg-commit-model.c"
	} else {
		GtkTreeIter* _tmp3_ = NULL;
		gint _tmp4_ = 0;
		gint _tmp5_ = 0;
#line 671 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = parent;
#line 671 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = (*_tmp3_).stamp;
#line 671 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp5_ = self->priv->d_stamp;
#line 671 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_return_val_if_fail (_tmp4_ == _tmp5_, FALSE);
#line 672 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 672 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 672 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 3837 "gitg-commit-model.c"
		}
#line 672 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3841 "gitg-commit-model.c"
	}
#line 658 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (iter) {
#line 658 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*iter = _vala_iter;
#line 3847 "gitg-commit-model.c"
	}
}


static gboolean gitg_commit_model_real_iter_has_child (GtkTreeModel* base, GtkTreeIter* iter) {
	GitgCommitModel * self;
	gboolean result = FALSE;
#line 676 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 676 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 678 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = FALSE;
#line 678 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3863 "gitg-commit-model.c"
}


static gint gitg_commit_model_real_iter_n_children (GtkTreeModel* base, GtkTreeIter* iter) {
	GitgCommitModel * self;
	gint result = 0;
	GtkTreeIter* _tmp0_ = NULL;
#line 681 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 683 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = iter;
#line 683 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ == NULL) {
#line 3877 "gitg-commit-model.c"
		guint _tmp1_ = 0U;
#line 685 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = self->priv->d_size;
#line 685 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = (gint) _tmp1_;
#line 685 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3885 "gitg-commit-model.c"
	} else {
		GtkTreeIter* _tmp2_ = NULL;
		gint _tmp3_ = 0;
		gint _tmp4_ = 0;
#line 689 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = iter;
#line 689 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = (*_tmp2_).stamp;
#line 689 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = self->priv->d_stamp;
#line 689 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_return_val_if_fail (_tmp3_ == _tmp4_, 0);
#line 690 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = 0;
#line 690 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3902 "gitg-commit-model.c"
	}
}


static gboolean gitg_commit_model_real_iter_next (GtkTreeModel* base, GtkTreeIter* iter) {
	GitgCommitModel * self;
	gboolean result = FALSE;
	GtkTreeIter _tmp0_ = {0};
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	guint index = 0U;
	GtkTreeIter _tmp3_ = {0};
	void* _tmp4_ = NULL;
	guint _tmp5_ = 0U;
	guint _tmp6_ = 0U;
	guint _tmp7_ = 0U;
#line 694 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 694 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 696 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = *iter;
#line 696 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_.stamp;
#line 696 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_stamp;
#line 696 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp1_ == _tmp2_, FALSE);
#line 698 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = *iter;
#line 698 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = _tmp3_.user_data;
#line 698 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	index = (guint) ((gulong) _tmp4_);
#line 699 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = index;
#line 699 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	index = _tmp5_ + 1;
#line 701 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = index;
#line 701 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = self->priv->d_size;
#line 701 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp6_ >= _tmp7_) {
#line 703 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 703 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3951 "gitg-commit-model.c"
	} else {
		guint _tmp8_ = 0U;
#line 707 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp8_ = index;
#line 707 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		(*iter).user_data = (void*) ((gulong) _tmp8_);
#line 708 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = TRUE;
#line 708 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3962 "gitg-commit-model.c"
	}
}


static gboolean gitg_commit_model_real_iter_nth_child (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent, gint n) {
	GitgCommitModel * self;
	GtkTreeIter _vala_iter = {0};
	gboolean result = FALSE;
	GtkTreeIter _tmp0_ = {0};
	gboolean _tmp1_ = FALSE;
	GtkTreeIter* _tmp2_ = NULL;
	gint _tmp5_ = 0;
	gint _tmp6_ = 0;
#line 712 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 714 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter = _tmp0_;
#line 716 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = parent;
#line 716 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp2_ != NULL) {
#line 716 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = TRUE;
#line 3986 "gitg-commit-model.c"
	} else {
		gint _tmp3_ = 0;
		guint _tmp4_ = 0U;
#line 716 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = n;
#line 716 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = self->priv->d_size;
#line 716 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = ((guint) _tmp3_) >= _tmp4_;
#line 3996 "gitg-commit-model.c"
	}
#line 716 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp1_) {
#line 718 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 718 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 718 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 4006 "gitg-commit-model.c"
		}
#line 718 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 4010 "gitg-commit-model.c"
	}
#line 721 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = n;
#line 721 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.user_data = (void*) ((gulong) _tmp5_);
#line 722 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = self->priv->d_stamp;
#line 722 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.stamp = _tmp6_;
#line 724 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = TRUE;
#line 724 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (iter) {
#line 724 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*iter = _vala_iter;
#line 4026 "gitg-commit-model.c"
	}
#line 724 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 4030 "gitg-commit-model.c"
}


static gboolean gitg_commit_model_real_iter_parent (GtkTreeModel* base, GtkTreeIter* parent, GtkTreeIter* iter) {
	GitgCommitModel * self;
	GtkTreeIter _vala_parent = {0};
	gboolean result = FALSE;
	GtkTreeIter _tmp0_ = {0};
	GtkTreeIter _tmp1_ = {0};
	gint _tmp2_ = 0;
	gint _tmp3_ = 0;
#line 727 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 727 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 729 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_vala_parent = _tmp0_;
#line 731 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = *iter;
#line 731 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = _tmp1_.stamp;
#line 731 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = self->priv->d_stamp;
#line 731 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp2_ == _tmp3_, FALSE);
#line 733 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = FALSE;
#line 733 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (parent) {
#line 733 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*parent = _vala_parent;
#line 4062 "gitg-commit-model.c"
	}
#line 733 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 4066 "gitg-commit-model.c"
}


guint gitg_commit_model_get_limit (GitgCommitModel* self) {
	guint result;
	guint _tmp0_ = 0U;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->_limit;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp0_;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 4081 "gitg-commit-model.c"
}


void gitg_commit_model_set_limit (GitgCommitModel* self, guint value) {
	guint _tmp0_ = 0U;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = value;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_limit = _tmp0_;
#line 84 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_notify ((GObject *) self, "limit");
#line 4095 "gitg-commit-model.c"
}


GgitSortMode gitg_commit_model_get_sort_mode (GitgCommitModel* self) {
	GgitSortMode result;
	GgitSortMode _tmp0_ = 0;
#line 88 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 88 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_sortmode;
#line 88 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp0_;
#line 88 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 4110 "gitg-commit-model.c"
}


void gitg_commit_model_set_sort_mode (GitgCommitModel* self, GgitSortMode value) {
	GgitSortMode _tmp0_ = 0;
	GgitSortMode _tmp1_ = 0;
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 91 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_sortmode;
#line 91 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = value;
#line 91 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ != _tmp1_) {
#line 4125 "gitg-commit-model.c"
		GgitSortMode _tmp2_ = 0;
#line 93 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = value;
#line 93 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_sortmode = _tmp2_;
#line 94 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_reload (self);
#line 4133 "gitg-commit-model.c"
	}
#line 89 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_notify ((GObject *) self, "sort-mode");
#line 4137 "gitg-commit-model.c"
}


GitgRepository* gitg_commit_model_get_repository (GitgCommitModel* self) {
	GitgRepository* result;
	GitgRepository* _tmp0_ = NULL;
#line 101 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 101 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_repository;
#line 101 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp0_;
#line 101 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 4152 "gitg-commit-model.c"
}


void gitg_commit_model_set_repository (GitgCommitModel* self, GitgRepository* value) {
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
	GitgRepository* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 104 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_repository;
#line 104 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = value;
#line 104 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ == _tmp1_) {
#line 106 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		return;
#line 4171 "gitg-commit-model.c"
	}
#line 109 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_cancel (self);
#line 111 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_walker);
#line 111 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_walker = NULL;
#line 112 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = value;
#line 112 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 112 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 112 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_repository = _tmp3_;
#line 102 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_notify ((GObject *) self, "repository");
#line 4189 "gitg-commit-model.c"
}


GgitOId** gitg_commit_model_get_permanent_lanes (GitgCommitModel* self, int* result_length1) {
	GgitOId** result;
	GgitOId** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GgitOId** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->_permanent_lanes;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = self->priv->_permanent_lanes_length1;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	if (result_length1) {
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		*result_length1 = _tmp1__length1;
#line 4213 "gitg-commit-model.c"
	}
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp1_;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 4219 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup8 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 4230 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 4236 "gitg-commit-model.c"
	}
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 4240 "gitg-commit-model.c"
}


void gitg_commit_model_set_permanent_lanes (GitgCommitModel* self, GgitOId** value, int value_length1) {
	GgitOId** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GgitOId** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = value;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = value_length1;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup8 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_permanent_lanes = (_vala_array_free (self->priv->_permanent_lanes, self->priv->_permanent_lanes_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_permanent_lanes = _tmp1_;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_permanent_lanes_length1 = _tmp1__length1;
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->__permanent_lanes_size_ = self->priv->_permanent_lanes_length1;
#line 4267 "gitg-commit-model.c"
}


static GObject * gitg_commit_model_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgCommitModel * self;
	GitgLanes* _tmp0_ = NULL;
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_model_parent_class);
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_COMMIT_MODEL, GitgCommitModel);
#line 132 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = gitg_lanes_new ();
#line 132 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_lanes);
#line 132 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_lanes = _tmp0_;
#line 133 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_sortmode = GGIT_SORT_TIME | GGIT_SORT_TOPOLOGICAL;
#line 130 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	return obj;
#line 4292 "gitg-commit-model.c"
}


static void gitg_commit_model_class_init (GitgCommitModelClass * klass) {
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_parent_class = g_type_class_peek_parent (klass);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitModelPrivate));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	((GObjectClass *) klass)->dispose = gitg_commit_model_real_dispose;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_model_get_property;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_model_set_property;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_model_constructor;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_model_finalize;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_MODEL_LIMIT, g_param_spec_uint ("limit", "limit", "limit", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_MODEL_SORT_MODE, g_param_spec_flags ("sort-mode", "sort-mode", "sort-mode", ggit_sort_mode_get_type (), 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_COMMIT_MODEL_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_new ("started", GITG_TYPE_COMMIT_MODEL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_new ("update", GITG_TYPE_COMMIT_MODEL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__UINT, G_TYPE_NONE, 1, G_TYPE_UINT);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_new ("finished", GITG_TYPE_COMMIT_MODEL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_new ("begin_clear", GITG_TYPE_COMMIT_MODEL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_signal_new ("end_clear", GITG_TYPE_COMMIT_MODEL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 4327 "gitg-commit-model.c"
}


static void gitg_commit_model_gtk_tree_model_interface_init (GtkTreeModelIface * iface) {
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_gtk_tree_model_parent_iface = g_type_interface_peek_parent (iface);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->get_column_type = (GType (*)(GtkTreeModel*, gint)) gitg_commit_model_real_get_column_type;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->get_flags = (GtkTreeModelFlags (*)(GtkTreeModel*)) gitg_commit_model_real_get_flags;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->get_iter = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreePath*)) gitg_commit_model_real_get_iter;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->get_n_columns = (gint (*)(GtkTreeModel*)) gitg_commit_model_real_get_n_columns;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->get_path = (GtkTreePath* (*)(GtkTreeModel*, GtkTreeIter*)) gitg_commit_model_real_get_path;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->get_value = (void (*)(GtkTreeModel*, GtkTreeIter*, gint, GValue*)) gitg_commit_model_real_get_value;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->iter_children = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*)) gitg_commit_model_real_iter_children;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->iter_has_child = (gboolean (*)(GtkTreeModel*, GtkTreeIter*)) gitg_commit_model_real_iter_has_child;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->iter_n_children = (gint (*)(GtkTreeModel*, GtkTreeIter*)) gitg_commit_model_real_iter_n_children;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->iter_next = (gboolean (*)(GtkTreeModel*, GtkTreeIter*)) gitg_commit_model_real_iter_next;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->iter_nth_child = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*, gint)) gitg_commit_model_real_iter_nth_child;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	iface->iter_parent = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*)) gitg_commit_model_real_iter_parent;
#line 4358 "gitg-commit-model.c"
}


static void gitg_commit_model_instance_init (GitgCommitModel * self) {
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv = GITG_COMMIT_MODEL_GET_PRIVATE (self);
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_init (&self->priv->__lock_d_ids);
#line 73 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_init (&self->priv->__lock_d_idleid);
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_init (&self->priv->__lock_d_id_hash);
#line 4371 "gitg-commit-model.c"
}


static void gitg_commit_model_finalize (GObject* obj) {
	GitgCommitModel * self;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_COMMIT_MODEL, GitgCommitModel);
#line 66 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 67 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_clear (&self->priv->__lock_d_ids);
#line 68 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_ids = (_vala_array_free (self->priv->d_ids, self->priv->d_ids_length1, (GDestroyNotify) g_object_unref), NULL);
#line 69 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_hidden_ids = (_vala_array_free (self->priv->d_hidden_ids, self->priv->d_hidden_ids_length1, (GDestroyNotify) g_object_unref), NULL);
#line 70 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_thread_unref0 (self->priv->d_thread);
#line 71 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_walker);
#line 73 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_clear (&self->priv->__lock_d_idleid);
#line 74 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_lanes);
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_clear (&self->priv->__lock_d_id_hash);
#line 76 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_id_hash);
#line 78 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_include = (_vala_array_free (self->priv->d_include, self->priv->d_include_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 79 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_exclude = (_vala_array_free (self->priv->d_exclude, self->priv->d_exclude_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 116 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_permanent_lanes = (_vala_array_free (self->priv->_permanent_lanes, self->priv->_permanent_lanes_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (gitg_commit_model_parent_class)->finalize (obj);
#line 4409 "gitg-commit-model.c"
}


GType gitg_commit_model_get_type (void) {
	static volatile gsize gitg_commit_model_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_commit_model_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgCommitModelClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_commit_model_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgCommitModel), 0, (GInstanceInitFunc) gitg_commit_model_instance_init, NULL };
		static const GInterfaceInfo gtk_tree_model_info = { (GInterfaceInitFunc) gitg_commit_model_gtk_tree_model_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_commit_model_type_id;
		gitg_commit_model_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgCommitModel", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_commit_model_type_id, GTK_TYPE_TREE_MODEL, &gtk_tree_model_info);
		g_once_init_leave (&gitg_commit_model_type_id__volatile, gitg_commit_model_type_id);
	}
	return gitg_commit_model_type_id__volatile;
}


static void _vala_gitg_commit_model_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgCommitModel * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_COMMIT_MODEL, GitgCommitModel);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	switch (property_id) {
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_LIMIT:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_value_set_uint (value, gitg_commit_model_get_limit (self));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_SORT_MODE:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_value_set_flags (value, gitg_commit_model_get_sort_mode (self));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_REPOSITORY:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		g_value_set_object (value, gitg_commit_model_get_repository (self));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4450 "gitg-commit-model.c"
		default:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4456 "gitg-commit-model.c"
	}
}


static void _vala_gitg_commit_model_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgCommitModel * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_COMMIT_MODEL, GitgCommitModel);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
	switch (property_id) {
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_LIMIT:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_set_limit (self, g_value_get_uint (value));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_SORT_MODE:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_set_sort_mode (self, g_value_get_flags (value));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_REPOSITORY:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_set_repository (self, g_value_get_object (value));
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4484 "gitg-commit-model.c"
		default:
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 64 "/home/jesse/dev/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4490 "gitg-commit-model.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}



