	.file	"extr_cpufreq.c_cpufreq_unregister_driver.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unregistering driver %s\n"
	.text
	.p2align 4
	.globl	cpufreq_unregister_driver
	.type	cpufreq_unregister_driver, @function
cpufreq_unregister_driver:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	cpufreq_debug_disable_ratelimit@PLT
	mov	rax, QWORD PTR cpufreq_driver[rip]
	test	rax, rax
	je	.L5
	cmp	rax, rbx
	je	.L2
.L5:
	xor	eax, eax
	call	cpufreq_debug_enable_ratelimit@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	xor	ebp, ebp
	call	dprintk@PLT
	lea	rsi, cpufreq_sysdev_driver[rip]
	lea	rdi, cpu_sysdev_class[rip]
	call	sysdev_driver_unregister@PLT
	lea	rdi, cpufreq_cpu_notifier[rip]
	call	unregister_hotcpu_notifier@PLT
	mov	rsi, rbp
	lea	rdi, cpufreq_driver_lock[rip]
	call	write_lock_irqsave@PLT
	mov	rsi, rbp
	lea	rdi, cpufreq_driver_lock[rip]
	mov	QWORD PTR cpufreq_driver[rip], 0
	call	write_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cpufreq_unregister_driver, .-cpufreq_unregister_driver
	.comm	cpufreq_sysdev_driver,4,4
	.comm	cpufreq_driver_lock,4,4
	.comm	cpufreq_driver,8,8
	.comm	cpufreq_cpu_notifier,4,4
	.comm	cpu_sysdev_class,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_unregister_driver.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unregistering driver %s\012\000"
	.text
	.align	2
	.global	cpufreq_unregister_driver
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpufreq_unregister_driver, %function
cpufreq_unregister_driver:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r6, .L6
	bl	cpufreq_debug_disable_ratelimit
	ldr	r0, [r6]
	subs	r4, r0, r5
	movne	r4, #1
	cmp	r0, #0
	moveq	r4, #1
	cmp	r4, #0
	beq	.L2
	bl	cpufreq_debug_enable_ratelimit
	ldr	r3, .L6+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r7, #0
	ldr	r1, [r5]
	ldr	r0, .L6+8
	bl	dprintk
	ldr	r1, .L6+12
	ldr	r0, .L6+16
	bl	sysdev_driver_unregister
	ldr	r0, .L6+20
	bl	unregister_hotcpu_notifier
	mov	r1, r7
	ldr	r0, .L6+24
	bl	write_lock_irqsave
	mov	r1, r7
	ldr	r0, .L6+24
	str	r4, [r6]
	bl	write_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	cpufreq_driver
	.word	EINVAL
	.word	.LC0
	.word	cpufreq_sysdev_driver
	.word	cpu_sysdev_class
	.word	cpufreq_cpu_notifier
	.word	cpufreq_driver_lock
	.size	cpufreq_unregister_driver, .-cpufreq_unregister_driver
	.comm	cpufreq_sysdev_driver,4,4
	.comm	cpufreq_driver_lock,4,4
	.comm	cpufreq_driver,4,4
	.comm	cpufreq_cpu_notifier,4,4
	.comm	cpu_sysdev_class,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
