/* tracker-steroids.c generated by valac 0.38.1, the Vala compiler
 * generated from tracker-steroids.vala, do not modify */

/*
 * Copyright (C) 2010, Codeminded BVBA <abustany@gnome.org>
 * Copyright (C) 2011, Nokia <ivan.frade@nokia.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 */

#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gunixoutputstream.h>
#include "libtracker-common/tracker-common.h"
#include "libtracker-data/tracker-data-manager.h"
#include "libtracker-data/tracker-db-interface.h"
#include "libtracker-sparql/tracker-sparql.h"
#include <gio/gunixinputstream.h>
#include <gio/gunixfdlist.h>


#define TRACKER_TYPE_STEROIDS (tracker_steroids_get_type ())
#define TRACKER_STEROIDS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_STEROIDS, TrackerSteroids))
#define TRACKER_STEROIDS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_STEROIDS, TrackerSteroidsClass))
#define TRACKER_IS_STEROIDS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_STEROIDS))
#define TRACKER_IS_STEROIDS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_STEROIDS))
#define TRACKER_STEROIDS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_STEROIDS, TrackerSteroidsClass))

typedef struct _TrackerSteroids TrackerSteroids;
typedef struct _TrackerSteroidsClass TrackerSteroidsClass;
typedef struct _TrackerSteroidsPrivate TrackerSteroidsPrivate;
enum  {
	TRACKER_STEROIDS_DUMMY_PROPERTY,
	TRACKER_STEROIDS_LAST_PROPERTY
};
static GParamSpec* tracker_steroids_properties[TRACKER_STEROIDS_LAST_PROPERTY];
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block5Data Block5Data;
typedef struct _Block6Data Block6Data;

#define TRACKER_STORE_TYPE_PRIORITY (tracker_store_priority_get_type ())
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
typedef struct _TrackerSteroidsQueryData TrackerSteroidsQueryData;
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
typedef struct _TrackerSteroidsUpdateInternalData TrackerSteroidsUpdateInternalData;
typedef struct _TrackerSteroidsUpdateData TrackerSteroidsUpdateData;
typedef struct _TrackerSteroidsBatchUpdateData TrackerSteroidsBatchUpdateData;
typedef struct _TrackerSteroidsUpdateBlankData TrackerSteroidsUpdateBlankData;
typedef struct _TrackerSteroidsBatchUpdateBlankData TrackerSteroidsBatchUpdateBlankData;
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
#define _g_variant_builder_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))
typedef struct _TrackerSteroidsUpdateArrayData TrackerSteroidsUpdateArrayData;

struct _TrackerSteroids {
	GObject parent_instance;
	TrackerSteroidsPrivate * priv;
};

struct _TrackerSteroidsClass {
	GObjectClass parent_class;
};

struct _Block5Data {
	int _ref_count_;
	TrackerSteroids* self;
	GUnixOutputStream* output_stream;
	gpointer _async_data_;
};

struct _Block6Data {
	int _ref_count_;
	Block5Data * _data5_;
	gchar** variable_names;
	gint variable_names_length1;
	gint _variable_names_size_;
};

typedef enum  {
	TRACKER_STORE_PRIORITY_HIGH,
	TRACKER_STORE_PRIORITY_LOW,
	TRACKER_STORE_PRIORITY_TURTLE,
	TRACKER_STORE_PRIORITY_N_PRIORITIES
} TrackerStorePriority;

typedef void (*TrackerStoreSparqlQueryInThread) (TrackerDBCursor* cursor, void* user_data, GError** error);
struct _TrackerSteroidsQueryData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	gchar* query;
	GUnixOutputStream* output_stream;
	gchar** result;
	gint result_length1;
	Block5Data* _data5_;
	GUnixOutputStream* _tmp0_;
	TrackerDBusRequest* request;
	const char* _tmp1_;
	TrackerDBusRequest* _tmp2_;
	const gchar* _tmp3_;
	Block6Data* _data6_;
	TrackerDataManager* data_manager;
	TrackerDataManager* _tmp4_;
	TrackerDataManager* _tmp5_;
	const gchar* _tmp6_;
	const char* _tmp7_;
	gchar** _tmp8_;
	gint _tmp8__length1;
	gchar** _tmp9_;
	gint _tmp9__length1;
	GError* e;
	GError* _tmp10_;
	GError* _tmp11_;
	GError* _tmp12_;
	GError* _tmp13_;
	GError* _tmp14_;
	const gchar* _tmp15_;
	GError* _tmp16_;
	GError * _inner_error_;
};

struct _TrackerSteroidsUpdateInternalData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	TrackerStorePriority priority;
	gboolean blank;
	GUnixInputStream* input_stream;
	GVariant* result;
	const gchar* _tmp0_;
	TrackerStorePriority _tmp1_;
	const gchar* _tmp2_;
	gboolean _tmp3_;
	TrackerDBusRequest* request;
	const char* _tmp4_;
	TrackerDBusRequest* _tmp5_;
	gsize bytes_read;
	GDataInputStream* data_input_stream;
	GUnixInputStream* _tmp6_;
	GDataInputStream* _tmp7_;
	GDataInputStream* _tmp8_;
	GDataInputStream* _tmp9_;
	gint query_size;
	GDataInputStream* _tmp10_;
	gint32 _tmp11_;
	guint8* query;
	gint _tmp12_;
	guint8* _tmp13_;
	gint query_length1;
	gint _query_size_;
	GDataInputStream* _tmp14_;
	guint8* _tmp15_;
	gint _tmp15__length1;
	gint _tmp16_;
	gsize _tmp17_;
	TrackerDBusRequest* _tmp18_;
	guint8* _tmp19_;
	gint _tmp19__length1;
	TrackerDataManager* data_manager;
	TrackerDataManager* _tmp20_;
	TrackerDataManager* _tmp21_;
	gboolean _tmp22_;
	TrackerDataManager* _tmp23_;
	guint8* _tmp24_;
	gint _tmp24__length1;
	TrackerStorePriority _tmp25_;
	const char* _tmp26_;
	TrackerDBusRequest* _tmp27_;
	GVariant* variant;
	TrackerDataManager* _tmp28_;
	guint8* _tmp29_;
	gint _tmp29__length1;
	TrackerStorePriority _tmp30_;
	const char* _tmp31_;
	GVariant* _tmp32_;
	TrackerDBusRequest* _tmp33_;
	GError* ie;
	GError* _tmp34_;
	const gchar* _tmp35_;
	GError* _tmp36_;
	GError* e;
	TrackerDBusRequest* _tmp37_;
	GError* _tmp38_;
	GError* _tmp39_;
	GError* _tmp40_;
	GError* _tmp41_;
	GError* _tmp42_;
	const gchar* _tmp43_;
	GError* _tmp44_;
	GError * _inner_error_;
};

struct _TrackerSteroidsUpdateData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	GUnixInputStream* input_stream;
	const char* _tmp0_;
	GUnixInputStream* _tmp1_;
	GVariant* _tmp2_;
	GVariant* _tmp3_;
	GError * _inner_error_;
};

struct _TrackerSteroidsBatchUpdateData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	GUnixInputStream* input_stream;
	const char* _tmp0_;
	GUnixInputStream* _tmp1_;
	GVariant* _tmp2_;
	GVariant* _tmp3_;
	GError * _inner_error_;
};

struct _TrackerSteroidsUpdateBlankData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	GUnixInputStream* input_stream;
	GVariant* result;
	GVariant* _tmp0_;
	const char* _tmp1_;
	GUnixInputStream* _tmp2_;
	GVariant* _tmp3_;
	GVariant* _tmp4_;
	GError * _inner_error_;
};

struct _TrackerSteroidsBatchUpdateBlankData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	GUnixInputStream* input_stream;
	GVariant* result;
	GVariant* _tmp0_;
	const char* _tmp1_;
	GUnixInputStream* _tmp2_;
	GVariant* _tmp3_;
	GVariant* _tmp4_;
	GError * _inner_error_;
};

struct _TrackerSteroidsUpdateArrayData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	GUnixInputStream* input_stream;
	GVariant* result;
	TrackerDBusRequest* request;
	const char* _tmp0_;
	TrackerDBusRequest* _tmp1_;
	GDataInputStream* data_input_stream;
	GUnixInputStream* _tmp2_;
	GDataInputStream* _tmp3_;
	GDataInputStream* _tmp4_;
	GDataInputStream* _tmp5_;
	gint query_count;
	GDataInputStream* _tmp6_;
	gint32 _tmp7_;
	GString* combined_query;
	GString* _tmp8_;
	gchar** query_array;
	gint _tmp9_;
	gchar** _tmp10_;
	gint query_array_length1;
	gint _query_array_size_;
	gint i;
	gboolean _tmp11_;
	gint _tmp12_;
	gint _tmp13_;
	gint _tmp14_;
	gsize bytes_read;
	gint query_size;
	GDataInputStream* _tmp15_;
	gint32 _tmp16_;
	gchar** _tmp17_;
	gint _tmp17__length1;
	gint _tmp18_;
	gint _tmp19_;
	guint8* _tmp20_;
	gchar* _tmp21_;
	GDataInputStream* _tmp22_;
	gchar** _tmp23_;
	gint _tmp23__length1;
	gint _tmp24_;
	const gchar* _tmp25_;
	gint _tmp26_;
	gsize _tmp27_;
	TrackerDBusRequest* _tmp28_;
	gchar** _tmp29_;
	gint _tmp29__length1;
	gint _tmp30_;
	const gchar* _tmp31_;
	GString* _tmp32_;
	gchar** _tmp33_;
	gint _tmp33__length1;
	gint _tmp34_;
	const gchar* _tmp35_;
	GVariantBuilder* builder;
	GVariantBuilder* _tmp36_;
	TrackerDataManager* data_manager;
	TrackerDataManager* _tmp37_;
	TrackerDataManager* _tmp38_;
	TrackerDataManager* _tmp39_;
	GString* _tmp40_;
	const gchar* _tmp41_;
	const char* _tmp42_;
	gboolean _tmp43_;
	gint _tmp44_;
	gint _tmp45_;
	gint _tmp46_;
	GVariantBuilder* _tmp47_;
	GVariantBuilder* _tmp48_;
	TrackerDBusRequest* _tmp49_;
	GVariantBuilder* _tmp50_;
	GVariant* _tmp51_;
	gboolean _tmp52_;
	gint _tmp53_;
	gint _tmp54_;
	gint _tmp55_;
	TrackerDBusRequest* _tmp56_;
	gchar** _tmp57_;
	gint _tmp57__length1;
	gint _tmp58_;
	const gchar* _tmp59_;
	TrackerDataManager* _tmp60_;
	gchar** _tmp61_;
	gint _tmp61__length1;
	gint _tmp62_;
	const gchar* _tmp63_;
	const char* _tmp64_;
	GVariantBuilder* _tmp65_;
	GVariantBuilder* _tmp66_;
	GError* e1;
	GVariantBuilder* _tmp67_;
	GVariantBuilder* _tmp68_;
	GError* _tmp69_;
	const gchar* _tmp70_;
	TrackerDBusRequest* _tmp71_;
	GVariantBuilder* _tmp72_;
	GVariant* _tmp73_;
	GError* e;
	TrackerDBusRequest* _tmp74_;
	GError* _tmp75_;
	GError* _tmp76_;
	GError* _tmp77_;
	GError* _tmp78_;
	GError* _tmp79_;
	const gchar* _tmp80_;
	GError* _tmp81_;
	GError * _inner_error_;
};


