	.file	"extr_elantech.c_elantech_is_signature_valid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	elantech_is_signature_valid, @function
elantech_is_signature_valid:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	eax, BYTE PTR [rdi]
	test	al, al
	je	.L15
	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
	movzx	edx, BYTE PTR 1[rdi]
	test	dl, dl
	je	.L8
	and	eax, 15
	cmp	al, 5
	jbe	.L7
	and	edx, -81
	cmp	dl, 15
	je	.L16
.L7:
	lea	r12, rates.1920[rip]
	mov	rbx, r12
	mov	r13, r12
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	add	rbx, 1
	movzx	eax, BYTE PTR -1[rbx]
	cmp	BYTE PTR 2[rbp], al
	je	.L9
.L6:
	mov	rdi, r13
	call	ARRAY_SIZE@PLT
	mov	r8d, eax
	mov	eax, ebx
	sub	eax, r12d
	cmp	r8d, eax
	jg	.L10
.L8:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
.L9:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L16:
	.cfi_restore_state
	cmp	BYTE PTR 2[rdi], 39
	ja	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	elantech_is_signature_valid, .-elantech_is_signature_valid
	.section	.rodata
	.type	rates.1920, @object
	.size	rates.1920, 7
rates.1920:
	.ascii	"\310dP<(\024\n"
	.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_is_signature_valid.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	elantech_is_signature_valid, %function
elantech_is_signature_valid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	push	{r4, r5, r6, r7, r8, lr}
	ldrb	r2, [r0, #1]	@ zero_extendqisi2
	mov	r5, r0
	cmp	r2, #0
	beq	.L8
	and	r3, r3, #15
	cmp	r3, #5
	bls	.L7
	and	r2, r2, #175
	cmp	r2, #15
	beq	.L16
.L7:
	ldr	r6, .L17
	mov	r4, #0
	mov	r7, r6
	b	.L6
.L10:
	ldrb	r3, [r6], #1	@ zero_extendqisi2
	ldrb	r2, [r5, #2]	@ zero_extendqisi2
	add	r4, r4, #1
	cmp	r2, r3
	beq	.L9
.L6:
	mov	r0, r7
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L10
.L8:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldrb	r3, [r0, #2]	@ zero_extendqisi2
	cmp	r3, #39
	bhi	.L7
	b	.L8
.L15:
	mov	r0, #0
	bx	lr
.L18:
	.align	2
.L17:
	.word	.LANCHOR0
	.size	elantech_is_signature_valid, .-elantech_is_signature_valid
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	rates.4204, %object
	.size	rates.4204, 7
rates.4204:
	.ascii	"\310dP<(\024\012"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
