	.file	"extr_cpufreq.c_cpufreq_init_policy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Restoring governor %s for cpu %d\n"
	.text
	.p2align 4
	.type	cpufreq_init_policy, @function
cpufreq_init_policy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rsi, rdi
	mov	edx, 32
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	rdi, r12
	call	memcpy@PLT
	xor	eax, eax
	call	cpufreq_default_governor@PLT
	mov	rbx, rax
	xor	eax, eax
	call	has_target@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR 0[rbp]
	test	rax, rax
	jne	.L14
	test	rbx, rbx
	je	.L11
	mov	edi, DWORD PTR [rbx]
	mov	rsi, r12
	call	cpufreq_parse_policy@PLT
.L6:
	mov	rsi, r12
	mov	rdi, rbp
	call	cpufreq_set_policy@PLT
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	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
.L14:
	.cfi_restore_state
	mov	QWORD PTR 8[rsp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR 28[rbp]
	call	find_governor@PLT
	mov	r13, rax
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR 16[rbp]
	mov	edx, DWORD PTR 24[rbp]
	lea	rdi, .LC0[rip]
	mov	rbx, r13
	mov	esi, DWORD PTR [rax]
	call	pr_debug@PLT
.L4:
	mov	QWORD PTR 16[rsp], rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	test	rbx, rbx
	jne	.L4
.L11:
	mov	eax, DWORD PTR ENODATA[rip]
	neg	eax
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cpufreq_init_policy, .-cpufreq_init_policy
	.comm	ENODATA,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_cpufreq.c_cpufreq_init_policy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Restoring governor %s for cpu %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpufreq_init_policy, %function
cpufreq_init_policy:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L16
	sub	sp, sp, #28
	mov	r1, r0
	mov	r2, #20
	mov	r4, r0
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	memcpy
	bl	cpufreq_default_governor
	mov	r5, r0
	bl	has_target
	cmp	r0, #0
	bne	.L13
	ldr	r3, [r4]
	cmp	r3, #0
	strne	r3, [sp, #4]
	beq	.L14
.L6:
	mov	r1, sp
	mov	r0, r4
	bl	cpufreq_set_policy
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L14:
	cmp	r5, #0
	beq	.L11
	mov	r1, sp
	ldr	r0, [r5]
	bl	cpufreq_parse_policy
	b	.L6
.L13:
	ldr	r0, [r4, #16]
	bl	find_governor
	subs	r3, r0, #0
	beq	.L3
	ldr	r1, [r4, #8]
	ldr	r2, [r4, #12]
	ldr	r1, [r1]
	ldr	r0, .L16+4
	mov	r5, r3
	bl	pr_debug
.L4:
	str	r5, [sp, #8]
	b	.L6
.L3:
	cmp	r5, #0
	bne	.L4
.L11:
	ldr	r3, .L16+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	.LC0
	.word	ENODATA
	.size	cpufreq_init_policy, .-cpufreq_init_policy
	.comm	ENODATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
