	.file	"extr_niu.c_niu_init_rdc_groups.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	niu_init_rdc_groups, @function
niu_init_rdc_groups:
.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
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rdi
	mov	rdi, QWORD PTR [rdi]
	mov	r13, rdi
	sal	r13, 4
	add	r13, QWORD PTR 8[rax]
	mov	ecx, DWORD PTR 0[r13]
	mov	edx, DWORD PTR 4[r13]
	mov	DWORD PTR 4[rsp], ecx
	test	edx, edx
	jle	.L2
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[r13]
	xor	ebx, ebx
	lea	r15, [rax+r12*8]
	mov	eax, DWORD PTR 4[rsp]
	lea	ebp, [rax+r12]
	mov	eax, DWORD PTR NIU_RDC_TABLE_SLOTS[rip]
	test	eax, eax
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [r15]
	mov	esi, ebx
	mov	edi, ebp
	mov	r14d, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	RDC_TBL@PLT
	mov	edi, eax
	mov	esi, r14d
	call	nw64@PLT
	cmp	DWORD PTR NIU_RDC_TABLE_SLOTS[rip], ebx
	jg	.L3
.L6:
	add	r12, 1
	cmp	DWORD PTR 4[r13], r12d
	jg	.L4
	mov	rcx, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR 8[rcx]
	mov	rdi, QWORD PTR [rcx]
.L2:
	mov	rax, QWORD PTR [rax]
	mov	ebp, DWORD PTR [rax+rdi*4]
	call	DEF_RDC@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	esi, ebp
	mov	edi, eax
	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	nw64@PLT
	.cfi_endproc
.LFE0:
	.size	niu_init_rdc_groups, .-niu_init_rdc_groups
	.comm	NIU_RDC_TABLE_SLOTS,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_niu.c_niu_init_rdc_groups.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	niu_init_rdc_groups, %function
niu_init_rdc_groups:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r0
	ldm	r0, {r0, r3}
	ldr	r2, [r3, #4]
	add	r1, r0, r0, lsl #1
	add	r8, r2, r1, lsl #2
	ldr	r3, [r8, #4]
	ldr	r9, [r2, r1, lsl #2]
	cmp	r3, #0
	ble	.L2
	mov	r7, #0
	ldr	fp, .L13
.L4:
	ldr	r2, [fp]
	ldr	r5, [r8, #8]
	cmp	r2, #0
	movgt	r4, #0
	add	r5, r5, r7, lsl #2
	add	r6, r9, r7
	ble	.L6
.L3:
	mov	r1, r4
	mov	r0, r6
	bl	RDC_TBL
	ldr	r3, [r5]
	ldr	r1, [r3, r4, lsl #2]
	bl	nw64
	ldr	r3, [fp]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
	ldr	r3, [r8, #4]
.L6:
	add	r7, r7, #1
	cmp	r3, r7
	bgt	.L4
	ldr	r0, [r10]
.L2:
	bl	DEF_RDC
	ldm	r10, {r2, r3}
	ldr	r3, [r3]
	ldr	r1, [r3, r2, lsl #2]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	nw64
.L14:
	.align	2
.L13:
	.word	NIU_RDC_TABLE_SLOTS
	.size	niu_init_rdc_groups, .-niu_init_rdc_groups
	.comm	NIU_RDC_TABLE_SLOTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