static gpointer tracker_steroids_parent_class = NULL;

GType tracker_steroids_get_type (void) G_GNUC_CONST;
guint tracker_steroids_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
#define TRACKER_STEROIDS_PATH "/org/freedesktop/Tracker1/Steroids"
#define TRACKER_STEROIDS_BUFFER_SIZE 65536
static void tracker_steroids_query_data_free (gpointer _data);
void tracker_steroids_query (TrackerSteroids* self, const char* sender, const gchar* query, GUnixOutputStream* output_stream, GAsyncReadyCallback _callback_, gpointer _user_data_);
gchar** tracker_steroids_query_finish (TrackerSteroids* self, GAsyncResult* _res_, int* result_length1, GError** error);
static gboolean tracker_steroids_query_co (TrackerSteroidsQueryData* _data_);
static Block5Data* block5_data_ref (Block5Data* _data5_);
static void block5_data_unref (void * _userdata_);
static Block6Data* block6_data_ref (Block6Data* _data6_);
static void block6_data_unref (void * _userdata_);
TrackerDataManager* tracker_main_get_data_manager (void);
GType tracker_store_priority_get_type (void) G_GNUC_CONST;
void tracker_store_sparql_query (TrackerDataManager* manager, const gchar* sparql, TrackerStorePriority priority, TrackerStoreSparqlQueryInThread in_thread, void* in_thread_target, const gchar* client_id, GAsyncReadyCallback _callback_, gpointer _user_data_);
void tracker_store_sparql_query_finish (GAsyncResult* _res_, GError** error);
static void ___lambda11_ (Block6Data* _data6_, TrackerDBCursor* cursor, GError** error);
static void ____lambda11__tracker_store_sparql_query_in_thread (TrackerDBCursor* cursor, gpointer self, GError** error);
static void tracker_steroids_query_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static gchar** _vala_array_dup1 (gchar** self, int length);
static void tracker_steroids_update_internal_data_free (gpointer _data);
static void tracker_steroids_update_internal (TrackerSteroids* self, const char* sender, TrackerStorePriority priority, gboolean blank, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_);
static GVariant* tracker_steroids_update_internal_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error);
static gboolean tracker_steroids_update_internal_co (TrackerSteroidsUpdateInternalData* _data_);
void tracker_store_sparql_update (TrackerDataManager* manager, const gchar* sparql, TrackerStorePriority priority, const gchar* client_id, GAsyncReadyCallback _callback_, gpointer _user_data_);
void tracker_store_sparql_update_finish (GAsyncResult* _res_, GError** error);
static void tracker_steroids_update_internal_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void tracker_store_sparql_update_blank (TrackerDataManager* manager, const gchar* sparql, TrackerStorePriority priority, const gchar* client_id, GAsyncReadyCallback _callback_, gpointer _user_data_);
GVariant* tracker_store_sparql_update_blank_finish (GAsyncResult* _res_, GError** error);
static void tracker_steroids_update_data_free (gpointer _data);
void tracker_steroids_update (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_);
void tracker_steroids_update_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error);
static gboolean tracker_steroids_update_co (TrackerSteroidsUpdateData* _data_);
static void tracker_steroids_update_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void tracker_steroids_batch_update_data_free (gpointer _data);
void tracker_steroids_batch_update (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_);
void tracker_steroids_batch_update_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error);
static gboolean tracker_steroids_batch_update_co (TrackerSteroidsBatchUpdateData* _data_);
static void tracker_steroids_batch_update_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void tracker_steroids_update_blank_data_free (gpointer _data);
void tracker_steroids_update_blank (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_);
GVariant* tracker_steroids_update_blank_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error);
static gboolean tracker_steroids_update_blank_co (TrackerSteroidsUpdateBlankData* _data_);
static void tracker_steroids_update_blank_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void tracker_steroids_batch_update_blank_data_free (gpointer _data);
void tracker_steroids_batch_update_blank (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_);
GVariant* tracker_steroids_batch_update_blank_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error);
static gboolean tracker_steroids_batch_update_blank_co (TrackerSteroidsBatchUpdateBlankData* _data_);
static void tracker_steroids_batch_update_blank_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void tracker_steroids_update_array_data_free (gpointer _data);
void tracker_steroids_update_array (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_);
GVariant* tracker_steroids_update_array_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error);
static gboolean tracker_steroids_update_array_co (TrackerSteroidsUpdateArrayData* _data_);
static void tracker_steroids_update_array_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
TrackerSteroids* tracker_steroids_new (void);
TrackerSteroids* tracker_steroids_construct (GType object_type);
static void _dbus_tracker_steroids_query (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_tracker_steroids_query_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void _dbus_tracker_steroids_update (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_tracker_steroids_update_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void _dbus_tracker_steroids_batch_update (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_tracker_steroids_batch_update_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void _dbus_tracker_steroids_update_blank (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_tracker_steroids_update_blank_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void _dbus_tracker_steroids_batch_update_blank (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_tracker_steroids_batch_update_blank_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void _dbus_tracker_steroids_update_array (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation);
static void _dbus_tracker_steroids_update_array_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_);
static void tracker_steroids_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data);
static GVariant* tracker_steroids_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data);
static gboolean tracker_steroids_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data);
static void _tracker_steroids_unregister_object (gpointer user_data);
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 const GDBusArgInfo _tracker_steroids_dbus_arg_info_query_query = {-1, "query", "s"};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_query_output_stream = {-1, "output_stream", "h"};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_query_result = {-1, "result", "as"};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_query_in[] = {&_tracker_steroids_dbus_arg_info_query_query, &_tracker_steroids_dbus_arg_info_query_output_stream, NULL};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_query_out[] = {&_tracker_steroids_dbus_arg_info_query_result, NULL};
static const GDBusMethodInfo _tracker_steroids_dbus_method_info_query = {-1, "Query", (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_query_in), (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_query_out)};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_update_input_stream = {-1, "input_stream", "h"};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_update_in[] = {&_tracker_steroids_dbus_arg_info_update_input_stream, NULL};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_update_out[] = {NULL};
static const GDBusMethodInfo _tracker_steroids_dbus_method_info_update = {-1, "Update", (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_update_in), (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_update_out)};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_batch_update_input_stream = {-1, "input_stream", "h"};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_batch_update_in[] = {&_tracker_steroids_dbus_arg_info_batch_update_input_stream, NULL};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_batch_update_out[] = {NULL};
static const GDBusMethodInfo _tracker_steroids_dbus_method_info_batch_update = {-1, "BatchUpdate", (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_batch_update_in), (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_batch_update_out)};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_update_blank_input_stream = {-1, "input_stream", "h"};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_update_blank_result = {-1, "result", "aaa{ss}"};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_update_blank_in[] = {&_tracker_steroids_dbus_arg_info_update_blank_input_stream, NULL};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_update_blank_out[] = {&_tracker_steroids_dbus_arg_info_update_blank_result, NULL};
static const GDBusMethodInfo _tracker_steroids_dbus_method_info_update_blank = {-1, "UpdateBlank", (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_update_blank_in), (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_update_blank_out)};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_batch_update_blank_input_stream = {-1, "input_stream", "h"};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_batch_update_blank_result = {-1, "result", "aaa{ss}"};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_batch_update_blank_in[] = {&_tracker_steroids_dbus_arg_info_batch_update_blank_input_stream, NULL};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_batch_update_blank_out[] = {&_tracker_steroids_dbus_arg_info_batch_update_blank_result, NULL};
static const GDBusMethodInfo _tracker_steroids_dbus_method_info_batch_update_blank = {-1, "BatchUpdateBlank", (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_batch_update_blank_in), (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_batch_update_blank_out)};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_update_array_input_stream = {-1, "input_stream", "h"};
static const GDBusArgInfo _tracker_steroids_dbus_arg_info_update_array_result = {-1, "result", "as"};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_update_array_in[] = {&_tracker_steroids_dbus_arg_info_update_array_input_stream, NULL};
static const GDBusArgInfo * const _tracker_steroids_dbus_arg_info_update_array_out[] = {&_tracker_steroids_dbus_arg_info_update_array_result, NULL};
static const GDBusMethodInfo _tracker_steroids_dbus_method_info_update_array = {-1, "UpdateArray", (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_update_array_in), (GDBusArgInfo **) (&_tracker_steroids_dbus_arg_info_update_array_out)};
static const GDBusMethodInfo * const _tracker_steroids_dbus_method_info[] = {&_tracker_steroids_dbus_method_info_query, &_tracker_steroids_dbus_method_info_update, &_tracker_steroids_dbus_method_info_batch_update, &_tracker_steroids_dbus_method_info_update_blank, &_tracker_steroids_dbus_method_info_batch_update_blank, &_tracker_steroids_dbus_method_info_update_array, NULL};
static const GDBusSignalInfo * const _tracker_steroids_dbus_signal_info[] = {NULL};
static const GDBusPropertyInfo * const _tracker_steroids_dbus_property_info[] = {NULL};
static const GDBusInterfaceInfo _tracker_steroids_dbus_interface_info = {-1, "org.freedesktop.Tracker1.Steroids", (GDBusMethodInfo **) (&_tracker_steroids_dbus_method_info), (GDBusSignalInfo **) (&_tracker_steroids_dbus_signal_info), (GDBusPropertyInfo **) (&_tracker_steroids_dbus_property_info)};
static const GDBusInterfaceVTable _tracker_steroids_dbus_interface_vtable = {tracker_steroids_dbus_interface_method_call, tracker_steroids_dbus_interface_get_property, tracker_steroids_dbus_interface_set_property};

static void tracker_steroids_query_data_free (gpointer _data) {
	TrackerSteroidsQueryData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->query);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = (_vala_array_free (_data_->result, _data_->result_length1, (GDestroyNotify) g_free), NULL);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_slice_free (TrackerSteroidsQueryData, _data_);
#line 520 "tracker-steroids.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return self ? g_object_ref (self) : NULL;
#line 527 "tracker-steroids.c"
}


void tracker_steroids_query (TrackerSteroids* self, const char* sender, const gchar* query, GUnixOutputStream* output_stream, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerSteroidsQueryData* _data_;
	TrackerSteroids* _tmp0_;
	const char* _tmp1_;
	char* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	GUnixOutputStream* _tmp5_;
	GUnixOutputStream* _tmp6_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_slice_new0 (TrackerSteroidsQueryData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_set_task_data (_data_->_async_result, _data_, tracker_steroids_query_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = sender;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->sender = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = query;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->query);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->query = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp5_ = output_stream;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->output_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->output_stream = _tmp6_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_query_co (_data_);
#line 576 "tracker-steroids.c"
}


gchar** tracker_steroids_query_finish (TrackerSteroids* self, GAsyncResult* _res_, int* result_length1, GError** error) {
	gchar** result;
	TrackerSteroidsQueryData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (NULL == _data_) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return NULL;
#line 589 "tracker-steroids.c"
	}
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	result = _data_->result;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	*result_length1 = _data_->result_length1;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return result;
#line 599 "tracker-steroids.c"
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return _data5_;
#line 608 "tracker-steroids.c"
}


