	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_get                   ## -- Begin function memcache_get
	.p2align	4, 0x90
_memcache_get:                          ## @memcache_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_hst
	leaq	-56(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_eat_at
	cmpl	$5, -72(%rbp)
	jl	LBB0_22
## %bb.1:
	movq	-56(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$6, -72(%rbp)
	jl	LBB0_22
## %bb.4:
	movq	-56(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$6, %r12d
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_14
## %bb.5:
	movq	-56(%rbp), %rdi
	addq	$6, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movl	$12, %ebx
	cmovnel	%r12d, %ebx
	movq	_MAX_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	-56(%rbp), %rdi
	addq	%rbx, %rdi
	leaq	-76(%rbp), %r9
	leaq	-60(%rbp), %r10
	leaq	L_.str.4(%rip), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-80(%rbp), %r8
	xorl	%eax, %eax
	pushq	%r9
	pushq	%r10
	callq	_sscanf
	addq	$16, %rsp
	cmpl	$3, %eax
	jl	LBB0_7
## %bb.6:
	movq	-56(%rbp), %rax
	movslq	-76(%rbp), %rcx
	movl	%ebx, %edx
	addq	%rcx, %rdx
	cmpb	$0, (%rax,%rdx)
	je	LBB0_8
LBB0_7:
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_8:
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r15b
	movq	%r14, %rdi
	callq	_MESSAGE
	movq	%rax, %r12
	movl	-80(%rbp), %esi
	movq	%rax, %rdi
	callq	_msg_verify
	testq	%rax, %rax
	js	LBB0_10
## %bb.9:
	movl	-60(%rbp), %r8d
	testl	%r8d, %r8d
	jg	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	callq	_msg_free
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
	movl	-60(%rbp), %r8d
LBB0_11:
	movl	-68(%rbp), %edi
	movl	-64(%rbp), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movl	%r15d, %r9d
	callq	_get_answer
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	movl	$1, %r8d
	callq	_return_one_key_flags
LBB0_13:
	movq	%r12, %rdi
	callq	_msg_free
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_14:
	cmpl	$13, -72(%rbp)
	jl	LBB0_22
## %bb.15:
	movq	-56(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$13, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_22
## %bb.16:
	movq	-56(%rbp), %rdi
	addq	$13, %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	-68(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	xorl	%eax, %eax
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_18
## %bb.17:
	movq	-56(%rbp), %rax
	movslq	-64(%rbp), %rcx
	cmpb	$0, 13(%rcx,%rax)
	je	LBB0_19
LBB0_18:
	movq	_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_19:
	movl	-68(%rbp), %edi
	callq	_do_delete_answer
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.7(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	movl	$1, %r8d
	callq	_return_one_key_flags
LBB0_21:
	movq	_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_22:
	movq	_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_23:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_support_prepare_stats
	movq	_stats_buff@GOTPCREL(%rip), %r15
	movslq	%eax, %rbx
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	%rbx, %rdx
	movq	%r14, %rdi
	callq	_prepare_stats
                                        ## kill: def $eax killed $eax def $rax
	movq	(%r15), %rdx
	leal	(%rbx,%rax), %ecx
	decl	%ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_return_one_key
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache_get: key='%s', key_len=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"stats"

	.comm	_stats_buff,8,3                 ## @stats_buff
	.comm	_STATS_BUFF_SIZE,8,3            ## @STATS_BUFF_SIZE
	.comm	_GET_LOG,4,2                    ## @GET_LOG
	.comm	_SET_LOG_VERBOSITY,4,2          ## @SET_LOG_VERBOSITY
	.comm	_INIT,4,2                       ## @INIT
L_.str.2:                               ## @.str.2
	.asciz	"answer"

L_.str.3:                               ## @.str.3
	.asciz	"_debug"

	.comm	_MAX_RES,4,2                    ## @MAX_RES
L_.str.4:                               ## @.str.4
	.asciz	"%d,%d,%d%n#%d%n"

	.comm	_get,4,2                        ## @get
L_.str.5:                               ## @.str.5
	.asciz	"delete_answer"

L_.str.6:                               ## @.str.6
	.asciz	"%d%n"

	.comm	_delete,4,2                     ## @delete
L_.str.7:                               ## @.str.7
	.asciz	"DELETED"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_get                   ; -- Begin function memcache_get
	.p2align	2
_memcache_get:                          ; @memcache_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hst
	add	x2, sp, #56
	add	x3, sp, #52
	mov	x0, x19
	mov	x1, x21
	bl	_eat_at
	ldr	w8, [sp, #52]
	cmp	w8, #5
	b.lt	LBB0_21
; %bb.1:
	ldr	x0, [sp, #56]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_23
; %bb.2:
	ldr	w8, [sp, #52]
	cmp	w8, #6
	b.lt	LBB0_21
; %bb.3:
	ldr	x0, [sp, #56]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w21, #6
	mov	w2, #6
	bl	_strncmp
	cbnz	w0, LBB0_13
; %bb.4:
	ldr	x8, [sp, #56]
	add	x0, x8, #6
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #6
	bl	_strncmp
	mov	w8, #12
	cmp	w0, #0
	csel	w22, w8, w21, eq
	cset	w21, eq
Lloh8:
	adrp	x8, _MAX_RES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_RES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	ldr	x8, [sp, #56]
	add	x0, x8, x22
	add	x8, sp, #36
	add	x9, sp, #32
	stp	x9, x8, [sp, #16]
	add	x9, sp, #40
	stp	x9, x8, [sp]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #48
	add	x3, sp, #44
	bl	_sscanf
Lloh13:
	adrp	x23, _get@GOTPAGE
Lloh14:
	ldr	x23, [x23, _get@GOTPAGEOFF]
	cmp	w0, #3
	b.lt	LBB0_6
; %bb.5:
	ldr	x8, [sp, #56]
	ldrsw	x9, [sp, #36]
	add	x9, x9, w22, uxtw
	ldrb	w8, [x8, x9]
	cbz	w8, LBB0_7
LBB0_6:
	ldr	w0, [x23]
	mov	w1, #0
	bl	_RETURN
LBB0_7:
	mov	x0, x20
	bl	_MESSAGE
	mov	x22, x0
	ldr	w1, [sp, #40]
	bl	_msg_verify
	tbnz	x0, #63, LBB0_9
; %bb.8:
	ldr	w4, [sp, #32]
	cmp	w4, #0
	b.gt	LBB0_10
LBB0_9:
	mov	x0, x22
	bl	_msg_free
	ldr	w0, [x23]
	mov	w1, #0
	bl	_RETURN
	ldr	w4, [sp, #32]
LBB0_10:
	ldp	w1, w0, [sp, #44]
	ldp	w3, w2, [x22]
	mov	x5, x21
	bl	_get_answer
	cbz	x0, LBB0_12
; %bb.11:
	mov	x21, x0
	bl	_strlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w4, #1
	bl	_return_one_key_flags
LBB0_12:
	mov	x0, x22
	bl	_msg_free
	ldr	w0, [x23]
	mov	w1, #0
	bl	_RETURN
LBB0_13:
	ldr	w8, [sp, #52]
	cmp	w8, #13
	b.lt	LBB0_21
; %bb.14:
	ldr	x0, [sp, #56]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #13
	bl	_strncmp
	cbnz	w0, LBB0_21
; %bb.15:
	ldr	x8, [sp, #56]
	add	x0, x8, #13
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #48
	add	x3, sp, #44
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.16:
	ldr	x8, [sp, #56]
	ldrsw	x9, [sp, #44]
	add	x8, x9, x8
	ldrb	w8, [x8, #13]
	cbz	w8, LBB0_18
LBB0_17:
Lloh19:
	adrp	x8, _delete@GOTPAGE
Lloh20:
	ldr	x8, [x8, _delete@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
LBB0_18:
	ldr	w0, [sp, #48]
	bl	_do_delete_answer
	cbz	w0, LBB0_20
; %bb.19:
Lloh22:
	adrp	x21, l_.str.7@PAGE
Lloh23:
	add	x21, x21, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_strlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w4, #1
	bl	_return_one_key_flags
LBB0_20:
Lloh24:
	adrp	x8, _delete@GOTPAGE
Lloh25:
	ldr	x8, [x8, _delete@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
LBB0_21:
Lloh27:
	adrp	x8, _delete@GOTPAGE
Lloh28:
	ldr	x8, [x8, _delete@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
LBB0_22:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_23:
	bl	_support_prepare_stats
	mov	x21, x0
Lloh30:
	adrp	x22, _stats_buff@GOTPAGE
Lloh31:
	ldr	x22, [x22, _stats_buff@GOTPAGEOFF]
	ldr	x8, [x22]
	sxtw	x9, w21
	add	x1, x8, x9
Lloh32:
	adrp	x8, _STATS_BUFF_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _STATS_BUFF_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	sub	x2, x8, x9
	mov	x0, x20
	bl	_prepare_stats
	ldr	x2, [x22]
	add	w8, w21, w0
	sub	w3, w8, #1
	mov	x0, x20
	mov	x1, x19
	bl	_return_one_key
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache_get: key='%s', key_len=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"stats"

	.comm	_stats_buff,8,3                 ; @stats_buff
	.comm	_STATS_BUFF_SIZE,8,3            ; @STATS_BUFF_SIZE
	.comm	_GET_LOG,4,2                    ; @GET_LOG
	.comm	_SET_LOG_VERBOSITY,4,2          ; @SET_LOG_VERBOSITY
	.comm	_INIT,4,2                       ; @INIT
l_.str.2:                               ; @.str.2
	.asciz	"answer"

l_.str.3:                               ; @.str.3
	.asciz	"_debug"

	.comm	_MAX_RES,4,2                    ; @MAX_RES
l_.str.4:                               ; @.str.4
	.asciz	"%d,%d,%d%n#%d%n"

	.comm	_get,4,2                        ; @get
l_.str.5:                               ; @.str.5
	.asciz	"delete_answer"

l_.str.6:                               ; @.str.6
	.asciz	"%d%n"

	.comm	_delete,4,2                     ; @delete
l_.str.7:                               ; @.str.7
	.asciz	"DELETED"

.subsections_via_symbols
