	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Lzma2State_SetFromMethod
_Lzma2State_SetFromMethod:              ## @Lzma2State_SetFromMethod
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	24(%rdi), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %r12
	movl	%ecx, %edi
	movl	$24, %esi
	callq	_ISzAlloc_Alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, 24(%r12)
	movq	_Lzma2State_Free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_Lzma2State_SetProps@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_Lzma2State_Init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	_Lzma2State_Code2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	$0, (%r12)
	movq	%rbx, %rdi
	callq	_Lzma2Dec_Construct
LBB0_4:
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movq	_True@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	%r15, 8(%rbx)
	movq	%r14, (%rbx)
	jmp	LBB0_6
LBB0_2:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_ERROR_MEM,4,2               ## @SZ_ERROR_MEM
	.comm	_Lzma2State_Free,4,2            ## @Lzma2State_Free
	.comm	_Lzma2State_SetProps,4,2        ## @Lzma2State_SetProps
	.comm	_Lzma2State_Init,4,2            ## @Lzma2State_Init
	.comm	_Lzma2State_Code2,4,2           ## @Lzma2State_Code2
	.comm	_False,4,2                      ## @False
	.comm	_True,4,2                       ## @True
	.comm	_SZ_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_Lzma2State_SetFromMethod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Lzma2State_SetFromMethod
_Lzma2State_SetFromMethod:              ; @Lzma2State_SetFromMethod
	.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	x19, x2
	mov	x20, x1
	ldr	x21, [x0, #24]
	cbnz	x21, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x0, x3
	mov	w1, #24
	bl	_ISzAlloc_Alloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
	str	x0, [x22, #24]
Lloh0:
	adrp	x8, _Lzma2State_Free@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Lzma2State_Free@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _Lzma2State_SetProps@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Lzma2State_SetProps@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #16]
Lloh6:
	adrp	x8, _Lzma2State_Init@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Lzma2State_Init@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _Lzma2State_Code2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _Lzma2State_Code2@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #8]
	str	xzr, [x22]
	bl	_Lzma2Dec_Construct
LBB0_3:
Lloh12:
	adrp	x8, _False@GOTPAGE
Lloh13:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	cbz	x20, LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _True@GOTPAGE
Lloh16:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	stp	x19, x20, [x21]
LBB0_5:
Lloh18:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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
LBB0_7:
Lloh20:
	adrp	x8, _SZ_ERROR_MEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_ERROR_MEM,4,2               ; @SZ_ERROR_MEM
	.comm	_Lzma2State_Free,4,2            ; @Lzma2State_Free
	.comm	_Lzma2State_SetProps,4,2        ; @Lzma2State_SetProps
	.comm	_Lzma2State_Init,4,2            ; @Lzma2State_Init
	.comm	_Lzma2State_Code2,4,2           ; @Lzma2State_Code2
	.comm	_False,4,2                      ; @False
	.comm	_True,4,2                       ; @True
	.comm	_SZ_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_Lzma2State_SetFromMethod
.subsections_via_symbols
