	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_delete                ## -- Begin function memcache_delete
	.p2align	4, 0x90
_memcache_delete:                       ## @memcache_delete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	cmpl	$7, %edx
	jl	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_2
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$11, %edx
	callq	_write_out
	movq	_del_pattern@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	leaq	7(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	movslq	-20(%rbp), %rax
	cmpb	$0, 7(%rax,%rbx)
	jne	LBB0_6
## %bb.4:
	movl	-24(%rbp), %edi
	callq	_do_del_pattern
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$9, %edx
	callq	_write_out
	movq	_del_pattern@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT,4,2                       ## @INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pattern"

L_.str.1:                               ## @.str.1
	.asciz	"%d%n"

L_.str.2:                               ## @.str.2
	.asciz	"DELETED\r\n"

	.comm	_del_pattern,4,2                ## @del_pattern
L_.str.3:                               ## @.str.3
	.asciz	"NOT_FOUND\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcache_delete                ; -- Begin function memcache_delete
	.p2align	2
_memcache_delete:                       ; @memcache_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x21, _del_pattern@GOTPAGE
Lloh1:
	ldr	x21, [x21, _del_pattern@GOTPAGEOFF]
	cmp	w2, #7
	b.lt	LBB0_2
; %bb.1:
	mov	x20, x1
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #7
	bl	_strncmp
	cbz	w0, LBB0_3
LBB0_2:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #11
	bl	_write_out
	ldr	w0, [x21]
	mov	w1, #0
	bl	_RETURN
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	str	xzr, [sp, #8]
	add	x0, x20, #7
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.4:
	ldrsw	x8, [sp, #8]
	add	x8, x8, x20
	ldrb	w8, [x8, #7]
	cbnz	w8, LBB0_2
; %bb.5:
	ldr	w0, [sp, #12]
	bl	_do_del_pattern
	cbz	x0, LBB0_2
; %bb.6:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #9
	bl	_write_out
	ldr	w0, [x21]
	mov	w1, #0
	bl	_RETURN
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT,4,2                       ; @INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pattern"

l_.str.1:                               ; @.str.1
	.asciz	"%d%n"

l_.str.2:                               ; @.str.2
	.asciz	"DELETED\r\n"

	.comm	_del_pattern,4,2                ; @del_pattern
l_.str.3:                               ; @.str.3
	.asciz	"NOT_FOUND\r\n"

.subsections_via_symbols
