	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svr_send
_svr_send:                              ## @svr_send
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_use_async@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_rs@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)
	movq	_POLLOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_use_async@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_poll_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_do_poll
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_rs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r15, %r8
	movl	%r14d, %r9d
	callq	_rs_sendto
	movq	%rax, %r13
	testq	%rax, %rax
	jns	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_10
LBB0_4:
	movq	%rax, %r13
LBB0_10:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_use_async,8,3                  ## @use_async
	.comm	_rs,4,2                         ## @rs
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.comm	_poll_timeout,4,2               ## @poll_timeout
	.comm	_flags,4,2                      ## @flags
	.comm	_errno,8,3                      ## @errno
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rsend"

	.no_dead_strip	_svr_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svr_send
_svr_send:                              ; @svr_send
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _use_async@GOTPAGE
Lloh1:
	ldr	x8, [x8, _use_async@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x25, _rs@GOTPAGE
Lloh4:
	ldr	x25, [x25, _rs@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w9, [x25]
Lloh5:
	adrp	x10, _POLLOUT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _POLLOUT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w9, [sp, #8]
LBB0_2:
Lloh8:
	adrp	x26, _flags@GOTPAGE
Lloh9:
	ldr	x26, [x26, _flags@GOTPAGEOFF]
Lloh10:
	adrp	x27, _errno@GOTPAGE
Lloh11:
	ldr	x27, [x27, _errno@GOTPAGEOFF]
Lloh12:
	adrp	x28, _EWOULDBLOCK@GOTPAGE
Lloh13:
	ldr	x28, [x28, _EWOULDBLOCK@GOTPAGEOFF]
Lloh14:
	adrp	x24, _EAGAIN@GOTPAGE
Lloh15:
	ldr	x24, [x24, _EAGAIN@GOTPAGEOFF]
	cbz	x8, LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _poll_timeout@GOTPAGE
Lloh17:
	ldr	x8, [x8, _poll_timeout@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_do_poll
	cbnz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	ldr	w3, [x26]
	mov	x1, x22
	mov	x2, x21
	mov	x4, x20
	mov	x5, x19
	bl	_rs_sendto
	mov	x23, x0
	tbz	x0, #63, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x28]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x8, _use_async@GOTPAGE
Lloh20:
	ldr	x8, [x8, _use_async@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
	b	LBB0_4
LBB0_7:
	mov	x23, x0
LBB0_8:
	mov	x0, x23
	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_9:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_use_async,8,3                  ; @use_async
	.comm	_rs,4,2                         ; @rs
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.comm	_poll_timeout,4,2               ; @poll_timeout
	.comm	_flags,4,2                      ; @flags
	.comm	_errno,8,3                      ; @errno
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rsend"

	.no_dead_strip	_svr_send
.subsections_via_symbols
