	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cypress_populate_mc_reg_table  ## -- Begin function cypress_populate_mc_reg_table
	.p2align	4, 0x90
_cypress_populate_mc_reg_table:         ## @cypress_populate_mc_reg_table
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_rv770_get_pi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_evergreen_get_pi
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_rv770_get_ps
	movq	%rax, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_RV770_SMC_SOFT_REGISTER_seq_index@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_rv770_write_smc_soft_register
	leaq	-64(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_cypress_populate_mc_reg_addresses
	movq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cypress_convert_mc_reg_table_entry_to_smc
	movq	16(%r12), %rdi
	movq	-64(%rbp), %rsi
	addq	$4, %rsi
	movl	8(%r12), %ecx
	movl	12(%r12), %edx
	callq	_cypress_convert_mc_registers
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_cypress_convert_mc_reg_table_to_smc
	movl	(%r12), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r13, %rdx
	movl	$16, %ecx
	callq	_rv770_copy_bytes_to_smc
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RV770_SMC_SOFT_REGISTER_seq_index,4,2 ## @RV770_SMC_SOFT_REGISTER_seq_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cypress_populate_mc_reg_table  ; -- Begin function cypress_populate_mc_reg_table
	.p2align	2
_cypress_populate_mc_reg_table:         ; @cypress_populate_mc_reg_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x19, x0
	bl	_rv770_get_pi
	mov	x21, x0
	mov	x0, x19
	bl	_evergreen_get_pi
	mov	x22, x0
	mov	x0, x20
	bl	_rv770_get_ps
	mov	x23, x0
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _RV770_SMC_SOFT_REGISTER_seq_index@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RV770_SMC_SOFT_REGISTER_seq_index@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_rv770_write_smc_soft_register
	mov	x1, sp
	mov	x0, x19
	bl	_cypress_populate_mc_reg_addresses
	ldr	x2, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_cypress_convert_mc_reg_table_entry_to_smc
	ldr	x0, [x22, #16]
	ldr	x8, [sp]
	add	x1, x8, #4
	ldp	w3, w2, [x22, #8]
	bl	_cypress_convert_mc_registers
	mov	x2, sp
	mov	x0, x19
	mov	x1, x20
	bl	_cypress_convert_mc_reg_table_to_smc
	ldr	w1, [x22]
	ldr	w4, [x21]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #16
	bl	_rv770_copy_bytes_to_smc
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RV770_SMC_SOFT_REGISTER_seq_index,4,2 ; @RV770_SMC_SOFT_REGISTER_seq_index
.subsections_via_symbols
