	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_mimemap_remove_type        ## -- Begin function h2o_mimemap_remove_type
	.p2align	4, 0x90
_h2o_mimemap_remove_type:               ## @h2o_mimemap_remove_type
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	_extmap@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%rbx), %esi
	callq	_kh_get
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_kh_end
	cmpq	%rax, %r14
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_kh_key
	movq	%rax, %r15
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_kh_val
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_on_unlink
	movq	%r12, %rdi
	callq	_h2o_mem_release_shared
	movl	(%r13), %edi
	movl	(%rbx), %esi
	movq	%r14, %rdx
	callq	_kh_del
	movq	%r15, %rdi
	callq	_h2o_mem_release_shared
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rebuild_typeset                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_extmap,4,2                     ## @extmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_mimemap_remove_type        ; -- Begin function h2o_mimemap_remove_type
	.p2align	2
_h2o_mimemap_remove_type:               ; @h2o_mimemap_remove_type
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _extmap@GOTPAGE
Lloh1:
	ldr	x23, [x23, _extmap@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x19]
	bl	_kh_get
	mov	x20, x0
	ldr	w0, [x19]
	bl	_kh_end
	cmp	x20, x0
	b.ne	LBB0_2
; %bb.1:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x19]
	mov	x1, x20
	bl	_kh_key
	mov	x21, x0
	ldr	w0, [x19]
	mov	x1, x20
	bl	_kh_val
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_on_unlink
	mov	x0, x22
	bl	_h2o_mem_release_shared
	ldr	w0, [x23]
	ldr	w1, [x19]
	mov	x2, x20
	bl	_kh_del
	mov	x0, x21
	bl	_h2o_mem_release_shared
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rebuild_typeset
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_extmap,4,2                     ; @extmap
.subsections_via_symbols
