	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function combine_sequences
_combine_sequences:                     ## @combine_sequences
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r13
	movl	16(%rbp), %r15d
	xorl	%eax, %eax
	callq	_r_list_new
	movq	%rax, %rbx
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_r_list_new
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_free@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rbx)
	movq	%rcx, (%rax)
	leal	(%r15,%r12), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movq	(%r13), %rax
	movslq	%r14d, %r15
	movq	(%rax,%r15,8), %rax
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movslq	%ecx, %r14
	movq	-8(%rax,%r14,8), %rdi
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	(%rax,%r14,8), %rbx
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	callq	_get_anode
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_get_anode
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r13, %rbx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movl	%r12d, %r8d
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movl	%r14d, %r9d
	pushq	$1
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_collect_changes
	addq	$16, %rsp
	movq	%rbx, %rdi
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movl	%r15d, %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, %r8d
	movl	16(%rbp), %r9d
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	$0
	pushq	%r12
	callq	_collect_changes
	addq	$16, %rsp
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	callq	_dist_nodes
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	testq	%r13, %r13
	je	LBB0_16
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.2:
	movl	(%rbx), %ecx
	movl	(%r13), %esi
	movl	%ecx, %edx
	subl	%esi, %edx
	cmpl	%eax, %edx
	jge	LBB0_16
