	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmc_v9_0_hw_init
_gmc_v9_0_hw_init:                      ## @gmc_v9_0_hw_init
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_gmc_v9_0_init_golden_registers
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_DCE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_VGA_HDP_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VGA_MEMORY_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movl	$1, %r8d
	callq	_WREG32_FIELD15
	movl	(%r14), %edi
	movq	_VGA_RENDER_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VGA_VSTATUS_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_WREG32_FIELD15
LBB0_2:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gmc_v9_0_gart_enable           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DCE,4,2                        ## @DCE
	.comm	_VGA_HDP_CONTROL,4,2            ## @VGA_HDP_CONTROL
	.comm	_VGA_MEMORY_DISABLE,4,2         ## @VGA_MEMORY_DISABLE
	.comm	_VGA_RENDER_CONTROL,4,2         ## @VGA_RENDER_CONTROL
	.comm	_VGA_VSTATUS_CNTL,4,2           ## @VGA_VSTATUS_CNTL
	.no_dead_strip	_gmc_v9_0_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmc_v9_0_hw_init
_gmc_v9_0_hw_init:                      ; @gmc_v9_0_hw_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	_gmc_v9_0_init_golden_registers
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _DCE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DCE@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _VGA_HDP_CONTROL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VGA_HDP_CONTROL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _VGA_MEMORY_DISABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VGA_MEMORY_DISABLE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	w1, #0
	mov	w4, #1
	bl	_WREG32_FIELD15
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _VGA_RENDER_CONTROL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VGA_RENDER_CONTROL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _VGA_VSTATUS_CNTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VGA_VSTATUS_CNTL@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	w1, #0
	mov	w4, #0
	bl	_WREG32_FIELD15
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gmc_v9_0_gart_enable
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DCE,4,2                        ; @DCE
	.comm	_VGA_HDP_CONTROL,4,2            ; @VGA_HDP_CONTROL
	.comm	_VGA_MEMORY_DISABLE,4,2         ; @VGA_MEMORY_DISABLE
	.comm	_VGA_RENDER_CONTROL,4,2         ; @VGA_RENDER_CONTROL
	.comm	_VGA_VSTATUS_CNTL,4,2           ; @VGA_VSTATUS_CNTL
	.no_dead_strip	_gmc_v9_0_hw_init
.subsections_via_symbols
