	.file	"extr_wm831x-ts.c_wm831x_ts_data_irq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to read touch data: %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"IRQ DATA->PD\n"
	.text
	.p2align 4
	.type	wm831x_ts_data_irq, @function
wm831x_ts_data_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
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r13, QWORD PTR 32[rsi]
	mov	edx, DWORD PTR WM831X_TCHDATA_EINT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 16[rsi], 0
	mov	esi, DWORD PTR WM831X_INTERRUPT_STATUS_1[rip]
	lea	r14, 12[rsp]
	setne	r12b
	mov	ecx, edx
	mov	rdi, r13
	call	wm831x_set_bits@PLT
	add	r12d, 2
	mov	rcx, r14
	mov	rdi, r13
	mov	esi, DWORD PTR WM831X_TOUCH_DATA_X[rip]
	mov	edx, r12d
	call	wm831x_bulk_read@PLT
	test	eax, eax
	jne	.L16
	mov	DWORD PTR [rbx], 1
	xor	ebp, ebp
	lea	r15, data_types.1975[rip]
.L7:
	mov	edx, DWORD PTR [r14+rbp*4]
	test	DWORD PTR WM831X_TCH_PD[rip], edx
	jne	.L5
	mov	DWORD PTR [rbx], 0
.L6:
	add	rbp, 1
	cmp	r12d, ebp
	jg	.L7
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L17
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR BTN_TOUCH[rip]
	mov	edx, 1
	call	input_report_key@PLT
.L10:
	mov	edi, DWORD PTR 4[rbx]
	call	input_sync@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L18
	add	rsp, 40
	.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
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR [r15+rbp*4]
	mov	edi, DWORD PTR 4[rbx]
	and	edx, DWORD PTR WM831X_TCH_DATA_MASK[rip]
	call	input_report_abs@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR 0[r13]
	lea	rsi, .LC1[rip]
	call	dev_dbg@PLT
	mov	edi, DWORD PTR 24[rbx]
	call	disable_irq_nosync@PLT
	mov	esi, DWORD PTR WM831X_TOUCH_CONTROL_1[rip]
	xor	ecx, ecx
	mov	rdi, r13
	mov	edx, DWORD PTR WM831X_TCH_X_ENA[rip]
	or	edx, DWORD PTR WM831X_TCH_Y_ENA[rip]
	or	edx, DWORD PTR WM831X_TCH_Z_ENA[rip]
	call	wm831x_set_bits@PLT
	mov	edx, DWORD PTR WM831X_TCHDATA_EINT[rip]
	mov	esi, DWORD PTR WM831X_INTERRUPT_STATUS_1[rip]
	mov	rdi, r13
	mov	ecx, edx
	call	wm831x_set_bits@PLT
	mov	rcx, r14
	mov	edx, r12d
	mov	rdi, r13
	mov	esi, DWORD PTR WM831X_TOUCH_DATA_X[rip]
	call	wm831x_bulk_read@PLT
	cmp	QWORD PTR 16[rbx], 0
	jne	.L19
.L9:
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR BTN_TOUCH[rip]
	xor	edx, edx
	call	input_report_key@PLT
	lea	rdi, 8[rbx]
	call	schedule_work@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR 0[r13]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR IRQ_NONE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, DWORD PTR 4[rbx]
	xor	edx, edx
	mov	esi, 130
	call	input_report_abs@PLT
	jmp	.L9
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wm831x_ts_data_irq, .-wm831x_ts_data_irq
	.section	.rodata
	.align 8
	.type	data_types.1975, @object
	.size	data_types.1975, 12
data_types.1975:
	.long	129
	.long	128
	.long	130
	.comm	WM831X_TOUCH_DATA_X,4,4
	.comm	WM831X_TOUCH_CONTROL_1,4,4
	.comm	WM831X_TCH_Z_ENA,4,4
	.comm	WM831X_TCH_Y_ENA,4,4
	.comm	WM831X_TCH_X_ENA,4,4
	.comm	WM831X_TCH_PD,4,4
	.comm	WM831X_TCH_DATA_MASK,4,4
	.comm	WM831X_TCHDATA_EINT,4,4
	.comm	WM831X_INTERRUPT_STATUS_1,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	BTN_TOUCH,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_wm831x-ts.c_wm831x_ts_data_irq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to read touch data: %d\012\000"
	.align	2
.LC1:
	.ascii	"IRQ DATA->PD\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm831x_ts_data_irq, %function
