	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function _archive_write_disk_header
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
__archive_write_disk_header:            ## @_archive_write_disk_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	leaq	48(%rdi), %r15
	movq	_ARCHIVE_WRITE_DISK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_HEADER@GOTPCREL(%rip), %rax
	movq	_ARCHIVE_STATE_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_archive_check_magic
	movq	%r15, %rdi
	callq	_archive_clear_error
	movl	(%rbx), %eax
	testl	%eax, 48(%r14)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	__archive_write_disk_finish_entry
	movl	%eax, %r12d
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_67
LBB0_2:
	movl	$0, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 104(%r14)
	movq	56(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_archive_entry_free
	movq	$0, 56(%r14)
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_entry_clone
	movq	%rax, 56(%r14)
	movq	$-1, 4(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r14)
	movl	80(%r14), %ecx
	movl	%ecx, 84(%r14)
	movq	%rax, %rdi
	callq	_archive_entry_mode
	movl	%eax, 12(%r14)
	movq	56(%r14), %rdi
	callq	_archive_entry_size_is_set
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	56(%r14), %rdi
	callq	_archive_entry_size
	jmp	LBB0_7
LBB0_5:
	movl	$-1, %eax
LBB0_7:
	movl	%eax, 16(%r14)
	leaq	72(%r14), %rbx
	movq	56(%r14), %rdi
	callq	_archive_entry_pathname
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_archive_strcpy
	movq	72(%r14), %rax
	movq	%rax, 24(%r14)
	movq	%r15, %rdi
	callq	_archive_clear_error
	movq	%r14, %rdi
	callq	_cleanup_pathname
	movl	%eax, %r12d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_67
## %bb.8:
	xorl	%edi, %edi
	callq	_umask
	movl	%eax, 32(%r14)
	movl	%eax, %edi
	callq	_umask
	movq	_TODO_MODE_BASE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	%ecx, 36(%r14)
	movl	40(%r14), %eax
	movq	_ARCHIVE_EXTRACT_PERM@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_13
## %bb.9:
	movq	_TODO_MODE_FORCE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 36(%r14)
	movl	12(%r14), %edx
	movq	_S_ISGID@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_11
## %bb.10:
	movq	_TODO_SGID@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movq	_TODO_SGID_CHECK@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, 36(%r14)
LBB0_11:
	movq	_S_ISUID@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_14
## %bb.12:
	movq	_TODO_SUID@GOTPCREL(%rip), %rdx
	movq	_TODO_SUID_CHECK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	orl	%esi, %ecx
	movl	%ecx, 36(%r14)
	jmp	LBB0_14
LBB0_13:
	movq	_S_ISUID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_S_ISGID@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_S_ISVTX@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	orl	32(%r14), %edx
	notl	%edx
	andl	%edx, 12(%r14)
LBB0_14:
	movq	_ARCHIVE_EXTRACT_OWNER@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_16
## %bb.15:
	movq	_TODO_OWNER@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 36(%r14)
LBB0_16:
	movq	_ARCHIVE_EXTRACT_TIME@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_18
## %bb.17:
	movq	_TODO_TIMES@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 36(%r14)
LBB0_18:
	movq	_ARCHIVE_EXTRACT_ACL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.19:
	movq	56(%r14), %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rdx
	movq	_TODO_ACLS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_21
## %bb.20:
	orl	%ecx, (%r14)
	jmp	LBB0_22
LBB0_21:
	orl	%ecx, 36(%r14)
LBB0_22:
	movq	_ARCHIVE_EXTRACT_MAC_METADATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 40(%r14)
	je	LBB0_26
## %bb.23:
	movq	56(%r14), %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rdx
	movq	_TODO_MAC_METADATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_25
## %bb.24:
	orl	%ecx, (%r14)
	jmp	LBB0_26
LBB0_25:
	orl	%ecx, 36(%r14)
LBB0_26:
	movl	40(%r14), %eax
	movq	_ARCHIVE_EXTRACT_XATTR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.27:
	movq	_TODO_XATTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 36(%r14)
LBB0_28:
	movq	_ARCHIVE_EXTRACT_FFLAGS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.29:
	movq	_TODO_FFLAGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 36(%r14)
LBB0_30:
	movq	_ARCHIVE_EXTRACT_SECURE_SYMLINKS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
## %bb.31:
	movq	%r14, %rdi
	callq	_check_symlinks
	movl	%eax, %r12d
	cmpl	(%rbx), %eax
	jne	LBB0_67
LBB0_32:
	movq	%r14, %rdi
	callq	_restore_entry
	movl	%eax, %r12d
	movl	(%r14), %eax
	movq	_TODO_MODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_36
## %bb.33:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_entry_pathname
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_current_fixup
	testq	%rax, %rax
	je	LBB0_34
## %bb.35:
	movl	(%r13), %ecx
	orl	%ecx, (%rax)
	movl	12(%r14), %ecx
	movl	%ecx, 4(%rax)
	movl	(%r14), %eax
LBB0_36:
	movq	_TODO_TIMES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_50
## %bb.37:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_entry_mtime_is_set
	testq	%rax, %rax
	jne	LBB0_39
## %bb.38:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_entry_atime_is_set
	testq	%rax, %rax
	je	LBB0_50
LBB0_39:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_archive_entry_pathname
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_current_fixup
	testq	%rax, %rax
	je	LBB0_34
## %bb.40:
	movq	%rax, %r13
	movl	12(%r14), %eax
	movl	%eax, 4(%r13)
	movq	_TODO_TIMES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	movq	%rbx, %rdi
	callq	_archive_entry_atime_is_set
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	movq	%rbx, %rdi
	callq	_archive_entry_atime
	movl	%eax, 64(%r13)
	movq	%rbx, %rdi
	callq	_archive_entry_atime_nsec
	jmp	LBB0_43
LBB0_42:
	movl	64(%r14), %eax
	movl	%eax, 64(%r13)
	xorl	%eax, %eax
LBB0_43:
	movq	%rax, 56(%r13)
	movq	%rbx, %rdi
	callq	_archive_entry_mtime_is_set
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	movq	%rbx, %rdi
	callq	_archive_entry_mtime
	movl	%eax, 48(%r13)
	movq	%rbx, %rdi
	callq	_archive_entry_mtime_nsec
	jmp	LBB0_46
LBB0_45:
	movl	64(%r14), %eax
	movl	%eax, 48(%r13)
	xorl	%eax, %eax
LBB0_46:
	movq	%rax, 32(%r13)
	movq	%rbx, %rdi
	callq	_archive_entry_birthtime_is_set
	testq	%rax, %rax
	je	LBB0_48
## %bb.47:
	movq	%rbx, %rdi
	callq	_archive_entry_birthtime
	movl	%eax, 52(%r13)
	movq	%rbx, %rdi
	callq	_archive_entry_birthtime_nsec
	jmp	LBB0_49
LBB0_48:
	movl	48(%r13), %eax
	movl	%eax, 52(%r13)
	movq	32(%r13), %rax
LBB0_49:
	movq	%rax, 40(%r13)
LBB0_50:
	movl	(%r14), %eax
	movq	_TODO_ACLS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_53
## %bb.51:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_archive_entry_pathname
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_current_fixup
	testq	%rax, %rax
	je	LBB0_34
## %bb.52:
	movq	%rax, %r13
	movq	_TODO_ACLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	addq	$24, %r13
	movq	%rbx, %rdi
	callq	_archive_entry_acl
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_archive_acl_copy
	movl	(%r14), %eax
LBB0_53:
	movq	_TODO_MAC_METADATA@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_60
## %bb.54:
	movq	56(%r14), %rdi
	leaq	-56(%rbp), %rsi
	callq	_archive_entry_mac_metadata
	testq	%rax, %rax
	je	LBB0_59
## %bb.55:
	cmpq	$0, -56(%rbp)
	je	LBB0_59
## %bb.56:
	movq	%rax, %r13
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_entry_pathname
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_current_fixup
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_34
## %bb.57:
	movq	-56(%rbp), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_malloc
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
	testq	%rax, %rax
	je	LBB0_59
## %bb.58:
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_memcpy
	movq	-56(%rbp), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movl	(%rbx), %eax
	orl	%eax, (%rcx)
LBB0_59:
	movl	(%r14), %eax
LBB0_60:
	movq	_TODO_FFLAGS@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_63
## %bb.61:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_entry_pathname
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_current_fixup
	testq	%rax, %rax
	je	LBB0_34
## %bb.62:
	movl	(%rbx), %ecx
	orl	%ecx, (%rax)
LBB0_63:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jl	LBB0_65
## %bb.64:
	movq	_ARCHIVE_STATE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_65:
	cmpl	$0, 4(%r14)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jns	LBB0_67
## %bb.66:
	xorl	%esi, %esi
	callq	_archive_entry_set_size
	movl	$0, 16(%r14)
	jmp	LBB0_67
LBB0_34:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_67:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ## @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_HEADER,4,2       ## @ARCHIVE_STATE_HEADER
	.comm	_ARCHIVE_STATE_DATA,4,2         ## @ARCHIVE_STATE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_write_disk_header"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_TODO_MODE_BASE,4,2             ## @TODO_MODE_BASE
	.comm	_ARCHIVE_EXTRACT_PERM,4,2       ## @ARCHIVE_EXTRACT_PERM
	.comm	_TODO_MODE_FORCE,4,2            ## @TODO_MODE_FORCE
	.comm	_S_ISGID,4,2                    ## @S_ISGID
	.comm	_TODO_SGID,4,2                  ## @TODO_SGID
	.comm	_TODO_SGID_CHECK,4,2            ## @TODO_SGID_CHECK
	.comm	_S_ISUID,4,2                    ## @S_ISUID
	.comm	_TODO_SUID,4,2                  ## @TODO_SUID
	.comm	_TODO_SUID_CHECK,4,2            ## @TODO_SUID_CHECK
	.comm	_S_ISVTX,4,2                    ## @S_ISVTX
	.comm	_ARCHIVE_EXTRACT_OWNER,4,2      ## @ARCHIVE_EXTRACT_OWNER
	.comm	_TODO_OWNER,4,2                 ## @TODO_OWNER
	.comm	_ARCHIVE_EXTRACT_TIME,4,2       ## @ARCHIVE_EXTRACT_TIME
	.comm	_TODO_TIMES,4,2                 ## @TODO_TIMES
	.comm	_ARCHIVE_EXTRACT_ACL,4,2        ## @ARCHIVE_EXTRACT_ACL
	.comm	_AE_IFDIR,8,3                   ## @AE_IFDIR
	.comm	_TODO_ACLS,4,2                  ## @TODO_ACLS
	.comm	_ARCHIVE_EXTRACT_MAC_METADATA,4,2 ## @ARCHIVE_EXTRACT_MAC_METADATA
	.comm	_TODO_MAC_METADATA,4,2          ## @TODO_MAC_METADATA
	.comm	_ARCHIVE_EXTRACT_XATTR,4,2      ## @ARCHIVE_EXTRACT_XATTR
	.comm	_TODO_XATTR,4,2                 ## @TODO_XATTR
	.comm	_ARCHIVE_EXTRACT_FFLAGS,4,2     ## @ARCHIVE_EXTRACT_FFLAGS
	.comm	_TODO_FFLAGS,4,2                ## @TODO_FFLAGS
	.comm	_ARCHIVE_EXTRACT_SECURE_SYMLINKS,4,2 ## @ARCHIVE_EXTRACT_SECURE_SYMLINKS
	.comm	_TODO_MODE,4,2                  ## @TODO_MODE
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_AE_IFMT,4,2                    ## @AE_IFMT
	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_NFS4,4,2 ## @ARCHIVE_ENTRY_ACL_TYPE_NFS4
	.comm	_ARCHIVE_EXTRACT_HFS_COMPRESSION_FORCED,4,2 ## @ARCHIVE_EXTRACT_HFS_COMPRESSION_FORCED
	.comm	_ARCHIVE_EXTRACT_NO_HFS_COMPRESSION,4,2 ## @ARCHIVE_EXTRACT_NO_HFS_COMPRESSION
	.comm	_TODO_APPLEDOUBLE,4,2           ## @TODO_APPLEDOUBLE
	.comm	_TODO_HFS_COMPRESSION,4,2       ## @TODO_HFS_COMPRESSION
	.comm	_UF_COMPRESSED,8,3              ## @UF_COMPRESSED
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	__archive_write_disk_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _archive_write_disk_header
__archive_write_disk_header:            ; @_archive_write_disk_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x19, x0
	add	x21, x0, #48
Lloh0:
	adrp	x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ARCHIVE_STATE_HEADER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARCHIVE_STATE_HEADER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x26, _ARCHIVE_STATE_DATA@GOTPAGE
Lloh7:
	ldr	x26, [x26, _ARCHIVE_STATE_DATA@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w2, w9, w8
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	bl	_archive_check_magic
	mov	x0, x21
	bl	_archive_clear_error
	ldr	w8, [x19, #48]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	__archive_write_disk_finish_entry
	mov	x22, x0
Lloh10:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_67
LBB0_2:
	str	wzr, [x19]
	stp	xzr, xzr, [x19, #104]
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_archive_entry_free
	str	xzr, [x19, #56]
LBB0_4:
	mov	x0, x20
	bl	_archive_entry_clone
	str	x0, [x19, #56]
	stp	xzr, xzr, [x19, #88]
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x19, #4]
	ldr	w8, [x19, #80]
	str	w8, [x19, #84]
	bl	_archive_entry_mode
	str	w0, [x19, #12]
	ldr	x0, [x19, #56]
	bl	_archive_entry_size_is_set
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x19, #56]
	bl	_archive_entry_size
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	str	w0, [x19, #16]
	add	x22, x19, #72
	ldr	x0, [x19, #56]
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x22
	bl	_archive_strcpy
	ldr	x8, [x19, #72]
	str	x8, [x19, #24]
	mov	x0, x21
	bl	_archive_clear_error
	mov	x0, x19
	bl	_cleanup_pathname
	mov	x22, x0
Lloh13:
	adrp	x25, _ARCHIVE_OK@GOTPAGE
Lloh14:
	ldr	x25, [x25, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_67
; %bb.8:
	mov	w0, #0
	bl	_umask
	str	w0, [x19, #32]
	bl	_umask
Lloh15:
	adrp	x23, _TODO_MODE_BASE@GOTPAGE
Lloh16:
	ldr	x23, [x23, _TODO_MODE_BASE@GOTPAGEOFF]
	ldr	w9, [x23]
	str	w9, [x19, #36]
	ldr	w8, [x19, #40]
Lloh17:
	adrp	x10, _ARCHIVE_EXTRACT_PERM@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ARCHIVE_EXTRACT_PERM@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_13
; %bb.9:
Lloh20:
	adrp	x10, _TODO_MODE_FORCE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _TODO_MODE_FORCE@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x19, #36]
	ldr	w10, [x19, #12]
Lloh23:
	adrp	x11, _S_ISGID@GOTPAGE
Lloh24:
	ldr	x11, [x11, _S_ISGID@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_11
; %bb.10:
Lloh26:
	adrp	x11, _TODO_SGID@GOTPAGE
Lloh27:
	ldr	x11, [x11, _TODO_SGID@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
Lloh29:
	adrp	x12, _TODO_SGID_CHECK@GOTPAGE
Lloh30:
	ldr	x12, [x12, _TODO_SGID_CHECK@GOTPAGEOFF]
Lloh31:
	ldr	w12, [x12]
	orr	w9, w11, w9
	orr	w9, w9, w12
	str	w9, [x19, #36]
LBB0_11:
Lloh32:
	adrp	x11, _S_ISUID@GOTPAGE
Lloh33:
	ldr	x11, [x11, _S_ISUID@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_14
; %bb.12:
Lloh35:
	adrp	x10, _TODO_SUID@GOTPAGE
Lloh36:
	ldr	x10, [x10, _TODO_SUID@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
Lloh38:
	adrp	x11, _TODO_SUID_CHECK@GOTPAGE
Lloh39:
	ldr	x11, [x11, _TODO_SUID_CHECK@GOTPAGEOFF]
Lloh40:
	ldr	w11, [x11]
	orr	w10, w11, w10
	orr	w9, w10, w9
	str	w9, [x19, #36]
	b	LBB0_14
LBB0_13:
Lloh41:
	adrp	x10, _S_ISUID@GOTPAGE
Lloh42:
	ldr	x10, [x10, _S_ISUID@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	ldr	w11, [x19, #12]
Lloh44:
	adrp	x12, _S_ISGID@GOTPAGE
Lloh45:
	ldr	x12, [x12, _S_ISGID@GOTPAGEOFF]
Lloh46:
	ldr	w12, [x12]
	orr	w10, w10, w12
Lloh47:
	adrp	x12, _S_ISVTX@GOTPAGE
Lloh48:
	ldr	x12, [x12, _S_ISVTX@GOTPAGEOFF]
Lloh49:
	ldr	w12, [x12]
	orr	w10, w10, w12
	ldr	w12, [x19, #32]
	orr	w10, w10, w12
	bic	w10, w11, w10
	str	w10, [x19, #12]
LBB0_14:
Lloh50:
	adrp	x10, _ARCHIVE_EXTRACT_OWNER@GOTPAGE
Lloh51:
	ldr	x10, [x10, _ARCHIVE_EXTRACT_OWNER@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_16
; %bb.15:
Lloh53:
	adrp	x10, _TODO_OWNER@GOTPAGE
Lloh54:
	ldr	x10, [x10, _TODO_OWNER@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #36]
LBB0_16:
Lloh56:
	adrp	x10, _ARCHIVE_EXTRACT_TIME@GOTPAGE
Lloh57:
	ldr	x10, [x10, _ARCHIVE_EXTRACT_TIME@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
Lloh59:
	adrp	x27, _TODO_TIMES@GOTPAGE
Lloh60:
	ldr	x27, [x27, _TODO_TIMES@GOTPAGEOFF]
	tst	w10, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	w10, [x27]
	orr	w9, w9, w10
	str	w9, [x19, #36]
LBB0_18:
Lloh61:
	adrp	x9, _ARCHIVE_EXTRACT_ACL@GOTPAGE
Lloh62:
	ldr	x9, [x9, _ARCHIVE_EXTRACT_ACL@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
Lloh64:
	adrp	x22, _AE_IFDIR@GOTPAGE
Lloh65:
	ldr	x22, [x22, _AE_IFDIR@GOTPAGEOFF]
Lloh66:
	adrp	x24, _TODO_ACLS@GOTPAGE
Lloh67:
	ldr	x24, [x24, _TODO_ACLS@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.19:
	ldr	x0, [x19, #56]
	bl	_archive_entry_filetype
	ldr	x9, [x22]
	ldr	w8, [x24]
	cmp	x0, x9
	b.ne	LBB0_21
; %bb.20:
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_22
LBB0_21:
	ldr	w9, [x19, #36]
	orr	w8, w9, w8
	str	w8, [x19, #36]
LBB0_22:
	ldr	w8, [x19, #40]
Lloh68:
	adrp	x9, _ARCHIVE_EXTRACT_MAC_METADATA@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ARCHIVE_EXTRACT_MAC_METADATA@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.23:
	ldr	x0, [x19, #56]
	bl	_archive_entry_filetype
	ldr	x9, [x22]
Lloh71:
	adrp	x8, _TODO_MAC_METADATA@GOTPAGE
Lloh72:
	ldr	x8, [x8, _TODO_MAC_METADATA@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	cmp	x0, x9
	b.ne	LBB0_25
; %bb.24:
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_26
LBB0_25:
	ldr	w9, [x19, #36]
	orr	w8, w9, w8
	str	w8, [x19, #36]
LBB0_26:
	ldr	w8, [x19, #40]
Lloh74:
	adrp	x9, _ARCHIVE_EXTRACT_XATTR@GOTPAGE
Lloh75:
	ldr	x9, [x9, _ARCHIVE_EXTRACT_XATTR@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
Lloh77:
	adrp	x9, _TODO_XATTR@GOTPAGE
Lloh78:
	ldr	x9, [x9, _TODO_XATTR@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	ldr	w10, [x19, #36]
	orr	w9, w10, w9
	str	w9, [x19, #36]
LBB0_28:
Lloh80:
	adrp	x9, _ARCHIVE_EXTRACT_FFLAGS@GOTPAGE
Lloh81:
	ldr	x9, [x9, _ARCHIVE_EXTRACT_FFLAGS@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.29:
Lloh83:
	adrp	x9, _TODO_FFLAGS@GOTPAGE
Lloh84:
	ldr	x9, [x9, _TODO_FFLAGS@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	ldr	w10, [x19, #36]
	orr	w9, w10, w9
	str	w9, [x19, #36]
LBB0_30:
Lloh86:
	adrp	x9, _ARCHIVE_EXTRACT_SECURE_SYMLINKS@GOTPAGE
Lloh87:
	ldr	x9, [x9, _ARCHIVE_EXTRACT_SECURE_SYMLINKS@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:
	mov	x0, x19
	bl	_check_symlinks
	mov	x22, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_67
LBB0_32:
	mov	x0, x19
	bl	_restore_entry
	mov	x22, x0
	ldr	w8, [x19]
Lloh89:
	adrp	x9, _TODO_MODE@GOTPAGE
Lloh90:
	ldr	x9, [x9, _TODO_MODE@GOTPAGEOFF]
Lloh91:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.33:
	mov	x0, x20
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x19
	bl	_current_fixup
	cbz	x0, LBB0_66
; %bb.34:
	ldr	w8, [x23]
	ldr	w9, [x0]
	orr	w8, w9, w8
	ldr	w9, [x19, #12]
	stp	w8, w9, [x0]
	ldr	w8, [x19]
LBB0_35:
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_49
; %bb.36:
	mov	x0, x20
	bl	_archive_entry_mtime_is_set
	cbnz	x0, LBB0_38
; %bb.37:
	mov	x0, x20
	bl	_archive_entry_atime_is_set
	cbz	x0, LBB0_49
LBB0_38:
	mov	x0, x20
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x19
	bl	_current_fixup
	cbz	x0, LBB0_66
; %bb.39:
	mov	x23, x0
	ldr	w8, [x19, #12]
	ldr	w9, [x27]
	ldr	w10, [x0]
	orr	w9, w10, w9
	stp	w9, w8, [x0]
	mov	x0, x20
	bl	_archive_entry_atime_is_set
	cbz	x0, LBB0_41
; %bb.40:
	mov	x0, x20
	bl	_archive_entry_atime
	str	w0, [x23, #64]
	mov	x0, x20
	bl	_archive_entry_atime_nsec
	b	LBB0_42
LBB0_41:
	ldr	w8, [x19, #64]
	str	w8, [x23, #64]
LBB0_42:
	str	x0, [x23, #56]
	mov	x0, x20
	bl	_archive_entry_mtime_is_set
	cbz	x0, LBB0_44
; %bb.43:
	mov	x0, x20
	bl	_archive_entry_mtime
	str	w0, [x23, #48]
	mov	x0, x20
	bl	_archive_entry_mtime_nsec
	b	LBB0_45
LBB0_44:
	ldr	w8, [x19, #64]
	str	w8, [x23, #48]
LBB0_45:
	str	x0, [x23, #32]
	mov	x0, x20
	bl	_archive_entry_birthtime_is_set
	cbz	x0, LBB0_47
; %bb.46:
	mov	x0, x20
	bl	_archive_entry_birthtime
	str	w0, [x23, #52]
	mov	x0, x20
	bl	_archive_entry_birthtime_nsec
	b	LBB0_48
LBB0_47:
	ldr	w8, [x23, #48]
	str	w8, [x23, #52]
	ldr	x0, [x23, #32]
LBB0_48:
	str	x0, [x23, #40]
LBB0_49:
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_52
; %bb.50:
	mov	x0, x20
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x19
	bl	_current_fixup
	cbz	x0, LBB0_66
; %bb.51:
	mov	x23, x0
	ldr	w8, [x24]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x23], #24
	mov	x0, x20
	bl	_archive_entry_acl
	mov	x1, x0
	mov	x0, x23
	bl	_archive_acl_copy
	ldr	w8, [x19]
LBB0_52:
Lloh92:
	adrp	x27, _TODO_MAC_METADATA@GOTPAGE
Lloh93:
	ldr	x27, [x27, _TODO_MAC_METADATA@GOTPAGEOFF]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_59
; %bb.53:
	ldr	x0, [x19, #56]
	add	x1, sp, #8
	bl	_archive_entry_mac_metadata
	cbz	x0, LBB0_58
; %bb.54:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_58
; %bb.55:
	mov	x23, x0
	mov	x0, x20
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x19
	bl	_current_fixup
	cbz	x0, LBB0_66
; %bb.56:
	mov	x24, x0
	ldr	x25, [sp, #8]
	mov	x0, x25
	bl	_malloc
	str	x0, [x24, #16]
	cbz	x0, LBB0_58
; %bb.57:
	mov	x1, x23
	mov	x2, x25
	bl	_memcpy
	ldr	x8, [sp, #8]
	str	x8, [x24, #8]
	ldr	w8, [x27]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
LBB0_58:
	ldr	w8, [x19]
LBB0_59:
Lloh94:
	adrp	x23, _TODO_FFLAGS@GOTPAGE
Lloh95:
	ldr	x23, [x23, _TODO_FFLAGS@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_62
; %bb.60:
	mov	x0, x20
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x19
	bl	_current_fixup
	cbz	x0, LBB0_66
; %bb.61:
	ldr	w8, [x23]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_62:
Lloh96:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh97:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	cmp	w22, w8
	b.lt	LBB0_64
; %bb.63:
	ldr	w8, [x26]
	str	w8, [x21]
LBB0_64:
	ldr	w8, [x19, #4]
	tbz	w8, #31, LBB0_67
; %bb.65:
	mov	x0, x20
	mov	w1, #0
	bl	_archive_entry_set_size
	str	wzr, [x19, #16]
	b	LBB0_67
LBB0_66:
Lloh99:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh100:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh101:
	ldr	w22, [x8]
LBB0_67:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ; @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_HEADER,4,2       ; @ARCHIVE_STATE_HEADER
	.comm	_ARCHIVE_STATE_DATA,4,2         ; @ARCHIVE_STATE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_write_disk_header"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_TODO_MODE_BASE,4,2             ; @TODO_MODE_BASE
	.comm	_ARCHIVE_EXTRACT_PERM,4,2       ; @ARCHIVE_EXTRACT_PERM
	.comm	_TODO_MODE_FORCE,4,2            ; @TODO_MODE_FORCE
	.comm	_S_ISGID,4,2                    ; @S_ISGID
	.comm	_TODO_SGID,4,2                  ; @TODO_SGID
	.comm	_TODO_SGID_CHECK,4,2            ; @TODO_SGID_CHECK
	.comm	_S_ISUID,4,2                    ; @S_ISUID
	.comm	_TODO_SUID,4,2                  ; @TODO_SUID
	.comm	_TODO_SUID_CHECK,4,2            ; @TODO_SUID_CHECK
	.comm	_S_ISVTX,4,2                    ; @S_ISVTX
	.comm	_ARCHIVE_EXTRACT_OWNER,4,2      ; @ARCHIVE_EXTRACT_OWNER
	.comm	_TODO_OWNER,4,2                 ; @TODO_OWNER
	.comm	_ARCHIVE_EXTRACT_TIME,4,2       ; @ARCHIVE_EXTRACT_TIME
	.comm	_TODO_TIMES,4,2                 ; @TODO_TIMES
	.comm	_ARCHIVE_EXTRACT_ACL,4,2        ; @ARCHIVE_EXTRACT_ACL
	.comm	_AE_IFDIR,8,3                   ; @AE_IFDIR
	.comm	_TODO_ACLS,4,2                  ; @TODO_ACLS
	.comm	_ARCHIVE_EXTRACT_MAC_METADATA,4,2 ; @ARCHIVE_EXTRACT_MAC_METADATA
	.comm	_TODO_MAC_METADATA,4,2          ; @TODO_MAC_METADATA
	.comm	_ARCHIVE_EXTRACT_XATTR,4,2      ; @ARCHIVE_EXTRACT_XATTR
	.comm	_TODO_XATTR,4,2                 ; @TODO_XATTR
	.comm	_ARCHIVE_EXTRACT_FFLAGS,4,2     ; @ARCHIVE_EXTRACT_FFLAGS
	.comm	_TODO_FFLAGS,4,2                ; @TODO_FFLAGS
	.comm	_ARCHIVE_EXTRACT_SECURE_SYMLINKS,4,2 ; @ARCHIVE_EXTRACT_SECURE_SYMLINKS
	.comm	_TODO_MODE,4,2                  ; @TODO_MODE
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_AE_IFMT,4,2                    ; @AE_IFMT
	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.comm	_ARCHIVE_ENTRY_ACL_TYPE_NFS4,4,2 ; @ARCHIVE_ENTRY_ACL_TYPE_NFS4
	.comm	_ARCHIVE_EXTRACT_HFS_COMPRESSION_FORCED,4,2 ; @ARCHIVE_EXTRACT_HFS_COMPRESSION_FORCED
	.comm	_ARCHIVE_EXTRACT_NO_HFS_COMPRESSION,4,2 ; @ARCHIVE_EXTRACT_NO_HFS_COMPRESSION
	.comm	_TODO_APPLEDOUBLE,4,2           ; @TODO_APPLEDOUBLE
	.comm	_TODO_HFS_COMPRESSION,4,2       ; @TODO_HFS_COMPRESSION
	.comm	_UF_COMPRESSED,8,3              ; @UF_COMPRESSED
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	__archive_write_disk_header
.subsections_via_symbols
