	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv515_ring_start               ## -- Begin function rv515_ring_start
	.p2align	4, 0x90
_rv515_ring_start:                      ## @rv515_ring_start
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	$64, %edx
	callq	_radeon_ring_lock
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ISYNC_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_ISYNC_ANY2D_IDLE3D@GOTPCREL(%rip), %rax
	movq	_ISYNC_ANY3D_IDLE2D@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_ISYNC_WAIT_IDLEGUI@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_ISYNC_CPSCRATCH_IDLEGUI@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_WAIT_UNTIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_WAIT_2D_IDLECLEAN@GOTPCREL(%rip), %rax
	movq	_WAIT_3D_IDLECLEAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_R300_DST_PIPE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_R300_PIPE_AUTO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_GB_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_radeon_ring_write
	movq	_GB_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_radeon_ring_write
	movq	_R500_SU_REG_DEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movb	(%r14), %cl
	movl	$-1, %esi
	shll	%cl, %esi
	notl	%esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_VAP_INDEX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_radeon_ring_write
	movq	_RB3D_DSTCACHE_CTLSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_RB3D_DC_FLUSH@GOTPCREL(%rip), %rax
	movq	_RB3D_DC_FREE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_ZB_ZCACHE_CTLSTAT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_ZC_FLUSH@GOTPCREL(%rip), %r14
	movq	_ZC_FREE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	orl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_WAIT_UNTIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_WAIT_3D_IDLECLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WAIT_2D_IDLECLEAN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_GB_AA_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_radeon_ring_write
	movq	_RB3D_DSTCACHE_CTLSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movl	(%r13), %esi
	movq	_RB3D_DC_FLUSH@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movl	(%r12), %esi
	orl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_GB_MSPOS0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_MS_X0_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$6, %eax
	shll	%cl, %eax
	movq	_MS_Y0_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %edx
	shll	%cl, %edx
	movq	_MS_X1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %esi
	shll	%cl, %esi
	movq	_MS_Y1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %edi
	shll	%cl, %edi
	orl	%eax, %edx
	orl	%esi, %edi
	movq	_MS_X2_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$6, %eax
	shll	%cl, %eax
	movl	$6, %r15d
	orl	%edx, %edi
	movq	_MS_Y2_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %edx
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_MSBD0_Y_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$6, %eax
	shll	%cl, %eax
	orl	%edx, %eax
	orl	%edi, %eax
	movq	_MSBD0_X_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %esi
	shll	%cl, %esi
	orl	%eax, %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_GB_MSPOS1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_MS_X3_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$6, %edx
	shll	%cl, %edx
	movq	_MS_Y3_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$6, %eax
	shll	%cl, %eax
	movq	_MS_X4_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %esi
	shll	%cl, %esi
	movq	_MS_Y4_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %edi
	shll	%cl, %edi
	orl	%edx, %eax
	movq	_MS_X5_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %edx
	shll	%cl, %edx
	orl	%esi, %edi
	movq	_MS_Y5_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$6, %esi
	shll	%cl, %esi
	movq	_MSBD1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r15d
	orl	%eax, %edi
	orl	%edx, %esi
	orl	%esi, %r15d
	orl	%edi, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_radeon_ring_write
	movq	_GA_ENHANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_GA_DEADLOCK_CNTL@GOTPCREL(%rip), %rax
	movq	_GA_FASTSYNC_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_GA_POLY_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_FRONT_PTYPE_TRIANGE@GOTPCREL(%rip), %rax
	movq	_BACK_PTYPE_TRIANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movq	_GA_ROUND_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	_GEOMETRY_ROUND_NEAREST@GOTPCREL(%rip), %rax
	movq	_COLOR_ROUND_NEAREST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_radeon_ring_write
	movl	$8392, %edi                     ## imm = 0x20C8
	xorl	%esi, %esi
	callq	_PACKET0
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_radeon_ring_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_radeon_ring_write
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_radeon_ring_unlock_commit      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISYNC_CNTL,4,2                 ## @ISYNC_CNTL
	.comm	_ISYNC_ANY2D_IDLE3D,4,2         ## @ISYNC_ANY2D_IDLE3D
	.comm	_ISYNC_ANY3D_IDLE2D,4,2         ## @ISYNC_ANY3D_IDLE2D
	.comm	_ISYNC_WAIT_IDLEGUI,4,2         ## @ISYNC_WAIT_IDLEGUI
	.comm	_ISYNC_CPSCRATCH_IDLEGUI,4,2    ## @ISYNC_CPSCRATCH_IDLEGUI
	.comm	_WAIT_UNTIL,4,2                 ## @WAIT_UNTIL
	.comm	_WAIT_2D_IDLECLEAN,4,2          ## @WAIT_2D_IDLECLEAN
	.comm	_WAIT_3D_IDLECLEAN,4,2          ## @WAIT_3D_IDLECLEAN
	.comm	_R300_DST_PIPE_CONFIG,4,2       ## @R300_DST_PIPE_CONFIG
	.comm	_R300_PIPE_AUTO_CONFIG,4,2      ## @R300_PIPE_AUTO_CONFIG
	.comm	_GB_SELECT,4,2                  ## @GB_SELECT
	.comm	_GB_ENABLE,4,2                  ## @GB_ENABLE
	.comm	_R500_SU_REG_DEST,4,2           ## @R500_SU_REG_DEST
	.comm	_VAP_INDEX_OFFSET,4,2           ## @VAP_INDEX_OFFSET
	.comm	_RB3D_DSTCACHE_CTLSTAT,4,2      ## @RB3D_DSTCACHE_CTLSTAT
	.comm	_RB3D_DC_FLUSH,4,2              ## @RB3D_DC_FLUSH
	.comm	_RB3D_DC_FREE,4,2               ## @RB3D_DC_FREE
	.comm	_ZB_ZCACHE_CTLSTAT,4,2          ## @ZB_ZCACHE_CTLSTAT
	.comm	_ZC_FLUSH,4,2                   ## @ZC_FLUSH
	.comm	_ZC_FREE,4,2                    ## @ZC_FREE
	.comm	_GB_AA_CONFIG,4,2               ## @GB_AA_CONFIG
	.comm	_GB_MSPOS0,4,2                  ## @GB_MSPOS0
	.comm	_MS_X0_SHIFT,4,2                ## @MS_X0_SHIFT
	.comm	_MS_Y0_SHIFT,4,2                ## @MS_Y0_SHIFT
	.comm	_MS_X1_SHIFT,4,2                ## @MS_X1_SHIFT
	.comm	_MS_Y1_SHIFT,4,2                ## @MS_Y1_SHIFT
	.comm	_MS_X2_SHIFT,4,2                ## @MS_X2_SHIFT
	.comm	_MS_Y2_SHIFT,4,2                ## @MS_Y2_SHIFT
	.comm	_MSBD0_Y_SHIFT,4,2              ## @MSBD0_Y_SHIFT
	.comm	_MSBD0_X_SHIFT,4,2              ## @MSBD0_X_SHIFT
	.comm	_GB_MSPOS1,4,2                  ## @GB_MSPOS1
	.comm	_MS_X3_SHIFT,4,2                ## @MS_X3_SHIFT
	.comm	_MS_Y3_SHIFT,4,2                ## @MS_Y3_SHIFT
	.comm	_MS_X4_SHIFT,4,2                ## @MS_X4_SHIFT
	.comm	_MS_Y4_SHIFT,4,2                ## @MS_Y4_SHIFT
	.comm	_MS_X5_SHIFT,4,2                ## @MS_X5_SHIFT
	.comm	_MS_Y5_SHIFT,4,2                ## @MS_Y5_SHIFT
	.comm	_MSBD1_SHIFT,4,2                ## @MSBD1_SHIFT
	.comm	_GA_ENHANCE,4,2                 ## @GA_ENHANCE
	.comm	_GA_DEADLOCK_CNTL,4,2           ## @GA_DEADLOCK_CNTL
	.comm	_GA_FASTSYNC_CNTL,4,2           ## @GA_FASTSYNC_CNTL
	.comm	_GA_POLY_MODE,4,2               ## @GA_POLY_MODE
	.comm	_FRONT_PTYPE_TRIANGE,4,2        ## @FRONT_PTYPE_TRIANGE
	.comm	_BACK_PTYPE_TRIANGE,4,2         ## @BACK_PTYPE_TRIANGE
	.comm	_GA_ROUND_MODE,4,2              ## @GA_ROUND_MODE
	.comm	_GEOMETRY_ROUND_NEAREST,4,2     ## @GEOMETRY_ROUND_NEAREST
	.comm	_COLOR_ROUND_NEAREST,4,2        ## @COLOR_ROUND_NEAREST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv515_ring_start               ; -- Begin function rv515_ring_start
	.p2align	2
