	.file	"extr_mc-proxy-search-extension.c_targ_prepare_search_query.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"search("
.LC1:
	.string	"target%*u_%*d%n("
.LC2:
	.string	"prices%*u%n("
.LC3:
	.string	"ad_"
.LC4:
	.string	"ad_clicks%*u%n"
.LC5:
	.string	"ad_ctrsump%*u%n"
.LC6:
	.string	"ad_ctr%*u%n"
.LC7:
	.string	"ad_disable%*u%n"
.LC8:
	.string	"ad_enable%*u%n"
.LC9:
	.string	"ad_enable%*u_%*d%n"
.LC10:
	.string	"ad_limited_views%*u,%*u%n"
.LC11:
	.string	"ad_money%*u%n"
.LC12:
	.string	"ad_sump"
.LC13:
	.string	"ad_sump%*u%n"
.LC14:
	.string	"ad_setctrsump"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC15:
	.string	"ad_setctrsump%*u:%*d,%*d,%*d,%*d,%*d%n"
	.section	.rodata.str1.1
.LC16:
	.string	"ad_setsump"
.LC17:
	.string	"ad_setsump%*u:%*d,%*d,%*d%n"
.LC18:
	.string	"ad_setctr"
.LC19:
	.string	"ad_setctr%*u:%*d,%*d%n"
.LC20:
	.string	"ad_setaud"
.LC21:
	.string	"ad_setaud%*u:%*d%n"
.LC22:
	.string	"ad_sites"
.LC23:
	.string	"ad_sites%*u,%*u%n"
.LC24:
	.string	"ad_views%*u%n"
.LC25:
	.string	"deletegroup"
.LC26:
	.string	"deletegroup%*u%n"
	.text
	.p2align 4
	.type	targ_prepare_search_query, @function
targ_prepare_search_query:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 7
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	lea	rsi, .LC0[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rsp], -1
	mov	DWORD PTR 4[rsp], -1
	mov	DWORD PTR targ_extra[rip], 1
	call	strncmp@PLT
	test	eax, eax
	jne	.L2
	mov	DWORD PTR is_search[rip], 1
.L3:
	mov	edi, DWORD PTR 4[rsp]
	test	edi, edi
	jle	.L49
.L30:
	mov	eax, edi
.L36:
	xor	edx, edx
	test	edi, edi
	setle	dl
	mov	DWORD PTR targ_extra[rip], edx
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L50
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L49:
	.cfi_restore_state
	lea	esi, -2[rbx]
	xor	eax, eax
	movsx	rdx, esi
	mov	DWORD PTR [rsp], esi
	movzx	ecx, BYTE PTR 0[rbp+rdx]
	cmp	esi, 7
	jle	.L32
	.p2align 4,,10
	.p2align 3
.L31:
	mov	esi, ecx
	mov	r8d, eax
	and	esi, -33
	cmp	sil, 73
	sete	al
	cmp	sil, 82
	sete	sil
	or	eax, esi
	cmp	cl, 37
	sete	sil
	or	eax, esi
	lea	esi, -48[rcx]
	cmp	sil, 9
	setbe	sil
	or	al, sil
	je	.L51
	lea	esi, -1[rdx]
	sub	rdx, 1
	movzx	ecx, BYTE PTR 0[rbp+rdx]
	cmp	edx, 7
	jg	.L31
	mov	DWORD PTR [rsp], esi
.L32:
	lea	eax, -1[rbx]
	cmp	cl, 35
	cmove	eax, DWORD PTR [rsp]
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r12, rsp
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	rdx, r12
	call	sscanf@PLT
	test	rax, rax
	js	.L4
	movsx	rax, DWORD PTR [rsp]
	cmp	eax, 6
	jg	.L52
.L4:
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	test	rax, rax
	js	.L5
	movsx	rax, DWORD PTR [rsp]
	cmp	eax, 6
	jle	.L5
	cmp	BYTE PTR 0[rbp+rax], 40
	je	.L3
.L5:
	mov	edx, 3
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L7
	movzx	eax, BYTE PTR 3[rbp]
	sub	eax, 99
	cmp	al, 19
	ja	.L8
	lea	rdx, .L10[rip]
	movzx	eax, al
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L11-.L10
	.long	.L8-.L10
	.long	.L8-.L10
	.long	.L9-.L10
	.text
	.p2align 4,,10
	.p2align 3
.L52:
	cmp	BYTE PTR 0[rbp+rax], 40
	jne	.L4
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, 11
	lea	rsi, .LC25[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L27
	lea	rdx, 4[rsp]
	lea	rsi, .LC26[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L3
.L16:
	cmp	BYTE PTR 4[rbp], 108
	lea	rdx, 4[rsp]
	je	.L53
	cmp	ebx, 6
	jle	.L18
	cmp	BYTE PTR 6[rbp], 115
	je	.L54
.L18:
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	mov	DWORD PTR Q_limit[rip], 4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR 4[rsp]
	test	edi, edi
	jle	.L27
	movsx	rax, edi
	movzx	eax, BYTE PTR 0[rbp+rax]
.L21:
	test	al, al
	je	.L30
	cmp	al, 35
	je	.L30
.L27:
	mov	eax, -1
	jmp	.L1
.L9:
	lea	rdx, 4[rsp]
	lea	rsi, .LC24[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L11:
	mov	edx, 7
	lea	rsi, .LC12[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L22
	lea	rdx, 4[rsp]
	lea	rsi, .LC13[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	mov	DWORD PTR Q_limit[rip], 9
	jmp	.L8
.L12:
	lea	rdx, 4[rsp]
	lea	rsi, .LC11[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L14:
	lea	r12, 4[rsp]
	mov	rdi, rbp
	lea	rsi, .LC8[rip]
	mov	rdx, r12
	call	sscanf@PLT
	mov	edi, DWORD PTR 4[rsp]
	test	edi, edi
	jle	.L27
	movsx	rax, edi
	movzx	eax, BYTE PTR 0[rbp+rax]
	cmp	al, 95
	jne	.L21
	mov	rdx, r12
	lea	rsi, .LC9[rip]
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], -1
	call	sscanf@PLT
	jmp	.L8
.L15:
	lea	rdx, 4[rsp]
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L13:
	lea	rdx, 4[rsp]
	lea	rsi, .LC10[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L51:
	test	r8b, r8b
	je	.L32
	mov	DWORD PTR [rsp], edx
	jmp	.L32
.L22:
	mov	edx, 13
	lea	rsi, .LC14[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L23
	lea	rdx, 4[rsp]
	lea	rsi, .LC15[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L23:
	mov	edx, 10
	lea	rsi, .LC16[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L24
	lea	rdx, 4[rsp]
	lea	rsi, .LC17[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L53:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L24:
	mov	edx, 9
	lea	rsi, .LC18[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L25
	lea	rdx, 4[rsp]
	lea	rsi, .LC19[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L54:
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	mov	DWORD PTR Q_limit[rip], 13
	jmp	.L8
.L25:
	mov	edx, 9
	lea	rsi, .LC20[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L26
	lea	rdx, 4[rsp]
	lea	rsi, .LC21[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
.L50:
	call	__stack_chk_fail@PLT
.L26:
	mov	edx, 8
	lea	rsi, .LC22[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L8
	lea	rdx, 4[rsp]
	lea	rsi, .LC23[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	targ_prepare_search_query, .-targ_prepare_search_query
	.comm	targ_extra,4,4
	.comm	is_search,4,4
	.comm	Q_limit,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mc-proxy-search-extension.c_targ_prepare_search_query.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"search(\000"
	.align	2
.LC1:
	.ascii	"target%*u_%*d%n(\000"
	.align	2
.LC2:
	.ascii	"prices%*u%n(\000"
	.align	2
.LC3:
	.ascii	"ad_clicks%*u%n\000"
	.align	2
.LC4:
	.ascii	"ad_ctrsump%*u%n\000"
	.align	2
.LC5:
	.ascii	"ad_ctr%*u%n\000"
	.align	2
.LC6:
	.ascii	"ad_disable%*u%n\000"
	.align	2
.LC7:
	.ascii	"ad_enable%*u%n\000"
	.align	2
.LC8:
	.ascii	"ad_enable%*u_%*d%n\000"
	.align	2
.LC9:
	.ascii	"ad_limited_views%*u,%*u%n\000"
	.align	2
.LC10:
	.ascii	"ad_money%*u%n\000"
	.align	2
.LC11:
	.ascii	"ad_sump\000"
	.align	2
.LC12:
	.ascii	"ad_sump%*u%n\000"
	.align	2
.LC13:
	.ascii	"ad_setctrsump\000"
	.align	2
.LC14:
	.ascii	"ad_setctrsump%*u:%*d,%*d,%*d,%*d,%*d%n\000"
	.align	2
.LC15:
	.ascii	"ad_setsump\000"
	.align	2
.LC16:
	.ascii	"ad_setsump%*u:%*d,%*d,%*d%n\000"
	.align	2
.LC17:
	.ascii	"ad_setctr\000"
	.align	2
.LC18:
	.ascii	"ad_setctr%*u:%*d,%*d%n\000"
	.align	2
.LC19:
	.ascii	"ad_setaud\000"
	.align	2
.LC20:
	.ascii	"ad_setaud%*u:%*d%n\000"
	.align	2
.LC21:
	.ascii	"ad_sites\000"
	.align	2
.LC22:
	.ascii	"ad_sites%*u,%*u%n\000"
	.align	2
.LC23:
	.ascii	"ad_views%*u%n\000"
	.align	2
.LC24:
	.ascii	"deletegroup\000"
	.align	2
.LC25:
	.ascii	"deletegroup%*u%n\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	targ_prepare_search_query, %function
targ_prepare_search_query:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mvn	r7, #0
	mov	r8, #1
	ldr	r3, .L60
	ldr	r5, .L60+4
	sub	sp, sp, #16
	mov	r4, r1
	mov	r2, #7
	ldr	r1, .L60+8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r6, r0
	str	r7, [sp, #4]
	str	r7, [sp, #8]
	str	r8, [r5]
	bl	strncmp
	cmp	r0, #0
	bne	.L2
	mov	lr, r7
	ldr	r3, .L60+12
	str	r8, [r3]
.L3:
	sub	ip, r4, #2
	cmp	ip, #7
	str	ip, [sp, #4]
	ldrble	r2, [r6, ip]	@ zero_extendqisi2
	ble	.L33
	mov	r3, #0
	sub	r0, r4, #1
	add	r0, r6, r0
.L34:
	ldrb	r2, [r0, #-1]!	@ zero_extendqisi2
	mov	r7, r3
	and	r1, r2, #223
	sub	r3, r2, #48
	cmp	r1, #73
	cmpne	r3, #9
	movls	r3, #1
	movhi	r3, #0
	cmp	r2, #37
	orreq	r3, r3, #1
	cmp	r1, #82
	orreq	r3, r3, #1
	cmp	r3, #0
	beq	.L50
	sub	ip, ip, #1
	cmp	ip, #7
	bne	.L34
	ldrb	r2, [r6, #7]	@ zero_extendqisi2
	str	ip, [sp, #4]
.L33:
	cmp	r2, #35
	ldreq	r0, [sp, #4]
	subne	r0, r4, #1
.L38:
	cmp	lr, #0
	movgt	lr, #0
	movle	lr, #1
	str	lr, [r5]
.L1:
	ldr	r3, .L60
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L51
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r6
	ldr	r1, .L60+16
	add	r2, sp, #4
	bl	sscanf
	cmp	r0, #0
	blt	.L4
	ldr	r3, [sp, #4]
	cmp	r3, #6
	ble	.L4
	ldrb	r3, [r6, r3]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L5
.L4:
	mov	r0, r6
	ldr	r1, .L60+20
	add	r2, sp, #4
	bl	sscanf
	cmp	r0, #0
	blt	.L6
	ldr	r3, [sp, #4]
	cmp	r3, #6
	ble	.L6
	ldrb	r3, [r6, r3]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L5
.L6:
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #97
	beq	.L52
.L9:
	mov	r2, #11
	mov	r0, r6
	ldr	r1, .L60+24
	bl	strncmp
	cmp	r0, #0
	bne	.L29
	mov	r0, r6
	ldr	r1, .L60+28
	add	r2, sp, #8
	bl	sscanf
.L5:
	ldr	lr, [sp, #8]
	cmp	lr, #0
	ble	.L3
.L31:
	mov	r0, lr
	b	.L38
.L52:
	ldrb	r3, [r6, #1]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L9
	ldrb	r3, [r6, #2]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L9
	ldrb	r3, [r6, #3]	@ zero_extendqisi2
	sub	r3, r3, #99
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L15
	.word	.L14
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L13
	.word	.L10
	.word	.L10
	.word	.L11
.L13:
	mov	r2, #7
	mov	r0, r6
	ldr	r1, .L60+32
	bl	strncmp
	cmp	r0, #0
	beq	.L53
	mov	r2, #13
	mov	r0, r6
	ldr	r1, .L60+36
	bl	strncmp
	cmp	r0, #0
	beq	.L54
	mov	r2, #10
	mov	r0, r6
	ldr	r1, .L60+40
	bl	strncmp
	cmp	r0, #0
	beq	.L55
	mov	r2, #9
	mov	r0, r6
	ldr	r1, .L60+44
	bl	strncmp
	cmp	r0, #0
	beq	.L56
	mov	r2, #9
	mov	r0, r6
	ldr	r1, .L60+48
	bl	strncmp
	cmp	r0, #0
	beq	.L57
	mov	r2, #8
	mov	r0, r6
	ldr	r1, .L60+52
	bl	strncmp
	cmp	r0, #0
	bne	.L10
	mov	r0, r6
	ldr	r1, .L60+56
	add	r2, sp, #8
	bl	sscanf
.L10:
	ldr	lr, [sp, #8]
	cmp	lr, #0
	ble	.L29
	ldrb	r3, [r6, lr]	@ zero_extendqisi2
.L23:
	cmp	r3, #0
	cmpne	r3, #35
	beq	.L31
.L29:
	mvn	r0, #0
	b	.L1
.L11:
	mov	r0, r6
	ldr	r1, .L60+60
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L14:
	mov	r0, r6
	ldr	r1, .L60+64
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L18:
	ldrb	r3, [r6, #4]	@ zero_extendqisi2
	add	r2, sp, #8
	cmp	r3, #108
	beq	.L58
	cmp	r4, #6
	ble	.L20
	ldrb	r3, [r6, #6]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L59
.L20:
	mov	r0, r6
	ldr	r1, .L60+68
	bl	sscanf
	mov	r2, #4
	ldr	r3, .L60+72
	str	r2, [r3]
	b	.L10
.L16:
	mov	r0, r6
	ldr	r1, .L60+76
	add	r2, sp, #8
	bl	sscanf
	ldr	lr, [sp, #8]
	cmp	lr, #0
	ble	.L29
	ldrb	r3, [r6, lr]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L23
	mvn	r3, #0
	mov	r0, r6
	ldr	r1, .L60+80
	add	r2, sp, #8
	str	r3, [sp, #8]
	bl	sscanf
	b	.L10
.L17:
	mov	r0, r6
	ldr	r1, .L60+84
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L15:
	mov	r0, r6
	ldr	r1, .L60+88
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L50:
	cmp	r7, #0
	strne	ip, [sp, #4]
	b	.L33
.L53:
	add	r2, sp, #8
	mov	r0, r6
	ldr	r1, .L60+92
	bl	sscanf
	mov	r2, #9
	ldr	r3, .L60+72
	str	r2, [r3]
	b	.L10
.L54:
	mov	r0, r6
	ldr	r1, .L60+96
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L58:
	mov	r0, r6
	ldr	r1, .L60+100
	bl	sscanf
	b	.L10
.L55:
	mov	r0, r6
	ldr	r1, .L60+104
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L59:
	mov	r0, r6
	ldr	r1, .L60+108
	bl	sscanf
	mov	r2, #13
	ldr	r3, .L60+72
	str	r2, [r3]
	b	.L10
.L57:
	mov	r0, r6
	ldr	r1, .L60+112
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L56:
	mov	r0, r6
	ldr	r1, .L60+116
	add	r2, sp, #8
	bl	sscanf
	b	.L10
.L51:
	bl	__stack_chk_fail
.L61:
	.align	2
.L60:
	.word	.LC26
	.word	targ_extra
	.word	.LC0
	.word	is_search
	.word	.LC1
	.word	.LC2
	.word	.LC24
	.word	.LC25
	.word	.LC11
	.word	.LC13
	.word	.LC15
	.word	.LC17
	.word	.LC19
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC10
	.word	.LC5
	.word	Q_limit
	.word	.LC7
	.word	.LC8
	.word	.LC6
	.word	.LC9
	.word	.LC12
	.word	.LC14
	.word	.LC3
	.word	.LC16
	.word	.LC4
	.word	.LC20
	.word	.LC18
	.size	targ_prepare_search_query, .-targ_prepare_search_query
	.comm	targ_extra,4,4
	.comm	is_search,4,4
	.comm	Q_limit,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
