	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ifa_maintain_loopback_route
_ifa_maintain_loopback_route:           ## @ifa_maintain_loopback_route
	.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, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %r13d
	movq	8(%rdx), %rbx
	leaq	-96(%rbp), %rdi
	movl	$32, %esi
	callq	_bzero
	movq	_RTM_DELETE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	-72(%rbp), %r14
	jmp	LBB0_3
LBB0_2:
	movq	_V_loif@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, -72(%rbp)
LBB0_3:
	movq	_RTM_ADD@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_8
## %bb.4:
	testq	%r14, %r14
	je	LBB0_8
## %bb.5:
	callq	_NET_EPOCH_ENTER
	movl	4(%r12), %edi
	movq	%r14, %rsi
	callq	_ifaof_ifpforaddr
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	callq	_ifa_ref
LBB0_7:
	callq	_NET_EPOCH_EXIT
LBB0_8:
	movq	_RTF_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	movq	_RTF_STATIC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_RTF_PINNED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -96(%rbp)
	movq	-88(%rbp), %rax
	movq	_RTAX_DST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, (%rax,%rcx,8)
	movq	-88(%rbp), %rax
	movq	_RTAX_GATEWAY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	-64(%rbp), %rsi
	movq	%rsi, (%rax,%rcx,8)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edx
	movq	%r14, %rdi
	callq	_link_init_sdl
	movl	(%r14), %ecx
	leaq	-96(%rbp), %rsi
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_rtrequest1_fib
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_14
## %bb.9:
	movq	_RTM_ADD@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_11
## %bb.10:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_14
LBB0_11:
	movq	_RTM_DELETE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_13
## %bb.12:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_14
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_if_printf
LBB0_14:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTM_DELETE,4,2                 ## @RTM_DELETE
	.comm	_V_loif,8,3                     ## @V_loif
	.comm	_RTM_ADD,4,2                    ## @RTM_ADD
	.comm	_RTF_HOST,4,2                   ## @RTF_HOST
	.comm	_RTF_STATIC,4,2                 ## @RTF_STATIC
	.comm	_RTF_PINNED,4,2                 ## @RTF_PINNED
	.comm	_RTAX_DST,8,3                   ## @RTAX_DST
	.comm	_RTAX_GATEWAY,8,3               ## @RTAX_GATEWAY
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s failed: %d\n"

	.no_dead_strip	_ifa_maintain_loopback_route
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ifa_maintain_loopback_route
_ifa_maintain_loopback_route:           ; @ifa_maintain_loopback_route
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x2, #8]
	add	x0, sp, #16
	mov	w1, #32
	bl	_bzero
Lloh0:
	adrp	x25, _RTM_DELETE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RTM_DELETE@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	ldr	x24, [sp, #40]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _V_loif@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V_loif@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x8]
	str	x24, [sp, #40]
LBB0_3:
Lloh5:
	adrp	x26, _RTM_ADD@GOTPAGE
Lloh6:
	ldr	x26, [x26, _RTM_ADD@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, w21
	ccmp	x24, #0, #4, eq
	b.eq	LBB0_7
; %bb.4:
	mov	x0, #0
	bl	_NET_EPOCH_ENTER
	ldr	w0, [x23, #4]
	mov	x1, x24
	bl	_ifaof_ifpforaddr
	str	x0, [sp, #32]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_ifa_ref
LBB0_6:
	mov	x0, #0
	bl	_NET_EPOCH_EXIT
LBB0_7:
	ldr	w8, [x23]
Lloh7:
	adrp	x9, _RTF_HOST@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RTF_HOST@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, _RTF_STATIC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RTF_STATIC@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _RTF_PINNED@GOTPAGE
Lloh14:
	ldr	x10, [x10, _RTF_PINNED@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh15:
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [sp, #16]
Lloh16:
	adrp	x8, _RTAX_DST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RTAX_DST@GOTPAGEOFF]
	ldr	x9, [sp, #24]
Lloh18:
	ldr	x8, [x8]
	str	x22, [x9, x8, lsl #3]
Lloh19:
	adrp	x8, _RTAX_GATEWAY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RTAX_GATEWAY@GOTPAGEOFF]
	ldr	x9, [sp, #24]
Lloh21:
	ldr	x8, [x8]
	add	x10, sp, #8
	str	x10, [x9, x8, lsl #3]
	ldr	w2, [x20, #4]
	add	x1, sp, #8
	mov	x0, x20
	bl	_link_init_sdl
	ldr	w3, [x20]
	add	x1, sp, #16
	mov	x0, x21
	mov	x2, #0
	bl	_rtrequest1_fib
	mov	x22, x0
	cbz	w0, LBB0_13
; %bb.8:
	ldr	w8, [x26]
	cmp	w8, w21
	b.ne	LBB0_10
; %bb.9:
Lloh22:
	adrp	x8, _EEXIST@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_13
LBB0_10:
	ldr	w8, [x25]
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.11:
Lloh25:
	adrp	x8, _ENOENT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_13
LBB0_12:
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_if_printf
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_RTM_DELETE,4,2                 ; @RTM_DELETE
	.comm	_V_loif,8,3                     ; @V_loif
	.comm	_RTM_ADD,4,2                    ; @RTM_ADD
	.comm	_RTF_HOST,4,2                   ; @RTF_HOST
	.comm	_RTF_STATIC,4,2                 ; @RTF_STATIC
	.comm	_RTF_PINNED,4,2                 ; @RTF_PINNED
	.comm	_RTAX_DST,8,3                   ; @RTAX_DST
	.comm	_RTAX_GATEWAY,8,3               ; @RTAX_GATEWAY
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s failed: %d\n"

	.no_dead_strip	_ifa_maintain_loopback_route
.subsections_via_symbols
