	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_cache_delete               ## -- Begin function h2o_cache_delete
	.p2align	4, 0x90
_h2o_cache_delete:                      ## @h2o_cache_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	%rdx, %rbx
	shrq	$32, %rbx
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_h2o_cache_calchash
	movq	%rax, %rcx
LBB0_2:
	movl	%r15d, -40(%rbp)
	movl	%ebx, -36(%rbp)
	movq	%rcx, -48(%rbp)
	movq	%r12, %rdi
	callq	_lock_cache
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_purge
	movl	(%r12), %esi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_kh_get
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_kh_end
	cmpl	%eax, %ebx
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_erase_ref
LBB0_4:
	movq	%r12, %rdi
	callq	_unlock_cache
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_cache_delete               ; -- Begin function h2o_cache_delete
	.p2align	2
_h2o_cache_delete:                      ; @h2o_cache_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	x21, x2
	mov	x20, x1
	mov	x19, x0
	lsr	x22, x2, #32
	cbnz	x3, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	bl	_h2o_cache_calchash
	mov	x3, x0
LBB0_2:
	stp	w21, w22, [sp, #8]
	str	x3, [sp]
	mov	x0, x19
	bl	_lock_cache
	mov	x0, x19
	mov	x1, x20
	bl	_purge
	ldr	w1, [x19]
	mov	x2, sp
	mov	x0, x19
	bl	_kh_get
	mov	x20, x0
	ldr	w0, [x19]
	bl	_kh_end
	cmp	w20, w0
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_erase_ref
LBB0_4:
	mov	x0, x19
	bl	_unlock_cache
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
