	.file	"extr_lm93.c_LM93_IN_REL_TO_REG.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	LM93_IN_REL_TO_REG, @function
LM93_IN_REL_TO_REG:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, edi
	imul	edi, edx, 1000
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	imul	r8d, r8d, 10000
	sub	edi, r8d
	test	esi, esi
	je	.L2
	mov	edx, 200000
	mov	esi, 12500
	call	clamp_val@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	movabs	rdx, 3022314549036572937
	mov	rcx, rax
	imul	rdx
	sar	rcx, 63
	sar	rdx, 11
	sub	rdx, rcx
	lea	rax, -1[rdx]
	sal	eax, 4
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, -25000
	mov	esi, -400000
	call	clamp_val@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 8
	movabs	rdx, 3022314549036572937
	mov	rcx, rax
	imul	rdx
	sar	rcx, 63
	sar	rdx, 12
	sub	rcx, rdx
	lea	eax, -1[rcx]
	ret
	.cfi_endproc
.LFE0:
	.size	LM93_IN_REL_TO_REG, .-LM93_IN_REL_TO_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_lm93.c_LM93_IN_REL_TO_REG.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LM93_IN_REL_TO_REG, %function
LM93_IN_REL_TO_REG:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	add	r0, r0, r0, lsl #2
	rsb	r3, r2, r2, lsl #5
	lsl	r0, r0, #4
	add	r2, r2, r3, lsl #2
	cmp	r1, #0
	push	{r4, lr}
	rsb	r0, r0, r2, lsl #3
	beq	.L2
	ldr	r1, .L6
	ldr	r2, .L6+4
	bl	clamp_val
	mvn	r3, r0
	ldr	r2, .L6+8
	lsr	r3, r3, #31
	smull	r1, r0, r2, r0
	rsb	r0, r3, r0, asr #10
	lsl	r0, r0, #4
	pop	{r4, pc}
.L2:
	ldr	r1, .L6+12
	ldr	r2, .L6+16
	bl	clamp_val
	ldr	r2, .L6+8
	asr	r3, r0, #31
	smull	r1, r0, r2, r0
	sub	r0, r3, r0, asr #11
	sub	r0, r0, #1
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	12500
	.word	200000
	.word	351843721
	.word	-400000
	.word	-25000
	.size	LM93_IN_REL_TO_REG, .-LM93_IN_REL_TO_REG
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
