	.file	"extr_cpufreq.c_cpufreq_get_hardware_limits.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cpufreq_get_hardware_limits
	.type	cpufreq_get_hardware_limits, @function
cpufreq_get_hardware_limits:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L9
	mov	eax, DWORD PTR EINVAL[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	neg	eax
	test	rdx, rdx
	je	.L1
	mov	rbx, rsi
	mov	esi, DWORD PTR CPUINFO_MIN_FREQ[rip]
	mov	r12d, edi
	call	sysfs_cpufreq_get_one_value@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L12
	mov	esi, DWORD PTR CPUINFO_MAX_FREQ[rip]
	mov	edi, r12d
	call	sysfs_cpufreq_get_one_value@PLT
	mov	rdx, rax
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	test	rdx, rdx
	je	.L12
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	cpufreq_get_hardware_limits, .-cpufreq_get_hardware_limits
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	CPUINFO_MIN_FREQ,4,4
	.comm	CPUINFO_MAX_FREQ,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_get_hardware_limits.c"
	.text
	.align	2
	.global	cpufreq_get_hardware_limits
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpufreq_get_hardware_limits, %function
cpufreq_get_hardware_limits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	r3, r2
	cmp	r1, #0
	lsr	r3, r3, #5
	push	{r4, r5, r6, r7, r8, lr}
	movne	r5, r3
	moveq	r5, #1
	cmp	r5, #0
	beq	.L2
	ldr	r3, .L9
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L9+4
	mov	r4, r1
	ldr	r1, [r3]
	mov	r7, r2
	mov	r6, r0
	bl	sysfs_cpufreq_get_one_value
	cmp	r0, #0
	str	r0, [r4]
	beq	.L7
	ldr	r3, .L9+8
	mov	r0, r6
	ldr	r1, [r3]
	bl	sysfs_cpufreq_get_one_value
	cmp	r0, #0
	str	r0, [r7]
	beq	.L7
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	EINVAL
	.word	CPUINFO_MIN_FREQ
	.word	CPUINFO_MAX_FREQ
	.word	ENODEV
	.size	cpufreq_get_hardware_limits, .-cpufreq_get_hardware_limits
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	CPUINFO_MIN_FREQ,4,4
	.comm	CPUINFO_MAX_FREQ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
