	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_Folder
_read_Folder:                           ## @read_Folder
	.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	$40, %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	(%rdi), %rax
	movq	(%rax), %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_parse_7zip_uint64
	movl	$-1, %r15d
	testq	%rax, %rax
	js	LBB0_56
## %bb.1:
	movslq	(%r12), %rdi
	cmpq	$4, %rdi
	jg	LBB0_56
## %bb.2:
	movl	$32, %esi
	callq	_calloc
	movq	%rax, 40(%r12)
	testq	%rax, %rax
	je	LBB0_56
## %bb.3:
	cmpl	$0, (%r12)
	je	LBB0_56
## %bb.4:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	addl	(%rsi,%r14), %r15d
	addl	4(%rsi,%r14), %r13d
	incq	%rbx
	movl	(%r12), %eax
	addq	$32, %r14
	cmpq	%rax, %rbx
	jae	LBB0_16
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_55
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movzbl	(%rax), %r13d
	testb	$-128, %r13b
	jne	LBB0_55
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %ebx
	andl	$15, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_55
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_decode_codec_id
	movq	40(%r12), %rsi
	movl	%eax, 24(%rsi,%r14)
	testb	$16, %r13b
	jne	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rsi,%r14)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	%r14, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_parse_7zip_uint64
	testq	%rax, %rax
	js	LBB0_55
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_UMAX_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	40(%r12), %rax
	cmpl	(%rax,%r14), %ecx
	jl	LBB0_55
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rax,%r14), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_parse_7zip_uint64
	testq	%rax, %rax
	js	LBB0_55
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_UMAX_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	40(%r12), %rsi
	cmpl	4(%rsi,%r14), %eax
	jl	LBB0_55
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	testb	$32, %r13b
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	%r14, %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	callq	_parse_7zip_uint64
	testq	%rax, %rax
	js	LBB0_55
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%r12), %rax
	movslq	8(%rax,%r14), %rsi
	movq	%rbx, %rdi
	callq	_header_bytes
	testq	%rax, %rax
	je	LBB0_55
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r13
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	40(%r12), %r15
	movslq	8(%r15,%r14), %rbx
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, 16(%r15,%r14)
	testq	%rax, %rax
	je	LBB0_55
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	40(%r12), %rsi
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_15
LBB0_16:
	testl	%r13d, %r13d
	je	LBB0_55
## %bb.17:
	leal	-1(%r13), %eax
	cmpl	%eax, %r15d
	jl	LBB0_55
## %bb.18:
	movl	%eax, 4(%r12)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%eax, (%rcx)
	jge	LBB0_19
LBB0_55:
	movl	$-1, %r15d
LBB0_56:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	cmpl	$2, %r13d
	jl	LBB0_26
## %bb.20:
	movl	%eax, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_55
## %bb.21:
	movq	%rax, %rsi
	movl	4(%r12), %eax
	jmp	LBB0_27
LBB0_26:
	movq	$0, 32(%r12)
	xorl	%esi, %esi
LBB0_27:
	testl	%eax, %eax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_28
## %bb.35:
	movl	%r15d, %ebx
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	addq	%r15, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_parse_7zip_uint64
	testq	%rax, %rax
	js	LBB0_55
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	_UMAX_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	32(%r12), %rax
	cmpl	(%rax,%r15), %ecx
	jl	LBB0_55
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	leaq	(%rax,%r15), %rsi
	addq	$4, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_parse_7zip_uint64
	testq	%rax, %rax
	js	LBB0_55
## %bb.39:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	_UMAX_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%r12), %rsi
	cmpl	4(%rsi,%r15), %eax
	jl	LBB0_55
## %bb.33:                              ##   in Loop: Header=BB0_36 Depth=1
	incq	%r14
	movl	4(%r12), %eax
	addq	$8, %r15
	cmpq	%rax, %r14
	jb	LBB0_36
## %bb.34:
	movl	%ebx, %r15d
	jmp	LBB0_29
LBB0_28:
	xorl	%eax, %eax
LBB0_29:
	movl	%r15d, %ecx
	subl	%eax, %ecx
	movl	%ecx, 8(%r12)
	movslq	%ecx, %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_55
## %bb.30:
	movq	%rax, %rsi
	movl	%r15d, %ebx
	movl	8(%r12), %eax
	testl	%eax, %eax
	je	LBB0_44
