	.file	"extr_adt7475.c_reg2volt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reg2volt, @function
reg2volt:
.LFB0:
	.cfi_startproc
	endbr64
	bt	edx, edi
	jc	.L4
	mov	rax, QWORD PTR adt7473_in_scaling[rip]
	movsx	rdi, edi
	mov	rdx, QWORD PTR [rax+rdi*8]
	mov	eax, DWORD PTR 4[rdx]
	mov	r8d, eax
	add	eax, DWORD PTR [rdx]
	imul	eax, esi
	sal	r8d, 10
	mov	esi, r8d
	imul	edi, eax, 2250
	jmp	DIV_ROUND_CLOSEST@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	imul	edi, esi, 2250
	mov	esi, 1024
	jmp	DIV_ROUND_CLOSEST@PLT
	.cfi_endproc
.LFE0:
	.size	reg2volt, .-reg2volt
	.comm	adt7473_in_scaling,8,8
	.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_adt7475.c_reg2volt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reg2volt, %function
reg2volt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	asr	r2, r2, r0
	tst	r2, #1
	mov	r2, r1
	bne	.L4
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r1, [r3, r0, lsl #2]
	ldm	r1, {r0, r3}
	add	r0, r3, r0
	mul	r0, r2, r0
	add	r0, r0, r0, lsl #2
	rsb	r0, r0, r0, lsl #4
	rsb	r0, r0, r0, lsl #4
	lsl	r1, r3, #10
	lsl	r0, r0, #1
	b	DIV_ROUND_CLOSEST
.L4:
	add	r0, r1, r1, lsl #2
	rsb	r0, r0, r0, lsl #4
	rsb	r0, r0, r0, lsl #4
	mov	r1, #1024
	lsl	r0, r0, #1
	b	DIV_ROUND_CLOSEST
.L6:
	.align	2
.L5:
	.word	adt7473_in_scaling
	.size	reg2volt, .-reg2volt
	.comm	adt7473_in_scaling,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