wm831x_ts_data_irq:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #12]
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	cmp	r3, #0
	movne	r8, #3
	moveq	r8, #2
	ldr	fp, .L23
	ldr	r7, [r1, #20]
	ldr	r3, [fp]
	mov	r4, r1
	ldr	r1, .L23+4
	ldr	ip, .L23+8
	sub	sp, sp, #20
	mov	r2, r3
	ldr	r1, [r1]
	mov	r0, r7
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	wm831x_set_bits
	ldr	r3, .L23+12
	mov	r2, r8
	ldr	r1, [r3]
	mov	r0, r7
	mov	r3, sp
	bl	wm831x_bulk_read
	subs	r2, r0, #0
	bne	.L19
	mov	r2, #1
	mov	r5, sp
	ldr	r6, .L23+16
	ldr	r10, .L23+20
	ldr	r3, .L23+24
	str	r2, [r4]
	add	r9, sp, r8, lsl #2
.L7:
	ldr	r1, [r10]
	ldr	r2, [r5], #4
	ands	r1, r2, r1
	streq	r1, [r4]
	beq	.L6
	ldr	r0, [r3]
	ldr	r1, [r6]
	and	r2, r2, r0
	ldr	r0, [r4, #4]
	bl	input_report_abs
	ldr	r3, .L23+24
.L6:
	cmp	r9, r5
	add	r6, r6, #4
	bne	.L7
	ldr	r5, [r4]
	cmp	r5, #0
	beq	.L20
	ldr	r3, .L23+28
	mov	r2, #1
	ldr	r1, [r3]
	ldr	r0, [r4, #4]
	bl	input_report_key
.L10:
	ldr	r0, [r4, #4]
	bl	input_sync
	ldr	r3, .L23+32
	ldr	r0, [r3]
.L1:
	ldr	r3, .L23+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r1, .L23+36
	ldr	r0, [r7]
	bl	dev_dbg
	ldr	r0, [r4, #16]
	bl	disable_irq_nosync
	ldr	r1, .L23+40
	ldr	r3, .L23+44
	ldr	r2, .L23+48
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L23+52
	orr	r3, r3, r0
	orr	r2, r3, r2
	ldr	r1, [r1]
	mov	r3, r5
	mov	r0, r7
	bl	wm831x_set_bits
	ldr	r3, [fp]
	ldr	r2, .L23+4
	mov	r0, r7
	ldr	r1, [r2]
	mov	r2, r3
	bl	wm831x_set_bits
	ldr	r1, .L23+12
	mov	r3, sp
	mov	r2, r8
	mov	r0, r7
	ldr	r1, [r1]
	bl	wm831x_bulk_read
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L22
.L9:
	ldr	r3, .L23+28
	mov	r2, #0
	ldr	r1, [r3]
	ldr	r0, [r4, #4]
	bl	input_report_key
	add	r0, r4, #8
	bl	schedule_work
	b	.L10
.L19:
	ldr	r0, [r7]
	ldr	r1, .L23+56
	bl	dev_err
	ldr	r3, .L23+60
	ldr	r0, [r3]
	b	.L1
.L22:
	mov	r2, r5
	mov	r1, #130
	ldr	r0, [r4, #4]
	bl	input_report_abs
	b	.L9
.L21:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	WM831X_TCHDATA_EINT
	.word	WM831X_INTERRUPT_STATUS_1
	.word	.LC2
	.word	WM831X_TOUCH_DATA_X
	.word	.LANCHOR0
	.word	WM831X_TCH_PD
	.word	WM831X_TCH_DATA_MASK
	.word	BTN_TOUCH
	.word	IRQ_HANDLED
	.word	.LC1
	.word	WM831X_TCH_Y_ENA
	.word	WM831X_TCH_X_ENA
	.word	WM831X_TCH_Z_ENA
	.word	WM831X_TOUCH_CONTROL_1
	.word	.LC0
	.word	IRQ_NONE
	.size	wm831x_ts_data_irq, .-wm831x_ts_data_irq
	.comm	WM831X_TOUCH_DATA_X,4,4
	.comm	WM831X_TOUCH_CONTROL_1,4,4
	.comm	WM831X_TCH_Z_ENA,4,4
	.comm	WM831X_TCH_Y_ENA,4,4
	.comm	WM831X_TCH_X_ENA,4,4
	.comm	WM831X_TCH_PD,4,4
	.comm	WM831X_TCH_DATA_MASK,4,4
	.comm	WM831X_TCHDATA_EINT,4,4
	.comm	WM831X_INTERRUPT_STATUS_1,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	BTN_TOUCH,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	data_types.4259, %object
	.size	data_types.4259, 12
data_types.4259:
	.word	129
	.word	128
	.word	130
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
