	.file	"extr_histogram_enc.c_GetBinIdForEntropy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	GetBinIdForEntropy, @function
GetBinIdForEntropy:
.LFB0:
	.cfi_startproc
	endbr64
	subsd	xmm1, xmm0
	comisd	xmm1, QWORD PTR .LC0[rip]
	movapd	xmm3, xmm2
	jbe	.L6
	pxor	xmm2, xmm2
	subsd	xmm3, xmm0
	cvtsi2sd	xmm2, DWORD PTR NUM_PARTITIONS[rip]
	subsd	xmm2, QWORD PTR .LC1[rip]
	mulsd	xmm2, xmm3
	divsd	xmm2, xmm1
	cvttsd2si	eax, xmm2
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	GetBinIdForEntropy, .-GetBinIdForEntropy
	.comm	NUM_PARTITIONS,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	0
	.align 8
.LC1:
	.long	2696277389
	.long	1051772663
	.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_histogram_enc.c_GetBinIdForEntropy.c"
	.text
	.global	__aeabi_dsub
	.global	__aeabi_dcmpgt
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	GetBinIdForEntropy, %function
GetBinIdForEntropy:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_dsub
	mov	r2, #0
	mov	r3, #0
	mov	r6, r0
	mov	r7, r1
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L9
	ldr	r0, [r3]
	bl	__aeabi_i2d
	ldr	r2, .L9+4
	ldr	r3, .L9+8
	bl	__aeabi_dsub
	mov	r2, r4
	mov	r3, r5
	mov	r4, r0
	mov	r5, r1
	add	r1, sp, #24
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_ddiv
	bl	__aeabi_d2iz
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	NUM_PARTITIONS
	.word	-1598689907
	.word	1051772663
	.size	GetBinIdForEntropy, .-GetBinIdForEntropy
	.comm	NUM_PARTITIONS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