## %bb.3:
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	movl	%eax, %edx
	subl	%r15d, %edx
	movl	%edx, -100(%rbp)                ## 4-byte Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, -84(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	subl	%r15d, %esi
	movl	%esi, (%r13)
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	addl	%ecx, (%rbx)
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %ecx
	movl	(%r13), %esi
	movl	%ecx, %edx
	subl	%esi, %edx
	cmpl	%eax, %edx
	jge	LBB0_16
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %ecx
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -56(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %r14
	movq	%rdi, %r12
	callq	_r_list_empty
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %ecx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	subl	%eax, %ecx
	movl	%ecx, (%r13)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, %r14
	movq	%r12, %rdi
	callq	_r_list_empty
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %ecx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_r_list_pop
	movq	%rax, %rbx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	addl	(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	subl	%r15d, %esi
	callq	_R_MAX
	movl	%eax, (%r13)
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_free
	movl	%r15d, %eax
	movl	-84(%rbp), %r15d                ## 4-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r14, %r12
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_r_list_pop
	movq	%rax, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %edi
	movl	(%r13), %esi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	addl	%r15d, %esi
	callq	_R_MIN
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_free
	movl	%r15d, %eax
	movl	-84(%rbp), %r15d                ## 4-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	jmp	LBB0_15
LBB0_16:
	callq	_r_list_free
	movq	%r12, %rdi
	callq	_r_list_free
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addl	$-2, %eax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	cmpl	%ecx, %eax
	jge	LBB0_17
LBB0_22:
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	incl	%ecx
	movl	16(%rbp), %eax
	cmpl	%eax, %ecx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jge	LBB0_28
## %bb.23:
	incq	%rbx
	movl	%eax, %r15d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	cmpl	%ebx, %r15d
	je	LBB0_28
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%rbx,8), %r14
	movq	%r14, %rdi
	callq	_get_anode
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%rax, %r13
	movl	(%rax), %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_dist_nodes
	addl	%eax, %r12d
	movl	%r15d, %edi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_R_MAX
	movl	%eax, (%r13)
	jmp	LBB0_27
LBB0_28:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movslq	%ecx, %r15
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	-1(%rax), %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	decq	%r13
	cmpq	%r15, %r13
	jle	LBB0_22
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	-8(%rax,%r13,8), %rbx
	movq	%rbx, %rdi
	callq	_get_anode
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %r14
	movl	(%rax), %r12d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	callq	_dist_nodes
	subl	%eax, %r15d
	movl	%r12d, %edi
	movl	%r15d, %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	callq	_R_MIN
	movl	%eax, (%r14)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_combine_sequences
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function combine_sequences
_combine_sequences:                     ; @combine_sequences
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x6
	str	w6, [sp, #44]                   ; 4-byte Folded Spill
	mov	x28, x5
	mov	x23, x4
	str	x3, [sp, #56]                   ; 8-byte Folded Spill
	str	x2, [sp, #32]                   ; 8-byte Folded Spill
	mov	x26, x1
	mov	x19, x0
	bl	_r_list_new
	mov	x22, x0
	bl	_r_list_new
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _free@GOTPAGE
Lloh1:
	ldr	x8, [x8, _free@GOTPAGEOFF]
	str	x8, [x22]
	str	x8, [x0]
	add	w8, w20, w28
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w25, w8, #1
	ldr	x9, [x19]
	ldr	x9, [x9, w26, sxtw #3]
	sbfx	x8, x8, #1, #31
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	add	x8, x9, w25, sxtw #3
	ldp	x27, x20, [x8, #-8]
	mov	x0, x27
	bl	_get_anode
	mov	x24, x0
	mov	x0, x20
	bl	_get_anode
	mov	x21, x0
	mov	x0, x19
	mov	x1, x26
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
	mov	x3, x23
	str	x28, [sp, #24]                  ; 8-byte Folded Spill
	mov	x4, x28
	mov	x5, x25
	mov	x6, x22
	mov	w7, #1
	bl	_collect_changes
	mov	x0, x19
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	mov	x1, x26
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x25
	ldr	w5, [sp, #44]                   ; 4-byte Folded Reload
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	mov	x6, x23
	mov	w7, #0
	bl	_collect_changes
	mov	x0, x19
	str	x27, [sp, #56]                  ; 8-byte Folded Spill
	mov	x1, x27
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	mov	x2, x20
	mov	x20, x22
	bl	_dist_nodes
	cmp	x24, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_15
; %bb.1:
	mov	x22, x0
	ldr	w9, [x21]
	ldr	w8, [x24]
	sub	w10, w9, w8
	cmp	w10, w0
	b.ge	LBB0_15
; %bb.2:
	mov	w26, #0
	mov	w27, #0
	cmp	w22, #0
	cinc	w10, w22, lt
	asr	w28, w10, #1
	sub	w25, w22, w28
	str	w25, [sp, #4]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w8, w28
	str	w8, [x24]
	ldr	w8, [x21]
	add	w8, w25, w8
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w8, [x21]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x21]
	ldr	w8, [x24]
	sub	w10, w9, w8
	cmp	w10, w22
	b.ge	LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w8
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w26, w27
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_r_list_empty
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	sub	w8, w8, w22
	str	w8, [x24]
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_r_list_empty
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	add	w8, w8, w22
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_r_list_pop
	mov	x25, x0
	ldp	w8, w0, [x0]
	add	w26, w8, w26
	ldr	w8, [x21]
	sub	w1, w8, w22
	bl	_R_MAX
	str	w0, [x24]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_r_list_pop
	mov	x25, x0
	ldp	w8, w0, [x0]
	add	w27, w8, w27
	ldr	w8, [x24]
	add	w1, w8, w22
	bl	_R_MIN
	str	w0, [x21]
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	ldr	w25, [sp, #4]                   ; 4-byte Folded Reload
	bl	_free
	b	LBB0_5
LBB0_15:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	sxtw	x27, w8
	mov	x0, x20
	bl	_r_list_free
	mov	x0, x23
	bl	_r_list_free
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	sub	w8, w8, #2
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cmp	w8, w9
	b.ge	LBB0_22
LBB0_16:
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	add	w8, w10, #1
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w8, w9
	ldr	x28, [sp, #32]                  ; 8-byte Folded Reload
	b.ge	LBB0_21
; %bb.17:
	add	x25, x10, #1
	mov	w26, w9
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x25, x25, #1
	cmp	w26, w25
	b.eq	LBB0_21
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x23, [x8, x25, lsl #3]
	mov	x0, x23
	bl	_get_anode
	cmp	x0, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x22, x0
	ldr	w24, [x0]
	ldr	w20, [x21]
	mov	x0, x19
	mov	x1, x28
	mov	x2, x23
	bl	_dist_nodes
	add	w1, w0, w20
	mov	x0, x24
	bl	_R_MAX
	str	w0, [x22]
	b	LBB0_18
LBB0_21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_22:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	sub	x28, x8, #2
	sxtw	x20, w9
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	sub	x8, x28, #1
	cmp	x28, x20
	mov	x28, x8
	b.le	LBB0_16
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x25, [x8, x28, lsl #3]
	mov	x0, x25
	bl	_get_anode
	cmp	x0, #0
	ccmp	x24, #0, #4, ne
	b.eq	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x22, x0
	ldr	w26, [x0]
	ldr	w23, [x24]
	mov	x0, x19
	mov	x1, x25
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
	bl	_dist_nodes
	sub	w1, w23, w0
	mov	x0, x26
	bl	_R_MIN
	str	w0, [x22]
	b	LBB0_23
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_combine_sequences
.subsections_via_symbols
