	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_v5_0_init_golden_registers
_sdma_v5_0_init_golden_registers:       ## @sdma_v5_0_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), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	cltq
	leaq	l_switch.table.sdma_v5_0_init_golden_registers(%rip), %rcx
	movq	(%rcx,%rax,8), %r15
	movq	_golden_settings_sdma_5@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_soc15_program_register_sequence
	movl	(%r15), %r14d
	movl	%r14d, %edi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_soc15_program_register_sequence ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_golden_settings_sdma_5,4,2     ## @golden_settings_sdma_5
	.comm	_golden_settings_sdma_nv10,4,2  ## @golden_settings_sdma_nv10
	.comm	_golden_settings_sdma_nv14,4,2  ## @golden_settings_sdma_nv14
	.comm	_golden_settings_sdma_nv12,4,2  ## @golden_settings_sdma_nv12
	.no_dead_strip	_sdma_v5_0_init_golden_registers
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sdma_v5_0_init_golden_registers
l_switch.table.sdma_v5_0_init_golden_registers:
	.quad	_golden_settings_sdma_nv14
	.quad	_golden_settings_sdma_nv12
	.quad	_golden_settings_sdma_nv10

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_v5_0_init_golden_registers
_sdma_v5_0_init_golden_registers:       ; @sdma_v5_0_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	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, l_switch.table.sdma_v5_0_init_golden_registers@PAGE
Lloh1:
	add	x9, x9, l_switch.table.sdma_v5_0_init_golden_registers@PAGEOFF
	ldr	x21, [x9, w8, sxtw #3]
Lloh2:
	adrp	x8, _golden_settings_sdma_5@GOTPAGE
Lloh3:
	ldr	x8, [x8, _golden_settings_sdma_5@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_soc15_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	_soc15_program_register_sequence
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_golden_settings_sdma_5,4,2     ; @golden_settings_sdma_5
	.comm	_golden_settings_sdma_nv10,4,2  ; @golden_settings_sdma_nv10
	.comm	_golden_settings_sdma_nv14,4,2  ; @golden_settings_sdma_nv14
	.comm	_golden_settings_sdma_nv12,4,2  ; @golden_settings_sdma_nv12
	.no_dead_strip	_sdma_v5_0_init_golden_registers
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sdma_v5_0_init_golden_registers
l_switch.table.sdma_v5_0_init_golden_registers:
	.quad	_golden_settings_sdma_nv14
	.quad	_golden_settings_sdma_nv12
	.quad	_golden_settings_sdma_nv10

.subsections_via_symbols
