	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function main
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	xorl	%eax, %eax
	callq	_event_config_new
	movq	%rax, %r15
	movq	$0, -56(%rbp)
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIG_ERR@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_37
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movw	$8080, %r13w                    ## imm = 0x1F90
	cmpl	$2, %r12d
	jl	LBB0_6
## %bb.2:
	movl	%r12d, %ebx
	movw	$8080, %r13w                    ## imm = 0x1F90
	movl	$1, %eax
	leaq	-56(%rbp), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, %r15
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rax
	cmpq	%rbx, %r15
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rax,8), %rcx
	cmpb	$45, (%rcx)
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbl	1(%rcx), %edx
	cmpl	$112, %edx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$108, %dl
	jne	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rax), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$108, %edx
	je	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$112, %edx
	jne	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rax), %r15
	cmpq	%rbx, %r15
	jge	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %r13
	movq	-56(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_5
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rax), %r15
	cmpq	%rbx, %r15
	jge	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rsi
	movl	$10, %edx
	callq	_strtol
	movq	_content_len@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	jne	LBB0_5
LBB0_26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_18
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_event_base_new_with_config
	testq	%rax, %rax
	je	LBB0_7
## %bb.28:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_evhttp_new
	movq	%rax, %r14
	movq	_content_len@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movq	%r15, %rdi
	callq	_malloc
	movq	_content@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_38
## %bb.29:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_36
## %bb.30:
	movl	%r15d, %ecx
	cmpq	$8, %rcx
	jae	LBB0_32
## %bb.31:
	xorl	%edx, %edx
	jmp	LBB0_35
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %ebx
	jmp	LBB0_37
LBB0_32:
	andl	$7, %r15d
	movq	%rcx, %rdx
	subq	%r15, %rdx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [255,0,0,0,255,0,0,0,255,0,0,0,255,0,0,0]
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm4
	paddd	%xmm1, %xmm4
	movdqa	%xmm0, %xmm5
	pand	%xmm2, %xmm5
	pand	%xmm2, %xmm4
	movdqu	%xmm5, (%rax,%rsi,4)
	movdqu	%xmm4, 16(%rax,%rsi,4)
	addq	$8, %rsi
	paddd	%xmm3, %xmm0
	cmpq	%rsi, %rdx
	jne	LBB0_33
