	.file	"extr_colibri-vf50-ts.c_vf50_ts_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to register iio channel release action"
	.align 8
.LC1:
	.string	"Inadequate ADC channels specified\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"vf50-ts-min-pressure"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Failed to allocate TS input device\n"
	.align 8
.LC4:
	.string	"Failed to register input device\n"
	.section	.rodata.str1.1
.LC5:
	.string	"xp"
.LC6:
	.string	"xm"
.LC7:
	.string	"yp"
.LC8:
	.string	"ym"
.LC9:
	.string	"vf50 touch"
.LC10:
	.string	"Failed to request IRQ %d: %d\n"
	.text
	.p2align 4
	.type	vf50_ts_probe, @function
vf50_ts_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	iio_channel_get_all@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L21
	mov	esi, DWORD PTR vf50_ts_channel_release[rip]
	mov	rdx, r13
	mov	rdi, rbp
	call	devm_add_action@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	cmp	QWORD PTR 0[r13], 0
	mov	edx, 1
	je	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12d, edx
	add	rdx, 1
	cmp	QWORD PTR -8[r13+rdx*8], 0
	jne	.L4
.L5:
	cmp	DWORD PTR COLI_TOUCH_REQ_ADC_CHAN[rip], r12d
	je	.L7
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 56
	mov	rdi, rbp
	call	devm_kzalloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L19
	mov	QWORD PTR 48[rax], rbp
	mov	edi, DWORD PTR 0[rbp]
	lea	rdx, 32[rax]
	lea	rsi, .LC2[rip]
	mov	QWORD PTR 40[rax], r13
	call	of_property_read_u32@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	call	devm_input_allocate_device@PLT
	mov	r12, rax
	test	rax, rax
	je	.L22
	mov	eax, DWORD PTR DRIVER_NAME[rip]
	mov	QWORD PTR 8[r12], rbp
	mov	rdi, r12
	mov	edx, DWORD PTR BTN_TOUCH[rip]
	mov	esi, DWORD PTR EV_KEY[rip]
	mov	DWORD PTR 20[r12], eax
	mov	eax, DWORD PTR BUS_HOST[rip]
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR vf50_ts_open[rip]
	mov	DWORD PTR 4[r12], eax
	mov	eax, DWORD PTR vf50_ts_close[rip]
	mov	DWORD PTR [r12], eax
	call	input_set_capability@PLT
	mov	ecx, DWORD PTR VF_ADC_MAX[rip]
	mov	rdi, r12
	xor	edx, edx
	mov	esi, DWORD PTR ABS_X[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	call	input_set_abs_params@PLT
	mov	ecx, DWORD PTR VF_ADC_MAX[rip]
	mov	rdi, r12
	xor	edx, edx
	mov	esi, DWORD PTR ABS_Y[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	call	input_set_abs_params@PLT
	mov	ecx, DWORD PTR VF_ADC_MAX[rip]
	xor	r9d, r9d
	xor	edx, edx
	mov	esi, DWORD PTR ABS_PRESSURE[rip]
	xor	r8d, r8d
	mov	rdi, r12
	call	input_set_abs_params@PLT
	mov	QWORD PTR 24[rbx], r12
	mov	rdi, r12
	mov	rsi, rbx
	call	input_set_drvdata@PLT
	mov	rdi, r12
	call	input_register_device@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L23
	mov	ecx, DWORD PTR GPIOD_OUT_LOW[rip]
	lea	rsi, 20[rbx]
	lea	rdx, .LC5[rip]
	mov	rdi, rbp
	call	vf50_ts_get_gpiod@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR GPIOD_OUT_LOW[rip]
	lea	rsi, 16[rbx]
	lea	rdx, .LC6[rip]
	mov	rdi, rbp
	call	vf50_ts_get_gpiod@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR GPIOD_OUT_LOW[rip]
	lea	rsi, 12[rbx]
	lea	rdx, .LC7[rip]
	mov	rdi, rbp
	call	vf50_ts_get_gpiod@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR GPIOD_OUT_LOW[rip]
	lea	rsi, 8[rbx]
	lea	rdx, .LC8[rip]
	mov	rdi, rbp
	call	vf50_ts_get_gpiod@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	xor	esi, esi
	mov	rdi, rbp
	call	platform_get_irq@PLT
	mov	QWORD PTR [rbx], rax
	mov	rsi, rax
	mov	r12d, eax
	test	rax, rax
	js	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r8d, DWORD PTR IRQF_ONESHOT[rip]
	xor	edx, edx
	mov	rdi, rbp
	push	rbx
	.cfi_def_cfa_offset 64
	mov	ecx, DWORD PTR vf50_ts_irq_bh[rip]
	lea	r9, .LC9[rip]
	call	devm_request_threaded_irq@PLT
	mov	r12d, eax
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	test	r12d, r12d
	je	.L1
	mov	rdx, QWORD PTR [rbx]
	mov	ecx, r12d
	lea	rsi, .LC10[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
.L22:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r13
	call	iio_channel_release_all@PLT
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	vf50_ts_probe, .-vf50_ts_probe
	.comm	vf50_ts_open,4,4
	.comm	vf50_ts_irq_bh,4,4
	.comm	vf50_ts_close,4,4
	.comm	vf50_ts_channel_release,4,4
	.comm	VF_ADC_MAX,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EV_KEY,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DRIVER_NAME,4,4
	.comm	COLI_TOUCH_REQ_ADC_CHAN,4,4
	.comm	BUS_HOST,4,4
	.comm	BTN_TOUCH,4,4
	.comm	ABS_Y,4,4
	.comm	ABS_X,4,4
	.comm	ABS_PRESSURE,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_colibri-vf50-ts.c_vf50_ts_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to register iio channel release action\000"
	.align	2
.LC1:
	.ascii	"Inadequate ADC channels specified\012\000"
	.align	2
.LC2:
	.ascii	"vf50-ts-min-pressure\000"
	.align	2
.LC3:
	.ascii	"Failed to allocate TS input device\012\000"
	.align	2
.LC4:
	.ascii	"Failed to register input device\012\000"
	.align	2
.LC5:
	.ascii	"xp\000"
	.align	2
.LC6:
	.ascii	"xm\000"
	.align	2
.LC7:
	.ascii	"yp\000"
	.align	2
.LC8:
	.ascii	"ym\000"
	.align	2
.LC9:
	.ascii	"vf50 touch\000"
	.align	2
.LC10:
	.ascii	"Failed to request IRQ %d: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vf50_ts_probe, %function
vf50_ts_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #16
	mov	r6, r0
	bl	iio_channel_get_all
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L19
	ldr	r3, .L22
	mov	r2, r5
	mov	r0, r6
	ldr	r1, [r3]
	bl	devm_add_action
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, [r5]
	cmp	r3, #0
	movne	r3, r5
	beq	.L5
.L7:
	ldr	r2, [r3, #4]!
	add	r4, r4, #1
	cmp	r2, #0
	bne	.L7
.L5:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L8
	mov	r0, r6
	ldr	r1, .L22+8
	bl	dev_err
	ldr	r3, .L22+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L22+16
	mov	r1, #36
	mov	r0, r6
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r7, r0, #0
	beq	.L17
	ldr	r1, .L22+20
	ldr	r0, [r6]
	str	r6, [r7, #32]
	str	r5, [r7, #28]
	add	r2, r7, #24
	bl	of_property_read_u32
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r6
	bl	devm_input_allocate_device
	subs	r5, r0, #0
	beq	.L20
	ldr	r3, .L22+24
	ldr	ip, .L22+28
	ldr	r3, [r3]
	ldr	r1, .L22+32
	ldr	r2, .L22+36
	ldr	lr, [ip]
	str	r3, [r5, #16]
	ldr	ip, [r1]
	ldr	r3, .L22+40
	ldr	r1, [r2]
	ldr	r2, .L22+44
	stm	r5, {r1, ip}
	str	lr, [r5, #12]
	ldr	r1, [r3]
	ldr	r2, [r2]
	str	r6, [r5, #8]
	bl	input_set_capability
	ldr	r8, .L22+48
	ldr	r2, .L22+52
	str	r4, [sp, #4]
	str	r4, [sp]
	ldr	r1, [r2]
	ldr	r3, [r8]
	mov	r2, r4
	mov	r0, r5
	bl	input_set_abs_params
	ldr	r2, .L22+56
	str	r4, [sp, #4]
	str	r4, [sp]
	ldr	r1, [r2]
	ldr	r3, [r8]
	mov	r2, r4
	mov	r0, r5
	bl	input_set_abs_params
	ldr	r1, .L22+60
	str	r4, [sp, #4]
	str	r4, [sp]
	mov	r2, r4
	ldr	r3, [r8]
	ldr	r1, [r1]
	mov	r0, r5
	bl	input_set_abs_params
	mov	r1, r7
	mov	r0, r5
	str	r5, [r7, #20]
	bl	input_set_drvdata
	mov	r0, r5
	bl	input_register_device
	subs	r4, r0, #0
	bne	.L21
	ldr	r5, .L22+64
	mov	r0, r6
	ldr	r2, .L22+68
	ldr	r3, [r5]
	add	r1, r7, #16
	bl	vf50_ts_get_gpiod
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r6
	ldr	r3, [r5]
	ldr	r2, .L22+72
	add	r1, r7, #12
	bl	vf50_ts_get_gpiod
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r6
	ldr	r3, [r5]
	ldr	r2, .L22+76
	add	r1, r7, #8
	bl	vf50_ts_get_gpiod
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r6
	ldr	r3, [r5]
	ldr	r2, .L22+80
	add	r1, r7, #4
	bl	vf50_ts_get_gpiod
	subs	r4, r0, #0
	bne	.L1
	mov	r1, r4
	mov	r0, r6
	bl	platform_get_irq
	cmp	r0, #0
	mov	r4, r0
	str	r0, [r7]
	blt	.L1
	ldr	r2, .L22+84
	ldr	r3, .L22+88
	ldr	r0, [r2]
	ldr	r2, .L22+92
	str	r0, [sp]
	str	r7, [sp, #8]
	mov	r1, r4
	ldr	r3, [r3]
	mov	r0, r6
	str	r2, [sp, #4]
	mov	r2, #0
	bl	devm_request_threaded_irq
	subs	r4, r0, #0
	beq	.L1
	mov	r0, r6
	mov	r3, r4
	ldr	r2, [r7]
	ldr	r1, .L22+96
	bl	dev_err
	b	.L1
.L19:
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L20:
	mov	r0, r6
	ldr	r1, .L22+100
	bl	dev_err
.L17:
	ldr	r3, .L22+104
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L3:
	mov	r0, r5
	bl	iio_channel_release_all
	mov	r0, r6
	ldr	r1, .L22+108
	bl	dev_err
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	mov	r0, r6
	ldr	r1, .L22+112
	bl	dev_err
	b	.L1
.L23:
	.align	2
.L22:
	.word	vf50_ts_channel_release
	.word	COLI_TOUCH_REQ_ADC_CHAN
	.word	.LC1
	.word	EINVAL
	.word	GFP_KERNEL
	.word	.LC2
	.word	DRIVER_NAME
	.word	BUS_HOST
	.word	vf50_ts_open
	.word	vf50_ts_close
	.word	EV_KEY
	.word	BTN_TOUCH
	.word	VF_ADC_MAX
	.word	ABS_X
	.word	ABS_Y
	.word	ABS_PRESSURE
	.word	GPIOD_OUT_LOW
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	IRQF_ONESHOT
	.word	vf50_ts_irq_bh
	.word	.LC9
	.word	.LC10
	.word	.LC3
	.word	ENOMEM
	.word	.LC0
	.word	.LC4
	.size	vf50_ts_probe, .-vf50_ts_probe
	.comm	vf50_ts_open,4,4
	.comm	vf50_ts_irq_bh,4,4
	.comm	vf50_ts_close,4,4
	.comm	vf50_ts_channel_release,4,4
	.comm	VF_ADC_MAX,4,4
	.comm	IRQF_ONESHOT,4,4
	.comm	GPIOD_OUT_LOW,4,4
	.comm	GFP_KERNEL,4,4
	.comm	EV_KEY,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DRIVER_NAME,4,4
	.comm	COLI_TOUCH_REQ_ADC_CHAN,4,4
	.comm	BUS_HOST,4,4
	.comm	BTN_TOUCH,4,4
	.comm	ABS_Y,4,4
	.comm	ABS_X,4,4
	.comm	ABS_PRESSURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
