	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_basic
_test_basic:                            ## @test_basic
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_h2o_mimemap_create
	movq	%rax, %r14
	movq	_test_default_attributes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_subtest
	movq	%r14, %rdi
	callq	_h2o_mimemap_get_default_type
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	leaq	L_.str.2(%rip), %r15
	leaq	-59(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_h2o_mimemap_set_default_type
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$11, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_h2o_mimemap_get_default_type
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.4(%rip), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_h2o_mimemap_define_mimetype
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	leaq	L_.str.5(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_h2o_mimemap_get_type_by_mimetype
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_ok
	leaq	L_.str.6(%rip), %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_h2o_mimemap_define_mimetype
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_h2o_mimemap_get_type_by_mimetype
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_ok
	movq	%r13, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_h2o_mimemap_get_type_by_mimetype
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	callq	_h2o_mimemap_clone
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_h2o_mimemap_get_default_type
	movq	%rax, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_h2o_mimemap_get_type_by_mimetype
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_ok
	movq	%r13, %rdi
	callq	_h2o_mem_release_shared
	movq	%r14, %rdi
	callq	_h2o_mimemap_get_default_type
	movq	%rax, %rdi
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_h2o_mimemap_remove_type
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_h2o_mimemap_get_type_by_mimetype
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_h2o_mimemap_remove_type
	movq	%r15, %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_is_mimetype
	movl	%eax, %edi
	callq	_ok
	movq	%r14, %rdi
	callq	_h2o_mem_release_shared
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default-attributes"

	.comm	_test_default_attributes,4,2    ## @test_default_attributes
L_.str.1:                               ## @.str.1
	.asciz	"application/octet-stream"

L_.str.2:                               ## @.str.2
	.asciz	"text/plain"

L_.str.3:                               ## @.str.3
	.asciz	"foo"

L_.str.4:                               ## @.str.4
	.asciz	"example/foo"

L_.str.5:                               ## @.str.5
	.asciz	"FOO"

L_.str.6:                               ## @.str.6
	.asciz	"example/overwritten"

	.no_dead_strip	_test_basic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_basic
_test_basic:                            ; @test_basic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_h2o_mimemap_create
	mov	x19, x0
Lloh3:
	adrp	x8, _test_default_attributes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _test_default_attributes@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_subtest
	mov	x0, x19
	bl	_h2o_mimemap_get_default_type
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_is_mimetype
	bl	_ok
Lloh10:
	adrp	x20, l_.str.2@PAGE
Lloh11:
	add	x20, x20, l_.str.2@PAGEOFF
	add	x0, sp, #13
	mov	x1, x20
	bl	_strcpy
	add	x1, sp, #13
	mov	x0, x19
	mov	x2, #0
	bl	_h2o_mimemap_set_default_type
	add	x0, sp, #13
	mov	w1, #0
	mov	w2, #11
	bl	_memset
	mov	x0, x19
	bl	_h2o_mimemap_get_default_type
	mov	x1, x20
	bl	_is_mimetype
	bl	_ok
Lloh12:
	adrp	x21, l_.str.3@PAGE
Lloh13:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh14:
	adrp	x23, l_.str.4@PAGE
Lloh15:
	add	x23, x23, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, #0
	bl	_h2o_mimemap_define_mimetype
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x1, x23
	bl	_is_mimetype
	bl	_ok
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x1, x23
	bl	_is_mimetype
	bl	_ok
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x22, x0
	mov	x0, x23
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_h2o_mimemap_get_type_by_mimetype
	cmp	x22, x0
	cset	w0, eq
	bl	_ok
Lloh18:
	adrp	x22, l_.str.6@PAGE
Lloh19:
	add	x22, x22, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, #0
	bl	_h2o_mimemap_define_mimetype
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x1, x22
	bl	_is_mimetype
	bl	_ok
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x24, x0
	mov	x0, x22
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_h2o_mimemap_get_type_by_mimetype
	cmp	x24, x0
	cset	w0, eq
	bl	_ok
	mov	x0, x23
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_h2o_mimemap_get_type_by_mimetype
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	mov	x0, x19
	bl	_h2o_mimemap_clone
	mov	x23, x0
	bl	_h2o_mimemap_get_default_type
	mov	x1, x20
	bl	_is_mimetype
	bl	_ok
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x23
	bl	_h2o_mimemap_get_type_by_extension
	mov	x1, x22
	bl	_is_mimetype
	bl	_ok
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x24, x0
	mov	x0, x22
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_h2o_mimemap_get_type_by_mimetype
	cmp	x24, x0
	cset	w0, eq
	bl	_ok
	mov	x0, x23
	bl	_h2o_mem_release_shared
	mov	x0, x19
	bl	_h2o_mimemap_get_default_type
	mov	x1, x20
	bl	_is_mimetype
	bl	_ok
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x1, x22
	bl	_is_mimetype
	bl	_ok
	mov	x0, x19
	mov	x1, x21
	bl	_h2o_mimemap_remove_type
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x1, x20
	bl	_is_mimetype
	bl	_ok
	mov	x0, x22
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_h2o_mimemap_get_type_by_mimetype
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	mov	x0, x19
	mov	x1, x21
	bl	_h2o_mimemap_remove_type
	mov	x0, x21
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x19
	bl	_h2o_mimemap_get_type_by_extension
	mov	x1, x20
	bl	_is_mimetype
	bl	_ok
	mov	x0, x19
	bl	_h2o_mem_release_shared
	ldr	x8, [sp, #24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default-attributes"

	.comm	_test_default_attributes,4,2    ; @test_default_attributes
l_.str.1:                               ; @.str.1
	.asciz	"application/octet-stream"

l_.str.2:                               ; @.str.2
	.asciz	"text/plain"

l_.str.3:                               ; @.str.3
	.asciz	"foo"

l_.str.4:                               ; @.str.4
	.asciz	"example/foo"

l_.str.5:                               ; @.str.5
	.asciz	"FOO"

l_.str.6:                               ; @.str.6
	.asciz	"example/overwritten"

	.no_dead_strip	_test_basic
.subsections_via_symbols
