	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function client_send
_client_send:                           ## @client_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
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_use_async@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_rs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$1, %eax
LBB0_2:
	movq	_flags@GOTPCREL(%rip), %r13
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_use_async@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_poll_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_do_poll
	testl	%eax, %eax
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_rs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %ecx
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_rs_send
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.10:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_11
LBB0_5:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	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	_client_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function client_send
_client_send:                           ; @client_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, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _use_async@GOTPAGE
Lloh1:
	ldr	x22, [x22, _use_async@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x23, _rs@GOTPAGE
Lloh3:
	ldr	x23, [x23, _rs@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x23]
Lloh4:
	adrp	x9, _POLLOUT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _POLLOUT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	mov	w8, #1
LBB0_2:
Lloh7:
	adrp	x24, _flags@GOTPAGE
Lloh8:
	ldr	x24, [x24, _flags@GOTPAGEOFF]
Lloh9:
	adrp	x25, _errno@GOTPAGE
Lloh10:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh11:
	adrp	x26, _EWOULDBLOCK@GOTPAGE
Lloh12:
	ldr	x26, [x26, _EWOULDBLOCK@GOTPAGEOFF]
Lloh13:
	adrp	x27, _EAGAIN@GOTPAGE
Lloh14:
	ldr	x27, [x27, _EAGAIN@GOTPAGEOFF]
Lloh15:
	adrp	x28, _poll_timeout@GOTPAGE
Lloh16:
	ldr	x28, [x28, _poll_timeout@GOTPAGEOFF]
	cbz	x8, LBB0_4
LBB0_3:
	ldr	w1, [x28]
	add	x0, sp, #8
	bl	_do_poll
	cbnz	w0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	w3, [x24]
	mov	x1, x20
	mov	x2, x19
	bl	_rs_send
	mov	x21, x0
	tbz	w0, #31, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x26]
	ldr	x10, [x27]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	cbnz	x8, LBB0_3
	b	LBB0_4
LBB0_7:
	mov	x21, x0
LBB0_8:
	mov	x0, x21
	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:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.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	_client_send
.subsections_via_symbols
