	.file	"extr_r600_dpm.c_r600_wait_for_power_level_unequal.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	r600_wait_for_power_level_unequal
	.type	r600_wait_for_power_level_unequal, @function
r600_wait_for_power_level_unequal:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L12
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, 1
	add	ebp, 1
	call	udelay@PLT
	mov	eax, DWORD PTR [rbx]
	cmp	eax, ebp
	jle	.L5
.L4:
	mov	rdi, rbx
	call	r600_power_level_get_target_index@PLT
	cmp	eax, r12d
	je	.L16
	mov	eax, DWORD PTR [rbx]
.L5:
	test	eax, eax
	jle	.L1
	xor	ebp, ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, 1
	add	ebp, 1
	call	udelay@PLT
	cmp	DWORD PTR [rbx], ebp
	jle	.L1
.L7:
	mov	rdi, rbx
	call	r600_power_level_get_current_index@PLT
	cmp	eax, r12d
	je	.L17
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	r600_wait_for_power_level_unequal, .-r600_wait_for_power_level_unequal
	.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_r600_dpm.c_r600_wait_for_power_level_unequal.c"
	.text
	.align	2
	.global	r600_wait_for_power_level_unequal
	.syntax unified
	.arm
	.fpu softvfp
	.type	r600_wait_for_power_level_unequal, %function
r600_wait_for_power_level_unequal:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	bxle	lr
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r6, r1
	mov	r5, #0
	b	.L4
.L15:
	mov	r0, #1
	bl	udelay
	ldr	r3, [r4]
	cmp	r3, r5
	ble	.L5
.L4:
	mov	r0, r4
	bl	r600_power_level_get_target_index
	cmp	r0, r6
	add	r5, r5, #1
	beq	.L15
	ldr	r3, [r4]
.L5:
	cmp	r3, #0
	pople	{r4, r5, r6, pc}
	mov	r5, #0
.L7:
	mov	r0, r4
	bl	r600_power_level_get_current_index
	cmp	r0, r6
	add	r5, r5, #1
	popne	{r4, r5, r6, pc}
	mov	r0, #1
	bl	udelay
	ldr	r3, [r4]
	cmp	r3, r5
	bgt	.L7
	pop	{r4, r5, r6, pc}
	.size	r600_wait_for_power_level_unequal, .-r600_wait_for_power_level_unequal
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
