	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_socket_sendto              ## -- Begin function apr_socket_sendto
	.p2align	4, 0x90
_apr_socket_sendto:                     ## @apr_socket_sendto
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	4(%rsi), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	(%r13), %r9d
	movq	%r15, %rsi
	movl	%r12d, %ecx
	movq	%r14, %r8
	callq	_sendto
	movl	%eax, %ecx
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$-1, %ecx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_EINTR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_1
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_EWOULDBLOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rbx)
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_apr_wait_for_io_or_timeout
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	8(%rbx), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	(%r13), %r9d
	movq	%r15, %rsi
	movl	%r12d, %ecx
	movq	%r14, %r8
	callq	_sendto
	movl	%eax, %ecx
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$-1, %ecx
	jne	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_EINTR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	cmpl	$-1, %ecx
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	$0, (%rcx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_EWOULDBLOCK,8,3                ## @EWOULDBLOCK
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_apr_socket_sendto              ; -- Begin function apr_socket_sendto
	.p2align	2
_apr_socket_sendto:                     ; @apr_socket_sendto
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	x24, x1, #4
Lloh0:
	adrp	x25, _errno@GOTPAGE
Lloh1:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh2:
	adrp	x26, _EINTR@GOTPAGE
Lloh3:
	ldr	x26, [x26, _EINTR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #8]
	ldr	w2, [x19]
	ldr	w5, [x22]
	mov	x1, x20
	mov	x3, x21
	mov	x4, x24
	bl	_sendto
	mov	x8, x0
	ldr	x0, [x25]
	ldr	x9, [x26]
	cmn	w8, #1
	ccmp	x0, x9, #0, eq
	b.eq	LBB0_1
; %bb.2:
	cmn	w8, #1
	b.eq	LBB0_4
LBB0_3:
	str	w8, [x19]
Lloh4:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	b	LBB0_11
LBB0_4:
Lloh7:
	adrp	x27, _EAGAIN@GOTPAGE
Lloh8:
	ldr	x27, [x27, _EAGAIN@GOTPAGEOFF]
Lloh9:
	adrp	x28, _EWOULDBLOCK@GOTPAGE
Lloh10:
	ldr	x28, [x28, _EWOULDBLOCK@GOTPAGEOFF]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x27]
	ldr	x9, [x28]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	cmp	x8, #1
	b.lt	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, #0
	mov	x1, x23
	mov	w2, #0
	bl	_apr_wait_for_io_or_timeout
Lloh11:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23, #8]
	ldr	w2, [x19]
	ldr	w5, [x22]
	mov	x1, x20
	mov	x3, x21
	mov	x4, x24
	bl	_sendto
	mov	x8, x0
	ldr	x0, [x25]
	ldr	x9, [x26]
	cmn	w8, #1
	ccmp	x0, x9, #0, eq
	b.eq	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmn	w8, #1
	b.eq	LBB0_5
	b	LBB0_3
LBB0_10:
	str	wzr, [x19]
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_EWOULDBLOCK,8,3                ; @EWOULDBLOCK
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
.subsections_via_symbols
