	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_resolve                    ## -- Begin function nd6_resolve
	.p2align	4, 0x90
_nd6_resolve:                           ## @nd6_resolve
	.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
	movq	%r9, %r13
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	16(%rbp), %r14
	xorl	%eax, %eax
	callq	_NET_EPOCH_ASSERT
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movl	$0, (%r13)
LBB0_2:
	movq	%rbx, %rdi
	callq	_ND_IFINFO
	movq	_ND6_IFF_IFDISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_m_freem
	movq	_ENETDOWN@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:
	movq	_M_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_8
## %bb.6:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_22
## %bb.7:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ETHER_MAP_IPV6_MULTICAST
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_8:
	testq	%r14, %r14
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.10:
	movq	_LLE_UNLOCKED@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_LLE_EXCLUSIVE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_nd6_lookup
	testq	%rax, %rax
	je	LBB0_21
## %bb.12:
	movq	%rax, %r14
	movq	_RLLE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_19
## %bb.13:
	movl	20(%r14), %edx
	movl	24(%r14), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_bcopy
	testq	%r13, %r13
	je	LBB0_15
## %bb.14:
	movq	_RLLE_IFADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	movq	_LLE_VALID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r13)
LBB0_15:
	cmpq	$0, 8(%r14)
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_LLE_REQ_LOCK
	movq	$0, 8(%r14)
	movq	_time_uptime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	_LLE_REQ_UNLOCK
LBB0_17:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_24
## %bb.18:
	movq	%r14, %rdi
	callq	_LLE_ADDREF
	movq	%r14, (%r15)
	movq	%r14, %rdi
	callq	_LLE_WUNLOCK
	jmp	LBB0_24
LBB0_22:
	movq	%r15, %rdi
	callq	_m_freem
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_19:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_21
## %bb.20:
	movq	%r14, %rdi
	callq	_LLE_WUNLOCK
LBB0_21:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nd6_resolve_slow               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ND6_IFF_IFDISABLED,4,2         ## @ND6_IFF_IFDISABLED
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
	.comm	_M_MCAST,4,2                    ## @M_MCAST
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_LLE_EXCLUSIVE,4,2              ## @LLE_EXCLUSIVE
	.comm	_LLE_UNLOCKED,4,2               ## @LLE_UNLOCKED
	.comm	_RLLE_VALID,4,2                 ## @RLLE_VALID
	.comm	_LLE_VALID,4,2                  ## @LLE_VALID
	.comm	_RLLE_IFADDR,4,2                ## @RLLE_IFADDR
	.comm	_time_uptime,4,2                ## @time_uptime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_resolve                    ; -- Begin function nd6_resolve
	.p2align	2
_nd6_resolve:                           ; @nd6_resolve
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x22, x2
	mov	x24, x0
	bl	_NET_EPOCH_ASSERT
	cbz	x20, LBB0_2
; %bb.1:
	str	wzr, [x20]
LBB0_2:
	mov	x0, x24
	bl	_ND_IFINFO
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ND6_IFF_IFDISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ND6_IFF_IFDISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_m_freem
Lloh3:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	cbz	x22, LBB0_10
; %bb.7:
	ldr	w8, [x22]
Lloh5:
	adrp	x9, _M_MCAST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _M_MCAST@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
	ldr	w8, [x24]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_18
; %bb.9:
	mov	x0, x23
	mov	x1, x21
	bl	_ETHER_MAP_IPV6_MULTICAST
	mov	w0, #0
	b	LBB0_5
LBB0_10:
Lloh8:
	adrp	x8, _LLE_EXCLUSIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LLE_EXCLUSIVE@GOTPAGEOFF]
Lloh10:
	adrp	x9, _LLE_UNLOCKED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _LLE_UNLOCKED@GOTPAGEOFF]
	cmp	x19, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x24
	bl	_nd6_lookup
	cbz	x0, LBB0_21
; %bb.11:
	mov	x25, x0
	ldr	w8, [x0]
Lloh12:
	adrp	x9, _RLLE_VALID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RLLE_VALID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.12:
	ldp	w2, w0, [x25, #20]
	mov	x1, x21
	bl	_bcopy
	cbz	x20, LBB0_14
; %bb.13:
Lloh15:
	adrp	x8, _LLE_VALID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LLE_VALID@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x25]
Lloh18:
	adrp	x10, _RLLE_IFADDR@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RLLE_IFADDR@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	and	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_14:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x25
	bl	_LLE_REQ_LOCK
	str	xzr, [x25, #8]
Lloh21:
	adrp	x8, _time_uptime@GOTPAGE
Lloh22:
	ldr	x8, [x8, _time_uptime@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x25, #16]
	mov	x0, x25
	bl	_LLE_REQ_UNLOCK
LBB0_16:
	cbz	x19, LBB0_22
; %bb.17:
	mov	x0, x25
	bl	_LLE_ADDREF
	str	x25, [x19]
	mov	x0, x25
	bl	_LLE_WUNLOCK
	mov	w0, #0
	b	LBB0_5
LBB0_18:
	mov	x0, x22
	bl	_m_freem
Lloh24:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
	b	LBB0_4
LBB0_19:
	cbz	x19, LBB0_21
; %bb.20:
	mov	x0, x25
	bl	_LLE_WUNLOCK
LBB0_21:
	mov	x0, x24
	mov	w1, #0
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nd6_resolve_slow
LBB0_22:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ND6_IFF_IFDISABLED,4,2         ; @ND6_IFF_IFDISABLED
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
	.comm	_M_MCAST,4,2                    ; @M_MCAST
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_LLE_EXCLUSIVE,4,2              ; @LLE_EXCLUSIVE
	.comm	_LLE_UNLOCKED,4,2               ; @LLE_UNLOCKED
	.comm	_RLLE_VALID,4,2                 ; @RLLE_VALID
	.comm	_LLE_VALID,4,2                  ; @LLE_VALID
	.comm	_RLLE_IFADDR,4,2                ; @RLLE_IFADDR
	.comm	_time_uptime,4,2                ; @time_uptime
.subsections_via_symbols
