	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cik_init_golden_registers
_cik_init_golden_registers:             ## @cik_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	%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	%rdi, %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.cik_init_golden_registers(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.cik_init_golden_registers.1(%rip), %rdx
	movq	(%rdx,%rax,8), %r13
	leaq	l_switch.table.cik_init_golden_registers.2(%rip), %rdx
	movq	(%rdx,%rax,8), %r12
	leaq	l_switch.table.cik_init_golden_registers.3(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %r15d
	movl	%r15d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_amdgpu_device_program_register_sequence
	movl	(%r13), %r15d
	movl	%r15d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_amdgpu_device_program_register_sequence
	movl	(%r12), %r15d
	movl	%r15d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_amdgpu_device_program_register_sequence
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_amdgpu_device_program_register_sequence
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bonaire_mgcg_cgcg_init,4,2     ## @bonaire_mgcg_cgcg_init
	.comm	_bonaire_golden_registers,4,2   ## @bonaire_golden_registers
	.comm	_bonaire_golden_common_registers,4,2 ## @bonaire_golden_common_registers
	.comm	_bonaire_golden_spm_registers,4,2 ## @bonaire_golden_spm_registers
	.comm	_kalindi_mgcg_cgcg_init,4,2     ## @kalindi_mgcg_cgcg_init
	.comm	_kalindi_golden_registers,4,2   ## @kalindi_golden_registers
	.comm	_kalindi_golden_common_registers,4,2 ## @kalindi_golden_common_registers
	.comm	_kalindi_golden_spm_registers,4,2 ## @kalindi_golden_spm_registers
	.comm	_godavari_golden_registers,4,2  ## @godavari_golden_registers
	.comm	_spectre_mgcg_cgcg_init,4,2     ## @spectre_mgcg_cgcg_init
	.comm	_spectre_golden_registers,4,2   ## @spectre_golden_registers
	.comm	_spectre_golden_common_registers,4,2 ## @spectre_golden_common_registers
	.comm	_spectre_golden_spm_registers,4,2 ## @spectre_golden_spm_registers
	.comm	_hawaii_mgcg_cgcg_init,4,2      ## @hawaii_mgcg_cgcg_init
	.comm	_hawaii_golden_registers,4,2    ## @hawaii_golden_registers
	.comm	_hawaii_golden_common_registers,4,2 ## @hawaii_golden_common_registers
	.comm	_hawaii_golden_spm_registers,4,2 ## @hawaii_golden_spm_registers
	.no_dead_strip	_cik_init_golden_registers
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.cik_init_golden_registers
l_switch.table.cik_init_golden_registers:
	.quad	_kalindi_mgcg_cgcg_init
	.quad	_spectre_mgcg_cgcg_init
	.quad	_kalindi_mgcg_cgcg_init
	.quad	_hawaii_mgcg_cgcg_init
	.quad	_bonaire_mgcg_cgcg_init

	.p2align	3                               ## @switch.table.cik_init_golden_registers.1
l_switch.table.cik_init_golden_registers.1:
	.quad	_godavari_golden_registers
	.quad	_spectre_golden_registers
	.quad	_kalindi_golden_registers
	.quad	_hawaii_golden_registers
	.quad	_bonaire_golden_registers

	.p2align	3                               ## @switch.table.cik_init_golden_registers.2
l_switch.table.cik_init_golden_registers.2:
	.quad	_kalindi_golden_common_registers
	.quad	_spectre_golden_common_registers
	.quad	_kalindi_golden_common_registers
	.quad	_hawaii_golden_common_registers
	.quad	_bonaire_golden_common_registers

	.p2align	3                               ## @switch.table.cik_init_golden_registers.3
l_switch.table.cik_init_golden_registers.3:
	.quad	_kalindi_golden_spm_registers
	.quad	_spectre_golden_spm_registers
	.quad	_kalindi_golden_spm_registers
	.quad	_hawaii_golden_spm_registers
	.quad	_bonaire_golden_spm_registers

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cik_init_golden_registers
_cik_init_golden_registers:             ; @cik_init_golden_registers
	.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
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.cik_init_golden_registers@PAGE
Lloh1:
	add	x9, x9, l_switch.table.cik_init_golden_registers@PAGEOFF
	ldr	x9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.cik_init_golden_registers.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.cik_init_golden_registers.1@PAGEOFF
	ldr	x22, [x10, x8]
Lloh4:
	adrp	x10, l_switch.table.cik_init_golden_registers.2@PAGE
Lloh5:
	add	x10, x10, l_switch.table.cik_init_golden_registers.2@PAGEOFF
	ldr	x23, [x10, x8]
Lloh6:
	adrp	x10, l_switch.table.cik_init_golden_registers.3@PAGE
Lloh7:
	add	x10, x10, l_switch.table.cik_init_golden_registers.3@PAGEOFF
	ldr	x24, [x10, x8]
	ldr	w21, [x9]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_amdgpu_device_program_register_sequence
	ldr	w21, [x22]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_amdgpu_device_program_register_sequence
	ldr	w21, [x23]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_amdgpu_device_program_register_sequence
	ldr	w21, [x24]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_amdgpu_device_program_register_sequence
LBB0_2:
	mov	x0, x19
	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	_mutex_unlock
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_bonaire_mgcg_cgcg_init,4,2     ; @bonaire_mgcg_cgcg_init
	.comm	_bonaire_golden_registers,4,2   ; @bonaire_golden_registers
	.comm	_bonaire_golden_common_registers,4,2 ; @bonaire_golden_common_registers
	.comm	_bonaire_golden_spm_registers,4,2 ; @bonaire_golden_spm_registers
	.comm	_kalindi_mgcg_cgcg_init,4,2     ; @kalindi_mgcg_cgcg_init
	.comm	_kalindi_golden_registers,4,2   ; @kalindi_golden_registers
	.comm	_kalindi_golden_common_registers,4,2 ; @kalindi_golden_common_registers
	.comm	_kalindi_golden_spm_registers,4,2 ; @kalindi_golden_spm_registers
	.comm	_godavari_golden_registers,4,2  ; @godavari_golden_registers
	.comm	_spectre_mgcg_cgcg_init,4,2     ; @spectre_mgcg_cgcg_init
	.comm	_spectre_golden_registers,4,2   ; @spectre_golden_registers
	.comm	_spectre_golden_common_registers,4,2 ; @spectre_golden_common_registers
	.comm	_spectre_golden_spm_registers,4,2 ; @spectre_golden_spm_registers
	.comm	_hawaii_mgcg_cgcg_init,4,2      ; @hawaii_mgcg_cgcg_init
	.comm	_hawaii_golden_registers,4,2    ; @hawaii_golden_registers
	.comm	_hawaii_golden_common_registers,4,2 ; @hawaii_golden_common_registers
	.comm	_hawaii_golden_spm_registers,4,2 ; @hawaii_golden_spm_registers
	.no_dead_strip	_cik_init_golden_registers
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cik_init_golden_registers
l_switch.table.cik_init_golden_registers:
	.quad	_kalindi_mgcg_cgcg_init
	.quad	_spectre_mgcg_cgcg_init
	.quad	_kalindi_mgcg_cgcg_init
	.quad	_hawaii_mgcg_cgcg_init
	.quad	_bonaire_mgcg_cgcg_init

	.p2align	3                               ; @switch.table.cik_init_golden_registers.1
l_switch.table.cik_init_golden_registers.1:
	.quad	_godavari_golden_registers
	.quad	_spectre_golden_registers
	.quad	_kalindi_golden_registers
	.quad	_hawaii_golden_registers
	.quad	_bonaire_golden_registers

	.p2align	3                               ; @switch.table.cik_init_golden_registers.2
l_switch.table.cik_init_golden_registers.2:
	.quad	_kalindi_golden_common_registers
	.quad	_spectre_golden_common_registers
	.quad	_kalindi_golden_common_registers
	.quad	_hawaii_golden_common_registers
	.quad	_bonaire_golden_common_registers

	.p2align	3                               ; @switch.table.cik_init_golden_registers.3
l_switch.table.cik_init_golden_registers.3:
	.quad	_kalindi_golden_spm_registers
	.quad	_spectre_golden_spm_registers
	.quad	_kalindi_golden_spm_registers
	.quad	_hawaii_golden_spm_registers
	.quad	_bonaire_golden_spm_registers

.subsections_via_symbols
