	.file	"extr_mesh_hwmp.c_hwmp_rann_frame_process.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"received RANN from %pM via neighbour %pM (is_gate=%d)\n"
	.align 8
.LC1:
	.string	"time to refresh root mpath %pM\n"
	.text
	.p2align 4
	.type	hwmp_rann_frame_process, @function
hwmp_rann_frame_process:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	eax, DWORD PTR [rdx]
	mov	ecx, DWORD PTR RANN_FLAG_IS_GATE[rip]
	mov	r15, QWORD PTR 24[rdi]
	mov	edi, DWORD PTR 28[rdx]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR 4[rdx]
	mov	r13, QWORD PTR 8[rdx]
	mov	DWORD PTR 32[rsp], ecx
	mov	DWORD PTR 8[rsp], eax
	call	le32_to_cpu@PLT
	mov	edi, DWORD PTR 24[r14]
	mov	r12, rax
	call	le32_to_cpu@PLT
	mov	ecx, DWORD PTR 16[r14]
	mov	edi, DWORD PTR 20[r14]
	mov	QWORD PTR 24[rsp], rax
	mov	DWORD PTR 36[rsp], ecx
	call	le32_to_cpu@PLT
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, r13
	mov	QWORD PTR 16[rsp], rax
	call	ether_addr_equal@PLT
	test	rax, rax
	je	.L35
.L1:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	mov	ecx, DWORD PTR 32[rsp]
	and	ecx, DWORD PTR 8[rsp]
	mov	rdx, r13
	mov	rdi, rbx
	setne	r8b
	mov	DWORD PTR 32[rsp], ecx
	mov	ecx, DWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	movzx	r8d, r8b
	call	mhwmp_dbg@PLT
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbx
	call	sta_info_get@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L33
	mov	rdi, r15
	call	airtime_link_metric_get@PLT
	mov	rsi, r13
	mov	rdi, rbx
	mov	r14, rax
	call	mesh_path_lookup@PLT
	mov	r15, rax
	test	rax, rax
	je	.L36
.L4:
	mov	rdi, QWORD PTR [r15]
	mov	rsi, r12
	call	SN_LT@PLT
	test	eax, eax
	jne	.L5
	cmp	QWORD PTR [r15], r12
	jne	.L33
	mov	rax, QWORD PTR 16[rsp]
	cmp	QWORD PTR 8[r15], rax
	jle	.L33
.L5:
	mov	edx, DWORD PTR 16[r15]
	mov	eax, DWORD PTR MESH_PATH_ACTIVE[rip]
	or	eax, DWORD PTR MESH_PATH_RESOLVING[rip]
	test	eax, edx
	jne	.L37
.L9:
	test	DWORD PTR MESH_PATH_FIXED[rip], edx
	jne	.L12
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	jne	.L38
.L12:
	add	r14, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR 24[r15]
	mov	QWORD PTR [r15], r12
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	esi, DWORD PTR 0[rbp]
	mov	QWORD PTR 8[r15], r14
	mov	DWORD PTR 20[r15], 1
	call	memcpy@PLT
	mov	eax, DWORD PTR 32[rsp]
	test	eax, eax
	jne	.L39
.L14:
	cmp	DWORD PTR 12[rsp], 1
	jle	.L40
	cmp	QWORD PTR [rbx], 0
	jne	.L41
.L33:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	rcu_read_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	rax, QWORD PTR 32[r15]
	mov	rdi, rbx
	mov	QWORD PTR 40[rsp], rax
	call	root_path_confirmation_jiffies@PLT
	mov	rdx, QWORD PTR 40[rsp]
	mov	rdi, QWORD PTR jiffies[rip]
	lea	rsi, [rdx+rax]
	call	time_after@PLT
	test	rax, rax
	je	.L10
