	.file	"extr_cpufreq.c_cpufreq_update_policy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"updating policy for CPU %u\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Driver did not initialize current freq"
	.text
	.p2align 4
	.globl	cpufreq_update_policy
	.type	cpufreq_update_policy, @function
cpufreq_update_policy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	cpufreq_cpu_get@PLT
	mov	r13d, DWORD PTR ENODEV[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	edi, r12d
	mov	rbp, rax
	call	lock_policy_rwsem_write@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L4
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L5:
	mov	rdi, rbp
	call	cpufreq_cpu_put@PLT
.L3:
	endbr64
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	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
.L4:
	.cfi_restore_state
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	xor	eax, eax
	mov	r13, rsp
	call	dprintk@PLT
	mov	edx, 40
	mov	rsi, rbp
	mov	rdi, r13
	call	memcpy@PLT
	mov	eax, DWORD PTR 20[rbp]
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR 16[rbp]
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR 12[rbp]
	mov	DWORD PTR 28[rsp], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 24[rsp], eax
	mov	rax, QWORD PTR cpufreq_driver[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L7
	mov	edi, r12d
	call	rax
	mov	QWORD PTR [rsp], rax
	mov	rsi, QWORD PTR 0[rbp]
	test	rsi, rsi
	je	.L14
	cmp	rax, rsi
	je	.L7
	mov	rdx, rax
	mov	edi, r12d
	call	cpufreq_out_of_sync@PLT
.L7:
	mov	rsi, r13
	mov	rdi, rbp
	call	__cpufreq_set_policy@PLT
	mov	edi, r12d
	mov	r13d, eax
	call	unlock_policy_rwsem_write@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	dprintk@PLT
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR 0[rbp], rax
	jmp	.L7
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cpufreq_update_policy, .-cpufreq_update_policy
	.comm	cpufreq_driver,8,8
	.comm	ENODEV,4,4
	.comm	EINVAL,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_update_policy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"updating policy for CPU %u\012\000"
	.align	2
.LC1:
	.ascii	"Driver did not initialize current freq\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cpufreq_update_policy
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpufreq_update_policy, %function
cpufreq_update_policy:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L16
	sub	sp, sp, #40
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r6, r0
	bl	cpufreq_cpu_get
	subs	r4, r0, #0
	beq	.L13
	mov	r0, r6
	bl	lock_policy_rwsem_write
	bl	unlikely
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L16+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L5:
	mov	r0, r4
	bl	cpufreq_cpu_put
.L3:
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r5
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	mov	r1, r6
	ldr	r0, .L16+8
	bl	dprintk
	mov	r2, #36
	mov	r1, r4
	mov	r0, sp
	bl	memcpy
	ldr	r3, .L16+12
	ldr	r2, [r4, #16]
	ldr	r3, [r3]
	ldr	r0, [r4, #12]
	ldr	r3, [r3]
	ldr	r1, [r4, #8]
	str	r2, [sp, #32]
	ldr	r2, [r4, #4]
	cmp	r3, #0
	str	r0, [sp, #28]
	str	r1, [sp, #24]
	str	r2, [sp, #20]
	beq	.L7
	mov	r0, r6
	blx	r3
	str	r0, [sp]
	ldr	r1, [r4]
	cmp	r1, #0
	beq	.L15
	cmp	r0, r1
	beq	.L7
	mov	r2, r0
	mov	r0, r6
	bl	cpufreq_out_of_sync
.L7:
	mov	r1, sp
	mov	r0, r4
	bl	__cpufreq_set_policy
	mov	r5, r0
	mov	r0, r6
	bl	unlock_policy_rwsem_write
	b	.L5
.L13:
	ldr	r3, .L16+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L15:
	ldr	r0, .L16+20
	bl	dprintk
	ldr	r3, [sp]
	str	r3, [r4]
	b	.L7
.L14:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	EINVAL
	.word	.LC0
	.word	cpufreq_driver
	.word	ENODEV
	.word	.LC1
	.size	cpufreq_update_policy, .-cpufreq_update_policy
	.comm	cpufreq_driver,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
