	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fib6_rules_net_init
_fib6_rules_net_init:                   ## @fib6_rules_net_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fib6_rules_ops_template@GOTPCREL(%rip), %rdi
	movl	$16, %esi
	callq	_kmemdup
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%r14, 8(%rax)
	movq	%rax, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r14), %rdi
	movq	_RT6_TABLE_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FIB_RULE_PERMANENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	callq	_fib_default_rule_add
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	(%r14), %rdi
	movq	_RT6_TABLE_MAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movl	$32766, %esi                    ## imm = 0x7FFE
	xorl	%ecx, %ecx
	callq	_fib_default_rule_add
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rdi
	callq	_fib_rules_register
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_6
LBB0_4:
	movq	(%r14), %rdi
	callq	_fib_rules_cleanup_ops
LBB0_5:
	movq	(%r14), %rdi
	callq	_kfree
	movl	%r15d, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_fib6_rules_ops_template,4,2    ## @fib6_rules_ops_template
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_RT6_TABLE_LOCAL,4,2            ## @RT6_TABLE_LOCAL
	.comm	_FIB_RULE_PERMANENT,4,2         ## @FIB_RULE_PERMANENT
	.comm	_RT6_TABLE_MAIN,4,2             ## @RT6_TABLE_MAIN
	.no_dead_strip	_fib6_rules_net_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fib6_rules_net_init
_fib6_rules_net_init:                   ; @fib6_rules_net_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x0, _fib6_rules_ops_template@GOTPAGE
Lloh7:
	ldr	x0, [x0, _fib6_rules_ops_template@GOTPAGEOFF]
	mov	w1, #16
	bl	_kmemdup
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.1:
	str	x19, [x0, #8]
	bl	_INIT_LIST_HEAD
	ldr	x0, [x19]
Lloh8:
	adrp	x8, _RT6_TABLE_LOCAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RT6_TABLE_LOCAL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _FIB_RULE_PERMANENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FIB_RULE_PERMANENT@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	w1, #0
	bl	_fib_default_rule_add
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	x0, [x19]
Lloh14:
	adrp	x8, _RT6_TABLE_MAIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RT6_TABLE_MAIN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w1, #32766
	mov	w3, #0
	bl	_fib_default_rule_add
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	bl	_fib_rules_register
	mov	x20, x0
	cbz	w0, LBB0_7
LBB0_4:
	ldr	x0, [x19]
	bl	_fib_rules_cleanup_ops
LBB0_5:
	ldr	x0, [x19]
	bl	_kfree
	b	LBB0_7
LBB0_6:
	neg	w20, w20
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_fib6_rules_ops_template,4,2    ; @fib6_rules_ops_template
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RT6_TABLE_LOCAL,4,2            ; @RT6_TABLE_LOCAL
	.comm	_FIB_RULE_PERMANENT,4,2         ; @FIB_RULE_PERMANENT
	.comm	_RT6_TABLE_MAIN,4,2             ; @RT6_TABLE_MAIN
	.no_dead_strip	_fib6_rules_net_init
.subsections_via_symbols
