/* gitg-stage-status-enumerator.c generated by valac 0.27.1.26-9b1a5-dirty, the Vala compiler
 * generated from gitg-stage-status-enumerator.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2013 - 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 <gio/gio.h>
#include <gee.h>
#include <stdio.h>


#define GITG_TYPE_STAGE_STATUS_ITEM (gitg_stage_status_item_get_type ())
#define GITG_STAGE_STATUS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_STAGE_STATUS_ITEM, GitgStageStatusItem))
#define GITG_IS_STAGE_STATUS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_STAGE_STATUS_ITEM))
#define GITG_STAGE_STATUS_ITEM_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_TYPE_STAGE_STATUS_ITEM, GitgStageStatusItemIface))

typedef struct _GitgStageStatusItem GitgStageStatusItem;
typedef struct _GitgStageStatusItemIface GitgStageStatusItemIface;

#define GITG_TYPE_STAGE_STATUS_FILE (gitg_stage_status_file_get_type ())
#define GITG_STAGE_STATUS_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFile))
#define GITG_STAGE_STATUS_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFileClass))
#define GITG_IS_STAGE_STATUS_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_STAGE_STATUS_FILE))
#define GITG_IS_STAGE_STATUS_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_STAGE_STATUS_FILE))
#define GITG_STAGE_STATUS_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFileClass))

typedef struct _GitgStageStatusFile GitgStageStatusFile;
typedef struct _GitgStageStatusFileClass GitgStageStatusFileClass;
typedef struct _GitgStageStatusFilePrivate GitgStageStatusFilePrivate;
#define _g_free0(var) (var = (g_free (var), NULL))

#define GITG_TYPE_STAGE_STATUS_SUBMODULE (gitg_stage_status_submodule_get_type ())
#define GITG_STAGE_STATUS_SUBMODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule))
#define GITG_STAGE_STATUS_SUBMODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmoduleClass))
#define GITG_IS_STAGE_STATUS_SUBMODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_STAGE_STATUS_SUBMODULE))
#define GITG_IS_STAGE_STATUS_SUBMODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_STAGE_STATUS_SUBMODULE))
#define GITG_STAGE_STATUS_SUBMODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmoduleClass))

typedef struct _GitgStageStatusSubmodule GitgStageStatusSubmodule;
typedef struct _GitgStageStatusSubmoduleClass GitgStageStatusSubmoduleClass;
typedef struct _GitgStageStatusSubmodulePrivate GitgStageStatusSubmodulePrivate;
#define _ggit_submodule_unref0(var) ((var == NULL) ? NULL : (var = (ggit_submodule_unref (var), NULL)))

#define GITG_TYPE_STAGE_STATUS_ENUMERATOR (gitg_stage_status_enumerator_get_type ())
#define GITG_STAGE_STATUS_ENUMERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_STAGE_STATUS_ENUMERATOR, GitgStageStatusEnumerator))
#define GITG_STAGE_STATUS_ENUMERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_STAGE_STATUS_ENUMERATOR, GitgStageStatusEnumeratorClass))
#define GITG_IS_STAGE_STATUS_ENUMERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_STAGE_STATUS_ENUMERATOR))
#define GITG_IS_STAGE_STATUS_ENUMERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_STAGE_STATUS_ENUMERATOR))
#define GITG_STAGE_STATUS_ENUMERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_STAGE_STATUS_ENUMERATOR, GitgStageStatusEnumeratorClass))

typedef struct _GitgStageStatusEnumerator GitgStageStatusEnumerator;
typedef struct _GitgStageStatusEnumeratorClass GitgStageStatusEnumeratorClass;
typedef struct _GitgStageStatusEnumeratorPrivate GitgStageStatusEnumeratorPrivate;

#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 _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)))
#define __vala_GgitStatusOptions_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitStatusOptions_free (var), NULL)))
typedef struct _Block19Data Block19Data;
typedef struct _GitgStageStatusEnumeratorNextItemsData GitgStageStatusEnumeratorNextItemsData;
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _GitgStageStatusItemIface {
	GTypeInterface parent_iface;
	gchar* (*get_path) (GitgStageStatusItem* self);
	gboolean (*get_is_staged) (GitgStageStatusItem* self);
	gboolean (*get_is_unstaged) (GitgStageStatusItem* self);
	gboolean (*get_is_untracked) (GitgStageStatusItem* self);
	gchar* (*get_icon_name) (GitgStageStatusItem* self);
};

struct _GitgStageStatusFile {
	GObject parent_instance;
	GitgStageStatusFilePrivate * priv;
};

struct _GitgStageStatusFileClass {
	GObjectClass parent_class;
};

struct _GitgStageStatusFilePrivate {
	gchar* d_path;
	GgitStatusFlags d_flags;
};

struct _GitgStageStatusSubmodule {
	GObject parent_instance;
	GitgStageStatusSubmodulePrivate * priv;
};

struct _GitgStageStatusSubmoduleClass {
	GObjectClass parent_class;
};

struct _GitgStageStatusSubmodulePrivate {
	GgitSubmodule* d_submodule;
	gchar* d_path;
	GgitSubmoduleStatus d_flags;
};

struct _GitgStageStatusEnumerator {
	GObject parent_instance;
	GitgStageStatusEnumeratorPrivate * priv;
};

struct _GitgStageStatusEnumeratorClass {
	GObjectClass parent_class;
};

struct _GitgStageStatusEnumeratorPrivate {
	GitgRepository* d_repository;
	GThread* d_thread;
	GitgStageStatusItem** d_items;
	gint d_items_length1;
	gint _d_items_size_;
	GRecMutex __lock_d_items;
	gint d_offset;
	gint d_callback_num;
	GCancellable* d_cancellable;
	GSourceFunc d_callback;
	gpointer d_callback_target;
	GDestroyNotify d_callback_target_destroy_notify;
	GgitStatusOptions* d_options;
	GeeHashSet* d_ignored_submodules;
};

typedef void (*GitgStageStatusEnumeratorAddItem) (GitgStageStatusItem* item, void* user_data);
struct _Block19Data {
	int _ref_count_;
	GitgStageStatusEnumerator* self;
	GitgStageStatusEnumeratorAddItem add;
	gpointer add_target;
	GDestroyNotify add_target_destroy_notify;
	GeeHashSet* submodule_paths;
};

struct _GitgStageStatusEnumeratorNextItemsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgStageStatusEnumerator* self;
	gint num;
	GitgStageStatusItem** result;
	gint result_length1;
	GSourceFunc callback;
	void* callback_target;
	GDestroyNotify callback_target_destroy_notify;
	GitgStageStatusItem** ret;
	gint ret_length1;
	gint _ret_size_;
	GitgStageStatusItem** _tmp0_;
	gint _tmp0__length1;
	GCancellable* _tmp1_;
	gint _tmp2_;
	gint _tmp3_;
	GitgStageStatusItem** _tmp4_;
	GitgStageStatusItem** _tmp5_;
	gint _tmp5__length1;
	GitgStageStatusItem** _tmp6_;
	gint _tmp6__length1;
	GSourceFunc _tmp7_;
	void* _tmp7__target;
	GDestroyNotify _tmp7__target_destroy_notify;
	gint _tmp8_;
	GitgStageStatusItem** _tmp9_;
	gint _tmp9__length1;
	GitgStageStatusItem** _tmp10_;
	gint _tmp10__length1;
	gint _tmp11_;
	gint _tmp12_;
	GitgStageStatusItem** _tmp13_;
	GitgStageStatusItem** _tmp14_;
	gint _tmp14__length1;
	GitgStageStatusItem** _tmp15_;
	gint _tmp15__length1;
	gint _tmp16_;
	GitgStageStatusItem** _tmp17_;
	gint _tmp17__length1;
	GError * _inner_error_;
};


static gpointer gitg_stage_status_file_parent_class = NULL;
static GgitStatusFlags gitg_stage_status_file_s_index_flags;
static GgitStatusFlags gitg_stage_status_file_s_index_flags = (((GGIT_STATUS_INDEX_NEW | GGIT_STATUS_INDEX_MODIFIED) | GGIT_STATUS_INDEX_DELETED) | GGIT_STATUS_INDEX_RENAMED) | GGIT_STATUS_INDEX_TYPECHANGE;
static GgitStatusFlags gitg_stage_status_file_s_work_flags;
static GgitStatusFlags gitg_stage_status_file_s_work_flags = (GGIT_STATUS_WORKING_TREE_MODIFIED | GGIT_STATUS_WORKING_TREE_DELETED) | GGIT_STATUS_WORKING_TREE_TYPECHANGE;
static GgitStatusFlags gitg_stage_status_file_s_untracked_flags;
static GgitStatusFlags gitg_stage_status_file_s_untracked_flags = GGIT_STATUS_WORKING_TREE_NEW;
static GitgStageStatusItemIface* gitg_stage_status_file_gitg_stage_status_item_parent_iface = NULL;
static gpointer gitg_stage_status_submodule_parent_class = NULL;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_index_flags;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_index_flags = (GGIT_SUBMODULE_STATUS_INDEX_ADDED | GGIT_SUBMODULE_STATUS_INDEX_DELETED) | GGIT_SUBMODULE_STATUS_INDEX_MODIFIED;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_work_flags;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_work_flags = (GGIT_SUBMODULE_STATUS_WD_ADDED | GGIT_SUBMODULE_STATUS_WD_DELETED) | GGIT_SUBMODULE_STATUS_WD_MODIFIED;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_untracked_flags;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_untracked_flags = GGIT_SUBMODULE_STATUS_IN_WD;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_tracked_flags;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_tracked_flags = GGIT_SUBMODULE_STATUS_IN_HEAD | GGIT_SUBMODULE_STATUS_IN_INDEX;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_dirty_flags;
static GgitSubmoduleStatus gitg_stage_status_submodule_s_dirty_flags = GGIT_SUBMODULE_STATUS_WD_INDEX_MODIFIED | GGIT_SUBMODULE_STATUS_WD_WD_MODIFIED;
static GitgStageStatusItemIface* gitg_stage_status_submodule_gitg_stage_status_item_parent_iface = NULL;
static gpointer gitg_stage_status_enumerator_parent_class = NULL;
static GRegex* gitg_stage_status_enumerator_s_ignore_regex;
static GRegex* gitg_stage_status_enumerator_s_ignore_regex = NULL;

GType gitg_stage_status_item_get_type (void) G_GNUC_CONST;
gchar* gitg_stage_status_item_get_path (GitgStageStatusItem* self);
gboolean gitg_stage_status_item_get_is_staged (GitgStageStatusItem* self);
gboolean gitg_stage_status_item_get_is_unstaged (GitgStageStatusItem* self);
gboolean gitg_stage_status_item_get_is_untracked (GitgStageStatusItem* self);
gchar* gitg_stage_status_item_get_icon_name (GitgStageStatusItem* self);
GType gitg_stage_status_file_get_type (void) G_GNUC_CONST;
#define GITG_STAGE_STATUS_FILE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFilePrivate))
enum  {
	GITG_STAGE_STATUS_FILE_DUMMY_PROPERTY,
	GITG_STAGE_STATUS_FILE_PATH,
	GITG_STAGE_STATUS_FILE_IS_STAGED,
	GITG_STAGE_STATUS_FILE_IS_UNSTAGED,
	GITG_STAGE_STATUS_FILE_IS_UNTRACKED,
	GITG_STAGE_STATUS_FILE_FLAGS,
	GITG_STAGE_STATUS_FILE_ICON_NAME
};
GitgStageStatusFile* gitg_stage_status_file_new (const gchar* path, GgitStatusFlags flags);
GitgStageStatusFile* gitg_stage_status_file_construct (GType object_type, const gchar* path, GgitStatusFlags flags);
static gchar* gitg_stage_status_file_icon_for_status (GitgStageStatusFile* self, GgitStatusFlags status);
GgitStatusFlags gitg_stage_status_file_get_flags (GitgStageStatusFile* self);
static void gitg_stage_status_file_finalize (GObject* obj);
static void _vala_gitg_stage_status_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
GType gitg_stage_status_submodule_get_type (void) G_GNUC_CONST;
#define GITG_STAGE_STATUS_SUBMODULE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodulePrivate))
enum  {
	GITG_STAGE_STATUS_SUBMODULE_DUMMY_PROPERTY,
	GITG_STAGE_STATUS_SUBMODULE_SUBMODULE,
	GITG_STAGE_STATUS_SUBMODULE_PATH,
	GITG_STAGE_STATUS_SUBMODULE_IS_STAGED,
	GITG_STAGE_STATUS_SUBMODULE_IS_UNSTAGED,
	GITG_STAGE_STATUS_SUBMODULE_IS_UNTRACKED,
	GITG_STAGE_STATUS_SUBMODULE_IS_DIRTY,
	GITG_STAGE_STATUS_SUBMODULE_FLAGS,
	GITG_STAGE_STATUS_SUBMODULE_ICON_NAME
};
GitgStageStatusSubmodule* gitg_stage_status_submodule_new (GgitSubmodule* submodule);
GitgStageStatusSubmodule* gitg_stage_status_submodule_construct (GType object_type, GgitSubmodule* submodule);
GgitSubmodule* gitg_stage_status_submodule_get_submodule (GitgStageStatusSubmodule* self);
gboolean gitg_stage_status_submodule_get_is_dirty (GitgStageStatusSubmodule* self);
GgitSubmoduleStatus gitg_stage_status_submodule_get_flags (GitgStageStatusSubmodule* self);
static void gitg_stage_status_submodule_finalize (GObject* obj);
static void _vala_gitg_stage_status_submodule_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
GType gitg_stage_status_enumerator_get_type (void) G_GNUC_CONST;
GType gitg_repository_get_type (void) G_GNUC_CONST;
#define GITG_STAGE_STATUS_ENUMERATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_STAGE_STATUS_ENUMERATOR, GitgStageStatusEnumeratorPrivate))
enum  {
	GITG_STAGE_STATUS_ENUMERATOR_DUMMY_PROPERTY
};
static void _vala_GgitStatusOptions_free (GgitStatusOptions* self);
GitgStageStatusEnumerator* gitg_stage_status_enumerator_new (GitgRepository* repository, GgitStatusOptions* options);
GitgStageStatusEnumerator* gitg_stage_status_enumerator_construct (GType object_type, GitgRepository* repository, GgitStatusOptions* options);
static GgitStatusOptions* _vala_GgitStatusOptions_copy (GgitStatusOptions* self);
static gint ___lambda8_ (GitgStageStatusEnumerator* self, GMatchInfo* match, const gchar* val);
static gint ____lambda8__ggit_config_match_callback (GMatchInfo* match_info, const gchar* value, gpointer self);
static void* gitg_stage_status_enumerator_run_status (GitgStageStatusEnumerator* self);
static gpointer _gitg_stage_status_enumerator_run_status_gthread_func (gpointer self);
void gitg_stage_status_enumerator_cancel (GitgStageStatusEnumerator* self);
static Block19Data* block19_data_ref (Block19Data* _data19_);
static void block19_data_unref (void * _userdata_);
static void __lambda9_ (GitgStageStatusEnumerator* self, GitgStageStatusItem* item);
static void _vala_array_add12 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value);
static void ___lambda9__gitg_stage_status_enumerator_add_item (GitgStageStatusItem* item, gpointer self);
static gint ___lambda10_ (Block19Data* _data19_, GgitSubmodule* submodule);
static gint ____lambda10__ggit_submodule_callback (GgitSubmodule* submodule, const gchar* name, gpointer self);
static gint ___lambda11_ (Block19Data* _data19_, const gchar* path, GgitStatusFlags flags);
static gint ____lambda11__ggit_status_callback (const gchar* path, GgitStatusFlags status_flags, gpointer self);
static GitgStageStatusItem** gitg_stage_status_enumerator_fill_items (GitgStageStatusEnumerator* self, gint num, int* result_length1);
static void _vala_array_add13 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value);
static void gitg_stage_status_enumerator_next_items_data_free (gpointer _data);
void gitg_stage_status_enumerator_next_items (GitgStageStatusEnumerator* self, gint num, GAsyncReadyCallback _callback_, gpointer _user_data_);
GitgStageStatusItem** gitg_stage_status_enumerator_next_items_finish (GitgStageStatusEnumerator* self, GAsyncResult* _res_, int* result_length1);
static gboolean gitg_stage_status_enumerator_next_items_co (GitgStageStatusEnumeratorNextItemsData* _data_);
static gboolean _gitg_stage_status_enumerator_next_items_co_gsource_func (gpointer self);
static void gitg_stage_status_enumerator_finalize (GObject* obj);
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);


gchar* gitg_stage_status_item_get_path (GitgStageStatusItem* self) {
#line 25 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 25 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return GITG_STAGE_STATUS_ITEM_GET_INTERFACE (self)->get_path (self);
#line 323 "gitg-stage-status-enumerator.c"
}


gboolean gitg_stage_status_item_get_is_staged (GitgStageStatusItem* self) {
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return GITG_STAGE_STATUS_ITEM_GET_INTERFACE (self)->get_is_staged (self);
#line 332 "gitg-stage-status-enumerator.c"
}


gboolean gitg_stage_status_item_get_is_unstaged (GitgStageStatusItem* self) {
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 28 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return GITG_STAGE_STATUS_ITEM_GET_INTERFACE (self)->get_is_unstaged (self);
#line 341 "gitg-stage-status-enumerator.c"
}


gboolean gitg_stage_status_item_get_is_untracked (GitgStageStatusItem* self) {
#line 29 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 29 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return GITG_STAGE_STATUS_ITEM_GET_INTERFACE (self)->get_is_untracked (self);
#line 350 "gitg-stage-status-enumerator.c"
}


gchar* gitg_stage_status_item_get_icon_name (GitgStageStatusItem* self) {
#line 31 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 31 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return GITG_STAGE_STATUS_ITEM_GET_INTERFACE (self)->get_icon_name (self);
#line 359 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_item_base_init (GitgStageStatusItemIface * iface) {
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	static gboolean initialized = FALSE;
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (!initialized) {
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		initialized = TRUE;
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("path", "path", "path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_object_interface_install_property (iface, g_param_spec_boolean ("is-staged", "is-staged", "is-staged", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_object_interface_install_property (iface, g_param_spec_boolean ("is-unstaged", "is-unstaged", "is-unstaged", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_object_interface_install_property (iface, g_param_spec_boolean ("is-untracked", "is-untracked", "is-untracked", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("icon-name", "icon-name", "icon-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 380 "gitg-stage-status-enumerator.c"
	}
}


GType gitg_stage_status_item_get_type (void) {
	static volatile gsize gitg_stage_status_item_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_stage_status_item_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgStageStatusItemIface), (GBaseInitFunc) gitg_stage_status_item_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType gitg_stage_status_item_type_id;
		gitg_stage_status_item_type_id = g_type_register_static (G_TYPE_INTERFACE, "GitgStageStatusItem", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (gitg_stage_status_item_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&gitg_stage_status_item_type_id__volatile, gitg_stage_status_item_type_id);
	}
	return gitg_stage_status_item_type_id__volatile;
}


GitgStageStatusFile* gitg_stage_status_file_construct (GType object_type, const gchar* path, GgitStatusFlags flags) {
	GitgStageStatusFile * self = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	GgitStatusFlags _tmp2_ = 0;
#line 54 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (path != NULL, NULL);
#line 54 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusFile*) g_object_new (object_type, NULL);
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = path;
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_free0 (self->priv->d_path);
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_path = _tmp1_;
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp2_ = flags;
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_flags = _tmp2_;
#line 54 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return self;
#line 421 "gitg-stage-status-enumerator.c"
}


GitgStageStatusFile* gitg_stage_status_file_new (const gchar* path, GgitStatusFlags flags) {
#line 54 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return gitg_stage_status_file_construct (GITG_TYPE_STAGE_STATUS_FILE, path, flags);
#line 428 "gitg-stage-status-enumerator.c"
}


static gchar* gitg_stage_status_file_icon_for_status (GitgStageStatusFile* self, GgitStatusFlags status) {
	gchar* result = NULL;
	GgitStatusFlags _tmp0_ = 0;
#line 85 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 87 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = status;
#line 87 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if ((_tmp0_ & (GGIT_STATUS_INDEX_NEW | GGIT_STATUS_WORKING_TREE_NEW)) != 0) {
#line 441 "gitg-stage-status-enumerator.c"
		gchar* _tmp1_ = NULL;
#line 90 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp1_ = g_strdup ("list-add-symbolic");
#line 90 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		result = _tmp1_;
#line 90 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		return result;
#line 449 "gitg-stage-status-enumerator.c"
	} else {
		GgitStatusFlags _tmp2_ = 0;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp2_ = status;
#line 92 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if ((_tmp2_ & ((((GGIT_STATUS_INDEX_MODIFIED | GGIT_STATUS_INDEX_RENAMED) | GGIT_STATUS_INDEX_TYPECHANGE) | GGIT_STATUS_WORKING_TREE_MODIFIED) | GGIT_STATUS_WORKING_TREE_TYPECHANGE)) != 0) {
#line 456 "gitg-stage-status-enumerator.c"
			gchar* _tmp3_ = NULL;
#line 98 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp3_ = g_strdup ("text-editor-symbolic");
#line 98 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			result = _tmp3_;
#line 98 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			return result;
#line 464 "gitg-stage-status-enumerator.c"
		} else {
			GgitStatusFlags _tmp4_ = 0;
#line 100 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp4_ = status;
#line 100 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if ((_tmp4_ & (GGIT_STATUS_INDEX_DELETED | GGIT_STATUS_WORKING_TREE_DELETED)) != 0) {
#line 471 "gitg-stage-status-enumerator.c"
				gchar* _tmp5_ = NULL;
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp5_ = g_strdup ("edit-delete-symbolic");
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				result = _tmp5_;
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				return result;
#line 479 "gitg-stage-status-enumerator.c"
			}
		}
	}
#line 106 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = NULL;
#line 106 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 487 "gitg-stage-status-enumerator.c"
}


static gchar* gitg_stage_status_file_real_get_path (GitgStageStatusItem* base) {
	gchar* result;
	GitgStageStatusFile* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 62 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusFile*) base;
#line 62 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_path;
#line 62 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 62 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp1_;
#line 62 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 506 "gitg-stage-status-enumerator.c"
}


static gboolean gitg_stage_status_file_real_get_is_staged (GitgStageStatusItem* base) {
	gboolean result;
	GitgStageStatusFile* self;
	GgitStatusFlags _tmp0_ = 0;
	GgitStatusFlags _tmp1_ = 0;
#line 67 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusFile*) base;
#line 67 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 67 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gitg_stage_status_file_s_index_flags;
#line 67 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = (_tmp0_ & _tmp1_) != 0;
#line 67 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 525 "gitg-stage-status-enumerator.c"
}


static gboolean gitg_stage_status_file_real_get_is_unstaged (GitgStageStatusItem* base) {
	gboolean result;
	GitgStageStatusFile* self;
	GgitStatusFlags _tmp0_ = 0;
	GgitStatusFlags _tmp1_ = 0;
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusFile*) base;
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gitg_stage_status_file_s_work_flags;
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = (_tmp0_ & _tmp1_) != 0;
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 544 "gitg-stage-status-enumerator.c"
}


static gboolean gitg_stage_status_file_real_get_is_untracked (GitgStageStatusItem* base) {
	gboolean result;
	GitgStageStatusFile* self;
	GgitStatusFlags _tmp0_ = 0;
	GgitStatusFlags _tmp1_ = 0;
#line 77 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusFile*) base;
#line 77 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 77 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gitg_stage_status_file_s_untracked_flags;
#line 77 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = (_tmp0_ & _tmp1_) != 0;
#line 77 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 563 "gitg-stage-status-enumerator.c"
}


GgitStatusFlags gitg_stage_status_file_get_flags (GitgStageStatusFile* self) {
	GgitStatusFlags result;
	GgitStatusFlags _tmp0_ = 0;
#line 82 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 82 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 82 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp0_;
#line 82 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 578 "gitg-stage-status-enumerator.c"
}


static gchar* gitg_stage_status_file_real_get_icon_name (GitgStageStatusItem* base) {
	gchar* result;
	GitgStageStatusFile* self;
	GgitStatusFlags _tmp0_ = 0;
	gchar* _tmp1_ = NULL;
#line 111 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusFile*) base;
#line 111 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 111 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gitg_stage_status_file_icon_for_status (self, _tmp0_);
#line 111 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp1_;
#line 111 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 597 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_file_class_init (GitgStageStatusFileClass * klass) {
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gitg_stage_status_file_parent_class = g_type_class_peek_parent (klass);
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_type_class_add_private (klass, sizeof (GitgStageStatusFilePrivate));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_stage_status_file_get_property;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_stage_status_file_finalize;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_FILE_PATH, g_param_spec_string ("path", "path", "path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_FILE_IS_STAGED, g_param_spec_boolean ("is-staged", "is-staged", "is-staged", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_FILE_IS_UNSTAGED, g_param_spec_boolean ("is-unstaged", "is-unstaged", "is-unstaged", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_FILE_IS_UNTRACKED, g_param_spec_boolean ("is-untracked", "is-untracked", "is-untracked", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_FILE_FLAGS, g_param_spec_flags ("flags", "flags", "flags", ggit_status_flags_get_type (), 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_FILE_ICON_NAME, g_param_spec_string ("icon-name", "icon-name", "icon-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 622 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_file_gitg_stage_status_item_interface_init (GitgStageStatusItemIface * iface) {
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gitg_stage_status_file_gitg_stage_status_item_parent_iface = g_type_interface_peek_parent (iface);
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_path = gitg_stage_status_file_real_get_path;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_is_staged = gitg_stage_status_file_real_get_is_staged;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_is_unstaged = gitg_stage_status_file_real_get_is_unstaged;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_is_untracked = gitg_stage_status_file_real_get_is_untracked;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_icon_name = gitg_stage_status_file_real_get_icon_name;
#line 639 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_file_instance_init (GitgStageStatusFile * self) {
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv = GITG_STAGE_STATUS_FILE_GET_PRIVATE (self);
#line 646 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_file_finalize (GObject* obj) {
	GitgStageStatusFile * self;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFile);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_free0 (self->priv->d_path);
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (gitg_stage_status_file_parent_class)->finalize (obj);
#line 658 "gitg-stage-status-enumerator.c"
}


GType gitg_stage_status_file_get_type (void) {
	static volatile gsize gitg_stage_status_file_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_stage_status_file_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgStageStatusFileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_stage_status_file_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgStageStatusFile), 0, (GInstanceInitFunc) gitg_stage_status_file_instance_init, NULL };
		static const GInterfaceInfo gitg_stage_status_item_info = { (GInterfaceInitFunc) gitg_stage_status_file_gitg_stage_status_item_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_stage_status_file_type_id;
		gitg_stage_status_file_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgStageStatusFile", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_stage_status_file_type_id, GITG_TYPE_STAGE_STATUS_ITEM, &gitg_stage_status_item_info);
		g_once_init_leave (&gitg_stage_status_file_type_id__volatile, gitg_stage_status_file_type_id);
	}
	return gitg_stage_status_file_type_id__volatile;
}


static void _vala_gitg_stage_status_file_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgStageStatusFile * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_STAGE_STATUS_FILE, GitgStageStatusFile);
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	switch (property_id) {
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_FILE_PATH:
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_take_string (value, gitg_stage_status_item_get_path ((GitgStageStatusItem*) self));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_FILE_IS_STAGED:
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boolean (value, gitg_stage_status_item_get_is_staged ((GitgStageStatusItem*) self));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_FILE_IS_UNSTAGED:
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boolean (value, gitg_stage_status_item_get_is_unstaged ((GitgStageStatusItem*) self));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_FILE_IS_UNTRACKED:
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boolean (value, gitg_stage_status_item_get_is_untracked ((GitgStageStatusItem*) self));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_FILE_FLAGS:
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_flags (value, gitg_stage_status_file_get_flags (self));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_FILE_ICON_NAME:
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_take_string (value, gitg_stage_status_item_get_icon_name ((GitgStageStatusItem*) self));
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 717 "gitg-stage-status-enumerator.c"
		default:
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 723 "gitg-stage-status-enumerator.c"
	}
}


static gpointer _ggit_submodule_ref0 (gpointer self) {
#line 144 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return self ? ggit_submodule_ref (self) : NULL;
#line 731 "gitg-stage-status-enumerator.c"
}


GitgStageStatusSubmodule* gitg_stage_status_submodule_construct (GType object_type, GgitSubmodule* submodule) {
	GitgStageStatusSubmodule * self = NULL;
	GgitSubmodule* _tmp0_ = NULL;
	GgitSubmodule* _tmp1_ = NULL;
	GgitSubmodule* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	GError * _inner_error_ = NULL;
#line 142 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (submodule != NULL, NULL);
#line 142 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusSubmodule*) g_object_new (object_type, NULL);
#line 144 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = submodule;
#line 144 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = _ggit_submodule_ref0 (_tmp0_);
#line 144 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_ggit_submodule_unref0 (self->priv->d_submodule);
#line 144 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_submodule = _tmp1_;
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp2_ = submodule;
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp3_ = ggit_submodule_get_path (_tmp2_);
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_free0 (self->priv->d_path);
#line 146 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_path = _tmp4_;
#line 765 "gitg-stage-status-enumerator.c"
	{
		GgitSubmoduleStatus _tmp5_ = 0;
		GgitSubmodule* _tmp6_ = NULL;
		GgitSubmoduleStatus _tmp7_ = 0;
#line 150 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp6_ = submodule;
#line 150 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp7_ = ggit_submodule_get_status (_tmp6_, &_inner_error_);
#line 150 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp5_ = _tmp7_;
#line 150 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 778 "gitg-stage-status-enumerator.c"
			goto __catch74_g_error;
		}
#line 150 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		self->priv->d_flags = _tmp5_;
#line 783 "gitg-stage-status-enumerator.c"
	}
	goto __finally74;
	__catch74_g_error:
	{
#line 148 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 148 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_inner_error_ = NULL;
#line 792 "gitg-stage-status-enumerator.c"
	}
	__finally74:
#line 148 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 148 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 148 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 148 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		return NULL;
#line 803 "gitg-stage-status-enumerator.c"
	}
#line 142 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return self;
#line 807 "gitg-stage-status-enumerator.c"
}


GitgStageStatusSubmodule* gitg_stage_status_submodule_new (GgitSubmodule* submodule) {
#line 142 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return gitg_stage_status_submodule_construct (GITG_TYPE_STAGE_STATUS_SUBMODULE, submodule);
#line 814 "gitg-stage-status-enumerator.c"
}


GgitSubmodule* gitg_stage_status_submodule_get_submodule (GitgStageStatusSubmodule* self) {
	GgitSubmodule* result;
	GgitSubmodule* _tmp0_ = NULL;
#line 156 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 156 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_submodule;
#line 156 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp0_;
#line 156 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 829 "gitg-stage-status-enumerator.c"
}


static gchar* gitg_stage_status_submodule_real_get_path (GitgStageStatusItem* base) {
	gchar* result;
	GitgStageStatusSubmodule* self;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 161 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusSubmodule*) base;
#line 161 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_path;
#line 161 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 161 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp1_;
#line 161 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 848 "gitg-stage-status-enumerator.c"
}


static gboolean gitg_stage_status_submodule_real_get_is_staged (GitgStageStatusItem* base) {
	gboolean result;
	GitgStageStatusSubmodule* self;
	GgitSubmoduleStatus _tmp0_ = 0;
	GgitSubmoduleStatus _tmp1_ = 0;
#line 166 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusSubmodule*) base;
#line 166 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 166 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gitg_stage_status_submodule_s_index_flags;
#line 166 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = (_tmp0_ & _tmp1_) != 0;
#line 166 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 867 "gitg-stage-status-enumerator.c"
}


static gboolean gitg_stage_status_submodule_real_get_is_unstaged (GitgStageStatusItem* base) {
	gboolean result;
	GitgStageStatusSubmodule* self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusSubmodule*) base;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gitg_stage_status_item_get_is_untracked ((GitgStageStatusItem*) self);
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp2_ = _tmp1_;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (!_tmp2_) {
#line 885 "gitg-stage-status-enumerator.c"
		GgitSubmoduleStatus _tmp3_ = 0;
		GgitSubmoduleStatus _tmp4_ = 0;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp3_ = self->priv->d_flags;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp4_ = gitg_stage_status_submodule_s_work_flags;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = (_tmp3_ & _tmp4_) != 0;
#line 894 "gitg-stage-status-enumerator.c"
	} else {
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = FALSE;
#line 898 "gitg-stage-status-enumerator.c"
	}
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp0_;
#line 171 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 904 "gitg-stage-status-enumerator.c"
}


static gboolean gitg_stage_status_submodule_real_get_is_untracked (GitgStageStatusItem* base) {
	gboolean result;
	GitgStageStatusSubmodule* self;
	gboolean _tmp0_ = FALSE;
	GgitSubmoduleStatus _tmp1_ = 0;
	GgitSubmoduleStatus _tmp2_ = 0;
#line 176 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusSubmodule*) base;
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = self->priv->d_flags;
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp2_ = gitg_stage_status_submodule_s_untracked_flags;
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if ((_tmp1_ & _tmp2_) != 0) {
#line 922 "gitg-stage-status-enumerator.c"
		GgitSubmoduleStatus _tmp3_ = 0;
		GgitSubmoduleStatus _tmp4_ = 0;
#line 179 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp3_ = self->priv->d_flags;
#line 179 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp4_ = gitg_stage_status_submodule_s_tracked_flags;
#line 179 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = (_tmp3_ & _tmp4_) == 0;
#line 931 "gitg-stage-status-enumerator.c"
	} else {
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = FALSE;
#line 935 "gitg-stage-status-enumerator.c"
	}
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp0_;
#line 178 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 941 "gitg-stage-status-enumerator.c"
}


gboolean gitg_stage_status_submodule_get_is_dirty (GitgStageStatusSubmodule* self) {
	gboolean result;
	GgitSubmoduleStatus _tmp0_ = 0;
	GgitSubmoduleStatus _tmp1_ = 0;
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gitg_stage_status_submodule_s_dirty_flags;
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = (_tmp0_ & _tmp1_) != 0;
#line 185 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 959 "gitg-stage-status-enumerator.c"
}


GgitSubmoduleStatus gitg_stage_status_submodule_get_flags (GitgStageStatusSubmodule* self) {
	GgitSubmoduleStatus result;
	GgitSubmoduleStatus _tmp0_ = 0;
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = self->priv->d_flags;
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp0_;
#line 190 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 974 "gitg-stage-status-enumerator.c"
}


static gchar* gitg_stage_status_submodule_real_get_icon_name (GitgStageStatusItem* base) {
	gchar* result;
	GitgStageStatusSubmodule* self;
	gchar* _tmp0_ = NULL;
#line 194 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusSubmodule*) base;
#line 194 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = g_strdup ("folder-remote-symbolic");
#line 194 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp0_;
#line 194 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 990 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_submodule_class_init (GitgStageStatusSubmoduleClass * klass) {
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gitg_stage_status_submodule_parent_class = g_type_class_peek_parent (klass);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_type_class_add_private (klass, sizeof (GitgStageStatusSubmodulePrivate));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_stage_status_submodule_get_property;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_stage_status_submodule_finalize;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_SUBMODULE, g_param_spec_boxed ("submodule", "submodule", "submodule", ggit_submodule_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_PATH, g_param_spec_string ("path", "path", "path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_IS_STAGED, g_param_spec_boolean ("is-staged", "is-staged", "is-staged", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_IS_UNSTAGED, g_param_spec_boolean ("is-unstaged", "is-unstaged", "is-unstaged", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_IS_UNTRACKED, g_param_spec_boolean ("is-untracked", "is-untracked", "is-untracked", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_IS_DIRTY, g_param_spec_boolean ("is-dirty", "is-dirty", "is-dirty", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_FLAGS, g_param_spec_flags ("flags", "flags", "flags", ggit_submodule_status_get_type (), 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_STAGE_STATUS_SUBMODULE_ICON_NAME, g_param_spec_string ("icon-name", "icon-name", "icon-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 1019 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_submodule_gitg_stage_status_item_interface_init (GitgStageStatusItemIface * iface) {
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gitg_stage_status_submodule_gitg_stage_status_item_parent_iface = g_type_interface_peek_parent (iface);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_path = gitg_stage_status_submodule_real_get_path;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_is_staged = gitg_stage_status_submodule_real_get_is_staged;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_is_unstaged = gitg_stage_status_submodule_real_get_is_unstaged;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_is_untracked = gitg_stage_status_submodule_real_get_is_untracked;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	iface->get_icon_name = gitg_stage_status_submodule_real_get_icon_name;
#line 1036 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_submodule_instance_init (GitgStageStatusSubmodule * self) {
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv = GITG_STAGE_STATUS_SUBMODULE_GET_PRIVATE (self);
#line 1043 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_submodule_finalize (GObject* obj) {
	GitgStageStatusSubmodule * self;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule);
#line 117 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_ggit_submodule_unref0 (self->priv->d_submodule);
#line 118 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_free0 (self->priv->d_path);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (gitg_stage_status_submodule_parent_class)->finalize (obj);
#line 1057 "gitg-stage-status-enumerator.c"
}


GType gitg_stage_status_submodule_get_type (void) {
	static volatile gsize gitg_stage_status_submodule_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_stage_status_submodule_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgStageStatusSubmoduleClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_stage_status_submodule_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgStageStatusSubmodule), 0, (GInstanceInitFunc) gitg_stage_status_submodule_instance_init, NULL };
		static const GInterfaceInfo gitg_stage_status_item_info = { (GInterfaceInitFunc) gitg_stage_status_submodule_gitg_stage_status_item_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_stage_status_submodule_type_id;
		gitg_stage_status_submodule_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgStageStatusSubmodule", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_stage_status_submodule_type_id, GITG_TYPE_STAGE_STATUS_ITEM, &gitg_stage_status_item_info);
		g_once_init_leave (&gitg_stage_status_submodule_type_id__volatile, gitg_stage_status_submodule_type_id);
	}
	return gitg_stage_status_submodule_type_id__volatile;
}


static void _vala_gitg_stage_status_submodule_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgStageStatusSubmodule * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_STAGE_STATUS_SUBMODULE, GitgStageStatusSubmodule);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	switch (property_id) {
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_SUBMODULE:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boxed (value, gitg_stage_status_submodule_get_submodule (self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_PATH:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_take_string (value, gitg_stage_status_item_get_path ((GitgStageStatusItem*) self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_IS_STAGED:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boolean (value, gitg_stage_status_item_get_is_staged ((GitgStageStatusItem*) self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_IS_UNSTAGED:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boolean (value, gitg_stage_status_item_get_is_unstaged ((GitgStageStatusItem*) self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_IS_UNTRACKED:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boolean (value, gitg_stage_status_item_get_is_untracked ((GitgStageStatusItem*) self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_IS_DIRTY:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_boolean (value, gitg_stage_status_submodule_get_is_dirty (self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_FLAGS:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_set_flags (value, gitg_stage_status_submodule_get_flags (self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case GITG_STAGE_STATUS_SUBMODULE_ICON_NAME:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_value_take_string (value, gitg_stage_status_item_get_icon_name ((GitgStageStatusItem*) self));
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 1128 "gitg-stage-status-enumerator.c"
		default:
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 115 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		break;
#line 1134 "gitg-stage-status-enumerator.c"
	}
}


static void _vala_GgitStatusOptions_free (GgitStatusOptions* self) {
#line 207 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_boxed_free (ggit_status_options_get_type (), self);
#line 1142 "gitg-stage-status-enumerator.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return self ? g_object_ref (self) : NULL;
#line 1149 "gitg-stage-status-enumerator.c"
}


static GgitStatusOptions* _vala_GgitStatusOptions_copy (GgitStatusOptions* self) {
#line 228 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return g_boxed_copy (ggit_status_options_get_type (), self);
#line 1156 "gitg-stage-status-enumerator.c"
}


static gpointer __vala_GgitStatusOptions_copy0 (gpointer self) {
#line 228 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return self ? _vala_GgitStatusOptions_copy (self) : NULL;
#line 1163 "gitg-stage-status-enumerator.c"
}


static gint ___lambda8_ (GitgStageStatusEnumerator* self, GMatchInfo* match, const gchar* val) {
	gint result = 0;
	const gchar* _tmp0_ = NULL;
	GeeHashSet* _tmp1_ = NULL;
	GMatchInfo* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (match != NULL, 0);
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (val != NULL, 0);
#line 239 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = val;
#line 239 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (g_strcmp0 (_tmp0_, "true") != 0) {
#line 241 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		result = 0;
#line 241 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		return result;
#line 1186 "gitg-stage-status-enumerator.c"
	}
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = self->priv->d_ignored_submodules;
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp2_ = match;
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp3_ = g_match_info_fetch (_tmp2_, 1);
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp4_ = _tmp3_;
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp1_, _tmp4_);
#line 244 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_free0 (_tmp4_);
#line 245 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = 0;
#line 245 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 1204 "gitg-stage-status-enumerator.c"
}


static gint ____lambda8__ggit_config_match_callback (GMatchInfo* match_info, const gchar* value, gpointer self) {
	gint result;
	result = ___lambda8_ ((GitgStageStatusEnumerator*) self, match_info, value);
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 1213 "gitg-stage-status-enumerator.c"
}


static gpointer _gitg_stage_status_enumerator_run_status_gthread_func (gpointer self) {
	gpointer result;
	result = gitg_stage_status_enumerator_run_status ((GitgStageStatusEnumerator*) self);
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_unref (self);
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 1224 "gitg-stage-status-enumerator.c"
}


GitgStageStatusEnumerator* gitg_stage_status_enumerator_construct (GType object_type, GitgRepository* repository, GgitStatusOptions* options) {
	GitgStageStatusEnumerator * self = NULL;
	GitgRepository* _tmp0_ = NULL;
	GitgRepository* _tmp1_ = NULL;
	GgitStatusOptions* _tmp2_ = NULL;
	GgitStatusOptions* _tmp3_ = NULL;
	GitgStageStatusItem** _tmp4_ = NULL;
	gint _tmp5_ = 0;
	GCancellable* _tmp6_ = NULL;
	GError * _inner_error_ = NULL;
#line 224 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (repository != NULL, NULL);
#line 224 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = (GitgStageStatusEnumerator*) g_object_new (object_type, NULL);
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = repository;
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 227 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_repository = _tmp1_;
#line 228 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp2_ = options;
#line 228 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp3_ = __vala_GgitStatusOptions_copy0 (_tmp2_);
#line 228 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	__vala_GgitStatusOptions_free0 (self->priv->d_options);
#line 228 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_options = _tmp3_;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp4_ = g_new0 (GitgStageStatusItem*, 100 + 1);
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_items = (_vala_array_free (self->priv->d_items, self->priv->d_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_items = _tmp4_;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_items_length1 = 100;
#line 230 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->_d_items_size_ = self->priv->d_items_length1;
#line 231 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_items_length1 = 0;
#line 231 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp5_ = self->priv->d_items_length1;
#line 232 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp6_ = g_cancellable_new ();
#line 232 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 232 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_cancellable = _tmp6_;
#line 1278 "gitg-stage-status-enumerator.c"
	{
		GeeHashSet* _tmp7_ = NULL;
		GgitConfig* _tmp8_ = NULL;
		GitgRepository* _tmp9_ = NULL;
		GgitConfig* _tmp10_ = NULL;
		GgitConfig* _tmp11_ = NULL;
		GgitConfig* _tmp12_ = NULL;
		GRegex* _tmp13_ = NULL;
#line 236 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp7_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 236 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_object_unref0 (self->priv->d_ignored_submodules);
#line 236 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		self->priv->d_ignored_submodules = _tmp7_;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp9_ = repository;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp10_ = ggit_repository_get_config ((GgitRepository*) _tmp9_, &_inner_error_);
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp8_ = _tmp10_;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1301 "gitg-stage-status-enumerator.c"
			goto __catch75_g_error;
		}
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp11_ = _tmp8_;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp8_ = NULL;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp12_ = _tmp11_;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp13_ = gitg_stage_status_enumerator_s_ignore_regex;
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		ggit_config_match_foreach (_tmp12_, _tmp13_, ____lambda8__ggit_config_match_callback, self, &_inner_error_);
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_object_unref0 (_tmp12_);
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 238 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_g_object_unref0 (_tmp8_);
#line 1320 "gitg-stage-status-enumerator.c"
			goto __catch75_g_error;
		}
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_object_unref0 (_tmp8_);
#line 1325 "gitg-stage-status-enumerator.c"
	}
	goto __finally75;
	__catch75_g_error:
	{
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_inner_error_ = NULL;
#line 1334 "gitg-stage-status-enumerator.c"
	}
	__finally75:
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 234 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		return NULL;
#line 1345 "gitg-stage-status-enumerator.c"
	}
	{
		GThread* _tmp14_ = NULL;
		GThread* _tmp15_ = NULL;
		GThread* _tmp16_ = NULL;
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp15_ = g_thread_try_new ("gitg-status-enumerator", _gitg_stage_status_enumerator_run_status_gthread_func, g_object_ref (self), &_inner_error_);
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp14_ = _tmp15_;
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1357 "gitg-stage-status-enumerator.c"
			goto __catch76_g_error;
		}
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp16_ = _tmp14_;
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp14_ = NULL;
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_thread_unref0 (self->priv->d_thread);
#line 251 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		self->priv->d_thread = _tmp16_;
#line 249 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_thread_unref0 (_tmp14_);
#line 1370 "gitg-stage-status-enumerator.c"
	}
	goto __finally76;
	__catch76_g_error:
	{
#line 249 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 249 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_inner_error_ = NULL;
#line 1379 "gitg-stage-status-enumerator.c"
	}
	__finally76:
#line 249 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 249 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 249 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 249 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		return NULL;
#line 1390 "gitg-stage-status-enumerator.c"
	}
#line 224 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return self;
#line 1394 "gitg-stage-status-enumerator.c"
}


GitgStageStatusEnumerator* gitg_stage_status_enumerator_new (GitgRepository* repository, GgitStatusOptions* options) {
#line 224 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return gitg_stage_status_enumerator_construct (GITG_TYPE_STAGE_STATUS_ENUMERATOR, repository, options);
#line 1401 "gitg-stage-status-enumerator.c"
}


static gpointer _g_thread_ref0 (gpointer self) {
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return self ? g_thread_ref (self) : NULL;
#line 1408 "gitg-stage-status-enumerator.c"
}


void gitg_stage_status_enumerator_cancel (GitgStageStatusEnumerator* self) {
	GThread* _tmp4_ = NULL;
	GError * _inner_error_ = NULL;
#line 255 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_if_fail (self != NULL);
#line 1417 "gitg-stage-status-enumerator.c"
	{
		GitgStageStatusItem** _tmp0_ = NULL;
		gint _tmp0__length1 = 0;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = self->priv->d_items;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0__length1 = self->priv->d_items_length1;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_items);
#line 1427 "gitg-stage-status-enumerator.c"
		{
			GCancellable* _tmp1_ = NULL;
#line 259 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp1_ = self->priv->d_cancellable;
#line 259 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if (_tmp1_ != NULL) {
#line 1434 "gitg-stage-status-enumerator.c"
				GCancellable* _tmp2_ = NULL;
#line 261 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp2_ = self->priv->d_cancellable;
#line 261 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				g_cancellable_cancel (_tmp2_);
#line 1440 "gitg-stage-status-enumerator.c"
			}
		}
		__finally77:
		{
			GitgStageStatusItem** _tmp3_ = NULL;
			gint _tmp3__length1 = 0;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp3_ = self->priv->d_items;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp3__length1 = self->priv->d_items_length1;
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_items);
#line 1453 "gitg-stage-status-enumerator.c"
		}
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_clear_error (&_inner_error_);
#line 257 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			return;
#line 1463 "gitg-stage-status-enumerator.c"
		}
	}
#line 265 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp4_ = self->priv->d_thread;
#line 265 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (_tmp4_ != NULL) {
#line 1470 "gitg-stage-status-enumerator.c"
		GThread* _tmp5_ = NULL;
		GThread* _tmp6_ = NULL;
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp5_ = self->priv->d_thread;
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp6_ = _g_thread_ref0 (_tmp5_);
#line 267 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_thread_join (_tmp6_);
#line 268 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_thread_unref0 (self->priv->d_thread);
#line 268 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		self->priv->d_thread = NULL;
#line 1483 "gitg-stage-status-enumerator.c"
	}
}


static Block19Data* block19_data_ref (Block19Data* _data19_) {
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_atomic_int_inc (&_data19_->_ref_count_);
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return _data19_;
#line 1493 "gitg-stage-status-enumerator.c"
}


static void block19_data_unref (void * _userdata_) {
	Block19Data* _data19_;
	_data19_ = (Block19Data*) _userdata_;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (g_atomic_int_dec_and_test (&_data19_->_ref_count_)) {
#line 1502 "gitg-stage-status-enumerator.c"
		GitgStageStatusEnumerator* self;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		self = _data19_->self;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_object_unref0 (_data19_->submodule_paths);
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		(_data19_->add_target_destroy_notify == NULL) ? NULL : (_data19_->add_target_destroy_notify (_data19_->add_target), NULL);
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data19_->add = NULL;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data19_->add_target = NULL;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data19_->add_target_destroy_notify = NULL;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_object_unref0 (self);
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_slice_free (Block19Data, _data19_);
#line 1520 "gitg-stage-status-enumerator.c"
	}
}


static void _vala_array_add12 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value) {
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if ((*length) == (*size)) {
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 1532 "gitg-stage-status-enumerator.c"
	}
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	(*array)[(*length)++] = value;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	(*array)[*length] = NULL;
#line 1538 "gitg-stage-status-enumerator.c"
}


static void __lambda9_ (GitgStageStatusEnumerator* self, GitgStageStatusItem* item) {
	GError * _inner_error_ = NULL;
#line 276 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_if_fail (item != NULL);
#line 1546 "gitg-stage-status-enumerator.c"
	{
		GitgStageStatusItem** _tmp0_ = NULL;
		gint _tmp0__length1 = 0;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = self->priv->d_items;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0__length1 = self->priv->d_items_length1;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_items);
#line 1556 "gitg-stage-status-enumerator.c"
		{
			GitgStageStatusItem** _tmp1_ = NULL;
			gint _tmp1__length1 = 0;
			GitgStageStatusItem* _tmp2_ = NULL;
			GitgStageStatusItem* _tmp3_ = NULL;
			gboolean _tmp4_ = FALSE;
			gboolean _tmp5_ = FALSE;
			GSourceFunc _tmp6_ = NULL;
			void* _tmp6__target = NULL;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp1_ = self->priv->d_items;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp1__length1 = self->priv->d_items_length1;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp2_ = item;
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp3_ = _g_object_ref0 (_tmp2_);
#line 279 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_vala_array_add12 (&self->priv->d_items, &self->priv->d_items_length1, &self->priv->_d_items_size_, _tmp3_);
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp6_ = self->priv->d_callback;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp6__target = self->priv->d_callback_target;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if (_tmp6_ != NULL) {
#line 1582 "gitg-stage-status-enumerator.c"
				gint _tmp7_ = 0;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp7_ = self->priv->d_callback_num;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp5_ = _tmp7_ != (-1);
#line 1588 "gitg-stage-status-enumerator.c"
			} else {
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp5_ = FALSE;
#line 1592 "gitg-stage-status-enumerator.c"
			}
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if (_tmp5_) {
#line 1596 "gitg-stage-status-enumerator.c"
				GitgStageStatusItem** _tmp8_ = NULL;
				gint _tmp8__length1 = 0;
				gint _tmp9_ = 0;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp8_ = self->priv->d_items;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp8__length1 = self->priv->d_items_length1;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp9_ = self->priv->d_callback_num;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp4_ = _tmp8__length1 >= _tmp9_;
#line 1608 "gitg-stage-status-enumerator.c"
			} else {
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp4_ = FALSE;
#line 1612 "gitg-stage-status-enumerator.c"
			}
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if (_tmp4_) {
#line 1616 "gitg-stage-status-enumerator.c"
				GSourceFunc cb = NULL;
				GSourceFunc _tmp10_ = NULL;
				void* _tmp10__target = NULL;
				GDestroyNotify _tmp10__target_destroy_notify = NULL;
				void* cb_target = NULL;
				GDestroyNotify cb_target_destroy_notify = NULL;
				GSourceFunc _tmp11_ = NULL;
				void* _tmp11__target = NULL;
				GDestroyNotify _tmp11__target_destroy_notify = NULL;
#line 283 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp10_ = self->priv->d_callback;
#line 283 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp10__target = self->priv->d_callback_target;
#line 283 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp10__target_destroy_notify = self->priv->d_callback_target_destroy_notify;
#line 283 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target_destroy_notify = NULL;
#line 283 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb = _tmp10_;
#line 283 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target = _tmp10__target;
#line 283 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target_destroy_notify = _tmp10__target_destroy_notify;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				(self->priv->d_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_callback_target_destroy_notify (self->priv->d_callback_target), NULL);
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback = NULL;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target = NULL;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target_destroy_notify = NULL;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback = NULL;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target = NULL;
#line 284 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target_destroy_notify = NULL;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp11_ = cb;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp11__target = cb_target;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp11__target_destroy_notify = cb_target_destroy_notify;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target_destroy_notify = NULL;
#line 286 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _tmp11_, _tmp11__target, _tmp11__target_destroy_notify);
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				(cb_target_destroy_notify == NULL) ? NULL : (cb_target_destroy_notify (cb_target), NULL);
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb = NULL;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target = NULL;
#line 281 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target_destroy_notify = NULL;
#line 1672 "gitg-stage-status-enumerator.c"
			}
		}
		__finally78:
		{
			GitgStageStatusItem** _tmp12_ = NULL;
			gint _tmp12__length1 = 0;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp12_ = self->priv->d_items;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp12__length1 = self->priv->d_items_length1;
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_items);
#line 1685 "gitg-stage-status-enumerator.c"
		}
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_clear_error (&_inner_error_);
#line 277 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			return;
#line 1695 "gitg-stage-status-enumerator.c"
		}
	}
}


static void ___lambda9__gitg_stage_status_enumerator_add_item (GitgStageStatusItem* item, gpointer self) {
#line 276 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	__lambda9_ ((GitgStageStatusEnumerator*) self, item);
#line 1704 "gitg-stage-status-enumerator.c"
}


static gint ___lambda10_ (Block19Data* _data19_, GgitSubmodule* submodule) {
	GitgStageStatusEnumerator* self;
	gint result = 0;
	GgitSubmodule* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GeeHashSet* _tmp2_ = NULL;
	GgitSubmodule* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gint _tmp10_ = 0;
	GCancellable* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = _data19_->self;
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (submodule != NULL, 0);
#line 296 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = submodule;
#line 296 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = ggit_submodule_get_path (_tmp0_);
#line 296 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gee_abstract_collection_add ((GeeAbstractCollection*) _data19_->submodule_paths, _tmp1_);
#line 298 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp2_ = self->priv->d_ignored_submodules;
#line 298 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp3_ = submodule;
#line 298 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp4_ = ggit_submodule_get_name (_tmp3_);
#line 298 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp5_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp2_, _tmp4_);
#line 298 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (!_tmp5_) {
#line 1740 "gitg-stage-status-enumerator.c"
		GgitSubmodule* _tmp6_ = NULL;
		GgitSubmodule* _tmp7_ = NULL;
		GitgStageStatusSubmodule* _tmp8_ = NULL;
		GitgStageStatusSubmodule* _tmp9_ = NULL;
#line 300 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp6_ = submodule;
#line 300 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		ggit_submodule_set_ignore (_tmp6_, GGIT_SUBMODULE_IGNORE_UNTRACKED);
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp7_ = submodule;
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp8_ = gitg_stage_status_submodule_new (_tmp7_);
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp9_ = _tmp8_;
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data19_->add ((GitgStageStatusItem*) _tmp9_, _data19_->add_target);
#line 302 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_object_unref0 (_tmp9_);
#line 1759 "gitg-stage-status-enumerator.c"
	}
#line 305 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp11_ = self->priv->d_cancellable;
#line 305 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp12_ = g_cancellable_is_cancelled (_tmp11_);
#line 305 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (_tmp12_) {
#line 305 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp10_ = 1;
#line 1769 "gitg-stage-status-enumerator.c"
	} else {
#line 305 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp10_ = 0;
#line 1773 "gitg-stage-status-enumerator.c"
	}
#line 305 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp10_;
#line 305 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 1779 "gitg-stage-status-enumerator.c"
}


static gint ____lambda10__ggit_submodule_callback (GgitSubmodule* submodule, const gchar* name, gpointer self) {
	gint result;
	result = ___lambda10_ (self, submodule);
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 1788 "gitg-stage-status-enumerator.c"
}


static gint ___lambda11_ (Block19Data* _data19_, const gchar* path, GgitStatusFlags flags) {
	GitgStageStatusEnumerator* self;
	gint result = 0;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gint _tmp6_ = 0;
	GCancellable* _tmp7_ = NULL;
	gboolean _tmp8_ = FALSE;
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = _data19_->self;
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (path != NULL, 0);
#line 312 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = path;
#line 312 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _data19_->submodule_paths, _tmp0_);
#line 312 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (!_tmp1_) {
#line 1810 "gitg-stage-status-enumerator.c"
		const gchar* _tmp2_ = NULL;
		GgitStatusFlags _tmp3_ = 0;
		GitgStageStatusFile* _tmp4_ = NULL;
		GitgStageStatusFile* _tmp5_ = NULL;
#line 314 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp2_ = path;
#line 314 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp3_ = flags;
#line 314 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp4_ = gitg_stage_status_file_new (_tmp2_, _tmp3_);
#line 314 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp5_ = _tmp4_;
#line 314 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data19_->add ((GitgStageStatusItem*) _tmp5_, _data19_->add_target);
#line 314 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_object_unref0 (_tmp5_);
#line 1827 "gitg-stage-status-enumerator.c"
	}
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp7_ = self->priv->d_cancellable;
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp8_ = g_cancellable_is_cancelled (_tmp7_);
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (_tmp8_) {
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp6_ = 1;
#line 1837 "gitg-stage-status-enumerator.c"
	} else {
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp6_ = 0;
#line 1841 "gitg-stage-status-enumerator.c"
	}
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp6_;
#line 317 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 1847 "gitg-stage-status-enumerator.c"
}


static gint ____lambda11__ggit_status_callback (const gchar* path, GgitStatusFlags status_flags, gpointer self) {
	gint result;
	result = ___lambda11_ (self, path, status_flags);
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 1856 "gitg-stage-status-enumerator.c"
}


static void* gitg_stage_status_enumerator_run_status (GitgStageStatusEnumerator* self) {
	void* result = NULL;
	Block19Data* _data19_;
	GeeHashSet* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_ = g_slice_new0 (Block19Data);
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_->_ref_count_ = 1;
#line 274 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_->self = g_object_ref (self);
#line 276 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_->add = ___lambda9__gitg_stage_status_enumerator_add_item;
#line 276 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_->add_target = g_object_ref (self);
#line 276 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_->add_target_destroy_notify = g_object_unref;
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 291 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_->submodule_paths = _tmp0_;
#line 1883 "gitg-stage-status-enumerator.c"
	{
		GitgRepository* _tmp1_ = NULL;
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp1_ = self->priv->d_repository;
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		ggit_repository_submodule_foreach ((GgitRepository*) _tmp1_, ____lambda10__ggit_submodule_callback, _data19_, &_inner_error_);
#line 295 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1892 "gitg-stage-status-enumerator.c"
			goto __catch79_g_error;
		}
	}
	goto __finally79;
	__catch79_g_error:
	{
#line 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_inner_error_ = NULL;
#line 1903 "gitg-stage-status-enumerator.c"
	}
	__finally79:
#line 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		block19_data_unref (_data19_);
#line 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data19_ = NULL;
#line 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 293 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		return NULL;
#line 1918 "gitg-stage-status-enumerator.c"
	}
	{
		GitgRepository* _tmp2_ = NULL;
		GgitStatusOptions* _tmp3_ = NULL;
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp2_ = self->priv->d_repository;
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp3_ = self->priv->d_options;
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		ggit_repository_file_status_foreach ((GgitRepository*) _tmp2_, _tmp3_, ____lambda11__ggit_status_callback, _data19_, &_inner_error_);
#line 311 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1931 "gitg-stage-status-enumerator.c"
			goto __catch80_g_error;
		}
	}
	goto __finally80;
	__catch80_g_error:
	{
#line 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_inner_error_ = NULL;
#line 1942 "gitg-stage-status-enumerator.c"
	}
	__finally80:
#line 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		block19_data_unref (_data19_);
#line 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data19_ = NULL;
#line 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 309 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		return NULL;
#line 1957 "gitg-stage-status-enumerator.c"
	}
	{
		GitgStageStatusItem** _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp4_ = self->priv->d_items;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp4__length1 = self->priv->d_items_length1;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_rec_mutex_lock (&self->priv->__lock_d_items);
#line 1968 "gitg-stage-status-enumerator.c"
		{
			gboolean _tmp5_ = FALSE;
			GSourceFunc _tmp6_ = NULL;
			void* _tmp6__target = NULL;
#line 323 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_g_object_unref0 (self->priv->d_cancellable);
#line 323 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			self->priv->d_cancellable = NULL;
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp6_ = self->priv->d_callback;
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp6__target = self->priv->d_callback_target;
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if (_tmp6_ != NULL) {
#line 1983 "gitg-stage-status-enumerator.c"
				gint _tmp7_ = 0;
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp7_ = self->priv->d_callback_num;
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp5_ = _tmp7_ == (-1);
#line 1989 "gitg-stage-status-enumerator.c"
			} else {
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp5_ = FALSE;
#line 1993 "gitg-stage-status-enumerator.c"
			}
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if (_tmp5_) {
#line 1997 "gitg-stage-status-enumerator.c"
				GSourceFunc cb = NULL;
				GSourceFunc _tmp8_ = NULL;
				void* _tmp8__target = NULL;
				GDestroyNotify _tmp8__target_destroy_notify = NULL;
				void* cb_target = NULL;
				GDestroyNotify cb_target_destroy_notify = NULL;
				GSourceFunc _tmp9_ = NULL;
				void* _tmp9__target = NULL;
				GDestroyNotify _tmp9__target_destroy_notify = NULL;
#line 327 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp8_ = self->priv->d_callback;
#line 327 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp8__target = self->priv->d_callback_target;
#line 327 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp8__target_destroy_notify = self->priv->d_callback_target_destroy_notify;
#line 327 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target_destroy_notify = NULL;
#line 327 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb = _tmp8_;
#line 327 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target = _tmp8__target;
#line 327 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target_destroy_notify = _tmp8__target_destroy_notify;
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				(self->priv->d_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_callback_target_destroy_notify (self->priv->d_callback_target), NULL);
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback = NULL;
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target = NULL;
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target_destroy_notify = NULL;
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback = NULL;
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target = NULL;
#line 328 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				self->priv->d_callback_target_destroy_notify = NULL;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp9_ = cb;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp9__target = cb_target;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_tmp9__target_destroy_notify = cb_target_destroy_notify;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target_destroy_notify = NULL;
#line 330 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _tmp9_, _tmp9__target, _tmp9__target_destroy_notify);
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				(cb_target_destroy_notify == NULL) ? NULL : (cb_target_destroy_notify (cb_target), NULL);
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb = NULL;
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target = NULL;
#line 325 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				cb_target_destroy_notify = NULL;
#line 2053 "gitg-stage-status-enumerator.c"
			}
		}
		__finally81:
		{
			GitgStageStatusItem** _tmp10_ = NULL;
			gint _tmp10__length1 = 0;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp10_ = self->priv->d_items;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_tmp10__length1 = self->priv->d_items_length1;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_rec_mutex_unlock (&self->priv->__lock_d_items);
#line 2066 "gitg-stage-status-enumerator.c"
		}
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			block19_data_unref (_data19_);
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data19_ = NULL;
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_clear_error (&_inner_error_);
#line 321 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			return NULL;
#line 2080 "gitg-stage-status-enumerator.c"
		}
	}
#line 334 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = NULL;
#line 334 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	block19_data_unref (_data19_);
#line 334 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data19_ = NULL;
#line 334 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 2091 "gitg-stage-status-enumerator.c"
}


static void _vala_array_add13 (GitgStageStatusItem*** array, int* length, int* size, GitgStageStatusItem* value) {
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if ((*length) == (*size)) {
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		*array = g_renew (GitgStageStatusItem*, *array, (*size) + 1);
#line 2102 "gitg-stage-status-enumerator.c"
	}
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	(*array)[(*length)++] = value;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	(*array)[*length] = NULL;
#line 2108 "gitg-stage-status-enumerator.c"
}


static GitgStageStatusItem** gitg_stage_status_enumerator_fill_items (GitgStageStatusEnumerator* self, gint num, int* result_length1) {
	GitgStageStatusItem** result = NULL;
	gint n = 0;
	gint _tmp0_ = 0;
	GitgStageStatusItem** ret = NULL;
	gint _tmp3_ = 0;
	GitgStageStatusItem** _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	gint _tmp5_ = 0;
	gint _tmp6_ = 0;
	GitgStageStatusItem** _tmp7_ = NULL;
	gint ret_length1 = 0;
	gint _ret_size_ = 0;
	gint _tmp8_ = 0;
	GitgStageStatusItem** _tmp20_ = NULL;
	gint _tmp20__length1 = 0;
#line 337 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 339 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	n = 0;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = num;
#line 341 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (_tmp0_ == (-1)) {
#line 2136 "gitg-stage-status-enumerator.c"
		GitgStageStatusItem** _tmp1_ = NULL;
		gint _tmp1__length1 = 0;
		gint _tmp2_ = 0;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp1_ = self->priv->d_items;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp1__length1 = self->priv->d_items_length1;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp2_ = self->priv->d_offset;
#line 343 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		num = _tmp1__length1 - _tmp2_;
#line 2148 "gitg-stage-status-enumerator.c"
	}
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp3_ = num;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp4_ = self->priv->d_items;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp4__length1 = self->priv->d_items_length1;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp5_ = self->priv->d_offset;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp6_ = MIN (_tmp3_, _tmp4__length1 - _tmp5_);
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp7_ = g_new0 (GitgStageStatusItem*, _tmp6_ + 1);
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	ret = _tmp7_;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	ret_length1 = _tmp6_;
#line 346 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_ret_size_ = ret_length1;
#line 347 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	ret_length1 = 0;
#line 347 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp8_ = ret_length1;
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	while (TRUE) {
#line 2174 "gitg-stage-status-enumerator.c"
		gint _tmp9_ = 0;
		GitgStageStatusItem** _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
		gint _tmp11_ = 0;
		gint _tmp12_ = 0;
		GitgStageStatusItem** _tmp13_ = NULL;
		gint _tmp13__length1 = 0;
		GitgStageStatusItem** _tmp14_ = NULL;
		gint _tmp14__length1 = 0;
		gint _tmp15_ = 0;
		GitgStageStatusItem* _tmp16_ = NULL;
		GitgStageStatusItem* _tmp17_ = NULL;
		gint _tmp18_ = 0;
		gint _tmp19_ = 0;
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp9_ = self->priv->d_offset;
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp10_ = self->priv->d_items;
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp10__length1 = self->priv->d_items_length1;
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (!(_tmp9_ < _tmp10__length1)) {
#line 350 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			break;
#line 2199 "gitg-stage-status-enumerator.c"
		}
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp11_ = n;
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp12_ = num;
#line 352 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (_tmp11_ == _tmp12_) {
#line 354 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			break;
#line 2209 "gitg-stage-status-enumerator.c"
		}
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp13_ = ret;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp13__length1 = ret_length1;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp14_ = self->priv->d_items;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp14__length1 = self->priv->d_items_length1;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp15_ = self->priv->d_offset;
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp16_ = _tmp14_[_tmp15_];
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp17_ = _g_object_ref0 (_tmp16_);
#line 357 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_vala_array_add13 (&ret, &ret_length1, &_ret_size_, _tmp17_);
#line 358 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp18_ = self->priv->d_offset;
#line 358 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		self->priv->d_offset = _tmp18_ + 1;
#line 360 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp19_ = n;
#line 360 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		n = _tmp19_ + 1;
#line 2235 "gitg-stage-status-enumerator.c"
	}
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp20_ = ret;
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp20__length1 = ret_length1;
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (result_length1) {
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		*result_length1 = _tmp20__length1;
#line 2245 "gitg-stage-status-enumerator.c"
	}
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _tmp20_;
#line 363 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 2251 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_enumerator_next_items_data_free (gpointer _data) {
	GitgStageStatusEnumeratorNextItemsData* _data_;
	_data_ = _data;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->result = (_vala_array_free (_data_->result, _data_->result_length1, (GDestroyNotify) g_object_unref), NULL);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_object_unref0 (_data_->self);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_slice_free (GitgStageStatusEnumeratorNextItemsData, _data_);
#line 2264 "gitg-stage-status-enumerator.c"
}


void gitg_stage_status_enumerator_next_items (GitgStageStatusEnumerator* self, gint num, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgStageStatusEnumeratorNextItemsData* _data_;
	GitgStageStatusEnumerator* _tmp0_ = NULL;
	gint _tmp1_ = 0;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_ = g_slice_new0 (GitgStageStatusEnumeratorNextItemsData);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_stage_status_enumerator_next_items);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_stage_status_enumerator_next_items_data_free);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->self = _tmp0_;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_tmp1_ = num;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->num = _tmp1_;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gitg_stage_status_enumerator_next_items_co (_data_);
#line 2288 "gitg-stage-status-enumerator.c"
}


GitgStageStatusItem** gitg_stage_status_enumerator_next_items_finish (GitgStageStatusEnumerator* self, GAsyncResult* _res_, int* result_length1) {
	GitgStageStatusItem** result;
	GitgStageStatusEnumeratorNextItemsData* _data_;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	result = _data_->result;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	*result_length1 = _data_->result_length1;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->result = NULL;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 2305 "gitg-stage-status-enumerator.c"
}


static gboolean _gitg_stage_status_enumerator_next_items_co_gsource_func (gpointer self) {
	gboolean result;
	result = gitg_stage_status_enumerator_next_items_co (self);
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return result;
#line 2314 "gitg-stage-status-enumerator.c"
}


static gboolean gitg_stage_status_enumerator_next_items_co (GitgStageStatusEnumeratorNextItemsData* _data_) {
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	switch (_data_->_state_) {
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case 0:
#line 2323 "gitg-stage-status-enumerator.c"
		goto _state_0;
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		case 1:
#line 2327 "gitg-stage-status-enumerator.c"
		goto _state_1;
		default:
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_assert_not_reached ();
#line 2332 "gitg-stage-status-enumerator.c"
	}
	_state_0:
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target = NULL;
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target_destroy_notify = NULL;
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback = _gitg_stage_status_enumerator_next_items_co_gsource_func;
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target = _data_;
#line 368 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target_destroy_notify = NULL;
#line 369 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->ret_length1 = 0;
#line 369 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_ret_size_ = 0;
#line 2349 "gitg-stage-status-enumerator.c"
	{
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp0_ = NULL;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp0__length1 = 0;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp0_ = _data_->self->priv->d_items;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp0__length1 = _data_->self->priv->d_items_length1;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_rec_mutex_lock (&_data_->self->priv->__lock_d_items);
#line 2361 "gitg-stage-status-enumerator.c"
		{
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp1_ = NULL;
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp1_ = _data_->self->priv->d_cancellable;
#line 373 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			if (_data_->_tmp1_ == NULL) {
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp2_ = 0;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp2_ = _data_->num;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp3_ = 0;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp4_ = NULL;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp4_ = gitg_stage_status_enumerator_fill_items (_data_->self, _data_->_tmp2_, &_data_->_tmp3_);
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp5_ = NULL;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp5__length1 = 0;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp5_ = _data_->_tmp4_;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp5__length1 = _data_->_tmp3_;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->result_length1 = _data_->_tmp5__length1;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->result = _data_->_tmp5_;
#line 2391 "gitg-stage-status-enumerator.c"
				{
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
					_data_->_tmp6_ = NULL;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
					_data_->_tmp6__length1 = 0;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
					_data_->_tmp6_ = _data_->self->priv->d_items;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
					_data_->_tmp6__length1 = _data_->self->priv->d_items_length1;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
					g_rec_mutex_unlock (&_data_->self->priv->__lock_d_items);
#line 2403 "gitg-stage-status-enumerator.c"
				}
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->ret = (_vala_array_free (_data_->ret, _data_->ret_length1, (GDestroyNotify) g_object_unref), NULL);
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				(_data_->callback_target_destroy_notify == NULL) ? NULL : (_data_->callback_target_destroy_notify (_data_->callback_target), NULL);
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->callback = NULL;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->callback_target = NULL;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->callback_target_destroy_notify = NULL;
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				if (_data_->_state_ == 0) {
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
					g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2419 "gitg-stage-status-enumerator.c"
				} else {
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
					g_simple_async_result_complete (_data_->_async_result);
#line 2423 "gitg-stage-status-enumerator.c"
				}
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				g_object_unref (_data_->_async_result);
#line 376 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				return FALSE;
#line 2429 "gitg-stage-status-enumerator.c"
			} else {
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp7_ = NULL;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp7__target = NULL;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp7__target_destroy_notify = NULL;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp7_ = _data_->callback;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp7__target = _data_->callback_target;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp7__target_destroy_notify = _data_->callback_target_destroy_notify;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->callback_target_destroy_notify = NULL;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				(_data_->self->priv->d_callback_target_destroy_notify == NULL) ? NULL : (_data_->self->priv->d_callback_target_destroy_notify (_data_->self->priv->d_callback_target), NULL);
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->self->priv->d_callback = NULL;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->self->priv->d_callback_target = NULL;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->self->priv->d_callback_target_destroy_notify = NULL;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->self->priv->d_callback = _data_->_tmp7_;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->self->priv->d_callback_target = _data_->_tmp7__target;
#line 380 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->self->priv->d_callback_target_destroy_notify = _data_->_tmp7__target_destroy_notify;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp8_ = 0;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->_tmp8_ = _data_->num;
#line 381 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
				_data_->self->priv->d_callback_num = _data_->_tmp8_;
#line 2465 "gitg-stage-status-enumerator.c"
			}
		}
		__finally82:
		{
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp9_ = NULL;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp9__length1 = 0;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp9_ = _data_->self->priv->d_items;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp9__length1 = _data_->self->priv->d_items_length1;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_rec_mutex_unlock (&_data_->self->priv->__lock_d_items);
#line 2480 "gitg-stage-status-enumerator.c"
		}
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->ret = (_vala_array_free (_data_->ret, _data_->ret_length1, (GDestroyNotify) g_object_unref), NULL);
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			(_data_->callback_target_destroy_notify == NULL) ? NULL : (_data_->callback_target_destroy_notify (_data_->callback_target), NULL);
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->callback = NULL;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->callback_target = NULL;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->callback_target_destroy_notify = NULL;
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_clear_error (&_data_->_inner_error_);
#line 371 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			return FALSE;
#line 2500 "gitg-stage-status-enumerator.c"
		}
	}
#line 385 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_state_ = 1;
#line 385 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return FALSE;
#line 2507 "gitg-stage-status-enumerator.c"
	_state_1:
	;
	{
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp10_ = NULL;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp10__length1 = 0;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp10_ = _data_->self->priv->d_items;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_data_->_tmp10__length1 = _data_->self->priv->d_items_length1;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_rec_mutex_lock (&_data_->self->priv->__lock_d_items);
#line 2521 "gitg-stage-status-enumerator.c"
		{
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp11_ = 0;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp11_ = _data_->num;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp12_ = 0;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp13_ = NULL;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp13_ = gitg_stage_status_enumerator_fill_items (_data_->self, _data_->_tmp11_, &_data_->_tmp12_);
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->ret = (_vala_array_free (_data_->ret, _data_->ret_length1, (GDestroyNotify) g_object_unref), NULL);
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->ret = _data_->_tmp13_;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->ret_length1 = _data_->_tmp12_;
#line 389 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_ret_size_ = _data_->ret_length1;
#line 2541 "gitg-stage-status-enumerator.c"
		}
		__finally83:
		{
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp14_ = NULL;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp14__length1 = 0;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp14_ = _data_->self->priv->d_items;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->_tmp14__length1 = _data_->self->priv->d_items_length1;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_rec_mutex_unlock (&_data_->self->priv->__lock_d_items);
#line 2555 "gitg-stage-status-enumerator.c"
		}
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->ret = (_vala_array_free (_data_->ret, _data_->ret_length1, (GDestroyNotify) g_object_unref), NULL);
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			(_data_->callback_target_destroy_notify == NULL) ? NULL : (_data_->callback_target_destroy_notify (_data_->callback_target), NULL);
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->callback = NULL;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->callback_target = NULL;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			_data_->callback_target_destroy_notify = NULL;
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			g_clear_error (&_data_->_inner_error_);
#line 387 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
			return FALSE;
#line 2575 "gitg-stage-status-enumerator.c"
		}
	}
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp15_ = NULL;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp15__length1 = 0;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp15_ = _data_->ret;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp15__length1 = _data_->ret_length1;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp16_ = 0;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp16_ = _data_->num;
#line 392 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (_data_->_tmp15__length1 != _data_->_tmp16_) {
#line 394 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		gitg_stage_status_enumerator_cancel (_data_->self);
#line 2594 "gitg-stage-status-enumerator.c"
	}
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp17_ = NULL;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp17__length1 = 0;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp17_ = _data_->ret;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->_tmp17__length1 = _data_->ret_length1;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->result_length1 = _data_->_tmp17__length1;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->result = _data_->_tmp17_;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	(_data_->callback_target_destroy_notify == NULL) ? NULL : (_data_->callback_target_destroy_notify (_data_->callback_target), NULL);
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback = NULL;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target = NULL;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target_destroy_notify = NULL;
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (_data_->_state_ == 0) {
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2620 "gitg-stage-status-enumerator.c"
	} else {
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2624 "gitg-stage-status-enumerator.c"
	}
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_unref (_data_->_async_result);
#line 397 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return FALSE;
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->ret = (_vala_array_free (_data_->ret, _data_->ret_length1, (GDestroyNotify) g_object_unref), NULL);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	(_data_->callback_target_destroy_notify == NULL) ? NULL : (_data_->callback_target_destroy_notify (_data_->callback_target), NULL);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback = NULL;
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target = NULL;
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_data_->callback_target_destroy_notify = NULL;
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (_data_->_state_ == 0) {
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2644 "gitg-stage-status-enumerator.c"
	} else {
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2648 "gitg-stage-status-enumerator.c"
	}
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_object_unref (_data_->_async_result);
#line 366 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	return FALSE;
#line 2654 "gitg-stage-status-enumerator.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1314 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1315 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = self;
#line 1315 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 2666 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_enumerator_class_init (GitgStageStatusEnumeratorClass * klass) {
	GError * _inner_error_ = NULL;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	gitg_stage_status_enumerator_parent_class = g_type_class_peek_parent (klass);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_type_class_add_private (klass, sizeof (GitgStageStatusEnumeratorPrivate));
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_stage_status_enumerator_finalize;
#line 2678 "gitg-stage-status-enumerator.c"
	{
		GRegex* _tmp0_ = NULL;
		GRegex* _tmp1_ = NULL;
		GRegex* _tmp2_ = NULL;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp1_ = g_regex_new ("submodule\\.(.*)\\.gitgignore", 0, 0, &_inner_error_);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = _tmp1_;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2689 "gitg-stage-status-enumerator.c"
			goto __catch84_g_error;
		}
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp2_ = _tmp0_;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp0_ = NULL;
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_regex_unref0 (gitg_stage_status_enumerator_s_ignore_regex);
#line 216 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		gitg_stage_status_enumerator_s_ignore_regex = _tmp2_;
#line 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_regex_unref0 (_tmp0_);
#line 2702 "gitg-stage-status-enumerator.c"
	}
	goto __finally84;
	__catch84_g_error:
	{
		GError* e = NULL;
		FILE* _tmp3_ = NULL;
		GError* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
#line 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		e = _inner_error_;
#line 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_inner_error_ = NULL;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp3_ = stderr;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp4_ = e;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp5_ = _tmp4_->message;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp6_ = string_to_string (_tmp5_);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp7_ = g_strconcat ("Failed to compile stage status enumerator regex: ", _tmp6_, "\n", NULL);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_tmp8_ = _tmp7_;
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		fprintf (_tmp3_, "%s", _tmp8_);
#line 220 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_free0 (_tmp8_);
#line 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		_g_error_free0 (e);
#line 2736 "gitg-stage-status-enumerator.c"
	}
	__finally84:
#line 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.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 214 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
		g_clear_error (&_inner_error_);
#line 2745 "gitg-stage-status-enumerator.c"
	}
}


static void gitg_stage_status_enumerator_instance_init (GitgStageStatusEnumerator * self) {
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv = GITG_STAGE_STATUS_ENUMERATOR_GET_PRIVATE (self);
#line 202 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_rec_mutex_init (&self->priv->__lock_d_items);
#line 2755 "gitg-stage-status-enumerator.c"
}


static void gitg_stage_status_enumerator_finalize (GObject* obj) {
	GitgStageStatusEnumerator * self;
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_STAGE_STATUS_ENUMERATOR, GitgStageStatusEnumerator);
#line 200 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 201 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_thread_unref0 (self->priv->d_thread);
#line 202 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	g_rec_mutex_clear (&self->priv->__lock_d_items);
#line 202 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_items = (_vala_array_free (self->priv->d_items, self->priv->d_items_length1, (GDestroyNotify) g_object_unref), NULL);
#line 205 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_object_unref0 (self->priv->d_cancellable);
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	(self->priv->d_callback_target_destroy_notify == NULL) ? NULL : (self->priv->d_callback_target_destroy_notify (self->priv->d_callback_target), NULL);
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_callback = NULL;
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_callback_target = NULL;
#line 206 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	self->priv->d_callback_target_destroy_notify = NULL;
#line 207 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	__vala_GgitStatusOptions_free0 (self->priv->d_options);
#line 208 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	_g_object_unref0 (self->priv->d_ignored_submodules);
#line 198 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-stage-status-enumerator.vala"
	G_OBJECT_CLASS (gitg_stage_status_enumerator_parent_class)->finalize (obj);
#line 2787 "gitg-stage-status-enumerator.c"
}


GType gitg_stage_status_enumerator_get_type (void) {
	static volatile gsize gitg_stage_status_enumerator_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_stage_status_enumerator_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgStageStatusEnumeratorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_stage_status_enumerator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgStageStatusEnumerator), 0, (GInstanceInitFunc) gitg_stage_status_enumerator_instance_init, NULL };
		GType gitg_stage_status_enumerator_type_id;
		gitg_stage_status_enumerator_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgStageStatusEnumerator", &g_define_type_info, 0);
		g_once_init_leave (&gitg_stage_status_enumerator_type_id__volatile, gitg_stage_status_enumerator_type_id);
	}
	return gitg_stage_status_enumerator_type_id__volatile;
}


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);
}



