	.file	"extr_halffloat.c_npy_floatbits_to_halfbits.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	npy_floatbits_to_halfbits
	.type	npy_floatbits_to_halfbits, @function
npy_floatbits_to_halfbits:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edi
	mov	ecx, edi
	shr	eax, 16
	and	ecx, 2139095040
	and	eax, 32768
	cmp	ecx, 1199570943
	jle	.L2
	cmp	ecx, 2139095040
	jne	.L3
	and	edi, 8388607
	je	.L3
	mov	edx, edi
	sar	edx, 13
	lea	ecx, 31744[rdx]
	mov	edx, 31745
	cmove	ecx, edx
	add	eax, ecx
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	ecx, 939524096
	jg	.L7
	cmp	ecx, 855638015
	ja	.L9
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	add	eax, 31744
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	and	edi, 8388607
	sub	ecx, 939524096
	add	edi, 4096
	shr	ecx, 13
	add	eax, ecx
	sar	edi, 13
	add	eax, edi
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	sar	ecx, 23
	mov	esi, 113
	and	edi, 8388607
	sub	esi, ecx
	lea	edx, 8388608[rdi]
	mov	ecx, esi
	sar	edx, cl
	add	edx, 4096
	sar	edx, 13
	add	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	npy_floatbits_to_halfbits, .-npy_floatbits_to_halfbits
	.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_halffloat.c_npy_floatbits_to_halfbits.c"
	.text
	.align	2
	.global	npy_floatbits_to_halfbits
	.syntax unified
	.arm
	.fpu softvfp
	.type	npy_floatbits_to_halfbits, %function
npy_floatbits_to_halfbits:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r3, r0
	ldr	r1, .L9
	ldr	r0, .L9+4
	and	r2, r3, r1
	cmp	r2, r0
	lsr	r0, r3, #16
	and	r0, r0, #32768
	ble	.L2
	cmp	r2, r1
	bne	.L3
	bic	r3, r3, #-16777216
	bic	r3, r3, #8388608
	cmp	r3, #0
	beq	.L3
	ldr	r2, .L9+8
	asrs	r3, r3, #13
	addne	r3, r3, #31744
	moveq	r3, r2
	add	r0, r0, r3
	bx	lr
.L2:
	cmp	r2, #939524096
	bgt	.L7
	cmp	r2, #855638016
	bxcc	lr
	bic	r3, r3, #-16777216
	bic	r3, r3, #8388608
	asr	r2, r2, #23
	rsb	r2, r2, #113
	add	r3, r3, #8388608
	asr	r3, r3, r2
	add	r3, r3, #4096
	add	r0, r0, r3, asr #13
	bx	lr
.L3:
	add	r0, r0, #31744
	bx	lr
.L7:
	bic	r3, r3, #-16777216
	add	r2, r2, #-939524096
	bic	r3, r3, #8388608
	add	r3, r3, #4096
	add	r0, r0, r2, lsr #13
	add	r0, r0, r3, lsr #13
	bx	lr
.L10:
	.align	2
.L9:
	.word	2139095040
	.word	1199570943
	.word	31745
	.size	npy_floatbits_to_halfbits, .-npy_floatbits_to_halfbits
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
