	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs600_gart_disable
_rs600_gart_disable:                    ## @rs600_gart_disable
	.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, %r14
	movq	_R_000100_MC_PT0_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_WREG32_MC
	movq	_R_000009_MC_CNTL1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32_MC
	movl	(%rbx), %edi
	movq	_C_000009_ENABLE_PAGE_TABLES@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %esi
	callq	_WREG32_MC
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_radeon_gart_table_vram_unpin   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_000100_MC_PT0_CNTL,4,2       ## @R_000100_MC_PT0_CNTL
	.comm	_R_000009_MC_CNTL1,4,2          ## @R_000009_MC_CNTL1
	.comm	_C_000009_ENABLE_PAGE_TABLES,4,2 ## @C_000009_ENABLE_PAGE_TABLES
	.no_dead_strip	_rs600_gart_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs600_gart_disable
_rs600_gart_disable:                    ; @rs600_gart_disable
	.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
Lloh0:
	adrp	x8, _R_000100_MC_PT0_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_000100_MC_PT0_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_WREG32_MC
Lloh3:
	adrp	x20, _R_000009_MC_CNTL1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _R_000009_MC_CNTL1@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32_MC
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _C_000009_ENABLE_PAGE_TABLES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _C_000009_ENABLE_PAGE_TABLES@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w1, w9, w0
	mov	x0, x8
	bl	_WREG32_MC
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_radeon_gart_table_vram_unpin
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_000100_MC_PT0_CNTL,4,2       ; @R_000100_MC_PT0_CNTL
	.comm	_R_000009_MC_CNTL1,4,2          ; @R_000009_MC_CNTL1
	.comm	_C_000009_ENABLE_PAGE_TABLES,4,2 ; @C_000009_ENABLE_PAGE_TABLES
	.no_dead_strip	_rs600_gart_disable
.subsections_via_symbols
