	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function MXL_ControlRead
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
LCPI0_4:
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.space	4
	.space	4
LCPI0_5:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_MXL_ControlRead:                       ## @MXL_ControlRead
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	40(%rcx), %rax
	addq	$16, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, -16(%rax)
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rax
	decq	%rdi
	jne	LBB0_2
LBB0_4:
	movq	8(%rcx), %rdi
	movl	$1, %eax
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	movq	32(%rcx), %rcx
	addq	$16, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, -16(%rcx)
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	$24, %rcx
	decq	%rdi
	jne	LBB0_6
LBB0_8:
	popq	%rbp
	retq
LBB0_9:
	movq	-8(%rax), %r9
	testq	%r9, %r9
	je	LBB0_15
## %bb.10:
	movq	(%rax), %rsi
	cmpq	$4, %r9
	jae	LBB0_16
## %bb.11:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_12:
	movq	-8(%rcx), %r9
	testq	%r9, %r9
	je	LBB0_15
## %bb.13:
	movq	(%rcx), %rsi
	cmpq	$4, %r9
	jae	LBB0_23
## %bb.14:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_16:
	movq	%r9, %rcx
	andq	$-4, %rcx
	leaq	-4(%rcx), %rax
	movq	%rax, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_29
## %bb.17:
	movq	%r8, %rax
	andq	$-2, %rax
	movdqa	LCPI0_0(%rip), %xmm7            ## xmm7 = <0,1,u,u>
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = <2,2,u,u>
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = <4,4,u,u>
	movdqa	LCPI0_4(%rip), %xmm10           ## xmm10 = <6,6,u,u>
	movdqa	LCPI0_5(%rip), %xmm11           ## xmm11 = <8,8,u,u>
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm7, %xmm0
	paddd	%xmm8, %xmm0
	movq	(%rsi,%rdi,4), %xmm5            ## xmm5 = mem[0],zero
	movq	8(%rsi,%rdi,4), %xmm6           ## xmm6 = mem[0],zero
	movdqa	%xmm7, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm3
	pmulld	%xmm5, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm4, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	%xmm6, %xmm0
	pmovsxdq	%xmm3, %xmm3
	paddq	%xmm1, %xmm3
	pmovsxdq	%xmm0, %xmm0
	paddq	%xmm2, %xmm0
	movdqa	%xmm7, %xmm1
	paddd	%xmm9, %xmm1
	movdqa	%xmm7, %xmm2
	paddd	%xmm10, %xmm2
	movq	16(%rsi,%rdi,4), %xmm5          ## xmm5 = mem[0],zero
	movq	24(%rsi,%rdi,4), %xmm6          ## xmm6 = mem[0],zero
	pslld	$23, %xmm1
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pmulld	%xmm5, %xmm1
	pslld	$23, %xmm2
	paddd	%xmm4, %xmm2
	cvttps2dq	%xmm2, %xmm2
	pmulld	%xmm6, %xmm2
	pmovsxdq	%xmm1, %xmm1
	paddq	%xmm3, %xmm1
	pmovsxdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm2
	addq	$8, %rdi
	paddd	%xmm11, %xmm7
	addq	$-2, %rax
	jne	LBB0_18
## %bb.19:
	testb	$1, %r8b
	je	LBB0_21
LBB0_20:
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = <2,2,u,u>
	paddd	%xmm7, %xmm0
	movq	(%rsi,%rdi,4), %xmm3            ## xmm3 = mem[0],zero
	movq	8(%rsi,%rdi,4), %xmm4           ## xmm4 = mem[0],zero
	pslld	$23, %xmm7
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm5, %xmm7
	cvttps2dq	%xmm7, %xmm6
	pmulld	%xmm3, %xmm6
	pslld	$23, %xmm0
	paddd	%xmm5, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	%xmm4, %xmm0
	pmovsxdq	%xmm6, %xmm3
	paddq	%xmm3, %xmm1
	pmovsxdq	%xmm0, %xmm0
	paddq	%xmm0, %xmm2
LBB0_21:
	paddq	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
	jmp	LBB0_32
LBB0_23:
	movq	%r9, %rcx
	andq	$-4, %rcx
	leaq	-4(%rcx), %rax
	movq	%rax, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_30
