	.file	"extr_support-engine.c_memcache_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"memcache_get: key='%s', key_len=%d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"stats"
.LC2:
	.string	"answer"
.LC3:
	.string	"_debug"
.LC4:
	.string	"%d,%d,%d%n#%d%n"
.LC5:
	.string	"delete_answer"
.LC6:
	.string	"%d%n"
.LC7:
	.string	"DELETED"
	.text
	.p2align 4
	.globl	memcache_get
	.type	memcache_get, @function
memcache_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	lea	rdi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	hst@PLT
	lea	rcx, 8[rsp]
	mov	esi, r12d
	mov	rdi, rbp
	lea	rdx, 32[rsp]
	call	eat_at@PLT
	cmp	DWORD PTR 8[rsp], 4
	jg	.L30
.L15:
	mov	edi, DWORD PTR delete[rip]
	xor	esi, esi
	call	RETURN@PLT
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L31
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, 5
	lea	rsi, .LC1[rip]
	call	strncmp@PLT
	test	eax, eax
	je	.L3
	cmp	DWORD PTR 8[rsp], 5
	jle	.L15
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, 6
	lea	rsi, .LC2[rip]
	call	strncmp@PLT
	test	eax, eax
	je	.L6
.L28:
	mov	eax, DWORD PTR 8[rsp]
	cmp	eax, 12
	jle	.L15
	mov	rdi, QWORD PTR 32[rsp]
	mov	edx, 13
	lea	rsi, .LC5[rip]
	call	strncmp@PLT
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR 32[rsp]
	lea	rcx, 28[rsp]
	lea	rdx, 24[rsp]
	lea	rsi, .LC6[rip]
	lea	rdi, 13[rax]
	xor	eax, eax
	call	sscanf@PLT
	test	eax, eax
	jle	.L16
	mov	eax, DWORD PTR 28[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	add	eax, 13
	cdqe
	cmp	BYTE PTR [rdx+rax], 0
	jne	.L16
.L17:
	mov	edi, DWORD PTR 24[rsp]
	call	do_delete_answer@PLT
	test	eax, eax
	jne	.L32
.L18:
	mov	edi, DWORD PTR delete[rip]
	xor	esi, esi
	call	RETURN@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR delete[rip]
	xor	esi, esi
	call	RETURN@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 32[rsp]
	mov	edx, 6
	lea	rsi, .LC3[rip]
	lea	rdi, 6[rax]
	call	strncmp@PLT
	lea	r9, 24[rsp]
	lea	r10, 12[rsp]
	cmp	eax, 1
	lea	rcx, 16[rsp]
	lea	rsi, .LC4[rip]
	sbb	rdx, rdx
	xor	ebx, ebx
	and	edx, 6
	test	eax, eax
	sete	bl
	cmp	eax, 1
	mov	eax, DWORD PTR MAX_RES[rip]
	sbb	r12d, r12d
	mov	DWORD PTR 28[rsp], eax
	mov	rax, QWORD PTR 32[rsp]
	and	r12d, 6
	push	r9
	.cfi_def_cfa_offset 104
	add	r12d, 6
	lea	rdi, 6[rax+rdx]
	mov	rdx, r10
	lea	rax, 36[rsp]
	push	rax
	.cfi_def_cfa_offset 112
	xor	eax, eax
	lea	r8, 36[rsp]
	call	sscanf@PLT
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	cmp	eax, 2
	jle	.L9
	add	r12d, DWORD PTR 24[rsp]
	mov	rax, QWORD PTR 32[rsp]
	movsx	r12, r12d
	cmp	BYTE PTR [rax+r12], 0
	jne	.L9
.L10:
	mov	rdi, r13
	call	MESSAGE@PLT
	mov	esi, DWORD PTR 20[rsp]
	mov	rdi, rax
	mov	r12, rax
	call	msg_verify@PLT
	test	rax, rax
	js	.L11
	mov	r8d, DWORD PTR 28[rsp]
	test	r8d, r8d
	jle	.L11
.L12:
	mov	edx, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR [r12]
	mov	r9d, ebx
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, DWORD PTR 12[rsp]
	call	get_answer@PLT
	mov	r14, rax
	test	rax, rax
	je	.L13
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, r13
	mov	ecx, eax
	mov	r8d, 1
	call	return_one_key_flags@PLT
.L13:
	mov	rdi, r12
	call	msg_free@PLT
	mov	edi, DWORD PTR get[rip]
	xor	esi, esi
	call	RETURN@PLT
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR get[rip]
	xor	esi, esi
	call	RETURN@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, r12
	call	msg_free@PLT
	mov	edi, DWORD PTR get[rip]
	xor	esi, esi
	call	RETURN@PLT
	mov	r8d, DWORD PTR 28[rsp]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	support_prepare_stats@PLT
	mov	rdx, QWORD PTR STATS_BUFF_SIZE[rip]
	mov	rdi, r13
	movsx	rsi, eax
	sub	rdx, rsi
	mov	rbx, rsi
	add	rsi, QWORD PTR stats_buff[rip]
	call	prepare_stats@PLT
	mov	rdx, QWORD PTR stats_buff[rip]
	mov	rsi, rbp
	mov	rdi, r13
	lea	ecx, -1[rbx+rax]
	call	return_one_key@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rdi, .LC7[rip]
	call	strlen@PLT
	mov	r8d, 1
	mov	rsi, rbp
	mov	rdi, r13
	mov	ecx, eax
	lea	rdx, .LC7[rip]
	call	return_one_key_flags@PLT
	jmp	.L18
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	memcache_get, .-memcache_get
	.comm	stats_buff,8,8
	.comm	get,4,4
	.comm	delete,4,4
	.comm	STATS_BUFF_SIZE,8,8
	.comm	SET_LOG_VERBOSITY,4,4
	.comm	MAX_RES,4,4
	.comm	INIT,4,4
	.comm	GET_LOG,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_support-engine.c_memcache_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"memcache_get: key='%s', key_len=%d\012\000"
	.align	2
.LC1:
	.ascii	"stats\000"
	.align	2
.LC2:
	.ascii	"answer\000"
	.align	2
.LC3:
	.ascii	"_debug\000"
	.align	2
.LC4:
	.ascii	"%d,%d,%d%n#%d%n\000"
	.align	2
.LC5:
	.ascii	"delete_answer\000"
	.align	2
.LC6:
	.ascii	"%d%n\000"
	.align	2
.LC7:
	.ascii	"DELETED\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	memcache_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	memcache_get, %function
memcache_get:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r4, r1
	ldr	r3, .L42
	sub	sp, sp, #48
	mov	r7, r0
	ldr	r0, .L42+4
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	hst
	mov	r1, r5
	mov	r0, r4
	add	r3, sp, #20
	add	r2, sp, #16
	bl	eat_at
	ldr	r5, [sp, #20]
	cmp	r5, #4
	ble	.L37
	ldr	r8, [sp, #16]
	mov	r2, #5
	mov	r0, r8
	ldr	r1, .L42+8
	bl	strncmp
	subs	r6, r0, #0
	beq	.L39
	cmp	r5, #5
	beq	.L37
	mov	r2, #6
	mov	r0, r8
	ldr	r1, .L42+12
	bl	strncmp
	subs	r6, r0, #0
	bne	.L4
	add	r5, r8, #6
	mov	r0, r5
	mov	r2, #6
	ldr	r1, .L42+16
	bl	strncmp
	ldr	r2, .L42+20
	cmp	r0, #0
	ldr	ip, [r2]
	addeq	r5, r8, #12
	add	r3, sp, #36
	add	r1, sp, #40
	add	r2, sp, #32
	str	r3, [sp, #12]
	str	r3, [sp, #4]
	str	r1, [sp, #8]
	str	r2, [sp]
	mov	r0, r5
	ldr	r1, .L42+24
	add	r3, sp, #28
	add	r2, sp, #24
	moveq	r6, #1
	moveq	r8, #12
	movne	r8, #6
	str	ip, [sp, #40]
	bl	sscanf
	cmp	r0, #2
	ble	.L6
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #36]
	add	r3, r3, r8
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r8, .L42+28
.L7:
	mov	r0, r7
	bl	MESSAGE
	ldr	r1, [sp, #32]
	mov	r5, r0
	bl	msg_verify
	cmp	r0, #0
	blt	.L8
	ldr	r1, [sp, #40]
	cmp	r1, #0
	ble	.L8
.L9:
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	ldr	r0, [sp, #24]
	stm	sp, {r1, r6}
	ldr	r1, [sp, #28]
	bl	get_answer
	subs	r6, r0, #0
	beq	.L10
	bl	strlen
	mov	r1, #1
	mov	r3, r0
	str	r1, [sp]
	mov	r2, r6
	mov	r1, r4
	mov	r0, r7
	bl	return_one_key_flags
.L10:
	mov	r0, r5
	bl	msg_free
	mov	r1, #0
	ldr	r0, [r8]
	bl	RETURN
	ldr	r5, [sp, #20]
.L4:
	cmp	r5, #12
	ble	.L37
	ldr	r5, [sp, #16]
	mov	r2, #13
	mov	r0, r5
	ldr	r1, .L42+32
	bl	strncmp
	cmp	r0, #0
	beq	.L34
.L37:
	ldr	r5, .L42+36
.L2:
	mov	r1, #0
	ldr	r0, [r5]
	bl	RETURN
.L1:
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L40
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L34:
	add	r0, r5, #13
	ldr	r1, .L42+40
	add	r3, sp, #40
	add	r2, sp, #36
	bl	sscanf
	cmp	r0, #0
	ldr	r5, .L42+36
	ble	.L11
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #40]
	add	r3, r3, r2
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
.L11:
	mov	r1, #0
	ldr	r0, [r5]
	bl	RETURN
.L12:
	ldr	r0, [sp, #36]
	bl	do_delete_answer
	cmp	r0, #0
	bne	.L41
.L13:
	mov	r1, #0
	ldr	r0, [r5]
	bl	RETURN
	b	.L2
.L39:
	bl	support_prepare_stats
	ldr	r8, .L42+44
	ldr	r3, .L42+48
	ldr	r1, [r8]
	ldr	r2, [r3]
	add	r1, r0, r1
	sub	r2, r2, r0
	mov	r5, r0
	mov	r0, r7
	bl	prepare_stats
	add	r3, r5, r0
	mov	r1, r4
	mov	r0, r7
	ldr	r2, [r8]
	sub	r3, r3, #1
	bl	return_one_key
	mov	r0, r6
	b	.L1
.L6:
	ldr	r8, .L42+28
	mov	r1, #0
	ldr	r0, [r8]
	bl	RETURN
	b	.L7
.L8:
	mov	r0, r5
	bl	msg_free
	mov	r1, #0
	ldr	r0, [r8]
	bl	RETURN
	ldr	r1, [sp, #40]
	b	.L9
.L41:
	mov	r3, #1
	mov	r1, r4
	str	r3, [sp]
	mov	r0, r7
	mov	r3, #7
	ldr	r2, .L42+52
	bl	return_one_key_flags
	b	.L13
.L40:
	bl	__stack_chk_fail
.L43:
	.align	2
.L42:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	MAX_RES
	.word	.LC4
	.word	get
	.word	.LC5
	.word	delete
	.word	.LC6
	.word	stats_buff
	.word	STATS_BUFF_SIZE
	.word	.LC7
	.size	memcache_get, .-memcache_get
	.comm	stats_buff,4,4
	.comm	get,4,4
	.comm	delete,4,4
	.comm	STATS_BUFF_SIZE,4,4
	.comm	SET_LOG_VERBOSITY,4,4
	.comm	MAX_RES,4,4
	.comm	INIT,4,4
	.comm	GET_LOG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
