	.file	"extr_filters.c_php_chunked_filter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	php_chunked_filter, @function
php_chunked_filter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rsi]
	call	Z_PTR@PLT
	mov	rdi, QWORD PTR [r12]
	test	rdi, rdi
	je	.L5
	mov	r13, rax
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	call	php_stream_bucket_make_writeable@PLT
	mov	rdx, r13
	mov	rsi, QWORD PTR [rax]
	mov	edi, DWORD PTR 8[rax]
	mov	rbp, rax
	add	rbx, rsi
	call	php_dechunk@PLT
	mov	rdi, r14
	mov	rsi, rbp
	mov	QWORD PTR 0[rbp], rax
	call	php_stream_bucket_append@PLT
	mov	rdi, QWORD PTR [r12]
	test	rdi, rdi
	jne	.L3
.L2:
	test	r15, r15
	je	.L4
	mov	QWORD PTR [r15], rbx
.L4:
	mov	eax, DWORD PTR PSFS_PASS_ON[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	ebx, ebx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	php_chunked_filter, .-php_chunked_filter
	.comm	PSFS_PASS_ON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_filters.c_php_chunked_filter.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	php_chunked_filter, %function
php_chunked_filter:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r0, [r1]
	mov	r6, r2
	mov	r8, r3
	ldr	r9, [sp, #32]
	bl	Z_PTR
	mov	r7, r0
	ldr	r0, [r6]
	cmp	r0, #0
	beq	.L5
	mov	r5, #0
.L3:
	bl	php_stream_bucket_make_writeable
	ldr	r1, [r0]
	mov	r4, r0
	mov	r2, r7
	ldr	r0, [r0, #4]
	add	r5, r5, r1
	bl	php_dechunk
	mov	r1, r4
	str	r0, [r4]
	mov	r0, r8
	bl	php_stream_bucket_append
	ldr	r0, [r6]
	cmp	r0, #0
	bne	.L3
.L2:
	ldr	r3, .L12
	cmp	r9, #0
	ldr	r0, [r3]
	strne	r5, [r9]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	mov	r5, r0
	b	.L2
.L13:
	.align	2
.L12:
	.word	PSFS_PASS_ON
	.size	php_chunked_filter, .-php_chunked_filter
	.comm	PSFS_PASS_ON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
