	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvsw61xx_vtu_program
_mvsw61xx_vtu_program:                  ## @mvsw61xx_vtu_program
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_get_state
	movq	%rax, %r12
	movq	_VTU_OP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_MV_GLOBALREG
	movq	_MV_VTUOP_INPROGRESS@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mvsw61xx_wait_mask_s
	movl	(%rbx), %edi
	callq	_MV_GLOBALREG
	movq	_MV_VTUOP_PURGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%r14), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sw16
	movl	(%r15), %eax
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.1:
	movl	$1, %ebx
	xorl	%r14d, %r14d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$24, %r14
	cmpq	%rcx, %rbx
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	cmpq	$0, 24(%rcx,%r14)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 32(%rcx,%r14)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, 36(%rcx,%r14)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_VTU_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	_MV_VTUOP_INPROGRESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mvsw61xx_wait_mask_s
	movq	(%r12), %rax
	movl	40(%rax,%r14), %r12d
	movzwl	%r12w, %r13d
	shrl	$16, %r12d
	movq	_VTU_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	_MV_VTU_VID_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sw16
	movq	_VTU_SID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_sw16
	movq	_VTU_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_sw16
	movq	_VTU_DATA2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_sw16
	movq	_VTU_DATA3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_sw16
	movq	_VTU_OP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_MV_GLOBALREG
	movq	_MV_VTUOP_STULOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MV_VTUOP_INPROGRESS@GOTPCREL(%rip), %r13
	orl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sw16
	movl	(%r12), %edi
	callq	_MV_GLOBALREG
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mvsw61xx_wait_mask_s
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	44(%rax,%r14), %r12d
	movzwl	%r12w, %r13d
	shrl	$16, %r12d
	movq	_VTU_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	32(%rcx,%r14), %edx
	movq	_MV_VTU_VID_VALID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sw16
	movq	_VTU_SID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_sw16
	movq	_VTU_FID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_sw16
	movq	_VTU_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_sw16
	movq	_VTU_DATA2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	callq	_sw16
	movq	_VTU_DATA3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_sw16
	movq	_VTU_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movq	_MV_VTUOP_LOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MV_VTUOP_INPROGRESS@GOTPCREL(%rip), %r13
	orl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_sw16
	movq	_VTU_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MV_GLOBALREG
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mvsw61xx_wait_mask_s
	movl	(%r15), %eax
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VTU_OP,4,2                     ## @VTU_OP
	.comm	_MV_VTUOP_INPROGRESS,4,2        ## @MV_VTUOP_INPROGRESS
	.comm	_MV_VTUOP_PURGE,4,2             ## @MV_VTUOP_PURGE
	.comm	_VTU_VID,4,2                    ## @VTU_VID
	.comm	_MV_VTU_VID_VALID,4,2           ## @MV_VTU_VID_VALID
	.comm	_VTU_SID,4,2                    ## @VTU_SID
	.comm	_VTU_DATA1,4,2                  ## @VTU_DATA1
	.comm	_VTU_DATA2,4,2                  ## @VTU_DATA2
	.comm	_VTU_DATA3,4,2                  ## @VTU_DATA3
	.comm	_MV_VTUOP_STULOAD,4,2           ## @MV_VTUOP_STULOAD
	.comm	_VTU_FID,4,2                    ## @VTU_FID
	.comm	_MV_VTUOP_LOAD,4,2              ## @MV_VTUOP_LOAD
	.no_dead_strip	_mvsw61xx_vtu_program
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvsw61xx_vtu_program
_mvsw61xx_vtu_program:                  ; @mvsw61xx_vtu_program
	.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	x19, x0
	bl	_get_state
	mov	x20, x0
Lloh0:
	adrp	x21, _VTU_OP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VTU_OP@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_MV_GLOBALREG
	mov	x1, x0
Lloh2:
	adrp	x22, _MV_VTUOP_INPROGRESS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MV_VTUOP_INPROGRESS@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	bl	_mvsw61xx_wait_mask_s
	ldr	w0, [x21]
	bl	_MV_GLOBALREG
	mov	x1, x0
	ldr	w8, [x22]
Lloh4:
	adrp	x9, _MV_VTUOP_PURGE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MV_VTUOP_PURGE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_sw16
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.1:
	mov	x26, #0
	mov	w21, #1
Lloh7:
	adrp	x25, _VTU_OP@GOTPAGE
Lloh8:
	ldr	x25, [x25, _VTU_OP@GOTPAGEOFF]
Lloh9:
	adrp	x27, _VTU_VID@GOTPAGE
Lloh10:
	ldr	x27, [x27, _VTU_VID@GOTPAGEOFF]
Lloh11:
	adrp	x28, _MV_VTU_VID_VALID@GOTPAGE
Lloh12:
	ldr	x28, [x28, _MV_VTU_VID_VALID@GOTPAGEOFF]
