	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_read_format_7zip_read_header
_archive_read_format_7zip_read_header:  ## @archive_read_format_7zip_read_header
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movq	(%rax), %r13
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	(%r13), %rax
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	$0, (%r13)
LBB0_2:
	movq	_ARCHIVE_FORMAT_7ZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	cmpq	$0, (%r12)
	je	LBB0_3
## %bb.4:
	cmpq	$0, 88(%r13)
	je	LBB0_5
LBB0_7:
	movq	8(%r13), %rax
	movq	80(%r13), %rbx
	addq	$64, %rbx
	movq	%rbx, 80(%r13)
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r12)
	cmpq	$0, 88(%r13)
	jne	LBB0_7
LBB0_5:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_slurp_central_directory
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free_Header
	cmpl	(%r14), %ebx
	jne	LBB0_45
## %bb.6:
	movq	88(%r13), %rbx
	movq	96(%r13), %rax
	movq	%rax, 8(%r13)
	movq	%rbx, 80(%r13)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.11:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	decq	%rax
	movq	%rax, 8(%r13)
	movq	$0, 72(%r13)
	movl	$0, 16(%r13)
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crc32
	movl	%eax, 64(%r13)
	cmpq	$0, 56(%r13)
	jne	LBB0_14
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_archive_string_conversion_from_charset
	movq	%rax, 56(%r13)
	testq	%rax, %rax
	je	LBB0_13
LBB0_14:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	cmpq	40(%r13), %rax
	movq	%r15, %r12
	jae	LBB0_21
