	.file	"extr_netxen_nic_init.c_netxen_nic_validate_unified_romimage.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"unified image: header validation failed\n"
	.align 8
.LC1:
	.string	"unified image: product validation failed\n"
	.align 8
.LC2:
	.string	"unified image: bootld validation failed\n"
	.align 8
.LC3:
	.string	"unified image: firmware validation failed\n"
	.text
	.p2align 4
	.type	netxen_nic_validate_unified_romimage, @function
netxen_nic_validate_unified_romimage:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	netxen_nic_validate_header@PLT
	test	rax, rax
	jne	.L10
	mov	rdi, rbx
	call	netxen_nic_validate_product_offs@PLT
	test	rax, rax
	jne	.L11
	mov	rdi, rbx
	call	netxen_nic_validate_bootld@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, rbx
	call	netxen_nic_validate_fw@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L13
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC3[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	netxen_nic_validate_unified_romimage, .-netxen_nic_validate_unified_romimage
	.comm	EINVAL,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_init.c_netxen_nic_validate_unified_romimage.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unified image: header validation failed\012\000"
	.align	2
.LC1:
	.ascii	"unified image: product validation failed\012\000"
	.align	2
.LC2:
	.ascii	"unified image: bootld validation failed\012\000"
	.align	2
.LC3:
	.ascii	"unified image: firmware validation failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netxen_nic_validate_unified_romimage, %function
netxen_nic_validate_unified_romimage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	netxen_nic_validate_header
	cmp	r0, #0
	bne	.L11
	mov	r0, r4
	bl	netxen_nic_validate_product_offs
	cmp	r0, #0
	bne	.L12
	mov	r0, r4
	bl	netxen_nic_validate_bootld
	cmp	r0, #0
	bne	.L13
	mov	r0, r4
	bl	netxen_nic_validate_fw
	cmp	r0, #0
	popeq	{r4, pc}
	ldr	r0, [r4]
	ldr	r1, .L14
	bl	dev_err
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L12:
	ldr	r0, [r4]
	ldr	r1, .L14+8
	bl	dev_err
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L11:
	ldr	r0, [r4]
	ldr	r1, .L14+12
	bl	dev_err
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L13:
	ldr	r0, [r4]
	ldr	r1, .L14+16
	bl	dev_err
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	EINVAL
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	netxen_nic_validate_unified_romimage, .-netxen_nic_validate_unified_romimage
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
