	.file	"extr_clk-hi6220-stub.c_hi6220_acpu_set_freq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hi6220_acpu_set_freq, @function
hi6220_acpu_set_freq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edx, esi
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR ACPU_DFS_FREQ_REQ[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	regmap_write@PLT
	mov	eax, DWORD PTR HI6220_MBOX_FREQ[rip]
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rsp
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR HI6220_MBOX_CMD_SET[rip]
	mov	DWORD PTR 16[rsp], eax
	mov	rax, QWORD PTR HI6220_MBOX_OBJ_AP[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	QWORD PTR [rsp], rax
	call	mbox_send_message@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hi6220_acpu_set_freq, .-hi6220_acpu_set_freq
	.comm	HI6220_MBOX_OBJ_AP,8,8
	.comm	HI6220_MBOX_FREQ,4,4
	.comm	HI6220_MBOX_CMD_SET,4,4
	.comm	ACPU_DFS_FREQ_REQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_clk-hi6220-stub.c_hi6220_acpu_set_freq.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hi6220_acpu_set_freq, %function
hi6220_acpu_set_freq:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L6
	mov	r2, r1
	ldr	r1, [r3]
	ldr	r3, .L6+4
	sub	sp, sp, #24
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	regmap_write
	ldr	r1, .L6+8
	ldr	r2, .L6+12
	ldr	r3, .L6+16
	ldr	ip, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r4]
	add	r1, sp, #4
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	str	ip, [sp, #16]
	bl	mbox_send_message
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, #0
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	ACPU_DFS_FREQ_REQ
	.word	.LC0
	.word	HI6220_MBOX_FREQ
	.word	HI6220_MBOX_CMD_SET
	.word	HI6220_MBOX_OBJ_AP
	.size	hi6220_acpu_set_freq, .-hi6220_acpu_set_freq
	.comm	HI6220_MBOX_OBJ_AP,4,4
	.comm	HI6220_MBOX_FREQ,4,4
	.comm	HI6220_MBOX_CMD_SET,4,4
	.comm	ACPU_DFS_FREQ_REQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
