	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_False@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_LzmaEnc_CodeOneBlock
	movq	%rax, %r14
	movq	_SZ_OK@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.1:
	cmpq	$0, (%r12)
	je	LBB0_2
LBB0_8:
	movq	%r12, %rdi
	callq	_LzmaEnc_Finish
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	8(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %r13
	movq	(%rbx), %r15
	movl	12(%r12), %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_RangeEnc_GetProcessed
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	*%r15
	movq	%r13, %r15
	movq	_SZ_OK@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_LzmaEnc_CodeOneBlock
	movq	%rax, %r14
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%r12)
	je	LBB0_4
	jmp	LBB0_8
LBB0_6:
	movq	_SZ_ERROR_PROGRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_OK,8,3                      ## @SZ_OK
	.comm	_False,4,2                      ## @False
	.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	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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _False@GOTPAGE
Lloh1:
	ldr	x23, [x23, _False@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w2, #0
	mov	w3, #0
	bl	_LzmaEnc_CodeOneBlock
	mov	x22, x0
Lloh2:
	adrp	x24, _SZ_OK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SZ_OK@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x21, x19
	ldr	x8, [x21], #8
	cbz	x8, LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_LzmaEnc_Finish
	mov	x0, x22
	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_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x25, [x20]
	ldr	w22, [x19, #12]
	mov	x0, x21
	bl	_RangeEnc_GetProcessed
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	blr	x25
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_LzmaEnc_CodeOneBlock
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_3
	b	LBB0_2
LBB0_7:
Lloh4:
	adrp	x8, _SZ_ERROR_PROGRESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SZ_ERROR_PROGRESS@GOTPAGEOFF]
Lloh6:
	ldr	x22, [x8]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.comm	_False,4,2                      ; @False
	.comm	_SZ_ERROR_PROGRESS,8,3          ; @SZ_ERROR_PROGRESS
	.no_dead_strip	_LzmaEnc_Encode2
.subsections_via_symbols
