/* subscriptions.c generated by valac 0.26.2, the Vala compiler
 * generated from subscriptions.vala, do not modify */

/*
 Copyright (C) 2009-2014 Christian Dywan <christian@twotoasts.de>
 Copyright (C) 2009-2012 Alexander Butenko <a.butenka@gmail.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.

 See the file COPYING for the full license text.
*/

#include <glib.h>
#include <glib-object.h>
#include "toolbar-editor.h"
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include "webkit/webkit.h"
#include <stdio.h>
#include "midori-core.h"

#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _AdblockSubscriptionPrivate {
	gboolean debug_parse;
	gchar* _uri;
	gchar* _title;
	gboolean _active;
	gboolean _mutable;
	gboolean _valid;
	GHashTable* cache;
	GList* features;
	WebKitDownload* download;
	guint _size;
};


static gpointer adblock_feature_parent_class = NULL;
static gpointer adblock_subscription_parent_class = NULL;

enum  {
	ADBLOCK_FEATURE_DUMMY_PROPERTY
};
static gboolean adblock_feature_real_header (AdblockFeature* self, const gchar* key, const gchar* value);
static gboolean adblock_feature_real_parsed (AdblockFeature* self, GFile* file);
static AdblockDirective* adblock_feature_real_match (AdblockFeature* self, const gchar* request_uri, const gchar* page_uri, GError** error);
static void adblock_feature_real_clear (AdblockFeature* self);
#define ADBLOCK_SUBSCRIPTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), ADBLOCK_TYPE_SUBSCRIPTION, AdblockSubscriptionPrivate))
enum  {
	ADBLOCK_SUBSCRIPTION_DUMMY_PROPERTY,
	ADBLOCK_SUBSCRIPTION_URI,
	ADBLOCK_SUBSCRIPTION_TITLE,
	ADBLOCK_SUBSCRIPTION_ACTIVE,
	ADBLOCK_SUBSCRIPTION_MUTABLE,
	ADBLOCK_SUBSCRIPTION_VALID,
	ADBLOCK_SUBSCRIPTION_SIZE
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
static void adblock_subscription_set_size (AdblockSubscription* self, guint value);
static void _g_free0_ (gpointer var);
void adblock_subscription_parse_line (AdblockSubscription* self, const gchar* line, GError** error);
static void adblock_subscription_add_url_pattern (AdblockSubscription* self, const gchar* prefix, const gchar* type, const gchar* line, GError** error);
static void adblock_subscription_frame_add_private (AdblockSubscription* self, const gchar* line, const gchar* sep);
static void adblock_subscription_update_css_hash (AdblockSubscription* self, const gchar* domain, const gchar* value);
static gboolean adblock_subscription_css_element_seems_valid (AdblockSubscription* self, const gchar* element);
static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle);
gchar* adblock_fixup_regex (const gchar* prefix, const gchar* src);
static gboolean adblock_subscription_compile_regexp (AdblockSubscription* self, const gchar* patt, const gchar* opts, GError** error);
void adblock_debug (const gchar* format, ...);
static void adblock_subscription_download_status (AdblockSubscription* self, GParamSpec* pspec);
static void _adblock_subscription_download_status_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void adblock_subscription_set_valid (AdblockSubscription* self, gboolean value);
static AdblockDirective* _adblock_directive_dup (AdblockDirective* self);
static void adblock_subscription_finalize (GObject* obj);
static void _vala_adblock_subscription_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_adblock_subscription_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


static gboolean adblock_feature_real_header (AdblockFeature* self, const gchar* key, const gchar* value) {
	gboolean result = FALSE;
#line 15 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (key != NULL, FALSE);
#line 15 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (value != NULL, FALSE);
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = FALSE;
#line 16 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 103 "subscriptions.c"
}


gboolean adblock_feature_header (AdblockFeature* self, const gchar* key, const gchar* value) {
#line 15 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 15 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return ADBLOCK_FEATURE_GET_CLASS (self)->header (self, key, value);
#line 112 "subscriptions.c"
}


static gboolean adblock_feature_real_parsed (AdblockFeature* self, GFile* file) {
	gboolean result = FALSE;
#line 18 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (file != NULL, FALSE);
#line 19 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = TRUE;
#line 19 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 124 "subscriptions.c"
}


gboolean adblock_feature_parsed (AdblockFeature* self, GFile* file) {
#line 18 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 18 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return ADBLOCK_FEATURE_GET_CLASS (self)->parsed (self, file);
#line 133 "subscriptions.c"
}


static AdblockDirective* adblock_feature_real_match (AdblockFeature* self, const gchar* request_uri, const gchar* page_uri, GError** error) {
	AdblockDirective* result = NULL;
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (request_uri != NULL, NULL);
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (page_uri != NULL, NULL);
#line 22 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = NULL;
#line 22 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 147 "subscriptions.c"
}


AdblockDirective* adblock_feature_match (AdblockFeature* self, const gchar* request_uri, const gchar* page_uri, GError** error) {
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 21 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return ADBLOCK_FEATURE_GET_CLASS (self)->match (self, request_uri, page_uri, error);
#line 156 "subscriptions.c"
}


static void adblock_feature_real_clear (AdblockFeature* self) {
}


void adblock_feature_clear (AdblockFeature* self) {
#line 24 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 24 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	ADBLOCK_FEATURE_GET_CLASS (self)->clear (self);
#line 169 "subscriptions.c"
}


AdblockFeature* adblock_feature_construct (GType object_type) {
	AdblockFeature * self = NULL;
#line 14 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self = (AdblockFeature*) g_object_new (object_type, NULL);
#line 14 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return self;
#line 179 "subscriptions.c"
}


static void adblock_feature_class_init (AdblockFeatureClass * klass) {
#line 14 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_feature_parent_class = g_type_class_peek_parent (klass);
#line 14 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	((AdblockFeatureClass *) klass)->header = adblock_feature_real_header;
#line 14 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	((AdblockFeatureClass *) klass)->parsed = adblock_feature_real_parsed;
#line 14 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	((AdblockFeatureClass *) klass)->match = adblock_feature_real_match;
#line 14 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	((AdblockFeatureClass *) klass)->clear = adblock_feature_real_clear;
#line 194 "subscriptions.c"
}


static void adblock_feature_instance_init (AdblockFeature * self) {
}


GType adblock_feature_get_type (void) {
	static volatile gsize adblock_feature_type_id__volatile = 0;
	if (g_once_init_enter (&adblock_feature_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AdblockFeatureClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adblock_feature_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdblockFeature), 0, (GInstanceInitFunc) adblock_feature_instance_init, NULL };
		GType adblock_feature_type_id;
		adblock_feature_type_id = g_type_register_static (G_TYPE_OBJECT, "AdblockFeature", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
		g_once_init_leave (&adblock_feature_type_id__volatile, adblock_feature_type_id);
	}
	return adblock_feature_type_id__volatile;
}


static void _g_object_unref0_ (gpointer var) {
#line 37 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 217 "subscriptions.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 37 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 37 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_list_free (self);
#line 226 "subscriptions.c"
}


static gboolean string_contains (const gchar* self, const gchar* needle) {
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 1278 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1278 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = needle;
#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _tmp1_ != NULL;
#line 1279 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 246 "subscriptions.c"
}


AdblockSubscription* adblock_subscription_construct (GType object_type, const gchar* uri) {
	AdblockSubscription * self = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	const gchar* _tmp3_ = NULL;
	AdblockOptions* _tmp4_ = NULL;
	AdblockOptions* _tmp5_ = NULL;
	AdblockWhitelist* _tmp6_ = NULL;
	AdblockWhitelist* _tmp7_ = NULL;
	AdblockOptions* _tmp8_ = NULL;
	AdblockKeys* _tmp9_ = NULL;
	AdblockKeys* _tmp10_ = NULL;
	AdblockOptions* _tmp11_ = NULL;
	AdblockPattern* _tmp12_ = NULL;
	AdblockPattern* _tmp13_ = NULL;
	AdblockElement* _tmp14_ = NULL;
	AdblockElement* _tmp15_ = NULL;
#line 47 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (uri != NULL, NULL);
#line 47 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self = (AdblockSubscription*) g_object_new (object_type, NULL);
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = g_getenv ("MIDORI_DEBUG");
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = _tmp1_;
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp0_ == NULL) {
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp0_ = "";
#line 280 "subscriptions.c"
	}
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = string_contains (_tmp0_, "adblock:parse");
#line 48 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->debug_parse = _tmp2_;
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp3_ = uri;
#line 50 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_set_uri (self, _tmp3_);
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp4_ = adblock_options_new ();
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->optslist);
#line 52 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->optslist = _tmp4_;
#line 53 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp5_ = self->optslist;
#line 53 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp6_ = adblock_whitelist_new (_tmp5_);
#line 53 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->whitelist);
#line 53 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->whitelist = _tmp6_;
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp7_ = self->whitelist;
#line 54 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_add_feature (self, (AdblockFeature*) _tmp7_);
#line 55 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp8_ = self->optslist;
#line 55 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp9_ = adblock_keys_new (_tmp8_);
#line 55 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->keys);
#line 55 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->keys = _tmp9_;
#line 56 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp10_ = self->keys;
#line 56 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_add_feature (self, (AdblockFeature*) _tmp10_);
#line 57 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp11_ = self->optslist;
#line 57 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp12_ = adblock_pattern_new (_tmp11_);
#line 57 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->pattern);
#line 57 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->pattern = _tmp12_;
#line 58 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp13_ = self->pattern;
#line 58 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_add_feature (self, (AdblockFeature*) _tmp13_);
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp14_ = adblock_element_new ();
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->element);
#line 59 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->element = _tmp14_;
#line 60 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp15_ = self->element;
#line 60 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_add_feature (self, (AdblockFeature*) _tmp15_);
#line 61 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_clear (self);
#line 47 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return self;
#line 346 "subscriptions.c"
}


AdblockSubscription* adblock_subscription_new (const gchar* uri) {
#line 47 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return adblock_subscription_construct (ADBLOCK_TYPE_SUBSCRIPTION, uri);
#line 353 "subscriptions.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 65 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return self ? g_object_ref (self) : NULL;
#line 360 "subscriptions.c"
}


void adblock_subscription_add_feature (AdblockSubscription* self, AdblockFeature* feature) {
	AdblockFeature* _tmp0_ = NULL;
	AdblockFeature* _tmp1_ = NULL;
	guint _tmp2_ = 0U;
#line 64 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 64 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (feature != NULL);
#line 65 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = feature;
#line 65 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 65 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->features = g_list_append (self->priv->features, _tmp1_);
#line 66 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = self->priv->_size;
#line 66 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_set_size (self, _tmp2_ + 1);
#line 382 "subscriptions.c"
}


AdblockFeature* adblock_subscription_get (AdblockSubscription* self, guint index) {
	AdblockFeature* result = NULL;
	GList* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	gconstpointer _tmp2_ = NULL;
	AdblockFeature* _tmp3_ = NULL;
#line 70 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 71 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->features;
#line 71 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = index;
#line 71 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = g_list_nth_data (_tmp0_, _tmp1_);
#line 71 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp3_ = _g_object_ref0 ((AdblockFeature*) _tmp2_);
#line 71 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = _tmp3_;
#line 71 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 406 "subscriptions.c"
}


static void _g_free0_ (gpointer var) {
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	var = (g_free (var), NULL);
#line 413 "subscriptions.c"
}