static void block5_data_unref (void * _userdata_) {
	Block5Data* _data5_;
	_data5_ = (Block5Data*) _userdata_;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 617 "tracker-steroids.c"
		TrackerSteroids* self;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		self = _data5_->self;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data5_->output_stream);
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (self);
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_slice_free (Block5Data, _data5_);
#line 627 "tracker-steroids.c"
	}
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return _data6_;
#line 637 "tracker-steroids.c"
}


static void block6_data_unref (void * _userdata_) {
	Block6Data* _data6_;
	_data6_ = (Block6Data*) _userdata_;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 646 "tracker-steroids.c"
		TrackerSteroids* self;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		self = _data6_->_data5_->self;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data6_->variable_names = (_vala_array_free (_data6_->variable_names, _data6_->variable_names_length1, (GDestroyNotify) g_free), NULL);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		block5_data_unref (_data6_->_data5_);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data6_->_data5_ = NULL;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_slice_free (Block6Data, _data6_);
#line 658 "tracker-steroids.c"
	}
}


static void ___lambda11_ (Block6Data* _data6_, TrackerDBCursor* cursor, GError** error) {
	Block5Data* _data5_;
	TrackerSteroids* self;
	GDataOutputStream* data_output_stream = NULL;
	GUnixOutputStream* _tmp0_;
	GBufferedOutputStream* _tmp1_;
	GBufferedOutputStream* _tmp2_;
	GDataOutputStream* _tmp3_;
	GDataOutputStream* _tmp4_;
	GDataOutputStream* _tmp5_;
	gint n_columns = 0;
	TrackerDBCursor* _tmp6_;
	gint _tmp7_;
	gint _tmp8_;
	gint* column_sizes = NULL;
	gint _tmp9_;
	gint* _tmp10_;
	gint column_sizes_length1;
	gint _column_sizes_size_;
	gint* column_offsets = NULL;
	gint _tmp11_;
	gint* _tmp12_;
	gint column_offsets_length1;
	gint _column_offsets_size_;
	gchar** column_data = NULL;
	gint _tmp13_;
	gchar** _tmp14_;
	gint column_data_length1;
	gint _column_data_size_;
	gint _tmp15_;
	gchar** _tmp16_;
	GError * _inner_error_ = NULL;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data5_ = _data6_->_data5_;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	self = _data5_->self;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_return_if_fail (cursor != NULL);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _data5_->output_stream;
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = (GBufferedOutputStream*) g_buffered_output_stream_new_sized ((GOutputStream*) _tmp0_, (gsize) TRACKER_STEROIDS_BUFFER_SIZE);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = _tmp1_;
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = g_data_output_stream_new ((GOutputStream*) _tmp2_);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = _tmp3_;
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_tmp2_);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	data_output_stream = _tmp4_;
#line 36 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp5_ = data_output_stream;
#line 36 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_data_output_stream_set_byte_order (_tmp5_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp6_ = cursor;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp7_ = tracker_sparql_cursor_get_n_columns ((TrackerSparqlCursor*) _tmp6_);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp8_ = _tmp7_;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	n_columns = _tmp8_;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp9_ = n_columns;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp10_ = g_new0 (gint, _tmp9_);
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_sizes = _tmp10_;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_sizes_length1 = _tmp9_;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_column_sizes_size_ = column_sizes_length1;
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp11_ = n_columns;
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp12_ = g_new0 (gint, _tmp11_);
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_offsets = _tmp12_;
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_offsets_length1 = _tmp11_;
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_column_offsets_size_ = column_offsets_length1;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp13_ = n_columns;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp14_ = g_new0 (gchar*, _tmp13_ + 1);
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_data = _tmp14_;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_data_length1 = _tmp13_;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_column_data_size_ = column_data_length1;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp15_ = n_columns;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp16_ = g_new0 (gchar*, _tmp15_ + 1);
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data6_->variable_names = (_vala_array_free (_data6_->variable_names, _data6_->variable_names_length1, (GDestroyNotify) g_free), NULL);
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data6_->variable_names = _tmp16_;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data6_->variable_names_length1 = _tmp15_;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data6_->_variable_names_size_ = _data6_->variable_names_length1;
#line 769 "tracker-steroids.c"
	{
		gint i = 0;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		i = 0;
#line 774 "tracker-steroids.c"
		{
			gboolean _tmp17_ = FALSE;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_tmp17_ = TRUE;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			while (TRUE) {
#line 781 "tracker-steroids.c"
				gint _tmp19_;
				gint _tmp20_;
				gint _tmp21_;
				TrackerDBCursor* _tmp22_;
				gint _tmp23_;
				const gchar* _tmp24_;
				gchar* _tmp25_;
				gchar* _tmp26_;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!_tmp17_) {
#line 792 "tracker-steroids.c"
					gint _tmp18_;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp18_ = i;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					i = _tmp18_ + 1;
#line 798 "tracker-steroids.c"
				}
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp17_ = FALSE;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp19_ = i;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp20_ = n_columns;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!(_tmp19_ < _tmp20_)) {
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					break;
#line 810 "tracker-steroids.c"
				}
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp21_ = i;
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp22_ = cursor;
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp23_ = i;
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp24_ = tracker_sparql_cursor_get_variable_name ((TrackerSparqlCursor*) _tmp22_, _tmp23_);
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp25_ = g_strdup (_tmp24_);
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_free0 (_data6_->variable_names[_tmp21_]);
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data6_->variable_names[_tmp21_] = _tmp25_;
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp26_ = _data6_->variable_names[_tmp21_];
#line 828 "tracker-steroids.c"
			}
		}
	}
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	while (TRUE) {
#line 834 "tracker-steroids.c"
		gboolean _tmp27_ = FALSE;
		TrackerDBCursor* _tmp28_;
		gboolean _tmp29_;
		gint last_offset = 0;
		GDataOutputStream* _tmp58_;
		gint _tmp59_;
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp28_ = cursor;
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp29_ = tracker_sparql_cursor_next ((TrackerSparqlCursor*) _tmp28_, NULL, &_inner_error_);
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp27_ = _tmp29_;
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_propagate_error (error, _inner_error_);
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			column_data = (_vala_array_free (column_data, column_data_length1, (GDestroyNotify) g_free), NULL);
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			column_offsets = (g_free (column_offsets), NULL);
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			column_sizes = (g_free (column_sizes), NULL);
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (data_output_stream);
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return;
#line 861 "tracker-steroids.c"
		}
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (!_tmp27_) {
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			break;
#line 867 "tracker-steroids.c"
		}
