	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function host_bind
_host_bind:                             ## @host_bind
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-144(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_PF_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -132(%rbp)
	leaq	-72(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_33
LBB0_1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movq	-72(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.4:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_21
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%r14), %r14
	testq	%r14, %r14
	je	LBB0_27
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %r15
	movq	(%r15), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r12d
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%rbx, %r15
	movl	%r12d, %ebx
	leaq	-60(%rbp), %r13
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	-64(%rbp), %r15
	leaq	-60(%rbp), %r13
	testl	%ebx, %ebx
	jne	LBB0_15
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	-104(%rbp), %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%r13, %r15
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	je	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$50, %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	16(%r14), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_inet_ntop
	movl	$8, %r13d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %r13
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$50, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%r15), %edx
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_sprintf
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_in6addr_any@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	leaq	-104(%rbp), %r13
	movq	%r13, %r15
	testl	%ebx, %ebx
	jne	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$8, %r13d
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r14), %edi
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	callq	_socket
	movq	%rax, %r12
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, -76(%rbp)
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_REUSEADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	leaq	-76(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_bind
	testq	%rax, %rax
	jns	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_close
	jmp	LBB0_26
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	jmp	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.5(%rip), %rdi
	callq	_perror
	jmp	LBB0_25
LBB0_27:
	movq	-72(%rbp), %rdi
	jmp	LBB0_28
LBB0_2:
	xorl	%edi, %edi
LBB0_28:
	callq	_freeaddrinfo
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_33:
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	-72(%rbp), %rdi
	callq	_freeaddrinfo
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_listen
	testq	%rax, %rax
	js	LBB0_30
## %bb.34:
	testl	%ebx, %ebx
	je	LBB0_36
## %bb.35:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_36
LBB0_30:
	testl	%ebx, %ebx
	jne	LBB0_31
LBB0_32:
	movq	%r12, %rdi
	callq	_close
	jmp	LBB0_33
LBB0_31:
	leaq	L_.str.7(%rip), %rdi
	callq	_perror
	jmp	LBB0_32
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_UNSPEC,4,2                  ## @PF_UNSPEC
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: getaddrinfo(): %s\n"

	.comm	_INVALID_SOCKET,8,3             ## @INVALID_SOCKET
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_in6addr_any,4,2                ## @in6addr_any
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
L_.str.1:                               ## @.str.1
	.asciz	"<invalid>"

L_.str.2:                               ## @.str.2
	.asciz	"<unknown family: %d>"

L_.str.3:                               ## @.str.3
	.asciz	"binding to: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"socket()"

	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_REUSEADDR,4,2               ## @SO_REUSEADDR
L_.str.5:                               ## @.str.5
	.asciz	"bind()"

L_.str.6:                               ## @.str.6
	.asciz	"ERROR: failed to bind\n"

L_.str.7:                               ## @.str.7
	.asciz	"listen()"

L_.str.8:                               ## @.str.8
	.asciz	"bound.\n"

	.comm	_IPPROTO_IPV6,4,2               ## @IPPROTO_IPV6
	.comm	_IPV6_V6ONLY,4,2                ## @IPV6_V6ONLY
	.no_dead_strip	_host_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function host_bind
_host_bind:                             ; @host_bind
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	sub	x0, x29, #128
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh3:
	adrp	x8, _PF_UNSPEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_UNSPEC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x29, #-116]
	sub	x2, x29, #128
	sub	x3, x29, #136
	mov	x0, x20
	mov	x1, x21
	bl	_getaddrinfo
	cbz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	bl	_gai_strerror
	str	x0, [sp, #-16]!
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	add	sp, sp, #16
	b	LBB0_31
LBB0_2:
	ldur	x25, [x29, #-136]
	cbz	x25, LBB0_29
; %bb.3:
	sub	x8, x29, #144
Lloh14:
	adrp	x21, _AF_INET@GOTPAGE
Lloh15:
	ldr	x21, [x21, _AF_INET@GOTPAGEOFF]
	orr	x24, x8, #0x4
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w19, LBB0_26
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x25, [x25, #32]
	cbz	x25, LBB0_28
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x25, #24]
	ldr	x8, [x26]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x22, x29, #144
	sub	x0, x29, #144
	mov	x1, x26
	mov	w2, #8
	bl	_memcpy
	cbz	x20, LBB0_23
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x24
	cbz	w19, LBB0_15
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, sp
Lloh16:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	add	w3, w8, #50
	mov	x9, x3
Lloh19:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh20:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x3, #15
	and	x9, x9, #0x1fffffff0
	sub	x27, x8, x9
	mov	sp, x27
	ldr	w0, [x25, #16]
	mov	x2, x27
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_inet_ntop
	cbnz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w28, #8
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh23:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x22, x29, #152
	sub	x0, x29, #152
	mov	x1, x26
	mov	w2, #8
	bl	_memcpy
	cbz	x20, LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x1, x29, #152
	cbnz	w19, LBB0_9
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w28, #8
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x28, [x25]
	cbz	w19, LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, sp
Lloh26:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	add	w8, w8, #50
	mov	x9, x8
Lloh29:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh30:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x27, x9, x8
	mov	sp, x27
	ldr	w2, [x26]
	mov	x0, x27
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	mov	x22, x26
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	str	x27, [sp, #-16]!
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	mov	sp, x23
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w1, w0, [x25, #12]
	ldr	w2, [x25, #8]
	bl	_socket
Lloh38:
	adrp	x8, _INVALID_SOCKET@GOTPAGE
Lloh39:
	ldr	x8, [x8, _INVALID_SOCKET@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x0
	mov	w8, #1
	stur	w8, [x29, #-156]
Lloh41:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _SO_REUSEADDR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SO_REUSEADDR@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	sub	x3, x29, #156
	mov	w4, #4
	bl	_setsockopt
	mov	x0, x27
	mov	x1, x22
	mov	x2, x28
	bl	_bind
	tbz	x0, #63, LBB0_34
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w19, LBB0_27
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_close
	b	LBB0_5
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh47:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh48:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	stur	w8, [x29, #-140]
	sub	x22, x29, #144
	mov	x1, x24
	cbnz	w19, LBB0_9
	b	LBB0_15
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x22, x29, #152
Lloh50:
	adrp	x8, _in6addr_any@GOTPAGE
Lloh51:
	ldr	x8, [x8, _in6addr_any@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	stur	w8, [x29, #-152]
	sub	x1, x29, #152
	cbnz	w19, LBB0_9
	b	LBB0_15
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x26
	b	LBB0_19
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh53:
	adrp	x0, l_.str.4@PAGE
Lloh54:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
	b	LBB0_5
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh55:
	adrp	x0, l_.str.5@PAGE
Lloh56:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_perror
	b	LBB0_22
LBB0_28:
	ldur	x0, [x29, #-136]
	b	LBB0_30
LBB0_29:
	mov	x0, #0
LBB0_30:
	bl	_freeaddrinfo
Lloh57:
	adrp	x8, _stderr@GOTPAGE
Lloh58:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
Lloh60:
	adrp	x1, l_.str.6@PAGE
Lloh61:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_31:
Lloh62:
	adrp	x8, _INVALID_SOCKET@GOTPAGE
Lloh63:
	ldr	x8, [x8, _INVALID_SOCKET@GOTPAGEOFF]
Lloh64:
	ldr	x27, [x8]
LBB0_32:
	ldur	x8, [x29, #-88]
Lloh65:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh66:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.33:
	mov	x0, x27
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_34:
	ldur	x0, [x29, #-136]
	bl	_freeaddrinfo
	mov	x0, x27
	mov	w1, #5
	bl	_listen
	tbnz	x0, #63, LBB0_37
; %bb.35:
	cbz	w19, LBB0_32
; %bb.36:
Lloh68:
	adrp	x8, _stderr@GOTPAGE
Lloh69:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
Lloh71:
	adrp	x1, l_.str.8@PAGE
Lloh72:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	b	LBB0_32
LBB0_37:
	cbnz	w19, LBB0_39
LBB0_38:
	mov	x0, x27
	bl	_close
	b	LBB0_31
LBB0_39:
Lloh73:
	adrp	x0, l_.str.7@PAGE
Lloh74:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_perror
	b	LBB0_38
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_UNSPEC,4,2                  ; @PF_UNSPEC
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: getaddrinfo(): %s\n"

	.comm	_INVALID_SOCKET,8,3             ; @INVALID_SOCKET
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_in6addr_any,4,2                ; @in6addr_any
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
l_.str.1:                               ; @.str.1
	.asciz	"<invalid>"

l_.str.2:                               ; @.str.2
	.asciz	"<unknown family: %d>"

l_.str.3:                               ; @.str.3
	.asciz	"binding to: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"socket()"

	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_REUSEADDR,4,2               ; @SO_REUSEADDR
l_.str.5:                               ; @.str.5
	.asciz	"bind()"

l_.str.6:                               ; @.str.6
	.asciz	"ERROR: failed to bind\n"

l_.str.7:                               ; @.str.7
	.asciz	"listen()"

l_.str.8:                               ; @.str.8
	.asciz	"bound.\n"

	.comm	_IPPROTO_IPV6,4,2               ; @IPPROTO_IPV6
	.comm	_IPV6_V6ONLY,4,2                ; @IPV6_V6ONLY
	.no_dead_strip	_host_bind
.subsections_via_symbols
