	.file	"294109.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
	movsd	QWORD PTR -24[rbp], xmm0
	mov	QWORD PTR -32[rbp], rdi
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -24[rbp]
	jp	.L2
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -24[rbp]
	jne	.L2
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
	pxor	xmm0, xmm0
	jmp	.L4
.L2:
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	movzx	eax, WORD PTR -2[rbp]
	shr	ax, 4
	and	ax, 2047
	movzx	eax, ax
	lea	edx, -1022[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	movzx	eax, WORD PTR -2[rbp]
	and	ax, -32753
	or	ax, 16352
	mov	WORD PTR -2[rbp], ax
	movsd	xmm0, QWORD PTR -8[rbp]
.L4:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	frexp, .-frexp
	.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	"294109.c"
	.text
	.global	__aeabi_dcmpeq
	.align	2
	.global	frexp
	.syntax unified
	.arm
	.fpu softvfp
	.type	frexp, %function
frexp:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	mov	r2, #0
	mov	r3, #0
	b	.L4
.L6:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldrh	r3, [fp, #-6]
	lsr	r3, r3, #4
	lsl	r3, r3, #21
	lsr	r3, r3, #21
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r3, #1020
	sub	r3, r3, #2
	ldr	r2, [fp, #-24]
	str	r3, [r2]
	ldrh	r3, [fp, #-6]	@ movhi
	bic	r3, r3, #16384
	bic	r3, r3, #16
	orr	r3, r3, #16320
	orr	r3, r3, #32
	strh	r3, [fp, #-6]	@ movhi
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
.L4:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	frexp, .-frexp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
