	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_entry
_insert_entry:                          ## @insert_entry
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$1, %edi
	movl	$40, %esi
	callq	_calloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%r14, %rdi
	callq	_archive_entry_clone
	movl	%eax, 32(%rbx)
	movl	4(%r15), %eax
	addl	%eax, %eax
	cmpl	%eax, (%r15)
	jle	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_grow_hash
LBB0_3:
	movq	%r14, %rdi
	callq	_archive_entry_dev
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_archive_entry_ino64
	xorl	%r12d, %eax
	cltq
	movslq	4(%r15), %rcx
	decq	%rcx
	andq	%rax, %rcx
	movq	8(%r15), %rdx
	movq	(%rdx,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movq	%rbx, 16(%rsi)
	movq	(%rdx,%rcx,8), %rsi
	jmp	LBB0_6
LBB0_4:
	xorl	%esi, %esi
LBB0_6:
	incl	(%r15)
	movq	%rsi, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	%rbx, (%rdx,%rcx,8)
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_archive_entry_nlink
	decq	%rax
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_insert_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_entry
_insert_entry:                          ; @insert_entry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x21, x0
	mov	w0, #1
	mov	w1, #40
	bl	_calloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_archive_entry_clone
	str	w0, [x20, #32]
	ldp	w8, w9, [x21]
	cmp	w8, w9, lsl #1
	b.le	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_grow_hash
LBB0_3:
	mov	x0, x19
	bl	_archive_entry_dev
	mov	x22, x0
	mov	x0, x19
	bl	_archive_entry_ino64
	eor	w8, w0, w22
	sxtw	x8, w8
	ldrsw	x9, [x21, #4]
	sub	x9, x9, #1
	and	x9, x9, x8
	ldr	x10, [x21, #8]
	ldr	x11, [x10, x9, lsl #3]
	cbz	x11, LBB0_5
; %bb.4:
	str	x20, [x11, #16]
	ldr	x11, [x10, x9, lsl #3]
LBB0_5:
	ldr	w12, [x21]
	add	w12, w12, #1
	str	w12, [x21]
	stp	xzr, x11, [x20, #16]
	str	x20, [x10, x9, lsl #3]
	str	x8, [x20]
	mov	x0, x19
	bl	_archive_entry_nlink
	sub	x8, x0, #1
	str	x8, [x20, #8]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_insert_entry
.subsections_via_symbols
