	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XzDecMt_Callback_PreCode
_XzDecMt_Callback_PreCode:              ## @XzDecMt_Callback_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	24(%rdi), %r12
	movl	%esi, %eax
	leaq	(%rax,%rax,2), %rbx
	shlq	$4, %rbx
	cmpl	$0, 40(%r12,%rbx)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	leaq	(%r12,%rbx), %r13
	leaq	(%r12,%rbx), %r15
	addq	$24, %r15
	movq	24(%r12,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	(%r13), %rdx
	cmpq	8(%r12,%rbx), %rdx
	jae	LBB0_8
## %bb.3:
	movl	16(%r14), %edi
	callq	_ISzAlloc_Free
	movq	$0, (%r15)
	movq	$0, (%r13)
LBB0_4:
	movq	8(%r12,%rbx), %rax
	testq	%rax, %rax
	movl	$1, %esi
	cmovneq	%rax, %rsi
	movl	16(%r14), %edi
	callq	_ISzAlloc_Alloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %rsi
	leaq	(%r12,%rbx), %rax
	addq	$8, %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, (%r15)
	movq	(%rax), %rdx
	movq	%rdx, (%r13)
	cmpq	(%r14), %rdx
	jbe	LBB0_9
## %bb.6:
	movq	%rdx, (%r14)
	jmp	LBB0_9
LBB0_7:
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
LBB0_9:
	leaq	(%r12,%rbx), %r15
	addq	$32, %r15
	movq	%r15, %rdi
	callq	_XzUnpacker_SetOutBuf
	leaq	(%r12,%rbx), %rdi
	addq	$36, %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	(%r13), %rcx
	movq	%r15, %rsi
	callq	_XzDecMix_Init
	movq	%rax, 16(%r12,%rbx)
	movq	_SZ_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.10:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rdx
	movq	%rax, %rcx
	cmpq	(%rdx), %rax
	je	LBB0_12
## %bb.11:
	movq	_S_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_12:
	cmpq	$0, 8(%r14)
	cmovneq	%rcx, %rax
	jmp	LBB0_15
LBB0_13:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rax
LBB0_14:
	movq	(%rax), %rax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_OK,8,3                      ## @SZ_OK
	.comm	_SZ_ERROR_MEM,8,3               ## @SZ_ERROR_MEM
	.comm	_S_OK,8,3                       ## @S_OK
	.no_dead_strip	_XzDecMt_Callback_PreCode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XzDecMt_Callback_PreCode
_XzDecMt_Callback_PreCode:              ; @XzDecMt_Callback_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	x22, [x0, #24]
	mov	w8, #48
	umaddl	x21, w1, w8, x22
	ldr	w8, [x21, #40]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	w23, w1
	mov	w8, #48
	madd	x24, x23, x8, x22
	ldr	x1, [x24, #24]!
	cbz	x1, LBB0_4
; %bb.2:
	ldr	x2, [x21]
	mov	w8, #48
	madd	x8, x23, x8, x22
	ldr	x8, [x8, #8]
	cmp	x2, x8
	b.hs	LBB0_7
; %bb.3:
	ldr	w0, [x19, #16]
	bl	_ISzAlloc_Free
	str	xzr, [x24]
	str	xzr, [x21]
LBB0_4:
	mov	w8, #48
	madd	x20, x23, x8, x22
	ldr	x8, [x20, #8]!
	cmp	x8, #0
	csinc	x1, x8, xzr, ne
	ldr	w0, [x19, #16]
	bl	_ISzAlloc_Alloc
	cbz	x0, LBB0_10
; %bb.5:
	mov	x1, x0
	str	x0, [x24]
	ldr	x2, [x20]
	str	x2, [x21]
	ldr	x8, [x19]
	cmp	x2, x8
	b.ls	LBB0_7
; %bb.6:
	str	x2, [x19]
LBB0_7:
	add	x20, x21, #32
	mov	x0, x20
	bl	_XzUnpacker_SetOutBuf
	mov	w8, #48
	madd	x22, x23, x8, x22
	add	x0, x22, #36
	ldr	x2, [x24]
	ldr	x3, [x21]
	mov	x1, x20
	bl	_XzDecMix_Init
	str	x0, [x22, #16]
Lloh0:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.8:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _SZ_ERROR_MEM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SZ_ERROR_MEM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x9
	ccmp	x8, #0, #4, ne
Lloh6:
	adrp	x8, _S_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	csel	x0, x0, x8, eq
	b	LBB0_12
LBB0_9:
Lloh9:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _SZ_ERROR_MEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
LBB0_11:
	ldr	x0, [x8]
LBB0_12:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.comm	_SZ_ERROR_MEM,8,3               ; @SZ_ERROR_MEM
	.comm	_S_OK,8,3                       ; @S_OK
	.no_dead_strip	_XzDecMt_Callback_PreCode
.subsections_via_symbols
