	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3GetNextIf                    ## -- Begin function L3GetNextIf
	.p2align	4, 0x90
_L3GetNextIf:                           ## @L3GetNextIf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movl	%esi, %r12d
	leal	1(%r12), %eax
	cmpl	$2, %eax
	jb	LBB0_15
## %bb.2:
	movq	%rdx, %r13
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_LIST_NUM
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_LIST_DATA
	movq	%rax, %r14
	movl	(%rax), %eax
	xorl	%r12d, %eax
	testl	%eax, 4(%r14)
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movl	(%r15), %edi
	callq	_LIST_NUM
	cmpl	%eax, %ebx
	jl	LBB0_5
LBB0_6:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_L3GetBestRoute
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r13
	movl	(%r15), %edi
	callq	_LIST_NUM
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_15
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_LIST_DATA
	movl	(%r13), %r12d
	movl	(%rax), %ecx
	xorl	%r12d, %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
	movl	(%r15), %edi
	callq	_LIST_NUM
	cmpl	%eax, %ebx
	jl	LBB0_11
	jmp	LBB0_15
LBB0_7:
	xorl	%r14d, %r14d
	jmp	LBB0_15
LBB0_12:
	movq	%rax, %r14
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_13:
	testq	%r13, %r13
	je	LBB0_15
## %bb.14:
	movl	%r12d, (%r13)
LBB0_15:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3GetNextIf                    ; -- Begin function L3GetNextIf
	.p2align	2
_L3GetNextIf:                           ; @L3GetNextIf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	mov	x0, #0
	cbz	x20, LBB0_14
; %bb.1:
	mov	x21, x1
	add	w8, w1, #1
	cmp	w8, #2
	b.lo	LBB0_14
; %bb.2:
	mov	x19, x2
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x22
	bl	_LIST_DATA
	ldp	w8, w9, [x0]
	eor	w8, w8, w21
	tst	w8, w9
	b.eq	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	w22, w0
	b.lt	LBB0_4
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_L3GetBestRoute
	cbz	x0, LBB0_14
; %bb.7:
	mov	x22, x0
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.8:
	mov	w23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x23
	bl	_LIST_DATA
	ldp	w8, w9, [x0]
	ldr	w21, [x22]
	eor	w8, w21, w8
	tst	w8, w9
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w23, w23, #1
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	w23, w0
	b.lt	LBB0_9
LBB0_11:
	mov	x0, #0
	b	LBB0_14
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
	str	w21, [x19]
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
