	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MtCallbackImp_Code
_MtCallbackImp_Code:                    ## @MtCallbackImp_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
	movq	%rcx, %r15
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	movq	16(%r12), %rdx
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
	testq	%r9, %r9
	je	LBB0_6
## %bb.1:
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	shlq	$4, %r14
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	leaq	(%rdx,%r14), %r13
	leaq	12(%r12), %rsi
	movq	%r13, %rdi
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_Lzma2EncInt_Init
	movl	%eax, %edi
	callq	_RINOK
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r14), %rax
	addq	$8, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	8(%rcx,%r14), %edi
	movq	_LZMA2_KEEP_WINDOW_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%r12), %r9d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %r8d
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_LzmaEnc_MemPrepare
	movl	%eax, %edi
	callq	_RINOK
	movq	%r14, %rax
	cmpq	%r14, (%r13)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jae	LBB0_10
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	%r12, %rcx
	subq	%rax, %rcx
	movq	%rcx, -80(%rbp)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rsi
	movq	%r13, %rdi
	leaq	-80(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_Lzma2EncInt_EncodeSubblock
	movq	%rax, %rbx
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax
	movq	(%r15), %rcx
	addq	%rax, %rcx
	movq	%rcx, (%r15)
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_MtProgress_Set
	movq	_SZ_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, (%r13)
	jb	LBB0_2
	jmp	LBB0_10
LBB0_6:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_7:
	movq	_SZ_ERROR_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_SZ_ERROR_PROGRESS@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rbx
LBB0_10:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	callq	_LzmaEnc_Finish
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_15
LBB0_11:
	cmpl	$0, 16(%rbp)
	je	LBB0_15
## %bb.12:
	movq	(%r15), %rax
	cmpq	%r12, %rax
	jne	LBB0_14
## %bb.13:
	movq	_SZ_ERROR_OUTPUT_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_15
LBB0_14:
	leaq	1(%rax), %rcx
	movq	%rcx, (%r15)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%rcx,%rax,8)
LBB0_15:
	movq	%rbx, %rax
	addq	$72, %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	_LZMA2_KEEP_WINDOW_SIZE,4,2     ## @LZMA2_KEEP_WINDOW_SIZE
	.comm	_SZ_ERROR_FAIL,8,3              ## @SZ_ERROR_FAIL
	.comm	_SZ_ERROR_PROGRESS,8,3          ## @SZ_ERROR_PROGRESS
	.comm	_SZ_ERROR_OUTPUT_EOF,8,3        ## @SZ_ERROR_OUTPUT_EOF
	.no_dead_strip	_MtCallbackImp_Code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MtCallbackImp_Code
_MtCallbackImp_Code:                    ; @MtCallbackImp_Code
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x25, [x0]
	ldr	x19, [x25, #16]
Lloh0:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldr	x21, [x3]
	str	xzr, [x3]
	cbz	x5, LBB0_6
; %bb.1:
	mov	x23, x5
	mov	x24, x1
	str	w6, [sp, #12]                   ; 4-byte Folded Spill
	mov	w27, w1
	add	x1, x25, #12
	add	x26, x19, w24, uxtw #4
	mov	x0, x26
	mov	x28, x4
	bl	_Lzma2EncInt_Init
	bl	_RINOK
	add	x27, x19, x27, lsl #4
	ldr	w0, [x27, #8]!
Lloh3:
	adrp	x8, _LZMA2_KEEP_WINDOW_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZMA2_KEEP_WINDOW_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldp	w5, w4, [x25, #4]
	mov	x1, x28
	mov	x2, x23
	bl	_LzmaEnc_MemPrepare
	bl	_RINOK
	ldr	x8, [x26]
	cmp	x8, x23
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
	mov	x19, x21
Lloh6:
	adrp	x21, _SZ_OK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _SZ_OK@GOTPAGEOFF]
	b.hs	LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	sub	x9, x19, x8
	str	x9, [sp, #24]
	add	x1, x28, x8, lsl #3
	add	x2, sp, #24
	mov	x0, x26
	mov	x3, #0
	bl	_Lzma2EncInt_EncodeSubblock
	mov	x22, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #24]
	ldr	x9, [x20]
	add	x3, x9, x8
	str	x3, [x20]
	cbz	x8, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x26]
	mov	x0, x25
	mov	x1, x24
	bl	_MtProgress_Set
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	cmp	x8, x23
	b.lo	LBB0_2
	b	LBB0_10
LBB0_6:
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
	mov	x19, x21
	b	LBB0_11
LBB0_7:
Lloh8:
	adrp	x8, _SZ_ERROR_FAIL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SZ_ERROR_FAIL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh10:
	adrp	x8, _SZ_ERROR_PROGRESS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SZ_ERROR_PROGRESS@GOTPAGEOFF]
LBB0_9:
	ldr	x22, [x8]
LBB0_10:
	ldr	w0, [x27]
	bl	_LzmaEnc_Finish
	ldr	x8, [x21]
	cmp	x22, x8
	ldr	w6, [sp, #12]                   ; 4-byte Folded Reload
	b.ne	LBB0_15
LBB0_11:
	cbz	w6, LBB0_15
; %bb.12:
	ldr	x8, [x20]
	cmp	x8, x19
	b.ne	LBB0_14
; %bb.13:
Lloh12:
	adrp	x8, _SZ_ERROR_OUTPUT_EOF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SZ_ERROR_OUTPUT_EOF@GOTPAGEOFF]
Lloh14:
	ldr	x22, [x8]
	b	LBB0_15
LBB0_14:
	add	x9, x8, #1
	str	x9, [x20]
	str	xzr, [x28, x8, lsl #3]
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.comm	_LZMA2_KEEP_WINDOW_SIZE,4,2     ; @LZMA2_KEEP_WINDOW_SIZE
	.comm	_SZ_ERROR_FAIL,8,3              ; @SZ_ERROR_FAIL
	.comm	_SZ_ERROR_PROGRESS,8,3          ; @SZ_ERROR_PROGRESS
	.comm	_SZ_ERROR_OUTPUT_EOF,8,3        ; @SZ_ERROR_OUTPUT_EOF
	.no_dead_strip	_MtCallbackImp_Code
.subsections_via_symbols
