	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Lzma2DecMt_MtCallback_PreCode
_Lzma2DecMt_MtCallback_PreCode:         ## @Lzma2DecMt_MtCallback_PreCode
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	movl	%esi, %eax
	leaq	(%rax,%rax,8), %rbx
	cmpq	$0, (%r15,%rbx,8)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	leaq	(%r15,%rbx,8), %r12
	addq	$56, %r12
	movq	56(%r15,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	16(%r15,%rbx,8), %rcx
	cmpq	%rcx, 8(%r15,%rbx,8)
	jge	LBB0_9
## %bb.4:
	leaq	(%r15,%rbx,8), %r13
	addq	$8, %r13
	movl	4(%r14), %edi
	movq	%rax, %rsi
	callq	_ISzAlloc_Free
	movq	$0, (%r12)
	movq	$0, (%r13)
LBB0_5:
	movl	4(%r14), %edi
	movq	16(%r15,%rbx,8), %rsi
	callq	_ISzAlloc_Alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	leaq	(%r15,%rbx,8), %rcx
	addq	$16, %rcx
	movq	%rax, (%r12)
	movq	(%rcx), %rcx
	movq	%rcx, 8(%r15,%rbx,8)
LBB0_9:
	leaq	(%r15,%rbx,8), %rdi
	addq	$32, %rdi
	movq	%rax, 40(%r15,%rbx,8)
	movq	%rcx, 32(%r15,%rbx,8)
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15,%rbx,8)
	movl	(%r14), %esi
	leaq	(%r15,%rbx,8), %rdx
	addq	$24, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Lzma2Dec_AllocateProbs         ## TAILCALL
LBB0_1:
	movq	_SZ_ERROR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15,%rbx,8)
	jmp	LBB0_7
LBB0_6:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_ERROR_DATA,4,2              ## @SZ_ERROR_DATA
	.comm	_SZ_ERROR_MEM,4,2               ## @SZ_ERROR_MEM
	.comm	_True,4,2                       ## @True
	.no_dead_strip	_Lzma2DecMt_MtCallback_PreCode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Lzma2DecMt_MtCallback_PreCode
_Lzma2DecMt_MtCallback_PreCode:         ; @Lzma2DecMt_MtCallback_PreCode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, [x0, #8]
	mov	w21, w1
	mov	w8, #72
	umull	x9, w1, w8
	ldr	x9, [x20, x9]
	cbz	x9, LBB0_7
; %bb.1:
	mov	x19, x0
	umaddl	x22, w1, w8, x20
	ldr	x1, [x22, #56]!
	cbz	x1, LBB0_4
; %bb.2:
	mov	w8, #72
	madd	x23, x21, x8, x20
	ldp	x9, x8, [x23, #8]!
	cmp	x9, x8
	b.ge	LBB0_6
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_ISzAlloc_Free
	str	xzr, [x22]
	str	xzr, [x23]
LBB0_4:
	ldr	w0, [x19, #4]
	mov	w8, #72
	madd	x23, x21, x8, x20
	ldr	x1, [x23, #16]!
	bl	_ISzAlloc_Alloc
	cbz	x0, LBB0_8
; %bb.5:
	mov	x1, x0
	str	x0, [x22]
	ldr	x8, [x23]
	mov	w9, #72
	madd	x9, x21, x9, x20
	str	x8, [x9, #8]
LBB0_6:
	mov	w9, #72
	madd	x0, x21, x9, x20
	stp	x8, x1, [x0, #32]!
Lloh0:
	adrp	x8, _True@GOTPAGE
Lloh1:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	ldr	w1, [x19]
	sub	x2, x0, #8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_Lzma2Dec_AllocateProbs
LBB0_7:
Lloh3:
	adrp	x8, _SZ_ERROR_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SZ_ERROR_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w8, #72
	madd	x8, x21, x8, x20
	str	w0, [x8, #64]
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _SZ_ERROR_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_ERROR_DATA,4,2              ; @SZ_ERROR_DATA
	.comm	_SZ_ERROR_MEM,4,2               ; @SZ_ERROR_MEM
	.comm	_True,4,2                       ; @True
	.no_dead_strip	_Lzma2DecMt_MtCallback_PreCode
.subsections_via_symbols
