	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in6_lltable_rtcheck
_in6_lltable_rtcheck:                   ## @in6_lltable_rtcheck
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%eax, %eax
	callq	_NET_EPOCH_ASSERT
	movq	(%rbx), %rsi
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rsi
	sete	%dil
	callq	_KASSERT
	leaq	-56(%rbp), %r12
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_in6_splitscope
	movq	_V_rt_add_addr_allfibs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%r15, %rax
	je	LBB0_2
## %bb.1:
	movq	_RT_DEFAULT_FIB@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	movl	-52(%rbp), %edx
	leaq	-72(%rbp), %r9
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_fib6_lookup_nh_basic
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ifaof_ifpforaddr
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.6:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ip6_sprintf
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	%eax, %edx
	callq	_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_3:
	movq	_NHF_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -72(%rbp)
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	cmpq	%r15, -64(%rbp)
	jne	LBB0_5
LBB0_7:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_V_rt_add_addr_allfibs,8,3      ## @V_rt_add_addr_allfibs
	.comm	_RT_DEFAULT_FIB,4,2             ## @RT_DEFAULT_FIB
	.comm	_NHF_GATEWAY,4,2                ## @NHF_GATEWAY
	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"IPv6 address: \"%s\" is not on the network\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_in6_lltable_rtcheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in6_lltable_rtcheck
_in6_lltable_rtcheck:                   ; @in6_lltable_rtcheck
	.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
	sub	sp, sp, #48
	mov	x19, x2
	mov	x20, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _INET6_ADDRSTRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INET6_ADDRSTRLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	bl	_NET_EPOCH_ASSERT
	ldr	x1, [x19]
Lloh8:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x1, x8
	cset	w0, eq
	bl	_KASSERT
	sub	x1, x29, #64
	sub	x2, x29, #68
	mov	x0, x19
	bl	_in6_splitscope
Lloh11:
	adrp	x8, _V_rt_add_addr_allfibs@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V_rt_add_addr_allfibs@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _RT_DEFAULT_FIB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RT_DEFAULT_FIB@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x20, x9, eq
	ldr	w0, [x8]
	ldur	w2, [x29, #-68]
	sub	x1, x29, #64
	sub	x5, x29, #56
	mov	w3, #0
	mov	w4, #0
	bl	_fib6_lookup_nh_basic
	cbnz	w0, LBB0_2
; %bb.1:
Lloh16:
	adrp	x8, _NHF_GATEWAY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NHF_GATEWAY@GOTPAGEOFF]
	ldur	w9, [x29, #-56]
Lloh18:
	ldr	w8, [x8]
	and	w8, w8, w9
	ldur	x9, [x29, #-48]
	cmp	w8, #0
	ccmp	x9, x20, #0, eq
	b.eq	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_ifaof_ifpforaddr
	cbz	x0, LBB0_4
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh19:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_ip6_sprintf
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_log
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
LBB0_5:
	mov	sp, x22
	ldur	x8, [x29, #-40]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #32
	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
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_V_rt_add_addr_allfibs,8,3      ; @V_rt_add_addr_allfibs
	.comm	_RT_DEFAULT_FIB,4,2             ; @RT_DEFAULT_FIB
	.comm	_NHF_GATEWAY,4,2                ; @NHF_GATEWAY
	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"IPv6 address: \"%s\" is not on the network\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_in6_lltable_rtcheck
.subsections_via_symbols
