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

/*
 * This file is part of gitg
 *
 * Copyright (C) 2015 - 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 "libgitg-ext/libgitg-ext.h"
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <gio/gio.h>
#include <libgit2-glib/ggit.h>
#include "libgitg/libgitg.h"
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>


#define GITG_TYPE_ACTION_SUPPORT (gitg_action_support_get_type ())
#define GITG_ACTION_SUPPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_ACTION_SUPPORT, GitgActionSupport))
#define GITG_ACTION_SUPPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_ACTION_SUPPORT, GitgActionSupportClass))
#define GITG_IS_ACTION_SUPPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_ACTION_SUPPORT))
#define GITG_IS_ACTION_SUPPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_ACTION_SUPPORT))
#define GITG_ACTION_SUPPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_ACTION_SUPPORT, GitgActionSupportClass))

typedef struct _GitgActionSupport GitgActionSupport;
typedef struct _GitgActionSupportClass GitgActionSupportClass;
typedef struct _GitgActionSupportPrivate GitgActionSupportPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block30Data Block30Data;
#define __vala_GgitStatusOptions_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitStatusOptions_free (var), NULL)))
typedef struct _GitgActionSupportWorkingDirectoryDirtyData GitgActionSupportWorkingDirectoryDirtyData;

#define GITG_TYPE_SIMPLE_NOTIFICATION (gitg_simple_notification_get_type ())
#define GITG_SIMPLE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotification))
#define GITG_SIMPLE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotificationClass))
#define GITG_IS_SIMPLE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_SIMPLE_NOTIFICATION))
#define GITG_IS_SIMPLE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_SIMPLE_NOTIFICATION))
#define GITG_SIMPLE_NOTIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_SIMPLE_NOTIFICATION, GitgSimpleNotificationClass))

typedef struct _GitgSimpleNotification GitgSimpleNotification;
typedef struct _GitgSimpleNotificationClass GitgSimpleNotificationClass;
typedef struct _Block31Data Block31Data;
#define _g_free0(var) (var = (g_free (var), NULL))
#define __vala_GgitOId_free0(var) ((var == NULL) ? NULL : (var = (_vala_GgitOId_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _GitgActionSupportSaveStashData GitgActionSupportSaveStashData;
typedef struct _GitgActionSupportStashIfNeededData GitgActionSupportStashIfNeededData;
typedef struct _Block32Data Block32Data;

#define GITG_TYPE_REF_ACTION_CHECKOUT (gitg_ref_action_checkout_get_type ())
#define GITG_REF_ACTION_CHECKOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REF_ACTION_CHECKOUT, GitgRefActionCheckout))
#define GITG_REF_ACTION_CHECKOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REF_ACTION_CHECKOUT, GitgRefActionCheckoutClass))
#define GITG_IS_REF_ACTION_CHECKOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REF_ACTION_CHECKOUT))
#define GITG_IS_REF_ACTION_CHECKOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REF_ACTION_CHECKOUT))
#define GITG_REF_ACTION_CHECKOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REF_ACTION_CHECKOUT, GitgRefActionCheckoutClass))

typedef struct _GitgRefActionCheckout GitgRefActionCheckout;
typedef struct _GitgRefActionCheckoutClass GitgRefActionCheckoutClass;
typedef struct _GitgActionSupportCheckoutConflictsData GitgActionSupportCheckoutConflictsData;
typedef struct _Block33Data Block33Data;
typedef struct _GitgActionSupportCommitIndexData GitgActionSupportCommitIndexData;

struct _GitgActionSupport {
	GObject parent_instance;
	GitgActionSupportPrivate * priv;
};

struct _GitgActionSupportClass {
	GObjectClass parent_class;
};

struct _GitgActionSupportPrivate {
	GitgExtApplication* _application;
	GitgExtRefActionInterface* _action_interface;
};

struct _Block30Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitStatusOptions* options;
	gboolean is_dirty;
	gpointer _async_data_;
};

struct _GitgActionSupportWorkingDirectoryDirtyData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgActionSupport* self;
	gboolean result;
	Block30Data* _data30_;
	GgitStatusOptions* _tmp0_;
};

struct _Block31Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitSignature* committer;
	GitgRef* head;
	gpointer _async_data_;
};

struct _GitgActionSupportSaveStashData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* head;
	gboolean result;
	Block31Data* _data31_;
	GitgRef* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GitgExtApplication* _tmp3_;
	GgitSignature* _tmp4_;
	GgitSignature* _tmp5_;
	GgitSignature* _tmp6_;
	GError* err;
	GitgSimpleNotification* _tmp7_;
	const gchar* _tmp8_;
	GError* _tmp9_;
	const gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GError * _inner_error_;
};

struct _GitgActionSupportStashIfNeededData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* head;
	gboolean result;
	gboolean _tmp0_;
	GitgExtUserQuery* q;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	GitgExtUserQuery* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgExtApplication* _tmp8_;
	GitgExtUserQuery* _tmp9_;
	GtkResponseType _tmp10_;
	gboolean _tmp11_;
	GitgSimpleNotification* _tmp12_;
	const gchar* _tmp13_;
	GitgSimpleNotification* _tmp14_;
	GitgRef* _tmp15_;
	gboolean _tmp16_;
};

struct _Block32Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitIndex* index;
	gpointer _async_data_;
};

struct _GitgActionSupportCheckoutConflictsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* reference;
	GgitIndex* index;
	GitgRef* head;
	gboolean result;
	Block32Data* _data32_;
	GgitIndex* _tmp0_;
	GitgSimpleNotification* _tmp1_;
	GitgRef* _tmp2_;
	gboolean _tmp3_;
	GitgRef* _tmp4_;
	GitgRefActionCheckout* checkout;
	GitgExtApplication* _tmp5_;
	GitgExtApplication* _tmp6_;
	GitgExtApplication* _tmp7_;
	GitgExtRefActionInterface* _tmp8_;
	GitgExtRefActionInterface* _tmp9_;
	GitgExtRefActionInterface* _tmp10_;
	GitgRef* _tmp11_;
	GitgRefActionCheckout* _tmp12_;
	GitgRefActionCheckout* _tmp13_;
	GitgRefActionCheckout* _tmp14_;
	gboolean _tmp15_;
	GitgSimpleNotification* _tmp16_;
	const gchar* _tmp17_;
	GError* err;
	GitgSimpleNotification* _tmp18_;
	const gchar* _tmp19_;
	GError* _tmp20_;
	const gchar* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	GError * _inner_error_;
};

struct _Block33Data {
	int _ref_count_;
	GitgActionSupport* self;
	GgitOId* oid;
	GgitTree* head_tree;
	gpointer _async_data_;
};

struct _GitgActionSupportCommitIndexData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	GitgActionSupport* self;
	GitgSimpleNotification* notification;
	GitgRef* reference;
	GgitIndex* index;
	GgitOId** parents;
	gint parents_length1;
	GgitSignature* author;
	gchar* message;
	GgitOId* result;
	Block33Data* _data33_;
	GgitSignature* committer;
	GitgExtApplication* _tmp0_;
	GitgExtApplication* _tmp1_;
	GitgExtApplication* _tmp2_;
	GgitSignature* _tmp3_;
	GgitSignature* _tmp4_;
	GgitSignature* _tmp5_;
	GitgSimpleNotification* _tmp6_;
	const gchar* _tmp7_;
	GgitSignature* _tmp8_;
	GgitSignature* _tmp9_;
	GitgStage* stage;
	GitgExtApplication* _tmp11_;
	GitgExtApplication* _tmp12_;
	GitgExtApplication* _tmp13_;
	GitgRepository* _tmp14_;
	GitgRepository* _tmp15_;
	GitgRepository* _tmp16_;
	GitgStage* _tmp17_;
	GitgStage* _tmp18_;
	GitgStage* _tmp19_;
	GitgRef* head;
	gboolean ishead;
	GitgRef* _tmp20_;
	gboolean _tmp21_;
	GitgCommit* commit;
	GgitObject* _tmp22_;
	GitgRef* _tmp23_;
	GgitObject* _tmp24_;
	GgitObject* _tmp25_;
	GitgCommit* _tmp26_;
	GError* e;
	GitgSimpleNotification* _tmp27_;
	const gchar* _tmp28_;
	GError* _tmp29_;
	const gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	gboolean _tmp33_;
	GitgSimpleNotification* _tmp34_;
	GitgRef* _tmp35_;
	gboolean _tmp36_;
	GitgCommit* _tmp37_;
	GgitTree* _tmp38_;
	GgitOId** _tmp39_;
	gint _tmp39__length1;
	GitgCommit* _tmp40_;
	GgitOId* _tmp41_;
	GgitOId** _tmp42_;
	GitgRef* _tmp43_;
	gboolean _tmp44_;
	GitgRef* _tmp45_;
	GitgRef* _tmp46_;
	GgitOId* _tmp47_;
	GitgStage* _tmp48_;
	GgitIndex* _tmp49_;
	const gchar* _tmp50_;
	GgitSignature* _tmp51_;
	GgitSignature* _tmp52_;
	GgitOId** _tmp53_;
	gint _tmp53__length1;
	GgitOId* _tmp54_;
	GgitOId* _tmp55_;
	GError* _vala1_e;
	GitgSimpleNotification* _tmp56_;
	const gchar* _tmp57_;
	GError* _tmp58_;
	const gchar* _tmp59_;
	gchar* _tmp60_;
	gchar* _tmp61_;
	gboolean _tmp62_;
	GError* _vala2_e;
	GitgSimpleNotification* _tmp63_;
	const gchar* _tmp64_;
	GError* _tmp65_;
	const gchar* _tmp66_;
	gchar* _tmp67_;
	gchar* _tmp68_;
	GgitOId* _tmp69_;
	GgitOId* _tmp70_;
	GError * _inner_error_;
};


static gpointer gitg_action_support_parent_class = NULL;

GType gitg_action_support_get_type (void) G_GNUC_CONST;
#define GITG_ACTION_SUPPORT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_ACTION_SUPPORT, GitgActionSupportPrivate))
enum  {
	GITG_ACTION_SUPPORT_DUMMY_PROPERTY,
	GITG_ACTION_SUPPORT_APPLICATION,
	GITG_ACTION_SUPPORT_ACTION_INTERFACE
};
#define GITG_ACTION_SUPPORT_version VERSION
GitgActionSupport* gitg_action_support_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface);
GitgActionSupport* gitg_action_support_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface);
static void gitg_action_support_working_directory_dirty_data_free (gpointer _data);
void gitg_action_support_working_directory_dirty (GitgActionSupport* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_working_directory_dirty_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_working_directory_dirty_co (GitgActionSupportWorkingDirectoryDirtyData* _data_);
static Block30Data* block30_data_ref (Block30Data* _data30_);
static void _vala_GgitStatusOptions_free (GgitStatusOptions* self);
static void block30_data_unref (void * _userdata_);
static void __lambda66_ (Block30Data* _data30_, GError** error);
GitgExtApplication* gitg_action_support_get_application (GitgActionSupport* self);
static gint __lambda67_ (Block30Data* _data30_, const gchar* path, GgitStatusFlags flags);
static gint ___lambda67__ggit_status_callback (const gchar* path, GgitStatusFlags status_flags, gpointer self);
static void ___lambda66__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_action_support_working_directory_dirty_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_action_support_save_stash_data_free (gpointer _data);
GType gitg_simple_notification_get_type (void) G_GNUC_CONST;
void gitg_action_support_save_stash (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_save_stash_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_save_stash_co (GitgActionSupportSaveStashData* _data_);
static Block31Data* block31_data_ref (Block31Data* _data31_);
static void block31_data_unref (void * _userdata_);
static void ___lambda68_ (Block31Data* _data31_, GError** error);
static void _vala_GgitOId_free (GgitOId* self);
static void ____lambda68__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_action_support_save_stash_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void gitg_simple_notification_error (GitgSimpleNotification* self, const gchar* message);
gboolean gitg_action_support_reference_is_head (GitgActionSupport* self, GitgRef* reference, GitgRef** head);
static void gitg_action_support_stash_if_needed_data_free (gpointer _data);
void gitg_action_support_stash_if_needed (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_stash_if_needed_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_stash_if_needed_co (GitgActionSupportStashIfNeededData* _data_);
static void gitg_action_support_stash_if_needed_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void gitg_action_support_checkout_conflicts_data_free (gpointer _data);
void gitg_action_support_checkout_conflicts (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* reference, GgitIndex* index, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_action_support_checkout_conflicts_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_checkout_conflicts_co (GitgActionSupportCheckoutConflictsData* _data_);
static Block32Data* block32_data_ref (Block32Data* _data32_);
static void block32_data_unref (void * _userdata_);
static void gitg_action_support_checkout_conflicts_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GType gitg_ref_action_checkout_get_type (void) G_GNUC_CONST;
GitgExtRefActionInterface* gitg_action_support_get_action_interface (GitgActionSupport* self);
GitgRefActionCheckout* gitg_ref_action_checkout_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
GitgRefActionCheckout* gitg_ref_action_checkout_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface, GitgRef* reference);
void gitg_ref_action_checkout_checkout (GitgRefActionCheckout* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gitg_ref_action_checkout_checkout_finish (GitgRefActionCheckout* self, GAsyncResult* _res_);
static void ___lambda76_ (Block32Data* _data32_, GError** error);
static void ____lambda76__gitg_async_thread_func (gpointer self, GError** error);
static void gitg_action_support_commit_index_data_free (gpointer _data);
void gitg_action_support_commit_index (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* reference, GgitIndex* index, GgitOId** parents, int parents_length1, GgitSignature* author, const gchar* message, GAsyncReadyCallback _callback_, gpointer _user_data_);
GgitOId* gitg_action_support_commit_index_finish (GitgActionSupport* self, GAsyncResult* _res_);
static gboolean gitg_action_support_commit_index_co (GitgActionSupportCommitIndexData* _data_);
static Block33Data* block33_data_ref (Block33Data* _data33_);
static void block33_data_unref (void * _userdata_);
static void gitg_action_support_commit_index_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void ____lambda77_ (Block33Data* _data33_, GError** error);
static void _____lambda77__gitg_async_thread_func (gpointer self, GError** error);
static GgitOId* _vala_GgitOId_copy (GgitOId* self);
void gitg_action_support_set_application (GitgActionSupport* self, GitgExtApplication* value);
void gitg_action_support_set_action_interface (GitgActionSupport* self, GitgExtRefActionInterface* value);
static void gitg_action_support_finalize (GObject* obj);
static void _vala_gitg_action_support_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_action_support_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);


GitgActionSupport* gitg_action_support_construct (GType object_type, GitgExtApplication* application, GitgExtRefActionInterface* action_interface) {
	GitgActionSupport * self = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtRefActionInterface* _tmp1_ = NULL;
#line 31 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 31 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_val_if_fail (action_interface != NULL, NULL);
#line 33 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = application;
#line 33 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = action_interface;
#line 33 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self = (GitgActionSupport*) g_object_new (object_type, "application", _tmp0_, "action-interface", _tmp1_, NULL);
#line 31 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return self;
#line 427 "gitg-action-support.c"
}


GitgActionSupport* gitg_action_support_new (GitgExtApplication* application, GitgExtRefActionInterface* action_interface) {
#line 31 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return gitg_action_support_construct (GITG_TYPE_ACTION_SUPPORT, application, action_interface);
#line 434 "gitg-action-support.c"
}


static void gitg_action_support_working_directory_dirty_data_free (gpointer _data) {
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportWorkingDirectoryDirtyData, _data_);
#line 445 "gitg-action-support.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return self ? g_object_ref (self) : NULL;
#line 452 "gitg-action-support.c"
}


void gitg_action_support_working_directory_dirty (GitgActionSupport* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
	GitgActionSupport* _tmp0_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportWorkingDirectoryDirtyData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_action_support_working_directory_dirty);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_action_support_working_directory_dirty_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_working_directory_dirty_co (_data_);
#line 471 "gitg-action-support.c"
}


gboolean gitg_action_support_working_directory_dirty_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 484 "gitg-action-support.c"
}


static Block30Data* block30_data_ref (Block30Data* _data30_) {
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data30_->_ref_count_);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return _data30_;
#line 493 "gitg-action-support.c"
}


static void _vala_GgitStatusOptions_free (GgitStatusOptions* self) {
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_boxed_free (ggit_status_options_get_type (), self);
#line 500 "gitg-action-support.c"
}


static void block30_data_unref (void * _userdata_) {
	Block30Data* _data30_;
	_data30_ = (Block30Data*) _userdata_;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data30_->_ref_count_)) {
#line 509 "gitg-action-support.c"
		GitgActionSupport* self;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		self = _data30_->self;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		__vala_GgitStatusOptions_free0 (_data30_->options);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_slice_free (Block30Data, _data30_);
#line 519 "gitg-action-support.c"
	}
}


static gint __lambda67_ (Block30Data* _data30_, const gchar* path, GgitStatusFlags flags) {
	GitgActionSupport* self;
	gint result = 0;
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self = _data30_->self;
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_val_if_fail (path != NULL, 0);
#line 45 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data30_->is_dirty = TRUE;
#line 46 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = -1;
#line 46 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 537 "gitg-action-support.c"
}


static gint ___lambda67__ggit_status_callback (const gchar* path, GgitStatusFlags status_flags, gpointer self) {
	gint result;
	result = __lambda67_ (self, path, status_flags);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 546 "gitg-action-support.c"
}


static void __lambda66_ (Block30Data* _data30_, GError** error) {
	GitgActionSupport* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GError * _inner_error_ = NULL;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self = _data30_->self;
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = gitg_action_support_get_application (self);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = _tmp0_;
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = _tmp1_;
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp4_ = _tmp3_;
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp5_ = _tmp4_;
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	ggit_repository_file_status_foreach ((GgitRepository*) _tmp5_, _data30_->options, ___lambda67__ggit_status_callback, _data30_, &_inner_error_);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp5_);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp2_);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return;
#line 585 "gitg-action-support.c"
	}
}


static void ___lambda66__gitg_async_thread_func (gpointer self, GError** error) {
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	__lambda66_ (self, error);
#line 593 "gitg-action-support.c"
}


static void gitg_action_support_working_directory_dirty_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportWorkingDirectoryDirtyData* _data_;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_working_directory_dirty_co (_data_);
#line 607 "gitg-action-support.c"
}


static gboolean gitg_action_support_working_directory_dirty_co (GitgActionSupportWorkingDirectoryDirtyData* _data_) {
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 0:
#line 616 "gitg-action-support.c"
		goto _state_0;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 1:
#line 620 "gitg-action-support.c"
		goto _state_1;
		default:
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 625 "gitg-action-support.c"
	}
	_state_0:
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_ = g_slice_new0 (Block30Data);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_->_ref_count_ = 1;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_->self = g_object_ref (_data_->self);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_->_async_data_ = _data_;
#line 38 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = NULL;
#line 38 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = ggit_status_options_new (GGIT_STATUS_OPTION_EXCLUDE_SUBMODULES, GGIT_STATUS_SHOW_WORKDIR_ONLY, NULL);
#line 38 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_->options = _data_->_tmp0_;
#line 41 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_->is_dirty = FALSE;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_state_ = 1;
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_async_thread_try (___lambda66__gitg_async_thread_func, _data_->_data30_, gitg_action_support_working_directory_dirty_ready, _data_);
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 650 "gitg-action-support.c"
	_state_1:
#line 43 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_async_thread_try_finish (_data_->_res_);
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->result = _data_->_data30_->is_dirty;
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block30_data_unref (_data_->_data30_);
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_ = NULL;
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 664 "gitg-action-support.c"
	} else {
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 668 "gitg-action-support.c"
	}
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 50 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block30_data_unref (_data_->_data30_);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data30_ = NULL;
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 682 "gitg-action-support.c"
	} else {
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 686 "gitg-action-support.c"
	}
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 36 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 692 "gitg-action-support.c"
}


static void gitg_action_support_save_stash_data_free (gpointer _data) {
	GitgActionSupportSaveStashData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportSaveStashData, _data_);
#line 705 "gitg-action-support.c"
}


void gitg_action_support_save_stash (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportSaveStashData* _data_;
	GitgActionSupport* _tmp0_ = NULL;
	GitgSimpleNotification* _tmp1_ = NULL;
	GitgSimpleNotification* _tmp2_ = NULL;
	GitgRef* _tmp3_ = NULL;
	GitgRef* _tmp4_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportSaveStashData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_action_support_save_stash);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_action_support_save_stash_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp3_ = head;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->head = _tmp4_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_save_stash_co (_data_);
#line 744 "gitg-action-support.c"
}


gboolean gitg_action_support_save_stash_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportSaveStashData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 757 "gitg-action-support.c"
}


static Block31Data* block31_data_ref (Block31Data* _data31_) {
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data31_->_ref_count_);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return _data31_;
#line 766 "gitg-action-support.c"
}


static void block31_data_unref (void * _userdata_) {
	Block31Data* _data31_;
	_data31_ = (Block31Data*) _userdata_;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data31_->_ref_count_)) {
#line 775 "gitg-action-support.c"
		GitgActionSupport* self;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		self = _data31_->self;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data31_->committer);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data31_->head);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_slice_free (Block31Data, _data31_);
#line 787 "gitg-action-support.c"
	}
}


static gchar* string_slice (const gchar* self, glong start, glong end) {
	gchar* result = NULL;
	glong string_length = 0L;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	glong _tmp2_ = 0L;
	glong _tmp5_ = 0L;
	gboolean _tmp8_ = FALSE;
	glong _tmp9_ = 0L;
	gboolean _tmp12_ = FALSE;
	glong _tmp13_ = 0L;
	glong _tmp16_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	gchar* _tmp21_ = NULL;
#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 821 "gitg-action-support.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 830 "gitg-action-support.c"
	}
#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 836 "gitg-action-support.c"
		glong _tmp6_ = 0L;
		glong _tmp7_ = 0L;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 845 "gitg-action-support.c"
	}
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 851 "gitg-action-support.c"
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 860 "gitg-action-support.c"
	} else {
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 864 "gitg-action-support.c"
	}
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 872 "gitg-action-support.c"
		glong _tmp14_ = 0L;
		glong _tmp15_ = 0L;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 881 "gitg-action-support.c"
	} else {
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 885 "gitg-action-support.c"
	}
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 907 "gitg-action-support.c"
}


static void _vala_GgitOId_free (GgitOId* self) {
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_boxed_free (ggit_oid_get_type (), self);
#line 914 "gitg-action-support.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1412 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	result = self;
#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
	return result;
#line 926 "gitg-action-support.c"
}


static void ___lambda68_ (Block31Data* _data31_, GError** error) {
	GitgActionSupport* self;
	gchar* message = NULL;
	GitgRef* _tmp0_ = NULL;
	GitgExtApplication* _tmp39_ = NULL;
	GitgExtApplication* _tmp40_ = NULL;
	GitgExtApplication* _tmp41_ = NULL;
	GitgRepository* _tmp42_ = NULL;
	GitgRepository* _tmp43_ = NULL;
	GitgRepository* _tmp44_ = NULL;
	GgitSignature* _tmp45_ = NULL;
	const gchar* _tmp46_ = NULL;
	GgitOId* _tmp47_ = NULL;
	GgitOId* _tmp48_ = NULL;
	GError * _inner_error_ = NULL;
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self = _data31_->self;
#line 68 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = _data31_->head;
#line 68 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_tmp0_ != NULL) {
#line 951 "gitg-action-support.c"
		gchar* headname = NULL;
		GitgRef* _tmp1_ = NULL;
		GitgParsedRefName* _tmp2_ = NULL;
		GitgParsedRefName* _tmp3_ = NULL;
		GitgParsedRefName* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp1_ = _data31_->head;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp2_ = gitg_ref_get_parsed_name (_tmp1_);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp3_ = _tmp2_;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp4_ = _tmp3_;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp5_ = gitg_parsed_ref_name_get_shortname (_tmp4_);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp6_ = _tmp5_;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp7_ = _tmp6_;
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp4_);
#line 70 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		headname = _tmp7_;
#line 978 "gitg-action-support.c"
		{
			GgitRef* _tmp8_ = NULL;
			GitgRef* _tmp9_ = NULL;
			GgitRef* _tmp10_ = NULL;
			GgitObject* _tmp11_ = NULL;
			GgitRef* _tmp12_ = NULL;
			GgitRef* _tmp13_ = NULL;
			GgitObject* _tmp14_ = NULL;
			GgitObject* _tmp15_ = NULL;
			GgitCommit* head_commit = NULL;
			GgitObject* _tmp16_ = NULL;
			GgitCommit* _tmp17_ = NULL;
			gchar* shortid = NULL;
			GgitCommit* _tmp18_ = NULL;
			GgitOId* _tmp19_ = NULL;
			GgitOId* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
			gchar* _tmp22_ = NULL;
			gchar* _tmp23_ = NULL;
			gchar* _tmp24_ = NULL;
			gchar* subject = NULL;
			GgitCommit* _tmp25_ = NULL;
			const gchar* _tmp26_ = NULL;
			gchar* _tmp27_ = NULL;
			const gchar* _tmp28_ = NULL;
			const gchar* _tmp29_ = NULL;
			const gchar* _tmp30_ = NULL;
			const gchar* _tmp31_ = NULL;
			const gchar* _tmp32_ = NULL;
			const gchar* _tmp33_ = NULL;
			gchar* _tmp34_ = NULL;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp9_ = _data31_->head;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp10_ = ggit_ref_resolve ((GgitRef*) _tmp9_, &_inner_error_);
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp8_ = _tmp10_;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1018 "gitg-action-support.c"
				goto __catch36_g_error;
			}
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp12_ = _tmp8_;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp8_ = NULL;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp13_ = _tmp12_;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp14_ = ggit_ref_lookup (_tmp13_, &_inner_error_);
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp15_ = _tmp14_;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_tmp13_);
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp11_ = _tmp15_;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				_g_object_unref0 (_tmp8_);
#line 1039 "gitg-action-support.c"
				goto __catch36_g_error;
			}
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp16_ = _tmp11_;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp11_ = NULL;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp17_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, ggit_commit_get_type ()) ? ((GgitCommit*) _tmp16_) : NULL;
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (_tmp17_ == NULL) {
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				_g_object_unref0 (_tmp16_);
#line 1052 "gitg-action-support.c"
			}
#line 74 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			head_commit = _tmp17_;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp18_ = head_commit;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp19_ = ggit_object_get_id ((GgitObject*) _tmp18_);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp20_ = _tmp19_;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp21_ = ggit_oid_to_string (_tmp20_);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp22_ = _tmp21_;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp23_ = string_slice (_tmp22_, (glong) 0, (glong) 6);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp24_ = _tmp23_;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (_tmp22_);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			__vala_GgitOId_free0 (_tmp20_);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			shortid = _tmp24_;
#line 76 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp25_ = head_commit;
#line 76 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp26_ = ggit_commit_get_subject (_tmp25_);
#line 76 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp27_ = g_strdup (_tmp26_);
#line 76 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			subject = _tmp27_;
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp28_ = headname;
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp29_ = string_to_string (_tmp28_);
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp30_ = shortid;
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp31_ = string_to_string (_tmp30_);
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp32_ = subject;
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp33_ = string_to_string (_tmp32_);
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp34_ = g_strconcat ("WIP on ", _tmp29_, ": ", _tmp31_, " ", _tmp33_, NULL);
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (message);
#line 78 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			message = _tmp34_;
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (subject);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (shortid);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (head_commit);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_tmp11_);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_tmp8_);
#line 1112 "gitg-action-support.c"
		}
		goto __finally36;
		__catch36_g_error:
		{
			const gchar* _tmp35_ = NULL;
			const gchar* _tmp36_ = NULL;
			gchar* _tmp37_ = NULL;
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_clear_error (&_inner_error_);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_inner_error_ = NULL;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp35_ = headname;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp36_ = string_to_string (_tmp35_);
#line 82 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_tmp37_ = g_strconcat ("WIP on ", _tmp36_, NULL);
#line 82 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (message);
#line 82 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			message = _tmp37_;
#line 1134 "gitg-action-support.c"
		}
		__finally36:
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_propagate_error (error, _inner_error_);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (headname);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (message);
#line 72 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return;
#line 1147 "gitg-action-support.c"
		}
#line 68 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_free0 (headname);
#line 1151 "gitg-action-support.c"
	} else {
		gchar* _tmp38_ = NULL;
#line 87 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp38_ = g_strdup ("WIP on HEAD");
#line 87 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_free0 (message);
#line 87 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		message = _tmp38_;
#line 1160 "gitg-action-support.c"
	}
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp39_ = gitg_action_support_get_application (self);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp40_ = _tmp39_;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp41_ = _tmp40_;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp42_ = gitg_ext_application_get_repository (_tmp41_);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp43_ = _tmp42_;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp44_ = _tmp43_;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp45_ = _data31_->committer;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp46_ = message;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp47_ = ggit_repository_save_stash ((GgitRepository*) _tmp44_, _tmp45_, _tmp46_, GGIT_STASH_DEFAULT, &_inner_error_);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp48_ = _tmp47_;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	__vala_GgitOId_free0 (_tmp48_);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp44_);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp41_);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_free0 (message);
#line 90 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return;
#line 1196 "gitg-action-support.c"
	}
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_free0 (message);
#line 1200 "gitg-action-support.c"
}


static void ____lambda68__gitg_async_thread_func (gpointer self, GError** error) {
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	___lambda68_ (self, error);
#line 1207 "gitg-action-support.c"
}


static void gitg_action_support_save_stash_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportSaveStashData* _data_;
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_save_stash_co (_data_);
#line 1221 "gitg-action-support.c"
}


static gboolean gitg_action_support_save_stash_co (GitgActionSupportSaveStashData* _data_) {
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 0:
#line 1230 "gitg-action-support.c"
		goto _state_0;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 1:
#line 1234 "gitg-action-support.c"
		goto _state_1;
		default:
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 1239 "gitg-action-support.c"
	}
	_state_0:
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_ = g_slice_new0 (Block31Data);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_->_ref_count_ = 1;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_->self = g_object_ref (_data_->self);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = NULL;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = _data_->head;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_data31_->head);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_->head = _data_->_tmp0_;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_->_async_data_ = _data_;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = NULL;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = gitg_action_support_get_application (_data_->self);
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = NULL;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = NULL;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = NULL;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = gitg_ext_application_get_verified_committer (_data_->_tmp3_);
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp5_ = NULL;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp3_);
#line 55 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_->committer = _data_->_tmp5_;
#line 57 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp6_ = NULL;
#line 57 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp6_ = _data_->_data31_->committer;
#line 57 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp6_ == NULL) {
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block31_data_unref (_data_->_data31_);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data31_ = NULL;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_state_ == 0) {
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1298 "gitg-action-support.c"
		} else {
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1302 "gitg-action-support.c"
		}
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 1308 "gitg-action-support.c"
	}
	{
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_state_ = 1;
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_async_thread (____lambda68__gitg_async_thread_func, _data_->_data31_, gitg_action_support_save_stash_ready, _data_);
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 1317 "gitg-action-support.c"
		_state_1:
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 64 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1323 "gitg-action-support.c"
			goto __catch35_g_error;
		}
	}
	goto __finally35;
	__catch35_g_error:
	{
#line 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->err = _data_->_inner_error_;
#line 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = _data_->notification;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = _ ("Failed to stash changes: %s");
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = _data_->err;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = _data_->_tmp9_->message;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = g_strdup_printf (_data_->_tmp8_, _data_->_tmp10_);
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp12_ = NULL;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp7_, _data_->_tmp12_);
#line 95 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp12_);
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->err);
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block31_data_unref (_data_->_data31_);
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data31_ = NULL;
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_state_ == 0) {
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1374 "gitg-action-support.c"
		} else {
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1378 "gitg-action-support.c"
		}
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 96 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 1384 "gitg-action-support.c"
	}
	__finally35:
#line 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block31_data_unref (_data_->_data31_);
#line 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data31_ = NULL;
#line 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.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 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 62 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 1399 "gitg-action-support.c"
	}
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->result = TRUE;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block31_data_unref (_data_->_data31_);
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_ = NULL;
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1411 "gitg-action-support.c"
	} else {
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1415 "gitg-action-support.c"
	}
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 99 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block31_data_unref (_data_->_data31_);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data31_ = NULL;
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1429 "gitg-action-support.c"
	} else {
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1433 "gitg-action-support.c"
	}
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 53 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 1439 "gitg-action-support.c"
}


gboolean gitg_action_support_reference_is_head (GitgActionSupport* self, GitgRef* reference, GitgRef** head) {
	gboolean result = FALSE;
	GgitBranch* branch = NULL;
	GitgRef* _tmp0_ = NULL;
	GgitBranch* _tmp1_ = NULL;
	GgitBranch* _tmp2_ = NULL;
	GitgRef* _tmp16_ = NULL;
	GError * _inner_error_ = NULL;
#line 102 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 102 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_val_if_fail (reference != NULL, FALSE);
#line 104 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = reference;
#line 104 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, ggit_branch_get_type ()) ? ((GgitBranch*) _tmp0_) : NULL);
#line 104 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	branch = _tmp1_;
#line 105 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (*head);
#line 105 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	*head = NULL;
#line 107 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = branch;
#line 107 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_tmp2_ == NULL) {
#line 109 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		result = FALSE;
#line 109 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (branch);
#line 109 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return result;
#line 1475 "gitg-action-support.c"
	}
	{
		gboolean _tmp3_ = FALSE;
		GgitBranch* _tmp4_ = NULL;
		gboolean _tmp5_ = FALSE;
		GitgRef* _tmp6_ = NULL;
		GitgExtApplication* _tmp7_ = NULL;
		GitgExtApplication* _tmp8_ = NULL;
		GitgExtApplication* _tmp9_ = NULL;
		GitgRepository* _tmp10_ = NULL;
		GitgRepository* _tmp11_ = NULL;
		GitgRepository* _tmp12_ = NULL;
		GitgRef* _tmp13_ = NULL;
		GitgRef* _tmp14_ = NULL;
		GitgRef* _tmp15_ = NULL;
#line 114 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp4_ = branch;
#line 114 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp5_ = ggit_branch_is_head (_tmp4_, &_inner_error_);
#line 114 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp3_ = _tmp5_;
#line 114 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1499 "gitg-action-support.c"
			goto __catch37_g_error;
		}
#line 114 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (!_tmp3_) {
#line 116 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			result = FALSE;
#line 116 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (branch);
#line 116 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return result;
#line 1510 "gitg-action-support.c"
		}
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp7_ = gitg_action_support_get_application (self);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp8_ = _tmp7_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp9_ = _tmp8_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp10_ = gitg_ext_application_get_repository (_tmp9_);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp11_ = _tmp10_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp12_ = _tmp11_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp13_ = gitg_repository_lookup_reference (_tmp12_, "HEAD", &_inner_error_);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp14_ = _tmp13_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp12_);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp9_);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp6_ = _tmp14_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1536 "gitg-action-support.c"
			goto __catch37_g_error;
		}
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp15_ = _tmp6_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp6_ = NULL;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (*head);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		*head = _tmp15_;
#line 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_tmp6_);
#line 1549 "gitg-action-support.c"
	}
	goto __finally37;
	__catch37_g_error:
	{
#line 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_clear_error (&_inner_error_);
#line 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_inner_error_ = NULL;
#line 1558 "gitg-action-support.c"
	}
	__finally37:
#line 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (branch);
#line 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.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 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_clear_error (&_inner_error_);
#line 112 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 1571 "gitg-action-support.c"
	}
#line 122 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp16_ = *head;
#line 122 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _tmp16_ != NULL;
#line 122 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (branch);
#line 122 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 1581 "gitg-action-support.c"
}


static void gitg_action_support_stash_if_needed_data_free (gpointer _data) {
	GitgActionSupportStashIfNeededData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportStashIfNeededData, _data_);
#line 1596 "gitg-action-support.c"
}


void gitg_action_support_stash_if_needed (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportStashIfNeededData* _data_;
	GitgActionSupport* _tmp0_ = NULL;
	GitgSimpleNotification* _tmp1_ = NULL;
	GitgSimpleNotification* _tmp2_ = NULL;
	GitgRef* _tmp3_ = NULL;
	GitgRef* _tmp4_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportStashIfNeededData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_action_support_stash_if_needed);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_action_support_stash_if_needed_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp3_ = head;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->head = _tmp4_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_stash_if_needed_co (_data_);
#line 1635 "gitg-action-support.c"
}


gboolean gitg_action_support_stash_if_needed_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportStashIfNeededData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 1648 "gitg-action-support.c"
}


static void gitg_action_support_stash_if_needed_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportStashIfNeededData* _data_;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_stash_if_needed_co (_data_);
#line 1662 "gitg-action-support.c"
}


static gboolean gitg_action_support_stash_if_needed_co (GitgActionSupportStashIfNeededData* _data_) {
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 0:
#line 1671 "gitg-action-support.c"
		goto _state_0;
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 1:
#line 1675 "gitg-action-support.c"
		goto _state_1;
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 2:
#line 1679 "gitg-action-support.c"
		goto _state_2;
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 3:
#line 1683 "gitg-action-support.c"
		goto _state_3;
		default:
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 1688 "gitg-action-support.c"
	}
	_state_0:
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_state_ = 1;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_working_directory_dirty (_data_->self, gitg_action_support_stash_if_needed_ready, _data_);
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 1697 "gitg-action-support.c"
	_state_1:
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = FALSE;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = gitg_action_support_working_directory_dirty_finish (_data_->self, _data_->_res_);
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp0_) {
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp1_ = NULL;
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp1_ = _ ("Unstaged changes");
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp2_ = NULL;
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp2_ = _ ("You appear to have unstaged changes in your working directory. Would y" \
"ou like to stash the changes before the checkout?");
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp3_ = NULL;
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp3_ = _ ("Cancel");
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp4_ = NULL;
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp4_ = _ ("Stash changes");
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp5_ = NULL;
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp5_ = gitg_ext_user_query_new_full (_data_->_tmp1_, _data_->_tmp2_, GTK_MESSAGE_QUESTION, _data_->_tmp3_, GTK_RESPONSE_CANCEL, _data_->_tmp4_, GTK_RESPONSE_OK, NULL);
#line 130 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->q = _data_->_tmp5_;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = NULL;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = gitg_action_support_get_application (_data_->self);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = NULL;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = _data_->_tmp6_;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = NULL;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = _data_->_tmp7_;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = NULL;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = _data_->q;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_state_ = 2;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_ext_application_user_query_async (_data_->_tmp8_, _data_->_tmp9_, gitg_action_support_stash_if_needed_ready, _data_);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 1749 "gitg-action-support.c"
		_state_2:
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = 0;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = gitg_ext_application_user_query_finish (_data_->_tmp8_, _data_->_res_);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = FALSE;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = _data_->_tmp10_ != GTK_RESPONSE_OK;
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp8_);
#line 136 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_tmp11_) {
#line 138 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp12_ = NULL;
#line 138 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp12_ = _data_->notification;
#line 138 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp13_ = NULL;
#line 138 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp13_ = _ ("Failed with conflicts");
#line 138 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			gitg_simple_notification_error (_data_->_tmp12_, _data_->_tmp13_);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->result = FALSE;
#line 139 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->q);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (_data_->_state_ == 0) {
#line 139 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1781 "gitg-action-support.c"
			} else {
#line 139 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1785 "gitg-action-support.c"
			}
#line 139 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 139 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return FALSE;
#line 1791 "gitg-action-support.c"
		}
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp14_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp14_ = _data_->notification;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp15_ = NULL;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp15_ = _data_->head;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_state_ = 3;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_action_support_save_stash (_data_->self, _data_->_tmp14_, _data_->_tmp15_, gitg_action_support_stash_if_needed_ready, _data_);
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 1807 "gitg-action-support.c"
		_state_3:
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp16_ = FALSE;
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp16_ = gitg_action_support_save_stash_finish (_data_->self, _data_->_res_);
#line 142 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (!_data_->_tmp16_) {
#line 144 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->result = FALSE;
#line 144 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->q);
#line 144 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (_data_->_state_ == 0) {
#line 144 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1823 "gitg-action-support.c"
			} else {
#line 144 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1827 "gitg-action-support.c"
			}
#line 144 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 144 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return FALSE;
#line 1833 "gitg-action-support.c"
		}
#line 128 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->q);
#line 1837 "gitg-action-support.c"
	}
#line 148 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->result = TRUE;
#line 148 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 148 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1845 "gitg-action-support.c"
	} else {
#line 148 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1849 "gitg-action-support.c"
	}
#line 148 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 148 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1859 "gitg-action-support.c"
	} else {
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1863 "gitg-action-support.c"
	}
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 125 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 1869 "gitg-action-support.c"
}


static void gitg_action_support_checkout_conflicts_data_free (gpointer _data) {
	GitgActionSupportCheckoutConflictsData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportCheckoutConflictsData, _data_);
#line 1886 "gitg-action-support.c"
}


void gitg_action_support_checkout_conflicts (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* reference, GgitIndex* index, GitgRef* head, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportCheckoutConflictsData* _data_;
	GitgActionSupport* _tmp0_ = NULL;
	GitgSimpleNotification* _tmp1_ = NULL;
	GitgSimpleNotification* _tmp2_ = NULL;
	GitgRef* _tmp3_ = NULL;
	GitgRef* _tmp4_ = NULL;
	GgitIndex* _tmp5_ = NULL;
	GgitIndex* _tmp6_ = NULL;
	GitgRef* _tmp7_ = NULL;
	GitgRef* _tmp8_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportCheckoutConflictsData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_action_support_checkout_conflicts);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_action_support_checkout_conflicts_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp3_ = reference;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->reference = _tmp4_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp5_ = index;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->index = _tmp6_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp7_ = head;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->head = _tmp8_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_checkout_conflicts_co (_data_);
#line 1945 "gitg-action-support.c"
}


gboolean gitg_action_support_checkout_conflicts_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	gboolean result;
	GitgActionSupportCheckoutConflictsData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 1958 "gitg-action-support.c"
}


static Block32Data* block32_data_ref (Block32Data* _data32_) {
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data32_->_ref_count_);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return _data32_;
#line 1967 "gitg-action-support.c"
}


static void block32_data_unref (void * _userdata_) {
	Block32Data* _data32_;
	_data32_ = (Block32Data*) _userdata_;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data32_->_ref_count_)) {
#line 1976 "gitg-action-support.c"
		GitgActionSupport* self;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		self = _data32_->self;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data32_->index);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_slice_free (Block32Data, _data32_);
#line 1986 "gitg-action-support.c"
	}
}


static void gitg_action_support_checkout_conflicts_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportCheckoutConflictsData* _data_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_checkout_conflicts_co (_data_);
#line 2001 "gitg-action-support.c"
}


static void ___lambda76_ (Block32Data* _data32_, GError** error) {
	GitgActionSupport* self;
	GgitCheckoutOptions* opts = NULL;
	GgitCheckoutOptions* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgExtApplication* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgRepository* _tmp6_ = NULL;
	GgitIndex* _tmp7_ = NULL;
	GError * _inner_error_ = NULL;
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self = _data32_->self;
#line 174 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = ggit_checkout_options_new ();
#line 174 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	opts = _tmp0_;
#line 175 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	ggit_checkout_options_set_strategy (opts, GGIT_CHECKOUT_SAFE);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = gitg_action_support_get_application (self);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = _tmp1_;
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp3_ = _tmp2_;
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp4_ = gitg_ext_application_get_repository (_tmp3_);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp5_ = _tmp4_;
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp6_ = _tmp5_;
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp7_ = _data32_->index;
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	ggit_repository_checkout_index ((GgitRepository*) _tmp6_, _tmp7_, opts, &_inner_error_);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp6_);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp3_);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (opts);
#line 176 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return;
#line 2053 "gitg-action-support.c"
	}
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (opts);
#line 2057 "gitg-action-support.c"
}


static void ____lambda76__gitg_async_thread_func (gpointer self, GError** error) {
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	___lambda76_ (self, error);
#line 2064 "gitg-action-support.c"
}


static gboolean gitg_action_support_checkout_conflicts_co (GitgActionSupportCheckoutConflictsData* _data_) {
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 0:
#line 2073 "gitg-action-support.c"
		goto _state_0;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 1:
#line 2077 "gitg-action-support.c"
		goto _state_1;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 2:
#line 2081 "gitg-action-support.c"
		goto _state_2;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 3:
#line 2085 "gitg-action-support.c"
		goto _state_3;
		default:
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 2090 "gitg-action-support.c"
	}
	_state_0:
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data32_ = g_slice_new0 (Block32Data);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data32_->_ref_count_ = 1;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data32_->self = g_object_ref (_data_->self);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = NULL;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = _data_->index;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_data32_->index);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data32_->index = _data_->_tmp0_;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data32_->_async_data_ = _data_;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = _data_->notification;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = NULL;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = _data_->head;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_state_ = 1;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_stash_if_needed (_data_->self, _data_->_tmp1_, _data_->_tmp2_, gitg_action_support_checkout_conflicts_ready, _data_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 2123 "gitg-action-support.c"
	_state_1:
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = FALSE;
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = gitg_action_support_stash_if_needed_finish (_data_->self, _data_->_res_);
#line 153 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (!_data_->_tmp3_) {
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block32_data_unref (_data_->_data32_);
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data32_ = NULL;
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_state_ == 0) {
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2141 "gitg-action-support.c"
		} else {
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2145 "gitg-action-support.c"
		}
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 155 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 2151 "gitg-action-support.c"
	}
#line 158 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = NULL;
#line 158 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = _data_->head;
#line 158 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp4_ == NULL) {
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp5_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp5_ = gitg_action_support_get_application (_data_->self);
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = _data_->_tmp5_;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = _data_->_tmp6_;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp8_ = gitg_action_support_get_action_interface (_data_->self);
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp10_ = _data_->_tmp9_;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp11_ = _data_->reference;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp12_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp12_ = gitg_ref_action_checkout_new (_data_->_tmp7_, _data_->_tmp10_, _data_->_tmp11_);
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp13_ = NULL;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp13_ = _data_->_tmp12_;
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp10_);
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp7_);
#line 161 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->checkout = _data_->_tmp13_;
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp14_ = NULL;
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp14_ = _data_->checkout;
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_state_ = 2;
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_ref_action_checkout_checkout (_data_->_tmp14_, gitg_action_support_checkout_conflicts_ready, _data_);
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 2211 "gitg-action-support.c"
		_state_2:
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp15_ = FALSE;
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp15_ = gitg_ref_action_checkout_checkout_finish (_data_->_tmp14_, _data_->_res_);
#line 163 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (!_data_->_tmp15_) {
#line 165 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp16_ = NULL;
#line 165 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp16_ = _data_->notification;
#line 165 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp17_ = NULL;
#line 165 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp17_ = _ ("Failed with conflicts");
#line 165 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			gitg_simple_notification_error (_data_->_tmp16_, _data_->_tmp17_);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->result = FALSE;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->checkout);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			block32_data_unref (_data_->_data32_);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_data32_ = NULL;
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (_data_->_state_ == 0) {
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2241 "gitg-action-support.c"
			} else {
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2245 "gitg-action-support.c"
			}
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 166 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return FALSE;
#line 2251 "gitg-action-support.c"
		}
#line 158 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->checkout);
#line 2255 "gitg-action-support.c"
	}
	{
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_state_ = 3;
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_async_thread (____lambda76__gitg_async_thread_func, _data_->_data32_, gitg_action_support_checkout_conflicts_ready, _data_);
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 2264 "gitg-action-support.c"
		_state_3:
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 173 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2270 "gitg-action-support.c"
			goto __catch38_g_error;
		}
	}
	goto __finally38;
	__catch38_g_error:
	{
#line 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->err = _data_->_inner_error_;
#line 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp18_ = NULL;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp18_ = _data_->notification;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp19_ = NULL;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp19_ = _ ("Failed to checkout conflicts: %s");
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp20_ = NULL;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp20_ = _data_->err;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp21_ = NULL;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp21_ = _data_->_tmp20_->message;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp22_ = NULL;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp22_ = g_strdup_printf (_data_->_tmp19_, _data_->_tmp21_);
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp23_ = NULL;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp23_ = _data_->_tmp22_;
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp18_, _data_->_tmp23_);
#line 181 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp23_);
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->result = FALSE;
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->err);
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block32_data_unref (_data_->_data32_);
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data32_ = NULL;
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_state_ == 0) {
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2321 "gitg-action-support.c"
		} else {
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2325 "gitg-action-support.c"
		}
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 182 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 2331 "gitg-action-support.c"
	}
	__finally38:
#line 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block32_data_unref (_data_->_data32_);
#line 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data32_ = NULL;
#line 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.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 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 171 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 2346 "gitg-action-support.c"
	}
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->result = TRUE;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block32_data_unref (_data_->_data32_);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data32_ = NULL;
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2358 "gitg-action-support.c"
	} else {
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2362 "gitg-action-support.c"
	}
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 185 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block32_data_unref (_data_->_data32_);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data32_ = NULL;
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2376 "gitg-action-support.c"
	} else {
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2380 "gitg-action-support.c"
	}
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 151 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 2386 "gitg-action-support.c"
}


static void gitg_action_support_commit_index_data_free (gpointer _data) {
	GitgActionSupportCommitIndexData* _data_;
	_data_ = _data;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->author);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_free0 (_data_->message);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	__vala_GgitOId_free0 (_data_->result);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_slice_free (GitgActionSupportCommitIndexData, _data_);
#line 2411 "gitg-action-support.c"
}


void gitg_action_support_commit_index (GitgActionSupport* self, GitgSimpleNotification* notification, GitgRef* reference, GgitIndex* index, GgitOId** parents, int parents_length1, GgitSignature* author, const gchar* message, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgActionSupportCommitIndexData* _data_;
	GitgActionSupport* _tmp0_ = NULL;
	GitgSimpleNotification* _tmp1_ = NULL;
	GitgSimpleNotification* _tmp2_ = NULL;
	GitgRef* _tmp3_ = NULL;
	GitgRef* _tmp4_ = NULL;
	GgitIndex* _tmp5_ = NULL;
	GgitIndex* _tmp6_ = NULL;
	GgitSignature* _tmp7_ = NULL;
	GgitSignature* _tmp8_ = NULL;
	const gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_slice_new0 (GitgActionSupportCommitIndexData);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, gitg_action_support_commit_index);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, gitg_action_support_commit_index_data_free);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->self = _tmp0_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = notification;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->notification);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->notification = _tmp2_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp3_ = reference;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->reference);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->reference = _tmp4_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp5_ = index;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->index);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->index = _tmp6_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->parents = parents;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->parents_length1 = parents_length1;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp7_ = author;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp8_ = _g_object_ref0 (_tmp7_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->author);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->author = _tmp8_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp9_ = message;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp10_ = g_strdup (_tmp9_);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_free0 (_data_->message);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->message = _tmp10_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_commit_index_co (_data_);
#line 2486 "gitg-action-support.c"
}


GgitOId* gitg_action_support_commit_index_finish (GitgActionSupport* self, GAsyncResult* _res_) {
	GgitOId* result;
	GitgActionSupportCommitIndexData* _data_;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _data_->result;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->result = NULL;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 2501 "gitg-action-support.c"
}


static Block33Data* block33_data_ref (Block33Data* _data33_) {
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_atomic_int_inc (&_data33_->_ref_count_);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return _data33_;
#line 2510 "gitg-action-support.c"
}


static void block33_data_unref (void * _userdata_) {
	Block33Data* _data33_;
	_data33_ = (Block33Data*) _userdata_;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (g_atomic_int_dec_and_test (&_data33_->_ref_count_)) {
#line 2519 "gitg-action-support.c"
		GitgActionSupport* self;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		self = _data33_->self;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data33_->head_tree);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		__vala_GgitOId_free0 (_data33_->oid);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (self);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_slice_free (Block33Data, _data33_);
#line 2531 "gitg-action-support.c"
	}
}


static void gitg_action_support_commit_index_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	GitgActionSupportCommitIndexData* _data_;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_ = _user_data_;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_source_object_ = source_object;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_res_ = _res_;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_commit_index_co (_data_);
#line 2546 "gitg-action-support.c"
}


static void ____lambda77_ (Block33Data* _data33_, GError** error) {
	GitgActionSupport* self;
	GgitCheckoutOptions* opts = NULL;
	GgitCheckoutOptions* _tmp0_ = NULL;
	GgitCheckoutOptions* _tmp1_ = NULL;
	GgitCheckoutOptions* _tmp2_ = NULL;
	GgitTree* _tmp3_ = NULL;
	GgitCommit* newcommit = NULL;
	GitgExtApplication* _tmp4_ = NULL;
	GitgExtApplication* _tmp5_ = NULL;
	GitgExtApplication* _tmp6_ = NULL;
	GitgRepository* _tmp7_ = NULL;
	GitgRepository* _tmp8_ = NULL;
	GitgRepository* _tmp9_ = NULL;
	GgitOId* _tmp10_ = NULL;
	gpointer _tmp11_ = NULL;
	GgitCommit* _tmp12_ = NULL;
	GgitTree* newtree = NULL;
	GgitCommit* _tmp13_ = NULL;
	GgitTree* _tmp14_ = NULL;
	GitgExtApplication* _tmp15_ = NULL;
	GitgExtApplication* _tmp16_ = NULL;
	GitgExtApplication* _tmp17_ = NULL;
	GitgRepository* _tmp18_ = NULL;
	GitgRepository* _tmp19_ = NULL;
	GitgRepository* _tmp20_ = NULL;
	GgitTree* _tmp21_ = NULL;
	GgitCheckoutOptions* _tmp22_ = NULL;
	GError * _inner_error_ = NULL;
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self = _data33_->self;
#line 264 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = ggit_checkout_options_new ();
#line 264 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	opts = _tmp0_;
#line 266 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = opts;
#line 266 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	ggit_checkout_options_set_strategy (_tmp1_, GGIT_CHECKOUT_SAFE);
#line 267 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp2_ = opts;
#line 267 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp3_ = _data33_->head_tree;
#line 267 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	ggit_checkout_options_set_baseline (_tmp2_, _tmp3_);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp4_ = gitg_action_support_get_application (self);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp5_ = _tmp4_;
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp6_ = _tmp5_;
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp7_ = gitg_ext_application_get_repository (_tmp6_);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp8_ = _tmp7_;
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp9_ = _tmp8_;
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp10_ = _data33_->oid;
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp11_ = gitg_repository_lookup (_tmp9_, ggit_commit_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp10_, &_inner_error_);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp12_ = (GgitCommit*) _tmp11_;
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp9_);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp6_);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	newcommit = _tmp12_;
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (opts);
#line 269 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return;
#line 2627 "gitg-action-support.c"
	}
#line 270 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp13_ = newcommit;
#line 270 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp14_ = ggit_commit_get_tree (_tmp13_);
#line 270 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	newtree = _tmp14_;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp15_ = gitg_action_support_get_application (self);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp16_ = _tmp15_;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp17_ = _tmp16_;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp18_ = gitg_ext_application_get_repository (_tmp17_);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp19_ = _tmp18_;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp20_ = _tmp19_;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp21_ = newtree;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp22_ = opts;
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	ggit_repository_checkout_tree ((GgitRepository*) _tmp20_, (GgitObject*) _tmp21_, _tmp22_, &_inner_error_);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp20_);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_tmp17_);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_propagate_error (error, _inner_error_);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (newtree);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (newcommit);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (opts);
#line 272 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return;
#line 2669 "gitg-action-support.c"
	}
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (newtree);
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (newcommit);
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (opts);
#line 2677 "gitg-action-support.c"
}


static void _____lambda77__gitg_async_thread_func (gpointer self, GError** error) {
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	____lambda77_ (self, error);
#line 2684 "gitg-action-support.c"
}


static GgitOId* _vala_GgitOId_copy (GgitOId* self) {
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return g_boxed_copy (ggit_oid_get_type (), self);
#line 2691 "gitg-action-support.c"
}


static gpointer __vala_GgitOId_copy0 (gpointer self) {
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return self ? _vala_GgitOId_copy (self) : NULL;
#line 2698 "gitg-action-support.c"
}


static gboolean gitg_action_support_commit_index_co (GitgActionSupportCommitIndexData* _data_) {
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	switch (_data_->_state_) {
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 0:
#line 2707 "gitg-action-support.c"
		goto _state_0;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 1:
#line 2711 "gitg-action-support.c"
		goto _state_1;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 2:
#line 2715 "gitg-action-support.c"
		goto _state_2;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case 3:
#line 2719 "gitg-action-support.c"
		goto _state_3;
		default:
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_assert_not_reached ();
#line 2724 "gitg-action-support.c"
	}
	_state_0:
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_ = g_slice_new0 (Block33Data);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_->_ref_count_ = 1;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_->self = g_object_ref (_data_->self);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_->_async_data_ = _data_;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp0_ = gitg_action_support_get_application (_data_->self);
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp1_ = _data_->_tmp0_;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp3_ = gitg_ext_application_get_verified_committer (_data_->_tmp2_);
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = NULL;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp2_);
#line 195 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->committer = _data_->_tmp4_;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp5_ = NULL;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp5_ = _data_->committer;
#line 197 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp5_ == NULL) {
#line 199 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp6_ = _data_->notification;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = NULL;
#line 199 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp7_ = _ ("Failed to obtain author details");
#line 199 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp6_, _data_->_tmp7_);
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->result = NULL;
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block33_data_unref (_data_->_data33_);
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data33_ = NULL;
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_state_ == 0) {
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2789 "gitg-action-support.c"
		} else {
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2793 "gitg-action-support.c"
		}
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 200 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 2799 "gitg-action-support.c"
	}
#line 203 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp8_ = NULL;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp8_ = _data_->author;
#line 203 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp8_ == NULL) {
#line 2807 "gitg-action-support.c"
		GgitSignature* _tmp10_ = NULL;
#line 205 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = NULL;
#line 205 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp9_ = _data_->committer;
#line 205 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_tmp10_ = _g_object_ref0 (_data_->_tmp9_);
#line 205 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->author);
#line 205 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->author = _tmp10_;
#line 2819 "gitg-action-support.c"
	}
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp11_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp11_ = gitg_action_support_get_application (_data_->self);
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp12_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp13_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp14_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp14_ = gitg_ext_application_get_repository (_data_->_tmp13_);
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp15_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp16_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp17_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp17_ = gitg_repository_get_stage (_data_->_tmp16_);
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp18_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp18_ = _data_->_tmp17_;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp19_ = NULL;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp16_);
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->_tmp13_);
#line 208 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->stage = _data_->_tmp19_;
#line 210 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->head = NULL;
#line 211 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp20_ = NULL;
#line 211 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp20_ = _data_->reference;
#line 211 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp21_ = FALSE;
#line 211 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp21_ = gitg_action_support_reference_is_head (_data_->self, _data_->_tmp20_, &_data_->head);
#line 211 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->ishead = _data_->_tmp21_;
#line 213 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_->oid = NULL;
#line 214 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_->head_tree = NULL;
#line 215 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->commit = NULL;
#line 2881 "gitg-action-support.c"
	{
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp23_ = NULL;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp23_ = _data_->reference;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp24_ = NULL;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp24_ = ggit_ref_lookup ((GgitRef*) _data_->_tmp23_, &_data_->_inner_error_);
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp22_ = _data_->_tmp24_;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2895 "gitg-action-support.c"
			goto __catch39_g_error;
		}
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp25_ = NULL;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp25_ = _data_->_tmp22_;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp22_ = NULL;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp26_ = NULL;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp26_ = G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp25_, GITG_TYPE_COMMIT) ? ((GitgCommit*) _data_->_tmp25_) : NULL;
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_tmp26_ == NULL) {
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->_tmp25_);
#line 2912 "gitg-action-support.c"
		}
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 219 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->commit = _data_->_tmp26_;
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_tmp22_);
#line 2920 "gitg-action-support.c"
	}
	goto __finally39;
	__catch39_g_error:
	{
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->e = _data_->_inner_error_;
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp27_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp27_ = _data_->notification;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp28_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp28_ = _ ("Failed to lookup commit: %s");
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp29_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp29_ = _data_->e;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp30_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp30_ = _data_->_tmp29_->message;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp31_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp31_ = g_strdup_printf (_data_->_tmp28_, _data_->_tmp30_);
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp32_ = NULL;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp32_ = _data_->_tmp31_;
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp27_, _data_->_tmp32_);
#line 223 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp32_);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->result = NULL;
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->e);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block33_data_unref (_data_->_data33_);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data33_ = NULL;
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_state_ == 0) {
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2979 "gitg-action-support.c"
		} else {
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2983 "gitg-action-support.c"
		}
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 224 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 2989 "gitg-action-support.c"
	}
	__finally39:
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block33_data_unref (_data_->_data33_);
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data33_ = NULL;
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.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 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 217 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 3014 "gitg-action-support.c"
	}
#line 227 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp33_ = FALSE;
#line 227 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp33_ = _data_->ishead;
#line 227 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp33_) {
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp34_ = NULL;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp34_ = _data_->notification;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp35_ = NULL;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp35_ = _data_->head;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_state_ = 1;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_action_support_stash_if_needed (_data_->self, _data_->_tmp34_, _data_->_tmp35_, gitg_action_support_commit_index_ready, _data_);
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 3036 "gitg-action-support.c"
		_state_1:
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp36_ = FALSE;
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp36_ = gitg_action_support_stash_if_needed_finish (_data_->self, _data_->_res_);
#line 229 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (!_data_->_tmp36_) {
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->result = NULL;
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->commit);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->head);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->stage);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->committer);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			block33_data_unref (_data_->_data33_);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_data33_ = NULL;
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (_data_->_state_ == 0) {
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3064 "gitg-action-support.c"
			} else {
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3068 "gitg-action-support.c"
			}
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 231 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return FALSE;
#line 3074 "gitg-action-support.c"
		}
#line 234 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp37_ = NULL;
#line 234 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp37_ = _data_->commit;
#line 234 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp38_ = NULL;
#line 234 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp38_ = ggit_commit_get_tree ((GgitCommit*) _data_->_tmp37_);
#line 234 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->_data33_->head_tree);
#line 234 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data33_->head_tree = _data_->_tmp38_;
#line 3088 "gitg-action-support.c"
	}
#line 237 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp39_ = NULL;
#line 237 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp39__length1 = 0;
#line 237 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp39_ = _data_->parents;
#line 237 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp39__length1 = _data_->parents_length1;
#line 237 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp39_ == NULL) {
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp40_ = NULL;
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp40_ = _data_->commit;
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp41_ = NULL;
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp41_ = ggit_object_get_id ((GgitObject*) _data_->_tmp40_);
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp42_ = NULL;
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp42_ = g_new0 (GgitOId*, 1 + 1);
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp42_[0] = _data_->_tmp41_;
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents = _data_->_tmp42_;
#line 239 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents_length1 = 1;
#line 3120 "gitg-action-support.c"
	}
	{
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp44_ = FALSE;
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp44_ = _data_->ishead;
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_tmp44_) {
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp45_ = NULL;
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp45_ = _data_->head;
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp43_ = _data_->_tmp45_;
#line 3135 "gitg-action-support.c"
		} else {
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp46_ = NULL;
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp46_ = _data_->reference;
#line 246 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp43_ = _data_->_tmp46_;
#line 3143 "gitg-action-support.c"
		}
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp48_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp48_ = _data_->stage;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp49_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp49_ = _data_->index;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp50_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp50_ = _data_->message;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp51_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp51_ = _data_->author;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp52_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp52_ = _data_->committer;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp53_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp53__length1 = 0;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp53_ = _data_->parents;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp53__length1 = _data_->parents_length1;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_state_ = 2;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_stage_commit_index (_data_->_tmp48_, _data_->_tmp49_, (GgitRef*) _data_->_tmp43_, _data_->_tmp50_, _data_->_tmp51_, _data_->_tmp52_, _data_->_tmp53_, _data_->_tmp53__length1, GITG_STAGE_COMMIT_OPTIONS_NONE, gitg_action_support_commit_index_ready, _data_);
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 3179 "gitg-action-support.c"
		_state_2:
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp54_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp54_ = gitg_stage_commit_index_finish (_data_->_tmp48_, _data_->_res_, &_data_->_inner_error_);
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp47_ = _data_->_tmp54_;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3189 "gitg-action-support.c"
			goto __catch40_g_error;
		}
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp55_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp55_ = _data_->_tmp47_;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp47_ = NULL;
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		__vala_GgitOId_free0 (_data_->_data33_->oid);
#line 245 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data33_->oid = _data_->_tmp55_;
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		__vala_GgitOId_free0 (_data_->_tmp47_);
#line 3204 "gitg-action-support.c"
	}
	goto __finally40;
	__catch40_g_error:
	{
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_vala1_e = _data_->_inner_error_;
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_inner_error_ = NULL;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp56_ = NULL;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp56_ = _data_->notification;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp57_ = NULL;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp57_ = _ ("Failed to create commit: %s");
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp58_ = NULL;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp58_ = _data_->_vala1_e;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp59_ = NULL;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp59_ = _data_->_tmp58_->message;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp60_ = NULL;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp60_ = g_strdup_printf (_data_->_tmp57_, _data_->_tmp59_);
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp61_ = NULL;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_tmp61_ = _data_->_tmp60_;
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_simple_notification_error (_data_->_tmp56_, _data_->_tmp61_);
#line 255 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_free0 (_data_->_tmp61_);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->result = NULL;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_error_free0 (_data_->_vala1_e);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block33_data_unref (_data_->_data33_);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data33_ = NULL;
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (_data_->_state_ == 0) {
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3263 "gitg-action-support.c"
		} else {
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3267 "gitg-action-support.c"
		}
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_object_unref (_data_->_async_result);
#line 256 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 3273 "gitg-action-support.c"
	}
	__finally40:
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->commit);
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->head);
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->stage);
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_g_object_unref0 (_data_->committer);
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		block33_data_unref (_data_->_data33_);
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->_data33_ = NULL;
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.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 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_clear_error (&_data_->_inner_error_);
#line 242 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		return FALSE;
#line 3298 "gitg-action-support.c"
	}
#line 259 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp62_ = FALSE;
#line 259 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp62_ = _data_->ishead;
#line 259 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_tmp62_) {
#line 3306 "gitg-action-support.c"
		{
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_state_ = 3;
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			gitg_async_thread (_____lambda77__gitg_async_thread_func, _data_->_data33_, gitg_action_support_commit_index_ready, _data_);
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return FALSE;
#line 3314 "gitg-action-support.c"
			_state_3:
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			gitg_async_thread_finish (_data_->_res_, &_data_->_inner_error_);
#line 263 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3320 "gitg-action-support.c"
				goto __catch41_g_error;
			}
		}
		goto __finally41;
		__catch41_g_error:
		{
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_vala2_e = _data_->_inner_error_;
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_inner_error_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp63_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp63_ = _data_->notification;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp64_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp64_ = _ ("Failed to checkout index: %s");
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp65_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp65_ = _data_->_vala2_e;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp66_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp66_ = _data_->_tmp65_->message;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp67_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp67_ = g_strdup_printf (_data_->_tmp64_, _data_->_tmp66_);
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp68_ = NULL;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_tmp68_ = _data_->_tmp67_;
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			gitg_simple_notification_error (_data_->_tmp63_, _data_->_tmp68_);
#line 277 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_free0 (_data_->_tmp68_);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->result = NULL;
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_error_free0 (_data_->_vala2_e);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->commit);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->head);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->stage);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->committer);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			block33_data_unref (_data_->_data33_);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_data33_ = NULL;
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			if (_data_->_state_ == 0) {
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3381 "gitg-action-support.c"
			} else {
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3385 "gitg-action-support.c"
			}
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_object_unref (_data_->_async_result);
#line 278 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return FALSE;
#line 3391 "gitg-action-support.c"
		}
		__finally41:
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->commit);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->head);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->stage);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_g_object_unref0 (_data_->committer);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			block33_data_unref (_data_->_data33_);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->_data33_ = NULL;
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.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 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			g_clear_error (&_data_->_inner_error_);
#line 261 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
			return FALSE;
#line 3416 "gitg-action-support.c"
		}
	}
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp69_ = NULL;
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp69_ = _data_->_data33_->oid;
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp70_ = NULL;
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_tmp70_ = __vala_GgitOId_copy0 (_data_->_tmp69_);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->result = _data_->_tmp70_;
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->commit);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->stage);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->committer);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block33_data_unref (_data_->_data33_);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_ = NULL;
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3447 "gitg-action-support.c"
	} else {
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3451 "gitg-action-support.c"
	}
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 282 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->commit);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->head);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->stage);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (_data_->committer);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->parents = (_vala_array_free (_data_->parents, _data_->parents_length1, (GDestroyNotify) _vala_GgitOId_free), NULL);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	block33_data_unref (_data_->_data33_);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_data_->_data33_ = NULL;
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	if (_data_->_state_ == 0) {
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3475 "gitg-action-support.c"
	} else {
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3479 "gitg-action-support.c"
	}
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_unref (_data_->_async_result);
#line 188 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return FALSE;
#line 3485 "gitg-action-support.c"
}


GitgExtApplication* gitg_action_support_get_application (GitgActionSupport* self) {
	GitgExtApplication* result;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = self->priv->_application;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _tmp1_;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 3503 "gitg-action-support.c"
}


void gitg_action_support_set_application (GitgActionSupport* self, GitgExtApplication* value) {
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_if_fail (self != NULL);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = value;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (self->priv->_application);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self->priv->_application = _tmp1_;
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_notify ((GObject *) self, "application");
#line 3522 "gitg-action-support.c"
}


GitgExtRefActionInterface* gitg_action_support_get_action_interface (GitgActionSupport* self) {
	GitgExtRefActionInterface* result;
	GitgExtRefActionInterface* _tmp0_ = NULL;
	GitgExtRefActionInterface* _tmp1_ = NULL;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = self->priv->_action_interface;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	result = _tmp1_;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	return result;
#line 3540 "gitg-action-support.c"
}


void gitg_action_support_set_action_interface (GitgActionSupport* self, GitgExtRefActionInterface* value) {
	GitgExtRefActionInterface* _tmp0_ = NULL;
	GitgExtRefActionInterface* _tmp1_ = NULL;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_return_if_fail (self != NULL);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp0_ = value;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (self->priv->_action_interface);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self->priv->_action_interface = _tmp1_;
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_notify ((GObject *) self, "action-interface");
#line 3559 "gitg-action-support.c"
}


static void gitg_action_support_class_init (GitgActionSupportClass * klass) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	gitg_action_support_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_type_class_add_private (klass, sizeof (GitgActionSupportPrivate));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_action_support_get_property;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_action_support_set_property;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_action_support_finalize;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_ACTION_SUPPORT_APPLICATION, g_param_spec_object ("application", "application", "application", GITG_EXT_TYPE_APPLICATION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_ACTION_SUPPORT_ACTION_INTERFACE, g_param_spec_object ("action-interface", "action-interface", "action-interface", GITG_EXT_TYPE_REF_ACTION_INTERFACE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 3578 "gitg-action-support.c"
}


static void gitg_action_support_instance_init (GitgActionSupport * self) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self->priv = GITG_ACTION_SUPPORT_GET_PRIVATE (self);
#line 3585 "gitg-action-support.c"
}


static void gitg_action_support_finalize (GObject* obj) {
	GitgActionSupport * self;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_ACTION_SUPPORT, GitgActionSupport);
#line 28 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (self->priv->_application);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	_g_object_unref0 (self->priv->_action_interface);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	G_OBJECT_CLASS (gitg_action_support_parent_class)->finalize (obj);
#line 3599 "gitg-action-support.c"
}


GType gitg_action_support_get_type (void) {
	static volatile gsize gitg_action_support_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_action_support_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgActionSupportClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_action_support_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgActionSupport), 0, (GInstanceInitFunc) gitg_action_support_instance_init, NULL };
		GType gitg_action_support_type_id;
		gitg_action_support_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgActionSupport", &g_define_type_info, 0);
		g_once_init_leave (&gitg_action_support_type_id__volatile, gitg_action_support_type_id);
	}
	return gitg_action_support_type_id__volatile;
}


static void _vala_gitg_action_support_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgActionSupport * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_ACTION_SUPPORT, GitgActionSupport);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_APPLICATION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_value_take_object (value, gitg_action_support_get_application (self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_ACTION_INTERFACE:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		g_value_take_object (value, gitg_action_support_get_action_interface (self));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		break;
#line 3632 "gitg-action-support.c"
		default:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		break;
#line 3638 "gitg-action-support.c"
	}
}


static void _vala_gitg_action_support_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgActionSupport * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_ACTION_SUPPORT, GitgActionSupport);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
	switch (property_id) {
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_APPLICATION:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_action_support_set_application (self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		break;
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		case GITG_ACTION_SUPPORT_ACTION_INTERFACE:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		gitg_action_support_set_action_interface (self, g_value_get_object (value));
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		break;
#line 3660 "gitg-action-support.c"
		default:
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/jesse/dev/gitg/gitg/gitg-action-support.vala"
		break;
#line 3666 "gitg-action-support.c"
	}
}


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


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



