	.file	"extr_bnx2x_main.c_bnx2x_func_stop.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"FUNC_STOP ramrod failed. Running a dry transaction\n"
	.text
	.p2align 4
	.type	bnx2x_func_stop, @function
bnx2x_func_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR RAMROD_COMP_WAIT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	movaps	XMMWORD PTR [rsp], xmm0
	mov	QWORD PTR 16[rsp], 0
	mov	rsi, r12
	call	__set_bit@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rbp
	mov	eax, DWORD PTR BNX2X_F_CMD_STOP[rip]
	mov	DWORD PTR 4[rsp], eax
	call	bnx2x_func_state_change@PLT
	test	eax, eax
	jne	.L9
.L1:
	mov	rdx, QWORD PTR 24[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	BNX2X_ERR@PLT
	mov	edi, DWORD PTR RAMROD_DRV_CLR_ONLY[rip]
	mov	rsi, r12
	call	__set_bit@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	bnx2x_func_state_change@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bnx2x_func_stop, .-bnx2x_func_stop
	.comm	RAMROD_DRV_CLR_ONLY,4,4
	.comm	RAMROD_COMP_WAIT,4,4
	.comm	BNX2X_F_CMD_STOP,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_bnx2x_main.c_bnx2x_func_stop.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"FUNC_STOP ramrod failed. Running a dry transaction\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_func_stop, %function
bnx2x_func_stop:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, lr}
	mov	r4, r0
	ldr	r2, .L11
	sub	sp, sp, #24
	ldr	r0, [r2]
	ldr	r2, .L11+4
	add	r1, sp, #4
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	bl	__set_bit
	ldr	r3, .L11+8
	mov	r0, r4
	ldr	r3, [r3]
	add	r1, sp, #4
	str	r4, [sp, #12]
	str	r3, [sp, #8]
	bl	bnx2x_func_state_change
	cmp	r0, #0
	bne	.L9
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L9:
	ldr	r0, .L11+12
	bl	BNX2X_ERR
	ldr	r3, .L11+16
	add	r1, sp, #4
	ldr	r0, [r3]
	bl	__set_bit
	mov	r0, r4
	add	r1, sp, #4
	bl	bnx2x_func_state_change
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	RAMROD_COMP_WAIT
	.word	.LC1
	.word	BNX2X_F_CMD_STOP
	.word	.LC0
	.word	RAMROD_DRV_CLR_ONLY
	.size	bnx2x_func_stop, .-bnx2x_func_stop
	.comm	RAMROD_DRV_CLR_ONLY,4,4
	.comm	RAMROD_COMP_WAIT,4,4
	.comm	BNX2X_F_CMD_STOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
