	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_clone            ## -- Begin function archive_entry_clone
	.p2align	4, 0x90
_archive_entry_clone:                   ## @archive_entry_clone
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	72(%rdi), %edi
	callq	_archive_entry_new2
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	68(%r14), %eax
	movl	%eax, 68(%r15)
	movl	64(%r14), %eax
	movl	%eax, 64(%r15)
	movl	60(%r14), %eax
	movl	%eax, 60(%r15)
	leaq	56(%r15), %rdi
	leaq	56(%r14), %rsi
	callq	_archive_mstring_copy
	leaq	52(%r15), %rdi
	leaq	52(%r14), %rsi
	callq	_archive_mstring_copy
	leaq	48(%r15), %rdi
	leaq	48(%r14), %rsi
	callq	_archive_mstring_copy
	leaq	44(%r15), %rdi
	leaq	44(%r14), %rsi
	callq	_archive_mstring_copy
	leaq	40(%r15), %rdi
	leaq	40(%r14), %rsi
	callq	_archive_mstring_copy
	leaq	36(%r15), %rdi
	leaq	36(%r14), %rsi
	callq	_archive_mstring_copy
	movl	32(%r14), %eax
	movl	%eax, 32(%r15)
	leaq	28(%r15), %rdi
	leaq	28(%r14), %rsi
	callq	_archive_mstring_copy
	movl	24(%r14), %eax
	movl	%eax, 24(%r15)
	movl	20(%r14), %eax
	movl	%eax, 20(%r15)
	movq	%r15, %rdi
	addq	$16, %rdi
	leaq	16(%r14), %rsi
	callq	_archive_acl_copy
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_archive_entry_mac_metadata
	movq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_archive_entry_copy_mac_metadata
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %esi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movq	%r15, %rdi
	callq	_archive_entry_xattr_add_entry
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_4:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r15, %rdi
	callq	_archive_entry_sparse_add_entry
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_clone            ; -- Begin function archive_entry_clone
	.p2align	2
_archive_entry_clone:                   ; @archive_entry_clone
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	ldr	w0, [x0, #72]
	bl	_archive_entry_new2
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x20, #68]
	str	w8, [x19, #68]
	ldur	d0, [x20, #60]
	stur	d0, [x19, #60]
	add	x0, x19, #56
	add	x1, x20, #56
	bl	_archive_mstring_copy
	add	x0, x19, #52
	add	x1, x20, #52
	bl	_archive_mstring_copy
	add	x0, x19, #48
	add	x1, x20, #48
	bl	_archive_mstring_copy
	add	x0, x19, #44
	add	x1, x20, #44
	bl	_archive_mstring_copy
	add	x0, x19, #40
	add	x1, x20, #40
	bl	_archive_mstring_copy
	add	x0, x19, #36
	add	x1, x20, #36
	bl	_archive_mstring_copy
	ldr	w8, [x20, #32]
	str	w8, [x19, #32]
	add	x0, x19, #28
	add	x1, x20, #28
	bl	_archive_mstring_copy
	ldur	d0, [x20, #20]
	stur	d0, [x19, #20]
	add	x0, x19, #16
	add	x1, x20, #16
	bl	_archive_acl_copy
	add	x1, sp, #8
	mov	x0, x20
	bl	_archive_entry_mac_metadata
	mov	x1, x0
	ldr	x2, [sp, #8]
	mov	x0, x19
	bl	_archive_entry_copy_mac_metadata
	ldr	x21, [x20, #8]
	cbz	x21, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x21, #12]
	ldr	w3, [x21, #8]
	mov	x0, x19
	bl	_archive_entry_xattr_add_entry
	ldr	x21, [x21]
	cbnz	x21, LBB0_2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w2, w1, [x20, #8]
	mov	x0, x19
	bl	_archive_entry_sparse_add_entry
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x20]
	cbnz	x20, LBB0_3
LBB0_5:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