.L32:
	mov	edx, DWORD PTR 16[r15]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L39:
	mov	rdi, r15
	call	mesh_path_add_gate@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, r14
	call	cpu_to_le32@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	r14d, eax
	call	cpu_to_le32@PLT
	mov	rdi, r12
	mov	r15d, DWORD PTR broadcast_addr[rip]
	mov	ebp, eax
	call	cpu_to_le32@PLT
	push	rbx
	.cfi_def_cfa_offset 120
	mov	edi, DWORD PTR MPATH_RANN[rip]
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 128
	mov	ecx, eax
	xor	r8d, r8d
	push	r14
	.cfi_def_cfa_offset 136
	push	rbp
	.cfi_def_cfa_offset 144
	mov	edx, DWORD PTR 44[rsp]
	sub	edx, 1
	push	rdx
	.cfi_def_cfa_offset 152
	mov	edx, DWORD PTR 76[rsp]
	add	edx, 1
	push	rdx
	.cfi_def_cfa_offset 160
	mov	rdx, r13
	push	r15
	.cfi_def_cfa_offset 168
	push	0
	.cfi_def_cfa_offset 176
	mov	esi, DWORD PTR 72[rsp]
	call	mesh_path_sel_frame_tx@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 112
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdi, rbx
	mov	rsi, r13
	call	mesh_path_add@PLT
	mov	rdi, rax
	mov	r15, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L4
	xor	eax, eax
	call	rcu_read_unlock@PLT
	add	DWORD PTR 12[rbx], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rdx, r13
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	xor	eax, eax
	call	mhwmp_dbg@PLT
	mov	esi, DWORD PTR PREQ_Q_F_START[rip]
	mov	rdi, r15
	or	esi, DWORD PTR PREQ_Q_F_REFRESH[rip]
	call	mesh_queue_preq@PLT
	mov	rax, QWORD PTR jiffies[rip]
	mov	QWORD PTR 32[r15], rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L40:
	add	DWORD PTR 8[rbx], 1
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, QWORD PTR 32[r15]
	mov	rdi, QWORD PTR jiffies[rip]
	call	time_before@PLT
	test	rax, rax
	je	.L12
	jmp	.L32
	.cfi_endproc
.LFE0:
	.size	hwmp_rann_frame_process, .-hwmp_rann_frame_process
	.comm	jiffies,8,8
	.comm	broadcast_addr,4,4
	.comm	RANN_FLAG_IS_GATE,4,4
	.comm	PREQ_Q_F_START,4,4
	.comm	PREQ_Q_F_REFRESH,4,4
	.comm	MPATH_RANN,4,4
	.comm	MESH_PATH_RESOLVING,4,4
	.comm	MESH_PATH_FIXED,4,4
	.comm	MESH_PATH_ACTIVE,4,4
	.comm	ETH_ALEN,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_mesh_hwmp.c_hwmp_rann_frame_process.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"received RANN from %pM via neighbour %pM (is_gate=%"
	.ascii	"d)\012\000"
	.align	2
.LC1:
	.ascii	"time to refresh root mpath %pM\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hwmp_rann_frame_process, %function
