/* tracker-steroids.c generated by valac 0.40.6, 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_0_PROPERTY,
	TRACKER_STEROIDS_NUM_PROPERTIES
};
static GParamSpec* tracker_steroids_properties[TRACKER_STEROIDS_NUM_PROPERTIES];
#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_;
	TrackerDBusRequest* request;
	TrackerDBusRequest* _tmp0_;
	Block6Data* _data6_;
	TrackerDataManager* data_manager;
	TrackerDataManager* _tmp1_;
	TrackerDataManager* _tmp2_;
	gchar** _tmp3_;
	gint _tmp3__length1;
	gchar** _tmp4_;
	gint _tmp4__length1;
	GError* e;
	GError* _tmp5_;
	GError* _tmp6_;
	GError* _tmp7_;
	GError* _tmp8_;
	GError* _tmp9_;
	const gchar* _tmp10_;
	GError* _tmp11_;
	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_;
	const gchar* _tmp1_;
	TrackerDBusRequest* request;
	TrackerDBusRequest* _tmp2_;
	gsize bytes_read;
	GDataInputStream* data_input_stream;
	GDataInputStream* _tmp3_;
	GDataInputStream* _tmp4_;
	GDataInputStream* _tmp5_;
	gint query_size;
	GDataInputStream* _tmp6_;
	guint8* query;
	gint _tmp7_;
	guint8* _tmp8_;
	gint query_length1;
	gint _query_size_;
	GDataInputStream* _tmp9_;
	guint8* _tmp10_;
	gint _tmp10__length1;
	gint _tmp11_;
	gsize _tmp12_;
	TrackerDBusRequest* _tmp13_;
	guint8* _tmp14_;
	gint _tmp14__length1;
	TrackerDataManager* data_manager;
	TrackerDataManager* _tmp15_;
	TrackerDataManager* _tmp16_;
	TrackerDataManager* _tmp17_;
	guint8* _tmp18_;
	gint _tmp18__length1;
	TrackerDBusRequest* _tmp19_;
	GVariant* variant;
	TrackerDataManager* _tmp20_;
	guint8* _tmp21_;
	gint _tmp21__length1;
	GVariant* _tmp22_;
	TrackerDBusRequest* _tmp23_;
	GError* ie;
	GError* _tmp24_;
	const gchar* _tmp25_;
	GError* _tmp26_;
	GError* e;
	TrackerDBusRequest* _tmp27_;
	GError* _tmp28_;
	GError* _tmp29_;
	GError* _tmp30_;
	GError* _tmp31_;
	GError* _tmp32_;
	const gchar* _tmp33_;
	GError* _tmp34_;
	GError * _inner_error_;
};

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

struct _TrackerSteroidsBatchUpdateData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	TrackerSteroids* self;
	char* sender;
	GUnixInputStream* input_stream;
	GVariant* _tmp0_;
	GVariant* _tmp1_;
	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_;
	GVariant* _tmp1_;
	GVariant* _tmp2_;
	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_;
	GVariant* _tmp1_;
	GVariant* _tmp2_;
	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;
	TrackerDBusRequest* _tmp0_;
	GDataInputStream* data_input_stream;
	GDataInputStream* _tmp1_;
	GDataInputStream* _tmp2_;
	GDataInputStream* _tmp3_;
	gint query_count;
	GDataInputStream* _tmp4_;
	GString* combined_query;
	GString* _tmp5_;
	gchar** query_array;
	gint _tmp6_;
	gchar** _tmp7_;
	gint query_array_length1;
	gint _query_array_size_;
	gint i;
	gboolean _tmp8_;
	gint _tmp9_;
	gint _tmp10_;
	gint _tmp11_;
	gsize bytes_read;
	gint query_size;
	GDataInputStream* _tmp12_;
	gchar** _tmp13_;
	gint _tmp13__length1;
	gint _tmp14_;
	gint _tmp15_;
	guint8* _tmp16_;
	gchar* _tmp17_;
	GDataInputStream* _tmp18_;
	gchar** _tmp19_;
	gint _tmp19__length1;
	gint _tmp20_;
	const gchar* _tmp21_;
	gint _tmp22_;
	gsize _tmp23_;
	TrackerDBusRequest* _tmp24_;
	gchar** _tmp25_;
	gint _tmp25__length1;
	gint _tmp26_;
	const gchar* _tmp27_;
	GString* _tmp28_;
	gchar** _tmp29_;
	gint _tmp29__length1;
	gint _tmp30_;
	const gchar* _tmp31_;
	GVariantBuilder* builder;
	GVariantBuilder* _tmp32_;
	TrackerDataManager* data_manager;
	TrackerDataManager* _tmp33_;
	TrackerDataManager* _tmp34_;
	TrackerDataManager* _tmp35_;
	GString* _tmp36_;
	const gchar* _tmp37_;
	gboolean _tmp38_;
	gint _tmp39_;
	gint _tmp40_;
	gint _tmp41_;
	GVariantBuilder* _tmp42_;
	GVariantBuilder* _tmp43_;
	TrackerDBusRequest* _tmp44_;
	GVariantBuilder* _tmp45_;
	GVariant* _tmp46_;
	gboolean _tmp47_;
	gint _tmp48_;
	gint _tmp49_;
	gint _tmp50_;
	TrackerDBusRequest* _tmp51_;
	gchar** _tmp52_;
	gint _tmp52__length1;
	gint _tmp53_;
	const gchar* _tmp54_;
	TrackerDataManager* _tmp55_;
	gchar** _tmp56_;
	gint _tmp56__length1;
	gint _tmp57_;
	const gchar* _tmp58_;
	GVariantBuilder* _tmp59_;
	GVariantBuilder* _tmp60_;
	GError* e1;
	GVariantBuilder* _tmp61_;
	GVariantBuilder* _tmp62_;
	GError* _tmp63_;
	const gchar* _tmp64_;
	TrackerDBusRequest* _tmp65_;
	GVariantBuilder* _tmp66_;
	GVariant* _tmp67_;
	GError* e;
	TrackerDBusRequest* _tmp68_;
	GError* _tmp69_;
	GError* _tmp70_;
	GError* _tmp71_;
	GError* _tmp72_;
	GError* _tmp73_;
	const gchar* _tmp74_;
	GError* _tmp75_;
	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 630 "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 639 "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_;
	char* _tmp1_;
	gchar* _tmp2_;
	GUnixOutputStream* _tmp3_;
#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_ = g_strdup (sender);
#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 = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_strdup (query);
#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 = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = _g_object_ref0 (output_stream);
#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 = _tmp3_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_query_co (_data_);
#line 686 "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 704 "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 714 "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 725 "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 736 "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 746 "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 758 "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 769 "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 781 "tracker-steroids.c"
	}
}


static void
___lambda11_ (Block6Data* _data6_,
              TrackerDBCursor* cursor,
              GError** error)
{
	Block5Data* _data5_;
	TrackerSteroids* self;
	GDataOutputStream* data_output_stream = NULL;
	GBufferedOutputStream* _tmp0_;
	GBufferedOutputStream* _tmp1_;
	GDataOutputStream* _tmp2_;
	GDataOutputStream* _tmp3_;
	GDataOutputStream* _tmp4_;
	gint n_columns = 0;
	gint _tmp5_;
	gint _tmp6_;
	gint* column_sizes = NULL;
	gint _tmp7_;
	gint* _tmp8_;
	gint column_sizes_length1;
	gint _column_sizes_size_;
	gint* column_offsets = NULL;
	gint _tmp9_;
	gint* _tmp10_;
	gint column_offsets_length1;
	gint _column_offsets_size_;
	gchar** column_data = NULL;
	gint _tmp11_;
	gchar** _tmp12_;
	gint column_data_length1;
	gint _column_data_size_;
	gint _tmp13_;
	gchar** _tmp14_;
	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_ = (GBufferedOutputStream*) g_buffered_output_stream_new_sized ((GOutputStream*) _data5_->output_stream, (gsize) TRACKER_STEROIDS_BUFFER_SIZE);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp1_ = _tmp0_;
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = g_data_output_stream_new ((GOutputStream*) _tmp1_);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp3_ = _tmp2_;
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_object_unref0 (_tmp1_);
#line 35 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	data_output_stream = _tmp3_;
#line 36 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp4_ = data_output_stream;
#line 36 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	g_data_output_stream_set_byte_order (_tmp4_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp5_ = tracker_sparql_cursor_get_n_columns ((TrackerSparqlCursor*) cursor);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp6_ = _tmp5_;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	n_columns = _tmp6_;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp7_ = n_columns;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp8_ = g_new0 (gint, _tmp7_);
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_sizes = _tmp8_;
#line 40 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_sizes_length1 = _tmp7_;
#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"
	_tmp9_ = n_columns;
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp10_ = g_new0 (gint, _tmp9_);
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_offsets = _tmp10_;
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_offsets_length1 = _tmp9_;
#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"
	_tmp11_ = n_columns;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp12_ = g_new0 (gchar*, _tmp11_ + 1);
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_data = _tmp12_;
#line 42 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	column_data_length1 = _tmp11_;
#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"
	_tmp13_ = n_columns;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp14_ = g_new0 (gchar*, _tmp13_ + 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 = _tmp14_;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data6_->variable_names_length1 = _tmp13_;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data6_->_variable_names_size_ = _data6_->variable_names_length1;
#line 890 "tracker-steroids.c"
	{
		gint i = 0;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		i = 0;
#line 895 "tracker-steroids.c"
		{
			gboolean _tmp15_ = FALSE;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_tmp15_ = TRUE;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			while (TRUE) {
#line 902 "tracker-steroids.c"
				gint _tmp17_;
				gint _tmp18_;
				gint _tmp19_;
				gint _tmp20_;
				const gchar* _tmp21_;
				gchar* _tmp22_;
				gchar* _tmp23_;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!_tmp15_) {
#line 912 "tracker-steroids.c"
					gint _tmp16_;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp16_ = i;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					i = _tmp16_ + 1;
#line 918 "tracker-steroids.c"
				}
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp15_ = FALSE;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp17_ = i;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp18_ = n_columns;
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!(_tmp17_ < _tmp18_)) {
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					break;
#line 930 "tracker-steroids.c"
				}
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp19_ = i;
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp20_ = i;
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp21_ = tracker_sparql_cursor_get_variable_name ((TrackerSparqlCursor*) cursor, _tmp20_);
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp22_ = g_strdup (_tmp21_);
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_free0 (_data6_->variable_names[_tmp19_]);
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data6_->variable_names[_tmp19_] = _tmp22_;
#line 46 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp23_ = _data6_->variable_names[_tmp19_];
#line 946 "tracker-steroids.c"
			}
		}
	}
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	while (TRUE) {
#line 952 "tracker-steroids.c"
		gboolean _tmp24_ = FALSE;
		gint last_offset = 0;
		GDataOutputStream* _tmp52_;
		gint _tmp53_;
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp24_ = tracker_sparql_cursor_next ((TrackerSparqlCursor*) cursor, NULL, &_inner_error_);
#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 973 "tracker-steroids.c"
		}
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (!_tmp24_) {
#line 49 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			break;
#line 979 "tracker-steroids.c"
		}
#line 50 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		last_offset = -1;
#line 983 "tracker-steroids.c"
		{
			gint i = 0;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 988 "tracker-steroids.c"
			{
				gboolean _tmp25_ = FALSE;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp25_ = TRUE;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 995 "tracker-steroids.c"
					gint _tmp27_;
					gint _tmp28_;
					const gchar* str = NULL;
					gint _tmp29_;
					const gchar* _tmp30_;
					gint _tmp31_ = 0;
					const gchar* _tmp32_;
					gint* _tmp36_;
					gint _tmp36__length1;
					gint _tmp37_;
					gint _tmp38_;
					gchar** _tmp39_;
					gint _tmp39__length1;
					gint _tmp40_;
					const gchar* _tmp41_;
					gchar* _tmp42_;
					gchar* _tmp43_;
					gint _tmp44_;
					gint* _tmp45_;
					gint _tmp45__length1;
					gint _tmp46_;
					gint _tmp47_;
					gint* _tmp48_;
					gint _tmp48__length1;
					gint _tmp49_;
					gint _tmp50_;
					gint _tmp51_;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp25_) {
#line 1025 "tracker-steroids.c"
						gint _tmp26_;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp26_ = i;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp26_ + 1;
#line 1031 "tracker-steroids.c"
					}
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp25_ = FALSE;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp27_ = i;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp28_ = n_columns;
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp27_ < _tmp28_)) {
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 1043 "tracker-steroids.c"
					}
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp29_ = i;
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp30_ = tracker_sparql_cursor_get_string ((TrackerSparqlCursor*) cursor, _tmp29_, NULL);
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					str = _tmp30_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp32_ = str;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (_tmp32_ != NULL) {
#line 1055 "tracker-steroids.c"
						const gchar* _tmp33_;
						gint _tmp34_;
						gint _tmp35_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp33_ = str;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp34_ = strlen (_tmp33_);
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp35_ = _tmp34_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp31_ = _tmp35_;
#line 1067 "tracker-steroids.c"
					} else {
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp31_ = 0;
#line 1071 "tracker-steroids.c"
					}
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp36_ = column_sizes;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp36__length1 = column_sizes_length1;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp37_ = i;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp36_[_tmp37_] = _tmp31_;
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp38_ = _tmp36_[_tmp37_];
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp39_ = column_data;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp39__length1 = column_data_length1;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp40_ = i;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp41_ = str;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp42_ = g_strdup (_tmp41_);
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_free0 (_tmp39_[_tmp40_]);
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp39_[_tmp40_] = _tmp42_;
#line 56 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp43_ = _tmp39_[_tmp40_];
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp44_ = last_offset;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp45_ = column_sizes;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp45__length1 = column_sizes_length1;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp46_ = i;
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp47_ = _tmp45_[_tmp46_];
#line 58 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					last_offset = _tmp44_ + (_tmp47_ + 1);
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp48_ = column_offsets;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp48__length1 = column_offsets_length1;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp49_ = i;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp50_ = last_offset;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp48_[_tmp49_] = _tmp50_;
#line 59 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp51_ = _tmp48_[_tmp49_];
#line 1123 "tracker-steroids.c"
				}
			}
		}
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp52_ = data_output_stream;
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_tmp53_ = n_columns;
#line 62 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_data_output_stream_put_int32 (_tmp52_, (gint32) _tmp53_, 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 1147 "tracker-steroids.c"
		}
		{
			gint i = 0;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 1153 "tracker-steroids.c"
			{
				gboolean _tmp54_ = FALSE;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp54_ = TRUE;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 1160 "tracker-steroids.c"
					gint _tmp56_;
					gint _tmp57_;
					GDataOutputStream* _tmp58_;
					gint _tmp59_;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp54_) {
#line 1167 "tracker-steroids.c"
						gint _tmp55_;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp55_ = i;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp55_ + 1;
#line 1173 "tracker-steroids.c"
					}
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp54_ = FALSE;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp56_ = i;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp57_ = n_columns;
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp56_ < _tmp57_)) {
#line 64 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 1185 "tracker-steroids.c"
					}
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp58_ = data_output_stream;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp59_ = i;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_int32 (_tmp58_, (gint32) ((gint) tracker_sparql_cursor_get_value_type ((TrackerSparqlCursor*) cursor, _tmp59_)), 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 1207 "tracker-steroids.c"
					}
				}
			}
		}
		{
			gint i = 0;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 1216 "tracker-steroids.c"
			{
				gboolean _tmp60_ = FALSE;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp60_ = TRUE;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 1223 "tracker-steroids.c"
					gint _tmp62_;
					gint _tmp63_;
					GDataOutputStream* _tmp64_;
					gint* _tmp65_;
					gint _tmp65__length1;
					gint _tmp66_;
					gint _tmp67_;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp60_) {
#line 1233 "tracker-steroids.c"
						gint _tmp61_;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp61_ = i;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp61_ + 1;
#line 1239 "tracker-steroids.c"
					}
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp60_ = FALSE;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp62_ = i;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp63_ = n_columns;
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp62_ < _tmp63_)) {
#line 69 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 1251 "tracker-steroids.c"
					}
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp64_ = data_output_stream;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp65_ = column_offsets;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp65__length1 = column_offsets_length1;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp66_ = i;
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp67_ = _tmp65_[_tmp66_];
#line 70 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_int32 (_tmp64_, (gint32) _tmp67_, 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 1279 "tracker-steroids.c"
					}
				}
			}
		}
		{
			gint i = 0;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			i = 0;
#line 1288 "tracker-steroids.c"
			{
				gboolean _tmp68_ = FALSE;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_tmp68_ = TRUE;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				while (TRUE) {
#line 1295 "tracker-steroids.c"
					gint _tmp70_;
					gint _tmp71_;
					const gchar* _tmp72_ = NULL;
					gchar** _tmp73_;
					gint _tmp73__length1;
					gint _tmp74_;
					const gchar* _tmp75_;
					GDataOutputStream* _tmp79_;
					GDataOutputStream* _tmp80_;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!_tmp68_) {
#line 1307 "tracker-steroids.c"
						gint _tmp69_;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp69_ = i;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						i = _tmp69_ + 1;
#line 1313 "tracker-steroids.c"
					}
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp68_ = FALSE;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp70_ = i;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp71_ = n_columns;
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_tmp70_ < _tmp71_)) {
#line 73 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 1325 "tracker-steroids.c"
					}
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp73_ = column_data;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp73__length1 = column_data_length1;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp74_ = i;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp75_ = _tmp73_[_tmp74_];
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (_tmp75_ != NULL) {
#line 1337 "tracker-steroids.c"
						gchar** _tmp76_;
						gint _tmp76__length1;
						gint _tmp77_;
						const gchar* _tmp78_;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp76_ = column_data;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp76__length1 = column_data_length1;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp77_ = i;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp78_ = _tmp76_[_tmp77_];
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp72_ = _tmp78_;
#line 1352 "tracker-steroids.c"
					} else {
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_tmp72_ = "";
#line 1356 "tracker-steroids.c"
					}
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp79_ = data_output_stream;
#line 74 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_string (_tmp79_, _tmp72_, 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 1376 "tracker-steroids.c"
					}
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_tmp80_ = data_output_stream;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_data_output_stream_put_byte (_tmp80_, (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 1396 "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 1410 "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 1421 "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 1439 "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 1453 "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 1459 "tracker-steroids.c"
	}
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return result;
#line 1463 "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 1472 "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 1483 "tracker-steroids.c"
		goto _state_0;
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 1487 "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 1492 "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"
	_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_->output_stream;
#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_->_tmp0_ = tracker_dbus_request_begin ((const gchar*) _data_->sender, "Steroids.Query", NULL);
#line 28 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->request = _data_->_tmp0_;
#line 29 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_dbus_request_debug (_data_->request, "query: %s", _data_->query, NULL);
#line 1513 "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_->_tmp1_ = tracker_main_get_data_manager ();
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp2_ = _g_object_ref0 (_data_->_tmp1_);
#line 32 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_manager = _data_->_tmp2_;
#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_->query, TRACKER_STORE_PRIORITY_HIGH, ____lambda11__tracker_store_sparql_query_in_thread, _data_->_data6_, (const gchar*) _data_->sender, tracker_steroids_query_ready, _data_);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		return FALSE;
#line 1539 "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 1551 "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_->_tmp3_ = (_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_->_tmp3__length1 = _data_->_data6_->variable_names_length1;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp4_ = _data_->_tmp3_;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp4__length1 = _data_->_tmp3__length1;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->result_length1 = _data_->_tmp4__length1;
#line 82 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->result = _data_->_tmp4_;
#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 1586 "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 1593 "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_->_tmp5_ = _data_->e;
#line 84 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->request, _data_->_tmp5_);
#line 85 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp6_ = _data_->e;
#line 85 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_tmp6_->domain == TRACKER_SPARQL_ERROR) {
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp7_ = _data_->e;
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp8_ = _g_error_copy0 (_data_->_tmp7_);
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp8_;
#line 86 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 1618 "tracker-steroids.c"
			goto __finally14;
		} else {
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp9_ = _data_->e;
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp10_ = _data_->_tmp9_->message;
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp11_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp10_);
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp11_;
#line 88 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 1631 "tracker-steroids.c"
			goto __finally14;
		}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->e);
#line 1636 "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 1649 "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 1668 "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_;
	char* _tmp1_;
	GUnixInputStream* _tmp2_;
#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_ = g_strdup (sender);
#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 = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->priority = priority;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->blank = blank;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = _g_object_ref0 (input_stream);
#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 = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_internal_co (_data_);
#line 1713 "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 1730 "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 1738 "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 1756 "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 1767 "tracker-steroids.c"
		goto _state_0;
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 1771 "tracker-steroids.c"
		goto _state_1;
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 2:
#line 1775 "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 1780 "tracker-steroids.c"
	}
	_state_0:
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->priority != TRACKER_STORE_PRIORITY_HIGH) {
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp0_ = "Batch";
#line 1787 "tracker-steroids.c"
	} else {
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp0_ = "";
#line 1791 "tracker-steroids.c"
	}
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	if (_data_->blank) {
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp1_ = "Blank";
#line 1797 "tracker-steroids.c"
	} else {
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp1_ = "";
#line 1801 "tracker-steroids.c"
	}
#line 94 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = tracker_dbus_request_begin ((const gchar*) _data_->sender, "Steroids.%sUpdate%s", _data_->_tmp0_, _data_->_tmp1_, NULL);
#line 94 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->request = _data_->_tmp2_;
#line 1807 "tracker-steroids.c"
	{
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp3_ = g_data_input_stream_new ((GInputStream*) _data_->input_stream);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_input_stream = _data_->_tmp3_;
#line 102 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp4_ = _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_->_tmp4_, (gsize) TRACKER_STEROIDS_BUFFER_SIZE);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp5_ = _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_->_tmp5_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp6_ = _data_->data_input_stream;
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_size = (gint) g_data_input_stream_read_int32 (_data_->_tmp6_, NULL, &_data_->_inner_error_);
#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 1831 "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_->_tmp7_ = _data_->query_size;
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp8_ = g_new0 (guint8, _data_->_tmp7_ + 1);
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query = _data_->_tmp8_;
#line 108 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_length1 = _data_->_tmp7_ + 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_->_tmp9_ = _data_->data_input_stream;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp10_ = _data_->query;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp10__length1 = _data_->query_length1;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp11_ = _data_->query_size;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp12_ = 0UL;
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_input_stream_read_all ((GInputStream*) _data_->_tmp9_, _data_->_tmp10_ + 0, (gsize) (_data_->_tmp11_ - 0), &_data_->_tmp12_, NULL, &_data_->_inner_error_);
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->bytes_read = _data_->_tmp12_;
#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 1868 "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_->_tmp13_ = _data_->request;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp14_ = _data_->query;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp14__length1 = _data_->query_length1;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_debug (_data_->_tmp13_, "query: %s", (const gchar*) _data_->_tmp14_, NULL);
#line 115 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp15_ = tracker_main_get_data_manager ();
#line 115 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp16_ = _g_object_ref0 (_data_->_tmp15_);
#line 115 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_manager = _data_->_tmp16_;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (!_data_->blank) {
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp17_ = _data_->data_manager;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp18_ = _data_->query;
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp18__length1 = _data_->query_length1;
#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_->_tmp17_, (const gchar*) _data_->_tmp18_, _data_->priority, (const gchar*) _data_->sender, tracker_steroids_update_internal_ready, _data_);
#line 118 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 1905 "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 1919 "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_->_tmp19_ = _data_->request;
#line 120 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_dbus_request_end (_data_->_tmp19_, 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 1944 "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 1951 "tracker-steroids.c"
		} else {
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp20_ = _data_->data_manager;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp21_ = _data_->query;
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp21__length1 = _data_->query_length1;
#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_->_tmp20_, (const gchar*) _data_->_tmp21_, _data_->priority, (const gchar*) _data_->sender, tracker_steroids_update_internal_ready, _data_);
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 1965 "tracker-steroids.c"
			_state_2:
#line 124 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp22_ = 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_->_tmp22_;
#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 1981 "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_->_tmp23_ = _data_->request;
#line 126 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_dbus_request_end (_data_->_tmp23_, 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 2006 "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 2013 "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 2021 "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_->_tmp24_ = _data_->ie;
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp25_ = _data_->_tmp24_->message;
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp26_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_NO_SPACE, _data_->_tmp25_);
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_inner_error_ = _data_->_tmp26_;
#line 131 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->ie);
#line 2040 "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_->_tmp27_ = _data_->request;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp28_ = _data_->e;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->_tmp27_, _data_->_tmp28_);
#line 134 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp29_ = _data_->e;
#line 134 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_tmp29_->domain == TRACKER_SPARQL_ERROR) {
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp30_ = _data_->e;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp31_ = _g_error_copy0 (_data_->_tmp30_);
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp31_;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 2068 "tracker-steroids.c"
			goto __finally15;
		} else {
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp32_ = _data_->e;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp33_ = _data_->_tmp32_->message;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp34_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp33_);
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp34_;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 2081 "tracker-steroids.c"
			goto __finally15;
		}
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->e);
#line 2086 "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 2095 "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 2112 "tracker-steroids.c"
}


void
tracker_steroids_update (TrackerSteroids* self,
                         const char* sender,
                         GUnixInputStream* input_stream,
                         GAsyncReadyCallback _callback_,
                         gpointer _user_data_)
{
	TrackerSteroidsUpdateData* _data_;
	TrackerSteroids* _tmp0_;
	char* _tmp1_;
	GUnixInputStream* _tmp2_;
#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_ = g_strdup (sender);
#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 = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = _g_object_ref0 (input_stream);
#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 = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_co (_data_);
#line 2151 "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 2167 "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 2186 "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 2197 "tracker-steroids.c"
		goto _state_0;
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2201 "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 2206 "tracker-steroids.c"
	}
	_state_0:
#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_->sender, TRACKER_STORE_PRIORITY_HIGH, FALSE, _data_->input_stream, tracker_steroids_update_ready, _data_);
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2215 "tracker-steroids.c"
	_state_1:
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = 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_->_tmp1_ = _data_->_tmp0_;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->_tmp1_);
#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 2231 "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 2241 "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 2248 "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 2265 "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_;
	char* _tmp1_;
	GUnixInputStream* _tmp2_;
#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_ = g_strdup (sender);
#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 = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = _g_object_ref0 (input_stream);
#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 = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_batch_update_co (_data_);
#line 2304 "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 2320 "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 2339 "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 2350 "tracker-steroids.c"
		goto _state_0;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2354 "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 2359 "tracker-steroids.c"
	}
	_state_0:
#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_->sender, TRACKER_STORE_PRIORITY_LOW, FALSE, _data_->input_stream, tracker_steroids_batch_update_ready, _data_);
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2368 "tracker-steroids.c"
	_state_1:
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = 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_->_tmp1_ = _data_->_tmp0_;
#line 147 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_g_variant_unref0 (_data_->_tmp1_);
#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 2384 "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 2394 "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 2401 "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 2420 "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_;
	char* _tmp1_;
	GUnixInputStream* _tmp2_;
#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_ = g_strdup (sender);
#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 = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = _g_object_ref0 (input_stream);
#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 = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_blank_co (_data_);
#line 2459 "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 2476 "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 2484 "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 2502 "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 2513 "tracker-steroids.c"
		goto _state_0;
#line 151 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2517 "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 2522 "tracker-steroids.c"
	}
	_state_0:
#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_->sender, TRACKER_STORE_PRIORITY_HIGH, TRUE, _data_->input_stream, tracker_steroids_update_blank_ready, _data_);
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2531 "tracker-steroids.c"
	_state_1:
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = 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_->_tmp1_;
#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 2545 "tracker-steroids.c"
	}
#line 152 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = _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_->_tmp2_;
#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 2563 "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 2570 "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 2589 "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_;
	char* _tmp1_;
	GUnixInputStream* _tmp2_;
#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_ = g_strdup (sender);
#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 = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = _g_object_ref0 (input_stream);
#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 = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_batch_update_blank_co (_data_);
#line 2628 "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 2645 "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 2653 "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 2671 "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 2682 "tracker-steroids.c"
		goto _state_0;
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2686 "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 2691 "tracker-steroids.c"
	}
	_state_0:
#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_->sender, TRACKER_STORE_PRIORITY_LOW, TRUE, _data_->input_stream, tracker_steroids_batch_update_blank_ready, _data_);
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	return FALSE;
#line 2700 "tracker-steroids.c"
	_state_1:
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp1_ = 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_->_tmp1_;
#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 2714 "tracker-steroids.c"
	}
#line 157 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp2_ = _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_->_tmp2_;
#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 2732 "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 2739 "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 2758 "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_;
	char* _tmp1_;
	GUnixInputStream* _tmp2_;
#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_ = g_strdup (sender);
#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 = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_tmp2_ = _g_object_ref0 (input_stream);
#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 = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	tracker_steroids_update_array_co (_data_);
#line 2797 "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 2814 "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 2822 "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 2840 "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 2851 "tracker-steroids.c"
		goto _state_0;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 1:
#line 2855 "tracker-steroids.c"
		goto _state_1;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		case 2:
#line 2859 "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 2864 "tracker-steroids.c"
	}
	_state_0:
#line 162 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->_tmp0_ = tracker_dbus_request_begin ((const gchar*) _data_->sender, "Steroids.UpdateArray", NULL);
#line 162 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
	_data_->request = _data_->_tmp0_;
#line 2871 "tracker-steroids.c"
	{
#line 164 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp1_ = g_data_input_stream_new ((GInputStream*) _data_->input_stream);
#line 164 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_input_stream = _data_->_tmp1_;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp2_ = _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_->_tmp2_, (gsize) TRACKER_STEROIDS_BUFFER_SIZE);
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp3_ = _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_->_tmp3_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp4_ = _data_->data_input_stream;
#line 168 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_count = (gint) g_data_input_stream_read_int32 (_data_->_tmp4_, NULL, &_data_->_inner_error_);
#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 2893 "tracker-steroids.c"
			goto __catch16_g_error;
		}
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp5_ = g_string_new ("");
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->combined_query = _data_->_tmp5_;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp6_ = _data_->query_count;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp7_ = g_new0 (gchar*, _data_->_tmp6_ + 1);
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_array = _data_->_tmp7_;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->query_array_length1 = _data_->_tmp6_;
#line 171 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_query_array_size_ = _data_->query_array_length1;
#line 2910 "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_->_tmp8_ = 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_->_tmp8_) {
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp9_ = _data_->i;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->i = _data_->_tmp9_ + 1;
#line 2924 "tracker-steroids.c"
				}
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp8_ = FALSE;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp10_ = _data_->i;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp11_ = _data_->query_count;
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!(_data_->_tmp10_ < _data_->_tmp11_)) {
#line 174 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					break;
#line 2936 "tracker-steroids.c"
				}
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp12_ = _data_->data_input_stream;
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->query_size = (gint) g_data_input_stream_read_int32 (_data_->_tmp12_, NULL, &_data_->_inner_error_);
#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 2950 "tracker-steroids.c"
					goto __catch16_g_error;
				}
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp13_ = _data_->query_array;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp13__length1 = _data_->query_array_length1;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp14_ = _data_->i;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp15_ = _data_->query_size;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp16_ = g_new0 (guint8, _data_->_tmp15_ + 1);
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_g_free0 (_data_->_tmp13_[_data_->_tmp14_]);
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp13_[_data_->_tmp14_] = (gchar*) _data_->_tmp16_;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp17_ = _data_->_tmp13_[_data_->_tmp14_];
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp18_ = _data_->data_input_stream;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp19_ = _data_->query_array;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp19__length1 = _data_->query_array_length1;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp20_ = _data_->i;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp21_ = _data_->_tmp19_[_data_->_tmp20_];
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp22_ = _data_->query_size;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp23_ = 0UL;
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				g_input_stream_read_all ((GInputStream*) _data_->_tmp18_, ((guint8*) _data_->_tmp21_) + 0, (gsize) (_data_->_tmp22_ - 0), &_data_->_tmp23_, NULL, &_data_->_inner_error_);
#line 182 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->bytes_read = _data_->_tmp23_;
#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 2995 "tracker-steroids.c"
					goto __catch16_g_error;
				}
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp24_ = _data_->request;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp25_ = _data_->query_array;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp25__length1 = _data_->query_array_length1;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp26_ = _data_->i;
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp27_ = _data_->_tmp25_[_data_->_tmp26_];
#line 184 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				tracker_dbus_request_debug (_data_->_tmp24_, "query: %s", _data_->_tmp27_, NULL);
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp28_ = _data_->combined_query;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp29_ = _data_->query_array;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp29__length1 = _data_->query_array_length1;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp30_ = _data_->i;
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp31_ = _data_->_tmp29_[_data_->_tmp30_];
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				g_string_append (_data_->_tmp28_, _data_->_tmp31_);
#line 3022 "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_->_tmp32_ = g_variant_builder_new ((const GVariantType*) "as");
#line 190 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->builder = _data_->_tmp32_;
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp33_ = tracker_main_get_data_manager ();
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp34_ = _g_object_ref0 (_data_->_tmp33_);
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->data_manager = _data_->_tmp34_;
#line 3039 "tracker-steroids.c"
		{
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp35_ = _data_->data_manager;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp36_ = _data_->combined_query;
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp37_ = _data_->_tmp36_->str;
#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_->_tmp35_, _data_->_tmp37_, TRACKER_STORE_PRIORITY_LOW, (const gchar*) _data_->sender, tracker_steroids_update_array_ready, _data_);
#line 195 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			return FALSE;
#line 3053 "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 3059 "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_->_tmp38_ = 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_->_tmp38_) {
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_data_->_tmp39_ = _data_->i;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						_data_->i = _data_->_tmp39_ + 1;
#line 3075 "tracker-steroids.c"
					}
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp38_ = FALSE;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp40_ = _data_->i;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp41_ = _data_->query_count;
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					if (!(_data_->_tmp40_ < _data_->_tmp41_)) {
#line 198 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
						break;
#line 3087 "tracker-steroids.c"
					}
#line 199 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp42_ = _data_->builder;
#line 199 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp42_, "s", "", NULL);
#line 200 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp43_ = _data_->builder;
#line 200 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp43_, "s", "", NULL);
#line 3097 "tracker-steroids.c"
				}
			}
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp44_ = _data_->request;
#line 203 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			tracker_dbus_request_end (_data_->_tmp44_, NULL);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp45_ = _data_->builder;
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp46_ = g_variant_builder_end (_data_->_tmp45_);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			g_variant_ref_sink (_data_->_tmp46_);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->result = _data_->_tmp46_;
#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 3130 "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 3137 "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 3150 "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 3165 "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_->_tmp47_ = 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_->_tmp47_) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp48_ = _data_->i;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->i = _data_->_tmp48_ + 1;
#line 3181 "tracker-steroids.c"
				}
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp47_ = FALSE;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp49_ = _data_->i;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp50_ = _data_->query_count;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				if (!(_data_->_tmp49_ < _data_->_tmp50_)) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					break;
#line 3193 "tracker-steroids.c"
				}
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp51_ = _data_->request;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp52_ = _data_->query_array;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp52__length1 = _data_->query_array_length1;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp53_ = _data_->i;
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				_data_->_tmp54_ = _data_->_tmp52_[_data_->_tmp53_];
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
				tracker_dbus_request_debug (_data_->_tmp51_, "query: %s", _data_->_tmp54_, NULL);
#line 3207 "tracker-steroids.c"
				{
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp55_ = _data_->data_manager;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp56_ = _data_->query_array;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp56__length1 = _data_->query_array_length1;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp57_ = _data_->i;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp58_ = _data_->_tmp56_[_data_->_tmp57_];
#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_->_tmp55_, _data_->_tmp58_, TRACKER_STORE_PRIORITY_LOW, (const gchar*) _data_->sender, tracker_steroids_update_array_ready, _data_);
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					return FALSE;
#line 3225 "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 3231 "tracker-steroids.c"
						goto __catch18_g_error;
					}
#line 217 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp59_ = _data_->builder;
#line 217 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp59_, "s", "", NULL);
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp60_ = _data_->builder;
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp60_, "s", "", NULL);
#line 3242 "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_->_tmp61_ = _data_->builder;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp61_, "s", "org.freedesktop.Tracker1.SparqlError.Internal", NULL);
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp62_ = _data_->builder;
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp63_ = _data_->e1;
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_data_->_tmp64_ = _data_->_tmp63_->message;
#line 221 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					g_variant_builder_add (_data_->_tmp62_, "s", _data_->_tmp64_, NULL);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
					_g_error_free0 (_data_->e1);
#line 3265 "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 3280 "tracker-steroids.c"
					goto __catch16_g_error;
				}
			}
		}
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp65_ = _data_->request;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->_tmp65_, NULL);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp66_ = _data_->builder;
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp67_ = g_variant_builder_end (_data_->_tmp66_);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		g_variant_ref_sink (_data_->_tmp67_);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->result = _data_->_tmp67_;
#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 3315 "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 3322 "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_->_tmp68_ = _data_->request;
#line 230 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp69_ = _data_->e;
#line 230 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		tracker_dbus_request_end (_data_->_tmp68_, _data_->_tmp69_);
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_data_->_tmp70_ = _data_->e;
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		if (_data_->_tmp70_->domain == TRACKER_SPARQL_ERROR) {
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp71_ = _data_->e;
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp72_ = _g_error_copy0 (_data_->_tmp71_);
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp72_;
#line 232 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 3349 "tracker-steroids.c"
			goto __finally16;
		} else {
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp73_ = _data_->e;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp74_ = _data_->_tmp73_->message;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_tmp75_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp74_);
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_data_->_inner_error_ = _data_->_tmp75_;
#line 234 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
			_g_error_free0 (_data_->e);
#line 3362 "tracker-steroids.c"
			goto __finally16;
		}
#line 163 "/home/carlos/Source/gnome/tracker/src/tracker-store/tracker-steroids.vala"
		_g_error_free0 (_data_->e);
#line 3367 "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 3376 "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 3388 "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 3397 "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 3406 "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);
}



