	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_roots
_link_roots:                            ## @link_roots
	.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	(%rdi), %r10
	movq	8(%rdi), %r8
	movq	16(%rdi), %r9
	movq	(%r8,%rdx,8), %rbx
	movq	(%r10,%rbx,8), %r14
	movq	(%r9,%rdx,8), %r12
	movq	(%r8,%r12,8), %r15
	movq	24(%rdi), %r11
	movq	%rdx, %rcx
	cmpq	(%r10,%r15,8), %r14
	jge	LBB0_6
## %bb.1:
	leaq	(%r9,%rdx,8), %r14
	movq	%rdx, %rcx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, (%r11,%r12,4)
	movq	32(%rdi), %rax
	movq	%r12, (%rax,%rcx,8)
	movq	%r12, %rcx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8,%rdx,8), %rbx
	movq	(%r10,%rbx,8), %r15
	leaq	(%r9,%rcx,8), %r14
	movq	(%r9,%rcx,8), %r12
	movq	(%r8,%r12,8), %rax
	cmpq	(%r10,%rax,8), %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rcx,4), %r15d
	movq	(%r9,%r12,8), %rbx
	movl	(%r11,%rbx,4), %ebx
	addl	%r15d, %ebx
	movl	(%r11,%r12,4), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rdi), %rax
	movq	%rcx, (%rax,%r12,8)
	movq	(%r14), %rax
	movq	(%r9,%rax,8), %rax
	movq	%rax, (%r14)
	jmp	LBB0_5
LBB0_6:
	movq	%rbx, (%r8,%rcx,8)
	movl	(%r11,%rsi,4), %eax
	addl	(%r11,%rdx,4), %eax
	movl	%eax, (%r11,%rsi,4)
	movl	(%r11,%rdx,4), %edx
	addl	%edx, %edx
	cmpl	%edx, %eax
	jge	LBB0_8
## %bb.7:
	movq	(%r9,%rsi,8), %rax
	movq	%rcx, (%r9,%rsi,8)
	movq	%rax, %rcx
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	movq	32(%rdi), %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rsi, (%rax,%rcx,8)
	movq	(%r9,%rcx,8), %rcx
	testq	%rcx, %rcx
	jne	LBB0_10
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_link_roots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function link_roots
_link_roots:                            ; @link_roots
	.cfi_startproc
; %bb.0:
	ldp	x12, x10, [x0]
	lsl	x9, x2, #3
	ldr	x15, [x10, x9]
	ldr	x16, [x12, x15, lsl #3]
	ldp	x8, x11, [x0, #16]
	add	x13, x8, x9
	ldr	x14, [x13]
	ldr	x9, [x10, x14, lsl #3]
	ldr	x17, [x12, x9, lsl #3]
	mov	x9, x2
	cmp	x16, x17
	b.ge	LBB0_6
; %bb.1:
	mov	x9, x2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w15, [x11, x14, lsl #2]
	ldr	x13, [x0, #32]
	str	x14, [x13, x9, lsl #3]
	mov	x9, x14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x10, x2, lsl #3]
	ldr	x16, [x12, x15, lsl #3]
	add	x13, x8, x9, lsl #3
	ldr	x14, [x13]
	ldr	x17, [x10, x14, lsl #3]
	ldr	x17, [x12, x17, lsl #3]
	cmp	x16, x17
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x11, x9, lsl #2]
	ldr	x16, [x8, x14, lsl #3]
	ldr	w16, [x11, x16, lsl #2]
	add	w16, w16, w15
	ldr	w17, [x11, x14, lsl #2]
	cmp	w16, w17, lsl #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x15, [x0, #32]
	str	x9, [x15, x14, lsl #3]
	ldr	x14, [x13]
	ldr	x14, [x8, x14, lsl #3]
	str	x14, [x13]
	b	LBB0_3
LBB0_6:
	str	x15, [x10, x9, lsl #3]
	lsl	x10, x2, #2
	ldr	w12, [x11, x10]
	lsl	x13, x1, #2
	ldr	w14, [x11, x13]
	add	w12, w14, w12
	str	w12, [x11, x13]
	ldr	w10, [x11, x10]
	cmp	w12, w10, lsl #1
	b.ge	LBB0_8
; %bb.7:
	lsl	x10, x1, #3
	ldr	x11, [x8, x10]
	str	x9, [x8, x10]
	mov	x9, x11
LBB0_8:
	cbz	x9, LBB0_11
; %bb.9:
	ldr	x10, [x0, #32]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	lsl	x9, x9, #3
	str	x1, [x10, x9]
	ldr	x9, [x8, x9]
	cbnz	x9, LBB0_10
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_link_roots
.subsections_via_symbols