void adblock_subscription_clear (AdblockSubscription* self) {
	GHashFunc _tmp0_ = NULL;
	GEqualFunc _tmp1_ = NULL;
	GHashTable* _tmp2_ = NULL;
	GList* _tmp3_ = NULL;
	AdblockOptions* _tmp6_ = NULL;
#line 75 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = g_str_hash;
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = g_str_equal;
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = g_hash_table_new_full (_tmp0_, _tmp1_, _g_free0_, _g_free0_);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_hash_table_unref0 (self->priv->cache);
#line 76 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->cache = _tmp2_;
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp3_ = self->priv->features;
#line 437 "subscriptions.c"
	{
		GList* feature_collection = NULL;
		GList* feature_it = NULL;
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		feature_collection = _tmp3_;
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		for (feature_it = feature_collection; feature_it != NULL; feature_it = feature_it->next) {
#line 445 "subscriptions.c"
			AdblockFeature* _tmp4_ = NULL;
			AdblockFeature* feature = NULL;
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp4_ = _g_object_ref0 ((AdblockFeature*) feature_it->data);
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			feature = _tmp4_;
#line 452 "subscriptions.c"
			{
				AdblockFeature* _tmp5_ = NULL;
#line 78 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp5_ = feature;
#line 78 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				adblock_feature_clear (_tmp5_);
#line 77 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (feature);
#line 461 "subscriptions.c"
			}
		}
	}
#line 79 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp6_ = self->optslist;
#line 79 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_options_clear (_tmp6_);
#line 469 "subscriptions.c"
}


static const gchar* string_offset (const gchar* self, glong offset) {
	const gchar* result = NULL;
	glong _tmp0_ = 0L;
#line 1035 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1036 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = offset;
#line 1036 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = (const gchar*) (((gchar*) self) + _tmp0_);
#line 1036 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 484 "subscriptions.c"
}


static gchar string_get (const gchar* self, glong index) {
	gchar result = '\0';
	glong _tmp0_ = 0L;
	gchar _tmp1_ = '\0';
#line 996 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, '\0');
#line 997 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = index;
#line 997 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = ((gchar*) self)[_tmp0_];
#line 997 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _tmp1_;
#line 997 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 502 "subscriptions.c"
}


void adblock_subscription_parse_line (AdblockSubscription* self, const gchar* line, GError** error) {
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	const gchar* _tmp17_ = NULL;
	gchar _tmp18_ = '\0';
	const gchar* _tmp19_ = NULL;
	gboolean _tmp20_ = FALSE;
	const gchar* _tmp21_ = NULL;
	gchar _tmp22_ = '\0';
	const gchar* _tmp23_ = NULL;
	gboolean _tmp24_ = FALSE;
	const gchar* _tmp25_ = NULL;
	gboolean _tmp26_ = FALSE;
	const gchar* _tmp28_ = NULL;
	gboolean _tmp29_ = FALSE;
	const gchar* _tmp31_ = NULL;
	gboolean _tmp32_ = FALSE;
	const gchar* _tmp41_ = NULL;
	GError * _inner_error_ = NULL;
#line 82 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 83 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = line;
#line 83 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = g_str_has_prefix (_tmp0_, "@@");
#line 83 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp1_) {
#line 533 "subscriptions.c"
		gboolean _tmp2_ = FALSE;
		const gchar* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
		const gchar* _tmp7_ = NULL;
		gboolean _tmp8_ = FALSE;
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp3_ = line;
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = string_contains (_tmp3_, "$");
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp4_) {
#line 545 "subscriptions.c"
			const gchar* _tmp5_ = NULL;
			gboolean _tmp6_ = FALSE;
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp5_ = line;
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp6_ = string_contains (_tmp5_, "domain");
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp2_ = _tmp6_;
#line 554 "subscriptions.c"
		} else {
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp2_ = FALSE;
#line 558 "subscriptions.c"
		}
#line 84 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp2_) {
#line 85 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			return;
#line 564 "subscriptions.c"
		}
#line 86 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp7_ = line;
#line 86 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp8_ = g_str_has_prefix (_tmp7_, "@@||");
#line 86 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp8_) {
#line 572 "subscriptions.c"
			const gchar* _tmp9_ = NULL;
			const gchar* _tmp10_ = NULL;
#line 87 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp9_ = line;
#line 87 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp10_ = string_offset (_tmp9_, (glong) 4);
#line 87 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_subscription_add_url_pattern (self, "^", "whitelist", _tmp10_, &_inner_error_);
#line 87 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 87 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				g_propagate_error (error, _inner_error_);
#line 87 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				return;
#line 587 "subscriptions.c"
			}
		} else {
			const gchar* _tmp11_ = NULL;
			gboolean _tmp12_ = FALSE;
#line 88 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp11_ = line;
#line 88 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp12_ = g_str_has_prefix (_tmp11_, "@@|");
#line 88 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (_tmp12_) {
#line 598 "subscriptions.c"
				const gchar* _tmp13_ = NULL;
				const gchar* _tmp14_ = NULL;
#line 89 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp13_ = line;
#line 89 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp14_ = string_offset (_tmp13_, (glong) 3);
#line 89 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				adblock_subscription_add_url_pattern (self, "^", "whitelist", _tmp14_, &_inner_error_);
#line 89 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 89 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					g_propagate_error (error, _inner_error_);
#line 89 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					return;
#line 613 "subscriptions.c"
				}
			} else {
				const gchar* _tmp15_ = NULL;
				const gchar* _tmp16_ = NULL;
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp15_ = line;
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp16_ = string_offset (_tmp15_, (glong) 2);
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				adblock_subscription_add_url_pattern (self, "", "whitelist", _tmp16_, &_inner_error_);
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					g_propagate_error (error, _inner_error_);
#line 91 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					return;
#line 630 "subscriptions.c"
				}
			}
		}
#line 92 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 636 "subscriptions.c"
	}
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp17_ = line;
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp18_ = string_get (_tmp17_, (glong) 0);
#line 95 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp18_ == '[') {
#line 96 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 646 "subscriptions.c"
	}
#line 99 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp19_ = line;
#line 99 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp20_ = g_str_has_prefix (_tmp19_, "##");
#line 99 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp20_) {
#line 101 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 656 "subscriptions.c"
	}
#line 103 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp21_ = line;
#line 103 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp22_ = string_get (_tmp21_, (glong) 0);
#line 103 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp22_ == '#') {
#line 104 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 666 "subscriptions.c"
	}
#line 107 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp23_ = line;
#line 107 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp24_ = string_contains (_tmp23_, "#@#");
#line 107 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp24_) {
#line 108 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 676 "subscriptions.c"
	}
#line 111 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp25_ = line;
#line 111 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp26_ = string_contains (_tmp25_, "##");
#line 111 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp26_) {
#line 684 "subscriptions.c"
		const gchar* _tmp27_ = NULL;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp27_ = line;
#line 112 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_frame_add_private (self, _tmp27_, "##");
#line 113 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 692 "subscriptions.c"
	}
#line 115 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp28_ = line;
#line 115 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp29_ = string_contains (_tmp28_, "#");
#line 115 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp29_) {
#line 700 "subscriptions.c"
		const gchar* _tmp30_ = NULL;
#line 116 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp30_ = line;
#line 116 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_frame_add_private (self, _tmp30_, "#");
#line 117 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 708 "subscriptions.c"
	}
#line 121 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp31_ = line;
#line 121 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp32_ = g_str_has_prefix (_tmp31_, "|");
#line 121 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp32_) {
#line 716 "subscriptions.c"
		const gchar* _tmp33_ = NULL;
		gboolean _tmp34_ = FALSE;
		const gchar* _tmp35_ = NULL;
		gboolean _tmp36_ = FALSE;
#line 123 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp33_ = line;
#line 123 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp34_ = string_contains (_tmp33_, "$");
#line 123 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp34_) {
#line 124 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			return;
#line 729 "subscriptions.c"
		}
#line 126 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp35_ = line;
#line 126 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp36_ = g_str_has_prefix (_tmp35_, "||");
#line 126 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp36_) {
#line 737 "subscriptions.c"
			const gchar* _tmp37_ = NULL;
			const gchar* _tmp38_ = NULL;
#line 127 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp37_ = line;
#line 127 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp38_ = string_offset (_tmp37_, (glong) 2);
#line 127 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_subscription_add_url_pattern (self, "", "fulluri", _tmp38_, &_inner_error_);
#line 127 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 127 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				g_propagate_error (error, _inner_error_);
#line 127 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				return;
#line 752 "subscriptions.c"
			}
		} else {
			const gchar* _tmp39_ = NULL;
			const gchar* _tmp40_ = NULL;
#line 129 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp39_ = line;
#line 129 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp40_ = string_offset (_tmp39_, (glong) 1);
#line 129 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_subscription_add_url_pattern (self, "^", "fulluri", _tmp40_, &_inner_error_);
#line 129 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 129 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				g_propagate_error (error, _inner_error_);
#line 129 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				return;
#line 769 "subscriptions.c"
			}
		}
#line 130 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 774 "subscriptions.c"
	}
#line 133 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp41_ = line;
#line 133 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_add_url_pattern (self, "", "uri", _tmp41_, &_inner_error_);
#line 133 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 133 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_propagate_error (error, _inner_error_);
#line 133 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 786 "subscriptions.c"
	}
#line 134 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return;
#line 790 "subscriptions.c"
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end = NULL;
	gchar* _tmp0_ = NULL;
	glong _tmp1_ = 0L;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1197 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1197 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1197 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1197 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1198 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1198 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 813 "subscriptions.c"
		glong _tmp4_ = 0L;
#line 1199 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1199 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1199 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		return result;
#line 821 "subscriptions.c"
	} else {
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 1201 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1201 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1201 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1201 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		return result;
#line 833 "subscriptions.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_ = 0L;
	glong _tmp8_ = 0L;
	glong _tmp14_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	glong _tmp21_ = 0L;
	gchar* _tmp22_ = NULL;
#line 1208 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1210 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1210 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 857 "subscriptions.c"
		glong _tmp2_ = 0L;
#line 1210 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1210 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 863 "subscriptions.c"
	} else {
#line 1210 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 867 "subscriptions.c"
	}
#line 1210 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 871 "subscriptions.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
		glong _tmp5_ = 0L;
#line 1212 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1212 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1212 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1212 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 883 "subscriptions.c"
	} else {
		gint _tmp6_ = 0;
		gint _tmp7_ = 0;
#line 1214 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1214 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1214 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 893 "subscriptions.c"
	}
#line 1217 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1217 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 899 "subscriptions.c"
		glong _tmp9_ = 0L;
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1218 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1218 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1218 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1219 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1219 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 913 "subscriptions.c"
	} else {
		glong _tmp12_ = 0L;
		glong _tmp13_ = 0L;
#line 1221 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1221 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1221 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 923 "subscriptions.c"
	}
#line 1223 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1223 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 929 "subscriptions.c"
		glong _tmp15_ = 0L;
		glong _tmp16_ = 0L;
#line 1224 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1224 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1224 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 938 "subscriptions.c"
	}
#line 1226 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1226 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1226 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1226 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1227 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1227 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1227 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1227 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1227 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 958 "subscriptions.c"
}


static gchar* string_strip (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_ = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 1115 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1116 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1116 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1117 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1117 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_strstrip (_tmp1_);
#line 1118 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _result_;
#line 1118 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 981 "subscriptions.c"
}


