	.file	"extr_efa_com.c_efa_com_submit_admin_cmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Admin queue is closed\n"
	.text
	.p2align 4
	.type	efa_com_submit_admin_cmd, @function
efa_com_submit_admin_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 4[rdi]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r15
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	spin_lock@PLT
	mov	edi, DWORD PTR EFA_AQ_STATE_RUNNING_BIT[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	eax, eax
	je	.L9
	mov	rsi, r12
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	rdi, rbp
	call	__efa_com_submit_admin_cmd@PLT
	mov	rdi, r15
	mov	r12, rax
	call	spin_unlock@PLT
	mov	rdi, r12
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR EFA_AQ_STATE_RUNNING_BIT[rip]
	mov	rsi, rbp
	call	clear_bit@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR 8[rbp]
	lea	rsi, .LC0[rip]
	call	ibdev_err_ratelimited@PLT
	mov	rdi, r15
	call	spin_unlock@PLT
	mov	edi, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	edi
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.cfi_endproc
.LFE0:
	.size	efa_com_submit_admin_cmd, .-efa_com_submit_admin_cmd
	.comm	ENODEV,4,4
	.comm	EFA_AQ_STATE_RUNNING_BIT,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_efa_com.c_efa_com_submit_admin_cmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Admin queue is closed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	efa_com_submit_admin_cmd, %function
efa_com_submit_admin_cmd:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r8, .L11
	add	r9, r0, #4
	sub	sp, sp, #8
	mov	r0, r9
	mov	r5, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r10, [sp, #40]
	bl	spin_lock
	mov	r1, r4
	ldr	r0, [r8]
	bl	test_bit
	cmp	r0, #0
	beq	.L9
	mov	r1, r5
	mov	r3, r7
	mov	r2, r6
	mov	r0, r4
	str	r10, [sp]
	bl	__efa_com_submit_admin_cmd
	mov	r5, r0
	mov	r0, r9
	bl	spin_unlock
	mov	r0, r5
	bl	IS_ERR
	cmp	r0, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r1, r4
	ldr	r0, [r8]
	bl	clear_bit
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	ldr	r1, .L11+4
	ldr	r0, [r4, #8]
	bl	ibdev_err_ratelimited
	mov	r0, r9
	bl	spin_unlock
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	ERR_PTR
.L12:
	.align	2
.L11:
	.word	EFA_AQ_STATE_RUNNING_BIT
	.word	.LC0
	.word	ENODEV
	.size	efa_com_submit_admin_cmd, .-efa_com_submit_admin_cmd
	.comm	ENODEV,4,4
	.comm	EFA_AQ_STATE_RUNNING_BIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
