	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ni_force_switch_to_arb_f0
_ni_force_switch_to_arb_f0:             ## @ni_force_switch_to_arb_f0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_rv770_get_pi
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ni_get_pi
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_rv770_read_smc_sram_dword
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	-20(%rbp), %esi
	shrl	$24, %esi
	movl	%esi, -20(%rbp)
	movq	_MC_CG_ARB_FREQ_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	cmpl	%edx, %esi
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ni_copy_and_switch_arb_sets
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_CG_ARB_FREQ_F0,4,2          ## @MC_CG_ARB_FREQ_F0
	.no_dead_strip	_ni_force_switch_to_arb_f0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ni_force_switch_to_arb_f0
_ni_force_switch_to_arb_f0:             ; @ni_force_switch_to_arb_f0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rv770_get_pi
	mov	x20, x0
	mov	x0, x19
	bl	_ni_get_pi
	ldr	w1, [x0]
	ldr	w3, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_rv770_read_smc_sram_dword
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
	lsr	w1, w8, #24
	str	w1, [sp, #12]
Lloh0:
	adrp	x8, _MC_CG_ARB_FREQ_F0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC_CG_ARB_FREQ_F0@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	cmp	w1, w2
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_ni_copy_and_switch_arb_sets
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_CG_ARB_FREQ_F0,4,2          ; @MC_CG_ARB_FREQ_F0
	.no_dead_strip	_ni_force_switch_to_arb_f0
.subsections_via_symbols
