	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_cmd_get@GOTPCREL(%rip), %rax
	incl	(%rax)
	cmpl	$8, %ebx
	jl	LBB0_7
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$7, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	leaq	7(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.3:
	movq	-48(%rbp), %rdi
	callq	_hash_get_req_f
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rax), %edx
	jmp	LBB0_6
LBB0_7:
	cmpl	$7, %ebx
	jne	LBB0_31
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_18
## %bb.9:
	leaq	6(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_18
## %bb.10:
	movq	-48(%rbp), %rdi
	callq	_hash_get_req_f
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movl	(%r12), %eax
	jmp	LBB0_13
LBB0_31:
	cmpl	$5, %ebx
	jge	LBB0_32
	jmp	LBB0_34
LBB0_11:
	movl	$-1, %eax
LBB0_13:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_15
## %bb.14:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
LBB0_15:
	movq	8(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.16:
	movq	_get_hits@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	4(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_return_one_key
	xorl	%ebx, %ebx
	cmpl	$1024, 4(%r12)                  ## imm = 0x400
	jl	LBB0_36
## %bb.17:
	movq	%r12, %rdi
	callq	_forth_request_unload_prog
	jmp	LBB0_36
LBB0_18:
	cmpl	$18, %ebx
	jb	LBB0_32
## %bb.19:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	$17, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_32
## %bb.20:
	leaq	17(%r15), %rdi
	leaq	L_.str.5(%rip), %rsi
	leaq	-36(%rbp), %rdx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_32
## %bb.21:
	movl	-36(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	movl	$4, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	-36(%rbp), %ecx
	leal	-128(%rcx), %eax
	cmpl	$4, %eax
	ja	LBB0_22
## %bb.37:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_29:
	movq	_sigxcpu@GOTPCREL(%rip), %rdx
	jmp	LBB0_24
LBB0_32:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_33
LBB0_34:
	movq	_get_missed@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_35
LBB0_33:
	movq	%r14, %rdi
	callq	_image_prepare_stats
	movq	_stats_buffer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %ecx
	callq	_return_one_key
LBB0_35:
	xorl	%ebx, %ebx
LBB0_36:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	$-1, %edx
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_memcache_write_res
	movl	%eax, %ebx
	jmp	LBB0_36
LBB0_22:
	testl	%ecx, %ecx
	jne	LBB0_30
## %bb.23:
	movq	_not_zero_exit_code@GOTPCREL(%rip), %rdx
	jmp	LBB0_24
LBB0_28:
	movq	_sigterm@GOTPCREL(%rip), %rdx
	jmp	LBB0_24
LBB0_27:
	movq	_sigsegv@GOTPCREL(%rip), %rdx
	jmp	LBB0_24
LBB0_26:
	movq	_sigkill@GOTPCREL(%rip), %rdx
	jmp	LBB0_24
LBB0_25:
	movq	_sigabrt@GOTPCREL(%rip), %rdx
	jmp	LBB0_24
LBB0_30:
	movq	_sigother@GOTPCREL(%rip), %rdx
LBB0_24:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_stat_failure_write
	movl	%eax, %ebx
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
LJTI0_0:
	.long	L0_0_set_29
	.long	L0_0_set_28
	.long	L0_0_set_27
	.long	L0_0_set_26
	.long	L0_0_set_25
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache_get_process: key='%s'\n"

	.comm	_cmd_get,4,2                    ## @cmd_get
L_.str.1:                               ## @.str.1
	.asciz	"request"

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

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

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_get_hits,4,2                   ## @get_hits
L_.str.4:                               ## @.str.4
	.asciz	"last_failure_prog"

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

L_.str.6:                               ## @.str.6
	.asciz	"get(\"error\", signo: %d)\n"

	.comm	_not_zero_exit_code,4,2         ## @not_zero_exit_code
	.comm	_sigabrt,4,2                    ## @sigabrt
	.comm	_sigkill,4,2                    ## @sigkill
	.comm	_sigsegv,4,2                    ## @sigsegv
	.comm	_sigterm,4,2                    ## @sigterm
	.comm	_sigxcpu,4,2                    ## @sigxcpu
	.comm	_sigother,4,2                   ## @sigother
L_.str.7:                               ## @.str.7
	.asciz	"stats"

	.comm	_stats_buffer,8,3               ## @stats_buffer
	.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	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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	str	x1, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
Lloh2:
	adrp	x8, _cmd_get@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cmd_get@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	cmp	w21, #8
	b.lt	LBB0_5
; %bb.1:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #7
	bl	_memcmp
	cbnz	w0, LBB0_6
; %bb.2:
	add	x0, x19, #7
	add	x8, sp, #24
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.3:
	ldr	x0, [sp, #24]
	bl	_hash_get_req_f
	cbz	x0, LBB0_25
; %bb.4:
	ldr	w2, [x0]
	b	LBB0_26
LBB0_5:
	cmp	w21, #7
	b.ne	LBB0_10
LBB0_6:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_memcmp
	cbnz	w0, LBB0_16
; %bb.7:
	add	x0, x19, #6
	add	x8, sp, #24
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_16
; %bb.8:
	ldr	x0, [sp, #24]
	bl	_hash_get_req_f
	mov	x22, x0
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w8, [x22]
	b	LBB0_12
LBB0_10:
	cmp	w21, #5
	b.ge	LBB0_22
	b	LBB0_23
LBB0_11:
	mov	w8, #-1
LBB0_12:
Lloh12:
	adrp	x9, _EXIT_SUCCESS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _EXIT_FAILURE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _EXIT_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_16
; %bb.13:
	ldr	x2, [x22, #8]
	cbz	x2, LBB0_16
; %bb.14:
Lloh18:
	adrp	x8, _get_hits@GOTPAGE
Lloh19:
	ldr	x8, [x8, _get_hits@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w3, [x22, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_return_one_key
	ldr	w8, [x22, #4]
	cmp	w8, #1024
	b.lt	LBB0_27
; %bb.15:
	mov	x0, x22
	bl	_forth_request_unload_prog
	mov	w0, #0
	b	LBB0_36
LBB0_16:
	cmp	w21, #18
	b.lo	LBB0_22
; %bb.17:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #17
	bl	_memcmp
	cbnz	w0, LBB0_22
; %bb.18:
	add	x0, x19, #17
	add	x8, sp, #20
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.19:
	ldr	w8, [sp, #20]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #4
	bl	_vkprintf
	ldr	w8, [sp, #20]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_28
; %bb.20:
Lloh26:
	adrp	x8, lJTI0_0@PAGE
Lloh27:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_21
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_21:
Lloh28:
	adrp	x2, _sigxcpu@GOTPAGE
Lloh29:
	ldr	x2, [x2, _sigxcpu@GOTPAGEOFF]
	b	LBB0_35
LBB0_22:
Lloh30:
	adrp	x1, l_.str.7@PAGE
Lloh31:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_24
LBB0_23:
	mov	w0, #0
Lloh32:
	adrp	x8, _get_missed@GOTPAGE
Lloh33:
	ldr	x8, [x8, _get_missed@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_36
LBB0_24:
	mov	x0, x20
	bl	_image_prepare_stats
	mov	x3, x0
Lloh34:
	adrp	x8, _stats_buffer@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stats_buffer@GOTPAGEOFF]
Lloh36:
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_return_one_key
	mov	w0, #0
	b	LBB0_36
LBB0_25:
	mov	w2, #-1
LBB0_26:
	mov	x0, x20
	mov	x1, x19
	bl	_memcache_write_res
	b	LBB0_36
LBB0_27:
	mov	w0, #0
	b	LBB0_36
LBB0_28:
	cbnz	w8, LBB0_34
; %bb.29:
Lloh37:
	adrp	x2, _not_zero_exit_code@GOTPAGE
Lloh38:
	ldr	x2, [x2, _not_zero_exit_code@GOTPAGEOFF]
	b	LBB0_35
LBB0_30:
Lloh39:
	adrp	x2, _sigterm@GOTPAGE
Lloh40:
	ldr	x2, [x2, _sigterm@GOTPAGEOFF]
	b	LBB0_35
LBB0_31:
Lloh41:
	adrp	x2, _sigsegv@GOTPAGE
Lloh42:
	ldr	x2, [x2, _sigsegv@GOTPAGEOFF]
	b	LBB0_35
LBB0_32:
Lloh43:
	adrp	x2, _sigkill@GOTPAGE
Lloh44:
	ldr	x2, [x2, _sigkill@GOTPAGEOFF]
	b	LBB0_35
LBB0_33:
Lloh45:
	adrp	x2, _sigabrt@GOTPAGE
Lloh46:
	ldr	x2, [x2, _sigabrt@GOTPAGEOFF]
	b	LBB0_35
LBB0_34:
Lloh47:
	adrp	x2, _sigother@GOTPAGE
Lloh48:
	ldr	x2, [x2, _sigother@GOTPAGEOFF]
LBB0_35:
	mov	x0, x20
	mov	x1, x19
	bl	_stat_failure_write
LBB0_36:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_30-LBB0_21)>>2
	.byte	(LBB0_31-LBB0_21)>>2
	.byte	(LBB0_32-LBB0_21)>>2
	.byte	(LBB0_33-LBB0_21)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache_get_process: key='%s'\n"

	.comm	_cmd_get,4,2                    ; @cmd_get
l_.str.1:                               ; @.str.1
	.asciz	"request"

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

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

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_get_hits,4,2                   ; @get_hits
l_.str.4:                               ; @.str.4
	.asciz	"last_failure_prog"

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

l_.str.6:                               ; @.str.6
	.asciz	"get(\"error\", signo: %d)\n"

	.comm	_not_zero_exit_code,4,2         ; @not_zero_exit_code
	.comm	_sigabrt,4,2                    ; @sigabrt
	.comm	_sigkill,4,2                    ; @sigkill
	.comm	_sigsegv,4,2                    ; @sigsegv
	.comm	_sigterm,4,2                    ; @sigterm
	.comm	_sigxcpu,4,2                    ; @sigxcpu
	.comm	_sigother,4,2                   ; @sigother
l_.str.7:                               ; @.str.7
	.asciz	"stats"

	.comm	_stats_buffer,8,3               ; @stats_buffer
	.comm	_get_missed,4,2                 ; @get_missed
.subsections_via_symbols
