	.file	"930851.c"
	.intel_syntax noprefix
	.text
	.globl	frexp
	.type	frexp, @function
frexp:
.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, 32
	movsd	QWORD PTR -24[rbp], xmm0
	mov	QWORD PTR -32[rbp], rdi
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 52
	and	eax, 2047
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L2
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -24[rbp]
	jp	.L9
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -24[rbp]
	je	.L10
.L9:
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	mov	rdi, rdx
	movq	xmm0, rax
	call	frexp
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -64[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L5
.L10:
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
.L5:
	movsd	xmm0, QWORD PTR -24[rbp]
	jmp	.L8
.L2:
	cmp	DWORD PTR -12[rbp], 2047
	jne	.L7
	movsd	xmm0, QWORD PTR -24[rbp]
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -1022[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, -9218868437227405313
	and	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, 4602678819172646912
	or	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
.L8:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	frexp, .-frexp
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1139802112
	.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	"930851.c"
	.text
	.global	__aeabi_dcmpeq
	.global	__aeabi_dmul
	.align	2
	.global	frexp
	.syntax unified
	.arm
	.fpu softvfp
	.type	frexp, %function
frexp:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-48]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r1, #20
	mov	r3, #0
	mov	r3, r2
	lsl	r3, r3, #21
	lsr	r3, r3, #21
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L2
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r2, #0
	ldr	r3, .L11
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-48]
	bl	frexp
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	sub	r2, r3, #64
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	b	.L5
.L10:
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
.L5:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	b	.L8
.L2:
	ldr	r3, [fp, #-32]
	ldr	r2, .L11+4
	cmp	r3, r2
	bne	.L7
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	b	.L8
.L7:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1020
	sub	r3, r3, #2
	ldr	r2, [fp, #-48]
	str	r3, [r2]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mvn	r0, #0
	ldr	r1, .L11+8
	and	r6, r2, r0
	and	r7, r3, r1
	str	r6, [fp, #-28]
	str	r7, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L11+12
	orr	r4, r2, r0
	orr	r5, r3, r1
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
.L8:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L12:
	.align	2
.L11:
	.word	1139802112
	.word	2047
	.word	-2146435073
	.word	1071644672
	.size	frexp, .-frexp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
