	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtrequest1_fib                 ## -- Begin function rtrequest1_fib
	.p2align	4, 0x90
_rtrequest1_fib:                        ## @rtrequest1_fib
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %ebx
	movl	$0, -44(%rbp)
	movq	_rt_numfibs@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rcx, (%rax)
	setg	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_flags@GOTPCREL(%rip), %r15
	movq	_RTF_RNH_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	movq	_dst@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	andl	$-2, %eax
	cmpl	$132, %eax
	je	LBB0_2
## %bb.1:
	movq	_RT_DEFAULT_FIB@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_2:
	movq	%r12, %rdi
	callq	_rt_tables_get_rnh
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %r13
	movl	(%r15), %eax
	movq	_RTF_HOST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_netmask@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
LBB0_5:
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_14
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_7:
	movq	_netmask@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.8:
	movq	(%r14), %rdi
	cmpl	$5, 4(%rdi)
	jae	LBB0_19
## %bb.9:
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_rt_maskedcopy
	movq	%rbx, (%r14)
LBB0_10:
	movq	%r13, %rdi
	callq	_RIB_WLOCK
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_rt_unlinkrte
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_RIB_WUNLOCK
	movl	-44(%rbp), %ebx
	testl	%ebx, %ebx
	jne	LBB0_21
## %bb.11:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_rt_notifydelete
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_33
## %bb.12:
	movq	%r12, (%rax)
	movq	%r12, %rdi
	callq	_RT_UNLOCK
	jmp	LBB0_16
LBB0_13:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_14:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_16
LBB0_15:
	movq	%r13, %rdi
	callq	_RIB_WLOCK
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_rtrequest1_fib_change
	movl	%eax, -44(%rbp)
	movq	%r13, %rdi
	callq	_RIB_WUNLOCK
LBB0_16:
	movl	-44(%rbp), %ebx
	jmp	LBB0_21
LBB0_17:
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rdx
	movq	_gateway@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%eax, (%rdx)
	je	LBB0_22
## %bb.18:
	testq	%rcx, %rcx
	jne	LBB0_22
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.23:
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.24:
	movl	(%rcx), %eax
	cmpl	%eax, (%rdx)
	je	LBB0_27
## %bb.25:
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_27
## %bb.26:
	movq	_AF_LINK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
LBB0_27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 16(%rdi)
	je	LBB0_31
LBB0_28:
	movq	_V_rtzone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uma_zalloc
	testq	%rax, %rax
	je	LBB0_32
## %bb.29:
	movq	%rax, %rbx
	movq	_RTF_UP@GOTPCREL(%rip), %rax
	movl	(%r15), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	%r12, 24(%rbx)
	movq	(%r14), %rsi
	movq	_gateway@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_rt_setgate
	movq	%rbx, %r12
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_34
## %bb.30:
	movl	%eax, %ebx
	movq	_V_rtzone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_uma_zfree
	jmp	LBB0_21
LBB0_31:
	movq	%r12, %rsi
	callq	_rt_getifa_fib
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
	jmp	LBB0_28
LBB0_32:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_33:
	movq	%r12, %rdi
	callq	_RTFREE_LOCKED
	jmp	LBB0_16
LBB0_34:
	movq	%r12, %rdi
	callq	_rt_key
	movq	_netmask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%r14), %rsi
	testq	%rdx, %rdx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	je	LBB0_36
## %bb.35:
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_rt_maskedcopy
	jmp	LBB0_37
LBB0_36:
	movl	4(%rsi), %edx
	movq	%rax, %rdi
	callq	_memmove
LBB0_37:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %r15
	movq	%r15, %rdi
	callq	_ifa_ref
	movq	%r15, 8(%rbx)
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	8(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	$1, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rt_setmetrics
	movq	%r13, %rdi
	callq	_RIB_WLOCK
	movq	%rbx, %rdi
	callq	_RT_LOCK
	movq	_netmask@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %r12
	addq	$4, %r12
	movq	%rbx, %r15
	movl	16(%rbx), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	*8(%r13)
	testq	%rax, %rax
	je	LBB0_44
## %bb.38:
	movq	%r13, %rdi
	callq	_RIB_WUNLOCK
LBB0_39:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	movl	$131, %edi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*%rax
LBB0_41:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:
	movq	%r15, (%rax)
	movq	%r15, %rdi
	callq	_RT_ADDREF
LBB0_43:
	incl	(%r13)
	movq	%r15, %rdi
	callq	_RT_UNLOCK
	jmp	LBB0_16
LBB0_44:
	movl	(%r14), %eax
	movq	_RTF_PINNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_48
## %bb.45:
	movq	%r14, %rbx
	movq	8(%r14), %rdx
	movq	_RTAX_DST@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rdx,%rsi,8), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, (%rdx,%rsi,8)
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r14)
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_rt_unlinkrte
	movq	%rax, %r14
	movq	_RTF_PINNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	8(%rbx), %rax
	movq	_RTAX_DST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rax,%rcx,8)
	testq	%r14, %r14
	je	LBB0_48