static void adblock_subscription_frame_add_private (AdblockSubscription* self, const gchar* line, const gchar* sep) {
	gchar** data = NULL;
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar** _tmp2_ = NULL;
	gchar** _tmp3_ = NULL;
	gint data_length1 = 0;
	gint _data_size_ = 0;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gchar** _tmp7_ = NULL;
	gint _tmp7__length1 = 0;
	const gchar* _tmp8_ = NULL;
	gchar** _tmp21_ = NULL;
	gint _tmp21__length1 = 0;
	const gchar* _tmp22_ = NULL;
	const gchar* _tmp23_ = NULL;
#line 137 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 137 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (line != NULL);
#line 137 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (sep != NULL);
#line 138 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = line;
#line 138 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = sep;
#line 138 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp3_ = _tmp2_ = g_strsplit (_tmp0_, _tmp1_, 2);
#line 138 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	data = _tmp3_;
#line 138 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	data_length1 = _vala_array_length (_tmp2_);
#line 138 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_data_size_ = data_length1;
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp7_ = data;
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp7__length1 = data_length1;
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp8_ = _tmp7_[1];
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp8_ != NULL) {
#line 1029 "subscriptions.c"
		gchar** _tmp9_ = NULL;
		gint _tmp9__length1 = 0;
		const gchar* _tmp10_ = NULL;
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp9_ = data;
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp9__length1 = data_length1;
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp10_ = _tmp9_[1];
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp6_ = g_strcmp0 (_tmp10_, "") != 0;
#line 1041 "subscriptions.c"
	} else {
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp6_ = FALSE;
#line 1045 "subscriptions.c"
	}
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (!_tmp6_) {
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = TRUE;
#line 1051 "subscriptions.c"
	} else {
		gchar** _tmp11_ = NULL;
		gint _tmp11__length1 = 0;
		const gchar* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
#line 140 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp11_ = data;
#line 140 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp11__length1 = data_length1;
#line 140 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp12_ = _tmp11_[1];
#line 140 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp13_ = g_utf8_strchr (_tmp12_, (gssize) (-1), (gunichar) '\'');
#line 140 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = _tmp13_ != NULL;
#line 1067 "subscriptions.c"
	}
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp5_) {
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = TRUE;
#line 1073 "subscriptions.c"
	} else {
		gboolean _tmp14_ = FALSE;
		gchar** _tmp15_ = NULL;
		gint _tmp15__length1 = 0;
		const gchar* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
#line 141 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp15_ = data;
#line 141 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp15__length1 = data_length1;
#line 141 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp16_ = _tmp15_[1];
#line 141 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp17_ = g_utf8_strchr (_tmp16_, (gssize) (-1), (gunichar) ':');
#line 141 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp17_ != NULL) {
#line 1090 "subscriptions.c"
			gchar** _tmp18_ = NULL;
			gint _tmp18__length1 = 0;
			const gchar* _tmp19_ = NULL;
			gboolean _tmp20_ = FALSE;
#line 142 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp18_ = data;
#line 142 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp18__length1 = data_length1;
#line 142 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp19_ = _tmp18_[1];
#line 142 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp20_ = g_regex_match_simple (".*\\[.*:.*\\].*", _tmp19_, G_REGEX_CASELESS, G_REGEX_MATCH_NOTEMPTY);
#line 142 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp14_ = !_tmp20_;
#line 1105 "subscriptions.c"
		} else {
#line 141 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp14_ = FALSE;
#line 1109 "subscriptions.c"
		}
#line 141 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = _tmp14_;
#line 1113 "subscriptions.c"
	}
#line 139 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp4_) {
#line 144 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		data = (_vala_array_free (data, data_length1, (GDestroyNotify) g_free), NULL);
#line 144 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 1121 "subscriptions.c"
	}
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp21_ = data;
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp21__length1 = data_length1;
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp22_ = _tmp21_[0];
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp23_ = g_utf8_strchr (_tmp22_, (gssize) (-1), (gunichar) ',');
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp23_ != NULL) {
#line 1133 "subscriptions.c"
		gchar** domains = NULL;
		gchar** _tmp24_ = NULL;
		gint _tmp24__length1 = 0;
		const gchar* _tmp25_ = NULL;
		gchar** _tmp26_ = NULL;
		gchar** _tmp27_ = NULL;
		gint domains_length1 = 0;
		gint _domains_size_ = 0;
		gchar** _tmp28_ = NULL;
		gint _tmp28__length1 = 0;
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp24_ = data;
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp24__length1 = data_length1;
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp25_ = _tmp24_[0];
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp27_ = _tmp26_ = g_strsplit (_tmp25_, ",", -1);
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		domains = _tmp27_;
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		domains_length1 = _vala_array_length (_tmp26_);
#line 148 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_domains_size_ = domains_length1;
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp28_ = domains;
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp28__length1 = domains_length1;
#line 1162 "subscriptions.c"
		{
			gchar** domain_collection = NULL;
			gint domain_collection_length1 = 0;
			gint _domain_collection_size_ = 0;
			gint domain_it = 0;
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			domain_collection = _tmp28_;
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			domain_collection_length1 = _tmp28__length1;
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			for (domain_it = 0; domain_it < _tmp28__length1; domain_it = domain_it + 1) {
#line 1174 "subscriptions.c"
				gchar* _tmp29_ = NULL;
				gchar* domain = NULL;
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp29_ = g_strdup (domain_collection[domain_it]);
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				domain = _tmp29_;
#line 1181 "subscriptions.c"
				{
					const gchar* _tmp30_ = NULL;
					const gchar* _tmp31_ = NULL;
					gchar _tmp32_ = '\0';
					const gchar* _tmp35_ = NULL;
					gchar* _tmp36_ = NULL;
					gchar* _tmp37_ = NULL;
					gchar** _tmp38_ = NULL;
					gint _tmp38__length1 = 0;
					const gchar* _tmp39_ = NULL;
#line 152 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp30_ = domain;
#line 152 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (g_strcmp0 (_tmp30_, "~pregecko2") == 0) {
#line 153 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_g_free0 (domain);
#line 153 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						continue;
#line 1200 "subscriptions.c"
					}
#line 155 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp31_ = domain;
#line 155 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp32_ = string_get (_tmp31_, (glong) 0);
#line 155 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (_tmp32_ == '~') {
#line 1208 "subscriptions.c"
						const gchar* _tmp33_ = NULL;
						gchar* _tmp34_ = NULL;
#line 156 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp33_ = domain;
#line 156 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp34_ = string_substring (_tmp33_, (glong) 1, (glong) (-1));
#line 156 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_g_free0 (domain);
#line 156 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						domain = _tmp34_;
#line 1219 "subscriptions.c"
					}
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp35_ = domain;
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp36_ = string_strip (_tmp35_);
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp37_ = _tmp36_;
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp38_ = data;
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp38__length1 = data_length1;
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp39_ = _tmp38_[1];
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					adblock_subscription_update_css_hash (self, _tmp37_, _tmp39_);
#line 157 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_g_free0 (_tmp37_);
#line 150 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_g_free0 (domain);
#line 1239 "subscriptions.c"
				}
			}
		}
#line 147 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		domains = (_vala_array_free (domains, domains_length1, (GDestroyNotify) g_free), NULL);
#line 1245 "subscriptions.c"
	} else {
		gchar** _tmp40_ = NULL;
		gint _tmp40__length1 = 0;
		const gchar* _tmp41_ = NULL;
		gchar** _tmp42_ = NULL;
		gint _tmp42__length1 = 0;
		const gchar* _tmp43_ = NULL;
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp40_ = data;
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp40__length1 = data_length1;
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp41_ = _tmp40_[0];
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp42_ = data;
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp42__length1 = data_length1;
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp43_ = _tmp42_[1];
#line 161 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_update_css_hash (self, _tmp41_, _tmp43_);
#line 1267 "subscriptions.c"
	}
#line 137 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	data = (_vala_array_free (data, data_length1, (GDestroyNotify) g_free), NULL);
#line 1271 "subscriptions.c"
}


static gboolean _vala_string_array_contains (gchar** stack, int stack_length, gchar* needle) {
	int i;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	for (i = 0; i < stack_length; i++) {
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (g_strcmp0 (stack[i], needle) == 0) {
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			return TRUE;
#line 1283 "subscriptions.c"
		}
	}
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return FALSE;
#line 1288 "subscriptions.c"
}


static gboolean adblock_subscription_css_element_seems_valid (AdblockSubscription* self, const gchar* element) {
	gboolean result = FALSE;
	gboolean is_valid = FALSE;
	gchar** valid_elements = NULL;
	gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	gchar* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	gchar* _tmp13_ = NULL;
	gchar* _tmp14_ = NULL;
	gchar* _tmp15_ = NULL;
	gchar* _tmp16_ = NULL;
	gchar* _tmp17_ = NULL;
	gchar* _tmp18_ = NULL;
	gchar* _tmp19_ = NULL;
	gchar* _tmp20_ = NULL;
	gchar* _tmp21_ = NULL;
	gchar* _tmp22_ = NULL;
	gchar* _tmp23_ = NULL;
	gchar* _tmp24_ = NULL;
	gchar* _tmp25_ = NULL;
	gchar* _tmp26_ = NULL;
	gchar* _tmp27_ = NULL;
	gchar* _tmp28_ = NULL;
	gchar* _tmp29_ = NULL;
	gchar* _tmp30_ = NULL;
	gchar* _tmp31_ = NULL;
	gchar* _tmp32_ = NULL;
	gchar* _tmp33_ = NULL;
	gchar* _tmp34_ = NULL;
	gchar* _tmp35_ = NULL;
	gchar* _tmp36_ = NULL;
	gchar* _tmp37_ = NULL;
	gchar* _tmp38_ = NULL;
	gchar* _tmp39_ = NULL;
	gchar* _tmp40_ = NULL;
	gchar* _tmp41_ = NULL;
	gchar* _tmp42_ = NULL;
	gchar* _tmp43_ = NULL;
	gchar* _tmp44_ = NULL;
	gchar* _tmp45_ = NULL;
	gchar* _tmp46_ = NULL;
	gchar* _tmp47_ = NULL;
	gchar* _tmp48_ = NULL;
	gchar* _tmp49_ = NULL;
	gchar* _tmp50_ = NULL;
	gchar* _tmp51_ = NULL;
	gchar* _tmp52_ = NULL;
	gchar* _tmp53_ = NULL;
	gchar* _tmp54_ = NULL;
	gchar* _tmp55_ = NULL;
	gchar* _tmp56_ = NULL;
	gchar* _tmp57_ = NULL;
	gchar* _tmp58_ = NULL;
	gchar* _tmp59_ = NULL;
	gchar* _tmp60_ = NULL;
	gchar* _tmp61_ = NULL;
	gchar* _tmp62_ = NULL;
	gchar* _tmp63_ = NULL;
	gchar* _tmp64_ = NULL;
	gchar** _tmp65_ = NULL;
	gint valid_elements_length1 = 0;
	gint _valid_elements_size_ = 0;
	gboolean _tmp66_ = FALSE;
	gboolean _tmp67_ = FALSE;
	const gchar* _tmp68_ = NULL;
	gboolean _tmp69_ = FALSE;
	const gchar* _tmp78_ = NULL;
	const gchar* _tmp79_ = NULL;
	gboolean debug_selectors = FALSE;
	gboolean _tmp80_ = FALSE;
	gboolean _tmp81_ = FALSE;
#line 165 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 165 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (element != NULL, FALSE);
#line 166 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	is_valid = TRUE;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = g_strdup ("::after");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = g_strdup ("::before");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = g_strdup ("a");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp3_ = g_strdup ("abbr");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp4_ = g_strdup ("address");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp5_ = g_strdup ("article");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp6_ = g_strdup ("aside");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp7_ = g_strdup ("b");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp8_ = g_strdup ("blockquote");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp9_ = g_strdup ("caption");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp10_ = g_strdup ("center");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp11_ = g_strdup ("cite");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp12_ = g_strdup ("code");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp13_ = g_strdup ("div");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp14_ = g_strdup ("dl");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp15_ = g_strdup ("dt");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp16_ = g_strdup ("dd");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp17_ = g_strdup ("em");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp18_ = g_strdup ("feed");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp19_ = g_strdup ("fieldset");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp20_ = g_strdup ("figcaption");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp21_ = g_strdup ("figure");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp22_ = g_strdup ("font");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp23_ = g_strdup ("footer");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp24_ = g_strdup ("form");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp25_ = g_strdup ("h1");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp26_ = g_strdup ("h2");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp27_ = g_strdup ("h3");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp28_ = g_strdup ("h4");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp29_ = g_strdup ("h5");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp30_ = g_strdup ("h6");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp31_ = g_strdup ("header");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp32_ = g_strdup ("hgroup");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp33_ = g_strdup ("i");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp34_ = g_strdup ("iframe");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp35_ = g_strdup ("iframe html *");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp36_ = g_strdup ("img");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp37_ = g_strdup ("kbd");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp38_ = g_strdup ("label");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp39_ = g_strdup ("legend");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp40_ = g_strdup ("li");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp41_ = g_strdup ("m");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp42_ = g_strdup ("main");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp43_ = g_strdup ("marquee");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp44_ = g_strdup ("menu");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp45_ = g_strdup ("nav");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp46_ = g_strdup ("ol");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp47_ = g_strdup ("option");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp48_ = g_strdup ("p");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp49_ = g_strdup ("pre");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp50_ = g_strdup ("q");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp51_ = g_strdup ("samp");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp52_ = g_strdup ("section");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp53_ = g_strdup ("small");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp54_ = g_strdup ("span");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp55_ = g_strdup ("strong");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp56_ = g_strdup ("summary");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp57_ = g_strdup ("table");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp58_ = g_strdup ("tr");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp59_ = g_strdup ("tbody");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp60_ = g_strdup ("td");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp61_ = g_strdup ("th");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp62_ = g_strdup ("thead");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp63_ = g_strdup ("tt");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp64_ = g_strdup ("ul");
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_ = g_new0 (gchar*, 65 + 1);
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[0] = _tmp0_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[1] = _tmp1_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[2] = _tmp2_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[3] = _tmp3_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[4] = _tmp4_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[5] = _tmp5_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[6] = _tmp6_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[7] = _tmp7_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[8] = _tmp8_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[9] = _tmp9_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[10] = _tmp10_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[11] = _tmp11_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[12] = _tmp12_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[13] = _tmp13_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[14] = _tmp14_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[15] = _tmp15_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[16] = _tmp16_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[17] = _tmp17_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[18] = _tmp18_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[19] = _tmp19_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[20] = _tmp20_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[21] = _tmp21_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[22] = _tmp22_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[23] = _tmp23_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[24] = _tmp24_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[25] = _tmp25_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[26] = _tmp26_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[27] = _tmp27_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[28] = _tmp28_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[29] = _tmp29_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[30] = _tmp30_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[31] = _tmp31_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[32] = _tmp32_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[33] = _tmp33_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[34] = _tmp34_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[35] = _tmp35_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[36] = _tmp36_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[37] = _tmp37_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[38] = _tmp38_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[39] = _tmp39_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[40] = _tmp40_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[41] = _tmp41_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[42] = _tmp42_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[43] = _tmp43_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[44] = _tmp44_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[45] = _tmp45_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[46] = _tmp46_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[47] = _tmp47_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[48] = _tmp48_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[49] = _tmp49_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[50] = _tmp50_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[51] = _tmp51_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[52] = _tmp52_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[53] = _tmp53_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[54] = _tmp54_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[55] = _tmp55_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[56] = _tmp56_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[57] = _tmp57_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[58] = _tmp58_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[59] = _tmp59_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[60] = _tmp60_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[61] = _tmp61_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[62] = _tmp62_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[63] = _tmp63_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp65_[64] = _tmp64_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	valid_elements = _tmp65_;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	valid_elements_length1 = 65;
#line 167 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_valid_elements_size_ = valid_elements_length1;
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp68_ = element;
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp69_ = g_str_has_prefix (_tmp68_, ".");
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (!_tmp69_) {
#line 1653 "subscriptions.c"
		const gchar* _tmp70_ = NULL;
		gboolean _tmp71_ = FALSE;
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp70_ = element;
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp71_ = g_str_has_prefix (_tmp70_, "#");
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp67_ = !_tmp71_;
#line 1662 "subscriptions.c"
	} else {
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp67_ = FALSE;
#line 1666 "subscriptions.c"
	}
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp67_) {
#line 1670 "subscriptions.c"
		const gchar* _tmp72_ = NULL;
		gchar** _tmp73_ = NULL;
		gchar** _tmp74_ = NULL;
		gchar** _tmp75_ = NULL;
		gint _tmp75__length1 = 0;
		const gchar* _tmp76_ = NULL;
		gchar** _tmp77_ = NULL;
		gint _tmp77__length1 = 0;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp72_ = element;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp74_ = _tmp73_ = g_strsplit (_tmp72_, "[", 0);
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp75_ = _tmp74_;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp75__length1 = _vala_array_length (_tmp73_);
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp76_ = _tmp75_[0];
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp77_ = valid_elements;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp77__length1 = valid_elements_length1;
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp66_ = !_vala_string_array_contains (_tmp77_, _tmp77__length1, _tmp76_);
#line 175 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp75_ = (_vala_array_free (_tmp75_, _tmp75__length1, (GDestroyNotify) g_free), NULL);
#line 1697 "subscriptions.c"
	} else {
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp66_ = FALSE;
#line 1701 "subscriptions.c"
	}
