	.file	"extr_elantech.c_elantech_show_int_attr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0x%02x\n"
	.text
	.p2align 4
	.type	elantech_show_int_attr, @function
elantech_show_int_attr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	movsx	rbp, DWORD PTR [rsi]
	mov	esi, DWORD PTR 4[rsi]
	add	rbp, QWORD PTR [rdi]
	test	esi, esi
	jne	.L2
.L4:
	movzx	edx, BYTE PTR 0[rbp]
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	sprintf@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdx, rbp
	call	elantech_read_reg@PLT
	mov	edx, DWORD PTR 4[rbx]
	test	edx, edx
	je	.L4
	test	eax, eax
	je	.L4
	mov	edx, -1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	elantech_show_int_attr, .-elantech_show_int_attr
	.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_elantech.c_elantech_show_int_attr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x%02x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	elantech_show_int_attr, %function
elantech_show_int_attr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, [r1, #4]
	ldr	r7, [r4]
	ldr	r6, [r0]
	cmp	r1, #0
	mov	r5, r2
	add	r2, r6, r7
	bne	.L2
.L4:
	mov	r0, r5
	ldrb	r2, [r6, r7]	@ zero_extendqisi2
	ldr	r1, .L7
	pop	{r4, r5, r6, r7, r8, lr}
	b	sprintf
.L2:
	bl	elantech_read_reg
	ldr	r3, [r4, #4]
	cmp	r0, #0
	cmpne	r3, #0
	beq	.L4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	mvn	r2, #0
	ldr	r1, .L7
	b	sprintf
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	elantech_show_int_attr, .-elantech_show_int_attr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
