	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function epia_test_proto
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	3                               ## 0x3
LCPI0_1:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_2:
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	2                               ## 0x2
	.byte	3                               ## 0x3
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_3:
	.byte	0                               ## 0x0
	.byte	2                               ## 0x2
	.byte	4                               ## 0x4
	.byte	6                               ## 0x6
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_4:
	.byte	1                               ## 0x1
	.byte	3                               ## 0x3
	.byte	5                               ## 0x5
	.byte	7                               ## 0x7
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_5:
	.byte	0                               ## 0x0
	.byte	8                               ## 0x8
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_6:
	.byte	5                               ## 0x5
	.byte	5                               ## 0x5
	.byte	5                               ## 0x5
	.byte	5                               ## 0x5
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_7:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_8:
	.byte	254                             ## 0xfe
	.byte	254                             ## 0xfe
	.byte	254                             ## 0xfe
	.byte	254                             ## 0xfe
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_9:
	.byte	250                             ## 0xfa
	.byte	250                             ## 0xfa
	.byte	250                             ## 0xfa
	.byte	250                             ## 0xfa
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
LCPI0_10:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_11:
	.byte	8                               ## 0x8
	.byte	8                               ## 0x8
	.byte	8                               ## 0x8
	.byte	8                               ## 0x8
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_epia_test_proto:                       ## @epia_test_proto
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_epia_connect
	movl	$6, %edi
	movl	$160, %esi
	callq	_WR
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r15d
	xorl	$170, %r15d
	movl	$2, %edi
	movl	%r15d, %esi
	callq	_WR
	movl	%ebx, %esi
	xorl	$85, %esi
	movl	$3, %edi
	callq	_WR
	movl	$2, %edi
	callq	_RR
	xorl	%ecx, %ecx
	cmpl	%r15d, %eax
	setne	%cl
	addl	%ecx, %r13d
	incl	%ebx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	movl	$2, %edi
	movl	$1, %esi
	callq	_WR
	movl	$3, %edi
	movl	$1, %esi
	callq	_WR
	movl	$6, %edi
	movl	$176, %esi
	callq	_WR
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r14d
	xorl	$170, %r14d
	movl	$2, %edi
	movl	%r14d, %esi
	callq	_WR
	movl	%r15d, %esi
	xorl	$85, %esi
	movl	$3, %edi
	callq	_WR
	movl	$2, %edi
	callq	_RR
	xorl	%ecx, %ecx
	cmpl	%r14d, %eax
	setne	%cl
	addl	%ecx, %ebx
	incl	%r15d
	cmpl	$256, %r15d                     ## imm = 0x100
	jne	LBB0_3
## %bb.4:
	movl	$2, %edi
	movl	$1, %esi
	callq	_WR
	movl	$3, %edi
	movl	$1, %esi
	callq	_WR
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_epia_disconnect
	movq	%r14, %rdi
	callq	_epia_connect
	movl	$132, %edi
	movl	$8, %esi
	callq	_WR
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_epia_read_block
	movdqa	LCPI0_0(%rip), %xmm9            ## xmm9 = [2,3]
	movdqa	LCPI0_1(%rip), %xmm5            ## xmm5 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = <0,1,2,3,u,u,u,u,u,u,u,u,u,u,u,u>
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	movdqa	LCPI0_5(%rip), %xmm13           ## xmm13 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
	pcmpeqd	%xmm7, %xmm7
	movdqa	LCPI0_7(%rip), %xmm12           ## xmm12 = [1,1,1,1]
	movdqa	LCPI0_10(%rip), %xmm15          ## xmm15 = [8,8]
	pxor	%xmm6, %xmm6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rax,2), %xmm14           ## xmm14 = mem[0],zero
	movq	8(%r12,%rax,2), %xmm8           ## xmm8 = mem[0],zero
	movdqa	%xmm14, %xmm10
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = <0,2,4,6,u,u,u,u,u,u,u,u,u,u,u,u>
	pshufb	%xmm4, %xmm10
	movdqa	%xmm5, %xmm2
	pshufb	%xmm13, %xmm2
	movdqa	%xmm9, %xmm0
	pshufb	%xmm13, %xmm0
	punpcklwd	%xmm0, %xmm2            ## xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
	movdqa	%xmm2, %xmm11
	psubb	%xmm7, %xmm11
	pcmpeqb	%xmm10, %xmm11
	movdqa	%xmm8, %xmm0
	pshufb	%xmm4, %xmm0
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = <1,3,5,7,u,u,u,u,u,u,u,u,u,u,u,u>
	pshufb	%xmm4, %xmm14
	pshufb	%xmm4, %xmm8
	paddb	LCPI0_6(%rip), %xmm2
	pcmpeqb	%xmm0, %xmm2
	movdqa	LCPI0_8(%rip), %xmm0            ## xmm0 = <254,254,254,254,u,u,u,u,u,u,u,u,u,u,u,u>
	psubb	%xmm3, %xmm0
	pcmpeqb	%xmm14, %xmm0
	movdqa	LCPI0_9(%rip), %xmm4            ## xmm4 = <250,250,250,250,u,u,u,u,u,u,u,u,u,u,u,u>
	psubb	%xmm3, %xmm4
	pcmpeqb	%xmm8, %xmm4
	pxor	%xmm7, %xmm0
	pmovzxbd	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero
	pand	%xmm12, %xmm0
	paddd	%xmm0, %xmm1
	pxor	%xmm7, %xmm11
	pmovzxbd	%xmm11, %xmm0                   ## xmm0 = xmm11[0],zero,zero,zero,xmm11[1],zero,zero,zero,xmm11[2],zero,zero,zero,xmm11[3],zero,zero,zero
	pand	%xmm12, %xmm0
	paddd	%xmm0, %xmm1
	pxor	%xmm7, %xmm4
	pmovzxbd	%xmm4, %xmm0                    ## xmm0 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
	pand	%xmm12, %xmm0
	paddd	%xmm0, %xmm6
	pxor	%xmm7, %xmm2
	pmovzxbd	%xmm2, %xmm0                    ## xmm0 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
	pand	%xmm12, %xmm0
	paddd	%xmm0, %xmm6
	addq	$8, %rax
	paddq	%xmm15, %xmm5
	paddq	%xmm15, %xmm9
	paddb	LCPI0_11(%rip), %xmm3
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_5
## %bb.6:
	paddd	%xmm1, %xmm6
	pshufd	$238, %xmm6, %xmm0              ## xmm0 = xmm6[2,3,2,3]
	paddd	%xmm6, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %r15d
	movl	$132, %edi
	xorl	%esi, %esi
	callq	_WR
	movq	%r14, %rdi
	callq	_epia_disconnect
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movl	8(%r14), %esi
	movl	(%r14), %ecx
	movl	4(%r14), %edx
	movl	%r15d, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %r8d
	movl	%ebx, %r9d
	callq	_printk
