	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qcom_icc_rpm_smd_send          ## -- Begin function qcom_icc_rpm_smd_send
	.p2align	4, 0x90
_qcom_icc_rpm_smd_send:                 ## @qcom_icc_rpm_smd_send
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	movl	%ecx, %edi
	callq	_cpu_to_le32
	movl	%eax, -40(%rbp)
	movl	$4, %edi
	callq	_cpu_to_le32
	movl	%eax, -36(%rbp)
	movq	_RPM_KEY_BW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movq	_icc_smd_rpm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %r8
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	$12, %r9d
	callq	_qcom_rpm_smd_write
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPM_KEY_BW,4,2                 ## @RPM_KEY_BW
	.comm	_icc_smd_rpm,4,2                ## @icc_smd_rpm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qcom_icc_rpm_smd_send          ; -- Begin function qcom_icc_rpm_smd_send
	.p2align	2
_qcom_icc_rpm_smd_send:                 ; @qcom_icc_rpm_smd_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x3
	bl	_cpu_to_le32
	str	w0, [sp]
	mov	w0, #4
	bl	_cpu_to_le32
	str	w0, [sp, #4]
Lloh0:
	adrp	x8, _RPM_KEY_BW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPM_KEY_BW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh3:
	adrp	x8, _icc_smd_rpm@GOTPAGE
Lloh4:
	ldr	x8, [x8, _icc_smd_rpm@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x4, sp
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w5, #12
	bl	_qcom_rpm_smd_write
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RPM_KEY_BW,4,2                 ; @RPM_KEY_BW
	.comm	_icc_smd_rpm,4,2                ; @icc_smd_rpm
.subsections_via_symbols
