	.file	"extr_mimemap.c_h2o_mimemap_define_mimetype.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	h2o_mimemap_define_mimetype
	.type	h2o_mimemap_define_mimetype, @function
h2o_mimemap_define_mimetype:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	call	strlen@PLT
	mov	rdi, r12
	mov	esi, eax
	call	h2o_iovec_init@PLT
	mov	edx, 1
	mov	rdi, r13
	mov	esi, eax
	call	h2o_mimemap_get_type_by_mimetype@PLT
	test	rax, rax
	je	.L2
	mov	rbp, rax
	test	r15, r15
	je	.L5
	mov	edx, 4
	mov	rsi, r15
	mov	rdi, rax
	call	memcmp@PLT
	test	rax, rax
	jne	.L2
.L5:
	mov	rdi, rbp
	call	h2o_mem_addref_shared@PLT
.L4:
	mov	rdi, r13
	mov	rdx, rbp
	mov	rsi, r14
	call	set_type@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	h2o_mem_release_shared@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, r15
	mov	rdi, r12
	call	create_extension_type@PLT
	mov	rbp, rax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	h2o_mimemap_define_mimetype, .-h2o_mimemap_define_mimetype
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mimemap.c_h2o_mimemap_define_mimetype.c"
	.text
	.align	2
	.global	h2o_mimemap_define_mimetype
	.syntax unified
	.arm
	.fpu softvfp
	.type	h2o_mimemap_define_mimetype, %function
h2o_mimemap_define_mimetype:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r0, r2
	mov	r5, r2
	mov	r6, r3
	mov	r8, r1
	bl	strlen
	mov	r1, r0
	mov	r0, r5
	bl	h2o_iovec_init
	mov	r2, #1
	mov	r1, r0
	mov	r0, r7
	bl	h2o_mimemap_get_type_by_mimetype
	subs	r4, r0, #0
	beq	.L2
	cmp	r6, #0
	beq	.L3
	mov	r2, #4
	mov	r1, r6
	bl	memcmp
	cmp	r0, #0
	beq	.L3
.L2:
	mov	r1, r6
	mov	r0, r5
	bl	create_extension_type
	mov	r4, r0
.L4:
	mov	r1, r8
	mov	r0, r7
	mov	r2, r4
	bl	set_type
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	h2o_mem_release_shared
.L3:
	mov	r0, r4
	bl	h2o_mem_addref_shared
	b	.L4
	.size	h2o_mimemap_define_mimetype, .-h2o_mimemap_define_mimetype
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