## %bb.46:
	movq	_netmask@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	16(%r15), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	*8(%r13)
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_RIB_WUNLOCK
	movq	%r14, %rdi
	callq	_RT_UNLOCK
	testq	%r12, %r12
	je	LBB0_49
## %bb.47:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_rt_notifydelete
	movq	%r14, %rdi
	callq	_RTFREE
	jmp	LBB0_39
LBB0_48:
	movq	%r13, %rdi
	callq	_RIB_WUNLOCK
LBB0_49:
	movq	8(%r15), %rdi
	callq	_ifa_free
	movq	%r15, %rdi
	callq	_rt_key
	movq	%rax, %rdi
	callq	_R_Free
	movq	_V_rtzone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_uma_zfree
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_7
	.long	L0_0_set_15
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_rt_numfibs,8,3                 ## @rt_numfibs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtrequest1_fib: bad fibnum"

	.comm	_flags,4,2                      ## @flags
	.comm	_RTF_RNH_LOCKED,4,2             ## @RTF_RNH_LOCKED
L_.str.1:                               ## @.str.1
	.asciz	"rtrequest1_fib: locked"

	.comm	_dst,8,3                        ## @dst
	.comm	_RT_DEFAULT_FIB,8,3             ## @RT_DEFAULT_FIB
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_RTF_HOST,4,2                   ## @RTF_HOST
	.comm	_netmask,8,3                    ## @netmask
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_gateway,8,3                    ## @gateway
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_AF_LINK,4,2                    ## @AF_LINK
	.comm	_V_rtzone,4,2                   ## @V_rtzone
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_RTF_UP,4,2                     ## @RTF_UP
	.comm	_RTF_PINNED,4,2                 ## @RTF_PINNED
	.comm	_RTAX_DST,8,3                   ## @RTAX_DST
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtrequest1_fib                 ; -- Begin function rtrequest1_fib
	.p2align	2
_rtrequest1_fib:                        ; @rtrequest1_fib
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _rt_numfibs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rt_numfibs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	cset	w0, gt
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
Lloh5:
	adrp	x26, _flags@GOTPAGE
