	.file	"extr_qlge_mpi.c_ql_idc_wait.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"IDC Timeout.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"IDC Time Extension from function.\n"
	.section	.rodata.str1.1
.LC2:
	.string	"IDC Success.\n"
.LC3:
	.string	"IDC: Invalid State 0x%.04x.\n"
	.text
	.p2align 4
	.type	ql_idc_wait, @function
ql_idc_wait:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movsx	rsi, DWORD PTR HZ[rip]
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, DWORD PTR ETIMEDOUT[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	lea	rbp, .LC1[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	neg	r12d
	lea	rbx, 4[rdi]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[r14]
	mov	edx, DWORD PTR [r14]
	mov	esi, DWORD PTR drv[rip]
	mov	r8d, DWORD PTR [rax]
	cmp	r8d, DWORD PTR AEN_IDC_EXT[rip]
	jne	.L4
	xor	eax, eax
	mov	rcx, rbp
	mov	rdi, r14
	call	netif_err@PLT
	mov	rax, QWORD PTR 8[r14]
	mov	eax, DWORD PTR 4[rax]
	sar	eax, 8
	and	eax, 15
	add	rax, r13
	mov	rsi, rax
	je	.L1
.L5:
	mov	rdi, rbx
	call	wait_for_completion_timeout@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L2
	mov	edx, DWORD PTR [r14]
	mov	esi, DWORD PTR drv[rip]
	mov	rdi, r14
	xor	eax, eax
	lea	rcx, .LC0[rip]
	call	netif_err@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
.L4:
	.cfi_restore_state
	cmp	r8d, DWORD PTR AEN_IDC_CMPLT[rip]
	je	.L10
	mov	rdi, r14
	lea	rcx, .LC3[rip]
	xor	eax, eax
	call	netif_err@PLT
	mov	r12d, DWORD PTR EIO[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	mov	rdi, r14
	xor	r12d, r12d
	lea	rcx, .LC2[rip]
	xor	eax, eax
	call	netif_err@PLT
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	ql_idc_wait, .-ql_idc_wait
	.comm	drv,4,4
	.comm	HZ,4,4
	.comm	ETIMEDOUT,4,4
	.comm	EIO,4,4
	.comm	AEN_IDC_EXT,4,4
	.comm	AEN_IDC_CMPLT,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_qlge_mpi.c_ql_idc_wait.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IDC Timeout.\012\000"
	.align	2
.LC1:
	.ascii	"IDC Time Extension from function.\012\000"
	.align	2
.LC2:
	.ascii	"IDC Success.\012\000"
	.align	2
.LC3:
	.ascii	"IDC: Invalid State 0x%.04x.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ql_idc_wait, %function
ql_idc_wait:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r2, .L11
	ldr	r3, .L11+4
	ldr	r10, [r2]
	mov	r5, r0
	ldr	r1, [r3]
	ldr	r7, .L11+8
	ldr	r8, .L11+12
	ldr	r9, .L11+16
	sub	sp, sp, #8
	add	r6, r0, #4
	rsb	r10, r10, #0
	b	.L5
.L2:
	ldr	r3, [r5, #8]
	ldr	r2, [r8]
	ldr	r3, [r3]
	ldr	r1, [r7]
	cmp	r3, r2
	ldr	r2, [r5]
	bne	.L4
	mov	r3, r9
	mov	r0, r5
	bl	netif_err
	ldr	r3, [r5, #8]
	ldr	r1, [r3, #4]
	lsl	r1, r1, #20
	adds	r1, r4, r1, lsr #28
	beq	.L1
.L5:
	mov	r0, r6
	bl	wait_for_completion_timeout
	subs	r4, r0, #0
	bne	.L2
	mov	r0, r5
	ldr	r1, [r7]
	ldr	r3, .L11+20
	ldr	r2, [r5]
	bl	netif_err
.L1:
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r0, .L11+24
	ldr	r0, [r0]
	cmp	r3, r0
	beq	.L10
	str	r3, [sp]
	mov	r0, r5
	ldr	r3, .L11+28
	bl	netif_err
	ldr	r3, .L11+32
	ldr	r10, [r3]
	rsb	r10, r10, #0
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r10, #0
	mov	r0, r5
	ldr	r3, .L11+36
	bl	netif_err
	mov	r0, r10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	ETIMEDOUT
	.word	HZ
	.word	drv
	.word	AEN_IDC_EXT
	.word	.LC1
	.word	.LC0
	.word	AEN_IDC_CMPLT
	.word	.LC3
	.word	EIO
	.word	.LC2
	.size	ql_idc_wait, .-ql_idc_wait
	.comm	drv,4,4
	.comm	HZ,4,4
	.comm	ETIMEDOUT,4,4
	.comm	EIO,4,4
	.comm	AEN_IDC_EXT,4,4
	.comm	AEN_IDC_CMPLT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
