	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vrf_fib_rule
_vrf_fib_rule:                          ## @vrf_fib_rule
	.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
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_RTNL_FAMILY_IP6MR@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_3
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ipv6_mod_enabled
	testl	%eax, %eax
	je	LBB0_15
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_vrf_fib_rule_nl_size
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	callq	_nlmsg_put
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rax, %r13
	movq	_NLM_F_EXCL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nlmsg_data
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r14, 8(%r12)
	movq	_FR_ACT_TO_TBL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_FRA_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RTPROT_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_13
## %bb.7:
	movq	_FRA_L3MDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:
	movq	_FRA_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FIB_RULE_PREF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_9
LBB0_13:
	movq	%r15, %rdi
	callq	_nlmsg_free
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_14:
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_nlmsg_end
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_net
	movl	(%rax), %eax
	movl	%eax, (%r15)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_fib_nl_newrule
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_fib_nl_delrule
	movq	_ENOENT@GOTPCREL(%rip), %rcx
LBB0_12:
	xorl	%ebx, %ebx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmovnel	%eax, %ebx
	movq	%r15, %rdi
	callq	_nlmsg_free
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_RTNL_FAMILY_IP6MR,8,3          ## @RTNL_FAMILY_IP6MR
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NLM_F_EXCL,4,2                 ## @NLM_F_EXCL
	.comm	_FR_ACT_TO_TBL,4,2              ## @FR_ACT_TO_TBL
	.comm	_FRA_PROTOCOL,4,2               ## @FRA_PROTOCOL
	.comm	_RTPROT_KERNEL,4,2              ## @RTPROT_KERNEL
	.comm	_FRA_L3MDEV,4,2                 ## @FRA_L3MDEV
	.comm	_FRA_PRIORITY,4,2               ## @FRA_PRIORITY
	.comm	_FIB_RULE_PREF,4,2              ## @FIB_RULE_PREF
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_vrf_fib_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vrf_fib_rule
_vrf_fib_rule:                          ; @vrf_fib_rule
	.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, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RTNL_FAMILY_IP6MR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTNL_FAMILY_IP6MR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_2
; %bb.1:
	bl	_ipv6_mod_enabled
	cbz	w0, LBB0_11
LBB0_2:
	bl	_vrf_fib_rule_nl_size
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_8
; %bb.3:
	mov	x19, x0
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #16
	mov	w5, #0
	bl	_nlmsg_put
	cbz	x0, LBB0_7
; %bb.4:
	mov	x22, x0
Lloh9:
	adrp	x8, _NLM_F_EXCL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NLM_F_EXCL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	bl	_nlmsg_data
	mov	x24, x0
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	x23, [x24, #8]
Lloh12:
	adrp	x8, _FR_ACT_TO_TBL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FR_ACT_TO_TBL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x24]
Lloh15:
	adrp	x8, _FRA_PROTOCOL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FRA_PROTOCOL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _RTPROT_KERNEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RTPROT_KERNEL@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_7
; %bb.5:
Lloh21:
	adrp	x8, _FRA_L3MDEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FRA_L3MDEV@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_nla_put_u8
	cbnz	x0, LBB0_7
; %bb.6:
Lloh24:
	adrp	x8, _FRA_PRIORITY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FRA_PRIORITY@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _FIB_RULE_PREF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FIB_RULE_PREF@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nla_put_u32
	cbz	x0, LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_nlmsg_free
Lloh30:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x20
	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
LBB0_11:
	mov	w20, #0
	b	LBB0_10
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	bl	_nlmsg_end
	mov	x0, x21
	bl	_dev_net
	ldr	w8, [x0]
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	cbz	w20, LBB0_14
; %bb.13:
	bl	_fib_nl_newrule
Lloh34:
	adrp	x8, _EEXIST@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
	bl	_fib_nl_delrule
Lloh36:
	adrp	x8, _ENOENT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	cmn	w0, w8
	csel	w20, wzr, w0, eq
	mov	x0, x19
	bl	_nlmsg_free
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_RTNL_FAMILY_IP6MR,8,3          ; @RTNL_FAMILY_IP6MR
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NLM_F_EXCL,4,2                 ; @NLM_F_EXCL
	.comm	_FR_ACT_TO_TBL,4,2              ; @FR_ACT_TO_TBL
	.comm	_FRA_PROTOCOL,4,2               ; @FRA_PROTOCOL
	.comm	_RTPROT_KERNEL,4,2              ; @RTPROT_KERNEL
	.comm	_FRA_L3MDEV,4,2                 ; @FRA_L3MDEV
	.comm	_FRA_PRIORITY,4,2               ; @FRA_PRIORITY
	.comm	_FIB_RULE_PREF,4,2              ; @FIB_RULE_PREF
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_vrf_fib_rule
.subsections_via_symbols
