	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_extension_type
_create_extension_type:                 ## @create_extension_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_strlen
	leaq	33(%rax), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_h2o_mem_alloc_shared
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_H2O_MIMEMAP_TYPE_MIMETYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	leaq	32(%r12), %rax
	movq	%rax, 8(%r12)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%rbx), %eax
	testb	%al, %al
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$59, %al
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%al, %edi
	callq	_h2o_tolower
	movq	8(%r12), %rcx
	movb	%al, (%rcx,%rbx)
	incq	%rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movb	%al, (%rcx,%rbx)
	movzbl	1(%r15,%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_4
LBB0_5:
	movq	8(%r12), %rax
	movb	$0, (%rax,%rbx)
	movq	%rbx, 16(%r12)
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movl	(%r14), %eax
	movl	%eax, (%r12)
	jmp	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_h2o_mimemap_get_default_attributes
LBB0_8:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_MIMEMAP_TYPE_MIMETYPE,4,2  ## @H2O_MIMEMAP_TYPE_MIMETYPE
	.no_dead_strip	_create_extension_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_extension_type
_create_extension_type:                 ; @create_extension_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x19, x0
	bl	_strlen
	add	x1, x0, #33
	mov	x0, #0
	mov	x2, #0
	bl	_h2o_mem_alloc_shared
	mov	x21, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x22, #0
Lloh0:
	adrp	x8, _H2O_MIMEMAP_TYPE_MIMETYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_MIMEMAP_TYPE_MIMETYPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	add	x8, x21, #32
	str	x8, [x21, #8]
	ldrb	w8, [x19, x22]
	cbz	w8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #59
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sxtb	w0, w8
	bl	_h2o_tolower
	ldr	x8, [x21, #8]
	strb	w0, [x8, x22]
	add	x22, x22, #1
	ldrb	w8, [x19, x22]
	cbnz	w8, LBB0_1
LBB0_3:
	mov	x10, x22
	b	LBB0_6
LBB0_4:
	add	x9, x19, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x21, #8]
	strb	w8, [x10, x22]
	add	x10, x22, #1
	ldrb	w8, [x9, x22]
	mov	x22, x10
	cbnz	w8, LBB0_5
LBB0_6:
	ldr	x8, [x21, #8]
	strb	wzr, [x8, x10]
	str	x10, [x21, #16]
	cbz	x20, LBB0_8
; %bb.7:
	ldr	w8, [x20]
	str	w8, [x21]
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_h2o_mimemap_get_default_attributes
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_MIMEMAP_TYPE_MIMETYPE,4,2  ; @H2O_MIMEMAP_TYPE_MIMETYPE
	.no_dead_strip	_create_extension_type
.subsections_via_symbols