#line 174 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp66_) {
#line 176 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		is_valid = FALSE;
#line 1707 "subscriptions.c"
	}
#line 179 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp79_ = g_getenv ("MIDORI_DEBUG");
#line 179 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp78_ = _tmp79_;
#line 179 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp78_ == NULL) {
#line 179 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp78_ = "";
#line 1717 "subscriptions.c"
	}
#line 179 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp80_ = string_contains (_tmp78_, "adblock:css");
#line 179 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	debug_selectors = _tmp80_;
#line 180 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp81_ = debug_selectors;
#line 180 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp81_) {
#line 1727 "subscriptions.c"
		const gchar* _tmp82_ = NULL;
		gboolean _tmp83_ = FALSE;
		FILE* _tmp84_ = NULL;
		const gchar* _tmp85_ = NULL;
		const gchar* _tmp86_ = NULL;
#line 182 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp83_ = is_valid;
#line 182 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp83_) {
#line 182 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp82_ = "selector";
#line 1739 "subscriptions.c"
		} else {
#line 182 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp82_ = "INVALID?";
#line 1743 "subscriptions.c"
		}
#line 181 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp84_ = stdout;
#line 181 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp85_ = self->priv->_title;
#line 181 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp86_ = element;
#line 181 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		fprintf (_tmp84_, "Adblock '%s' %s: %s\n", _tmp85_, _tmp82_, _tmp86_);
#line 1753 "subscriptions.c"
	}
#line 184 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = is_valid;
#line 184 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	valid_elements = (_vala_array_free (valid_elements, valid_elements_length1, (GDestroyNotify) g_free), NULL);
#line 184 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 1761 "subscriptions.c"
}


static void adblock_subscription_update_css_hash (AdblockSubscription* self, const gchar* domain, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
#line 187 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 187 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (domain != NULL);
#line 187 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (value != NULL);
#line 188 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = value;
#line 188 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = adblock_subscription_css_element_seems_valid (self, _tmp0_);
#line 188 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp1_) {
#line 1780 "subscriptions.c"
		gchar* olddata = NULL;
		AdblockElement* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp2_ = self->element;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp3_ = domain;
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = adblock_element_lookup (_tmp2_, _tmp3_);
#line 189 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		olddata = _tmp4_;
#line 190 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = olddata;
#line 190 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp5_ != NULL) {
#line 1798 "subscriptions.c"
			gchar* newdata = NULL;
			const gchar* _tmp6_ = NULL;
			gchar* _tmp7_ = NULL;
			gchar* _tmp8_ = NULL;
			const gchar* _tmp9_ = NULL;
			gchar* _tmp10_ = NULL;
			gchar* _tmp11_ = NULL;
			AdblockElement* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
			const gchar* _tmp14_ = NULL;
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp6_ = olddata;
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp7_ = g_strconcat (_tmp6_, " , ", NULL);
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp8_ = _tmp7_;
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp9_ = value;
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp10_ = g_strconcat (_tmp8_, _tmp9_, NULL);
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp11_ = _tmp10_;
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (_tmp8_);
#line 191 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			newdata = _tmp11_;
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp12_ = self->element;
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp13_ = domain;
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp14_ = newdata;
#line 192 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_element_insert (_tmp12_, _tmp13_, _tmp14_);
#line 190 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (newdata);
#line 1835 "subscriptions.c"
		} else {
			AdblockElement* _tmp15_ = NULL;
			const gchar* _tmp16_ = NULL;
			const gchar* _tmp17_ = NULL;
#line 194 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp15_ = self->element;
#line 194 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp16_ = domain;
#line 194 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp17_ = value;
#line 194 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_element_insert (_tmp15_, _tmp16_, _tmp17_);
#line 1848 "subscriptions.c"
		}
#line 188 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (olddata);
#line 1852 "subscriptions.c"
	}
}


static void adblock_subscription_add_url_pattern (AdblockSubscription* self, const gchar* prefix, const gchar* type, const gchar* line, GError** error) {
	gchar** data = NULL;
	const gchar* _tmp0_ = NULL;
	gchar** _tmp1_ = NULL;
	gchar** _tmp2_ = NULL;
	gint data_length1 = 0;
	gint _data_size_ = 0;
	gboolean _tmp3_ = FALSE;
	gchar** _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
	gchar* patt = NULL;
	gchar* opts = NULL;
	gchar** _tmp7_ = NULL;
	gint _tmp7__length1 = 0;
	const gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar** _tmp12_ = NULL;
	gint _tmp12__length1 = 0;
	const gchar* _tmp13_ = NULL;
	const gchar* _tmp20_ = NULL;
	gboolean _tmp21_ = FALSE;
	gchar* format_patt = NULL;
	const gchar* _tmp22_ = NULL;
	const gchar* _tmp23_ = NULL;
	gchar* _tmp24_ = NULL;
	gboolean _tmp25_ = FALSE;
	const gchar* _tmp29_ = NULL;
	const gchar* _tmp30_ = NULL;
	GError * _inner_error_ = NULL;
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (prefix != NULL);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (type != NULL);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (line != NULL);
#line 200 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = line;
#line 200 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = _tmp1_ = g_strsplit (_tmp0_, "$", 2);
#line 200 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	data = _tmp2_;
#line 200 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	data_length1 = _vala_array_length (_tmp1_);
#line 200 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_data_size_ = data_length1;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp4_ = data;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp4__length1 = data_length1;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp4_ == NULL) {
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp3_ = TRUE;
#line 1914 "subscriptions.c"
	} else {
		gchar** _tmp5_ = NULL;
		gint _tmp5__length1 = 0;
		const gchar* _tmp6_ = NULL;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = data;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5__length1 = data_length1;
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp6_ = _tmp5_[0];
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp3_ = _tmp6_ == NULL;
#line 1927 "subscriptions.c"
	}
#line 201 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp3_) {
#line 202 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		data = (_vala_array_free (data, data_length1, (GDestroyNotify) g_free), NULL);
#line 202 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 1935 "subscriptions.c"
	}
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp7_ = data;
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp7__length1 = data_length1;
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp8_ = _tmp7_[0];
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp9_ = g_strdup (_tmp8_);
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (patt);
#line 205 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	patt = _tmp9_;
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp10_ = type;
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (opts);
#line 206 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	opts = _tmp11_;
#line 208 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp12_ = data;
#line 208 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp12__length1 = data_length1;
#line 208 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp13_ = _tmp12_[1];
#line 208 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp13_ != NULL) {
#line 1965 "subscriptions.c"
		const gchar* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
		gchar* _tmp16_ = NULL;
		gchar** _tmp17_ = NULL;
		gint _tmp17__length1 = 0;
		const gchar* _tmp18_ = NULL;
		gchar* _tmp19_ = NULL;
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp14_ = type;
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp15_ = g_strconcat (_tmp14_, ",", NULL);
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp16_ = _tmp15_;
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp17_ = data;
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp17__length1 = data_length1;
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp18_ = _tmp17_[1];
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp19_ = g_strconcat (_tmp16_, _tmp18_, NULL);
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (opts);
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		opts = _tmp19_;
#line 209 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (_tmp16_);
#line 1993 "subscriptions.c"
	}
#line 211 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp20_ = opts;
#line 211 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp21_ = g_regex_match_simple ("subdocument", _tmp20_, G_REGEX_CASELESS, G_REGEX_MATCH_NOTEMPTY);
#line 211 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp21_) {
#line 213 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (opts);
#line 213 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (patt);
#line 213 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		data = (_vala_array_free (data, data_length1, (GDestroyNotify) g_free), NULL);
#line 213 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 2009 "subscriptions.c"
	}
