	.file	"extr_pixcir_i2c_ts.c_pixcir_ts_report.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no free slot for id 0x%x\n"
.LC1:
	.string	"%d: slot %d, x %d, y %d\n"
	.text
	.p2align 4
	.type	pixcir_ts_report, @function
pixcir_ts_report:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rsi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 72
	movsx	rdx, DWORD PTR PIXCIR_MAX_SLOTS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	rax, rdx
	lea	rdx, 15[0+rdx*4]
	mov	rcx, rdx
	and	rdx, -4096
	sub	rsi, rdx
	and	rcx, -16
	mov	rdx, rsi
	cmp	rsp, rdx
	je	.L3
.L19:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rdx
	jne	.L19
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L20
.L4:
	mov	rcx, QWORD PTR 16[rbx]
	mov	r14d, DWORD PTR [r12]
	mov	QWORD PTR -104[rbp], rsp
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR -96[rbp], rcx
	mov	rcx, QWORD PTR 8[rbx]
	cmp	eax, r14d
	cmovle	r14d, eax
	cmp	QWORD PTR [rcx], 0
	mov	QWORD PTR -88[rbp], rcx
	jne	.L5
	mov	rdx, QWORD PTR 8[r12]
	xor	r8d, r8d
	mov	ecx, r14d
	mov	rsi, rsp
	call	input_mt_assign_slots@PLT
	mov	edi, DWORD PTR [rbx]
.L5:
	test	r14d, r14d
	jle	.L6
	lea	eax, -1[r14]
	xor	r13d, r13d
	mov	QWORD PTR -80[rbp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR [rax+r13*4]
.L9:
	mov	esi, ecx
	mov	DWORD PTR -68[rbp], ecx
	lea	r15, 0[0+r13*8]
	call	input_mt_slot@PLT
	mov	esi, DWORD PTR MT_TOOL_FINGER[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, 1
	call	input_mt_report_slot_state@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	esi, DWORD PTR ABS_MT_POSITION_X[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR 4[rax+r15]
	call	input_report_abs@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	esi, DWORD PTR ABS_MT_POSITION_Y[rip]
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR [rax+r13*8]
	call	input_report_abs@PLT
	add	r15, QWORD PTR 8[r12]
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, r14d
	mov	r9d, DWORD PTR [r15]
	mov	r8d, DWORD PTR 4[r15]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	rdi, QWORD PTR -96[rbp]
	call	dev_dbg@PLT
.L10:
	mov	edi, DWORD PTR [rbx]
	lea	rax, 1[r13]
	cmp	QWORD PTR -80[rbp], r13
	je	.L6
	mov	r13, rax
.L11:
	mov	rax, QWORD PTR -88[rbp]
	mov	r14d, r13d
	cmp	QWORD PTR [rax], 0
	je	.L7
	mov	rax, QWORD PTR 16[r12]
	mov	esi, DWORD PTR [rax+r13*4]
	call	input_mt_get_slot_by_key@PLT
	mov	ecx, eax
	test	eax, eax
	js	.L8
	mov	edi, DWORD PTR [rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L6:
	call	input_mt_sync_frame@PLT
	mov	edi, DWORD PTR [rbx]
	call	input_sync@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[r12]
	mov	rdi, QWORD PTR -96[rbp]
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR [rax+r13*4]
	xor	eax, eax
	call	dev_dbg@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pixcir_ts_report, .-pixcir_ts_report
	.comm	PIXCIR_MAX_SLOTS,4,4
	.comm	MT_TOOL_FINGER,4,4
	.comm	ABS_MT_POSITION_Y,4,4
	.comm	ABS_MT_POSITION_X,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_pixcir_i2c_ts.c_pixcir_ts_report.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no free slot for id 0x%x\012\000"
	.align	2
.LC1:
	.ascii	"%d: slot %d, x %d, y %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pixcir_ts_report, %function
pixcir_ts_report:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	ldr	r3, .L15
	ldr	r2, [r1]
	ldr	r7, [r3]
	ldr	r8, [r0, #4]
	lsl	r3, r7, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	cmp	r7, r2
	sub	sp, sp, r3
	movlt	r3, r7
	movge	r3, r2
	mov	r6, r1
	str	r3, [fp, #-48]
	ldr	r1, [r8]
	ldr	r3, .L15+4
	cmp	r1, #0
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	add	r3, sp, #8
	mov	r5, r0
	ldr	r9, [r0, #8]
	str	r3, [fp, #-52]
	ldr	r0, [r0]
	beq	.L13
.L2:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	ble	.L3
	mov	r4, #0
	ldr	r10, .L15+8
	b	.L8
.L4:
	ldr	r3, [fp, #-52]
	ldr	r7, [r3, r4, lsl #2]
.L6:
	mov	r1, r7
	bl	input_mt_slot
	ldr	r3, .L15+12
	mov	r2, #1
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	input_mt_report_slot_state
	ldr	r2, [r6, #4]
	ldr	r3, .L15+16
	add	r2, r2, r4, lsl #3
	ldr	r1, [r3]
	ldr	r2, [r2, #4]
	ldr	r0, [r5]
	bl	input_report_abs
	ldr	r3, .L15+20
	ldr	r2, [r6, #4]
	ldr	r1, [r3]
	ldr	r2, [r2, r4, lsl #3]
	ldr	r0, [r5]
	bl	input_report_abs
	ldr	r2, [r6, #4]
	lsl	r1, r4, #3
	ldr	r0, [r2, r4, lsl #3]
	add	r2, r2, r1
	str	r0, [sp, #4]
	ldr	r2, [r2, #4]
	mov	r3, r7
	str	r2, [sp]
	mov	r1, r10
	mov	r2, r4
	mov	r0, r9
	bl	dev_dbg
.L7:
	ldr	r3, [fp, #-48]
	add	r4, r4, #1
	cmp	r3, r4
	ldr	r0, [r5]
	beq	.L3
.L8:
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [r6, #8]
	ldr	r1, [r3, r4, lsl #2]
	bl	input_mt_get_slot_by_key
	subs	r7, r0, #0
	blt	.L5
	ldr	r0, [r5]
	b	.L6
.L3:
	bl	input_mt_sync_frame
	ldr	r0, [r5]
	bl	input_sync
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r3, [r6, #8]
	mov	r0, r9
	ldr	r1, .L15+24
	ldr	r2, [r3, r4, lsl #2]
	bl	dev_dbg
	b	.L7
.L13:
	str	r1, [sp]
	ldr	r3, [fp, #-48]
	ldr	r2, [r6, #4]
	ldr	r1, [fp, #-52]
	bl	input_mt_assign_slots
	ldr	r0, [r5]
	b	.L2
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	PIXCIR_MAX_SLOTS
	.word	.LC2
	.word	.LC1
	.word	MT_TOOL_FINGER
	.word	ABS_MT_POSITION_X
	.word	ABS_MT_POSITION_Y
	.word	.LC0
	.size	pixcir_ts_report, .-pixcir_ts_report
	.comm	PIXCIR_MAX_SLOTS,4,4
	.comm	MT_TOOL_FINGER,4,4
	.comm	ABS_MT_POSITION_Y,4,4
	.comm	ABS_MT_POSITION_X,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
