	.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
	pushq	%rax
	.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, %r15
	movq	%rdi, %r14
	movq	_cmd_get@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_get_at_prefix_length
	cltq
	leaq	(%r15,%rax), %r12
	subl	%eax, %ebx
	cmpl	$5, %ebx
	jl	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.6:
	movl	(%r13), %eax
	cmpl	-44(%rbp), %eax
	jne	LBB0_8
## %bb.7:
	movq	_get_hits@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_stats_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%r13), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movl	8(%rax), %r8d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	jmp	LBB0_16
LBB0_8:
	cmpl	$5, %ebx
	jne	LBB0_11
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	$5, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:
	movq	_test_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.12:
	movq	_worst_misspell_msg@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_18
## %bb.13:
	cmpl	$18, %ebx
	jne	LBB0_18
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	$18, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_15
LBB0_18:
	movq	%r14, %rdi
	callq	_free_tmp_buffers
	movq	_get_missed@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_19
LBB0_2:
	movq	%r14, %rdi
	callq	_spell_prepare_stats
	movq	_stats_buff@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %ecx
	callq	_return_one_key
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_10:
	movq	_stats_buff@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_spell_get_dicts
	movq	_get_hits@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_17
LBB0_15:
	movq	_get_hits@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	(%r13), %rbx
	movq	%rbx, %rdi
	callq	_strlen
LBB0_16:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
LBB0_17:
	movl	%eax, %ecx
	callq	_return_one_key
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cmd_get,4,2                    ## @cmd_get
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stats"

	.comm	_stats_buff,8,3                 ## @stats_buff
L_.str.1:                               ## @.str.1
	.asciz	"request%d"

	.comm	_get_hits,4,2                   ## @get_hits
L_.str.2:                               ## @.str.2
	.asciz	"%d,%d,%d"

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

	.comm	_STATS_BUFF_SIZE,4,2            ## @STATS_BUFF_SIZE
	.comm	_test_mode,8,3                  ## @test_mode
	.comm	_worst_misspell_msg,8,3         ## @worst_misspell_msg
L_.str.4:                               ## @.str.4
	.asciz	"worst_misspell_msg"

	.comm	_get_missed,4,2                 ## @get_missed
.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _cmd_get@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmd_get@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x1
	mov	x1, x2
	bl	_get_at_prefix_length
	add	x21, x19, w0, sxtw
	sub	w22, w22, w0
	cmp	w22, #5
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_12
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x23, [x8]
	cbz	x23, LBB0_7
; %bb.4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x23]
	ldr	w9, [sp, #12]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _get_hits@GOTPAGE
Lloh7:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
Lloh8:
	adrp	x10, _stats_buff@GOTPAGE
Lloh9:
	ldr	x10, [x10, _stats_buff@GOTPAGEOFF]
	str	w9, [x8]
Lloh10:
	ldr	x21, [x10]
	ldr	x8, [x23, #8]
	ldp	w2, w3, [x8]
	ldr	w4, [x8, #8]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	b	LBB0_15
LBB0_7:
	cmp	w22, #5
	b.ne	LBB0_9
; %bb.8:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #5
	bl	_memcmp
	cbz	w0, LBB0_13
LBB0_9:
Lloh15:
	adrp	x8, _test_mode@GOTPAGE
Lloh16:
	ldr	x8, [x8, _test_mode@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x23, _worst_misspell_msg@GOTPAGE
Lloh19:
	ldr	x23, [x23, _worst_misspell_msg@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	ccmp	w22, #18, #0, ne
	b.ne	LBB0_11
; %bb.10:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w2, #18
	bl	_memcmp
	cbz	w0, LBB0_14
LBB0_11:
	mov	x0, x20
	bl	_free_tmp_buffers
	mov	w0, #0
Lloh22:
	adrp	x8, _get_missed@GOTPAGE
Lloh23:
	ldr	x8, [x8, _get_missed@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_17
LBB0_12:
	mov	x0, x20
	bl	_spell_prepare_stats
	mov	x3, x0
Lloh24:
	adrp	x8, _stats_buff@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh26:
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_return_one_key
	mov	w0, #0
	b	LBB0_17
LBB0_13:
Lloh27:
	adrp	x21, _stats_buff@GOTPAGE
Lloh28:
	ldr	x21, [x21, _stats_buff@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh29:
	adrp	x8, _STATS_BUFF_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _STATS_BUFF_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_spell_get_dicts
	mov	x3, x0
Lloh32:
	adrp	x8, _get_hits@GOTPAGE
Lloh33:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x2, [x21]
	mov	x0, x20
	mov	x1, x19
	b	LBB0_16
LBB0_14:
Lloh34:
	adrp	x8, _get_hits@GOTPAGE
Lloh35:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x21, [x23]
	mov	x0, x21
	bl	_strlen
LBB0_15:
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
LBB0_16:
	bl	_return_one_key
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_cmd_get,4,2                    ; @cmd_get
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stats"

	.comm	_stats_buff,8,3                 ; @stats_buff
l_.str.1:                               ; @.str.1
	.asciz	"request%d"

	.comm	_get_hits,4,2                   ; @get_hits
l_.str.2:                               ; @.str.2
	.asciz	"%d,%d,%d"

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

	.comm	_STATS_BUFF_SIZE,4,2            ; @STATS_BUFF_SIZE
	.comm	_test_mode,8,3                  ; @test_mode
	.comm	_worst_misspell_msg,8,3         ; @worst_misspell_msg
l_.str.4:                               ; @.str.4
	.asciz	"worst_misspell_msg"

	.comm	_get_missed,4,2                 ; @get_missed
.subsections_via_symbols
