	.file	"extr_balloon3.c_balloon3_irq_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	balloon3_irq_handler, @function
balloon3_irq_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR BALLOON3_INT_CONTROL_REG[rip]
	call	__raw_readl@PLT
	and	rax, QWORD PTR balloon3_irq_enabled[rip]
	mov	rbp, rax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r12
	call	irq_desc_get_irq_data@PLT
	mov	rdi, r12
	mov	r13, rax
	call	irq_desc_get_chip@PLT
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L2
	mov	rdi, r13
	call	rax
.L2:
	test	rbp, rbp
	je	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	xor	edi, edi
	call	BALLOON3_IRQ@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	__ffs@PLT
	lea	edi, [rbx+rax]
	call	generic_handle_irq@PLT
	lea	rax, -1[rbp]
	and	rbp, rax
	jne	.L4
.L3:
	mov	edi, DWORD PTR BALLOON3_INT_CONTROL_REG[rip]
	call	__raw_readl@PLT
	and	rax, QWORD PTR balloon3_irq_enabled[rip]
	mov	rbp, rax
	jne	.L5
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	balloon3_irq_handler, .-balloon3_irq_handler
	.comm	balloon3_irq_enabled,8,8
	.comm	BALLOON3_INT_CONTROL_REG,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_balloon3.c_balloon3_irq_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	balloon3_irq_handler, %function
balloon3_irq_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L17
	mov	r6, r0
	ldr	r0, [r8]
	bl	__raw_readl
	ldr	r7, .L17+4
	ldr	r3, [r7]
	and	r4, r0, r3
.L5:
	mov	r0, r6
	bl	irq_desc_get_irq_data
	mov	r5, r0
	mov	r0, r6
	bl	irq_desc_get_chip
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L2
	mov	r0, r5
	blx	r3
.L2:
	cmp	r4, #0
	beq	.L3
.L4:
	mov	r0, #0
	bl	BALLOON3_IRQ
	mov	r5, r0
	mov	r0, r4
	bl	__ffs
	add	r0, r5, r0
	bl	generic_handle_irq
	sub	r3, r4, #1
	ands	r4, r4, r3
	bne	.L4
.L3:
	ldr	r0, [r8]
	bl	__raw_readl
	ldr	r3, [r7]
	ands	r4, r0, r3
	bne	.L5
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	.align	2
.L17:
	.word	BALLOON3_INT_CONTROL_REG
	.word	balloon3_irq_enabled
	.size	balloon3_irq_handler, .-balloon3_irq_handler
	.comm	balloon3_irq_enabled,4,4
	.comm	BALLOON3_INT_CONTROL_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