Lloh13:
	adrp	x24, _VTU_SID@GOTPAGE
Lloh14:
	ldr	x24, [x24, _VTU_SID@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	add	x26, x26, #24
	cmp	x21, w8, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	add	x10, x9, x26
	ldr	x11, [x10, #24]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x10, #32]
	cbz	w10, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, x26
	ldr	w9, [x9, #36]
	cmp	w9, #1
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x25]
	bl	_MV_GLOBALREG
	mov	x1, x0
Lloh15:
	adrp	x8, _MV_VTUOP_INPROGRESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MV_VTUOP_INPROGRESS@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_mvsw61xx_wait_mask_s
	ldr	x8, [x20]
	add	x8, x8, x26
	ldr	w8, [x8, #40]
	and	w22, w8, #0xffff
	lsr	w23, w8, #16
	ldr	w0, [x27]
	bl	_MV_GLOBALREG
	mov	x1, x0
	ldr	w2, [x28]
	mov	x0, x19
	bl	_sw16
	ldr	w0, [x24]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_sw16
Lloh18:
	adrp	x8, _VTU_DATA1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VTU_DATA1@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_sw16
Lloh21:
	adrp	x8, _VTU_DATA2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VTU_DATA2@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_sw16
Lloh24:
	adrp	x8, _VTU_DATA3@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VTU_DATA3@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_sw16
	ldr	w0, [x25]
	bl	_MV_GLOBALREG
	mov	x1, x0
Lloh27:
	adrp	x22, _MV_VTUOP_INPROGRESS@GOTPAGE
Lloh28:
	ldr	x22, [x22, _MV_VTUOP_INPROGRESS@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh29:
	adrp	x9, _MV_VTUOP_STULOAD@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MV_VTUOP_STULOAD@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_sw16
	ldr	w0, [x25]
	bl	_MV_GLOBALREG
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	bl	_mvsw61xx_wait_mask_s
	ldr	x8, [x20]
	add	x8, x8, x26
	ldr	w8, [x8, #44]
	and	w23, w8, #0xffff
	lsr	w22, w8, #16
	ldr	w0, [x27]
	bl	_MV_GLOBALREG
	mov	x1, x0
	ldr	w8, [x28]
	ldr	x9, [x20]
	add	x9, x9, x26
	ldr	w9, [x9, #32]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_sw16
	ldr	w0, [x24]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_sw16
Lloh32:
	adrp	x8, _VTU_FID@GOTPAGE
Lloh33:
	ldr	x8, [x8, _VTU_FID@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_sw16
Lloh35:
	adrp	x8, _VTU_DATA1@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VTU_DATA1@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_sw16
Lloh38:
	adrp	x8, _VTU_DATA2@GOTPAGE
Lloh39:
	ldr	x8, [x8, _VTU_DATA2@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_sw16
Lloh41:
	adrp	x8, _VTU_DATA3@GOTPAGE
Lloh42:
	ldr	x8, [x8, _VTU_DATA3@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_MV_GLOBALREG
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_sw16
	ldr	w0, [x25]
	bl	_MV_GLOBALREG
	mov	x1, x0
Lloh44:
	adrp	x22, _MV_VTUOP_INPROGRESS@GOTPAGE
Lloh45:
	ldr	x22, [x22, _MV_VTUOP_INPROGRESS@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh46:
	adrp	x9, _MV_VTUOP_LOAD@GOTPAGE
Lloh47:
	ldr	x9, [x9, _MV_VTUOP_LOAD@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_sw16
	ldr	w0, [x25]
	bl	_MV_GLOBALREG
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	bl	_mvsw61xx_wait_mask_s
	ldr	w8, [x19]
	b	LBB0_2
LBB0_7:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VTU_OP,4,2                     ; @VTU_OP
	.comm	_MV_VTUOP_INPROGRESS,4,2        ; @MV_VTUOP_INPROGRESS
	.comm	_MV_VTUOP_PURGE,4,2             ; @MV_VTUOP_PURGE
	.comm	_VTU_VID,4,2                    ; @VTU_VID
	.comm	_MV_VTU_VID_VALID,4,2           ; @MV_VTU_VID_VALID
	.comm	_VTU_SID,4,2                    ; @VTU_SID
	.comm	_VTU_DATA1,4,2                  ; @VTU_DATA1
	.comm	_VTU_DATA2,4,2                  ; @VTU_DATA2
	.comm	_VTU_DATA3,4,2                  ; @VTU_DATA3
	.comm	_MV_VTUOP_STULOAD,4,2           ; @MV_VTUOP_STULOAD
	.comm	_VTU_FID,4,2                    ; @VTU_FID
	.comm	_MV_VTUOP_LOAD,4,2              ; @MV_VTUOP_LOAD
	.no_dead_strip	_mvsw61xx_vtu_program
.subsections_via_symbols
