	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	_config@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_h2o_config_init
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movl	%eax, %edi
	callq	_h2o_iovec_init
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_h2o_config_register_host
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_h2o_config_register_path
	movq	_on_req@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_h2o_create_handler
	movl	%ebx, (%rax)
	xorl	%eax, %eax
	callq	_h2o_evloop_create
	movq	_ctx@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_h2o_context_init
	movq	_accept_ctx@GOTPCREL(%rip), %rax
	movq	%r15, 8(%rax)
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	callq	_create_listener
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	jmp	LBB0_3
LBB0_1:
	movq	_INT32_MAX@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_h2o_evloop_run
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config,4,2                     ## @config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default"

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

	.comm	_on_req,4,2                     ## @on_req
	.comm	_ctx,4,2                        ## @ctx
	.comm	_accept_ctx,16,3                ## @accept_ctx
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"failed to listen to 127.0.0.1:7890:%s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_INT32_MAX,4,2                  ## @INT32_MAX
	.comm	_UV_RUN_DEFAULT,4,2             ## @UV_RUN_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
Lloh0:
	adrp	x20, _config@GOTPAGE
Lloh1:
	ldr	x20, [x20, _config@GOTPAGEOFF]
	mov	x0, x20
	bl	_h2o_config_init
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	bl	_h2o_iovec_init
	mov	x1, x0
	mov	x0, x20
	mov	w2, #65535
	bl	_h2o_config_register_host
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_h2o_config_register_path
Lloh6:
	adrp	x8, _on_req@GOTPAGE
Lloh7:
	ldr	x8, [x8, _on_req@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	mov	w1, #4
	bl	_h2o_create_handler
	str	w19, [x0]
	bl	_h2o_evloop_create
	mov	x1, x0
Lloh9:
	adrp	x19, _ctx@GOTPAGE
Lloh10:
	ldr	x19, [x19, _ctx@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_h2o_context_init
Lloh11:
	adrp	x8, _accept_ctx@GOTPAGE
Lloh12:
	ldr	x8, [x8, _accept_ctx@GOTPAGEOFF]
	str	x19, [x8, #8]
	ldr	w9, [x20]
	str	w9, [x8]
	bl	_create_listener
	cbz	x0, LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	b	LBB0_4
LBB0_2:
Lloh21:
	adrp	x20, _INT32_MAX@GOTPAGE
Lloh22:
	ldr	x20, [x20, _INT32_MAX@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_h2o_evloop_run
	cbz	x0, LBB0_3
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_config,4,2                     ; @config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default"

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

	.comm	_on_req,4,2                     ; @on_req
	.comm	_ctx,4,2                        ; @ctx
	.comm	_accept_ctx,16,3                ; @accept_ctx
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"failed to listen to 127.0.0.1:7890:%s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_INT32_MAX,4,2                  ; @INT32_MAX
	.comm	_UV_RUN_DEFAULT,4,2             ; @UV_RUN_DEFAULT
.subsections_via_symbols
