	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -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), %r13
	cmpl	$2, (%r13)
	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
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	leal	1(%r15), %eax
	movq	_MAX_VALUE_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_22
## %bb.3:
	leaq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_eat_at
	cmpl	$12, -44(%rbp)
	jl	LBB0_22
## %bb.4:
	movq	-56(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$12, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movq	-56(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	je	LBB0_7
## %bb.6:
	movq	_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
LBB0_7:
	cmpl	$2, (%r13)
	jl	LBB0_9
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	movq	%r14, %rdi
	callq	_BYS_MSG
	movl	-48(%rbp), %edx
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_msg_reinit
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	movq	_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
LBB0_11:
	movq	%r14, %rdi
	callq	_BYS_MSG
	movl	%eax, %edi
	callq	_msg_get_buf
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_safe_read_in
	movq	_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_RETURN
LBB0_12:
	cmpl	$14, -44(%rbp)
	jl	LBB0_22
## %bb.13:
	movq	-56(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$14, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	_buf@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_safe_read_in
	movq	(%rbx), %rax
	movslq	%r15d, %rcx
	movb	$0, (%rax,%rcx)
	cmpl	$2, (%r13)
	jl	LBB0_16
## %bb.15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_16:
	movq	(%rbx), %rdi
	callq	_do_black_list_add
	movq	_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_RETURN
LBB0_17:
	cmpl	$17, -44(%rbp)
	jl	LBB0_22
## %bb.18:
	movq	-56(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$17, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_22
## %bb.19:
	movq	_buf@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_safe_read_in
	movq	(%rbx), %rax
	movslq	%r15d, %rcx
	movb	$0, (%rax,%rcx)
	cmpl	$2, (%r13)
	jl	LBB0_21
## %bb.20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_21:
	movq	(%rbx), %rdi
	callq	_do_black_list_delete
	movq	_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_RETURN
LBB0_22:
	movq	_set@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"current_text"

L_.str.2:                               ## @.str.2
	.asciz	"current_text%d"

	.comm	_set,4,2                        ## @set
L_.str.3:                               ## @.str.3
	.asciz	"current_text %d\n"

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

	.comm	_buf,8,3                        ## @buf
L_.str.5:                               ## @.str.5
	.asciz	"add_black_list %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"delete_black_list"

L_.str.7:                               ## @.str.7
	.asciz	"delete_black_list %s\n"

.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, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, _verbosity@GOTPAGE
Lloh1:
	ldr	x24, [x24, _verbosity@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	stp	x21, x19, [sp, #8]
	str	x22, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	add	w8, w19, #1
Lloh7:
	adrp	x9, _MAX_VALUE_LEN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MAX_VALUE_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x23, _set@GOTPAGE
Lloh11:
	ldr	x23, [x23, _set@GOTPAGEOFF]
	cmp	w8, w9
	b.ge	LBB0_22
; %bb.3:
	add	x2, sp, #40
	add	x3, sp, #36
	mov	x0, x22
	mov	x1, x21
	bl	_eat_at
	ldr	w8, [sp, #36]
	cmp	w8, #12
	b.lt	LBB0_22
; %bb.4:
	ldr	x0, [sp, #40]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #12
	bl	_strncmp
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	x0, [sp, #40]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #32
	bl	_sscanf
	cmp	w0, #1
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x23]
	mov	w1, #-2
	bl	_RETURN
LBB0_7:
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.8:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w8, [sp, #32]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_9:
	mov	x0, x20
	bl	_BYS_MSG
	ldr	w2, [sp, #32]
	mov	x1, x19
	bl	_msg_reinit
	tbz	x0, #63, LBB0_11
; %bb.10:
	ldr	w0, [x23]
	mov	w1, #-2
	bl	_RETURN
LBB0_11:
	mov	x0, x20
	bl	_BYS_MSG
	bl	_msg_get_buf
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_safe_read_in
	ldr	w0, [x23]
	mov	w1, #1
	bl	_RETURN
LBB0_12:
	ldr	w8, [sp, #36]
	cmp	w8, #14
	b.lt	LBB0_22
; %bb.13:
	ldr	x0, [sp, #40]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #14
	bl	_strncmp
	cbnz	w0, LBB0_17
; %bb.14:
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	x8, [x21]
	strb	wzr, [x8, w19, sxtw]
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.15:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
LBB0_16:
	ldr	x0, [x21]
	bl	_do_black_list_add
	mov	x1, x0
	ldr	w0, [x23]
	bl	_RETURN
LBB0_17:
	ldr	w8, [sp, #36]
	cmp	w8, #17
	b.lt	LBB0_22
; %bb.18:
	ldr	x0, [sp, #40]
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #17
	bl	_strncmp
	cbnz	w0, LBB0_22
; %bb.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	x8, [x21]
	strb	wzr, [x8, w19, sxtw]
	ldr	w8, [x24]
	cmp	w8, #2
	b.lt	LBB0_21
; %bb.20:
Lloh34:
	adrp	x8, _stderr@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
LBB0_21:
	ldr	x0, [x21]
	bl	_do_black_list_delete
	mov	x1, x0
	ldr	w0, [x23]
	bl	_RETURN
LBB0_22:
	ldr	w0, [x23]
	mov	w1, #-2
	bl	_RETURN
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.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	"current_text"

l_.str.2:                               ; @.str.2
	.asciz	"current_text%d"

	.comm	_set,4,2                        ; @set
l_.str.3:                               ; @.str.3
	.asciz	"current_text %d\n"

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

	.comm	_buf,8,3                        ; @buf
l_.str.5:                               ; @.str.5
	.asciz	"add_black_list %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"delete_black_list"

l_.str.7:                               ; @.str.7
	.asciz	"delete_black_list %s\n"

.subsections_via_symbols
