	.file	"extr_mc-proxy-search-extension.c_searchx_parse_search_extras.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	searchx_parse_search_extras, @function
searchx_parse_search_extras:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR Q_slice_limit[rip], 0
	mov	QWORD PTR Q_limit_end[rip], 0
	mov	QWORD PTR Q_limit_ptr[rip], 0
	movzx	eax, BYTE PTR 6[rdi]
	mov	DWORD PTR Q_raw[rip], 0
	mov	DWORD PTR Q_order[rip], 0
	cmp	al, 120
	mov	DWORD PTR Q_limit[rip], 0
	sete	dil
	cmp	al, 117
	sete	al
	or	edi, eax
	movzx	edi, dil
	call	assert@PLT
	cmp	BYTE PTR 6[r12], 117
	lea	rdx, 7[r12]
	je	.L33
	movzx	eax, BYTE PTR 7[r12]
.L3:
	sub	eax, 35
	test	al, -3
	jne	.L34
.L4:
	mov	rax, rdx
	sub	rax, r12
	mov	DWORD PTR Q_searchx_hash_off[rip], eax
	cmp	BYTE PTR [rdx], 37
	jne	.L6
	mov	DWORD PTR Q_raw[rip], 1
.L6:
	or	DWORD PTR Q_order[rip], 12
	movzx	eax, BYTE PTR 1[rdx]
	lea	r12, 1[rdx]
	cmp	al, 40
	je	.L9
	test	al, al
	jne	.L7
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L35:
	cmp	al, 60
	je	.L12
	movzx	eax, BYTE PTR 1[r12]
	add	r12, 1
	test	al, al
	je	.L30
	cmp	al, 40
	je	.L9
.L7:
	cmp	al, 91
	jne	.L35
.L12:
	movzx	esi, BYTE PTR -1[r12]
	lea	rax, -1[r12]
	lea	edx, -48[rsi]
	cmp	dl, 9
	ja	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r12, rax
	movzx	ecx, BYTE PTR -1[rax]
	sub	rax, 1
	lea	edx, -48[rcx]
	cmp	dl, 9
	jbe	.L14
.L13:
	mov	edx, 10
	mov	rdi, r12
	mov	rsi, rsp
	call	strtol@PLT
	mov	edx, DWORD PTR MAX_RES[rip]
	mov	QWORD PTR Q_limit_ptr[rip], r12
	mov	r12, QWORD PTR [rsp]
	cmp	eax, edx
	cmovg	eax, edx
	mov	QWORD PTR Q_limit_end[rip], r12
	mov	DWORD PTR Q_limit[rip], eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L36
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	movzx	eax, BYTE PTR 7[r12]
	or	DWORD PTR Q_order[rip], 2
	lea	ecx, -97[rax]
	cmp	cl, 25
	ja	.L3
	movzx	eax, BYTE PTR 8[r12]
	lea	rdx, 8[r12]
	sub	eax, 35
	test	al, -3
	je	.L4
	.p2align 4,,10
	.p2align 3
.L34:
	mov	DWORD PTR Q_limit[rip], -1
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	test	al, al
	jne	.L12
.L30:
	mov	DWORD PTR Q_limit[rip], -1
	jmp	.L1
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	searchx_parse_search_extras, .-searchx_parse_search_extras
	.comm	Q_slice_limit,8,8
	.comm	Q_searchx_hash_off,4,4
	.comm	Q_raw,4,4
	.comm	Q_order,4,4
	.comm	Q_limit_ptr,8,8
	.comm	Q_limit_end,8,8
	.comm	Q_limit,4,4
	.comm	MAX_RES,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_searchx_parse_search_extras.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchx_parse_search_extras, %function
searchx_parse_search_extras:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r0
	ldrb	r0, [r0, #6]	@ zero_extendqisi2
	mov	r3, #0
	cmp	r0, #117
	cmpne	r0, #120
	ldr	r2, .L22
	ldr	r1, .L22+4
	ldr	r9, .L22+8
	ldr	r8, .L22+12
	ldr	r5, .L22+16
	ldr	r6, .L22+20
	ldr	r7, .L22+24
	moveq	r0, #1
	movne	r0, #0
	sub	sp, sp, #12
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	str	r3, [r2]
	str	r3, [r9]
	str	r3, [r8]
	str	r3, [r5]
	str	r3, [r6]
	str	r3, [r7]
	bl	assert
	ldrb	r3, [r4, #6]	@ zero_extendqisi2
	add	r2, r4, #7
	cmp	r3, #117
	ldrb	r3, [r4, #7]	@ zero_extendqisi2
	bne	.L3
	ldr	r1, [r8]
	sub	r0, r3, #97
	cmp	r0, #25
	orr	r1, r1, #2
	ldrbls	r3, [r4, #8]	@ zero_extendqisi2
	str	r1, [r8]
	addls	r2, r4, #8
.L3:
	sub	r3, r3, #35
	tst	r3, #253
	mvnne	r3, #0
	movne	r4, #0
	strne	r3, [r5]
	bne	.L1
	ldr	r3, .L22+28
	sub	r4, r2, r4
	str	r4, [r3]
	ldrb	r3, [r2]	@ zero_extendqisi2
	add	r4, r2, #1
	cmp	r3, #37
	moveq	r3, #1
	streq	r3, [r9]
	ldr	r3, [r8]
	orr	r3, r3, #12
	str	r3, [r8]
	ldrb	r3, [r2, #1]	@ zero_extendqisi2
	cmp	r3, #40
	cmpne	r3, #0
	bne	.L7
	b	.L8
.L9:
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	cmpne	r3, #40
	beq	.L8
.L7:
	cmp	r3, #91
	cmpne	r3, #60
	bne	.L9
.L10:
	ldrb	r3, [r4, #-1]	@ zero_extendqisi2
	sub	r2, r4, #1
	sub	r3, r3, #48
	cmp	r3, #9
	bhi	.L11
.L12:
	mov	r4, r2
	ldrb	r3, [r2, #-1]!	@ zero_extendqisi2
	sub	r3, r3, #48
	cmp	r3, #9
	bls	.L12
.L11:
	mov	r0, r4
	mov	r2, #10
	mov	r1, sp
	bl	strtol
	ldr	r3, .L22+32
	str	r4, [r7]
	ldr	r3, [r3]
	ldr	r4, [sp]
	cmp	r3, r0
	movge	r3, r0
	str	r4, [r6]
	str	r3, [r5]
.L1:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	cmp	r3, #0
	bne	.L10
	mvn	r3, #0
	str	r3, [r5]
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	Q_slice_limit
	.word	.LC0
	.word	Q_raw
	.word	Q_order
	.word	Q_limit
	.word	Q_limit_end
	.word	Q_limit_ptr
	.word	Q_searchx_hash_off
	.word	MAX_RES
	.size	searchx_parse_search_extras, .-searchx_parse_search_extras
	.comm	Q_slice_limit,4,4
	.comm	Q_searchx_hash_off,4,4
	.comm	Q_raw,4,4
	.comm	Q_order,4,4
	.comm	Q_limit_ptr,4,4
	.comm	Q_limit_end,4,4
	.comm	Q_limit,4,4
	.comm	MAX_RES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
