	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_ifattach                   ## -- Begin function nd6_ifattach
	.p2align	4, 0x90
_nd6_ifattach:                          ## @nd6_ifattach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_M_IP6NDP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %rbx
	movl	$1, (%rax)
	movq	_IPV6_DEFHLIM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_REACHABLE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 12(%rbx)
	callq	_ND_COMPUTE_RTIME
	movl	%eax, 16(%rbx)
	movq	_RETRANS_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ND6_IFF_PERFORMNUD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_V_ip6_auto_linklocal@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rcx
	movq	_IFT_BRIDGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
LBB0_2:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r14)
	je	LBB0_4
LBB0_3:
	movq	_ND6_IFF_AUTO_LINKLOCAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
LBB0_4:
	movq	_V_ip6_accept_rtadv@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_8
## %bb.5:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r14)
	jne	LBB0_8
## %bb.6:
	movq	(%r14), %rcx
	movq	_IFT_BRIDGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.7:
	movq	_ND6_IFF_ACCEPT_RTADV@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
LBB0_8:
	movq	_V_ip6_no_radr@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_11
## %bb.9:
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r14)
	jne	LBB0_11
## %bb.10:
	movq	_ND6_IFF_NO_RADR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
LBB0_11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nd6_setmtu0
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IP6NDP,4,2                   ## @M_IP6NDP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_IPV6_DEFHLIM,4,2               ## @IPV6_DEFHLIM
	.comm	_REACHABLE_TIME,4,2             ## @REACHABLE_TIME
	.comm	_RETRANS_TIMER,4,2              ## @RETRANS_TIMER
	.comm	_ND6_IFF_PERFORMNUD,4,2         ## @ND6_IFF_PERFORMNUD
	.comm	_V_ip6_auto_linklocal,8,3       ## @V_ip6_auto_linklocal
	.comm	_IFT_BRIDGE,8,3                 ## @IFT_BRIDGE
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.comm	_ND6_IFF_AUTO_LINKLOCAL,4,2     ## @ND6_IFF_AUTO_LINKLOCAL
	.comm	_V_ip6_accept_rtadv,8,3         ## @V_ip6_accept_rtadv
	.comm	_ND6_IFF_ACCEPT_RTADV,4,2       ## @ND6_IFF_ACCEPT_RTADV
	.comm	_V_ip6_no_radr,8,3              ## @V_ip6_no_radr
	.comm	_ND6_IFF_NO_RADR,4,2            ## @ND6_IFF_NO_RADR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_ifattach                   ; -- Begin function nd6_ifattach
	.p2align	2
_nd6_ifattach:                          ; @nd6_ifattach
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _M_IP6NDP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_IP6NDP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #24
	bl	_malloc
	mov	x20, x0
	mov	w8, #1
	str	w8, [x0]
Lloh9:
	adrp	x8, _IPV6_DEFHLIM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPV6_DEFHLIM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #20]
Lloh12:
	adrp	x8, _REACHABLE_TIME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REACHABLE_TIME@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	str	w0, [x20, #12]
	bl	_ND_COMPUTE_RTIME
Lloh15:
	adrp	x8, _RETRANS_TIMER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RETRANS_TIMER@GOTPAGEOFF]
	str	w0, [x20, #16]
Lloh17:
	ldr	w9, [x8]
Lloh18:
	adrp	x8, _ND6_IFF_PERFORMNUD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ND6_IFF_PERFORMNUD@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	stp	w8, w9, [x20, #4]
Lloh21:
	adrp	x9, _V_ip6_auto_linklocal@GOTPAGE
Lloh22:
	ldr	x9, [x9, _V_ip6_auto_linklocal@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x9]
Lloh24:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
	cbz	x10, LBB0_2
; %bb.1:
	ldr	x10, [x19]
Lloh26:
	adrp	x11, _IFT_BRIDGE@GOTPAGE
Lloh27:
	ldr	x11, [x11, _IFT_BRIDGE@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_3
LBB0_2:
	ldr	w10, [x19, #8]
	ldr	w11, [x9]
	tst	w11, w10
	b.eq	LBB0_4
LBB0_3:
Lloh29:
	adrp	x10, _ND6_IFF_AUTO_LINKLOCAL@GOTPAGE
Lloh30:
	ldr	x10, [x10, _ND6_IFF_AUTO_LINKLOCAL@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x20, #4]
LBB0_4:
Lloh32:
	adrp	x10, _V_ip6_accept_rtadv@GOTPAGE
Lloh33:
	ldr	x10, [x10, _V_ip6_accept_rtadv@GOTPAGEOFF]
Lloh34:
	ldr	x10, [x10]
	cbz	x10, LBB0_8
; %bb.5:
	ldr	w10, [x19, #8]
	ldr	w11, [x9]
	tst	w11, w10
	b.ne	LBB0_8
; %bb.6:
	ldr	x10, [x19]
Lloh35:
	adrp	x11, _IFT_BRIDGE@GOTPAGE
Lloh36:
	ldr	x11, [x11, _IFT_BRIDGE@GOTPAGEOFF]
Lloh37:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_8
; %bb.7:
Lloh38:
	adrp	x10, _ND6_IFF_ACCEPT_RTADV@GOTPAGE
Lloh39:
	ldr	x10, [x10, _ND6_IFF_ACCEPT_RTADV@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	orr	w8, w8, w10
	str	w8, [x20, #4]
LBB0_8:
Lloh41:
	adrp	x10, _V_ip6_no_radr@GOTPAGE
Lloh42:
	ldr	x10, [x10, _V_ip6_no_radr@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	cbz	x10, LBB0_11
; %bb.9:
	ldr	w10, [x19, #8]
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_11
; %bb.10:
Lloh44:
	adrp	x9, _ND6_IFF_NO_RADR@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ND6_IFF_NO_RADR@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #4]
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_nd6_setmtu0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IP6NDP,4,2                   ; @M_IP6NDP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_IPV6_DEFHLIM,4,2               ; @IPV6_DEFHLIM
	.comm	_REACHABLE_TIME,4,2             ; @REACHABLE_TIME
	.comm	_RETRANS_TIMER,4,2              ; @RETRANS_TIMER
	.comm	_ND6_IFF_PERFORMNUD,4,2         ; @ND6_IFF_PERFORMNUD
	.comm	_V_ip6_auto_linklocal,8,3       ; @V_ip6_auto_linklocal
	.comm	_IFT_BRIDGE,8,3                 ; @IFT_BRIDGE
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.comm	_ND6_IFF_AUTO_LINKLOCAL,4,2     ; @ND6_IFF_AUTO_LINKLOCAL
	.comm	_V_ip6_accept_rtadv,8,3         ; @V_ip6_accept_rtadv
	.comm	_ND6_IFF_ACCEPT_RTADV,4,2       ; @ND6_IFF_ACCEPT_RTADV
	.comm	_V_ip6_no_radr,8,3              ; @V_ip6_no_radr
	.comm	_ND6_IFF_NO_RADR,4,2            ; @ND6_IFF_NO_RADR
.subsections_via_symbols