#line 215 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp22_ = prefix;
#line 215 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp23_ = patt;
#line 215 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp24_ = adblock_fixup_regex (_tmp22_, _tmp23_);
#line 215 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	format_patt = _tmp24_;
#line 216 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp25_ = self->priv->debug_parse;
#line 216 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp25_) {
#line 2023 "subscriptions.c"
		FILE* _tmp26_ = NULL;
		const gchar* _tmp27_ = NULL;
		const gchar* _tmp28_ = NULL;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp26_ = stdout;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp27_ = format_patt;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp28_ = opts;
#line 217 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		fprintf (_tmp26_, "got: %s opts %s\n", _tmp27_, _tmp28_);
#line 2035 "subscriptions.c"
	}
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp29_ = format_patt;
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp30_ = opts;
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_compile_regexp (self, _tmp29_, _tmp30_, &_inner_error_);
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_propagate_error (error, _inner_error_);
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (format_patt);
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (opts);
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (patt);
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		data = (_vala_array_free (data, data_length1, (GDestroyNotify) g_free), NULL);
#line 218 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 2057 "subscriptions.c"
	}
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (format_patt);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (opts);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (patt);
#line 199 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	data = (_vala_array_free (data, data_length1, (GDestroyNotify) g_free), NULL);
#line 2067 "subscriptions.c"
}


static gboolean adblock_subscription_compile_regexp (AdblockSubscription* self, const gchar* patt, const gchar* opts, GError** error) {
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
#line 222 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 222 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (opts != NULL, FALSE);
#line 223 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = patt;
#line 223 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp0_ == NULL) {
#line 224 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		result = FALSE;
#line 224 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return result;
#line 2087 "subscriptions.c"
	}
	{
		GRegex* regex = NULL;
		const gchar* _tmp1_ = NULL;
		GRegex* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		const gchar* _tmp4_ = NULL;
		gboolean _tmp5_ = FALSE;
#line 226 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp1_ = patt;
#line 226 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp2_ = g_regex_new (_tmp1_, G_REGEX_OPTIMIZE, G_REGEX_MATCH_NOTEMPTY, &_inner_error_);
#line 226 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		regex = _tmp2_;
#line 226 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2104 "subscriptions.c"
			goto __catch14_g_error;
		}
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = patt;
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = g_regex_match_simple ("^/.*[\\^\\$\\*].*/$", _tmp4_, G_REGEX_UNGREEDY, G_REGEX_MATCH_NOTEMPTY);
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp5_) {
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp3_ = TRUE;
#line 2115 "subscriptions.c"
		} else {
			gboolean _tmp6_ = FALSE;
			const gchar* _tmp7_ = NULL;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp7_ = opts;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (_tmp7_ != NULL) {
#line 2123 "subscriptions.c"
				const gchar* _tmp8_ = NULL;
				gboolean _tmp9_ = FALSE;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp8_ = opts;
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp9_ = string_contains (_tmp8_, "whitelist");
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp6_ = _tmp9_;
#line 2132 "subscriptions.c"
			} else {
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp6_ = FALSE;
#line 2136 "subscriptions.c"
			}
#line 230 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp3_ = _tmp6_;
#line 2140 "subscriptions.c"
		}
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp3_) {
#line 2144 "subscriptions.c"
			gboolean _tmp10_ = FALSE;
			const gchar* _tmp13_ = NULL;
			gboolean _tmp14_ = FALSE;
			AdblockOptions* _tmp21_ = NULL;
			const gchar* _tmp22_ = NULL;
			const gchar* _tmp23_ = NULL;
#line 231 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp10_ = self->priv->debug_parse;
#line 231 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (_tmp10_) {
#line 2155 "subscriptions.c"
				FILE* _tmp11_ = NULL;
				const gchar* _tmp12_ = NULL;
#line 232 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp11_ = stdout;
#line 232 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp12_ = patt;
#line 232 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				fprintf (_tmp11_, "patt: %s\n", _tmp12_);
#line 2164 "subscriptions.c"
			}
#line 233 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp13_ = opts;
#line 233 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp14_ = string_contains (_tmp13_, "whitelist");
#line 233 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (_tmp14_) {
#line 2172 "subscriptions.c"
				AdblockWhitelist* _tmp15_ = NULL;
				const gchar* _tmp16_ = NULL;
				GRegex* _tmp17_ = NULL;
#line 234 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp15_ = self->whitelist;
#line 234 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp16_ = patt;
#line 234 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp17_ = regex;
#line 234 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				adblock_filter_insert ((AdblockFilter*) _tmp15_, _tmp16_, _tmp17_);
#line 2184 "subscriptions.c"
			} else {
				AdblockPattern* _tmp18_ = NULL;
				const gchar* _tmp19_ = NULL;
				GRegex* _tmp20_ = NULL;
#line 236 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp18_ = self->pattern;
#line 236 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp19_ = patt;
#line 236 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp20_ = regex;
#line 236 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				adblock_filter_insert ((AdblockFilter*) _tmp18_, _tmp19_, _tmp20_);
#line 2197 "subscriptions.c"
			}
#line 237 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp21_ = self->optslist;
#line 237 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp22_ = patt;
#line 237 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp23_ = opts;
#line 237 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_options_insert (_tmp21_, _tmp22_, _tmp23_);
#line 238 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			result = FALSE;
#line 238 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_regex_unref0 (regex);
#line 238 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			return result;
#line 2213 "subscriptions.c"
		} else {
			gint pos = 0;
			gint len = 0;
			gint signature_size = 0;
			gchar* sig = NULL;
			const gchar* _tmp24_ = NULL;
			gint _tmp25_ = 0;
			gint _tmp26_ = 0;
#line 240 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			pos = 0;
#line 241 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			signature_size = 8;
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp24_ = patt;
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp25_ = strlen (_tmp24_);
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp26_ = _tmp25_;
#line 243 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			len = _tmp26_;
#line 2234 "subscriptions.c"
			{
				gint _tmp27_ = 0;
				gint _tmp28_ = 0;
				gboolean _tmp29_ = FALSE;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp27_ = len;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp28_ = signature_size;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				pos = _tmp27_ - _tmp28_;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp29_ = TRUE;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				while (TRUE) {
#line 2249 "subscriptions.c"
					gint _tmp31_ = 0;
					const gchar* _tmp32_ = NULL;
					gint _tmp33_ = 0;
					const gchar* _tmp34_ = NULL;
					gint _tmp35_ = 0;
					gchar* _tmp36_ = NULL;
					gboolean _tmp37_ = FALSE;
					const gchar* _tmp38_ = NULL;
					gboolean _tmp39_ = FALSE;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (!_tmp29_) {
#line 2261 "subscriptions.c"
						gint _tmp30_ = 0;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp30_ = pos;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						pos = _tmp30_ - 1;
#line 2267 "subscriptions.c"
					}
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp29_ = FALSE;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp31_ = pos;
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (!(_tmp31_ >= 0)) {
#line 246 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						break;
#line 2277 "subscriptions.c"
					}
#line 248 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp32_ = patt;
#line 248 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp33_ = pos;
#line 248 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp34_ = string_offset (_tmp32_, (glong) _tmp33_);
#line 248 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp35_ = signature_size;
#line 248 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp36_ = g_strndup (_tmp34_, (gsize) _tmp35_);
#line 248 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_g_free0 (sig);
#line 248 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					sig = _tmp36_;
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp38_ = sig;
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp39_ = g_regex_match_simple ("[\\*]", _tmp38_, G_REGEX_UNGREEDY, G_REGEX_MATCH_NOTEMPTY);
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (!_tmp39_) {
#line 2299 "subscriptions.c"
						AdblockKeys* _tmp40_ = NULL;
						const gchar* _tmp41_ = NULL;
						GRegex* _tmp42_ = NULL;
						GRegex* _tmp43_ = NULL;
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp40_ = self->keys;
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp41_ = sig;
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp42_ = adblock_filter_lookup ((AdblockFilter*) _tmp40_, _tmp41_);
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp43_ = _tmp42_;
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp37_ = _tmp43_ == NULL;
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_g_regex_unref0 (_tmp43_);
#line 2316 "subscriptions.c"
					} else {
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp37_ = FALSE;
#line 2320 "subscriptions.c"
					}
#line 250 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (_tmp37_) {
#line 2324 "subscriptions.c"
						AdblockKeys* _tmp44_ = NULL;
						const gchar* _tmp45_ = NULL;
						GRegex* _tmp46_ = NULL;
						AdblockOptions* _tmp47_ = NULL;
						const gchar* _tmp48_ = NULL;
						const gchar* _tmp49_ = NULL;
#line 251 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp44_ = self->keys;
#line 251 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp45_ = sig;
#line 251 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp46_ = regex;
#line 251 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						adblock_filter_insert ((AdblockFilter*) _tmp44_, _tmp45_, _tmp46_);
#line 252 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp47_ = self->optslist;
#line 252 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp48_ = sig;
#line 252 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp49_ = opts;
#line 252 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						adblock_options_insert (_tmp47_, _tmp48_, _tmp49_);
#line 2347 "subscriptions.c"
					} else {
						gboolean _tmp50_ = FALSE;
						gboolean _tmp51_ = FALSE;
						const gchar* _tmp52_ = NULL;
						gboolean _tmp53_ = FALSE;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp52_ = sig;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp53_ = g_str_has_prefix (_tmp52_, "*");
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						if (_tmp53_) {
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp51_ = TRUE;
#line 2361 "subscriptions.c"
						} else {
							const gchar* _tmp54_ = NULL;
							gboolean _tmp55_ = FALSE;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp54_ = sig;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp55_ = g_str_has_prefix (_tmp54_, "\\");
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp51_ = _tmp55_;
#line 2371 "subscriptions.c"
						}
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						if (_tmp51_) {
#line 2375 "subscriptions.c"
							AdblockPattern* _tmp56_ = NULL;
							const gchar* _tmp57_ = NULL;
							GRegex* _tmp58_ = NULL;
							GRegex* _tmp59_ = NULL;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp56_ = self->pattern;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp57_ = sig;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp58_ = adblock_filter_lookup ((AdblockFilter*) _tmp56_, _tmp57_);
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp59_ = _tmp58_;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp50_ = _tmp59_ == NULL;
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_g_regex_unref0 (_tmp59_);
#line 2392 "subscriptions.c"
						} else {
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp50_ = FALSE;
#line 2396 "subscriptions.c"
						}
#line 255 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						if (_tmp50_) {
#line 2400 "subscriptions.c"
							AdblockPattern* _tmp60_ = NULL;
							const gchar* _tmp61_ = NULL;
							GRegex* _tmp62_ = NULL;
							AdblockOptions* _tmp63_ = NULL;
							const gchar* _tmp64_ = NULL;
							const gchar* _tmp65_ = NULL;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp60_ = self->pattern;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp61_ = sig;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp62_ = regex;
#line 256 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							adblock_filter_insert ((AdblockFilter*) _tmp60_, _tmp61_, _tmp62_);
#line 257 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp63_ = self->optslist;
#line 257 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp64_ = sig;
#line 257 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							_tmp65_ = opts;
#line 257 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
							adblock_options_insert (_tmp63_, _tmp64_, _tmp65_);
#line 2423 "subscriptions.c"
						}
					}
				}
			}
#line 228 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (sig);
#line 2430 "subscriptions.c"
		}
#line 262 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		result = FALSE;
#line 262 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_regex_unref0 (regex);
#line 262 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return result;
#line 2438 "subscriptions.c"
	}
	goto __finally14;
	__catch14_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp66_ = NULL;
		const gchar* _tmp67_ = NULL;
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_error_ = _inner_error_;
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_inner_error_ = NULL;
#line 265 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp66_ = _error_;
#line 265 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp67_ = _tmp66_->message;
#line 265 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_warning ("subscriptions.vala:265: Adblock compile regexp: %s", _tmp67_);
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		result = TRUE;
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_error_free0 (_error_);
#line 266 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return result;
#line 2462 "subscriptions.c"
	}
	__finally14:
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_propagate_error (error, _inner_error_);
#line 225 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return FALSE;
#line 2469 "subscriptions.c"
}


