	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_my_verbosity_tmp@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	%rbx, %rdx
	callq	_fprintf
LBB0_2:
	leaq	-40(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_eat_at
	cmpl	$5, -28(%rbp)
	jl	LBB0_11
## %bb.3:
	movq	-40(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$15, -28(%rbp)
	jl	LBB0_11
## %bb.6:
	movq	-40(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$15, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	-40(%rbp), %rdi
	addq	$15, %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_11
## %bb.8:
	movq	-40(%rbp), %rcx
	movslq	-44(%rbp), %rdx
	leaq	15(%rdx), %rax
	movl	%eax, -44(%rbp)
	cmpb	$40, 15(%rcx,%rdx)
	jne	LBB0_11
## %bb.9:
	movslq	-28(%rbp), %rbx
	cmpb	$41, -1(%rbx,%rcx)
	jne	LBB0_11
## %bb.10:
	leaq	(%rcx,%rdx), %rsi
	addq	$15, %rsi
	movq	_stats_buff@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	cltq
	subq	%rax, %rbx
	leaq	-2(%rbx), %rdx
	incq	%rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movb	$0, -2(%r14,%rbx)
	movq	-64(%rbp), %rdi
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	movq	%r14, %rsi
	callq	_subscribe_watchcat
LBB0_11:
	movq	_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_12:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_watchcat_prepare_stats
	movq	_stats_buff@GOTPCREL(%rip), %r15
	movslq	%eax, %rbx
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	movq	_MAX_VALUE_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	%rbx, %rdx
	movq	%r14, %rdi
	callq	_prepare_stats
                                        ## kill: def $eax killed $eax def $rax
	movq	-40(%rbp), %rsi
	movq	(%r15), %rdx
	leal	(%rbx,%rax), %ecx
	decl	%ecx
	movq	%r14, %rdi
	callq	_return_one_key
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT,4,2                       ## @INIT
	.comm	_my_verbosity_tmp,4,2           ## @my_verbosity_tmp
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache_get: key='%s'\n"

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

	.comm	_stats_buff,8,3                 ## @stats_buff
	.comm	_MAX_VALUE_LEN,8,3              ## @MAX_VALUE_LEN
L_.str.2:                               ## @.str.2
	.asciz	"create_watchcat"

L_.str.3:                               ## @.str.3
	.asciz	"%lld,%d,%d%n"

	.comm	_get,4,2                        ## @get
.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _my_verbosity_tmp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _my_verbosity_tmp@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, x21
	bl	_fprintf
LBB0_2:
	add	x2, sp, #24
	add	x3, sp, #20
	mov	x0, x21
	mov	x1, x20
	bl	_eat_at
	ldr	w8, [sp, #20]
	cmp	w8, #5
	b.lt	LBB0_10
; %bb.3:
	ldr	x0, [sp, #24]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_12
; %bb.4:
	ldr	w8, [sp, #20]
	cmp	w8, #15
	b.lt	LBB0_10
; %bb.5:
	ldr	x0, [sp, #24]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #15
	bl	_strncmp
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	x8, [sp, #24]
	add	x0, x8, #15
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	add	x5, sp, #16
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_10
; %bb.7:
	ldr	x10, [sp, #24]
	ldrsw	x8, [sp, #16]
	add	x8, x8, #15
	str	w8, [sp, #16]
	add	x9, x10, x8
	ldrb	w11, [x9]
	cmp	w11, #40
	b.ne	LBB0_10
; %bb.8:
	ldrsw	x11, [sp, #20]
	add	x10, x11, x10
	ldurb	w10, [x10, #-1]
	cmp	w10, #41
	b.ne	LBB0_10
; %bb.9:
Lloh14:
	adrp	x10, _stats_buff@GOTPAGE
Lloh15:
	ldr	x10, [x10, _stats_buff@GOTPAGEOFF]
Lloh16:
	ldr	x19, [x10]
	sub	x8, x11, w8, sxtw
	sub	x20, x8, #2
	add	x1, x9, #1
	mov	x0, x19
	mov	x2, x20
	bl	_memcpy
	strb	wzr, [x19, x20]
	ldr	x0, [sp, #8]
	ldp	w2, w3, [sp]
	mov	x1, x19
	bl	_subscribe_watchcat
LBB0_10:
Lloh17:
	adrp	x8, _get@GOTPAGE
Lloh18:
	ldr	x8, [x8, _get@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_RETURN
LBB0_11:
	mov	w0, #0
	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
LBB0_12:
	bl	_watchcat_prepare_stats
	mov	x20, x0
Lloh20:
	adrp	x21, _stats_buff@GOTPAGE
Lloh21:
	ldr	x21, [x21, _stats_buff@GOTPAGEOFF]
	ldr	x8, [x21]
	sxtw	x9, w20
	add	x1, x8, x9
Lloh22:
	adrp	x8, _MAX_VALUE_LEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAX_VALUE_LEN@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	sub	x2, x8, x9
	mov	x0, x19
	bl	_prepare_stats
	ldr	x1, [sp, #24]
	ldr	x2, [x21]
	add	w8, w20, w0
	sub	w3, w8, #1
	mov	x0, x19
	bl	_return_one_key
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT,4,2                       ; @INIT
	.comm	_my_verbosity_tmp,4,2           ; @my_verbosity_tmp
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache_get: key='%s'\n"

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

	.comm	_stats_buff,8,3                 ; @stats_buff
	.comm	_MAX_VALUE_LEN,8,3              ; @MAX_VALUE_LEN
l_.str.2:                               ; @.str.2
	.asciz	"create_watchcat"

l_.str.3:                               ; @.str.3
	.asciz	"%lld,%d,%d%n"

	.comm	_get,4,2                        ; @get
.subsections_via_symbols
