	.file	"15762435.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC2:
	.string	"SIMQ ROWNRM=0"
.LC4:
	.string	"SIMQ BIG=0"
.LC5:
	.string	"SIMQ A[kpn]=0"
	.text
	.globl	simq
	.type	simq, @function
simq:
.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, 176
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	DWORD PTR -156[rbp], ecx
	mov	DWORD PTR -160[rbp], r8d
	mov	QWORD PTR -168[rbp], r9
	mov	eax, DWORD PTR -156[rbp]
	sub	eax, 1
	mov	DWORD PTR -96[rbp], eax
	cmp	DWORD PTR -160[rbp], 0
	js	.L50
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	jmp	.L4
.L15:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR [rdx], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	mov	DWORD PTR -120[rbp], 0
	jmp	.L5
.L11:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L48
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	jmp	.L8
.L48:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
.L8:
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR -56[rbp]
	jbe	.L9
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
.L9:
	add	DWORD PTR -116[rbp], 1
	add	DWORD PTR -120[rbp], 1
.L5:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L11
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -56[rbp]
	jp	.L12
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -56[rbp]
	jne	.L12
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L14
.L12:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC3[rip]
	divsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -124[rbp], 1
.L4:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L15
	mov	DWORD PTR -100[rbp], 0
	jmp	.L16
.L31:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	mov	DWORD PTR -108[rbp], 0
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -124[rbp], eax
	jmp	.L17
.L23:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	imul	eax, DWORD PTR -76[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -100[rbp]
	add	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L49
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	jmp	.L20
.L49:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
.L20:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR -48[rbp]
	jbe	.L21
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -108[rbp], eax
.L21:
	add	DWORD PTR -124[rbp], 1
.L17:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L23
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -48[rbp]
	jp	.L24
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -48[rbp]
	jne	.L24
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 2
	jmp	.L14
.L24:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	je	.L26
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -168[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR [rdx], eax
.L26:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	imul	eax, DWORD PTR -88[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -100[rbp]
	add	eax, edx
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -124[rbp], eax
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	imul	eax, DWORD PTR -76[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -100[rbp]
	add	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	divsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -156[rbp]
	imul	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	imul	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -120[rbp], eax
	jmp	.L28
.L29:
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -120[rbp], 1
.L28:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L29
	add	DWORD PTR -124[rbp], 1
.L27:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L30
	add	DWORD PTR -100[rbp], 1
.L16:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jl	.L31
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -156[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -156[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L3
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L3
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 3
	jmp	.L14
.L50:
	nop
.L3:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -152[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -124[rbp], 1
	jmp	.L33
.L36:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	imul	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -112[rbp], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	DWORD PTR -120[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	add	DWORD PTR -112[rbp], 1
	add	DWORD PTR -120[rbp], 1
.L34:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jl	.L35
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	subsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -124[rbp], 1
.L33:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L36
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -156[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -156[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -104[rbp], 1
	jmp	.L37
.L40:
	mov	eax, DWORD PTR -96[rbp]
	sub	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	imul	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -68[rbp], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	add	eax, 1
	mov	DWORD PTR -120[rbp], eax
	jmp	.L38
.L39:
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	add	DWORD PTR -120[rbp], 1
.L38:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L39
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -124[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -104[rbp], 1
.L37:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L40
	mov	eax, 0
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	simq, .-simq
	.section	.rodata
	.align 16
.LC1:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.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	"15762435.c"
	.text
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"SIMQ ROWNRM=0\000"
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.align	2
.LC1:
	.ascii	"SIMQ BIG=0\000"
	.global	__aeabi_dadd
	.align	2
.LC2:
	.ascii	"SIMQ A[kpn]=0\000"
	.global	__aeabi_dsub
	.text
	.align	2
	.global	simq
	.syntax unified
	.arm
	.fpu softvfp
	.type	simq, %function
simq:
	@ args = 8, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #-172]
	sub	r3, r3, #1
	str	r3, [fp, #-124]
	ldr	r3, [fp, #4]
	cmp	r3, #0
	blt	.L52
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L4
.L15:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r2, [fp, #-152]
	str	r2, [r3]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L5
.L11:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	b	.L8
.L48:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
.L8:
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
.L9:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L5:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L11
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L49
	ldr	r0, .L53
	bl	printf
	mov	r3, #1
	b	.L14
.L49:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r6, r2, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L53+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L4:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L16
.L31:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-152]
	b	.L17
.L23:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r8, r2
	eor	r9, r3, #-2147483648
	b	.L20
.L50:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r8-r9}
.L20:
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	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}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-152]
	str	r3, [fp, #-136]
.L21:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L17:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L23
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	ldr	r0, .L53+8
	bl	printf
	mov	r3, #2
	b	.L14
.L51:
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	beq	.L26
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r2, r2, r3
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	ldr	r1, [fp, #8]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r2, [fp, #-148]
	str	r2, [r3]
.L26:
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-116]
	mul	r3, r2, r3
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-152]
	b	.L27
.L30:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-180]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-176]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	str	r2, [fp, #-188]
	ldr	r2, [fp, #-48]
	eor	r2, r2, #-2147483648
	str	r2, [fp, #-184]
	sub	r2, fp, #188
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-116]
	mul	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-148]
	b	.L28
.L29:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-148]
	add	r3, r2, r3
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-148]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L28:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L27:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L16:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-172]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-172]
	mul	r2, r3, r2
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r0, .L53+12
	bl	printf
	mov	r3, #3
	b	.L14
.L52:
	nop
.L3:
	ldr	r3, [fp, #8]
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-168]
	stm	r1, {r2-r3}
	mov	r3, #1
	str	r3, [fp, #-152]
	b	.L33
.L36:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	str	r3, [fp, #-140]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L34
.L35:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L34:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-152]
	cmp	r2, r3
	blt	.L35
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r4, r2, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L33:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L36
	ldr	r3, [fp, #-172]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-172]
	mul	r2, r3, r2
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-172]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-172]
	sub	ip, ip, #-536870911
	lsl	ip, ip, #3
	ldr	lr, [fp, #-168]
	add	r4, lr, ip
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	mov	r3, #1
	str	r3, [fp, #-132]
	b	.L37
.L40:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-132]
	sub	r3, r2, r3
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	str	r3, [fp, #-96]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L38
.L39:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-148]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L38:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-152]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-152]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-168]
	add	r4, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L37:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-172]
	cmp	r2, r3
	blt	.L40
	mov	r3, #0
.L14:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC0
	.word	1072693248
	.word	.LC1
	.word	.LC2
	.size	simq, .-simq
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
