	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_apache_sapi_read_post
_php_apache_sapi_read_post:             ## @php_apache_sapi_read_post
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	_server_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SG
	movq	(%rax), %r15
	movq	8(%rax), %rbx
	movq	%r14, -48(%rbp)
	movl	(%rbx), %edi
	movq	_AP_MODE_READBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_APR_BLOCK_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movq	%r14, %r8
	callq	_ap_get_brigade
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_apr_brigade_flatten
	movq	%r15, %rdi
	callq	_apr_brigade_cleanup
	movq	-48(%rbp), %rax
	addq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r14, %rbx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %r12
	movq	%r14, %r8
	subq	%rbx, %r8
	movq	%r8, -48(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_AP_MODE_READBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_APR_BLOCK_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	callq	_ap_get_brigade
	cmpq	(%r13), %rax
	je	LBB0_3
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_server_context,4,2             ## @server_context
	.comm	_AP_MODE_READBYTES,4,2          ## @AP_MODE_READBYTES
	.comm	_APR_BLOCK_READ,4,2             ## @APR_BLOCK_READ
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.no_dead_strip	_php_apache_sapi_read_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_apache_sapi_read_post
_php_apache_sapi_read_post:             ; @php_apache_sapi_read_post
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _server_context@GOTPAGE
Lloh1:
	ldr	x8, [x8, _server_context@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SG
	ldp	x21, x23, [x0]
	str	x19, [sp, #8]
	ldr	w0, [x23]
Lloh3:
	adrp	x24, _AP_MODE_READBYTES@GOTPAGE
Lloh4:
	ldr	x24, [x24, _AP_MODE_READBYTES@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh5:
	adrp	x25, _APR_BLOCK_READ@GOTPAGE
Lloh6:
	ldr	x25, [x25, _APR_BLOCK_READ@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x1, x21
	mov	x4, x19
	bl	_ap_get_brigade
Lloh7:
	adrp	x26, _APR_SUCCESS@GOTPAGE
Lloh8:
	ldr	x26, [x26, _APR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_apr_brigade_flatten
	mov	x0, x21
	bl	_apr_brigade_cleanup
	ldr	x8, [sp, #8]
	add	x22, x8, x22
	cmp	x8, #0
	ccmp	x22, x19, #4, ne
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, x8
	sub	x4, x19, x22
	str	x4, [sp, #8]
	ldr	w0, [x23]
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x1, x21
	bl	_ap_get_brigade
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x22, #0
LBB0_5:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_server_context,4,2             ; @server_context
	.comm	_AP_MODE_READBYTES,4,2          ; @AP_MODE_READBYTES
	.comm	_APR_BLOCK_READ,4,2             ; @APR_BLOCK_READ
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.no_dead_strip	_php_apache_sapi_read_post
.subsections_via_symbols
