	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_decode_folder
_setup_decode_folder:                   ## @setup_decode_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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movq	(%r13), %rax
	movq	(%rax), %rdi
	callq	_free
	movq	(%r13), %rax
	movq	$0, (%rax)
	movq	(%r13), %rax
	movq	8(%rax), %rdi
	callq	_free
	movq	(%r13), %rax
	movq	$0, 8(%rax)
	movq	(%r13), %rax
	movq	16(%rax), %rdi
	callq	_free
	testl	%ebx, %ebx
	movq	(%r13), %rax
	movq	$0, 16(%rax)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %r12
	cmoveq	%rax, %r12
	movl	48(%r15), %eax
	movl	%eax, 8(%r13)
	movl	24(%r15), %eax
	movl	%eax, 12(%r13)
	movq	%r15, %rdi
	callq	_folder_uncompressed_size
	movl	%eax, 16(%r13)
	movq	$0, 72(%r13)
	movl	(%r15), %eax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	32(%r15), %rdx
	movq	%rax, %rsi
	shlq	$5, %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ecx
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rdi), %ebx
	cmpl	$128, %ebx
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$-129, %ebx
	cmpl	$2, %ebx
	ja	LBB0_10
## %bb.5:
	movl	$1, 20(%r13)
	movl	4(%r14), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.6:
	movl	$1, %esi
	callq	_archive_entry_set_is_data_encrypted
	movl	4(%r14), %edi
	movl	$1, %esi
	callq	_archive_entry_set_is_metadata_encrypted
LBB0_7:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_8
LBB0_1:
	xorl	%ecx, %ecx
LBB0_11:
	movslq	20(%r13), %rdx
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPCREL(%rip), %rsi
	cmpq	%rdx, (%rsi)
	jne	LBB0_13
## %bb.12:
	movl	$0, 20(%r13)
LBB0_13:
	cmpl	$3, %eax
	setb	%dl
	testl	%ecx, %ecx
	setne	%bl
	orb	%dl, %bl
	cmpb	$1, %bl
	jne	LBB0_15
## %bb.14:
	cmpl	$2, %ecx
	jge	LBB0_15
## %bb.16:
	movq	32(%r15), %rdx
	leaq	32(%rdx), %rdi
	xorl	%esi, %esi
	cmpl	$2, %eax
	cmoveq	%rdi, %rsi
	testl	%ecx, %ecx
	je	LBB0_17
