	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs600_gart_tlb_flush           ## -- Begin function rs600_gart_tlb_flush
	.p2align	4, 0x90
_rs600_gart_tlb_flush:                  ## @rs600_gart_tlb_flush
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_R_000100_MC_PT0_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG32_MC
	movq	_C_000100_INVALIDATE_ALL_L1_TLBS@GOTPCREL(%rip), %r12
	andl	(%r12), %eax
	movq	_C_000100_INVALIDATE_L2_CACHE@GOTPCREL(%rip), %r13
	andl	(%r13), %eax
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_WREG32_MC
	movl	(%r15), %edi
	callq	_RREG32_MC
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_S_000100_INVALIDATE_ALL_L1_TLBS
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_S_000100_INVALIDATE_L2_CACHE
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_WREG32_MC
	movl	(%r15), %edi
	callq	_RREG32_MC
	andl	(%r12), %eax
	andl	(%r13), %eax
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_WREG32_MC
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RREG32_MC                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_000100_MC_PT0_CNTL,4,2       ## @R_000100_MC_PT0_CNTL
	.comm	_C_000100_INVALIDATE_ALL_L1_TLBS,4,2 ## @C_000100_INVALIDATE_ALL_L1_TLBS
	.comm	_C_000100_INVALIDATE_L2_CACHE,4,2 ## @C_000100_INVALIDATE_L2_CACHE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs600_gart_tlb_flush           ; -- Begin function rs600_gart_tlb_flush
	.p2align	2
_rs600_gart_tlb_flush:                  ; @rs600_gart_tlb_flush
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _R_000100_MC_PT0_CNTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _R_000100_MC_PT0_CNTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG32_MC
Lloh2:
	adrp	x22, _C_000100_INVALIDATE_ALL_L1_TLBS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _C_000100_INVALIDATE_ALL_L1_TLBS@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x23, _C_000100_INVALIDATE_L2_CACHE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _C_000100_INVALIDATE_L2_CACHE@GOTPAGEOFF]
	ldr	w9, [x23]
	and	w8, w8, w0
	and	w1, w8, w9
	ldr	w0, [x21]
	bl	_WREG32_MC
	ldr	w0, [x21]
	bl	_RREG32_MC
	mov	x19, x0
	mov	w0, #1
	bl	_S_000100_INVALIDATE_ALL_L1_TLBS
	mov	x20, x0
	mov	w0, #1
	bl	_S_000100_INVALIDATE_L2_CACHE
	orr	w8, w20, w19
	orr	w1, w8, w0
	ldr	w0, [x21]
	bl	_WREG32_MC
	ldr	w0, [x21]
	bl	_RREG32_MC
	ldr	w8, [x22]
	ldr	w9, [x23]
	and	w8, w8, w0
	and	w1, w8, w9
	ldr	w0, [x21]
	bl	_WREG32_MC
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_RREG32_MC
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_R_000100_MC_PT0_CNTL,4,2       ; @R_000100_MC_PT0_CNTL
	.comm	_C_000100_INVALIDATE_ALL_L1_TLBS,4,2 ; @C_000100_INVALIDATE_ALL_L1_TLBS
	.comm	_C_000100_INVALIDATE_L2_CACHE,4,2 ; @C_000100_INVALIDATE_L2_CACHE
.subsections_via_symbols
