	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fib4_rule_configure
_fib4_rule_configure:                   ## @fib4_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	callq	_sock_net
	movq	_IPTOS_TOS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%ecx, (%r14)
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_3:
	movq	(%rbx), %rcx
	movq	_RT_TABLE_UNSPEC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.4:
	movq	8(%rbx), %rcx
	movq	_FR_ACT_TO_TBL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	movq	%rax, %rdi
	callq	_fib_empty_table
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_7:
	cmpq	$0, 16(%r14)
	je	LBB0_9
## %bb.8:
	movq	_FRA_SRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_get_be32
	movq	%rax, 56(%rbx)
LBB0_9:
	cmpq	$0, 8(%r14)
	je	LBB0_11
## %bb.10:
	movq	_FRA_DST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_get_be32
	movq	%rax, 48(%rbx)
LBB0_11:
	movq	16(%r14), %rdi
	movq	%rdi, 24(%rbx)
	callq	_inet_make_mask
	movq	%rax, 32(%rbx)
	movq	8(%r14), %rdi
	movq	%rdi, 8(%rbx)
	callq	_inet_make_mask
	movq	%rax, 16(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPTOS_TOS_MASK,4,2             ## @IPTOS_TOS_MASK
	.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
	.comm	_FRA_FLOW,8,3                   ## @FRA_FLOW
	.no_dead_strip	_fib4_rule_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fib4_rule_configure
_fib4_rule_configure:                   ; @fib4_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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	ldr	w0, [x1]
	bl	_sock_net
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IPTOS_TOS_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPTOS_TOS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_3:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _RT_TABLE_UNSPEC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RT_TABLE_UNSPEC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x20, #8]
Lloh8:
	adrp	x9, _FR_ACT_TO_TBL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FR_ACT_TO_TBL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	bl	_fib_empty_table
	cbz	x0, LBB0_13
; %bb.6:
	ldr	x8, [x0]
	str	x8, [x20]
LBB0_7:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.8:
Lloh11:
	adrp	x8, _FRA_SRC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FRA_SRC@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_get_be32
	str	x0, [x20, #56]
LBB0_9:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh14:
	adrp	x8, _FRA_DST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FRA_DST@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_get_be32
	str	x0, [x20, #48]
LBB0_11:
	ldr	x0, [x19, #16]
	str	x0, [x20, #24]
	bl	_inet_make_mask
	str	x0, [x20, #32]
	ldr	x0, [x19, #8]
	str	x0, [x20, #8]
	bl	_inet_make_mask
	mov	x8, x0
	mov	w0, #0
	str	x8, [x20, #16]
	ldr	w8, [x19]
	str	w8, [x20]
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:
Lloh17:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPTOS_TOS_MASK,4,2             ; @IPTOS_TOS_MASK
	.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
	.comm	_FRA_FLOW,8,3                   ; @FRA_FLOW
	.no_dead_strip	_fib4_rule_configure
.subsections_via_symbols
