	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function server_connect
_server_connect:                        ## @server_connect
	.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	_lrs@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_set_options
	movq	_use_async@GOTPCREL(%rip), %r13
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EAGAIN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)
	movq	_POLLIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_poll_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	callq	_do_poll
	testl	%eax, %eax
	jne	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_raccept
	movq	_rs@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	movq	_rs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_8:
	movq	%rax, %rdi
	callq	_set_options
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_lrs,8,3                        ## @lrs
	.comm	_use_async,8,3                  ## @use_async
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_poll_timeout,4,2               ## @poll_timeout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpoll"

	.comm	_rs,8,3                         ## @rs
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
L_.str.1:                               ## @.str.1
	.asciz	"raccept"

	.no_dead_strip	_server_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function server_connect
_server_connect:                        ; @server_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x20, _lrs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _lrs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_set_options
Lloh2:
	adrp	x22, _use_async@GOTPAGE
Lloh3:
	ldr	x22, [x22, _use_async@GOTPAGEOFF]
Lloh4:
	adrp	x21, _rs@GOTPAGE
Lloh5:
	ldr	x21, [x21, _rs@GOTPAGEOFF]
Lloh6:
	adrp	x23, _errno@GOTPAGE
Lloh7:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
Lloh8:
	adrp	x24, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x24, [x24, _EAGAIN@GOTPAGEOFF]
Lloh10:
	adrp	x25, _EWOULDBLOCK@GOTPAGE
Lloh11:
	ldr	x25, [x25, _EWOULDBLOCK@GOTPAGEOFF]
Lloh12:
	adrp	x26, _POLLIN@GOTPAGE
Lloh13:
	ldr	x26, [x26, _POLLIN@GOTPAGEOFF]
Lloh14:
	adrp	x27, _poll_timeout@GOTPAGE
Lloh15:
	ldr	x27, [x27, _poll_timeout@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	str	x8, [sp, #8]
	ldr	w8, [x26]
	str	w8, [sp]
	ldr	w1, [x27]
	mov	x0, sp
	bl	_do_poll
	cbnz	w0, LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x20]
	mov	x1, #0
	mov	x2, #0
	bl	_raccept
	str	x0, [x21]
	tbz	x0, #63, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_1
; %bb.5:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	ldr	w19, [x21]
	b	LBB0_7
LBB0_6:
	bl	_set_options
	mov	w19, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	mov	x19, x0
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_lrs,8,3                        ; @lrs
	.comm	_use_async,8,3                  ; @use_async
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_poll_timeout,4,2               ; @poll_timeout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpoll"

	.comm	_rs,8,3                         ; @rs
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
l_.str.1:                               ; @.str.1
	.asciz	"raccept"

	.no_dead_strip	_server_connect
.subsections_via_symbols
