	.file	"94395.c"
	.intel_syntax noprefix
	.text
	.globl	fmod
	.type	fmod, @function
fmod:
.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 -56[rbp], xmm0
	movsd	QWORD PTR -64[rbp], xmm1
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -32[rbp]
	shr	rax, 52
	and	eax, 2047
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	shr	rax, 52
	and	eax, 2047
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	shr	rax, 63
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rax
	test	rax, rax
	je	.L2
	movsd	xmm0, QWORD PTR -64[rbp]
	ucomisd	xmm0, QWORD PTR -64[rbp]
	jp	.L2
	cmp	DWORD PTR -44[rbp], 2047
	jne	.L3
.L2:
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	mulsd	xmm1, QWORD PTR -64[rbp]
	divsd	xmm0, xmm1
	jmp	.L25
.L3:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rax
	cmp	rdx, rax
	ja	.L5
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rax
	cmp	rdx, rax
	jne	.L6
	movsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	mulsd	xmm0, xmm1
	jmp	.L25
.L6:
	movsd	xmm0, QWORD PTR -56[rbp]
	jmp	.L25
.L5:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR -8[rbp]
	sal	rax, 12
	mov	QWORD PTR -16[rbp], rax
	jmp	.L8
.L9:
	sub	DWORD PTR -44[rbp], 1
	sal	QWORD PTR -16[rbp]
.L8:
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jns	.L9
	mov	eax, 1
	sub	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	sal	QWORD PTR -8[rbp], cl
	jmp	.L10
.L7:
	movabs	rax, 4503599627370495
	and	QWORD PTR -8[rbp], rax
	movabs	rax, 4503599627370496
	or	QWORD PTR -8[rbp], rax
