	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs400_gart_disable             ## -- Begin function rs400_gart_disable
	.p2align	4, 0x90
_rs400_gart_disable:                    ## @rs400_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_RS690_AIC_CTRL_SCRATCH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32_MC
	movq	_RS690_DIS_OUT_OF_PCI_GART_ACCESS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_WREG32_MC
	movq	_RS480_AGP_ADDRESS_SPACE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WREG32_MC                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RS690_AIC_CTRL_SCRATCH,4,2     ## @RS690_AIC_CTRL_SCRATCH
	.comm	_RS690_DIS_OUT_OF_PCI_GART_ACCESS,4,2 ## @RS690_DIS_OUT_OF_PCI_GART_ACCESS
	.comm	_RS480_AGP_ADDRESS_SPACE_SIZE,4,2 ## @RS480_AGP_ADDRESS_SPACE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs400_gart_disable             ; -- Begin function rs400_gart_disable
	.p2align	2
_rs400_gart_disable:                    ; @rs400_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
Lloh0:
	adrp	x19, _RS690_AIC_CTRL_SCRATCH@GOTPAGE
Lloh1:
	ldr	x19, [x19, _RS690_AIC_CTRL_SCRATCH@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG32_MC
Lloh2:
	adrp	x8, _RS690_DIS_OUT_OF_PCI_GART_ACCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RS690_DIS_OUT_OF_PCI_GART_ACCESS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x19]
	bl	_WREG32_MC
Lloh5:
	adrp	x8, _RS480_AGP_ADDRESS_SPACE_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RS480_AGP_ADDRESS_SPACE_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32_MC
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RS690_AIC_CTRL_SCRATCH,4,2     ; @RS690_AIC_CTRL_SCRATCH
	.comm	_RS690_DIS_OUT_OF_PCI_GART_ACCESS,4,2 ; @RS690_DIS_OUT_OF_PCI_GART_ACCESS
	.comm	_RS480_AGP_ADDRESS_SPACE_SIZE,4,2 ; @RS480_AGP_ADDRESS_SPACE_SIZE
.subsections_via_symbols