## %bb.31:
	cmpl	$1, %eax
	jne	LBB0_32
## %bb.40:
	movl	%ebx, %r8d
	testl	%ebx, %ebx
	je	LBB0_41
## %bb.45:
	movl	4(%r12), %ecx
	xorl	%eax, %eax
LBB0_46:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_48 Depth 2
	movl	$0, %edx
	testq	%rcx, %rcx
	je	LBB0_50
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	32(%r12), %rdi
	xorl	%edx, %edx
LBB0_48:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%eax, (%rdi,%rdx,8)
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=2
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_48
	jmp	LBB0_42
LBB0_50:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpl	%ecx, %edx
	je	LBB0_42
## %bb.51:                              ##   in Loop: Header=BB0_46 Depth=1
	incl	%eax
	cmpl	%r8d, %eax
	jne	LBB0_46
	jmp	LBB0_55
LBB0_32:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_53:                                ## =>This Inner Loop Header: Depth=1
	addq	%r15, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_parse_7zip_uint64
	testq	%rax, %rax
	js	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=1
	movq	_UMAX_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r12), %rsi
	cmpl	(%rsi,%r15), %eax
	jb	LBB0_55
## %bb.52:                              ##   in Loop: Header=BB0_53 Depth=1
	incq	%r14
	movl	8(%r12), %eax
	addq	$4, %r15
	cmpq	%rax, %r14
	jb	LBB0_53
	jmp	LBB0_44
LBB0_41:
	xorl	%eax, %eax
LBB0_42:
	movl	$-1, %r15d
	cmpl	%r8d, %eax
	je	LBB0_56
## %bb.43:
	movl	%eax, (%rsi)
