	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SzReadAndDecodePackedStreams
_SzReadAndDecodePackedStreams:          ## @SzReadAndDecodePackedStreams
	.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, %r13
	movq	%r8, %rbx
	movq	%rdx, %r12
	movq	%rdi, %r15
	movl	16(%rbp), %r10d
	leaq	-52(%rbp), %rax
	leaq	-48(%rbp), %r9
	movq	%r13, %rdi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%r10
	pushq	%rax
	callq	_SzReadStreamsInfo
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_RINOK
	addq	%rbx, -48(%rbp)
	cmpq	$0, (%r13)
	je	LBB0_1
## %bb.2:
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	jle	LBB0_13
## %bb.3:
	xorl	%r14d, %r14d
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_Buf_Init
	incq	%r14
	movq	(%r13), %rax
	addq	$8, %rbx
	cmpq	%rax, %r14
	jl	LBB0_4
## %bb.5:
	testq	%rax, %rax
	jle	LBB0_12
## %bb.6:
	xorl	%ebx, %ebx
	movq	%r12, %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_SzAr_GetFolderUnpackSize
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	16(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_Buf_Create
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r13), %rax
	addq	$8, %r14
	cmpq	%rax, %rbx
	jl	LBB0_7
## %bb.9:
	testq	%rax, %rax
	jle	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	movl	16(%rbp), %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_LookInStream_SeekTo
	movl	%eax, %edi
	callq	_RINOK
	movq	-48(%rbp), %rcx
	movl	(%r12,%rbx,8), %r9d
	movl	4(%r12,%rbx,8), %r8d
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	pushq	%r14
	callq	_SzAr_DecodeFolder
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_RINOK
	incq	%rbx
	cmpq	(%r13), %rbx
	jl	LBB0_11
LBB0_12:
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_1:
	movq	_SZ_ERROR_ARCHIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_14:
	movq	_SZ_ERROR_MEM@GOTPCREL(%rip), %rax
LBB0_13:
	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_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_SzReadAndDecodePackedStreams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SzReadAndDecodePackedStreams
_SzReadAndDecodePackedStreams:          ; @SzReadAndDecodePackedStreams
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x23, x4
	mov	x22, x2
	mov	x21, x0
	add	x5, sp, #8
	add	x6, sp, #4
	mov	x0, x20
	mov	x2, x3
	mov	x3, #0
	mov	w4, #0
	mov	x7, x19
	bl	_SzReadStreamsInfo
	bl	_RINOK
	ldr	x8, [sp, #8]
	add	x8, x8, x23
	str	x8, [sp, #8]
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.1:
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x24, #0
	mov	x23, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_Buf_Init
	add	x24, x24, #1
	ldr	x8, [x20]
	add	x23, x23, #8
	cmp	x24, x8
	b.lt	LBB0_3
; %bb.4:
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x23, #0
Lloh0:
	adrp	x25, _SZ_ERROR_MEM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SZ_ERROR_MEM@GOTPAGEOFF]
	mov	x24, x22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_SzAr_GetFolderUnpackSize
	mov	x1, x0
	mov	x0, x24
	mov	x2, x19
	bl	_Buf_Create
	cbz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	add	x24, x24, #8
	cmp	x23, x8
	b.lt	LBB0_6
; %bb.8:
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x23, #0
	add	x22, x22, #4
Lloh2:
	adrp	x25, _SZ_OK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SZ_OK@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_LookInStream_SeekTo
	bl	_RINOK
	ldr	x3, [sp, #8]
	ldp	w5, w4, [x22, #-4]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x6, x19
	bl	_SzAr_DecodeFolder
	bl	_RINOK
	add	x23, x23, #1
	ldr	x8, [x20]
	add	x22, x22, #8
	cmp	x23, x8
	b.lt	LBB0_10
	b	LBB0_13
LBB0_11:
Lloh4:
	adrp	x25, _SZ_OK@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SZ_OK@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh6:
	adrp	x25, _SZ_ERROR_ARCHIVE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SZ_ERROR_ARCHIVE@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x25]
	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
	ldp	x26, x25, [sp, #16]             ; 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_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_SzReadAndDecodePackedStreams
.subsections_via_symbols
