	.file	"extr_bfad.c_bfad_remove_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfad_remove_intr
	.type	bfad_remove_intr, @function
bfad_remove_intr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR BFAD_MSIX_ON[rip], eax
	je	.L2
	mov	eax, DWORD PTR 4[rdi]
	test	eax, eax
	jle	.L3
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, rbx
	add	rbx, 1
	sal	rsi, 5
	add	rsi, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR 24[rsi]
	call	free_irq@PLT
	cmp	DWORD PTR 4[rbp], ebx
	jg	.L4
.L3:
	mov	rdi, QWORD PTR 8[rbp]
	call	pci_disable_msix@PLT
	mov	eax, DWORD PTR BFAD_MSIX_ON[rip]
	not	eax
	and	DWORD PTR 0[rbp], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	DWORD PTR BFAD_INTX_ON[rip], eax
	je	.L1
	mov	rax, QWORD PTR 8[rdi]
	mov	rsi, rdi
	mov	edi, DWORD PTR [rax]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	free_irq@PLT
	.cfi_endproc
.LFE0:
	.size	bfad_remove_intr, .-bfad_remove_intr
	.comm	BFAD_MSIX_ON,4,4
	.comm	BFAD_INTX_ON,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_bfad.c_bfad_remove_intr.c"
	.text
	.align	2
	.global	bfad_remove_intr
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfad_remove_intr, %function
bfad_remove_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L12
	ldr	r3, [r0]
	ldr	r2, [r7]
	mov	r4, r0
	tst	r3, r2
	beq	.L2
	ldr	r3, [r0, #4]
	cmp	r3, #0
	ble	.L3
	mov	r5, #0
	mov	r6, r5
.L4:
	ldr	r1, [r4, #12]
	add	r6, r6, #1
	add	r1, r1, r5
	ldr	r0, [r1, #16]
	bl	free_irq
	ldr	r3, [r4, #4]
	add	r5, r5, #20
	cmp	r3, r6
	bgt	.L4
.L3:
	ldr	r0, [r4, #8]
	bl	pci_disable_msix
	ldr	r2, [r7]
	ldr	r3, [r4]
	bic	r3, r3, r2
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r2, .L12+4
	ldr	r2, [r2]
	tst	r3, r2
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r0, #8]
	mov	r1, r0
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	b	free_irq
.L13:
	.align	2
.L12:
	.word	BFAD_MSIX_ON
	.word	BFAD_INTX_ON
	.size	bfad_remove_intr, .-bfad_remove_intr
	.comm	BFAD_MSIX_ON,4,4
	.comm	BFAD_INTX_ON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