#line 50 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		last_offset = -1;
#line 871 "tracker-steroids.c"
		{
			gint i = 0;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 876 "tracker-steroids.c"
			{
				gboolean _tmp30_ = FALSE;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp30_ = TRUE;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 883 "tracker-steroids.c"
					gint _tmp32_;
					gint _tmp33_;
					const gchar* str = NULL;
					TrackerDBCursor* _tmp34_;
					gint _tmp35_;
					const gchar* _tmp36_;
					gint _tmp37_ = 0;
					const gchar* _tmp38_;
					gint* _tmp42_;
					gint _tmp42__length1;
					gint _tmp43_;
					gint _tmp44_;
					gchar** _tmp45_;
					gint _tmp45__length1;
					gint _tmp46_;
					const gchar* _tmp47_;
					gchar* _tmp48_;
					gchar* _tmp49_;
					gint _tmp50_;
					gint* _tmp51_;
					gint _tmp51__length1;
					gint _tmp52_;
					gint _tmp53_;
					gint* _tmp54_;
					gint _tmp54__length1;
					gint _tmp55_;
					gint _tmp56_;
					gint _tmp57_;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp30_) {
#line 914 "tracker-steroids.c"
						gint _tmp31_;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp31_ = i;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp31_ + 1;
#line 920 "tracker-steroids.c"
					}
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp30_ = FALSE;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp32_ = i;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp33_ = n_columns;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp32_ < _tmp33_)) {
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 932 "tracker-steroids.c"
					}
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp34_ = cursor;
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp35_ = i;
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp36_ = tracker_sparql_cursor_get_string ((TrackerSparqlCursor*) _tmp34_, _tmp35_, NULL);
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					str = _tmp36_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp38_ = str;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (_tmp38_ != NULL) {
#line 946 "tracker-steroids.c"
						const gchar* _tmp39_;
						gint _tmp40_;
						gint _tmp41_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp39_ = str;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp40_ = strlen (_tmp39_);
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp41_ = _tmp40_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp37_ = _tmp41_;
#line 958 "tracker-steroids.c"
					} else {
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp37_ = 0;
#line 962 "tracker-steroids.c"
					}
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp42_ = column_sizes;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp42__length1 = column_sizes_length1;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp43_ = i;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp42_[_tmp43_] = _tmp37_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp44_ = _tmp42_[_tmp43_];
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp45_ = column_data;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp45__length1 = column_data_length1;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp46_ = i;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp47_ = str;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp48_ = g_strdup (_tmp47_);
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_free0 (_tmp45_[_tmp46_]);
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp45_[_tmp46_] = _tmp48_;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp49_ = _tmp45_[_tmp46_];
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp50_ = last_offset;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp51_ = column_sizes;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp51__length1 = column_sizes_length1;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp52_ = i;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp53_ = _tmp51_[_tmp52_];
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					last_offset = _tmp50_ + (_tmp53_ + 1);
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp54_ = column_offsets;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp54__length1 = column_offsets_length1;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp55_ = i;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp56_ = last_offset;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp54_[_tmp55_] = _tmp56_;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp57_ = _tmp54_[_tmp55_];
#line 1014 "tracker-steroids.c"
				}
			}
		}
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp58_ = data_output_stream;
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp59_ = n_columns;
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_data_output_stream_put_int32 (_tmp58_, (gint32) _tmp59_, NULL, &_inner_error_);
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_propagate_error (error, _inner_error_);
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			column_data = (_vala_array_free (column_data, column_data_length1, (GDestroyNotify) g_free), NULL);
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			column_offsets = (g_free (column_offsets), NULL);
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			column_sizes = (g_free (column_sizes), NULL);
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (data_output_stream);
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return;
#line 1038 "tracker-steroids.c"
		}
		{
			gint i = 0;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 1044 "tracker-steroids.c"
			{
				gboolean _tmp60_ = FALSE;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp60_ = TRUE;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 1051 "tracker-steroids.c"
					gint _tmp62_;
					gint _tmp63_;
					GDataOutputStream* _tmp64_;
					TrackerDBCursor* _tmp65_;
					gint _tmp66_;
					TrackerSparqlValueType _tmp67_;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp60_) {
#line 1060 "tracker-steroids.c"
						gint _tmp61_;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp61_ = i;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp61_ + 1;
#line 1066 "tracker-steroids.c"
					}
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp60_ = FALSE;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp62_ = i;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp63_ = n_columns;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp62_ < _tmp63_)) {
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 1078 "tracker-steroids.c"
					}
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp64_ = data_output_stream;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp65_ = cursor;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp66_ = i;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp67_ = tracker_sparql_cursor_get_value_type ((TrackerSparqlCursor*) _tmp65_, _tmp66_);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_int32 (_tmp64_, (gint32) ((gint) _tmp67_), NULL, &_inner_error_);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						g_propagate_error (error, _inner_error_);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_data = (_vala_array_free (column_data, column_data_length1, (GDestroyNotify) g_free), NULL);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_offsets = (g_free (column_offsets), NULL);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_sizes = (g_free (column_sizes), NULL);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_g_object_unref0 (data_output_stream);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						return;
#line 1104 "tracker-steroids.c"
					}
				}
			}
		}
		{
			gint i = 0;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 1113 "tracker-steroids.c"
			{
				gboolean _tmp68_ = FALSE;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp68_ = TRUE;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 1120 "tracker-steroids.c"
					gint _tmp70_;
					gint _tmp71_;
					GDataOutputStream* _tmp72_;
					gint* _tmp73_;
					gint _tmp73__length1;
					gint _tmp74_;
					gint _tmp75_;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp68_) {
#line 1130 "tracker-steroids.c"
						gint _tmp69_;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp69_ = i;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp69_ + 1;
#line 1136 "tracker-steroids.c"
					}
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp68_ = FALSE;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp70_ = i;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp71_ = n_columns;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp70_ < _tmp71_)) {
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 1148 "tracker-steroids.c"
					}
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp72_ = data_output_stream;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp73_ = column_offsets;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp73__length1 = column_offsets_length1;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp74_ = i;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp75_ = _tmp73_[_tmp74_];
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_int32 (_tmp72_, (gint32) _tmp75_, NULL, &_inner_error_);
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						g_propagate_error (error, _inner_error_);
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_data = (_vala_array_free (column_data, column_data_length1, (GDestroyNotify) g_free), NULL);
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_offsets = (g_free (column_offsets), NULL);
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_sizes = (g_free (column_sizes), NULL);
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_g_object_unref0 (data_output_stream);
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						return;
#line 1176 "tracker-steroids.c"
					}
				}
			}
		}
		{
			gint i = 0;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 1185 "tracker-steroids.c"
			{
				gboolean _tmp76_ = FALSE;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp76_ = TRUE;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 1192 "tracker-steroids.c"
					gint _tmp78_;
					gint _tmp79_;
					const gchar* _tmp80_ = NULL;
					gchar** _tmp81_;
					gint _tmp81__length1;
					gint _tmp82_;
					const gchar* _tmp83_;
					GDataOutputStream* _tmp87_;
					GDataOutputStream* _tmp88_;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp76_) {
#line 1204 "tracker-steroids.c"
						gint _tmp77_;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp77_ = i;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp77_ + 1;
#line 1210 "tracker-steroids.c"
					}
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp76_ = FALSE;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp78_ = i;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp79_ = n_columns;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp78_ < _tmp79_)) {
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 1222 "tracker-steroids.c"
					}
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp81_ = column_data;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp81__length1 = column_data_length1;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp82_ = i;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp83_ = _tmp81_[_tmp82_];
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (_tmp83_ != NULL) {
#line 1234 "tracker-steroids.c"
						gchar** _tmp84_;
						gint _tmp84__length1;
						gint _tmp85_;
						const gchar* _tmp86_;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp84_ = column_data;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp84__length1 = column_data_length1;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp85_ = i;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp86_ = _tmp84_[_tmp85_];
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp80_ = _tmp86_;
#line 1249 "tracker-steroids.c"
					} else {
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp80_ = "";
#line 1253 "tracker-steroids.c"
					}
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp87_ = data_output_stream;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_string (_tmp87_, _tmp80_, NULL, &_inner_error_);
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						g_propagate_error (error, _inner_error_);
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_data = (_vala_array_free (column_data, column_data_length1, (GDestroyNotify) g_free), NULL);
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_offsets = (g_free (column_offsets), NULL);
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_sizes = (g_free (column_sizes), NULL);
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_g_object_unref0 (data_output_stream);
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						return;
#line 1273 "tracker-steroids.c"
					}
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp88_ = data_output_stream;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_byte (_tmp88_, (guint8) 0, NULL, &_inner_error_);
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						g_propagate_error (error, _inner_error_);
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_data = (_vala_array_free (column_data, column_data_length1, (GDestroyNotify) g_free), NULL);
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_offsets = (g_free (column_offsets), NULL);
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						column_sizes = (g_free (column_sizes), NULL);
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_g_object_unref0 (data_output_stream);
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						return;
#line 1293 "tracker-steroids.c"
					}
				}
			}
		}
	}
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_data = (_vala_array_free (column_data, column_data_length1, (GDestroyNotify) g_free), NULL);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_offsets = (g_free (column_offsets), NULL);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_sizes = (g_free (column_sizes), NULL);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (data_output_stream);
#line 1307 "tracker-steroids.c"
}


static void ____lambda11__tracker_store_sparql_query_in_thread (TrackerDBCursor* cursor, gpointer self, GError** error) {
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	___lambda11_ (self, cursor, error);
#line 1314 "tracker-steroids.c"
}


static void tracker_steroids_query_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerSteroidsQueryData* _data_;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = _user_data_;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_source_object_ = source_object;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_res_ = _res_;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_query_co (_data_);
#line 1328 "tracker-steroids.c"
}


static gchar** _vala_array_dup1 (gchar** self, int length) {
	gchar** result;
	int i;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	result = g_new0 (gchar*, length + 1);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	for (i = 0; i < length; i++) {
#line 1339 "tracker-steroids.c"
		gchar* _tmp0_;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp0_ = g_strdup (self[i]);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		result[i] = _tmp0_;
#line 1345 "tracker-steroids.c"
	}
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return result;
#line 1349 "tracker-steroids.c"
}


static gpointer _g_error_copy0 (gpointer self) {
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return self ? g_error_copy (self) : NULL;
#line 1356 "tracker-steroids.c"
}


static gboolean tracker_steroids_query_co (TrackerSteroidsQueryData* _data_) {
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	switch (_data_->_state_) {
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 0:
#line 1365 "tracker-steroids.c"
		goto _state_0;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 1369 "tracker-steroids.c"
		goto _state_1;
		default:
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_assert_not_reached ();
#line 1374 "tracker-steroids.c"
	}
	_state_0:
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_data5_ = g_slice_new0 (Block5Data);
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_data5_->_ref_count_ = 1;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_data5_->self = g_object_ref (_data_->self);
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = _data_->output_stream;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->_data5_->output_stream);
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_data5_->output_stream = _data_->_tmp0_;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_data5_->_async_data_ = _data_;
#line 28 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = _data_->sender;
#line 28 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = tracker_dbus_request_begin ((const gchar*) _data_->_tmp1_, "Steroids.Query", NULL);
#line 28 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->request = _data_->_tmp2_;
#line 29 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp3_ = _data_->query;
#line 29 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_dbus_request_debug (_data_->request, "query: %s", _data_->_tmp3_, NULL);
#line 1401 "tracker-steroids.c"
	{
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data6_ = g_slice_new0 (Block6Data);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data6_->_ref_count_ = 1;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data6_->_data5_ = block5_data_ref (_data_->_data5_);
#line 31 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data6_->variable_names = NULL;
#line 31 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data6_->variable_names_length1 = 0;
#line 31 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data6_->_variable_names_size_ = _data_->_data6_->variable_names_length1;
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp4_ = tracker_main_get_data_manager ();
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp5_ = _g_object_ref0 (_data_->_tmp4_);
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_manager = _data_->_tmp5_;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp6_ = _data_->query;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp7_ = _data_->sender;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_state_ = 1;
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_store_sparql_query (_data_->data_manager, _data_->_tmp6_, TRACKER_STORE_PRIORITY_HIGH, ____lambda11__tracker_store_sparql_query_in_thread, _data_->_data6_, (const gchar*) _data_->_tmp7_, tracker_steroids_query_ready, _data_);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 1431 "tracker-steroids.c"
		_state_1:
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_store_sparql_query_finish (_data_->_res_, &_data_->_inner_error_);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_manager);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			block6_data_unref (_data_->_data6_);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_data6_ = NULL;
#line 1443 "tracker-steroids.c"
			goto __catch14_g_error;
		}
#line 80 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->request, NULL);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp8_ = (_data_->_data6_->variable_names != NULL) ? _vala_array_dup1 (_data_->_data6_->variable_names, _data_->_data6_->variable_names_length1) : ((gpointer) _data_->_data6_->variable_names);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp8__length1 = _data_->_data6_->variable_names_length1;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp9_ = _data_->_tmp8_;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp9__length1 = _data_->_tmp8__length1;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->result_length1 = _data_->_tmp9__length1;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->result = _data_->_tmp9_;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data_->data_manager);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		block6_data_unref (_data_->_data6_);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data6_ = NULL;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		block5_data_unref (_data_->_data5_);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_data5_ = NULL;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_state_ != 0) {
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1478 "tracker-steroids.c"
			}
		}
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_object_unref (_data_->_async_result);
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 1485 "tracker-steroids.c"
	}
	goto __finally14;
	__catch14_g_error:
	{
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->e = _data_->_inner_error_;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_inner_error_ = NULL;
#line 84 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp10_ = _data_->e;
#line 84 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->request, _data_->_tmp10_);
#line 85 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp11_ = _data_->e;
#line 85 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_tmp11_->domain == TRACKER_SPARQL_ERROR) {
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp12_ = _data_->e;
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp13_ = _g_error_copy0 (_data_->_tmp12_);
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp13_;
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 1510 "tracker-steroids.c"
			goto __finally14;
		} else {
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp14_ = _data_->e;
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp15_ = _data_->_tmp14_->message;
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp16_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp15_);
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp16_;
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 1523 "tracker-steroids.c"
			goto __finally14;
		}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->e);
#line 1528 "tracker-steroids.c"
	}
	__finally14:
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	block5_data_unref (_data_->_data5_);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_data5_ = NULL;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_object_unref (_data_->_async_result);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 1541 "tracker-steroids.c"
}


static void tracker_steroids_update_internal_data_free (gpointer _data) {
	TrackerSteroidsUpdateInternalData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->result);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_slice_free (TrackerSteroidsUpdateInternalData, _data_);
#line 1558 "tracker-steroids.c"
}


static void tracker_steroids_update_internal (TrackerSteroids* self, const char* sender, TrackerStorePriority priority, gboolean blank, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerSteroidsUpdateInternalData* _data_;
	TrackerSteroids* _tmp0_;
	const char* _tmp1_;
	char* _tmp2_;
	TrackerStorePriority _tmp3_;
	gboolean _tmp4_;
	GUnixInputStream* _tmp5_;
	GUnixInputStream* _tmp6_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_slice_new0 (TrackerSteroidsUpdateInternalData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_set_task_data (_data_->_async_result, _data_, tracker_steroids_update_internal_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = sender;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->sender = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = priority;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->priority = _tmp3_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = blank;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->blank = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp5_ = input_stream;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->input_stream = _tmp6_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_internal_co (_data_);
#line 1607 "tracker-steroids.c"
}


static GVariant* tracker_steroids_update_internal_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error) {
	GVariant* result;
	TrackerSteroidsUpdateInternalData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (NULL == _data_) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return NULL;
#line 1620 "tracker-steroids.c"
	}
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	result = _data_->result;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return result;
#line 1628 "tracker-steroids.c"
}


