	.file	"extr_route.c_ip6_route_check_nh_onlink.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Nexthop has invalid gateway or device mismatch"
	.text
	.p2align 4
	.type	ip6_route_check_nh_onlink, @function
ip6_route_check_nh_onlink:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	l3mdev_fib_table_rcu@PLT
	pxor	xmm0, xmm0
	mov	rdx, r12
	mov	rsi, r12
	test	rax, rax
	mov	ecx, eax
	cmove	ecx, DWORD PTR RT_TABLE_MAIN[rip]
	mov	r9, rsp
	xor	r8d, r8d
	mov	rdi, r13
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	call	ip6_nh_lookup_table@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR [rsp]
	test	DWORD PTR RTF_REJECT[rip], eax
	je	.L11
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rsp]
	call	ipv6_addr_any@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR RTN_UNICAST[rip]
	cmp	QWORD PTR 8[rsp], rax
	jne	.L7
	mov	rax, QWORD PTR 16[rsp]
	cmp	QWORD PTR [rax], rbx
	je	.L1
.L7:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	NL_SET_ERR_MSG@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ip6_route_check_nh_onlink, .-ip6_route_check_nh_onlink
	.comm	RT_TABLE_MAIN,4,4
	.comm	RTN_UNICAST,8,8
	.comm	RTF_REJECT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_route.c_ip6_route_check_nh_onlink.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Nexthop has invalid gateway or device mismatch\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip6_route_check_nh_onlink, %function
ip6_route_check_nh_onlink:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r3
	ldr	r3, .L12
	sub	sp, sp, #36
	mov	r7, r0
	mov	r0, r2
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	l3mdev_fib_table_rcu
	mov	ip, #0
	subs	r3, r0, #0
	ldreq	r3, .L12+4
	add	lr, sp, #12
	ldreq	r3, [r3]
	mov	r2, r4
	mov	r1, r4
	mov	r0, r7
	stm	sp, {ip, lr}
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	str	ip, [sp, #24]
	bl	ip6_nh_lookup_table
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, .L12+8
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L10
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r0, [sp, #24]
	bl	ipv6_addr_any
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L12+12
	ldr	r2, [sp, #16]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L6
	ldr	r3, [sp, #20]
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L1
.L6:
	mov	r0, r6
	ldr	r1, .L12+16
	bl	NL_SET_ERR_MSG
	ldr	r3, .L12+20
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	RT_TABLE_MAIN
	.word	RTF_REJECT
	.word	RTN_UNICAST
	.word	.LC0
	.word	EINVAL
	.size	ip6_route_check_nh_onlink, .-ip6_route_check_nh_onlink
	.comm	RT_TABLE_MAIN,4,4
	.comm	RTN_UNICAST,4,4
	.comm	RTF_REJECT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
