	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Lzma86_Decode                  ## -- Begin function Lzma86_Decode
	.p2align	4, 0x90
_Lzma86_Decode:                         ## @Lzma86_Decode
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	(%rcx), %rax
	movq	_LZMA86_HEADER_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	subq	%rcx, %rax
	jge	LBB0_2
## %bb.1:
	movq	_SZ_ERROR_INPUT_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_2:
	movq	%rdx, %r8
	movq	%rsi, %r15
	movl	(%rdx), %r12d
	cmpl	$2, %r12d
	jl	LBB0_4
## %bb.3:
	movq	$0, (%r15)
	movq	_SZ_ERROR_UNSUPPORTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_4:
	movq	%rdi, %r14
	movq	%rax, -48(%rbp)
	leaq	(%r8,%rcx,4), %rdx
	addq	$4, %r8
	movq	_LZMA_PROPS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_LZMA_FINISH_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	_g_Alloc@GOTPCREL(%rip), %r10
	leaq	-56(%rbp), %r11
	leaq	-48(%rbp), %rcx
	movq	%r15, %rsi
	pushq	%r10
	pushq	%r11
	pushq	%rax
	callq	_LzmaDecode
	addq	$32, %rsp
	movq	(%r13), %rcx
	addq	-48(%rbp), %rcx
	movq	%rcx, (%rbx)
	movq	_SZ_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.5:
	cmpl	$1, %r12d
	jne	LBB0_7
## %bb.6:
	callq	_x86_Convert_Init
	movq	(%r15), %rsi
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_x86_Convert
	movq	(%rbx), %rax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA86_HEADER_SIZE,8,3         ## @LZMA86_HEADER_SIZE
	.comm	_SZ_ERROR_INPUT_EOF,8,3         ## @SZ_ERROR_INPUT_EOF
	.comm	_SZ_ERROR_UNSUPPORTED,8,3       ## @SZ_ERROR_UNSUPPORTED
	.comm	_LZMA_PROPS_SIZE,4,2            ## @LZMA_PROPS_SIZE
	.comm	_LZMA_FINISH_ANY,4,2            ## @LZMA_FINISH_ANY
	.comm	_g_Alloc,4,2                    ## @g_Alloc
	.comm	_SZ_OK,8,3                      ## @SZ_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Lzma86_Decode                  ; -- Begin function Lzma86_Decode
	.p2align	2
_Lzma86_Decode:                         ; @Lzma86_Decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x9, [x3]
Lloh0:
	adrp	x22, _LZMA86_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LZMA86_HEADER_SIZE@GOTPAGEOFF]
	ldr	x8, [x22]
	subs	x9, x9, x8
	b.ge	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _SZ_ERROR_INPUT_EOF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SZ_ERROR_INPUT_EOF@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_6
LBB0_2:
	mov	x20, x1
	ldr	w23, [x2]
	cmp	w23, #2
	b.lt	LBB0_4
; %bb.3:
	str	xzr, [x20]
Lloh5:
	adrp	x8, _SZ_ERROR_UNSUPPORTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SZ_ERROR_UNSUPPORTED@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	b	LBB0_6
LBB0_4:
	mov	x21, x3
	mov	x19, x0
	str	x9, [sp, #24]
	add	x8, x2, x8, lsl #2
	add	x4, x2, #4
Lloh8:
	adrp	x9, _LZMA_PROPS_SIZE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LZMA_PROPS_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x9]
Lloh11:
	adrp	x9, _LZMA_FINISH_ANY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LZMA_FINISH_ANY@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x9]
Lloh14:
	adrp	x9, _g_Alloc@GOTPAGE
Lloh15:
	ldr	x9, [x9, _g_Alloc@GOTPAGEOFF]
	str	x9, [sp]
	add	x3, sp, #24
	add	x7, sp, #20
	mov	x1, x20
	mov	x2, x8
	bl	_LzmaDecode
	ldr	x8, [sp, #24]
	ldr	x9, [x22]
	add	x8, x9, x8
	str	x8, [x21]
Lloh16:
	adrp	x21, _SZ_OK@GOTPAGE
Lloh17:
	ldr	x21, [x21, _SZ_OK@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	ccmp	w23, #1, #0, eq
	b.ne	LBB0_6
; %bb.5:
	bl	_x86_Convert_Init
	ldr	x1, [x20]
	add	x3, sp, #16
	mov	x0, x19
	mov	w2, #0
	mov	w4, #0
	bl	_x86_Convert
	ldr	x0, [x21]
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA86_HEADER_SIZE,8,3         ; @LZMA86_HEADER_SIZE
	.comm	_SZ_ERROR_INPUT_EOF,8,3         ; @SZ_ERROR_INPUT_EOF
	.comm	_SZ_ERROR_UNSUPPORTED,8,3       ; @SZ_ERROR_UNSUPPORTED
	.comm	_LZMA_PROPS_SIZE,4,2            ; @LZMA_PROPS_SIZE
	.comm	_LZMA_FINISH_ANY,4,2            ; @LZMA_FINISH_ANY
	.comm	_g_Alloc,4,2                    ; @g_Alloc
	.comm	_SZ_OK,8,3                      ; @SZ_OK
.subsections_via_symbols
