	.file	"extr_rv770_dpm.c_rv770_set_sw_state.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rv770_set_sw_state failed\n"
	.text
	.p2align 4
	.globl	rv770_set_sw_state
	.type	rv770_set_sw_state, @function
rv770_set_sw_state:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR PPSMC_MSG_SwitchToSwState[rip]
	call	rv770_send_msg_to_smc@PLT
	cmp	rax, QWORD PTR PPSMC_Result_OK[rip]
	je	.L2
	lea	rdi, .LC0[rip]
	call	DRM_DEBUG@PLT
.L2:
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rv770_set_sw_state, .-rv770_set_sw_state
	.comm	PPSMC_Result_OK,8,8
	.comm	PPSMC_MSG_SwitchToSwState,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_rv770_dpm.c_rv770_set_sw_state.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rv770_set_sw_state failed\012\000"
	.text
	.align	2
	.global	rv770_set_sw_state
	.syntax unified
	.arm
	.fpu softvfp
	.type	rv770_set_sw_state, %function
rv770_set_sw_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, lr}
	ldr	r1, [r3]
	bl	rv770_send_msg_to_smc
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L2
	ldr	r0, .L5+8
	bl	DRM_DEBUG
.L2:
	mov	r0, #0
	pop	{r4, pc}
.L6:
	.align	2
.L5:
	.word	PPSMC_MSG_SwitchToSwState
	.word	PPSMC_Result_OK
	.word	.LC0
	.size	rv770_set_sw_state, .-rv770_set_sw_state
	.comm	PPSMC_Result_OK,4,4
	.comm	PPSMC_MSG_SwitchToSwState,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
