	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function server_listen
_server_listen:                         ## @server_listen
	.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	_options@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_listen_on_addrs
	movq	8(%r14), %rax
	movl	8(%rax,%rbx), %edi
	callq	_freeaddrinfo
	movq	8(%r14), %rax
	movq	(%rax,%rbx), %rdi
	callq	_free
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	incq	%r15
	addq	$16, %rbx
	cmpq	(%r14), %r15
	jb	LBB0_2
LBB0_3:
	movq	8(%r14), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	_num_listen_socks@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fatal                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_options,16,3                   ## @options
	.comm	_num_listen_socks,4,2           ## @num_listen_socks
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot bind any address."

	.no_dead_strip	_server_listen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function server_listen
_server_listen:                         ; @server_listen
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _options@GOTPAGE
Lloh1:
	ldr	x19, [x19, _options@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_listen_on_addrs
	ldr	x8, [x19, #8]
	add	x8, x8, x20
	ldr	w0, [x8, #8]
	bl	_freeaddrinfo
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20]
	bl	_free
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x21, x21, #1
	ldr	x8, [x19]
	add	x20, x20, #16
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_free
	stp	xzr, xzr, [x19]
Lloh2:
	adrp	x8, _num_listen_socks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _num_listen_socks@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fatal
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_options,16,3                   ; @options
	.comm	_num_listen_socks,4,2           ; @num_listen_socks
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot bind any address."

	.no_dead_strip	_server_listen
.subsections_via_symbols