## %bb.24:
	movq	%r8, %rax
	andq	$-2, %rax
	movdqa	LCPI0_0(%rip), %xmm7            ## xmm7 = <0,1,u,u>
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = <2,2,u,u>
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = <4,4,u,u>
	movdqa	LCPI0_4(%rip), %xmm10           ## xmm10 = <6,6,u,u>
	movdqa	LCPI0_5(%rip), %xmm11           ## xmm11 = <8,8,u,u>
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm7, %xmm0
	paddd	%xmm8, %xmm0
	movq	(%rsi,%rdi,4), %xmm5            ## xmm5 = mem[0],zero
	movq	8(%rsi,%rdi,4), %xmm6           ## xmm6 = mem[0],zero
	movdqa	%xmm7, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm3
	pmulld	%xmm5, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm4, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	%xmm6, %xmm0
	pmovsxdq	%xmm3, %xmm3
	paddq	%xmm1, %xmm3
	pmovsxdq	%xmm0, %xmm0
	paddq	%xmm2, %xmm0
	movdqa	%xmm7, %xmm1
	paddd	%xmm9, %xmm1
	movdqa	%xmm7, %xmm2
	paddd	%xmm10, %xmm2
	movq	16(%rsi,%rdi,4), %xmm5          ## xmm5 = mem[0],zero
	movq	24(%rsi,%rdi,4), %xmm6          ## xmm6 = mem[0],zero
	pslld	$23, %xmm1
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pmulld	%xmm5, %xmm1
	pslld	$23, %xmm2
	paddd	%xmm4, %xmm2
	cvttps2dq	%xmm2, %xmm2
	pmulld	%xmm6, %xmm2
	pmovsxdq	%xmm1, %xmm1
	paddq	%xmm3, %xmm1
	pmovsxdq	%xmm2, %xmm2
	paddq	%xmm0, %xmm2
	addq	$8, %rdi
	paddd	%xmm11, %xmm7
	addq	$-2, %rax
	jne	LBB0_25
## %bb.26:
	testb	$1, %r8b
	je	LBB0_28
LBB0_27:
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = <2,2,u,u>
	paddd	%xmm7, %xmm0
	movq	(%rsi,%rdi,4), %xmm3            ## xmm3 = mem[0],zero
	movq	8(%rsi,%rdi,4), %xmm4           ## xmm4 = mem[0],zero
	pslld	$23, %xmm7
	movdqa	LCPI0_2(%rip), %xmm5            ## xmm5 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm5, %xmm7
	cvttps2dq	%xmm7, %xmm6
	pmulld	%xmm3, %xmm6
	pslld	$23, %xmm0
	paddd	%xmm5, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	%xmm4, %xmm0
	pmovsxdq	%xmm6, %xmm3
	paddq	%xmm3, %xmm1
	pmovsxdq	%xmm0, %xmm0
	paddq	%xmm0, %xmm2
LBB0_28:
	paddq	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
	jmp	LBB0_34
LBB0_29:
	movdqa	LCPI0_0(%rip), %xmm7            ## xmm7 = <0,1,u,u>
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	pxor	%xmm2, %xmm2
	testb	$1, %r8b
	jne	LBB0_20
	jmp	LBB0_21
LBB0_30:
	movdqa	LCPI0_0(%rip), %xmm7            ## xmm7 = <0,1,u,u>
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	pxor	%xmm2, %xmm2
	testb	$1, %r8b
	jne	LBB0_27
	jmp	LBB0_28
LBB0_31:
	movl	(%rsi,%rcx,4), %edi
	shll	%cl, %edi
	movslq	%edi, %rdi
	addq	%rdi, %rax
	incq	%rcx
LBB0_32:
	cmpq	%rcx, %r9
	jne	LBB0_31
	jmp	LBB0_33
LBB0_35:
	movl	(%rsi,%rcx,4), %edi
	shll	%cl, %edi
	movslq	%edi, %rdi
	addq	%rdi, %rax
	incq	%rcx
LBB0_34:
	cmpq	%rcx, %r9
	jne	LBB0_35
