	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pneigh_lookup                  ## -- Begin function pneigh_lookup
	.p2align	4, 0x90
_pneigh_lookup:                         ## @pneigh_lookup
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	movq	%rdx, %rdi
	movl	%r14d, %esi
	callq	_pneigh_hash
	movq	%rax, %rbx
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_read_lock_bh
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movq	%r14, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rbx,8), %rdi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movl	%r15d, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	___pneigh_lookup_1
	movq	%rax, %r14
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_read_unlock_bh
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.1:
	testq	%r14, %r14
	jne	LBB0_12
## %bb.2:
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	leal	24(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rbx
	addq	$20, %rbx
	movq	%rdi, %r12
	callq	_hold_net
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_write_pnet
	movl	16(%r14), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 8(%r14)
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_dev_hold
LBB0_5:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%r14, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_dev_put
LBB0_9:
	movq	%r12, %rdi
	callq	_release_net
	movq	%r14, %rdi
	callq	_kfree
LBB0_10:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_11:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_write_lock_bh
	movq	8(%r15), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rax,%rdx,8), %rcx
	movq	%rcx, (%r14)
	movq	%r14, (%rax,%rdx,8)
	movq	%rbx, %rdi
	callq	_write_unlock_bh
LBB0_12:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pneigh_lookup                  ; -- Begin function pneigh_lookup
	.p2align	2
_pneigh_lookup:                         ; @pneigh_lookup
	.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
	mov	x27, x4
	mov	x20, x3
	mov	x25, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w26, [x0]
	mov	x0, x2
	mov	x1, x26
	bl	_pneigh_hash
	mov	x24, x0
	add	x22, x21, #4
	mov	x0, x22
	bl	_read_lock_bh
	ldr	x8, [x21, #8]
	ldr	x0, [x8, x24, lsl #3]
	mov	x1, x19
	mov	x2, x25
	mov	x3, x26
	mov	x4, x20
	bl	___pneigh_lookup_1
	mov	x23, x0
	mov	x0, x22
	bl	_read_unlock_bh
	cbz	w27, LBB0_11
; %bb.1:
	cbnz	x23, LBB0_11
; %bb.2:
	bl	_ASSERT_RTNL
	add	w0, w26, #24
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x23, x0
	cbz	x0, LBB0_11
; %bb.3:
	add	x27, x23, #20
	mov	x0, x19
	bl	_hold_net
	mov	x1, x0
	mov	x0, x27
	bl	_write_pnet
	ldr	w0, [x23, #16]
	mov	x1, x25
	mov	x2, x26
	bl	_memcpy
	str	x20, [x23, #8]
	cbz	x20, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_dev_hold
LBB0_5:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_10
; %bb.6:
	mov	x0, x23
	blr	x8
	cbz	x0, LBB0_10
; %bb.7:
	cbz	x20, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_dev_put
LBB0_9:
	mov	x0, x19
	bl	_release_net
	mov	x0, x23
	bl	_kfree
	mov	x23, #0
	b	LBB0_11
LBB0_10:
	mov	x0, x22
	bl	_write_lock_bh
	ldr	x8, [x21, #8]
	lsl	x9, x24, #3
	ldr	x10, [x8, x9]
	str	x10, [x23]
	str	x23, [x8, x9]
	mov	x0, x22
	bl	_write_unlock_bh
LBB0_11:
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
