	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip6_pol_route
_ip6_pol_route:                         ## @ip6_pol_route
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_RT6_LOOKUP_F_REACHABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movq	_RTF_NONEXTHOP@GOTPCREL(%rip), %rax
	movq	_RT6_LOOKUP_F_IFACE@GOTPCREL(%rip), %rcx
	testl	%r9d, %r9d
	je	LBB0_4
## %bb.3:
	movq	_RTF_LOCAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
LBB0_4:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	andl	(%rcx), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	orl	(%rax), %r9d
	movl	%r9d, -76(%rbp)                 ## 4-byte Spill
	leaq	4(%rsi), %r12
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r13
	movl	$3, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rsi, %rdi
	callq	_read_lock_bh
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	testl	%ebx, %ebx
	movl	$0, %ebx
	je	LBB0_16
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_fib6_lookup
	movl	%ebx, %edx
	orl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movq	%rax, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	callq	_rt6_select
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_BACKTRACK
	cmpq	(%r14), %r15
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	_RTF_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	addq	$4, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_dst_hold
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_read_unlock_bh
	cmpl	$0, 12(%r15)
	jne	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%r15)
	jne	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_rt6_alloc_cow
	movq	%rax, %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dst_release
	testq	%r15, %r15
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	addq	$4, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_dst_hold
	movq	%r15, %rdi
	callq	_ip6_ins_rt
	testl	%eax, %eax
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jge	LBB0_14
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r14), %r15
	leaq	4(%r15), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_dst_hold
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	$2, %eax
	jl	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	decl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_dst_release
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_16:
	movq	%r15, %rdi
	addq	$4, %rdi
	callq	_dst_hold
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_read_unlock_bh
LBB0_17:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	incl	4(%r15)
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT6_LOOKUP_F_REACHABLE,4,2     ## @RT6_LOOKUP_F_REACHABLE
	.comm	_RTF_NONEXTHOP,4,2              ## @RTF_NONEXTHOP
	.comm	_RT6_LOOKUP_F_IFACE,4,2         ## @RT6_LOOKUP_F_IFACE
	.comm	_RTF_LOCAL,4,2                  ## @RTF_LOCAL
	.comm	_RTF_CACHE,4,2                  ## @RTF_CACHE
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_ip6_pol_route
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip6_pol_route
_ip6_pol_route:                         ; @ip6_pol_route
	.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	x20, x3
	mov	x21, x2
	mov	x26, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RT6_LOOKUP_F_REACHABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RT6_LOOKUP_F_REACHABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w27, w9, wzr, eq
Lloh3:
	adrp	x8, _RTF_NONEXTHOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTF_NONEXTHOP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _RT6_LOOKUP_F_IFACE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RT6_LOOKUP_F_IFACE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w28, w9, w4
Lloh9:
	adrp	x9, _RTF_LOCAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTF_LOCAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w5, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	add	x23, x1, #4
	add	x24, x3, #4
	mov	w8, #3
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x19, _RTF_CACHE@GOTPAGE
Lloh13:
	ldr	x19, [x19, _RTF_CACHE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x0, x26
	bl	_read_lock_bh
	mov	x8, x27
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	mov	w8, #0
	cbz	w27, LBB0_12
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x27, x8
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	bl	_fib6_lookup
	orr	w2, w27, w28
	mov	x1, x21
	bl	_rt6_select
	mov	x25, x0
	mov	x0, x22
	mov	x1, x24
	bl	_BACKTRACK
	ldr	x8, [x22]
	cmp	x25, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x25]
	ldr	w9, [x19]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	add	x26, x25, #4
	mov	x0, x26
	bl	_dst_hold
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_read_unlock_bh
	ldr	w8, [x25, #12]
	cbnz	w8, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x25]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.ne	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x25
	mov	x1, x20
	mov	x2, x24
	bl	_rt6_alloc_cow
	mov	x25, x0
	mov	x0, x26
	bl	_dst_release
	cbz	x25, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x26, x25, #4
	mov	x0, x26
	bl	_dst_hold
	mov	x0, x25
	bl	_ip6_ins_rt
	cbnz	w0, LBB0_10
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x25, [x22]
	add	x26, x25, #4
	mov	x0, x26
	bl	_dst_hold
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	sub	w8, w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x26
	bl	_dst_release
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_1
LBB0_12:
	add	x0, x25, #4
	bl	_dst_hold
	mov	x0, x26
	bl	_read_unlock_bh
LBB0_13:
Lloh14:
	adrp	x8, _jiffies@GOTPAGE
Lloh15:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x25, #4]
	add	w9, w9, #1
	stp	w9, w8, [x25, #4]
	mov	x0, x25
	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
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RT6_LOOKUP_F_REACHABLE,4,2     ; @RT6_LOOKUP_F_REACHABLE
	.comm	_RTF_NONEXTHOP,4,2              ; @RTF_NONEXTHOP
	.comm	_RT6_LOOKUP_F_IFACE,4,2         ; @RT6_LOOKUP_F_IFACE
	.comm	_RTF_LOCAL,4,2                  ; @RTF_LOCAL
	.comm	_RTF_CACHE,4,2                  ; @RTF_CACHE
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_ip6_pol_route
.subsections_via_symbols