LBB0_33:
	movq	%rax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_MXL_ControlRead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function MXL_ControlRead
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_MXL_ControlRead:                       ; @MXL_ControlRead
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.1:
	ldr	x10, [x8, #40]
	add	x10, x10, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-16]
	cmp	x11, x1
	b.eq	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #24
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_12
; %bb.5:
	ldr	x8, [x8, #32]
	add	x10, x8, #16
	mov	w0, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x10, #-16]
	cmp	x8, x1
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x10, x10, #24
	subs	x9, x9, #1
	b.ne	LBB0_6
; %bb.8:
	ret
LBB0_9:
	ldur	x8, [x10, #-8]
	cbz	x8, LBB0_16
; %bb.10:
	ldr	x9, [x10]
	cmp	x8, #8
	b.hs	LBB0_17
; %bb.11:
	mov	x10, #0
	mov	x11, #0
	b	LBB0_23
LBB0_12:
	mov	w0, #1
	ret
LBB0_13:
	ldur	x8, [x10, #-8]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	x9, [x10]
	cmp	x8, #8
	b.hs	LBB0_20
; %bb.15:
	mov	x10, #0
	mov	x11, #0
	b	LBB0_27
LBB0_16:
	mov	x11, #0
	b	LBB0_25
LBB0_17:
	and	x10, x8, #0xfffffffffffffff8
	movi.2d	v0, #0000000000000000
	movi.2s	v1, #2
Lloh0:
	adrp	x11, lCPI0_0@PAGE
Lloh1:
	ldr	d2, [x11, lCPI0_0@PAGEOFF]
	add	x11, x9, #16
	movi.2s	v3, #4
	movi.2s	v4, #6
	movi.2s	v5, #8
	mov	x12, x10
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add.2s	v17, v2, v1
	add.2s	v18, v2, v3
	add.2s	v19, v2, v4
	ldp	d20, d21, [x11, #-16]
	ldp	d22, d23, [x11], #32
	ushl.2s	v20, v20, v2
	ushl.2s	v17, v21, v17
	ushl.2s	v18, v22, v18
	ushl.2s	v19, v23, v19
	saddw.2d	v0, v0, v20
	saddw.2d	v6, v6, v17
	saddw.2d	v7, v7, v18
	saddw.2d	v16, v16, v19
	add.2s	v2, v2, v5
	subs	x12, x12, #8
	b.ne	LBB0_18
; %bb.19:
	add.2d	v0, v6, v0
	add.2d	v0, v7, v0
	add.2d	v0, v16, v0
	addp.2d	d0, v0
	fmov	x11, d0
	b	LBB0_24
LBB0_20:
	and	x10, x8, #0xfffffffffffffff8
	movi.2d	v0, #0000000000000000
	movi.2s	v1, #2
Lloh2:
	adrp	x11, lCPI0_0@PAGE
Lloh3:
	ldr	d2, [x11, lCPI0_0@PAGEOFF]
	add	x11, x9, #16
	movi.2s	v3, #4
	movi.2s	v4, #6
	movi.2s	v5, #8
	mov	x12, x10
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	add.2s	v17, v2, v1
	add.2s	v18, v2, v3
	add.2s	v19, v2, v4
	ldp	d20, d21, [x11, #-16]
	ldp	d22, d23, [x11], #32
	ushl.2s	v20, v20, v2
	ushl.2s	v17, v21, v17
	ushl.2s	v18, v22, v18
	ushl.2s	v19, v23, v19
	saddw.2d	v0, v0, v20
	saddw.2d	v6, v6, v17
	saddw.2d	v7, v7, v18
	saddw.2d	v16, v16, v19
	add.2s	v2, v2, v5
	subs	x12, x12, #8
	b.ne	LBB0_21
; %bb.22:
	add.2d	v0, v6, v0
	add.2d	v0, v7, v0
	add.2d	v0, v16, v0
	addp.2d	d0, v0
	fmov	x11, d0
	b	LBB0_26
LBB0_23:
	ldr	w12, [x9, x10, lsl #2]
	lsl	w12, w12, w10
	add	x11, x11, w12, sxtw
	add	x10, x10, #1
LBB0_24:
	cmp	x8, x10
	b.ne	LBB0_23
LBB0_25:
	mov	x0, #0
	str	x11, [x2]
	ret
LBB0_26:
	cmp	x8, x10
	b.eq	LBB0_25
LBB0_27:
	ldr	w12, [x9, x10, lsl #2]
	lsl	w12, w12, w10
	add	x11, x11, w12, sxtw
	add	x10, x10, #1
	b	LBB0_26
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_MXL_ControlRead
.subsections_via_symbols
