	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function consumed_filter_filter
_consumed_filter_filter:                ## @consumed_filter_filter
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rdi, %r15
	movl	(%rsi), %edi
	callq	_Z_PTR
	movq	%rax, %r13
	cmpl	$-1, 8(%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_php_stream_tell
	movl	%eax, 8(%r13)
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r15
	xorl	%r12d, %r12d
	testq	%r15, %r15
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_php_stream_bucket_unlink
	addq	(%r15), %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_php_stream_bucket_append
	movq	(%r14), %r15
	testq	%r15, %r15
	jne	LBB0_3
LBB0_5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r12, (%rax)
LBB0_7:
	movq	_PSFS_FLAG_FLUSH_CLOSE@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	movslq	8(%r13), %rsi
	addq	(%r13), %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_php_stream_seek
LBB0_9:
	addq	%r12, (%r13)
	movq	_PSFS_PASS_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSFS_FLAG_FLUSH_CLOSE,4,2      ## @PSFS_FLAG_FLUSH_CLOSE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_PSFS_PASS_ON,4,2               ## @PSFS_PASS_ON
	.no_dead_strip	_consumed_filter_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function consumed_filter_filter
_consumed_filter_filter:                ; @consumed_filter_filter
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x0
	ldr	w0, [x1]
	bl	_Z_PTR
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmn	w8, #1
	b.eq	LBB0_9
; %bb.1:
	ldr	x25, [x24]
	cbz	x25, LBB0_10
LBB0_2:
	mov	x26, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_php_stream_bucket_unlink
	ldr	x8, [x25]
	add	x26, x8, x26
	mov	x0, x23
	mov	x1, x25
	bl	_php_stream_bucket_append
	ldr	x25, [x24]
	cbnz	x25, LBB0_3
; %bb.4:
	cbz	x22, LBB0_6
LBB0_5:
	str	x26, [x22]
LBB0_6:
Lloh0:
	adrp	x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	ldrsw	x8, [x19, #8]
	ldr	x9, [x19]
	add	x1, x9, x8
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_php_stream_seek
LBB0_8:
	ldr	x8, [x19]
	add	x8, x8, x26
	str	x8, [x19]
Lloh6:
	adrp	x8, _PSFS_PASS_ON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSFS_PASS_ON@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	bl	_php_stream_tell
	str	w0, [x19, #8]
	ldr	x25, [x24]
	cbnz	x25, LBB0_2
LBB0_10:
	mov	x26, #0
	cbnz	x22, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PSFS_FLAG_FLUSH_CLOSE,4,2      ; @PSFS_FLAG_FLUSH_CLOSE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_PSFS_PASS_ON,4,2               ; @PSFS_PASS_ON
	.no_dead_strip	_consumed_filter_filter
.subsections_via_symbols
