	.file	"extr_qca8k.c_qca8k_fdb_next.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qca8k_fdb_next, @function
qca8k_fdb_next:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	ecx, DWORD PTR 4[rsi]
	mov	edx, DWORD PTR 8[rsi]
	mov	r8d, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 12[rsi]
	call	qca8k_fdb_write@PLT
	mov	esi, DWORD PTR QCA8K_FDB_NEXT[rip]
	mov	edx, r13d
	mov	rdi, r12
	call	qca8k_fdb_access@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L1
	mov	rsi, rbp
	mov	rdi, r12
	call	qca8k_fdb_read@PLT
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qca8k_fdb_next, .-qca8k_fdb_next
	.comm	QCA8K_FDB_NEXT,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_qca8k.c_qca8k_fdb_next.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qca8k_fdb_next, %function
qca8k_fdb_next:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	ldm	r1, {r2, r3}
	mov	r6, r0
	sub	sp, sp, #8
	str	r2, [sp]
	ldr	r2, [r1, #8]
	mov	r4, r1
	ldr	r1, [r1, #12]
	bl	qca8k_fdb_write
	ldr	r3, .L5
	mov	r2, r5
	mov	r0, r6
	ldr	r1, [r3]
	bl	qca8k_fdb_access
	subs	r5, r0, #0
	blt	.L1
	mov	r1, r4
	mov	r0, r6
	bl	qca8k_fdb_read
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	QCA8K_FDB_NEXT
	.size	qca8k_fdb_next, .-qca8k_fdb_next
	.comm	QCA8K_FDB_NEXT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