static void tracker_steroids_update_internal_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerSteroidsUpdateInternalData* _data_;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = _user_data_;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_source_object_ = source_object;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_res_ = _res_;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_internal_co (_data_);
#line 1642 "tracker-steroids.c"
}


static gboolean tracker_steroids_update_internal_co (TrackerSteroidsUpdateInternalData* _data_) {
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	switch (_data_->_state_) {
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 0:
#line 1651 "tracker-steroids.c"
		goto _state_0;
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 1655 "tracker-steroids.c"
		goto _state_1;
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 2:
#line 1659 "tracker-steroids.c"
		goto _state_2;
		default:
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_assert_not_reached ();
#line 1664 "tracker-steroids.c"
	}
	_state_0:
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = _data_->priority;
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->_tmp1_ != TRACKER_STORE_PRIORITY_HIGH) {
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp0_ = "Batch";
#line 1673 "tracker-steroids.c"
	} else {
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp0_ = "";
#line 1677 "tracker-steroids.c"
	}
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp3_ = _data_->blank;
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->_tmp3_) {
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp2_ = "Blank";
#line 1685 "tracker-steroids.c"
	} else {
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp2_ = "";
#line 1689 "tracker-steroids.c"
	}
#line 94 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp4_ = _data_->sender;
#line 94 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp5_ = tracker_dbus_request_begin ((const gchar*) _data_->_tmp4_, "Steroids.%sUpdate%s", _data_->_tmp0_, _data_->_tmp2_, NULL);
#line 94 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->request = _data_->_tmp5_;
#line 1697 "tracker-steroids.c"
	{
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp6_ = _data_->input_stream;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp7_ = g_data_input_stream_new ((GInputStream*) _data_->_tmp6_);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_input_stream = _data_->_tmp7_;
#line 102 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp8_ = _data_->data_input_stream;
#line 102 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_buffered_input_stream_set_buffer_size ((GBufferedInputStream*) _data_->_tmp8_, (gsize) TRACKER_STEROIDS_BUFFER_SIZE);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp9_ = _data_->data_input_stream;
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_data_input_stream_set_byte_order (_data_->_tmp9_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp10_ = _data_->data_input_stream;
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp11_ = g_data_input_stream_read_int32 (_data_->_tmp10_, NULL, &_data_->_inner_error_);
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_size = (gint) _data_->_tmp11_;
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_input_stream);
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (g_error_matches (_data_->_inner_error_, TRACKER_DB_INTERFACE_ERROR, TRACKER_DB_NO_SPACE)) {
#line 1725 "tracker-steroids.c"
				goto __catch15_tracker_db_no_space;
			}
			goto __catch15_g_error;
		}
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp12_ = _data_->query_size;
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp13_ = g_new0 (guint8, _data_->_tmp12_ + 1);
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query = _data_->_tmp13_;
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_length1 = _data_->_tmp12_ + 1;
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_query_size_ = _data_->query_length1;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp14_ = _data_->data_input_stream;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp15_ = _data_->query;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp15__length1 = _data_->query_length1;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp16_ = _data_->query_size;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp17_ = 0UL;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_input_stream_read_all ((GInputStream*) _data_->_tmp14_, _data_->_tmp15_ + 0, (gsize) (_data_->_tmp16_ - 0), &_data_->_tmp17_, NULL, &_data_->_inner_error_);
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->bytes_read = _data_->_tmp17_;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->query = (g_free (_data_->query), NULL);
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_input_stream);
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (g_error_matches (_data_->_inner_error_, TRACKER_DB_INTERFACE_ERROR, TRACKER_DB_NO_SPACE)) {
#line 1762 "tracker-steroids.c"
				goto __catch15_tracker_db_no_space;
			}
			goto __catch15_g_error;
		}
#line 112 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data_->data_input_stream);
#line 112 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_input_stream = NULL;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp18_ = _data_->request;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp19_ = _data_->query;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp19__length1 = _data_->query_length1;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_debug (_data_->_tmp18_, "query: %s", (const gchar*) _data_->_tmp19_, NULL);
#line 115 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp20_ = tracker_main_get_data_manager ();
#line 115 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp21_ = _g_object_ref0 (_data_->_tmp20_);
#line 115 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_manager = _data_->_tmp21_;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp22_ = _data_->blank;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (!_data_->_tmp22_) {
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp23_ = _data_->data_manager;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp24_ = _data_->query;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp24__length1 = _data_->query_length1;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp25_ = _data_->priority;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp26_ = _data_->sender;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_state_ = 1;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_store_sparql_update (_data_->_tmp23_, (const gchar*) _data_->_tmp24_, _data_->_tmp25_, (const gchar*) _data_->_tmp26_, tracker_steroids_update_internal_ready, _data_);
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 1805 "tracker-steroids.c"
			_state_1:
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_store_sparql_update_finish (_data_->_res_, &_data_->_inner_error_);
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_object_unref0 (_data_->data_manager);
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->query = (g_free (_data_->query), NULL);
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_object_unref0 (_data_->data_input_stream);
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (g_error_matches (_data_->_inner_error_, TRACKER_DB_INTERFACE_ERROR, TRACKER_DB_NO_SPACE)) {
#line 1819 "tracker-steroids.c"
					goto __catch15_tracker_db_no_space;
				}
				goto __catch15_g_error;
			}
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp27_ = _data_->request;
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_dbus_request_end (_data_->_tmp27_, NULL);
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->result = NULL;
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_manager);
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->query = (g_free (_data_->query), NULL);
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_input_stream);
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (_data_->_state_ != 0) {
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1844 "tracker-steroids.c"
				}
			}
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_object_unref (_data_->_async_result);
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 1851 "tracker-steroids.c"
		} else {
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp28_ = _data_->data_manager;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp29_ = _data_->query;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp29__length1 = _data_->query_length1;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp30_ = _data_->priority;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp31_ = _data_->sender;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_state_ = 2;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_store_sparql_update_blank (_data_->_tmp28_, (const gchar*) _data_->_tmp29_, _data_->_tmp30_, (const gchar*) _data_->_tmp31_, tracker_steroids_update_internal_ready, _data_);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 1869 "tracker-steroids.c"
			_state_2:
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp32_ = tracker_store_sparql_update_blank_finish (_data_->_res_, &_data_->_inner_error_);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->variant = _data_->_tmp32_;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_object_unref0 (_data_->data_manager);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->query = (g_free (_data_->query), NULL);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_object_unref0 (_data_->data_input_stream);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (g_error_matches (_data_->_inner_error_, TRACKER_DB_INTERFACE_ERROR, TRACKER_DB_NO_SPACE)) {
#line 1885 "tracker-steroids.c"
					goto __catch15_tracker_db_no_space;
				}
				goto __catch15_g_error;
			}
#line 126 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp33_ = _data_->request;
#line 126 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_dbus_request_end (_data_->_tmp33_, NULL);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->result = _data_->variant;
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_manager);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->query = (g_free (_data_->query), NULL);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_input_stream);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (_data_->_state_ != 0) {
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 1910 "tracker-steroids.c"
				}
			}
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_object_unref (_data_->_async_result);
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 1917 "tracker-steroids.c"
		}
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data_->data_manager);
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query = (g_free (_data_->query), NULL);
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data_->data_input_stream);
#line 1925 "tracker-steroids.c"
	}
	goto __finally15;
	__catch15_tracker_db_no_space:
	{
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->ie = _data_->_inner_error_;
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_inner_error_ = NULL;
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp34_ = _data_->ie;
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp35_ = _data_->_tmp34_->message;
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp36_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_NO_SPACE, _data_->_tmp35_);
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_inner_error_ = _data_->_tmp36_;
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->ie);
#line 1944 "tracker-steroids.c"
		goto __finally15;
	}
	goto __finally15;
	__catch15_g_error:
	{
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->e = _data_->_inner_error_;
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_inner_error_ = NULL;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp37_ = _data_->request;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp38_ = _data_->e;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->_tmp37_, _data_->_tmp38_);
#line 134 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp39_ = _data_->e;
#line 134 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_tmp39_->domain == TRACKER_SPARQL_ERROR) {
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp40_ = _data_->e;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp41_ = _g_error_copy0 (_data_->_tmp40_);
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp41_;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 1972 "tracker-steroids.c"
			goto __finally15;
		} else {
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp42_ = _data_->e;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp43_ = _data_->_tmp42_->message;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp44_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp43_);
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp44_;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 1985 "tracker-steroids.c"
			goto __finally15;
		}
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->e);
#line 1990 "tracker-steroids.c"
	}
	__finally15:
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_object_unref (_data_->_async_result);
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 1999 "tracker-steroids.c"
}


static void tracker_steroids_update_data_free (gpointer _data) {
	TrackerSteroidsUpdateData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_slice_free (TrackerSteroidsUpdateData, _data_);
#line 2014 "tracker-steroids.c"
}


void tracker_steroids_update (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerSteroidsUpdateData* _data_;
	TrackerSteroids* _tmp0_;
	const char* _tmp1_;
	char* _tmp2_;
	GUnixInputStream* _tmp3_;
	GUnixInputStream* _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_slice_new0 (TrackerSteroidsUpdateData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_set_task_data (_data_->_async_result, _data_, tracker_steroids_update_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = sender;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->sender = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = input_stream;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->input_stream = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_co (_data_);
#line 2053 "tracker-steroids.c"
}


void tracker_steroids_update_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error) {
	TrackerSteroidsUpdateData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (NULL == _data_) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return;
#line 2065 "tracker-steroids.c"
	}
}


static void tracker_steroids_update_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerSteroidsUpdateData* _data_;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = _user_data_;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_source_object_ = source_object;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_res_ = _res_;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_co (_data_);
#line 2080 "tracker-steroids.c"
}


static gboolean tracker_steroids_update_co (TrackerSteroidsUpdateData* _data_) {
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	switch (_data_->_state_) {
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 0:
#line 2089 "tracker-steroids.c"
		goto _state_0;
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2093 "tracker-steroids.c"
		goto _state_1;
		default:
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_assert_not_reached ();
#line 2098 "tracker-steroids.c"
	}
	_state_0:
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = _data_->sender;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = _data_->input_stream;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_state_ = 1;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_internal (_data_->self, _data_->_tmp0_, TRACKER_STORE_PRIORITY_HIGH, FALSE, _data_->_tmp1_, tracker_steroids_update_ready, _data_);
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2111 "tracker-steroids.c"
	_state_1:
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = tracker_steroids_update_internal_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->_tmp3_);
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_object_unref (_data_->_async_result);
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 2127 "tracker-steroids.c"
	}
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->_state_ != 0) {
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2137 "tracker-steroids.c"
		}
	}
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_object_unref (_data_->_async_result);
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2144 "tracker-steroids.c"
}


static void tracker_steroids_batch_update_data_free (gpointer _data) {
	TrackerSteroidsBatchUpdateData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_slice_free (TrackerSteroidsBatchUpdateData, _data_);
#line 2159 "tracker-steroids.c"
}