void adblock_subscription_parse_header (AdblockSubscription* self, const gchar* header, GError** error) {
	gchar* key = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* value = NULL;
	gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	const gchar* _tmp25_ = NULL;
	const gchar* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
	GList* _tmp29_ = NULL;
#line 270 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 270 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (header != NULL);
#line 275 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = header;
#line 275 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 275 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	key = _tmp1_;
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = g_strdup ("");
#line 276 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	value = _tmp2_;
#line 277 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp3_ = header;
#line 277 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp4_ = string_contains (_tmp3_, ":");
#line 277 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp4_) {
#line 2505 "subscriptions.c"
		gchar** parts = NULL;
		const gchar* _tmp5_ = NULL;
		gchar** _tmp6_ = NULL;
		gchar** _tmp7_ = NULL;
		gint parts_length1 = 0;
		gint _parts_size_ = 0;
		gboolean _tmp8_ = FALSE;
		gboolean _tmp9_ = FALSE;
		gboolean _tmp10_ = FALSE;
		gchar** _tmp11_ = NULL;
		gint _tmp11__length1 = 0;
		const gchar* _tmp12_ = NULL;
#line 278 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = header;
#line 278 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp7_ = _tmp6_ = g_strsplit (_tmp5_, ":", 2);
#line 278 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		parts = _tmp7_;
#line 278 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		parts_length1 = _vala_array_length (_tmp6_);
#line 278 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_parts_size_ = parts_length1;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp11_ = parts;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp11__length1 = parts_length1;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp12_ = _tmp11_[0];
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp12_ != NULL) {
#line 2536 "subscriptions.c"
			gchar** _tmp13_ = NULL;
			gint _tmp13__length1 = 0;
			const gchar* _tmp14_ = NULL;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp13_ = parts;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp13__length1 = parts_length1;
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp14_ = _tmp13_[0];
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp10_ = g_strcmp0 (_tmp14_, "") != 0;
#line 2548 "subscriptions.c"
		} else {
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp10_ = FALSE;
#line 2552 "subscriptions.c"
		}
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp10_) {
#line 2556 "subscriptions.c"
			gchar** _tmp15_ = NULL;
			gint _tmp15__length1 = 0;
			const gchar* _tmp16_ = NULL;
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp15_ = parts;
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp15__length1 = parts_length1;
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp16_ = _tmp15_[1];
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp9_ = _tmp16_ != NULL;
#line 2568 "subscriptions.c"
		} else {
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp9_ = FALSE;
#line 2572 "subscriptions.c"
		}
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp9_) {
#line 2576 "subscriptions.c"
			gchar** _tmp17_ = NULL;
			gint _tmp17__length1 = 0;
			const gchar* _tmp18_ = NULL;
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp17_ = parts;
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp17__length1 = parts_length1;
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp18_ = _tmp17_[1];
#line 280 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp8_ = g_strcmp0 (_tmp18_, "") != 0;
#line 2588 "subscriptions.c"
		} else {
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp8_ = FALSE;
#line 2592 "subscriptions.c"
		}
#line 279 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp8_) {
#line 2596 "subscriptions.c"
			gchar** _tmp19_ = NULL;
			gint _tmp19__length1 = 0;
			const gchar* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
			gchar** _tmp22_ = NULL;
			gint _tmp22__length1 = 0;
			const gchar* _tmp23_ = NULL;
			gchar* _tmp24_ = NULL;
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp19_ = parts;
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp19__length1 = parts_length1;
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp20_ = _tmp19_[0];
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp21_ = string_substring (_tmp20_, (glong) 2, (glong) (-1));
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (key);
#line 281 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			key = _tmp21_;
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp22_ = parts;
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp22__length1 = parts_length1;
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp23_ = _tmp22_[1];
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp24_ = string_substring (_tmp23_, (glong) 1, (glong) (-1));
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (value);
#line 282 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			value = _tmp24_;
#line 2629 "subscriptions.c"
		}
#line 277 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		parts = (_vala_array_free (parts, parts_length1, (GDestroyNotify) g_free), NULL);
#line 2633 "subscriptions.c"
	}
#line 285 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp25_ = key;
#line 285 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp26_ = value;
#line 285 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_debug ("Header '%s' says '%s'", _tmp25_, _tmp26_, NULL);
#line 286 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp27_ = key;
#line 286 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (g_strcmp0 (_tmp27_, "Title") == 0) {
#line 2645 "subscriptions.c"
		const gchar* _tmp28_ = NULL;
#line 287 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp28_ = value;
#line 287 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_title (self, _tmp28_);
#line 2651 "subscriptions.c"
	}
#line 288 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp29_ = self->priv->features;
#line 2655 "subscriptions.c"
	{
		GList* feature_collection = NULL;
		GList* feature_it = NULL;
#line 288 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		feature_collection = _tmp29_;
#line 288 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		for (feature_it = feature_collection; feature_it != NULL; feature_it = feature_it->next) {
#line 2663 "subscriptions.c"
			AdblockFeature* _tmp30_ = NULL;
			AdblockFeature* feature = NULL;
#line 288 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp30_ = _g_object_ref0 ((AdblockFeature*) feature_it->data);
#line 288 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			feature = _tmp30_;
#line 2670 "subscriptions.c"
			{
				AdblockFeature* _tmp31_ = NULL;
				const gchar* _tmp32_ = NULL;
				const gchar* _tmp33_ = NULL;
				gboolean _tmp34_ = FALSE;
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp31_ = feature;
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp32_ = key;
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp33_ = value;
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp34_ = adblock_feature_header (_tmp31_, _tmp32_, _tmp33_);
#line 289 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				if (_tmp34_) {
#line 290 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_g_object_unref0 (feature);
#line 290 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					break;
#line 2690 "subscriptions.c"
				}
#line 288 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (feature);
#line 2694 "subscriptions.c"
			}
		}
	}
#line 270 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (value);
#line 270 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (key);
#line 2702 "subscriptions.c"
}


static void adblock_subscription_download_status (AdblockSubscription* self, GParamSpec* pspec) {
	WebKitDownload* _tmp0_ = NULL;
	WebKitDownloadStatus _tmp1_ = 0;
	GError * _inner_error_ = NULL;
#line 295 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 295 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (pspec != NULL);
#line 296 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->download;
#line 296 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = webkit_download_get_status (_tmp0_);
#line 296 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp1_ != WEBKIT_DOWNLOAD_STATUS_FINISHED) {
#line 297 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 2722 "subscriptions.c"
	}
#line 299 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->priv->download);
#line 299 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->download = NULL;
#line 2728 "subscriptions.c"
	{
#line 301 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_parse (self, &_inner_error_);
#line 301 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2734 "subscriptions.c"
			goto __catch15_g_error;
		}
	}
	goto __finally15;
	__catch15_g_error:
	{
		GError* _error_ = NULL;
		const gchar* _tmp2_ = NULL;
		GError* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 300 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_error_ = _inner_error_;
#line 300 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_inner_error_ = NULL;
#line 303 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp2_ = self->priv->_uri;
#line 303 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp3_ = _error_;
#line 303 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = _tmp3_->message;
#line 303 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_warning ("subscriptions.vala:303: Error parsing %s: %s", _tmp2_, _tmp4_);
#line 300 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_error_free0 (_error_);
#line 2759 "subscriptions.c"
	}
	__finally15:
#line 300 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 300 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 300 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_clear_error (&_inner_error_);
#line 300 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 2770 "subscriptions.c"
	}
}


static void _adblock_subscription_download_status_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 345 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_download_status ((AdblockSubscription*) self, pspec);
#line 2778 "subscriptions.c"
}


static gchar* string_chomp (const gchar* self) {
	gchar* result = NULL;
	gchar* _result_ = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 1099 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1100 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = g_strdup (self);
#line 1100 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 1101 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = _result_;
#line 1101 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_strchomp (_tmp1_);
#line 1102 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _result_;
#line 1102 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 2801 "subscriptions.c"
}


void adblock_subscription_parse (AdblockSubscription* self, GError** error) {
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	GFile* filter_file = NULL;
	const gchar* _tmp17_ = NULL;
	GFile* _tmp18_ = NULL;
	GDataInputStream* stream = NULL;
	gchar* line = NULL;
	GList* _tmp56_ = NULL;
	GError * _inner_error_ = NULL;
#line 308 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 310 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->_active;
#line 310 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (!_tmp0_) {
#line 311 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 2826 "subscriptions.c"
	}
#line 313 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = self->priv->_uri;
#line 313 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp2_ = self->path;
#line 313 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_debug ("Parsing %s (%s)", _tmp1_, _tmp2_, NULL);
#line 315 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_clear (self);
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp3_ = self->priv->_uri;
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp4_ = g_str_has_prefix (_tmp3_, "file://");
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (_tmp4_) {
#line 2842 "subscriptions.c"
		gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp6_ = self->priv->_uri;
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp7_ = g_filename_from_uri (_tmp6_, NULL, &_inner_error_);
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = _tmp7_;
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			g_propagate_error (error, _inner_error_);
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			return;
#line 2859 "subscriptions.c"
		}
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp8_ = _tmp5_;
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = NULL;
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (self->path);
#line 318 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		self->path = _tmp8_;
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (_tmp5_);
#line 2871 "subscriptions.c"
	} else {
		gchar* cache_dir = NULL;
		const gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
		gchar* filename = NULL;
		const gchar* _tmp12_ = NULL;
		gchar* _tmp13_ = NULL;
		const gchar* _tmp14_ = NULL;
		const gchar* _tmp15_ = NULL;
		gchar* _tmp16_ = NULL;
#line 320 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp9_ = g_get_user_cache_dir ();
#line 320 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp10_ = g_build_filename (_tmp9_, PACKAGE_NAME, "adblock", NULL);
#line 320 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		cache_dir = _tmp10_;
#line 321 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp11_ = cache_dir;
#line 321 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		midori_paths_mkdir_with_parents (_tmp11_, 0700);
#line 322 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp12_ = self->priv->_uri;
#line 322 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp13_ = g_compute_checksum_for_string (G_CHECKSUM_MD5, _tmp12_, (gsize) (-1));
#line 322 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		filename = _tmp13_;
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp14_ = cache_dir;
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp15_ = filename;
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp16_ = g_build_filename (_tmp14_, _tmp15_, NULL);
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (self->path);
#line 323 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		self->path = _tmp16_;
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (filename);
#line 317 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (cache_dir);
#line 2913 "subscriptions.c"
	}