## %bb.34:
	testq	%r15, %r15
	je	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %esi
	movl	%esi, (%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_35
LBB0_36:
	movq	_http_basic_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_evhttp_set_cb
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_http_ref_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_evhttp_set_cb
	movl	(%rbx), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r14, %r15
	movl	(%rbx), %r14d
	movl	(%r12), %r12d
	movzwl	%r13w, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_event_base_get_method
	leaq	L_.str.12(%rip), %rsi
	movl	%r14d, %edi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%ebx, %ebx
	callq	_evhttp_bind_socket
	movq	%r13, %rdi
	callq	_event_base_dispatch
LBB0_37:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_18
LBB0_23:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_18
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_12
LBB0_27:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_12:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_18:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_38:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIG_ERR,8,3                    ## @SIG_ERR
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-%c requires argument.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Missing port\n"

L_.str.2:                               ## @.str.2
	.asciz	"Bad port\n"

L_.str.3:                               ## @.str.3
	.asciz	"Missing content length\n"

	.comm	_content_len,8,3                ## @content_len
L_.str.4:                               ## @.str.4
	.asciz	"Bad content length\n"

L_.str.5:                               ## @.str.5
	.asciz	"Illegal argument \"%c\"\n"

L_.str.6:                               ## @.str.6
	.asciz	"creating event_base failed. Exiting.\n"

	.comm	_content,8,3                    ## @content
L_.str.7:                               ## @.str.7
	.asciz	"Cannot allocate content\n"

L_.str.8:                               ## @.str.8
	.asciz	"/ind"

	.comm	_http_basic_cb,4,2              ## @http_basic_cb
L_.str.9:                               ## @.str.9
	.asciz	"/ind - basic content (memory copy)\n"

L_.str.10:                              ## @.str.10
	.asciz	"/ref"

	.comm	_http_ref_cb,4,2                ## @http_ref_cb
L_.str.11:                              ## @.str.11
	.asciz	"/ref - basic content (reference)\n"

L_.str.12:                              ## @.str.12
	.asciz	"Serving %d bytes on port %d using %s\n"

L_.str.14:                              ## @.str.14
	.asciz	"0.0.0.0"

	.comm	_EVENT_BASE_FLAG_STARTUP_IOCP,4,2 ## @EVENT_BASE_FLAG_STARTUP_IOCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function main
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
	bl	_event_config_new
	mov	x20, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_signal
Lloh6:
	adrp	x8, _SIG_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIG_ERR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_33
LBB0_2:
Lloh9:
	adrp	x23, _content_len@GOTPAGE
Lloh10:
	ldr	x23, [x23, _content_len@GOTPAGEOFF]
	cmp	w19, #2
	b.lt	LBB0_21
; %bb.3:
	mov	w22, w19
	mov	w19, #8080
	mov	w24, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x24, x22
	b.eq	LBB0_22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, x24, lsl #3]
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w9, [x8, #1]
	sxtb	w8, w9
	cmp	w9, #112
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #108
	b.ne	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x24, #1
	cmp	x9, x22
	b.ge	LBB0_36
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #108
	b.eq	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #112
	b.ne	LBB0_37
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	cmp	x24, x22
	b.ge	LBB0_34
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x21, x24, lsl #3]
	cbz	x0, LBB0_34
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_38
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x0
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	cmp	x24, x22
	b.ge	LBB0_35
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x21, x24, lsl #3]
	cbz	x0, LBB0_35
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	str	x0, [x23]
	ldr	x8, [sp, #24]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x0, LBB0_5
LBB0_20:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_39
LBB0_21:
	mov	w19, #8080
LBB0_22:
	mov	x0, x20
	bl	_event_base_new_with_config
	cbz	x0, LBB0_27
; %bb.23:
	mov	x20, x0
	bl	_evhttp_new
	mov	x21, x0
	ldr	x22, [x23]
	mov	x0, x22
	bl	_malloc
Lloh16:
	adrp	x8, _content@GOTPAGE
Lloh17:
	ldr	x8, [x8, _content@GOTPAGEOFF]
Lloh18:
	str	x0, [x8]
	cbz	x0, LBB0_40
; %bb.24:
	cmp	w22, #1
	b.lt	LBB0_32
; %bb.25:
	and	x8, x22, #0xffffffff
	cmp	x8, #16
	b.hs	LBB0_28
; %bb.26:
	mov	x9, #0
	b	LBB0_31
LBB0_27:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	b	LBB0_33
LBB0_28:
	and	x10, x22, #0xf
	sub	x9, x8, x10
Lloh24:
	adrp	x11, lCPI0_0@PAGE
Lloh25:
	ldr	q0, [x11, lCPI0_0@PAGEOFF]
	add	x11, x0, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.2d	v4, #0x0000ff000000ff
	movi.4s	v5, #16
	mov	x12, x9
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v6, v0, v1
	add.4s	v7, v0, v2
	add.4s	v16, v0, v3
	and.16b	v17, v0, v4
	and.16b	v6, v6, v4
	and.16b	v7, v7, v4
	and.16b	v16, v16, v4
	stp	q17, q6, [x11, #-32]
	stp	q7, q16, [x11], #64
	add.4s	v0, v0, v5
	subs	x12, x12, #16
	b.ne	LBB0_29
; %bb.30:
	cbz	x10, LBB0_32
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	and	w10, w9, #0xff
	str	w10, [x0, x9, lsl #2]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_31
LBB0_32:
Lloh26:
	adrp	x8, _http_basic_cb@GOTPAGE
Lloh27:
	ldr	x8, [x8, _http_basic_cb@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	x3, #0
	bl	_evhttp_set_cb
Lloh31:
	adrp	x22, _stderr@GOTPAGE
Lloh32:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh33:
	adrp	x1, l_.str.9@PAGE
Lloh34:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
Lloh35:
	adrp	x8, _http_ref_cb@GOTPAGE
Lloh36:
	ldr	x8, [x8, _http_ref_cb@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x1, l_.str.10@PAGE
Lloh39:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	x3, #0
	bl	_evhttp_set_cb
	ldr	w0, [x22]
Lloh40:
	adrp	x1, l_.str.11@PAGE
Lloh41:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_fprintf
	ldr	w22, [x22]
	ldr	x24, [x23]
	and	w23, w19, #0xffff
	mov	x0, x20
	bl	_event_base_get_method
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	and	x8, x19, #0xffff
	stp	x8, x0, [sp, #8]
	str	x24, [sp]
Lloh42:
	adrp	x1, l_.str.12@PAGE
Lloh43:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	bl	_fprintf
Lloh44:
	adrp	x1, l_.str.14@PAGE
Lloh45:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_evhttp_bind_socket
	mov	x0, x20
	bl	_event_base_dispatch
	mov	w0, #0
LBB0_33:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_34:
Lloh46:
	adrp	x8, _stderr@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str.1@PAGE
Lloh50:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_39
LBB0_35:
Lloh51:
	adrp	x8, _stderr@GOTPAGE
Lloh52:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x1, l_.str.3@PAGE
Lloh55:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_39
LBB0_36:
Lloh56:
	adrp	x9, _stderr@GOTPAGE
Lloh57:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh59:
	adrp	x1, l_.str@PAGE
Lloh60:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_39
LBB0_37:
Lloh61:
	adrp	x9, _stderr@GOTPAGE
Lloh62:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x9]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x8, w8
	str	x8, [sp]
Lloh64:
	adrp	x1, l_.str.5@PAGE
Lloh65:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_39
LBB0_38:
Lloh66:
	adrp	x8, _stderr@GOTPAGE
Lloh67:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
Lloh69:
	adrp	x1, l_.str.2@PAGE
Lloh70:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_39:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_40:
Lloh71:
	adrp	x8, _stderr@GOTPAGE
Lloh72:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
Lloh74:
	adrp	x1, l_.str.7@PAGE
Lloh75:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_39
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIG_ERR,8,3                    ; @SIG_ERR
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-%c requires argument.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Missing port\n"

l_.str.2:                               ; @.str.2
	.asciz	"Bad port\n"

l_.str.3:                               ; @.str.3
	.asciz	"Missing content length\n"

	.comm	_content_len,8,3                ; @content_len
l_.str.4:                               ; @.str.4
	.asciz	"Bad content length\n"

l_.str.5:                               ; @.str.5
	.asciz	"Illegal argument \"%c\"\n"

l_.str.6:                               ; @.str.6
	.asciz	"creating event_base failed. Exiting.\n"

	.comm	_content,8,3                    ; @content
l_.str.7:                               ; @.str.7
	.asciz	"Cannot allocate content\n"

l_.str.8:                               ; @.str.8
	.asciz	"/ind"

	.comm	_http_basic_cb,4,2              ; @http_basic_cb
l_.str.9:                               ; @.str.9
	.asciz	"/ind - basic content (memory copy)\n"

l_.str.10:                              ; @.str.10
	.asciz	"/ref"

	.comm	_http_ref_cb,4,2                ; @http_ref_cb
l_.str.11:                              ; @.str.11
	.asciz	"/ref - basic content (reference)\n"

l_.str.12:                              ; @.str.12
	.asciz	"Serving %d bytes on port %d using %s\n"

l_.str.14:                              ; @.str.14
	.asciz	"0.0.0.0"

	.comm	_EVENT_BASE_FLAG_STARTUP_IOCP,4,2 ; @EVENT_BASE_FLAG_STARTUP_IOCP
.subsections_via_symbols
