	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edt_ft5x06_ts_identify
_edt_ft5x06_ts_identify:                ## @edt_ft5x06_ts_identify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EDT_NAME_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movl	(%r12), %ecx
	decl	%ecx
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	movq	%r15, %r8
	callq	_edt_ft5x06_ts_readwrite
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.1:
	movq	%r15, %rbx
	incq	%rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$3, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.16:
	movq	_GENERIC_FT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	movl	$2, %ecx
	movq	%r15, %r8
	callq	_edt_ft5x06_ts_readwrite
	movl	%eax, %r12d
	testl	%eax, %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_27
## %bb.17:
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_strlcpy
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	movq	%r15, %r8
	callq	_edt_ft5x06_ts_readwrite
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_27
## %bb.18:
	movsbl	(%r15), %r8d
	leal	-53(%r8), %eax
	cmpl	$59, %eax
	ja	LBB0_26
## %bb.19:
	movabsq	$576460769617526785, %rcx       ## imm = 0x800000408004001
	btq	%rax, %rcx
	jae	LBB0_20
## %bb.29:
	movq	_EDT_M09@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_EDT_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r8d, %ecx
	shrl	$4, %ecx
	andl	$15, %r8d
	leaq	L_.str.5(%rip), %rdx
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_27
LBB0_2:
	movq	_EDT_M06@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_EDT_NAME_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movslq	%r14d, %rax
	movb	$0, -1(%rax,%r15)
	cmpb	$36, -2(%rax,%r15)
	jne	LBB0_4
## %bb.3:
	movb	$0, -2(%r15,%rax)
LBB0_4:
	movq	%r15, %rdi
	movl	$42, %esi
	callq	_strchr
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	incq	%r15
	movb	$0, (%rax)
	movl	(%r13), %r14d
	jmp	LBB0_7
LBB0_10:
	movq	_EDT_M12@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	_EDT_NAME_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movslq	%r14d, %rax
	movb	$0, -2(%rax,%r15)
	cmpb	$36, -3(%rax,%r15)
	jne	LBB0_12
## %bb.11:
	movb	$0, -3(%r15,%rax)
LBB0_12:
	movq	%r15, %rdi
	movl	$42, %esi
	callq	_strchr
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	movl	(%r13), %r14d
	jmp	LBB0_15
LBB0_5:
	xorl	%r15d, %r15d
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_strlcpy
	testq	%r15, %r15
	leaq	L_.str.2(%rip), %rsi
	cmovneq	%r15, %rsi
	jmp	LBB0_8
LBB0_13:
	xorl	%ebx, %ebx
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_strlcpy
	testq	%rbx, %rbx
	leaq	L_.str.2(%rip), %rsi
	cmovneq	%rbx, %rsi
LBB0_8:
	movl	(%r13), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlcpy
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.28:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	cmpq	$36, %rax
	je	LBB0_24
## %bb.21:
	cmpq	$37, %rax
	jne	LBB0_26
## %bb.22:
	movq	_EDT_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_23
LBB0_24:
	movq	_EV_FT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	leaq	L_.str.8(%rip), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	movq	%r15, %r8
	callq	_edt_ft5x06_ts_readwrite
	movl	%eax, %r12d
	testl	%eax, %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_27
## %bb.25:
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_strlcpy
	movq	_EDT_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdx
LBB0_23:
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_27
LBB0_26:
	movq	_EDT_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdx
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r8d, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_27
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EDT_NAME_LEN,4,2               ## @EDT_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\273"

L_.str.1:                               ## @.str.1
	.asciz	"EP0"

	.comm	_EDT_M06,8,3                    ## @EDT_M06
L_.str.2:                               ## @.str.2
	.space	1

	.comm	_EDT_M12,8,3                    ## @EDT_M12
	.comm	_GENERIC_FT,8,3                 ## @GENERIC_FT
L_.str.3:                               ## @.str.3
	.asciz	"\246"

L_.str.4:                               ## @.str.4
	.asciz	"\250"

	.comm	_EDT_M09,8,3                    ## @EDT_M09
L_.str.5:                               ## @.str.5
	.asciz	"EP0%i%i0M09"

L_.str.7:                               ## @.str.7
	.asciz	"GKTW50SCED1R0"

	.comm	_EV_FT,8,3                      ## @EV_FT
L_.str.8:                               ## @.str.8
	.asciz	"S"

L_.str.9:                               ## @.str.9
	.asciz	"EVERVISION-FT5726NEi"

L_.str.10:                              ## @.str.10
	.asciz	"generic ft5x06 (%02x)"

	.no_dead_strip	_edt_ft5x06_ts_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edt_ft5x06_ts_identify
