	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtrequest1_fib_change
_rtrequest1_fib_change:                 ## @rtrequest1_fib_change
	.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	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_RIB_WLOCK_ASSERT
	movq	16(%r15), %rax
	movq	_RTAX_DST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	_RTAX_NETMASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	leaq	4(%r13), %rdx
	callq	*8(%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_RT_LOCK
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rt_setmetrics
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%r15), %rax
	testl	%ecx, (%r14)
	je	LBB0_4
## %bb.3:
	movq	_RTAX_GATEWAY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_8
LBB0_4:
	movq	_RTAX_IFP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_5
LBB0_8:
	movq	_RTF_RNH_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_rt_getifa_fib
	movl	%eax, %ebx
	movq	_RTF_RNH_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
	xorl	%eax, %eax
	cmpq	$0, 8(%r15)
	setne	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jne	LBB0_33
	jmp	LBB0_9
LBB0_1:
	movq	_ESRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_35
LBB0_5:
	movq	_RTAX_IFA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	24(%r14), %rax
	movl	8(%rax), %esi
	callq	_sa_equal
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_8
LBB0_6:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_9:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	24(%r14), %rdi
	cmpq	%rdi, %rax
	je	LBB0_15
## %bb.11:
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.12:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_RTM_DELETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	*%rax
	movq	24(%r14), %rdi
LBB0_14:
	callq	_ifa_free
	movq	$0, 24(%r14)
LBB0_15:
	movq	16(%r15), %rax
	movq	_RTAX_GATEWAY@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_19
## %bb.16:
	movq	%r14, %rdi
	callq	_rt_key
	movq	16(%r15), %rcx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_rt_setgate
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %ebx
	jmp	LBB0_33
LBB0_18:
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%r14)
	movl	(%r15), %ecx
	andl	(%rdx), %ecx
	orl	%eax, %ecx
	movl	%ecx, (%r14)
LBB0_19:
	movq	8(%r15), %rdi
	movq	24(%r14), %rax
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.20:
	cmpq	%rax, %rdi
	je	LBB0_21
## %bb.22:
	callq	_ifa_ref
	movq	8(%r15), %rax
	movq	%rax, 24(%r14)
	movq	24(%r15), %rcx
	movq	%rcx, 16(%r14)
	jmp	LBB0_23
LBB0_21:
	movq	%rdi, %rax