void tracker_steroids_batch_update (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerSteroidsBatchUpdateData* _data_;
	TrackerSteroids* _tmp0_;
	const char* _tmp1_;
	char* _tmp2_;
	GUnixInputStream* _tmp3_;
	GUnixInputStream* _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_slice_new0 (TrackerSteroidsBatchUpdateData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_set_task_data (_data_->_async_result, _data_, tracker_steroids_batch_update_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = sender;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->sender = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = input_stream;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->input_stream = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_batch_update_co (_data_);
#line 2198 "tracker-steroids.c"
}


void tracker_steroids_batch_update_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error) {
	TrackerSteroidsBatchUpdateData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (NULL == _data_) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return;
#line 2210 "tracker-steroids.c"
	}
}


static void tracker_steroids_batch_update_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerSteroidsBatchUpdateData* _data_;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = _user_data_;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_source_object_ = source_object;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_res_ = _res_;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_batch_update_co (_data_);
#line 2225 "tracker-steroids.c"
}


static gboolean tracker_steroids_batch_update_co (TrackerSteroidsBatchUpdateData* _data_) {
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	switch (_data_->_state_) {
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 0:
#line 2234 "tracker-steroids.c"
		goto _state_0;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2238 "tracker-steroids.c"
		goto _state_1;
		default:
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_assert_not_reached ();
#line 2243 "tracker-steroids.c"
	}
	_state_0:
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = _data_->sender;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = _data_->input_stream;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_state_ = 1;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_internal (_data_->self, _data_->_tmp0_, TRACKER_STORE_PRIORITY_LOW, FALSE, _data_->_tmp1_, tracker_steroids_batch_update_ready, _data_);
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2256 "tracker-steroids.c"
	_state_1:
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = tracker_steroids_update_internal_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->_tmp3_);
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_object_unref (_data_->_async_result);
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 2272 "tracker-steroids.c"
	}
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->_state_ != 0) {
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2282 "tracker-steroids.c"
		}
	}
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_object_unref (_data_->_async_result);
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2289 "tracker-steroids.c"
}


static void tracker_steroids_update_blank_data_free (gpointer _data) {
	TrackerSteroidsUpdateBlankData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->result);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_slice_free (TrackerSteroidsUpdateBlankData, _data_);
#line 2306 "tracker-steroids.c"
}


void tracker_steroids_update_blank (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerSteroidsUpdateBlankData* _data_;
	TrackerSteroids* _tmp0_;
	const char* _tmp1_;
	char* _tmp2_;
	GUnixInputStream* _tmp3_;
	GUnixInputStream* _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_slice_new0 (TrackerSteroidsUpdateBlankData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_set_task_data (_data_->_async_result, _data_, tracker_steroids_update_blank_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = sender;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->sender = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = input_stream;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->input_stream = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_blank_co (_data_);
#line 2345 "tracker-steroids.c"
}


GVariant* tracker_steroids_update_blank_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error) {
	GVariant* result;
	TrackerSteroidsUpdateBlankData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (NULL == _data_) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return NULL;
#line 2358 "tracker-steroids.c"
	}
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	result = _data_->result;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return result;
#line 2366 "tracker-steroids.c"
}


static void tracker_steroids_update_blank_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerSteroidsUpdateBlankData* _data_;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = _user_data_;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_source_object_ = source_object;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_res_ = _res_;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_blank_co (_data_);
#line 2380 "tracker-steroids.c"
}


static gboolean tracker_steroids_update_blank_co (TrackerSteroidsUpdateBlankData* _data_) {
#line 151 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	switch (_data_->_state_) {
#line 151 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 0:
#line 2389 "tracker-steroids.c"
		goto _state_0;
#line 151 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2393 "tracker-steroids.c"
		goto _state_1;
		default:
#line 151 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_assert_not_reached ();
#line 2398 "tracker-steroids.c"
	}
	_state_0:
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = _data_->sender;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = _data_->input_stream;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_state_ = 1;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_internal (_data_->self, _data_->_tmp1_, TRACKER_STORE_PRIORITY_HIGH, TRUE, _data_->_tmp2_, tracker_steroids_update_blank_ready, _data_);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2411 "tracker-steroids.c"
	_state_1:
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp3_ = tracker_steroids_update_internal_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = _data_->_tmp3_;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_object_unref (_data_->_async_result);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 2425 "tracker-steroids.c"
	}
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp4_ = _data_->_tmp0_;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = NULL;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = _data_->_tmp4_;
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->_tmp0_);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->_state_ != 0) {
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2443 "tracker-steroids.c"
		}
	}
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_object_unref (_data_->_async_result);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2450 "tracker-steroids.c"
}


static void tracker_steroids_batch_update_blank_data_free (gpointer _data) {
	TrackerSteroidsBatchUpdateBlankData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->result);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_slice_free (TrackerSteroidsBatchUpdateBlankData, _data_);
#line 2467 "tracker-steroids.c"
}


void tracker_steroids_batch_update_blank (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerSteroidsBatchUpdateBlankData* _data_;
	TrackerSteroids* _tmp0_;
	const char* _tmp1_;
	char* _tmp2_;
	GUnixInputStream* _tmp3_;
	GUnixInputStream* _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_slice_new0 (TrackerSteroidsBatchUpdateBlankData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_set_task_data (_data_->_async_result, _data_, tracker_steroids_batch_update_blank_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = sender;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->sender = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = input_stream;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->input_stream = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_batch_update_blank_co (_data_);
#line 2506 "tracker-steroids.c"
}


GVariant* tracker_steroids_batch_update_blank_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error) {
	GVariant* result;
	TrackerSteroidsBatchUpdateBlankData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (NULL == _data_) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return NULL;
#line 2519 "tracker-steroids.c"
	}
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	result = _data_->result;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return result;
#line 2527 "tracker-steroids.c"
}


static void tracker_steroids_batch_update_blank_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerSteroidsBatchUpdateBlankData* _data_;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = _user_data_;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_source_object_ = source_object;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_res_ = _res_;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_batch_update_blank_co (_data_);
#line 2541 "tracker-steroids.c"
}


static gboolean tracker_steroids_batch_update_blank_co (TrackerSteroidsBatchUpdateBlankData* _data_) {
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	switch (_data_->_state_) {
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 0:
#line 2550 "tracker-steroids.c"
		goto _state_0;
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2554 "tracker-steroids.c"
		goto _state_1;
		default:
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_assert_not_reached ();
#line 2559 "tracker-steroids.c"
	}
	_state_0:
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = _data_->sender;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = _data_->input_stream;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_state_ = 1;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_internal (_data_->self, _data_->_tmp1_, TRACKER_STORE_PRIORITY_LOW, TRUE, _data_->_tmp2_, tracker_steroids_batch_update_blank_ready, _data_);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2572 "tracker-steroids.c"
	_state_1:
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp3_ = tracker_steroids_update_internal_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = _data_->_tmp3_;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_object_unref (_data_->_async_result);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 2586 "tracker-steroids.c"
	}
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp4_ = _data_->_tmp0_;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = NULL;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = _data_->_tmp4_;
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->_tmp0_);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->_state_ != 0) {
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 2604 "tracker-steroids.c"
		}
	}
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_object_unref (_data_->_async_result);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2611 "tracker-steroids.c"
}


static void tracker_steroids_update_array_data_free (gpointer _data) {
	TrackerSteroidsUpdateArrayData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->result);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_slice_free (TrackerSteroidsUpdateArrayData, _data_);
#line 2628 "tracker-steroids.c"
}


void tracker_steroids_update_array (TrackerSteroids* self, const char* sender, GUnixInputStream* input_stream, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerSteroidsUpdateArrayData* _data_;
	TrackerSteroids* _tmp0_;
	const char* _tmp1_;
	char* _tmp2_;
	GUnixInputStream* _tmp3_;
	GUnixInputStream* _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_slice_new0 (TrackerSteroidsUpdateArrayData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_set_task_data (_data_->_async_result, _data_, tracker_steroids_update_array_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = sender;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_free0 (_data_->sender);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->sender = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = input_stream;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_data_->input_stream);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->input_stream = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_array_co (_data_);
#line 2667 "tracker-steroids.c"
}


GVariant* tracker_steroids_update_array_finish (TrackerSteroids* self, GAsyncResult* _res_, GError** error) {
	GVariant* result;
	TrackerSteroidsUpdateArrayData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (NULL == _data_) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return NULL;
#line 2680 "tracker-steroids.c"
	}
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	result = _data_->result;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->result = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return result;
#line 2688 "tracker-steroids.c"
}


static void tracker_steroids_update_array_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerSteroidsUpdateArrayData* _data_;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_ = _user_data_;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_source_object_ = source_object;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_res_ = _res_;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_array_co (_data_);
#line 2702 "tracker-steroids.c"
}


