	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function epat_test_proto
_epat_test_proto:                       ## @epat_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, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_epat_connect
	movl	$13, %edi
	callq	_RR
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_epat_disconnect
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_epat_connect
	movl	$6, %edi
	movl	$160, %esi
	callq	_WRi
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r14d
	xorl	$170, %r14d
	movl	$2, %edi
	movl	%r14d, %esi
	callq	_WRi
	movl	%ebx, %esi
	xorl	$85, %esi
	movl	$3, %edi
	callq	_WRi
	movl	$2, %edi
	callq	_RRi
	xorl	%ecx, %ecx
	cmpl	%r14d, %eax
	setne	%cl
	addl	%ecx, %r15d
	incl	%ebx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	movl	$6, %edi
	movl	$176, %esi
	callq	_WRi
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r12d
	xorl	$170, %r12d
	movl	$2, %edi
	movl	%r12d, %esi
	callq	_WRi
	movl	%ebx, %esi
	xorl	$85, %esi
	movl	$3, %edi
	callq	_WRi
	movl	$2, %edi
	callq	_RRi
	xorl	%ecx, %ecx
	cmpl	%r12d, %eax
	setne	%cl
	addl	%ecx, %r14d
	incl	%ebx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_3
## %bb.4:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_epat_disconnect
	movq	%r12, %rdi
	callq	_epat_connect
	movl	$19, %edi
	movl	$1, %esi
	callq	_WR
	xorl	%ebx, %ebx
	movl	$19, %edi
	xorl	%esi, %esi
	callq	_WR
	movl	$10, %edi
	movl	$17, %esi
	callq	_WR
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_epat_read_block
	movl	$254, %eax
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rbx,2), %ecx
	xorl	%edx, %edx
	cmpq	%rcx, %rbx
	setne	%dl
	addl	%r12d, %edx
	movzbl	1(%r13,%rbx,2), %ecx
	leaq	1(%rax), %rsi
	xorl	%edi, %edi
	cmpq	%rcx, %rsi
	setne	%dil
	addl	%edx, %edi
	movzbl	2(%r13,%rbx,2), %ecx
	leaq	1(%rbx), %rdx
	xorl	%esi, %esi
	cmpq	%rcx, %rdx
	setne	%sil
	addl	%edi, %esi
	movzbl	3(%r13,%rbx,2), %ecx
	xorl	%r12d, %r12d
	cmpq	%rcx, %rax
	setne	%r12b
	addl	%esi, %r12d
	addq	$-2, %rax
	addq	$2, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_5
## %bb.6:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_epat_disconnect
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	pushq	%r12
	pushq	%r14
	callq	_printk
	addq	$16, %rsp
LBB0_8:
	testl	%r15d, %r15d
	setne	%al
	testl	%r14d, %r14d
	setne	%cl
	andb	%al, %cl
	testl	%r12d, %r12d
	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: epat: port 0x%x, mode %d, ccr %x, test=(%d,%d,%d)\n"

	.no_dead_strip	_epat_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 epat_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
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_epat_test_proto:                       ; @epat_test_proto
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-144]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	bl	_epat_connect
	mov	w0, #13
	bl	_RR
	mov	x20, x0
	mov	x0, x19
	bl	_epat_disconnect
	mov	x0, x19
	bl	_epat_connect
	mov	w0, #6
	mov	w1, #160
	bl	_WRi
	mov	w22, #0
	mov	w25, #0
	mov	w26, #170
	mov	w27, #85
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	eor	w24, w25, w26
	mov	w0, #2
	mov	x1, x24
	bl	_WRi
	eor	w1, w25, w27
	mov	w0, #3
	bl	_WRi
	mov	w0, #2
	bl	_RRi
	cmp	w0, w24
	cinc	w22, w22, ne
	add	w25, w25, #1
	cmp	w25, #256
	b.ne	LBB0_1
; %bb.2:
	mov	w0, #6
	mov	w1, #176
	bl	_WRi
	mov	w24, #0
	mov	w26, #0
	mov	w27, #170
	mov	w28, #85
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	eor	w25, w26, w27
	mov	w0, #2
	mov	x1, x25
	bl	_WRi
	eor	w1, w26, w28
	mov	w0, #3
	bl	_WRi
	mov	w0, #2
	bl	_RRi
	cmp	w0, w25
	cinc	w24, w24, ne
	add	w26, w26, #1
	cmp	w26, #256
	b.ne	LBB0_3
; %bb.4:
	mov	x0, x19
	bl	_epat_disconnect
	mov	x0, x19
	bl	_epat_connect
	mov	w0, #19
	mov	w1, #1
	bl	_WR
	mov	w0, #19
	mov	w1, #0
	bl	_WR
	mov	w0, #10
	mov	w1, #17
	bl	_WR
	mov	x0, x19
	mov	x1, x23
	mov	w2, #512
	bl	_epat_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]
	mov	w9, #16
	dup.2d	v7, x9
Lloh14:
	adrp	x9, lCPI0_7@PAGE
