	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fib6_rule_action
_fib6_rule_action:                      ## @fib6_rule_action
	.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	%rcx, %r14
	movq	16(%rdi), %r12
	movl	(%rdi), %eax
	cmpl	$130, %eax
	je	LBB0_21
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$128, %eax
	je	LBB0_22
## %bb.3:
	addq	$16, %r12
	jmp	LBB0_22
LBB0_21:
	addq	$8, %r12
LBB0_22:
	movq	(%r12), %rbx
	movq	%rbx, %rdi
	callq	_dst_hold
LBB0_23:
	movq	%rbx, (%r14)
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	xorl	%ecx, %ecx
	testq	%rbx, %rbx
	cmovnel	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%edx, %r15d
	movq	%rdi, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rbx
	movl	8(%rdi), %esi
	movq	%r12, %rdi
	callq	_fib6_get_table
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	*%rbx
	movq	%rax, %rbx
	cmpq	(%r12), %rbx
	jne	LBB0_8
	jmp	LBB0_20
LBB0_5:
	xorl	%ebx, %ebx
	cmpq	(%r12), %rbx
	je	LBB0_20
LBB0_8:
	movq	_FIB_RULE_FIND_SADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r13)
	je	LBB0_23
## %bb.9:
	cmpq	$0, (%r13)
	je	LBB0_23
## %bb.10:
	movq	_RT6_LOOKUP_F_HAS_SADDR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_23
## %bb.11:
	movq	_RT6_LOOKUP_F_SRCPREF_TMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	je	LBB0_13
## %bb.12:
	movq	_IPV6_PREFER_SRC_TMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:
	movq	_RT6_LOOKUP_F_SRCPREF_PUBLIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r15d, %ecx
	je	LBB0_15
## %bb.14:
	movq	_IPV6_PREFER_SRC_PUBLIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_15:
	orl	%eax, %ecx
	movq	_RT6_LOOKUP_F_SRCPREF_COA@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	je	LBB0_17
## %bb.16:
	movq	_IPV6_PREFER_SRC_COA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_17:
	orl	%r15d, %ecx
	movq	%rbx, %rdi
	movl	%ecx, %r15d
	callq	_ip6_dst_idev
	movl	(%rax), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %rdx
	leaq	-48(%rbp), %r8
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_ipv6_dev_get_saddr
	testq	%rax, %rax
	je	LBB0_18
