	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nd6_rtmsg
_nd6_rtmsg:                             ## @nd6_rtmsg
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	leaq	-40(%rbp), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$8, %esi
	callq	_bzero
	movq	%r12, %rdi
	callq	_rt_key
	movq	-40(%rbp), %rcx
	movq	_RTAX_DST@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	24(%r12), %eax
	movq	_RTAX_GATEWAY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%r12, %rdi
	callq	_rt_mask
	movq	-40(%rbp), %rcx
	movq	_RTAX_NETMASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	16(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	callq	_NET_EPOCH_ENTER
	movq	%rbx, %rdi
	callq	_CK_STAILQ_FIRST
	movq	%rax, %r15
	movl	(%rax), %eax
	movq	-40(%rbp), %rcx
	movq	_RTAX_IFP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%r15, %rdi
	callq	_ifa_ref
	callq	_NET_EPOCH_EXIT
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movq	-40(%rbp), %rcx
	movq	_RTAX_IFA@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movl	(%r12), %r8d
	movl	4(%r12), %edx
	leaq	-40(%rbp), %rsi
	movl	%r14d, %edi
	xorl	%ecx, %ecx
	callq	_rt_missmsg_fib
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_ifa_free
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTAX_DST,8,3                   ## @RTAX_DST
	.comm	_RTAX_GATEWAY,8,3               ## @RTAX_GATEWAY
	.comm	_RTAX_NETMASK,8,3               ## @RTAX_NETMASK
	.comm	_RTAX_IFP,8,3                   ## @RTAX_IFP
	.comm	_RTAX_IFA,8,3                   ## @RTAX_IFA
	.no_dead_strip	_nd6_rtmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nd6_rtmsg
_nd6_rtmsg:                             ; @nd6_rtmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
	mov	x0, x20
	bl	_rt_key
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _RTAX_DST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTAX_DST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	w0, [x8, x9, lsl #2]
	ldr	w9, [x20, #24]
Lloh3:
	adrp	x10, _RTAX_GATEWAY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RTAX_GATEWAY@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
	mov	x0, x20
	bl	_rt_mask
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, _RTAX_NETMASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTAX_NETMASK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	str	w0, [x8, x9, lsl #2]
	ldr	x21, [x20, #16]
	cbz	x21, LBB0_2
; %bb.1:
	mov	x0, #0
	bl	_NET_EPOCH_ENTER
	mov	x0, x21
	bl	_CK_STAILQ_FIRST
	mov	x21, x0
	ldr	w8, [x0]
	ldr	x9, [sp, #8]
Lloh9:
	adrp	x10, _RTAX_IFP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RTAX_IFP@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	bl	_ifa_ref
	mov	x0, #0
	bl	_NET_EPOCH_EXIT
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
Lloh12:
	adrp	x10, _RTAX_IFA@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RTAX_IFA@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
LBB0_2:
	ldp	w4, w2, [x20]
	add	x1, sp, #8
	mov	x0, x19
	mov	w3, #0
	bl	_rt_missmsg_fib
	cbz	x21, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_ifa_free
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RTAX_DST,8,3                   ; @RTAX_DST
	.comm	_RTAX_GATEWAY,8,3               ; @RTAX_GATEWAY
	.comm	_RTAX_NETMASK,8,3               ; @RTAX_NETMASK
	.comm	_RTAX_IFP,8,3                   ; @RTAX_IFP
	.comm	_RTAX_IFA,8,3                   ; @RTAX_IFA
	.no_dead_strip	_nd6_rtmsg
.subsections_via_symbols
