	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ni_mg_clockgating_enable
_ni_mg_clockgating_enable:              ## @ni_mg_clockgating_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	movq	_cayman_mgcg_enable@GOTPCREL(%rip), %rsi
	cmoveq	_cayman_mgcg_disable@GOTPCREL(%rip), %rsi
	movq	_CAYMAN_MGCG_ENABLE_LENGTH@GOTPCREL(%rip), %rax
	cmoveq	_CAYMAN_MGCG_DISABLE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_btc_program_mgcg_hw_sequence   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cayman_mgcg_enable,4,2         ## @cayman_mgcg_enable
	.comm	_CAYMAN_MGCG_ENABLE_LENGTH,4,2  ## @CAYMAN_MGCG_ENABLE_LENGTH
	.comm	_cayman_mgcg_disable,4,2        ## @cayman_mgcg_disable
	.comm	_CAYMAN_MGCG_DISABLE_LENGTH,4,2 ## @CAYMAN_MGCG_DISABLE_LENGTH
	.no_dead_strip	_ni_mg_clockgating_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ni_mg_clockgating_enable
_ni_mg_clockgating_enable:              ; @ni_mg_clockgating_enable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cayman_mgcg_enable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cayman_mgcg_enable@GOTPAGEOFF]
Lloh2:
	adrp	x9, _cayman_mgcg_disable@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cayman_mgcg_disable@GOTPAGEOFF]
	cmp	w1, #0
Lloh4:
	adrp	x10, _CAYMAN_MGCG_DISABLE_LENGTH@GOTPAGE
Lloh5:
	ldr	x10, [x10, _CAYMAN_MGCG_DISABLE_LENGTH@GOTPAGEOFF]
Lloh6:
	adrp	x11, _CAYMAN_MGCG_ENABLE_LENGTH@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CAYMAN_MGCG_ENABLE_LENGTH@GOTPAGEOFF]
	csel	x1, x9, x8, eq
	csel	x8, x10, x11, eq
	ldr	w2, [x8]
	b	_btc_program_mgcg_hw_sequence
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cayman_mgcg_enable,4,2         ; @cayman_mgcg_enable
	.comm	_CAYMAN_MGCG_ENABLE_LENGTH,4,2  ; @CAYMAN_MGCG_ENABLE_LENGTH
	.comm	_cayman_mgcg_disable,4,2        ; @cayman_mgcg_disable
	.comm	_CAYMAN_MGCG_DISABLE_LENGTH,4,2 ; @CAYMAN_MGCG_DISABLE_LENGTH
	.no_dead_strip	_ni_mg_clockgating_enable
.subsections_via_symbols
