	.file	"54826480.c"
	.intel_syntax noprefix
	.text
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 16080
X:
	.zero	16080
	.globl	done
	.align 32
	.type	done, @object
	.size	done, 4020
done:
	.zero	4020
	.globl	id
	.align 32
	.type	id, @object
	.size	id, 4020
id:
	.zero	4020
	.globl	front
	.align 16
	.type	front, @object
	.size	front, 16
front:
	.zero	16
	.globl	rear
	.align 16
	.type	rear, @object
	.size	rear, 16
rear:
	.zero	16
	.globl	Q
	.align 32
	.type	Q, @object
	.size	Q, 16000
Q:
	.zero	16000
	.globl	Bt
	.align 32
	.type	Bt, @object
	.size	Bt, 4020
Bt:
	.zero	4020
	.globl	queued
	.align 32
	.type	queued, @object
	.size	queued, 4020
queued:
	.zero	4020
	.globl	ct
	.align 32
	.type	ct, @object
	.size	ct, 4020
ct:
	.zero	4020
	.globl	wt
	.align 32
	.type	wt, @object
	.size	wt, 4020
wt:
	.zero	4020
	.globl	tat
	.align 32
	.type	tat, @object
	.size	tat, 4020
tat:
	.zero	4020
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	cnt
	.align 4
	.type	cnt, @object
	.size	cnt, 4
cnt:
	.zero	4
	.text
	.globl	push
	.type	push, @function
push:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queued[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rear[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	lea	rcx, 0[0+rax*4]
	lea	rdx, Q[rip]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rear[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rear[rip]
	mov	DWORD PTR [rdx+rax], ecx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.globl	pop
	.type	pop, @function
pop:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, front[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 1000
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, Q[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, front[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, front[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queued[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pop, .-pop
	.globl	get
	.type	get, @function
get:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 1
	jne	.L5
	mov	eax, 1
	jmp	.L6
.L5:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L7
	mov	eax, 2
	jmp	.L6
.L7:
	mov	eax, 3
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	get, .-get
	.globl	ok
	.type	ok, @function
ok:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, front[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, rear[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jge	.L9
	mov	eax, 1
	jmp	.L10
.L9:
	mov	eax, 0
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ok, .-ok
	.globl	doround
	.type	doround, @function
doround:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	pop
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, Bt[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR t[rip]
	cmp	edx, eax
	jg	.L12
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, done[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, Bt[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, ct[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR cnt[rip]
	add	eax, 1
	mov	DWORD PTR cnt[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, Bt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, Bt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR t[rip]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, Bt[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	push
	mov	eax, DWORD PTR t[rip]
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	doround, .-doround
	.section	.rodata
.LC1:
	.string	"%d\t%d\t%d\t%d\t%d\t%d\n"
.LC2:
	.string	"%f\n"
.LC3:
	.string	"%f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -40[rbp], 2
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, X[rip+12]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, X[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 2
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, X[rip+4]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, X[rip+8]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, Bt[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -40[rbp], 4
	add	DWORD PTR -36[rbp], 1
.L15:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jl	.L16
	mov	DWORD PTR -40[rbp], 1
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	get
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, id[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -40[rbp], 1
.L17:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L18
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 2
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR t[rip], eax
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L20
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, id[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	push
.L20:
	add	DWORD PTR -40[rbp], 1
.L19:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L21
	jmp	.L22
.L38:
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	edi, 1
	call	ok
	test	eax, eax
	je	.L23
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	mov	edi, 1
	call	doround
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -40[rbp], 1
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, done[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queued[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L25
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, id[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	push
.L25:
	add	DWORD PTR -40[rbp], 1
.L24:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L26
	jmp	.L22
.L23:
	mov	edi, 2
	call	ok
	test	eax, eax
	je	.L27
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	mov	edi, 2
	call	doround
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -40[rbp], 1
	jmp	.L28
.L30:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, done[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queued[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L29
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, id[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	push
.L29:
	add	DWORD PTR -40[rbp], 1
.L28:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L30
	jmp	.L22
.L27:
	mov	edi, 3
	call	ok
	test	eax, eax
	je	.L31
	mov	edi, 3
	call	pop
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, Bt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, done[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR cnt[rip]
	add	eax, 1
	mov	DWORD PTR cnt[rip], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, ct[rip]
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	DWORD PTR -40[rbp], 1
	jmp	.L32
.L34:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, done[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queued[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L33
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, id[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	push
.L33:
	add	DWORD PTR -40[rbp], 1
.L32:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L34
	jmp	.L22
.L31:
	add	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -40[rbp], 1
	jmp	.L35
.L37:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, done[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L36
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, queued[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L36
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L36
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, id[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	push
.L36:
	add	DWORD PTR -40[rbp], 1
.L35:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L37
	nop
.L22:
	mov	eax, DWORD PTR cnt[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L38
	pxor	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, ct[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, X[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, tat[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, tat[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, X[rip+4]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, wt[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, tat[rip]
	mov	eax, DWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -28[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -28[rbp], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, wt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -24[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	add	DWORD PTR -40[rbp], 1
.L39:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L40
	mov	DWORD PTR -40[rbp], 1
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, ct[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, tat[rip]
	mov	r9d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, wt[rip]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdi, rax
	lea	rax, X[rip+12]
	mov	eax, DWORD PTR [rdi+rax]
	sub	rsp, 8
	push	rsi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -40[rbp], 1
.L41:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L42
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -24[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.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	"54826480.c"
	.text
	.comm	X,16080,4
	.comm	done,4020,4
	.comm	id,4020,4
	.comm	front,16,4
	.comm	rear,16,4
	.comm	Q,16000,4
	.comm	Bt,4020,4
	.comm	queued,4020,4
	.comm	ct,4020,4
	.comm	wt,4020,4
	.comm	tat,4020,4
	.comm	t,4,4
	.comm	cnt,4,4
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, .L2
	ldr	r3, [fp, #-12]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L2+4
	ldr	r3, [fp, #-8]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r0, .L2+8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	ldr	r2, [fp, #-12]
	str	r2, [r0, r3, lsl #2]
	ldr	r2, .L2+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L2+4
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	queued
	.word	rear
	.word	Q
	.size	push, .-push
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r2, .L6
	ldr	r3, [fp, #-16]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r0, .L6+4
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L6
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L6+8
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	front
	.word	Q
	.word	queued
	.size	pop, .-pop
	.align	2
	.global	get
	.syntax unified
	.arm
	.fpu softvfp
	.type	get, %function
get:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L9
	mov	r3, #1
	b	.L10
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L11
	mov	r3, #2
	b	.L10
.L11:
	mov	r3, #3
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	get, .-get
	.align	2
	.global	ok
	.syntax unified
	.arm
	.fpu softvfp
	.type	ok, %function
ok:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r2, .L15
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L15+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bge	.L13
	mov	r3, #1
	b	.L14
.L13:
	mov	r3, #0
.L14:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	front
	.word	rear
	.size	ok, .-ok
	.align	2
	.global	doround
	.syntax unified
	.arm
	.fpu softvfp
	.type	doround, %function
doround:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	pop
	str	r0, [fp, #-8]
	ldr	r2, .L20
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L18
	ldr	r2, .L20+8
	ldr	r3, [fp, #-8]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r2, .L20
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r1, .L20+12
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L20+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+16
	str	r3, [r2]
	ldr	r2, .L20
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	b	.L19
.L18:
	ldr	r2, .L20
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r1, .L20
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	push
	ldr	r3, .L20+4
	ldr	r3, [r3]
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	Bt
	.word	t
	.word	done
	.word	ct
	.word	cnt
	.size	doround, .-doround
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\011%d\011%d\011%d\011%d\011%d\012\000"
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"%f\012\000"
	.align	2
.LC2:
	.ascii	"%f\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-48]
	mov	r3, #2
	str	r3, [fp, #-52]
	b	.L23
.L24:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r1, .L52
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #12]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r1, .L52
	ldr	r3, [fp, #-48]
	str	r2, [r1, r3, lsl #4]
	ldr	r3, [fp, #-52]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r1, .L52
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, [fp, #-52]
	add	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r1, .L52
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #8]
	ldr	r2, .L52
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, .L52+4
	ldr	r3, [fp, #-48]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L23:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L24
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L25
.L26:
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	get
	mov	r2, r0
	ldr	r1, .L52+8
	ldr	r3, [fp, #-52]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L25:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L26
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #4
	add	r3, r3, #4
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L52+12
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L27
.L29:
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L28
	ldr	r2, .L52+8
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	push
.L28:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L27:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L29
	b	.L30
.L46:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-28]
	mov	r0, #1
	bl	ok
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r1, [fp, #-44]
	mov	r0, #1
	bl	doround
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L32
.L34:
	ldr	r2, .L52+16
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L33
	ldr	r2, .L52+20
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L33
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L33
	ldr	r2, .L52+8
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	push
.L33:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L32:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L34
	b	.L30
.L31:
	mov	r0, #2
	bl	ok
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r1, [fp, #-44]
	mov	r0, #2
	bl	doround
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L36
.L38:
	ldr	r2, .L52+16
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L37
	ldr	r2, .L52+20
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L37
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L37
	ldr	r2, .L52+8
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	push
.L37:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L36:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L38
	b	.L30
.L35:
	mov	r0, #3
	bl	ok
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	mov	r0, #3
	bl	pop
	str	r0, [fp, #-24]
	ldr	r2, .L52+4
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r2, .L52+16
	ldr	r3, [fp, #-24]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L52+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L52+24
	str	r3, [r2]
	ldr	r1, .L52+28
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-44]
	str	r2, [r1, r3, lsl #2]
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L40
.L42:
	ldr	r2, .L52+16
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L41
	ldr	r2, .L52+20
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L41
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L41
	ldr	r2, .L52+8
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	push
.L41:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L40:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L42
	b	.L30
.L39:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L43
.L45:
	ldr	r2, .L52+16
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L44
	ldr	r2, .L52+20
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L44
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L44
	ldr	r2, .L52+8
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	push
.L44:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L43:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L45
	nop
.L30:
	ldr	r3, .L52+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L46
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	mov	r3, #0
	str	r3, [fp, #-36]	@ float
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L47
.L48:
	ldr	r2, .L52+28
	ldr	r3, [fp, #-52]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L52
	ldr	r3, [fp, #-52]
	ldr	r3, [r1, r3, lsl #4]
	sub	r2, r2, r3
	ldr	r1, .L52+32
	ldr	r3, [fp, #-52]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L52+32
	ldr	r3, [fp, #-52]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L52
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r2, r2, r3
	ldr	r1, .L52+36
	ldr	r3, [fp, #-52]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L52+32
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r2, .L52+36
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L47:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L48
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L49
.L50:
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r0, [r3, #12]
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	ip, [r3, #4]
	ldr	r2, .L52
	ldr	r3, [fp, #-52]
	ldr	lr, [r2, r3, lsl #4]
	ldr	r2, .L52+36
	ldr	r3, [fp, #-52]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, .L52+32
	ldr	r2, [fp, #-52]
	ldr	r2, [r1, r2, lsl #2]
	ldr	r4, .L52+28
	ldr	r1, [fp, #-52]
	ldr	r1, [r4, r1, lsl #2]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L52+40
	bl	printf
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L49:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L50
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L52+44
	bl	printf
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L52+48
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L53:
	.align	2
.L52:
	.word	X
	.word	Bt
	.word	id
	.word	t
	.word	done
	.word	queued
	.word	cnt
	.word	ct
	.word	tat
	.word	wt
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
