	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_prelist_add                ## -- Begin function nd6_prelist_add
	.p2align	4, 0x90
_nd6_prelist_add:                       ## @nd6_prelist_add
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	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, -64(%rbp)                 ## 8-byte Spill
	movq	_M_IP6NDP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	44(%rax), %rdi
	cmpq	$1, %r15
	movl	$2, %esi
	sbbl	$0, %esi
	callq	_refcount_init
	movl	(%r12), %eax
	movl	%eax, 40(%rbx)
	movl	8(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	4(%r12), %eax
	movl	%eax, 16(%rbx)
	movl	20(%r12), %eax
	movl	%eax, 36(%rbx)
	movl	16(%r12), %eax
	movl	%eax, 32(%rbx)
	movl	12(%r12), %eax
	movl	%eax, 28(%rbx)
	movq	%rbx, %rdi
	callq	_in6_init_prefix_ltimes
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_12
LBB0_4:
	leaq	12(%rbx), %r14
	movq	_time_uptime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	leaq	20(%rbx), %rdi
	callq	_LIST_INIT
	movq	%rbx, %r13
	addq	$8, %r13
	movl	16(%rbx), %esi
	movq	%r13, %rdi
	callq	_in6_prefixlen2mask
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_IN6_MASK_ADDR
	xorl	%eax, %eax
	callq	_ND6_WLOCK
	movq	_ndpr_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V_nd_prefix@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
	movq	_V_nd6_list_genid@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
	callq	_ND6_WUNLOCK
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	callq	_ND6_ONLINK_LOCK
	callq	_NET_EPOCH_ENTER
	movq	%rbx, %rdi
	callq	_nd6_prefix_onlink
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	leaq	8(%r12), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ip6_sprintf
	movl	(%r12), %edi
	callq	_if_name
	movl	%r14d, %edi
	callq	_nd6log
LBB0_7:
	callq	_NET_EPOCH_EXIT
	xorl	%eax, %eax
	callq	_ND6_ONLINK_UNLOCK
LBB0_8:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_pfxrtr_add
LBB0_10:
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movq	%rbx, (%r15)
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_M_IP6NDP,4,2                   ## @M_IP6NDP
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_time_uptime,4,2                ## @time_uptime
	.comm	_V_nd_prefix,4,2                ## @V_nd_prefix
	.comm	_ndpr_entry,4,2                 ## @ndpr_entry
	.comm	_V_nd6_list_genid,4,2           ## @V_nd6_list_genid
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nd6_prelist_add                ; -- Begin function nd6_prelist_add
	.p2align	2
_nd6_prelist_add:                       ; @nd6_prelist_add
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
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	x23, x9, x8
	mov	sp, x23
Lloh8:
	adrp	x27, _M_IP6NDP@GOTPAGE
Lloh9:
	ldr	x27, [x27, _M_IP6NDP@GOTPAGEOFF]
Lloh10:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #48
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	add	x0, x0, #44
	cmp	x19, #0
	mov	w8, #1
	cinc	w1, w8, ne
	bl	_refcount_init
	ldr	w8, [x22]
	str	w8, [x21, #40]
	mov	x24, x22
	ldr	w8, [x24, #8]!
	mov	x25, x21
	str	w8, [x25, #12]!
	ldur	w8, [x24, #-4]
	str	w8, [x21, #16]
	ldr	w8, [x24, #12]
	str	w8, [x21, #36]
	ldur	d0, [x24, #4]
	stur	d0, [x21, #28]
	mov	x0, x21
	bl	_in6_init_prefix_ltimes
	cbz	w0, LBB0_4
; %bb.2:
	mov	x26, x0
	ldr	w1, [x27]
	mov	x0, x21
	bl	_free
	b	LBB0_12
LBB0_3:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w26, [x8]
	b	LBB0_12
LBB0_4:
Lloh19:
	adrp	x8, _time_uptime@GOTPAGE
Lloh20:
	ldr	x8, [x8, _time_uptime@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	add	x0, x21, #20
	bl	_LIST_INIT
	add	x26, x21, #8
	ldr	w1, [x21, #16]
	mov	x0, x26
	bl	_in6_prefixlen2mask
	mov	x0, x25
	mov	x1, x26
	bl	_IN6_MASK_ADDR
	bl	_ND6_WLOCK
Lloh22:
	adrp	x8, _ndpr_entry@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ndpr_entry@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x0, _V_nd_prefix@GOTPAGE
Lloh26:
	ldr	x0, [x0, _V_nd_prefix@GOTPAGEOFF]
	mov	x1, x21
	bl	_LIST_INSERT_HEAD
Lloh27:
	adrp	x8, _V_nd6_list_genid@GOTPAGE
Lloh28:
	ldr	x8, [x8, _V_nd6_list_genid@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_ND6_WUNLOCK
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.5:
	bl	_ND6_ONLINK_LOCK
	mov	x0, #0
	bl	_NET_EPOCH_ENTER
	mov	x0, x21
	bl	_nd6_prefix_onlink
	cbz	w0, LBB0_7
; %bb.6:
	mov	x25, x0
	mov	x0, x23
	mov	x1, x24
	bl	_ip6_sprintf
	ldr	w0, [x22]
	bl	_if_name
	mov	x0, x25
	bl	_nd6log
LBB0_7:
	mov	x0, #0
	bl	_NET_EPOCH_EXIT
	bl	_ND6_ONLINK_UNLOCK
LBB0_8:
	cbz	x20, LBB0_10
; %bb.9:
	mov	x0, x21
	mov	x1, x20
	bl	_pfxrtr_add
LBB0_10:
	mov	w26, #0
	cbz	x19, LBB0_12
; %bb.11:
	str	x21, [x19]
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x26
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_M_IP6NDP,4,2                   ; @M_IP6NDP
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_time_uptime,4,2                ; @time_uptime
	.comm	_V_nd_prefix,4,2                ; @V_nd_prefix
	.comm	_ndpr_entry,4,2                 ; @ndpr_entry
	.comm	_V_nd6_list_genid,4,2           ; @V_nd6_list_genid
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
.subsections_via_symbols
