	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Lzma2DecMt_Read                ## -- Begin function Lzma2DecMt_Read
	.p2align	4, 0x90
_Lzma2DecMt_Read:                       ## @Lzma2DecMt_Read
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdx), %rax
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdx)
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
	movq	_LZMA_FINISH_ANY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 72(%rdi)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %r15
	subq	8(%rbx), %r15
	cmpq	%r15, %rax
	jae	LBB0_4
LBB0_3:
	movq	%rax, %r15
LBB0_6:
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	24(%rbx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	44(%rbx), %r14
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rax, %r13
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	$0, 16(%rbx)
	movq	56(%rbx), %rax
	movq	%rax, 24(%rbx)
	movl	48(%rbx), %edi
	movq	32(%rbx), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_ISeqInStream_Read
	movq	%rax, %r13
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rdx
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	subq	%rcx, %rdx
	movq	%rdx, -64(%rbp)
	movq	%r15, -56(%rbp)
	addq	32(%rbx), %rcx
	leaq	-92(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	leaq	-56(%rbp), %rdx
	leaq	-64(%rbp), %r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_Lzma2Dec_DecodeToBuf
	movq	-64(%rbp), %rcx
	addq	%rcx, 16(%rbx)
	addl	%ecx, 40(%rbx)
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, (%rdx)
	movq	-56(%rbp), %rdx
	addq	%rdx, 8(%rbx)
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	addq	%rdx, (%rsi)
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	orq	%rdx, %rcx
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	subq	%rdx, %r15
	leaq	(%r12,%rdx,4), %r12
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_13:
	movq	%rax, %r13
LBB0_14:
	movq	%r13, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpq	$0, 64(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_LZMA_FINISH_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_FINISH_ANY,4,2            ## @LZMA_FINISH_ANY
	.comm	_LZMA_FINISH_END,4,2            ## @LZMA_FINISH_END
	.comm	_SZ_OK,8,3                      ## @SZ_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Lzma2DecMt_Read                ; -- Begin function Lzma2DecMt_Read
	.p2align	2
_Lzma2DecMt_Read:                       ; @Lzma2DecMt_Read
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x27, [x2]
	str	xzr, [x2]
	str	xzr, [x3]
Lloh0:
	adrp	x8, _LZMA_FINISH_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_FINISH_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	x8, [x0, #72]
	cbz	x8, LBB0_3
; %bb.1:
	ldp	x8, x9, [x22]
	sub	x8, x8, x9
	cmp	x27, x8
	b.lo	LBB0_3
; %bb.2:
	ldr	x9, [x22, #64]
Lloh3:
	adrp	x10, _LZMA_FINISH_END@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LZMA_FINISH_END@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w23, w23, w10, eq
	mov	x27, x8
LBB0_3:
Lloh6:
	adrp	x28, _SZ_OK@GOTPAGE
Lloh7:
	ldr	x28, [x28, _SZ_OK@GOTPAGEOFF]
	ldr	x8, [x28]
	add	x24, x22, #24
	add	x25, x22, #44
	mov	x26, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x10, [x22, #16]
	cmp	x9, x10
	ccmp	x26, x8, #0, eq
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #56]
	stp	xzr, x8, [x22, #16]
	ldr	w0, [x22, #48]
	ldr	x1, [x22, #32]
	mov	x2, x24
	bl	_ISeqInStream_Read
	mov	x26, x0
	ldp	x9, x10, [x22, #16]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x10, x9
	stp	x27, x8, [sp, #16]
	ldr	x8, [x22, #32]
	add	x3, x8, x9
	add	x2, sp, #16
	add	x4, sp, #24
	add	x6, sp, #12
	mov	x0, x25
	mov	x1, x21
	mov	x5, x23
	bl	_Lzma2Dec_DecodeToBuf
	ldr	x8, [sp, #24]
	ldr	x9, [x22, #16]
	add	x9, x9, x8
	str	x9, [x22, #16]
	ldr	w9, [x22, #40]
	add	w9, w9, w8
	str	w9, [x22, #40]
	ldr	x9, [x19]
	add	x9, x9, x8
	str	x9, [x19]
	ldr	x9, [sp, #16]
	ldr	x10, [x22, #8]
	add	x10, x10, x9
	str	x10, [x22, #8]
	ldr	x10, [x20]
	add	x10, x10, x9
	str	x10, [x20]
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	x8, x8, x9
	cbz	x8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x27, x27, x9
	add	x21, x21, x9, lsl #2
	ldr	x8, [x28]
	b	LBB0_4
LBB0_9:
	mov	x26, x0
LBB0_10:
	mov	x0, x26
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_FINISH_ANY,4,2            ; @LZMA_FINISH_ANY
	.comm	_LZMA_FINISH_END,4,2            ; @LZMA_FINISH_END
	.comm	_SZ_OK,8,3                      ; @SZ_OK
.subsections_via_symbols
