	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_store                 ## -- Begin function memcache_store
	.p2align	4, 0x90
_memcache_store:                        ## @memcache_store
	.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	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	16(%rbp), %r15d
	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	%rbx, %rdx
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	callq	_fprintf
LBB0_2:
	leal	1(%r15), %eax
	movq	_MAX_VALUE_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_20
## %bb.3:
	leaq	-64(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_eat_at
	movl	-44(%rbp), %eax
	cmpl	$15, %eax
	jl	LBB0_13
## %bb.4:
	movq	-64(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$15, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movl	$0, -36(%rbp)
	movq	-64(%rbp), %rdi
	addq	$15, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.6:
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.7:
	movq	_MAX_PRIORITY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_10
## %bb.8:
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movq	_MAX_DELAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_11
LBB0_10:
	movq	_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
LBB0_11:
	movq	_buf@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_safe_read_in
	movq	(%rbx), %rcx
	movslq	%r15d, %rax
	movq	$0, (%rcx,%rax,8)
	movq	-56(%rbp), %rdi
	movl	-40(%rbp), %esi
	movl	-36(%rbp), %edx
	callq	_add_letter_priority
	movq	_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_RETURN
LBB0_12:
	movl	-44(%rbp), %eax
LBB0_13:
	cmpl	$6, %eax
	jl	LBB0_20
## %bb.14:
	movq	-64(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_20
## %bb.15:
	movl	$0, -36(%rbp)
	movq	$0, -56(%rbp)
	movq	-64(%rbp), %rdi
	addq	$6, %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	leaq	-56(%rbp), %r8
	xorl	%eax, %eax
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_18
## %bb.16:
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_18
## %bb.17:
	movq	_MAX_DELAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_19
LBB0_18:
	movq	_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
LBB0_19:
	movq	_buf@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_safe_read_in
	movq	(%rbx), %rdx
	movslq	%r15d, %rax
	movq	$0, (%rdx,%rax,8)
	movl	-36(%rbp), %edi
	movq	-56(%rbp), %rsi
	callq	_add_letter
	movq	_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_RETURN
LBB0_20:
	movq	_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_store: key='%s', key_len=%d, value_len=%d, \n"

	.comm	_MAX_VALUE_LEN,4,2              ## @MAX_VALUE_LEN
L_.str.1:                               ## @.str.1
	.asciz	"letter_priority"

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

	.comm	_MAX_PRIORITY,4,2               ## @MAX_PRIORITY
	.comm	_MAX_DELAY,4,2                  ## @MAX_DELAY
	.comm	_set,4,2                        ## @set
	.comm	_buf,8,3                        ## @buf
L_.str.3:                               ## @.str.3
	.asciz	"letter"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_store                 ; -- Begin function memcache_store
	.p2align	2
_memcache_store:                        ; @memcache_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x6
	mov	x21, x3
	mov	x22, x2
	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, x22
	mov	x3, x21
	mov	x4, x19
	bl	_fprintf
LBB0_2:
	add	w8, w19, #1
Lloh8:
	adrp	x9, _MAX_VALUE_LEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAX_VALUE_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x23, _set@GOTPAGE
Lloh12:
	ldr	x23, [x23, _set@GOTPAGEOFF]
	cmp	w8, w9
	b.ge	LBB0_20
; %bb.3:
	add	x2, sp, #56
	add	x3, sp, #52
	mov	x0, x22
	mov	x1, x21
	bl	_eat_at
	ldr	w8, [sp, #52]
	cmp	w8, #15
	b.lt	LBB0_13
; %bb.4:
	ldr	x0, [sp, #56]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #15
	bl	_strncmp
	cbnz	w0, LBB0_12
; %bb.5:
	str	wzr, [sp, #36]
	ldr	x8, [sp, #56]
	add	x0, x8, #15
	add	x8, sp, #36
	str	x8, [sp, #16]
	add	x8, sp, #48
	add	x9, sp, #40
	stp	x9, x8, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sscanf
	cmp	w0, #2
	b.lt	LBB0_10
; %bb.6:
	ldr	w8, [sp, #48]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:
Lloh17:
	adrp	x9, _MAX_PRIORITY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MAX_PRIORITY@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.8:
	ldr	w8, [sp, #36]
	tbnz	w8, #31, LBB0_10
; %bb.9:
Lloh20:
	adrp	x9, _MAX_DELAY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MAX_DELAY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_11
LBB0_10:
	ldr	w0, [x23]
	mov	w1, #-2
	bl	_RETURN
LBB0_11:
Lloh23:
	adrp	x21, _buf@GOTPAGE
Lloh24:
	ldr	x21, [x21, _buf@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_safe_read_in
	ldr	x3, [x21]
	str	xzr, [x3, w19, sxtw #3]
	ldr	x0, [sp, #40]
	ldr	w1, [sp, #48]
	ldr	w2, [sp, #36]
	bl	_add_letter_priority
	mov	x1, x0
	ldr	w0, [x23]
	bl	_RETURN
LBB0_12:
	ldr	w8, [sp, #52]
LBB0_13:
	cmp	w8, #6
	b.lt	LBB0_20
; %bb.14:
	ldr	x0, [sp, #56]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #6
	bl	_strncmp
	cbnz	w0, LBB0_20
; %bb.15:
	str	wzr, [sp, #36]
	str	xzr, [sp, #40]
	ldr	x8, [sp, #56]
	add	x0, x8, #6
	add	x8, sp, #40
	str	x8, [sp, #16]
	add	x8, sp, #36
	add	x9, sp, #48
	stp	x9, x8, [sp]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.16:
	ldr	w8, [sp, #36]
	tbnz	w8, #31, LBB0_18
; %bb.17:
Lloh29:
	adrp	x9, _MAX_DELAY@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MAX_DELAY@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_19
LBB0_18:
	ldr	w0, [x23]
	mov	w1, #-2
	bl	_RETURN
LBB0_19:
Lloh32:
	adrp	x21, _buf@GOTPAGE
Lloh33:
	ldr	x21, [x21, _buf@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_safe_read_in
	ldr	x2, [x21]
	str	xzr, [x2, w19, sxtw #3]
	ldr	w0, [sp, #36]
	ldr	x1, [sp, #40]
	bl	_add_letter
	mov	x1, x0
	ldr	w0, [x23]
	bl	_RETURN
LBB0_20:
	ldr	w0, [x23]
	mov	w1, #-2
	bl	_RETURN
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.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_store: key='%s', key_len=%d, value_len=%d, \n"

	.comm	_MAX_VALUE_LEN,4,2              ; @MAX_VALUE_LEN
l_.str.1:                               ; @.str.1
	.asciz	"letter_priority"

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

	.comm	_MAX_PRIORITY,4,2               ; @MAX_PRIORITY
	.comm	_MAX_DELAY,4,2                  ; @MAX_DELAY
	.comm	_set,4,2                        ; @set
	.comm	_buf,8,3                        ; @buf
l_.str.3:                               ; @.str.3
	.asciz	"letter"

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

.subsections_via_symbols
