	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function original_traverse_l
_original_traverse_l:                   ## @original_traverse_l
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movl	$1, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movslq	(%r13), %rbx
	decq	%rbx
	movq	$-1, -80(%rbp)                  ## 8-byte Folded Spill
LBB0_3:
                                        ## implicit-def: $r12d
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	callq	_adjust_directions
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_30 Depth 3
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%rbx, %rbx
	js	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rax
	movq	%rbx, %r14
	shlq	$4, %r14
	movl	(%rax,%r14), %edx
	testl	%edx, %edx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rax,%r14), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r15, %rdi
	callq	_get_anode
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	$0, 16(%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %r12d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	incq	%rbx
	movq	8(%r13), %rax
	movslq	(%rax,%r14), %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	$1, %al
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%edx, %r12d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%r12d, (%rsp)
	movq	%r13, %rdi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	xorl	%edx, %edx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r9d
	callq	_place_sequence
	leal	-1(%r12), %r14d
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	cmpl	%r14d, %ebx
	jge	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	1(%rdx), %ebx
	movq	%r13, %rdi
	movl	%r15d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	callq	_set_dist_nodes
	movl	%ebx, %edx
	cmpl	%ebx, %r14d
	jne	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_is_valid_pos
	testq	%rax, %rax
	sete	%al
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	xorb	$1, %cl
	orb	%al, %cl
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	callq	_set_dist_nodes
LBB0_25:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_30 Depth 3
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_26:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_25 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testq	%rbx, %rbx
	je	LBB0_35
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=3
	movq	%rbx, %r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_get_right_dummy
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_get_anode
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=3
	movq	%rax, %r14
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_hash_get_int
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_26
## %bb.34:                              ##   in Loop: Header=BB0_26 Depth=3
	movq	%rbx, %rdi
	callq	_get_anode
	movl	(%r14), %r9d
	incl	%r9d
	movl	(%rax), %r12d
	movl	%r12d, (%rsp)
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	callq	_place_sequence
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_hash_set
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r14d
	leal	1(%r14), %ebx
	movq	8(%r13), %rdx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rcx
	shlq	$4, %rcx
	movl	(%rdx,%rcx), %r12d
	movl	%r12d, (%rsp)
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%ebx, %r15d
	movq	%rsi, %rbx
	xorl	%ecx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	callq	_place_sequence
	leal	-1(%r12), %eax
	cmpl	%eax, %r15d
	jge	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=2
	addl	$2, %r14d
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_25 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	-1(%r14), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ecx
	callq	_set_dist_nodes
	incl	%r14d
	cmpl	%r14d, %r12d
	jne	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_is_valid_pos
	testq	%rax, %rax
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	je	LBB0_25
## %bb.32:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %ecx
	jmp	LBB0_24
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_original_traverse_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function original_traverse_l
_original_traverse_l:                   ; @original_traverse_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x21, x2
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	mov	x22, x0
	cbz	w3, LBB0_2
; %bb.1:
	mov	x23, #0
	mov	w8, #1
	b	LBB0_3
LBB0_2:
	ldrsw	x8, [x22]
	sub	x23, x8, #1
	mov	x8, #-1
LBB0_3:
	stp	x8, x21, [sp, #8]               ; 16-byte Folded Spill
                                        ; implicit-def: $w24
                                        ; implicit-def: $w25
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	ldr	x3, [sp, #24]                   ; 8-byte Folded Reload
	mov	x4, x21
	bl	_adjust_directions
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x23, x23, x8
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
                                        ;       Child Loop BB0_30 Depth 3
	cbz	w19, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_8
	b	LBB0_33
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	tbnz	x23, #63, LBB0_33
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #8]
	lsl	x28, x23, #4
	ldr	w9, [x8, x28]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, #0
	mov	x20, #0
	mov	x26, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x21, x21, #1
	ldr	x8, [x22, #8]
	ldrsw	x9, [x8, x28]
	cmp	x21, x9
	ccmp	x26, #0, #0, lt
	b.ne	LBB0_13
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x8, x23, lsl #4
	ldr	x8, [x8, #8]
	ldr	x27, [x8, x21, lsl #3]
	mov	x0, x27
	bl	_get_anode
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x0, #16]
	cmp	x8, #0
	csel	x26, x26, x27, eq
	csel	w24, w24, w21, eq
	csel	x20, x20, x0, eq
	csel	w25, w25, wzr, eq
	b	LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x26, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w21, #1
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	mov	x24, x9
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x9
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, #0
	mov	w21, #0
	mov	w25, #0
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, #0
	mov	x3, x26
	mov	x4, x19
	mov	x5, x25
	mov	x6, x24
	bl	_place_sequence
	sub	w27, w24, #1
	cmp	w25, w27
	b.ge	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x25
LBB0_20:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w28, w2, #1
	mov	x0, x22
	mov	x1, x23
	mov	x3, x28
	bl	_set_dist_nodes
	mov	x2, x28
	cmp	w27, w28
	b.ne	LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x27
	bl	_is_valid_pos
	cmp	x0, #0
	cset	w8, eq
	eor	w9, w21, #0x1
	orr	w8, w8, w9
	tbnz	w8, #0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [x20]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x27
	bl	_set_dist_nodes
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	cbnz	x26, LBB0_25
	b	LBB0_4
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=2
	cbz	x26, LBB0_4
LBB0_25:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_30 Depth 3
	mov	x28, x26
	mov	x0, x22
	mov	x1, x26
	bl	_get_right_dummy
	mov	x26, x0
	mov	x0, x28
	bl	_get_anode
	mov	x27, x0
	cbz	x26, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x28
	bl	_hash_get_int
	cmp	w0, w19
	b.ne	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x26
	bl	_get_anode
	ldr	w8, [x27]
	add	w25, w8, #1
	ldr	w24, [x0]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x28
	mov	x3, x26
	mov	x4, x19
	mov	x5, x25
	mov	x6, x24
	bl	_place_sequence
	mov	x0, x21
	mov	x1, x28
	mov	w2, #1
	bl	_hash_set
	b	LBB0_24
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=2
	ldr	w20, [x27]
	add	w25, w20, #1
	ldr	x8, [x22, #8]
	ldr	x9, [x27, #8]
	lsl	x9, x9, #4
	ldr	w24, [x8, x9]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x28
	mov	x3, #0
	mov	x4, x19
	mov	x5, x25
	mov	x6, x24
	bl	_place_sequence
	sub	w8, w24, #1
	cmp	w25, w8
	b.ge	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=2
	add	w28, w20, #2
LBB0_30:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_25 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	w2, w28, #1
	mov	x0, x22
	mov	x1, x23
	mov	x3, x28
	bl	_set_dist_nodes
	add	w28, w28, #1
	cmp	w24, w28
	b.ne	LBB0_30
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_is_valid_pos
	cbz	x0, LBB0_24
; %bb.32:                               ;   in Loop: Header=BB0_25 Depth=2
	ldr	w2, [x27]
	mov	x0, x22
	mov	x1, x23
	mov	x3, x25
	bl	_set_dist_nodes
	b	LBB0_24
LBB0_33:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_original_traverse_l
.subsections_via_symbols
