/* libvirt-broker.c generated by valac 0.31.1.12-d87fb, the Vala compiler
 * generated from libvirt-broker.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/

#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <libcommon.h>
#include <stdlib.h>
#include <string.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <gtk/gtk.h>
#include <libvirt-gconfig/libvirt-gconfig.h>


#define BOXES_TYPE_BROKER (boxes_broker_get_type ())
#define BOXES_BROKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_BROKER, BoxesBroker))
#define BOXES_BROKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_BROKER, BoxesBrokerClass))
#define BOXES_IS_BROKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_BROKER))
#define BOXES_IS_BROKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_BROKER))
#define BOXES_BROKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_BROKER, BoxesBrokerClass))

typedef struct _BoxesBroker BoxesBroker;
typedef struct _BoxesBrokerClass BoxesBrokerClass;
typedef struct _BoxesBrokerPrivate BoxesBrokerPrivate;

#define BOXES_TYPE_LIBVIRT_BROKER (boxes_libvirt_broker_get_type ())
#define BOXES_LIBVIRT_BROKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_BROKER, BoxesLibvirtBroker))
#define BOXES_LIBVIRT_BROKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_BROKER, BoxesLibvirtBrokerClass))
#define BOXES_IS_LIBVIRT_BROKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_BROKER))
#define BOXES_IS_LIBVIRT_BROKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_BROKER))
#define BOXES_LIBVIRT_BROKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_BROKER, BoxesLibvirtBrokerClass))

typedef struct _BoxesLibvirtBroker BoxesLibvirtBroker;
typedef struct _BoxesLibvirtBrokerClass BoxesLibvirtBrokerClass;
typedef struct _BoxesLibvirtBrokerPrivate BoxesLibvirtBrokerPrivate;
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define BOXES_TYPE_COLLECTION_ITEM (boxes_collection_item_get_type ())
#define BOXES_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem))
#define BOXES_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))
#define BOXES_IS_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_IS_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_COLLECTION_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

#define BOXES_TYPE_MACHINE (boxes_machine_get_type ())
#define BOXES_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE, BoxesMachine))
#define BOXES_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE, BoxesMachineClass))
#define BOXES_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE))
#define BOXES_IS_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE))
#define BOXES_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE, BoxesMachineClass))

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

#define BOXES_TYPE_LIBVIRT_MACHINE (boxes_libvirt_machine_get_type ())
#define BOXES_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachine))
#define BOXES_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))
#define BOXES_IS_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_IS_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_LIBVIRT_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;
typedef struct _Block33Data Block33Data;
typedef struct _Block34Data Block34Data;

#define BOXES_TYPE_APP (boxes_app_get_type ())
#define BOXES_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP, BoxesApp))
#define BOXES_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP, BoxesAppClass))
#define BOXES_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP))
#define BOXES_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP))
#define BOXES_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP, BoxesAppClass))

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;
typedef struct _BoxesAppPrivate BoxesAppPrivate;

#define BOXES_TYPE_COLLECTION (boxes_collection_get_type ())
#define BOXES_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION, BoxesCollection))
#define BOXES_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION, BoxesCollectionClass))
#define BOXES_IS_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION))
#define BOXES_IS_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION))
#define BOXES_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION, BoxesCollectionClass))

typedef struct _BoxesCollection BoxesCollection;
typedef struct _BoxesCollectionClass BoxesCollectionClass;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _BoxesLibvirtBrokerAddDomainData BoxesLibvirtBrokerAddDomainData;
typedef struct _BoxesLibvirtBrokerTryAddNewDomainData BoxesLibvirtBrokerTryAddNewDomainData;

#define BOXES_TYPE_VM_CREATOR (boxes_vm_creator_get_type ())
#define BOXES_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreator))
#define BOXES_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))
#define BOXES_IS_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_CREATOR))
#define BOXES_IS_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_CREATOR))
#define BOXES_VM_CREATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;
#define _boxes_vm_creator_unref0(var) ((var == NULL) ? NULL : (var = (boxes_vm_creator_unref (var), NULL)))

#define BOXES_TYPE_VM_IMPORTER (boxes_vm_importer_get_type ())
#define BOXES_VM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_IMPORTER, BoxesVMImporter))
#define BOXES_VM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_IMPORTER, BoxesVMImporterClass))
#define BOXES_IS_VM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_IMPORTER))
#define BOXES_IS_VM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_IMPORTER))
#define BOXES_VM_IMPORTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_IMPORTER, BoxesVMImporterClass))

typedef struct _BoxesVMImporter BoxesVMImporter;
typedef struct _BoxesVMImporterClass BoxesVMImporterClass;

#define BOXES_TYPE_LIBVIRT_SYSTEM_VM_IMPORTER (boxes_libvirt_system_vm_importer_get_type ())
#define BOXES_LIBVIRT_SYSTEM_VM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_SYSTEM_VM_IMPORTER, BoxesLibvirtSystemVMImporter))
#define BOXES_LIBVIRT_SYSTEM_VM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_SYSTEM_VM_IMPORTER, BoxesLibvirtSystemVMImporterClass))
#define BOXES_IS_LIBVIRT_SYSTEM_VM_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_SYSTEM_VM_IMPORTER))
#define BOXES_IS_LIBVIRT_SYSTEM_VM_IMPORTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_SYSTEM_VM_IMPORTER))
#define BOXES_LIBVIRT_SYSTEM_VM_IMPORTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_SYSTEM_VM_IMPORTER, BoxesLibvirtSystemVMImporterClass))

typedef struct _BoxesLibvirtSystemVMImporter BoxesLibvirtSystemVMImporter;
typedef struct _BoxesLibvirtSystemVMImporterClass BoxesLibvirtSystemVMImporterClass;
typedef struct _BoxesLibvirtBrokerTryAddExistingDomainData BoxesLibvirtBrokerTryAddExistingDomainData;
typedef struct _Block35Data Block35Data;
typedef struct _BoxesLibvirtBrokerAddSourceData BoxesLibvirtBrokerAddSourceData;

struct _BoxesBroker {
	GObject parent_instance;
	BoxesBrokerPrivate * priv;
};

struct _BoxesBrokerClass {
	GObjectClass parent_class;
	void (*add_source) (BoxesBroker* self, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*add_source_finish) (BoxesBroker* self, GAsyncResult* _res_, GError** error);
};

struct _BoxesLibvirtBroker {
	BoxesBroker parent_instance;
	BoxesLibvirtBrokerPrivate * priv;
};

struct _BoxesLibvirtBrokerClass {
	BoxesBrokerClass parent_class;
};

struct _BoxesLibvirtBrokerPrivate {
	GHashTable* connections;
	GList* pending_domains;
};

struct _Block33Data {
	int _ref_count_;
	BoxesLibvirtBroker* self;
	GVirDomain* domain;
	gpointer _async_data_;
};

struct _Block34Data {
	int _ref_count_;
	Block33Data * _data33_;
	GSourceFunc callback;
	gpointer callback_target;
	GDestroyNotify callback_target_destroy_notify;
	gulong id;
};

struct _BoxesApp {
	GtkApplication parent_instance;
	BoxesAppPrivate * priv;
	BoxesCollection* collection;
};

struct _BoxesAppClass {
	GtkApplicationClass parent_class;
};

struct _BoxesLibvirtBrokerAddDomainData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesLibvirtBroker* self;
	BoxesCollectionSource* source;
	GVirConnection* connection;
	GVirDomain* domain;
	BoxesLibvirtMachine* result;
	Block33Data* _data33_;
	GVirDomain* _tmp0_;
	BoxesLibvirtBroker* _tmp1_;
	GList* _tmp2_;
	GVirDomain* _tmp3_;
	GList* _tmp4_;
	Block34Data* _data34_;
	BoxesApp* _tmp5_;
	BoxesCollection* _tmp6_;
	gulong _tmp7_;
	BoxesLibvirtMachine* machine;
	GVirDomain* _tmp8_;
	gconstpointer _tmp9_;
	BoxesLibvirtMachine* _tmp10_;
	BoxesLibvirtMachine* _tmp11_;
	GVirDomain* _tmp12_;
	GVirDomain* _tmp13_;
	BoxesLibvirtMachine* _tmp14_;
	BoxesCollectionSource* _tmp15_;
	GVirConnection* _tmp16_;
	GVirDomain* _tmp17_;
	BoxesLibvirtMachine* _tmp18_;
	BoxesLibvirtMachine* _tmp19_;
	GVirDomain* _tmp20_;
	GVirDomain* _tmp21_;
	BoxesLibvirtMachine* _tmp22_;
	BoxesLibvirtMachine* _tmp23_;
	BoxesApp* _tmp24_;
	BoxesCollection* _tmp25_;
	BoxesLibvirtMachine* _tmp26_;
	BoxesCollectionSource* _tmp27_;
	gchar* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gboolean _tmp31_;
	GVirConfigDomain* config;
	BoxesLibvirtMachine* _tmp32_;
	GVirDomain* _tmp33_;
	GVirDomain* _tmp34_;
	GVirConfigDomain* _tmp35_;
	GVirConfigDomain* _tmp36_;
	GVirConnection* _tmp37_;
	BoxesLibvirtMachine* _tmp38_;
	GVirDomain* _tmp39_;
	GVirDomain* _tmp40_;
	GVirConfigDomain* _tmp41_;
	GError* e;
	GVirDomain* _tmp42_;
	const gchar* _tmp43_;
	GError* _tmp44_;
	const gchar* _tmp45_;
	GError * _inner_error_;
};

struct _BoxesLibvirtBrokerTryAddNewDomainData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesLibvirtBroker* self;
	BoxesCollectionSource* source;
	GVirConnection* connection;
	GVirDomain* domain;
	BoxesCollectionSource* _tmp0_;
	GVirConnection* _tmp1_;
	GVirDomain* _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	BoxesLibvirtMachine* _tmp4_;
	GError* _error_;
	BoxesCollectionSource* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	GError* _tmp9_;
	const gchar* _tmp10_;
	GError * _inner_error_;
};

struct _BoxesLibvirtBrokerTryAddExistingDomainData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesLibvirtBroker* self;
	BoxesCollectionSource* source;
	GVirConnection* connection;
	GVirDomain* domain;
	BoxesLibvirtMachine* machine;
	BoxesCollectionSource* _tmp0_;
	GVirConnection* _tmp1_;
	GVirDomain* _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	GVirConfigDomain* config;
	GVirConfigDomain* _tmp4_;
	GVirConfigDomain* _tmp5_;
	GVirConfigDomain* _tmp6_;
	gboolean _tmp7_;
	GVirConfigDomain* _tmp8_;
	gboolean _tmp9_;
	GVirConfigDomain* _tmp10_;
	gboolean _tmp11_;
	const gchar* _tmp12_;
	const gchar* _tmp13_;
	BoxesVMCreator* _tmp14_;
	BoxesVMCreator* _tmp15_;
	GVirConfigDomain* _tmp16_;
	gboolean _tmp17_;
	const gchar* _tmp18_;
	const gchar* _tmp19_;
	BoxesVMImporter* _tmp20_;
	BoxesVMImporter* _tmp21_;
	GVirConfigDomain* _tmp22_;
	gboolean _tmp23_;
	const gchar* _tmp24_;
	const gchar* _tmp25_;
	BoxesLibvirtSystemVMImporter* _tmp26_;
	BoxesLibvirtSystemVMImporter* _tmp27_;
	GError* _error_;
	BoxesCollectionSource* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	GError* _tmp32_;
	const gchar* _tmp33_;
	GError * _inner_error_;
};

struct _Block35Data {
	int _ref_count_;
	BoxesLibvirtBroker* self;
	BoxesCollectionSource* source;
	gpointer _async_data_;
};

struct _BoxesLibvirtBrokerAddSourceData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesLibvirtBroker* self;
	BoxesCollectionSource* source;
	Block35Data* _data35_;
	BoxesCollectionSource* _tmp0_;
	GHashTable* _tmp1_;
	BoxesCollectionSource* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gconstpointer _tmp6_;
	gboolean _tmp7_;
	GVirConnection* connection;
	BoxesCollectionSource* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	GVirConnection* _tmp12_;
	GVirConnection* _tmp13_;
	GVirConnection* _tmp14_;
	GVirConnection* _tmp15_;
	GVirConnection* _tmp16_;
	GVirConnection* _tmp17_;
	GVirStoragePool* _tmp18_;
	GVirStoragePool* _tmp19_;
	GHashTable* _tmp20_;
	BoxesCollectionSource* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	GVirConnection* _tmp24_;
	GVirConnection* _tmp25_;
	GVirConnection* _tmp26_;
	GList* _tmp27_;
	GList* domain_collection;
	GList* domain_it;
	GVirDomain* _tmp28_;
	GVirDomain* domain;
	BoxesCollectionSource* _tmp29_;
	GVirConnection* _tmp30_;
	GVirDomain* _tmp31_;
	GVirConnection* _tmp32_;
	GVirConnection* _tmp33_;
	BoxesCollectionSource* _tmp34_;
	GError * _inner_error_;
};


static gpointer boxes_libvirt_broker_parent_class = NULL;
static BoxesLibvirtBroker* boxes_libvirt_broker_broker;
static BoxesLibvirtBroker* boxes_libvirt_broker_broker = NULL;
extern BoxesApp* boxes_app_app;

GType boxes_broker_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_broker_get_type (void) G_GNUC_CONST;
#define BOXES_LIBVIRT_BROKER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_LIBVIRT_BROKER, BoxesLibvirtBrokerPrivate))
enum  {
	BOXES_LIBVIRT_BROKER_DUMMY_PROPERTY
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
BoxesLibvirtBroker* boxes_libvirt_broker_get_default (void);
static BoxesLibvirtBroker* boxes_libvirt_broker_new (void);
static BoxesLibvirtBroker* boxes_libvirt_broker_construct (GType object_type);
BoxesBroker* boxes_broker_construct (GType object_type);
static void _g_free0_ (gpointer var);
GVirConnection* boxes_libvirt_broker_get_connection (BoxesLibvirtBroker* self, const gchar* name);
static void boxes_libvirt_broker_add_domain_data_free (gpointer _data);
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
void boxes_libvirt_broker_add_domain (BoxesLibvirtBroker* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesLibvirtMachine* boxes_libvirt_broker_add_domain_finish (BoxesLibvirtBroker* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_libvirt_broker_add_domain_co (BoxesLibvirtBrokerAddDomainData* _data_);
static Block33Data* block33_data_ref (Block33Data* _data33_);
static void block33_data_unref (void * _userdata_);
static Block34Data* block34_data_ref (Block34Data* _data34_);
static void block34_data_unref (void * _userdata_);
static gboolean _boxes_libvirt_broker_add_domain_co_gsource_func (gpointer self);
GType boxes_app_get_type (void) G_GNUC_CONST;
GType boxes_collection_get_type (void) G_GNUC_CONST;
static void ___lambda13_ (Block34Data* _data34_, BoxesCollectionItem* item);
GVirDomain* boxes_libvirt_machine_get_domain (BoxesLibvirtMachine* self);
static void ____lambda13__boxes_collection_item_added (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self);
void boxes_libvirt_machine_new (BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesLibvirtMachine* boxes_libvirt_machine_new_finish (GAsyncResult* _res_, GError** error);
void boxes_libvirt_machine_construct (GType object_type, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_);
BoxesLibvirtMachine* boxes_libvirt_machine_construct_finish (GAsyncResult* _res_, GError** error);
static void boxes_libvirt_broker_add_domain_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_collection_add_item (BoxesCollection* self, BoxesCollectionItem* item);
#define BOXES_APP_DEFAULT_SOURCE_NAME "QEMU Session"
void boxes_vm_configurator_update_existing_domain (GVirConfigDomain* domain, GVirConnection* connection, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_vm_configurator_update_existing_domain_finish (GAsyncResult* _res_);
static void boxes_libvirt_broker_try_add_new_domain_data_free (gpointer _data);
static void boxes_libvirt_broker_try_add_new_domain (BoxesLibvirtBroker* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_libvirt_broker_try_add_new_domain_finish (BoxesLibvirtBroker* self, GAsyncResult* _res_);
static gboolean boxes_libvirt_broker_try_add_new_domain_co (BoxesLibvirtBrokerTryAddNewDomainData* _data_);
static void boxes_libvirt_broker_try_add_new_domain_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_libvirt_broker_try_add_existing_domain_data_free (gpointer _data);
static void boxes_libvirt_broker_try_add_existing_domain (BoxesLibvirtBroker* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_libvirt_broker_try_add_existing_domain_finish (BoxesLibvirtBroker* self, GAsyncResult* _res_);
static gboolean boxes_libvirt_broker_try_add_existing_domain_co (BoxesLibvirtBrokerTryAddExistingDomainData* _data_);
static void boxes_libvirt_broker_try_add_existing_domain_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GVirConfigDomain* boxes_libvirt_machine_get_domain_config (BoxesLibvirtMachine* self);
gboolean boxes_vm_configurator_is_install_config (GVirConfigDomain* domain);
gboolean boxes_vm_configurator_is_live_config (GVirConfigDomain* domain);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
BoxesVMCreator* boxes_vm_creator_new_for_install_completion (BoxesLibvirtMachine* machine);
BoxesVMCreator* boxes_vm_creator_construct_for_install_completion (GType object_type, BoxesLibvirtMachine* machine);
gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value, gpointer v_object);
void boxes_value_take_vm_creator (GValue* value, gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
gboolean boxes_vm_configurator_is_import_config (GVirConfigDomain* domain);
BoxesVMImporter* boxes_vm_importer_new_for_import_completion (BoxesLibvirtMachine* machine);
BoxesVMImporter* boxes_vm_importer_construct_for_import_completion (GType object_type, BoxesLibvirtMachine* machine);
GType boxes_vm_importer_get_type (void) G_GNUC_CONST;
gboolean boxes_vm_configurator_is_libvirt_system_import_config (GVirConfigDomain* domain);
BoxesLibvirtSystemVMImporter* boxes_libvirt_system_vm_importer_new_for_import_completion (BoxesLibvirtMachine* machine);
BoxesLibvirtSystemVMImporter* boxes_libvirt_system_vm_importer_construct_for_import_completion (GType object_type, BoxesLibvirtMachine* machine);
GType boxes_libvirt_system_vm_importer_get_type (void) G_GNUC_CONST;
static void boxes_libvirt_broker_real_add_source_data_free (gpointer _data);
static void boxes_libvirt_broker_real_add_source (BoxesBroker* base, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_libvirt_broker_real_add_source_co (BoxesLibvirtBrokerAddSourceData* _data_);
static Block35Data* block35_data_ref (Block35Data* _data35_);
static void block35_data_unref (void * _userdata_);
static void boxes_libvirt_broker_add_source_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_ensure_storage_pool (GVirConnection* connection, GAsyncReadyCallback _callback_, gpointer _user_data_);
GVirStoragePool* boxes_ensure_storage_pool_finish (GAsyncResult* _res_, GError** error);
static void __lambda14_ (BoxesLibvirtBroker* self, GVirConnection* connection, GVirDomain* domain);
void boxes_app_delete_machine (BoxesApp* self, BoxesMachine* machine, gboolean by_user);
static void ___lambda14__gvir_connection_domain_removed (GVirConnection* _sender, GVirDomain* dom, gpointer self);
static void __lambda16_ (Block35Data* _data35_, GVirConnection* connection, GVirDomain* domain);
static void ___lambda16__gvir_connection_domain_added (GVirConnection* _sender, GVirDomain* dom, gpointer self);
void boxes_broker_add_source (BoxesBroker* self, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_broker_add_source_finish (BoxesBroker* self, GAsyncResult* _res_, GError** error);
static void boxes_libvirt_broker_finalize (GObject* obj);


static void _g_object_unref0_ (gpointer var) {
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 477 "libvirt-broker.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_list_free (self);
#line 486 "libvirt-broker.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return self ? g_object_ref (self) : NULL;
#line 493 "libvirt-broker.c"
}


BoxesLibvirtBroker* boxes_libvirt_broker_get_default (void) {
	BoxesLibvirtBroker* result = NULL;
	BoxesLibvirtBroker* _tmp0_ = NULL;
	BoxesLibvirtBroker* _tmp2_ = NULL;
	BoxesLibvirtBroker* _tmp3_ = NULL;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = boxes_libvirt_broker_broker;
#line 11 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_tmp0_ == NULL) {
#line 506 "libvirt-broker.c"
		BoxesLibvirtBroker* _tmp1_ = NULL;
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_tmp1_ = boxes_libvirt_broker_new ();
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (boxes_libvirt_broker_broker);
#line 12 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		boxes_libvirt_broker_broker = _tmp1_;
#line 514 "libvirt-broker.c"
	}
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = boxes_libvirt_broker_broker;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	result = _tmp3_;
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return result;
#line 524 "libvirt-broker.c"
}


static void _g_free0_ (gpointer var) {
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	var = (g_free (var), NULL);
#line 531 "libvirt-broker.c"
}


static BoxesLibvirtBroker* boxes_libvirt_broker_construct (GType object_type) {
	BoxesLibvirtBroker * self = NULL;
	GHashFunc _tmp0_ = NULL;
	GEqualFunc _tmp1_ = NULL;
	GHashTable* _tmp2_ = NULL;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self = (BoxesLibvirtBroker*) boxes_broker_construct (object_type);
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = g_str_hash;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = g_str_equal;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = g_hash_table_new_full (_tmp0_, _tmp1_, _g_free0_, _g_object_unref0_);
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_hash_table_unref0 (self->priv->connections);
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self->priv->connections = _tmp2_;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	__g_list_free__g_object_unref0_0 (self->priv->pending_domains);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self->priv->pending_domains = NULL;
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return self;
#line 558 "libvirt-broker.c"
}


static BoxesLibvirtBroker* boxes_libvirt_broker_new (void) {
#line 17 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return boxes_libvirt_broker_construct (BOXES_TYPE_LIBVIRT_BROKER);
#line 565 "libvirt-broker.c"
}


GVirConnection* boxes_libvirt_broker_get_connection (BoxesLibvirtBroker* self, const gchar* name) {
	GVirConnection* result = NULL;
	BoxesLibvirtBroker* _tmp0_ = NULL;
	BoxesLibvirtBroker* _tmp1_ = NULL;
	GHashTable* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gconstpointer _tmp4_ = NULL;
	GVirConnection* _tmp5_ = NULL;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = boxes_libvirt_broker_broker;
#line 23 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_if_fail (_tmp0_ != NULL);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = boxes_libvirt_broker_broker;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = _tmp1_->priv->connections;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp3_ = name;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp4_ = g_hash_table_lookup (_tmp2_, _tmp3_);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp5_ = _g_object_ref0 ((GVirConnection*) _tmp4_);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	result = _tmp5_;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return result;
#line 599 "libvirt-broker.c"
}


static void boxes_libvirt_broker_add_domain_data_free (gpointer _data) {
	BoxesLibvirtBrokerAddDomainData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->connection);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->result);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_slice_free (BoxesLibvirtBrokerAddDomainData, _data_);
#line 616 "libvirt-broker.c"
}


void boxes_libvirt_broker_add_domain (BoxesLibvirtBroker* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtBrokerAddDomainData* _data_;
	BoxesLibvirtBroker* _tmp0_ = NULL;
	BoxesCollectionSource* _tmp1_ = NULL;
	BoxesCollectionSource* _tmp2_ = NULL;
	GVirConnection* _tmp3_ = NULL;
	GVirConnection* _tmp4_ = NULL;
	GVirDomain* _tmp5_ = NULL;
	GVirDomain* _tmp6_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_slice_new0 (BoxesLibvirtBrokerAddDomainData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_libvirt_broker_add_domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_libvirt_broker_add_domain_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = source;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->source = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp3_ = connection;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->connection);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->connection = _tmp4_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp5_ = domain;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->domain = _tmp6_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_add_domain_co (_data_);
#line 665 "libvirt-broker.c"
}


BoxesLibvirtMachine* boxes_libvirt_broker_add_domain_finish (BoxesLibvirtBroker* self, GAsyncResult* _res_, GError** error) {
	BoxesLibvirtMachine* result;
	BoxesLibvirtBrokerAddDomainData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return NULL;
#line 676 "libvirt-broker.c"
	}
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	result = _data_->result;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->result = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return result;
#line 686 "libvirt-broker.c"
}


static Block33Data* block33_data_ref (Block33Data* _data33_) {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_atomic_int_inc (&_data33_->_ref_count_);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return _data33_;
#line 695 "libvirt-broker.c"
}


static void block33_data_unref (void * _userdata_) {
	Block33Data* _data33_;
	_data33_ = (Block33Data*) _userdata_;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (g_atomic_int_dec_and_test (&_data33_->_ref_count_)) {
#line 704 "libvirt-broker.c"
		BoxesLibvirtBroker* self;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		self = _data33_->self;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data33_->domain);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (self);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_slice_free (Block33Data, _data33_);
#line 714 "libvirt-broker.c"
	}
}


static Block34Data* block34_data_ref (Block34Data* _data34_) {
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_atomic_int_inc (&_data34_->_ref_count_);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return _data34_;
#line 724 "libvirt-broker.c"
}


static void block34_data_unref (void * _userdata_) {
	Block34Data* _data34_;
	_data34_ = (Block34Data*) _userdata_;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (g_atomic_int_dec_and_test (&_data34_->_ref_count_)) {
#line 733 "libvirt-broker.c"
		BoxesLibvirtBroker* self;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		self = _data34_->_data33_->self;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		(_data34_->callback_target_destroy_notify == NULL) ? NULL : (_data34_->callback_target_destroy_notify (_data34_->callback_target), NULL);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data34_->callback = NULL;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data34_->callback_target = NULL;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data34_->callback_target_destroy_notify = NULL;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block33_data_unref (_data34_->_data33_);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data34_->_data33_ = NULL;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_slice_free (Block34Data, _data34_);
#line 751 "libvirt-broker.c"
	}
}


static gboolean _boxes_libvirt_broker_add_domain_co_gsource_func (gpointer self) {
	gboolean result;
	result = boxes_libvirt_broker_add_domain_co (self);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return result;
#line 761 "libvirt-broker.c"
}


static void ___lambda13_ (Block34Data* _data34_, BoxesCollectionItem* item) {
	Block33Data* _data33_;
	BoxesLibvirtBroker* self;
	gboolean _tmp0_ = FALSE;
	BoxesCollectionItem* _tmp1_ = NULL;
	BoxesApp* _tmp6_ = NULL;
	BoxesCollection* _tmp7_ = NULL;
	gulong _tmp8_ = 0UL;
	GSourceFunc _tmp9_ = NULL;
	void* _tmp9__target = NULL;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data33_ = _data34_->_data33_;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self = _data33_->self;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_if_fail (item != NULL);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = item;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, BOXES_TYPE_LIBVIRT_MACHINE)) {
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_tmp0_ = TRUE;
#line 787 "libvirt-broker.c"
	} else {
		BoxesCollectionItem* _tmp2_ = NULL;
		GVirDomain* _tmp3_ = NULL;
		GVirDomain* _tmp4_ = NULL;
		GVirDomain* _tmp5_ = NULL;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_tmp2_ = item;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_tmp3_ = boxes_libvirt_machine_get_domain (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, BOXES_TYPE_LIBVIRT_MACHINE) ? ((BoxesLibvirtMachine*) _tmp2_) : NULL);
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_tmp4_ = _tmp3_;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_tmp5_ = _data33_->domain;
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_tmp0_ = _tmp4_ != _tmp5_;
#line 803 "libvirt-broker.c"
	}
#line 36 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_tmp0_) {
#line 37 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return;
#line 809 "libvirt-broker.c"
	}
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp6_ = boxes_app_app;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp7_ = _tmp6_->collection;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp8_ = _data34_->id;
#line 39 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_signal_handler_disconnect ((GObject*) _tmp7_, _tmp8_);
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp9_ = _data34_->callback;
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp9__target = _data34_->callback_target;
#line 40 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp9_ (_tmp9__target);
#line 825 "libvirt-broker.c"
}


static void ____lambda13__boxes_collection_item_added (BoxesCollection* _sender, BoxesCollectionItem* item, gpointer self) {
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	___lambda13_ (self, item);
#line 832 "libvirt-broker.c"
}


static void boxes_libvirt_broker_add_domain_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtBrokerAddDomainData* _data_;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = _user_data_;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_source_object_ = source_object;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_res_ = _res_;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_add_domain_co (_data_);
#line 846 "libvirt-broker.c"
}


static gboolean boxes_libvirt_broker_add_domain_co (BoxesLibvirtBrokerAddDomainData* _data_) {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	switch (_data_->_state_) {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 0:
#line 855 "libvirt-broker.c"
		goto _state_0;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 1:
#line 859 "libvirt-broker.c"
		goto _state_1;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 2:
#line 863 "libvirt-broker.c"
		goto _state_2;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 3:
#line 867 "libvirt-broker.c"
		goto _state_3;
		default:
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_assert_not_reached ();
#line 872 "libvirt-broker.c"
	}
	_state_0:
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data33_ = g_slice_new0 (Block33Data);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data33_->_ref_count_ = 1;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data33_->self = g_object_ref (_data_->self);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp0_ = NULL;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp0_ = _data_->domain;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->_data33_->domain);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data33_->domain = _data_->_tmp0_;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data33_->_async_data_ = _data_;
#line 29 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp1_ = NULL;
#line 29 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp1_ = boxes_libvirt_broker_broker;
#line 29 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_if_fail (_data_->_tmp1_ != NULL);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp2_ = NULL;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp2_ = _data_->self->priv->pending_domains;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp3_ = NULL;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp3_ = _data_->_data33_->domain;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp4_ = NULL;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp4_ = g_list_find (_data_->_tmp2_, _data_->_tmp3_);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_tmp4_ != NULL) {
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_ = g_slice_new0 (Block34Data);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_->_ref_count_ = 1;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_->_data33_ = block33_data_ref (_data_->_data33_);
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_->callback = _boxes_libvirt_broker_add_domain_co_gsource_func;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_->callback_target = _data_;
#line 33 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_->callback_target_destroy_notify = NULL;
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_->id = (gulong) 0;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp5_ = NULL;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp5_ = boxes_app_app;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp6_ = NULL;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp6_ = _data_->_tmp5_->collection;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp7_ = 0UL;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp7_ = g_signal_connect_data (_data_->_tmp6_, "item-added", (GCallback) ____lambda13__boxes_collection_item_added, block34_data_ref (_data_->_data34_), (GClosureNotify) block34_data_unref, 0);
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_->id = _data_->_tmp7_;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_state_ = 1;
#line 43 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 943 "libvirt-broker.c"
		_state_1:
		;
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block34_data_unref (_data_->_data34_);
#line 31 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data34_ = NULL;
#line 950 "libvirt-broker.c"
	}
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp8_ = NULL;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp8_ = _data_->_data33_->domain;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp9_ = NULL;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp9_ = g_object_get_data ((GObject*) _data_->_tmp8_, "machine");
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp10_ = NULL;
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp10_ = _g_object_ref0 ((BoxesLibvirtMachine*) _data_->_tmp9_);
#line 46 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->machine = _data_->_tmp10_;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp11_ = NULL;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp11_ = _data_->machine;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_tmp11_ != NULL) {
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->result = _data_->machine;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block33_data_unref (_data_->_data33_);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data33_ = NULL;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 982 "libvirt-broker.c"
		} else {
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 986 "libvirt-broker.c"
		}
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 992 "libvirt-broker.c"
	}
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp12_ = NULL;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp12_ = _data_->_data33_->domain;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp13_ = NULL;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp13_ = _g_object_ref0 (_data_->_tmp12_);
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->self->priv->pending_domains = g_list_append (_data_->self->priv->pending_domains, _data_->_tmp13_);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp15_ = NULL;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp15_ = _data_->source;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp16_ = NULL;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp16_ = _data_->connection;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp17_ = NULL;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp17_ = _data_->_data33_->domain;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_state_ = 2;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_machine_new (_data_->_tmp15_, _data_->_tmp16_, _data_->_tmp17_, boxes_libvirt_broker_add_domain_ready, _data_);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 1022 "libvirt-broker.c"
	_state_2:
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp18_ = NULL;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp18_ = boxes_libvirt_machine_new_finish (_data_->_res_, &_data_->_inner_error_);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp14_ = _data_->_tmp18_;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_error_free (_data_->_inner_error_);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->machine);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block33_data_unref (_data_->_data33_);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data33_ = NULL;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1046 "libvirt-broker.c"
		} else {
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1050 "libvirt-broker.c"
		}
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1056 "libvirt-broker.c"
	}
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp19_ = NULL;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp19_ = _data_->_tmp14_;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp14_ = NULL;
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->machine);
#line 51 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->machine = _data_->_tmp19_;
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp20_ = NULL;
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp20_ = _data_->_data33_->domain;
#line 52 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->self->priv->pending_domains = g_list_remove (_data_->self->priv->pending_domains, _data_->_tmp20_);
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp21_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp21_ = _data_->_data33_->domain;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp22_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp22_ = _data_->machine;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp23_ = NULL;
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp23_ = _g_object_ref0 (_data_->_tmp22_);
#line 54 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_object_set_data_full ((GObject*) _data_->_tmp21_, "machine", _data_->_tmp23_, g_object_unref);
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp24_ = NULL;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp24_ = boxes_app_app;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp25_ = NULL;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp25_ = _data_->_tmp24_->collection;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp26_ = NULL;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp26_ = _data_->machine;
#line 55 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_collection_add_item (_data_->_tmp25_, (BoxesCollectionItem*) _data_->_tmp26_);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp27_ = NULL;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp27_ = _data_->source;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp28_ = NULL;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp28_ = boxes_collection_source_get_name (_data_->_tmp27_);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp29_ = NULL;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp29_ = _data_->_tmp28_;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp30_ = NULL;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp30_ = _data_->_tmp29_;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp31_ = FALSE;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp31_ = g_strcmp0 (_data_->_tmp30_, BOXES_APP_DEFAULT_SOURCE_NAME) != 0;
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_free0 (_data_->_tmp30_);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_tmp31_) {
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->result = _data_->machine;
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->_tmp14_);
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block33_data_unref (_data_->_data33_);
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data33_ = NULL;
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1138 "libvirt-broker.c"
		} else {
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1142 "libvirt-broker.c"
		}
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 58 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1148 "libvirt-broker.c"
	}
	{
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp32_ = NULL;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp32_ = _data_->machine;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp33_ = NULL;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp33_ = boxes_libvirt_machine_get_domain (_data_->_tmp32_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp34_ = NULL;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp34_ = _data_->_tmp33_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp35_ = NULL;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp35_ = gvir_domain_get_config (_data_->_tmp34_, (guint) 0, &_data_->_inner_error_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->config = _data_->_tmp35_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1171 "libvirt-broker.c"
			goto __catch12_g_error;
		}
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp36_ = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp36_ = _data_->config;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp37_ = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp37_ = _data_->connection;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_state_ = 3;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		boxes_vm_configurator_update_existing_domain (_data_->_tmp36_, _data_->_tmp37_, boxes_libvirt_broker_add_domain_ready, _data_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1188 "libvirt-broker.c"
		_state_3:
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		boxes_vm_configurator_update_existing_domain_finish (_data_->_res_);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp38_ = NULL;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp38_ = _data_->machine;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp39_ = NULL;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp39_ = boxes_libvirt_machine_get_domain (_data_->_tmp38_);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp40_ = NULL;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp40_ = _data_->_tmp39_;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp41_ = NULL;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp41_ = _data_->config;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		gvir_domain_set_config (_data_->_tmp40_, _data_->_tmp41_, &_data_->_inner_error_);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_g_object_unref0 (_data_->config);
#line 1214 "libvirt-broker.c"
			goto __catch12_g_error;
		}
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->config);
#line 1219 "libvirt-broker.c"
	}
	goto __finally12;
	__catch12_g_error:
	{
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->e = _data_->_inner_error_;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_inner_error_ = NULL;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp42_ = NULL;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp42_ = _data_->_data33_->domain;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp43_ = NULL;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp43_ = gvir_domain_get_name (_data_->_tmp42_);
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp44_ = NULL;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp44_ = _data_->e;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp45_ = NULL;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp45_ = _data_->_tmp44_->message;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_warning ("libvirt-broker.vala:66: Failed to update domain '%s': %s", _data_->_tmp43_, _data_->_tmp45_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_error_free0 (_data_->e);
#line 1248 "libvirt-broker.c"
	}
	__finally12:
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_error_free (_data_->_inner_error_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->_tmp14_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->machine);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block33_data_unref (_data_->_data33_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data33_ = NULL;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1269 "libvirt-broker.c"
		} else {
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1273 "libvirt-broker.c"
		}
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1279 "libvirt-broker.c"
	}
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->result = _data_->machine;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->_tmp14_);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	block33_data_unref (_data_->_data33_);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data33_ = NULL;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_state_ == 0) {
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1293 "libvirt-broker.c"
	} else {
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1297 "libvirt-broker.c"
	}
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_object_unref (_data_->_async_result);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->_tmp14_);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->machine);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	block33_data_unref (_data_->_data33_);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data33_ = NULL;
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_state_ == 0) {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1315 "libvirt-broker.c"
	} else {
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1319 "libvirt-broker.c"
	}
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_object_unref (_data_->_async_result);
#line 27 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 1325 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_new_domain_data_free (gpointer _data) {
	BoxesLibvirtBrokerTryAddNewDomainData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->connection);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_slice_free (BoxesLibvirtBrokerTryAddNewDomainData, _data_);
#line 1342 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_new_domain (BoxesLibvirtBroker* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtBrokerTryAddNewDomainData* _data_;
	BoxesLibvirtBroker* _tmp0_ = NULL;
	BoxesCollectionSource* _tmp1_ = NULL;
	BoxesCollectionSource* _tmp2_ = NULL;
	GVirConnection* _tmp3_ = NULL;
	GVirConnection* _tmp4_ = NULL;
	GVirDomain* _tmp5_ = NULL;
	GVirDomain* _tmp6_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_slice_new0 (BoxesLibvirtBrokerTryAddNewDomainData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_libvirt_broker_try_add_new_domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_libvirt_broker_try_add_new_domain_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = source;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->source = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp3_ = connection;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->connection);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->connection = _tmp4_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp5_ = domain;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->domain = _tmp6_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_try_add_new_domain_co (_data_);
#line 1391 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_new_domain_finish (BoxesLibvirtBroker* self, GAsyncResult* _res_) {
	BoxesLibvirtBrokerTryAddNewDomainData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1399 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_new_domain_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtBrokerTryAddNewDomainData* _data_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = _user_data_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_source_object_ = source_object;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_res_ = _res_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_try_add_new_domain_co (_data_);
#line 1413 "libvirt-broker.c"
}


static gboolean boxes_libvirt_broker_try_add_new_domain_co (BoxesLibvirtBrokerTryAddNewDomainData* _data_) {
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	switch (_data_->_state_) {
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 0:
#line 1422 "libvirt-broker.c"
		goto _state_0;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 1:
#line 1426 "libvirt-broker.c"
		goto _state_1;
		default:
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_assert_not_reached ();
#line 1431 "libvirt-broker.c"
	}
	_state_0:
	{
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp0_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp0_ = _data_->source;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp1_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp1_ = _data_->connection;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp2_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp2_ = _data_->domain;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_state_ = 1;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		boxes_libvirt_broker_add_domain (_data_->self, _data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_, boxes_libvirt_broker_try_add_new_domain_ready, _data_);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1453 "libvirt-broker.c"
		_state_1:
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp3_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp3_ = boxes_libvirt_broker_add_domain_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp4_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->_tmp4_);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1467 "libvirt-broker.c"
			goto __catch13_g_error;
		}
	}
	goto __finally13;
	__catch13_g_error:
	{
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_inner_error_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp5_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp5_ = _data_->source;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp6_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp6_ = boxes_collection_source_get_name (_data_->_tmp5_);
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp7_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp7_ = _data_->_tmp6_;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp8_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp8_ = _data_->_tmp7_;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp9_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp9_ = _data_->_error_;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp10_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp10_ = _data_->_tmp9_->message;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_warning ("libvirt-broker.vala:77: Failed to create source '%s': %s", _data_->_tmp8_, _data_->_tmp10_);
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_free0 (_data_->_tmp8_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_error_free0 (_data_->_error_);
#line 1508 "libvirt-broker.c"
	}
	__finally13:
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.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 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_clear_error (&_data_->_inner_error_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1519 "libvirt-broker.c"
	}
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_state_ == 0) {
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1525 "libvirt-broker.c"
	} else {
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1529 "libvirt-broker.c"
	}
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_object_unref (_data_->_async_result);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 1535 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_existing_domain_data_free (gpointer _data) {
	BoxesLibvirtBrokerTryAddExistingDomainData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->connection);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_slice_free (BoxesLibvirtBrokerTryAddExistingDomainData, _data_);
#line 1552 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_existing_domain (BoxesLibvirtBroker* self, BoxesCollectionSource* source, GVirConnection* connection, GVirDomain* domain, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtBrokerTryAddExistingDomainData* _data_;
	BoxesLibvirtBroker* _tmp0_ = NULL;
	BoxesCollectionSource* _tmp1_ = NULL;
	BoxesCollectionSource* _tmp2_ = NULL;
	GVirConnection* _tmp3_ = NULL;
	GVirConnection* _tmp4_ = NULL;
	GVirDomain* _tmp5_ = NULL;
	GVirDomain* _tmp6_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_slice_new0 (BoxesLibvirtBrokerTryAddExistingDomainData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_libvirt_broker_try_add_existing_domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_libvirt_broker_try_add_existing_domain_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = source;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->source = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp3_ = connection;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->connection);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->connection = _tmp4_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp5_ = domain;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->domain);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->domain = _tmp6_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_try_add_existing_domain_co (_data_);
#line 1601 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_existing_domain_finish (BoxesLibvirtBroker* self, GAsyncResult* _res_) {
	BoxesLibvirtBrokerTryAddExistingDomainData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1609 "libvirt-broker.c"
}


static void boxes_libvirt_broker_try_add_existing_domain_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtBrokerTryAddExistingDomainData* _data_;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = _user_data_;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_source_object_ = source_object;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_res_ = _res_;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_try_add_existing_domain_co (_data_);
#line 1623 "libvirt-broker.c"
}


static gboolean boxes_libvirt_broker_try_add_existing_domain_co (BoxesLibvirtBrokerTryAddExistingDomainData* _data_) {
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	switch (_data_->_state_) {
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 0:
#line 1632 "libvirt-broker.c"
		goto _state_0;
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 1:
#line 1636 "libvirt-broker.c"
		goto _state_1;
		default:
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_assert_not_reached ();
#line 1641 "libvirt-broker.c"
	}
	_state_0:
	{
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp0_ = NULL;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp0_ = _data_->source;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp1_ = NULL;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp1_ = _data_->connection;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp2_ = NULL;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp2_ = _data_->domain;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_state_ = 1;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		boxes_libvirt_broker_add_domain (_data_->self, _data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_, boxes_libvirt_broker_try_add_existing_domain_ready, _data_);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1663 "libvirt-broker.c"
		_state_1:
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp3_ = NULL;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp3_ = boxes_libvirt_broker_add_domain_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->machine = _data_->_tmp3_;
#line 86 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1673 "libvirt-broker.c"
			goto __catch14_g_error;
		}
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp4_ = NULL;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp4_ = boxes_libvirt_machine_get_domain_config (_data_->machine);
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp5_ = NULL;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp5_ = _data_->_tmp4_;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp6_ = NULL;
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp6_ = _g_object_ref0 (_data_->_tmp5_);
#line 87 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->config = _data_->_tmp6_;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp8_ = NULL;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp8_ = _data_->config;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp9_ = FALSE;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp9_ = boxes_vm_configurator_is_install_config (_data_->_tmp8_);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_tmp9_) {
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp7_ = TRUE;
#line 1702 "libvirt-broker.c"
		} else {
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp10_ = NULL;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp10_ = _data_->config;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp11_ = FALSE;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp11_ = boxes_vm_configurator_is_live_config (_data_->_tmp10_);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp7_ = _data_->_tmp11_;
#line 1714 "libvirt-broker.c"
		}
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_tmp7_) {
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp12_ = NULL;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp12_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _data_->machine);
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp13_ = NULL;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp13_ = _data_->_tmp12_;
#line 91 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_debug ("libvirt-broker.vala:91: Continuing installation/live session for '%s'," \
" ..", _data_->_tmp13_);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp14_ = NULL;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp14_ = boxes_vm_creator_new_for_install_completion (_data_->machine);
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp15_ = NULL;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp15_ = _data_->_tmp14_;
#line 92 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_boxes_vm_creator_unref0 (_data_->_tmp15_);
#line 1738 "libvirt-broker.c"
		} else {
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp16_ = NULL;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp16_ = _data_->config;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp17_ = FALSE;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp17_ = boxes_vm_configurator_is_import_config (_data_->_tmp16_);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			if (_data_->_tmp17_) {
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp18_ = NULL;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp18_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _data_->machine);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp19_ = NULL;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp19_ = _data_->_tmp18_;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				g_debug ("libvirt-broker.vala:94: Continuing import of '%s', ..", _data_->_tmp19_);
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp20_ = NULL;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp20_ = boxes_vm_importer_new_for_import_completion (_data_->machine);
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp21_ = NULL;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp21_ = _data_->_tmp20_;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_boxes_vm_creator_unref0 (_data_->_tmp21_);
#line 1770 "libvirt-broker.c"
			} else {
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp22_ = NULL;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp22_ = _data_->config;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp23_ = FALSE;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp23_ = boxes_vm_configurator_is_libvirt_system_import_config (_data_->_tmp22_);
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				if (_data_->_tmp23_) {
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp24_ = NULL;
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp24_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _data_->machine);
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp25_ = NULL;
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp25_ = _data_->_tmp24_;
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					g_debug ("libvirt-broker.vala:97: Continuing import of '%s', ..", _data_->_tmp25_);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp26_ = NULL;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp26_ = boxes_libvirt_system_vm_importer_new_for_import_completion (_data_->machine);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp27_ = NULL;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_data_->_tmp27_ = _data_->_tmp26_;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
					_boxes_vm_creator_unref0 (_data_->_tmp27_);
#line 1802 "libvirt-broker.c"
				}
			}
		}
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->config);
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->machine);
#line 1810 "libvirt-broker.c"
	}
	goto __finally14;
	__catch14_g_error:
	{
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_inner_error_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp28_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp28_ = _data_->source;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp29_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp29_ = boxes_collection_source_get_name (_data_->_tmp28_);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp30_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp30_ = _data_->_tmp29_;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp31_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp31_ = _data_->_tmp30_;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp32_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp32_ = _data_->_error_;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp33_ = NULL;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_tmp33_ = _data_->_tmp32_->message;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_warning ("libvirt-broker.vala:101: Failed to create source '%s': %s", _data_->_tmp31_, _data_->_tmp33_);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_free0 (_data_->_tmp31_);
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_error_free0 (_data_->_error_);
#line 1849 "libvirt-broker.c"
	}
	__finally14:
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.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 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_clear_error (&_data_->_inner_error_);
#line 85 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 1860 "libvirt-broker.c"
	}
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_state_ == 0) {
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1866 "libvirt-broker.c"
	} else {
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1870 "libvirt-broker.c"
	}
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_object_unref (_data_->_async_result);
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 1876 "libvirt-broker.c"
}


static void boxes_libvirt_broker_real_add_source_data_free (gpointer _data) {
	BoxesLibvirtBrokerAddSourceData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_slice_free (BoxesLibvirtBrokerAddSourceData, _data_);
#line 1887 "libvirt-broker.c"
}


static void boxes_libvirt_broker_real_add_source (BoxesBroker* base, BoxesCollectionSource* source, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtBroker * self;
	BoxesLibvirtBrokerAddSourceData* _data_;
	BoxesLibvirtBroker* _tmp0_ = NULL;
	BoxesCollectionSource* _tmp1_ = NULL;
	BoxesCollectionSource* _tmp2_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self = (BoxesLibvirtBroker*) base;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_slice_new0 (BoxesLibvirtBrokerAddSourceData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_libvirt_broker_real_add_source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_libvirt_broker_real_add_source_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = source;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->source);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->source = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_real_add_source_co (_data_);
#line 1919 "libvirt-broker.c"
}


static void boxes_libvirt_broker_real_add_source_finish (BoxesBroker* base, GAsyncResult* _res_, GError** error) {
	BoxesLibvirtBrokerAddSourceData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return;
#line 1929 "libvirt-broker.c"
	}
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1933 "libvirt-broker.c"
}


static Block35Data* block35_data_ref (Block35Data* _data35_) {
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_atomic_int_inc (&_data35_->_ref_count_);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return _data35_;
#line 1942 "libvirt-broker.c"
}


static void block35_data_unref (void * _userdata_) {
	Block35Data* _data35_;
	_data35_ = (Block35Data*) _userdata_;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (g_atomic_int_dec_and_test (&_data35_->_ref_count_)) {
#line 1951 "libvirt-broker.c"
		BoxesLibvirtBroker* self;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		self = _data35_->self;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data35_->source);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (self);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_slice_free (Block35Data, _data35_);
#line 1961 "libvirt-broker.c"
	}
}


static void boxes_libvirt_broker_add_source_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtBrokerAddSourceData* _data_;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_ = _user_data_;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_source_object_ = source_object;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_res_ = _res_;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_real_add_source_co (_data_);
#line 1976 "libvirt-broker.c"
}


static void __lambda14_ (BoxesLibvirtBroker* self, GVirConnection* connection, GVirDomain* domain) {
	BoxesLibvirtMachine* machine = NULL;
	GVirDomain* _tmp0_ = NULL;
	gconstpointer _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
	BoxesLibvirtMachine* _tmp3_ = NULL;
	BoxesApp* _tmp4_ = NULL;
	BoxesLibvirtMachine* _tmp5_ = NULL;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_if_fail (connection != NULL);
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_if_fail (domain != NULL);
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = domain;
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = g_object_get_data ((GObject*) _tmp0_, "machine");
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = _g_object_ref0 ((BoxesLibvirtMachine*) _tmp1_);
#line 122 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	machine = _tmp2_;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp3_ = machine;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_tmp3_ == NULL) {
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (machine);
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return;
#line 2008 "libvirt-broker.c"
	}
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp4_ = boxes_app_app;
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp5_ = machine;
#line 126 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_app_delete_machine (_tmp4_, (BoxesMachine*) _tmp5_, FALSE);
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (machine);
#line 2018 "libvirt-broker.c"
}


static void ___lambda14__gvir_connection_domain_removed (GVirConnection* _sender, GVirDomain* dom, gpointer self) {
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	__lambda14_ ((BoxesLibvirtBroker*) self, _sender, dom);
#line 2025 "libvirt-broker.c"
}


static void __lambda16_ (Block35Data* _data35_, GVirConnection* connection, GVirDomain* domain) {
	BoxesLibvirtBroker* self;
	GVirDomain* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	BoxesCollectionSource* _tmp2_ = NULL;
	GVirConnection* _tmp3_ = NULL;
	GVirDomain* _tmp4_ = NULL;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self = _data35_->self;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_if_fail (connection != NULL);
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_return_if_fail (domain != NULL);
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp0_ = domain;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp1_ = gvir_domain_get_name (_tmp0_);
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_debug ("libvirt-broker.vala:130: New domain '%s'", _tmp1_);
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp2_ = _data35_->source;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp3_ = connection;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_tmp4_ = domain;
#line 131 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_try_add_new_domain (self, _tmp2_, _tmp3_, _tmp4_, NULL, NULL);
#line 2056 "libvirt-broker.c"
}


static void ___lambda16__gvir_connection_domain_added (GVirConnection* _sender, GVirDomain* dom, gpointer self) {
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	__lambda16_ (self, _sender, dom);
#line 2063 "libvirt-broker.c"
}


static gboolean boxes_libvirt_broker_real_add_source_co (BoxesLibvirtBrokerAddSourceData* _data_) {
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	switch (_data_->_state_) {
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 0:
#line 2072 "libvirt-broker.c"
		goto _state_0;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 1:
#line 2076 "libvirt-broker.c"
		goto _state_1;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 2:
#line 2080 "libvirt-broker.c"
		goto _state_2;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 3:
#line 2084 "libvirt-broker.c"
		goto _state_3;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 4:
#line 2088 "libvirt-broker.c"
		goto _state_4;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 5:
#line 2092 "libvirt-broker.c"
		goto _state_5;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		case 6:
#line 2096 "libvirt-broker.c"
		goto _state_6;
		default:
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_assert_not_reached ();
#line 2101 "libvirt-broker.c"
	}
	_state_0:
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data35_ = g_slice_new0 (Block35Data);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data35_->_ref_count_ = 1;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data35_->self = g_object_ref (_data_->self);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp0_ = NULL;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp0_ = _data_->source;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->_data35_->source);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data35_->source = _data_->_tmp0_;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data35_->_async_data_ = _data_;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp1_ = NULL;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp1_ = _data_->self->priv->connections;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp2_ = NULL;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp2_ = _data_->_data35_->source;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp3_ = NULL;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp3_ = boxes_collection_source_get_name (_data_->_tmp2_);
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp4_ = NULL;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp5_ = NULL;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp6_ = NULL;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp6_ = g_hash_table_lookup (_data_->_tmp1_, _data_->_tmp5_);
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp7_ = FALSE;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp7_ = ((GVirConnection*) _data_->_tmp6_) != NULL;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_free0 (_data_->_tmp5_);
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_tmp7_) {
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block35_data_unref (_data_->_data35_);
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data35_ = NULL;
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2160 "libvirt-broker.c"
		} else {
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2164 "libvirt-broker.c"
		}
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 107 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 2170 "libvirt-broker.c"
	}
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp8_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp8_ = _data_->_data35_->source;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp9_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp9_ = boxes_collection_source_get_uri (_data_->_tmp8_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp10_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp11_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp11_ = _data_->_tmp10_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp12_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp12_ = gvir_connection_new (_data_->_tmp11_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp13_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_free0 (_data_->_tmp11_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->connection = _data_->_tmp13_;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp14_ = NULL;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp14_ = _data_->connection;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_state_ = 1;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	gvir_connection_open_async (_data_->_tmp14_, NULL, boxes_libvirt_broker_add_source_ready, _data_);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 2210 "libvirt-broker.c"
	_state_1:
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	gvir_connection_open_finish (_data_->_tmp14_, _data_->_res_, &_data_->_inner_error_);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_error_free (_data_->_inner_error_);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->connection);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block35_data_unref (_data_->_data35_);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data35_ = NULL;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2230 "libvirt-broker.c"
		} else {
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2234 "libvirt-broker.c"
		}
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 2240 "libvirt-broker.c"
	}
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp15_ = NULL;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp15_ = _data_->connection;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_state_ = 2;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	gvir_connection_fetch_domains_async (_data_->_tmp15_, NULL, boxes_libvirt_broker_add_source_ready, _data_);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 2252 "libvirt-broker.c"
	_state_2:
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	gvir_connection_fetch_domains_finish (_data_->_tmp15_, _data_->_res_, &_data_->_inner_error_);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_error_free (_data_->_inner_error_);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->connection);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block35_data_unref (_data_->_data35_);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data35_ = NULL;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2272 "libvirt-broker.c"
		} else {
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2276 "libvirt-broker.c"
		}
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 2282 "libvirt-broker.c"
	}
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp16_ = NULL;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp16_ = _data_->connection;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_state_ = 3;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	gvir_connection_fetch_storage_pools_async (_data_->_tmp16_, NULL, boxes_libvirt_broker_add_source_ready, _data_);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 2294 "libvirt-broker.c"
	_state_3:
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	gvir_connection_fetch_storage_pools_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_error_free (_data_->_inner_error_);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->connection);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block35_data_unref (_data_->_data35_);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data35_ = NULL;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2314 "libvirt-broker.c"
		} else {
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2318 "libvirt-broker.c"
		}
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 2324 "libvirt-broker.c"
	}
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp17_ = NULL;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp17_ = _data_->connection;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_state_ = 4;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_ensure_storage_pool (_data_->_tmp17_, boxes_libvirt_broker_add_source_ready, _data_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 2336 "libvirt-broker.c"
	_state_4:
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp18_ = NULL;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp18_ = boxes_ensure_storage_pool_finish (_data_->_res_, &_data_->_inner_error_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp19_ = NULL;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->_tmp19_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_error_free (_data_->_inner_error_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->connection);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block35_data_unref (_data_->_data35_);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data35_ = NULL;
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2364 "libvirt-broker.c"
		} else {
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2368 "libvirt-broker.c"
		}
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 114 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 2374 "libvirt-broker.c"
	}
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp20_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp20_ = _data_->self->priv->connections;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp21_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp21_ = _data_->_data35_->source;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp22_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp22_ = boxes_collection_source_get_name (_data_->_tmp21_);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp23_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp23_ = _data_->_tmp22_;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp24_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp24_ = _data_->connection;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp25_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp25_ = _g_object_ref0 (_data_->_tmp24_);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_hash_table_insert (_data_->_tmp20_, _data_->_tmp23_, _data_->_tmp25_);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp26_ = NULL;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp26_ = _data_->connection;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp27_ = NULL;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp27_ = gvir_connection_get_domains (_data_->_tmp26_);
#line 2410 "libvirt-broker.c"
	{
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->domain_collection = _data_->_tmp27_;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		for (_data_->domain_it = _data_->domain_collection; _data_->domain_it != NULL; _data_->domain_it = _data_->domain_it->next) {
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp28_ = NULL;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->_tmp28_ = _g_object_ref0 ((GVirDomain*) _data_->domain_it->data);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			_data_->domain = _data_->_tmp28_;
#line 2422 "libvirt-broker.c"
			{
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp29_ = NULL;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp29_ = _data_->_data35_->source;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp30_ = NULL;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp30_ = _data_->connection;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp31_ = NULL;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_tmp31_ = _data_->domain;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_data_->_state_ = 5;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				boxes_libvirt_broker_try_add_existing_domain (_data_->self, _data_->_tmp29_, _data_->_tmp30_, _data_->_tmp31_, boxes_libvirt_broker_add_source_ready, _data_);
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				return FALSE;
#line 2442 "libvirt-broker.c"
				_state_5:
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				boxes_libvirt_broker_try_add_existing_domain_finish (_data_->self, _data_->_res_);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
				_g_object_unref0 (_data_->domain);
#line 2448 "libvirt-broker.c"
			}
		}
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		__g_list_free__g_object_unref0_0 (_data_->domain_collection);
#line 2453 "libvirt-broker.c"
	}
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp32_ = NULL;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp32_ = _data_->connection;
#line 121 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_signal_connect_object (_data_->_tmp32_, "domain-removed", (GCallback) ___lambda14__gvir_connection_domain_removed, _data_->self, 0);
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp33_ = NULL;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp33_ = _data_->connection;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_signal_connect_data (_data_->_tmp33_, "domain-added", (GCallback) ___lambda16__gvir_connection_domain_added, block35_data_ref (_data_->_data35_), (GClosureNotify) block35_data_unref, 0);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp34_ = NULL;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_tmp34_ = _data_->_data35_->source;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_state_ = 6;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	BOXES_BROKER_CLASS (boxes_libvirt_broker_parent_class)->add_source (G_TYPE_CHECK_INSTANCE_CAST (_data_->self, BOXES_TYPE_BROKER, BoxesBroker), _data_->_tmp34_, boxes_libvirt_broker_add_source_ready, _data_);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 2477 "libvirt-broker.c"
	_state_6:
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	BOXES_BROKER_CLASS (boxes_libvirt_broker_parent_class)->add_source_finish (G_TYPE_CHECK_INSTANCE_CAST (_data_->self, BOXES_TYPE_BROKER, BoxesBroker), _data_->_res_, &_data_->_inner_error_);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_error_free (_data_->_inner_error_);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_g_object_unref0 (_data_->connection);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		block35_data_unref (_data_->_data35_);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		_data_->_data35_ = NULL;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		if (_data_->_state_ == 0) {
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2497 "libvirt-broker.c"
		} else {
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2501 "libvirt-broker.c"
		}
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_object_unref (_data_->_async_result);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		return FALSE;
#line 2507 "libvirt-broker.c"
	}
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_object_unref0 (_data_->connection);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	block35_data_unref (_data_->_data35_);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_data_->_data35_ = NULL;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	if (_data_->_state_ == 0) {
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2519 "libvirt-broker.c"
	} else {
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2523 "libvirt-broker.c"
	}
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_object_unref (_data_->_async_result);
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	return FALSE;
#line 2529 "libvirt-broker.c"
}


static void boxes_libvirt_broker_class_init (BoxesLibvirtBrokerClass * klass) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	boxes_libvirt_broker_parent_class = g_type_class_peek_parent (klass);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	g_type_class_add_private (klass, sizeof (BoxesLibvirtBrokerPrivate));
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	((BoxesBrokerClass *) klass)->add_source = boxes_libvirt_broker_real_add_source;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	((BoxesBrokerClass *) klass)->add_source_finish = boxes_libvirt_broker_real_add_source_finish;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_libvirt_broker_finalize;
#line 2544 "libvirt-broker.c"
}


static void boxes_libvirt_broker_instance_init (BoxesLibvirtBroker * self) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self->priv = BOXES_LIBVIRT_BROKER_GET_PRIVATE (self);
#line 2551 "libvirt-broker.c"
}


static void boxes_libvirt_broker_finalize (GObject* obj) {
	BoxesLibvirtBroker * self;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_LIBVIRT_BROKER, BoxesLibvirtBroker);
#line 7 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	_g_hash_table_unref0 (self->priv->connections);
#line 8 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	__g_list_free__g_object_unref0_0 (self->priv->pending_domains);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-broker.vala"
	G_OBJECT_CLASS (boxes_libvirt_broker_parent_class)->finalize (obj);
#line 2565 "libvirt-broker.c"
}


GType boxes_libvirt_broker_get_type (void) {
	static volatile gsize boxes_libvirt_broker_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_libvirt_broker_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesLibvirtBrokerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_libvirt_broker_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesLibvirtBroker), 0, (GInstanceInitFunc) boxes_libvirt_broker_instance_init, NULL };
		GType boxes_libvirt_broker_type_id;
		boxes_libvirt_broker_type_id = g_type_register_static (BOXES_TYPE_BROKER, "BoxesLibvirtBroker", &g_define_type_info, 0);
		g_once_init_leave (&boxes_libvirt_broker_type_id__volatile, boxes_libvirt_broker_type_id);
	}
	return boxes_libvirt_broker_type_id__volatile;
}



