	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _archive_write_disk_close
__archive_write_disk_close:             ## @_archive_write_disk_close
	.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	%rdi, %r14
	leaq	8(%rdi), %rbx
	movq	_ARCHIVE_WRITE_DISK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_HEADER@GOTPCREL(%rip), %rax
	movq	_ARCHIVE_STATE_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_archive_check_magic
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	__archive_write_disk_finish_entry
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	callq	_sort_dir_list
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %rbx
	movq	_TODO_TIMES@GOTPCREL(%rip), %r14
	movq	_TODO_MODE_BASE@GOTPCREL(%rip), %r12
	movq	_TODO_ACLS@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rbx
	testq	%r15, %r15
	je	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 16(%rax)
	movl	(%r14), %ecx
	movl	(%r12), %edx
	orl	%ecx, %edx
	orl	(%r13), %edx
	movl	(%rbx), %eax
	movq	_TODO_FFLAGS@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	testl	%eax, %edx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	movq	_O_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_NOFOLLOW@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %eax
	movl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	48(%rbx), %edx
	movq	8(%rbx), %rcx
	movl	80(%rbx), %r8d
	movl	76(%rbx), %r9d
	movl	72(%rbx), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	68(%rbx), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	64(%rbx), %r15d
	movl	60(%rbx), %eax
	movq	%r14, %r10
	movl	56(%rbx), %r14d
	movq	%r13, %r11
	movq	%r12, %r13
	movl	52(%rbx), %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	pushq	%r12
	movq	%r13, %r12
	movq	%r11, %r13
	pushq	%r14
	movq	%r10, %r14
	pushq	%rax
	pushq	%r15
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_set_times
	addq	$48, %rsp
	movl	(%rbx), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, (%r12)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	movl	48(%rbx), %esi
	callq	_chmod
	movl	(%rbx), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, (%r13)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdx
	leaq	24(%rbx), %rcx
	movl	48(%rbx), %r8d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_archive_write_disk_set_acls
	movl	(%rbx), %eax
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TODO_FFLAGS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdx
	movl	48(%rbx), %ecx
	movl	44(%rbx), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_set_fflags_platform
	movl	(%rbx), %eax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TODO_MAC_METADATA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdx
	movl	40(%rbx), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_set_mac_metadata
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %r15
	leaq	24(%rbx), %rdi
	callq	_archive_acl_clear
	movq	16(%rbx), %rdi
	callq	_free
	movq	8(%rbx), %rdi
	callq	_free
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	js	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_close
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	testl	%eax, %ecx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %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_close"

	.comm	_TODO_TIMES,4,2                 ## @TODO_TIMES
	.comm	_TODO_MODE_BASE,4,2             ## @TODO_MODE_BASE
	.comm	_TODO_ACLS,4,2                  ## @TODO_ACLS
	.comm	_TODO_FFLAGS,4,2                ## @TODO_FFLAGS
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_BINARY,4,2                   ## @O_BINARY
	.comm	_O_NOFOLLOW,4,2                 ## @O_NOFOLLOW
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_TODO_MAC_METADATA,4,2          ## @TODO_MAC_METADATA
	.no_dead_strip	__archive_write_disk_close
.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_close
__archive_write_disk_close:             ; @_archive_write_disk_close
	.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	x19, x0
	add	x20, x0, #8
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	x9, _ARCHIVE_STATE_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARCHIVE_STATE_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_archive_check_magic
	mov	x0, x20
	bl	__archive_write_disk_finish_entry
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	ldr	x0, [x19]
	bl	_sort_dir_list
	cbz	x0, LBB0_17
; %bb.1:
	mov	x22, x0
Lloh11:
	adrp	x24, _TODO_TIMES@GOTPAGE
Lloh12:
	ldr	x24, [x24, _TODO_TIMES@GOTPAGEOFF]
Lloh13:
	adrp	x25, _TODO_MODE_BASE@GOTPAGE
Lloh14:
	ldr	x25, [x25, _TODO_MODE_BASE@GOTPAGEOFF]
Lloh15:
	adrp	x26, _TODO_ACLS@GOTPAGE
Lloh16:
	ldr	x26, [x26, _TODO_ACLS@GOTPAGEOFF]
Lloh17:
	adrp	x27, _TODO_FFLAGS@GOTPAGE
Lloh18:
	ldr	x27, [x27, _TODO_FFLAGS@GOTPAGEOFF]
Lloh19:
	adrp	x28, _TODO_MAC_METADATA@GOTPAGE
Lloh20:
	ldr	x28, [x28, _TODO_MAC_METADATA@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_free
	mov	x22, x21
	cbz	x21, LBB0_17
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x19, #16]
	ldr	w8, [x22]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w10, w10, w9
	ldr	w11, [x26]
	orr	w10, w10, w11
	ldr	w11, [x27]
	orr	w10, w10, w11
	tst	w10, w8
	b.eq	LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22, #8]
Lloh21:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _O_BINARY@GOTPAGE
Lloh25:
	ldr	x9, [x9, _O_BINARY@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _O_NOFOLLOW@GOTPAGE
Lloh28:
	ldr	x9, [x9, _O_NOFOLLOW@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh31:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_open
	mov	x23, x0
	ldr	w8, [x22]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x3, [x22, #8]
	ldp	w5, w4, [x22, #76]
	ldp	w7, w6, [x22, #68]
	ldp	w9, w8, [x22, #60]
	ldp	w11, w10, [x22, #52]
	ldr	w2, [x22, #48]
	stp	w10, w11, [sp, #8]
	stp	w8, w9, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_set_times
	ldr	w8, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22, #8]
	ldr	w1, [x22, #48]
	bl	_chmod
	ldr	w8, [x22]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x22, #8]
	add	x3, x22, #24
	ldr	w4, [x22, #48]
	mov	x0, x20
	mov	x1, x23
	bl	_archive_write_disk_set_acls
	ldr	w8, [x22]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x22, #8]
	ldp	w4, w3, [x22, #44]
	mov	x0, x19
	mov	x1, x23
	mov	w5, #0
	bl	_set_fflags_platform
	ldr	w8, [x22]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	x1, x2, [x22, #8]
	ldr	w3, [x22, #40]
	mov	x0, x19
	bl	_set_mac_metadata
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x22, #32]
	add	x0, x22, #24
	bl	_archive_acl_clear
	ldr	x0, [x22, #16]
	bl	_free
	ldr	x0, [x22, #8]
	bl	_free
	tbnz	w23, #31, LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_close
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #-1
	tst	w9, w8
	b.ne	LBB0_5
	b	LBB0_6
LBB0_17:
	str	xzr, [x19]
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	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
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.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_close"

	.comm	_TODO_TIMES,4,2                 ; @TODO_TIMES
	.comm	_TODO_MODE_BASE,4,2             ; @TODO_MODE_BASE
	.comm	_TODO_ACLS,4,2                  ; @TODO_ACLS
	.comm	_TODO_FFLAGS,4,2                ; @TODO_FFLAGS
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_BINARY,4,2                   ; @O_BINARY
	.comm	_O_NOFOLLOW,4,2                 ; @O_NOFOLLOW
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_TODO_MAC_METADATA,4,2          ; @TODO_MAC_METADATA
	.no_dead_strip	__archive_write_disk_close
.subsections_via_symbols
