	.file	"extr_bzlib.c_copy_output_until_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	copy_output_until_stop, @function
copy_output_until_stop:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r9, QWORD PTR True[rip]
	mov	r8, QWORD PTR False[rip]
	test	r9, r9
	je	.L1
	mov	rax, QWORD PTR 16[rdi]
	mov	rsi, QWORD PTR [rax]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdx, QWORD PTR [rdi]
	cmp	rdx, QWORD PTR 8[rdi]
	jnb	.L1
	mov	r8, QWORD PTR 24[rdi]
	mov	rcx, QWORD PTR 24[rax]
	sub	rsi, 1
	mov	r8d, DWORD PTR [r8+rdx*4]
	add	rdx, 1
	add	rcx, 4
	mov	DWORD PTR -4[rcx], r8d
	mov	QWORD PTR [rdi], rdx
	add	QWORD PTR 8[rax], 1
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 24[rax], rcx
	jne	.L3
	add	DWORD PTR 16[rax], 1
.L3:
	mov	r8, r9
.L4:
	test	rsi, rsi
	jne	.L12
.L1:
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	copy_output_until_stop, .-copy_output_until_stop
	.comm	True,8,8
	.comm	False,8,8
	.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_bzlib.c_copy_output_until_stop.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_output_until_stop, %function
copy_output_until_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L14
	push	{r4, r5, lr}
	ldr	r5, [r2]
	ldr	r3, .L14+4
	cmp	r5, #0
	mov	r1, r0
	ldr	r0, [r3]
	popeq	{r4, r5, pc}
	ldr	r3, [r1, #8]
	ldr	ip, [r3]
.L4:
	cmp	ip, #0
	sub	ip, ip, #1
	popeq	{r4, r5, pc}
	ldr	lr, [r1]
	ldr	r2, [r1, #4]
	add	r4, lr, #1
	cmp	lr, r2
	popcs	{r4, r5, pc}
	ldr	r0, [r1, #12]
	ldr	r2, [r3, #4]
	ldr	lr, [r0, lr, lsl #2]
	ldr	r0, [r3, #12]
	add	r2, r2, #1
	str	lr, [r0], #4
	cmp	r2, #0
	str	r4, [r1]
	str	r2, [r3, #4]
	ldreq	r2, [r3, #8]
	str	r0, [r3, #12]
	addeq	r2, r2, #1
	mov	r0, r5
	str	ip, [r3]
	streq	r2, [r3, #8]
	b	.L4
.L15:
	.align	2
.L14:
	.word	True
	.word	False
	.size	copy_output_until_stop, .-copy_output_until_stop
	.comm	True,4,4
	.comm	False,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