Lloh15:
	ldr	q16, [x9, lCPI0_7@PAGEOFF]
	movi.2d	v18, #0000000000000000
	movi.2d	v17, #0x000000000000ff
	movi.2d	v20, #0000000000000000
	movi.2d	v21, #0000000000000000
	movi.2d	v19, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x23, x8
	ld2.16b	{ v22, v23 }, [x9]
	ushll.8h	v24, v22, #0
	ushll.4s	v25, v24, #0
	ushll.2d	v26, v25, #0
	ushll2.2d	v25, v25, #0
	ushll2.4s	v24, v24, #0
	ushll.2d	v27, v24, #0
	ushll2.2d	v24, v24, #0
	ushll2.8h	v28, v22, #0
	ushll.4s	v29, v28, #0
	ushll.2d	v30, v29, #0
	ushll2.2d	v29, v29, #0
	ushll2.4s	v28, v28, #0
	ushll.2d	v31, v28, #0
	ushll2.2d	v28, v28, #0
	cmeq.2d	v28, v0, v28
	mvn.16b	v28, v28
	cmeq.2d	v31, v1, v31
	mvn.16b	v31, v31
	uzp1.4s	v28, v31, v28
	cmeq.2d	v29, v2, v29
	mvn.16b	v29, v29
	cmeq.2d	v30, v3, v30
	mvn.16b	v30, v30
	uzp1.4s	v29, v30, v29
	cmeq.2d	v24, v4, v24
	mvn.16b	v24, v24
	cmeq.2d	v27, v5, v27
	mvn.16b	v27, v27
	uzp1.4s	v24, v27, v24
	cmeq.2d	v25, v6, v25
	mvn.16b	v25, v25
	cmeq.2d	v26, v16, v26
	mvn.16b	v26, v26
	uzp1.4s	v25, v26, v25
	sub.4s	v18, v18, v25
	sub.4s	v20, v20, v24
	sub.4s	v21, v21, v29
	sub.4s	v19, v19, v28
	sub.2d	v24, v17, v0
	sub.2d	v25, v17, v1
	sub.2d	v26, v17, v3
	sub.2d	v27, v17, v2
	sub.2d	v28, v17, v5
	sub.2d	v29, v17, v4
	sub.2d	v30, v17, v16
	sub.2d	v31, v17, v6
	ushll2.8h	v8, v23, #0
	ushll2.4s	v9, v8, #0
	ushll2.2d	v10, v9, #0
	ushll.2d	v9, v9, #0
	ushll.4s	v8, v8, #0
	ushll.2d	v11, v8, #0
	ushll2.2d	v8, v8, #0
	ushll.8h	v22, v23, #0
	ushll2.4s	v23, v22, #0
	ushll.2d	v12, v23, #0
	ushll2.2d	v23, v23, #0
	ushll.4s	v22, v22, #0
	ushll.2d	v13, v22, #0
	ushll2.2d	v22, v22, #0
	cmeq.2d	v22, v31, v22
	mvn.16b	v22, v22
	cmeq.2d	v30, v30, v13
	mvn.16b	v30, v30
	uzp1.4s	v22, v30, v22
	cmeq.2d	v23, v29, v23
	mvn.16b	v23, v23
	cmeq.2d	v28, v28, v12
	mvn.16b	v28, v28
	uzp1.4s	v23, v28, v23
	cmeq.2d	v27, v27, v8
	mvn.16b	v27, v27
	cmeq.2d	v26, v26, v11
	mvn.16b	v26, v26
	uzp1.4s	v26, v26, v27
	cmeq.2d	v25, v25, v9
	mvn.16b	v25, v25
	cmeq.2d	v24, v24, v10
	mvn.16b	v24, v24
	uzp1.4s	v24, v25, v24
	sub.4s	v19, v19, v24
	sub.4s	v21, v21, v26
	sub.4s	v20, v20, v23
	sub.4s	v18, v18, v22
	add.2d	v5, v5, v7
	add.2d	v6, v6, v7
	add.2d	v16, v16, v7
	add.2d	v4, v4, v7
	add.2d	v3, v3, v7
	add.2d	v2, v2, v7
	add.2d	v1, v1, v7
	add	x8, x8, #32
	add.2d	v0, v0, v7
	cmp	x8, #512
	b.ne	LBB0_5
; %bb.6:
	add.4s	v0, v18, v21
	add.4s	v1, v20, v19
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w23, s0
	mov	x0, x19
	bl	_epat_disconnect
	cbz	w21, LBB0_8
; %bb.7:
	ldp	w2, w1, [x19, #4]
	ldr	w3, [x19]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x20
	mov	x5, x22
	mov	x6, x24
	mov	x7, x23
	bl	_printk
LBB0_8:
	cmp	w22, #0
	ccmp	w24, #0, #4, ne
	ccmp	w23, #0, #0, eq
	cset	w0, ne
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #144            ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh14, Lloh15
	.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	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: epat: port 0x%x, mode %d, ccr %x, test=(%d,%d,%d)\n"

	.no_dead_strip	_epat_test_proto
.subsections_via_symbols
