	.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, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_get_at_prefix_length
	movl	%eax, %r15d
	cltq
	leaq	(%rax,%r13), %r12
	subl	%eax, %ebx
	cmpl	$5, %ebx
	jl	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.2:
	cmpl	$8, %ebx
	jb	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_search_query                ## TAILCALL
LBB0_5:
	cmpl	$4, %ebx
	jne	LBB0_12
LBB0_6:
	leaq	1(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	cmpl	$20, %ebx
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	$20, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_16
LBB0_12:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	callq	_fprintf
	jmp	LBB0_14
LBB0_15:
	movq	%r14, %rdi
	callq	_searchx_prepare_stats
	movq	_stats_buff@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_one_key                 ## TAILCALL
LBB0_7:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_do_get_rate
	jmp	LBB0_14
LBB0_9:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_do_get_hash
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$20, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_worst_search_queries           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stats"

	.comm	_stats_buff,4,2                 ## @stats_buff
L_.str.1:                               ## @.str.1
	.asciz	"search"

L_.str.2:                               ## @.str.2
	.asciz	"ate"

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

L_.str.4:                               ## @.str.4
	.asciz	"worst_search_queries"

	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
L_.str.5:                               ## @.str.5
	.asciz	"unknown query \"get %s\"\n"

.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_get_at_prefix_length
	mov	x21, x0
	add	x19, x23, w0, sxtw
	sub	w22, w22, w0
	cmp	w22, #5
	b.lt	LBB0_5
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_12
; %bb.2:
	cmp	w22, #8
	b.lo	LBB0_6
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_strncmp
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_do_search_query
LBB0_5:
	cmp	w22, #4
	b.ne	LBB0_10
LBB0_6:
	add	x0, x19, #1
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_13
; %bb.7:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_strncmp
	cbz	w0, LBB0_14
; %bb.8:
	cmp	w22, #20
	b.ne	LBB0_10
; %bb.9:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #20
	bl	_memcmp
	cbz	w0, LBB0_16
LBB0_10:
Lloh10:
	adrp	x8, _verbosity@GOTPAGE
Lloh11:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.11:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	b	LBB0_15
LBB0_12:
	mov	x0, x20
	bl	_searchx_prepare_stats
	mov	x3, x0
Lloh18:
	adrp	x8, _stats_buff@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_return_one_key
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_do_get_rate
	b	LBB0_15
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_do_get_hash
LBB0_15:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #20
	mov	x3, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_worst_search_queries
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stats"

	.comm	_stats_buff,4,2                 ; @stats_buff
l_.str.1:                               ; @.str.1
	.asciz	"search"

l_.str.2:                               ; @.str.2
	.asciz	"ate"

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

l_.str.4:                               ; @.str.4
	.asciz	"worst_search_queries"

	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
l_.str.5:                               ; @.str.5
	.asciz	"unknown query \"get %s\"\n"

.subsections_via_symbols
