	.file	"extr_io_apic.c_ioapic_ack_level.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ioapic_ack_level, @function
ioapic_ack_level:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	irqd_cfg@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	irq_complete_move@PLT
	mov	rdi, rbp
	call	ioapic_irqd_mask@PLT
	mov	r14d, DWORD PTR [rbx]
	mov	r12d, eax
	mov	edi, r14d
	sar	edi
	and	edi, -16
	movsx	rdi, edi
	add	rdi, QWORD PTR APIC_TMR[rip]
	call	apic_read@PLT
	mov	r13, rax
	xor	eax, eax
	call	ack_APIC_irq@PLT
	mov	eax, 1
	mov	ecx, r14d
	sal	eax, cl
	cdqe
	test	rax, r13
	je	.L5
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	esi, r12d
	mov	rdi, rbp
	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
	jmp	ioapic_irqd_unmask@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, irq_mis_count[rip]
	call	atomic_inc@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rbx]
	call	eoi_ioapic_pin@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ioapic_ack_level, .-ioapic_ack_level
	.comm	irq_mis_count,4,4
	.comm	APIC_TMR,8,8
	.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_io_apic.c_ioapic_ack_level.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ioapic_ack_level, %function
ioapic_ack_level:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	irqd_cfg
	mov	r6, r0
	bl	irq_complete_move
	mov	r0, r4
	bl	ioapic_irqd_mask
	ldr	r5, [r6]
	ldr	r2, .L6
	asr	r3, r5, #1
	mov	r7, r0
	ldr	r0, [r2]
	bic	r3, r3, #15
	add	r0, r3, r0
	bl	apic_read
	mov	r8, r0
	bl	ack_APIC_irq
	mov	r3, #1
	and	r5, r5, #31
	ands	r3, r8, r3, lsl r5
	beq	.L5
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	ioapic_irqd_unmask
.L5:
	ldr	r0, .L6+4
	bl	atomic_inc
	ldr	r1, [r4]
	ldr	r0, [r6]
	bl	eoi_ioapic_pin
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	ioapic_irqd_unmask
.L7:
	.align	2
.L6:
	.word	APIC_TMR
	.word	irq_mis_count
	.size	ioapic_ack_level, .-ioapic_ack_level
	.comm	irq_mis_count,4,4
	.comm	APIC_TMR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
