	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_fprintf
LBB0_2:
	leaq	-48(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_eat_at
	cmpl	$5, -40(%rbp)
	jl	LBB0_20
## %bb.3:
	movq	-48(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$7, -40(%rbp)
	jl	LBB0_20
## %bb.6:
	movq	-48(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:
	movq	-48(%rbp), %rdi
	addq	$7, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_strncmp
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	movl	$17, %eax
	movl	$7, %edi
	cmoveq	%rax, %rdi
	addq	-48(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %r8
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_11
## %bb.8:
	movl	-36(%rbp), %edi
	testl	%edi, %edi
	jle	LBB0_11
## %bb.9:
	movl	-52(%rbp), %esi
	movq	_MAX_PRIORITY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jge	LBB0_11
## %bb.10:
	cmpl	%esi, %edi
	jle	LBB0_12
LBB0_11:
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
	movl	-36(%rbp), %edi
	movl	-52(%rbp), %esi
LBB0_12:
	movl	-56(%rbp), %edx
	movl	%r15d, %ecx
	callq	_get_letters
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	movl	$1, %r8d
	callq	_return_one_key_flags
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_13:
	cmpl	$11, -40(%rbp)
	jl	LBB0_20
## %bb.14:
	movq	-48(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$11, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_20
## %bb.15:
	movq	-48(%rbp), %rdi
	addq	$11, %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	-36(%rbp), %rdx
	xorl	%eax, %eax
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_18
## %bb.16:
	movl	-36(%rbp), %edi
	testl	%edi, %edi
	js	LBB0_18
## %bb.17:
	movq	_MAX_PRIORITY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jl	LBB0_19
LBB0_18:
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
	movl	-36(%rbp), %edi
LBB0_19:
	callq	_letters_clear
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	callq	_dl_pstr
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_return_one_key
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_20:
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_21:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_letters_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	%r12, %rsi
	callq	_return_one_key
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT,4,2                       ## @INIT
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.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
L_.str.2:                               ## @.str.2
	.asciz	"letters"

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

L_.str.4:                               ## @.str.4
	.asciz	"%*d,%d,%d#%d"

	.comm	_MAX_PRIORITY,4,2               ## @MAX_PRIORITY
	.comm	_get,4,2                        ## @get
L_.str.5:                               ## @.str.5
	.asciz	"clear_queue"

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

L_.str.7:                               ## @.str.7
	.asciz	"%lld"

.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, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	bl	_fprintf
LBB0_2:
	add	x2, sp, #40
	add	x3, sp, #36
	mov	x0, x19
	mov	x1, x21
	bl	_eat_at
	ldr	w8, [sp, #36]
	cmp	w8, #5
	b.lt	LBB0_19
; %bb.3:
	ldr	x0, [sp, #40]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_21
; %bb.4:
	ldr	w8, [sp, #36]
	cmp	w8, #7
	b.lt	LBB0_19
; %bb.5:
	ldr	x0, [sp, #40]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #7
	bl	_strncmp
	cbnz	w0, LBB0_12
; %bb.6:
	ldr	x8, [sp, #40]
	add	x0, x8, #7
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #10
	bl	_strncmp
	cmp	w0, #0
	cset	w21, eq
	mov	w8, #7
	mov	w9, #17
	csel	x8, x9, x8, eq
	ldr	x9, [sp, #40]
	add	x0, x9, x8
	add	x8, sp, #24
	add	x9, sp, #28
	stp	x9, x8, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #32
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_10
; %bb.7:
	ldr	w0, [sp, #32]
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.8:
	ldr	w1, [sp, #28]
Lloh16:
	adrp	x8, _MAX_PRIORITY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAX_PRIORITY@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ge	LBB0_10
; %bb.9:
	cmp	w0, w1
	b.le	LBB0_11
LBB0_10:
Lloh19:
	adrp	x8, _get@GOTPAGE
Lloh20:
	ldr	x8, [x8, _get@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
	ldp	w1, w0, [sp, #28]
LBB0_11:
	ldr	w2, [sp, #24]
	mov	x3, x21
	bl	_get_letters
	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
Lloh22:
	adrp	x8, _get@GOTPAGE
Lloh23:
	ldr	x8, [x8, _get@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
LBB0_12:
	ldr	w8, [sp, #36]
	cmp	w8, #11
	b.lt	LBB0_19
; %bb.13:
	ldr	x0, [sp, #40]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #11
	bl	_strncmp
	cbnz	w0, LBB0_19
; %bb.14:
	ldr	x8, [sp, #40]
	add	x0, x8, #11
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #32
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.15:
	ldr	w0, [sp, #32]
	tbnz	w0, #31, LBB0_17
; %bb.16:
Lloh29:
	adrp	x8, _MAX_PRIORITY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MAX_PRIORITY@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_18
LBB0_17:
Lloh32:
	adrp	x8, _get@GOTPAGE
Lloh33:
	ldr	x8, [x8, _get@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
	ldr	w0, [sp, #32]
LBB0_18:
	bl	_letters_clear
	mov	x1, x0
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dl_pstr
	mov	x21, x0
	bl	_strlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_return_one_key
Lloh37:
	adrp	x8, _get@GOTPAGE
Lloh38:
	ldr	x8, [x8, _get@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
LBB0_19:
Lloh40:
	adrp	x8, _get@GOTPAGE
Lloh41:
	ldr	x8, [x8, _get@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
LBB0_20:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_21:
	bl	_letters_prepare_stats
	mov	x21, x0
Lloh43:
	adrp	x22, _stats_buff@GOTPAGE
Lloh44:
	ldr	x22, [x22, _stats_buff@GOTPAGEOFF]
	ldr	x8, [x22]
	sxtw	x9, w21
	add	x1, x8, x9
Lloh45:
	adrp	x8, _STATS_BUFF_SIZE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _STATS_BUFF_SIZE@GOTPAGEOFF]
Lloh47:
	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_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT,4,2                       ; @INIT
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.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
l_.str.2:                               ; @.str.2
	.asciz	"letters"

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

l_.str.4:                               ; @.str.4
	.asciz	"%*d,%d,%d#%d"

	.comm	_MAX_PRIORITY,4,2               ; @MAX_PRIORITY
	.comm	_get,4,2                        ; @get
l_.str.5:                               ; @.str.5
	.asciz	"clear_queue"

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

l_.str.7:                               ; @.str.7
	.asciz	"%lld"

.subsections_via_symbols
