	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function record_hardlink
_record_hardlink:                       ## @record_hardlink
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_archive_entry_nlink
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	$2, %eax
	jl	LBB0_20
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_archive_entry_dev
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_archive_entry_ino64
	movq	%rax, %r14
	movq	(%r15), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, (%rbx)
	jne	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 8(%rbx)
	jne	LBB0_14
## %bb.5:
	movq	24(%rbx), %rsi
	movq	%r12, %rdi
	callq	_archive_entry_copy_hardlink
	movq	16(%rbx), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, 16(%rbx)
	cmpq	$1, %rax
	jg	LBB0_6
## %bb.7:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	40(%rbx), %rcx
	movq	%rcx, 40(%rax)
LBB0_9:
	movq	40(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.10:
	movq	%rax, 32(%rcx)
LBB0_11:
	cmpq	%rbx, (%r15)
	jne	LBB0_13
## %bb.12:
	movq	%rcx, (%r15)
LBB0_13:
	movq	24(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_15:
	movl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	movq	%rax, %rbx
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rbx, 32(%rax)
LBB0_18:
	movq	%rax, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	%rbx, (%r15)
	movq	%r13, (%rbx)
	movq	%r14, 8(%rbx)
	movq	%r12, %rdi
	callq	_archive_entry_nlink
	decl	%eax
	cltq
	movq	%rax, 16(%rbx)
	movq	%r12, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	callq	_strdup
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	jne	LBB0_20
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rcx
LBB0_20:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory adding file to list"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	_record_hardlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function record_hardlink
_record_hardlink:                       ; @record_hardlink
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_archive_entry_nlink
	cmp	w0, #2
	b.lt	LBB0_18
; %bb.1:
	mov	x0, x21
	bl	_archive_entry_dev
	mov	x23, x0
	mov	x0, x21
	bl	_archive_entry_ino64
	mov	x24, x0
	ldr	x22, [x20]
	cbnz	x22, LBB0_8
LBB0_2:
	mov	w0, #48
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.4:
	str	x22, [x8, #32]
LBB0_5:
	stp	xzr, x8, [x22, #32]
	str	x22, [x20]
	stp	x23, x24, [x22]
	mov	x0, x21
	bl	_archive_entry_nlink
	sub	w8, w0, #1
	sxtw	x8, w8
	str	x8, [x22, #16]
	mov	x0, x21
	bl	_archive_entry_pathname
	bl	_strdup
	str	x0, [x22, #24]
	cbnz	x0, LBB0_18
LBB0_6:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh5:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_19
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [x22, #40]
	cbz	x22, LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x8, x23
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22, #8]
	cmp	x8, x24
	b.ne	LBB0_7
; %bb.10:
	ldr	x1, [x22, #24]
	mov	x0, x21
	bl	_archive_entry_copy_hardlink
	ldr	x8, [x22, #16]
	subs	x8, x8, #1
	str	x8, [x22, #16]
	b.gt	LBB0_18
; %bb.11:
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x9, [x22, #40]
	str	x9, [x8, #40]
LBB0_13:
	ldr	x9, [x22, #40]
	cbz	x9, LBB0_15
; %bb.14:
	str	x8, [x9, #32]
LBB0_15:
	ldr	x8, [x20]
	cmp	x8, x22
	b.ne	LBB0_17
; %bb.16:
	str	x9, [x20]
LBB0_17:
	ldr	x0, [x22, #24]
	bl	_free
	mov	x0, x22
	bl	_free
LBB0_18:
Lloh7:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory adding file to list"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	_record_hardlink
.subsections_via_symbols
