	.file	"extr_qe_ic.c_qe_ic_mask_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qe_ic_mask_irq, @function
qe_ic_mask_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	qe_ic_from_irq@PLT
	mov	edi, r12d
	xor	r12d, r12d
	mov	rbp, rax
	call	virq_to_hw@PLT
	mov	rsi, r12
	lea	rdi, qe_ic_lock[rip]
	mov	ebx, eax
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR qe_ic_info[rip]
	sal	rbx, 3
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 4[rax+rbx]
	call	qe_ic_read@PLT
	add	rbx, QWORD PTR qe_ic_info[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR 4[rbx]
	not	edx
	and	edx, eax
	call	qe_ic_write@PLT
	xor	eax, eax
	call	mb@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rdi, qe_ic_lock[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	qe_ic_mask_irq, .-qe_ic_mask_irq
	.comm	qe_ic_lock,4,4
	.comm	qe_ic_info,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_qe_ic.c_qe_ic_mask_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qe_ic_mask_irq, %function
qe_ic_mask_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	qe_ic_from_irq
	mov	r5, r0
	mov	r0, r4
	bl	virq_to_hw
	mov	r7, #0
	mov	r4, r0
	ldr	r6, .L4
	ldr	r8, .L4+4
	mov	r1, r7
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r3, [r8]
	ldr	r0, [r5]
	add	r3, r3, r4, lsl #3
	ldr	r1, [r3, #4]
	bl	qe_ic_read
	mov	r2, r0
	ldr	r3, [r8]
	lsl	r0, r4, #3
	ldr	r1, [r3, r4, lsl #3]
	add	r3, r3, r0
	bic	r2, r2, r1
	ldr	r0, [r5]
	ldr	r1, [r3, #4]
	bl	qe_ic_write
	bl	mb
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock_irqrestore
.L5:
	.align	2
.L4:
	.word	qe_ic_lock
	.word	qe_ic_info
	.size	qe_ic_mask_irq, .-qe_ic_mask_irq
	.comm	qe_ic_lock,4,4
	.comm	qe_ic_info,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
