	.file	"extr_netxen_nic_init.c_nx_get_table_desc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nx_get_table_desc, @function
nx_get_table_desc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movsx	r12, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 8[rdi]
	xor	ebx, ebx
	call	cpu_to_le32@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	add	rbx, 1
	cmp	r13, rbx
	je	.L5
.L4:
	mov	edi, DWORD PTR 4[rbp]
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r14, rax
	call	cpu_to_le32@PLT
	imul	rax, rbx
	add	rax, r14
	lea	r14, 0[rbp+rax*4]
	mov	edi, DWORD PTR 32[r14]
	call	cpu_to_le32@PLT
	cmp	r12, rax
	jne	.L11
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	r14d, r14d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rax, r14
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nx_get_table_desc, .-nx_get_table_desc
	.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_netxen_nic_init.c_nx_get_table_desc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nx_get_table_desc, %function
nx_get_table_desc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, [r0, #8]
	mov	r8, r1
	bl	cpu_to_le32
	subs	r7, r0, #0
	movne	r5, #0
	bne	.L4
	b	.L5
.L9:
	cmp	r7, r5
	beq	.L5
.L4:
	ldr	r0, [r6, #4]
	bl	cpu_to_le32
	mov	r4, r0
	ldr	r0, [r6]
	bl	cpu_to_le32
	mla	r4, r5, r0, r4
	add	r4, r6, r4, lsl #2
	ldr	r0, [r4, #32]
	bl	cpu_to_le32
	cmp	r8, r0
	add	r5, r5, #1
	bne	.L9
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
	.size	nx_get_table_desc, .-nx_get_table_desc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
