	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv770_init_golden_registers
_rv770_init_golden_registers:           ## @rv770_init_golden_registers
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movq	_rv740_mgcg_init@GOTPCREL(%rip), %r14
	movq	_rv740_golden_registers@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_r7xx_golden_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_radeon_program_register_sequence
	movq	_r7xx_golden_dyn_gpr_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_radeon_program_register_sequence
	movq	8(%r15), %rax
	cmpl	$39246, (%rax)                  ## imm = 0x994E
	jne	LBB0_7
## %bb.3:
	movq	_rv770ce_golden_registers@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_r7xx_golden_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_radeon_program_register_sequence
	movq	_r7xx_golden_dyn_gpr_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_radeon_program_register_sequence
	movq	_rv730_mgcg_init@GOTPCREL(%rip), %r14
	movq	_rv730_golden_registers@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_r7xx_golden_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_radeon_program_register_sequence
	movq	_r7xx_golden_dyn_gpr_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_radeon_program_register_sequence
	movq	_rv710_mgcg_init@GOTPCREL(%rip), %r14
	movq	_rv710_golden_registers@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_rv770_golden_registers@GOTPCREL(%rip), %rax
LBB0_8:
	movq	_rv770_mgcg_init@GOTPCREL(%rip), %r14
LBB0_9:
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_radeon_program_register_sequence
	movl	(%r14), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_radeon_program_register_sequence ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_r7xx_golden_registers,4,2      ## @r7xx_golden_registers
	.comm	_r7xx_golden_dyn_gpr_registers,4,2 ## @r7xx_golden_dyn_gpr_registers
	.comm	_rv770ce_golden_registers,4,2   ## @rv770ce_golden_registers
	.comm	_rv770_golden_registers,4,2     ## @rv770_golden_registers
	.comm	_rv770_mgcg_init,4,2            ## @rv770_mgcg_init
	.comm	_rv730_golden_registers,4,2     ## @rv730_golden_registers
	.comm	_rv730_mgcg_init,4,2            ## @rv730_mgcg_init
	.comm	_rv710_golden_registers,4,2     ## @rv710_golden_registers
	.comm	_rv710_mgcg_init,4,2            ## @rv710_mgcg_init
	.comm	_rv740_golden_registers,4,2     ## @rv740_golden_registers
	.comm	_rv740_mgcg_init,4,2            ## @rv740_mgcg_init
	.no_dead_strip	_rv770_init_golden_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv770_init_golden_registers
_rv770_init_golden_registers:           ; @rv770_init_golden_registers
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, _rv740_mgcg_init@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rv740_mgcg_init@GOTPAGEOFF]
Lloh2:
	adrp	x8, _rv740_golden_registers@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rv740_golden_registers@GOTPAGEOFF]
Lloh4:
	adrp	x10, lJTI0_0@PAGE
Lloh5:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh6:
	adrp	x8, _r7xx_golden_registers@GOTPAGE
Lloh7:
	ldr	x8, [x8, _r7xx_golden_registers@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radeon_program_register_sequence
Lloh9:
	adrp	x8, _r7xx_golden_dyn_gpr_registers@GOTPAGE
Lloh10:
	ldr	x8, [x8, _r7xx_golden_dyn_gpr_registers@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radeon_program_register_sequence
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _rv770_golden_registers@GOTPAGE
Lloh13:
	ldr	x9, [x9, _rv770_golden_registers@GOTPAGEOFF]
Lloh14:
	adrp	x10, _rv770ce_golden_registers@GOTPAGE
Lloh15:
	ldr	x10, [x10, _rv770ce_golden_registers@GOTPAGEOFF]
	ldr	w8, [x8]
	mov	w11, #39246
	cmp	w8, w11
	csel	x8, x10, x9, eq
Lloh16:
	adrp	x21, _rv770_mgcg_init@GOTPAGE
Lloh17:
	ldr	x21, [x21, _rv770_mgcg_init@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh18:
	adrp	x8, _r7xx_golden_registers@GOTPAGE
Lloh19:
	ldr	x8, [x8, _r7xx_golden_registers@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radeon_program_register_sequence
Lloh21:
	adrp	x8, _r7xx_golden_dyn_gpr_registers@GOTPAGE
Lloh22:
	ldr	x8, [x8, _r7xx_golden_dyn_gpr_registers@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radeon_program_register_sequence
Lloh24:
	adrp	x21, _rv730_mgcg_init@GOTPAGE
Lloh25:
	ldr	x21, [x21, _rv730_mgcg_init@GOTPAGEOFF]
Lloh26:
	adrp	x8, _rv730_golden_registers@GOTPAGE
Lloh27:
	ldr	x8, [x8, _rv730_golden_registers@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh28:
	adrp	x8, _r7xx_golden_registers@GOTPAGE
Lloh29:
	ldr	x8, [x8, _r7xx_golden_registers@GOTPAGEOFF]
Lloh30:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radeon_program_register_sequence
Lloh31:
	adrp	x8, _r7xx_golden_dyn_gpr_registers@GOTPAGE
Lloh32:
	ldr	x8, [x8, _r7xx_golden_dyn_gpr_registers@GOTPAGEOFF]
Lloh33:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radeon_program_register_sequence
Lloh34:
	adrp	x21, _rv710_mgcg_init@GOTPAGE
Lloh35:
	ldr	x21, [x21, _rv710_mgcg_init@GOTPAGEOFF]
Lloh36:
	adrp	x8, _rv710_golden_registers@GOTPAGE
Lloh37:
	ldr	x8, [x8, _rv710_golden_registers@GOTPAGEOFF]
LBB0_6:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radeon_program_register_sequence
	ldr	w20, [x21]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_radeon_program_register_sequence
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_r7xx_golden_registers,4,2      ; @r7xx_golden_registers
	.comm	_r7xx_golden_dyn_gpr_registers,4,2 ; @r7xx_golden_dyn_gpr_registers
	.comm	_rv770ce_golden_registers,4,2   ; @rv770ce_golden_registers
	.comm	_rv770_golden_registers,4,2     ; @rv770_golden_registers
	.comm	_rv770_mgcg_init,4,2            ; @rv770_mgcg_init
	.comm	_rv730_golden_registers,4,2     ; @rv730_golden_registers
	.comm	_rv730_mgcg_init,4,2            ; @rv730_mgcg_init
	.comm	_rv710_golden_registers,4,2     ; @rv710_golden_registers
	.comm	_rv710_mgcg_init,4,2            ; @rv710_mgcg_init
	.comm	_rv740_golden_registers,4,2     ; @rv740_golden_registers
	.comm	_rv740_mgcg_init,4,2            ; @rv740_mgcg_init
	.no_dead_strip	_rv770_init_golden_registers
.subsections_via_symbols
