	.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	%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
	leaq	L_.str(%rip), %rdi
	callq	_hst
	leaq	-48(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_eat_at
	cmpl	$5, -52(%rbp)
	jl	LBB0_16
## %bb.1:
	movq	-48(%rbp), %rdi
	movq	_mode_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_mode@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.8:
	cmpl	$5, -52(%rbp)
	jge	LBB0_9
	jmp	LBB0_16
LBB0_2:
	movq	-48(%rbp), %rdi
	addq	$5, %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	leaq	-28(%rbp), %r8
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rax
	movslq	-28(%rbp), %rcx
	cmpb	$0, 5(%rcx,%rax)
	je	LBB0_4
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$11, %edx
LBB0_7:
	callq	_write_out
	movq	_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
	cmpl	$5, -52(%rbp)
	jl	LBB0_16
LBB0_9:
	movq	-48(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:
	movq	-48(%rbp), %rdi
	addq	$5, %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	leaq	-28(%rbp), %r8
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_14
## %bb.11:
	movq	-48(%rbp), %rax
	movslq	-28(%rbp), %rcx
	cmpb	$0, 5(%rcx,%rax)
	je	LBB0_12
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$11, %edx
LBB0_15:
	callq	_write_out
	movq	_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
LBB0_16:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$11, %edx
	callq	_write_out
	movq	_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_RETURN
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	-36(%rbp), %edi
	movl	-32(%rbp), %esi
	callq	_do_delete_photo
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$9, %edx
	jmp	LBB0_7
LBB0_12:
	movl	-36(%rbp), %edi
	movl	-32(%rbp), %esi
	callq	_do_delete_album
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$9, %edx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_INIT,4,2                       ## @INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"memcache_delete: key='%s'\n"

	.comm	_mode_names,8,3                 ## @mode_names
	.comm	_mode,8,3                       ## @mode
L_.str.1:                               ## @.str.1
	.asciz	"%d,%d%n"

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

L_.str.3:                               ## @.str.3
	.asciz	"NOT_FOUND\r\n"

	.comm	_delete,4,2                     ## @delete
L_.str.4:                               ## @.str.4
	.asciz	"album"

.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, #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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hst
	add	x2, sp, #24
	add	x3, sp, #20
	mov	x0, x21
	mov	x1, x20
	bl	_eat_at
	ldr	w8, [sp, #20]
Lloh2:
	adrp	x20, _delete@GOTPAGE
Lloh3:
	ldr	x20, [x20, _delete@GOTPAGEOFF]
	cmp	w8, #5
	b.lt	LBB0_12
; %bb.1:
	ldr	x0, [sp, #24]
Lloh4:
	adrp	x8, _mode_names@GOTPAGE
Lloh5:
	ldr	x8, [x8, _mode_names@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _mode@GOTPAGE
Lloh8:
	ldr	x9, [x9, _mode@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x1, [x8, x9, lsl #3]
	mov	w2, #5
	bl	_strncmp
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [sp, #24]
	add	x0, x8, #5
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [sp, #24]
	ldrsw	x9, [sp, #8]
	add	x8, x9, x8
	ldrb	w8, [x8, #5]
	cbz	w8, LBB0_13
LBB0_4:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #11
LBB0_5:
	bl	_write_out
	ldr	w0, [x20]
	mov	w1, #0
	bl	_RETURN
LBB0_6:
	ldr	w8, [sp, #20]
	cmp	w8, #5
	b.lt	LBB0_12
; %bb.7:
	ldr	x0, [sp, #24]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbnz	w0, LBB0_12
; %bb.8:
	ldr	x8, [sp, #24]
	add	x0, x8, #5
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #12
	add	x4, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [sp, #24]
	ldrsw	x9, [sp, #8]
	add	x8, x9, x8
	ldrb	w8, [x8, #5]
	cbz	w8, LBB0_15
LBB0_10:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #11
LBB0_11:
	bl	_write_out
	ldr	w0, [x20]
	mov	w1, #0
	bl	_RETURN
LBB0_12:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #11
	bl	_write_out
	ldr	w0, [x20]
	mov	w1, #0
	bl	_RETURN
	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_13:
	ldp	w1, w0, [sp, #12]
	bl	_do_delete_photo
	cbz	x0, LBB0_4
; %bb.14:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #9
	b	LBB0_5
LBB0_15:
	ldp	w1, w0, [sp, #12]
	bl	_do_delete_album
	cbz	x0, LBB0_10
; %bb.16:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #9
	b	LBB0_11
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_INIT,4,2                       ; @INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"memcache_delete: key='%s'\n"

	.comm	_mode_names,8,3                 ; @mode_names
	.comm	_mode,8,3                       ; @mode
l_.str.1:                               ; @.str.1
	.asciz	"%d,%d%n"

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

l_.str.3:                               ; @.str.3
	.asciz	"NOT_FOUND\r\n"

	.comm	_delete,4,2                     ; @delete
l_.str.4:                               ; @.str.4
	.asciz	"album"

.subsections_via_symbols