static gboolean tracker_steroids_update_array_co (TrackerSteroidsUpdateArrayData* _data_) {
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	switch (_data_->_state_) {
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 0:
#line 2711 "tracker-steroids.c"
		goto _state_0;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2715 "tracker-steroids.c"
		goto _state_1;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 2:
#line 2719 "tracker-steroids.c"
		goto _state_2;
		default:
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_assert_not_reached ();
#line 2724 "tracker-steroids.c"
	}
	_state_0:
#line 162 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = _data_->sender;
#line 162 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = tracker_dbus_request_begin ((const gchar*) _data_->_tmp0_, "Steroids.UpdateArray", NULL);
#line 162 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->request = _data_->_tmp1_;
#line 2733 "tracker-steroids.c"
	{
#line 164 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp2_ = _data_->input_stream;
#line 164 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp3_ = g_data_input_stream_new ((GInputStream*) _data_->_tmp2_);
#line 164 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_input_stream = _data_->_tmp3_;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp4_ = _data_->data_input_stream;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_buffered_input_stream_set_buffer_size ((GBufferedInputStream*) _data_->_tmp4_, (gsize) TRACKER_STEROIDS_BUFFER_SIZE);
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp5_ = _data_->data_input_stream;
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_data_input_stream_set_byte_order (_data_->_tmp5_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp6_ = _data_->data_input_stream;
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp7_ = g_data_input_stream_read_int32 (_data_->_tmp6_, NULL, &_data_->_inner_error_);
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_count = (gint) _data_->_tmp7_;
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_input_stream);
#line 2759 "tracker-steroids.c"
			goto __catch16_g_error;
		}
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp8_ = g_string_new ("");
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->combined_query = _data_->_tmp8_;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp9_ = _data_->query_count;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp10_ = g_new0 (gchar*, _data_->_tmp9_ + 1);
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_array = _data_->_tmp10_;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_array_length1 = _data_->_tmp9_;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_query_array_size_ = _data_->query_array_length1;
#line 2776 "tracker-steroids.c"
		{
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->i = 0;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp11_ = TRUE;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			while (TRUE) {
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!_data_->_tmp11_) {
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp12_ = _data_->i;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->i = _data_->_tmp12_ + 1;
#line 2790 "tracker-steroids.c"
				}
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp11_ = FALSE;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp13_ = _data_->i;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp14_ = _data_->query_count;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!(_data_->_tmp13_ < _data_->_tmp14_)) {
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					break;
#line 2802 "tracker-steroids.c"
				}
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp15_ = _data_->data_input_stream;
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp16_ = g_data_input_stream_read_int32 (_data_->_tmp15_, NULL, &_data_->_inner_error_);
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->query_size = (gint) _data_->_tmp16_;
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->query_array = (_vala_array_free (_data_->query_array, _data_->query_array_length1, (GDestroyNotify) g_free), NULL);
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_string_free0 (_data_->combined_query);
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_object_unref0 (_data_->data_input_stream);
#line 2818 "tracker-steroids.c"
					goto __catch16_g_error;
				}
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp17_ = _data_->query_array;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp17__length1 = _data_->query_array_length1;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp18_ = _data_->i;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp19_ = _data_->query_size;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp20_ = g_new0 (guint8, _data_->_tmp19_ + 1);
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_free0 (_data_->_tmp17_[_data_->_tmp18_]);
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp17_[_data_->_tmp18_] = (gchar*) _data_->_tmp20_;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp21_ = _data_->_tmp17_[_data_->_tmp18_];
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp22_ = _data_->data_input_stream;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp23_ = _data_->query_array;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp23__length1 = _data_->query_array_length1;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp24_ = _data_->i;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp25_ = _data_->_tmp23_[_data_->_tmp24_];
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp26_ = _data_->query_size;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp27_ = 0UL;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				g_input_stream_read_all ((GInputStream*) _data_->_tmp22_, ((guint8*) _data_->_tmp25_) + 0, (gsize) (_data_->_tmp26_ - 0), &_data_->_tmp27_, NULL, &_data_->_inner_error_);
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->bytes_read = _data_->_tmp27_;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->query_array = (_vala_array_free (_data_->query_array, _data_->query_array_length1, (GDestroyNotify) g_free), NULL);
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_string_free0 (_data_->combined_query);
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_object_unref0 (_data_->data_input_stream);
#line 2863 "tracker-steroids.c"
					goto __catch16_g_error;
				}
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp28_ = _data_->request;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp29_ = _data_->query_array;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp29__length1 = _data_->query_array_length1;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp30_ = _data_->i;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp31_ = _data_->_tmp29_[_data_->_tmp30_];
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				tracker_dbus_request_debug (_data_->_tmp28_, "query: %s", _data_->_tmp31_, NULL);
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp32_ = _data_->combined_query;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp33_ = _data_->query_array;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp33__length1 = _data_->query_array_length1;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp34_ = _data_->i;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp35_ = _data_->_tmp33_[_data_->_tmp34_];
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				g_string_append (_data_->_tmp32_, _data_->_tmp35_);
#line 2890 "tracker-steroids.c"
			}
		}
#line 188 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data_->data_input_stream);
#line 188 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_input_stream = NULL;
#line 190 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp36_ = g_variant_builder_new ((const GVariantType*) "as");
#line 190 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->builder = _data_->_tmp36_;
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp37_ = tracker_main_get_data_manager ();
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp38_ = _g_object_ref0 (_data_->_tmp37_);
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_manager = _data_->_tmp38_;
#line 2907 "tracker-steroids.c"
		{
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp39_ = _data_->data_manager;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp40_ = _data_->combined_query;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp41_ = _data_->_tmp40_->str;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp42_ = _data_->sender;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_state_ = 1;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_store_sparql_update (_data_->_tmp39_, _data_->_tmp41_, TRACKER_STORE_PRIORITY_LOW, (const gchar*) _data_->_tmp42_, tracker_steroids_update_array_ready, _data_);
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 2923 "tracker-steroids.c"
			_state_1:
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_store_sparql_update_finish (_data_->_res_, &_data_->_inner_error_);
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 2929 "tracker-steroids.c"
				goto __catch17_g_error;
			}
			{
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->i = 0;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp43_ = TRUE;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_data_->_tmp43_) {
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_data_->_tmp44_ = _data_->i;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_data_->i = _data_->_tmp44_ + 1;
#line 2945 "tracker-steroids.c"
					}
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp43_ = FALSE;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp45_ = _data_->i;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp46_ = _data_->query_count;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_data_->_tmp45_ < _data_->_tmp46_)) {
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 2957 "tracker-steroids.c"
					}
#line 199 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp47_ = _data_->builder;
#line 199 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp47_, "s", "", NULL);
#line 200 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp48_ = _data_->builder;
#line 200 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp48_, "s", "", NULL);
#line 2967 "tracker-steroids.c"
				}
			}
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp49_ = _data_->request;
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_dbus_request_end (_data_->_tmp49_, NULL);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp50_ = _data_->builder;
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp51_ = g_variant_builder_end (_data_->_tmp50_);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_variant_ref_sink (_data_->_tmp51_);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->result = _data_->_tmp51_;
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_manager);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_variant_builder_unref0 (_data_->builder);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->query_array = (_vala_array_free (_data_->query_array, _data_->query_array_length1, (GDestroyNotify) g_free), NULL);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_string_free0 (_data_->combined_query);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_input_stream);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			if (_data_->_state_ != 0) {
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3000 "tracker-steroids.c"
				}
			}
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_object_unref (_data_->_async_result);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 3007 "tracker-steroids.c"
		}
		goto __finally17;
		__catch17_g_error:
		{
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_clear_error (&_data_->_inner_error_);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = NULL;
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_string_free0 (_data_->combined_query);
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->combined_query = NULL;
#line 3020 "tracker-steroids.c"
		}
		__finally17:
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_manager);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_variant_builder_unref0 (_data_->builder);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->query_array = (_vala_array_free (_data_->query_array, _data_->query_array_length1, (GDestroyNotify) g_free), NULL);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_string_free0 (_data_->combined_query);
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_object_unref0 (_data_->data_input_stream);
#line 3035 "tracker-steroids.c"
			goto __catch16_g_error;
		}
		{
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->i = 0;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp52_ = TRUE;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			while (TRUE) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!_data_->_tmp52_) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp53_ = _data_->i;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->i = _data_->_tmp53_ + 1;
#line 3051 "tracker-steroids.c"
				}
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp52_ = FALSE;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp54_ = _data_->i;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp55_ = _data_->query_count;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!(_data_->_tmp54_ < _data_->_tmp55_)) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					break;
#line 3063 "tracker-steroids.c"
				}
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp56_ = _data_->request;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp57_ = _data_->query_array;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp57__length1 = _data_->query_array_length1;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp58_ = _data_->i;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp59_ = _data_->_tmp57_[_data_->_tmp58_];
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				tracker_dbus_request_debug (_data_->_tmp56_, "query: %s", _data_->_tmp59_, NULL);
#line 3077 "tracker-steroids.c"
				{
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp60_ = _data_->data_manager;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp61_ = _data_->query_array;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp61__length1 = _data_->query_array_length1;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp62_ = _data_->i;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp63_ = _data_->_tmp61_[_data_->_tmp62_];
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp64_ = _data_->sender;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_state_ = 2;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					tracker_store_sparql_update (_data_->_tmp60_, _data_->_tmp63_, TRACKER_STORE_PRIORITY_LOW, (const gchar*) _data_->_tmp64_, tracker_steroids_update_array_ready, _data_);
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					return FALSE;
#line 3097 "tracker-steroids.c"
					_state_2:
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					tracker_store_sparql_update_finish (_data_->_res_, &_data_->_inner_error_);
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3103 "tracker-steroids.c"
						goto __catch18_g_error;
					}
#line 217 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp65_ = _data_->builder;
#line 217 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp65_, "s", "", NULL);
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp66_ = _data_->builder;
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp66_, "s", "", NULL);
#line 3114 "tracker-steroids.c"
				}
				goto __finally18;
				__catch18_g_error:
				{
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->e1 = _data_->_inner_error_;
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_inner_error_ = NULL;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp67_ = _data_->builder;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp67_, "s", "org.freedesktop.Tracker1.SparqlError.Internal", NULL);
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp68_ = _data_->builder;
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp69_ = _data_->e1;
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp70_ = _data_->_tmp69_->message;
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp68_, "s", _data_->_tmp70_, NULL);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_error_free0 (_data_->e1);
#line 3137 "tracker-steroids.c"
				}
				__finally18:
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_object_unref0 (_data_->data_manager);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_variant_builder_unref0 (_data_->builder);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->query_array = (_vala_array_free (_data_->query_array, _data_->query_array_length1, (GDestroyNotify) g_free), NULL);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_string_free0 (_data_->combined_query);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_object_unref0 (_data_->data_input_stream);
#line 3152 "tracker-steroids.c"
					goto __catch16_g_error;
				}
			}
		}
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp71_ = _data_->request;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->_tmp71_, NULL);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp72_ = _data_->builder;
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp73_ = g_variant_builder_end (_data_->_tmp72_);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_variant_ref_sink (_data_->_tmp73_);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->result = _data_->_tmp73_;
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data_->data_manager);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_variant_builder_unref0 (_data_->builder);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_array = (_vala_array_free (_data_->query_array, _data_->query_array_length1, (GDestroyNotify) g_free), NULL);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_string_free0 (_data_->combined_query);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_object_unref0 (_data_->data_input_stream);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_state_ != 0) {
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			while (g_task_get_completed (_data_->_async_result) != TRUE) {
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3187 "tracker-steroids.c"
			}
		}
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_object_unref (_data_->_async_result);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 3194 "tracker-steroids.c"
	}
	goto __finally16;
	__catch16_g_error:
	{
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->e = _data_->_inner_error_;
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_inner_error_ = NULL;
#line 230 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp74_ = _data_->request;
#line 230 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp75_ = _data_->e;
#line 230 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->_tmp74_, _data_->_tmp75_);
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp76_ = _data_->e;
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_tmp76_->domain == TRACKER_SPARQL_ERROR) {
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp77_ = _data_->e;
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp78_ = _g_error_copy0 (_data_->_tmp77_);
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp78_;
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 3221 "tracker-steroids.c"
			goto __finally16;
		} else {
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp79_ = _data_->e;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp80_ = _data_->_tmp79_->message;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp81_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp80_);
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp81_;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 3234 "tracker-steroids.c"
			goto __finally16;
		}
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->e);
#line 3239 "tracker-steroids.c"
	}
	__finally16:
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_object_unref (_data_->_async_result);
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 3248 "tracker-steroids.c"
}


TrackerSteroids* tracker_steroids_construct (GType object_type) {
	TrackerSteroids * self = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	self = (TrackerSteroids*) g_object_new (object_type, NULL);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return self;
#line 3258 "tracker-steroids.c"
}


TrackerSteroids* tracker_steroids_new (void) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return tracker_steroids_construct (TRACKER_TYPE_STEROIDS);
#line 3265 "tracker-steroids.c"
}


static void tracker_steroids_class_init (TrackerSteroidsClass * klass) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_parent_class = g_type_class_peek_parent (klass);
#line 3272 "tracker-steroids.c"
}


static void tracker_steroids_instance_init (TrackerSteroids * self) {
}