hwmp_rann_frame_process:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r3, .L42
	sub	sp, sp, #68
	ldr	r3, [r3]
	ldr	r0, [r2, #24]
	mov	r9, r2
	ldr	r7, [r2, #8]
	mov	r5, r1
	ldr	r10, [r2]
	ldr	r8, [r2, #4]
	str	r3, [sp, #40]
	ldr	fp, [r4, #16]
	bl	le32_to_cpu
	mov	r6, r0
	ldr	r0, [r9, #20]
	bl	le32_to_cpu
	mov	r3, r0
	str	r3, [sp, #48]
	ldr	r3, [r9, #12]
	ldr	r0, [r9, #16]
	str	r3, [sp, #52]
	bl	le32_to_cpu
	mov	r3, r0
	ldr	r1, [r4, #12]
	mov	r0, r7
	str	r3, [sp, #44]
	bl	ether_addr_equal
	cmp	r0, #0
	beq	.L35
.L1:
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	ldr	r3, [sp, #40]
	ldr	r1, .L42+4
	ands	r3, r3, r8
	movne	r2, #1
	moveq	r2, #0
	str	r3, [sp, #40]
	mov	r0, r4
	ldr	r3, [r5]
	str	r2, [sp]
	mov	r2, r7
	bl	mhwmp_dbg
	bl	rcu_read_lock
	ldr	r1, [r5]
	mov	r0, r4
	bl	sta_info_get
	subs	r1, r0, #0
	beq	.L33
	mov	r0, fp
	bl	airtime_link_metric_get
	mov	r1, r7
	mov	r9, r0
	mov	r0, r4
	bl	mesh_path_lookup
	subs	fp, r0, #0
	beq	.L36
.L4:
	mov	r1, r6
	ldr	r0, [fp]
	bl	SN_LT
	cmp	r0, #0
	bne	.L5
	ldr	r3, [fp]
	cmp	r3, r6
	bne	.L33
	ldr	r3, [fp, #4]
	ldr	r2, [sp, #44]
	cmp	r3, r2
	ble	.L33
.L5:
	ldr	r2, .L42+8
	ldr	r3, .L42+12
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [fp, #8]
	orr	r3, r3, r1
	tst	r3, r2
	bne	.L37
.L9:
	ldr	r3, .L42+16
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r3, #1
	movne	r3, #0
	cmp	r10, #0
	moveq	r3, #0
	cmp	r3, #0
	bne	.L38
.L12:
	mov	r2, #1
	ldr	r1, [sp, #44]
	ldr	r3, .L42+20
	add	r9, r1, r9
	stm	fp, {r6, r9}
	ldr	r1, [r5]
	ldr	r0, [fp, #16]
	str	r2, [fp, #12]
	ldr	r2, [r3]
	bl	memcpy
	ldr	r3, [sp, #40]
	cmp	r3, #0
	bne	.L39
.L14:
	cmp	r10, #1
	ble	.L40
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L41
.L33:
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	rcu_read_unlock
.L39:
	mov	r0, fp
	bl	mesh_path_add_gate
	b	.L14
.L37:
	ldr	r3, .L42+24
	mov	r0, r4
	ldr	r2, [r3]
	ldr	r3, [fp, #20]
	str	r2, [sp, #60]
	str	r3, [sp, #56]
	bl	root_path_confirmation_jiffies
	mov	r1, r0
	ldr	r3, [sp, #56]
	ldr	r2, [sp, #60]
	add	r1, r3, r1
	mov	r0, r2
	bl	time_after
	cmp	r0, #0
	ldr	r3, .L42+24
	beq	.L10
.L32:
	ldr	r2, [fp, #8]
	b	.L9
.L41:
	ldr	r3, .L42+28
	mov	r0, r6
	ldr	r5, [r3]
	bl	cpu_to_le32
	ldr	r2, .L42+32
	mov	r6, r0
	ldr	r0, [sp, #48]
	ldr	fp, [r2]
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r9
	mov	r9, r3
	bl	cpu_to_le32
	mov	ip, #0
	mov	r2, r0
	ldr	r3, [sp, #52]
	sub	r10, r10, #1
	add	r1, r3, #1
	str	r2, [sp, #28]
	str	r1, [sp, #16]
	mov	r3, r6
	mov	r0, r5
	mov	r2, r7
	mov	r1, r8
	str	r9, [sp, #24]
	str	fp, [sp, #12]
	str	r10, [sp, #20]
	str	r4, [sp, #36]
	str	ip, [sp, #32]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	str	ip, [sp]
	bl	mesh_path_sel_frame_tx
	b	.L33
.L36:
	mov	r1, r7
	mov	r0, r4
	bl	mesh_path_add
	mov	fp, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L4
	bl	rcu_read_unlock
	ldr	r3, [r4, #8]
	add	r3, r3, #1
	str	r3, [r4, #8]
	b	.L1
.L38:
	mov	r2, r7
	ldr	r1, .L42+36
	mov	r0, r4
	bl	mhwmp_dbg
	ldr	r2, .L42+40
	ldr	r3, .L42+44
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r0, fp
	orr	r1, r1, r3
	bl	mesh_queue_preq
	ldr	r3, .L42+24
	ldr	r3, [r3]
	str	r3, [fp, #20]
	b	.L12
.L40:
	ldr	r3, [r4, #4]
	add	r3, r3, #1
	str	r3, [r4, #4]
	b	.L33
.L10:
	ldr	r0, [r3]
	ldr	r1, [fp, #20]
	bl	time_before
	cmp	r0, #0
	beq	.L12
	b	.L32
.L43:
	.align	2
.L42:
	.word	RANN_FLAG_IS_GATE
	.word	.LC0
	.word	MESH_PATH_RESOLVING
	.word	MESH_PATH_ACTIVE
	.word	MESH_PATH_FIXED
	.word	ETH_ALEN
	.word	jiffies
	.word	MPATH_RANN
	.word	broadcast_addr
	.word	.LC1
	.word	PREQ_Q_F_START
	.word	PREQ_Q_F_REFRESH
	.size	hwmp_rann_frame_process, .-hwmp_rann_frame_process
	.comm	jiffies,4,4
	.comm	broadcast_addr,4,4
	.comm	RANN_FLAG_IS_GATE,4,4
	.comm	PREQ_Q_F_START,4,4
	.comm	PREQ_Q_F_REFRESH,4,4
	.comm	MPATH_RANN,4,4
	.comm	MESH_PATH_RESOLVING,4,4
	.comm	MESH_PATH_FIXED,4,4
	.comm	MESH_PATH_ACTIVE,4,4
	.comm	ETH_ALEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