#line 326 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp17_ = self->path;
#line 326 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp18_ = g_file_new_for_path (_tmp17_);
#line 326 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	filter_file = _tmp18_;
#line 2921 "subscriptions.c"
	{
		GFileInputStream* _tmp19_ = NULL;
		GFile* _tmp20_ = NULL;
		GFileInputStream* _tmp21_ = NULL;
		GDataInputStream* _tmp22_ = NULL;
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp20_ = filter_file;
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp21_ = g_file_read (_tmp20_, NULL, &_inner_error_);
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp19_ = _tmp21_;
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (g_error_matches (_inner_error_, G_IO_ERROR, G_IO_ERROR_NOT_FOUND)) {
#line 2937 "subscriptions.c"
				goto __catch16_g_io_error_not_found;
			}
			goto __finally16;
		}
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp22_ = g_data_input_stream_new ((GInputStream*) _tmp19_);
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (stream);
#line 329 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		stream = _tmp22_;
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (_tmp19_);
#line 2950 "subscriptions.c"
	}
	goto __finally16;
	__catch16_g_io_error_not_found:
	{
		GError* exist_error = NULL;
		const gchar* _tmp23_ = NULL;
		gboolean _tmp24_ = FALSE;
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		exist_error = _inner_error_;
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_inner_error_ = NULL;
#line 335 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp23_ = self->priv->_uri;
#line 335 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp24_ = g_str_has_prefix (_tmp23_, "file://");
#line 335 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (!_tmp24_) {
#line 2968 "subscriptions.c"
			WebKitDownload* _tmp25_ = NULL;
			gchar* destination_uri = NULL;
			const gchar* _tmp26_ = NULL;
			gchar* _tmp27_ = NULL;
			const gchar* _tmp28_ = NULL;
			const gchar* _tmp29_ = NULL;
			const gchar* _tmp30_ = NULL;
			WebKitNetworkRequest* _tmp31_ = NULL;
			WebKitNetworkRequest* _tmp32_ = NULL;
			WebKitDownload* _tmp33_ = NULL;
			WebKitDownload* _tmp34_ = NULL;
			const gchar* _tmp35_ = NULL;
			gboolean _tmp36_ = FALSE;
			WebKitDownload* _tmp39_ = NULL;
			const gchar* _tmp40_ = NULL;
			WebKitDownload* _tmp41_ = NULL;
			WebKitDownload* _tmp42_ = NULL;
#line 336 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp25_ = self->priv->download;
#line 336 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (_tmp25_ != NULL) {
#line 337 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_error_free0 (exist_error);
#line 337 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (stream);
#line 337 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (filter_file);
#line 337 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				return;
#line 2998 "subscriptions.c"
			}
#line 339 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp26_ = self->path;
#line 339 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp27_ = g_filename_to_uri (_tmp26_, NULL, &_inner_error_);
#line 339 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			destination_uri = _tmp27_;
#line 339 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 339 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_error_free0 (exist_error);
#line 3010 "subscriptions.c"
				goto __finally16;
			}
#line 340 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp28_ = self->priv->_uri;
#line 340 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp29_ = destination_uri;
#line 340 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_debug ("Fetching %s to %s now", _tmp28_, _tmp29_, NULL);
#line 341 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp30_ = self->priv->_uri;
#line 341 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp31_ = webkit_network_request_new (_tmp30_);
#line 341 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp32_ = _tmp31_;
#line 341 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp33_ = webkit_download_new (_tmp32_);
#line 341 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (self->priv->download);
#line 341 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			self->priv->download = _tmp33_;
#line 341 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (_tmp32_);
#line 342 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp34_ = self->priv->download;
#line 342 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp35_ = destination_uri;
#line 342 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp36_ = midori_download_has_enough_space (_tmp34_, _tmp35_, TRUE);
#line 342 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (!_tmp36_) {
#line 3041 "subscriptions.c"
				const gchar* _tmp37_ = NULL;
				GError* _tmp38_ = NULL;
#line 343 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp37_ = self->path;
#line 343 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp38_ = g_error_new (G_FILE_ERROR, G_FILE_ERROR_EXIST, "Can't download to \"%s\"", _tmp37_);
#line 343 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_inner_error_ = _tmp38_;
#line 343 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_free0 (destination_uri);
#line 343 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_error_free0 (exist_error);
#line 3054 "subscriptions.c"
				goto __finally16;
			}
#line 344 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp39_ = self->priv->download;
#line 344 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp40_ = destination_uri;
#line 344 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			webkit_download_set_destination_uri (_tmp39_, _tmp40_);
#line 345 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp41_ = self->priv->download;
#line 345 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			g_signal_connect_object ((GObject*) _tmp41_, "notify::status", (GCallback) _adblock_subscription_download_status_g_object_notify, self, 0);
#line 346 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp42_ = self->priv->download;
#line 346 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			webkit_download_start (_tmp42_);
#line 335 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (destination_uri);
#line 3073 "subscriptions.c"
		}
#line 349 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_error_free0 (exist_error);
#line 349 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (stream);
#line 349 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (filter_file);
#line 349 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 3083 "subscriptions.c"
	}
	__finally16:
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_propagate_error (error, _inner_error_);
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (stream);
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (filter_file);
#line 328 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 3096 "subscriptions.c"
	}
#line 352 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_set_valid (self, FALSE);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	while (TRUE) {
#line 3102 "subscriptions.c"
		gchar* _tmp43_ = NULL;
		GDataInputStream* _tmp44_ = NULL;
		gchar* _tmp45_ = NULL;
		gchar* _tmp46_ = NULL;
		const gchar* _tmp47_ = NULL;
		const gchar* _tmp48_ = NULL;
		gchar* chomped = NULL;
		const gchar* _tmp49_ = NULL;
		gchar* _tmp50_ = NULL;
		const gchar* _tmp51_ = NULL;
		const gchar* _tmp52_ = NULL;
		gchar _tmp53_ = '\0';
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp44_ = stream;
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp45_ = g_data_input_stream_read_line (_tmp44_, NULL, NULL, &_inner_error_);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp43_ = _tmp45_;
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			g_propagate_error (error, _inner_error_);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (line);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (stream);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (filter_file);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			return;
#line 3133 "subscriptions.c"
		}
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp46_ = _tmp43_;
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp43_ = NULL;
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (line);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		line = _tmp46_;
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp47_ = line;
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (!(_tmp47_ != NULL)) {
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (_tmp43_);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			break;
#line 3151 "subscriptions.c"
		}
#line 355 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp48_ = line;
#line 355 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp48_ == NULL) {
#line 356 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (_tmp43_);
#line 356 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			continue;
#line 3161 "subscriptions.c"
		}
#line 357 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp49_ = line;
#line 357 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp50_ = string_chomp (_tmp49_);
#line 357 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		chomped = _tmp50_;
#line 358 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp51_ = chomped;
#line 358 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (g_strcmp0 (_tmp51_, "") == 0) {
#line 359 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (chomped);
#line 359 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_free0 (_tmp43_);
#line 359 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			continue;
#line 3179 "subscriptions.c"
		}
#line 360 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp52_ = line;
#line 360 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp53_ = string_get (_tmp52_, (glong) 0);
#line 360 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp53_ == '!') {
#line 3187 "subscriptions.c"
			const gchar* _tmp54_ = NULL;
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp54_ = chomped;
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_subscription_parse_header (self, _tmp54_, &_inner_error_);
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				g_propagate_error (error, _inner_error_);
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_free0 (chomped);
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_free0 (_tmp43_);
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_free0 (line);
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (stream);
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (filter_file);
#line 361 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				return;
#line 3209 "subscriptions.c"
			}
		} else {
			const gchar* _tmp55_ = NULL;
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp55_ = chomped;
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			adblock_subscription_parse_line (self, _tmp55_, &_inner_error_);
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				g_propagate_error (error, _inner_error_);
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_free0 (chomped);
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_free0 (_tmp43_);
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_free0 (line);
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (stream);
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (filter_file);
#line 363 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				return;
#line 3233 "subscriptions.c"
			}
		}
#line 365 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_valid (self, TRUE);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (chomped);
#line 354 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (_tmp43_);
#line 3242 "subscriptions.c"
	}
#line 368 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp56_ = self->priv->features;
#line 3246 "subscriptions.c"
	{
		GList* feature_collection = NULL;
		GList* feature_it = NULL;
#line 368 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		feature_collection = _tmp56_;
#line 368 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		for (feature_it = feature_collection; feature_it != NULL; feature_it = feature_it->next) {
#line 3254 "subscriptions.c"
			AdblockFeature* _tmp57_ = NULL;
			AdblockFeature* feature = NULL;
#line 368 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_tmp57_ = _g_object_ref0 ((AdblockFeature*) feature_it->data);
#line 368 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			feature = _tmp57_;
#line 3261 "subscriptions.c"
			{
				AdblockFeature* _tmp58_ = NULL;
				GFile* _tmp59_ = NULL;
				gboolean _tmp60_ = FALSE;
#line 369 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp58_ = feature;
#line 369 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp59_ = filter_file;
#line 369 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp60_ = adblock_feature_parsed (_tmp58_, _tmp59_);
#line 369 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				if (!_tmp60_) {
#line 370 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					adblock_subscription_set_valid (self, FALSE);
#line 3276 "subscriptions.c"
				}
#line 368 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_g_object_unref0 (feature);
#line 3280 "subscriptions.c"
			}
		}
	}
#line 308 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (line);
#line 308 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (stream);
#line 308 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (filter_file);
#line 3290 "subscriptions.c"
}


static AdblockDirective* _adblock_directive_dup (AdblockDirective* self) {
	AdblockDirective* dup;
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	dup = g_new0 (AdblockDirective, 1);
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	memcpy (dup, self, sizeof (AdblockDirective));
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return dup;
#line 3302 "subscriptions.c"
}


static gpointer __adblock_directive_dup0 (gpointer self) {
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return self ? _adblock_directive_dup (self) : NULL;
#line 3309 "subscriptions.c"
}


AdblockDirective* adblock_subscription_get_directive (AdblockSubscription* self, const gchar* request_uri, const gchar* page_uri) {
	AdblockDirective* result = NULL;
	GError * _inner_error_ = NULL;
#line 374 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 374 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (request_uri != NULL, NULL);
#line 374 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (page_uri != NULL, NULL);
#line 3322 "subscriptions.c"
	{
		AdblockDirective* directive = NULL;
		GHashTable* _tmp0_ = NULL;
		const gchar* _tmp1_ = NULL;
		gconstpointer _tmp2_ = NULL;
		AdblockDirective* _tmp3_ = NULL;
		AdblockDirective* _tmp4_ = NULL;
		GList* _tmp5_ = NULL;
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp0_ = self->priv->cache;
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp1_ = request_uri;
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp2_ = g_hash_table_lookup (_tmp0_, _tmp1_);
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp3_ = __adblock_directive_dup0 ((AdblockDirective*) _tmp2_);
#line 376 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		directive = _tmp3_;
#line 377 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = directive;
#line 377 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (_tmp4_ != NULL) {
#line 378 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			result = directive;
#line 378 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			return result;
#line 3349 "subscriptions.c"
		}
#line 379 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = self->priv->features;
#line 3353 "subscriptions.c"
		{
			GList* feature_collection = NULL;
			GList* feature_it = NULL;
#line 379 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			feature_collection = _tmp5_;
#line 379 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			for (feature_it = feature_collection; feature_it != NULL; feature_it = feature_it->next) {
#line 3361 "subscriptions.c"
				AdblockFeature* _tmp6_ = NULL;
				AdblockFeature* feature = NULL;
#line 379 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				_tmp6_ = _g_object_ref0 ((AdblockFeature*) feature_it->data);
#line 379 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
				feature = _tmp6_;
#line 3368 "subscriptions.c"
				{
					AdblockDirective* _tmp7_ = NULL;
					AdblockFeature* _tmp8_ = NULL;
					const gchar* _tmp9_ = NULL;
					const gchar* _tmp10_ = NULL;
					AdblockDirective* _tmp11_ = NULL;
					AdblockDirective* _tmp12_ = NULL;
					AdblockDirective* _tmp13_ = NULL;
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp8_ = feature;
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp9_ = request_uri;
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp10_ = page_uri;
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp11_ = adblock_feature_match (_tmp8_, _tmp9_, _tmp10_, &_inner_error_);
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp7_ = _tmp11_;
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_g_object_unref0 (feature);
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_g_free0 (directive);
#line 3393 "subscriptions.c"
						goto __catch17_g_error;
					}
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp12_ = _tmp7_;
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp7_ = NULL;
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_g_free0 (directive);
#line 380 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					directive = _tmp12_;
#line 381 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_tmp13_ = directive;
#line 381 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					if (_tmp13_ != NULL) {
#line 3408 "subscriptions.c"
						AdblockFeature* _tmp14_ = NULL;
						GType _tmp15_ = 0UL;
						const gchar* _tmp16_ = NULL;
						AdblockDirective* _tmp17_ = NULL;
						GEnumValue* _tmp18_;
						const gchar* _tmp19_ = NULL;
						const gchar* _tmp20_ = NULL;
#line 382 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp14_ = feature;
#line 382 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp15_ = G_TYPE_FROM_INSTANCE ((GObject*) _tmp14_);
#line 382 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp16_ = g_type_name (_tmp15_);
#line 382 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp17_ = directive;
#line 383 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp18_ = g_enum_get_value (g_type_class_ref (ADBLOCK_TYPE_DIRECTIVE), *_tmp17_);
#line 382 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp19_ = request_uri;
#line 382 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_tmp20_ = page_uri;
#line 382 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						adblock_debug ("%s gave %s for %s (%s)\n", _tmp16_, (_tmp18_ != NULL) ? _tmp18_->value_name : NULL, _tmp19_, _tmp20_, NULL);
#line 384 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						result = directive;
#line 384 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_g_free0 (_tmp7_);
#line 384 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						_g_object_unref0 (feature);
#line 384 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
						return result;
#line 3440 "subscriptions.c"
					}
#line 379 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_g_free0 (_tmp7_);
#line 379 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
					_g_object_unref0 (feature);
#line 3446 "subscriptions.c"
				}
			}
		}
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (directive);
#line 3452 "subscriptions.c"
	}
	goto __finally17;
	__catch17_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp21_ = NULL;
		const gchar* _tmp22_ = NULL;
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_error_ = _inner_error_;
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_inner_error_ = NULL;
#line 388 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp21_ = _error_;
#line 388 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp22_ = _tmp21_->message;
#line 388 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_warning ("subscriptions.vala:388: Adblock match error: %s\n", _tmp22_);
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_error_free0 (_error_);
#line 3472 "subscriptions.c"
	}
	__finally17:
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_clear_error (&_inner_error_);
#line 375 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return NULL;
#line 3483 "subscriptions.c"
	}
