	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ndisc_recv_rs
_ndisc_recv_rs:                         ## @ndisc_recv_rs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_skb_transport_header
	movq	%rax, %r13
	movslq	(%rbx), %r12
	movq	%rbx, %rdi
	callq	_ipv6_hdr
	cmpl	$4, (%rbx)
	jb	LBB0_15
## %bb.1:
	movq	%rax, %r15
	movl	4(%rbx), %edi
	callq	_in6_dev_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r14
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.5:
	movq	%r15, %rdi
	callq	_ipv6_addr_any
	testq	%rax, %rax
	je	LBB0_6
LBB0_14:
	movq	%r14, %rdi
	callq	_in6_dev_put
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINTK1                     ## TAILCALL
LBB0_6:
	addq	$-4, %r12
	movl	(%r13), %edi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rsi
	callq	_ndisc_parse_options
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.11:
	movl	4(%rbx), %esi
	callq	_ndisc_opt_addr_data
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_14
LBB0_7:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_ND_PRINTK2
	jmp	LBB0_14
LBB0_10:
	xorl	%r12d, %r12d
LBB0_12:
	movl	4(%rbx), %edx
	movq	_nd_tbl@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	___neigh_lookup
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%rax, %rbx
	movq	_NUD_STALE@GOTPCREL(%rip), %rax
	movq	_NEIGH_UPDATE_F_WEAK_OVERRIDE@GOTPCREL(%rip), %rdx
	movq	_NEIGH_UPDATE_F_OVERRIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	movq	_NEIGH_UPDATE_F_OVERRIDE_ISROUTER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_neigh_update
	movq	%rbx, %rdi
	callq	_neigh_release
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ICMP6 RS: can't find in6 device\n"

L_.str.1:                               ## @.str.1
	.asciz	"ICMP6 NS: invalid ND option, ignored\n"

	.comm	_nd_tbl,4,2                     ## @nd_tbl
	.comm	_NUD_STALE,4,2                  ## @NUD_STALE
	.comm	_NEIGH_UPDATE_F_WEAK_OVERRIDE,4,2 ## @NEIGH_UPDATE_F_WEAK_OVERRIDE
	.comm	_NEIGH_UPDATE_F_OVERRIDE,4,2    ## @NEIGH_UPDATE_F_OVERRIDE
	.comm	_NEIGH_UPDATE_F_OVERRIDE_ISROUTER,4,2 ## @NEIGH_UPDATE_F_OVERRIDE_ISROUTER
	.no_dead_strip	_ndisc_recv_rs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ndisc_recv_rs
_ndisc_recv_rs:                         ; @ndisc_recv_rs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x0
	bl	_skb_transport_header
	mov	x22, x0
	ldrsw	x23, [x20]
	mov	x0, x20
	bl	_ipv6_hdr
	ldr	w8, [x20]
	cmp	w8, #4
	b.lo	LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	w0, [x20, #4]
	bl	_in6_dev_get
	cbz	x0, LBB0_6
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_ipv6_addr_any
	cbz	x0, LBB0_8
LBB0_4:
	mov	x0, x19
	bl	_in6_dev_put
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
	add	sp, sp, #80
	ret
LBB0_6:
	bl	_net_ratelimit
	cbz	x0, LBB0_5
; %bb.7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	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
	add	sp, sp, #80
	b	_ND_PRINTK1
LBB0_8:
	sub	x1, x23, #4
	ldr	w0, [x22]
	add	x2, sp, #8
	bl	_ndisc_parse_options
	cbz	w0, LBB0_11
; %bb.9:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_13
; %bb.10:
	ldr	w1, [x20, #4]
	bl	_ndisc_opt_addr_data
	mov	x22, x0
	cbnz	x0, LBB0_14
	b	LBB0_4
LBB0_11:
	bl	_net_ratelimit
	cbz	x0, LBB0_4
; %bb.12:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ND_PRINTK2
	b	LBB0_4
LBB0_13:
	mov	x22, #0
LBB0_14:
	ldr	w2, [x20, #4]
Lloh4:
	adrp	x0, _nd_tbl@GOTPAGE
Lloh5:
	ldr	x0, [x0, _nd_tbl@GOTPAGEOFF]
	mov	x1, x21
	mov	w3, #1
	bl	___neigh_lookup
	cbz	x0, LBB0_4
; %bb.15:
	mov	x20, x0
Lloh6:
	adrp	x8, _NUD_STALE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NUD_STALE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _NEIGH_UPDATE_F_WEAK_OVERRIDE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NEIGH_UPDATE_F_WEAK_OVERRIDE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _NEIGH_UPDATE_F_OVERRIDE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NEIGH_UPDATE_F_OVERRIDE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _NEIGH_UPDATE_F_OVERRIDE_ISROUTER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NEIGH_UPDATE_F_OVERRIDE_ISROUTER@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x1, x22
	bl	_neigh_update
	mov	x0, x20
	bl	_neigh_release
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ICMP6 RS: can't find in6 device\n"

l_.str.1:                               ; @.str.1
	.asciz	"ICMP6 NS: invalid ND option, ignored\n"

	.comm	_nd_tbl,4,2                     ; @nd_tbl
	.comm	_NUD_STALE,4,2                  ; @NUD_STALE
	.comm	_NEIGH_UPDATE_F_WEAK_OVERRIDE,4,2 ; @NEIGH_UPDATE_F_WEAK_OVERRIDE
	.comm	_NEIGH_UPDATE_F_OVERRIDE,4,2    ; @NEIGH_UPDATE_F_OVERRIDE
	.comm	_NEIGH_UPDATE_F_OVERRIDE_ISROUTER,4,2 ; @NEIGH_UPDATE_F_OVERRIDE_ISROUTER
	.no_dead_strip	_ndisc_recv_rs
.subsections_via_symbols
