	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_hierarchy
_write_hierarchy:                       ## @write_hierarchy
	.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	$24, %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, %rbx
	movq	32(%rdi), %r14
	movq	$0, -56(%rbp)
	movq	%r14, %rdi
	movq	%rdx, %rsi
	callq	_archive_read_disk_open
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movl	$-1, 4(%rbx)
	xorl	%edi, %edi
	callq	_archive_entry_free
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %r13
	movq	%rax, -48(%rbp)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_archive_read_next_header2
	movl	%eax, %r12d
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_33
## %bb.3:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	callq	_archive_entry_free
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, -48(%rbp)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_archive_read_next_header2
	movl	%eax, %r12d
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_32
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	cmpl	(%r13), %r12d
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_archive_errno
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_archive_error_string
	movl	%r13d, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_lafe_warnc
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	jl	LBB0_31
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	40(%rbx), %esi
	testl	%esi, %esi
	js	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	callq	_archive_entry_set_uid
	cmpl	$0, 20(%rbx)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r12
	movq	32(%rbx), %rdi
	movl	40(%rbx), %esi
	callq	_archive_read_disk_uname
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_archive_entry_set_uname
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	24(%rbx), %esi
	testl	%esi, %esi
	js	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	callq	_archive_entry_set_gid
	cmpl	$0, 16(%rbx)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r12
	movq	32(%rbx), %rdi
	movl	24(%rbx), %esi
	callq	_archive_read_disk_gname
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_archive_entry_set_gname
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	20(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	callq	_archive_entry_set_uname
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	callq	_archive_entry_set_gname
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_edit_pathname
	testq	%rax, %rax
	jne	LBB0_31
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_safe_fprintf
	movl	(%r12), %esi
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_list_item_verbose
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %eax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-48(%rbp), %rdi
	callq	_archive_entry_pathname
	movl	%r12d, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_safe_fprintf
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_archive_entry_set_size
LBB0_26:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	12(%rbx), %edi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_archive_entry_linkify
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_29
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_write_file
	movq	-48(%rbp), %rdi
	callq	_archive_entry_free
	movq	-56(%rbp), %rdx
	movq	%rdx, -48(%rbp)
	movq	$0, -56(%rbp)
	testq	%rdx, %rdx
	jne	LBB0_27
LBB0_29:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 8(%rbx)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_31
LBB0_1:
	movq	%r14, %rdi
	callq	_archive_errno
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_archive_error_string
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_lafe_warnc
	movl	$1, (%rbx)
	jmp	LBB0_35
LBB0_32:
	movq	-48(%rbp), %r13
LBB0_33:
	movq	%r13, %rdi
LBB0_34:
	callq	_archive_entry_free
	movq	%r14, %rdi
	callq	_archive_read_close
LBB0_35:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$1, (%rbx)
	movq	-48(%rbp), %rdi
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"a "

L_.str.2:                               ## @.str.2
	.asciz	"a %s"

	.comm	_AE_IFREG,8,3                   ## @AE_IFREG
L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.no_dead_strip	_write_hierarchy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_hierarchy
_write_hierarchy:                       ; @write_hierarchy
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #32]
	str	xzr, [sp, #16]
	mov	x0, x19
	mov	x1, x2
	bl	_archive_read_disk_open
Lloh0:
	adrp	x28, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_28
; %bb.1:
	mov	w8, #-1
	str	w8, [x20, #4]
	mov	x0, #0
	bl	_archive_entry_free
	bl	_archive_entry_new
	mov	x22, x0
	str	x0, [sp, #24]
	mov	x0, x19
	mov	x1, x22
	bl	_archive_read_next_header2
Lloh2:
	adrp	x24, _ARCHIVE_EOF@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ARCHIVE_EOF@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_30
; %bb.2:
	mov	x26, x0
Lloh4:
	adrp	x22, _stderr@GOTPAGE
Lloh5:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
Lloh6:
	adrp	x23, _ARCHIVE_FAILED@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh8:
	adrp	x25, l_.str@PAGE
Lloh9:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	bl	_archive_entry_free
	bl	_archive_entry_new
	mov	x1, x0
	str	x0, [sp, #24]
	mov	x0, x19
	bl	_archive_read_next_header2
	mov	x26, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_29
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
	ldr	w8, [x28]
	cmp	w26, w8
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_archive_errno
	mov	x27, x0
	mov	x0, x19
	bl	_archive_error_string
	mov	x2, x0
	mov	x0, x27
	mov	x1, x25
	bl	_lafe_warnc
Lloh10:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x23]
	cmp	w26, w8
	ccmp	w26, w9, #4, ne
	b.eq	LBB0_33
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w26, w8
	b.lt	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20, #40]
	tbnz	w1, #31, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	bl	_archive_entry_set_uid
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20, #24]
	tbnz	w1, #31, LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	bl	_archive_entry_set_gid
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x26, [sp, #24]
	ldr	x0, [x20, #32]
	ldr	w1, [x20, #24]
	bl	_archive_read_disk_gname
	mov	x1, x0
	mov	x0, x26
	bl	_archive_entry_set_gname
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x26, [sp, #24]
	ldr	x0, [x20, #32]
	ldr	w1, [x20, #40]
	bl	_archive_read_disk_uname
	mov	x1, x0
	mov	x0, x26
	bl	_archive_entry_set_uname
	ldr	w1, [x20, #24]
	tbz	w1, #31, LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20, #20]
	cbz	w1, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	bl	_archive_entry_set_uname
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20, #16]
	cbz	w1, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	bl	_archive_entry_set_gname
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x20
	bl	_edit_pathname
	cbnz	x0, LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #8]
	cmp	w8, #2
	b.lt	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_safe_fprintf
	ldr	w1, [x22]
	ldr	x2, [sp, #24]
	mov	x0, x20
	bl	_list_item_verbose
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #1
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w26, [x22]
	ldr	x0, [sp, #24]
	bl	_archive_entry_pathname
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x26
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_safe_fprintf
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	bl	_archive_entry_filetype
Lloh20:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	mov	w1, #0
	bl	_archive_entry_set_size
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #12]
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_archive_entry_linkify
	ldr	x2, [sp, #24]
	cbz	x2, LBB0_26
LBB0_25:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_write_file
	ldr	x0, [sp, #24]
	bl	_archive_entry_free
	ldr	x2, [sp, #16]
	stp	xzr, x2, [sp, #16]
	cbnz	x2, LBB0_25
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_3
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	b	LBB0_3
LBB0_28:
	mov	x0, x19
	bl	_archive_errno
	mov	x21, x0
	mov	x0, x19
	bl	_archive_error_string
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_lafe_warnc
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_32
LBB0_29:
	ldr	x22, [sp, #24]
LBB0_30:
	mov	x0, x22
LBB0_31:
	bl	_archive_entry_free
	mov	x0, x19
	bl	_archive_read_close
LBB0_32:
	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_33:
	mov	w8, #1
	str	w8, [x20]
	ldr	x0, [sp, #24]
	b	LBB0_31
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"a "

l_.str.2:                               ; @.str.2
	.asciz	"a %s"

	.comm	_AE_IFREG,8,3                   ; @AE_IFREG
l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.no_dead_strip	_write_hierarchy
.subsections_via_symbols
