	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmc_v8_0_mc_stop
_gmc_v8_0_mc_stop:                      ## @gmc_v8_0_mc_stop
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_gmc_v8_0_wait_for_idle
	movq	_mmMC_SHARED_BLACKOUT_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_RREG32
	movl	%eax, %ebx
	movq	_MC_SHARED_BLACKOUT_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_BLACKOUT_MODE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	%eax, %edi
	callq	_REG_GET_FIELD
	cmpl	$1, %eax
	je	LBB0_2
## %bb.1:
	movq	_mmBIF_FB_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_WREG32
	movl	(%r15), %esi
	movl	(%r12), %edx
	movl	%ebx, %edi
	movl	$1, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_WREG32
LBB0_2:
	movl	$100, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmMC_SHARED_BLACKOUT_CNTL,4,2  ## @mmMC_SHARED_BLACKOUT_CNTL
	.comm	_MC_SHARED_BLACKOUT_CNTL,4,2    ## @MC_SHARED_BLACKOUT_CNTL
	.comm	_BLACKOUT_MODE,4,2              ## @BLACKOUT_MODE
	.comm	_mmBIF_FB_EN,4,2                ## @mmBIF_FB_EN
	.no_dead_strip	_gmc_v8_0_mc_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmc_v8_0_mc_stop
_gmc_v8_0_mc_stop:                      ; @gmc_v8_0_mc_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_gmc_v8_0_wait_for_idle
Lloh0:
	adrp	x20, _mmMC_SHARED_BLACKOUT_CNTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mmMC_SHARED_BLACKOUT_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
	mov	x19, x0
Lloh2:
	adrp	x21, _MC_SHARED_BLACKOUT_CNTL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MC_SHARED_BLACKOUT_CNTL@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x22, _BLACKOUT_MODE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _BLACKOUT_MODE@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_REG_GET_FIELD
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _mmBIF_FB_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mmBIF_FB_EN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_WREG32
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #1
	bl	_REG_SET_FIELD
	mov	x1, x0
	ldr	w0, [x20]
	bl	_WREG32
LBB0_2:
	mov	w0, #100
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_udelay
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_mmMC_SHARED_BLACKOUT_CNTL,4,2  ; @mmMC_SHARED_BLACKOUT_CNTL
	.comm	_MC_SHARED_BLACKOUT_CNTL,4,2    ; @MC_SHARED_BLACKOUT_CNTL
	.comm	_BLACKOUT_MODE,4,2              ; @BLACKOUT_MODE
	.comm	_mmBIF_FB_EN,4,2                ; @mmBIF_FB_EN
	.no_dead_strip	_gmc_v8_0_mc_stop
.subsections_via_symbols