LBB0_20:
	movq	%rbx, %rdi
	callq	_dst_release
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_18:
	movq	(%r13), %rdx
	addq	$8, %r13
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	callq	_ipv6_prefix_equal
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	leaq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ipv6_addr_copy
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_FIB_RULE_FIND_SADDR,4,2        ## @FIB_RULE_FIND_SADDR
	.comm	_RT6_LOOKUP_F_HAS_SADDR,4,2     ## @RT6_LOOKUP_F_HAS_SADDR
	.comm	_RT6_LOOKUP_F_SRCPREF_TMP,4,2   ## @RT6_LOOKUP_F_SRCPREF_TMP
	.comm	_IPV6_PREFER_SRC_TMP,4,2        ## @IPV6_PREFER_SRC_TMP
	.comm	_RT6_LOOKUP_F_SRCPREF_PUBLIC,4,2 ## @RT6_LOOKUP_F_SRCPREF_PUBLIC
	.comm	_IPV6_PREFER_SRC_PUBLIC,4,2     ## @IPV6_PREFER_SRC_PUBLIC
	.comm	_RT6_LOOKUP_F_SRCPREF_COA,4,2   ## @RT6_LOOKUP_F_SRCPREF_COA
	.comm	_IPV6_PREFER_SRC_COA,4,2        ## @IPV6_PREFER_SRC_COA
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_fib6_rule_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fib6_rule_action
_fib6_rule_action:                      ; @fib6_rule_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	ldr	x23, [x0, #16]
	ldr	w8, [x0]
	cmp	w8, #130
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #128
	add	x8, x23, #16
	csel	x8, x8, x23, ne
	b	LBB0_4
LBB0_3:
	add	x8, x23, #8
LBB0_4:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_dst_hold
LBB0_5:
	str	x21, [x19]
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x21, #0
	csneg	w0, wzr, w8, ne
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x25, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x21, [x19, #8]
	mov	x24, x0
	ldr	w1, [x24, #8]!
	mov	x0, x23
	bl	_fib6_get_table
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, x0
	mov	x0, x23
	mov	x2, x20
	mov	x3, x25
	blr	x21
	mov	x21, x0
	b	LBB0_9
LBB0_8:
	mov	x21, #0
LBB0_9:
	ldr	x8, [x23]
	cmp	x21, x8
	b.eq	LBB0_14
; %bb.10:
	ldr	w8, [x22, #4]
Lloh3:
	adrp	x9, _FIB_RULE_FIND_SADDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FIB_RULE_FIND_SADDR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.11:
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.12:
Lloh6:
	adrp	x8, _RT6_LOOKUP_F_HAS_SADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RT6_LOOKUP_F_HAS_SADDR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w25
	b.ne	LBB0_5
; %bb.13:
Lloh9:
	adrp	x8, _RT6_LOOKUP_F_SRCPREF_TMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RT6_LOOKUP_F_SRCPREF_TMP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IPV6_PREFER_SRC_TMP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPV6_PREFER_SRC_TMP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w8, w25
	csel	w8, wzr, w9, eq
Lloh15:
	adrp	x9, _RT6_LOOKUP_F_SRCPREF_PUBLIC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RT6_LOOKUP_F_SRCPREF_PUBLIC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _IPV6_PREFER_SRC_PUBLIC@GOTPAGE
Lloh19:
	ldr	x10, [x10, _IPV6_PREFER_SRC_PUBLIC@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w25
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _RT6_LOOKUP_F_SRCPREF_COA@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RT6_LOOKUP_F_SRCPREF_COA@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _IPV6_PREFER_SRC_COA@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IPV6_PREFER_SRC_COA@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w9, w25
	csel	w9, wzr, w10, eq
	orr	w25, w8, w9
	mov	x0, x21
	bl	_ip6_dst_idev
	ldr	w1, [x0]
	add	x2, x20, #4
	add	x4, sp, #8
	mov	x0, x23
	mov	x3, x25
	bl	_ipv6_dev_get_saddr
	cbz	x0, LBB0_15
LBB0_14:
	mov	x0, x21
	bl	_dst_release
	mov	x21, #0
	b	LBB0_5
LBB0_15:
	ldr	x2, [x22]
	add	x0, sp, #8
	mov	x1, x24
	bl	_ipv6_prefix_equal
	cbz	w0, LBB0_14
; %bb.16:
	add	x1, sp, #8
	mov	x0, x20
	bl	_ipv6_addr_copy
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FIB_RULE_FIND_SADDR,4,2        ; @FIB_RULE_FIND_SADDR
	.comm	_RT6_LOOKUP_F_HAS_SADDR,4,2     ; @RT6_LOOKUP_F_HAS_SADDR
	.comm	_RT6_LOOKUP_F_SRCPREF_TMP,4,2   ; @RT6_LOOKUP_F_SRCPREF_TMP
	.comm	_IPV6_PREFER_SRC_TMP,4,2        ; @IPV6_PREFER_SRC_TMP
	.comm	_RT6_LOOKUP_F_SRCPREF_PUBLIC,4,2 ; @RT6_LOOKUP_F_SRCPREF_PUBLIC
	.comm	_IPV6_PREFER_SRC_PUBLIC,4,2     ; @IPV6_PREFER_SRC_PUBLIC
	.comm	_RT6_LOOKUP_F_SRCPREF_COA,4,2   ; @RT6_LOOKUP_F_SRCPREF_COA
	.comm	_IPV6_PREFER_SRC_COA,4,2        ; @IPV6_PREFER_SRC_COA
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_fib6_rule_action
.subsections_via_symbols
