	.file	"extr_radeon_atombios.c_radeon_atom_set_voltage.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown table version %d, %d\n"
	.text
	.p2align 4
	.globl	radeon_atom_set_voltage
	.type	radeon_atom_set_voltage, @function
radeon_atom_set_voltage:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	esi, DWORD PTR SetVoltage[rip]
	mov	edi, DWORD PTR COMMAND[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	GetIndexIntoMasterTable@PLT
	mov	edi, DWORD PTR [rbx]
	lea	rcx, 12[rsp]
	lea	rdx, 8[rsp]
	mov	esi, eax
	mov	ebp, eax
	call	atom_parse_cmd_header@PLT
	cmp	r13d, 65281
	je	.L1
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR 12[rsp]
	cmp	edx, 2
	je	.L3
	cmp	edx, 3
	je	.L4
	cmp	edx, 1
	je	.L11
	mov	esi, DWORD PTR 8[rsp]
	lea	rdi, .LC0[rip]
	call	DRM_ERROR@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR SET_ASIC_VOLTAGE_MODE_ALL_SOURCE[rip]
	mov	DWORD PTR 16[rsp], r12d
	mov	DWORD PTR 20[rsp], r13d
	mov	DWORD PTR 24[rsp], eax
.L6:
	mov	edi, DWORD PTR [rbx]
	lea	rdx, 16[rsp]
	mov	esi, ebp
	call	atom_execute_table@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR ATOM_SET_VOLTAGE[rip]
	mov	edi, r13d
	mov	DWORD PTR 16[rsp], r12d
	mov	DWORD PTR 32[rsp], eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR 24[rsp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR SET_ASIC_VOLTAGE_MODE_SET_VOLTAGE[rip]
	mov	edi, r13d
	mov	DWORD PTR 16[rsp], r12d
	mov	DWORD PTR 32[rsp], eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR 24[rsp], rax
	jmp	.L6
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	radeon_atom_set_voltage, .-radeon_atom_set_voltage
	.comm	SetVoltage,4,4
	.comm	SET_ASIC_VOLTAGE_MODE_SET_VOLTAGE,4,4
	.comm	SET_ASIC_VOLTAGE_MODE_ALL_SOURCE,4,4
	.comm	COMMAND,4,4
	.comm	ATOM_SET_VOLTAGE,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_radeon_atombios.c_radeon_atom_set_voltage.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown table version %d, %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	radeon_atom_set_voltage
	.syntax unified
	.arm
	.fpu softvfp
	.type	radeon_atom_set_voltage, %function
radeon_atom_set_voltage:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L14
	mov	r6, r1
	ldr	r1, .L14+4
	mov	r4, r0
	ldr	r0, [r3]
	ldr	r3, .L14+8
	sub	sp, sp, #28
	ldr	r1, [r1]
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	GetIndexIntoMasterTable
	mov	r5, r0
	add	r3, sp, #4
	mov	r1, r5
	mov	r2, sp
	ldr	r0, [r4]
	bl	atom_parse_cmd_header
	ldr	r3, .L14+12
	cmp	r0, #0
	cmpne	r6, r3
	beq	.L1
	ldr	r2, [sp, #4]
	cmp	r2, #2
	beq	.L3
	cmp	r2, #3
	beq	.L4
	cmp	r2, #1
	beq	.L12
	ldr	r1, [sp]
	ldr	r0, .L14+16
	bl	DRM_ERROR
.L1:
	ldr	r3, .L14+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	ldr	r3, .L14+20
	str	r7, [sp, #8]
	ldr	r3, [r3]
	str	r6, [sp, #12]
	str	r3, [sp, #16]
.L6:
	mov	r1, r5
	ldr	r0, [r4]
	add	r2, sp, #8
	bl	atom_execute_table
	b	.L1
.L4:
	ldr	r3, .L14+24
.L10:
	ldr	r3, [r3]
	mov	r0, r6
	str	r7, [sp, #8]
	str	r3, [sp, #16]
	bl	cpu_to_le16
	str	r0, [sp, #12]
	b	.L6
.L3:
	ldr	r3, .L14+28
	b	.L10
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	COMMAND
	.word	SetVoltage
	.word	.LC1
	.word	65281
	.word	.LC0
	.word	SET_ASIC_VOLTAGE_MODE_ALL_SOURCE
	.word	ATOM_SET_VOLTAGE
	.word	SET_ASIC_VOLTAGE_MODE_SET_VOLTAGE
	.size	radeon_atom_set_voltage, .-radeon_atom_set_voltage
	.comm	SetVoltage,4,4
	.comm	SET_ASIC_VOLTAGE_MODE_SET_VOLTAGE,4,4
	.comm	SET_ASIC_VOLTAGE_MODE_ALL_SOURCE,4,4
	.comm	COMMAND,4,4
	.comm	ATOM_SET_VOLTAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
