	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_req
_on_req:                                ## @on_req
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	32(%rsi), %rax
	movq	40(%rdi), %r15
	subq	%r15, %rax
	jae	LBB0_4
## %bb.1:
	leaq	24(%r13), %r12
	movq	48(%rbx), %rsi
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_h2o_uri_escape
	movq	%rax, %r14
	movq	%rdx, %rbx
	movq	(%r13), %rax
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r13), %rdi
	addq	%rax, %rdi
	movq	16(%r13), %rsi
	subq	%rax, %rsi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	%rdx, %r8
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_h2o_concat
	movq	%rax, %r14
	movq	%rdx, %rbx
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	$301, %esi                      ## imm = 0x12D
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_h2o_send_redirect
LBB0_39:
	xorl	%ebx, %ebx
	jmp	LBB0_40
LBB0_4:
	movq	(%rbx), %rcx
	addq	24(%rbx), %rax
	leaq	(%rcx,%rax), %rdi
	incq	%rdi
	callq	_alloca
	movq	%rax, %r12
	movq	24(%rbx), %rdx
	movq	32(%rbx), %rsi
	movq	%rax, %rdi
	callq	_memcpy
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rax), %rdi
	leaq	(,%r15,4), %rsi
	addq	40(%r13), %rsi
	movq	32(%r13), %rdx
	subq	%r15, %rdx
	callq	_memcpy
	movq	%r13, %r14
	movq	32(%r13), %r13
	subq	%r15, %r13
	movq	%r12, %rbx
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movq	%r14, %rdi
	callq	_h2o_resp_add_date_header
	cmpb	$47, -1(%r12,%r13)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_11
## %bb.5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r14
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.6:
	movq	%rbx, %rax
	addq	%r13, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	$8, %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r14), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_memcpy
	movq	-8(%r14), %rax
	addq	%r13, %rax
	movb	$0, (%rbx,%rax)
	movq	-8(%r14), %rdx
	movq	%r13, %r12
	addq	%r13, %rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %r15
	movq	%rbx, %rsi
	leaq	-60(%rbp), %rcx
	callq	_create_generator
	testq	%rax, %rax
	jne	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, -60(%rbp)
	jne	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rsi
	addq	$16, %r14
	testq	%rsi, %rsi
	movq	%r15, %rbx
	movq	%r12, %r13
	jne	LBB0_7
	jmp	LBB0_24
