	.file	"extr_via686a.c_IN_FROM_REG.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	IN_FROM_REG, @function
IN_FROM_REG:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, 1
	jle	.L7
	cmp	esi, 2
	je	.L8
	cmp	esi, 3
	je	.L9
	imul	edi, edi, 2500000
	add	edi, 13320857
	movsx	rax, edi
	sar	edi, 31
	imul	rax, rax, 411849
	sar	rax, 34
	sub	eax, edi
	cdqe
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	imul	edi, edi, 250000
	add	edi, 1340512
	movsx	rax, edi
	imul	rax, rax, -947899935
	shr	rax, 32
	add	eax, edi
	sar	edi, 31
	sar	eax, 14
	sub	eax, edi
	cdqe
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	imul	edi, edi, 250000
	add	edi, 1335054
	movsx	rax, edi
	sar	edi, 31
	imul	rax, rax, 1740422047
	sar	rax, 44
	sub	eax, edi
	cdqe
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	imul	edi, edi, 250000
	add	edi, 1337868
	movsx	rax, edi
	sar	edi, 31
	imul	rax, rax, 558943447
	sar	rax, 43
	sub	eax, edi
	cdqe
	ret
	.cfi_endproc
.LFE0:
	.size	IN_FROM_REG, .-IN_FROM_REG
	.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_via686a.c_IN_FROM_REG.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	IN_FROM_REG, %function
IN_FROM_REG:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #1
	rsb	r3, r0, r0, lsl #5
	ble	.L7
	cmp	r1, #2
	beq	.L8
	cmp	r1, #3
	beq	.L9
	rsb	r3, r3, r3, lsl #6
	add	r0, r0, r3, lsl #3
	ldr	r3, .L10
	ldr	r2, .L10+4
	add	r0, r0, r0, lsl #2
	add	r0, r3, r0, lsl #5
	smull	r1, r3, r2, r0
	asr	r0, r0, #31
	rsb	r0, r0, r3, asr #2
	bx	lr
.L7:
	rsb	r3, r3, r3, lsl #6
	ldr	r2, .L10+8
	add	r0, r0, r3, lsl #3
	ldr	r3, .L10+12
	add	r2, r2, r0, lsl #4
	smull	r1, r3, r2, r3
	asr	r0, r2, #31
	add	r3, r3, r2
	rsb	r0, r0, r3, asr #14
	bx	lr
.L9:
	rsb	r2, r3, r3, lsl #6
	ldr	r3, .L10+16
	add	r0, r0, r2, lsl #3
	ldr	r2, .L10+20
	add	r0, r3, r0, lsl #4
	smull	r1, r3, r2, r0
	asr	r0, r0, #31
	rsb	r0, r0, r3, asr #12
	bx	lr
.L8:
	rsb	r2, r3, r3, lsl #6
	ldr	r3, .L10+24
	add	r0, r0, r2, lsl #3
	ldr	r2, .L10+28
	add	r0, r3, r0, lsl #4
	smull	r1, r3, r2, r0
	asr	r0, r0, #31
	rsb	r0, r0, r3, asr #11
	bx	lr
.L11:
	.align	2
.L10:
	.word	13320857
	.word	411849
	.word	1340512
	.word	-947899935
	.word	1335054
	.word	1740422047
	.word	1337868
	.word	558943447
	.size	IN_FROM_REG, .-IN_FROM_REG
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
