	.file	"extr_filesys-memcache.c_memcache_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"memcache_get: key='%s'\n"
.LC1:
	.string	"stats"
.LC2:
	.string	"creat"
.LC3:
	.string	"creat%d"
.LC4:
	.string	"open"
.LC5:
	.string	"read"
.LC6:
	.string	"read%u,%u,%lld"
	.text
	.p2align 4
	.globl	memcache_get
	.type	memcache_get, @function
memcache_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR verbosity[rip], 2
	jg	.L17
.L2:
	cmp	ebx, 4
	jg	.L18
	add	DWORD PTR cmd_get[rip], 1
	test	ebx, ebx
	jle	.L5
	movzx	eax, BYTE PTR 0[rbp]
	cmp	al, 111
	je	.L6
.L22:
	cmp	al, 114
	je	.L7
	cmp	al, 99
	je	.L19
.L8:
	mov	rdi, r12
	call	free_tmp_buffers@PLT
.L5:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	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
.L18:
	.cfi_restore_state
	mov	edx, 5
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	je	.L21
	add	DWORD PTR cmd_get[rip], 1
	movzx	eax, BYTE PTR 0[rbp]
	cmp	al, 111
	jne	.L22
.L6:
	mov	ecx, 5
	lea	rdi, .LC4[rip]
	mov	rsi, rbp
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L8
	mov	rdi, r12
	call	parse_path@PLT
	test	eax, eax
	jne	.L8
	mov	edi, DWORD PTR value_buff[rip]
	lea	rsi, 4[rsp]
	call	ff_open@PLT
	test	eax, eax
	jne	.L8
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, rsi
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edx, 5
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L8
	lea	rdx, 8[rsp]
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	sscanf@PLT
	test	eax, eax
	jle	.L8
	mov	rdi, r12
	call	parse_path@PLT
	test	eax, eax
	jne	.L8
	mov	esi, DWORD PTR 8[rsp]
	mov	edi, DWORD PTR value_buff[rip]
	lea	rdx, 4[rsp]
	call	ff_create@PLT
	test	eax, eax
	jne	.L8