LBB0_23:
	movq	_RTF_FMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	(%r14), %edx
	movl	%edx, (%r14)
	movl	(%rcx), %ecx
	andl	(%r15), %ecx
	orl	%edx, %ecx
	movl	%ecx, (%r14)
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	_RTM_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	*%rax
LBB0_26:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.27:
	movq	16(%r15), %rax
	movq	_RTAX_DST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	callq	_if_getmtu_family
	movl	4(%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_28
## %bb.29:
	cmpl	%eax, %ecx
	je	LBB0_31
## %bb.30:
	movq	16(%r14), %rcx
	movq	%rcx, -56(%rbp)
	movl	%eax, -64(%rbp)
	movl	8(%r14), %edi
	leaq	-64(%rbp), %rsi
	callq	_if_updatemtu_cb
	jmp	LBB0_31
LBB0_28:
	movl	%eax, 4(%r14)
LBB0_31:
	incl	(%r13)
	xorl	%ebx, %ebx
	testq	%r12, %r12
	je	LBB0_33
## %bb.32:
	movq	%r14, (%r12)
	movq	%r14, %rdi
	callq	_RT_ADDREF
LBB0_33:
	movq	%r14, %rdi
	callq	_RT_UNLOCK
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_35
## %bb.34:
	movq	8(%r15), %rdi
	callq	_ifa_free
	movq	$0, 8(%r15)
LBB0_35:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_DST,8,3                   ## @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ## @RTAX_NETMASK
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_RTAX_GATEWAY,8,3               ## @RTAX_GATEWAY
	.comm	_RTAX_IFP,8,3                   ## @RTAX_IFP
	.comm	_RTAX_IFA,8,3                   ## @RTAX_IFA
	.comm	_RTF_RNH_LOCKED,4,2             ## @RTF_RNH_LOCKED
	.comm	_RTM_DELETE,4,2                 ## @RTM_DELETE
	.comm	_RTF_FMASK,4,2                  ## @RTF_FMASK
	.comm	_RTM_ADD,4,2                    ## @RTM_ADD
	.no_dead_strip	_rtrequest1_fib_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtrequest1_fib_change
_rtrequest1_fib_change:                 ; @rtrequest1_fib_change
	.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	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	bl	_RIB_WLOCK_ASSERT
	ldr	x8, [x22, #8]
	ldr	x9, [x19, #16]
Lloh0:
	adrp	x24, _RTAX_DST@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RTAX_DST@GOTPAGEOFF]
	ldr	x10, [x24]
	ldr	x0, [x9, x10, lsl #3]
Lloh2:
	adrp	x10, _RTAX_NETMASK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RTAX_NETMASK@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldr	x1, [x9, x10, lsl #3]
	add	x2, x22, #4
	blr	x8
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	bl	_RT_LOCK
	mov	x0, x19
	mov	x1, x20
	bl	_rt_setmetrics
Lloh5:
	adrp	x26, _RTF_GATEWAY@GOTPAGE
Lloh6:
	ldr	x26, [x26, _RTF_GATEWAY@GOTPAGEOFF]
	ldr	w9, [x20]
	ldr	w10, [x26]
	ldr	x8, [x19, #16]
Lloh7:
	adrp	x27, _RTAX_GATEWAY@GOTPAGE
Lloh8:
	ldr	x27, [x27, _RTAX_GATEWAY@GOTPAGEOFF]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x27]
	ldr	x9, [x8, x9, lsl #3]
	cbnz	x9, LBB0_4
LBB0_3:
Lloh9:
	adrp	x9, _RTAX_IFP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTAX_IFP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_6
LBB0_4:
Lloh12:
	adrp	x25, _RTF_RNH_LOCKED@GOTPAGE
Lloh13:
	ldr	x25, [x25, _RTF_RNH_LOCKED@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x23
	bl	_rt_getifa_fib
	mov	x23, x0
	ldr	w8, [x25]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w25, ne
	cbnz	w0, LBB0_34
	b	LBB0_9
LBB0_5:
Lloh14:
	adrp	x8, _ESRCH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh16:
	ldr	w23, [x8]
	b	LBB0_36
LBB0_6:
Lloh17:
	adrp	x9, _RTAX_IFA@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RTAX_IFA@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_29
; %bb.7:
	ldr	x8, [x20, #24]
	ldr	w1, [x8, #8]
	bl	_sa_equal
	cbz	w0, LBB0_4
; %bb.8:
	mov	w25, #0
LBB0_9:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
LBB0_10:
	ldr	x0, [x20, #24]
	cmp	x8, x0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_14
; %bb.11:
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.12:
Lloh20:
	adrp	x9, _RTM_DELETE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RTM_DELETE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x9]
	mov	x1, x20
	mov	x2, x19
	blr	x8
	ldr	x0, [x20, #24]
LBB0_13:
	bl	_ifa_free
	str	xzr, [x20, #24]
LBB0_14:
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_18
; %bb.15:
	mov	x0, x20
	bl	_rt_key
	mov	x1, x0
	ldr	x8, [x19, #16]
	ldr	x9, [x27]
	ldr	x2, [x8, x9, lsl #3]
	mov	x0, x20
	bl	_rt_setgate
	cbz	w0, LBB0_17
; %bb.16:
	mov	x23, x0
	b	LBB0_34
LBB0_17:
	ldr	w8, [x26]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	ldr	w9, [x26]
	ldr	w10, [x19]
	and	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_18:
	ldr	x0, [x19, #8]
	ldr	x8, [x20, #24]
	cbz	x0, LBB0_21
; %bb.19:
	cmp	x0, x8
	b.eq	LBB0_22
; %bb.20:
	bl	_ifa_ref
	ldr	x0, [x19, #8]
	str	x0, [x20, #24]
	ldr	x8, [x19, #24]
	str	x8, [x20, #16]
	b	LBB0_22
LBB0_21:
	mov	x0, x8
LBB0_22:
Lloh23:
	adrp	x8, _RTF_FMASK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RTF_FMASK@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	w10, [x20]
	bic	w9, w10, w9
	str	w9, [x20]
	ldr	w10, [x19]
	ldr	w8, [x8]
	and	w8, w8, w10
	orr	w8, w8, w9
	str	w8, [x20]
	cbz	x0, LBB0_25
; %bb.23:
	ldr	x8, [x0]
	cbz	x8, LBB0_25
; %bb.24:
Lloh25:
	adrp	x9, _RTM_ADD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _RTM_ADD@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x9]
	mov	x1, x20
	mov	x2, x19
	blr	x8
LBB0_25:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_31
; %bb.26:
	ldr	x8, [x19, #16]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8]
	bl	_if_getmtu_family
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_30
; %bb.27:
	cmp	w8, w0
	b.eq	LBB0_31
; %bb.28:
	ldr	x8, [x20, #16]
	str	x8, [sp, #8]
	str	w0, [sp]
	ldr	w0, [x20, #8]
	mov	x1, sp
	bl	_if_updatemtu_cb
	b	LBB0_31
LBB0_29:
	mov	w25, #0
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_10
	b	LBB0_14
LBB0_30:
	str	w0, [x20, #4]
LBB0_31:
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	cbz	x21, LBB0_33
; %bb.32:
	str	x20, [x21]
	mov	x0, x20
	bl	_RT_ADDREF
LBB0_33:
	mov	w23, #0
LBB0_34:
	mov	x0, x20
	bl	_RT_UNLOCK
	cbz	w25, LBB0_36
; %bb.35:
	ldr	x0, [x19, #8]
	bl	_ifa_free
	str	xzr, [x19, #8]
LBB0_36:
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_DST,8,3                   ; @RTAX_DST
	.comm	_RTAX_NETMASK,8,3               ; @RTAX_NETMASK
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_RTAX_GATEWAY,8,3               ; @RTAX_GATEWAY
	.comm	_RTAX_IFP,8,3                   ; @RTAX_IFP
	.comm	_RTAX_IFA,8,3                   ; @RTAX_IFA
	.comm	_RTF_RNH_LOCKED,4,2             ; @RTF_RNH_LOCKED
	.comm	_RTM_DELETE,4,2                 ; @RTM_DELETE
	.comm	_RTF_FMASK,4,2                  ; @RTF_FMASK
	.comm	_RTM_ADD,4,2                    ; @RTM_ADD
	.no_dead_strip	_rtrequest1_fib_change
.subsections_via_symbols
