	.file	"extr_cpufreq_stats.c_show_time_in_state.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%u %llu\n"
	.text
	.p2align 4
	.type	show_time_in_state, @function
show_time_in_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmp	QWORD PTR [rdi], 0
	je	.L8
.L2:
	xor	r12d, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r14, QWORD PTR 8[rdi]
	mov	rbp, rsi
	lea	r12, 24[r14]
	mov	rdi, r12
	call	spin_lock@PLT
	mov	rdi, r14
	call	cpufreq_stats_update@PLT
	mov	rdi, r12
	call	spin_unlock@PLT
	mov	eax, DWORD PTR [r14]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	xor	r12d, r12d
	lea	r13, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[r14]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	jiffies_64_to_clock_t@PLT
	movsx	rdi, r12d
	mov	rsi, r13
	mov	rcx, rax
	mov	rax, QWORD PTR 8[r14]
	add	rdi, rbp
	mov	edx, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	sprintf@PLT
	add	r12d, eax
	cmp	DWORD PTR [r14], ebx
	jg	.L3
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	show_time_in_state, .-show_time_in_state
	.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_cpufreq_stats.c_show_time_in_state.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%u %llu\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_time_in_state, %function
show_time_in_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, [r0]
	sub	sp, sp, #12
	cmp	r5, #0
	beq	.L8
.L2:
	mov	r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r8, [r0, #4]
	mov	r9, r1
	add	r4, r8, #12
	mov	r0, r4
	bl	spin_lock
	mov	r0, r8
	bl	cpufreq_stats_update
	mov	r0, r4
	bl	spin_unlock
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L2
	mov	r4, r5
	ldr	r10, .L9
.L3:
	ldr	r2, [r8, #8]
	ldr	r3, [r8, #4]
	ldr	r0, [r2, r4, lsl #2]
	ldr	fp, [r3, r4, lsl #2]
	bl	jiffies_64_to_clock_t
	mov	r6, r0
	asr	r7, r0, #31
	mov	r2, fp
	add	r0, r9, r5
	mov	r1, r10
	stm	sp, {r6-r7}
	bl	sprintf
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	add	r5, r5, r0
	bgt	.L3
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	show_time_in_state, .-show_time_in_state
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
