	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_req_fill_mime_attributes   ## -- Begin function h2o_req_fill_mime_attributes
	.p2align	4, 0x90
_h2o_req_fill_mime_attributes:          ## @h2o_req_fill_mime_attributes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, (%rdi)
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	addq	$8, %rdi
	movq	_H2O_TOKEN_CONTENT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_h2o_find_header
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movl	(%rdx), %edi
	cltq
	movl	(%rcx,%rax,4), %esi
	xorl	%edx, %edx
	callq	_h2o_mimemap_get_type_by_mimetype
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movq	_h2o_mime_attributes_as_is@GOTPCREL(%rip), %rax
LBB0_4:
	movq	%rax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_TOKEN_CONTENT_TYPE,4,2     ## @H2O_TOKEN_CONTENT_TYPE
	.comm	_h2o_mime_attributes_as_is,4,2  ## @h2o_mime_attributes_as_is
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_req_fill_mime_attributes   ; -- Begin function h2o_req_fill_mime_attributes
	.p2align	2
_h2o_req_fill_mime_attributes:          ; @h2o_req_fill_mime_attributes
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbnz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	add	x0, x0, #8
Lloh0:
	adrp	x8, _H2O_TOKEN_CONTENT_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_TOKEN_CONTENT_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_h2o_find_header
Lloh3:
	adrp	x20, _h2o_mime_attributes_as_is@GOTPAGE
Lloh4:
	ldr	x20, [x20, _h2o_mime_attributes_as_is@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	ldp	x9, x8, [x19, #8]
	ldr	w8, [x8]
	ldr	w1, [x9, w0, sxtw #2]
	mov	x0, x8
	mov	w2, #0
	bl	_h2o_mimemap_get_type_by_mimetype
	cmp	x0, #0
	csel	x20, x20, x0, eq
LBB0_3:
	str	x20, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_TOKEN_CONTENT_TYPE,4,2     ; @H2O_TOKEN_CONTENT_TYPE
	.comm	_h2o_mime_attributes_as_is,4,2  ; @h2o_mime_attributes_as_is
.subsections_via_symbols
