	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzma_decompress
_lzma_decompress:                       ## @lzma_decompress
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r8
	movq	_workspace@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_lzma_state@GOTPCREL(%rip), %rdi
	movq	%rax, (%rdi)
	movq	_lzma_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_lzma_datasize@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_lzma_outsize@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	leaq	-32(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-28(%rbp), %rcx
	callq	_LzmaDecode
	movl	%eax, %r14d
	movq	_LZMA_RESULT_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_2
## %bb.1:
	movslq	-28(%rbp), %r8
	movq	%r8, %rdx
	shlq	$2, %rdx
	addq	(%r15), %rdx
	movl	(%rbx), %ecx
	movl	-32(%rbp), %r9d
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	4(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	8(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	12(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	16(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	20(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	24(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	28(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	32(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	36(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	40(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	44(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	48(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	52(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	56(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	(%r15), %rax
	movslq	-28(%rbp), %rcx
	movl	60(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
LBB0_2:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_workspace,8,3                  ## @workspace
	.comm	_lzma_state,8,3                 ## @lzma_state
	.comm	_lzma_data,8,3                  ## @lzma_data
	.comm	_lzma_datasize,4,2              ## @lzma_datasize
	.comm	_lzma_outsize,4,2               ## @lzma_outsize
	.comm	_LZMA_RESULT_OK,4,2             ## @LZMA_RESULT_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LzmaDecode error %d at %08x, osize:%d ip:%d op:%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%02x "

L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.no_dead_strip	_lzma_decompress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzma_decompress
_lzma_decompress:                       ; @lzma_decompress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x4, x0
Lloh0:
	adrp	x8, _workspace@GOTPAGE
Lloh1:
	ldr	x8, [x8, _workspace@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x0, _lzma_state@GOTPAGE
Lloh4:
	ldr	x0, [x0, _lzma_state@GOTPAGEOFF]
	str	x8, [x0]
Lloh5:
	adrp	x21, _lzma_data@GOTPAGE
Lloh6:
	ldr	x21, [x21, _lzma_data@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh7:
	adrp	x8, _lzma_datasize@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lzma_datasize@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x20, _lzma_outsize@GOTPAGE
Lloh11:
	ldr	x20, [x20, _lzma_outsize@GOTPAGEOFF]
	ldr	w5, [x20]
	sub	x3, x29, #36
	add	x6, sp, #40
	bl	_LzmaDecode
	mov	x19, x0
Lloh12:
	adrp	x8, _LZMA_RESULT_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LZMA_RESULT_OK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w10, [x20]
	ldr	w11, [sp, #40]
	stp	x9, x11, [sp, #24]
	stp	x8, x10, [sp, #8]
	str	x19, [sp]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	ldr	w8, [x8, x9, lsl #2]
	str	x8, [sp]
Lloh17:
	adrp	x20, l_.str.1@PAGE
Lloh18:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #4]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #8]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #12]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #16]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #20]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #24]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #28]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #32]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #36]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #40]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #44]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #48]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #52]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #56]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
	ldr	x8, [x21]
	ldursw	x9, [x29, #-36]
	add	x8, x8, x9, lsl #2
	ldr	w8, [x8, #60]
	str	x8, [sp]
	mov	x0, x20
	bl	_DBG
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DBG
LBB0_2:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_workspace,8,3                  ; @workspace
	.comm	_lzma_state,8,3                 ; @lzma_state
	.comm	_lzma_data,8,3                  ; @lzma_data
	.comm	_lzma_datasize,4,2              ; @lzma_datasize
	.comm	_lzma_outsize,4,2               ; @lzma_outsize
	.comm	_LZMA_RESULT_OK,4,2             ; @LZMA_RESULT_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LzmaDecode error %d at %08x, osize:%d ip:%d op:%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%02x "

l_.str.2:                               ; @.str.2
	.asciz	"\n"

	.no_dead_strip	_lzma_decompress
.subsections_via_symbols
