	.file	"extr_amdgpu_dm_pp_smu.c_pp_to_dc_clock_levels_with_latency.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"DM_PPLIB: Warning: %s clock: number of levels %d exceeds maximum of %d!\n"
	.align 8
.LC1:
	.string	"DM_PPLIB: values for %s clock\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"DM_PPLIB:\t %d in kHz\n"
	.text
	.p2align 4
	.type	pp_to_dc_clock_levels_with_latency, @function
pp_to_dc_clock_levels_with_latency:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR [rdi]
	mov	r15, QWORD PTR DM_PP_MAX_CLOCK_LEVELS[rip]
	cmp	r13, r15
	jg	.L10
	mov	QWORD PTR [rsi], r13
.L3:
	mov	edi, ebp
	call	DC_DECODE_PP_CLOCK_TYPE@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	DRM_DEBUG@PLT
	cmp	QWORD PTR [r14], 0
	je	.L1
	mov	rax, QWORD PTR 8[r12]
	xor	ebp, ebp
	lea	r13, .LC2[rip]
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rbx, 0[0+rbp*8]
	mov	rdi, r13
	add	rbp, 1
	mov	esi, DWORD PTR 4[rax+rbx]
	call	DRM_DEBUG@PLT
	mov	rax, QWORD PTR 8[r12]
	lea	rdx, [rax+rbx]
	add	rbx, QWORD PTR 8[r14]
	mov	ecx, DWORD PTR 4[rdx]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 4[rbx], ecx
	mov	DWORD PTR [rbx], edx
	cmp	QWORD PTR [r14], rbp
	ja	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, edx
	call	DC_DECODE_PP_CLOCK_TYPE@PLT
	mov	rcx, r15
	mov	rdx, r13
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	DRM_INFO@PLT
	mov	rax, QWORD PTR DM_PP_MAX_CLOCK_LEVELS[rip]
	mov	QWORD PTR [r14], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	pp_to_dc_clock_levels_with_latency, .-pp_to_dc_clock_levels_with_latency
	.comm	DM_PP_MAX_CLOCK_LEVELS,8,8
	.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_amdgpu_dm_pp_smu.c_pp_to_dc_clock_levels_with_latency.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DM_PPLIB: Warning: %s clock: number of levels %d ex"
	.ascii	"ceeds maximum of %d!\012\000"
	.align	2
.LC1:
	.ascii	"DM_PPLIB: values for %s clock\012\000"
	.align	2
.LC2:
	.ascii	"DM_PPLIB:\011 %d in kHz\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pp_to_dc_clock_levels_with_latency, %function
pp_to_dc_clock_levels_with_latency:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L11
	ldr	r3, [r0]
	mov	r6, r0
	ldr	r0, [r7]
	mov	r5, r1
	cmp	r3, r0
	mov	r4, r2
	strle	r3, [r1]
	bgt	.L10
.L3:
	mov	r0, r4
	bl	DC_DECODE_PP_CLOCK_TYPE
	mov	r1, r0
	ldr	r0, .L11+4
	bl	DRM_DEBUG
	ldr	r3, [r5]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r4, #0
	ldr	r3, [r6, #4]
	ldr	r7, .L11+8
.L5:
	add	r3, r3, r4, lsl #3
	ldr	r1, [r3, #4]
	mov	r0, r7
	bl	DRM_DEBUG
	ldr	r3, [r6, #4]
	lsl	r2, r4, #3
	ldr	r1, [r5, #4]
	add	r0, r3, r2
	ldr	lr, [r0, #4]
	ldr	ip, [r3, r4, lsl #3]
	ldr	r0, [r5]
	add	r2, r1, r2
	str	lr, [r2, #4]
	str	ip, [r1, r4, lsl #3]
	add	r4, r4, #1
	cmp	r0, r4
	bhi	.L5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r2
	bl	DC_DECODE_PP_CLOCK_TYPE
	ldr	r3, [r7]
	mov	r1, r0
	ldr	r2, [r6]
	ldr	r0, .L11+12
	bl	DRM_INFO
	ldr	r3, [r7]
	str	r3, [r5]
	b	.L3
.L12:
	.align	2
.L11:
	.word	DM_PP_MAX_CLOCK_LEVELS
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	pp_to_dc_clock_levels_with_latency, .-pp_to_dc_clock_levels_with_latency
	.comm	DM_PP_MAX_CLOCK_LEVELS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