LBB0_44:
	movl	%ebx, 24(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 28(%r12)
	xorl	%r15d, %r15d
	jmp	LBB0_56
	.cfi_endproc
                                        ## -- End function
	.comm	_UMAX_ENTRY,4,2                 ## @UMAX_ENTRY
	.no_dead_strip	_read_Folder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_Folder
_read_Folder:                           ; @read_Folder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x21, [x8]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	x0, x20
	mov	x1, x19
	bl	_parse_7zip_uint64
	tbnz	x0, #63, LBB0_23
; %bb.1:
	ldrsw	x0, [x19]
	cmp	w0, #4
	b.gt	LBB0_23
; %bb.2:
	mov	w1, #32
	bl	_calloc
	str	x0, [x19, #40]
	cbz	x0, LBB0_23
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_23
; %bb.4:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	mov	x27, #0
	mov	w24, #0
	mov	w23, #0
	mov	w28, #24
	movi.2s	v8, #1
Lloh0:
	adrp	x26, _UMAX_ENTRY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _UMAX_ENTRY@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x28
	ldp	w9, w8, [x8, #-24]
	add	w24, w9, w24
	add	w23, w8, w23
	add	x27, x27, #1
	ldr	w8, [x19]
	add	x28, x28, #32
	cmp	x27, x8
	b.hs	LBB0_20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #1
	bl	_header_bytes
	cbz	x0, LBB0_23
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w22, [x0]
	tbnz	w22, #7, LBB0_23
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	and	x21, x22, #0xf
	mov	x0, x20
	mov	x1, x21
	bl	_header_bytes
	cbz	x0, LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x21
	bl	_decode_codec_id
	ldr	x8, [x19, #40]
	add	x9, x8, x28
	mov	x1, x9
	str	w0, [x1], #-24
	tbnz	w22, #4, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	stur	d8, [x9, #-24]
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_parse_7zip_uint64
	tbnz	x0, #63, LBB0_23
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x26]
	ldr	x8, [x19, #40]
	add	x8, x8, x28
	ldur	w10, [x8, #-24]
	cmp	w9, w10
	b.lt	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x1, x8, #20
	mov	x0, x20
	bl	_parse_7zip_uint64
	tbnz	x0, #63, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x26]
	ldr	x8, [x19, #40]
	add	x10, x8, x28
	ldur	w10, [x10, #-20]
	cmp	w9, w10
	b.lt	LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	tbz	w22, #5, LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x28
	sub	x1, x8, #16
	mov	x0, x20
	bl	_parse_7zip_uint64
	tbnz	x0, #63, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #40]
	add	x8, x8, x28
	ldursw	x1, [x8, #-16]
	mov	x0, x20
	bl	_header_bytes
	cbz	x0, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	ldr	x8, [x19, #40]
	add	x25, x8, x28
	ldursw	x22, [x25, #-16]
	mov	x0, x22
	bl	_malloc
	stur	x0, [x25, #-8]
	cbz	x0, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x19, #40]
	b	LBB0_5
LBB0_20:
	cbz	w23, LBB0_23
; %bb.21:
	sub	w8, w23, #1
	cmp	w24, w8
	b.lt	LBB0_23
; %bb.22:
	str	w8, [x19, #4]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w9, [x9]
	cmp	w9, w8
	b.ge	LBB0_25
LBB0_23:
	mov	w8, #-1
LBB0_24:
	mov	x0, x8
	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
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_25:
	cmp	w23, #2
	b.lt	LBB0_28
; %bb.26:
	mov	x0, x8
	mov	w1, #8
	bl	_calloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_23
; %bb.27:
	ldr	w8, [x19, #4]
	b	LBB0_29
LBB0_28:
	mov	x0, #0
	str	xzr, [x19, #32]
LBB0_29:
	cbz	w8, LBB0_36
; %bb.30:
	mov	x21, #0
	mov	x22, #0
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x0, x21
	mov	x0, x20
	bl	_parse_7zip_uint64
	tbnz	x0, #63, LBB0_23
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w9, [x26]
	ldr	x8, [x19, #32]
	ldr	w10, [x8, x21]
	cmp	w9, w10
	b.lt	LBB0_23
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	add	x8, x8, x21
	add	x1, x8, #4
	mov	x0, x20
	bl	_parse_7zip_uint64
	tbnz	x0, #63, LBB0_23
; %bb.34:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w8, [x26]
	ldr	x0, [x19, #32]
	add	x9, x0, x21
	ldr	w9, [x9, #4]
	cmp	w8, w9
	b.lt	LBB0_23
; %bb.35:                               ;   in Loop: Header=BB0_31 Depth=1
	add	x22, x22, #1
	ldr	w8, [x19, #4]
	add	x21, x21, #8
	cmp	x22, x8
	b.lo	LBB0_31
LBB0_36:
	sub	w8, w24, w8
	str	w8, [x19, #8]
	sxtw	x0, w8
	mov	w1, #4
	bl	_calloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_23
; %bb.37:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_54
; %bb.38:
	cmp	w8, #1
	b.ne	LBB0_48
; %bb.39:
	mov	w9, #0
	cbz	w24, LBB0_52
; %bb.40:
	ldr	w10, [x19, #4]
LBB0_41:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_43 Depth 2
	cbz	w10, LBB0_45
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	mov	x8, #0
	ldr	x11, [x19, #32]
LBB0_43:                                ;   Parent Loop BB0_41 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x11]
	cmp	w12, w9
	b.eq	LBB0_46
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=2
	add	x8, x8, #1
	add	x11, x11, #8
	cmp	x10, x8
	b.ne	LBB0_43
	b	LBB0_52
LBB0_45:                                ;   in Loop: Header=BB0_41 Depth=1
	mov	w8, #0
LBB0_46:                                ;   in Loop: Header=BB0_41 Depth=1
	cmp	w8, w10
	b.eq	LBB0_52
; %bb.47:                               ;   in Loop: Header=BB0_41 Depth=1
	add	w9, w9, #1
	mov	w8, #-1
	cmp	w9, w24
	b.ne	LBB0_41
	b	LBB0_24
LBB0_48:
	mov	x21, #0
	mov	x22, #0
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x0, x21
	mov	x0, x20
	bl	_parse_7zip_uint64
	tbnz	x0, #63, LBB0_23
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=1
	ldr	w8, [x26]
	ldr	x0, [x19, #16]
	ldr	w9, [x0, x21]
	cmp	w8, w9
	b.lo	LBB0_23
; %bb.51:                               ;   in Loop: Header=BB0_49 Depth=1
	add	x22, x22, #1
	ldr	w8, [x19, #8]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_49
	b	LBB0_54
LBB0_52:
	cmp	w9, w24
	b.eq	LBB0_23
; %bb.53:
	str	w9, [x0]
LBB0_54:
	mov	w8, #0
	stp	w24, w23, [x19, #24]
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UMAX_ENTRY,4,2                 ; @UMAX_ENTRY
	.no_dead_strip	_read_Folder
.subsections_via_symbols
