	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifa_ifwithroute                ## -- Begin function ifa_ifwithroute
	.p2align	4, 0x90
_ifa_ifwithroute:                       ## @ifa_ifwithroute
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %r13d
	movq	_net_epoch_preempt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_in_epoch
	movl	%eax, %edi
	callq	_MPASS
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_1
## %bb.4:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_ifa_ifwithdstaddr
	jmp	LBB0_5
LBB0_1:
	movq	_RTF_HOST@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ifa_ifwithdstaddr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_16
LBB0_3:
	movq	%r15, %rdi
	callq	_ifa_ifwithaddr
LBB0_5:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_ifa_ifwithnet
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_16:
	movq	8(%rbx), %rax
	movslq	(%r14), %rcx
	cmpq	%rcx, (%rax)
	je	LBB0_18
## %bb.17:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_ifaof_ifpforaddr
	testq	%rax, %rax
	cmovneq	%rax, %rbx
LBB0_18:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_rtalloc1_fib
	testq	%rax, %rax
	je	LBB0_18
## %bb.8:
	movq	%rax, %r12
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.9:
	cmpl	$129, %eax
	jne	LBB0_13
## %bb.10:
	movq	%r12, %rdi
	callq	_rt_key
	movl	%eax, %edi
	callq	_satosin
	movl	(%rax), %eax
	movq	_INADDR_ANY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
LBB0_13:
	movq	(%r12), %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_12:
	movq	%r12, %rdi
	callq	_rt_key
	movl	%eax, %edi
	callq	_satosin6
	movq	%rax, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testl	%eax, %eax
	je	LBB0_13
LBB0_11:
	movb	$1, %r15b
	xorl	%ebx, %ebx
LBB0_14:
	movq	%r12, %rdi
	callq	_RT_REMREF
	movq	%r12, %rdi
	callq	_RT_UNLOCK
	testb	%r15b, %r15b
	jne	LBB0_18
## %bb.15:
	testq	%rbx, %rbx
	jne	LBB0_16
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_net_epoch_preempt,4,2          ## @net_epoch_preempt
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_RTF_HOST,4,2                   ## @RTF_HOST
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifa_ifwithroute                ; -- Begin function ifa_ifwithroute
	.p2align	2
_ifa_ifwithroute:                       ; @ifa_ifwithroute
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _net_epoch_preempt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _net_epoch_preempt@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_in_epoch
	bl	_MPASS
Lloh3:
	adrp	x8, _RTF_GATEWAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTF_GATEWAY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_ifa_ifwithdstaddr
	mov	x20, x0
	cbnz	x0, LBB0_6
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _RTF_HOST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTF_HOST@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	bl	_ifa_ifwithdstaddr
	mov	x20, x0
	cbnz	x0, LBB0_6
LBB0_4:
	mov	x0, x21
	bl	_ifa_ifwithaddr
	mov	x20, x0
	cbnz	x0, LBB0_6
LBB0_5:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x22
	bl	_ifa_ifwithnet
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldrsw	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_ifaof_ifpforaddr
	cmp	x0, #0
	csel	x20, x20, x0, eq
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x23
	mov	x3, x22
	bl	_rtalloc1_fib
	cbz	x0, LBB0_14
; %bb.10:
	mov	x22, x0
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_15
; %bb.11:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_rt_key
	bl	_satosin
	ldr	w8, [x0]
Lloh9:
	adrp	x9, _INADDR_ANY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _INADDR_ANY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_16
LBB0_13:
	mov	w21, #0
	ldr	x20, [x22]
	b	LBB0_17
LBB0_14:
	mov	x20, #0
	b	LBB0_8
LBB0_15:
	mov	x0, x22
	bl	_rt_key
	bl	_satosin6
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbz	w0, LBB0_13
LBB0_16:
	mov	x20, #0
	mov	w21, #1
LBB0_17:
	mov	x0, x22
	bl	_RT_REMREF
	mov	x0, x22
	bl	_RT_UNLOCK
	tbnz	w21, #0, LBB0_8
; %bb.18:
	cbnz	x20, LBB0_6
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_net_epoch_preempt,4,2          ; @net_epoch_preempt
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_RTF_HOST,4,2                   ; @RTF_HOST
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
.subsections_via_symbols
