	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_vbios_smu_send_msg_with_param ## -- Begin function rn_vbios_smu_send_msg_with_param
	.p2align	4, 0x90
_rn_vbios_smu_send_msg_with_param:      ## @rn_vbios_smu_send_msg_with_param
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	_MP1_SMN_C2PMSG_91@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_REG_WRITE
	movq	_MP1_SMN_C2PMSG_83@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_REG_WRITE
	movq	_MP1_SMN_C2PMSG_67@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_REG_WRITE
	movl	(%r15), %edi
	movq	_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	movl	$10, %ecx
	movl	$200000, %r8d                   ## imm = 0x30D40
	callq	_REG_WAIT
	movl	(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_READ                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MP1_SMN_C2PMSG_91,4,2          ## @MP1_SMN_C2PMSG_91
	.comm	_MP1_SMN_C2PMSG_83,4,2          ## @MP1_SMN_C2PMSG_83
	.comm	_MP1_SMN_C2PMSG_67,4,2          ## @MP1_SMN_C2PMSG_67
	.comm	_CONTENT,4,2                    ## @CONTENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_vbios_smu_send_msg_with_param ; -- Begin function rn_vbios_smu_send_msg_with_param
	.p2align	2
_rn_vbios_smu_send_msg_with_param:      ; @rn_vbios_smu_send_msg_with_param
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _MP1_SMN_C2PMSG_91@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MP1_SMN_C2PMSG_91@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #0
	bl	_REG_WRITE
Lloh2:
	adrp	x22, _MP1_SMN_C2PMSG_83@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MP1_SMN_C2PMSG_83@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x19
	bl	_REG_WRITE
Lloh4:
	adrp	x8, _MP1_SMN_C2PMSG_67@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MP1_SMN_C2PMSG_67@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_REG_WRITE
	ldr	w0, [x21]
Lloh7:
	adrp	x8, _CONTENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CONTENT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #1
	mov	w3, #10
	mov	w4, #3392
	movk	w4, #3, lsl #16
	bl	_REG_WAIT
	ldr	w0, [x22]
	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	_REG_READ
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MP1_SMN_C2PMSG_91,4,2          ; @MP1_SMN_C2PMSG_91
	.comm	_MP1_SMN_C2PMSG_83,4,2          ; @MP1_SMN_C2PMSG_83
	.comm	_MP1_SMN_C2PMSG_67,4,2          ; @MP1_SMN_C2PMSG_67
	.comm	_CONTENT,4,2                    ; @CONTENT
.subsections_via_symbols
