	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_cli_server_client_send_through
_php_cli_server_client_send_through:    ## @php_cli_server_client_send_through
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	$10, -56(%rbp)
	addq	%rdx, %r15
	movq	_SOCK_EAGAIN@GOTPCREL(%rip), %r14
	leaq	-56(%rbp), %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	subq	%rax, %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%rbx, %rbx
	jle	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	%r15, %rsi
	subq	%rbx, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_send
	testq	%rax, %rax
	jns	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_php_socket_errno
	cmpl	(%r14), %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %edi
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_php_pollfd_for
	testl	%eax, %eax
	jg	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_php_handle_aborted_connection
	jmp	LBB0_8
LBB0_7:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_EAGAIN,4,2                ## @SOCK_EAGAIN
	.comm	_POLLOUT,4,2                    ## @POLLOUT
	.no_dead_strip	_php_cli_server_client_send_through
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_cli_server_client_send_through
_php_cli_server_client_send_through:    ; @php_cli_server_client_send_through
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x0
	mov	w8, #10
	str	x8, [sp, #8]
	add	x22, x1, x2
Lloh0:
	adrp	x23, _SOCK_EAGAIN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SOCK_EAGAIN@GOTPAGEOFF]
Lloh2:
	adrp	x24, _POLLOUT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _POLLOUT@GOTPAGEOFF]
	mov	x20, x2
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x20, x20, x0
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x20, #0
	b.le	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	sub	x1, x22, x20
	mov	x2, x20
	mov	w3, #0
	bl	_send
	tbz	x0, #63, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_php_socket_errno
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x24]
	add	x2, sp, #8
	bl	_php_pollfd_for
	cmp	w0, #0
	b.gt	LBB0_2
LBB0_6:
	bl	_php_handle_aborted_connection
	b	LBB0_8
LBB0_7:
	mov	x20, x19
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_EAGAIN,4,2                ; @SOCK_EAGAIN
	.comm	_POLLOUT,4,2                    ; @POLLOUT
	.no_dead_strip	_php_cli_server_client_send_through
.subsections_via_symbols