GType tracker_steroids_get_type (void) {
	static volatile gsize tracker_steroids_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_steroids_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSteroidsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_steroids_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSteroids), 0, (GInstanceInitFunc) tracker_steroids_instance_init, NULL };
		GType tracker_steroids_type_id;
		tracker_steroids_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSteroids", &g_define_type_info, 0);
		g_type_set_qdata (tracker_steroids_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) tracker_steroids_register_object);
		g_once_init_leave (&tracker_steroids_type_id__volatile, tracker_steroids_type_id);
	}
	return tracker_steroids_type_id__volatile;
}


static void _dbus_tracker_steroids_query (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GUnixFDList* _fd_list;
	GVariantIter _arguments_iter;
	gint _fd_index = 0;
	gint _fd;
	gchar* query = NULL;
	GVariant* _tmp7_;
	GUnixOutputStream* output_stream = NULL;
	GError* error = NULL;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp7_ = g_variant_iter_next_value (&_arguments_iter);
	query = g_variant_dup_string (_tmp7_, NULL);
	g_variant_unref (_tmp7_);
	_fd_list = g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation));
	if (_fd_list) {
		g_variant_iter_next (&_arguments_iter, "h", &_fd_index);
		_fd = g_unix_fd_list_get (_fd_list, _fd_index, &error);
		if (_fd >= 0) {
			output_stream = (GUnixOutputStream *) g_unix_output_stream_new (_fd, TRUE);
		}
	} else {
		g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_FAILED, "FD List is NULL");
	}
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		goto _error;
	}
	tracker_steroids_query (self, g_dbus_method_invocation_get_sender (invocation), query, output_stream, (GAsyncReadyCallback) _dbus_tracker_steroids_query_ready, invocation);
	_error:
	_g_free0 (query);
	_g_object_unref0 (output_stream);
}


static void _dbus_tracker_steroids_query_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GUnixFDList* _fd_list;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	int result_length1 = 0;
	gchar** _tmp8_;
	GVariantBuilder _tmp9_;
	int _tmp10_;
	invocation = _user_data_;
	result = tracker_steroids_query_finish ((TrackerSteroids*) source_object, _res_, &result_length1, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_fd_list = g_unix_fd_list_new ();
	_tmp8_ = result;
	g_variant_builder_init (&_tmp9_, G_VARIANT_TYPE ("as"));
	for (_tmp10_ = 0; _tmp10_ < result_length1; _tmp10_++) {
		g_variant_builder_add_value (&_tmp9_, g_variant_new_string (*_tmp8_));
		_tmp8_++;
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp9_));
	result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_message_set_unix_fd_list (_reply_message, _fd_list);
	g_object_unref (_fd_list);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void _dbus_tracker_steroids_update (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GUnixFDList* _fd_list;
	GVariantIter _arguments_iter;
	gint _fd_index = 0;
	gint _fd;
	GUnixInputStream* input_stream = NULL;
	GError* error = NULL;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_fd_list = g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation));
	if (_fd_list) {
		g_variant_iter_next (&_arguments_iter, "h", &_fd_index);
		_fd = g_unix_fd_list_get (_fd_list, _fd_index, &error);
		if (_fd >= 0) {
			input_stream = (GUnixInputStream *) g_unix_input_stream_new (_fd, TRUE);
		}
	} else {
		g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_FAILED, "FD List is NULL");
	}
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		goto _error;
	}
	tracker_steroids_update (self, g_dbus_method_invocation_get_sender (invocation), input_stream, (GAsyncReadyCallback) _dbus_tracker_steroids_update_ready, invocation);
	_error:
	_g_object_unref0 (input_stream);
}


static void _dbus_tracker_steroids_update_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GUnixFDList* _fd_list;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	invocation = _user_data_;
	tracker_steroids_update_finish ((TrackerSteroids*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_fd_list = g_unix_fd_list_new ();
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_message_set_unix_fd_list (_reply_message, _fd_list);
	g_object_unref (_fd_list);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void _dbus_tracker_steroids_batch_update (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GUnixFDList* _fd_list;
	GVariantIter _arguments_iter;
	gint _fd_index = 0;
	gint _fd;
	GUnixInputStream* input_stream = NULL;
	GError* error = NULL;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_fd_list = g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation));
	if (_fd_list) {
		g_variant_iter_next (&_arguments_iter, "h", &_fd_index);
		_fd = g_unix_fd_list_get (_fd_list, _fd_index, &error);
		if (_fd >= 0) {
			input_stream = (GUnixInputStream *) g_unix_input_stream_new (_fd, TRUE);
		}
	} else {
		g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_FAILED, "FD List is NULL");
	}
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		goto _error;
	}
	tracker_steroids_batch_update (self, g_dbus_method_invocation_get_sender (invocation), input_stream, (GAsyncReadyCallback) _dbus_tracker_steroids_batch_update_ready, invocation);
	_error:
	_g_object_unref0 (input_stream);
}


static void _dbus_tracker_steroids_batch_update_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GUnixFDList* _fd_list;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	invocation = _user_data_;
	tracker_steroids_batch_update_finish ((TrackerSteroids*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_fd_list = g_unix_fd_list_new ();
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_message_set_unix_fd_list (_reply_message, _fd_list);
	g_object_unref (_fd_list);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void _dbus_tracker_steroids_update_blank (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GUnixFDList* _fd_list;
	GVariantIter _arguments_iter;
	gint _fd_index = 0;
	gint _fd;
	GUnixInputStream* input_stream = NULL;
	GError* error = NULL;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_fd_list = g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation));
	if (_fd_list) {
		g_variant_iter_next (&_arguments_iter, "h", &_fd_index);
		_fd = g_unix_fd_list_get (_fd_list, _fd_index, &error);
		if (_fd >= 0) {
			input_stream = (GUnixInputStream *) g_unix_input_stream_new (_fd, TRUE);
		}
	} else {
		g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_FAILED, "FD List is NULL");
	}
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		goto _error;
	}
	tracker_steroids_update_blank (self, g_dbus_method_invocation_get_sender (invocation), input_stream, (GAsyncReadyCallback) _dbus_tracker_steroids_update_blank_ready, invocation);
	_error:
	_g_object_unref0 (input_stream);
}


static void _dbus_tracker_steroids_update_blank_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GUnixFDList* _fd_list;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	GVariant* result;
	invocation = _user_data_;
	result = tracker_steroids_update_blank_finish ((TrackerSteroids*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_fd_list = g_unix_fd_list_new ();
	g_variant_builder_add_value (&_reply_builder, result);
	_g_variant_unref0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_message_set_unix_fd_list (_reply_message, _fd_list);
	g_object_unref (_fd_list);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void _dbus_tracker_steroids_batch_update_blank (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GUnixFDList* _fd_list;
	GVariantIter _arguments_iter;
	gint _fd_index = 0;
	gint _fd;
	GUnixInputStream* input_stream = NULL;
	GError* error = NULL;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_fd_list = g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation));
	if (_fd_list) {
		g_variant_iter_next (&_arguments_iter, "h", &_fd_index);
		_fd = g_unix_fd_list_get (_fd_list, _fd_index, &error);
		if (_fd >= 0) {
			input_stream = (GUnixInputStream *) g_unix_input_stream_new (_fd, TRUE);
		}
	} else {
		g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_FAILED, "FD List is NULL");
	}
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		goto _error;
	}
	tracker_steroids_batch_update_blank (self, g_dbus_method_invocation_get_sender (invocation), input_stream, (GAsyncReadyCallback) _dbus_tracker_steroids_batch_update_blank_ready, invocation);
	_error:
	_g_object_unref0 (input_stream);
}


static void _dbus_tracker_steroids_batch_update_blank_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GUnixFDList* _fd_list;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	GVariant* result;
	invocation = _user_data_;
	result = tracker_steroids_batch_update_blank_finish ((TrackerSteroids*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_fd_list = g_unix_fd_list_new ();
	g_variant_builder_add_value (&_reply_builder, result);
	_g_variant_unref0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_message_set_unix_fd_list (_reply_message, _fd_list);
	g_object_unref (_fd_list);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void _dbus_tracker_steroids_update_array (TrackerSteroids* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GUnixFDList* _fd_list;
	GVariantIter _arguments_iter;
	gint _fd_index = 0;
	gint _fd;
	GUnixInputStream* input_stream = NULL;
	GError* error = NULL;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_fd_list = g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation));
	if (_fd_list) {
		g_variant_iter_next (&_arguments_iter, "h", &_fd_index);
		_fd = g_unix_fd_list_get (_fd_list, _fd_index, &error);
		if (_fd >= 0) {
			input_stream = (GUnixInputStream *) g_unix_input_stream_new (_fd, TRUE);
		}
	} else {
		g_set_error_literal (&error, G_IO_ERROR, G_IO_ERROR_FAILED, "FD List is NULL");
	}
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		goto _error;
	}
	tracker_steroids_update_array (self, g_dbus_method_invocation_get_sender (invocation), input_stream, (GAsyncReadyCallback) _dbus_tracker_steroids_update_array_ready, invocation);
	_error:
	_g_object_unref0 (input_stream);
}


static void _dbus_tracker_steroids_update_array_ready (GObject * source_object, GAsyncResult * _res_, gpointer _user_data_) {
	GDBusMethodInvocation * invocation;
	GUnixFDList* _fd_list;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	GVariant* result;
	invocation = _user_data_;
	result = tracker_steroids_update_array_finish ((TrackerSteroids*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_fd_list = g_unix_fd_list_new ();
	g_variant_builder_add_value (&_reply_builder, result);
	_g_variant_unref0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_message_set_unix_fd_list (_reply_message, _fd_list);
	g_object_unref (_fd_list);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}


static void tracker_steroids_dbus_interface_method_call (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* method_name, GVariant* parameters, GDBusMethodInvocation* invocation, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "Query") == 0) {
		_dbus_tracker_steroids_query (object, parameters, invocation);
	} else if (strcmp (method_name, "Update") == 0) {
		_dbus_tracker_steroids_update (object, parameters, invocation);
	} else if (strcmp (method_name, "BatchUpdate") == 0) {
		_dbus_tracker_steroids_batch_update (object, parameters, invocation);
	} else if (strcmp (method_name, "UpdateBlank") == 0) {
		_dbus_tracker_steroids_update_blank (object, parameters, invocation);
	} else if (strcmp (method_name, "BatchUpdateBlank") == 0) {
		_dbus_tracker_steroids_batch_update_blank (object, parameters, invocation);
	} else if (strcmp (method_name, "UpdateArray") == 0) {
		_dbus_tracker_steroids_update_array (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}


static GVariant* tracker_steroids_dbus_interface_get_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return NULL;
}


static gboolean tracker_steroids_dbus_interface_set_property (GDBusConnection* connection, const gchar* sender, const gchar* object_path, const gchar* interface_name, const gchar* property_name, GVariant* value, GError** error, gpointer user_data) {
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	return FALSE;
}


guint tracker_steroids_register_object (gpointer object, GDBusConnection* connection, const gchar* path, GError** error) {
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_tracker_steroids_dbus_interface_info), &_tracker_steroids_dbus_interface_vtable, data, _tracker_steroids_unregister_object, error);
	if (!result) {
		return 0;
	}
	return result;
}


static void _tracker_steroids_unregister_object (gpointer user_data) {
	gpointer* data;
	data = user_data;
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}


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


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



