	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmc_v7_0_is_idle
_gmc_v7_0_is_idle:                      ## @gmc_v7_0_is_idle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_mmSRBM_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_SRBM_STATUS__MCB_BUSY_MASK@GOTPCREL(%rip), %rcx
	movq	_SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_SRBM_STATUS__MCC_BUSY_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SRBM_STATUS__MCD_BUSY_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SRBM_STATUS__VMC_BUSY_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	xorl	%ecx, %ecx
	testl	%eax, %edx
	sete	%cl
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mmSRBM_STATUS,4,2              ## @mmSRBM_STATUS
	.comm	_SRBM_STATUS__MCB_BUSY_MASK,4,2 ## @SRBM_STATUS__MCB_BUSY_MASK
	.comm	_SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK,4,2 ## @SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK
	.comm	_SRBM_STATUS__MCC_BUSY_MASK,4,2 ## @SRBM_STATUS__MCC_BUSY_MASK
	.comm	_SRBM_STATUS__MCD_BUSY_MASK,4,2 ## @SRBM_STATUS__MCD_BUSY_MASK
	.comm	_SRBM_STATUS__VMC_BUSY_MASK,4,2 ## @SRBM_STATUS__VMC_BUSY_MASK
	.no_dead_strip	_gmc_v7_0_is_idle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmc_v7_0_is_idle
_gmc_v7_0_is_idle:                      ; @gmc_v7_0_is_idle
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _mmSRBM_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmSRBM_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_RREG32
Lloh3:
	adrp	x8, _SRBM_STATUS__MCB_BUSY_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SRBM_STATUS__MCB_BUSY_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _SRBM_STATUS__MCC_BUSY_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SRBM_STATUS__MCC_BUSY_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SRBM_STATUS__MCD_BUSY_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SRBM_STATUS__MCD_BUSY_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _SRBM_STATUS__VMC_BUSY_MASK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _SRBM_STATUS__VMC_BUSY_MASK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	orr	w8, w8, w9
	tst	w8, w0
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmSRBM_STATUS,4,2              ; @mmSRBM_STATUS
	.comm	_SRBM_STATUS__MCB_BUSY_MASK,4,2 ; @SRBM_STATUS__MCB_BUSY_MASK
	.comm	_SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK,4,2 ; @SRBM_STATUS__MCB_NON_DISPLAY_BUSY_MASK
	.comm	_SRBM_STATUS__MCC_BUSY_MASK,4,2 ; @SRBM_STATUS__MCC_BUSY_MASK
	.comm	_SRBM_STATUS__MCD_BUSY_MASK,4,2 ; @SRBM_STATUS__MCD_BUSY_MASK
	.comm	_SRBM_STATUS__VMC_BUSY_MASK,4,2 ; @SRBM_STATUS__VMC_BUSY_MASK
	.no_dead_strip	_gmc_v7_0_is_idle
.subsections_via_symbols
