	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_req_setup                  ## -- Begin function h2o_req_setup
	.p2align	4, 0x90
_h2o_req_setup:                         ## @h2o_req_setup
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	96(%rdi), %rax
	movq	8(%rax), %rdi
	leaq	52(%rbx), %r14
	movq	%r14, %rsi
	callq	_h2o_get_timestamp
	movl	%eax, 104(%rbx)
	movq	24(%rbx), %rsi
	movq	96(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.2:
	movq	40(%rbx), %rax
	movl	(%rax), %edx
	callq	_find_hostconf
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	96(%rbx), %rax
	movq	(%rax), %rdi
LBB0_4:
	movq	(%rdi), %r15
	jmp	LBB0_6
LBB0_5:
	movq	(%rdi), %r15
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
LBB0_6:
	movq	40(%rbx), %rax
	movq	%rax, 88(%rbx)
	movl	32(%rbx), %eax
	movl	%eax, 80(%rbx)
	movq	12(%rbx), %rdx
	movq	24(%rbx), %rax
	movq	%rax, 72(%rbx)
	movq	%rdx, 60(%rbx)
	movq	%rdx, %rsi
	shrq	$32, %rsi
	leaq	48(%rbx), %r8
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rbx, %rcx
	callq	_h2o_url_normalize_path
	movl	%eax, 56(%rbx)
	movl	(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_req_setup                  ; -- Begin function h2o_req_setup
	.p2align	2
_h2o_req_setup:                         ; @h2o_req_setup
	.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	x19, x0
	ldr	x8, [x0, #96]
	ldr	x0, [x8, #8]
	add	x20, x19, #52
	mov	x1, x20
	bl	_h2o_get_timestamp
	str	w0, [x19, #104]
	ldr	x1, [x19, #24]
	ldr	x8, [x19, #96]
	ldr	x0, [x8]
	cbz	x1, LBB0_5
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x19, #40]
	ldr	w2, [x8]
	bl	_find_hostconf
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	x8, [x19, #96]
	ldr	x0, [x8]
LBB0_4:
	ldr	x21, [x0]
	b	LBB0_6
LBB0_5:
	ldr	x21, [x0]
	ldr	x8, [x21]
	str	x8, [x19, #24]
LBB0_6:
	ldr	x8, [x19, #40]
	str	x8, [x19, #88]
	ldr	w8, [x19, #32]
	str	w8, [x19, #80]
	ldr	x8, [x19, #24]
	str	x8, [x19, #72]
	ldur	x2, [x19, #12]
	stur	x2, [x19, #60]
	lsr	x1, x2, #32
	add	x4, x19, #48
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x19
	bl	_h2o_url_normalize_path
	str	w0, [x19, #56]
	ldr	w8, [x19]
	str	w8, [x19, #8]
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