LBB0_8:
	testl	%r13d, %r13d
	setne	%al
	testl	%ebx, %ebx
	setne	%cl
	andb	%al, %cl
	testl	%r15d, %r15d
	setne	%al
	orb	%cl, %al
	movzbl	%al, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: epia: port 0x%x, mode %d, test=(%d,%d,%d)\n"

	.no_dead_strip	_epia_test_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function epia_test_proto
lCPI0_0:
	.quad	14                              ; 0xe
	.quad	15                              ; 0xf
lCPI0_1:
	.quad	12                              ; 0xc
	.quad	13                              ; 0xd
lCPI0_2:
	.quad	10                              ; 0xa
	.quad	11                              ; 0xb
lCPI0_3:
	.quad	8                               ; 0x8
	.quad	9                               ; 0x9
lCPI0_4:
	.quad	6                               ; 0x6
	.quad	7                               ; 0x7
lCPI0_5:
	.quad	4                               ; 0x4
	.quad	5                               ; 0x5
lCPI0_6:
	.quad	2                               ; 0x2
	.quad	3                               ; 0x3
lCPI0_7:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
lCPI0_8:
	.byte	0                               ; 0x0
	.byte	1                               ; 0x1
	.byte	2                               ; 0x2
	.byte	3                               ; 0x3
	.byte	4                               ; 0x4
	.byte	5                               ; 0x5
	.byte	6                               ; 0x6
	.byte	7                               ; 0x7
	.byte	8                               ; 0x8
	.byte	9                               ; 0x9
	.byte	10                              ; 0xa
	.byte	11                              ; 0xb
	.byte	12                              ; 0xc
	.byte	13                              ; 0xd
	.byte	14                              ; 0xe
	.byte	15                              ; 0xf
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_epia_test_proto:                       ; @epia_test_proto
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_epia_connect
	mov	w0, #6
	mov	w1, #160
	bl	_WR
	mov	w19, #0
	mov	w24, #0
	mov	w25, #170
	mov	w26, #85
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	eor	w23, w24, w25
	mov	w0, #2
	mov	x1, x23
	bl	_WR
	eor	w1, w24, w26
	mov	w0, #3
	bl	_WR
	mov	w0, #2
	bl	_RR
	cmp	w0, w23
	cinc	w19, w19, ne
	add	w24, w24, #1
	cmp	w24, #256
	b.ne	LBB0_1
; %bb.2:
	mov	w0, #2
	mov	w1, #1
	bl	_WR
	mov	w0, #3
	mov	w1, #1
	bl	_WR
	mov	w0, #6
	mov	w1, #176
	bl	_WR
	mov	w23, #0
	mov	w25, #0
	mov	w26, #170
	mov	w27, #85
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	eor	w24, w25, w26
	mov	w0, #2
	mov	x1, x24
	bl	_WR
	eor	w1, w25, w27
	mov	w0, #3
	bl	_WR
	mov	w0, #2
	bl	_RR
	cmp	w0, w24
	cinc	w23, w23, ne
	add	w25, w25, #1
	cmp	w25, #256
	b.ne	LBB0_3
