	.file	"extr_netxen_nic_main.c_netxen_sysfs_read_crb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	netxen_sysfs_read_crb, @function
netxen_sysfs_read_crb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rdi, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r9
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	kobj_to_dev@PLT
	mov	rdi, rax
	call	dev_get_drvdata@PLT
	mov	rdx, rbx
	mov	esi, r12d
	mov	rdi, rax
	mov	rbp, rax
	call	netxen_sysfs_validate_crb@PLT
	test	eax, eax
	je	.L14
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	NX_IS_REVISION_P3@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR NETXEN_PCI_CAMQM_2M_END[rip]
	mov	esi, DWORD PTR NETXEN_PCI_CAMQM[rip]
	mov	edi, r12d
	call	ADDR_IN_RANGE@PLT
	test	rax, rax
	jne	.L16
.L3:
	mov	esi, r12d
	mov	rdi, rbp
	call	NXRD32@PLT
	mov	rsi, rsp
	mov	rdx, rbx
	mov	rdi, r13
	mov	DWORD PTR [rsp], eax
	call	memcpy@PLT
	mov	eax, ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	lea	r14, 4[rsp]
	mov	esi, r12d
	mov	rdi, rbp
	mov	rdx, r14
	call	netxen_pci_camqm_read_2M@PLT
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r13
	call	memcpy@PLT
	mov	eax, ebx
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	netxen_sysfs_read_crb, .-netxen_sysfs_read_crb
	.comm	NETXEN_PCI_CAMQM_2M_END,4,4
	.comm	NETXEN_PCI_CAMQM,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_netxen_nic_main.c_netxen_sysfs_read_crb.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netxen_sysfs_read_crb, %function
netxen_sysfs_read_crb:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r3
	ldr	r3, .L17
	sub	sp, sp, #20
	mov	r0, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r6, [sp, #40]
	ldr	r5, [sp, #44]
	bl	kobj_to_dev
	bl	dev_get_drvdata
	mov	r2, r5
	mov	r1, r6
	mov	r4, r0
	bl	netxen_sysfs_validate_crb
	cmp	r0, #0
	beq	.L14
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	ldr	r0, [r4]
	bl	NX_IS_REVISION_P3
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L17+4
	ldr	r2, .L17+8
	mov	r0, r6
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	ADDR_IN_RANGE
	cmp	r0, #0
	bne	.L16
.L3:
	mov	r1, r6
	mov	r0, r4
	bl	NXRD32
	mov	r3, r0
	mov	r2, r5
	mov	r0, r7
	add	r1, sp, #4
	str	r3, [sp, #4]
	bl	memcpy
.L4:
	mov	r0, r5
	b	.L1
.L16:
	mov	r1, r6
	add	r2, sp, #8
	mov	r0, r4
	bl	netxen_pci_camqm_read_2M
	mov	r2, r5
	mov	r0, r7
	add	r1, sp, #8
	bl	memcpy
	b	.L4
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	NETXEN_PCI_CAMQM
	.word	NETXEN_PCI_CAMQM_2M_END
	.size	netxen_sysfs_read_crb, .-netxen_sysfs_read_crb
	.comm	NETXEN_PCI_CAMQM_2M_END,4,4
	.comm	NETXEN_PCI_CAMQM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