.L15:
	mov	edx, DWORD PTR 4[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	call	return_one_long@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, 4
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L8
	lea	rcx, 16[rsp]
	lea	rdx, 12[rsp]
	mov	rdi, rbp
	lea	r8, 20[rsp]
	lea	rsi, .LC6[rip]
	call	sscanf@PLT
	cmp	eax, 2
	jle	.L8
	mov	eax, DWORD PTR 20[rsp]
	mov	ecx, DWORD PTR 12[rsp]
	xor	edi, edi
	lea	r8, 4[rsp]
	mov	edx, DWORD PTR 16[rsp]
	mov	esi, DWORD PTR value_buff[rip]
	mov	DWORD PTR 4[rsp], eax
	call	ff_read@PLT
	test	eax, eax
	js	.L8
	mov	edx, DWORD PTR value_buff[rip]
	mov	ecx, eax
	mov	rsi, rbp
	mov	rdi, r12
	call	return_one_key@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, r12
	call	filesys_prepare_stats@PLT
	mov	edx, DWORD PTR value_buff[rip]
	mov	rsi, rbp
	mov	rdi, r12
	mov	ecx, eax
	call	return_one_key@PLT
	jmp	.L5
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	memcache_get, .-memcache_get
	.comm	verbosity,4,4
	.comm	value_buff,4,4
	.comm	stderr,4,4
	.comm	cmd_get,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_filesys-memcache.c_memcache_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"memcache_get: key='%s'\012\000"
	.align	2
.LC1:
	.ascii	"stats\000"
	.align	2
.LC2:
	.ascii	"creat\000"
	.align	2
.LC3:
	.ascii	"creat%d\000"
	.align	2
.LC4:
	.ascii	"open\000"
	.align	2
.LC5:
	.ascii	"read\000"
	.align	2
.LC6:
	.ascii	"read%u,%u,%lld\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.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 = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L22
	sub	sp, sp, #36
	ldr	r3, [r3]
	mov	r6, r0
	cmp	r3, #2
	ldr	r3, .L22+4
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bgt	.L17
.L2:
	cmp	r5, #4
	ble	.L3
	mov	r2, #5
	mov	r0, r4
	ldr	r1, .L22+8
	bl	strncmp
	cmp	r0, #0
	beq	.L18
	ldr	r2, .L22+12
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #111
	beq	.L6
.L21:
	cmp	r3, #114
	beq	.L7
	cmp	r3, #99
	beq	.L19
.L8:
	mov	r0, r6
	bl	free_tmp_buffers
.L5:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, #0
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	ldr	r2, .L22+12
	cmp	r5, #0
	ldr	r3, [r2]
	add	r3, r3, #1
	str	r3, [r2]
	ble	.L5
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #111
	bne	.L21
	b	.L6
.L17:
	ldr	r3, .L22+16
	mov	r2, r1
	ldr	r0, [r3]
	ldr	r1, .L22+20
	bl	fprintf
	b	.L2
.L19:
	mov	r2, #5
	mov	r0, r4
	ldr	r1, .L22+24
	bl	strncmp
	cmp	r0, #0
	bne	.L8
	mov	r0, r4
	ldr	r1, .L22+28
	add	r2, sp, #12
	bl	sscanf
	cmp	r0, #0
	ble	.L8
	mov	r0, r6
	bl	parse_path
	cmp	r0, #0
	bne	.L8
	ldr	r3, .L22+32
	ldr	r1, [sp, #12]
	ldr	r0, [r3]
	add	r2, sp, #8
	bl	ff_create
	cmp	r0, #0
	bne	.L8
.L15:
	mov	r1, r4
	mov	r0, r6
	ldr	r2, [sp, #8]
	bl	return_one_long
	b	.L8
.L7:
	mov	r2, #4
	mov	r0, r4
	ldr	r1, .L22+36
	bl	strncmp
	subs	r5, r0, #0
	bne	.L8
	add	r3, sp, #24
	str	r3, [sp]
	mov	r0, r4
	ldr	r1, .L22+40
	add	r3, sp, #20
	add	r2, sp, #16
	bl	sscanf
	cmp	r0, #2
	ble	.L8
	ldr	r7, .L22+32
	ldr	ip, [sp, #24]
	add	r3, sp, #8
	str	r3, [sp]
	mov	r0, r5
	ldr	r3, [sp, #16]
	ldr	r1, [r7]
	ldr	r2, [sp, #20]
	str	ip, [sp, #8]
	bl	ff_read
	subs	r3, r0, #0
	blt	.L8
	mov	r1, r4
	mov	r0, r6
	ldr	r2, [r7]
	bl	return_one_key
	b	.L8
.L6:
	mov	r0, r4
	ldr	r1, .L22+44
	bl	strcmp
	cmp	r0, #0
	bne	.L8
	mov	r0, r6
	bl	parse_path
	cmp	r0, #0
	bne	.L8
	ldr	r3, .L22+32
	add	r1, sp, #8
	ldr	r0, [r3]
	bl	ff_open
	cmp	r0, #0
	bne	.L8
	b	.L15
.L18:
	mov	r0, r6
	bl	filesys_prepare_stats
	ldr	r2, .L22+32
	mov	r3, r0
	mov	r1, r4
	mov	r0, r6
	ldr	r2, [r2]
	bl	return_one_key
	b	.L5
.L20:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	verbosity
	.word	.LC7
	.word	.LC1
	.word	cmd_get
	.word	stderr
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	value_buff
	.word	.LC5
	.word	.LC6
	.word	.LC4
	.size	memcache_get, .-memcache_get
	.comm	verbosity,4,4
	.comm	value_buff,4,4
	.comm	stderr,4,4
	.comm	cmd_get,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
