	.file	"extr_bnx2.c_bnx2_open.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"No interrupt was generated using MSI, switching to INTx mode. Please report this failure to the PCI maintainer and include system chipset information.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"using MSI\n"
.LC2:
	.string	"using MSIX\n"
	.text
	.p2align 4
	.type	bnx2_open, @function
bnx2_open:
.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
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	netdev_priv@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	bnx2_request_firmware@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	mov	rdi, r13
	call	netif_carrier_off@PLT
	mov	rdi, rbp
	call	bnx2_disable_int@PLT
	mov	esi, DWORD PTR disable_msi[rip]
	mov	rdi, rbp
	call	bnx2_setup_int_mode@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L23
.L3:
	mov	rdi, rbp
	call	bnx2_napi_disable@PLT
	mov	rdi, rbp
	call	bnx2_free_skbs@PLT
	mov	rdi, rbp
	call	bnx2_free_irq@PLT
	mov	rdi, rbp
	call	bnx2_free_mem@PLT
	mov	rdi, rbp
	call	bnx2_del_napi@PLT
	mov	rdi, rbp
	call	bnx2_release_firmware@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L23:
	.cfi_restore_state
	mov	rdi, rbp
	call	bnx2_init_napi@PLT
	mov	rdi, rbp
	call	bnx2_napi_enable@PLT
	mov	rdi, rbp
	call	bnx2_alloc_mem@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	rdi, rbp
	call	bnx2_request_irq@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	esi, 1
	mov	rdi, rbp
	call	bnx2_init_nic@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	lea	r14, 4[rbp]
	mov	rsi, QWORD PTR jiffies[rip]
	add	rsi, QWORD PTR 24[rbp]
	mov	rdi, r14
	call	mod_timer@PLT
	lea	rdi, 16[rbp]
	xor	esi, esi
	call	atomic_set@PLT
	mov	edi, DWORD PTR 12[rbp]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	mov	rdi, rbp
	call	bnx2_enable_int@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR BNX2_FLAG_USING_MSI[rip], eax
	jne	.L24
.L4:
	test	DWORD PTR BNX2_FLAG_USING_MSIX[rip], eax
	jne	.L25
.L8:
.L2:
	endbr64
	mov	rdi, r13
	call	netif_tx_start_all_queues@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, rbp
	call	bnx2_test_intr@PLT
	test	rax, rax
	jne	.L26
.L5:
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR BNX2_FLAG_USING_MSI[rip], eax
	je	.L4
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	netdev_info@PLT
	jmp	.L8
.L25:
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	call	netdev_info@PLT
	jmp	.L8
.L26:
	mov	edi, DWORD PTR 8[rbp]
	lea	rsi, .LC0[rip]
	call	netdev_warn@PLT
	mov	rdi, rbp
	call	bnx2_disable_int@PLT
	mov	rdi, rbp
	call	bnx2_free_irq@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	bnx2_setup_int_mode@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	bnx2_init_nic@PLT
	mov	ebx, eax
	test	eax, eax
	je	.L27
.L6:
	mov	rdi, r14
	mov	r12d, ebx
	call	del_timer_sync@PLT
	jmp	.L3
.L27:
	mov	rdi, rbp
	call	bnx2_request_irq@PLT
	mov	ebx, eax
	test	eax, eax
	jne	.L6
	mov	rdi, rbp
	call	bnx2_enable_int@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	bnx2_open, .-bnx2_open
	.comm	jiffies,8,8
	.comm	disable_msi,4,4
	.comm	BNX2_FLAG_USING_MSIX,4,4
	.comm	BNX2_FLAG_USING_MSI,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_bnx2.c_bnx2_open.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"No interrupt was generated using MSI, switching to "
	.ascii	"INTx mode. Please report this failure to the PCI ma"
	.ascii	"intainer and include system chipset information.\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"using MSI\012\000"
	.align	2
.LC2:
	.ascii	"using MSIX\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2_open, %function
bnx2_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	bl	netdev_priv
	mov	r6, r0
	bl	bnx2_request_firmware
	subs	r4, r0, #0
	blt	.L1
	mov	r0, r5
	bl	netif_carrier_off
	mov	r0, r6
	bl	bnx2_disable_int
	ldr	r3, .L28
	mov	r0, r6
	ldr	r1, [r3]
	bl	bnx2_setup_int_mode
	subs	r4, r0, #0
	beq	.L23
.L3:
	mov	r0, r6
	bl	bnx2_napi_disable
	mov	r0, r6
	bl	bnx2_free_skbs
	mov	r0, r6
	bl	bnx2_free_irq
	mov	r0, r6
	bl	bnx2_free_mem
	mov	r0, r6
	bl	bnx2_del_napi
	mov	r0, r6
	bl	bnx2_release_firmware
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L23:
	mov	r0, r6
	bl	bnx2_init_napi
	mov	r0, r6
	bl	bnx2_napi_enable
	mov	r0, r6
	bl	bnx2_alloc_mem
	subs	r4, r0, #0
	bne	.L3
	mov	r0, r6
	bl	bnx2_request_irq
	subs	r4, r0, #0
	bne	.L3
	mov	r1, #1
	mov	r0, r6
	bl	bnx2_init_nic
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, .L28+4
	ldr	r1, [r6, #20]
	ldr	r3, [r3]
	add	r8, r6, #4
	add	r1, r1, r3
	mov	r0, r8
	bl	mod_timer
	mov	r1, r4
	add	r0, r6, #16
	bl	atomic_set
	ldr	r7, .L28+8
	mov	r2, #4
	mov	r1, r4
	ldr	r0, [r6, #12]
	bl	memset
	mov	r0, r6
	bl	bnx2_enable_int
	ldr	r2, [r7]
	ldr	r3, [r6]
	tst	r3, r2
	bne	.L24
.L4:
	ldr	r2, .L28+12
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L25
.L8:
.L2:
	mov	r0, r5
	bl	netif_tx_start_all_queues
	b	.L1
.L24:
	mov	r0, r6
	bl	bnx2_test_intr
	cmp	r0, #0
	bne	.L26
.L5:
	ldr	r3, [r6]
	ldr	r2, [r7]
	tst	r3, r2
	beq	.L4
	mov	r0, r5
	ldr	r1, .L28+16
	bl	netdev_info
	b	.L8
.L25:
	mov	r0, r5
	ldr	r1, .L28+20
	bl	netdev_info
	b	.L8
.L26:
	ldr	r1, .L28+24
	ldr	r0, [r6, #8]
	bl	netdev_warn
	mov	r0, r6
	bl	bnx2_disable_int
	mov	r0, r6
	bl	bnx2_free_irq
	mov	r1, #1
	mov	r0, r6
	bl	bnx2_setup_int_mode
	mov	r1, r4
	mov	r0, r6
	bl	bnx2_init_nic
	subs	r9, r0, #0
	beq	.L27
.L6:
	mov	r0, r8
	bl	del_timer_sync
	mov	r4, r9
	b	.L3
.L27:
	mov	r0, r6
	bl	bnx2_request_irq
	subs	r9, r0, #0
	bne	.L6
	mov	r0, r6
	bl	bnx2_enable_int
	b	.L5
.L29:
	.align	2
.L28:
	.word	disable_msi
	.word	jiffies
	.word	BNX2_FLAG_USING_MSI
	.word	BNX2_FLAG_USING_MSIX
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	bnx2_open, .-bnx2_open
	.comm	jiffies,4,4
	.comm	disable_msi,4,4
	.comm	BNX2_FLAG_USING_MSIX,4,4
	.comm	BNX2_FLAG_USING_MSI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
