	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Lzma2Dec_Prepare_ST
_Lzma2Dec_Prepare_ST:                   ## @Lzma2Dec_Prepare_ST
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 48(%rdi)
	jne	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rdi
	callq	_Lzma2Dec_Construct
	movq	_True@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
LBB0_2:
	leaq	8(%rbx), %r14
	movl	40(%rbx), %esi
	leaq	36(%rbx), %rdx
	movq	%r14, %rdi
	callq	_Lzma2Dec_Allocate
	movl	%eax, %edi
	callq	_RINOK
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_7
LBB0_4:
	movl	32(%rbx), %edi
	callq	_ISzAlloc_Free
	movq	$0, (%rbx)
	movl	32(%rbx), %edi
	movq	16(%rbx), %rsi
	callq	_ISzAlloc_Alloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	16(%rbx), %rax
	movq	%rax, (%rbx)
LBB0_7:
	movq	%r14, %rdi
	callq	_Lzma2Dec_Init
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_True,8,3                       ## @True
	.comm	_SZ_ERROR_MEM,4,2               ## @SZ_ERROR_MEM
	.comm	_SZ_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_Lzma2Dec_Prepare_ST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Lzma2Dec_Prepare_ST
_Lzma2Dec_Prepare_ST:                   ; @Lzma2Dec_Prepare_ST
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #48]
	cbnz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #8
	bl	_Lzma2Dec_Construct
Lloh0:
	adrp	x8, _True@GOTPAGE
Lloh1:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #48]
LBB0_2:
	add	x20, x19, #8
	ldr	w1, [x19, #40]
	add	x2, x19, #36
	mov	x0, x20
	bl	_Lzma2Dec_Allocate
	bl	_RINOK
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_4:
	ldr	w0, [x19, #32]
	bl	_ISzAlloc_Free
	str	xzr, [x19]
	ldr	w0, [x19, #32]
	ldr	x1, [x19, #16]
	bl	_ISzAlloc_Alloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #16]
	str	x8, [x19]
LBB0_6:
	mov	x0, x20
	bl	_Lzma2Dec_Init
Lloh3:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _SZ_ERROR_MEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_True,8,3                       ; @True
	.comm	_SZ_ERROR_MEM,4,2               ; @SZ_ERROR_MEM
	.comm	_SZ_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_Lzma2Dec_Prepare_ST
.subsections_via_symbols
