	.file	"extr_LzmaEnc.c_LzmaEnc_Encode2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	LzmaEnc_Encode2, @function
LzmaEnc_Encode2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	cmp	QWORD PTR 8[rbp], 0
	jne	.L2
	test	rbx, rbx
	jne	.L10
.L3:
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	LzmaEnc_CodeOneBlock@PLT
	cmp	QWORD PTR SZ_OK[rip], rax
	mov	r12, rax
	je	.L11
.L2:
	mov	rdi, rbp
	call	LzmaEnc_Finish@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	mov	r12, QWORD PTR [rbx]
	call	RangeEnc_GetProcessed@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, rbx
	mov	edx, eax
	call	r12
	cmp	QWORD PTR SZ_OK[rip], rax
	je	.L3
	mov	r12, QWORD PTR SZ_ERROR_PROGRESS[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	LzmaEnc_Encode2, .-LzmaEnc_Encode2
	.comm	SZ_OK,8,8
	.comm	SZ_ERROR_PROGRESS,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_LzmaEnc.c_LzmaEnc_Encode2.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LzmaEnc_Encode2, %function
LzmaEnc_Encode2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r1
	ldr	r7, .L12
	b	.L3
.L11:
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L2
	cmp	r6, #0
	bne	.L10
.L3:
	mov	r3, #0
	mov	r0, r5
	mov	r2, r3
	mov	r1, r3
	bl	LzmaEnc_CodeOneBlock
	ldr	r3, [r7]
	mov	r4, r0
	cmp	r3, r0
	beq	.L11
.L2:
	mov	r0, r5
	bl	LzmaEnc_Finish
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r5
	ldr	r8, [r5, #4]
	ldr	r4, [r6]
	bl	RangeEnc_GetProcessed
	mov	r1, r8
	mov	r2, r0
	mov	r0, r6
	blx	r4
	ldr	r3, [r7]
	cmp	r3, r0
	beq	.L3
	ldr	r3, .L12+4
	ldr	r4, [r3]
	b	.L2
.L13:
	.align	2
.L12:
	.word	SZ_OK
	.word	SZ_ERROR_PROGRESS
	.size	LzmaEnc_Encode2, .-LzmaEnc_Encode2
	.comm	SZ_OK,4,4
	.comm	SZ_ERROR_PROGRESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
