	.file	"extr_mxs-lradc-ts.c_mxs_lradc_ts_handle_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mxs_lradc_ts_handle_irq, @function
mxs_lradc_ts_handle_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 16[rsi]
	mov	rdi, QWORD PTR LRADC_CTRL1[rip]
	add	rdi, QWORD PTR [rsi]
	call	readl@PLT
	mov	rdi, r13
	mov	r12, rax
	call	mxs_lradc_irq_mask@PLT
	mov	edi, DWORD PTR TOUCHSCREEN_VCHANNEL1[rip]
	mov	QWORD PTR 8[rsp], rax
	call	LRADC_CTRL1_LRADC_IRQ@PLT
	mov	edi, DWORD PTR TOUCHSCREEN_VCHANNEL2[rip]
	mov	r14, QWORD PTR LRADC_CTRL1_TOUCH_DETECT_IRQ[rip]
	mov	rbx, rax
	call	LRADC_CTRL1_LRADC_IRQ@PLT
	mov	rdi, r13
	mov	r15, rax
	call	mxs_lradc_irq_mask@PLT
	test	rax, r12
	je	.L10
	or	rbx, r15
	or	rbx, r14
	test	rbx, r12
	jne	.L11
.L4:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	r14, 8[rbp]
	xor	r15d, r15d
	mov	rsi, r15
	mov	rdi, r14
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	call	mxs_lradc_handle_touch@PLT
	mov	rsi, r15
	mov	rdi, r14
	call	spin_unlock_irqrestore@PLT
	mov	edi, DWORD PTR TOUCHSCREEN_VCHANNEL1[rip]
	call	LRADC_CTRL1_LRADC_IRQ@PLT
	mov	edi, DWORD PTR TOUCHSCREEN_VCHANNEL2[rip]
	mov	rbx, rax
	call	LRADC_CTRL1_LRADC_IRQ@PLT
	and	r12, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR LRADC_CTRL1[rip]
	or	rbx, rax
	add	rsi, QWORD PTR 0[rbp]
	add	rsi, QWORD PTR STMP_OFFSET_REG_CLR[rip]
	not	rbx
	and	rbx, r12
	mov	rdi, rbx
	call	writel@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR IRQ_NONE[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mxs_lradc_ts_handle_irq, .-mxs_lradc_ts_handle_irq
	.comm	TOUCHSCREEN_VCHANNEL2,4,4
	.comm	TOUCHSCREEN_VCHANNEL1,4,4
	.comm	STMP_OFFSET_REG_CLR,8,8
	.comm	LRADC_CTRL1_TOUCH_DETECT_IRQ,8,8
	.comm	LRADC_CTRL1,8,8
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,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_mxs-lradc-ts.c_mxs_lradc_ts_handle_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mxs_lradc_ts_handle_irq, %function
mxs_lradc_ts_handle_irq:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, .L12
	ldr	r0, [r1]
	ldr	r2, [r8]
	sub	sp, sp, #12
	add	r0, r0, r2
	ldr	r7, [r1, #8]
	mov	r5, r1
	bl	readl
	mov	r6, r0
	mov	r0, r7
	bl	mxs_lradc_irq_mask
	ldr	r10, .L12+4
	str	r0, [sp, #4]
	ldr	r0, [r10]
	bl	LRADC_CTRL1_LRADC_IRQ
	ldr	r9, .L12+8
	ldr	r2, .L12+12
	mov	r4, r0
	ldr	r0, [r9]
	ldr	fp, [r2]
	bl	LRADC_CTRL1_LRADC_IRQ
	mov	r2, r0
	mov	r0, r7
	mov	r7, r2
	bl	mxs_lradc_irq_mask
	tst	r0, r6
	beq	.L10
	orr	r4, r4, r7
	orr	r4, r4, fp
	tst	r4, r6
	bne	.L11
.L4:
	ldr	r3, .L12+16
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r7, #0
	add	r4, r5, #4
	mov	r1, r7
	mov	r0, r4
	bl	spin_lock_irqsave
	mov	r0, r5
	bl	mxs_lradc_handle_touch
	mov	r1, r7
	mov	r0, r4
	bl	spin_unlock_irqrestore
	ldr	r0, [r10]
	bl	LRADC_CTRL1_LRADC_IRQ
	mov	r4, r0
	ldr	r0, [r9]
	bl	LRADC_CTRL1_LRADC_IRQ
	ldr	r2, [r5]
	ldr	r3, [r8]
	ldr	r1, .L12+20
	add	r3, r2, r3
	ldr	r2, [sp, #4]
	ldr	r1, [r1]
	orr	r0, r4, r0
	and	r6, r6, r2
	bic	r0, r6, r0
	add	r1, r3, r1
	bl	writel
	b	.L4
.L10:
	ldr	r3, .L12+24
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	LRADC_CTRL1
	.word	TOUCHSCREEN_VCHANNEL1
	.word	TOUCHSCREEN_VCHANNEL2
	.word	LRADC_CTRL1_TOUCH_DETECT_IRQ
	.word	IRQ_HANDLED
	.word	STMP_OFFSET_REG_CLR
	.word	IRQ_NONE
	.size	mxs_lradc_ts_handle_irq, .-mxs_lradc_ts_handle_irq
	.comm	TOUCHSCREEN_VCHANNEL2,4,4
	.comm	TOUCHSCREEN_VCHANNEL1,4,4
	.comm	STMP_OFFSET_REG_CLR,4,4
	.comm	LRADC_CTRL1_TOUCH_DETECT_IRQ,4,4
	.comm	LRADC_CTRL1,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
