	.file	"extr_fcnvfx.c_sgl_to_dbl_fcnvfx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sgl_to_dbl_fcnvfx
	.type	sgl_to_dbl_fcnvfx, @function
sgl_to_dbl_fcnvfx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13d, DWORD PTR [rdi]
	mov	rbx, QWORD PTR FALSE[rip]
	mov	edi, r13d
	call	Sgl_exponent@PLT
	sub	eax, DWORD PTR SGL_BIAS[rip]
	mov	ebp, eax
	mov	eax, DWORD PTR DBL_FX_MAX_EXP[rip]
	cmp	eax, ebp
	jge	.L2
	add	eax, 1
	cmp	eax, ebp
	jge	.L3
.L5:
	mov	edi, r13d
	call	Sgl_iszero_sign@PLT
	cmp	rax, 1
	sbb	r13d, r13d
	xor	ebp, ebp
	cmp	rax, 1
	setb	bpl
	xor	eax, eax
	not	r13d
	add	ebp, 2147483647
	call	Is_invalidtrap_enabled@PLT
	test	rax, rax
	je	.L68
	mov	eax, DWORD PTR INVALIDEXCEPTION[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	ebp, ebp
	js	.L9
	mov	edi, r13d
	call	Sgl_clear_signexponent_set_hidden@PLT
	xor	esi, esi
	xor	edi, edi
	mov	ecx, esi
	mov	edx, edi
	mov	esi, ebp
	mov	edi, r13d
	call	Dint_from_sgl_mantissa@PLT
	mov	edi, r13d
	call	Sgl_isone_sign@PLT
	test	rax, rax
	jne	.L69
.L10:
	mov	esi, ebp
	mov	edi, r13d
	call	Sgl_isinexact_to_fix@PLT
	test	rax, rax
	jne	.L70
.L11:
	xor	esi, esi
	xor	edi, edi
	mov	rdx, r12
	call	Dint_copytoptr@PLT
	test	rbx, rbx
	jne	.L71
.L21:
	mov	eax, DWORD PTR NOEXCEPTION[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, r13d
	call	Sgl_isnotzero_mantissa@PLT
	test	rax, rax
	jne	.L5
	mov	edi, r13d
	call	Sgl_iszero_sign@PLT
	test	rax, rax
	jne	.L5
	xor	esi, esi
	xor	edi, edi
	mov	DWORD PTR 12[rsp], esi
	mov	DWORD PTR 8[rsp], edi
	call	Dint_set_minint@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR 8[rsp]
	mov	rdx, r12
	call	Dint_copytoptr@PLT
	mov	eax, DWORD PTR NOEXCEPTION[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	xor	edi, edi
	xor	esi, esi
	call	Dint_setzero@PLT
	mov	edi, r13d
	call	Sgl_isnotzero_exponentmantissa@PLT
	test	rax, rax
	je	.L11
	xor	eax, eax
	mov	rbx, QWORD PTR TRUE[rip]
	call	Rounding_mode@PLT
	cmp	eax, 129
	jne	.L66
	cmp	ebp, -1
	jne	.L11
	mov	edi, r13d
	call	Sgl_isnotzero_mantissa@PLT
	test	rax, rax
	je	.L11
	mov	edi, r13d
	call	Sgl_iszero_sign@PLT
	xor	esi, esi
	xor	edi, edi
	test	rax, rax
	je	.L20
	call	Dint_increment@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L70:
	xor	eax, eax
	mov	rbx, QWORD PTR TRUE[rip]
	call	Rounding_mode@PLT
	cmp	eax, 129
	je	.L12
.L66:
	cmp	eax, 130
	je	.L19
	cmp	eax, 128
	jne	.L11
	mov	edi, r13d
	call	Sgl_iszero_sign@PLT
	test	rax, rax
	je	.L11
.L59:
	xor	esi, esi
	xor	edi, edi
	call	Dint_increment@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L69:
	xor	esi, esi
	xor	edi, edi
	call	Dint_setone_sign@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L71:
	xor	eax, eax
	call	Is_inexacttrap_enabled@PLT
	test	rax, rax
	je	.L22
	mov	eax, DWORD PTR INEXACTEXCEPTION[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L68:
	xor	eax, eax
	call	Set_invalidflag@PLT
	mov	rdx, r12
	mov	esi, r13d
	mov	edi, ebp
	call	Dint_copytoptr@PLT
	mov	eax, DWORD PTR NOEXCEPTION[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	xor	eax, eax
	call	Set_inexactflag@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, r13d
	call	Sgl_isone_sign@PLT
	test	rax, rax
	je	.L11
.L58:
	xor	esi, esi
	xor	edi, edi
	call	Dint_decrement@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, ebp
	mov	edi, r13d
	call	Sgl_isone_roundbit@PLT
	test	eax, eax
	je	.L11
	mov	esi, ebp
	mov	edi, r13d
	call	Sgl_isone_stickybit@PLT
	test	eax, eax
	jne	.L17
	xor	esi, esi
	mov	edi, esi
	call	Dint_isone_lowp2@PLT
	test	eax, eax
	je	.L11
.L17:
	mov	edi, r13d
	call	Sgl_iszero_sign@PLT
	test	rax, rax
	jne	.L59
	jmp	.L58
.L20:
	call	Dint_decrement@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	sgl_to_dbl_fcnvfx, .-sgl_to_dbl_fcnvfx
	.comm	TRUE,8,8
	.comm	SGL_BIAS,4,4
	.comm	NOEXCEPTION,4,4
	.comm	INVALIDEXCEPTION,4,4
	.comm	INEXACTEXCEPTION,4,4
	.comm	FALSE,8,8
	.comm	DBL_FX_MAX_EXP,4,4
	.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_fcnvfx.c_sgl_to_dbl_fcnvfx.c"
	.text
	.align	2
	.global	sgl_to_dbl_fcnvfx
	.syntax unified
	.arm
	.fpu softvfp
	.type	sgl_to_dbl_fcnvfx, %function
sgl_to_dbl_fcnvfx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	ldr	r3, .L74
	mov	r0, r5
	mov	r6, r2
	ldr	r7, [r3]
	bl	Sgl_exponent
	ldr	r2, .L74+4
	ldr	r3, .L74+8
	ldr	r1, [r2]
	ldr	r3, [r3]
	sub	r4, r0, r1
	cmp	r3, r4
	bge	.L2
	add	r3, r3, #1
	cmp	r3, r4
	bge	.L3
.L5:
	mov	r0, r5
	bl	Sgl_iszero_sign
	cmp	r0, #0
	mvnne	r5, #0
	moveq	r5, #0
	mvnne	r4, #-2147483648
	moveq	r4, #-2147483648
	bl	Is_invalidtrap_enabled
	cmp	r0, #0
	beq	.L70
	ldr	r3, .L74+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	cmp	r4, #0
	blt	.L9
	mov	r0, r5
	bl	Sgl_clear_signexponent_set_hidden
	mov	r3, #0
	mov	r1, r4
	mov	r2, r3
	mov	r0, r5
	bl	Dint_from_sgl_mantissa
	mov	r0, r5
	bl	Sgl_isone_sign
	cmp	r0, #0
	bne	.L71
.L10:
	mov	r1, r4
	mov	r0, r5
	bl	Sgl_isinexact_to_fix
	cmp	r0, #0
	bne	.L72
.L11:
	mov	r1, #0
	mov	r2, r6
	mov	r0, r1
	bl	Dint_copytoptr
	cmp	r7, #0
	bne	.L73
.L61:
	ldr	r3, .L74+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r5
	bl	Sgl_isnotzero_mantissa
	cmp	r0, #0
	bne	.L5
	mov	r0, r5
	bl	Sgl_iszero_sign
	cmp	r0, #0
	bne	.L5
	mov	r5, #0
	mov	r1, r5
	mov	r0, r5
	mov	r4, r5
	bl	Dint_set_minint
	b	.L60
.L9:
	mov	r1, #0
	mov	r0, r1
	bl	Dint_setzero
	mov	r0, r5
	bl	Sgl_isnotzero_exponentmantissa
	cmp	r0, #0
	beq	.L11
	ldr	r3, .L74+20
	ldr	r7, [r3]
	bl	Rounding_mode
	cmp	r0, #129
	bne	.L68
	cmn	r4, #1
	bne	.L11
	mov	r0, r5
	bl	Sgl_isnotzero_mantissa
	cmp	r0, #0
	beq	.L11
	mov	r0, r5
	bl	Sgl_iszero_sign
	mov	r1, #0
	cmp	r0, #0
	mov	r0, r1
	beq	.L20
	bl	Dint_increment
	b	.L11
.L72:
	ldr	r3, .L74+20
	ldr	r7, [r3]
	bl	Rounding_mode
	cmp	r0, #129
	beq	.L12
.L68:
	cmp	r0, #130
	beq	.L19
	cmp	r0, #128
	bne	.L11
	mov	r0, r5
	bl	Sgl_iszero_sign
	cmp	r0, #0
	beq	.L11
.L59:
	mov	r1, #0
	mov	r0, r1
	bl	Dint_increment
	b	.L11
.L71:
	mov	r1, #0
	mov	r0, r1
	bl	Dint_setone_sign
	b	.L10
.L73:
	bl	Is_inexacttrap_enabled
	cmp	r0, #0
	beq	.L22
	ldr	r3, .L74+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L70:
	bl	Set_invalidflag
.L60:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	Dint_copytoptr
	b	.L61
.L22:
	bl	Set_inexactflag
	b	.L61
.L19:
	mov	r0, r5
	bl	Sgl_isone_sign
	cmp	r0, #0
	beq	.L11
.L58:
	mov	r1, #0
	mov	r0, r1
	bl	Dint_decrement
	b	.L11
.L12:
	mov	r1, r4
	mov	r0, r5
	bl	Sgl_isone_roundbit
	cmp	r0, #0
	beq	.L11
	mov	r1, r4
	mov	r0, r5
	bl	Sgl_isone_stickybit
	cmp	r0, #0
	bne	.L17
	mov	r0, #0
	bl	Dint_isone_lowp2
	cmp	r0, #0
	beq	.L11
.L17:
	mov	r0, r5
	bl	Sgl_iszero_sign
	cmp	r0, #0
	bne	.L59
	b	.L58
.L20:
	bl	Dint_decrement
	b	.L11
.L75:
	.align	2
.L74:
	.word	FALSE
	.word	SGL_BIAS
	.word	DBL_FX_MAX_EXP
	.word	INVALIDEXCEPTION
	.word	NOEXCEPTION
	.word	TRUE
	.word	INEXACTEXCEPTION
	.size	sgl_to_dbl_fcnvfx, .-sgl_to_dbl_fcnvfx
	.comm	TRUE,4,4
	.comm	SGL_BIAS,4,4
	.comm	NOEXCEPTION,4,4
	.comm	INVALIDEXCEPTION,4,4
	.comm	INEXACTEXCEPTION,4,4
	.comm	FALSE,4,4
	.comm	DBL_FX_MAX_EXP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
