	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt6_check_neigh
_rt6_check_neigh:                       ## @rt6_check_neigh
	.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
	movl	(%rdi), %eax
	movq	_RTF_NONEXTHOP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
LBB0_2:
	movq	_RT6_NUD_SUCCEED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.3:
	movq	8(%rdi), %r15
	movq	_RT6_NUD_FAIL_HARD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testq	%r15, %r15
	je	LBB0_7
## %bb.4:
	leaq	4(%r15), %r14
	movq	%r14, %rdi
	callq	_read_lock_bh
	movq	_NUD_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15), %eax
	je	LBB0_6
## %bb.5:
	movq	_RT6_NUD_SUCCEED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movq	%r14, %rdi
	callq	_read_unlock_bh
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_RT6_NUD_FAIL_HARD,4,2          ## @RT6_NUD_FAIL_HARD
	.comm	_RTF_NONEXTHOP,4,2              ## @RTF_NONEXTHOP
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_RT6_NUD_SUCCEED,4,2            ## @RT6_NUD_SUCCEED
	.comm	_NUD_VALID,4,2                  ## @NUD_VALID
	.comm	_NUD_FAILED,4,2                 ## @NUD_FAILED
	.comm	_RT6_NUD_FAIL_PROBE,4,2         ## @RT6_NUD_FAIL_PROBE
	.no_dead_strip	_rt6_check_neigh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt6_check_neigh
_rt6_check_neigh:                       ; @rt6_check_neigh
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RTF_NONEXTHOP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTF_NONEXTHOP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _RT6_NUD_SUCCEED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RT6_NUD_SUCCEED@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
LBB0_2:
	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
LBB0_3:
Lloh6:
	adrp	x9, _RTF_GATEWAY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTF_GATEWAY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.4:
	ldr	x21, [x0, #8]
Lloh9:
	adrp	x8, _RT6_NUD_FAIL_HARD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RT6_NUD_FAIL_HARD@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	cbz	x21, LBB0_2
; %bb.5:
	add	x20, x21, #4
	mov	x0, x20
	bl	_read_lock_bh
	ldr	w8, [x21]
Lloh12:
	adrp	x9, _NUD_VALID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NUD_VALID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _RT6_NUD_SUCCEED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _RT6_NUD_SUCCEED@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w19, w19, w10, eq
	mov	x0, x20
	bl	_read_unlock_bh
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RT6_NUD_FAIL_HARD,4,2          ; @RT6_NUD_FAIL_HARD
	.comm	_RTF_NONEXTHOP,4,2              ; @RTF_NONEXTHOP
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_RT6_NUD_SUCCEED,4,2            ; @RT6_NUD_SUCCEED
	.comm	_NUD_VALID,4,2                  ; @NUD_VALID
	.comm	_NUD_FAILED,4,2                 ; @NUD_FAILED
	.comm	_RT6_NUD_FAIL_PROBE,4,2         ; @RT6_NUD_FAIL_PROBE
	.no_dead_strip	_rt6_check_neigh
.subsections_via_symbols
