	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_fib_rule_configure
_dn_fib_rule_configure:                 ## @dn_fib_rule_configure
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 16(%rdx)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_2:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_RT_TABLE_UNSPEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	8(%r14), %rax
	movq	_FR_ACT_TO_TBL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dn_fib_empty_table
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_6:
	cmpq	$0, 8(%r12)
	je	LBB0_8
## %bb.7:
	movq	_FRA_SRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_get_le16
	movq	%rax, 40(%r14)
LBB0_8:
	cmpq	$0, (%r12)
	je	LBB0_10
## %bb.9:
	movq	_FRA_DST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_get_le16
	movq	%rax, 32(%r14)
LBB0_10:
	movq	8(%r12), %rdi
	movq	%rdi, 16(%r14)
	callq	_dnet_make_mask
	movq	%rax, 24(%r14)
	movq	(%r12), %rdi
	movq	%rdi, (%r14)
	callq	_dnet_make_mask
	movq	%rax, 8(%r14)
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RT_TABLE_UNSPEC,8,3            ## @RT_TABLE_UNSPEC
	.comm	_FR_ACT_TO_TBL,8,3              ## @FR_ACT_TO_TBL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_FRA_SRC,8,3                    ## @FRA_SRC
	.comm	_FRA_DST,8,3                    ## @FRA_DST
	.no_dead_strip	_dn_fib_rule_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_fib_rule_configure
_dn_fib_rule_configure:                 ; @dn_fib_rule_configure
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x2, #16]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_3:
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _RT_TABLE_UNSPEC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RT_TABLE_UNSPEC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _FR_ACT_TO_TBL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FR_ACT_TO_TBL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	bl	_dn_fib_empty_table
	cbz	x0, LBB0_13
; %bb.6:
	ldr	x8, [x0]
	str	x8, [x19]
LBB0_7:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh8:
	adrp	x8, _FRA_SRC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FRA_SRC@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_get_le16
	str	x0, [x19, #40]
LBB0_9:
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.10:
Lloh11:
	adrp	x8, _FRA_DST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FRA_DST@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_get_le16
	str	x0, [x19, #32]
LBB0_11:
	ldr	x0, [x20, #8]
	str	x0, [x19, #16]
	bl	_dnet_make_mask
	str	x0, [x19, #24]
	ldr	x0, [x20]
	str	x0, [x19]
	bl	_dnet_make_mask
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #8]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh14:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RT_TABLE_UNSPEC,8,3            ; @RT_TABLE_UNSPEC
	.comm	_FR_ACT_TO_TBL,8,3              ; @FR_ACT_TO_TBL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_FRA_SRC,8,3                    ; @FRA_SRC
	.comm	_FRA_DST,8,3                    ; @FRA_DST
	.no_dead_strip	_dn_fib_rule_configure
.subsections_via_symbols
