	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	16(%rbp), %r14d
	callq	_free_tmp_buffers
	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	%r13, %rdx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	callq	_fprintf
LBB0_2:
	movq	_MAX_PATTERN_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%r14d, (%rax)
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_other@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
LBB0_4:
	cmpl	$7, %ebx
	jl	LBB0_18
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_18
## %bb.11:
	movl	$0, -44(%rbp)
	leaq	4(%r15), %rdi
	movq	_value_buf@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movl	%r14d, %edx
	callq	_st_safe_read_in
	leaq	7(%r13), %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_13
## %bb.12:
	movslq	-44(%rbp), %rax
	cmpb	$0, 7(%rax,%r13)
	je	LBB0_14
LBB0_13:
	movq	_set_matches@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_14:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-48(%rbp), %eax
	movl	%eax, -72(%rbp)
	movl	%r14d, -68(%rbp)
	movl	-56(%rbp), %eax
	movl	%eax, -64(%rbp)
	movl	-52(%rbp), %eax
	movl	%eax, -60(%rbp)
	movq	%r15, %rdi
	callq	_init_tmp_buffers
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_16
## %bb.15:
	movl	-48(%rbp), %esi
	movl	-56(%rbp), %ecx
	movl	-52(%rbp), %r8d
	leaq	L_.str.5(%rip), %rdi
	movl	%r14d, %edx
	movl	%esi, %r9d
	callq	_st_printf
LBB0_16:
	movl	(%r15), %edi
	leaq	-72(%rbp), %rsi
	movl	$16, %edx
	callq	_write_out
	xorl	%ecx, %ecx
	cmpl	$16, %eax
	sete	%cl
	andl	%ecx, %ebx
	movl	(%r15), %edi
	movq	(%r12), %rsi
	movl	%r14d, %edx
	callq	_write_out
	xorl	%esi, %esi
	cmpl	%r14d, %eax
	sete	%sil
	andl	%ebx, %esi
	movq	_set_matches@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_17
LBB0_6:
	movl	$0, -44(%rbp)
	addq	$4, %r15
	movq	_value_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_st_safe_read_in
	leaq	7(%r13), %rdi
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-68(%rbp), %r8
	leaq	-44(%rbp), %r9
	leaq	-72(%rbp), %rbx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r9
	pushq	%rbx
	callq	_sscanf
	addq	$16, %rsp
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.7:
	movslq	-44(%rbp), %rax
	cmpb	$0, 7(%rax,%r13)
	je	LBB0_9
LBB0_8:
	movq	_add_pattern@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_9:
	movq	_value_buf@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_strlen
	movq	_mct_add@GOTPCREL(%rip), %rcx
	xorl	%r8d, %r8d
	cmpl	%r12d, (%rcx)
	movq	(%rbx), %rcx
	setne	%r8b
	movq	-72(%rbp), %rdi
	movq	-64(%rbp), %rsi
	movl	%eax, %edx
	callq	_do_add_pattern
	movq	_add_pattern@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
LBB0_17:
	callq	_RETURN
LBB0_18:
	movq	_other@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2, %esi
	callq	_RETURN
	addq	$40, %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_PATTERN_LEN,4,2            ## @MAX_PATTERN_LEN
	.comm	_other,4,2                      ## @other
L_.str.1:                               ## @.str.1
	.asciz	"pattern"

	.comm	_value_buf,8,3                  ## @value_buf
L_.str.2:                               ## @.str.2
	.asciz	"%d,%u,%u%n,%hu%n"

	.comm	_add_pattern,4,2                ## @add_pattern
	.comm	_mct_add,4,2                    ## @mct_add
L_.str.3:                               ## @.str.3
	.asciz	"matches"

L_.str.4:                               ## @.str.4
	.asciz	"%u,%u,%u%n"

	.comm	_set_matches,4,2                ## @set_matches
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.5:                               ## @.str.5
	.asciz	"STORED: random_tag = %u, size = %d, ip = %u, uahash = %u\nexpect '$2get matches$6%u$^' command\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, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	bl	_free_tmp_buffers
Lloh3:
	adrp	x25, _verbosity@GOTPAGE