## %bb.18:
	movq	l___const.setup_decode_folder.scoder+16(%rip), %rcx
	movq	%rcx, -64(%rbp)
	movaps	l___const.setup_decode_folder.scoder(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	movl	$-1, -120(%rbp)
	movq	$-1, -128(%rbp)
	movaps	%xmm0, -160(%rbp)
	movq	$0, -144(%rbp)
	cmpl	$4, %eax
	jne	LBB0_34
## %bb.19:
	cmpl	$128, 96(%rdx)
	jne	LBB0_34
## %bb.20:
	cmpl	$7, 4(%r15)
	jne	LBB0_34
## %bb.21:
	cmpl	$4, 8(%r15)
	jne	LBB0_34
## %bb.22:
	cmpl	$4, 8(%r13)
	jne	LBB0_34
## %bb.23:
	movq	40(%r15), %rax
	cmpl	$5, (%rax)
	jne	LBB0_25
## %bb.24:
	movq	%rdi, -72(%rbp)
	movq	%rdx, -64(%rbp)
	movq	16(%r15), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -124(%rbp)
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	leaq	64(%rdx), %rdi
	movl	$1, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	$2, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	jmp	LBB0_33
LBB0_15:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
LBB0_8:
	movq	%r14, %rdi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_64
LBB0_34:
	cmpl	$2, %eax
	jne	LBB0_67
## %bb.35:
	cmpl	$128, (%rsi)
	jne	LBB0_67
## %bb.36:
	cmpl	$4, 8(%r13)
	jne	LBB0_67
## %bb.37:
	cmpl	$5, 4(%r15)
	jne	LBB0_67
## %bb.38:
	cmpl	$2, 8(%r15)
	jne	LBB0_67
## %bb.39:
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movq	%rdx, -208(%rbp)                ## 8-byte Spill
	movq	16(%r15), %rax
	movl	$1, %ecx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movl	$2, %ecx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	jmp	LBB0_40
LBB0_17:
	movq	%rsi, %rcx
LBB0_63:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_init_decompression
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	cmpl	%r12d, %eax
	jne	LBB0_64
	jmp	LBB0_65
LBB0_25:
	movslq	(%rdx), %rcx
	movq	__7Z_COPY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	32(%rdx), %rsi
	cmpq	%rcx, %rax
	jne	LBB0_30
## %bb.26:
	cmpl	%esi, %ecx
	jne	LBB0_28
## %bb.27:
	leaq	64(%rdx), %rdi
	jmp	LBB0_29
LBB0_28:
	cmpl	64(%rdx), %ecx
	jne	LBB0_30
LBB0_29:
	movl	$1, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	$2, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	jmp	LBB0_33
LBB0_30:
	cmpq	%rsi, %rax
	jne	LBB0_67
## %bb.31:
	movslq	64(%rdx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_67
## %bb.32:
	movl	$1, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	$2, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%rdx, %rdi
LBB0_33:
	movq	%rdi, %rcx
	addq	$96, %rdx
	movq	16(%r15), %rax
	addq	$8, %rax
	movq	%rdx, -200(%rbp)                ## 8-byte Spill
	movq	%rdi, -208(%rbp)                ## 8-byte Spill
LBB0_40:
	movslq	(%rax), %rax
	movq	%rax, 24(%r13)
	movq	%r14, %rdi
	callq	_seek_pack
	testl	%eax, %eax
	js	LBB0_41
## %bb.42:
	movslq	40(%r13), %rax
	movq	%rax, 32(%r13)
	movq	%r14, %rdi
	callq	_read_consume
	xorl	%ebx, %ebx
LBB0_43:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_51 Depth 2
	movq	-80(%rbp,%rbx,8), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_seek_pack
	testl	%eax, %eax
	js	LBB0_44
## %bb.45:                              ##   in Loop: Header=BB0_43 Depth=1
	movl	-128(%rbp,%rbx,4), %eax
	cmpl	$-1, %eax
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_43 Depth=1
	movl	40(%r13), %eax
LBB0_47:                                ##   in Loop: Header=BB0_43 Depth=1
	movl	%eax, 16(%r13)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_init_decompression
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_48
## %bb.49:                              ##   in Loop: Header=BB0_43 Depth=1
	movslq	16(%r13), %rdi
	callq	_malloc
	movq	%rax, -112(%rbp,%rbx,8)
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_68
## %bb.50:                              ##   in Loop: Header=BB0_43 Depth=1
	cmpl	$0, 40(%r13)
	movq	%rbx, -216(%rbp)                ## 8-byte Spill
	jg	LBB0_51
LBB0_57:                                ##   in Loop: Header=BB0_43 Depth=1
	incq	%rbx
	cmpq	$3, %rbx
	jne	LBB0_43
	jmp	LBB0_58
LBB0_56:                                ##   in Loop: Header=BB0_51 Depth=2
	cmpl	$0, 40(%r13)
	jle	LBB0_57
LBB0_51:                                ##   Parent Loop BB0_43 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_extract_pack_stream
	movq	%rax, %r12
	testl	$-2147483648, %r12d             ## imm = 0x80000000
	jne	LBB0_52
## %bb.53:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	72(%r13), %rdx
	movq	%r14, %rdi
	leaq	-224(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_get_uncompressed_data
	movq	%rax, %r12
	testq	%rax, %rax
	js	LBB0_52
## %bb.54:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movq	-160(%rbp,%rax,8), %rbx
	movq	-192(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	movq	-224(%rbp), %rsi
	movq	%r12, %rdx
	callq	_memcpy
	addq	%rbx, %r12
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	movq	%r12, -160(%rbp,%rbx,8)
	cmpq	$0, 32(%r13)
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	%r14, %rdi
	callq	_read_consume
	jmp	LBB0_56
LBB0_67:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
LBB0_61:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_64:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_65:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_69
## %bb.66:
	movl	%r12d, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	movl	%eax, %r12d
	jmp	LBB0_65
LBB0_44:
	movl	%eax, %r12d
LBB0_52:
	movq	-112(%rbp), %rdi
	callq	_free
	movq	-104(%rbp), %rdi
	callq	_free
	movq	-96(%rbp), %rdi
	callq	_free
	jmp	LBB0_65
LBB0_48:
	movq	-112(%rbp), %rdi
	callq	_free
	movq	-104(%rbp), %rdi
	callq	_free
	movq	-96(%rbp), %rdi
	callq	_free
	jmp	LBB0_64
LBB0_68:
	movq	-112(%rbp), %rdi
	callq	_free
	movq	-104(%rbp), %rdi
	callq	_free
	movq	-96(%rbp), %rdi
	callq	_free
LBB0_60:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_61
LBB0_58:
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	movq	-112(%rbp,%rdx,8), %rax
	movq	(%r13), %rcx
	movq	%rax, (%rcx)
	movq	-160(%rbp,%rdx,8), %rax
	movq	48(%r13), %rcx
	movq	%rax, (%rcx)
	movq	56(%r13), %rcx
	movq	%rax, (%rcx)
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	movq	-112(%rbp,%rdx,8), %rax
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	-160(%rbp,%rdx,8), %rax
	movq	48(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	56(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movq	-112(%rbp,%rdx,8), %rax
	movq	(%r13), %rcx
	movq	%rax, 16(%rcx)
	movq	-160(%rbp,%rdx,8), %rax
	movq	48(%r13), %rcx
	movq	%rax, 16(%rcx)
	movq	56(%r13), %rcx
	movq	%rax, 16(%rcx)
	cmpq	$0, 112(%r13)
	jne	LBB0_62
## %bb.59:
	movl	$32768, 64(%r13)                ## imm = 0x8000
	movl	$32768, %edi                    ## imm = 0x8000
	callq	_malloc
	movq	%rax, 112(%r13)
	testq	%rax, %rax
	je	LBB0_60
LBB0_62:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 96(%r13)
	movups	%xmm0, 80(%r13)
	movl	$1, 8(%r13)
	movl	24(%r15), %eax
	movl	%eax, 12(%r13)
	movq	%r15, %rdi
	callq	_folder_uncompressed_size
	movl	%eax, 16(%r13)
	movq	$0, 72(%r13)
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	jmp	LBB0_63
LBB0_69:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive header"

L_.str.1:                               ## @.str.1
	.asciz	"file content"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.2:                               ## @.str.2
	.asciz	"The %s is encrypted, but currently not supported"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,8,3 ## @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
L_.str.3:                               ## @.str.3
	.asciz	"The %s is encoded with many filters, but currently not supported"

	.section	__TEXT,__const
	.p2align	3                               ## @setup_decode_folder.coder_copy
_setup_decode_folder.coder_copy:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.space	4
	.quad	0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.section	__DATA,__const
	.p2align	4                               ## @__const.setup_decode_folder.scoder
l___const.setup_decode_folder.scoder:
	.quad	_setup_decode_folder.coder_copy
	.quad	_setup_decode_folder.coder_copy
	.quad	_setup_decode_folder.coder_copy

	.comm	__7Z_COPY,8,3                   ## @_7Z_COPY
	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"Unsupported form of BCJ2 streams"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.5:                               ## @.str.5
	.asciz	"No memory for 7-Zip decompression"

	.no_dead_strip	_setup_decode_folder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_decode_folder
_setup_decode_folder:                   ; @setup_decode_folder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_free
	ldr	x8, [x20]
	str	xzr, [x8]
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	bl	_free
	ldr	x8, [x20]
	str	xzr, [x8, #8]
	ldr	x8, [x20]
	ldr	x0, [x8, #16]
	bl	_free
	ldr	x8, [x20]
	str	xzr, [x8, #16]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w22, #0
	csel	x22, x9, x8, eq
	ldr	x8, [x21, #48]
	str	w8, [x20, #8]
	ldr	x8, [x21, #24]
	str	w8, [x20, #12]
	mov	x0, x21
	bl	_folder_uncompressed_size
	str	w0, [x20, #16]
	str	xzr, [x20, #72]
	ldr	w9, [x21]
	cbz	w9, LBB0_9
; %bb.1:
	mov	w8, #0
	ldr	x10, [x21, #32]
	mov	x11, x9
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #32
	subs	x11, x11, #1
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10]
	cmp	w12, #128
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w12, w12, #129
	cmp	w12, #2
	b.hi	LBB0_3
; %bb.6:
	mov	w8, #1
	str	w8, [x20, #20]
	ldr	w0, [x19, #4]
	cbz	w0, LBB0_8
; %bb.7:
	mov	w1, #1
	bl	_archive_entry_set_is_data_encrypted
	ldr	w0, [x19, #4]
	mov	w1, #1
	bl	_archive_entry_set_is_metadata_encrypted
LBB0_8:
Lloh7:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_56
LBB0_9:
	mov	w8, #0
LBB0_10:
	ldrsw	x10, [x20, #20]
Lloh12:
	adrp	x11, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	cmp	x11, x10
	b.ne	LBB0_12
; %bb.11:
	str	wzr, [x20, #20]
LBB0_12:
	cmp	w8, #0
	ccmp	w9, #3, #0, eq
	b.hs	LBB0_22
; %bb.13:
	cmp	w8, #2
	b.ge	LBB0_22
; %bb.14:
	ldr	x23, [x21, #32]
	add	x22, x23, #32
	cmp	w9, #2
	csel	x10, x22, xzr, eq
	cbz	w8, LBB0_29
; %bb.15:
Lloh15:
	adrp	x8, l___const.setup_decode_folder.scoder@PAGE
Lloh16:
	add	x8, x8, l___const.setup_decode_folder.scoder@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #112]
	ldr	x8, [x8, #16]
	str	x8, [sp, #128]
	stp	xzr, xzr, [sp, #88]
	str	xzr, [sp, #104]
	mov	x8, #-1
	str	w8, [sp, #80]
	stp	xzr, x8, [sp, #64]
	stp	xzr, xzr, [sp, #48]
	cmp	w9, #4
	b.ne	LBB0_23
; %bb.16:
	mov	x8, x23
	ldr	w11, [x8, #96]!
	cmp	w11, #128
	b.ne	LBB0_23
; %bb.17:
	ldr	w11, [x21, #4]
	cmp	w11, #7
	b.ne	LBB0_23
; %bb.18:
	ldr	w11, [x21, #8]
	cmp	w11, #4
	b.ne	LBB0_23
; %bb.19:
	ldr	w11, [x20, #8]
	cmp	w11, #4
	b.ne	LBB0_23
; %bb.20:
	ldr	x9, [x21, #40]
	ldr	w9, [x9]
	cmp	w9, #5
	b.ne	LBB0_31
; %bb.21:
	mov	x25, #0
	stp	x22, x23, [sp, #120]
	ldr	x9, [x21, #16]
	ldr	d0, [x9]
	rev64.2s	v0, v0
	stur	d0, [sp, #76]
	add	x22, x23, #64
	mov	w26, #1
	mov	w9, #2
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_40
LBB0_22:
Lloh17:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh20:
	adrp	x2, l_.str.3@PAGE
Lloh21:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_56
LBB0_23:
	cmp	w9, #2
	b.ne	LBB0_55
; %bb.24:
	ldr	w8, [x10]
	cmp	w8, #128
	b.ne	LBB0_55
; %bb.25:
	ldr	w8, [x20, #8]
	cmp	w8, #4
	b.ne	LBB0_55
; %bb.26:
	ldr	w8, [x21, #4]
	cmp	w8, #5
	b.ne	LBB0_55
; %bb.27:
	ldr	w8, [x21, #8]
	cmp	w8, #2
	b.ne	LBB0_55
; %bb.28:
	mov	x26, #0
	ldr	x9, [x21, #16]
	mov	w8, #1
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w25, #2
	b	LBB0_41
LBB0_29:
	mov	x22, x10
LBB0_30:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	bl	_init_decompression
Lloh22:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _ARCHIVE_FATAL@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w0, w8
	csel	w24, w8, w9, eq
	b	LBB0_58
LBB0_31:
	ldrsw	x10, [x23]
Lloh28:
	adrp	x9, __7Z_COPY@GOTPAGE
Lloh29:
	ldr	x9, [x9, __7Z_COPY@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	ldrsw	x11, [x23, #32]
	cmp	x9, x10
	b.ne	LBB0_37
; %bb.32:
	cmp	w10, w11
	b.ne	LBB0_34
; %bb.33:
	mov	x26, #0
	add	x22, x23, #64
	b	LBB0_36
LBB0_34:
	ldr	w12, [x23, #64]
	cmp	w10, w12
	b.ne	LBB0_37
; %bb.35:
	mov	x26, #0
LBB0_36:
	mov	w9, #1
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	mov	w25, #2
	b	LBB0_40
LBB0_37:
	cmp	x9, x11
	b.ne	LBB0_55
; %bb.38:
	ldrsw	x10, [x23, #64]
	cmp	x9, x10
	b.ne	LBB0_55
; %bb.39:
	mov	x26, #0
	mov	w9, #1
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	mov	w25, #2
	mov	x22, x23
LBB0_40:
	mov	x23, x22
	ldr	x9, [x21, #16]
	add	x9, x9, #8
	mov	x22, x8
LBB0_41:
	ldrsw	x8, [x9]
	str	x8, [x20, #24]
	mov	x0, x19
	bl	_seek_pack
	tbnz	w0, #31, LBB0_60
; %bb.42:
	stp	x26, x25, [sp, #8]              ; 16-byte Folded Spill
	ldrsw	x8, [x20, #40]
	str	x8, [x20, #32]
	mov	x0, x19
	bl	_read_consume
	mov	x26, #0
	add	x8, sp, #112
LBB0_43:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_51 Depth 2
	ldr	x25, [x8, x26, lsl #3]
	mov	x0, x19
	bl	_seek_pack
	tbnz	w0, #31, LBB0_62
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	add	x8, sp, #72
	ldr	w8, [x8, x26, lsl #2]
	cmn	w8, #1
	b.ne	LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	w8, [x20, #40]
LBB0_46:                                ;   in Loop: Header=BB0_43 Depth=1
	str	w8, [x20, #16]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, #0
	bl	_init_decompression
Lloh31:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_64
; %bb.47:                               ;   in Loop: Header=BB0_43 Depth=1
	ldrsw	x0, [x20, #16]
	bl	_malloc
	add	x8, sp, #88
	str	x0, [x8, x26, lsl #3]
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_65
; %bb.48:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	w8, [x20, #40]
	cmp	w8, #1
	b.ge	LBB0_51
LBB0_49:                                ;   in Loop: Header=BB0_43 Depth=1
	add	x26, x26, #1
	cmp	x26, #3
	add	x8, sp, #112
	b.ne	LBB0_43
	b	LBB0_67
LBB0_50:                                ;   in Loop: Header=BB0_51 Depth=2
	ldr	w8, [x20, #40]
	cmp	w8, #0
	mov	x26, x25
	b.le	LBB0_49
LBB0_51:                                ;   Parent Loop BB0_43 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	w1, #0
	bl	_extract_pack_stream
	mov	x24, x0
	tbnz	w24, #31, LBB0_63
; %bb.52:                               ;   in Loop: Header=BB0_51 Depth=2
	ldr	x2, [x20, #72]
	add	x1, sp, #40
	mov	x0, x19
	mov	w3, #0
	bl	_get_uncompressed_data
	mov	x24, x0
	tbnz	x0, #63, LBB0_61
; %bb.53:                               ;   in Loop: Header=BB0_51 Depth=2
	mov	x25, x26
	lsl	x27, x26, #3
	add	x26, sp, #48
	ldr	x28, [x26, x27]
	ldp	x8, x1, [sp, #32]               ; 8-byte Folded Reload
	add	x0, x8, x28
	mov	x2, x24
	bl	_memcpy
	add	x8, x28, x24
	str	x8, [x26, x27]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_50
; %bb.54:                               ;   in Loop: Header=BB0_51 Depth=2
	mov	x0, x19
	bl	_read_consume
	b	LBB0_50
LBB0_55:
Lloh34:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x2, l_.str.4@PAGE
Lloh38:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_56:
	mov	x0, x19
	bl	_archive_set_error
LBB0_57:
Lloh39:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh41:
	ldr	w24, [x8]
LBB0_58:
	ldur	x8, [x29, #-88]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_70
; %bb.59:
	mov	x0, x24
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_60:
	mov	x24, x0
	b	LBB0_58
LBB0_61:
	ldr	x0, [sp, #88]
	bl	_free
	ldr	x0, [sp, #96]
	bl	_free
	ldr	x0, [sp, #104]
	bl	_free
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_58
LBB0_62:
	mov	x24, x0
LBB0_63:
	ldr	x0, [sp, #88]
	bl	_free
	ldr	x0, [sp, #96]
	bl	_free
	ldr	x0, [sp, #104]
	bl	_free
	b	LBB0_58
LBB0_64:
	ldr	x0, [sp, #88]
	bl	_free
	ldr	x0, [sp, #96]
	bl	_free
	ldr	x0, [sp, #104]
	bl	_free
	b	LBB0_57
LBB0_65:
	ldr	x0, [sp, #88]
	bl	_free
	ldr	x0, [sp, #96]
	bl	_free
	ldr	x0, [sp, #104]
	bl	_free
LBB0_66:
Lloh45:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x2, l_.str.5@PAGE
Lloh49:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_56
LBB0_67:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	lsl	x8, x8, #3
	add	x9, sp, #88
	ldr	x10, [x9, x8]
	ldr	x11, [x20]
	str	x10, [x11]
	add	x10, sp, #48
	ldr	x8, [x10, x8]
	ldr	x11, [x20, #48]
	str	x8, [x11]
	ldr	x11, [x20, #56]
	str	x8, [x11]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	lsl	x8, x8, #3
	ldr	x11, [x9, x8]
	ldr	x12, [x20]
	str	x11, [x12, #8]
	ldr	x8, [x10, x8]
	ldr	x11, [x20, #48]
	str	x8, [x11, #8]
	ldr	x11, [x20, #56]
	str	x8, [x11, #8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	lsl	x8, x8, #3
	ldr	x9, [x9, x8]
	ldr	x11, [x20]
	ldr	x8, [x10, x8]
	str	x9, [x11, #16]
	ldr	x9, [x20, #48]
	str	x8, [x9, #16]
	ldr	x9, [x20, #56]
	str	x8, [x9, #16]
	ldr	x8, [x20, #112]
	cbnz	x8, LBB0_69
; %bb.68:
	mov	w8, #32768
	str	w8, [x20, #64]
	mov	w0, #32768
	bl	_malloc
	str	x0, [x20, #112]
	cbz	x0, LBB0_66
LBB0_69:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #80]
	mov	w8, #1
	str	w8, [x20, #8]
	ldr	x8, [x21, #24]
	str	w8, [x20, #12]
	mov	x0, x21
	bl	_folder_uncompressed_size
	str	w0, [x20, #16]
	str	xzr, [x20, #72]
	b	LBB0_30
LBB0_70:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive header"

l_.str.1:                               ; @.str.1
	.asciz	"file content"

	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.2:                               ; @.str.2
	.asciz	"The %s is encrypted, but currently not supported"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,8,3 ; @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
l_.str.3:                               ; @.str.3
	.asciz	"The %s is encoded with many filters, but currently not supported"

	.section	__TEXT,__const
	.p2align	3                               ; @setup_decode_folder.coder_copy
_setup_decode_folder.coder_copy:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.space	4
	.quad	0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.section	__DATA,__const
	.p2align	3                               ; @__const.setup_decode_folder.scoder
l___const.setup_decode_folder.scoder:
	.quad	_setup_decode_folder.coder_copy
	.quad	_setup_decode_folder.coder_copy
	.quad	_setup_decode_folder.coder_copy

	.comm	__7Z_COPY,8,3                   ; @_7Z_COPY
	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"Unsupported form of BCJ2 streams"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.5:                               ; @.str.5
	.asciz	"No memory for 7-Zip decompression"

	.no_dead_strip	_setup_decode_folder
.subsections_via_symbols