#line 390 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = NULL;
#line 390 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 3489 "subscriptions.c"
}


static guint8* string_get_data (const gchar* self, int* result_length1) {
	guint8* result;
	guint8* res = NULL;
	gint res_length1 = 0;
	gint _res_size_ = 0;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	guint8* _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	guint8* _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
#line 1300 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1301 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	res = (guint8*) self;
#line 1301 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	res_length1 = -1;
#line 1301 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_res_size_ = res_length1;
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	res_length1 = (gint) _tmp1_;
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp2_ = res_length1;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp3_ = res;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp3__length1 = res_length1;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp4_ = _tmp3_;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp4__length1 = _tmp3__length1;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	if (result_length1) {
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		*result_length1 = _tmp4__length1;
#line 3533 "subscriptions.c"
	}
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _tmp4_;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 3539 "subscriptions.c"
}


void adblock_subscription_add_rule (AdblockSubscription* self, const gchar* rule) {
	GError * _inner_error_ = NULL;
#line 393 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 393 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (rule != NULL);
#line 3549 "subscriptions.c"
	{
		GFile* file = NULL;
		const gchar* _tmp0_ = NULL;
		GFile* _tmp1_ = NULL;
		GFileOutputStream* _tmp2_ = NULL;
		GFile* _tmp3_ = NULL;
		GFileOutputStream* _tmp4_ = NULL;
		GFileOutputStream* _tmp5_ = NULL;
		GFileOutputStream* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		guint8* _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
		guint8* _tmp11_ = NULL;
		gint _tmp11__length1 = 0;
#line 395 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp0_ = self->priv->_uri;
#line 395 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp1_ = g_file_new_for_uri (_tmp0_);
#line 395 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		file = _tmp1_;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp3_ = file;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp4_ = g_file_append_to (_tmp3_, G_FILE_CREATE_NONE, NULL, &_inner_error_);
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp2_ = _tmp4_;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (file);
#line 3582 "subscriptions.c"
			goto __catch18_g_error;
		}
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp5_ = _tmp2_;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp2_ = NULL;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp6_ = _tmp5_;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp7_ = rule;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp8_ = g_strdup_printf ("%s\n", _tmp7_);
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp9_ = _tmp8_;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp10_ = string_get_data (_tmp9_, &_tmp10__length1);
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp11_ = _tmp10_;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp11__length1 = _tmp10__length1;
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_output_stream_write ((GOutputStream*) _tmp6_, _tmp11_, (gsize) _tmp11__length1, NULL, &_inner_error_);
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_free0 (_tmp9_);
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (_tmp6_);
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (_tmp2_);
#line 396 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (file);
#line 3615 "subscriptions.c"
			goto __catch18_g_error;
		}
#line 397 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_parse (self, &_inner_error_);
#line 397 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 397 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (_tmp2_);
#line 397 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
			_g_object_unref0 (file);
#line 3626 "subscriptions.c"
			goto __catch18_g_error;
		}
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (_tmp2_);
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_object_unref0 (file);
#line 3633 "subscriptions.c"
	}
	goto __finally18;
	__catch18_g_error:
	{
		GError* _error_ = NULL;
		GError* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_error_ = _inner_error_;
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_inner_error_ = NULL;
#line 399 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp12_ = _error_;
#line 399 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_tmp13_ = _tmp12_->message;
#line 399 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_warning ("subscriptions.vala:399: Failed to add custom rule: %s", _tmp13_);
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		_g_error_free0 (_error_);
#line 3653 "subscriptions.c"
	}
	__finally18:
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_clear_error (&_inner_error_);
#line 394 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		return;
#line 3664 "subscriptions.c"
	}
}


const gchar* adblock_subscription_get_uri (AdblockSubscription* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->_uri;
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = _tmp0_;
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 3680 "subscriptions.c"
}


void adblock_subscription_set_uri (AdblockSubscription* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = value;
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (self->priv->_uri);
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_uri = _tmp1_;
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_notify ((GObject *) self, "uri");
#line 3699 "subscriptions.c"
}


const gchar* adblock_subscription_get_title (AdblockSubscription* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->_title;
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = _tmp0_;
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 3714 "subscriptions.c"
}


void adblock_subscription_set_title (AdblockSubscription* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = value;
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (self->priv->_title);
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_title = _tmp1_;
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_notify ((GObject *) self, "title");
#line 3733 "subscriptions.c"
}


gboolean adblock_subscription_get_active (AdblockSubscription* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->_active;
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = _tmp0_;
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 3748 "subscriptions.c"
}


void adblock_subscription_set_active (AdblockSubscription* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = value;
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_active = _tmp0_;
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_notify ((GObject *) self, "active");
#line 3762 "subscriptions.c"
}


gboolean adblock_subscription_get_mutable (AdblockSubscription* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->_mutable;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = _tmp0_;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 3777 "subscriptions.c"
}


void adblock_subscription_set_mutable (AdblockSubscription* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = value;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_mutable = _tmp0_;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_notify ((GObject *) self, "mutable");
#line 3791 "subscriptions.c"
}


gboolean adblock_subscription_get_valid (AdblockSubscription* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->_valid;
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = _tmp0_;
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 3806 "subscriptions.c"
}


static void adblock_subscription_set_valid (AdblockSubscription* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = value;
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_valid = _tmp0_;
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_notify ((GObject *) self, "valid");
#line 3820 "subscriptions.c"
}


guint adblock_subscription_get_size (AdblockSubscription* self) {
	guint result;
	guint _tmp0_ = 0U;
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = self->priv->_size;
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	result = _tmp0_;
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	return result;
#line 3835 "subscriptions.c"
}


static void adblock_subscription_set_size (AdblockSubscription* self, guint value) {
	guint _tmp0_ = 0U;
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_return_if_fail (self != NULL);
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_tmp0_ = value;
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_size = _tmp0_;
#line 73 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_notify ((GObject *) self, "size");
#line 3849 "subscriptions.c"
}


static void adblock_subscription_class_init (AdblockSubscriptionClass * klass) {
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	adblock_subscription_parent_class = g_type_class_peek_parent (klass);
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_type_class_add_private (klass, sizeof (AdblockSubscriptionPrivate));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_adblock_subscription_get_property;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_adblock_subscription_set_property;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	G_OBJECT_CLASS (klass)->finalize = adblock_subscription_finalize;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADBLOCK_SUBSCRIPTION_URI, g_param_spec_string ("uri", "uri", "uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADBLOCK_SUBSCRIPTION_TITLE, g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADBLOCK_SUBSCRIPTION_ACTIVE, g_param_spec_boolean ("active", "active", "active", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADBLOCK_SUBSCRIPTION_MUTABLE, g_param_spec_boolean ("mutable", "mutable", "mutable", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADBLOCK_SUBSCRIPTION_VALID, g_param_spec_boolean ("valid", "valid", "valid", TRUE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), ADBLOCK_SUBSCRIPTION_SIZE, g_param_spec_uint ("size", "size", "size", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 3876 "subscriptions.c"
}


static void adblock_subscription_instance_init (AdblockSubscription * self) {
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv = ADBLOCK_SUBSCRIPTION_GET_PRIVATE (self);
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_uri = NULL;
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_title = NULL;
#line 33 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_active = TRUE;
#line 34 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_mutable = TRUE;
#line 35 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self->priv->_valid = TRUE;
#line 3893 "subscriptions.c"
}


static void adblock_subscription_finalize (GObject* obj) {
	AdblockSubscription * self;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, ADBLOCK_TYPE_SUBSCRIPTION, AdblockSubscription);
#line 29 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (self->path);
#line 31 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (self->priv->_uri);
#line 32 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_free0 (self->priv->_title);
#line 36 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_hash_table_unref0 (self->priv->cache);
#line 37 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	__g_list_free__g_object_unref0_0 (self->priv->features);
#line 38 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->pattern);
#line 39 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->keys);
#line 40 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->optslist);
#line 41 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->whitelist);
#line 42 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->element);
#line 44 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	_g_object_unref0 (self->priv->download);
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	G_OBJECT_CLASS (adblock_subscription_parent_class)->finalize (obj);
#line 3925 "subscriptions.c"
}


GType adblock_subscription_get_type (void) {
	static volatile gsize adblock_subscription_type_id__volatile = 0;
	if (g_once_init_enter (&adblock_subscription_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (AdblockSubscriptionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adblock_subscription_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdblockSubscription), 0, (GInstanceInitFunc) adblock_subscription_instance_init, NULL };
		GType adblock_subscription_type_id;
		adblock_subscription_type_id = g_type_register_static (G_TYPE_OBJECT, "AdblockSubscription", &g_define_type_info, 0);
		g_once_init_leave (&adblock_subscription_type_id__volatile, adblock_subscription_type_id);
	}
	return adblock_subscription_type_id__volatile;
}


static void _vala_adblock_subscription_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	AdblockSubscription * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, ADBLOCK_TYPE_SUBSCRIPTION, AdblockSubscription);
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	switch (property_id) {
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_URI:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_value_set_string (value, adblock_subscription_get_uri (self));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_TITLE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_value_set_string (value, adblock_subscription_get_title (self));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_ACTIVE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_value_set_boolean (value, adblock_subscription_get_active (self));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_MUTABLE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_value_set_boolean (value, adblock_subscription_get_mutable (self));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_VALID:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_value_set_boolean (value, adblock_subscription_get_valid (self));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_SIZE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		g_value_set_uint (value, adblock_subscription_get_size (self));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 3982 "subscriptions.c"
		default:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 3988 "subscriptions.c"
	}
}


static void _vala_adblock_subscription_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	AdblockSubscription * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, ADBLOCK_TYPE_SUBSCRIPTION, AdblockSubscription);
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
	switch (property_id) {
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_URI:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_uri (self, g_value_get_string (value));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_TITLE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_title (self, g_value_get_string (value));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_ACTIVE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_active (self, g_value_get_boolean (value));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_MUTABLE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_mutable (self, g_value_get_boolean (value));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_VALID:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_valid (self, g_value_get_boolean (value));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		case ADBLOCK_SUBSCRIPTION_SIZE:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		adblock_subscription_set_size (self, g_value_get_uint (value));
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 4034 "subscriptions.c"
		default:
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 28 "/usr/src/ports/midori/midori-0.5.10-1.i686/src/extensions/adblock/subscriptions.vala"
		break;
#line 4040 "subscriptions.c"
	}
}


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


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


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