Lloh6:
	ldr	x26, [x26, _flags@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh7:
	adrp	x9, _RTF_RNH_LOCKED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RTF_RNH_LOCKED@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
Lloh12:
	adrp	x25, _dst@GOTPAGE
Lloh13:
	ldr	x25, [x25, _dst@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w1, [x8]
	and	w8, w1, #0xfffffffe
Lloh14:
	adrp	x9, _RT_DEFAULT_FIB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RT_DEFAULT_FIB@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	w8, #132
	csel	x23, x21, x9, eq
	mov	x0, x23
	bl	_rt_tables_get_rnh
	cbz	x0, LBB0_11
; %bb.1:
	mov	x21, x0
	ldr	w8, [x26]
Lloh17:
	adrp	x9, _RTF_HOST@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RTF_HOST@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh20:
	adrp	x9, _netmask@GOTPAGE
Lloh21:
	ldr	x9, [x9, _netmask@GOTPAGEOFF]
Lloh22:
	str	xzr, [x9]
LBB0_3:
	sub	w9, w22, #128
	cmp	w9, #3
	b.hi	LBB0_12
; %bb.4:
Lloh23:
	adrp	x10, lJTI0_0@PAGE
Lloh24:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
Lloh25:
	adrp	x8, _netmask@GOTPAGE
Lloh26:
	ldr	x8, [x8, _netmask@GOTPAGEOFF]
Lloh27:
	ldr	x2, [x8]
	cbz	x2, LBB0_8
; %bb.6:
	ldr	x0, [x25]
	ldr	w8, [x0, #4]
	cmp	w8, #5
	b.hs	LBB0_23
; %bb.7:
	add	x22, sp, #8
	add	x1, sp, #8
	bl	_rt_maskedcopy
	str	x22, [x25]
LBB0_8:
	mov	x0, x21
	bl	_RIB_WLOCK
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_rt_unlinkrte
	mov	x22, x0
	mov	x0, x21
	bl	_RIB_WUNLOCK
	ldr	w24, [sp, #12]
	cbnz	w24, LBB0_25
; %bb.9:
	mov	x0, x22
	mov	x1, x20
	bl	_rt_notifydelete
	cbz	x19, LBB0_28
; %bb.10:
	str	x22, [x19]
	b	LBB0_38
LBB0_11:
Lloh28:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
	b	LBB0_24
LBB0_12:
Lloh30:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	b	LBB0_14
LBB0_13:
	mov	x0, x21
	bl	_RIB_WLOCK
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	bl	_rtrequest1_fib_change
	str	w0, [sp, #12]
	mov	x0, x21
	bl	_RIB_WUNLOCK
LBB0_14:
	ldr	w24, [sp, #12]
	b	LBB0_25
LBB0_15:
Lloh33:
	adrp	x9, _RTF_GATEWAY@GOTPAGE
Lloh34:
	ldr	x9, [x9, _RTF_GATEWAY@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh36:
	adrp	x28, _gateway@GOTPAGE
Lloh37:
	ldr	x28, [x28, _gateway@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	w9, #0
	ccmp	x8, #0, #0, ne
	b.eq	LBB0_23
; %bb.16:
	ldr	x9, [x25]
	cbz	x9, LBB0_19
; %bb.17:
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w9, [x9]
	ldr	w8, [x8]
Lloh38:
	adrp	x10, _AF_UNSPEC@GOTPAGE
Lloh39:
	ldr	x10, [x10, _AF_UNSPEC@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
Lloh41:
	adrp	x11, _AF_LINK@GOTPAGE
Lloh42:
	ldr	x11, [x11, _AF_LINK@GOTPAGEOFF]
Lloh43:
	ldr	w11, [x11]
	cmp	w9, w8
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_23
LBB0_19:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_26
LBB0_20:
Lloh44:
	adrp	x27, _V_rtzone@GOTPAGE
Lloh45:
	ldr	x27, [x27, _V_rtzone@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh46:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_uma_zalloc
	cbz	x0, LBB0_27
; %bb.21:
	mov	x22, x0
Lloh49:
	adrp	x8, _RTF_UP@GOTPAGE
Lloh50:
	ldr	x8, [x8, _RTF_UP@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	ldr	w9, [x26]
	orr	w8, w9, w8
	str	w8, [x0]
	str	x23, [x0, #24]
	ldr	x1, [x25]
	ldr	x2, [x28]
	bl	_rt_setgate
	str	w0, [sp, #12]
	cbz	w0, LBB0_29
; %bb.22:
	mov	x24, x0
	ldr	w0, [x27]
	mov	x1, x22
	bl	_uma_zfree
	b	LBB0_25
LBB0_23:
Lloh52:
	adrp	x8, _EINVAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_24:
	ldr	w24, [x8]
LBB0_25:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_26:
	mov	x0, x20
	mov	x1, x23
	bl	_rt_getifa_fib
	mov	x24, x0
	cbnz	w0, LBB0_25
	b	LBB0_20
LBB0_27:
Lloh54:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_24
LBB0_28:
	mov	x0, x22
	bl	_RTFREE_LOCKED
	b	LBB0_14
LBB0_29:
	mov	x0, x22
	bl	_rt_key
	mov	x24, x0
Lloh56:
	adrp	x28, _netmask@GOTPAGE
Lloh57:
	ldr	x28, [x28, _netmask@GOTPAGEOFF]
	ldr	x2, [x28]
	ldr	x1, [x25]
	cbz	x2, LBB0_31
; %bb.30:
	mov	x0, x1
	mov	x1, x24
	bl	_rt_maskedcopy
	b	LBB0_32
LBB0_31:
	ldr	w2, [x1, #4]
	mov	x0, x24
	bl	_memmove
LBB0_32:
	ldr	x23, [x20, #16]
	mov	x0, x23
	bl	_ifa_ref
	str	x23, [x22, #8]
	ldr	w8, [x23, #8]
	str	w8, [x22, #20]
	mov	w8, #1
	str	w8, [x22, #4]
	mov	x0, x20
	mov	x1, x22
	bl	_rt_setmetrics
	mov	x0, x21
	bl	_RIB_WLOCK
	mov	x0, x22
	bl	_RT_LOCK
	ldr	x8, [x21, #8]
	ldr	x1, [x28]
	add	x25, x21, #4
	ldr	w3, [x22, #16]
	mov	x0, x24
	mov	x2, x25
	blr	x8
	cbz	x0, LBB0_39
; %bb.33:
	mov	x0, x21
	bl	_RIB_WUNLOCK
	ldr	x8, [x23]
	cbz	x8, LBB0_35
LBB0_34:
	mov	w0, #131
	mov	x1, x22
	mov	x2, x20
	blr	x8
LBB0_35:
	cbz	x19, LBB0_37
; %bb.36:
	str	x22, [x19]
	mov	x0, x22
	bl	_RT_ADDREF
LBB0_37:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
LBB0_38:
	mov	x0, x22
	bl	_RT_UNLOCK
	b	LBB0_14
LBB0_39:
	ldr	w8, [x20]
Lloh58:
	adrp	x9, _RTF_PINNED@GOTPAGE
Lloh59:
	ldr	x9, [x9, _RTF_PINNED@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_43
; %bb.40:
	ldr	x10, [x20, #8]
Lloh61:
	adrp	x11, _RTAX_DST@GOTPAGE
Lloh62:
	ldr	x11, [x11, _RTAX_DST@GOTPAGEOFF]
Lloh63:
	ldr	x11, [x11]
	lsl	x11, x11, #3
	ldr	x12, [x10, x11]
	str	x12, [sp]                       ; 8-byte Folded Spill
	str	x24, [x10, x11]
	bic	w8, w8, w9
	str	w8, [x20]
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_rt_unlinkrte
Lloh64:
	adrp	x8, _RTF_PINNED@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RTF_PINNED@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldr	x8, [x20, #8]
Lloh67:
	adrp	x9, _RTAX_DST@GOTPAGE
Lloh68:
	ldr	x9, [x9, _RTAX_DST@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	str	x10, [x8, x9, lsl #3]
	cbz	x0, LBB0_43
; %bb.41:
	mov	x26, x0
	ldr	x8, [x21, #8]
	ldr	x1, [x28]
	ldr	w3, [x22, #16]
	mov	x0, x24
	mov	x2, x25
	blr	x8
	mov	x24, x0
	mov	x0, x21
	bl	_RIB_WUNLOCK
	mov	x0, x26
	bl	_RT_UNLOCK
	cbz	x24, LBB0_44
; %bb.42:
	mov	x0, x26
	mov	x1, x20
	bl	_rt_notifydelete
	mov	x0, x26
	bl	_RTFREE
	ldr	x8, [x23]
	cbnz	x8, LBB0_34
	b	LBB0_35
LBB0_43:
	mov	x0, x21
	bl	_RIB_WUNLOCK
LBB0_44:
	ldr	x0, [x22, #8]
	bl	_ifa_free
	mov	x0, x22
	bl	_rt_key
	bl	_R_Free
	ldr	w0, [x27]
	mov	x1, x22
	bl	_uma_zfree
Lloh70:
	adrp	x8, _EEXIST@GOTPAGE
Lloh71:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh70, Lloh71
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
                                        ; -- End function
	.comm	_rt_numfibs,8,3                 ; @rt_numfibs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtrequest1_fib: bad fibnum"

	.comm	_flags,4,2                      ; @flags
	.comm	_RTF_RNH_LOCKED,4,2             ; @RTF_RNH_LOCKED
l_.str.1:                               ; @.str.1
	.asciz	"rtrequest1_fib: locked"

	.comm	_dst,8,3                        ; @dst
	.comm	_RT_DEFAULT_FIB,8,3             ; @RT_DEFAULT_FIB
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_RTF_HOST,4,2                   ; @RTF_HOST
	.comm	_netmask,8,3                    ; @netmask
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_gateway,8,3                    ; @gateway
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_AF_LINK,4,2                    ; @AF_LINK
	.comm	_V_rtzone,4,2                   ; @V_rtzone
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_RTF_UP,4,2                     ; @RTF_UP
	.comm	_RTF_PINNED,4,2                 ; @RTF_PINNED
	.comm	_RTAX_DST,8,3                   ; @RTAX_DST
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
.subsections_via_symbols
