	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_getifa_fib                  ## -- Begin function rt_getifa_fib
	.p2align	4, 0x90
_rt_getifa_fib:                         ## @rt_getifa_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	callq	_NET_EPOCH_ENTER
	cmpq	$0, 16(%rbx)
	jne	LBB0_5
## %bb.1:
	movq	_ifpaddr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	movq	_AF_LINK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_5
## %bb.4:
	callq	_ifnet_byindex
	movq	%rax, 16(%rbx)
LBB0_5:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	_ifaaddr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_ifa_ifwithaddr
	movq	%rax, 8(%rbx)
LBB0_8:
	testq	%rax, %rax
	jne	LBB0_25
## %bb.9:
	movq	24(%rbx), %rax
	movq	_RTAX_IFA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.12:
	movq	_gateway@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	_dst@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_13
	jmp	LBB0_14
LBB0_11:
	movq	_dst@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_13:
	movq	%rcx, %rax
LBB0_14:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.15:
	movq	%rax, %rdi
	callq	_ifaof_ifpforaddr
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_25
## %bb.16:
	movq	_gateway@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.17:
	movq	16(%rbx), %rsi
	callq	_ifaof_ifpforaddr
	jmp	LBB0_24
LBB0_18:
	movq	_dst@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.19:
	movq	_gateway@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.20:
	movq	_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_23
LBB0_21:
	testq	%rax, %rax
	je	LBB0_30
## %bb.22:
	movq	_flags@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	movq	%rax, %rdx
LBB0_23:
	movl	%r14d, %ecx
	callq	_ifa_ifwithroute
LBB0_24:
	movq	%rax, 8(%rbx)
LBB0_25:
	testq	%r15, %r15
	jne	LBB0_30
## %bb.26:
	testq	%rax, %rax
	je	LBB0_30
## %bb.27:
	cmpq	$0, 16(%rbx)
	jne	LBB0_29
## %bb.28:
	movq	(%rax), %rcx
	movq	%rcx, 16(%rbx)
LBB0_29:
	movq	%rax, %rdi
	callq	_ifa_ref
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_30:
	movq	_ENETUNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_31:
	callq	_NET_EPOCH_EXIT
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifpaddr,8,3                    ## @ifpaddr
	.comm	_AF_LINK,8,3                    ## @AF_LINK
	.comm	_ifaaddr,8,3                    ## @ifaaddr
	.comm	_RTAX_IFA,8,3                   ## @RTAX_IFA
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_gateway,8,3                    ## @gateway
	.comm	_dst,8,3                        ## @dst
	.comm	_flags,4,2                      ## @flags
	.comm	_ENETUNREACH,4,2                ## @ENETUNREACH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_getifa_fib                  ; -- Begin function rt_getifa_fib
	.p2align	2
_rt_getifa_fib:                         ; @rt_getifa_fib
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	mov	x0, #0
	bl	_NET_EPOCH_ENTER
	ldr	x9, [x19, #16]
Lloh0:
	adrp	x8, _ifpaddr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifpaddr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_3
; %bb.1:
	ldr	x0, [x8]
Lloh3:
	adrp	x8, _AF_LINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_LINK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x0, x8, #0, ne
	b.ne	LBB0_3
; %bb.2:
	bl	_ifnet_byindex
	str	x0, [x19, #16]
LBB0_3:
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x8, _ifaaddr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ifaaddr@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x8
	bl	_ifa_ifwithaddr
	str	x0, [x19, #8]
LBB0_5:
	cbnz	x0, LBB0_20
; %bb.6:
	ldr	x8, [x19, #24]
Lloh9:
	adrp	x9, _RTAX_IFA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTAX_IFA@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbnz	x8, LBB0_11
; %bb.7:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _RTF_GATEWAY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RTF_GATEWAY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _gateway@GOTPAGE
Lloh16:
	ldr	x8, [x8, _gateway@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x10, [x8]
Lloh18:
	adrp	x9, _dst@GOTPAGE
Lloh19:
	ldr	x9, [x9, _dst@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	x11, [x9]
	cmp	x10, x11
	b.ne	LBB0_10
	b	LBB0_11
LBB0_9:
Lloh21:
	adrp	x8, _dst@GOTPAGE
Lloh22:
	ldr	x8, [x8, _dst@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x8]
LBB0_10:
	mov	x8, x9
LBB0_11:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_14
; %bb.12:
	mov	x0, x8
	bl	_ifaof_ifpforaddr
	str	x0, [x19, #8]
Lloh24:
	adrp	x8, _gateway@GOTPAGE
Lloh25:
	ldr	x8, [x8, _gateway@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_20
; %bb.13:
	ldr	x1, [x19, #16]
	mov	x0, x8
	bl	_ifaof_ifpforaddr
	b	LBB0_19
LBB0_14:
Lloh27:
	adrp	x9, _dst@GOTPAGE
Lloh28:
	ldr	x9, [x9, _dst@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x9]
Lloh30:
	adrp	x9, _gateway@GOTPAGE
Lloh31:
	ldr	x9, [x9, _gateway@GOTPAGEOFF]
Lloh32:
	ldr	x2, [x9]
	cmp	x1, #0
	ccmp	x2, #0, #4, ne
	b.ne	LBB0_17
; %bb.15:
	cbz	x8, LBB0_25
; %bb.16:
Lloh33:
	adrp	x9, _flags@GOTPAGE
Lloh34:
	ldr	x9, [x9, _flags@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x9]
	mov	x1, x8
	mov	x2, x8
	b	LBB0_18
LBB0_17:
Lloh36:
	adrp	x8, _flags@GOTPAGE
Lloh37:
	ldr	x8, [x8, _flags@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
LBB0_18:
	mov	x3, x20
	bl	_ifa_ifwithroute
LBB0_19:
	str	x0, [x19, #8]
LBB0_20:
	cbnz	x21, LBB0_25
; %bb.21:
	cbz	x0, LBB0_25
; %bb.22:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_24
; %bb.23:
	ldr	x8, [x0]
	str	x8, [x19, #16]
LBB0_24:
	bl	_ifa_ref
	mov	w19, #0
	b	LBB0_26
LBB0_25:
Lloh39:
	adrp	x8, _ENETUNREACH@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENETUNREACH@GOTPAGEOFF]
Lloh41:
	ldr	w19, [x8]
LBB0_26:
	mov	x0, #0
	bl	_NET_EPOCH_EXIT
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_ifpaddr,8,3                    ; @ifpaddr
	.comm	_AF_LINK,8,3                    ; @AF_LINK
	.comm	_ifaaddr,8,3                    ; @ifaaddr
	.comm	_RTAX_IFA,8,3                   ; @RTAX_IFA
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_gateway,8,3                    ; @gateway
	.comm	_dst,8,3                        ; @dst
	.comm	_flags,4,2                      ; @flags
	.comm	_ENETUNREACH,4,2                ; @ENETUNREACH
.subsections_via_symbols
