	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_vertical_nodes
_compute_vertical_nodes:                ## @compute_vertical_nodes
	.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	%rdi, %r15
	xorl	%eax, %eax
	callq	_sdb_new0
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.1:
	movq	8(%r15), %rax
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %ecx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movslq	%ecx, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	movq	%rsi, %rdx
	shlq	$4, %rdx
	cmpl	$0, (%rax,%rdx)
	jle	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_r_list_append
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%r14
	movq	8(%r15), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movslq	(%rax,%rdx), %rcx
	cmpq	%rcx, %r14
	jge	LBB0_11
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	movq	8(%rax,%rdx), %rax
	movq	(%rax,%r14,8), %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_hash_get_rlist
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_get_anode
	testq	%r12, %r12
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_r_list_new
	movq	%rax, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_hash_set
	cmpq	$0, (%r13)
	je	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %rdi
	callq	_get_anode
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=3
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_r_list_append
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_r_graph_nth_neighbour
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=3
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compute_vertical_nodes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_vertical_nodes
_compute_vertical_nodes:                ; @compute_vertical_nodes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_sdb_new0
	mov	x20, x0
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x24, #0
	ldr	x8, [x19, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x24, w9, sxtw
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
	lsl	x25, x24, #4
	ldr	w10, [x8, x25]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, #0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x22
	mov	x1, x21
	bl	_r_list_append
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x26, x26, #1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x8, x25]
	cmp	x26, x9
	b.ge	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
	add	x8, x8, x24, lsl #4
	ldr	x8, [x8, #8]
	ldr	x21, [x8, x26, lsl #3]
	mov	x0, x20
	mov	x1, x21
	bl	_hash_get_rlist
	mov	x22, x0
	mov	x0, x21
	bl	_get_anode
	cbnz	x22, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x23, x0
	bl	_r_list_new
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_hash_set
	ldr	x8, [x23]
	cbz	x8, LBB0_6
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x21
	bl	_get_anode
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=3
	mov	x0, x22
	mov	x1, x21
	bl	_r_list_append
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	w2, #0
	bl	_r_graph_nth_neighbour
	cbz	x0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=3
	mov	x21, x0
	b	LBB0_10
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_compute_vertical_nodes
.subsections_via_symbols
