	.file	"243892039.c"
	.intel_syntax noprefix
	.text
	.globl	__ieee754_scalb
	.type	__ieee754_scalb, @function
__ieee754_scalb:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	xmm0, QWORD PTR -8[rbp]
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jp	.L2
	movsd	xmm0, QWORD PTR -16[rbp]
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jnp	.L3
.L2:
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	jmp	.L4
.L3:
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	xmm1, QWORD PTR .LC0[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	ucomisd	xmm0, xmm1
	setb	al
	xor	eax, 1
	movzx	eax, al
	test	eax, eax
	jne	.L5
	movsd	xmm0, QWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L18
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	jmp	.L4
.L18:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC3[rip]
	xorpd	xmm0, xmm1
	divsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	rint@PLT
	movq	rax, xmm0
	movq	xmm2, rax
	ucomisd	xmm2, QWORD PTR -16[rbp]
	jp	.L15
	movq	xmm3, rax
	comisd	xmm3, QWORD PTR -16[rbp]
	je	.L19
.L15:
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, xmm0
	divsd	xmm1, xmm0
	movq	rax, xmm1
	jmp	.L4
.L19:
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR .LC4[rip]
	jbe	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, 65000
	movq	xmm0, rax
	call	scalbn@PLT
	movq	rax, xmm0
	jmp	.L4
.L20:
	movsd	xmm0, QWORD PTR .LC5[rip]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L21
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, -65000
	movq	xmm0, rax
	call	scalbn@PLT
	movq	rax, xmm0
	jmp	.L4
.L21:
	movsd	xmm0, QWORD PTR -16[rbp]
	cvttsd2si	edx, xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, edx
	movq	xmm0, rax
	call	scalbn@PLT
	movq	rax, xmm0
.L4:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	__ieee754_scalb, .-__ieee754_scalb
	.section	.rodata
	.align 16
.LC0:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC1:
	.long	-1
	.long	2146435071
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC4:
	.long	0
	.long	1089453312
	.align 8
.LC5:
	.long	0
	.long	-1058030336
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"243892039.c"
	.text
	.global	__aeabi_dcmpun
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpeq
	.global	__aeabi_dsub
	.global	__aeabi_dcmplt
	.global	__aeabi_d2iz
	.align	2
	.global	__ieee754_scalb
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ieee754_scalb, %function
__ieee754_scalb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpun
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpun
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
.L2:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L5
.L20:
	ldr	r4, [fp, #-44]
	ldr	r3, [fp, #-40]
	bic	r5, r3, #-2147483648
	mov	r3, #1
	mov	r8, r3
	mvn	r2, #0
	ldr	r3, .L25
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpun
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mvn	r2, #0
	ldr	r3, .L25
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mov	r3, #0
	mov	r8, r3
.L6:
	and	r3, r8, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L7
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L5
.L21:
	ldr	r6, [fp, #-36]
	ldr	r3, [fp, #-32]
	eor	r7, r3, #-2147483648
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	b	.L5
.L7:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	rint
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	b	.L5
.L22:
	mov	r2, #0
	ldr	r3, .L25+4
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r2, .L25+8
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	scalbn
	mov	r2, r0
	mov	r3, r1
	b	.L5
.L23:
	mov	r2, #0
	ldr	r3, .L25+12
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r2, .L25+16
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	scalbn
	mov	r2, r0
	mov	r3, r1
	b	.L5
.L24:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r2, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	scalbn
	mov	r2, r0
	mov	r3, r1
.L5:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L26:
	.align	2
.L25:
	.word	2146435071
	.word	1089453312
	.word	65000
	.word	-1058030336
	.word	-65000
	.size	__ieee754_scalb, .-__ieee754_scalb
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
