	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_head_file
_process_head_file:                     ## @process_head_file
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movq	_MAX_NAME_IN_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_archive_entry_clear
	cmpl	$0, 32(%r15)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_reset_file_context
LBB0_2:
	movq	_HFL_EXTRA_DATA@GOTPCREL(%rip), %rax
	testq	%r13, (%rax)
	je	LBB0_3
## %bb.4:
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_55
## %bb.5:
	movq	-80(%rbp), %rcx
	jmp	LBB0_6
LBB0_3:
	xorl	%ecx, %ecx
LBB0_6:
	movq	_HFL_DATA@GOTPCREL(%rip), %rax
	testq	%r13, (%rax)
	je	LBB0_73
## %bb.7:
	movq	%rcx, %r13
	leaq	-152(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_55
## %bb.8:
	movq	-152(%rbp), %rax
	movq	%rax, 48(%r15)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_55
## %bb.9:
	leaq	-116(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var
	testl	%eax, %eax
	je	LBB0_55
## %bb.10:
	movq	-64(%rbp), %rax
	testb	$8, %al
	jne	LBB0_11
## %bb.14:
	andl	$1, %eax
	movq	%rax, 56(%r15)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_55
## %bb.15:
	movq	-64(%rbp), %rax
	testb	$2, %al
	je	LBB0_18
## %bb.16:
	leaq	-136(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_read_u32
	testl	%eax, %eax
	je	LBB0_55
## %bb.17:
	movq	-64(%rbp), %rax
LBB0_18:
	testb	$4, %al
	je	LBB0_20
## %bb.19:
	leaq	-128(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_read_u32
	testl	%eax, %eax
	je	LBB0_55
LBB0_20:
	leaq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_55
## %bb.21:
	movq	-112(%rbp), %rcx
	movl	%ecx, %edx
	shrl	$7, %edx
	andl	$7, %edx
	movl	%ecx, %esi
	andl	$63, %esi
	movq	56(%r15), %rax
	movq	_g_unpack_window_size@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	shrq	$10, %rcx
	andb	$15, %cl
                                        ## kill: def $cl killed $cl killed $rcx
	shlq	%cl, %rdi
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovleq	%rdi, %rcx
	movl	%edx, 8(%r15)
	addl	$50, %esi
	movl	%esi, 12(%r15)
	cmpl	$67108864, %ecx                 ## imm = 0x4000000
	jg	LBB0_24
## %bb.22:
	testq	%rax, %rax
	jne	LBB0_25
## %bb.23:
	testl	%ecx, %ecx
	jne	LBB0_25
LBB0_24:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_12
LBB0_73:
	movq	$0, 48(%r15)
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_12:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_11:
	movq	_ARCHIVE_ERRNO_PROGRAMMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_12
LBB0_25:
	movslq	%ecx, %rax
	movq	%rax, 40(%r15)
	movq	%r15, %rdi
	callq	_init_window_mask
	movl	-112(%rbp), %eax
	shrl	$6, %eax
	andl	$1, %eax
	movl	%eax, 64(%r15)
	movq	$0, 96(%r15)
	leaq	-144(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_55
## %bb.26:
	movq	-144(%rbp), %rcx
	cmpq	$1, %rcx
	je	LBB0_47
## %bb.27:
	testq	%rcx, %rcx
	jne	LBB0_46
## %bb.28:
	movq	-56(%rbp), %rax
	testb	$16, %al
	jne	LBB0_29
## %bb.32:
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testb	$1, %al
	jne	LBB0_33
## %bb.34:
	orl	$420, %esi                      ## imm = 0x1A4
	jmp	LBB0_35
LBB0_47:
	movl	-56(%rbp), %esi
	movq	%r14, %rdi
	callq	_archive_entry_set_mode
	jmp	LBB0_48
LBB0_46:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_29:
	movq	_AE_IFDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testb	$1, %al
	jne	LBB0_30
## %bb.31:
	orl	$493, %esi                      ## imm = 0x1ED
	jmp	LBB0_35
LBB0_33:
	orl	$292, %esi                      ## imm = 0x124
	jmp	LBB0_35
LBB0_30:
	orl	$365, %esi                      ## imm = 0x16D
LBB0_35:
	movq	%r14, %rdi
	callq	_archive_entry_set_mode
	testb	$7, -56(%rbp)
	je	LBB0_48
## %bb.36:
	movl	$22, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_48
## %bb.37:
	movq	-56(%rbp), %rcx
	movq	%rax, %rdi
	testb	$1, %cl
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_38
## %bb.39:
	testb	$2, %cl
	jne	LBB0_40
LBB0_41:
	testb	$4, %cl
	je	LBB0_43
LBB0_42:
	leaq	L_.str.5(%rip), %rsi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_strcpy
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	addq	$7, %rdi
LBB0_43:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %rdi
	jbe	LBB0_45
## %bb.44:
	movb	$0, -1(%rdi)
	movq	%r14, %rdi
	callq	_archive_entry_copy_fflags_text
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_45:
	movq	%rsi, %rdi
	callq	_free
LBB0_48:
	leaq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_55
## %bb.49:
	movq	-88(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_read_ahead
	testl	%eax, %eax
	je	LBB0_55
## %bb.50:
	movq	-88(%rbp), %rdx
	movq	_MAX_NAME_IN_CHARS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	cmpq	%rax, %rdx
	jbe	LBB0_52
## %bb.51:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_12
LBB0_52:
	testq	%rdx, %rdx
	je	LBB0_53
## %bb.54:
	movq	-80(%rbp), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_memcpy
	movq	-88(%rbp), %rsi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movb	$0, (%rax,%rsi)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_consume
	cmpl	%eax, -72(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_55
## %bb.56:
	movq	%r14, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_archive_entry_update_pathname_utf8
	testq	%r13, %r13
	jle	LBB0_58
## %bb.57:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_process_head_file_extra
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_71
LBB0_58:
	movq	-64(%rbp), %rax
	testb	$8, %al
	jne	LBB0_61
## %bb.59:
	movslq	-116(%rbp), %rsi
	movq	%rsi, 88(%r15)
	movq	72(%r15), %rcx
	movq	_REDIR_TYPE_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_61
## %bb.60:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_archive_entry_set_size
	movq	-64(%rbp), %rax
LBB0_61:
	testb	$2, %al
	jne	LBB0_62
## %bb.63:
	testb	$4, %al
	jne	LBB0_64
LBB0_65:
	cmpl	$0, 32(%r15)
	je	LBB0_66
LBB0_67:
	cmpq	$0, (%r15)
	jle	LBB0_69
LBB0_68:
	movq	_ARCHIVE_RETRY@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_55:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
LBB0_70:
	movl	(%rax), %eax
LBB0_71:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_74
## %bb.72:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcpy
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	7(%rax), %rdi
	movq	-56(%rbp), %rcx
	testb	$2, %cl
	je	LBB0_41
LBB0_40:
	leaq	L_.str.4(%rip), %rsi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_strcpy
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	addq	$7, %rdi
	movq	-56(%rbp), %rcx
	testb	$4, %cl
	jne	LBB0_42
	jmp	LBB0_43
LBB0_53:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_12
LBB0_62:
	movl	-136(%rbp), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_archive_entry_set_mtime
	movq	-64(%rbp), %rax
	testb	$4, %al
	je	LBB0_65
LBB0_64:
	movq	-128(%rbp), %rax
	movq	%rax, 80(%r15)
	cmpl	$0, 32(%r15)
	jne	LBB0_67
LBB0_66:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 16(%r15)
	movq	$0, 24(%r15)
	cmpq	$0, (%r15)
	jg	LBB0_68
LBB0_69:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_74:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NAME_IN_BYTES,4,2          ## @MAX_NAME_IN_BYTES
	.comm	_HFL_EXTRA_DATA,8,3             ## @HFL_EXTRA_DATA
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_HFL_DATA,8,3                   ## @HFL_DATA
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no data found in file/service block"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ## @ARCHIVE_ERRNO_PROGRAMMER
L_.str.1:                               ## @.str.1
	.asciz	"Files with unknown unpacked size are not supported"

	.comm	_g_unpack_window_size,8,3       ## @g_unpack_window_size
L_.str.2:                               ## @.str.2
	.asciz	"Declared dictionary size is not supported."

	.comm	_AE_IFDIR,4,2                   ## @AE_IFDIR
	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
L_.str.3:                               ## @.str.3
	.asciz	"rdonly,"

L_.str.4:                               ## @.str.4
	.asciz	"hidden,"

L_.str.5:                               ## @.str.5
	.asciz	"system,"

L_.str.6:                               ## @.str.6
	.asciz	"Unsupported Host OS: 0x%x"

	.comm	_MAX_NAME_IN_CHARS,4,2          ## @MAX_NAME_IN_CHARS
L_.str.7:                               ## @.str.7
	.asciz	"Filename is too long"

L_.str.8:                               ## @.str.8
	.asciz	"No filename specified"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_REDIR_TYPE_NONE,8,3            ## @REDIR_TYPE_NONE
	.comm	_ARCHIVE_RETRY,4,2              ## @ARCHIVE_RETRY
	.no_dead_strip	_process_head_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_head_file
_process_head_file:                     ; @process_head_file
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #96
	mov	x24, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	xzr, xzr, [x29, #-88]
	stp	xzr, xzr, [x29, #-104]
	stp	xzr, xzr, [x29, #-120]
	stp	xzr, xzr, [x29, #-144]
Lloh3:
	adrp	x8, _MAX_NAME_IN_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NAME_IN_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	mov	x0, x2
	bl	_archive_entry_clear
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_reset_file_context
LBB0_2:
Lloh8:
	adrp	x8, _HFL_EXTRA_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HFL_EXTRA_DATA@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	tst	x8, x24
	b.eq	LBB0_5
; %bb.3:
	stur	xzr, [x29, #-152]
	sub	x1, x29, #152
	mov	x0, x21
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_62
; %bb.4:
	ldur	x23, [x29, #-152]
	b	LBB0_6
LBB0_5:
	mov	x23, #0
LBB0_6:
Lloh11:
	adrp	x8, _HFL_DATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HFL_DATA@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	tst	x8, x24
	b.eq	LBB0_22
; %bb.7:
	sub	x1, x29, #80
	mov	x0, x21
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_62
; %bb.8:
	ldur	x8, [x29, #-80]
	str	x8, [x19, #48]
	sub	x1, x29, #88
	mov	x0, x21
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_62
; %bb.9:
	sub	x1, x29, #124
	mov	x0, x21
	mov	x2, #0
	bl	_read_var
	cbz	w0, LBB0_62
; %bb.10:
	ldur	x8, [x29, #-88]
	tbnz	w8, #3, LBB0_25
; %bb.11:
	and	x8, x8, #0x1
	str	x8, [x19, #56]
	sub	x1, x29, #96
	mov	x0, x21
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_62
; %bb.12:
	ldur	x8, [x29, #-88]
	tbz	w8, #1, LBB0_15
; %bb.13:
	sub	x1, x29, #136
	mov	x0, x21
	bl	_read_u32
	cbz	w0, LBB0_62
; %bb.14:
	ldur	x8, [x29, #-88]
LBB0_15:
	tbz	w8, #2, LBB0_17
; %bb.16:
	sub	x1, x29, #144
	mov	x0, x21
	bl	_read_u32
	cbz	w0, LBB0_62
LBB0_17:
	sub	x1, x29, #104
	mov	x0, x21
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_62
; %bb.18:
	ldur	x9, [x29, #-104]
	ubfx	w10, w9, #7, #3
	and	w11, w9, #0x3f
	ldr	x8, [x19, #56]
Lloh14:
	adrp	x12, _g_unpack_window_size@GOTPAGE
Lloh15:
	ldr	x12, [x12, _g_unpack_window_size@GOTPAGEOFF]
Lloh16:
	ldr	x12, [x12]
	ubfx	x9, x9, #10, #4
	lsl	x9, x12, x9
	cmp	x8, #0
	csel	x9, xzr, x9, gt
	add	w11, w11, #50
	stp	w10, w11, [x19, #8]
	mov	w10, #67108864
	cmp	w9, w10
	b.gt	LBB0_21
; %bb.19:
	cbnz	x8, LBB0_26
; %bb.20:
	cbnz	w9, LBB0_26
LBB0_21:
Lloh17:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_22:
	str	xzr, [x19, #48]
Lloh22:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
LBB0_23:
	mov	x0, x21
	bl	_archive_set_error
LBB0_24:
Lloh27:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_63
LBB0_25:
Lloh29:
	adrp	x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_23
LBB0_26:
	sxtw	x8, w9
	str	x8, [x19, #40]
	mov	x0, x19
	bl	_init_window_mask
	ldur	w8, [x29, #-104]
	ubfx	w8, w8, #6, #1
	str	w8, [x19, #64]
	str	xzr, [x19, #96]
	sub	x1, x29, #112
	mov	x0, x21
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_62
; %bb.27:
	ldur	x8, [x29, #-112]
	cmp	x8, #1
	b.eq	LBB0_32
; %bb.28:
	cbnz	x8, LBB0_33
; %bb.29:
	ldur	x8, [x29, #-96]
	tbnz	w8, #4, LBB0_34
; %bb.30:
Lloh34:
	adrp	x9, _AE_IFREG@GOTPAGE
Lloh35:
	ldr	x9, [x9, _AE_IFREG@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tbnz	w8, #0, LBB0_36
; %bb.31:
	mov	w8, #420
	b	LBB0_38
LBB0_32:
	ldur	w1, [x29, #-96]
	mov	x0, x20
	bl	_archive_entry_set_mode
	b	LBB0_46
LBB0_33:
Lloh37:
	adrp	x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x9]
	str	x8, [sp, #-16]!
Lloh40:
	adrp	x2, l_.str.6@PAGE
Lloh41:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_archive_set_error
	add	sp, sp, #16
	b	LBB0_24
LBB0_34:
Lloh42:
	adrp	x9, _AE_IFDIR@GOTPAGE
Lloh43:
	ldr	x9, [x9, _AE_IFDIR@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tbnz	w8, #0, LBB0_37
; %bb.35:
	mov	w8, #493
	b	LBB0_38
LBB0_36:
	mov	w8, #292
	b	LBB0_38
LBB0_37:
	mov	w8, #365
LBB0_38:
	orr	w1, w9, w8
	mov	x0, x20
	bl	_archive_entry_set_mode
	ldurb	w8, [x29, #-96]
	tst	w8, #0x7
	b.eq	LBB0_46
; %bb.39:
	mov	w0, #22
	bl	_malloc
	cbz	x0, LBB0_46
; %bb.40:
	mov	x24, x0
	ldur	x8, [x29, #-96]
	mov	x25, x0
	tbnz	w8, #0, LBB0_66
; %bb.41:
	tbnz	w8, #1, LBB0_67
LBB0_42:
	tbnz	w8, #2, LBB0_68
LBB0_43:
	cmp	x25, x24
	b.ls	LBB0_45
LBB0_44:
	sturb	wzr, [x25, #-1]
	mov	x0, x20
	mov	x1, x24
	bl	_archive_entry_copy_fflags_text
LBB0_45:
	mov	x0, x24
	bl	_free
LBB0_46:
	sub	x1, x29, #120
	mov	x0, x21
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_62
; %bb.47:
	ldur	x1, [x29, #-120]
	sub	x2, x29, #152
	mov	x0, x21
	bl	_read_ahead
	cbz	w0, LBB0_62
; %bb.48:
	ldur	x2, [x29, #-120]
Lloh45:
	adrp	x8, _MAX_NAME_IN_CHARS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MAX_NAME_IN_CHARS@GOTPAGEOFF]
Lloh47:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	cmp	x2, x8
	b.ls	LBB0_50
; %bb.49:
Lloh48:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
Lloh51:
	adrp	x2, l_.str.7@PAGE
Lloh52:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_50:
	cbz	x2, LBB0_69
; %bb.51:
	ldur	x1, [x29, #-152]
	mov	x0, x22
	bl	_memcpy
	ldur	x1, [x29, #-120]
	strb	wzr, [x22, x1]
Lloh53:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh54:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w25, [x24]
	mov	x0, x21
	bl	_consume
	cmp	w25, w0
	b.ne	LBB0_62
; %bb.52:
	mov	x0, x20
	mov	x1, x22
	bl	_archive_entry_update_pathname_utf8
	cmp	x23, #1
	b.lt	LBB0_54
; %bb.53:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	bl	_process_head_file_extra
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_64
LBB0_54:
	ldur	x8, [x29, #-88]
	tbnz	w8, #3, LBB0_57
; %bb.55:
	ldursw	x1, [x29, #-124]
	str	x1, [x19, #88]
	ldr	x9, [x19, #72]
Lloh55:
	adrp	x10, _REDIR_TYPE_NONE@GOTPAGE
Lloh56:
	ldr	x10, [x10, _REDIR_TYPE_NONE@GOTPAGEOFF]
Lloh57:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_57
; %bb.56:
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_archive_entry_set_size
	ldur	x8, [x29, #-88]
LBB0_57:
	tbnz	w8, #1, LBB0_70
; %bb.58:
	tbnz	w8, #2, LBB0_71
LBB0_59:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_72
LBB0_60:
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_73
; %bb.61:
Lloh58:
	adrp	x8, _ARCHIVE_RETRY@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ARCHIVE_RETRY@GOTPAGEOFF]
	b	LBB0_63
LBB0_62:
Lloh60:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
LBB0_63:
	ldr	w0, [x8]
LBB0_64:
	mov	sp, x26
	ldur	x8, [x29, #-72]
Lloh62:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh63:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_74
; %bb.65:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_66:
Lloh65:
	adrp	x1, l_.str.3@PAGE
Lloh66:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	bl	_strcpy
	add	x25, x24, #7
	ldur	x8, [x29, #-96]
	tbz	w8, #1, LBB0_42
LBB0_67:
Lloh67:
	adrp	x1, l_.str.4@PAGE
Lloh68:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x25
	bl	_strcpy
	add	x25, x25, #7
	ldur	x8, [x29, #-96]
	tbz	w8, #2, LBB0_43
LBB0_68:
Lloh69:
	adrp	x1, l_.str.5@PAGE
Lloh70:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x25
	bl	_strcpy
	add	x25, x25, #7
	cmp	x25, x24
	b.hi	LBB0_44
	b	LBB0_45
LBB0_69:
Lloh71:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x2, l_.str.8@PAGE
Lloh75:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_23
LBB0_70:
	ldur	w1, [x29, #-136]
	mov	x0, x20
	mov	w2, #0
	bl	_archive_entry_set_mtime
	ldur	x8, [x29, #-88]
	tbz	w8, #2, LBB0_59
LBB0_71:
	ldur	x8, [x29, #-144]
	str	x8, [x19, #80]
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_60
LBB0_72:
	movi.2s	v0, #1
	str	d0, [x19, #16]
	str	xzr, [x19, #24]
	b	LBB0_60
LBB0_73:
	ldr	w0, [x24]
	b	LBB0_64
LBB0_74:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NAME_IN_BYTES,4,2          ; @MAX_NAME_IN_BYTES
	.comm	_HFL_EXTRA_DATA,8,3             ; @HFL_EXTRA_DATA
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_HFL_DATA,8,3                   ; @HFL_DATA
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no data found in file/service block"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ; @ARCHIVE_ERRNO_PROGRAMMER
l_.str.1:                               ; @.str.1
	.asciz	"Files with unknown unpacked size are not supported"

	.comm	_g_unpack_window_size,8,3       ; @g_unpack_window_size
l_.str.2:                               ; @.str.2
	.asciz	"Declared dictionary size is not supported."

	.comm	_AE_IFDIR,4,2                   ; @AE_IFDIR
	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
l_.str.3:                               ; @.str.3
	.asciz	"rdonly,"

l_.str.4:                               ; @.str.4
	.asciz	"hidden,"

l_.str.5:                               ; @.str.5
	.asciz	"system,"

l_.str.6:                               ; @.str.6
	.asciz	"Unsupported Host OS: 0x%x"

	.comm	_MAX_NAME_IN_CHARS,4,2          ; @MAX_NAME_IN_CHARS
l_.str.7:                               ; @.str.7
	.asciz	"Filename is too long"

l_.str.8:                               ; @.str.8
	.asciz	"No filename specified"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_REDIR_TYPE_NONE,8,3            ; @REDIR_TYPE_NONE
	.comm	_ARCHIVE_RETRY,4,2              ; @ARCHIVE_RETRY
	.no_dead_strip	_process_head_file
.subsections_via_symbols
