	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SzReadAndDecodePackedStreams2
_SzReadAndDecodePackedStreams2:         ## @SzReadAndDecodePackedStreams2
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rax
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdx
	movq	%rdi, %r15
	movq	32(%rbp), %r12
	movq	16(%rbp), %r9
	movq	24(%rbp), %r10
	movl	$0, -60(%rbp)
	subq	$8, %rsp
	leaq	-56(%rbp), %rsi
	leaq	-60(%rbp), %rcx
	movq	%rdx, %rdi
	movq	%r8, %rdx
	movq	%rax, %r8
	pushq	%r12
	pushq	%r12
	pushq	%r10
	callq	_SzReadStreamsInfo
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_RINOK
	addq	%r14, -56(%rbp)
	cmpl	$1, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	8(%rbx), %r13
	movq	%r13, %rdi
	callq	_SzFolder_GetUnpackSize
	movq	%rax, %r14
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_LookInStream_SeekTo
	movl	%eax, %edi
	callq	_RINOK
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_Buf_Create
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	4(%rbx), %esi
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%r14, %r9
	pushq	%r12
	callq	_SzFolder_Decode
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_RINOK
	cmpq	$0, 8(%r13)
	je	LBB0_7
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_CrcCalc
	cmpq	(%r13), %rax
	jne	LBB0_6
LBB0_7:
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_SZ_ERROR_ARCHIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_SZ_ERROR_CRC@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_ERROR_ARCHIVE,4,2           ## @SZ_ERROR_ARCHIVE
	.comm	_SZ_ERROR_MEM,4,2               ## @SZ_ERROR_MEM
	.comm	_SZ_ERROR_CRC,4,2               ## @SZ_ERROR_CRC
	.comm	_SZ_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_SzReadAndDecodePackedStreams2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SzReadAndDecodePackedStreams2
_SzReadAndDecodePackedStreams2:         ; @SzReadAndDecodePackedStreams2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x8, x1
	mov	x21, x0
	ldr	x20, [x29, #16]
	str	wzr, [sp, #28]
	str	x20, [sp]
	add	x1, sp, #16
	add	x3, sp, #28
	mov	x0, x8
	mov	x2, x4
	mov	x4, x5
	mov	x5, x6
	mov	x6, x7
	mov	x7, x20
	bl	_SzReadStreamsInfo
	bl	_RINOK
	ldr	x8, [sp, #16]
	add	x8, x8, x23
	str	x8, [sp, #16]
	ldr	w8, [x22]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.1:
	ldr	x23, [x22, #8]
	mov	x0, x23
	bl	_SzFolder_GetUnpackSize
	mov	x24, x0
	ldr	x1, [sp, #16]
	mov	x0, x21
	bl	_LookInStream_SeekTo
	bl	_RINOK
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_Buf_Create
	cbz	w0, LBB0_6
; %bb.2:
	ldr	w1, [x22, #4]
	ldr	x3, [sp, #16]
	ldr	w4, [x19]
	mov	x0, x23
	mov	x2, x21
	mov	x5, x24
	mov	x6, x20
	bl	_SzFolder_Decode
	bl	_RINOK
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	mov	x1, x24
	bl	_CrcCalc
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh2:
	adrp	x8, _SZ_ERROR_ARCHIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SZ_ERROR_ARCHIVE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x8, _SZ_ERROR_MEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SZ_ERROR_MEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _SZ_ERROR_CRC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SZ_ERROR_CRC@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_ERROR_ARCHIVE,4,2           ; @SZ_ERROR_ARCHIVE
	.comm	_SZ_ERROR_MEM,4,2               ; @SZ_ERROR_MEM
	.comm	_SZ_ERROR_CRC,4,2               ; @SZ_ERROR_CRC
	.comm	_SZ_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_SzReadAndDecodePackedStreams2
.subsections_via_symbols
