	.file	"extr_bnx2x_main.c_bnx2x_set_int_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to enable multiple MSI-X (%d), set number of queues to %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"set number of queues to 1\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"unknown value in int_mode module parameter\n"
	.text
	.p2align 4
	.globl	bnx2x_set_int_mode
	.type	bnx2x_set_int_mode, @function
bnx2x_set_int_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	IS_VF@PLT
	test	rax, rax
	je	.L2
	cmp	DWORD PTR int_mode[rip], 128
	jne	.L21
.L3:
	mov	rdi, rbx
	call	bnx2x_enable_msix@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	rdi, rbx
	call	IS_VF@PLT
	test	rax, rax
	jne	.L1
	mov	eax, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	lea	edx, 1[rax]
	xor	eax, eax
	call	BNX2X_DEV_INFO@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbx
	call	bnx2x_enable_msi@PLT
.L5:
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 8[rbx], 1
	lea	rdi, .LC1[rip]
	xor	r12d, r12d
	add	eax, 1
	mov	DWORD PTR [rbx], eax
	xor	eax, eax
	call	BNX2X_DEV_INFO@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR int_mode[rip]
	cmp	eax, 130
	je	.L5
	jg	.L6
	cmp	eax, 128
	je	.L3
	cmp	eax, 129
	je	.L7
.L6:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	BNX2X_DEV_INFO@PLT
.L21:
	mov	r12d, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bnx2x_set_int_mode, .-bnx2x_set_int_mode
	.comm	int_mode,4,4
	.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_bnx2x_main.c_bnx2x_set_int_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to enable multiple MSI-X (%d), set number of"
	.ascii	" queues to %d\012\000"
	.align	2
.LC1:
	.ascii	"set number of queues to 1\012\000"
	.align	2
.LC2:
	.ascii	"unknown value in int_mode module parameter\012\000"
	.text
	.align	2
	.global	bnx2x_set_int_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_set_int_mode, %function
bnx2x_set_int_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	IS_VF
	ldr	r3, .L26
	cmp	r0, #0
	ldr	r3, [r3]
	beq	.L2
	cmp	r3, #128
	bne	.L24
.L3:
	mov	r0, r4
	bl	bnx2x_enable_msix
	subs	r5, r0, #0
	beq	.L1
	mov	r0, r4
	bl	IS_VF
	cmp	r0, #0
	bne	.L1
	ldm	r4, {r1, r2}
	ldr	r0, .L26+4
	add	r2, r2, #1
	bl	BNX2X_DEV_INFO
.L7:
	mov	r0, r4
	bl	bnx2x_enable_msi
.L5:
	mov	r2, #1
	ldr	r3, [r4, #4]
	ldr	r0, .L26+8
	add	r3, r3, r2
	str	r2, [r4, #8]
	str	r3, [r4]
	bl	BNX2X_DEV_INFO
	mov	r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L2:
	cmp	r3, #130
	beq	.L5
	bgt	.L6
	cmp	r3, #128
	beq	.L3
	cmp	r3, #129
	beq	.L7
.L6:
	ldr	r0, .L26+12
	bl	BNX2X_DEV_INFO
.L24:
	ldr	r3, .L26+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L27:
	.align	2
.L26:
	.word	int_mode
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	EINVAL
	.size	bnx2x_set_int_mode, .-bnx2x_set_int_mode
	.comm	int_mode,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