_rv515_ring_start:                      ; @rv515_ring_start
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	w2, #64
	bl	_radeon_ring_lock
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _ISYNC_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISYNC_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh3:
	adrp	x8, _ISYNC_ANY2D_IDLE3D@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISYNC_ANY2D_IDLE3D@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ISYNC_ANY3D_IDLE2D@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISYNC_ANY3D_IDLE2D@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _ISYNC_WAIT_IDLEGUI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ISYNC_WAIT_IDLEGUI@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _ISYNC_CPSCRATCH_IDLEGUI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISYNC_CPSCRATCH_IDLEGUI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	bl	_radeon_ring_write
Lloh15:
	adrp	x8, _WAIT_UNTIL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WAIT_UNTIL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh18:
	adrp	x22, _WAIT_2D_IDLECLEAN@GOTPAGE
Lloh19:
	ldr	x22, [x22, _WAIT_2D_IDLECLEAN@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh20:
	adrp	x23, _WAIT_3D_IDLECLEAN@GOTPAGE
Lloh21:
	ldr	x23, [x23, _WAIT_3D_IDLECLEAN@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh22:
	adrp	x8, _R300_DST_PIPE_CONFIG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _R300_DST_PIPE_CONFIG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh25:
	adrp	x8, _R300_PIPE_AUTO_CONFIG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _R300_PIPE_AUTO_CONFIG@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_radeon_ring_write
Lloh28:
	adrp	x8, _GB_SELECT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GB_SELECT@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	mov	x0, x19
	mov	w1, #0
	bl	_radeon_ring_write
Lloh31:
	adrp	x8, _GB_ENABLE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _GB_ENABLE@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	mov	x0, x19
	mov	w1, #0
	bl	_radeon_ring_write
Lloh34:
	adrp	x8, _R500_SU_REG_DEST@GOTPAGE
Lloh35:
	ldr	x8, [x8, _R500_SU_REG_DEST@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	ldr	w8, [x20]
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w1, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh37:
	adrp	x8, _VAP_INDEX_OFFSET@GOTPAGE
Lloh38:
	ldr	x8, [x8, _VAP_INDEX_OFFSET@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	mov	x0, x19
	mov	w1, #0
	bl	_radeon_ring_write
Lloh40:
	adrp	x24, _RB3D_DSTCACHE_CTLSTAT@GOTPAGE
Lloh41:
	ldr	x24, [x24, _RB3D_DSTCACHE_CTLSTAT@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh42:
	adrp	x25, _RB3D_DC_FLUSH@GOTPAGE
Lloh43:
	ldr	x25, [x25, _RB3D_DC_FLUSH@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh44:
	adrp	x26, _RB3D_DC_FREE@GOTPAGE
Lloh45:
	ldr	x26, [x26, _RB3D_DC_FREE@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh46:
	adrp	x27, _ZB_ZCACHE_CTLSTAT@GOTPAGE
Lloh47:
	ldr	x27, [x27, _ZB_ZCACHE_CTLSTAT@GOTPAGEOFF]
	ldr	w0, [x27]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh48:
	adrp	x28, _ZC_FLUSH@GOTPAGE
Lloh49:
	ldr	x28, [x28, _ZC_FLUSH@GOTPAGEOFF]
	ldr	w8, [x28]
Lloh50:
	adrp	x21, _ZC_FREE@GOTPAGE
Lloh51:
	ldr	x21, [x21, _ZC_FREE@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh52:
	adrp	x8, _WAIT_UNTIL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WAIT_UNTIL@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh55:
	adrp	x8, _GB_AA_CONFIG@GOTPAGE
Lloh56:
	ldr	x8, [x8, _GB_AA_CONFIG@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	mov	x0, x19
	mov	w1, #0
	bl	_radeon_ring_write
	ldr	w0, [x24]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
	ldr	w0, [x27]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	ldr	w8, [x28]
	ldr	w9, [x21]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh58:
	adrp	x8, _GB_MSPOS0@GOTPAGE
Lloh59:
	ldr	x8, [x8, _GB_MSPOS0@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh61:
	adrp	x8, _MS_X0_SHIFT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MS_X0_SHIFT@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	mov	w21, #6
	lsl	w8, w21, w8
Lloh64:
	adrp	x9, _MS_Y0_SHIFT@GOTPAGE
Lloh65:
	ldr	x9, [x9, _MS_Y0_SHIFT@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w9, w8
Lloh67:
	adrp	x9, _MS_X1_SHIFT@GOTPAGE
Lloh68:
	ldr	x9, [x9, _MS_X1_SHIFT@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	lsl	w9, w21, w9
Lloh70:
	adrp	x10, _MS_Y1_SHIFT@GOTPAGE
Lloh71:
	ldr	x10, [x10, _MS_Y1_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh72:
	ldr	w9, [x10]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh73:
	adrp	x9, _MS_X2_SHIFT@GOTPAGE
Lloh74:
	ldr	x9, [x9, _MS_X2_SHIFT@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh76:
	adrp	x9, _MS_Y2_SHIFT@GOTPAGE
Lloh77:
	ldr	x9, [x9, _MS_Y2_SHIFT@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh79:
	adrp	x9, _MSBD0_Y_SHIFT@GOTPAGE
Lloh80:
	ldr	x9, [x9, _MSBD0_Y_SHIFT@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh82:
	adrp	x9, _MSBD0_X_SHIFT@GOTPAGE
Lloh83:
	ldr	x9, [x9, _MSBD0_X_SHIFT@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w1, w8, w9
	mov	x0, x19
	bl	_radeon_ring_write
Lloh85:
	adrp	x8, _GB_MSPOS1@GOTPAGE
Lloh86:
	ldr	x8, [x8, _GB_MSPOS1@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh88:
	adrp	x8, _MS_X3_SHIFT@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MS_X3_SHIFT@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	lsl	w8, w21, w8
Lloh91:
	adrp	x9, _MS_Y3_SHIFT@GOTPAGE
Lloh92:
	ldr	x9, [x9, _MS_Y3_SHIFT@GOTPAGEOFF]
Lloh93:
	ldr	w9, [x9]
	lsl	w9, w21, w9
Lloh94:
	adrp	x10, _MS_X4_SHIFT@GOTPAGE
Lloh95:
	ldr	x10, [x10, _MS_X4_SHIFT@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh96:
	ldr	w9, [x10]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh97:
	adrp	x9, _MS_Y4_SHIFT@GOTPAGE
Lloh98:
	ldr	x9, [x9, _MS_Y4_SHIFT@GOTPAGEOFF]
Lloh99:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh100:
	adrp	x9, _MS_X5_SHIFT@GOTPAGE
Lloh101:
	ldr	x9, [x9, _MS_X5_SHIFT@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh103:
	adrp	x9, _MS_Y5_SHIFT@GOTPAGE
Lloh104:
	ldr	x9, [x9, _MS_Y5_SHIFT@GOTPAGEOFF]
Lloh105:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh106:
	adrp	x9, _MSBD1_SHIFT@GOTPAGE
Lloh107:
	ldr	x9, [x9, _MSBD1_SHIFT@GOTPAGEOFF]
Lloh108:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w1, w8, w9
	mov	x0, x19
	bl	_radeon_ring_write
Lloh109:
	adrp	x8, _GA_ENHANCE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _GA_ENHANCE@GOTPAGEOFF]
Lloh111:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh112:
	adrp	x8, _GA_DEADLOCK_CNTL@GOTPAGE
Lloh113:
	ldr	x8, [x8, _GA_DEADLOCK_CNTL@GOTPAGEOFF]
Lloh114:
	ldr	w8, [x8]
Lloh115:
	adrp	x9, _GA_FASTSYNC_CNTL@GOTPAGE
Lloh116:
	ldr	x9, [x9, _GA_FASTSYNC_CNTL@GOTPAGEOFF]
Lloh117:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh118:
	adrp	x8, _GA_POLY_MODE@GOTPAGE
Lloh119:
	ldr	x8, [x8, _GA_POLY_MODE@GOTPAGEOFF]
Lloh120:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh121:
	adrp	x8, _FRONT_PTYPE_TRIANGE@GOTPAGE
Lloh122:
	ldr	x8, [x8, _FRONT_PTYPE_TRIANGE@GOTPAGEOFF]
Lloh123:
	ldr	w8, [x8]
Lloh124:
	adrp	x9, _BACK_PTYPE_TRIANGE@GOTPAGE
Lloh125:
	ldr	x9, [x9, _BACK_PTYPE_TRIANGE@GOTPAGEOFF]
Lloh126:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
Lloh127:
	adrp	x8, _GA_ROUND_MODE@GOTPAGE
Lloh128:
	ldr	x8, [x8, _GA_ROUND_MODE@GOTPAGEOFF]
Lloh129:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
Lloh130:
	adrp	x8, _GEOMETRY_ROUND_NEAREST@GOTPAGE
Lloh131:
	ldr	x8, [x8, _GEOMETRY_ROUND_NEAREST@GOTPAGEOFF]
Lloh132:
	ldr	w8, [x8]
Lloh133:
	adrp	x9, _COLOR_ROUND_NEAREST@GOTPAGE
Lloh134:
	ldr	x9, [x9, _COLOR_ROUND_NEAREST@GOTPAGEOFF]
Lloh135:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_radeon_ring_write
	mov	w0, #8392
	mov	w1, #0
	bl	_PACKET0
	mov	x1, x0
	mov	x0, x19
	bl	_radeon_ring_write
	mov	x0, x19
	mov	w1, #0
	bl	_radeon_ring_write
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_radeon_ring_unlock_commit
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISYNC_CNTL,4,2                 ; @ISYNC_CNTL
	.comm	_ISYNC_ANY2D_IDLE3D,4,2         ; @ISYNC_ANY2D_IDLE3D
	.comm	_ISYNC_ANY3D_IDLE2D,4,2         ; @ISYNC_ANY3D_IDLE2D
	.comm	_ISYNC_WAIT_IDLEGUI,4,2         ; @ISYNC_WAIT_IDLEGUI
	.comm	_ISYNC_CPSCRATCH_IDLEGUI,4,2    ; @ISYNC_CPSCRATCH_IDLEGUI
	.comm	_WAIT_UNTIL,4,2                 ; @WAIT_UNTIL
	.comm	_WAIT_2D_IDLECLEAN,4,2          ; @WAIT_2D_IDLECLEAN
	.comm	_WAIT_3D_IDLECLEAN,4,2          ; @WAIT_3D_IDLECLEAN
	.comm	_R300_DST_PIPE_CONFIG,4,2       ; @R300_DST_PIPE_CONFIG
	.comm	_R300_PIPE_AUTO_CONFIG,4,2      ; @R300_PIPE_AUTO_CONFIG
	.comm	_GB_SELECT,4,2                  ; @GB_SELECT
	.comm	_GB_ENABLE,4,2                  ; @GB_ENABLE
	.comm	_R500_SU_REG_DEST,4,2           ; @R500_SU_REG_DEST
	.comm	_VAP_INDEX_OFFSET,4,2           ; @VAP_INDEX_OFFSET
	.comm	_RB3D_DSTCACHE_CTLSTAT,4,2      ; @RB3D_DSTCACHE_CTLSTAT
	.comm	_RB3D_DC_FLUSH,4,2              ; @RB3D_DC_FLUSH
	.comm	_RB3D_DC_FREE,4,2               ; @RB3D_DC_FREE
	.comm	_ZB_ZCACHE_CTLSTAT,4,2          ; @ZB_ZCACHE_CTLSTAT
	.comm	_ZC_FLUSH,4,2                   ; @ZC_FLUSH
	.comm	_ZC_FREE,4,2                    ; @ZC_FREE
	.comm	_GB_AA_CONFIG,4,2               ; @GB_AA_CONFIG
	.comm	_GB_MSPOS0,4,2                  ; @GB_MSPOS0
	.comm	_MS_X0_SHIFT,4,2                ; @MS_X0_SHIFT
	.comm	_MS_Y0_SHIFT,4,2                ; @MS_Y0_SHIFT
	.comm	_MS_X1_SHIFT,4,2                ; @MS_X1_SHIFT
	.comm	_MS_Y1_SHIFT,4,2                ; @MS_Y1_SHIFT
	.comm	_MS_X2_SHIFT,4,2                ; @MS_X2_SHIFT
	.comm	_MS_Y2_SHIFT,4,2                ; @MS_Y2_SHIFT
	.comm	_MSBD0_Y_SHIFT,4,2              ; @MSBD0_Y_SHIFT
	.comm	_MSBD0_X_SHIFT,4,2              ; @MSBD0_X_SHIFT
	.comm	_GB_MSPOS1,4,2                  ; @GB_MSPOS1
	.comm	_MS_X3_SHIFT,4,2                ; @MS_X3_SHIFT
	.comm	_MS_Y3_SHIFT,4,2                ; @MS_Y3_SHIFT
	.comm	_MS_X4_SHIFT,4,2                ; @MS_X4_SHIFT
	.comm	_MS_Y4_SHIFT,4,2                ; @MS_Y4_SHIFT
	.comm	_MS_X5_SHIFT,4,2                ; @MS_X5_SHIFT
	.comm	_MS_Y5_SHIFT,4,2                ; @MS_Y5_SHIFT
	.comm	_MSBD1_SHIFT,4,2                ; @MSBD1_SHIFT
	.comm	_GA_ENHANCE,4,2                 ; @GA_ENHANCE
	.comm	_GA_DEADLOCK_CNTL,4,2           ; @GA_DEADLOCK_CNTL
	.comm	_GA_FASTSYNC_CNTL,4,2           ; @GA_FASTSYNC_CNTL
	.comm	_GA_POLY_MODE,4,2               ; @GA_POLY_MODE
	.comm	_FRONT_PTYPE_TRIANGE,4,2        ; @FRONT_PTYPE_TRIANGE
	.comm	_BACK_PTYPE_TRIANGE,4,2         ; @BACK_PTYPE_TRIANGE
	.comm	_GA_ROUND_MODE,4,2              ; @GA_ROUND_MODE
	.comm	_GEOMETRY_ROUND_NEAREST,4,2     ; @GEOMETRY_ROUND_NEAREST
	.comm	_COLOR_ROUND_NEAREST,4,2        ; @COLOR_ROUND_NEAREST
.subsections_via_symbols
