	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SzDecodeLzma2
_SzDecodeLzma2:                         ## @SzDecodeLzma2
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	-104(%rbp), %rdi
	callq	_Lzma2Dec_Construct
	cmpl	$1, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_Lzma2Dec_AllocateProbs
	movl	%eax, %edi
	callq	_RINOK
	movq	%r14, -88(%rbp)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, -104(%rbp)
	movq	%rbx, %rdi
	callq	_Lzma2Dec_Init
	movq	$0, -64(%rbp)
	cmpq	$262144, %r13                   ## imm = 0x40000
	movl	$262144, %eax                   ## imm = 0x40000
	cmovbq	%r13, %rax
	movq	%rax, -48(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	*8(%r15)
	movq	%r12, %rcx
	movq	%rax, %r12
	movq	_SZ_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_19
## %bb.3:
	movq	%r14, %rsi
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	-96(%rbp), %r15
	movq	-64(%rbp), %rdx
	movq	_LZMA_FINISH_END@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-104(%rbp), %rdi
	leaq	-80(%rbp), %rcx
	leaq	-120(%rbp), %r9
	callq	_Lzma2Dec_DecodeToDic
	movq	%rax, %r12
	movq	-80(%rbp), %r14
	movq	-48(%rbp), %rax
	movq	%rax, %rcx
	subq	%r14, %rcx
	movq	%rcx, -48(%rbp)
	cmpq	(%rbx), %r12
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-104(%rbp), %rcx
	movq	-96(%rbp), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%r14, %r14
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdx, %r15
	je	LBB0_9
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r15
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rbx)
	cmpq	(%r15), %rax
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	subq	%r14, %r13
	movq	$0, -64(%rbp)
	cmpq	$262144, %r13                   ## imm = 0x40000
	movl	$262144, %eax                   ## imm = 0x40000
	cmovbq	%r13, %rax
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	*8(%rbx)
	cmpq	(%r15), %rax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rbx
	je	LBB0_4
## %bb.18:
	movq	%rax, %r12
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_19:
	movq	%rcx, %rsi
	jmp	LBB0_20
LBB0_1:
	movq	_SZ_ERROR_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_21
LBB0_6:
	movq	%rdx, %rcx
	jmp	LBB0_10
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	jne	LBB0_13
## %bb.11:
	cmpq	%r14, %rax
	jne	LBB0_13
## %bb.12:
	movq	-120(%rbp), %rax
	movq	_LZMA_STATUS_FINISHED_WITH_MARK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_20
LBB0_13:
	movq	_SZ_ERROR_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_20
LBB0_15:
	movq	%rax, %r12
LBB0_16:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_20:
	leaq	-104(%rbp), %rdi
	callq	_Lzma2Dec_FreeProbs
LBB0_21:
	movq	%r12, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_OK,8,3                      ## @SZ_OK
	.comm	_SZ_ERROR_DATA,8,3              ## @SZ_ERROR_DATA
	.comm	_LZMA_FINISH_END,4,2            ## @LZMA_FINISH_END
	.comm	_LZMA_STATUS_FINISHED_WITH_MARK,8,3 ## @LZMA_STATUS_FINISHED_WITH_MARK
	.no_dead_strip	_SzDecodeLzma2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SzDecodeLzma2
_SzDecodeLzma2:                         ; @SzDecodeLzma2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
	add	x0, sp, #40
	bl	_Lzma2Dec_Construct
	ldr	w8, [x24]
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.1:
	ldr	x8, [x24, #8]
	ldr	w1, [x8]
	add	x0, sp, #40
	mov	x2, x19
	bl	_Lzma2Dec_AllocateProbs
	bl	_RINOK
	str	x23, [sp, #56]
	str	x20, [sp, #40]
	add	x0, sp, #40
	bl	_Lzma2Dec_Init
	mov	w8, #262144
	cmp	x22, #64, lsl #12               ; =262144
	csel	x8, x22, x8, lo
	stp	x8, xzr, [sp, #24]
	ldr	x8, [x21, #8]
	add	x1, sp, #32
	add	x2, sp, #24
	mov	x0, x21
	blr	x8
	mov	x23, x0
Lloh0:
	adrp	x25, _SZ_OK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SZ_OK@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.2:
Lloh2:
	adrp	x26, _LZMA_FINISH_END@GOTPAGE
Lloh3:
	ldr	x26, [x26, _LZMA_FINISH_END@GOTPAGEOFF]
	mov	w27, #262144
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x2, [sp, #24]
	str	x8, [sp, #16]
	ldr	x28, [sp, #48]
	ldr	w4, [x26]
	add	x0, sp, #40
	add	x3, sp, #16
	add	x5, sp, #8
	mov	x1, x20
	bl	_Lzma2Dec_DecodeToDic
	mov	x23, x0
	ldp	x24, x8, [sp, #16]
	sub	x9, x8, x24
	str	x9, [sp, #24]
	ldr	x9, [x25]
	cmp	x0, x9
	b.ne	LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x10, x9, [sp, #40]
	cmp	x9, x10
	b.eq	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x24, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x28, x9
	b.eq	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	mov	x0, x21
	mov	x1, x24
	blr	x8
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x22, x22, x24
	cmp	x22, #64, lsl #12               ; =262144
	csel	x8, x22, x27, lo
	stp	x8, xzr, [sp, #24]
	ldr	x8, [x21, #8]
	add	x1, sp, #32
	add	x2, sp, #24
	mov	x0, x21
	blr	x8
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_3
LBB0_9:
	mov	x23, x0
	b	LBB0_16
LBB0_10:
Lloh4:
	adrp	x8, _SZ_ERROR_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SZ_ERROR_DATA@GOTPAGEOFF]
Lloh6:
	ldr	x23, [x8]
	b	LBB0_17
LBB0_11:
	mov	x24, #0
	mov	x9, x10
LBB0_12:
	cmp	x9, x20
	b.ne	LBB0_15
; %bb.13:
	cmp	x8, x24
	b.ne	LBB0_15
; %bb.14:
	ldr	x8, [sp, #8]
Lloh7:
	adrp	x9, _LZMA_STATUS_FINISHED_WITH_MARK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LZMA_STATUS_FINISHED_WITH_MARK@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
LBB0_15:
Lloh10:
	adrp	x8, _SZ_ERROR_DATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SZ_ERROR_DATA@GOTPAGEOFF]
Lloh12:
	ldr	x23, [x8]
LBB0_16:
	add	x0, sp, #40
	mov	x1, x19
	bl	_Lzma2Dec_FreeProbs
LBB0_17:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.comm	_SZ_ERROR_DATA,8,3              ; @SZ_ERROR_DATA
	.comm	_LZMA_FINISH_END,4,2            ; @LZMA_FINISH_END
	.comm	_LZMA_STATUS_FINISHED_WITH_MARK,8,3 ; @LZMA_STATUS_FINISHED_WITH_MARK
	.no_dead_strip	_SzDecodeLzma2
.subsections_via_symbols