## %bb.15:
	movq	48(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.16:
	shlq	$4, %rax
	leaq	(%rcx,%rax), %r14
	cmpq	$0, (%r14)
	je	LBB0_21
## %bb.17:
	leaq	(%rcx,%rax), %r15
	addq	$8, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jae	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_archive_entry_set_is_data_encrypted
	movq	$1, (%r13)
	jmp	LBB0_20
LBB0_10:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_55
LBB0_21:
	movq	(%r13), %rax
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movq	$0, (%r13)
LBB0_23:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	56(%r14), %rsi
	movl	48(%r14), %edx
	movq	56(%r13), %rcx
	movq	%r12, %rdi
	callq	_archive_entry_copy_pathname_l
	testq	%rax, %rax
	je	LBB0_28
## %bb.24:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_27
## %bb.25:
	leaq	L_.str.2(%rip), %rdx
LBB0_26:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_13:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_55
LBB0_27:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	56(%r13), %rdi
	callq	_archive_string_conversion_charset_name
	leaq	L_.str.3(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_archive_set_error
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_28:
	movl	8(%r14), %esi
	movq	%r12, %rdi
	callq	_archive_entry_set_mode
	movl	12(%r14), %eax
	movq	_MTIME_IS_SET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.29:
	movl	40(%r14), %edx
	movl	44(%r14), %esi
	movq	%r12, %rdi
	callq	_archive_entry_set_mtime
	movl	12(%r14), %eax
LBB0_30:
	movq	_CTIME_IS_SET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_32
## %bb.31:
	movl	32(%r14), %edx
	movl	36(%r14), %esi
	movq	%r12, %rdi
	callq	_archive_entry_set_ctime
	movl	12(%r14), %eax
LBB0_32:
	movq	_ATIME_IS_SET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_34
## %bb.33:
	movl	24(%r14), %edx
	movl	28(%r14), %esi
	movq	%r12, %rdi
	callq	_archive_entry_set_atime
LBB0_34:
	movq	16(%r14), %rax
	cmpq	$-1, %rax
	je	LBB0_35
## %bb.36:
	movq	32(%r13), %rcx
	movl	(%rcx,%rax,4), %esi
	jmp	LBB0_37
LBB0_35:
	xorl	%esi, %esi
LBB0_37:
	movl	%esi, 20(%r13)
	movq	%r12, %rdi
	callq	_archive_entry_set_size
	movl	20(%r13), %eax
	testl	%eax, %eax
	jg	LBB0_39
## %bb.38:
	movl	$1, 16(%r13)
LBB0_39:
	movq	_AE_IFMT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	andl	8(%r14), %ecx
	movq	_AE_IFLNK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_54
## %bb.40:
	testl	%eax, %eax
	jle	LBB0_41
## %bb.42:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	-88(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	leaq	-92(%rbp), %rcx
	callq	_archive_read_format_7zip_read_data
	movl	%eax, %ebx
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_44
## %bb.46:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	-80(%rbp), %r15
	leaq	(%r14,%r15), %rsi
	incq	%rsi
	movq	%r12, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	%r14, %rdi
	movq	-88(%rbp), %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	%rbx, %r12
	addq	-80(%rbp), %r14
	cmpl	$0, 20(%r13)
	jg	LBB0_43
## %bb.49:
	testq	%r14, %r14
	je	LBB0_50
## %bb.52:
	movb	$0, (%rbx,%r14)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_archive_entry_copy_symlink
	jmp	LBB0_53
LBB0_41:
	xorl	%ebx, %ebx
LBB0_51:
	movl	(%rsi), %esi
	notl	%esi
	andl	8(%r14), %esi
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, 8(%r14)
	movq	%r12, %rdi
	callq	_archive_entry_set_mode
LBB0_53:
	movq	%rbx, %rdi
	callq	_free
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_archive_entry_set_size
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_54:
	movq	24(%r13), %rax
	movw	$112, 4(%rax)
	movl	$1767517495, (%rax)             ## imm = 0x695A2D37
	movq	24(%r13), %rax
	movq	%rax, (%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_55
LBB0_44:
	movq	%r12, %rdi
	callq	_free
LBB0_45:
	movl	%ebx, %eax
LBB0_55:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	movq	%r12, %rdi
	callq	_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_26
LBB0_50:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	_AE_IFMT@GOTPCREL(%rip), %rsi
	jmp	LBB0_51
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,8,3 ## @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
	.comm	_ARCHIVE_FORMAT_7ZIP,4,2        ## @ARCHIVE_FORMAT_7ZIP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"7-Zip"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
L_.str.1:                               ## @.str.1
	.asciz	"UTF-16LE"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Can't allocate memory for Pathname"

	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
L_.str.3:                               ## @.str.3
	.asciz	"Pathname cannot be converted from %s to current locale."

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_MTIME_IS_SET,4,2               ## @MTIME_IS_SET
	.comm	_CTIME_IS_SET,4,2               ## @CTIME_IS_SET
	.comm	_ATIME_IS_SET,4,2               ## @ATIME_IS_SET
	.comm	_AE_IFMT,4,2                    ## @AE_IFMT
	.comm	_AE_IFLNK,4,2                   ## @AE_IFLNK
L_.str.4:                               ## @.str.4
	.asciz	"Can't allocate memory for Symname"

	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.no_dead_strip	_archive_read_format_7zip_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_read_format_7zip_read_header
_archive_read_format_7zip_read_header:  ; @archive_read_format_7zip_read_header
	.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	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
Lloh0:
	adrp	x25, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w21, [x25]
	ldr	x8, [x20]
Lloh2:
	adrp	x24, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x20]
LBB0_2:
Lloh4:
	adrp	x8, _ARCHIVE_FORMAT_7ZIP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARCHIVE_FORMAT_7ZIP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x20, #88]
	cbz	x8, LBB0_6
LBB0_4:
	ldr	x8, [x20, #80]
	add	x26, x8, #64
	str	x26, [x20, #80]
	ldr	x8, [x20, #8]
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
	ldr	x8, [x20, #88]
	cbnz	x8, LBB0_4
LBB0_6:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_slurp_central_directory
	mov	x23, x0
	add	x0, sp, #24
	bl	_free_Header
	ldr	w8, [x25]
	cmp	w23, w8
	b.ne	LBB0_51
; %bb.7:
	ldp	x26, x8, [x20, #88]
	str	x8, [x20, #8]
	str	x26, [x20, #80]
LBB0_8:
	cmp	x8, #0
	ccmp	x26, #0, #4, ne
	b.ne	LBB0_10
; %bb.9:
Lloh9:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	b	LBB0_52
LBB0_10:
	sub	x8, x8, #1
	str	x8, [x20, #8]
	str	xzr, [x20, #72]
	str	wzr, [x20, #16]
	mov	w0, #0
	mov	x1, #0
	mov	w2, #0
	bl	_crc32
	str	w0, [x20, #64]
	ldr	x8, [x20, #56]
	cbnz	x8, LBB0_12
; %bb.11:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_archive_string_conversion_from_charset
	str	x0, [x20, #56]
	cbz	x0, LBB0_25
LBB0_12:
	ldr	x8, [x26]
	ldr	x9, [x20, #40]
	cmp	x8, x9
	b.hs	LBB0_19
; %bb.13:
	ldr	x9, [x20, #48]
	cbz	x9, LBB0_19
; %bb.14:
	add	x23, x9, x8, lsl #4
	ldr	x8, [x23]
	cbz	x8, LBB0_19
; %bb.15:
	mov	x25, #0
	add	x27, x23, #8
	mov	w28, #1
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x25, x25, #1
	ldr	x8, [x23]
	cmp	x25, x8
	b.hs	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, x25, lsl #2]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_archive_entry_set_is_data_encrypted
	str	x28, [x20]
	b	LBB0_16
LBB0_19:
	ldr	x8, [x20]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
	str	xzr, [x20]
LBB0_21:
	ldr	x1, [x26, #56]
	ldr	w2, [x26, #48]
	ldr	x3, [x20, #56]
	mov	x0, x22
	bl	_archive_entry_copy_pathname_l
	cbz	x0, LBB0_27
; %bb.22:
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_26
; %bb.23:
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_24:
	mov	x0, x19
	bl	_archive_set_error
LBB0_25:
Lloh22:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	b	LBB0_52
LBB0_26:
Lloh25:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh27:
	ldrsw	x21, [x8]
	ldr	x0, [x20, #56]
	bl	_archive_string_conversion_charset_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh28:
	adrp	x2, l_.str.3@PAGE
Lloh29:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_archive_set_error
Lloh30:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
LBB0_27:
	ldr	w1, [x26, #8]
	mov	x0, x22
	bl	_archive_entry_set_mode
	ldr	w8, [x26, #12]
Lloh33:
	adrp	x9, _MTIME_IS_SET@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MTIME_IS_SET@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
	ldp	w2, w1, [x26, #40]
	mov	x0, x22
	bl	_archive_entry_set_mtime
	ldr	w8, [x26, #12]
LBB0_29:
Lloh36:
	adrp	x9, _CTIME_IS_SET@GOTPAGE
Lloh37:
	ldr	x9, [x9, _CTIME_IS_SET@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.30:
	ldp	w2, w1, [x26, #32]
	mov	x0, x22
	bl	_archive_entry_set_ctime
	ldr	w8, [x26, #12]
LBB0_31:
Lloh39:
	adrp	x9, _ATIME_IS_SET@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ATIME_IS_SET@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
	ldp	w2, w1, [x26, #24]
	mov	x0, x22
	bl	_archive_entry_set_atime
LBB0_33:
	ldr	x8, [x26, #16]
	cmn	x8, #1
	b.eq	LBB0_35
; %bb.34:
	ldr	x9, [x20, #32]
	ldr	w1, [x9, x8, lsl #2]
	b	LBB0_36
LBB0_35:
	mov	w1, #0
LBB0_36:
	str	w1, [x20, #20]
	mov	x0, x22
	bl	_archive_entry_set_size
	ldr	w8, [x20, #20]
	cmp	w8, #0
	b.gt	LBB0_38
; %bb.37:
	mov	w9, #1
	str	w9, [x20, #16]
LBB0_38:
	ldr	w9, [x26, #8]
Lloh42:
	adrp	x11, _AE_IFMT@GOTPAGE
Lloh43:
	ldr	x11, [x11, _AE_IFMT@GOTPAGEOFF]
	ldr	w10, [x11]
	and	w9, w10, w9
Lloh44:
	adrp	x10, _AE_IFLNK@GOTPAGE
Lloh45:
	ldr	x10, [x10, _AE_IFLNK@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_49
; %bb.39:
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.40:
	mov	x28, #0
	mov	x24, #0
Lloh47:
	adrp	x27, _ARCHIVE_WARN@GOTPAGE
Lloh48:
	ldr	x27, [x27, _ARCHIVE_WARN@GOTPAGEOFF]
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x19
	bl	_archive_read_format_7zip_read_data
	ldr	w8, [x27]
	cmp	w0, w8
	b.lt	LBB0_50
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	ldr	x25, [sp, #16]
	add	x8, x28, x25
	add	x1, x8, #1
	mov	x0, x24
	bl	_realloc
	cbz	x0, LBB0_53
; %bb.43:                               ;   in Loop: Header=BB0_41 Depth=1
	mov	x23, x0
	add	x0, x0, x28
	ldr	x1, [sp, #24]
	mov	x2, x25
	bl	_memcpy
	ldr	x8, [sp, #16]
	add	x28, x8, x28
	ldr	w8, [x20, #20]
	mov	x24, x23
	cmp	w8, #0
	b.gt	LBB0_41
; %bb.44:
	cbz	x28, LBB0_54
; %bb.45:
	strb	wzr, [x23, x28]
	mov	x0, x22
	mov	x1, x23
	bl	_archive_entry_copy_symlink
	b	LBB0_48
LBB0_46:
	mov	x23, #0
LBB0_47:
	ldr	w8, [x11]
	ldr	w9, [x26, #8]
	bic	w8, w9, w8
Lloh49:
	adrp	x9, _AE_IFREG@GOTPAGE
Lloh50:
	ldr	x9, [x9, _AE_IFREG@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w1, w9, w8
	str	w1, [x26, #8]
	mov	x0, x22
	bl	_archive_entry_set_mode
LBB0_48:
	mov	x0, x23
	bl	_free
	mov	x0, x22
	mov	w1, #0
	bl	_archive_entry_set_size
LBB0_49:
	ldr	x8, [x20, #24]
	mov	w9, #112
	strh	w9, [x8, #4]
	mov	w9, #11575
	movk	w9, #26970, lsl #16
	str	w9, [x8]
	ldr	x8, [x20, #24]
	str	x8, [x19]
	b	LBB0_52
LBB0_50:
	mov	x23, x0
	mov	x0, x24
	bl	_free
LBB0_51:
	mov	x21, x23
LBB0_52:
	mov	x0, x21
	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
LBB0_53:
	mov	x0, x24
	bl	_free
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh54:
	ldr	x1, [x8]
Lloh55:
	adrp	x2, l_.str.4@PAGE
Lloh56:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_24
LBB0_54:
Lloh57:
	adrp	x11, _AE_IFMT@GOTPAGE
Lloh58:
	ldr	x11, [x11, _AE_IFMT@GOTPAGEOFF]
	b	LBB0_47
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW,8,3 ; @ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW
	.comm	_ARCHIVE_FORMAT_7ZIP,4,2        ; @ARCHIVE_FORMAT_7ZIP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"7-Zip"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
l_.str.1:                               ; @.str.1
	.asciz	"UTF-16LE"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Can't allocate memory for Pathname"

	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
l_.str.3:                               ; @.str.3
	.asciz	"Pathname cannot be converted from %s to current locale."

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_MTIME_IS_SET,4,2               ; @MTIME_IS_SET
	.comm	_CTIME_IS_SET,4,2               ; @CTIME_IS_SET
	.comm	_ATIME_IS_SET,4,2               ; @ATIME_IS_SET
	.comm	_AE_IFMT,4,2                    ; @AE_IFMT
	.comm	_AE_IFLNK,4,2                   ; @AE_IFLNK
l_.str.4:                               ; @.str.4
	.asciz	"Can't allocate memory for Symname"

	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.no_dead_strip	_archive_read_format_7zip_read_header
.subsections_via_symbols
