/* unattended-installer.c generated by valac 0.20.0.2-fd7ed, the Vala compiler
 * generated from unattended-installer.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <gio/gio.h>
#include <libcommon.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <osinfo/osinfo.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <float.h>
#include <math.h>


#define BOXES_TYPE_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#define BOXES_TYPE_UNATTENDED_INSTALLER (boxes_unattended_installer_get_type ())
#define BOXES_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller))
#define BOXES_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))
#define BOXES_IS_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_IS_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_UNATTENDED_INSTALLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))

typedef struct _BoxesUnattendedInstaller BoxesUnattendedInstaller;
typedef struct _BoxesUnattendedInstallerClass BoxesUnattendedInstallerClass;
typedef struct _BoxesUnattendedInstallerPrivate BoxesUnattendedInstallerPrivate;

#define BOXES_TYPE_UNATTENDED_FILE (boxes_unattended_file_get_type ())
#define BOXES_UNATTENDED_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_FILE, BoxesUnattendedFile))
#define BOXES_IS_UNATTENDED_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_FILE))
#define BOXES_UNATTENDED_FILE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UNATTENDED_FILE, BoxesUnattendedFileIface))

typedef struct _BoxesUnattendedFile BoxesUnattendedFile;
typedef struct _BoxesUnattendedFileIface BoxesUnattendedFileIface;

#define BOXES_TYPE_UNATTENDED_AVATAR_FILE (boxes_unattended_avatar_file_get_type ())
#define BOXES_UNATTENDED_AVATAR_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFile))
#define BOXES_UNATTENDED_AVATAR_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFileClass))
#define BOXES_IS_UNATTENDED_AVATAR_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE))
#define BOXES_IS_UNATTENDED_AVATAR_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_AVATAR_FILE))
#define BOXES_UNATTENDED_AVATAR_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_AVATAR_FILE, BoxesUnattendedAvatarFileClass))

typedef struct _BoxesUnattendedAvatarFile BoxesUnattendedAvatarFile;
typedef struct _BoxesUnattendedAvatarFileClass BoxesUnattendedAvatarFileClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (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_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

#define BOXES_TYPE_UNATTENDED_SCRIPT_FILE (boxes_unattended_script_file_get_type ())
#define BOXES_UNATTENDED_SCRIPT_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFile))
#define BOXES_UNATTENDED_SCRIPT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFileClass))
#define BOXES_IS_UNATTENDED_SCRIPT_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE))
#define BOXES_IS_UNATTENDED_SCRIPT_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_SCRIPT_FILE))
#define BOXES_UNATTENDED_SCRIPT_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_SCRIPT_FILE, BoxesUnattendedScriptFileClass))

typedef struct _BoxesUnattendedScriptFile BoxesUnattendedScriptFile;
typedef struct _BoxesUnattendedScriptFileClass BoxesUnattendedScriptFileClass;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))

#define BOXES_TYPE_ISO_EXTRACTOR (boxes_iso_extractor_get_type ())
#define BOXES_ISO_EXTRACTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractor))
#define BOXES_ISO_EXTRACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractorClass))
#define BOXES_IS_ISO_EXTRACTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_ISO_EXTRACTOR))
#define BOXES_IS_ISO_EXTRACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_ISO_EXTRACTOR))
#define BOXES_ISO_EXTRACTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_ISO_EXTRACTOR, BoxesISOExtractorClass))

typedef struct _BoxesISOExtractor BoxesISOExtractor;
typedef struct _BoxesISOExtractorClass BoxesISOExtractorClass;
typedef struct _BoxesUnattendedInstallerPrepareForInstallationData BoxesUnattendedInstallerPrepareForInstallationData;
#define __g_list_free__boxes_pair_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__boxes_pair_unref0_ (var), NULL)))
typedef struct _BoxesUnattendedInstallerPrepareData BoxesUnattendedInstallerPrepareData;
typedef struct _Block59Data Block59Data;
typedef struct _BoxesUnattendedInstallerCreateDiskImageData BoxesUnattendedInstallerCreateDiskImageData;
typedef struct _BoxesUnattendedInstallerFetchUserAvatarData BoxesUnattendedInstallerFetchUserAvatarData;
typedef struct _BoxesUnattendedInstallerExtractBootFilesData BoxesUnattendedInstallerExtractBootFilesData;
typedef struct _BoxesUnattendedInstallerSetupDriversData BoxesUnattendedInstallerSetupDriversData;
typedef struct _BoxesUnattendedInstallerSetupDriversFromListData BoxesUnattendedInstallerSetupDriversFromListData;

#define BOXES_TYPE_DOWNLOADER (boxes_downloader_get_type ())
#define BOXES_DOWNLOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DOWNLOADER, BoxesDownloader))
#define BOXES_DOWNLOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DOWNLOADER, BoxesDownloaderClass))
#define BOXES_IS_DOWNLOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DOWNLOADER))
#define BOXES_IS_DOWNLOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DOWNLOADER))
#define BOXES_DOWNLOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DOWNLOADER, BoxesDownloaderClass))

typedef struct _BoxesDownloader BoxesDownloader;
typedef struct _BoxesDownloaderClass BoxesDownloaderClass;

#define BOXES_TYPE_UNATTENDED_RAW_FILE (boxes_unattended_raw_file_get_type ())
#define BOXES_UNATTENDED_RAW_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFile))
#define BOXES_UNATTENDED_RAW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFileClass))
#define BOXES_IS_UNATTENDED_RAW_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE))
#define BOXES_IS_UNATTENDED_RAW_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_RAW_FILE))
#define BOXES_UNATTENDED_RAW_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_RAW_FILE, BoxesUnattendedRawFileClass))

typedef struct _BoxesUnattendedRawFile BoxesUnattendedRawFile;
typedef struct _BoxesUnattendedRawFileClass BoxesUnattendedRawFileClass;
typedef struct _BoxesUnattendedInstallerSetupDriverData BoxesUnattendedInstallerSetupDriverData;
typedef struct _Block60Data Block60Data;

#define BOXES_TYPE_CPU_ARCH_COMPATIBILITY (boxes_cpu_arch_compatibility_get_type ())
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

struct _BoxesInstallerMedia {
	GObject parent_instance;
	BoxesInstallerMediaPrivate * priv;
	OsinfoOs* os;
	OsinfoResources* resources;
	OsinfoMedia* os_media;
	gchar* label;
	gchar* device_file;
	gchar* mount_point;
	gboolean from_image;
	OsinfoDeviceList* supported_devices;
};

struct _BoxesInstallerMediaClass {
	GObjectClass parent_class;
	void (*set_direct_boot_params) (BoxesInstallerMedia* self, GVirConfigDomainOs* os);
	void (*prepare) (BoxesInstallerMedia* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_, GError** error);
	void (*prepare_to_continue_installation) (BoxesInstallerMedia* self, const gchar* vm_name);
	void (*clean_up) (BoxesInstallerMedia* self);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_post_install_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_vbox) (BoxesInstallerMedia* self, GtkBox* setup_vbox);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
};

struct _BoxesUnattendedInstaller {
	BoxesInstallerMedia parent_instance;
	BoxesUnattendedInstallerPrivate * priv;
	GFile* disk_file;
	GFile* secondary_disk_file;
	GFile* kernel_file;
	GFile* initrd_file;
	OsinfoInstallConfig* config;
	OsinfoInstallScriptList* scripts;
};

struct _BoxesUnattendedInstallerClass {
	BoxesInstallerMediaClass parent_class;
};

struct _BoxesUnattendedFileIface {
	GTypeInterface parent_iface;
	void (*get_source_file) (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GFile* (*get_source_file_finish) (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
	const gchar* (*get_src_path) (BoxesUnattendedFile* self);
	void (*set_src_path) (BoxesUnattendedFile* self, const gchar* value);
	const gchar* (*get_dest_name) (BoxesUnattendedFile* self);
	void (*set_dest_name) (BoxesUnattendedFile* self, const gchar* value);
	BoxesUnattendedInstaller* (*get_installer) (BoxesUnattendedFile* self);
	void (*set_installer) (BoxesUnattendedFile* self, BoxesUnattendedInstaller* value);
};

struct _BoxesUnattendedInstallerPrivate {
	gchar* product_key_format;
	GList* unattended_files;
	GList* secondary_unattended_files;
	BoxesUnattendedAvatarFile* avatar_file;
	GtkGrid* setup_grid;
	gint setup_grid_n_rows;
	GtkLabel* setup_label;
	GtkBox* setup_hbox;
	GtkSwitch* express_toggle;
	GtkEntry* username_entry;
	GtkEntry* password_entry;
	GtkEntry* key_entry;
	gchar* timezone;
	gchar* lang;
	gchar* hostname;
	gchar* kbd;
	gboolean driver_signing;
	gulong key_inserted_id;
};

struct _BoxesUnattendedInstallerPrepareForInstallationData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	gchar* vm_name;
	GCancellable* cancellable;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	const gchar* _tmp3_;
	GCancellable* _tmp4_;
	GList* _tmp5_;
	GList* unattended_file_collection;
	GList* unattended_file_it;
	BoxesUnattendedFile* _tmp6_;
	BoxesUnattendedFile* unattended_file;
	BoxesUnattendedFile* _tmp7_;
	GCancellable* _tmp8_;
	GFile* _tmp9_;
	GFile* _tmp10_;
	gchar* _tmp11_;
	gchar* secondary_disk_path;
	const gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	const gchar* _tmp18_;
	gchar* _tmp19_;
	gchar** _tmp20_;
	gchar** argv;
	gint argv_length1;
	gint _argv_size_;
	GList* _tmp21_;
	GList* _vala1_unattended_file_collection;
	GList* _vala1_unattended_file_it;
	BoxesUnattendedFile* _tmp22_;
	BoxesUnattendedFile* _vala1_unattended_file;
	BoxesUnattendedFile* _tmp23_;
	const gchar* _tmp24_;
	const gchar* _tmp25_;
	gchar* _tmp26_;
	gchar* dest_path;
	BoxesUnattendedFile* _tmp27_;
	const gchar* _tmp28_;
	const gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* src_path;
	gchar** _tmp31_;
	gint _tmp31__length1;
	const gchar* _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	const gchar* _tmp35_;
	gchar* _tmp36_;
	gchar** _tmp37_;
	gint _tmp37__length1;
	GCancellable* _tmp38_;
	const gchar* _tmp39_;
	gboolean _tmp40_;
	OsinfoMedia* _tmp41_;
	gchar* _tmp42_;
	gchar* _tmp43_;
	gchar* _tmp44_;
	gboolean _tmp45_;
	OsinfoMedia* _tmp46_;
	gchar* _tmp47_;
	gchar* _tmp48_;
	gchar* _tmp49_;
	gboolean _tmp50_;
	const gchar* _tmp51_;
	BoxesISOExtractor* _tmp52_;
	BoxesISOExtractor* extractor;
	BoxesISOExtractor* _tmp53_;
	GCancellable* _tmp54_;
	BoxesISOExtractor* _tmp55_;
	GCancellable* _tmp56_;
	GError* _error_;
	GtkSwitch* _tmp57_;
	GError* _tmp58_;
	GError* _tmp59_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerPrepareData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	BoxesActivityProgress* progress;
	GCancellable* cancellable;
	BoxesActivityProgress* _tmp0_;
	GCancellable* _tmp1_;
};

struct _Block59Data {
	int _ref_count_;
	BoxesUnattendedInstaller * self;
	GtkNotebook* notebook;
};

struct _BoxesUnattendedInstallerCreateDiskImageData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GCancellable* cancellable;
	gchar* _tmp0_;
	gchar* template_path;
	GFile* _tmp1_;
	GFile* template_file;
	GFile* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GFile* _tmp5_;
	GCancellable* _tmp6_;
	GFile* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerFetchUserAvatarData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GtkImage* avatar;
	BoxesFdoAccounts* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* username;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* avatar_path;
	BoxesFdoAccounts* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* path;
	const gchar* _tmp8_;
	BoxesFdoAccountsUser* _tmp9_;
	BoxesFdoAccountsUser* user;
	BoxesFdoAccountsUser* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GError* _error_;
	const gchar* _tmp13_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	const gchar* _tmp16_;
	GdkPixbuf* _tmp17_;
	GdkPixbuf* pixbuf;
	GtkImage* _tmp18_;
	GdkPixbuf* _tmp19_;
	OsinfoAvatarFormat* avatar_format;
	OsinfoInstallScriptList* _tmp20_;
	GList* _tmp21_;
	GList* s_collection;
	GList* s_it;
	OsinfoEntity* s;
	OsinfoEntity* _tmp22_;
	OsinfoInstallScript* _tmp23_;
	OsinfoInstallScript* script;
	OsinfoInstallScript* _tmp24_;
	OsinfoAvatarFormat* _tmp25_;
	OsinfoAvatarFormat* _tmp26_;
	OsinfoAvatarFormat* _tmp27_;
	OsinfoAvatarFormat* _tmp28_;
	const gchar* _tmp29_;
	OsinfoAvatarFormat* _tmp30_;
	BoxesUnattendedAvatarFile* _tmp31_;
	BoxesUnattendedAvatarFile* _tmp32_;
	BoxesUnattendedAvatarFile* _tmp33_;
	GError* _vala1__error_;
	const gchar* _tmp34_;
	GError* _tmp35_;
	const gchar* _tmp36_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerExtractBootFilesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	BoxesISOExtractor* extractor;
	GCancellable* cancellable;
	BoxesISOExtractor* _tmp0_;
	OsinfoMedia* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* src_path;
	const gchar* _tmp7_;
	GFile* _tmp8_;
	GFile* src_file;
	GFile* _tmp9_;
	GFile* _tmp10_;
	GCancellable* _tmp11_;
	BoxesISOExtractor* _tmp12_;
	OsinfoMedia* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	const gchar* _tmp20_;
	GFile* _tmp21_;
	GFile* _tmp22_;
	GFile* _tmp23_;
	GCancellable* _tmp24_;
	GError * _inner_error_;
};

typedef void (*BoxesUnattendedInstallerAddUnattendedFileFunc) (BoxesUnattendedFile* file, void* user_data);
struct _BoxesUnattendedInstallerSetupDriversData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	BoxesActivityProgress* progress;
	GCancellable* cancellable;
	BoxesActivityProgress* _tmp0_;
	const gchar* _tmp1_;
	GList* _tmp2_;
	GList* scripts;
	GList* _tmp3_;
	GList* _tmp4_;
	GList* drivers;
	gboolean _tmp5_;
	GList* _tmp6_;
	guint _tmp7_;
	GList* _tmp8_;
	guint _tmp9_;
	gboolean _tmp10_;
	BoxesActivityProgress* _tmp11_;
	BoxesActivityProgress* _tmp12_;
	BoxesActivityProgress* drivers_progress;
	GList* _tmp13_;
	BoxesActivityProgress* _tmp14_;
	GCancellable* _tmp15_;
	BoxesActivityProgress* _tmp16_;
	GList* _tmp17_;
	GList* _tmp18_;
	GList* _tmp19_;
	gboolean _tmp20_;
	GList* _tmp21_;
	guint _tmp22_;
	GList* _tmp23_;
	guint _tmp24_;
	gboolean _tmp25_;
	BoxesActivityProgress* _tmp26_;
	BoxesActivityProgress* _tmp27_;
	BoxesActivityProgress* _vala1_drivers_progress;
	GList* _tmp28_;
	BoxesActivityProgress* _tmp29_;
	GCancellable* _tmp30_;
	BoxesActivityProgress* _tmp31_;
};

struct _BoxesUnattendedInstallerSetupDriversFromListData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	GList* drivers;
	BoxesActivityProgress* progress;
	BoxesUnattendedInstallerAddUnattendedFileFunc add_func;
	gpointer add_func_target;
	GCancellable* cancellable;
	GList* _tmp0_;
	guint _tmp1_;
	gdouble driver_progress_scale;
	GList* _tmp2_;
	GList* driver_collection;
	GList* driver_it;
	OsinfoDeviceDriver* _tmp3_;
	OsinfoDeviceDriver* driver;
	BoxesActivityProgress* _tmp4_;
	gdouble _tmp5_;
	BoxesActivityProgress* _tmp6_;
	BoxesActivityProgress* driver_progress;
	OsinfoDeviceDriver* _tmp7_;
	BoxesActivityProgress* _tmp8_;
	BoxesUnattendedInstallerAddUnattendedFileFunc _tmp9_;
	void* _tmp9__target;
	GCancellable* _tmp10_;
	OsinfoDeviceList* _tmp11_;
	OsinfoDeviceDriver* _tmp12_;
	OsinfoDeviceList* _tmp13_;
	GError* e;
	OsinfoDeviceDriver* _tmp14_;
	const gchar* _tmp15_;
	GError* _tmp16_;
	const gchar* _tmp17_;
	BoxesActivityProgress* _tmp18_;
	GError * _inner_error_;
};

struct _BoxesUnattendedInstallerSetupDriverData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesUnattendedInstaller* self;
	OsinfoDeviceDriver* driver;
	BoxesActivityProgress* progress;
	BoxesUnattendedInstallerAddUnattendedFileFunc add_func;
	gpointer add_func_target;
	GCancellable* cancellable;
	BoxesDownloader* _tmp0_;
	BoxesDownloader* downloader;
	GList* driver_files;
	OsinfoDeviceDriver* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* location;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* location_checksum;
	OsinfoDeviceDriver* _tmp6_;
	GList* _tmp7_;
	GList* files;
	GList* _tmp8_;
	guint _tmp9_;
	gdouble file_progress_scale;
	GList* _tmp10_;
	GList* filename_collection;
	GList* filename_it;
	const gchar* filename;
	const gchar* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	const gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* file_uri;
	const gchar* _tmp17_;
	GFile* _tmp18_;
	GFile* file;
	const gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	GFile* _tmp22_;
	gchar* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	gchar* _tmp26_;
	gchar* _tmp27_;
	gchar* _tmp28_;
	gchar* cached_path;
	BoxesActivityProgress* _tmp29_;
	gdouble _tmp30_;
	BoxesActivityProgress* _tmp31_;
	BoxesActivityProgress* file_progress;
	BoxesDownloader* _tmp32_;
	GFile* _tmp33_;
	const gchar* _tmp34_;
	BoxesActivityProgress* _tmp35_;
	GFile* _tmp36_;
	GFile* _tmp37_;
	BoxesActivityProgress* _tmp38_;
	const gchar* _tmp39_;
	const gchar* _tmp40_;
	BoxesUnattendedRawFile* _tmp41_;
	GList* _tmp42_;
	GList* driver_file_collection;
	GList* driver_file_it;
	BoxesUnattendedFile* _tmp43_;
	BoxesUnattendedFile* driver_file;
	BoxesUnattendedInstallerAddUnattendedFileFunc _tmp44_;
	void* _tmp44__target;
	BoxesUnattendedFile* _tmp45_;
	GError * _inner_error_;
};

typedef gboolean (*BoxesUnattendedInstallerDriverInstallableFunc) (OsinfoDeviceDriver* driver, void* user_data);
typedef OsinfoDeviceDriverSigningReq (*BoxesUnattendedInstallerScriptDriverSigningReqFunc) (OsinfoInstallScript* script, void* user_data);
struct _Block60Data {
	int _ref_count_;
	BoxesUnattendedInstaller * self;
	gboolean signing_required;
	gboolean driver_signing_mutable;
	BoxesUnattendedInstallerDriverInstallableFunc installable_func;
	gpointer installable_func_target;
};

typedef gboolean (*BoxesUnattendedInstallerDriverTestFunction) (OsinfoDeviceDriver* driver, void* user_data);
typedef enum  {
	BOXES_CPU_ARCH_COMPATIBILITY_INCOMPATIBLE = -1,
	BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL = 0,
	BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE = 1,
	BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE_DIFF_WORDSIZE = 2
} BoxesCPUArchCompatibility;

typedef gboolean (*BoxesUnattendedInstallerScriptTestFunction) (OsinfoInstallScript* script, void* user_data);

static gpointer boxes_unattended_installer_parent_class = NULL;
static BoxesFdoAccounts* boxes_unattended_installer_accounts;
static BoxesFdoAccounts* boxes_unattended_installer_accounts = NULL;

GType boxes_installer_media_get_type (void) G_GNUC_CONST;
GType boxes_unattended_installer_get_type (void) G_GNUC_CONST;
GType boxes_unattended_file_get_type (void) G_GNUC_CONST;
GType boxes_unattended_avatar_file_get_type (void) G_GNUC_CONST;
#define BOXES_UNATTENDED_INSTALLER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerPrivate))
enum  {
	BOXES_UNATTENDED_INSTALLER_DUMMY_PROPERTY,
	BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION,
	BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS,
	BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE,
	BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL,
	BOXES_UNATTENDED_INSTALLER_USERNAME,
	BOXES_UNATTENDED_INSTALLER_PASSWORD,
	BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
static gchar* boxes_unattended_installer_escape_mkisofs_path (const gchar* path);
BoxesUnattendedInstaller* boxes_unattended_installer_new_from_media (BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GError** error);
BoxesUnattendedInstaller* boxes_unattended_installer_construct_from_media (GType object_type, BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GError** error);
BoxesInstallerMedia* boxes_installer_media_new (void);
BoxesInstallerMedia* boxes_installer_media_construct (GType object_type);
static void boxes_unattended_installer_add_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file);
BoxesUnattendedScriptFile* boxes_unattended_script_file_new (BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name);
BoxesUnattendedScriptFile* boxes_unattended_script_file_construct (GType object_type, BoxesUnattendedInstaller* installer, OsinfoInstallScript* script, const gchar* dest_name);
GType boxes_unattended_script_file_get_type (void) G_GNUC_CONST;
static gchar* boxes_unattended_installer_get_preferred_language (BoxesUnattendedInstaller* self);
static gchar* boxes_unattended_installer_get_product_key_format (BoxesUnattendedInstaller* self);
static void boxes_unattended_installer_setup_ui (BoxesUnattendedInstaller* self);
static void boxes_unattended_installer_real_prepare_to_continue_installation (BoxesInstallerMedia* base, const gchar* vm_name);
gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix);
static void boxes_unattended_installer_real_prepare_for_installation_data_free (gpointer _data);
static void boxes_unattended_installer_real_prepare_for_installation (BoxesInstallerMedia* base, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_installer_real_prepare_for_installation_co (BoxesUnattendedInstallerPrepareForInstallationData* _data_);
void boxes_installer_media_prepare_to_continue_installation (BoxesInstallerMedia* self, const gchar* vm_name);
static void boxes_unattended_installer_create_disk_image (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_create_disk_image_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_prepare_for_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_unattended_file_copy (BoxesUnattendedFile* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_unattended_file_copy_finish (BoxesUnattendedFile* self, GAsyncResult* _res_, GError** error);
const gchar* boxes_unattended_file_get_dest_name (BoxesUnattendedFile* self);
const gchar* boxes_unattended_file_get_src_path (BoxesUnattendedFile* self);
static void _vala_array_add8 (gchar*** array, int* length, int* size, gchar* value);
BoxesISOExtractor* boxes_iso_extractor_new (const gchar* iso_path);
BoxesISOExtractor* boxes_iso_extractor_construct (GType object_type, const gchar* iso_path);
GType boxes_iso_extractor_get_type (void) G_GNUC_CONST;
void boxes_iso_extractor_mount_media (BoxesISOExtractor* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_iso_extractor_mount_media_finish (BoxesISOExtractor* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_extract_boot_files (BoxesUnattendedInstaller* self, BoxesISOExtractor* extractor, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_extract_boot_files_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
void boxes_installer_media_clean_up (BoxesInstallerMedia* self);
static void boxes_unattended_installer_real_setup_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain);
void boxes_installer_media_setup_domain_config (BoxesInstallerMedia* self, GVirConfigDomain* domain);
static GVirConfigDomainDisk* boxes_unattended_installer_get_unattended_disk_config (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format);
static GVirConfigDomainDisk* boxes_unattended_installer_get_secondary_unattended_disk_config (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format);
void boxes_unattended_installer_configure_install_script (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self);
const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self);
gboolean boxes_installer_media_get_supports_virtio_disk (BoxesInstallerMedia* self);
static gchar* boxes_unattended_installer_device_name_to_path (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format, const gchar* name);
static void boxes_unattended_installer_real_setup_post_install_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain);
static void boxes_unattended_installer_remove_disk_from_domain_config (BoxesUnattendedInstaller* self, GVirConfigDomain* domain, const gchar* disk_path);
void boxes_installer_media_setup_post_install_domain_config (BoxesInstallerMedia* self, GVirConfigDomain* domain);
static void boxes_unattended_installer_real_populate_setup_vbox (BoxesInstallerMedia* base, GtkBox* setup_vbox);
static GList* boxes_unattended_installer_real_get_vm_properties (BoxesInstallerMedia* base);
GList* boxes_installer_media_get_vm_properties (BoxesInstallerMedia* self);
gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self);
gchar* boxes_unattended_installer_get_hidden_password (BoxesUnattendedInstaller* self);
static void _boxes_pair_unref0_ (gpointer var);
static void _g_list_free__boxes_pair_unref0_ (GList* self);
static void boxes_unattended_installer_real_set_direct_boot_params (BoxesInstallerMedia* base, GVirConfigDomainOs* os);
static void boxes_unattended_installer_real_clean_up (BoxesInstallerMedia* base);
static void boxes_unattended_installer_real_prepare_data_free (gpointer _data);
static void boxes_unattended_installer_real_prepare (BoxesInstallerMedia* base, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean boxes_unattended_installer_real_prepare_co (BoxesUnattendedInstallerPrepareData* _data_);
static void boxes_unattended_installer_setup_drivers (BoxesUnattendedInstaller* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_setup_drivers_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_);
static void boxes_unattended_installer_prepare_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static Block59Data* block59_data_ref (Block59Data* _data59_);
static void block59_data_unref (void * _userdata_);
static void __lambda76_ (BoxesUnattendedInstaller* self);
static void ___lambda76__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_unattended_installer_fetch_user_avatar (BoxesUnattendedInstaller* self, GtkImage* avatar, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_fetch_user_avatar_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_);
static GtkEntry* boxes_unattended_installer_create_input_entry (BoxesUnattendedInstaller* self, const gchar* text, gboolean mandatory, gboolean visibility);
static void __lambda78_ (Block59Data* _data59_);
static void ___lambda78__gtk_button_clicked (GtkButton* _sender, gpointer self);
static gboolean __lambda79_ (Block59Data* _data59_);
static gboolean ___lambda79__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self);
static void boxes_unattended_installer_on_key_text_inserted (BoxesUnattendedInstaller* self, const gchar* text, gint text_length, gint* position);
static void _boxes_unattended_installer_on_key_text_inserted_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self);
static void boxes_unattended_installer_add_secondary_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file);
static void ___lambda77_ (BoxesUnattendedInstaller* self);
static void ____lambda77__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void boxes_unattended_installer_create_disk_image_data_free (gpointer _data);
static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_);
static void boxes_unattended_installer_create_disk_image_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_fetch_user_avatar_data_free (gpointer _data);
static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_);
static void boxes_unattended_installer_fetch_user_avatar_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error);
BoxesUnattendedAvatarFile* boxes_unattended_avatar_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, OsinfoAvatarFormat* avatar_format, GError** error);
static void boxes_unattended_installer_extract_boot_files_data_free (gpointer _data);
static gboolean boxes_unattended_installer_extract_boot_files_co (BoxesUnattendedInstallerExtractBootFilesData* _data_);
gchar* boxes_iso_extractor_get_absolute_path (BoxesISOExtractor* self, const gchar* relative_path, GError** error);
void boxes_copy_file (GFile* src_file, GFile* dest_file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_copy_file_finish (GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_extract_boot_files_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_setup_drivers_data_free (gpointer _data);
static gboolean boxes_unattended_installer_setup_drivers_co (BoxesUnattendedInstallerSetupDriversData* _data_);
static GList* boxes_unattended_installer_get_pre_installer_scripts (BoxesUnattendedInstaller* self);
static GList* boxes_unattended_installer_get_pre_installable_drivers (BoxesUnattendedInstaller* self, GList* preinst_scripts);
static void boxes_unattended_installer_setup_drivers_from_list (BoxesUnattendedInstaller* self, GList* drivers, BoxesActivityProgress* progress, BoxesUnattendedInstallerAddUnattendedFileFunc add_func, void* add_func_target, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_setup_drivers_from_list_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_);
static void _boxes_unattended_installer_add_unattended_file_boxes_unattended_installer_add_unattended_file_func (BoxesUnattendedFile* file, gpointer self);
static void boxes_unattended_installer_setup_drivers_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static GList* boxes_unattended_installer_get_post_installer_scripts (BoxesUnattendedInstaller* self);
static GList* boxes_unattended_installer_get_post_installable_drivers (BoxesUnattendedInstaller* self, GList* postinst_scripts);
static void _boxes_unattended_installer_add_secondary_unattended_file_boxes_unattended_installer_add_unattended_file_func (BoxesUnattendedFile* file, gpointer self);
static void boxes_unattended_installer_setup_drivers_from_list_data_free (gpointer _data);
static gboolean boxes_unattended_installer_setup_drivers_from_list_co (BoxesUnattendedInstallerSetupDriversFromListData* _data_);
static void boxes_unattended_installer_setup_driver (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver, BoxesActivityProgress* progress, BoxesUnattendedInstallerAddUnattendedFileFunc add_func, void* add_func_target, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_unattended_installer_setup_driver_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_setup_drivers_from_list_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void boxes_unattended_installer_setup_driver_data_free (gpointer _data);
static gboolean boxes_unattended_installer_setup_driver_co (BoxesUnattendedInstallerSetupDriverData* _data_);
GType boxes_downloader_get_type (void) G_GNUC_CONST;
BoxesDownloader* boxes_downloader_get_instance (void);
void boxes_downloader_download (BoxesDownloader* self, GFile* remote_file, const gchar* cached_path, BoxesActivityProgress* progress, GAsyncReadyCallback _callback_, gpointer _user_data_);
GFile* boxes_downloader_download_finish (BoxesDownloader* self, GAsyncResult* _res_, GError** error);
static void boxes_unattended_installer_setup_driver_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
BoxesUnattendedRawFile* boxes_unattended_raw_file_new (BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
BoxesUnattendedRawFile* boxes_unattended_raw_file_construct (GType object_type, BoxesUnattendedInstaller* installer, const gchar* src_path, const gchar* dest_name);
GType boxes_unattended_raw_file_get_type (void) G_GNUC_CONST;
static GList* boxes_unattended_installer_get_installable_drivers (BoxesUnattendedInstaller* self, GList* scripts, BoxesUnattendedInstallerDriverInstallableFunc installable_func, void* installable_func_target, BoxesUnattendedInstallerScriptDriverSigningReqFunc signing_req_func, void* signing_req_func_target);
static gboolean __lambda82_ (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver);
static gboolean ___lambda82__boxes_unattended_installer_driver_installable_func (OsinfoDeviceDriver* driver, gpointer self);
static OsinfoDeviceDriverSigningReq __lambda83_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
static OsinfoDeviceDriverSigningReq ___lambda83__boxes_unattended_installer_script_driver_signing_req_func (OsinfoInstallScript* script, gpointer self);
static gboolean __lambda90_ (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver);
static gboolean ___lambda90__boxes_unattended_installer_driver_installable_func (OsinfoDeviceDriver* driver, gpointer self);
static OsinfoDeviceDriverSigningReq __lambda91_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
static OsinfoDeviceDriverSigningReq ___lambda91__boxes_unattended_installer_script_driver_signing_req_func (OsinfoInstallScript* script, gpointer self);
static Block60Data* block60_data_ref (Block60Data* _data60_);
static void block60_data_unref (void * _userdata_);
static GList* boxes_unattended_installer_get_drivers (BoxesUnattendedInstaller* self, BoxesUnattendedInstallerDriverTestFunction test_func, void* test_func_target);
static gboolean __lambda81_ (Block60Data* _data60_, OsinfoDeviceDriver* driver);
static gboolean ___lambda81__boxes_unattended_installer_driver_test_function (OsinfoDeviceDriver* driver, gpointer self);
static void _g_free0_ (gpointer var);
GType boxes_cpu_arch_compatibility_get_type (void) G_GNUC_CONST;
BoxesCPUArchCompatibility boxes_compare_cpu_architectures (const gchar* arch1, const gchar* arch2);
static GList* boxes_unattended_installer_get_scripts (BoxesUnattendedInstaller* self, BoxesUnattendedInstallerScriptTestFunction test_func, void* test_func_target);
static gboolean __lambda80_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
static gboolean ___lambda80__boxes_unattended_installer_script_test_function (OsinfoInstallScript* script, gpointer self);
static gboolean __lambda89_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script);
static gboolean ___lambda89__boxes_unattended_installer_script_test_function (OsinfoInstallScript* script, gpointer self);
static gchar** _vala_array_dup4 (gchar** self, int length);
BoxesUnattendedInstaller* boxes_unattended_installer_new (void);
BoxesUnattendedInstaller* boxes_unattended_installer_construct (GType object_type);
gboolean boxes_installer_media_get_live (BoxesInstallerMedia* self);
gboolean boxes_unattended_installer_get_ready_for_express (BoxesUnattendedInstaller* self);
static GObject * boxes_unattended_installer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void boxes_unattended_installer_finalize (GObject* obj);
gboolean boxes_installer_media_get_need_user_input_for_vm_creation (BoxesInstallerMedia* self);
gboolean boxes_installer_media_get_ready_to_create (BoxesInstallerMedia* self);
static void _vala_boxes_unattended_installer_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


static void _g_object_unref0_ (gpointer var) {
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 790 "unattended-installer.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_free (self);
#line 799 "unattended-installer.c"
}


static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
	gchar* result = NULL;
	GError * _inner_error_ = NULL;
#line 1242 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1242 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (old != NULL, NULL);
#line 1242 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (replacement != NULL, NULL);
#line 812 "unattended-installer.c"
	{
		const gchar* _tmp0_;
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
		GRegex* _tmp3_;
		GRegex* _tmp4_;
		GRegex* regex;
		GRegex* _tmp5_;
		const gchar* _tmp6_;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp0_ = old;
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp1_ = g_regex_escape_string (_tmp0_, -1);
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp1_;
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp4_ = _tmp3_;
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_free0 (_tmp2_);
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		regex = _tmp4_;
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 842 "unattended-installer.c"
				goto __catch70_g_regex_error;
			}
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1244 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 851 "unattended-installer.c"
		}
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp5_ = regex;
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp6_ = replacement;
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp7_ = g_regex_replace_literal (_tmp5_, self, (gssize) (-1), 0, _tmp6_, 0, &_inner_error_);
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		if (_inner_error_ != NULL) {
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			if (_inner_error_->domain == G_REGEX_ERROR) {
#line 867 "unattended-installer.c"
				goto __catch70_g_regex_error;
			}
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			_g_regex_unref0 (regex);
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			g_clear_error (&_inner_error_);
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
			return NULL;
#line 878 "unattended-installer.c"
		}
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		result = _tmp8_;
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_regex_unref0 (regex);
#line 1245 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		return result;
#line 886 "unattended-installer.c"
	}
	goto __finally70;
	__catch70_g_regex_error:
	{
		GError* e = NULL;
#line 1243 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		e = _inner_error_;
#line 1243 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_inner_error_ = NULL;
#line 1247 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_assert_not_reached ();
#line 1243 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		_g_error_free0 (e);
#line 900 "unattended-installer.c"
	}
	__finally70:
#line 1243 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	if (_inner_error_ != NULL) {
#line 1243 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1243 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		g_clear_error (&_inner_error_);
#line 1243 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
		return NULL;
#line 911 "unattended-installer.c"
	}
}


static gchar* boxes_unattended_installer_escape_mkisofs_path (const gchar* path) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_ = NULL;
	gchar* str;
	gchar* _tmp2_ = NULL;
#line 85 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (path != NULL, NULL);
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = path;
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = string_replace (_tmp0_, "\\", "\\\\");
#line 86 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	str = _tmp1_;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = string_replace (str, "=", "\\=");
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp2_;
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (str);
#line 88 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 938 "unattended-installer.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? g_object_ref (self) : NULL;
#line 945 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_construct_from_media (GType object_type, BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GError** error) {
	BoxesUnattendedInstaller * self = NULL;
	BoxesInstallerMedia* _tmp0_;
	OsinfoOs* _tmp1_;
	OsinfoOs* _tmp2_;
	BoxesInstallerMedia* _tmp3_;
	OsinfoMedia* _tmp4_;
	OsinfoMedia* _tmp5_;
	BoxesInstallerMedia* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	BoxesInstallerMedia* _tmp9_;
	const gchar* _tmp10_;
	gchar* _tmp11_;
	BoxesInstallerMedia* _tmp12_;
	gboolean _tmp13_;
	BoxesInstallerMedia* _tmp14_;
	const gchar* _tmp15_;
	gchar* _tmp16_;
	BoxesInstallerMedia* _tmp17_;
	OsinfoResources* _tmp18_;
	OsinfoResources* _tmp19_;
	BoxesInstallerMedia* _tmp20_;
	OsinfoDeviceList* _tmp21_;
	OsinfoDeviceList* _tmp22_;
	OsinfoInstallScriptList* _tmp23_;
	OsinfoInstallScriptList* _tmp24_;
	OsinfoInstallConfig* _tmp25_;
	OsinfoInstallScriptList* _tmp26_;
	GList* _tmp27_ = NULL;
	GTimeVal time = {0};
	GTimeVal _tmp37_;
	GDateTime* _tmp38_;
	GDateTime* date;
	const gchar* _tmp39_ = NULL;
	gchar* _tmp40_;
	gchar* _tmp41_ = NULL;
	const gchar* _tmp42_;
	gchar* _tmp43_;
	gchar* _tmp44_ = NULL;
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (media != NULL, NULL);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (scripts != NULL, NULL);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) boxes_installer_media_construct (object_type);
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = media;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_->os;
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->os);
#line 104 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->os = _tmp2_;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = media;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_->os_media;
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->os_media);
#line 105 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->os_media = _tmp5_;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = media;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_->label;
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->label);
#line 106 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->label = _tmp8_;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = media;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = _tmp9_->device_file;
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->device_file);
#line 107 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->device_file = _tmp11_;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = media;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_->from_image;
#line 108 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->from_image = _tmp13_;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = media;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _tmp14_->mount_point;
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = g_strdup (_tmp15_);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (((BoxesInstallerMedia*) self)->mount_point);
#line 109 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->mount_point = _tmp16_;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = media;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = _tmp17_->resources;
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = _g_object_ref0 (_tmp18_);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->resources);
#line 110 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->resources = _tmp19_;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = media;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = _tmp20_->supported_devices;
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = _g_object_ref0 (_tmp21_);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (((BoxesInstallerMedia*) self)->supported_devices);
#line 111 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	((BoxesInstallerMedia*) self)->supported_devices = _tmp22_;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = scripts;
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = _g_object_ref0 (_tmp23_);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->scripts);
#line 113 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->scripts = _tmp24_;
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = osinfo_install_config_new ("http://live.gnome.org/Boxes/unattended");
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->config);
#line 114 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->config = _tmp25_;
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->priv->unattended_files);
#line 116 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->unattended_files = NULL;
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->priv->secondary_unattended_files);
#line 117 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->secondary_unattended_files = NULL;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = scripts;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = osinfo_list_get_elements ((OsinfoList*) _tmp26_);
#line 1097 "unattended-installer.c"
	{
		GList* s_collection = NULL;
		GList* s_it = NULL;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		s_collection = _tmp27_;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (s_it = s_collection; s_it != NULL; s_it = s_it->next) {
#line 1105 "unattended-installer.c"
			OsinfoEntity* s = NULL;
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			s = (OsinfoEntity*) s_it->data;
#line 1109 "unattended-installer.c"
			{
				OsinfoEntity* _tmp28_;
				OsinfoInstallScript* _tmp29_;
				OsinfoInstallScript* script;
				OsinfoInstallScript* _tmp30_;
				const gchar* _tmp31_ = NULL;
				gchar* _tmp32_;
				gchar* filename;
				OsinfoInstallScript* _tmp33_;
				const gchar* _tmp34_;
				BoxesUnattendedScriptFile* _tmp35_;
				BoxesUnattendedScriptFile* _tmp36_;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp28_ = s;
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _tmp28_) : NULL);
#line 119 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				script = _tmp29_;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp30_ = script;
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp31_ = osinfo_install_script_get_expected_filename (_tmp30_);
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp32_ = g_strdup (_tmp31_);
#line 120 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				filename = _tmp32_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp33_ = script;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp34_ = filename;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp35_ = boxes_unattended_script_file_new (self, _tmp33_, _tmp34_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp36_ = _tmp35_;
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				boxes_unattended_installer_add_unattended_file (self, (BoxesUnattendedFile*) _tmp36_);
#line 121 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_tmp36_);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (filename);
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (script);
#line 1152 "unattended-installer.c"
			}
		}
#line 118 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (s_collection);
#line 1157 "unattended-installer.c"
	}
#line 124 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_get_current_time (&time);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = time;
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = g_date_time_new_from_timeval_local (&_tmp37_);
#line 125 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	date = _tmp38_;
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = g_date_time_get_timezone_abbreviation (date);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp40_ = g_strdup (_tmp39_);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->timezone);
#line 126 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->timezone = _tmp40_;
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = boxes_unattended_installer_get_preferred_language (self);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->lang);
#line 128 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->lang = _tmp41_;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = self->priv->lang;
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = g_strdup (_tmp42_);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->kbd);
#line 129 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->kbd = _tmp43_;
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp44_ = boxes_unattended_installer_get_product_key_format (self);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->product_key_format);
#line 130 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->product_key_format = _tmp44_;
#line 132 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_ui (self);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_date_time_unref0 (date);
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 1201 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_new_from_media (BoxesInstallerMedia* media, OsinfoInstallScriptList* scripts, GError** error) {
#line 103 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_installer_construct_from_media (BOXES_TYPE_UNATTENDED_INSTALLER, media, scripts, error);
#line 1208 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_to_continue_installation (BoxesInstallerMedia* base, const gchar* vm_name) {
	BoxesUnattendedInstaller * self;
	const gchar* _tmp0_;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* path;
	const gchar* _tmp3_;
	GFile* _tmp4_ = NULL;
	GList* _tmp5_;
	guint _tmp6_ = 0U;
	gboolean _tmp10_ = FALSE;
	OsinfoMedia* _tmp11_;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gboolean _tmp15_;
	gboolean _tmp20_;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (vm_name != NULL);
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = vm_name;
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = string_replace (_tmp0_, " ", "-");
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->hostname);
#line 136 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->hostname = _tmp1_;
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = boxes_unattended_installer_get_user_unattended (self, "unattended.img");
#line 138 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	path = _tmp2_;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = path;
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = g_file_new_for_path (_tmp3_);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->disk_file);
#line 139 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->disk_file = _tmp4_;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->priv->secondary_unattended_files;
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = g_list_length (_tmp5_);
#line 140 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp6_ > ((guint) 0)) {
#line 1259 "unattended-installer.c"
		gchar* _tmp7_ = NULL;
		const gchar* _tmp8_;
		GFile* _tmp9_ = NULL;
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = boxes_unattended_installer_get_user_unattended (self, "unattended.iso");
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (path);
#line 141 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		path = _tmp7_;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = path;
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = g_file_new_for_path (_tmp8_);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->secondary_disk_file);
#line 142 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->secondary_disk_file = _tmp9_;
#line 1277 "unattended-installer.c"
	}
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = ((BoxesInstallerMedia*) self)->os_media;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_tmp11_, "kernel-path", &_tmp12_, NULL);
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = _tmp13_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _tmp14_ != NULL;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp14_);
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp15_) {
#line 1293 "unattended-installer.c"
		OsinfoMedia* _tmp16_;
		gchar* _tmp17_ = NULL;
		gchar* _tmp18_;
		gchar* _tmp19_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp16_ = ((BoxesInstallerMedia*) self)->os_media;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_get (_tmp16_, "initrd-path", &_tmp17_, NULL);
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp18_ = _tmp17_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp19_ = _tmp18_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp19_ != NULL;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp19_);
#line 1310 "unattended-installer.c"
	} else {
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = FALSE;
#line 1314 "unattended-installer.c"
	}
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = _tmp10_;
#line 145 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp20_) {
#line 1320 "unattended-installer.c"
		gchar* _tmp21_ = NULL;
		const gchar* _tmp22_;
		GFile* _tmp23_ = NULL;
		gchar* _tmp24_ = NULL;
		const gchar* _tmp25_;
		GFile* _tmp26_ = NULL;
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp21_ = boxes_unattended_installer_get_user_unattended (self, "kernel");
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (path);
#line 146 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		path = _tmp21_;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp22_ = path;
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp23_ = g_file_new_for_path (_tmp22_);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->kernel_file);
#line 147 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->kernel_file = _tmp23_;
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp24_ = boxes_unattended_installer_get_user_unattended (self, "initrd");
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (path);
#line 148 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		path = _tmp24_;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp25_ = path;
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp26_ = g_file_new_for_path (_tmp25_);
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self->initrd_file);
#line 149 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self->initrd_file = _tmp26_;
#line 1355 "unattended-installer.c"
	}
#line 135 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (path);
#line 1359 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation_data_free (gpointer _data) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->vm_name);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerPrepareForInstallationData, _data_);
#line 1374 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation (BoxesInstallerMedia* base, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstaller * self;
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerPrepareForInstallationData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_real_prepare_for_installation);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_real_prepare_for_installation_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = vm_name;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->vm_name);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->vm_name = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_for_installation_co (_data_);
#line 1416 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_for_installation_finish (BoxesInstallerMedia* base, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1426 "unattended-installer.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1430 "unattended-installer.c"
}


static void boxes_unattended_installer_prepare_for_installation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerPrepareForInstallationData* _data_;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_for_installation_co (_data_);
#line 1444 "unattended-installer.c"
}


static void _vala_array_add8 (gchar*** array, int* length, int* size, gchar* value) {
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if ((*length) == (*size)) {
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1455 "unattended-installer.c"
	}
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(*array)[(*length)++] = value;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(*array)[*length] = NULL;
#line 1461 "unattended-installer.c"
}


static gpointer _g_error_copy0 (gpointer self) {
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self ? g_error_copy (self) : NULL;
#line 1468 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_prepare_for_installation_co (BoxesUnattendedInstallerPrepareForInstallationData* _data_) {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 1477 "unattended-installer.c"
		goto _state_0;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 1481 "unattended-installer.c"
		goto _state_1;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 1485 "unattended-installer.c"
		goto _state_2;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 3:
#line 1489 "unattended-installer.c"
		goto _state_3;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 4:
#line 1493 "unattended-installer.c"
		goto _state_4;
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 5:
#line 1497 "unattended-installer.c"
		goto _state_5;
		default:
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 1502 "unattended-installer.c"
	}
	_state_0:
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->self->priv->express_toggle;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = gtk_switch_get_active (_data_->_tmp0_);
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 154 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_data_->_tmp2_) {
#line 155 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:155: Unattended installation disabled.");
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1519 "unattended-installer.c"
		} else {
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1523 "unattended-installer.c"
		}
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 157 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1529 "unattended-installer.c"
	}
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->vm_name;
#line 160 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_installer_media_prepare_to_continue_installation ((BoxesInstallerMedia*) _data_->self, _data_->_tmp3_);
#line 1535 "unattended-installer.c"
	{
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp4_ = _data_->cancellable;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_create_disk_image (_data_->self, _data_->_tmp4_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1545 "unattended-installer.c"
		_state_1:
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_create_disk_image_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 163 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 1551 "unattended-installer.c"
			goto __catch71_g_error;
		}
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = _data_->self->priv->unattended_files;
#line 1556 "unattended-installer.c"
		{
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->unattended_file_collection = _data_->_tmp5_;
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			for (_data_->unattended_file_it = _data_->unattended_file_collection; _data_->unattended_file_it != NULL; _data_->unattended_file_it = _data_->unattended_file_it->next) {
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp6_ = _g_object_ref0 ((BoxesUnattendedFile*) _data_->unattended_file_it->data);
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->unattended_file = _data_->_tmp6_;
#line 1566 "unattended-installer.c"
				{
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp7_ = _data_->unattended_file;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp8_ = _data_->cancellable;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_state_ = 2;
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_file_copy (_data_->_tmp7_, _data_->_tmp8_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 1578 "unattended-installer.c"
					_state_2:
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_file_copy_finish (_data_->_tmp7_, _data_->_res_, &_data_->_inner_error_);
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_inner_error_ != NULL) {
#line 166 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (_data_->unattended_file);
#line 1586 "unattended-installer.c"
						goto __catch71_g_error;
					}
#line 165 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->unattended_file);
#line 1591 "unattended-installer.c"
				}
			}
		}
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = _data_->self->secondary_disk_file;
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp9_ != NULL) {
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp10_ = _data_->self->secondary_disk_file;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp11_ = NULL;
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp11_ = g_file_get_path (_data_->_tmp10_);
#line 169 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->secondary_disk_path = _data_->_tmp11_;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp12_ = _data_->secondary_disk_path;
#line 171 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_debug ("unattended-installer.vala:171: Creating secondary disk image '%s'...", _data_->_tmp12_);
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp13_ = g_strdup ("mkisofs");
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp14_ = g_strdup ("-graft-points");
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp15_ = g_strdup ("-J");
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp16_ = g_strdup ("-rock");
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp17_ = g_strdup ("-o");
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp18_ = _data_->secondary_disk_path;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp19_ = g_strdup (_data_->_tmp18_);
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_ = NULL;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_ = g_new0 (gchar*, 6 + 1);
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_[0] = _data_->_tmp13_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_[1] = _data_->_tmp14_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_[2] = _data_->_tmp15_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_[3] = _data_->_tmp16_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_[4] = _data_->_tmp17_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp20_[5] = _data_->_tmp19_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->argv = _data_->_tmp20_;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->argv_length1 = 6;
#line 172 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_argv_size_ = _data_->argv_length1;
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp21_ = _data_->self->priv->secondary_unattended_files;
#line 1649 "unattended-installer.c"
			{
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_vala1_unattended_file_collection = _data_->_tmp21_;
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				for (_data_->_vala1_unattended_file_it = _data_->_vala1_unattended_file_collection; _data_->_vala1_unattended_file_it != NULL; _data_->_vala1_unattended_file_it = _data_->_vala1_unattended_file_it->next) {
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp22_ = _g_object_ref0 ((BoxesUnattendedFile*) _data_->_vala1_unattended_file_it->data);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_vala1_unattended_file = _data_->_tmp22_;
#line 1659 "unattended-installer.c"
					{
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp23_ = _data_->_vala1_unattended_file;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp24_ = boxes_unattended_file_get_dest_name (_data_->_tmp23_);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp25_ = _data_->_tmp24_;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp26_ = NULL;
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp26_ = boxes_unattended_installer_escape_mkisofs_path (_data_->_tmp25_);
#line 174 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->dest_path = _data_->_tmp26_;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp27_ = _data_->_vala1_unattended_file;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp28_ = boxes_unattended_file_get_src_path (_data_->_tmp27_);
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp29_ = _data_->_tmp28_;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp30_ = NULL;
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp30_ = boxes_unattended_installer_escape_mkisofs_path (_data_->_tmp29_);
#line 175 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->src_path = _data_->_tmp30_;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp31_ = _data_->argv;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp31__length1 = _data_->argv_length1;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp32_ = _data_->dest_path;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp33_ = g_strconcat (_data_->_tmp32_, "=", NULL);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp34_ = _data_->_tmp33_;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp35_ = _data_->src_path;
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data_->_tmp36_ = g_strconcat (_data_->_tmp34_, _data_->_tmp35_, NULL);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_vala_array_add8 (&_data_->argv, &_data_->argv_length1, &_data_->_argv_size_, _data_->_tmp36_);
#line 177 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_free0 (_data_->_tmp34_);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_free0 (_data_->src_path);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_free0 (_data_->dest_path);
#line 173 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (_data_->_vala1_unattended_file);
#line 1709 "unattended-installer.c"
					}
				}
			}
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp37_ = _data_->argv;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp37__length1 = _data_->argv_length1;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp38_ = _data_->cancellable;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_state_ = 3;
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_exec (_data_->_tmp37_, _data_->_tmp37__length1, _data_->_tmp38_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 1725 "unattended-installer.c"
			_state_3:
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_exec_finish (_data_->_res_, NULL, NULL, &_data_->_inner_error_);
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_ != NULL) {
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 180 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->secondary_disk_path);
#line 1735 "unattended-installer.c"
				goto __catch71_g_error;
			}
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp39_ = _data_->secondary_disk_path;
#line 181 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_debug ("unattended-installer.vala:181: Created secondary disk image '%s'...", _data_->_tmp39_);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->argv = (_vala_array_free (_data_->argv, _data_->argv_length1, (GDestroyNotify) g_free), NULL);
#line 168 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->secondary_disk_path);
#line 1746 "unattended-installer.c"
		}
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp41_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp42_ = NULL;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_get (_data_->_tmp41_, "kernel-path", &_data_->_tmp42_, NULL);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp43_ = _data_->_tmp42_;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp44_ = _data_->_tmp43_;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp45_ = _data_->_tmp44_ != NULL;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->_tmp44_);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp45_) {
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp46_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp47_ = NULL;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_object_get (_data_->_tmp46_, "initrd-path", &_data_->_tmp47_, NULL);
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp48_ = _data_->_tmp47_;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp49_ = _data_->_tmp48_;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp40_ = _data_->_tmp49_ != NULL;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->_tmp49_);
#line 1778 "unattended-installer.c"
		} else {
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp40_ = FALSE;
#line 1782 "unattended-installer.c"
		}
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp50_ = _data_->_tmp40_;
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_tmp50_) {
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp51_ = ((BoxesInstallerMedia*) _data_->self)->device_file;
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp52_ = boxes_iso_extractor_new (_data_->_tmp51_);
#line 186 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->extractor = _data_->_tmp52_;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp53_ = _data_->extractor;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp54_ = _data_->cancellable;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_state_ = 4;
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_iso_extractor_mount_media (_data_->_tmp53_, _data_->_tmp54_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 1804 "unattended-installer.c"
			_state_4:
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_iso_extractor_mount_media_finish (_data_->_tmp53_, _data_->_res_, &_data_->_inner_error_);
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_ != NULL) {
#line 188 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->extractor);
#line 1812 "unattended-installer.c"
				goto __catch71_g_error;
			}
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp55_ = _data_->extractor;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp56_ = _data_->cancellable;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_state_ = 5;
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_extract_boot_files (_data_->self, _data_->_tmp55_, _data_->_tmp56_, boxes_unattended_installer_prepare_for_installation_ready, _data_);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 1825 "unattended-installer.c"
			_state_5:
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_extract_boot_files_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_ != NULL) {
#line 190 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->extractor);
#line 1833 "unattended-installer.c"
				goto __catch71_g_error;
			}
#line 185 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->extractor);
#line 1838 "unattended-installer.c"
		}
	}
	goto __finally71;
	__catch71_g_error:
	{
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 193 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_installer_media_clean_up ((BoxesInstallerMedia*) _data_->self);
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp57_ = _data_->self->priv->express_toggle;
#line 197 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_switch_set_active (_data_->_tmp57_, FALSE);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp58_ = _data_->_error_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp59_ = _g_error_copy0 (_data_->_tmp58_);
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = _data_->_tmp59_;
#line 199 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 1862 "unattended-installer.c"
		goto __finally71;
	}
	__finally71:
	{
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		__g_list_free__g_object_unref0_0 (_data_->self->priv->unattended_files);
#line 201 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->self->priv->unattended_files = NULL;
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		__g_list_free__g_object_unref0_0 (_data_->self->priv->secondary_unattended_files);
#line 202 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->self->priv->secondary_unattended_files = NULL;
#line 1875 "unattended-installer.c"
	}
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1887 "unattended-installer.c"
		} else {
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1891 "unattended-installer.c"
		}
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 162 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 1897 "unattended-installer.c"
	}
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1903 "unattended-installer.c"
	} else {
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1907 "unattended-installer.c"
	}
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 153 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 1913 "unattended-installer.c"
}


static void boxes_unattended_installer_real_setup_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain) {
	BoxesUnattendedInstaller * self;
	GVirConfigDomain* _tmp0_;
	GtkSwitch* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GFile* _tmp4_;
	GVirConfigDomainDisk* _tmp5_ = NULL;
	GVirConfigDomainDisk* disk;
	GVirConfigDomain* _tmp6_;
	GVirConfigDomainDisk* _tmp7_;
	GFile* _tmp8_;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (domain != NULL);
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = domain;
#line 207 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->setup_domain_config (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia), _tmp0_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->priv->express_toggle;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = gtk_switch_get_active (_tmp1_);
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_;
#line 209 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp3_) {
#line 210 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 1947 "unattended-installer.c"
	}
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->disk_file;
#line 212 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (_tmp4_ != NULL);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = boxes_unattended_installer_get_unattended_disk_config (self, OSINFO_PATH_FORMAT_UNIX);
#line 213 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp5_;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = domain;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = disk;
#line 214 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_add_device (_tmp6_, (GVirConfigDomainDevice*) _tmp7_);
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = self->secondary_disk_file;
#line 215 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp8_ != NULL) {
#line 1967 "unattended-installer.c"
		GVirConfigDomainDisk* _tmp9_ = NULL;
		GVirConfigDomain* _tmp10_;
		GVirConfigDomainDisk* _tmp11_;
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = boxes_unattended_installer_get_secondary_unattended_disk_config (self, OSINFO_PATH_FORMAT_UNIX);
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (disk);
#line 216 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		disk = _tmp9_;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = domain;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = disk;
#line 217 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_add_device (_tmp10_, (GVirConfigDomainDevice*) _tmp11_);
#line 1983 "unattended-installer.c"
	}
#line 206 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (disk);
#line 1987 "unattended-installer.c"
}


void boxes_unattended_installer_configure_install_script (BoxesUnattendedInstaller* self, OsinfoInstallScript* script) {
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gboolean _tmp3_;
	const gchar* _tmp12_;
	const gchar* _tmp13_;
	gboolean _tmp20_ = FALSE;
	GtkEntry* _tmp21_;
	gboolean _tmp25_;
	OsinfoInstallConfig* _tmp30_;
	const gchar* _tmp31_;
	OsinfoInstallConfig* _tmp32_;
	const gchar* _tmp33_;
	OsinfoInstallConfig* _tmp34_;
	const gchar* _tmp35_;
	OsinfoInstallConfig* _tmp36_;
	const gchar* _tmp37_;
	OsinfoInstallConfig* _tmp38_;
	OsinfoMedia* _tmp39_;
	gchar* _tmp40_ = NULL;
	gchar* _tmp41_;
	gchar* _tmp42_;
	OsinfoOs* _tmp43_;
	const gchar* _tmp44_;
	const gchar* _tmp45_;
	OsinfoInstallScript* _tmp52_;
	OsinfoPathFormat _tmp53_;
	OsinfoPathFormat _tmp54_;
	GVirConfigDomainDisk* _tmp55_ = NULL;
	GVirConfigDomainDisk* disk_config;
	OsinfoInstallScript* _tmp56_;
	OsinfoPathFormat _tmp57_;
	OsinfoPathFormat _tmp58_;
	GVirConfigDomainDisk* _tmp59_;
	const gchar* _tmp60_ = NULL;
	gchar* _tmp61_ = NULL;
	gchar* device_path;
	OsinfoInstallConfig* _tmp62_;
	const gchar* _tmp63_;
	BoxesUnattendedAvatarFile* _tmp64_;
	OsinfoInstallConfig* _tmp79_;
	OsinfoInstallConfig* _tmp80_;
	const gchar* _tmp81_ = NULL;
	GFile* _tmp82_;
	OsinfoInstallConfig* _tmp95_;
	gboolean _tmp96_;
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (script != NULL);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_get_password (self);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_ != NULL;
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp2_);
#line 222 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp3_) {
#line 2054 "unattended-installer.c"
		OsinfoInstallConfig* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		OsinfoInstallConfig* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		gchar* _tmp11_;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = self->config;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = boxes_unattended_installer_get_password (self);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _tmp6_;
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_user_password (_tmp4_, _tmp7_);
#line 223 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp7_);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = self->config;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = boxes_unattended_installer_get_password (self);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp9_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = _tmp10_;
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_admin_password (_tmp8_, _tmp11_);
#line 224 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp11_);
#line 2087 "unattended-installer.c"
	}
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = boxes_unattended_installer_get_username (self);
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_;
#line 226 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp13_ != NULL) {
#line 2095 "unattended-installer.c"
		OsinfoInstallConfig* _tmp14_;
		const gchar* _tmp15_;
		const gchar* _tmp16_;
		OsinfoInstallConfig* _tmp17_;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp14_ = self->config;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp15_ = boxes_unattended_installer_get_username (self);
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp16_ = _tmp15_;
#line 227 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_user_login (_tmp14_, _tmp16_);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp17_ = self->config;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp18_ = boxes_unattended_installer_get_username (self);
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp19_ = _tmp18_;
#line 228 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_user_realname (_tmp17_, _tmp19_);
#line 2118 "unattended-installer.c"
	}
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = self->priv->key_entry;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp21_ != NULL) {
#line 2124 "unattended-installer.c"
		GtkEntry* _tmp22_;
		const gchar* _tmp23_;
		const gchar* _tmp24_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp22_ = self->priv->key_entry;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp23_ = gtk_entry_get_text (_tmp22_);
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp24_ = _tmp23_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = _tmp24_ != NULL;
#line 2136 "unattended-installer.c"
	} else {
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = FALSE;
#line 2140 "unattended-installer.c"
	}
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = _tmp20_;
#line 230 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp25_) {
#line 2146 "unattended-installer.c"
		OsinfoInstallConfig* _tmp26_;
		GtkEntry* _tmp27_;
		const gchar* _tmp28_;
		const gchar* _tmp29_;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp26_ = self->config;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp27_ = self->priv->key_entry;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp28_ = gtk_entry_get_text (_tmp27_);
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp29_ = _tmp28_;
#line 231 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_reg_product_key (_tmp26_, _tmp29_);
#line 2161 "unattended-installer.c"
	}
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = self->config;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = self->priv->timezone;
#line 232 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_l10n_timezone (_tmp30_, _tmp31_);
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = self->config;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = self->priv->lang;
#line 233 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_l10n_language (_tmp32_, _tmp33_);
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = self->config;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = self->priv->kbd;
#line 234 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_l10n_keyboard (_tmp34_, _tmp35_);
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = self->config;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = self->priv->hostname;
#line 235 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_hostname (_tmp36_, _tmp37_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = self->config;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = ((BoxesInstallerMedia*) self)->os_media;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_tmp39_, "architecture", &_tmp40_, NULL);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = _tmp40_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = _tmp41_;
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_hardware_arch (_tmp38_, _tmp42_);
#line 236 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp42_);
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = ((BoxesInstallerMedia*) self)->os;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp44_ = osinfo_os_get_distro (_tmp43_);
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp45_ = _tmp44_;
#line 239 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp45_, "win") == 0) {
#line 2209 "unattended-installer.c"
		OsinfoInstallConfig* _tmp46_;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp46_ = self->config;
#line 240 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_target_disk (_tmp46_, "C");
#line 2215 "unattended-installer.c"
	} else {
		const gchar* _tmp47_ = NULL;
		gboolean _tmp48_;
		gboolean _tmp49_;
		OsinfoInstallConfig* _tmp50_;
		const gchar* _tmp51_;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp48_ = boxes_installer_media_get_supports_virtio_disk ((BoxesInstallerMedia*) self);
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp49_ = _tmp48_;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp49_) {
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp47_ = "/dev/vda";
#line 2230 "unattended-installer.c"
		} else {
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp47_ = "/dev/sda";
#line 2234 "unattended-installer.c"
		}
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp50_ = self->config;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp51_ = _tmp47_;
#line 242 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_target_disk (_tmp50_, _tmp51_);
#line 2242 "unattended-installer.c"
	}
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp52_ = script;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = osinfo_install_script_get_path_format (_tmp52_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp54_ = _tmp53_;
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp55_ = boxes_unattended_installer_get_unattended_disk_config (self, _tmp54_);
#line 244 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk_config = _tmp55_;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp56_ = script;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp57_ = osinfo_install_script_get_path_format (_tmp56_);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp58_ = _tmp57_;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp59_ = disk_config;
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp60_ = gvir_config_domain_disk_get_target_dev (_tmp59_);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp61_ = boxes_unattended_installer_device_name_to_path (self, _tmp58_, _tmp60_);
#line 245 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	device_path = _tmp61_;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp62_ = self->config;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp63_ = device_path;
#line 246 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_script_disk (_tmp62_, _tmp63_);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp64_ = self->priv->avatar_file;
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp64_ != NULL) {
#line 2278 "unattended-installer.c"
		const gchar* _tmp65_ = NULL;
		OsinfoInstallScript* _tmp66_;
		OsinfoPathFormat _tmp67_;
		OsinfoPathFormat _tmp68_;
		const gchar* _tmp69_;
		BoxesUnattendedAvatarFile* _tmp70_;
		const gchar* _tmp71_;
		const gchar* _tmp72_;
		gchar* _tmp73_;
		gchar* location;
		OsinfoInstallConfig* _tmp74_;
		const gchar* _tmp75_;
		OsinfoInstallConfig* _tmp76_;
		OsinfoInstallConfig* _tmp77_;
		const gchar* _tmp78_ = NULL;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp66_ = script;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp67_ = osinfo_install_script_get_path_format (_tmp66_);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp68_ = _tmp67_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp68_ == OSINFO_PATH_FORMAT_UNIX) {
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp65_ = "/";
#line 2304 "unattended-installer.c"
		} else {
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp65_ = "\\";
#line 2308 "unattended-installer.c"
		}
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp69_ = _tmp65_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp70_ = self->priv->avatar_file;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp71_ = boxes_unattended_file_get_dest_name ((BoxesUnattendedFile*) _tmp70_);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp72_ = _tmp71_;
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp73_ = g_strconcat (_tmp69_, _tmp72_, NULL);
#line 249 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		location = _tmp73_;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp74_ = self->config;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp75_ = location;
#line 250 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_avatar_location (_tmp74_, _tmp75_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp76_ = self->config;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp77_ = self->config;
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp78_ = osinfo_install_config_get_script_disk (_tmp77_);
#line 251 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_avatar_disk (_tmp76_, _tmp78_);
#line 248 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (location);
#line 2338 "unattended-installer.c"
	}
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp79_ = self->config;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp80_ = self->config;
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp81_ = osinfo_install_config_get_script_disk (_tmp80_);
#line 254 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_pre_install_drivers_disk (_tmp79_, _tmp81_);
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp82_ = self->secondary_disk_file;
#line 255 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp82_ != NULL) {
#line 2352 "unattended-installer.c"
		OsinfoInstallScript* _tmp83_;
		OsinfoPathFormat _tmp84_;
		OsinfoPathFormat _tmp85_;
		GVirConfigDomainDisk* _tmp86_ = NULL;
		OsinfoInstallScript* _tmp87_;
		OsinfoPathFormat _tmp88_;
		OsinfoPathFormat _tmp89_;
		GVirConfigDomainDisk* _tmp90_;
		const gchar* _tmp91_ = NULL;
		gchar* _tmp92_ = NULL;
		OsinfoInstallConfig* _tmp93_;
		const gchar* _tmp94_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp83_ = script;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp84_ = osinfo_install_script_get_path_format (_tmp83_);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp85_ = _tmp84_;
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp86_ = boxes_unattended_installer_get_secondary_unattended_disk_config (self, _tmp85_);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (disk_config);
#line 256 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		disk_config = _tmp86_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp87_ = script;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp88_ = osinfo_install_script_get_path_format (_tmp87_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp89_ = _tmp88_;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp90_ = disk_config;
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp91_ = gvir_config_domain_disk_get_target_dev (_tmp90_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp92_ = boxes_unattended_installer_device_name_to_path (self, _tmp89_, _tmp91_);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (device_path);
#line 257 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		device_path = _tmp92_;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp93_ = self->config;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp94_ = device_path;
#line 258 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		osinfo_install_config_set_post_install_drivers_disk (_tmp93_, _tmp94_);
#line 2399 "unattended-installer.c"
	}
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp95_ = self->config;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp96_ = self->priv->driver_signing;
#line 261 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	osinfo_install_config_set_driver_signing (_tmp95_, _tmp96_);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (device_path);
#line 221 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (disk_config);
#line 2411 "unattended-installer.c"
}


static void boxes_unattended_installer_real_setup_post_install_domain_config (BoxesInstallerMedia* base, GVirConfigDomain* domain) {
	BoxesUnattendedInstaller * self;
	GFile* _tmp0_;
	gchar* _tmp1_ = NULL;
	gchar* path;
	GVirConfigDomain* _tmp2_;
	const gchar* _tmp3_;
	GFile* _tmp4_;
	GVirConfigDomain* _tmp9_;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (domain != NULL);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->disk_file;
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_file_get_path (_tmp0_);
#line 265 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	path = _tmp1_;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = domain;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = path;
#line 266 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_remove_disk_from_domain_config (self, _tmp2_, _tmp3_);
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->secondary_disk_file;
#line 267 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp4_ != NULL) {
#line 2444 "unattended-installer.c"
		GFile* _tmp5_;
		gchar* _tmp6_ = NULL;
		GVirConfigDomain* _tmp7_;
		const gchar* _tmp8_;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = self->secondary_disk_file;
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = g_file_get_path (_tmp5_);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (path);
#line 268 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		path = _tmp6_;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = domain;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = path;
#line 269 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_remove_disk_from_domain_config (self, _tmp7_, _tmp8_);
#line 2463 "unattended-installer.c"
	}
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = domain;
#line 272 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->setup_post_install_domain_config (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia), _tmp9_);
#line 264 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (path);
#line 2471 "unattended-installer.c"
}


static void boxes_unattended_installer_real_populate_setup_vbox (BoxesInstallerMedia* base, GtkBox* setup_vbox) {
	BoxesUnattendedInstaller * self;
	GtkBox* _tmp0_;
	GList* _tmp1_ = NULL;
	GtkBox* _tmp4_;
	GtkLabel* _tmp5_;
	GtkBox* _tmp6_;
	GtkBox* _tmp7_;
	GtkBox* _tmp8_;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 275 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (setup_vbox != NULL);
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = setup_vbox;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_container_get_children ((GtkContainer*) _tmp0_);
#line 2492 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp1_;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 2500 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 2504 "unattended-installer.c"
			{
				GtkBox* _tmp2_;
				GtkWidget* _tmp3_;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = setup_vbox;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = child;
#line 277 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				gtk_container_remove ((GtkContainer*) _tmp2_, _tmp3_);
#line 2514 "unattended-installer.c"
			}
		}
#line 276 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 2519 "unattended-installer.c"
	}
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = setup_vbox;
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->priv->setup_label;
#line 279 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start (_tmp4_, (GtkWidget*) _tmp5_, FALSE, FALSE, (guint) 0);
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = setup_vbox;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->priv->setup_hbox;
#line 280 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start (_tmp6_, (GtkWidget*) _tmp7_, FALSE, FALSE, (guint) 0);
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = setup_vbox;
#line 281 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp8_);
#line 2537 "unattended-installer.c"
}


static void _boxes_pair_unref0_ (gpointer var) {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	(var == NULL) ? NULL : (var = (boxes_pair_unref (var), NULL));
#line 2544 "unattended-installer.c"
}


static void _g_list_free__boxes_pair_unref0_ (GList* self) {
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_foreach (self, (GFunc) _boxes_pair_unref0_, NULL);
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_list_free (self);
#line 2553 "unattended-installer.c"
}


static GList* boxes_unattended_installer_real_get_vm_properties (BoxesInstallerMedia* base) {
	BoxesUnattendedInstaller * self;
	GList* result = NULL;
	GList* _tmp0_ = NULL;
	GList* properties;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 284 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->get_vm_properties (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia));
#line 285 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	properties = _tmp0_;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_express_install (self);
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 287 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_) {
#line 2576 "unattended-installer.c"
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_;
		const gchar* _tmp5_;
		BoxesPair* _tmp6_;
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		BoxesPair* _tmp11_;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _ ("Username");
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = boxes_unattended_installer_get_username (self);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = boxes_pair_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp3_, _tmp5_);
#line 288 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp6_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = _ ("Password");
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = boxes_unattended_installer_get_hidden_password (self);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = _tmp8_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp10_ = _tmp9_;
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = boxes_pair_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, _tmp7_, _tmp10_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		properties = g_list_append (properties, _tmp11_);
#line 289 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp10_);
#line 2610 "unattended-installer.c"
	}
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = properties;
#line 292 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2616 "unattended-installer.c"
}


static void boxes_unattended_installer_real_set_direct_boot_params (BoxesInstallerMedia* base, GVirConfigDomainOs* os) {
	BoxesUnattendedInstaller * self;
	gboolean _tmp0_ = FALSE;
	GFile* _tmp1_;
	gboolean _tmp3_;
	OsinfoInstallScriptList* _tmp4_;
	OsinfoEntity* _tmp5_ = NULL;
	OsinfoInstallScript* _tmp6_;
	OsinfoInstallScript* script;
	OsinfoInstallScript* _tmp7_;
	const gchar* _tmp8_ = NULL;
	gchar* _tmp9_;
	gchar* cmdline;
	GVirConfigDomainOs* _tmp10_;
	GFile* _tmp11_;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_;
	GVirConfigDomainOs* _tmp14_;
	GFile* _tmp15_;
	gchar* _tmp16_ = NULL;
	gchar* _tmp17_;
	GVirConfigDomainOs* _tmp18_;
	const gchar* _tmp19_;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (os != NULL);
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->kernel_file;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp1_ == NULL) {
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = TRUE;
#line 2653 "unattended-installer.c"
	} else {
		GFile* _tmp2_;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = self->initrd_file;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp2_ == NULL;
#line 2660 "unattended-installer.c"
	}
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp0_;
#line 296 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp3_) {
#line 297 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 2668 "unattended-installer.c"
	}
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->scripts;
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = osinfo_list_get_nth ((OsinfoList*) _tmp4_, 0);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _tmp5_) : NULL);
#line 300 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	script = _tmp6_;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = script;
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = osinfo_install_script_get_expected_filename (_tmp7_);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = g_strconcat ("ks=hd:sda:/", _tmp8_, NULL);
#line 301 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	cmdline = _tmp9_;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = os;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = self->kernel_file;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = g_file_get_path (_tmp11_);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = _tmp12_;
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_os_set_kernel (_tmp10_, _tmp13_);
#line 303 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp13_);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = os;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = self->initrd_file;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = g_file_get_path (_tmp15_);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = _tmp16_;
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_os_set_ramdisk (_tmp14_, _tmp17_);
#line 304 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp17_);
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = os;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = cmdline;
#line 305 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_os_set_cmdline (_tmp18_, _tmp19_);
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (cmdline);
#line 295 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (script);
#line 2720 "unattended-installer.c"
}


static void boxes_unattended_installer_real_clean_up (BoxesInstallerMedia* base) {
	BoxesUnattendedInstaller * self;
	GError * _inner_error_ = NULL;
#line 308 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 309 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (boxes_unattended_installer_parent_class)->clean_up (G_TYPE_CHECK_INSTANCE_CAST (self, BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia));
#line 2731 "unattended-installer.c"
	{
		GFile* _tmp0_;
		GFile* _tmp2_;
		GFile* _tmp4_;
		GFile* _tmp6_;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = self->disk_file;
#line 312 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp0_ != NULL) {
#line 2741 "unattended-installer.c"
			GFile* _tmp1_;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp1_ = self->disk_file;
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_delete_file (_tmp1_, &_inner_error_);
#line 313 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 2749 "unattended-installer.c"
				goto __catch72_g_error;
			}
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (self->disk_file);
#line 314 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			self->disk_file = NULL;
#line 2756 "unattended-installer.c"
		}
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = self->secondary_disk_file;
#line 317 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp2_ != NULL) {
#line 2762 "unattended-installer.c"
			GFile* _tmp3_;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = self->secondary_disk_file;
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_delete_file (_tmp3_, &_inner_error_);
#line 318 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 2770 "unattended-installer.c"
				goto __catch72_g_error;
			}
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (self->secondary_disk_file);
#line 319 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			self->secondary_disk_file = NULL;
#line 2777 "unattended-installer.c"
		}
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = self->kernel_file;
#line 322 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp4_ != NULL) {
#line 2783 "unattended-installer.c"
			GFile* _tmp5_;
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp5_ = self->kernel_file;
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_delete_file (_tmp5_, &_inner_error_);
#line 323 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 2791 "unattended-installer.c"
				goto __catch72_g_error;
			}
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (self->kernel_file);
#line 324 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			self->kernel_file = NULL;
#line 2798 "unattended-installer.c"
		}
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = self->initrd_file;
#line 327 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp6_ != NULL) {
#line 2804 "unattended-installer.c"
			GFile* _tmp7_;
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp7_ = self->initrd_file;
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_delete_file (_tmp7_, &_inner_error_);
#line 328 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 2812 "unattended-installer.c"
				goto __catch72_g_error;
			}
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (self->initrd_file);
#line 329 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			self->initrd_file = NULL;
#line 2819 "unattended-installer.c"
		}
	}
	goto __finally72;
	__catch72_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp8_;
		const gchar* _tmp9_;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_error_ = _inner_error_;
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_inner_error_ = NULL;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = _error_;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp9_ = _tmp8_->message;
#line 332 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:332: Failed to clean-up: %s", _tmp9_);
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_error_);
#line 2840 "unattended-installer.c"
	}
	__finally72:
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_inner_error_ != NULL) {
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_inner_error_);
#line 311 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 2851 "unattended-installer.c"
	}
}


gchar* boxes_unattended_installer_get_user_unattended (BoxesUnattendedInstaller* self, const gchar* suffix) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* filename;
	const gchar* _tmp2_;
	const gchar* _tmp8_;
	gchar* _tmp9_ = NULL;
#line 336 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->hostname;
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 337 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	filename = _tmp1_;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = suffix;
#line 338 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ != NULL) {
#line 2876 "unattended-installer.c"
		const gchar* _tmp3_;
		const gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = filename;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = suffix;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strconcat ("-", _tmp4_, NULL);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _tmp5_;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = g_strconcat (_tmp3_, _tmp6_, NULL);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (filename);
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		filename = _tmp7_;
#line 339 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp6_);
#line 2898 "unattended-installer.c"
	}
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = filename;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = boxes_get_user_pkgcache (_tmp8_);
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp9_;
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (filename);
#line 341 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 2910 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_data_free (gpointer _data) {
	BoxesUnattendedInstallerPrepareData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerPrepareData, _data_);
#line 2925 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare (BoxesInstallerMedia* base, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstaller * self;
	BoxesUnattendedInstallerPrepareData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesActivityProgress* _tmp1_;
	BoxesActivityProgress* _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerPrepareData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_real_prepare);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_real_prepare_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = progress;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->progress = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_co (_data_);
#line 2967 "unattended-installer.c"
}


static void boxes_unattended_installer_real_prepare_finish (BoxesInstallerMedia* base, GAsyncResult* _res_) {
	BoxesUnattendedInstallerPrepareData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2975 "unattended-installer.c"
}


static void boxes_unattended_installer_prepare_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerPrepareData* _data_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_real_prepare_co (_data_);
#line 2989 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_prepare_co (BoxesUnattendedInstallerPrepareData* _data_) {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 2998 "unattended-installer.c"
		goto _state_0;
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 3002 "unattended-installer.c"
		goto _state_1;
		default:
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 3007 "unattended-installer.c"
	}
	_state_0:
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->progress;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->cancellable;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_drivers (_data_->self, _data_->_tmp0_, _data_->_tmp1_, boxes_unattended_installer_prepare_ready, _data_);
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 3020 "unattended-installer.c"
	_state_1:
#line 346 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_drivers_finish (_data_->self, _data_->_res_);
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3028 "unattended-installer.c"
	} else {
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3032 "unattended-installer.c"
	}
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 344 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 3038 "unattended-installer.c"
}


static Block59Data* block59_data_ref (Block59Data* _data59_) {
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_atomic_int_inc (&_data59_->_ref_count_);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return _data59_;
#line 3047 "unattended-installer.c"
}


static void block59_data_unref (void * _userdata_) {
	Block59Data* _data59_;
	_data59_ = (Block59Data*) _userdata_;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_atomic_int_dec_and_test (&_data59_->_ref_count_)) {
#line 3056 "unattended-installer.c"
		BoxesUnattendedInstaller * self;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self = _data59_->self;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data59_->notebook);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_slice_free (Block59Data, _data59_);
#line 3066 "unattended-installer.c"
	}
}


static void __lambda76_ (BoxesUnattendedInstaller* self) {
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject*) self, "ready-to-create");
#line 3074 "unattended-installer.c"
}


static void ___lambda76__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__lambda76_ (self);
#line 3081 "unattended-installer.c"
}


static void __lambda78_ (Block59Data* _data59_) {
	BoxesUnattendedInstaller * self;
	GtkNotebook* _tmp0_;
	GtkEntry* _tmp1_;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data59_->self;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _data59_->notebook;
#line 425 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_next_page (_tmp0_);
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->priv->password_entry;
#line 426 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_grab_focus ((GtkWidget*) _tmp1_);
#line 3099 "unattended-installer.c"
}


static void ___lambda78__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__lambda78_ (self);
#line 3106 "unattended-installer.c"
}


static gboolean __lambda79_ (Block59Data* _data59_) {
	BoxesUnattendedInstaller * self;
	gboolean result = FALSE;
	GtkEntry* _tmp0_;
	guint _tmp1_;
	guint _tmp2_;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data59_->self;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->password_entry;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text_length (_tmp0_);
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 429 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp2_ == ((guint) 0)) {
#line 3126 "unattended-installer.c"
		GtkNotebook* _tmp3_;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _data59_->notebook;
#line 430 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_notebook_prev_page (_tmp3_);
#line 3132 "unattended-installer.c"
	}
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = FALSE;
#line 431 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3138 "unattended-installer.c"
}


static gboolean ___lambda79__gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
	gboolean result;
	result = __lambda79_ (self);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 3147 "unattended-installer.c"
}


static void _boxes_unattended_installer_on_key_text_inserted_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_on_key_text_inserted (self, new_text, new_text_length, position);
#line 3154 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_ui (BoxesUnattendedInstaller* self) {
	Block59Data* _data59_;
	const gchar* _tmp0_ = NULL;
	GtkLabel* _tmp1_;
	GtkLabel* _tmp2_;
	GtkLabel* _tmp3_;
	GtkLabel* _tmp4_;
	GtkBox* _tmp5_;
	GtkBox* _tmp6_;
	GtkBox* _tmp7_;
	GtkGrid* _tmp8_;
	GtkBox* _tmp9_;
	GtkGrid* _tmp10_;
	GtkGrid* _tmp11_;
	GtkGrid* _tmp12_;
	GtkGrid* _tmp13_;
	GtkGrid* _tmp14_;
	const gchar* _tmp15_ = NULL;
	GtkLabel* _tmp16_;
	GtkLabel* label;
	GtkLabel* _tmp17_;
	GtkLabel* _tmp18_;
	GtkLabel* _tmp19_;
	GtkLabel* _tmp20_;
	GtkGrid* _tmp21_;
	GtkLabel* _tmp22_;
	GtkSwitch* _tmp23_;
	GtkSwitch* _tmp24_;
	OsinfoMedia* _tmp25_;
	gboolean _tmp26_ = FALSE;
	gboolean _tmp27_;
	GtkSwitch* _tmp28_;
	GtkSwitch* _tmp29_;
	GtkSwitch* _tmp30_;
	GtkSwitch* _tmp31_;
	GtkGrid* _tmp32_;
	GtkSwitch* _tmp33_;
	gint _tmp34_;
	GtkImage* _tmp35_;
	GtkImage* avatar;
	GtkImage* _tmp36_;
	GtkImage* _tmp37_;
	GtkImage* _tmp38_;
	GtkImage* _tmp39_;
	GtkGrid* _tmp40_;
	GtkImage* _tmp41_;
	GtkImage* _tmp42_;
	GtkImage* _tmp43_;
	const gchar* _tmp44_ = NULL;
	GtkLabel* _tmp45_;
	GtkLabel* _tmp46_;
	GtkLabel* _tmp47_;
	GtkLabel* _tmp48_;
	GtkLabel* _tmp49_;
	GtkGrid* _tmp50_;
	GtkLabel* _tmp51_;
	const gchar* _tmp52_ = NULL;
	GtkEntry* _tmp53_ = NULL;
	GtkEntry* _tmp54_;
	GtkEntry* _tmp55_;
	GtkEntry* _tmp56_;
	GtkGrid* _tmp57_;
	GtkEntry* _tmp58_;
	gint _tmp59_;
	const gchar* _tmp60_ = NULL;
	GtkLabel* _tmp61_;
	GtkLabel* _tmp62_;
	GtkLabel* _tmp63_;
	GtkLabel* _tmp64_;
	GtkGrid* _tmp65_;
	GtkLabel* _tmp66_;
	GtkNotebook* _tmp67_;
	GtkNotebook* _tmp68_;
	GtkNotebook* _tmp69_;
	GtkNotebook* _tmp70_;
	GtkNotebook* _tmp71_;
	const gchar* _tmp72_ = NULL;
	GtkButton* _tmp73_;
	GtkButton* button;
	GtkButton* _tmp74_;
	GtkNotebook* _tmp75_;
	GtkButton* _tmp76_;
	GtkEntry* _tmp77_ = NULL;
	GtkNotebook* _tmp78_;
	GtkEntry* _tmp79_;
	GtkButton* _tmp80_;
	GtkEntry* _tmp81_;
	GtkGrid* _tmp82_;
	GtkNotebook* _tmp83_;
	gint _tmp84_;
	GtkGrid* _tmp85_;
	GList* _tmp86_ = NULL;
	const gchar* _tmp91_;
	const gchar* _tmp92_ = NULL;
	GtkLabel* _tmp93_;
	GtkLabel* _tmp94_;
	GtkLabel* _tmp95_;
	GtkLabel* _tmp96_;
	GtkLabel* _tmp97_;
	GtkGrid* _tmp98_;
	GtkLabel* _tmp99_;
	gint _tmp100_;
	GtkSwitch* _tmp101_;
	GtkLabel* _tmp102_;
	GtkEntry* _tmp103_ = NULL;
	GtkEntry* _tmp104_;
	const gchar* _tmp105_;
	gint _tmp106_;
	gint _tmp107_;
	GtkEntry* _tmp108_;
	const gchar* _tmp109_;
	gint _tmp110_;
	gint _tmp111_;
	GtkEntry* _tmp112_;
	GtkEntry* _tmp113_;
	GtkEntry* _tmp114_;
	GtkEntry* _tmp115_;
	GtkStyleContext* _tmp116_ = NULL;
	GtkGrid* _tmp117_;
	GtkEntry* _tmp118_;
	gint _tmp119_;
	GtkSwitch* _tmp120_;
	GtkEntry* _tmp121_;
	gint _tmp122_;
	GtkEntry* _tmp123_;
	gulong _tmp124_ = 0UL;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data59_ = g_slice_new0 (Block59Data);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data59_->_ref_count_ = 1;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data59_->self = g_object_ref (self);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _ ("Choose express install to automatically preconfigure the box with opti" \
"mal settings.");
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp1_);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_label);
#line 350 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_label = _tmp1_;
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = self->priv->setup_label;
#line 351 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set (_tmp2_, "wrap", TRUE, NULL);
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = self->priv->setup_label;
#line 352 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_label_set_width_chars (_tmp3_, 30);
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = self->priv->setup_label;
#line 353 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp4_, GTK_ALIGN_START);
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp5_);
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_hbox);
#line 354 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_hbox = _tmp5_;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = self->priv->setup_hbox;
#line 355 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp6_, GTK_ALIGN_START);
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = self->priv->setup_hbox;
#line 356 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_set ((GtkWidget*) _tmp7_, "margin", 24, NULL);
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = (GtkGrid*) gtk_grid_new ();
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp8_);
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_grid);
#line 358 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid = _tmp8_;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = self->priv->setup_hbox;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = self->priv->setup_grid;
#line 359 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_box_pack_start (_tmp9_, (GtkWidget*) _tmp10_, FALSE, FALSE, (guint) 0);
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = self->priv->setup_grid;
#line 360 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_column_spacing (_tmp11_, 0);
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = self->priv->setup_grid;
#line 361 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_column_homogeneous (_tmp12_, FALSE);
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = self->priv->setup_grid;
#line 362 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_row_spacing (_tmp13_, 0);
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp14_ = self->priv->setup_grid;
#line 363 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_set_row_homogeneous (_tmp14_, TRUE);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp15_ = _ ("Express Install");
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp16_ = (GtkLabel*) gtk_label_new (_tmp15_);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp16_);
#line 368 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp16_;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp17_ = label;
#line 369 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp17_, 10);
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp18_ = label;
#line 370 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp18_, 15);
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = label;
#line 371 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp19_, GTK_ALIGN_END);
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp20_ = label;
#line 372 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp20_, GTK_ALIGN_CENTER);
#line 373 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = self->priv->setup_grid;
#line 373 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp22_ = label;
#line 373 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp21_, (GtkWidget*) _tmp22_, 0, 0, 2, 1);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp23_ = (GtkSwitch*) gtk_switch_new ();
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp23_);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->express_toggle);
#line 375 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->express_toggle = _tmp23_;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp24_ = self->priv->express_toggle;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = ((BoxesInstallerMedia*) self)->os_media;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_tmp25_, "live", &_tmp26_, NULL);
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = _tmp26_;
#line 376 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_switch_set_active (_tmp24_, !_tmp27_);
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = self->priv->express_toggle;
#line 377 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp28_, 15);
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp29_ = self->priv->express_toggle;
#line 378 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp29_, GTK_ALIGN_START);
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp30_ = self->priv->express_toggle;
#line 379 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp30_, GTK_ALIGN_CENTER);
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp31_ = self->priv->express_toggle;
#line 380 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_object ((GObject*) _tmp31_, "notify::active", (GCallback) ___lambda76__g_object_notify, self, 0);
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp32_ = self->priv->setup_grid;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp33_ = self->priv->express_toggle;
#line 381 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp32_, (GtkWidget*) _tmp33_, 2, 0, 1, 1);
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp34_ = self->priv->setup_grid_n_rows;
#line 382 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp34_ + 1;
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp35_ = (GtkImage*) gtk_image_new_from_icon_name ("avatar-default", 0);
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp35_);
#line 385 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	avatar = _tmp35_;
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = avatar;
#line 386 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_image_set_pixel_size (_tmp36_, 64);
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = avatar;
#line 387 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp37_, 15);
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp38_ = avatar;
#line 388 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp38_, GTK_ALIGN_CENTER);
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp39_ = avatar;
#line 389 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp39_, GTK_ALIGN_CENTER);
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp40_ = self->priv->setup_grid;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = avatar;
#line 390 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp40_, (GtkWidget*) _tmp41_, 0, 1, 1, 2);
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp42_ = avatar;
#line 391 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_show_all ((GtkWidget*) _tmp42_);
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp43_ = avatar;
#line 392 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar (self, _tmp43_, NULL, NULL);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp44_ = _ ("Username");
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp45_ = (GtkLabel*) gtk_label_new (_tmp44_);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp45_);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 394 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp45_;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp46_ = label;
#line 395 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp46_, 10);
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp47_ = label;
#line 396 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp47_, 10);
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp48_ = label;
#line 397 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp48_, GTK_ALIGN_END);
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp49_ = label;
#line 398 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp49_, GTK_ALIGN_END);
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp50_ = self->priv->setup_grid;
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp51_ = label;
#line 399 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp50_, (GtkWidget*) _tmp51_, 1, 1, 1, 1);
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp52_ = g_get_user_name ();
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = boxes_unattended_installer_create_input_entry (self, _tmp52_, TRUE, TRUE);
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->username_entry);
#line 400 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->username_entry = _tmp53_;
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp54_ = self->priv->username_entry;
#line 401 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp54_, 10);
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp55_ = self->priv->username_entry;
#line 402 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp55_, GTK_ALIGN_FILL);
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp56_ = self->priv->username_entry;
#line 403 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp56_, GTK_ALIGN_END);
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp57_ = self->priv->setup_grid;
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp58_ = self->priv->username_entry;
#line 404 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp57_, (GtkWidget*) _tmp58_, 2, 1, 1, 1);
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp59_ = self->priv->setup_grid_n_rows;
#line 405 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp59_ + 1;
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp60_ = _ ("Password");
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp61_ = (GtkLabel*) gtk_label_new (_tmp60_);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp61_);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 408 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp61_;
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp62_ = label;
#line 409 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp62_, 10);
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp63_ = label;
#line 410 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp63_, GTK_ALIGN_END);
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp64_ = label;
#line 411 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp64_, GTK_ALIGN_START);
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp65_ = self->priv->setup_grid;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp66_ = label;
#line 412 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp65_, (GtkWidget*) _tmp66_, 1, 2, 1, 1);
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp67_ = (GtkNotebook*) gtk_notebook_new ();
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp67_);
#line 414 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data59_->notebook = _tmp67_;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp68_ = _data59_->notebook;
#line 415 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_tabs (_tmp68_, FALSE);
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp69_ = _data59_->notebook;
#line 416 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_set_show_border (_tmp69_, FALSE);
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp70_ = _data59_->notebook;
#line 417 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp70_, GTK_ALIGN_FILL);
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp71_ = _data59_->notebook;
#line 418 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp71_, GTK_ALIGN_START);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp72_ = _ ("_Add Password");
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp73_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp72_);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp73_);
#line 419 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	button = _tmp73_;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp74_ = button;
#line 420 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp74_, TRUE);
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp75_ = _data59_->notebook;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp76_ = button;
#line 421 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp75_, (GtkWidget*) _tmp76_, NULL);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp77_ = boxes_unattended_installer_create_input_entry (self, "", FALSE, FALSE);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 422 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->password_entry = _tmp77_;
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp78_ = _data59_->notebook;
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp79_ = self->priv->password_entry;
#line 423 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_notebook_append_page (_tmp78_, (GtkWidget*) _tmp79_, NULL);
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp80_ = button;
#line 424 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_data (_tmp80_, "clicked", (GCallback) ___lambda78__gtk_button_clicked, block59_data_ref (_data59_), (GClosureNotify) block59_data_unref, 0);
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp81_ = self->priv->password_entry;
#line 428 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_connect_data ((GtkWidget*) _tmp81_, "focus-out-event", (GCallback) ___lambda79__gtk_widget_focus_out_event, block59_data_ref (_data59_), (GClosureNotify) block59_data_unref, 0);
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp82_ = self->priv->setup_grid;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp83_ = _data59_->notebook;
#line 433 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp82_, (GtkWidget*) _tmp83_, 2, 2, 1, 1);
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp84_ = self->priv->setup_grid_n_rows;
#line 434 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp84_ + 1;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp85_ = self->priv->setup_grid;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp86_ = gtk_container_get_children ((GtkContainer*) _tmp85_);
#line 3634 "unattended-installer.c"
	{
		GList* child_collection = NULL;
		GList* child_it = NULL;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		child_collection = _tmp86_;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (child_it = child_collection; child_it != NULL; child_it = child_it->next) {
#line 3642 "unattended-installer.c"
			GtkWidget* child = NULL;
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			child = (GtkWidget*) child_it->data;
#line 3646 "unattended-installer.c"
			{
				GtkWidget* _tmp87_;
				GtkSwitch* _tmp88_;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp87_ = child;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp88_ = self->priv->express_toggle;
#line 437 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp87_ != G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, GTK_TYPE_WIDGET, GtkWidget)) {
#line 3656 "unattended-installer.c"
					GtkSwitch* _tmp89_;
					GtkWidget* _tmp90_;
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp89_ = self->priv->express_toggle;
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp90_ = child;
#line 438 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_object_bind_property_with_closures ((GObject*) _tmp89_, "active", (GObject*) _tmp90_, "sensitive", G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 3665 "unattended-installer.c"
				}
			}
		}
#line 436 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (child_collection);
#line 3671 "unattended-installer.c"
	}
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp91_ = self->priv->product_key_format;
#line 440 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp91_ == NULL) {
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (button);
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (avatar);
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (label);
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		block59_data_unref (_data59_);
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data59_ = NULL;
#line 441 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 3689 "unattended-installer.c"
	}
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp92_ = _ ("Product Key");
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp93_ = (GtkLabel*) gtk_label_new (_tmp92_);
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp93_);
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 443 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	label = _tmp93_;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp94_ = label;
#line 444 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_top ((GtkWidget*) _tmp94_, 15);
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp95_ = label;
#line 445 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_right ((GtkWidget*) _tmp95_, 10);
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp96_ = label;
#line 446 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp96_, GTK_ALIGN_END);
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp97_ = label;
#line 447 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp97_, GTK_ALIGN_CENTER);
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp98_ = self->priv->setup_grid;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp99_ = label;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp100_ = self->priv->setup_grid_n_rows;
#line 448 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp98_, (GtkWidget*) _tmp99_, 0, _tmp100_, 2, 1);
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp101_ = self->priv->express_toggle;
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp102_ = label;
#line 449 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp101_, "active", (GObject*) _tmp102_, "sensitive", 0, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp103_ = boxes_unattended_installer_create_input_entry (self, "", TRUE, TRUE);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->key_entry);
#line 451 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->key_entry = _tmp103_;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp104_ = self->priv->key_entry;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp105_ = self->priv->product_key_format;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp106_ = strlen (_tmp105_);
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp107_ = _tmp106_;
#line 452 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_width_chars (_tmp104_, _tmp107_);
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp108_ = self->priv->key_entry;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp109_ = self->priv->product_key_format;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp110_ = strlen (_tmp109_);
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp111_ = _tmp110_;
#line 453 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_max_length (_tmp108_, _tmp111_);
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp112_ = self->priv->key_entry;
#line 454 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_margin_top ((GtkWidget*) _tmp112_, 15);
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp113_ = self->priv->key_entry;
#line 455 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp113_, GTK_ALIGN_FILL);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp114_ = self->priv->key_entry;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_valign ((GtkWidget*) _tmp114_, GTK_ALIGN_CENTER);
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp115_ = self->priv->key_entry;
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp116_ = gtk_widget_get_style_context ((GtkWidget*) _tmp115_);
#line 457 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_style_context_add_class (_tmp116_, "boxes-product-key-entry");
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp117_ = self->priv->setup_grid;
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp118_ = self->priv->key_entry;
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp119_ = self->priv->setup_grid_n_rows;
#line 458 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_grid_attach (_tmp117_, (GtkWidget*) _tmp118_, 2, _tmp119_, 1, 1);
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp120_ = self->priv->express_toggle;
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp121_ = self->priv->key_entry;
#line 459 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp120_, "active", (GObject*) _tmp121_, "sensitive", 0, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp122_ = self->priv->setup_grid_n_rows;
#line 460 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->setup_grid_n_rows = _tmp122_ + 1;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp123_ = self->priv->key_entry;
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp124_ = g_signal_connect_object ((GtkEditable*) _tmp123_, "insert-text", (GCallback) _boxes_unattended_installer_on_key_text_inserted_gtk_editable_insert_text, self, 0);
#line 462 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->key_inserted_id = _tmp124_;
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (button);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (avatar);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (label);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	block59_data_unref (_data59_);
#line 349 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data59_ = NULL;
#line 3809 "unattended-installer.c"
}


static gchar string_get (const gchar* self, glong index) {
	gchar result = '\0';
	glong _tmp0_;
	gchar _tmp1_;
#line 965 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, '\0');
#line 966 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = index;
#line 966 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp1_ = ((gchar*) self)[_tmp0_];
#line 966 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	result = _tmp1_;
#line 966 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	return result;
#line 3827 "unattended-installer.c"
}


static void boxes_unattended_installer_on_key_text_inserted (BoxesUnattendedInstaller* self, const gchar* text, gint text_length, gint* position) {
	gchar* _tmp0_;
	gchar* _result_;
	const gchar* _tmp41_;
	GtkEntry* _tmp53_;
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (text != NULL);
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = g_strdup ("");
#line 466 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_result_ = _tmp0_;
#line 3844 "unattended-installer.c"
	{
		guint i;
		gint _tmp1_;
		guint j;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		i = (guint) 0;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp1_ = *position;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		j = (guint) _tmp1_;
#line 3855 "unattended-installer.c"
		{
			gboolean _tmp2_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp2_ = TRUE;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			while (TRUE) {
#line 3862 "unattended-installer.c"
				gboolean _tmp3_;
				gboolean _tmp4_ = FALSE;
				guint _tmp5_;
				gint _tmp6_;
				gboolean _tmp11_;
				const gchar* _tmp12_;
				guint _tmp13_;
				gchar _tmp14_ = '\0';
				gchar character;
				const gchar* _tmp15_;
				guint _tmp16_;
				gchar _tmp17_ = '\0';
				gchar allowed_char;
				gboolean skip_input_char;
				gchar _tmp18_;
				guint _tmp33_;
				gboolean _tmp34_;
				const gchar* _tmp35_;
				gchar _tmp36_;
				gchar* _tmp37_ = NULL;
				gchar* _tmp38_;
				gchar* _tmp39_;
				guint _tmp40_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = _tmp2_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (!_tmp3_) {
#line 3890 "unattended-installer.c"
				}
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = FALSE;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = i;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = text_length;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp5_ < ((guint) _tmp6_)) {
#line 3900 "unattended-installer.c"
					guint _tmp7_;
					const gchar* _tmp8_;
					gint _tmp9_;
					gint _tmp10_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = j;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp8_ = self->priv->product_key_format;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = strlen (_tmp8_);
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp10_ = _tmp9_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp4_ = _tmp7_ < ((guint) _tmp10_);
#line 3915 "unattended-installer.c"
				} else {
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp4_ = FALSE;
#line 3919 "unattended-installer.c"
				}
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp11_ = _tmp4_;
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (!_tmp11_) {
#line 468 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					break;
#line 3927 "unattended-installer.c"
				}
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp12_ = text;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp13_ = i;
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp14_ = string_get (_tmp12_, (glong) _tmp13_);
#line 469 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				character = _tmp14_;
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp15_ = self->priv->product_key_format;
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp16_ = j;
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp17_ = string_get (_tmp15_, (glong) _tmp16_);
#line 470 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				allowed_char = _tmp17_;
#line 472 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				skip_input_char = FALSE;
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp18_ = allowed_char;
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				switch (_tmp18_) {
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '@':
#line 3953 "unattended-installer.c"
					{
#line 475 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3957 "unattended-installer.c"
					}
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '%':
#line 3961 "unattended-installer.c"
					{
						gchar _tmp19_;
						gboolean _tmp20_ = FALSE;
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp19_ = character;
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp20_ = g_ascii_isalpha (_tmp19_);
#line 478 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (!_tmp20_) {
#line 479 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							skip_input_char = TRUE;
#line 3973 "unattended-installer.c"
						}
#line 480 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3977 "unattended-installer.c"
					}
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '#':
#line 3981 "unattended-installer.c"
					{
						gchar _tmp21_;
						gboolean _tmp22_ = FALSE;
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp21_ = character;
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp22_ = g_ascii_isdigit (_tmp21_);
#line 483 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (!_tmp22_) {
#line 484 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							skip_input_char = TRUE;
#line 3993 "unattended-installer.c"
						}
#line 485 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 3997 "unattended-installer.c"
					}
#line 473 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					case '$':
#line 4001 "unattended-installer.c"
					{
						gchar _tmp23_;
						gboolean _tmp24_ = FALSE;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp23_ = character;
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp24_ = g_ascii_isalnum (_tmp23_);
#line 488 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (!_tmp24_) {
#line 489 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							skip_input_char = TRUE;
#line 4013 "unattended-installer.c"
						}
#line 490 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 4017 "unattended-installer.c"
					}
					default:
					{
						gchar _tmp25_;
						gchar _tmp26_;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp25_ = character;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp26_ = allowed_char;
#line 493 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						if (_tmp25_ != _tmp26_) {
#line 4029 "unattended-installer.c"
							const gchar* _tmp27_;
							gchar _tmp28_;
							gchar* _tmp29_ = NULL;
							gchar* _tmp30_;
							gchar* _tmp31_;
							guint _tmp32_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp27_ = _result_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp28_ = allowed_char;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp29_ = g_strdup_printf ("%c", _tmp28_);
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp30_ = _tmp29_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp31_ = g_strconcat (_tmp27_, _tmp30_, NULL);
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_g_free0 (_result_);
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_result_ = _tmp31_;
#line 494 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_g_free0 (_tmp30_);
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							_tmp32_ = j;
#line 495 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							j = _tmp32_ + 1;
#line 497 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
							continue;
#line 4058 "unattended-installer.c"
						}
#line 500 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 4062 "unattended-installer.c"
					}
				}
#line 503 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp33_ = i;
#line 503 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				i = _tmp33_ + 1;
#line 504 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp34_ = skip_input_char;
#line 504 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp34_) {
#line 505 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					continue;
#line 4075 "unattended-installer.c"
				}
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp35_ = _result_;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp36_ = character;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp37_ = g_strdup_printf ("%c", _tmp36_);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp38_ = _tmp37_;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp39_ = g_strconcat (_tmp35_, _tmp38_, NULL);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_result_);
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_result_ = _tmp39_;
#line 507 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_tmp38_);
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp40_ = j;
#line 508 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				j = _tmp40_ + 1;
#line 4097 "unattended-installer.c"
			}
		}
	}
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp41_ = _result_;
#line 511 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp41_, "") != 0) {
#line 4105 "unattended-installer.c"
		GtkEntry* _tmp42_;
		gulong _tmp43_;
		GtkEntry* _tmp44_;
		const gchar* _tmp45_;
		gchar* _tmp46_ = NULL;
		gchar* _tmp47_;
		const gchar* _tmp48_;
		gint _tmp49_;
		gint _tmp50_;
		GtkEntry* _tmp51_;
		gulong _tmp52_;
#line 512 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp42_ = self->priv->key_entry;
#line 512 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp43_ = self->priv->key_inserted_id;
#line 512 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_signal_handler_block (_tmp42_, _tmp43_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp44_ = self->priv->key_entry;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp45_ = _result_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp46_ = g_utf8_strup (_tmp45_, (gssize) (-1));
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp47_ = _tmp46_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp48_ = _result_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp49_ = strlen (_tmp48_);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp50_ = _tmp49_;
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gtk_editable_insert_text ((GtkEditable*) _tmp44_, _tmp47_, _tmp50_, position);
#line 513 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp47_);
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp51_ = self->priv->key_entry;
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp52_ = self->priv->key_inserted_id;
#line 514 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_signal_handler_unblock (_tmp51_, _tmp52_);
#line 4147 "unattended-installer.c"
	}
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp53_ = self->priv->key_entry;
#line 517 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_signal_stop_emission_by_name (_tmp53_, "insert-text");
#line 465 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_result_);
#line 4155 "unattended-installer.c"
}


static GVirConfigDomainDisk* boxes_unattended_installer_get_unattended_disk_config (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format) {
	GVirConfigDomainDisk* result = NULL;
	GVirConfigDomainDisk* _tmp0_;
	GVirConfigDomainDisk* disk;
	GVirConfigDomainDisk* _tmp1_;
	GVirConfigDomainDisk* _tmp2_;
	GVirConfigDomainDisk* _tmp3_;
	GVirConfigDomainDisk* _tmp4_;
	GFile* _tmp5_;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_;
	OsinfoOs* _tmp8_;
	const gchar* _tmp9_;
	const gchar* _tmp10_;
#line 520 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = gvir_config_domain_disk_new ();
#line 521 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp0_;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = disk;
#line 522 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_type (_tmp1_, GVIR_CONFIG_DOMAIN_DISK_FILE);
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = disk;
#line 523 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_name (_tmp2_, "qemu");
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = disk;
#line 524 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_type (_tmp3_, "raw");
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = disk;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->disk_file;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = g_file_get_path (_tmp5_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_;
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_source (_tmp4_, _tmp7_);
#line 525 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp7_);
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = ((BoxesInstallerMedia*) self)->os;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = osinfo_os_get_distro (_tmp8_);
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = _tmp9_;
#line 528 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp10_, "win") == 0) {
#line 4211 "unattended-installer.c"
		const gchar* _tmp11_ = NULL;
		OsinfoPathFormat _tmp12_;
		GVirConfigDomainDisk* _tmp13_;
		const gchar* _tmp14_;
		GVirConfigDomainDisk* _tmp15_;
		GVirConfigDomainDisk* _tmp16_;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp12_ = path_format;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp12_ == OSINFO_PATH_FORMAT_DOS) {
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp11_ = "A";
#line 4224 "unattended-installer.c"
		} else {
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp11_ = "fd";
#line 4228 "unattended-installer.c"
		}
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp13_ = disk;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp14_ = _tmp11_;
#line 529 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_disk_set_target_dev (_tmp13_, _tmp14_);
#line 530 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp15_ = disk;
#line 530 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_disk_set_guest_device_type (_tmp15_, GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_FLOPPY);
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp16_ = disk;
#line 531 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_disk_set_target_bus (_tmp16_, GVIR_CONFIG_DOMAIN_DISK_BUS_FDC);
#line 4244 "unattended-installer.c"
	} else {
		gboolean _tmp17_;
		gboolean _tmp18_;
		GVirConfigDomainDisk* _tmp27_;
		GVirConfigDomainDisk* _tmp28_;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp17_ = boxes_installer_media_get_supports_virtio_disk ((BoxesInstallerMedia*) self);
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp18_ = _tmp17_;
#line 534 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp18_) {
#line 4256 "unattended-installer.c"
			const gchar* _tmp19_ = NULL;
			OsinfoPathFormat _tmp20_;
			GVirConfigDomainDisk* _tmp21_;
			const gchar* _tmp22_;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp20_ = path_format;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_tmp20_ == OSINFO_PATH_FORMAT_UNIX) {
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp19_ = "sda";
#line 4267 "unattended-installer.c"
			} else {
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp19_ = "E";
#line 4271 "unattended-installer.c"
			}
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp21_ = disk;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp22_ = _tmp19_;
#line 535 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			gvir_config_domain_disk_set_target_dev (_tmp21_, _tmp22_);
#line 4279 "unattended-installer.c"
		} else {
			const gchar* _tmp23_ = NULL;
			OsinfoPathFormat _tmp24_;
			GVirConfigDomainDisk* _tmp25_;
			const gchar* _tmp26_;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp24_ = path_format;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_tmp24_ == OSINFO_PATH_FORMAT_UNIX) {
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp23_ = "sdb";
#line 4291 "unattended-installer.c"
			} else {
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp23_ = "E";
#line 4295 "unattended-installer.c"
			}
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp25_ = disk;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp26_ = _tmp23_;
#line 537 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			gvir_config_domain_disk_set_target_dev (_tmp25_, _tmp26_);
#line 4303 "unattended-installer.c"
		}
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp27_ = disk;
#line 538 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_disk_set_guest_device_type (_tmp27_, GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_DISK);
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp28_ = disk;
#line 539 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		gvir_config_domain_disk_set_target_bus (_tmp28_, GVIR_CONFIG_DOMAIN_DISK_BUS_USB);
#line 4313 "unattended-installer.c"
	}
#line 542 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = disk;
#line 542 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4319 "unattended-installer.c"
}


static GVirConfigDomainDisk* boxes_unattended_installer_get_secondary_unattended_disk_config (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format) {
	GVirConfigDomainDisk* result = NULL;
	GVirConfigDomainDisk* _tmp0_;
	GVirConfigDomainDisk* disk;
	GVirConfigDomainDisk* _tmp1_;
	GVirConfigDomainDisk* _tmp2_;
	GVirConfigDomainDisk* _tmp3_;
	GVirConfigDomainDisk* _tmp4_;
	GFile* _tmp5_;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_;
	const gchar* _tmp8_ = NULL;
	OsinfoPathFormat _tmp9_;
	GVirConfigDomainDisk* _tmp10_;
	const gchar* _tmp11_;
	GVirConfigDomainDisk* _tmp12_;
	GVirConfigDomainDisk* _tmp13_;
#line 545 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = gvir_config_domain_disk_new ();
#line 546 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	disk = _tmp0_;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = disk;
#line 547 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_type (_tmp1_, GVIR_CONFIG_DOMAIN_DISK_FILE);
#line 548 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = disk;
#line 548 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_name (_tmp2_, "qemu");
#line 549 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = disk;
#line 549 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_driver_type (_tmp3_, "raw");
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = disk;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = self->secondary_disk_file;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = g_file_get_path (_tmp5_);
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp6_;
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_source (_tmp4_, _tmp7_);
#line 550 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_tmp7_);
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = path_format;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp9_ == OSINFO_PATH_FORMAT_DOS) {
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = "E";
#line 4376 "unattended-installer.c"
	} else {
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = "hdd";
#line 4380 "unattended-installer.c"
	}
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = disk;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = _tmp8_;
#line 551 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_target_dev (_tmp10_, _tmp11_);
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = disk;
#line 552 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_guest_device_type (_tmp12_, GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_CDROM);
#line 553 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = disk;
#line 553 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_disk_set_target_bus (_tmp13_, GVIR_CONFIG_DOMAIN_DISK_BUS_IDE);
#line 555 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = disk;
#line 555 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4400 "unattended-installer.c"
}


static gchar* boxes_unattended_installer_device_name_to_path (BoxesUnattendedInstaller* self, OsinfoPathFormat path_format, const gchar* name) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	OsinfoPathFormat _tmp1_;
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 558 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = path_format;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp1_ == OSINFO_PATH_FORMAT_UNIX) {
#line 4416 "unattended-installer.c"
		const gchar* _tmp2_;
		gchar* _tmp3_;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp2_ = name;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = g_strconcat ("/dev/", _tmp2_, NULL);
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp0_);
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp3_;
#line 4427 "unattended-installer.c"
	} else {
		const gchar* _tmp4_;
		gchar* _tmp5_;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = name;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strdup (_tmp4_);
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_tmp0_);
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp5_;
#line 4439 "unattended-installer.c"
	}
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 559 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4445 "unattended-installer.c"
}


static void boxes_unattended_installer_add_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file) {
	BoxesUnattendedFile* _tmp0_;
	BoxesUnattendedFile* _tmp1_;
#line 562 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 562 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (file != NULL);
#line 563 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = file;
#line 563 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 563 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->unattended_files = g_list_append (self->priv->unattended_files, _tmp1_);
#line 4462 "unattended-installer.c"
}


static void boxes_unattended_installer_add_secondary_unattended_file (BoxesUnattendedInstaller* self, BoxesUnattendedFile* file) {
	BoxesUnattendedFile* _tmp0_;
	BoxesUnattendedFile* _tmp1_;
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 566 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (file != NULL);
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = file;
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 567 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->secondary_unattended_files = g_list_append (self->priv->secondary_unattended_files, _tmp1_);
#line 4479 "unattended-installer.c"
}


static void ___lambda77_ (BoxesUnattendedInstaller* self) {
#line 578 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_notify ((GObject*) self, "ready-to-create");
#line 4486 "unattended-installer.c"
}


static void ____lambda77__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	___lambda77_ (self);
#line 4493 "unattended-installer.c"
}


static GtkEntry* boxes_unattended_installer_create_input_entry (BoxesUnattendedInstaller* self, const gchar* text, gboolean mandatory, gboolean visibility) {
	GtkEntry* result = NULL;
	GtkEntry* _tmp0_;
	GtkEntry* entry;
	GtkEntry* _tmp1_;
	gboolean _tmp2_;
	GtkEntry* _tmp3_;
	GtkEntry* _tmp4_;
	const gchar* _tmp5_;
	gboolean _tmp6_;
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 570 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (text != NULL, NULL);
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = (GtkEntry*) gtk_entry_new ();
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_ref_sink (_tmp0_);
#line 571 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	entry = _tmp0_;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = entry;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = visibility;
#line 572 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_visibility (_tmp1_, _tmp2_);
#line 573 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = entry;
#line 573 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_widget_set_visible ((GtkWidget*) _tmp3_, TRUE);
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = entry;
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = text;
#line 574 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gtk_entry_set_text (_tmp4_, _tmp5_);
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = mandatory;
#line 576 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp6_) {
#line 4537 "unattended-installer.c"
		GtkEntry* _tmp7_;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp7_ = entry;
#line 577 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_signal_connect_object ((GObject*) _tmp7_, "notify::text", (GCallback) ____lambda77__g_object_notify, self, 0);
#line 4543 "unattended-installer.c"
	}
#line 581 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = entry;
#line 581 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 4549 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_data_free (gpointer _data) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerCreateDiskImageData, _data_);
#line 4562 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image (BoxesUnattendedInstaller* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerCreateDiskImageData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_create_disk_image);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_create_disk_image_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_create_disk_image_co (_data_);
#line 4591 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 4601 "unattended-installer.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 4605 "unattended-installer.c"
}


static void boxes_unattended_installer_create_disk_image_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerCreateDiskImageData* _data_;
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_create_disk_image_co (_data_);
#line 4619 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_create_disk_image_co (BoxesUnattendedInstallerCreateDiskImageData* _data_) {
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4628 "unattended-installer.c"
		goto _state_0;
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4632 "unattended-installer.c"
		goto _state_1;
		default:
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4637 "unattended-installer.c"
	}
	_state_0:
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = NULL;
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_get_unattended ("disk.img");
#line 585 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_path = _data_->_tmp0_;
#line 586 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 586 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_file_new_for_path (_data_->template_path);
#line 586 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->template_file = _data_->_tmp1_;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->self->disk_file;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = NULL;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = g_file_get_path (_data_->_tmp2_);
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:588: Creating disk image for unattended inst" \
"allation at '%s'..", _data_->_tmp4_);
#line 588 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp4_);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = _data_->self->disk_file;
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->cancellable;
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_copy_async (_data_->template_file, _data_->_tmp5_, G_FILE_COPY_OVERWRITE, G_PRIORITY_DEFAULT, _data_->_tmp6_, NULL, NULL, boxes_unattended_installer_create_disk_image_ready, _data_);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4674 "unattended-installer.c"
	_state_1:
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_file_copy_finish (_data_->template_file, _data_->_res_, &_data_->_inner_error_);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->template_file);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->template_path);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4692 "unattended-installer.c"
		} else {
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4696 "unattended-installer.c"
		}
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 589 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4702 "unattended-installer.c"
	}
#line 590 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = _data_->self->disk_file;
#line 590 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = NULL;
#line 590 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = g_file_get_path (_data_->_tmp7_);
#line 590 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 590 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:590: Floppy image for unattended installatio" \
"n created at '%s'", _data_->_tmp9_);
#line 590 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp9_);
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->template_file);
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->template_path);
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4724 "unattended-installer.c"
	} else {
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4728 "unattended-installer.c"
	}
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 584 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 4734 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_data_free (gpointer _data) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->avatar);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerFetchUserAvatarData, _data_);
#line 4747 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar (BoxesUnattendedInstaller* self, GtkImage* avatar, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GtkImage* _tmp1_;
	GtkImage* _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerFetchUserAvatarData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_fetch_user_avatar);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_fetch_user_avatar_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = avatar;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->avatar);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->avatar = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar_co (_data_);
#line 4776 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 4784 "unattended-installer.c"
}


static void boxes_unattended_installer_fetch_user_avatar_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerFetchUserAvatarData* _data_;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_fetch_user_avatar_co (_data_);
#line 4798 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_fetch_user_avatar_co (BoxesUnattendedInstallerFetchUserAvatarData* _data_) {
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 4807 "unattended-installer.c"
		goto _state_0;
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 4811 "unattended-installer.c"
		goto _state_1;
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 4815 "unattended-installer.c"
		goto _state_2;
		default:
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 4820 "unattended-installer.c"
	}
	_state_0:
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_unattended_installer_accounts;
#line 594 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp0_ == NULL) {
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4831 "unattended-installer.c"
		} else {
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4835 "unattended-installer.c"
		}
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 595 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4841 "unattended-installer.c"
	}
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_get_user_name ();
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = g_strdup (_data_->_tmp1_);
#line 597 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->username = _data_->_tmp2_;
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->username;
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = g_strconcat ("/var/lib/AccountsService/icons/", _data_->_tmp3_, NULL);
#line 598 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->avatar_path = _data_->_tmp4_;
#line 4857 "unattended-installer.c"
	{
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = boxes_unattended_installer_accounts;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = NULL;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp6_ = g_get_user_name ();
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_fdo_accounts_FindUserByName (_data_->_tmp5_, _data_->_tmp6_, boxes_unattended_installer_fetch_user_avatar_ready, _data_);
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4871 "unattended-installer.c"
		_state_1:
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = NULL;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp7_ = boxes_fdo_accounts_FindUserByName_finish (_data_->_tmp5_, _data_->_res_, &_data_->_inner_error_);
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->path = _data_->_tmp7_;
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 4883 "unattended-installer.c"
				goto __catch73_g_io_error;
			}
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 601 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 4896 "unattended-installer.c"
		}
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp8_ = _data_->path;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 2;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_async_initable_new_async (BOXES_FDO_TYPE_ACCOUNTS_USER_PROXY, 0, NULL, boxes_unattended_installer_fetch_user_avatar_ready, _data_, "g-flags", 0, "g-name", "org.freedesktop.Accounts", "g-bus-type", G_BUS_TYPE_SYSTEM, "g-object-path", _data_->_tmp8_, "g-interface-name", "org.freedesktop.Accounts.User", NULL);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4906 "unattended-installer.c"
		_state_2:
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = NULL;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = g_async_initable_new_finish (_data_->_source_object_, _data_->_res_, &_data_->_inner_error_);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->user = (BoxesFdoAccountsUser*) _data_->_tmp9_;
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 4920 "unattended-installer.c"
				goto __catch73_g_io_error;
			}
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->path);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->avatar_path);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_free0 (_data_->username);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_data_->_inner_error_);
#line 602 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return FALSE;
#line 4935 "unattended-installer.c"
		}
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp10_ = _data_->user;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = boxes_fdo_accounts_user_get_IconFile (_data_->_tmp10_);
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = _data_->_tmp11_;
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 603 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->avatar_path = _data_->_tmp12_;
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->user);
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->path);
#line 4951 "unattended-installer.c"
	}
	goto __finally73;
	__catch73_g_io_error:
	{
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = _data_->username;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->_error_;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->_tmp14_->message;
#line 605 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_warning ("unattended-installer.vala:605: Failed to retrieve information about us" \
"er '%s': %s", _data_->_tmp13_, _data_->_tmp15_);
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_error_);
#line 4970 "unattended-installer.c"
	}
	__finally73:
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->username);
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 600 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 4985 "unattended-installer.c"
	}
	{
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp16_ = _data_->avatar_path;
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp17_ = gdk_pixbuf_new_from_file_at_scale (_data_->_tmp16_, 64, 64, TRUE, &_data_->_inner_error_);
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->pixbuf = _data_->_tmp17_;
#line 609 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 4996 "unattended-installer.c"
			goto __catch74_g_error;
		}
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp18_ = _data_->avatar;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp19_ = _data_->pixbuf;
#line 610 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_set (_data_->_tmp18_, "pixbuf", _data_->_tmp19_, NULL);
#line 612 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->avatar_format = NULL;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = _data_->self->scripts;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = NULL;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp21_ = osinfo_list_get_elements ((OsinfoList*) _data_->_tmp20_);
#line 5013 "unattended-installer.c"
		{
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->s_collection = _data_->_tmp21_;
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			for (_data_->s_it = _data_->s_collection; _data_->s_it != NULL; _data_->s_it = _data_->s_it->next) {
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->s = (OsinfoEntity*) _data_->s_it->data;
#line 5021 "unattended-installer.c"
				{
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp22_ = _data_->s;
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp23_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_data_->_tmp22_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _data_->_tmp22_) : NULL);
#line 614 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->script = _data_->_tmp23_;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp24_ = _data_->script;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp25_ = osinfo_install_script_get_avatar_format (_data_->_tmp24_);
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp26_ = _data_->_tmp25_;
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp27_ = _g_object_ref0 (_data_->_tmp26_);
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->avatar_format);
#line 615 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->avatar_format = _data_->_tmp27_;
#line 616 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp28_ = _data_->avatar_format;
#line 616 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_tmp28_ != NULL) {
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (_data_->script);
#line 617 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 5049 "unattended-installer.c"
					}
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->script);
#line 5053 "unattended-installer.c"
				}
			}
#line 613 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_list_free0 (_data_->s_collection);
#line 5058 "unattended-installer.c"
		}
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _data_->avatar_path;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = _data_->avatar_format;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = boxes_unattended_avatar_file_new (_data_->self, _data_->_tmp29_, _data_->_tmp30_, &_data_->_inner_error_);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp32_ = _data_->_tmp31_;
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_inner_error_ != NULL) {
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->avatar_format);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 5074 "unattended-installer.c"
			goto __catch74_g_error;
		}
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->self->priv->avatar_file);
#line 620 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->self->priv->avatar_file = _data_->_tmp32_;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp33_ = _data_->self->priv->avatar_file;
#line 621 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_add_unattended_file (_data_->self, (BoxesUnattendedFile*) _data_->_tmp33_);
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->avatar_format);
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 5089 "unattended-installer.c"
	}
	goto __finally74;
	__catch74_g_error:
	{
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_inner_error_ = NULL;
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp34_ = _data_->avatar_path;
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp35_ = _data_->_vala1__error_;
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp36_ = _data_->_tmp35_->message;
#line 623 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:623: Failed to load user avatar file '%s': %" \
"s", _data_->_tmp34_, _data_->_tmp36_);
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 5108 "unattended-installer.c"
	}
	__finally74:
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->avatar_path);
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->username);
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_clear_error (&_data_->_inner_error_);
#line 608 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5123 "unattended-installer.c"
	}
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->avatar_path);
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->username);
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5133 "unattended-installer.c"
	} else {
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5137 "unattended-installer.c"
	}
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 593 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5143 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files_data_free (gpointer _data) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->extractor);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerExtractBootFilesData, _data_);
#line 5158 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files (BoxesUnattendedInstaller* self, BoxesISOExtractor* extractor, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesISOExtractor* _tmp1_;
	BoxesISOExtractor* _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerExtractBootFilesData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_extract_boot_files);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_extract_boot_files_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = extractor;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->extractor);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->extractor = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_extract_boot_files_co (_data_);
#line 5197 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 5207 "unattended-installer.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 5211 "unattended-installer.c"
}


static void boxes_unattended_installer_extract_boot_files_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerExtractBootFilesData* _data_;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_extract_boot_files_co (_data_);
#line 5225 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_extract_boot_files_co (BoxesUnattendedInstallerExtractBootFilesData* _data_) {
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5234 "unattended-installer.c"
		goto _state_0;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 5238 "unattended-installer.c"
		goto _state_1;
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 5242 "unattended-installer.c"
		goto _state_2;
		default:
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5247 "unattended-installer.c"
	}
	_state_0:
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->extractor;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_data_->_tmp1_, "kernel-path", &_data_->_tmp2_, NULL);
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = NULL;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = boxes_iso_extractor_get_absolute_path (_data_->_tmp0_, _data_->_tmp4_, &_data_->_inner_error_);
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp4_);
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_path = _data_->_tmp6_;
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5282 "unattended-installer.c"
		} else {
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5286 "unattended-installer.c"
		}
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 628 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5292 "unattended-installer.c"
	}
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = _data_->src_path;
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = NULL;
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = g_file_new_for_path (_data_->_tmp7_);
#line 629 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_file = _data_->_tmp8_;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = _data_->src_file;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = _data_->self->kernel_file;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp11_ = _data_->cancellable;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 1;
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_copy_file (_data_->_tmp9_, _data_->_tmp10_, _data_->_tmp11_, boxes_unattended_installer_extract_boot_files_ready, _data_);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5314 "unattended-installer.c"
	_state_1:
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_copy_file_finish (_data_->_res_, &_data_->_inner_error_);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->src_file);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->src_path);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5332 "unattended-installer.c"
		} else {
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5336 "unattended-installer.c"
		}
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 630 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5342 "unattended-installer.c"
	}
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp12_ = _data_->extractor;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp13_ = ((BoxesInstallerMedia*) _data_->self)->os_media;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp14_ = NULL;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_get (_data_->_tmp13_, "initrd-path", &_data_->_tmp14_, NULL);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp15_ = _data_->_tmp14_;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp16_ = _data_->_tmp15_;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = NULL;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = boxes_iso_extractor_get_absolute_path (_data_->_tmp12_, _data_->_tmp16_, &_data_->_inner_error_);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = _data_->_tmp17_;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->_tmp16_);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = _data_->_tmp18_;
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->src_file);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->src_path);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5380 "unattended-installer.c"
		} else {
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5384 "unattended-installer.c"
		}
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5390 "unattended-installer.c"
	}
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->src_path);
#line 632 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_path = _data_->_tmp19_;
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp20_ = _data_->src_path;
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = NULL;
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = g_file_new_for_path (_data_->_tmp20_);
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->src_file);
#line 633 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->src_file = _data_->_tmp21_;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = _data_->src_file;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp23_ = _data_->self->initrd_file;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp24_ = _data_->cancellable;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_state_ = 2;
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_copy_file (_data_->_tmp22_, _data_->_tmp23_, _data_->_tmp24_, boxes_unattended_installer_extract_boot_files_ready, _data_);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5418 "unattended-installer.c"
	_state_2:
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_copy_file_finish (_data_->_res_, &_data_->_inner_error_);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_inner_error_ != NULL) {
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_error_free (_data_->_inner_error_);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->src_file);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_free0 (_data_->src_path);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_data_->_state_ == 0) {
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5436 "unattended-installer.c"
		} else {
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 5440 "unattended-installer.c"
		}
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_object_unref (_data_->_async_result);
#line 634 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5446 "unattended-installer.c"
	}
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->src_file);
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->src_path);
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5456 "unattended-installer.c"
	} else {
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5460 "unattended-installer.c"
	}
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 627 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5466 "unattended-installer.c"
}


static gchar* boxes_unattended_installer_get_product_key_format (BoxesUnattendedInstaller* self) {
	gchar* result = NULL;
	OsinfoInstallScriptList* _tmp0_;
	GList* _tmp1_ = NULL;
#line 637 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->scripts;
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_list_get_elements ((OsinfoList*) _tmp0_);
#line 5480 "unattended-installer.c"
	{
		GList* s_collection = NULL;
		GList* s_it = NULL;
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		s_collection = _tmp1_;
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (s_it = s_collection; s_it != NULL; s_it = s_it->next) {
#line 5488 "unattended-installer.c"
			OsinfoEntity* s = NULL;
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			s = (OsinfoEntity*) s_it->data;
#line 5492 "unattended-installer.c"
			{
				OsinfoEntity* _tmp2_;
				OsinfoInstallScript* _tmp3_;
				OsinfoInstallScript* script;
				OsinfoInstallScript* _tmp4_;
				OsinfoInstallConfigParam* _tmp5_ = NULL;
				OsinfoInstallConfigParam* param;
				gboolean _tmp6_ = FALSE;
				OsinfoInstallConfigParam* _tmp7_;
				gboolean _tmp10_;
				OsinfoInstallScript* _tmp11_;
				const gchar* _tmp12_ = NULL;
				gchar* _tmp13_;
				gchar* format;
				const gchar* _tmp14_;
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = s;
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _tmp2_) : NULL);
#line 640 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				script = _tmp3_;
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp4_ = script;
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = osinfo_install_script_get_config_param (_tmp4_, OSINFO_INSTALL_CONFIG_PROP_REG_PRODUCTKEY);
#line 642 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				param = _tmp5_;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp7_ = param;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp7_ == NULL) {
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = TRUE;
#line 5526 "unattended-installer.c"
				} else {
					OsinfoInstallConfigParam* _tmp8_;
					gboolean _tmp9_ = FALSE;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp8_ = param;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = osinfo_install_config_param_is_optional (_tmp8_);
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = _tmp9_;
#line 5536 "unattended-installer.c"
				}
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp10_ = _tmp6_;
#line 643 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp10_) {
#line 644 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (param);
#line 644 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (script);
#line 644 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					continue;
#line 5548 "unattended-installer.c"
				}
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp11_ = script;
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp12_ = osinfo_install_script_get_product_key_format (_tmp11_);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp13_ = g_strdup (_tmp12_);
#line 646 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				format = _tmp13_;
#line 647 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp14_ = format;
#line 647 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp14_ != NULL) {
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					result = format;
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (param);
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (script);
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_list_free0 (s_collection);
#line 648 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return result;
#line 5572 "unattended-installer.c"
				}
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (format);
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (param);
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (script);
#line 5580 "unattended-installer.c"
			}
		}
#line 639 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (s_collection);
#line 5585 "unattended-installer.c"
	}
#line 651 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = NULL;
#line 651 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 5591 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers_data_free (gpointer _data) {
	BoxesUnattendedInstallerSetupDriversData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerSetupDriversData, _data_);
#line 5606 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers (BoxesUnattendedInstaller* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupDriversData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	BoxesActivityProgress* _tmp1_;
	BoxesActivityProgress* _tmp2_;
	GCancellable* _tmp3_;
	GCancellable* _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerSetupDriversData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_setup_drivers);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_setup_drivers_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = progress;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->progress = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_drivers_co (_data_);
#line 5645 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_) {
	BoxesUnattendedInstallerSetupDriversData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 5653 "unattended-installer.c"
}


static void _boxes_unattended_installer_add_unattended_file_boxes_unattended_installer_add_unattended_file_func (BoxesUnattendedFile* file, gpointer self) {
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_add_unattended_file (self, file);
#line 5660 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupDriversData* _data_;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_drivers_co (_data_);
#line 5674 "unattended-installer.c"
}


static void _boxes_unattended_installer_add_secondary_unattended_file_boxes_unattended_installer_add_unattended_file_func (BoxesUnattendedFile* file, gpointer self) {
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_add_secondary_unattended_file (self, file);
#line 5681 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_setup_drivers_co (BoxesUnattendedInstallerSetupDriversData* _data_) {
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5690 "unattended-installer.c"
		goto _state_0;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 5694 "unattended-installer.c"
		goto _state_1;
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 2:
#line 5698 "unattended-installer.c"
		goto _state_2;
		default:
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5703 "unattended-installer.c"
	}
	_state_0:
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->progress;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = NULL;
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _ ("Downloading device drivers...");
#line 657 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_activity_progress_set_info (_data_->_tmp0_, _data_->_tmp1_);
#line 659 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 659 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = boxes_unattended_installer_get_pre_installer_scripts (_data_->self);
#line 659 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->scripts = _data_->_tmp2_;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = _data_->scripts;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = NULL;
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = boxes_unattended_installer_get_pre_installable_drivers (_data_->self, _data_->_tmp3_);
#line 660 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->drivers = _data_->_tmp4_;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->drivers;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = 0U;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = g_list_length (_data_->_tmp6_);
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp7_ != ((guint) 0)) {
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp8_ = _data_->scripts;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = 0U;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp9_ = g_list_length (_data_->_tmp8_);
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = _data_->_tmp9_ != ((guint) 0);
#line 5744 "unattended-installer.c"
	} else {
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp5_ = FALSE;
#line 5748 "unattended-installer.c"
	}
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = _data_->_tmp5_;
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp10_) {
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp11_ = _data_->progress;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = NULL;
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp12_ = boxes_activity_progress_add_child_activity (_data_->_tmp11_, 0.5);
#line 663 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->drivers_progress = _data_->_tmp12_;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp13_ = _data_->drivers;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp14_ = _data_->drivers_progress;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp15_ = _data_->cancellable;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 1;
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_setup_drivers_from_list (_data_->self, _data_->_tmp13_, _data_->_tmp14_, _boxes_unattended_installer_add_unattended_file_boxes_unattended_installer_add_unattended_file_func, _data_->self, _data_->_tmp15_, boxes_unattended_installer_setup_drivers_ready, _data_);
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5774 "unattended-installer.c"
		_state_1:
#line 664 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_setup_drivers_from_list_finish (_data_->self, _data_->_res_);
#line 662 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->drivers_progress);
#line 5780 "unattended-installer.c"
	} else {
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp16_ = _data_->progress;
#line 666 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_activity_progress_set_progress (_data_->_tmp16_, 0.5);
#line 5786 "unattended-installer.c"
	}
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = NULL;
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp17_ = boxes_unattended_installer_get_post_installer_scripts (_data_->self);
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (_data_->scripts);
#line 668 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->scripts = _data_->_tmp17_;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp18_ = _data_->scripts;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = NULL;
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp19_ = boxes_unattended_installer_get_post_installable_drivers (_data_->self, _data_->_tmp18_);
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (_data_->drivers);
#line 669 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->drivers = _data_->_tmp19_;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp21_ = _data_->drivers;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = 0U;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp22_ = g_list_length (_data_->_tmp21_);
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp22_ != ((guint) 0)) {
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp23_ = _data_->scripts;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = 0U;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp24_ = g_list_length (_data_->_tmp23_);
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = _data_->_tmp24_ != ((guint) 0);
#line 5822 "unattended-installer.c"
	} else {
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp20_ = FALSE;
#line 5826 "unattended-installer.c"
	}
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp25_ = _data_->_tmp20_;
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_tmp25_) {
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp26_ = _data_->progress;
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp27_ = NULL;
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp27_ = boxes_activity_progress_add_child_activity (_data_->_tmp26_, 0.5);
#line 672 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_vala1_drivers_progress = _data_->_tmp27_;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp28_ = _data_->drivers;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp29_ = _data_->_vala1_drivers_progress;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp30_ = _data_->cancellable;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_state_ = 2;
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_setup_drivers_from_list (_data_->self, _data_->_tmp28_, _data_->_tmp29_, _boxes_unattended_installer_add_secondary_unattended_file_boxes_unattended_installer_add_unattended_file_func, _data_->self, _data_->_tmp30_, boxes_unattended_installer_setup_drivers_ready, _data_);
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return FALSE;
#line 5852 "unattended-installer.c"
		_state_2:
#line 673 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_unattended_installer_setup_drivers_from_list_finish (_data_->self, _data_->_res_);
#line 671 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (_data_->_vala1_drivers_progress);
#line 5858 "unattended-installer.c"
	} else {
#line 675 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->_tmp31_ = _data_->progress;
#line 675 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		boxes_activity_progress_set_progress (_data_->_tmp31_, 1.0);
#line 5864 "unattended-installer.c"
	}
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (_data_->drivers);
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (_data_->scripts);
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5874 "unattended-installer.c"
	} else {
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5878 "unattended-installer.c"
	}
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 656 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 5884 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers_from_list_data_free (gpointer _data) {
	BoxesUnattendedInstallerSetupDriversFromListData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerSetupDriversFromListData, _data_);
#line 5899 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers_from_list (BoxesUnattendedInstaller* self, GList* drivers, BoxesActivityProgress* progress, BoxesUnattendedInstallerAddUnattendedFileFunc add_func, void* add_func_target, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupDriversFromListData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	GList* _tmp1_;
	BoxesActivityProgress* _tmp2_;
	BoxesActivityProgress* _tmp3_;
	BoxesUnattendedInstallerAddUnattendedFileFunc _tmp4_;
	void* _tmp4__target;
	GCancellable* _tmp5_;
	GCancellable* _tmp6_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerSetupDriversFromListData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_setup_drivers_from_list);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_setup_drivers_from_list_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = drivers;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->drivers = _tmp1_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = progress;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->progress = _tmp3_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = add_func;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4__target = add_func_target;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->add_func = _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->add_func_target = _tmp4__target;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp6_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_drivers_from_list_co (_data_);
#line 5953 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers_from_list_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_) {
	BoxesUnattendedInstallerSetupDriversFromListData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 5961 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_drivers_from_list_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupDriversFromListData* _data_;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_drivers_from_list_co (_data_);
#line 5975 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_setup_drivers_from_list_co (BoxesUnattendedInstallerSetupDriversFromListData* _data_) {
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 5984 "unattended-installer.c"
		goto _state_0;
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 5988 "unattended-installer.c"
		goto _state_1;
		default:
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 5993 "unattended-installer.c"
	}
	_state_0:
#line 682 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = _data_->drivers;
#line 682 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = 0U;
#line 682 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = g_list_length (_data_->_tmp0_);
#line 682 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->driver_progress_scale = 1. / _data_->_tmp1_;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = _data_->drivers;
#line 6006 "unattended-installer.c"
	{
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->driver_collection = _data_->_tmp2_;
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->driver_it = _data_->driver_collection; _data_->driver_it != NULL; _data_->driver_it = _data_->driver_it->next) {
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp3_ = _g_object_ref0 ((OsinfoDeviceDriver*) _data_->driver_it->data);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->driver = _data_->_tmp3_;
#line 6016 "unattended-installer.c"
			{
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp4_ = _data_->progress;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp5_ = _data_->driver_progress_scale;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp6_ = NULL;
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp6_ = boxes_activity_progress_add_child_activity (_data_->_tmp4_, _data_->_tmp5_);
#line 685 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->driver_progress = _data_->_tmp6_;
#line 6028 "unattended-installer.c"
				{
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp7_ = _data_->driver;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp8_ = _data_->driver_progress;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp9_ = _data_->add_func;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp9__target = _data_->add_func_target;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp10_ = _data_->cancellable;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_state_ = 1;
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_installer_setup_driver (_data_->self, _data_->_tmp7_, _data_->_tmp8_, _data_->_tmp9_, _data_->_tmp9__target, _data_->_tmp10_, boxes_unattended_installer_setup_drivers_from_list_ready, _data_);
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 6046 "unattended-installer.c"
					_state_1:
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_unattended_installer_setup_driver_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 687 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_inner_error_ != NULL) {
#line 6052 "unattended-installer.c"
						goto __catch75_g_error;
					}
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp11_ = ((BoxesInstallerMedia*) _data_->self)->supported_devices;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp12_ = _data_->driver;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp13_ = NULL;
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp13_ = osinfo_device_driver_get_devices (_data_->_tmp12_);
#line 688 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					osinfo_list_add_all ((OsinfoList*) _data_->_tmp11_, (OsinfoList*) _data_->_tmp13_);
#line 6065 "unattended-installer.c"
				}
				goto __finally75;
				__catch75_g_error:
				{
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->e = _data_->_inner_error_;
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_inner_error_ = NULL;
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp14_ = _data_->driver;
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp15_ = NULL;
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp15_ = osinfo_device_driver_get_location (_data_->_tmp14_);
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp16_ = _data_->e;
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp17_ = _data_->_tmp16_->message;
#line 690 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_debug ("unattended-installer.vala:690: Failed to make use of drivers at '%s': " \
"%s", _data_->_tmp15_, _data_->_tmp17_);
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_error_free0 (_data_->e);
#line 6088 "unattended-installer.c"
				}
				__finally75:
				{
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data_->_tmp18_ = _data_->driver_progress;
#line 692 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					boxes_activity_progress_set_progress (_data_->_tmp18_, 1.0);
#line 6096 "unattended-installer.c"
				}
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_data_->_inner_error_ != NULL) {
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->driver_progress);
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->driver);
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.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 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_clear_error (&_data_->_inner_error_);
#line 686 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 6110 "unattended-installer.c"
				}
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->driver_progress);
#line 684 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->driver);
#line 6116 "unattended-installer.c"
			}
		}
	}
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6124 "unattended-installer.c"
	} else {
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6128 "unattended-installer.c"
	}
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 678 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 6134 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_driver_data_free (gpointer _data) {
	BoxesUnattendedInstallerSetupDriverData* _data_;
	_data_ = _data;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->driver);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_slice_free (BoxesUnattendedInstallerSetupDriverData, _data_);
#line 6151 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_driver (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver, BoxesActivityProgress* progress, BoxesUnattendedInstallerAddUnattendedFileFunc add_func, void* add_func_target, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupDriverData* _data_;
	BoxesUnattendedInstaller* _tmp0_;
	OsinfoDeviceDriver* _tmp1_;
	OsinfoDeviceDriver* _tmp2_;
	BoxesActivityProgress* _tmp3_;
	BoxesActivityProgress* _tmp4_;
	BoxesUnattendedInstallerAddUnattendedFileFunc _tmp5_;
	void* _tmp5__target;
	GCancellable* _tmp6_;
	GCancellable* _tmp7_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_slice_new0 (BoxesUnattendedInstallerSetupDriverData);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_unattended_installer_setup_driver);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_unattended_installer_setup_driver_data_free);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->self = _tmp0_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = driver;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->driver);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->driver = _tmp2_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = progress;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->progress);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->progress = _tmp4_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = add_func;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5__target = add_func_target;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->add_func = _tmp5_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->add_func_target = _tmp5__target;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = cancellable;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->cancellable);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->cancellable = _tmp7_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_driver_co (_data_);
#line 6210 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_driver_finish (BoxesUnattendedInstaller* self, GAsyncResult* _res_, GError** error) {
	BoxesUnattendedInstallerSetupDriverData* _data_;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return;
#line 6220 "unattended-installer.c"
	}
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6224 "unattended-installer.c"
}


static void boxes_unattended_installer_setup_driver_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesUnattendedInstallerSetupDriverData* _data_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_ = _user_data_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_source_object_ = source_object;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_res_ = _res_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_setup_driver_co (_data_);
#line 6238 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_setup_driver_co (BoxesUnattendedInstallerSetupDriverData* _data_) {
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (_data_->_state_) {
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 0:
#line 6247 "unattended-installer.c"
		goto _state_0;
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case 1:
#line 6251 "unattended-installer.c"
		goto _state_1;
		default:
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_assert_not_reached ();
#line 6256 "unattended-installer.c"
	}
	_state_0:
#line 701 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = NULL;
#line 701 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp0_ = boxes_downloader_get_instance ();
#line 701 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->downloader = _data_->_tmp0_;
#line 703 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->driver_files = NULL;
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp1_ = _data_->driver;
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = NULL;
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp2_ = osinfo_device_driver_get_location (_data_->_tmp1_);
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp3_ = g_strdup (_data_->_tmp2_);
#line 704 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->location = _data_->_tmp3_;
#line 705 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp4_ = _data_->location;
#line 705 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = NULL;
#line 705 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp5_ = g_compute_checksum_for_string (G_CHECKSUM_MD5, _data_->_tmp4_, (gsize) (-1));
#line 705 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->location_checksum = _data_->_tmp5_;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp6_ = _data_->driver;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = NULL;
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp7_ = osinfo_device_driver_get_files (_data_->_tmp6_);
#line 706 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->files = _data_->_tmp7_;
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp8_ = _data_->files;
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = 0U;
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp9_ = g_list_length (_data_->_tmp8_);
#line 707 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->file_progress_scale = 1. / _data_->_tmp9_;
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp10_ = _data_->files;
#line 6303 "unattended-installer.c"
	{
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->filename_collection = _data_->_tmp10_;
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->filename_it = _data_->filename_collection; _data_->filename_it != NULL; _data_->filename_it = _data_->filename_it->next) {
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->filename = (const gchar*) _data_->filename_it->data;
#line 6311 "unattended-installer.c"
			{
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp11_ = _data_->location;
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp12_ = g_strconcat (_data_->_tmp11_, "/", NULL);
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp13_ = _data_->_tmp12_;
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp14_ = _data_->filename;
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp15_ = g_strconcat (_data_->_tmp13_, _data_->_tmp14_, NULL);
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp16_ = _data_->_tmp15_;
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp13_);
#line 710 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->file_uri = _data_->_tmp16_;
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp17_ = _data_->file_uri;
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp18_ = NULL;
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp18_ = g_file_new_for_uri (_data_->_tmp17_);
#line 711 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->file = _data_->_tmp18_;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp19_ = _data_->location_checksum;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp20_ = g_strconcat (_data_->_tmp19_, "-", NULL);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp21_ = _data_->_tmp20_;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp22_ = _data_->file;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp23_ = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp23_ = g_file_get_basename (_data_->_tmp22_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp24_ = _data_->_tmp23_;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp25_ = g_strconcat (_data_->_tmp21_, _data_->_tmp24_, NULL);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp26_ = _data_->_tmp25_;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp27_ = NULL;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp27_ = boxes_get_drivers_cache (_data_->_tmp26_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp28_ = _data_->_tmp27_;
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp26_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp24_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->_tmp21_);
#line 713 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->cached_path = _data_->_tmp28_;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp29_ = _data_->progress;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp30_ = _data_->file_progress_scale;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp31_ = NULL;
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp31_ = boxes_activity_progress_add_child_activity (_data_->_tmp29_, _data_->_tmp30_);
#line 715 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->file_progress = _data_->_tmp31_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp32_ = _data_->downloader;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp33_ = _data_->file;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp34_ = _data_->cached_path;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp35_ = _data_->file_progress;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_state_ = 1;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				boxes_downloader_download (_data_->_tmp32_, _data_->_tmp33_, _data_->_tmp34_, _data_->_tmp35_, boxes_unattended_installer_setup_driver_ready, _data_);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				return FALSE;
#line 6393 "unattended-installer.c"
				_state_1:
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp36_ = NULL;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp36_ = boxes_downloader_download_finish (_data_->_tmp32_, _data_->_res_, &_data_->_inner_error_);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp37_ = _data_->_tmp36_;
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_data_->_inner_error_ != NULL) {
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_error_free (_data_->_inner_error_);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->file_progress);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_data_->cached_path);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->file);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_data_->file_uri);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_list_free0 (_data_->files);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_data_->location_checksum);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_data_->location);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					__g_list_free__g_object_unref0_0 (_data_->driver_files);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (_data_->downloader);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_data_->_state_ == 0) {
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6429 "unattended-installer.c"
					} else {
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						g_simple_async_result_complete (_data_->_async_result);
#line 6433 "unattended-installer.c"
					}
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_object_unref (_data_->_async_result);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return FALSE;
#line 6439 "unattended-installer.c"
				}
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->file);
#line 716 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->file = _data_->_tmp37_;
#line 717 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp38_ = _data_->file_progress;
#line 717 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				boxes_activity_progress_set_progress (_data_->_tmp38_, 1.0);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp39_ = _data_->cached_path;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp40_ = _data_->filename;
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp41_ = boxes_unattended_raw_file_new (_data_->self, _data_->_tmp39_, _data_->_tmp40_);
#line 719 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->driver_files = g_list_append (_data_->driver_files, (BoxesUnattendedFile*) _data_->_tmp41_);
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->file_progress);
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->cached_path);
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->file);
#line 709 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_data_->file_uri);
#line 6465 "unattended-installer.c"
			}
		}
	}
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data_->_tmp42_ = _data_->driver_files;
#line 6471 "unattended-installer.c"
	{
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_data_->driver_file_collection = _data_->_tmp42_;
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (_data_->driver_file_it = _data_->driver_file_collection; _data_->driver_file_it != NULL; _data_->driver_file_it = _data_->driver_file_it->next) {
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->_tmp43_ = _g_object_ref0 ((BoxesUnattendedFile*) _data_->driver_file_it->data);
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_data_->driver_file = _data_->_tmp43_;
#line 6481 "unattended-installer.c"
			{
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp44_ = _data_->add_func;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp44__target = _data_->add_func_target;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp45_ = _data_->driver_file;
#line 724 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_data_->_tmp44_ (_data_->_tmp45_, _data_->_tmp44__target);
#line 723 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (_data_->driver_file);
#line 6493 "unattended-installer.c"
			}
		}
	}
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_list_free0 (_data_->files);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->location_checksum);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (_data_->location);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (_data_->driver_files);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (_data_->downloader);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_data_->_state_ == 0) {
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6511 "unattended-installer.c"
	} else {
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6515 "unattended-installer.c"
	}
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_unref (_data_->_async_result);
#line 697 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return FALSE;
#line 6521 "unattended-installer.c"
}


static gboolean __lambda82_ (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver) {
	gboolean result = FALSE;
	OsinfoDeviceDriver* _tmp0_;
	gboolean _tmp1_ = FALSE;
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (driver != NULL, FALSE);
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = driver;
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_device_driver_get_pre_installable (_tmp0_);
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 731 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6539 "unattended-installer.c"
}


static gboolean ___lambda82__boxes_unattended_installer_driver_installable_func (OsinfoDeviceDriver* driver, gpointer self) {
	gboolean result;
	result = __lambda82_ (self, driver);
#line 730 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6548 "unattended-installer.c"
}


static OsinfoDeviceDriverSigningReq __lambda83_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script) {
	OsinfoDeviceDriverSigningReq result = 0;
	OsinfoInstallScript* _tmp0_;
	OsinfoDeviceDriverSigningReq _tmp1_ = 0;
#line 732 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (script != NULL, 0);
#line 732 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = script;
#line 732 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_install_script_get_pre_install_drivers_signing_req (_tmp0_);
#line 732 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 732 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6566 "unattended-installer.c"
}


static OsinfoDeviceDriverSigningReq ___lambda83__boxes_unattended_installer_script_driver_signing_req_func (OsinfoInstallScript* script, gpointer self) {
	OsinfoDeviceDriverSigningReq result;
	result = __lambda83_ (self, script);
#line 730 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6575 "unattended-installer.c"
}


static GList* boxes_unattended_installer_get_pre_installable_drivers (BoxesUnattendedInstaller* self, GList* preinst_scripts) {
	GList* result = NULL;
	GList* _tmp0_;
	GList* _tmp1_ = NULL;
#line 729 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 730 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = preinst_scripts;
#line 730 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_installable_drivers (self, _tmp0_, ___lambda82__boxes_unattended_installer_driver_installable_func, self, ___lambda83__boxes_unattended_installer_script_driver_signing_req_func, self);
#line 730 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 730 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6593 "unattended-installer.c"
}


static gboolean __lambda90_ (BoxesUnattendedInstaller* self, OsinfoDeviceDriver* driver) {
	gboolean result = FALSE;
	OsinfoDeviceDriver* _tmp0_;
	gboolean _tmp1_ = FALSE;
#line 737 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (driver != NULL, FALSE);
#line 737 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = driver;
#line 737 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_device_driver_get_pre_installable (_tmp0_);
#line 737 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = !_tmp1_;
#line 737 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6611 "unattended-installer.c"
}


static gboolean ___lambda90__boxes_unattended_installer_driver_installable_func (OsinfoDeviceDriver* driver, gpointer self) {
	gboolean result;
	result = __lambda90_ (self, driver);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6620 "unattended-installer.c"
}


static OsinfoDeviceDriverSigningReq __lambda91_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script) {
	OsinfoDeviceDriverSigningReq result = 0;
	OsinfoInstallScript* _tmp0_;
	OsinfoDeviceDriverSigningReq _tmp1_ = 0;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (script != NULL, 0);
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = script;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_install_script_get_post_install_drivers_signing_req (_tmp0_);
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 738 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6638 "unattended-installer.c"
}


static OsinfoDeviceDriverSigningReq ___lambda91__boxes_unattended_installer_script_driver_signing_req_func (OsinfoInstallScript* script, gpointer self) {
	OsinfoDeviceDriverSigningReq result;
	result = __lambda91_ (self, script);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6647 "unattended-installer.c"
}


static GList* boxes_unattended_installer_get_post_installable_drivers (BoxesUnattendedInstaller* self, GList* postinst_scripts) {
	GList* result = NULL;
	GList* _tmp0_;
	GList* _tmp1_ = NULL;
#line 735 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = postinst_scripts;
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_installable_drivers (self, _tmp0_, ___lambda90__boxes_unattended_installer_driver_installable_func, self, ___lambda91__boxes_unattended_installer_script_driver_signing_req_func, self);
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 736 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6665 "unattended-installer.c"
}


static Block60Data* block60_data_ref (Block60Data* _data60_) {
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_atomic_int_inc (&_data60_->_ref_count_);
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return _data60_;
#line 6674 "unattended-installer.c"
}


static void block60_data_unref (void * _userdata_) {
	Block60Data* _data60_;
	_data60_ = (Block60Data*) _userdata_;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_atomic_int_dec_and_test (&_data60_->_ref_count_)) {
#line 6683 "unattended-installer.c"
		BoxesUnattendedInstaller * self;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		self = _data60_->self;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_object_unref0 (self);
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_slice_free (Block60Data, _data60_);
#line 6691 "unattended-installer.c"
	}
}


static gboolean __lambda81_ (Block60Data* _data60_, OsinfoDeviceDriver* driver) {
	BoxesUnattendedInstaller * self;
	gboolean result = FALSE;
	BoxesUnattendedInstallerDriverInstallableFunc _tmp0_;
	void* _tmp0__target;
	OsinfoDeviceDriver* _tmp1_;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	OsinfoDeviceDriver* _tmp4_;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp7_;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = _data60_->self;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (driver != NULL, FALSE);
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = _data60_->installable_func;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0__target = _data60_->installable_func_target;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = driver;
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp0_ (_tmp1_, _tmp0__target);
#line 772 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp2_) {
#line 773 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = FALSE;
#line 773 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 6725 "unattended-installer.c"
	}
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = driver;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = osinfo_device_driver_get_signed (_tmp4_);
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp5_) {
#line 6733 "unattended-installer.c"
		gboolean _tmp6_;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp6_ = _data60_->signing_required;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = _tmp6_;
#line 6739 "unattended-installer.c"
	} else {
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp3_ = FALSE;
#line 6743 "unattended-installer.c"
	}
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = _tmp3_;
#line 775 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp7_) {
#line 6749 "unattended-installer.c"
		gboolean _tmp8_;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp8_ = _data60_->driver_signing_mutable;
#line 776 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp8_) {
#line 777 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			self->priv->driver_signing = FALSE;
#line 6757 "unattended-installer.c"
		} else {
			OsinfoDeviceDriver* _tmp9_;
			const gchar* _tmp10_ = NULL;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp9_ = driver;
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp10_ = osinfo_device_driver_get_location (_tmp9_);
#line 779 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_debug ("unattended-installer.vala:779: Driver from location '%s' is not signed" \
". Ignoring..", _tmp10_);
#line 781 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			result = FALSE;
#line 781 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			return result;
#line 6771 "unattended-installer.c"
		}
	}
#line 785 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = TRUE;
#line 785 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6778 "unattended-installer.c"
}


static gboolean ___lambda81__boxes_unattended_installer_driver_test_function (OsinfoDeviceDriver* driver, gpointer self) {
	gboolean result;
	result = __lambda81_ (self, driver);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6787 "unattended-installer.c"
}


static GList* boxes_unattended_installer_get_installable_drivers (BoxesUnattendedInstaller* self, GList* scripts, BoxesUnattendedInstallerDriverInstallableFunc installable_func, void* installable_func_target, BoxesUnattendedInstallerScriptDriverSigningReqFunc signing_req_func, void* signing_req_func_target) {
	GList* result = NULL;
	Block60Data* _data60_;
	BoxesUnattendedInstallerDriverInstallableFunc _tmp0_;
	void* _tmp0__target;
	GList* _tmp1_;
	gboolean _tmp10_;
	GList* _tmp21_ = NULL;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_ = g_slice_new0 (Block60Data);
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_->_ref_count_ = 1;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_->self = g_object_ref (self);
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = installable_func;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0__target = installable_func_target;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_->installable_func = _tmp0_;
#line 744 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_->installable_func_target = _tmp0__target;
#line 748 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_->signing_required = FALSE;
#line 749 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = scripts;
#line 6819 "unattended-installer.c"
	{
		GList* script_collection = NULL;
		GList* script_it = NULL;
#line 749 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		script_collection = _tmp1_;
#line 749 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (script_it = script_collection; script_it != NULL; script_it = script_it->next) {
#line 6827 "unattended-installer.c"
			OsinfoInstallScript* _tmp2_;
			OsinfoInstallScript* script = NULL;
#line 749 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp2_ = _g_object_ref0 ((OsinfoInstallScript*) script_it->data);
#line 749 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			script = _tmp2_;
#line 6834 "unattended-installer.c"
			{
				BoxesUnattendedInstallerScriptDriverSigningReqFunc _tmp3_;
				void* _tmp3__target;
				OsinfoInstallScript* _tmp4_;
				OsinfoDeviceDriverSigningReq _tmp5_ = 0;
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = signing_req_func;
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3__target = signing_req_func_target;
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp4_ = script;
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = _tmp3_ (_tmp4_, _tmp3__target);
#line 750 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp5_ != OSINFO_DEVICE_DRIVER_SIGNING_REQ_NONE) {
#line 6850 "unattended-installer.c"
					OsinfoInstallScript* _tmp6_;
					gchar* _tmp7_ = NULL;
					gchar* _tmp8_;
					gchar* _tmp9_;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = script;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_object_get ((OsinfoEntity*) _tmp6_, "id", &_tmp7_, NULL);
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp8_ = _tmp7_;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = _tmp8_;
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_debug ("unattended-installer.vala:751: Script '%s' requires signed drivers.", _tmp9_);
#line 751 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_tmp9_);
#line 752 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_data60_->signing_required = TRUE;
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (script);
#line 754 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					break;
#line 6873 "unattended-installer.c"
				}
#line 749 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (script);
#line 6877 "unattended-installer.c"
			}
		}
	}
#line 757 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_->driver_signing_mutable = FALSE;
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp10_ = _data60_->signing_required;
#line 758 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp10_) {
#line 6887 "unattended-installer.c"
		OsinfoInstallScriptList* _tmp11_;
		GList* _tmp12_ = NULL;
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = self->scripts;
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp12_ = osinfo_list_get_elements ((OsinfoList*) _tmp11_);
#line 6894 "unattended-installer.c"
		{
			GList* s_collection = NULL;
			GList* s_it = NULL;
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			s_collection = _tmp12_;
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			for (s_it = s_collection; s_it != NULL; s_it = s_it->next) {
#line 6902 "unattended-installer.c"
				OsinfoEntity* s = NULL;
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				s = (OsinfoEntity*) s_it->data;
#line 6906 "unattended-installer.c"
				{
					OsinfoEntity* _tmp13_;
					OsinfoInstallScript* _tmp14_;
					OsinfoInstallScript* script;
					OsinfoInstallScript* _tmp15_;
					gboolean _tmp16_ = FALSE;
#line 761 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp13_ = s;
#line 761 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _tmp13_) : NULL);
#line 761 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					script = _tmp14_;
#line 763 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp15_ = script;
#line 763 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp16_ = osinfo_install_script_has_config_param_name (_tmp15_, OSINFO_INSTALL_CONFIG_PROP_DRIVER_SIGNING);
#line 763 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_tmp16_) {
#line 6925 "unattended-installer.c"
						OsinfoInstallScript* _tmp17_;
						gchar* _tmp18_ = NULL;
						gchar* _tmp19_;
						gchar* _tmp20_;
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp17_ = script;
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						g_object_get ((OsinfoEntity*) _tmp17_, "id", &_tmp18_, NULL);
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp19_ = _tmp18_;
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp20_ = _tmp19_;
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						g_debug ("unattended-installer.vala:764: Script '%s' allows disabling of driver " \
"signature checks.", _tmp20_);
#line 764 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_free0 (_tmp20_);
#line 765 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_data60_->driver_signing_mutable = TRUE;
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_g_object_unref0 (script);
#line 767 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 6948 "unattended-installer.c"
					}
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (script);
#line 6952 "unattended-installer.c"
				}
			}
#line 760 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_list_free0 (s_collection);
#line 6957 "unattended-installer.c"
		}
	}
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp21_ = boxes_unattended_installer_get_drivers (self, ___lambda81__boxes_unattended_installer_driver_test_function, _data60_);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp21_;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	block60_data_unref (_data60_);
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_data60_ = NULL;
#line 771 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 6970 "unattended-installer.c"
}


static void _g_free0_ (gpointer var) {
#line 790 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	var = (g_free (var), NULL);
#line 6977 "unattended-installer.c"
}


static GList* boxes_unattended_installer_get_drivers (BoxesUnattendedInstaller* self, BoxesUnattendedInstallerDriverTestFunction test_func, void* test_func_target) {
	GList* result = NULL;
	GHashFunc _tmp0_;
	GEqualFunc _tmp1_;
	GHashTable* _tmp2_;
	GHashTable* drivers;
	OsinfoOs* _tmp3_;
	OsinfoDeviceDriverList* _tmp4_ = NULL;
	GList* _tmp5_ = NULL;
	GList* ret;
	GHashTable* _tmp36_;
	GList* _tmp37_ = NULL;
#line 789 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 790 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = g_str_hash;
#line 790 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = g_str_equal;
#line 790 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = g_hash_table_new_full (_tmp0_, _tmp1_, _g_free0_, _g_object_unref0_);
#line 790 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	drivers = _tmp2_;
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = ((BoxesInstallerMedia*) self)->os;
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = osinfo_os_get_device_drivers (_tmp3_);
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = osinfo_list_get_elements ((OsinfoList*) _tmp4_);
#line 7009 "unattended-installer.c"
	{
		GList* d_collection = NULL;
		GList* d_it = NULL;
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		d_collection = _tmp5_;
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (d_it = d_collection; d_it != NULL; d_it = d_it->next) {
#line 7017 "unattended-installer.c"
			OsinfoEntity* d = NULL;
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			d = (OsinfoEntity*) d_it->data;
#line 7021 "unattended-installer.c"
			{
				OsinfoEntity* _tmp6_;
				OsinfoDeviceDriver* _tmp7_;
				OsinfoDeviceDriver* driver;
				OsinfoMedia* _tmp8_;
				gchar* _tmp9_ = NULL;
				gchar* _tmp10_;
				gchar* _tmp11_;
				OsinfoDeviceDriver* _tmp12_;
				const gchar* _tmp13_ = NULL;
				BoxesCPUArchCompatibility _tmp14_ = 0;
				BoxesCPUArchCompatibility _tmp15_;
				BoxesCPUArchCompatibility compatibility;
				OsinfoDeviceDriver* _tmp16_;
				const gchar* _tmp17_ = NULL;
				gchar* _tmp18_;
				gchar* location;
				BoxesCPUArchCompatibility _tmp19_;
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = d;
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, osinfo_device_driver_get_type ()) ? ((OsinfoDeviceDriver*) _tmp6_) : NULL);
#line 793 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				driver = _tmp7_;
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp8_ = ((BoxesInstallerMedia*) self)->os_media;
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_object_get (_tmp8_, "architecture", &_tmp9_, NULL);
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp10_ = _tmp9_;
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp11_ = _tmp10_;
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp12_ = driver;
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp13_ = osinfo_device_driver_get_architecture (_tmp12_);
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp14_ = boxes_compare_cpu_architectures (_tmp11_, _tmp13_);
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp15_ = _tmp14_;
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (_tmp11_);
#line 795 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				compatibility = _tmp15_;
#line 796 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp16_ = driver;
#line 796 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp17_ = osinfo_device_driver_get_location (_tmp16_);
#line 796 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp18_ = g_strdup (_tmp17_);
#line 796 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				location = _tmp18_;
#line 797 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp19_ = compatibility;
#line 797 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp19_ == BOXES_CPU_ARCH_COMPATIBILITY_IDENTICAL) {
#line 7078 "unattended-installer.c"
					GHashTable* _tmp20_;
					const gchar* _tmp21_;
					gchar* _tmp22_;
					OsinfoDeviceDriver* _tmp23_;
					OsinfoDeviceDriver* _tmp24_;
#line 798 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp20_ = drivers;
#line 798 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp21_ = location;
#line 798 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp22_ = g_strdup (_tmp21_);
#line 798 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp23_ = driver;
#line 798 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp24_ = _g_object_ref0 (_tmp23_);
#line 798 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_hash_table_replace (_tmp20_, _tmp22_, _tmp24_);
#line 7096 "unattended-installer.c"
				} else {
					gboolean _tmp25_ = FALSE;
					BoxesCPUArchCompatibility _tmp26_;
					gboolean _tmp30_;
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp26_ = compatibility;
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_tmp26_ == BOXES_CPU_ARCH_COMPATIBILITY_COMPATIBLE) {
#line 7105 "unattended-installer.c"
						GHashTable* _tmp27_;
						const gchar* _tmp28_;
						gconstpointer _tmp29_ = NULL;
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp27_ = drivers;
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp28_ = location;
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp29_ = g_hash_table_lookup (_tmp27_, _tmp28_);
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp25_ = ((OsinfoDeviceDriver*) _tmp29_) == NULL;
#line 7117 "unattended-installer.c"
					} else {
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp25_ = FALSE;
#line 7121 "unattended-installer.c"
					}
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp30_ = _tmp25_;
#line 799 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (_tmp30_) {
#line 7127 "unattended-installer.c"
						GHashTable* _tmp31_;
						const gchar* _tmp32_;
						gchar* _tmp33_;
						OsinfoDeviceDriver* _tmp34_;
						OsinfoDeviceDriver* _tmp35_;
#line 800 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp31_ = drivers;
#line 800 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp32_ = location;
#line 800 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp33_ = g_strdup (_tmp32_);
#line 800 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp34_ = driver;
#line 800 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp35_ = _g_object_ref0 (_tmp34_);
#line 800 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						g_hash_table_insert (_tmp31_, _tmp33_, _tmp35_);
#line 7145 "unattended-installer.c"
					}
				}
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (location);
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (driver);
#line 7152 "unattended-installer.c"
			}
		}
#line 792 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (d_collection);
#line 7157 "unattended-installer.c"
	}
#line 808 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	ret = NULL;
#line 809 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp36_ = drivers;
#line 809 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp37_ = g_hash_table_get_values (_tmp36_);
#line 7165 "unattended-installer.c"
	{
		GList* driver_collection = NULL;
		GList* driver_it = NULL;
#line 809 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		driver_collection = _tmp37_;
#line 809 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (driver_it = driver_collection; driver_it != NULL; driver_it = driver_it->next) {
#line 7173 "unattended-installer.c"
			OsinfoDeviceDriver* driver = NULL;
#line 809 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			driver = (OsinfoDeviceDriver*) driver_it->data;
#line 7177 "unattended-installer.c"
			{
				BoxesUnattendedInstallerDriverTestFunction _tmp38_;
				void* _tmp38__target;
				OsinfoDeviceDriver* _tmp39_;
				gboolean _tmp40_ = FALSE;
#line 810 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp38_ = test_func;
#line 810 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp38__target = test_func_target;
#line 810 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp39_ = driver;
#line 810 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp40_ = _tmp38_ (_tmp39_, _tmp38__target);
#line 810 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp40_) {
#line 7193 "unattended-installer.c"
					OsinfoDeviceDriver* _tmp41_;
					OsinfoDeviceDriver* _tmp42_;
#line 811 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp41_ = driver;
#line 811 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp42_ = _g_object_ref0 (_tmp41_);
#line 811 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					ret = g_list_prepend (ret, _tmp42_);
#line 7202 "unattended-installer.c"
				}
			}
		}
#line 809 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (driver_collection);
#line 7208 "unattended-installer.c"
	}
#line 813 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	ret = g_list_reverse (ret);
#line 815 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = ret;
#line 815 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_hash_table_unref0 (drivers);
#line 815 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7218 "unattended-installer.c"
}


static gboolean __lambda80_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script) {
	gboolean result = FALSE;
	OsinfoInstallScript* _tmp0_;
	gboolean _tmp1_ = FALSE;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (script != NULL, FALSE);
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = script;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_install_script_get_can_pre_install_drivers (_tmp0_);
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7236 "unattended-installer.c"
}


static gboolean ___lambda80__boxes_unattended_installer_script_test_function (OsinfoInstallScript* script, gpointer self) {
	gboolean result;
	result = __lambda80_ (self, script);
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7245 "unattended-installer.c"
}


static GList* boxes_unattended_installer_get_pre_installer_scripts (BoxesUnattendedInstaller* self) {
	GList* result = NULL;
	GList* _tmp0_ = NULL;
#line 820 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_get_scripts (self, ___lambda80__boxes_unattended_installer_script_test_function, self);
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 821 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7260 "unattended-installer.c"
}


static gboolean __lambda89_ (BoxesUnattendedInstaller* self, OsinfoInstallScript* script) {
	gboolean result = FALSE;
	OsinfoInstallScript* _tmp0_;
	gboolean _tmp1_ = FALSE;
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (script != NULL, FALSE);
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = script;
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_install_script_get_can_post_install_drivers (_tmp0_);
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp1_;
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7278 "unattended-installer.c"
}


static gboolean ___lambda89__boxes_unattended_installer_script_test_function (OsinfoInstallScript* script, gpointer self) {
	gboolean result;
	result = __lambda89_ (self, script);
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7287 "unattended-installer.c"
}


static GList* boxes_unattended_installer_get_post_installer_scripts (BoxesUnattendedInstaller* self) {
	GList* result = NULL;
	GList* _tmp0_ = NULL;
#line 824 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_get_scripts (self, ___lambda89__boxes_unattended_installer_script_test_function, self);
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp0_;
#line 825 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7302 "unattended-installer.c"
}


static GList* boxes_unattended_installer_get_scripts (BoxesUnattendedInstaller* self, BoxesUnattendedInstallerScriptTestFunction test_func, void* test_func_target) {
	GList* result = NULL;
	GList* scripts;
	OsinfoInstallScriptList* _tmp0_;
	GList* _tmp1_ = NULL;
#line 828 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 829 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	scripts = NULL;
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->scripts;
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = osinfo_list_get_elements ((OsinfoList*) _tmp0_);
#line 7319 "unattended-installer.c"
	{
		GList* s_collection = NULL;
		GList* s_it = NULL;
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		s_collection = _tmp1_;
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (s_it = s_collection; s_it != NULL; s_it = s_it->next) {
#line 7327 "unattended-installer.c"
			OsinfoEntity* s = NULL;
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			s = (OsinfoEntity*) s_it->data;
#line 7331 "unattended-installer.c"
			{
				OsinfoEntity* _tmp2_;
				OsinfoInstallScript* _tmp3_;
				OsinfoInstallScript* script;
				BoxesUnattendedInstallerScriptTestFunction _tmp4_;
				void* _tmp4__target;
				OsinfoInstallScript* _tmp5_;
				gboolean _tmp6_ = FALSE;
#line 832 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp2_ = s;
#line 832 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, osinfo_install_script_get_type ()) ? ((OsinfoInstallScript*) _tmp2_) : NULL);
#line 832 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				script = _tmp3_;
#line 834 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp4_ = test_func;
#line 834 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp4__target = test_func_target;
#line 834 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = script;
#line 834 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = _tmp4_ (_tmp5_, _tmp4__target);
#line 834 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp6_) {
#line 7356 "unattended-installer.c"
					OsinfoInstallScript* _tmp7_;
					OsinfoInstallScript* _tmp8_;
#line 835 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = script;
#line 835 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp8_ = _g_object_ref0 (_tmp7_);
#line 835 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					scripts = g_list_append (scripts, _tmp8_);
#line 7365 "unattended-installer.c"
				}
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (script);
#line 7369 "unattended-installer.c"
			}
		}
#line 831 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (s_collection);
#line 7374 "unattended-installer.c"
	}
#line 838 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = scripts;
#line 838 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7380 "unattended-installer.c"
}


static gchar** _vala_array_dup4 (gchar** self, int length) {
	gchar** result;
	int i;
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = g_new0 (gchar*, length + 1);
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	for (i = 0; i < length; i++) {
#line 7391 "unattended-installer.c"
		gchar* _tmp0_;
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = g_strdup (self[i]);
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result[i] = _tmp0_;
#line 7397 "unattended-installer.c"
	}
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7401 "unattended-installer.c"
}


static gchar* boxes_unattended_installer_get_preferred_language (BoxesUnattendedInstaller* self) {
	gchar* result = NULL;
	gchar** _tmp0_;
	gchar** _tmp1_ = NULL;
	gchar** _tmp2_;
	gint _tmp2__length1;
	gchar** system_langs;
	gint system_langs_length1;
	gint _system_langs_size_;
	GHashFunc _tmp3_;
	GEqualFunc _tmp4_;
	GHashTable* _tmp5_;
	GHashTable* media_langs;
	OsinfoMedia* _tmp6_;
	GList* _tmp7_;
	GList* _tmp8_;
	GList* media_langs_list;
	GList* _tmp9_;
	gchar** _tmp13_;
	gint _tmp13__length1;
	GList* _tmp19_;
	gchar** _tmp25_;
	gint _tmp25__length1;
	const gchar* _tmp26_;
	gchar* _tmp27_ = NULL;
	gchar* lang;
	const gchar* _tmp28_;
#line 842 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_ = g_get_language_names ();
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = (_tmp1_ != NULL) ? _vala_array_dup4 (_tmp1_, _vala_array_length (_tmp0_)) : ((gpointer) _tmp1_);
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2__length1 = _vala_array_length (_tmp0_);
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	system_langs = _tmp2_;
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	system_langs_length1 = _tmp2__length1;
#line 843 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_system_langs_size_ = system_langs_length1;
#line 844 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = g_str_hash;
#line 844 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = g_str_equal;
#line 844 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp5_ = g_hash_table_new_full (_tmp3_, _tmp4_, _g_free0_, NULL);
#line 844 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	media_langs = _tmp5_;
#line 845 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = ((BoxesInstallerMedia*) self)->os_media;
#line 845 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp7_ = osinfo_media_get_languages (_tmp6_);
#line 845 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp8_ = _tmp7_;
#line 845 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	media_langs_list = _tmp8_;
#line 847 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp9_ = media_langs_list;
#line 7464 "unattended-installer.c"
	{
		GList* lang_collection = NULL;
		GList* lang_it = NULL;
#line 847 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		lang_collection = _tmp9_;
#line 847 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (lang_it = lang_collection; lang_it != NULL; lang_it = lang_it->next) {
#line 7472 "unattended-installer.c"
			const gchar* lang = NULL;
#line 847 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			lang = (const gchar*) lang_it->data;
#line 7476 "unattended-installer.c"
			{
				GHashTable* _tmp10_;
				const gchar* _tmp11_;
				gchar* _tmp12_;
#line 848 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp10_ = media_langs;
#line 848 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp11_ = lang;
#line 848 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp12_ = g_strdup (_tmp11_);
#line 848 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				g_hash_table_add (_tmp10_, _tmp12_);
#line 7489 "unattended-installer.c"
			}
		}
	}
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13_ = system_langs;
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp13__length1 = system_langs_length1;
#line 7497 "unattended-installer.c"
	{
		gchar** lang_collection = NULL;
		gint lang_collection_length1 = 0;
		gint _lang_collection_size_ = 0;
		gint lang_it = 0;
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		lang_collection = _tmp13_;
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		lang_collection_length1 = _tmp13__length1;
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (lang_it = 0; lang_it < _tmp13__length1; lang_it = lang_it + 1) {
#line 7509 "unattended-installer.c"
			gchar* _tmp14_;
			gchar* lang = NULL;
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp14_ = g_strdup (lang_collection[lang_it]);
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			lang = _tmp14_;
#line 7516 "unattended-installer.c"
			{
				GHashTable* _tmp15_;
				const gchar* _tmp16_;
				gboolean _tmp17_ = FALSE;
#line 851 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp15_ = media_langs;
#line 851 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp16_ = lang;
#line 851 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp17_ = g_hash_table_contains (_tmp15_, _tmp16_);
#line 851 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (_tmp17_) {
#line 7529 "unattended-installer.c"
					const gchar* _tmp18_;
#line 852 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp18_ = lang;
#line 852 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					g_debug ("unattended-installer.vala:852: matched %s", _tmp18_);
#line 853 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					result = lang;
#line 853 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_list_free0 (media_langs_list);
#line 853 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_hash_table_unref0 (media_langs);
#line 853 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					system_langs = (_vala_array_free (system_langs, system_langs_length1, (GDestroyNotify) g_free), NULL);
#line 853 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					return result;
#line 7545 "unattended-installer.c"
				}
#line 850 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_free0 (lang);
#line 7549 "unattended-installer.c"
			}
		}
	}
#line 857 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp19_ = media_langs_list;
#line 857 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp19_ != NULL) {
#line 7557 "unattended-installer.c"
		GList* _tmp20_;
		gconstpointer _tmp21_ = NULL;
		GList* _tmp22_;
		gconstpointer _tmp23_ = NULL;
		gchar* _tmp24_;
#line 858 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = media_langs_list;
#line 858 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp21_ = g_list_nth_data (_tmp20_, (guint) 0);
#line 858 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_debug ("unattended-installer.vala:858: Failed to match system locales with med" \
"ia languages, falling back to %s media language", (const gchar*) _tmp21_);
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp22_ = media_langs_list;
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp23_ = g_list_nth_data (_tmp22_, (guint) 0);
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp24_ = g_strdup ((const gchar*) _tmp23_);
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = _tmp24_;
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_list_free0 (media_langs_list);
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_g_hash_table_unref0 (media_langs);
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		system_langs = (_vala_array_free (system_langs, system_langs_length1, (GDestroyNotify) g_free), NULL);
#line 860 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 7585 "unattended-installer.c"
	}
#line 863 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25_ = system_langs;
#line 863 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp25__length1 = system_langs_length1;
#line 863 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp26_ = _tmp25_[0];
#line 863 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp27_ = string_replace (_tmp26_, ".utf8", "");
#line 863 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	lang = _tmp27_;
#line 864 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp28_ = lang;
#line 864 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_debug ("unattended-installer.vala:864: No media language, using %s locale", _tmp28_);
#line 866 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = lang;
#line 866 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_list_free0 (media_langs_list);
#line 866 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_hash_table_unref0 (media_langs);
#line 866 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	system_langs = (_vala_array_free (system_langs, system_langs_length1, (GDestroyNotify) g_free), NULL);
#line 866 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7611 "unattended-installer.c"
}


static void boxes_unattended_installer_remove_disk_from_domain_config (BoxesUnattendedInstaller* self, GVirConfigDomain* domain, const gchar* disk_path) {
	GVirConfigDomain* _tmp0_;
	GList* _tmp1_ = NULL;
	GList* devices;
	GList* _tmp2_;
	GVirConfigDomain* _tmp11_;
	GList* _tmp12_;
#line 869 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (self != NULL);
#line 869 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (domain != NULL);
#line 869 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_if_fail (disk_path != NULL);
#line 870 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = domain;
#line 870 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gvir_config_domain_get_devices (_tmp0_);
#line 870 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	devices = _tmp1_;
#line 871 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = devices;
#line 7636 "unattended-installer.c"
	{
		GList* device_collection = NULL;
		GList* device_it = NULL;
#line 871 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		device_collection = _tmp2_;
#line 871 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		for (device_it = device_collection; device_it != NULL; device_it = device_it->next) {
#line 7644 "unattended-installer.c"
			GVirConfigDomainDevice* _tmp3_;
			GVirConfigDomainDevice* device = NULL;
#line 871 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = _g_object_ref0 ((GVirConfigDomainDevice*) device_it->data);
#line 871 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			device = _tmp3_;
#line 7651 "unattended-installer.c"
			{
				GVirConfigDomainDevice* _tmp4_;
				GVirConfigDomainDevice* _tmp5_;
				GVirConfigDomainDisk* _tmp6_;
				GVirConfigDomainDisk* disk;
				GVirConfigDomainDisk* _tmp7_;
				const gchar* _tmp8_ = NULL;
				const gchar* _tmp9_;
#line 872 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp4_ = device;
#line 872 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, gvir_config_domain_disk_get_type ())) {
#line 873 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (device);
#line 873 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					continue;
#line 7668 "unattended-installer.c"
				}
#line 875 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp5_ = device;
#line 875 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gvir_config_domain_disk_get_type ()) ? ((GVirConfigDomainDisk*) _tmp5_) : NULL);
#line 875 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				disk = _tmp6_;
#line 876 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp7_ = disk;
#line 876 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp8_ = gvir_config_domain_disk_get_source (_tmp7_);
#line 876 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp9_ = disk_path;
#line 876 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				if (g_strcmp0 (_tmp8_, _tmp9_) == 0) {
#line 7684 "unattended-installer.c"
					GVirConfigDomainDevice* _tmp10_;
#line 877 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp10_ = device;
#line 877 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					devices = g_list_remove (devices, _tmp10_);
#line 879 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (disk);
#line 879 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_object_unref0 (device);
#line 879 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					break;
#line 7696 "unattended-installer.c"
				}
#line 871 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (disk);
#line 871 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_g_object_unref0 (device);
#line 7702 "unattended-installer.c"
			}
		}
	}
#line 883 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp11_ = domain;
#line 883 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = devices;
#line 883 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	gvir_config_domain_set_devices (_tmp11_, _tmp12_);
#line 869 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (devices);
#line 7714 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_construct (GType object_type) {
	BoxesUnattendedInstaller * self = NULL;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) boxes_installer_media_construct (object_type);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return self;
#line 7724 "unattended-installer.c"
}


BoxesUnattendedInstaller* boxes_unattended_installer_new (void) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return boxes_unattended_installer_construct (BOXES_TYPE_UNATTENDED_INSTALLER);
#line 7731 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_need_user_input_for_vm_creation (BoxesInstallerMedia* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	gboolean _tmp0_;
	gboolean _tmp1_;
#line 8 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_installer_media_get_live ((BoxesInstallerMedia*) self);
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = _tmp0_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = !_tmp1_;
#line 9 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7750 "unattended-installer.c"
}


gboolean boxes_unattended_installer_get_ready_for_express (BoxesUnattendedInstaller* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gboolean _tmp12_;
#line 14 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = boxes_unattended_installer_get_username (self);
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (g_strcmp0 (_tmp2_, "") != 0) {
#line 7768 "unattended-installer.c"
		gboolean _tmp3_ = FALSE;
		const gchar* _tmp4_;
		gboolean _tmp11_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = self->priv->product_key_format;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_tmp4_ == NULL) {
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = TRUE;
#line 7778 "unattended-installer.c"
		} else {
			GtkEntry* _tmp5_;
			guint _tmp6_;
			guint _tmp7_;
			const gchar* _tmp8_;
			gint _tmp9_;
			gint _tmp10_;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp5_ = self->priv->key_entry;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp6_ = gtk_entry_get_text_length (_tmp5_);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp7_ = _tmp6_;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp8_ = self->priv->product_key_format;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp9_ = strlen (_tmp8_);
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp10_ = _tmp9_;
#line 17 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = _tmp7_ == ((guint) _tmp10_);
#line 7800 "unattended-installer.c"
		}
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp11_ = _tmp3_;
#line 16 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp11_;
#line 7806 "unattended-installer.c"
	} else {
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = FALSE;
#line 7810 "unattended-installer.c"
	}
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp12_ = _tmp0_;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp12_;
#line 15 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7818 "unattended-installer.c"
}


static gboolean boxes_unattended_installer_real_get_ready_to_create (BoxesInstallerMedia* base) {
	gboolean result;
	BoxesUnattendedInstaller* self;
	gboolean _tmp0_ = FALSE;
	GtkSwitch* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp6_;
#line 22 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = (BoxesUnattendedInstaller*) base;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = self->priv->express_toggle;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = gtk_switch_get_active (_tmp1_);
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = _tmp2_;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (!_tmp3_) {
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = TRUE;
#line 7842 "unattended-installer.c"
	} else {
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp4_ = boxes_unattended_installer_get_ready_for_express (self);
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = _tmp4_;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp0_ = _tmp5_;
#line 7852 "unattended-installer.c"
	}
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp6_ = _tmp0_;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp6_;
#line 23 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7860 "unattended-installer.c"
}


gboolean boxes_unattended_installer_get_express_install (BoxesUnattendedInstaller* self) {
	gboolean result;
	GtkSwitch* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->express_toggle;
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_switch_get_active (_tmp0_);
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp2_;
#line 28 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7881 "unattended-installer.c"
}


const gchar* boxes_unattended_installer_get_username (BoxesUnattendedInstaller* self) {
	const gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->username_entry;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp2_;
#line 32 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7902 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_password (BoxesUnattendedInstaller* self) {
	gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->password_entry;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	result = _tmp3_;
#line 36 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return result;
#line 7926 "unattended-installer.c"
}


static gchar* g_unichar_to_string (gunichar self) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* str;
	const gchar* _tmp1_;
#line 855 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp0_ = g_new0 (gchar, 7);
#line 855 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	str = (gchar*) _tmp0_;
#line 856 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	_tmp1_ = str;
#line 856 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	g_unichar_to_utf8 (self, _tmp1_);
#line 857 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	result = str;
#line 857 "/home/zeenix/jhbuild/share/vala-0.20/vapi/glib-2.0.vapi"
	return result;
#line 7947 "unattended-installer.c"
}


gchar* boxes_unattended_installer_get_hidden_password (BoxesUnattendedInstaller* self) {
	gchar* result;
	GtkEntry* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	gint _tmp4_;
#line 40 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = self->priv->password_entry;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp2_ = _tmp1_;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp3_ = strlen (_tmp2_);
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp4_ = _tmp3_;
#line 41 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp4_ > 0) {
#line 7972 "unattended-installer.c"
		gchar* _tmp5_;
		gchar* str;
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp5_ = g_strdup ("");
#line 42 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		str = _tmp5_;
#line 7979 "unattended-installer.c"
		{
			gint i;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			i = 0;
#line 7984 "unattended-installer.c"
			{
				gboolean _tmp6_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				_tmp6_ = TRUE;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
				while (TRUE) {
#line 7991 "unattended-installer.c"
					gboolean _tmp7_;
					gint _tmp9_;
					GtkEntry* _tmp10_;
					guint _tmp11_;
					guint _tmp12_;
					const gchar* _tmp13_;
					GtkEntry* _tmp14_;
					gunichar _tmp15_ = 0U;
					gchar* _tmp16_ = NULL;
					gchar* _tmp17_;
					gchar* _tmp18_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp7_ = _tmp6_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!_tmp7_) {
#line 8007 "unattended-installer.c"
						gint _tmp8_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						_tmp8_ = i;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						i = _tmp8_ + 1;
#line 8013 "unattended-installer.c"
					}
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp6_ = FALSE;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp9_ = i;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp10_ = self->priv->password_entry;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp11_ = gtk_entry_get_text_length (_tmp10_);
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp12_ = _tmp11_;
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					if (!(((guint) _tmp9_) < _tmp12_)) {
#line 43 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
						break;
#line 8029 "unattended-installer.c"
					}
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp13_ = str;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp14_ = self->priv->password_entry;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp15_ = gtk_entry_get_invisible_char (_tmp14_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp16_ = g_unichar_to_string (_tmp15_);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp17_ = _tmp16_;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_tmp18_ = g_strconcat (_tmp13_, _tmp17_, NULL);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (str);
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					str = _tmp18_;
#line 44 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
					_g_free0 (_tmp17_);
#line 8049 "unattended-installer.c"
				}
			}
		}
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = str;
#line 46 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 8057 "unattended-installer.c"
	} else {
		const gchar* _tmp19_ = NULL;
		gchar* _tmp20_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp19_ = _ ("no password");
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		_tmp20_ = g_strdup (_tmp19_);
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		result = _tmp20_;
#line 48 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		return result;
#line 8069 "unattended-installer.c"
	}
}


static GObject * boxes_unattended_installer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	BoxesUnattendedInstaller * self;
	BoxesFdoAccounts* _tmp0_;
	GError * _inner_error_ = NULL;
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	parent_class = G_OBJECT_CLASS (boxes_unattended_installer_parent_class);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_tmp0_ = boxes_unattended_installer_accounts;
#line 94 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	if (_tmp0_ == NULL) {
#line 8090 "unattended-installer.c"
		{
			BoxesFdoAccounts* _tmp1_ = NULL;
			BoxesFdoAccounts* _tmp2_;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp1_ = g_initable_new (BOXES_FDO_TYPE_ACCOUNTS_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.Accounts", "g-bus-type", G_BUS_TYPE_SYSTEM, "g-object-path", "/org/freedesktop/Accounts", "g-interface-name", "org.freedesktop.Accounts", NULL);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp2_ = (BoxesFdoAccounts*) _tmp1_;
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			if (_inner_error_ != NULL) {
#line 8100 "unattended-installer.c"
				goto __catch76_g_error;
			}
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_object_unref0 (boxes_unattended_installer_accounts);
#line 96 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			boxes_unattended_installer_accounts = _tmp2_;
#line 8107 "unattended-installer.c"
		}
		goto __finally76;
		__catch76_g_error:
		{
			GError* _error_ = NULL;
			GError* _tmp3_;
			const gchar* _tmp4_;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_error_ = _inner_error_;
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_inner_error_ = NULL;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp3_ = _error_;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_tmp4_ = _tmp3_->message;
#line 98 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_warning ("unattended-installer.vala:98: Failed to connect to D-Bus service '%s':" \
" %s", "org.freedesktop.Accounts", _tmp4_);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			_g_error_free0 (_error_);
#line 8127 "unattended-installer.c"
		}
		__finally76:
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		if (_inner_error_ != NULL) {
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 95 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
			g_clear_error (&_inner_error_);
#line 8136 "unattended-installer.c"
		}
	}
#line 91 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	return obj;
#line 8141 "unattended-installer.c"
}


static void boxes_unattended_installer_class_init (BoxesUnattendedInstallerClass * klass) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	boxes_unattended_installer_parent_class = g_type_class_peek_parent (klass);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_type_class_add_private (klass, sizeof (BoxesUnattendedInstallerPrivate));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_to_continue_installation = boxes_unattended_installer_real_prepare_to_continue_installation;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_for_installation = boxes_unattended_installer_real_prepare_for_installation;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_for_installation_finish = boxes_unattended_installer_real_prepare_for_installation_finish;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->setup_domain_config = boxes_unattended_installer_real_setup_domain_config;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->setup_post_install_domain_config = boxes_unattended_installer_real_setup_post_install_domain_config;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->populate_setup_vbox = boxes_unattended_installer_real_populate_setup_vbox;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_vm_properties = boxes_unattended_installer_real_get_vm_properties;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->set_direct_boot_params = boxes_unattended_installer_real_set_direct_boot_params;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->clean_up = boxes_unattended_installer_real_clean_up;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare = boxes_unattended_installer_real_prepare;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->prepare_finish = boxes_unattended_installer_real_prepare_finish;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_need_user_input_for_vm_creation = boxes_unattended_installer_real_get_need_user_input_for_vm_creation;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	BOXES_INSTALLER_MEDIA_CLASS (klass)->get_ready_to_create = boxes_unattended_installer_real_get_ready_to_create;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_boxes_unattended_installer_get_property;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->constructor = boxes_unattended_installer_constructor;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_unattended_installer_finalize;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION, g_param_spec_boolean ("need-user-input-for-vm-creation", "need-user-input-for-vm-creation", "need-user-input-for-vm-creation", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS, g_param_spec_boolean ("ready-for-express", "ready-for-express", "ready-for-express", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE, g_param_spec_boolean ("ready-to-create", "ready-to-create", "ready-to-create", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL, g_param_spec_boolean ("express-install", "express-install", "express-install", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_USERNAME, g_param_spec_string ("username", "username", "username", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_PASSWORD, g_param_spec_string ("password", "password", "password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD, g_param_spec_string ("hidden-password", "hidden-password", "hidden-password", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 8196 "unattended-installer.c"
}


static void boxes_unattended_installer_instance_init (BoxesUnattendedInstaller * self) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv = BOXES_UNATTENDED_INSTALLER_GET_PRIVATE (self);
#line 79 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self->priv->driver_signing = TRUE;
#line 8205 "unattended-installer.c"
}


static void boxes_unattended_installer_finalize (GObject* obj) {
	BoxesUnattendedInstaller * self;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 52 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->disk_file);
#line 53 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->secondary_disk_file);
#line 54 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->kernel_file);
#line 55 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->initrd_file);
#line 56 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->config);
#line 57 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->scripts);
#line 59 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->product_key_format);
#line 61 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->priv->unattended_files);
#line 62 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	__g_list_free__g_object_unref0_0 (self->priv->secondary_unattended_files);
#line 63 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->avatar_file);
#line 65 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_grid);
#line 68 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_label);
#line 69 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->setup_hbox);
#line 70 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->express_toggle);
#line 71 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->username_entry);
#line 72 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->password_entry);
#line 73 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_object_unref0 (self->priv->key_entry);
#line 75 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->timezone);
#line 76 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->lang);
#line 77 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->hostname);
#line 78 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	_g_free0 (self->priv->kbd);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	G_OBJECT_CLASS (boxes_unattended_installer_parent_class)->finalize (obj);
#line 8257 "unattended-installer.c"
}


GType boxes_unattended_installer_get_type (void) {
	static volatile gsize boxes_unattended_installer_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_unattended_installer_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesUnattendedInstallerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_unattended_installer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesUnattendedInstaller), 0, (GInstanceInitFunc) boxes_unattended_installer_instance_init, NULL };
		GType boxes_unattended_installer_type_id;
		boxes_unattended_installer_type_id = g_type_register_static (BOXES_TYPE_INSTALLER_MEDIA, "BoxesUnattendedInstaller", &g_define_type_info, 0);
		g_once_init_leave (&boxes_unattended_installer_type_id__volatile, boxes_unattended_installer_type_id);
	}
	return boxes_unattended_installer_type_id__volatile;
}


static void _vala_boxes_unattended_installer_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	BoxesUnattendedInstaller * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
	switch (property_id) {
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_NEED_USER_INPUT_FOR_VM_CREATION:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_installer_media_get_need_user_input_for_vm_creation ((BoxesInstallerMedia*) self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_READY_FOR_EXPRESS:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_unattended_installer_get_ready_for_express (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_READY_TO_CREATE:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_installer_media_get_ready_to_create ((BoxesInstallerMedia*) self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_EXPRESS_INSTALL:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_boolean (value, boxes_unattended_installer_get_express_install (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_USERNAME:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_set_string (value, boxes_unattended_installer_get_username (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_PASSWORD:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_take_string (value, boxes_unattended_installer_get_password (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		case BOXES_UNATTENDED_INSTALLER_HIDDEN_PASSWORD:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		g_value_take_string (value, boxes_unattended_installer_get_hidden_password (self));
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 8320 "unattended-installer.c"
		default:
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 6 "/extra-data/checkout/gnome/gnome-boxes/src/unattended-installer.vala"
		break;
#line 8326 "unattended-installer.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if ((array != NULL) && (destroy_func != NULL)) {
#line 8334 "unattended-installer.c"
		int i;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			if (((gpointer*) array)[i] != NULL) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
				destroy_func (((gpointer*) array)[i]);
#line 8342 "unattended-installer.c"
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	_vala_array_destroy (array, array_length, destroy_func);
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	g_free (array);
#line 8354 "unattended-installer.c"
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	if (array) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
		while (((gpointer*) array)[length]) {
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
			length++;
#line 8367 "unattended-installer.c"
		}
	}
#line 456 "/extra-data/checkout/gnome/gnome-boxes/src/libvirt-machine.vala"
	return length;
#line 8372 "unattended-installer.c"
}



