	.file	"extr_pci_irq.c_zpci_clear_airq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zpci_clear_airq, @function
zpci_clear_airq:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR ZPCI_MOD_FC_DEREG_INT[rip]
	mov	edi, DWORD PTR [rdi]
	xor	esi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	ZPCI_CREATE_REQ@PLT
	lea	rdx, 4[rsp]
	mov	rsi, rsp
	mov	DWORD PTR [rsp], 0
	mov	edi, eax
	call	zpci_mod_fc@PLT
	cmp	eax, 3
	je	.L6
	cmp	eax, 1
	je	.L13
	test	eax, eax
	jne	.L4
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xor	eax, eax
	cmp	DWORD PTR 4[rsp], 24
	je	.L1
.L4:
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zpci_clear_airq, .-zpci_clear_airq
	.comm	ZPCI_MOD_FC_DEREG_INT,4,4
	.comm	EIO,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_pci_irq.c_zpci_clear_airq.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpci_clear_airq, %function
zpci_clear_airq:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, #0
	ldr	r3, .L15
	sub	sp, sp, #16
	ldr	r2, [r3]
	ldr	r3, .L15+4
	mov	r1, r4
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ZPCI_CREATE_REQ
	add	r2, sp, #8
	add	r1, sp, #4
	str	r4, [sp, #4]
	bl	zpci_mod_fc
	cmp	r0, #3
	beq	.L7
	cmp	r0, #1
	beq	.L13
	cmp	r0, #0
	bne	.L4
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L13:
	ldr	r3, [sp, #8]
	cmp	r3, #24
	beq	.L7
.L4:
	ldr	r3, .L15+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L7:
	mov	r0, r4
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	ZPCI_MOD_FC_DEREG_INT
	.word	.LC0
	.word	EIO
	.size	zpci_clear_airq, .-zpci_clear_airq
	.comm	ZPCI_MOD_FC_DEREG_INT,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
