	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function altera_cvp_dummy_write
_altera_cvp_dummy_write:                ## @altera_cvp_dummy_write
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_VSE_CVP_MODE_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	callq	_altera_read_config_dword
	movq	_VSE_CVP_MODE_CTRL_NUMCLKS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movq	_VSE_CVP_MODE_CTRL_NUMCLKS_OFF@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %edx
	movl	%edx, -28(%rbp)
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_altera_write_config_dword
	movq	_CVP_DUMMY_WR@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*(%r15)
	incl	%ebx
	cmpl	(%r14), %ebx
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VSE_CVP_MODE_CTRL,4,2          ## @VSE_CVP_MODE_CTRL
	.comm	_VSE_CVP_MODE_CTRL_NUMCLKS_MASK,4,2 ## @VSE_CVP_MODE_CTRL_NUMCLKS_MASK
	.comm	_VSE_CVP_MODE_CTRL_NUMCLKS_OFF,4,2 ## @VSE_CVP_MODE_CTRL_NUMCLKS_OFF
	.comm	_CVP_DUMMY_WR,4,2               ## @CVP_DUMMY_WR
	.no_dead_strip	_altera_cvp_dummy_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function altera_cvp_dummy_write
_altera_cvp_dummy_write:                ; @altera_cvp_dummy_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _VSE_CVP_MODE_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VSE_CVP_MODE_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_altera_read_config_dword
Lloh2:
	adrp	x8, _VSE_CVP_MODE_CTRL_NUMCLKS_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VSE_CVP_MODE_CTRL_NUMCLKS_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
Lloh5:
	adrp	x9, _VSE_CVP_MODE_CTRL_NUMCLKS_OFF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VSE_CVP_MODE_CTRL_NUMCLKS_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_altera_write_config_dword
Lloh8:
	adrp	x20, _CVP_DUMMY_WR@GOTPAGE
Lloh9:
	ldr	x20, [x20, _CVP_DUMMY_WR@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VSE_CVP_MODE_CTRL,4,2          ; @VSE_CVP_MODE_CTRL
	.comm	_VSE_CVP_MODE_CTRL_NUMCLKS_MASK,4,2 ; @VSE_CVP_MODE_CTRL_NUMCLKS_MASK
	.comm	_VSE_CVP_MODE_CTRL_NUMCLKS_OFF,4,2 ; @VSE_CVP_MODE_CTRL_NUMCLKS_OFF
	.comm	_CVP_DUMMY_WR,4,2               ; @CVP_DUMMY_WR
	.no_dead_strip	_altera_cvp_dummy_write
.subsections_via_symbols
