	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pndisc_is_router
_pndisc_is_router:                      ## @pndisc_is_router
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_nd_tbl@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_read_lock_bh
	movq	%rbx, %rdi
	callq	_dev_net
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	___pneigh_lookup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_NTF_ROUTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, (%rax)
	setne	%bl
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %ebx
LBB0_3:
	movq	_nd_tbl@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nd_tbl,4,2                     ## @nd_tbl
	.comm	_NTF_ROUTER,4,2                 ## @NTF_ROUTER
	.no_dead_strip	_pndisc_is_router
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pndisc_is_router
_pndisc_is_router:                      ; @pndisc_is_router
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _nd_tbl@GOTPAGE
Lloh1:
	ldr	x21, [x21, _nd_tbl@GOTPAGEOFF]
	mov	x0, x21
	bl	_read_lock_bh
	mov	x0, x19
	bl	_dev_net
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	___pneigh_lookup
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _NTF_ROUTER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NTF_ROUTER@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w19, ne
	b	LBB0_3
LBB0_2:
	mov	w19, #-1
LBB0_3:
Lloh5:
	adrp	x0, _nd_tbl@GOTPAGE
Lloh6:
	ldr	x0, [x0, _nd_tbl@GOTPAGEOFF]
	bl	_read_unlock_bh
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_nd_tbl,4,2                     ; @nd_tbl
	.comm	_NTF_ROUTER,4,2                 ; @NTF_ROUTER
	.no_dead_strip	_pndisc_is_router
.subsections_via_symbols
