	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LzmaEnc_Encode2
_LzmaEnc_Encode2:                       ## @LzmaEnc_Encode2
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LzmaEnc_CodeOneBlock
	movq	%rax, %rbx
	movq	_SZ_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r15)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %ebx
	movq	%r15, %rdi
	callq	_RangeEnc_GetProcessed
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_ICompressProgress_Progress
	cmpq	(%r12), %rax
	jne	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LzmaEnc_CodeOneBlock
	movq	%rax, %rbx
	cmpq	(%r12), %rax
	je	LBB0_2
LBB0_6:
	movq	%r15, %rdi
	callq	_LzmaEnc_Finish
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_SZ_ERROR_PROGRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_OK,8,3                      ## @SZ_OK
	.comm	_SZ_ERROR_PROGRESS,8,3          ## @SZ_ERROR_PROGRESS
	.no_dead_strip	_LzmaEnc_Encode2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LzmaEnc_Encode2
_LzmaEnc_Encode2:                       ; @LzmaEnc_Encode2
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #0
	bl	_LzmaEnc_CodeOneBlock
	mov	x21, x0
Lloh0:
	adrp	x22, _SZ_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SZ_OK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	x20, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w21, [x19, #4]
	mov	x0, x19
	bl	_RangeEnc_GetProcessed
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_ICompressProgress_Progress
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_LzmaEnc_CodeOneBlock
	mov	x21, x0
	b	LBB0_1
LBB0_6:
Lloh2:
	adrp	x8, _SZ_ERROR_PROGRESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SZ_ERROR_PROGRESS@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
LBB0_7:
	mov	x0, x19
	bl	_LzmaEnc_Finish
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.comm	_SZ_ERROR_PROGRESS,8,3          ; @SZ_ERROR_PROGRESS
	.no_dead_strip	_LzmaEnc_Encode2
.subsections_via_symbols
