	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ektf2127_parse_coordinates
_ektf2127_parse_coordinates:            ## @ektf2127_parse_coordinates
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movl	%esi, %eax
	addq	$8, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %esi
	andl	$15, %esi
	shll	$8, %esi
	movl	%esi, (%rdx,%rcx,8)
	orl	8(%rdi), %esi
	movl	%esi, (%rdx,%rcx,8)
	movl	(%rdi), %esi
	shll	$4, %esi
	andl	$3840, %esi                     ## imm = 0xF00
	movl	%esi, 4(%rdx,%rcx,8)
	orl	4(%rdi), %esi
	movl	%esi, 4(%rdx,%rcx,8)
	incq	%rcx
	addq	$12, %rdi
	cmpq	%rcx, %rax
	jne	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ektf2127_parse_coordinates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ektf2127_parse_coordinates
_ektf2127_parse_coordinates:            ; @ektf2127_parse_coordinates
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_8
; %bb.1:
	mov	w8, w1
	cmp	w1, #5
	b.lo	LBB0_5
; %bb.2:
	add	x10, x0, #8
	mov	w9, #12
	madd	x9, x8, x9, x0
	add	x9, x9, #8
	add	x11, x2, x8, lsl #3
	cmp	x9, x2
	ccmp	x10, x11, #2, hi
	b.lo	LBB0_5
; %bb.3:
	ands	x9, x8, #0x3
	mov	w11, #4
	csel	x9, x11, x9, eq
	sub	x9, x8, x9
	add	x11, x2, #16
	movi.4s	v0, #15, lsl #8
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ld3.4s	{ v1, v2, v3 }, [x10]
	sub	x13, x11, #8
	shl.4s	v1, v1, #8
	and.16b	v1, v1, v0
	fmov	w14, s1
	mov	x15, x11
	str	w14, [x15, #-16]!
	st1.s	{ v1 }[1], [x13]
	add	x13, x11, #8
	st1.s	{ v1 }[2], [x11]
	st1.s	{ v1 }[3], [x13]
	ld3.4s	{ v2, v3, v4 }, [x10], #48
	orr.16b	v5, v1, v4
	shl.4s	v1, v2, #4
	and.16b	v6, v1, v0
	sub	x13, x11, #4
	st2.4s	{ v5, v6 }, [x15]
	add	x14, x11, #4
	add	x15, x11, #12
	orr.16b	v1, v6, v3
	stur	s1, [x11, #-12]
	st1.s	{ v1 }[1], [x13]
	st1.s	{ v1 }[2], [x14]
	st1.s	{ v1 }[3], [x15]
	add	x11, x11, #32
	subs	x12, x12, #4
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	x9, #0
LBB0_6:
	sub	x8, x8, x9
	add	x10, x2, x9, lsl #3
	add	x10, x10, #4
	mov	w11, #12
	madd	x9, x9, x11, x0
	add	x9, x9, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	ubfiz	w11, w11, #8, #4
	stur	w11, [x10, #-4]
	ldr	w12, [x9, #8]
	orr	w11, w11, w12
	stur	w11, [x10, #-4]
	ldr	w11, [x9]
	lsl	w11, w11, #4
	and	w11, w11, #0xf00
	str	w11, [x10]
	ldr	w12, [x9, #4]
	orr	w11, w11, w12
	str	w11, [x10], #8
	add	x9, x9, #12
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ektf2127_parse_coordinates
.subsections_via_symbols