; %bb.4:
	mov	w0, #2
	mov	w1, #1
	bl	_WR
	mov	w0, #3
	mov	w1, #1
	bl	_WR
	mov	x0, x20
	bl	_epia_disconnect
	mov	x0, x20
	bl	_epia_connect
	mov	w0, #132
	mov	w1, #8
	bl	_WR
	mov	x0, x20
	mov	x1, x22
	mov	w2, #512
	bl	_epia_read_block
	mov	x8, #0
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x9, lCPI0_1@PAGE
Lloh3:
	ldr	q1, [x9, lCPI0_1@PAGEOFF]
Lloh4:
	adrp	x9, lCPI0_2@PAGE
Lloh5:
	ldr	q2, [x9, lCPI0_2@PAGEOFF]
Lloh6:
	adrp	x9, lCPI0_3@PAGE
Lloh7:
	ldr	q3, [x9, lCPI0_3@PAGEOFF]
Lloh8:
	adrp	x9, lCPI0_4@PAGE
Lloh9:
	ldr	q4, [x9, lCPI0_4@PAGEOFF]
Lloh10:
	adrp	x9, lCPI0_5@PAGE
Lloh11:
	ldr	q5, [x9, lCPI0_5@PAGEOFF]
Lloh12:
	adrp	x9, lCPI0_6@PAGE
Lloh13:
	ldr	q6, [x9, lCPI0_6@PAGEOFF]
Lloh14:
	adrp	x9, lCPI0_7@PAGE
Lloh15:
	ldr	q7, [x9, lCPI0_7@PAGEOFF]
	mov	w9, #16
	dup.2d	v16, x9
Lloh16:
	adrp	x9, lCPI0_8@PAGE
Lloh17:
	ldr	q17, [x9, lCPI0_8@PAGEOFF]
	movi.2d	v22, #0000000000000000
	movi.16b	v18, #1
	movi.4s	v19, #1
	movi.16b	v20, #254
	movi.16b	v21, #16
	movi.2d	v24, #0000000000000000
	movi.2d	v25, #0000000000000000
	movi.2d	v23, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x22, x8
	ld2.16b	{ v26, v27 }, [x9]
	uzp1.4s	v28, v7, v6
	uzp1.4s	v29, v5, v4
	uzp1.8h	v28, v28, v29
	uzp1.4s	v29, v3, v2
	uzp1.4s	v30, v1, v0
	uzp1.8h	v29, v29, v30
	uzp1.16b	v28, v28, v29
	add.16b	v28, v28, v18
	cmeq.16b	v28, v26, v28
	mvn.16b	v28, v28
	ushll2.8h	v29, v28, #0
	ushll2.4s	v30, v29, #0
	and.16b	v30, v30, v19
	ushll.4s	v29, v29, #0
	and.16b	v29, v29, v19
	ushll.8h	v28, v28, #0
	ushll2.4s	v31, v28, #0
	and.16b	v31, v31, v19
	ushll.4s	v28, v28, #0
	and.16b	v28, v28, v19
	add.4s	v22, v22, v28
	add.4s	v24, v24, v31
	add.4s	v25, v25, v29
	add.4s	v23, v23, v30
	sub.16b	v28, v20, v17
	cmeq.16b	v26, v27, v28
	mvn.16b	v26, v26
	ushll.8h	v27, v26, #0
	ushll.4s	v28, v27, #0
	and.16b	v28, v28, v19
	ushll2.4s	v27, v27, #0
	and.16b	v27, v27, v19
	ushll2.8h	v26, v26, #0
	ushll.4s	v29, v26, #0
	and.16b	v29, v29, v19
	ushll2.4s	v26, v26, #0
	and.16b	v26, v26, v19
	add.4s	v23, v23, v26
	add.4s	v25, v25, v29
	add.4s	v24, v24, v27
	add.4s	v22, v22, v28
	add.2d	v5, v5, v16
	add.2d	v6, v6, v16
	add.2d	v7, v7, v16
	add.2d	v4, v4, v16
	add.2d	v3, v3, v16
	add.2d	v2, v2, v16
	add.2d	v1, v1, v16
	add.2d	v0, v0, v16
	add.16b	v17, v17, v21
	add	x8, x8, #32
	cmp	x8, #512
	b.ne	LBB0_5
; %bb.6:
	add.4s	v0, v22, v25
	add.4s	v1, v24, v23
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w22, s0
	mov	w0, #132
	mov	w1, #0
	bl	_WR
	mov	x0, x20
	bl	_epia_disconnect
	cbz	w21, LBB0_8
; %bb.7:
	ldp	w2, w1, [x20, #4]
	ldr	w3, [x20]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x19
	mov	x5, x23
	mov	x6, x22
	bl	_printk
LBB0_8:
	cmp	w19, #0
	ccmp	w23, #0, #4, ne
	ccmp	w22, #0, #0, eq
	cset	w0, ne
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: epia: port 0x%x, mode %d, test=(%d,%d,%d)\n"

	.no_dead_strip	_epia_test_proto
.subsections_via_symbols
