	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Lzma2Enc_MtCallback_Code
_Lzma2Enc_MtCallback_Code:              ## @Lzma2Enc_MtCallback_Code
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	32(%rdi), %rcx
	movl	%edx, %r12d
	movq	(%rcx,%r12,8), %r14
	movq	$0, (%rax,%r12,8)
	testq	%r14, %r14
	jne	LBB0_4
## %bb.1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	40(%rbx), %edi
	movq	(%rbx), %rsi
	callq	_ISzAlloc_Alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movq	32(%rbx), %rax
	movq	%r14, (%rax,%r12,8)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_4:
	leaq	-104(%rbp), %rdi
	callq	_MtProgressThunk_CreateVTable
	leaq	24(%rbx), %rax
	movq	%rax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -96(%rbp)
	movl	%r15d, %esi
	shlq	$2, %rsi
	addq	16(%rbx), %rsi
	leaq	-48(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	xorl	%r9d, %r9d
	leaq	-104(%rbp), %rax
	pushq	%rax
	pushq	%r13
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_Lzma2Enc_EncodeMt1
	addq	$32, %rsp
	movq	-48(%rbp), %rcx
	movq	8(%rbx), %rdx
	movq	%rcx, (%rdx,%r12,8)
LBB0_5:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_ERROR_MEM,4,2               ## @SZ_ERROR_MEM
	.no_dead_strip	_Lzma2Enc_MtCallback_Code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Lzma2Enc_MtCallback_Code
_Lzma2Enc_MtCallback_Code:              ; @Lzma2Enc_MtCallback_Code
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x1
	mov	x19, x0
	ldp	x8, x9, [x0]
	str	x8, [sp, #56]
	ldr	x8, [x0, #32]
	mov	w25, w2
	lsl	x10, x25, #3
	ldr	x24, [x8, x10]
	str	xzr, [x9, x10]
	cbnz	x24, LBB0_3
; %bb.1:
	ldr	w0, [x19, #40]
	ldr	x1, [x19]
	bl	_ISzAlloc_Alloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x24, x0
	ldr	x8, [x19, #32]
	str	x0, [x8, x25, lsl #3]
LBB0_3:
	add	x26, sp, #24
	add	x0, sp, #24
	bl	_MtProgressThunk_CreateVTable
	add	x8, x19, #24
	stp	xzr, x8, [sp, #40]
	str	xzr, [sp, #32]
	ldr	x8, [x19, #16]
	add	x1, x8, w23, uxtw #2
	str	x26, [sp, #8]
	str	w22, [sp]
	add	x4, sp, #56
	mov	x0, x19
	mov	x2, #0
	mov	x3, x24
	mov	x5, #0
	mov	x6, x21
	mov	x7, x20
	bl	_Lzma2Enc_EncodeMt1
	ldr	x8, [sp, #56]
	ldr	x9, [x19, #8]
	str	x8, [x9, x25, lsl #3]
LBB0_4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
Lloh0:
	adrp	x8, _SZ_ERROR_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_ERROR_MEM,4,2               ; @SZ_ERROR_MEM
	.no_dead_strip	_Lzma2Enc_MtCallback_Code
.subsections_via_symbols