_edt_ft5x06_ts_identify:                ; @edt_ft5x06_ts_identify
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _EDT_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x25, [x25, _EDT_NAME_LEN@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x9, x2
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	x20, [x1]
	mov	x0, x21
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	ldr	w8, [x25]
	sub	w3, w8, #1
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	w1, #1
	mov	x4, x21
	bl	_edt_ft5x06_ts_readwrite
	cbnz	w0, LBB0_21
; %bb.1:
	add	x24, x21, #1
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	mov	w2, #3
	bl	_strncasecmp
	cbz	w0, LBB0_9
; %bb.2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncasecmp
	cbz	w0, LBB0_14
; %bb.3:
Lloh13:
	adrp	x8, _GENERIC_FT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GENERIC_FT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x22, #8]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	w1, #1
	mov	w3, #2
	mov	x4, x21
	bl	_edt_ft5x06_ts_readwrite
	cbnz	w0, LBB0_21
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #2
	bl	_strlcpy
Lloh18:
	adrp	x2, l_.str.4@PAGE
Lloh19:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	w1, #1
	mov	w3, #1
	mov	x4, x21
	bl	_edt_ft5x06_ts_readwrite
	cbnz	w0, LBB0_21
; %bb.5:
	ldrsb	w8, [x21]
	sub	w9, w8, #53
	cmp	w9, #59
	b.hi	LBB0_29
; %bb.6:
	mov	w10, #1
	lsl	x10, x10, x9
	mov	x11, #576469548530665472
	movk	x11, #16385
	movk	x11, #4, lsl #32
	tst	x10, x11
	b.eq	LBB0_23
; %bb.7:
Lloh20:
	adrp	x9, _EDT_M09@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EDT_M09@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	str	x9, [x22, #8]
	ldr	w1, [x25]
	lsr	w9, w8, #4
	and	w8, w8, #0xf
	stp	x9, x8, [sp, #-16]!
Lloh23:
	adrp	x2, l_.str.5@PAGE
Lloh24:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_8:
	mov	x0, x20
	bl	_snprintf
	add	sp, sp, #16
	b	LBB0_20
LBB0_9:
Lloh25:
	adrp	x8, _EDT_M06@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EDT_M06@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	x8, [x22, #8]
	ldrsw	x22, [x25]
	add	x8, x22, x21
	sturb	wzr, [x8, #-1]
	sub	x8, x22, #2
	ldrb	w9, [x21, x8]
	cmp	w9, #36
	b.ne	LBB0_11
; %bb.10:
	strb	wzr, [x21, x8]
LBB0_11:
	mov	x0, x21
	mov	w1, #42
	bl	_strchr
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.12:
	strb	wzr, [x21], #1
	ldr	w22, [x25]
LBB0_13:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_strlcpy
Lloh28:
	adrp	x8, l_.str.2@PAGE
Lloh29:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x21, #0
	csel	x1, x8, x21, eq
	b	LBB0_19
LBB0_14:
Lloh30:
	adrp	x8, _EDT_M12@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EDT_M12@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [x22, #8]
	ldrsw	x22, [x25]
	add	x8, x22, x21
	sturb	wzr, [x8, #-2]
	sub	x8, x22, #3
	ldrb	w9, [x21, x8]
	cmp	w9, #36
	b.ne	LBB0_16
; %bb.15:
	strb	wzr, [x21, x8]
LBB0_16:
	mov	x0, x21
	mov	w1, #42
	bl	_strchr
	mov	x23, x0
	cbz	x0, LBB0_18
; %bb.17:
	strb	wzr, [x23], #1
	ldr	w22, [x25]
LBB0_18:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_strlcpy
Lloh33:
	adrp	x8, l_.str.2@PAGE
Lloh34:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x23, #0
	csel	x1, x8, x23, eq
LBB0_19:
	ldr	w2, [x25]
	mov	x0, x19
	bl	_strlcpy
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldur	x8, [x29, #-72]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.22:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_23:
	cmp	x9, #36
	b.eq	LBB0_26
; %bb.24:
	cmp	x9, #37
	b.ne	LBB0_29
; %bb.25:
	ldr	w1, [x25]
Lloh38:
	adrp	x2, l_.str.7@PAGE
Lloh39:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_28
LBB0_26:
Lloh40:
	adrp	x8, _EV_FT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EV_FT@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	str	x8, [x22, #8]
Lloh43:
	adrp	x2, l_.str.8@PAGE
Lloh44:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x23
	mov	w1, #1
	mov	w3, #1
	mov	x4, x21
	bl	_edt_ft5x06_ts_readwrite
	cbnz	w0, LBB0_21
; %bb.27:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_strlcpy
	ldr	w1, [x25]
Lloh45:
	adrp	x2, l_.str.9@PAGE
Lloh46:
	add	x2, x2, l_.str.9@PAGEOFF
LBB0_28:
	mov	x0, x20
	bl	_snprintf
	b	LBB0_20
LBB0_29:
	ldr	w1, [x25]
	str	x8, [sp, #-16]!
Lloh47:
	adrp	x2, l_.str.10@PAGE
Lloh48:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_8
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_EDT_NAME_LEN,4,2               ; @EDT_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\273"

l_.str.1:                               ; @.str.1
	.asciz	"EP0"

	.comm	_EDT_M06,8,3                    ; @EDT_M06
l_.str.2:                               ; @.str.2
	.space	1

	.comm	_EDT_M12,8,3                    ; @EDT_M12
	.comm	_GENERIC_FT,8,3                 ; @GENERIC_FT
l_.str.3:                               ; @.str.3
	.asciz	"\246"

l_.str.4:                               ; @.str.4
	.asciz	"\250"

	.comm	_EDT_M09,8,3                    ; @EDT_M09
l_.str.5:                               ; @.str.5
	.asciz	"EP0%i%i0M09"

l_.str.7:                               ; @.str.7
	.asciz	"GKTW50SCED1R0"

	.comm	_EV_FT,8,3                      ; @EV_FT
l_.str.8:                               ; @.str.8
	.asciz	"S"

l_.str.9:                               ; @.str.9
	.asciz	"EVERVISION-FT5726NEi"

l_.str.10:                              ; @.str.10
	.asciz	"generic ft5x06 (%02x)"

	.no_dead_strip	_edt_ft5x06_ts_identify
.subsections_via_symbols