LBB0_11:
	movq	32(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	40(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movb	$0, (%rbx,%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r8d
	leaq	-60(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %r15
	movq	%rbx, %rsi
	movq	%r13, %r12
	movq	%r13, %rdx
	callq	_create_generator
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	jmp	LBB0_18
LBB0_13:
	cmpl	$0, -60(%rbp)
	movq	%r15, %rbx
	movq	%r12, %r13
	je	LBB0_28
## %bb.14:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	leaq	24(%r13), %r15
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	%rdx, %r8
	movq	32(%r13), %rsi
	movq	40(%r13), %rdx
	movq	%r15, %rdi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_h2o_concat
	movq	%r15, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	movq	%r14, %rcx
	callq	_h2o_uri_escape
	movq	%rax, %r14
	movq	%rdx, %r12
	movq	(%r13), %rax
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	movq	8(%r13), %rdi
	addq	%rax, %rdi
	movq	16(%r13), %rsi
	subq	%rax, %rsi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	%rdx, %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_h2o_concat
	movq	%rax, %r14
	movq	%rdx, %r12
LBB0_16:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_22
LBB0_17:
	movq	%rax, %rbx
	movq	-8(%r14), %rcx
	movq	(%r14), %r8
	addq	%rcx, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	24(%rax), %rdi
	movq	32(%rax), %rsi
	movq	40(%rax), %rdx
	xorl	%eax, %eax
	callq	_h2o_concat
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
LBB0_18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_h2o_get_filext
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_h2o_mimemap_get_type_by_extension
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_serve_with_generator
	movl	%eax, %ebx
	jmp	LBB0_40
LBB0_19:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	leaq	24(%r13), %r15
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	%rax, -96(%rbp)
	movq	%rdx, -88(%rbp)
	movq	32(%r13), %rsi
	movq	40(%r13), %rdx
	movq	-8(%r14), %rcx
	movq	(%r14), %r8
	movups	-96(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_h2o_concat
	movq	%r15, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	movq	%r12, %rcx
	callq	_h2o_uri_escape
	movq	%rax, %r14
	movq	%rdx, %r12
	movq	(%r13), %rax
	movq	_SIZE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.20:
	movq	8(%r13), %rdi
	addq	%rax, %rdi
	movq	16(%r13), %rsi
	subq	%rax, %rsi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	%rdx, %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_h2o_concat
	movq	%rax, %r14
	movq	%rdx, %r12
LBB0_21:
	leaq	L_.str.2(%rip), %rdx
LBB0_22:
	movq	%r13, %rdi
	movl	$301, %esi                      ## imm = 0x12D
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_h2o_send_redirect
	jmp	LBB0_40
LBB0_23:
	cmpq	$0, (%r14)
	movq	%r15, %rbx
	movq	%r12, %r13
	jne	LBB0_28
LBB0_24:
	movq	_H2O_FILE_FLAG_DIR_LISTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_28
## %bb.25:
	movb	$0, (%rbx,%r13)
	movq	%rbx, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	48(%rbx), %r14d
	movq	%r13, %r12
	movl	52(%rbx), %r13d
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:
	movl	48(%rbx), %r14d
	movl	52(%rbx), %r13d
	leaq	L_.str.4(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_h2o_memis
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_38
LBB0_27:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_send_dir_listing
	testq	%rax, %rax
	movq	%r15, %rbx
	movq	%r12, %r13
	je	LBB0_39
LBB0_28:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_ENFILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_35
## %bb.29:
	movq	_EMFILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_35
## %bb.30:
	movq	%rbx, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	12(%rbx), %edi
	callq	_h2o_mimemap_has_dynamic_type
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_try_dynamic_request
	testq	%rax, %rax
	je	LBB0_39
LBB0_32:
	movq	(%r14), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movl	$-1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_40
## %bb.33:
	movq	_ENOTDIR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_40
## %bb.34:
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_h2o_send_error_403
	jmp	LBB0_40
LBB0_35:
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_h2o_send_error_503
LBB0_40:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	movq	%rbx, %rdi
	callq	_send_method_not_allowed
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
L_.str.1:                               ## @.str.1
	.asciz	"Moved Permanently"

L_.str.2:                               ## @.str.2
	.asciz	"Moved Permantently"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_H2O_FILE_FLAG_DIR_LISTING,4,2  ## @H2O_FILE_FLAG_DIR_LISTING
L_.str.3:                               ## @.str.3
	.asciz	"GET"

L_.str.4:                               ## @.str.4
	.asciz	"HEAD"

	.comm	_ENFILE,8,3                     ## @ENFILE
	.comm	_EMFILE,8,3                     ## @EMFILE
L_.str.5:                               ## @.str.5
	.asciz	"Service Unavailable"

L_.str.6:                               ## @.str.6
	.asciz	"please try again later"

	.comm	_ENOTDIR,8,3                    ## @ENOTDIR
L_.str.7:                               ## @.str.7
	.asciz	"Access Forbidden"

L_.str.8:                               ## @.str.8
	.asciz	"access forbidden"

	.no_dead_strip	_on_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_req
_on_req:                                ; @on_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1, #32]
	ldr	x22, [x0, #40]
	subs	x8, x8, x22
	b.hs	LBB0_6
; %bb.1:
	add	x23, x19, #24
	ldr	x1, [x21, #48]
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	bl	_h2o_uri_escape
	mov	x20, x0
	mov	x21, x1
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldp	x9, x10, [x19, #8]
	add	x0, x9, x8
	sub	x8, x10, x8
	str	x8, [sp]
	bl	_h2o_iovec_init
	mov	x3, x0
	mov	x4, x1
	mov	x0, x23
	mov	x1, x20
	mov	x2, x21
	bl	_h2o_concat
	mov	x20, x0
	mov	x21, x1
LBB0_3:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #301
	mov	x3, x21
	mov	x4, x20
LBB0_4:
	bl	_h2o_send_redirect
LBB0_5:
	mov	w0, #0
	b	LBB0_21
LBB0_6:
	ldr	x9, [x21, #24]
	ldr	x10, [x21]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x0, x8, #1
	bl	_alloca
	mov	x20, x0
	ldp	x2, x1, [x21, #24]
	bl	_memcpy
	ldr	x23, [x21, #24]
	add	x0, x20, x23
	ldp	x9, x8, [x19, #32]
	add	x1, x8, x22, lsl #2
	sub	x2, x9, x22
	bl	_memcpy
	ldr	x8, [x19, #32]
	sub	x8, x8, x22
	add	x22, x8, x23
	mov	x0, x19
	bl	_h2o_resp_add_date_header
	add	x8, x22, x20
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.ne	LBB0_13
; %bb.7:
	ldr	x8, [x21, #16]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_27
; %bb.8:
	add	x24, x20, x22
	add	x25, x8, #8
Lloh7:
	adrp	x26, _errno@GOTPAGE
Lloh8:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
Lloh9:
	adrp	x27, _ENOENT@GOTPAGE
Lloh10:
	ldr	x27, [x27, _ENOENT@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x2, [x25, #-8]
	mov	x0, x24
	bl	_memcpy
	ldur	x8, [x25, #-8]
	add	x8, x8, x22
	strb	wzr, [x20, x8]
	ldur	x8, [x25, #-8]
	add	x2, x8, x22
	ldr	w4, [x21, #8]
	add	x3, sp, #28
	mov	x0, x19
	mov	x1, x20
	bl	_create_generator
	cbnz	x0, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x1, [x25, #16]!
	cbnz	x1, LBB0_9
	b	LBB0_27
LBB0_13:
	ldp	x25, x24, [x19, #32]
	strb	wzr, [x20, x22]
	ldr	w4, [x21, #8]
	add	x3, sp, #28
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_create_generator
	cbz	x0, LBB0_15
; %bb.14:
	mov	x23, x0
	b	LBB0_20
LBB0_15:
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_33
; %bb.16:
	add	x20, x19, #24
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_h2o_iovec_init
	mov	x3, x0
	mov	x4, x1
	ldp	x1, x2, [x19, #32]
	mov	x0, x20
	bl	_h2o_concat
	mov	x2, x0
	mov	x0, x20
	mov	x3, x21
	bl	_h2o_uri_escape
	mov	x21, x0
	mov	x22, x1
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.17:
	ldp	x9, x10, [x19, #8]
	add	x0, x9, x8
	sub	x8, x10, x8
	str	x8, [sp]
	bl	_h2o_iovec_init
	mov	x3, x0
	mov	x4, x1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_h2o_concat
	mov	x21, x0
	mov	x22, x1
LBB0_18:
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_19:
	mov	x23, x0
	ldp	x3, x4, [x25, #-8]
	add	x22, x3, x22
	add	x0, x19, #24
	ldp	x1, x2, [x19, #32]
	bl	_h2o_concat
	mov	x25, x0
	mov	x24, x1
LBB0_20:
	ldr	w21, [x21, #12]
	mov	x0, x20
	mov	x1, x22
	bl	_h2o_get_filext
	mov	x1, x0
	mov	x0, x21
	bl	_h2o_mimemap_get_type_by_extension
	mov	x6, x0
	mov	x0, x23
	mov	x1, x19
	mov	x2, x25
	mov	x3, x24
	mov	x4, x20
	mov	x5, x22
	bl	_serve_with_generator
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
	add	x20, x19, #24
Lloh18:
	adrp	x21, l_.str@PAGE
Lloh19:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_h2o_iovec_init
	ldp	x8, x2, [x19, #32]
	ldp	x3, x4, [x25, #-8]
	stp	x0, x1, [sp]
	mov	x0, x20
	mov	x1, x8
	bl	_h2o_concat
	mov	x2, x0
	mov	x0, x20
	mov	x3, x21
	bl	_h2o_uri_escape
	mov	x21, x0
	mov	x22, x1
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.23:
	ldp	x9, x10, [x19, #8]
	add	x0, x9, x8
	sub	x8, x10, x8
	str	x8, [sp]
	bl	_h2o_iovec_init
	mov	x3, x0
	mov	x4, x1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_h2o_concat
	mov	x21, x0
	mov	x22, x1
LBB0_24:
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_25:
	mov	x0, x19
	mov	w1, #301
	mov	x3, x22
	mov	x4, x21
	b	LBB0_4
LBB0_26:
	ldr	x8, [x25]
	cbnz	x8, LBB0_33
LBB0_27:
	ldr	w8, [x21, #8]
Lloh25:
	adrp	x9, _H2O_FILE_FLAG_DIR_LISTING@GOTPAGE
Lloh26:
	ldr	x9, [x9, _H2O_FILE_FLAG_DIR_LISTING@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.28:
	strb	wzr, [x20, x22]
	ldp	w24, w23, [x19, #48]
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	cbz	x0, LBB0_30
; %bb.29:
	mov	w3, #1
	b	LBB0_32
LBB0_30:
	ldp	w24, w23, [x19, #48]
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_H2O_STRLIT
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_h2o_memis
	cbz	x0, LBB0_40
; %bb.31:
	mov	w3, #0
LBB0_32:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_send_dir_listing
	cbz	x0, LBB0_21
LBB0_33:
Lloh32:
	adrp	x23, _errno@GOTPAGE
Lloh33:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh34:
	adrp	x9, _ENFILE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ENFILE@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
Lloh37:
	adrp	x10, _EMFILE@GOTPAGE
Lloh38:
	ldr	x10, [x10, _EMFILE@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_35
; %bb.34:
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
Lloh42:
	adrp	x2, l_.str.6@PAGE
Lloh43:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_h2o_send_error_503
	b	LBB0_5
LBB0_35:
	ldr	w0, [x21, #12]
	bl	_h2o_mimemap_has_dynamic_type
	cbz	x0, LBB0_37
; %bb.36:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_try_dynamic_request
	cbz	x0, LBB0_21
LBB0_37:
	ldr	x8, [x23]
Lloh44:
	adrp	x9, _ENOENT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	mov	w0, #-1
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.38:
Lloh47:
	adrp	x9, _ENOTDIR@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ENOTDIR@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.39:
Lloh50:
	adrp	x1, l_.str.7@PAGE
Lloh51:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh52:
	adrp	x2, l_.str.8@PAGE
Lloh53:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_h2o_send_error_403
	b	LBB0_5
LBB0_40:
	mov	x0, x19
	bl	_send_method_not_allowed
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
l_.str.1:                               ; @.str.1
	.asciz	"Moved Permanently"

l_.str.2:                               ; @.str.2
	.asciz	"Moved Permantently"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_H2O_FILE_FLAG_DIR_LISTING,4,2  ; @H2O_FILE_FLAG_DIR_LISTING
l_.str.3:                               ; @.str.3
	.asciz	"GET"

l_.str.4:                               ; @.str.4
	.asciz	"HEAD"

	.comm	_ENFILE,8,3                     ; @ENFILE
	.comm	_EMFILE,8,3                     ; @EMFILE
l_.str.5:                               ; @.str.5
	.asciz	"Service Unavailable"

l_.str.6:                               ; @.str.6
	.asciz	"please try again later"

	.comm	_ENOTDIR,8,3                    ; @ENOTDIR
l_.str.7:                               ; @.str.7
	.asciz	"Access Forbidden"

l_.str.8:                               ; @.str.8
	.asciz	"access forbidden"

	.no_dead_strip	_on_req
.subsections_via_symbols