Lloh4:
	ldr	x25, [x25, _verbosity@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x23
	mov	x4, x19
	bl	_fprintf
LBB0_2:
Lloh10:
	adrp	x8, _MAX_PATTERN_LEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_PATTERN_LEN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w0, le
	bl	_unlikely
Lloh13:
	adrp	x24, _other@GOTPAGE
Lloh14:
	ldr	x24, [x24, _other@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x24]
	mov	w1, #-2
	bl	_RETURN
LBB0_4:
	cmp	w23, #7
	b.lt	LBB0_18
; %bb.5:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #7
	bl	_strncmp
	cbz	w0, LBB0_13
; %bb.6:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #7
	bl	_strncmp
	cbnz	w0, LBB0_18
; %bb.7:
	str	wzr, [sp, #36]
	add	x0, x20, #4
Lloh19:
	adrp	x22, _value_buf@GOTPAGE
Lloh20:
	ldr	x22, [x22, _value_buf@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x2, x19
	bl	_st_safe_read_in
	add	x0, x21, #7
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #32
	add	x3, sp, #28
	add	x4, sp, #24
	add	x5, sp, #36
	bl	_sscanf
Lloh23:
	adrp	x23, _set_matches@GOTPAGE
Lloh24:
	ldr	x23, [x23, _set_matches@GOTPAGEOFF]
	cmp	w0, #3
	b.ne	LBB0_9
; %bb.8:
	ldrsw	x8, [sp, #36]
	add	x8, x8, x21
	ldrb	w8, [x8, #7]
	cbz	w8, LBB0_10
LBB0_9:
	ldr	w0, [x23]
	mov	w1, #0
	bl	_RETURN
LBB0_10:
Lloh25:
	adrp	x8, _TRUE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
	ldp	w8, w9, [sp, #24]
	stp	w8, w19, [sp, #40]
	ldr	w8, [sp, #32]
	stp	w8, w9, [sp, #48]
	mov	x0, x20
	bl	_init_tmp_buffers
	ldr	w8, [x25]
	cmp	w8, #3
	b.lt	LBB0_12
; %bb.11:
	ldp	w1, w4, [sp, #24]
	ldr	w3, [sp, #32]
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x2, x19
	mov	x5, x1
	bl	_st_printf
LBB0_12:
	ldr	w0, [x20]
	add	x1, sp, #40
	mov	w2, #16
	bl	_write_out
	cmp	w0, #16
	cset	w8, eq
	and	w21, w21, w8
	ldr	w0, [x20]
	ldr	x1, [x22]
	mov	x2, x19
	bl	_write_out
	cmp	w0, w19
	cset	w8, eq
	and	w1, w21, w8
	ldr	w0, [x23]
	b	LBB0_17
LBB0_13:
	str	wzr, [sp, #36]
	add	x0, x20, #4
Lloh30:
	adrp	x20, _value_buf@GOTPAGE
Lloh31:
	ldr	x20, [x20, _value_buf@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x2, x19
	bl	_st_safe_read_in
	add	x0, x21, #7
	add	x8, sp, #40
	add	x2, x8, #12
	add	x3, x8, #8
	orr	x4, x8, #0x4
	add	x9, sp, #36
	stp	x8, x9, [sp]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x5, sp, #36
	bl	_sscanf
Lloh34:
	adrp	x19, _add_pattern@GOTPAGE
Lloh35:
	ldr	x19, [x19, _add_pattern@GOTPAGEOFF]
	cmp	w0, #3
	b.lt	LBB0_15
; %bb.14:
	ldrsw	x8, [sp, #36]
	add	x8, x8, x21
	ldrb	w8, [x8, #7]
	cbz	w8, LBB0_16
LBB0_15:
	ldr	w0, [x19]
	mov	w1, #0
	bl	_RETURN
LBB0_16:
	ldr	x0, [x20]
	bl	_strlen
	mov	x2, x0
Lloh36:
	adrp	x8, _mct_add@GOTPAGE
Lloh37:
	ldr	x8, [x8, _mct_add@GOTPAGEOFF]
	ldr	x3, [x20]
Lloh38:
	ldr	w8, [x8]
	cmp	w8, w22
	cset	w4, ne
	ldp	x0, x1, [sp, #40]
	bl	_do_add_pattern
	mov	x1, x0
	ldr	w0, [x19]
LBB0_17:
	bl	_RETURN
LBB0_18:
	ldr	w0, [x24]
	mov	w1, #-2
	bl	_RETURN
	ldr	x8, [sp, #56]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.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_PATTERN_LEN,4,2            ; @MAX_PATTERN_LEN
	.comm	_other,4,2                      ; @other
l_.str.1:                               ; @.str.1
	.asciz	"pattern"

	.comm	_value_buf,8,3                  ; @value_buf
l_.str.2:                               ; @.str.2
	.asciz	"%d,%u,%u%n,%hu%n"

	.comm	_add_pattern,4,2                ; @add_pattern
	.comm	_mct_add,4,2                    ; @mct_add
l_.str.3:                               ; @.str.3
	.asciz	"matches"

l_.str.4:                               ; @.str.4
	.asciz	"%u,%u,%u%n"

	.comm	_set_matches,4,2                ; @set_matches
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.5:                               ; @.str.5
	.asciz	"STORED: random_tag = %u, size = %d, ip = %u, uahash = %u\nexpect '$2get matches$6%u$^' command\n"

.subsections_via_symbols