.L10:
	cmp	DWORD PTR -40[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
	sal	rax, 12
	mov	QWORD PTR -16[rbp], rax
	jmp	.L12
.L13:
	sub	DWORD PTR -40[rbp], 1
	sal	QWORD PTR -16[rbp]
.L12:
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jns	.L13
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, 1
	sub	eax, DWORD PTR -40[rbp]
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	jmp	.L15
.L11:
	mov	rax, QWORD PTR -24[rbp]
	movabs	rdx, 4503599627370495
	and	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movabs	rdx, 4503599627370496
	or	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	jmp	.L15
.L18:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	js	.L16
	cmp	QWORD PTR -16[rbp], 0
	jne	.L17
	movsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	mulsd	xmm0, xmm1
	jmp	.L25
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
.L16:
	sal	QWORD PTR -8[rbp]
	sub	DWORD PTR -44[rbp], 1
.L15:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jg	.L18
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	js	.L21
	cmp	QWORD PTR -16[rbp], 0
	jne	.L20
	movsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	mulsd	xmm0, xmm1
	jmp	.L25
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L21
.L22:
	sal	QWORD PTR -8[rbp]
	sub	DWORD PTR -44[rbp], 1
.L21:
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 52
	test	rax, rax
	je	.L22
	cmp	DWORD PTR -44[rbp], 0
	jle	.L23
	movabs	rax, -4503599627370496
	add	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 52
	or	QWORD PTR -8[rbp], rax
	jmp	.L24
.L23:
	mov	eax, 1
	sub	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	shr	QWORD PTR -8[rbp], cl
.L24:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 63
	or	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -32[rbp], rax
	movsd	xmm0, QWORD PTR -32[rbp]
.L25:
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fmod, .-fmod
	.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	"94395.c"
	.text
	.global	__aeabi_dcmpun
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	fmod
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmod, %function
fmod:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #208
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r3, #20
	mov	r1, #0
	mov	r3, r0
	lsl	r3, r3, #21
	lsr	r3, r3, #21
	str	r3, [fp, #-72]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r3, #20
	mov	r1, #0
	mov	r3, r0
	lsl	r3, r3, #21
	lsr	r3, r3, #21
	str	r3, [fp, #-68]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r3, #31
	mov	r1, #0
	mov	r3, r0
	str	r3, [fp, #-64]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-116]
	adc	r3, r3, r3
	str	r3, [fp, #-112]
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L2
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpun
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r2, [fp, #-72]
	ldr	r3, .L26
	cmp	r2, r3
	bne	.L3
.L2:
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	b	.L25
.L3:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-124]
	adc	r3, r3, r3
	str	r3, [fp, #-120]
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	ip, r2, r2
	str	ip, [fp, #-132]
	adc	r3, r3, r3
	str	r3, [fp, #-128]
	sub	r3, fp, #132
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L5
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-140]
	adc	r3, r3, r3
	str	r3, [fp, #-136]
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	ip, r2, r2
	str	ip, [fp, #-148]
	adc	r3, r3, r3
	str	r3, [fp, #-144]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L6
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L25
.L6:
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	b	.L25
.L5:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #12
	orr	r1, r1, r2, lsr #20
	lsl	r0, r2, #12
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	b	.L8
.L9:
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-156]
	adc	r3, r3, r3
	str	r3, [fp, #-152]
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L8:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L9
	ldr	r3, [fp, #-72]
	rsb	r1, r3, #1
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	r5, r3, r1
	orr	r5, r5, r2, lsl ip
	orr	r5, r5, r2, lsr r0
	lsl	r4, r2, r1
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	b	.L10
.L7:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mvn	r2, #0
	ldr	r3, .L26+4
	and	ip, r0, r2
	str	ip, [fp, #-164]
	and	r3, r1, r3
	str	r3, [fp, #-160]
	sub	r4, fp, #164
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #1048576
	orr	ip, r0, r2
	str	ip, [fp, #-172]
	orr	r3, r1, r3
	str	r3, [fp, #-168]
	sub	r4, fp, #172
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
.L10:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #12
	orr	r1, r1, r2, lsr #20
	lsl	r0, r2, #12
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	b	.L12
.L13:
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	str	r3, [fp, #-68]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-180]
	adc	r3, r3, r3
	str	r3, [fp, #-176]
	sub	r4, fp, #180
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-44]
	str	r4, [fp, #-40]
.L12:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	bge	.L13
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-68]
	rsb	r1, r1, #1
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	r7, r3, r1
	orr	r7, r7, r2, lsl ip
	orr	r7, r7, r2, lsr r0
	lsl	r6, r2, r1
	str	r6, [fp, #-52]
	str	r7, [fp, #-48]
	b	.L15
.L11:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mvn	r2, #0
	ldr	r3, .L26+4
	and	ip, r0, r2
	str	ip, [fp, #-100]
	and	r3, r1, r3
	str	r3, [fp, #-96]
	sub	r4, fp, #100
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #1048576
	orr	ip, r0, r2
	str	ip, [fp, #-108]
	orr	r3, r1, r3
	str	r3, [fp, #-104]
	sub	r4, fp, #108
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	b	.L15
.L18:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	ip, r2, r0
	str	ip, [fp, #-188]
	sbc	r3, r3, r1
	str	r3, [fp, #-184]
	sub	r4, fp, #188
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-44]
	str	r4, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	blt	.L16
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L17
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L25
.L17:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L16:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-196]
	adc	r3, r3, r3
	str	r3, [fp, #-192]
	sub	r4, fp, #196
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
.L15:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	bgt	.L18
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	ip, r2, r0
	str	ip, [fp, #-204]
	sbc	r3, r3, r1
	str	r3, [fp, #-200]
	sub	r4, fp, #204
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-44]
	str	r4, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r2, #0
	sbcs	r3, r3, #0
	blt	.L21
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L20
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L25
.L20:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L21
.L22:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-212]
	adc	r3, r3, r3
	str	r3, [fp, #-208]
	sub	r4, fp, #212
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
.L21:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r1, #20
	mov	r3, #0
	orrs	r3, r2, r3
	beq	.L22
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	ble	.L23
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L26+8
	adds	ip, r2, r0
	str	ip, [fp, #-220]
	adc	r3, r3, r1
	str	r3, [fp, #-216]
	sub	r4, fp, #220
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	ldr	r3, [fp, #-72]
	mov	r0, r3
	asr	r1, r0, #31
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r0, #20
	mov	r2, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	orr	ip, r0, r2
	str	ip, [fp, #-228]
	orr	r3, r1, r3
	str	r3, [fp, #-224]
	sub	r4, fp, #228
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	b	.L24
.L23:
	ldr	r3, [fp, #-72]
	rsb	r1, r3, #1
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r8, r2, r1
	orr	r8, r8, r3, lsl ip
	orr	r8, r8, r3, lsr r0
	lsr	r9, r3, r1
	str	r8, [fp, #-36]
	str	r9, [fp, #-32]
.L24:
	ldr	r3, [fp, #-64]
	mov	r0, r3
	asr	r1, r0, #31
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r0, #31
	mov	r2, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	orr	ip, r0, r2
	str	ip, [fp, #-236]
	orr	r3, r1, r3
	str	r3, [fp, #-232]
	sub	r4, fp, #236
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
.L25:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L27:
	.align	2
.L26:
	.word	2047
	.word	1048575
	.word	-1048576
	.size	fmod, .-fmod
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
