/* gitg-commit-model.c generated by valac 0.27.1.26-9b1a5-dirty, 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;
#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;
	guint newsize;
	gboolean isend;
};

struct _Block3Data {
	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;
	gpointer _async_data_;
};

struct _GitgCommitModelWalkData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgCommitModel* self;
	Block3Data* _data3_;
	GgitOId** _tmp0_;
	gint _tmp0__length1;
	GgitOId** _tmp1_;
	gint _tmp1__length1;
	GgitOId** _tmp2_;
	gint _tmp2__length1;
	GgitOId** _tmp3_;
	gint _tmp3__length1;
	guint _tmp4_;
	GThreadFunc run;
	void* run_target;
	GDestroyNotify run_target_destroy_notify;
	GCancellable* _tmp5_;
	GThread* _tmp6_;
	GThreadFunc _tmp7_;
	void* _tmp7__target;
	GDestroyNotify _tmp7__target_destroy_notify;
	GThread* _tmp8_;
	GThread* _tmp9_;
	GCancellable* _tmp10_;
	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 GgitOId* _vala_GgitOId_copy (GgitOId* self);
static void gitg_commit_model_emit_started (GitgCommitModel* self);
void gitg_commit_model_reload (GitgCommitModel* self);
static void gitg_commit_model_walk (GitgCommitModel* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void gitg_commit_model_walk_finish (GitgCommitModel* self, GAsyncResult* _res_);
static void __lambda36_ (GitgCommitModel* self, GObject* obj, GAsyncResult* res);
static void ___lambda36__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, gboolean isend);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
static gboolean __lambda33_ (Block2Data* _data2_);
static void gitg_commit_model_emit_update (GitgCommitModel* self, guint added);
static gboolean ___lambda33__gsource_func (gpointer self);
static void gitg_commit_model_resize_ids (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 Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_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);
static void* __lambda32_ (Block3Data* _data3_);
GgitOId** gitg_commit_model_get_permanent_lanes (GitgCommitModel* self, int* result_length1);
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 ____lambda34_ (GitgCommitModel* self, GgitOId* i);
static guint _____lambda34__gee_hash_data_func (gconstpointer v, gpointer self);
static gboolean ____lambda35_ (GitgCommitModel* self, GgitOId* a, GgitOId* b);
static gboolean _____lambda35__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 void _vala_array_add2 (GitgCommit*** array, int* length, int* size, GitgCommit* value);
static void _vala_array_add3 (GitgCommit*** array, int* length, int* size, GitgCommit* value);
static gpointer ___lambda32__gthread_func (gpointer self);
static void gitg_commit_model_clear (GitgCommitModel* 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_dup5 (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_dup6 (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_dup7 (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/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	switch (self) {
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SHA1:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SUBJECT:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_MESSAGE:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_NAME:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_EMAIL:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_DATE:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_NAME:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_EMAIL:
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_DATE:
#line 340 "gitg-commit-model.c"
		{
#line 53 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			result = G_TYPE_STRING;
#line 53 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 346 "gitg-commit-model.c"
		}
#line 40 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMIT:
#line 350 "gitg-commit-model.c"
		{
#line 55 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			result = GITG_TYPE_COMMIT;
#line 55 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 356 "gitg-commit-model.c"
		}
		default:
		{
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 362 "gitg-commit-model.c"
		}
	}
#line 60 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = G_TYPE_INVALID;
#line 60 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 369 "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/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 388 "gitg-commit-model.c"
}


GitgCommitModel* gitg_commit_model_construct (GType object_type, GitgRepository* repository) {
	GitgCommitModel * self = NULL;
	GitgRepository* _tmp0_ = NULL;
#line 120 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = repository;
#line 120 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) g_object_new (object_type, "repository", _tmp0_, NULL);
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return self;
#line 401 "gitg-commit-model.c"
}


GitgCommitModel* gitg_commit_model_new (GitgRepository* repository) {
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return gitg_commit_model_construct (GITG_TYPE_COMMIT_MODEL, repository);
#line 408 "gitg-commit-model.c"
}


static void gitg_commit_model_real_dispose (GObject* base) {
	GitgCommitModel * self;
#line 132 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 134 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_cancel (self);
#line 418 "gitg-commit-model.c"
}


static gpointer _g_thread_ref0 (gpointer self) {
#line 143 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return self ? g_thread_ref (self) : NULL;
#line 425 "gitg-commit-model.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 432 "gitg-commit-model.c"
}


static void gitg_commit_model_cancel (GitgCommitModel* self) {
	GCancellable* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	guint _tmp5_ = 0U;
	GitgCommit** _tmp7_ = NULL;
	GitgCommit** _tmp8_ = NULL;
	GeeHashMap* _tmp9_ = NULL;
#line 137 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 139 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_cancellable;
#line 139 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = g_cancellable_is_cancelled (_tmp0_);
#line 139 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (!_tmp1_) {
#line 451 "gitg-commit-model.c"
		GCancellable* _tmp2_ = NULL;
		GThread* _tmp3_ = NULL;
		GThread* _tmp4_ = NULL;
#line 141 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_cancellable;
#line 141 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_cancellable_cancel (_tmp2_);
#line 143 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = self->priv->d_thread;
#line 143 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = _g_thread_ref0 (_tmp3_);
#line 143 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_thread_join (_tmp4_);
#line 144 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (self->priv->d_thread);
#line 144 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_thread = NULL;
#line 469 "gitg-commit-model.c"
	}
#line 147 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = self->priv->d_idleid;
#line 147 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp5_ != ((guint) 0)) {
#line 475 "gitg-commit-model.c"
		guint _tmp6_ = 0U;
#line 149 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp6_ = self->priv->d_idleid;
#line 149 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_source_remove (_tmp6_);
#line 150 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_idleid = (guint) 0;
#line 483 "gitg-commit-model.c"
	}
#line 153 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = g_new0 (GitgCommit*, 0 + 1);
#line 153 "/home/garrett/hacking/gnome/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 153 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_ids = _tmp7_;
#line 153 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_ids_length1 = 0;
#line 153 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_ids_size_ = self->priv->d_ids_length1;
#line 154 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = g_new0 (GitgCommit*, 0 + 1);
#line 154 "/home/garrett/hacking/gnome/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 154 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_hidden_ids = _tmp8_;
#line 154 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_hidden_ids_length1 = 0;
#line 154 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_hidden_ids_size_ = self->priv->d_hidden_ids_length1;
#line 155 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_advertized_size = (guint) 0;
#line 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp9_ = 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 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_id_hash);
#line 157 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_id_hash = _tmp9_;
#line 159 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_emit_started (self);
#line 160 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "finished");
#line 517 "gitg-commit-model.c"
}


static void __lambda36_ (GitgCommitModel* self, GObject* obj, GAsyncResult* res) {
	GAsyncResult* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GThread* _tmp2_ = NULL;
#line 172 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (res != NULL);
#line 173 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = res;
#line 173 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_walk_finish (self, _tmp0_);
#line 175 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = self->priv->d_cancellable;
#line 175 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_cancellable_cancel (_tmp1_);
#line 176 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_thread;
#line 176 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp2_ != NULL) {
#line 539 "gitg-commit-model.c"
		GThread* _tmp3_ = NULL;
		GThread* _tmp4_ = NULL;
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = self->priv->d_thread;
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = _g_thread_ref0 (_tmp3_);
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_thread_join (_tmp4_);
#line 179 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (self->priv->d_thread);
#line 179 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_thread = NULL;
#line 552 "gitg-commit-model.c"
	}
}


static void ___lambda36__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 172 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	__lambda36_ ((GitgCommitModel*) self, source_object, res);
#line 172 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_object_unref (self);
#line 562 "gitg-commit-model.c"
}


void gitg_commit_model_reload (GitgCommitModel* self) {
	GgitOId** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 163 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 165 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_cancel (self);
#line 167 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_include;
#line 167 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = self->priv->d_include_length1;
#line 167 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0__length1 == 0) {
#line 169 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return;
#line 581 "gitg-commit-model.c"
	}
#line 172 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_walk (self, ___lambda36__gasync_ready_callback, g_object_ref (self));
#line 585 "gitg-commit-model.c"
}


guint gitg_commit_model_size (GitgCommitModel* self) {
	guint result = 0U;
	guint _tmp0_ = 0U;
#line 184 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 186 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_advertized_size;
#line 186 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp0_;
#line 186 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 600 "gitg-commit-model.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return self ? g_object_ref (self) : NULL;
#line 607 "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 189 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 193 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = idx;
#line 193 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = self->priv->d_advertized_size;
#line 193 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ >= _tmp1_) {
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = NULL;
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (ret);
#line 195 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 631 "gitg-commit-model.c"
	}
	{
		GitgCommit** _tmp2_ = NULL;
		gint _tmp2__length1 = 0;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_ids;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp2__length1 = self->priv->d_ids_length1;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_ids);
#line 642 "gitg-commit-model.c"
		{
			GitgCommit** _tmp3_ = NULL;
			gint _tmp3__length1 = 0;
			guint _tmp4_ = 0U;
			GitgCommit* _tmp5_ = NULL;
			GitgCommit* _tmp6_ = NULL;
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = self->priv->d_ids;
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp3__length1 = self->priv->d_ids_length1;
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = idx;
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = _tmp3_[_tmp4_];
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp6_ = _g_object_ref0 (_tmp5_);
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (ret);
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			ret = _tmp6_;
#line 663 "gitg-commit-model.c"
		}
		__finally5:
		{
			GitgCommit** _tmp7_ = NULL;
			gint _tmp7__length1 = 0;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp7_ = self->priv->d_ids;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp7__length1 = self->priv->d_ids_length1;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_ids);
#line 675 "gitg-commit-model.c"
		}
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (ret);
#line 198 "/home/garrett/hacking/gnome/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 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 687 "gitg-commit-model.c"
		}
	}
#line 203 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = ret;
#line 203 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 694 "gitg-commit-model.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 701 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup1 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 712 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 718 "gitg-commit-model.c"
	}
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 722 "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 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = ids;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = ids_length1;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup1 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 208 "/home/garrett/hacking/gnome/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 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_include = _tmp1_;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_include_length1 = _tmp1__length1;
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_include_size_ = self->priv->d_include_length1;
#line 749 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup2 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 760 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 766 "gitg-commit-model.c"
	}
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 770 "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 211 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = ids;
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = ids_length1;
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup2 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 213 "/home/garrett/hacking/gnome/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 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_exclude = _tmp1_;
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_exclude_length1 = _tmp1__length1;
#line 213 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_d_exclude_size_ = self->priv->d_exclude_length1;
#line 797 "gitg-commit-model.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return _data2_;
#line 806 "gitg-commit-model.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 815 "gitg-commit-model.c"
		GitgCommitModel* self;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		self = _data2_->self;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (self);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_slice_free (Block2Data, _data2_);
#line 823 "gitg-commit-model.c"
	}
}


static gboolean __lambda33_ (Block2Data* _data2_) {
	GitgCommitModel* self;
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 229 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = _data2_->self;
#line 834 "gitg-commit-model.c"
	{
		guint _tmp0_ = 0U;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = self->priv->d_idleid;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_idleid);
#line 841 "gitg-commit-model.c"
		{
			guint _tmp1_ = 0U;
			guint added = 0U;
			guint _tmp3_ = 0U;
			guint _tmp4_ = 0U;
			gboolean _tmp5_ = FALSE;
#line 232 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = self->priv->d_idleid;
#line 232 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp1_ == ((guint) 0)) {
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				result = FALSE;
#line 854 "gitg-commit-model.c"
				{
					guint _tmp2_ = 0U;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp2_ = self->priv->d_idleid;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_rec_mutex_unlock (&self->priv->__lock_d_idleid);
#line 861 "gitg-commit-model.c"
				}
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				return result;
#line 865 "gitg-commit-model.c"
			}
#line 237 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_idleid = (guint) 0;
#line 239 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = self->priv->d_advertized_size;
#line 239 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			added = _data2_->newsize - _tmp3_;
#line 240 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_advertized_size = _data2_->newsize;
#line 242 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = added;
#line 242 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_emit_update (self, _tmp4_);
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = _data2_->isend;
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp5_) {
#line 246 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				g_signal_emit_by_name (self, "finished");
#line 885 "gitg-commit-model.c"
			}
		}
		__finally7:
		{
			guint _tmp6_ = 0U;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp6_ = self->priv->d_idleid;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_idleid);
#line 895 "gitg-commit-model.c"
		}
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 230 "/home/garrett/hacking/gnome/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 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return FALSE;
#line 905 "gitg-commit-model.c"
		}
	}
#line 250 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = FALSE;
#line 250 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 912 "gitg-commit-model.c"
}


static gboolean ___lambda33__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda33_ (self);
#line 229 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 921 "gitg-commit-model.c"
}


static void gitg_commit_model_notify_batch (GitgCommitModel* self, gboolean isend) {
	Block2Data* _data2_;
	gboolean _tmp0_ = FALSE;
	GitgCommit** _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	guint _tmp6_ = 0U;
	GError * _inner_error_ = NULL;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data2_ = g_slice_new0 (Block2Data);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data2_->_ref_count_ = 1;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data2_->self = g_object_ref (self);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = isend;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data2_->isend = _tmp0_;
#line 944 "gitg-commit-model.c"
	{
		guint _tmp1_ = 0U;
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = self->priv->d_idleid;
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_idleid);
#line 951 "gitg-commit-model.c"
		{
			guint _tmp2_ = 0U;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp2_ = self->priv->d_idleid;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp2_ != ((guint) 0)) {
#line 958 "gitg-commit-model.c"
				guint _tmp3_ = 0U;
#line 222 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp3_ = self->priv->d_idleid;
#line 222 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				g_source_remove (_tmp3_);
#line 223 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_idleid = (guint) 0;
#line 966 "gitg-commit-model.c"
			}
		}
		__finally6:
		{
			guint _tmp4_ = 0U;
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = self->priv->d_idleid;
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_idleid);
#line 976 "gitg-commit-model.c"
		}
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			block2_data_unref (_data2_);
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_data2_ = NULL;
#line 218 "/home/garrett/hacking/gnome/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 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 218 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return;
#line 990 "gitg-commit-model.c"
		}
	}
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = self->priv->d_ids;
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5__length1 = self->priv->d_ids_length1;
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data2_->newsize = (guint) _tmp5__length1;
#line 229 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda33__gsource_func, block2_data_ref (_data2_), block2_data_unref);
#line 229 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_idleid = _tmp6_;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	block2_data_unref (_data2_);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data2_ = NULL;
#line 1007 "gitg-commit-model.c"
}


static void gitg_commit_model_resize_ids (GitgCommitModel* self, GitgCommit*** ids, int* ids_length1, guint* size) {
	GitgCommit** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	guint _tmp1_ = 0U;
	GError * _inner_error_ = NULL;
#line 254 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 256 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = *ids;
#line 256 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = *ids_length1;
#line 256 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = *size;
#line 256 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (((guint) _tmp0__length1) == _tmp1_) {
#line 1026 "gitg-commit-model.c"
		{
			GitgCommit** _tmp2_ = NULL;
			gint _tmp2__length1 = 0;
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp2_ = self->priv->d_ids;
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp2__length1 = self->priv->d_ids_length1;
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_lock (&self->priv->__lock_d_ids);
#line 1036 "gitg-commit-model.c"
			{
				gint oldlen = 0;
				GitgCommit** _tmp3_ = NULL;
				gint _tmp3__length1 = 0;
				gint _tmp4_ = 0;
				guint _tmp7_ = 0U;
				gint _tmp8_ = 0;
				gint _tmp9_ = 0;
				gint _tmp10_ = 0;
#line 260 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp3_ = *ids;
#line 260 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp3__length1 = *ids_length1;
#line 260 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				oldlen = _tmp3__length1;
#line 262 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp4_ = oldlen;
#line 262 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				if (_tmp4_ < 20000) {
#line 1056 "gitg-commit-model.c"
					guint _tmp5_ = 0U;
#line 264 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp5_ = *size;
#line 264 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					*size = _tmp5_ * 2;
#line 1062 "gitg-commit-model.c"
				} else {
					guint _tmp6_ = 0U;
#line 268 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp6_ = *size;
#line 268 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					*size = (guint) (((gdouble) _tmp6_) * 1.2);
#line 1069 "gitg-commit-model.c"
				}
#line 271 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp7_ = *size;
#line 271 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp8_ = (gint) _tmp7_;
#line 271 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				*ids = g_renew (GitgCommit*, *ids, (gint) _tmp7_);
#line 271 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				(_tmp8_ > (*ids_length1)) ? memset ((*ids) + (*ids_length1), 0, sizeof (GitgCommit*) * (_tmp8_ - (*ids_length1))) : NULL;
#line 271 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				*ids_length1 = _tmp8_;
#line 272 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp9_ = oldlen;
#line 272 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				*ids_length1 = _tmp9_;
#line 272 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp10_ = *ids_length1;
#line 1087 "gitg-commit-model.c"
			}
			__finally8:
			{
				GitgCommit** _tmp11_ = NULL;
				gint _tmp11__length1 = 0;
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp11_ = self->priv->d_ids;
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp11__length1 = self->priv->d_ids_length1;
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				g_rec_mutex_unlock (&self->priv->__lock_d_ids);
#line 1099 "gitg-commit-model.c"
			}
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 258 "/home/garrett/hacking/gnome/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 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				g_clear_error (&_inner_error_);
#line 258 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				return;
#line 1109 "gitg-commit-model.c"
			}
		}
	}
}


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


static void gitg_commit_model_walk (GitgCommitModel* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgCommitModelWalkData* _data_;
	GitgCommitModel* _tmp0_ = NULL;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_ = g_slice_new0 (GitgCommitModelWalkData);
#line 64 "/home/garrett/hacking/gnome/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/garrett/hacking/gnome/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/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->self = _tmp0_;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_walk_co (_data_);
#line 1142 "gitg-commit-model.c"
}


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


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return _data3_;
#line 1159 "gitg-commit-model.c"
}


static void block3_data_unref (void * _userdata_) {
	Block3Data* _data3_;
	_data3_ = (Block3Data*) _userdata_;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 1168 "gitg-commit-model.c"
		GitgCommitModel* self;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		self = _data3_->self;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		(_data3_->cb_target_destroy_notify == NULL) ? NULL : (_data3_->cb_target_destroy_notify (_data3_->cb_target), NULL);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data3_->cb = NULL;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data3_->cb_target = NULL;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data3_->cb_target_destroy_notify = NULL;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data3_->excluded = (_vala_array_free (_data3_->excluded, _data3_->excluded_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data3_->included = (_vala_array_free (_data3_->included, _data3_->included_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (self);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_slice_free (Block3Data, _data3_);
#line 1188 "gitg-commit-model.c"
	}
}


static GgitOId** _vala_array_dup3 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 1200 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 1206 "gitg-commit-model.c"
	}
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1210 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup4 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 1221 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 1227 "gitg-commit-model.c"
	}
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1231 "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 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1240 "gitg-commit-model.c"
}


static void _vala_array_add1 (GgitOId*** array, int* length, int* size, GgitOId* value) {
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if ((*length) == (*size)) {
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*array = g_renew (GgitOId*, *array, (*size) + 1);
#line 1251 "gitg-commit-model.c"
	}
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	(*array)[(*length)++] = value;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	(*array)[*length] = NULL;
#line 1257 "gitg-commit-model.c"
}


static guint ____lambda34_ (GitgCommitModel* self, GgitOId* i) {
	guint result = 0U;
	GgitOId* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (i != NULL, 0U);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = i;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = ggit_oid_hash (_tmp0_);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp1_;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1275 "gitg-commit-model.c"
}


static guint _____lambda34__gee_hash_data_func (gconstpointer v, gpointer self) {
	guint result;
	result = ____lambda34_ ((GitgCommitModel*) self, (GgitOId*) v);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1284 "gitg-commit-model.c"
}


static gboolean ____lambda35_ (GitgCommitModel* self, GgitOId* a, GgitOId* b) {
	gboolean result = FALSE;
	GgitOId* _tmp0_ = NULL;
	GgitOId* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (a != NULL, FALSE);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (b != NULL, FALSE);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = a;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = b;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = ggit_oid_equal (_tmp0_, _tmp1_);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp2_;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1307 "gitg-commit-model.c"
}


static gboolean _____lambda35__gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self) {
	gboolean result;
	result = ____lambda35_ ((GitgCommitModel*) self, (GgitOId*) a, (GgitOId*) b);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 1316 "gitg-commit-model.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1323 "gitg-commit-model.c"
}


static void _g_slist_free__g_object_unref0_ (GSList* self) {
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_slist_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_slist_free (self);
#line 1332 "gitg-commit-model.c"
}


static void _vala_array_add2 (GitgCommit*** array, int* length, int* size, GitgCommit* value) {
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if ((*length) == (*size)) {
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*array = g_renew (GitgCommit*, *array, (*size) + 1);
#line 1343 "gitg-commit-model.c"
	}
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	(*array)[(*length)++] = value;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	(*array)[*length] = NULL;
#line 1349 "gitg-commit-model.c"
}


static void _vala_array_add3 (GitgCommit*** array, int* length, int* size, GitgCommit* value) {
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if ((*length) == (*size)) {
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*array = g_renew (GitgCommit*, *array, (*size) + 1);
#line 1360 "gitg-commit-model.c"
	}
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	(*array)[(*length)++] = value;
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	(*array)[*length] = NULL;
#line 1366 "gitg-commit-model.c"
}


static void* __lambda32_ (Block3Data* _data3_) {
	GitgCommitModel* self;
	void* result = NULL;
	GgitRevisionWalker* _tmp0_ = NULL;
	GgitRevisionWalker* _tmp5_ = NULL;
	GgitRevisionWalker* _tmp6_ = NULL;
	GgitSortMode _tmp7_ = 0;
	GeeHashSet* incset = NULL;
	GeeHashSet* _tmp8_ = NULL;
	GgitOId** permanent = NULL;
	GgitOId** _tmp19_ = NULL;
	gint permanent_length1 = 0;
	gint _permanent_size_ = 0;
	GgitOId** _tmp20_ = NULL;
	gint _tmp20__length1 = 0;
	GgitOId** _tmp21_ = NULL;
	gint _tmp21__length1 = 0;
	GitgLanes* _tmp28_ = NULL;
	GgitOId** _tmp29_ = NULL;
	gint _tmp29__length1 = 0;
	GeeHashSet* _tmp30_ = NULL;
	guint size = 0U;
	guint hidden_size = 0U;
	GTimer* timer = NULL;
	GTimer* _tmp39_ = NULL;
	GSourceFunc _tmp79_ = NULL;
	void* _tmp79__target = NULL;
	GDestroyNotify _tmp79__target_destroy_notify = NULL;
	GError * _inner_error_ = NULL;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = _data3_->self;
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_walker;
#line 287 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ == NULL) {
#line 1405 "gitg-commit-model.c"
		{
			GgitRevisionWalker* _tmp1_ = NULL;
			GitgRepository* _tmp2_ = NULL;
			GgitRevisionWalker* _tmp3_ = NULL;
			GgitRevisionWalker* _tmp4_ = NULL;
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp2_ = self->priv->d_repository;
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = ggit_revision_walker_new ((GgitRepository*) _tmp2_, &_inner_error_);
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = _tmp3_;
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1419 "gitg-commit-model.c"
				goto __catch9_g_error;
			}
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = _tmp1_;
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = NULL;
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (self->priv->d_walker);
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_walker = _tmp4_;
#line 289 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp1_);
#line 1432 "gitg-commit-model.c"
		}
		goto __finally9;
		__catch9_g_error:
		{
#line 289 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 289 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_inner_error_ = NULL;
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_notify_batch (self, TRUE);
#line 296 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			result = NULL;
#line 296 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 1447 "gitg-commit-model.c"
		}
		__finally9:
#line 289 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 289 "/home/garrett/hacking/gnome/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 289 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 289 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 1458 "gitg-commit-model.c"
		}
	}
#line 300 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = self->priv->d_walker;
#line 300 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	ggit_revision_walker_reset (_tmp5_);
#line 301 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = self->priv->d_walker;
#line 301 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = self->priv->d_sortmode;
#line 301 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	ggit_revision_walker_set_sort_mode (_tmp6_, _tmp7_);
#line 303 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = 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 303 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	incset = _tmp8_;
#line 1475 "gitg-commit-model.c"
	{
		GgitOId** oid_collection = NULL;
		gint oid_collection_length1 = 0;
		gint _oid_collection_size_ = 0;
		gint oid_it = 0;
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		oid_collection = _data3_->included;
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		oid_collection_length1 = _data3_->included_length1;
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		for (oid_it = 0; oid_it < _data3_->included_length1; oid_it = oid_it + 1) {
#line 1487 "gitg-commit-model.c"
			GgitOId* _tmp9_ = NULL;
			GgitOId* oid = NULL;
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp9_ = __vala_GgitOId_copy0 (oid_collection[oid_it]);
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			oid = _tmp9_;
#line 1494 "gitg-commit-model.c"
			{
				{
					GgitRevisionWalker* _tmp10_ = NULL;
					GgitOId* _tmp11_ = NULL;
					GeeHashSet* _tmp12_ = NULL;
					GgitOId* _tmp13_ = NULL;
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp10_ = self->priv->d_walker;
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp11_ = oid;
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					ggit_revision_walker_push (_tmp10_, _tmp11_, &_inner_error_);
#line 310 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1509 "gitg-commit-model.c"
						goto __catch10_g_error;
					}
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp12_ = incset;
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp13_ = oid;
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					gee_abstract_collection_add ((GeeAbstractCollection*) _tmp12_, _tmp13_);
#line 1518 "gitg-commit-model.c"
				}
				goto __finally10;
				__catch10_g_error:
				{
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_inner_error_ = NULL;
#line 1527 "gitg-commit-model.c"
				}
				__finally10:
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (oid);
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 308 "/home/garrett/hacking/gnome/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 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 308 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 1542 "gitg-commit-model.c"
				}
#line 306 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (oid);
#line 1546 "gitg-commit-model.c"
			}
		}
	}
	{
		GgitOId** oid_collection = NULL;
		gint oid_collection_length1 = 0;
		gint _oid_collection_size_ = 0;
		gint oid_it = 0;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		oid_collection = _data3_->excluded;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		oid_collection_length1 = _data3_->excluded_length1;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		for (oid_it = 0; oid_it < _data3_->excluded_length1; oid_it = oid_it + 1) {
#line 1561 "gitg-commit-model.c"
			GgitOId* _tmp14_ = NULL;
			GgitOId* oid = NULL;
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp14_ = __vala_GgitOId_copy0 (oid_collection[oid_it]);
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			oid = _tmp14_;
#line 1568 "gitg-commit-model.c"
			{
				{
					GgitRevisionWalker* _tmp15_ = NULL;
					GgitOId* _tmp16_ = NULL;
					GeeHashSet* _tmp17_ = NULL;
					GgitOId* _tmp18_ = NULL;
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp15_ = self->priv->d_walker;
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp16_ = oid;
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					ggit_revision_walker_hide (_tmp15_, _tmp16_, &_inner_error_);
#line 319 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1583 "gitg-commit-model.c"
						goto __catch11_g_error;
					}
#line 320 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp17_ = incset;
#line 320 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp18_ = oid;
#line 320 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					gee_abstract_collection_remove ((GeeAbstractCollection*) _tmp17_, _tmp18_);
#line 1592 "gitg-commit-model.c"
				}
				goto __finally11;
				__catch11_g_error:
				{
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_inner_error_ = NULL;
#line 1601 "gitg-commit-model.c"
				}
				__finally11:
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (oid);
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 317 "/home/garrett/hacking/gnome/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 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 1616 "gitg-commit-model.c"
				}
#line 315 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (oid);
#line 1620 "gitg-commit-model.c"
			}
		}
	}
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp19_ = g_new0 (GgitOId*, 0 + 1);
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	permanent = _tmp19_;
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	permanent_length1 = 0;
#line 324 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_permanent_size_ = permanent_length1;
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp20_ = gitg_commit_model_get_permanent_lanes (self, &_tmp20__length1);
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp21_ = _tmp20_;
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp21__length1 = _tmp20__length1;
#line 1638 "gitg-commit-model.c"
	{
		GgitOId** oid_collection = NULL;
		gint oid_collection_length1 = 0;
		gint _oid_collection_size_ = 0;
		gint oid_it = 0;
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		oid_collection = _tmp21_;
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		oid_collection_length1 = _tmp21__length1;
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		for (oid_it = 0; oid_it < _tmp21__length1; oid_it = oid_it + 1) {
#line 1650 "gitg-commit-model.c"
			GgitOId* _tmp22_ = NULL;
			GgitOId* oid = NULL;
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp22_ = __vala_GgitOId_copy0 (oid_collection[oid_it]);
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			oid = _tmp22_;
#line 1657 "gitg-commit-model.c"
			{
				{
					GgitRevisionWalker* _tmp23_ = NULL;
					GgitOId* _tmp24_ = NULL;
					GgitOId** _tmp25_ = NULL;
					gint _tmp25__length1 = 0;
					GgitOId* _tmp26_ = NULL;
					GgitOId* _tmp27_ = NULL;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp23_ = self->priv->d_walker;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp24_ = oid;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					ggit_revision_walker_push (_tmp23_, _tmp24_, &_inner_error_);
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1674 "gitg-commit-model.c"
						goto __catch12_g_error;
					}
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp25_ = permanent;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp25__length1 = permanent_length1;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp26_ = oid;
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp27_ = __vala_GgitOId_copy0 (_tmp26_);
#line 331 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_vala_array_add1 (&permanent, &permanent_length1, &_permanent_size_, _tmp27_);
#line 1687 "gitg-commit-model.c"
				}
				goto __finally12;
				__catch12_g_error:
				{
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_inner_error_ = NULL;
#line 1696 "gitg-commit-model.c"
				}
				__finally12:
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (oid);
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 328 "/home/garrett/hacking/gnome/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 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 1713 "gitg-commit-model.c"
				}
#line 326 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (oid);
#line 1717 "gitg-commit-model.c"
			}
		}
	}
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp28_ = self->priv->d_lanes;
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp29_ = permanent;
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp29__length1 = permanent_length1;
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp30_ = incset;
#line 335 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_lanes_reset (_tmp28_, _tmp29_, _tmp29__length1, _tmp30_);
#line 1731 "gitg-commit-model.c"
	{
		GitgCommit** _tmp31_ = NULL;
		gint _tmp31__length1 = 0;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp31_ = self->priv->d_ids;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp31__length1 = self->priv->d_ids_length1;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_ids);
#line 1741 "gitg-commit-model.c"
		{
			GitgCommit** _tmp32_ = NULL;
			GitgCommit** _tmp33_ = NULL;
			GitgCommit** _tmp34_ = NULL;
			gint _tmp34__length1 = 0;
			GitgCommit** _tmp35_ = NULL;
			gint _tmp35__length1 = 0;
			gint _tmp36_ = 0;
			gint _tmp37_ = 0;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp32_ = g_new0 (GitgCommit*, 1000 + 1);
#line 343 "/home/garrett/hacking/gnome/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 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids = _tmp32_;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids_length1 = 1000;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->_d_ids_size_ = self->priv->d_ids_length1;
#line 344 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp33_ = g_new0 (GitgCommit*, 100 + 1);
#line 344 "/home/garrett/hacking/gnome/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 344 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids = _tmp33_;
#line 344 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids_length1 = 100;
#line 344 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->_d_hidden_ids_size_ = self->priv->d_hidden_ids_length1;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp34_ = self->priv->d_ids;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp34__length1 = self->priv->d_ids_length1;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			size = (guint) _tmp34__length1;
#line 347 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp35_ = self->priv->d_hidden_ids;
#line 347 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp35__length1 = self->priv->d_hidden_ids_length1;
#line 347 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			hidden_size = (guint) _tmp35__length1;
#line 349 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_ids_length1 = 0;
#line 349 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp36_ = self->priv->d_ids_length1;
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_hidden_ids_length1 = 0;
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp37_ = self->priv->d_hidden_ids_length1;
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_advertized_size = (guint) 0;
#line 1793 "gitg-commit-model.c"
		}
		__finally13:
		{
			GitgCommit** _tmp38_ = NULL;
			gint _tmp38__length1 = 0;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp38_ = self->priv->d_ids;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp38__length1 = self->priv->d_ids_length1;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_ids);
#line 1805 "gitg-commit-model.c"
		}
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (incset);
#line 341 "/home/garrett/hacking/gnome/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 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 1819 "gitg-commit-model.c"
		}
	}
#line 355 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp39_ = g_timer_new ();
#line 355 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	timer = _tmp39_;
#line 1826 "gitg-commit-model.c"
	{
		GeeHashMap* _tmp40_ = NULL;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp40_ = self->priv->d_id_hash;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_id_hash);
#line 1833 "gitg-commit-model.c"
		{
			GeeHashMap* _tmp41_ = NULL;
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp41_ = gee_hash_map_new (ggit_oid_get_type (), (GBoxedCopyFunc) _vala_GgitOId_copy, _vala_GgitOId_free, G_TYPE_INT, NULL, NULL, _____lambda34__gee_hash_data_func, g_object_ref (self), g_object_unref, _____lambda35__gee_equal_data_func, g_object_ref (self), g_object_unref, NULL, NULL, NULL);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (self->priv->d_id_hash);
#line 359 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			self->priv->d_id_hash = _tmp41_;
#line 1842 "gitg-commit-model.c"
		}
		__finally14:
		{
			GeeHashMap* _tmp42_ = NULL;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp42_ = self->priv->d_id_hash;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 1851 "gitg-commit-model.c"
		}
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_timer_destroy0 (timer);
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (incset);
#line 357 "/home/garrett/hacking/gnome/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 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 1867 "gitg-commit-model.c"
		}
	}
#line 362 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	while (TRUE) {
#line 1872 "gitg-commit-model.c"
		GgitOId* id = NULL;
		GitgCommit* commit = NULL;
		GCancellable* _tmp43_ = NULL;
		gboolean _tmp44_ = FALSE;
		gint mylane = 0;
		GSList* lanes = NULL;
		GitgLanes* _tmp55_ = NULL;
		GitgCommit* _tmp56_ = NULL;
		GSList* _tmp57_ = NULL;
		gint _tmp58_ = 0;
		gboolean _tmp59_ = FALSE;
		GTimer* _tmp74_ = NULL;
		gdouble _tmp75_ = 0.0;
		gboolean _tmp77_ = FALSE;
#line 367 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp43_ = self->priv->d_cancellable;
#line 367 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp44_ = g_cancellable_is_cancelled (_tmp43_);
#line 367 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp44_) {
#line 369 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 369 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 369 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 1899 "gitg-commit-model.c"
		}
		{
			GgitOId* _tmp45_ = NULL;
			GgitRevisionWalker* _tmp46_ = NULL;
			GgitOId* _tmp47_ = NULL;
			GgitOId* _tmp48_ = NULL;
			GgitOId* _tmp49_ = NULL;
			GitgCommit* _tmp50_ = NULL;
			GitgRepository* _tmp51_ = NULL;
			GgitOId* _tmp52_ = NULL;
			gpointer _tmp53_ = NULL;
			GitgCommit* _tmp54_ = NULL;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp46_ = self->priv->d_walker;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp47_ = ggit_revision_walker_next (_tmp46_, &_inner_error_);
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp45_ = _tmp47_;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1920 "gitg-commit-model.c"
				goto __catch15_g_error;
			}
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp48_ = _tmp45_;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp45_ = NULL;
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 374 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			id = _tmp48_;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp49_ = id;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (_tmp49_ == NULL) {
#line 378 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (_tmp45_);
#line 378 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_g_object_unref0 (commit);
#line 378 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (id);
#line 378 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				break;
#line 1943 "gitg-commit-model.c"
			}
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp51_ = self->priv->d_repository;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp52_ = id;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp53_ = gitg_repository_lookup (_tmp51_, GITG_TYPE_COMMIT, (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp52_, &_inner_error_);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp50_ = (GitgCommit*) _tmp53_;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (_tmp45_);
#line 1957 "gitg-commit-model.c"
				goto __catch15_g_error;
			}
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp54_ = _tmp50_;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp50_ = NULL;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			commit = _tmp54_;
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp50_);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (_tmp45_);
#line 1972 "gitg-commit-model.c"
		}
		goto __finally15;
		__catch15_g_error:
		{
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_inner_error_ = NULL;
#line 382 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 382 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 382 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 1987 "gitg-commit-model.c"
		}
		__finally15:
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_timer_destroy0 (timer);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (incset);
#line 372 "/home/garrett/hacking/gnome/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 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_clear_error (&_inner_error_);
#line 372 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return NULL;
#line 2008 "gitg-commit-model.c"
		}
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp55_ = self->priv->d_lanes;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp56_ = commit;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp59_ = gitg_lanes_next (_tmp55_, _tmp56_, &_tmp57_, &_tmp58_);
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		__g_slist_free__g_object_unref0_0 (lanes);
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		lanes = _tmp57_;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		mylane = _tmp58_;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp59_) {
#line 2024 "gitg-commit-model.c"
			GitgCommit* _tmp60_ = NULL;
			GSList* _tmp61_ = NULL;
			gint _tmp62_ = 0;
			GitgCommit** _tmp68_ = NULL;
			gint _tmp68__length1 = 0;
			GitgCommit* _tmp69_ = NULL;
			GitgCommit* _tmp70_ = NULL;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp60_ = commit;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp61_ = lanes;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			lanes = NULL;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp62_ = mylane;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_update_lanes (_tmp60_, _tmp61_, _tmp62_);
#line 2042 "gitg-commit-model.c"
			{
				GeeHashMap* _tmp63_ = NULL;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp63_ = self->priv->d_id_hash;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				g_rec_mutex_lock (&self->priv->__lock_d_id_hash);
#line 2049 "gitg-commit-model.c"
				{
					GeeHashMap* _tmp64_ = NULL;
					GgitOId* _tmp65_ = NULL;
					GitgCommit** _tmp66_ = NULL;
					gint _tmp66__length1 = 0;
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp64_ = self->priv->d_id_hash;
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp65_ = id;
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp66_ = self->priv->d_ids;
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp66__length1 = self->priv->d_ids_length1;
#line 393 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					gee_abstract_map_set ((GeeAbstractMap*) _tmp64_, _tmp65_, (gpointer) ((gintptr) _tmp66__length1));
#line 2065 "gitg-commit-model.c"
				}
				__finally16:
				{
					GeeHashMap* _tmp67_ = NULL;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp67_ = self->priv->d_id_hash;
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 2074 "gitg-commit-model.c"
				}
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					__g_slist_free__g_object_unref0_0 (lanes);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (commit);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					__vala_GgitOId_free0 (id);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_g_timer_destroy0 (timer);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_g_object_unref0 (incset);
#line 391 "/home/garrett/hacking/gnome/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 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_clear_error (&_inner_error_);
#line 391 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					return NULL;
#line 2096 "gitg-commit-model.c"
				}
			}
#line 396 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_resize_ids (self, &self->priv->d_ids, &self->priv->d_ids_length1, &size);
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp68_ = self->priv->d_ids;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp68__length1 = self->priv->d_ids_length1;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp69_ = commit;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp70_ = _g_object_ref0 (_tmp69_);
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_vala_array_add2 (&self->priv->d_ids, &self->priv->d_ids_length1, &self->priv->_d_ids_size_, _tmp70_);
#line 2111 "gitg-commit-model.c"
		} else {
			GitgCommit** _tmp71_ = NULL;
			gint _tmp71__length1 = 0;
			GitgCommit* _tmp72_ = NULL;
			GitgCommit* _tmp73_ = NULL;
#line 401 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_resize_ids (self, &self->priv->d_hidden_ids, &self->priv->d_hidden_ids_length1, &hidden_size);
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp71_ = self->priv->d_hidden_ids;
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp71__length1 = self->priv->d_hidden_ids_length1;
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp72_ = commit;
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp73_ = _g_object_ref0 (_tmp72_);
#line 402 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_vala_array_add3 (&self->priv->d_hidden_ids, &self->priv->d_hidden_ids_length1, &self->priv->_d_hidden_ids_size_, _tmp73_);
#line 2129 "gitg-commit-model.c"
		}
#line 405 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp74_ = timer;
#line 405 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp75_ = g_timer_elapsed (_tmp74_, NULL);
#line 405 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp75_ >= ((gdouble) 200)) {
#line 2137 "gitg-commit-model.c"
			GTimer* _tmp76_ = NULL;
#line 407 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			gitg_commit_model_notify_batch (self, FALSE);
#line 408 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp76_ = timer;
#line 408 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_timer_start (_tmp76_);
#line 2145 "gitg-commit-model.c"
		}
#line 411 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (_data3_->limit > ((guint) 0)) {
#line 2149 "gitg-commit-model.c"
			GitgCommit** _tmp78_ = NULL;
			gint _tmp78__length1 = 0;
#line 411 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp78_ = self->priv->d_ids;
#line 411 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp78__length1 = self->priv->d_ids_length1;
#line 411 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp77_ = ((guint) _tmp78__length1) == _data3_->limit;
#line 2158 "gitg-commit-model.c"
		} else {
#line 411 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp77_ = FALSE;
#line 2162 "gitg-commit-model.c"
		}
#line 411 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (_tmp77_) {
#line 413 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__g_slist_free__g_object_unref0_0 (lanes);
#line 413 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (commit);
#line 413 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 413 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2174 "gitg-commit-model.c"
		}
#line 362 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		__g_slist_free__g_object_unref0_0 (lanes);
#line 362 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (commit);
#line 362 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		__vala_GgitOId_free0 (id);
#line 2182 "gitg-commit-model.c"
	}
#line 417 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_notify_batch (self, TRUE);
#line 419 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp79_ = _data3_->cb;
#line 419 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp79__target = _data3_->cb_target;
#line 419 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp79__target_destroy_notify = _data3_->cb_target_destroy_notify;
#line 419 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data3_->cb_target_destroy_notify = NULL;
#line 419 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _tmp79_, _tmp79__target, _tmp79__target_destroy_notify);
#line 420 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = NULL;
#line 420 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_timer_destroy0 (timer);
#line 420 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	permanent = (_vala_array_free (permanent, permanent_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 420 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (incset);
#line 420 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2206 "gitg-commit-model.c"
}


static gpointer ___lambda32__gthread_func (gpointer self) {
	gpointer result;
	result = __lambda32_ (self);
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	block3_data_unref (self);
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2217 "gitg-commit-model.c"
}


static gboolean gitg_commit_model_walk_co (GitgCommitModelWalkData* _data_) {
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	switch (_data_->_state_) {
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case 0:
#line 2226 "gitg-commit-model.c"
		goto _state_0;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case 1:
#line 2230 "gitg-commit-model.c"
		goto _state_1;
		default:
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_assert_not_reached ();
#line 2235 "gitg-commit-model.c"
	}
	_state_0:
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_ = g_slice_new0 (Block3Data);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->_ref_count_ = 1;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->self = g_object_ref (_data_->self);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->_async_data_ = _data_;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp0_ = NULL;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp0__length1 = 0;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp0_ = _data_->self->priv->d_include;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp0__length1 = _data_->self->priv->d_include_length1;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1_ = NULL;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1__length1 = 0;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1_ = (_data_->_tmp0_ != NULL) ? _vala_array_dup3 (_data_->_tmp0_, _data_->_tmp0__length1) : ((gpointer) _data_->_tmp0_);
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp1__length1 = _data_->_tmp0__length1;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->included = _data_->_tmp1_;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->included_length1 = _data_->_tmp1__length1;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->_included_size_ = _data_->_data3_->included_length1;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2_ = NULL;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2__length1 = 0;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2_ = _data_->self->priv->d_exclude;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp2__length1 = _data_->self->priv->d_exclude_length1;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3_ = NULL;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3__length1 = 0;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3_ = (_data_->_tmp2_ != NULL) ? _vala_array_dup4 (_data_->_tmp2_, _data_->_tmp2__length1) : ((gpointer) _data_->_tmp2_);
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp3__length1 = _data_->_tmp2__length1;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->excluded = _data_->_tmp3_;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->excluded_length1 = _data_->_tmp3__length1;
#line 280 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->_excluded_size_ = _data_->_data3_->excluded_length1;
#line 282 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp4_ = 0U;
#line 282 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_tmp4_ = _data_->self->priv->_limit;
#line 282 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->limit = _data_->_tmp4_;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->cb = _gitg_commit_model_walk_co_gsource_func;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->cb_target = _data_;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_->cb_target_destroy_notify = NULL;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target = NULL;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target_destroy_notify = NULL;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->run = ___lambda32__gthread_func;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target = block3_data_ref (_data_->_data3_);
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->run_target_destroy_notify = block3_data_unref;
#line 2312 "gitg-commit-model.c"
	{
#line 425 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp5_ = NULL;
#line 425 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp5_ = _data_->self->priv->d_cancellable;
#line 425 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_cancellable_reset (_data_->_tmp5_);
#line 426 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_emit_started (_data_->self);
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp7_ = NULL;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp7__target = NULL;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp7__target_destroy_notify = NULL;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp7_ = _data_->run;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp7__target = _data_->run_target;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp7__target_destroy_notify = _data_->run_target_destroy_notify;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->run_target_destroy_notify = NULL;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp8_ = NULL;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp8_ = g_thread_try_new ("gitg-history-walk", _data_->_tmp7_, _data_->_tmp7__target, &_data_->_inner_error_);
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp6_ = _data_->_tmp8_;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2344 "gitg-commit-model.c"
			goto __catch17_g_error;
		}
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp9_ = NULL;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp9_ = _data_->_tmp6_;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp6_ = NULL;
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (_data_->self->priv->d_thread);
#line 427 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->self->priv->d_thread = _data_->_tmp9_;
#line 428 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_state_ = 1;
#line 428 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return FALSE;
#line 2361 "gitg-commit-model.c"
		_state_1:
		;
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (_data_->_tmp6_);
#line 2366 "gitg-commit-model.c"
	}
	goto __finally17;
	__catch17_g_error:
	{
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_clear_error (&_data_->_inner_error_);
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_inner_error_ = NULL;
#line 432 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_signal_emit_by_name (_data_->self, "finished");
#line 434 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp10_ = NULL;
#line 434 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_tmp10_ = _data_->self->priv->d_cancellable;
#line 434 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_cancellable_cancel (_data_->_tmp10_);
#line 435 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_thread_unref0 (_data_->self->priv->d_thread);
#line 435 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->self->priv->d_thread = NULL;
#line 2387 "gitg-commit-model.c"
	}
	__finally17:
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		block3_data_unref (_data_->_data3_);
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_data_->_data3_ = NULL;
#line 423 "/home/garrett/hacking/gnome/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 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_clear_error (&_data_->_inner_error_);
#line 423 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return FALSE;
#line 2402 "gitg-commit-model.c"
	}
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	block3_data_unref (_data_->_data3_);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_data_->_data3_ = NULL;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_data_->_state_ == 0) {
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2412 "gitg-commit-model.c"
	} else {
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2416 "gitg-commit-model.c"
	}
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_object_unref (_data_->_async_result);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return FALSE;
#line 2422 "gitg-commit-model.c"
}


static void gitg_commit_model_emit_started (GitgCommitModel* self) {
#line 439 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 441 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_clear (self);
#line 442 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "started");
#line 2433 "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 445 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_size;
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = gtk_tree_path_new_from_indices (_tmp0_, -1);
#line 448 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	path = _tmp1_;
#line 450 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	while (TRUE) {
#line 2452 "gitg-commit-model.c"
		guint _tmp2_ = 0U;
		GtkTreePath* _tmp3_ = NULL;
		guint _tmp4_ = 0U;
		GtkTreePath* _tmp5_ = NULL;
		GtkTreePath* _tmp6_ = NULL;
		GtkTreePath* _tmp7_ = NULL;
#line 450 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_size;
#line 450 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (!(_tmp2_ > ((guint) 0))) {
#line 450 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2465 "gitg-commit-model.c"
		}
#line 452 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = path;
#line 452 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		gtk_tree_path_prev (_tmp3_);
#line 453 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = self->priv->d_size;
#line 453 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		self->priv->d_size = _tmp4_ - 1;
#line 455 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp5_ = path;
#line 455 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp6_ = gtk_tree_path_copy (_tmp5_);
#line 455 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp7_ = _tmp6_;
#line 455 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		gtk_tree_model_row_deleted ((GtkTreeModel*) self, _tmp7_);
#line 455 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_gtk_tree_path_free0 (_tmp7_);
#line 2485 "gitg-commit-model.c"
	}
#line 458 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = self->priv->d_stamp;
#line 458 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_stamp = _tmp8_ + 1;
#line 445 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_gtk_tree_path_free0 (path);
#line 2493 "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 461 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 463 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_size;
#line 463 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = gtk_tree_path_new_from_indices (_tmp0_, -1);
#line 463 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	path = _tmp1_;
#line 465 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	memset (&iter, 0, sizeof (GtkTreeIter));
#line 466 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_stamp;
#line 466 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	iter.stamp = _tmp2_;
#line 2518 "gitg-commit-model.c"
	{
		guint i = 0U;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		i = (guint) 0;
#line 2523 "gitg-commit-model.c"
		{
			gboolean _tmp3_ = FALSE;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = TRUE;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			while (TRUE) {
#line 2530 "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 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				if (!_tmp3_) {
#line 2542 "gitg-commit-model.c"
					guint _tmp4_ = 0U;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp4_ = i;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					i = _tmp4_ + 1;
#line 2548 "gitg-commit-model.c"
				}
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp3_ = FALSE;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp5_ = i;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp6_ = added;
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				if (!(_tmp5_ < _tmp6_)) {
#line 468 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					break;
#line 2560 "gitg-commit-model.c"
				}
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp7_ = self->priv->d_size;
#line 470 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				iter.user_data = (void*) ((gulong) _tmp7_);
#line 472 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp8_ = self->priv->d_size;
#line 472 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				self->priv->d_size = _tmp8_ + 1;
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp9_ = path;
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp10_ = gtk_tree_path_copy (_tmp9_);
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp11_ = _tmp10_;
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp12_ = iter;
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				gtk_tree_model_row_inserted ((GtkTreeModel*) self, _tmp11_, &_tmp12_);
#line 474 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_gtk_tree_path_free0 (_tmp11_);
#line 475 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp13_ = path;
#line 475 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				gtk_tree_path_next (_tmp13_);
#line 2586 "gitg-commit-model.c"
			}
		}
	}
#line 478 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp14_ = added;
#line 478 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_signal_emit_by_name (self, "update", _tmp14_);
#line 461 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_gtk_tree_path_free0 (path);
#line 2596 "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 481 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 483 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = index;
#line 483 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = gitg_commit_model_columns_type ((GitgCommitModelColumns) _tmp0_);
#line 483 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp1_;
#line 483 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2615 "gitg-commit-model.c"
}


static GtkTreeModelFlags gitg_commit_model_real_get_flags (GtkTreeModel* base) {
	GitgCommitModel * self;
	GtkTreeModelFlags result = 0;
#line 486 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 488 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = GTK_TREE_MODEL_LIST_ONLY | GTK_TREE_MODEL_ITERS_PERSIST;
#line 488 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2628 "gitg-commit-model.c"
}


static gint* _vala_array_dup5 (gint* self, int length) {
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return g_memdup (self, length * sizeof (gint));
#line 2635 "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 492 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 492 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (path != NULL, FALSE);
#line 494 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter = _tmp0_;
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = path;
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = gtk_tree_path_get_indices_with_depth (_tmp1_, &_tmp2_);
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = (_tmp3_ != NULL) ? _vala_array_dup5 (_tmp3_, _tmp2_) : ((gpointer) _tmp3_);
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4__length1 = _tmp2_;
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	indices = _tmp4_;
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	indices_length1 = _tmp4__length1;
#line 496 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_indices_size_ = indices_length1;
#line 498 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = indices;
#line 498 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5__length1 = indices_length1;
#line 498 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp5__length1 != 1) {
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		indices = (g_free (indices), NULL);
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 2696 "gitg-commit-model.c"
		}
#line 500 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 2700 "gitg-commit-model.c"
	}
#line 503 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = indices;
#line 503 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6__length1 = indices_length1;
#line 503 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = _tmp6_[0];
#line 503 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	index = (guint) _tmp7_;
#line 505 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = index;
#line 505 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp9_ = self->priv->d_size;
#line 505 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp8_ >= _tmp9_) {
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		indices = (g_free (indices), NULL);
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 2724 "gitg-commit-model.c"
		}
#line 507 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 2728 "gitg-commit-model.c"
	}
#line 510 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp10_ = index;
#line 510 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.user_data = (void*) ((gulong) _tmp10_);
#line 511 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp11_ = self->priv->d_stamp;
#line 511 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.stamp = _tmp11_;
#line 513 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = TRUE;
#line 513 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	indices = (g_free (indices), NULL);
#line 513 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (iter) {
#line 513 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*iter = _vala_iter;
#line 2746 "gitg-commit-model.c"
	}
#line 513 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2750 "gitg-commit-model.c"
}


static gint gitg_commit_model_real_get_n_columns (GtkTreeModel* base) {
	GitgCommitModel * self;
	gint result = 0;
#line 516 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 518 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = (gint) GITG_COMMIT_MODEL_COLUMNS_NUM;
#line 518 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2763 "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 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 521 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 523 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = *iter;
#line 523 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_.user_data;
#line 523 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	id = (guint) ((gulong) _tmp1_);
#line 525 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = *iter;
#line 525 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = _tmp2_.stamp;
#line 525 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = self->priv->d_stamp;
#line 525 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp3_ == _tmp4_, NULL);
#line 527 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = gtk_tree_path_new_from_indices ((gint) id, -1);
#line 527 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp5_;
#line 527 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 2801 "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 530 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 530 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (iter != NULL);
#line 532 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	G_IS_VALUE (&_vala_val) ? (g_value_unset (&_vala_val), NULL) : NULL;
#line 532 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_val = _tmp0_;
#line 534 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = *iter;
#line 534 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = _tmp1_.stamp;
#line 534 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = self->priv->d_stamp;
#line 534 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (_tmp2_ == _tmp3_);
#line 536 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = *iter;
#line 536 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = _tmp4_.user_data;
#line 536 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	idx = (guint) ((gulong) _tmp5_);
#line 537 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = idx;
#line 537 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = gitg_commit_model_get (self, _tmp6_);
#line 537 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	commit = _tmp7_;
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp8_ = column;
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp9_ = gtk_tree_model_get_column_type ((GtkTreeModel*) self, _tmp8_);
#line 539 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_value_init (&_vala_val, _tmp9_);
#line 541 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp10_ = commit;
#line 541 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp10_ == NULL) {
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_g_object_unref0 (commit);
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (val) {
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			*val = _vala_val;
#line 2866 "gitg-commit-model.c"
		} else {
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			G_IS_VALUE (&_vala_val) ? (g_value_unset (&_vala_val), NULL) : NULL;
#line 2870 "gitg-commit-model.c"
		}
#line 543 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return;
#line 2874 "gitg-commit-model.c"
	}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp11_ = column;
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	switch (_tmp11_) {
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SHA1:
#line 2882 "gitg-commit-model.c"
		{
			GitgCommit* _tmp12_ = NULL;
			GgitOId* _tmp13_ = NULL;
			GgitOId* _tmp14_ = NULL;
			gchar* _tmp15_ = NULL;
			gchar* _tmp16_ = NULL;
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp12_ = commit;
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp13_ = ggit_object_get_id ((GgitObject*) _tmp12_);
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp14_ = _tmp13_;
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp15_ = ggit_oid_to_string (_tmp14_);
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp16_ = _tmp15_;
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp16_);
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp16_);
#line 549 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (_tmp14_);
#line 550 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2907 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_SUBJECT:
#line 2911 "gitg-commit-model.c"
		{
			GitgCommit* _tmp17_ = NULL;
			const gchar* _tmp18_ = NULL;
#line 552 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp17_ = commit;
#line 552 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp18_ = ggit_commit_get_subject ((GgitCommit*) _tmp17_);
#line 552 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp18_);
#line 553 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2923 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_MESSAGE:
#line 2927 "gitg-commit-model.c"
		{
			GitgCommit* _tmp19_ = NULL;
			const gchar* _tmp20_ = NULL;
#line 555 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp19_ = commit;
#line 555 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp20_ = ggit_commit_get_message ((GgitCommit*) _tmp19_);
#line 555 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp20_);
#line 556 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2939 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER:
#line 2943 "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 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp21_ = commit;
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp22_ = ggit_commit_get_committer ((GgitCommit*) _tmp21_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp23_ = _tmp22_;
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp24_ = ggit_signature_get_name (_tmp23_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp25_ = commit;
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp26_ = ggit_commit_get_committer ((GgitCommit*) _tmp25_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp27_ = _tmp26_;
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp28_ = ggit_signature_get_email (_tmp27_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp29_ = g_strdup_printf ("%s <%s>", _tmp24_, _tmp28_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp30_ = _tmp29_;
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp30_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp30_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp27_);
#line 558 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp23_);
#line 560 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 2985 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_NAME:
#line 2989 "gitg-commit-model.c"
		{
			GitgCommit* _tmp31_ = NULL;
			GgitSignature* _tmp32_ = NULL;
			GgitSignature* _tmp33_ = NULL;
			const gchar* _tmp34_ = NULL;
#line 562 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp31_ = commit;
#line 562 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp32_ = ggit_commit_get_committer ((GgitCommit*) _tmp31_);
#line 562 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp33_ = _tmp32_;
#line 562 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp34_ = ggit_signature_get_name (_tmp33_);
#line 562 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp34_);
#line 562 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp33_);
#line 563 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3009 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_EMAIL:
#line 3013 "gitg-commit-model.c"
		{
			GitgCommit* _tmp35_ = NULL;
			GgitSignature* _tmp36_ = NULL;
			GgitSignature* _tmp37_ = NULL;
			const gchar* _tmp38_ = NULL;
#line 565 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp35_ = commit;
#line 565 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp36_ = ggit_commit_get_committer ((GgitCommit*) _tmp35_);
#line 565 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp37_ = _tmp36_;
#line 565 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp38_ = ggit_signature_get_email (_tmp37_);
#line 565 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp38_);
#line 565 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp37_);
#line 566 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3033 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMITTER_DATE:
#line 3037 "gitg-commit-model.c"
		{
			GitgCommit* _tmp39_ = NULL;
			gchar* _tmp40_ = NULL;
			gchar* _tmp41_ = NULL;
			gchar* _tmp42_ = NULL;
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp39_ = commit;
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp40_ = gitg_commit_get_committer_date_for_display (_tmp39_);
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp41_ = _tmp40_;
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp42_ = _tmp41_;
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp42_);
#line 568 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp42_);
#line 569 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3057 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR:
#line 3061 "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 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp43_ = commit;
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp44_ = ggit_commit_get_author ((GgitCommit*) _tmp43_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp45_ = _tmp44_;
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp46_ = ggit_signature_get_name (_tmp45_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp47_ = commit;
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp48_ = ggit_commit_get_author ((GgitCommit*) _tmp47_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp49_ = _tmp48_;
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp50_ = ggit_signature_get_email (_tmp49_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp51_ = g_strdup_printf ("%s <%s>", _tmp46_, _tmp50_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp52_ = _tmp51_;
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp52_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp52_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp49_);
#line 571 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp45_);
#line 573 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3103 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_NAME:
#line 3107 "gitg-commit-model.c"
		{
			GitgCommit* _tmp53_ = NULL;
			GgitSignature* _tmp54_ = NULL;
			GgitSignature* _tmp55_ = NULL;
			const gchar* _tmp56_ = NULL;
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp53_ = commit;
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp54_ = ggit_commit_get_author ((GgitCommit*) _tmp53_);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp55_ = _tmp54_;
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp56_ = ggit_signature_get_name (_tmp55_);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp56_);
#line 575 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp55_);
#line 576 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3127 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_EMAIL:
#line 3131 "gitg-commit-model.c"
		{
			GitgCommit* _tmp57_ = NULL;
			GgitSignature* _tmp58_ = NULL;
			GgitSignature* _tmp59_ = NULL;
			const gchar* _tmp60_ = NULL;
#line 578 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp57_ = commit;
#line 578 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp58_ = ggit_commit_get_author ((GgitCommit*) _tmp57_);
#line 578 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp59_ = _tmp58_;
#line 578 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp60_ = ggit_signature_get_email (_tmp59_);
#line 578 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp60_);
#line 578 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_object_unref0 (_tmp59_);
#line 579 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3151 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_AUTHOR_DATE:
#line 3155 "gitg-commit-model.c"
		{
			GitgCommit* _tmp61_ = NULL;
			gchar* _tmp62_ = NULL;
			gchar* _tmp63_ = NULL;
			gchar* _tmp64_ = NULL;
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp61_ = commit;
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp62_ = gitg_commit_get_author_date_for_display (_tmp61_);
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp63_ = _tmp62_;
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp64_ = _tmp63_;
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_string (&_vala_val, _tmp64_);
#line 581 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_g_free0 (_tmp64_);
#line 582 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3175 "gitg-commit-model.c"
		}
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_COLUMNS_COMMIT:
#line 3179 "gitg-commit-model.c"
		{
			GitgCommit* _tmp65_ = NULL;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp65_ = commit;
#line 584 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_value_set_object (&_vala_val, (GObject*) _tmp65_);
#line 585 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			break;
#line 3188 "gitg-commit-model.c"
		}
		default:
#line 546 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 3193 "gitg-commit-model.c"
	}
#line 530 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (commit);
#line 530 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (val) {
#line 530 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*val = _vala_val;
#line 3201 "gitg-commit-model.c"
	} else {
#line 530 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		G_IS_VALUE (&_vala_val) ? (g_value_unset (&_vala_val), NULL) : NULL;
#line 3205 "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 589 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 589 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 591 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = *iter;
#line 591 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_.stamp;
#line 591 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_stamp;
#line 591 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp1_ == _tmp2_, NULL);
#line 593 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = *iter;
#line 593 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = _tmp3_.user_data;
#line 593 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	idx = (guint) ((gulong) _tmp4_);
#line 595 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = gitg_commit_model_get (self, idx);
#line 595 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp5_;
#line 595 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3243 "gitg-commit-model.c"
}


GtkTreePath* gitg_commit_model_path_from_commit (GitgCommitModel* self, GitgCommit* commit) {
	GtkTreePath* result = NULL;
	GError * _inner_error_ = NULL;
#line 598 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 598 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (commit != NULL, NULL);
#line 3254 "gitg-commit-model.c"
	{
		GeeHashMap* _tmp0_ = NULL;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = self->priv->d_id_hash;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_id_hash);
#line 3261 "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 602 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp1_ = commit;
#line 602 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp2_ = ggit_object_get_id ((GgitObject*) _tmp1_);
#line 602 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			id = _tmp2_;
#line 604 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp3_ = self->priv->d_id_hash;
#line 604 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp4_ = id;
#line 604 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp5_ = gee_abstract_map_has_key ((GeeAbstractMap*) _tmp3_, _tmp4_);
#line 604 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			if (!_tmp5_) {
#line 606 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				result = NULL;
#line 606 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				__vala_GgitOId_free0 (id);
#line 3294 "gitg-commit-model.c"
				{
					GeeHashMap* _tmp6_ = NULL;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					_tmp6_ = self->priv->d_id_hash;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
					g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 3301 "gitg-commit-model.c"
				}
#line 606 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				return result;
#line 3305 "gitg-commit-model.c"
			}
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp7_ = self->priv->d_id_hash;
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp8_ = commit;
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp9_ = ggit_object_get_id ((GgitObject*) _tmp8_);
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp10_ = _tmp9_;
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp11_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp7_, _tmp10_);
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp12_ = gtk_tree_path_new_from_indices ((gint) ((gintptr) _tmp11_), -1);
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp13_ = _tmp12_;
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (_tmp10_);
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			result = _tmp13_;
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			__vala_GgitOId_free0 (id);
#line 3327 "gitg-commit-model.c"
			{
				GeeHashMap* _tmp14_ = NULL;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				_tmp14_ = self->priv->d_id_hash;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
				g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 3334 "gitg-commit-model.c"
			}
#line 609 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			return result;
#line 3338 "gitg-commit-model.c"
		}
		__finally18:
		{
			GeeHashMap* _tmp15_ = NULL;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			_tmp15_ = self->priv->d_id_hash;
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_id_hash);
#line 3347 "gitg-commit-model.c"
		}
#line 600 "/home/garrett/hacking/gnome/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 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_clear_error (&_inner_error_);
#line 600 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return NULL;
#line 3355 "gitg-commit-model.c"
	}
}


static gint* _vala_array_dup6 (gint* self, int length) {
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return g_memdup (self, length * sizeof (gint));
#line 3363 "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 613 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 613 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (path != NULL, NULL);
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = path;
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = gtk_tree_path_get_indices_with_depth (_tmp0_, &_tmp1_);
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = (_tmp2_ != NULL) ? _vala_array_dup6 (_tmp2_, _tmp1_) : ((gpointer) _tmp2_);
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3__length1 = _tmp1_;
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	indices = _tmp3_;
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	indices_length1 = _tmp3__length1;
#line 615 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_indices_size_ = indices_length1;
#line 617 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = indices;
#line 617 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4__length1 = indices_length1;
#line 617 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp4__length1 != 1) {
#line 619 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = NULL;
#line 619 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		indices = (g_free (indices), NULL);
#line 619 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3413 "gitg-commit-model.c"
	}
#line 622 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = indices;
#line 622 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5__length1 = indices_length1;
#line 622 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = _tmp5_[0];
#line 622 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = gitg_commit_model_get (self, (guint) _tmp6_);
#line 622 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp7_;
#line 622 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	indices = (g_free (indices), NULL);
#line 622 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3429 "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 625 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 627 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter = _tmp0_;
#line 629 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = parent;
#line 629 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp1_ == NULL) {
#line 3447 "gitg-commit-model.c"
		gint _tmp2_ = 0;
#line 631 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_vala_iter.user_data = (void*) ((gulong) 0);
#line 632 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = self->priv->d_stamp;
#line 632 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_vala_iter.stamp = _tmp2_;
#line 634 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = TRUE;
#line 634 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 634 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 3461 "gitg-commit-model.c"
		}
#line 634 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3465 "gitg-commit-model.c"
	} else {
		GtkTreeIter* _tmp3_ = NULL;
		gint _tmp4_ = 0;
		gint _tmp5_ = 0;
#line 638 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = parent;
#line 638 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = (*_tmp3_).stamp;
#line 638 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp5_ = self->priv->d_stamp;
#line 638 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_return_val_if_fail (_tmp4_ == _tmp5_, FALSE);
#line 639 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 639 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 639 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 3484 "gitg-commit-model.c"
		}
#line 639 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3488 "gitg-commit-model.c"
	}
#line 625 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (iter) {
#line 625 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*iter = _vala_iter;
#line 3494 "gitg-commit-model.c"
	}
}


static gboolean gitg_commit_model_real_iter_has_child (GtkTreeModel* base, GtkTreeIter* iter) {
	GitgCommitModel * self;
	gboolean result = FALSE;
#line 643 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 643 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 645 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = FALSE;
#line 645 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3510 "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 648 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 650 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = iter;
#line 650 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp0_ == NULL) {
#line 3524 "gitg-commit-model.c"
		guint _tmp1_ = 0U;
#line 652 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = self->priv->d_size;
#line 652 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = (gint) _tmp1_;
#line 652 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3532 "gitg-commit-model.c"
	} else {
		GtkTreeIter* _tmp2_ = NULL;
		gint _tmp3_ = 0;
		gint _tmp4_ = 0;
#line 656 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp2_ = iter;
#line 656 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = (*_tmp2_).stamp;
#line 656 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = self->priv->d_stamp;
#line 656 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_return_val_if_fail (_tmp3_ == _tmp4_, 0);
#line 657 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = 0;
#line 657 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3549 "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 661 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 661 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 663 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = *iter;
#line 663 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_.stamp;
#line 663 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_stamp;
#line 663 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp1_ == _tmp2_, FALSE);
#line 665 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = *iter;
#line 665 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp4_ = _tmp3_.user_data;
#line 665 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	index = (guint) ((gulong) _tmp4_);
#line 666 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = index;
#line 666 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	index = _tmp5_ + 1;
#line 668 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = index;
#line 668 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp7_ = self->priv->d_size;
#line 668 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp6_ >= _tmp7_) {
#line 670 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 670 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3598 "gitg-commit-model.c"
	} else {
		guint _tmp8_ = 0U;
#line 674 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp8_ = index;
#line 674 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		(*iter).user_data = (void*) ((gulong) _tmp8_);
#line 675 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = TRUE;
#line 675 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3609 "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 679 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 681 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter = _tmp0_;
#line 683 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = parent;
#line 683 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp2_ != NULL) {
#line 683 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = TRUE;
#line 3633 "gitg-commit-model.c"
	} else {
		gint _tmp3_ = 0;
		guint _tmp4_ = 0U;
#line 683 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp3_ = n;
#line 683 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp4_ = self->priv->d_size;
#line 683 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp1_ = ((guint) _tmp3_) >= _tmp4_;
#line 3643 "gitg-commit-model.c"
	}
#line 683 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (_tmp1_) {
#line 685 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result = FALSE;
#line 685 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		if (iter) {
#line 685 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
			*iter = _vala_iter;
#line 3653 "gitg-commit-model.c"
		}
#line 685 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		return result;
#line 3657 "gitg-commit-model.c"
	}
#line 688 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp5_ = n;
#line 688 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.user_data = (void*) ((gulong) _tmp5_);
#line 689 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp6_ = self->priv->d_stamp;
#line 689 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_iter.stamp = _tmp6_;
#line 691 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = TRUE;
#line 691 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (iter) {
#line 691 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*iter = _vala_iter;
#line 3673 "gitg-commit-model.c"
	}
#line 691 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3677 "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 694 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = (GitgCommitModel*) base;
#line 694 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 696 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_vala_parent = _tmp0_;
#line 698 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = *iter;
#line 698 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = _tmp1_.stamp;
#line 698 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp3_ = self->priv->d_stamp;
#line 698 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (_tmp2_ == _tmp3_, FALSE);
#line 700 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = FALSE;
#line 700 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (parent) {
#line 700 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*parent = _vala_parent;
#line 3709 "gitg-commit-model.c"
	}
#line 700 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3713 "gitg-commit-model.c"
}


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


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


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


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


GitgRepository* gitg_commit_model_get_repository (GitgCommitModel* self) {
	GitgRepository* result;
	GitgRepository* _tmp0_ = NULL;
#line 102 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 102 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->d_repository;
#line 102 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp0_;
#line 102 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3799 "gitg-commit-model.c"
}


void gitg_commit_model_set_repository (GitgCommitModel* self, GitgRepository* value) {
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 105 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_cancel (self);
#line 107 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_walker);
#line 107 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_walker = NULL;
#line 108 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = value;
#line 108 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 108 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 108 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_repository = _tmp1_;
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_object_notify ((GObject *) self, "repository");
#line 3824 "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 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = self->priv->_permanent_lanes;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = self->priv->_permanent_lanes_length1;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = _tmp0_;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	if (result_length1) {
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		*result_length1 = _tmp1__length1;
#line 3848 "gitg-commit-model.c"
	}
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = _tmp1_;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3854 "gitg-commit-model.c"
}


static GgitOId** _vala_array_dup7 (GgitOId** self, int length) {
	GgitOId** result;
	int i;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	result = g_new0 (GgitOId*, length + 1);
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	for (i = 0; i < length; i++) {
#line 3865 "gitg-commit-model.c"
		GgitOId* _tmp0_ = NULL;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		_tmp0_ = __vala_GgitOId_copy0 (self[i]);
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		result[i] = _tmp0_;
#line 3871 "gitg-commit-model.c"
	}
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return result;
#line 3875 "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 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_return_if_fail (self != NULL);
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = value;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0__length1 = value_length1;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup7 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1__length1 = _tmp0__length1;
#line 112 "/home/garrett/hacking/gnome/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 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_permanent_lanes = _tmp1_;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->_permanent_lanes_length1 = _tmp1__length1;
#line 112 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->__permanent_lanes_size_ = self->priv->_permanent_lanes_length1;
#line 3902 "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;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 123 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	parent_class = G_OBJECT_CLASS (gitg_commit_model_parent_class);
#line 123 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 123 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_COMMIT_MODEL, GitgCommitModel);
#line 125 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp0_ = gitg_lanes_new ();
#line 125 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_lanes);
#line 125 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_lanes = _tmp0_;
#line 126 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp1_ = g_cancellable_new ();
#line 126 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 126 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_cancellable = _tmp1_;
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_tmp2_ = self->priv->d_cancellable;
#line 127 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_cancellable_cancel (_tmp2_);
#line 129 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self->priv->d_sortmode = GGIT_SORT_TIME | GGIT_SORT_TOPOLOGICAL;
#line 123 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	return obj;
#line 3939 "gitg-commit-model.c"
}


static void gitg_commit_model_class_init (GitgCommitModelClass * klass) {
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	gitg_commit_model_parent_class = g_type_class_peek_parent (klass);
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_type_class_add_private (klass, sizeof (GitgCommitModelPrivate));
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	((GObjectClass *) klass)->dispose = gitg_commit_model_real_dispose;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_commit_model_get_property;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_commit_model_set_property;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_commit_model_constructor;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_commit_model_finalize;
#line 64 "/home/garrett/hacking/gnome/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/garrett/hacking/gnome/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/garrett/hacking/gnome/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/garrett/hacking/gnome/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/garrett/hacking/gnome/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/garrett/hacking/gnome/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 3970 "gitg-commit-model.c"
}


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


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


static void gitg_commit_model_finalize (GObject* obj) {
	GitgCommitModel * self;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_COMMIT_MODEL, GitgCommitModel);
#line 66 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 67 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 68 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_clear (&self->priv->__lock_d_ids);
#line 68 "/home/garrett/hacking/gnome/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/garrett/hacking/gnome/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/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_thread_unref0 (self->priv->d_thread);
#line 71 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_walker);
#line 73 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_clear (&self->priv->__lock_d_idleid);
#line 74 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_lanes);
#line 76 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	g_rec_mutex_clear (&self->priv->__lock_d_id_hash);
#line 76 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	_g_object_unref0 (self->priv->d_id_hash);
#line 78 "/home/garrett/hacking/gnome/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/garrett/hacking/gnome/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 112 "/home/garrett/hacking/gnome/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/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	G_OBJECT_CLASS (gitg_commit_model_parent_class)->finalize (obj);
#line 4052 "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/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	switch (property_id) {
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_LIMIT:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_value_set_uint (value, gitg_commit_model_get_limit (self));
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_SORT_MODE:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_value_set_flags (value, gitg_commit_model_get_sort_mode (self));
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_REPOSITORY:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		g_value_set_object (value, gitg_commit_model_get_repository (self));
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4093 "gitg-commit-model.c"
		default:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4099 "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/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
	switch (property_id) {
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_LIMIT:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_set_limit (self, g_value_get_uint (value));
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_SORT_MODE:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_set_sort_mode (self, g_value_get_flags (value));
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		case GITG_COMMIT_MODEL_REPOSITORY:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		gitg_commit_model_set_repository (self, g_value_get_object (value));
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4127 "gitg-commit-model.c"
		default:
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 64 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-commit-model.vala"
		break;
#line 4133 "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);
}



