	.file	"extr_qdio_main.c_qdio_start_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qdio_start_irq
	.type	qdio_start_irq, @function
qdio_start_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	mov	rbp, QWORD PTR [rax]
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	test	rbp, rbp
	je	.L1
	mov	rax, QWORD PTR 0[rbp]
	movsx	rsi, esi
	mov	rdi, rbp
	mov	r12, QWORD PTR [rax+rsi*8]
	call	clear_nonshared_ind@PLT
	mov	rdi, r12
	call	qdio_stop_polling@PLT
	mov	edi, DWORD PTR QDIO_QUEUE_IRQS_DISABLED[rip]
	mov	rsi, r12
	call	clear_bit@PLT
	mov	rdi, rbp
	call	test_nonshared_ind@PLT
	test	rax, rax
	je	.L4
.L5:
	mov	edi, DWORD PTR QDIO_QUEUE_IRQS_DISABLED[rip]
	mov	rsi, r12
	call	test_and_set_bit@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
.L1:
	add	rsp, 8
	.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
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[r12]
	mov	rdi, r12
	call	qdio_inbound_q_done@PLT
	test	eax, eax
	je	.L5
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qdio_start_irq, .-qdio_start_irq
	.comm	QDIO_QUEUE_IRQS_DISABLED,4,4
	.comm	ENODEV,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_qdio_main.c_qdio_start_irq.c"
	.text
	.align	2
	.global	qdio_start_irq
	.syntax unified
	.arm
	.fpu softvfp
	.type	qdio_start_irq, %function
qdio_start_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L11
	ldr	r3, [r4]
	mov	r0, r4
	ldr	r5, [r3, r1, lsl #2]
	ldr	r6, .L12
	bl	clear_nonshared_ind
	mov	r0, r5
	bl	qdio_stop_polling
	mov	r1, r5
	ldr	r0, [r6]
	bl	clear_bit
	mov	r0, r4
	bl	test_nonshared_ind
	subs	r4, r0, #0
	beq	.L4
.L5:
	mov	r1, r5
	ldr	r0, [r6]
	bl	test_and_set_bit
	clz	r4, r0
	lsr	r4, r4, #5
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, r5
	ldr	r1, [r5, #4]
	bl	qdio_inbound_q_done
	cmp	r0, #0
	beq	.L5
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, .L12+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	QDIO_QUEUE_IRQS_DISABLED
	.word	ENODEV
	.size	qdio_start_irq, .-qdio_start_irq
	.comm	QDIO_QUEUE_IRQS_DISABLED,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
