	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	48(%rsi), %rax
	movslq	(%rax), %rcx
	movq	8(%rax), %rax
	xorl	%edx, %edx
	cmpb	$47, -1(%rcx,%rax)
	movq	%rdi, %r14
	sete	%dl
	subl	%edx, %ecx
	movslq	%ecx, %rax
	movq	32(%rsi), %rsi
	addq	%rax, %rsi
	movslq	40(%r15), %rdx
	subq	%rax, %rdx
	leaq	-112(%rbp), %rdi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movq	-112(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movslq	-88(%rbp), %r12
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_h2o_memis
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_H2O_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_H2O_TO_STR
	movq	%rax, %rbx
LBB0_4:
	leaq	28(%r15), %r12
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-208(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	leaq	L_.str.2(%rip), %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rsi
	leaq	-176(%rbp), %rdi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movups	-176(%rbp), %xmm0
	movups	-160(%rbp), %xmm1
	movups	%xmm1, 48(%rsp)
	movups	%xmm0, 32(%rsp)
	movups	-208(%rbp), %xmm0
	movups	-192(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	-80(%rbp), %rdi
	movq	%r12, %rsi
	callq	_h2o_concat
	movl	-56(%rbp), %r14d
	leaq	24(%r15), %r13
	movq	_H2O_TOKEN_CACHE_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_h2o_add_header
	leaq	L_.str.5(%rip), %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rsi
	leaq	-144(%rbp), %rdi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
	movups	-144(%rbp), %xmm0
	movups	-128(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movl	$200, %esi
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_h2o_file_send
LBB0_12:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movslq	-88(%rbp), %rbx
	movl	-112(%rbp), %r12d
	leaq	L_.str.6(%rip), %rdi
	callq	_H2O_STRLIT
	movslq	%eax, %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_h2o_memis
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movslq	(%r15), %rdi
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_11
## %bb.8:
	movl	8(%r15), %eax
	subl	%edi, %eax
	cmpl	$7, %eax
	jl	LBB0_11
## %bb.9:
	addq	16(%r15), %rdi
	leaq	L_.str.7(%rip), %rdx
	movl	$6, %esi
	movl	$6, %ecx
	xorl	%eax, %eax
	callq	_h2o_memis
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	16(%r15), %rax
	movslq	(%r15), %rcx
	leaq	(%rcx,%rax), %rsi
	addq	$6, %rsi
	movl	8(%r15), %edx
	subl	%ecx, %edx
	addl	$-6, %edx
	leaq	-80(%rbp), %rdi
	xorl	%eax, %eax
	callq	_h2o_iovec_init
LBB0_11:
	movaps	-80(%rbp), %xmm0
	movaps	-64(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_on_req_json
	jmp	LBB0_12
LBB0_6:
	movl	$-1, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

L_.str.1:                               ## @.str.1
	.asciz	"H2O_ROOT"

	.comm	_H2O_ROOT,4,2                   ## @H2O_ROOT
L_.str.2:                               ## @.str.2
	.asciz	"/share/h2o/status/index.html"

	.comm	_H2O_TOKEN_CACHE_CONTROL,4,2    ## @H2O_TOKEN_CACHE_CONTROL
L_.str.3:                               ## @.str.3
	.asciz	"no-cache"

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

L_.str.5:                               ## @.str.5
	.asciz	"text/html; charset=utf-8"

L_.str.6:                               ## @.str.6
	.asciz	"/json"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
L_.str.7:                               ## @.str.7
	.asciz	"?show="

	.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, #272
	.cfi_def_cfa_offset 272
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #48]
	ldrsw	x9, [x8]
	ldr	x8, [x8, #8]
	add	x8, x9, x8
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	cset	w8, eq
	sub	w8, w9, w8
	sxtw	x8, w8
	ldr	x9, [x1, #32]
	add	x0, x9, x8
	ldrsw	x9, [x1, #40]
	sub	x8, x9, x8
	str	x8, [sp]
	sub	x8, x29, #80
	bl	_h2o_iovec_init
	ldur	x21, [x29, #-80]
	cbz	x21, LBB0_2
; %bb.1:
	ldursw	x22, [x29, #-56]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	mov	x0, x22
	mov	x1, x21
	bl	_h2o_memis
	cbz	x0, LBB0_6
LBB0_2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _H2O_ROOT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _H2O_ROOT@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_H2O_TO_STR
	mov	x20, x0
LBB0_4:
	add	x21, x19, #28
	mov	x0, x20
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	add	x8, sp, #112
	mov	x0, x20
	bl	_h2o_iovec_init
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	add	x8, sp, #80
	bl	_h2o_iovec_init
	sub	x8, x29, #112
	add	x1, sp, #112
	add	x2, sp, #80
	mov	x0, x21
	bl	_h2o_concat
	ldur	w20, [x29, #-88]
	add	x22, x19, #24
Lloh9:
	adrp	x8, _H2O_TOKEN_CACHE_CONTROL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _H2O_TOKEN_CACHE_CONTROL@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_H2O_STRLIT
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, #0
	bl	_h2o_add_header
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	add	x8, sp, #48
	bl	_h2o_iovec_init
Lloh16:
	adrp	x2, l_.str.4@PAGE
Lloh17:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x4, sp, #48
	mov	x0, x19
	mov	w1, #200
	mov	x3, x20
	mov	w5, #0
	bl	_h2o_file_send
LBB0_5:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_6:
	ldursw	x21, [x29, #-56]
	ldur	w22, [x29, #-80]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_H2O_STRLIT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_memis
	cbz	x0, LBB0_12
; %bb.7:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-112]
	ldrsw	x8, [x19]
Lloh20:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.8:
	ldr	w9, [x19, #8]
	sub	w9, w9, w8
	cmp	w9, #7
	b.lt	LBB0_11
; %bb.9:
	ldr	x9, [x19, #16]
	add	x0, x9, x8
	mov	w8, #6
	str	x8, [sp]
Lloh23:
	adrp	x2, l_.str.7@PAGE
Lloh24:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	w1, #6
	bl	_h2o_memis
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19]
	add	x8, x9, x8
	add	x0, x8, #6
	ldr	w8, [x19, #8]
	sub	w8, w8, w9
	sub	w8, w8, #6
	str	x8, [sp]
	sub	x8, x29, #112
	bl	_h2o_iovec_init
LBB0_11:
	ldp	q0, q1, [x29, #-112]
	stp	q0, q1, [sp, #16]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_on_req_json
	b	LBB0_5
LBB0_12:
	mov	w0, #-1
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

l_.str.1:                               ; @.str.1
	.asciz	"H2O_ROOT"

	.comm	_H2O_ROOT,4,2                   ; @H2O_ROOT
l_.str.2:                               ; @.str.2
	.asciz	"/share/h2o/status/index.html"

	.comm	_H2O_TOKEN_CACHE_CONTROL,4,2    ; @H2O_TOKEN_CACHE_CONTROL
l_.str.3:                               ; @.str.3
	.asciz	"no-cache"

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

l_.str.5:                               ; @.str.5
	.asciz	"text/html; charset=utf-8"

l_.str.6:                               ; @.str.6
	.asciz	"/json"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
l_.str.7:                               ; @.str.7
	.asciz	"?show="

	.no_dead_strip	_on_req
.subsections_via_symbols
