	.file	"extr_w83781d.c_DIV_TO_REG.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	DIV_TO_REG, @function
DIV_TO_REG:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	DWORD PTR w83781d[rip], esi
	mov	edx, 8
	je	.L2
	cmp	DWORD PTR as99127f[rip], esi
	mov	eax, 128
	cmovne	edx, eax
.L2:
	mov	esi, 1
	call	SENSORS_LIMIT@PLT
	xor	r8d, r8d
	sar	eax
	cdqe
	.p2align 4,,10
	.p2align 3
.L4:
	test	rax, rax
	je	.L1
	add	r8d, 1
	sar	rax
	cmp	r8d, 7
	jne	.L4
.L1:
	mov	eax, r8d
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	DIV_TO_REG, .-DIV_TO_REG
	.comm	w83781d,4,4
	.comm	as99127f,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_w83781d.c_DIV_TO_REG.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DIV_TO_REG, %function
DIV_TO_REG:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	push	{r4, lr}
	ldr	r3, [r3]
	cmp	r3, r1
	moveq	r2, #8
	beq	.L2
	ldr	r3, .L14+4
	ldr	r2, [r3]
	cmp	r2, r1
	moveq	r2, #8
	movne	r2, #128
.L2:
	mov	r1, #1
	bl	SENSORS_LIMIT
	mov	r3, r0
	asr	r3, r3, #1
	cmp	r3, #0
	mov	r0, #0
	popeq	{r4, pc}
.L13:
	add	r0, r0, #1
	cmp	r0, #7
	asr	r3, r3, #1
	popeq	{r4, pc}
	cmp	r3, #0
	bne	.L13
	pop	{r4, pc}
.L15:
	.align	2
.L14:
	.word	w83781d
	.word	as99127f
	.size	DIV_TO_REG, .-DIV_TO_REG
	.comm	w83781d,4,4
	.comm	as99127f,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
