	.file	"43939.c"
	.intel_syntax noprefix
	.text
	.globl	thres
	.bss
	.align 4
	.type	thres, @object
	.size	thres, 4
thres:
	.zero	4
	.globl	est_rate
	.data
	.align 4
	.type	est_rate, @object
	.size	est_rate, 4
est_rate:
	.long	1084227584
	.globl	nusers
	.bss
	.align 4
	.type	nusers, @object
	.size	nusers, 4
nusers:
	.zero	4
	.globl	firstuser
	.align 4
	.type	firstuser, @object
	.size	firstuser, 4
firstuser:
	.zero	4
	.globl	nwork
	.align 4
	.type	nwork, @object
	.size	nwork, 4
nwork:
	.zero	4
	.globl	exit_status
	.align 4
	.type	exit_status, @object
	.size	exit_status, 4
exit_status:
	.zero	4
	.globl	sigpipe
	.align 4
	.type	sigpipe, @object
	.size	sigpipe, 4
sigpipe:
	.zero	4
	.globl	work
	.align 32
	.type	work, @object
	.size	work, 400
work:
	.zero	400
	.globl	child
	.align 32
	.type	child, @object
	.size	child, 576
child:
	.zero	576
	.globl	cp
	.align 8
	.type	cp, @object
	.size	cp, 8
cp:
	.zero	8
	.section	.rodata
.LC0:
	.string	"a"
.LC1:
	.string	"masterlog.00"
.LC2:
	.string	"%f"
	.align 8
.LC5:
	.string	"%s: bad rate, reset to %.2f chars/sec\n"
	.align 8
.LC7:
	.string	"%s: cannot open copy file '%s'\n"
.LC8:
	.string	"%s: bad flag '%c'\n"
.LC9:
	.string	"%s: missing nusers\n"
	.align 8
.LC10:
	.string	"%s: impossible nusers (%d<-%s)\n"
.LC11:
	.string	"%d Users\n"
.LC12:
	.string	"master pid %d\n"
.LC13:
	.string	"** clone fork failed **\n"
.LC14:
	.string	"master clone pid %d\n"
.LC15:
	.string	"masterlog.%02d"
.LC16:
	.string	"w"
.LC17:
	.string	"user %d job %d "
.LC18:
	.string	"** pipe failed **\n"
.LC19:
	.string	"userlog.%02d"
	.align 8
.LC20:
	.string	"makework: cannot open %s for std output\n"
.LC21:
	.string	"** exec failed **\n"
.LC22:
	.string	"** fork failed **\n"
.LC23:
	.string	"pid %d pipe fd %d"
.LC24:
	.string	" > "
.LC25:
	.string	"user %d job %d cmd %s "
.LC26:
	.string	"write(,,%d) returns %d\n"
.LC27:
	.string	"** SIGPIPE error **\n"
.LC28:
	.string	"** write error **\n"
.LC29:
	.string	"user %d job %d pid %d done"
.LC30:
	.string	" status %d"
.LC31:
	.string	" exit code %d"
.LC32:
	.string	"master clone done, pid %d "
.LC33:
	.string	"Finished waiting ..."
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -100[rbp], 1
	mov	DWORD PTR -80[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	freopen@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L2
.L13:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -64[rbp], rax
	sub	DWORD PTR -116[rbp], 1
	add	QWORD PTR -128[rbp], 8
	jmp	.L3
.L11:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 99
	je	.L4
	cmp	eax, 114
	jne	.L5
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR est_rate[rip], xmm0
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, est_rate[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movss	xmm1, DWORD PTR est_rate[rip]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jb	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR .LC4[rip]
	mov	rdx, QWORD PTR -40[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	movss	xmm0, DWORD PTR .LC6[rip]
	movss	DWORD PTR est_rate[rip], xmm0
.L6:
	sub	DWORD PTR -116[rbp], 1
	add	QWORD PTR -128[rbp], 8
	jmp	.L8
.L4:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 0
	jns	.L9
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 384
	mov	rdi, rax
	call	creat@PLT
	mov	DWORD PTR -104[rbp], eax
.L9:
	cmp	DWORD PTR -104[rbp], 0
	jns	.L10
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
.L10:
	mov	eax, DWORD PTR -104[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	sub	DWORD PTR -116[rbp], 1
	add	QWORD PTR -128[rbp], 8
	jmp	.L8
.L5:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 4
	call	exit@PLT
.L8:
	add	QWORD PTR -64[rbp], 1
.L3:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
.L2:
	cmp	DWORD PTR -116[rbp], 1
	jle	.L12
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L13
.L12:
	cmp	DWORD PTR -116[rbp], 1
	jg	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 4
	call	exit@PLT
.L14:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR nusers[rip], eax
	mov	eax, DWORD PTR nusers[rip]
	test	eax, eax
	jg	.L15
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rsi, QWORD PTR [rax]
	mov	ecx, DWORD PTR nusers[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 4
	call	exit@PLT
.L15:
	mov	edx, DWORD PTR nusers[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	sub	DWORD PTR -116[rbp], 1
	add	QWORD PTR -128[rbp], 8
	call	getwork
	mov	DWORD PTR firstuser[rip], 12
	call	getpid@PLT
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L16
.L23:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR nusers[rip]
	cmp	eax, 23
	jle	.L17
	mov	DWORD PTR -96[rbp], 12
	jmp	.L18
.L17:
	mov	eax, DWORD PTR nusers[rip]
	sub	eax, 12
	mov	DWORD PTR -96[rbp], eax
.L18:
	call	fork@PLT
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, -1
	jne	.L19
	lea	rdi, .LC13[rip]
	call	fatal
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	jle	.L21
	mov	edx, DWORD PTR -112[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR nusers[rip]
	sub	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR nusers[rip], eax
	mov	eax, DWORD PTR firstuser[rip]
	add	eax, 12
	mov	DWORD PTR firstuser[rip], eax
	jmp	.L16
.L21:
	mov	eax, DWORD PTR firstuser[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx
	sar	eax, 31
	sub	edx, eax
	lea	rax, -23[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rdx, QWORD PTR stderr[rip]
	lea	rax, -23[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	freopen@PLT
	mov	DWORD PTR -100[rbp], 0
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR nusers[rip], eax
	jmp	.L22
.L16:
	mov	eax, DWORD PTR nusers[rip]
	cmp	eax, 12
	jg	.L23
.L22:
	cmp	DWORD PTR -100[rbp], 0
	je	.L24
	mov	DWORD PTR firstuser[rip], 0
.L24:
	mov	edi, 0
	call	close@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L25
.L40:
	mov	edx, DWORD PTR firstuser[rip]
	mov	eax, DWORD PTR -108[rbp]
	lea	esi, [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -80[rbp]
	mov	ecx, edx
	mov	edx, esi
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L26
	lea	rdi, .LC18[rip]
	call	fatal
	jmp	.L20
.L26:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	fork@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L27
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	je	.L28
	mov	edi, 0
	call	close@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	dup@PLT
.L28:
	mov	edx, DWORD PTR firstuser[rip]
	mov	eax, DWORD PTR -108[rbp]
	add	edx, eax
	lea	rax, -23[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rdx, QWORD PTR stderr[rip]
	lea	rax, -23[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	freopen@PLT
	mov	DWORD PTR -76[rbp], 3
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -76[rbp]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -76[rbp], 1
.L29:
	cmp	DWORD PTR -76[rbp], 23
	jle	.L30
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+32]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L31
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+32]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L32
.L33:
	add	QWORD PTR -56[rbp], 1
.L32:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L33
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, work[rip+32]
	mov	rax, QWORD PTR [rcx+rax]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	freopen@PLT
	test	rax, rax
	jne	.L34
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+32]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
.L34:
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 10
.L31:
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+8]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -80[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, work[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execv@PLT
	lea	rdi, .LC21[rip]
	call	fatal
	jmp	.L20
.L27:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L35
	lea	rdi, .LC22[rip]
	call	fatal
	jmp	.L20
.L35:
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	lea	rax, child[rip+20]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+16]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	lea	rax, child[rip+8]
	mov	QWORD PTR [rcx+rax], rdx
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+8]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	lea	rax, child[rip+32]
	mov	QWORD PTR [rcx+rax], rdx
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+24]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	lea	rax, child[rip+16]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, child[rip+44]
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, child[rip+40]
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+20]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+32]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, work[rip+32]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L37
.L38:
	mov	rdx, QWORD PTR stderr[rip]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	add	QWORD PTR -48[rbp], 1
.L37:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L38
.L36:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	add	DWORD PTR -80[rbp], 1
	mov	eax, DWORD PTR nwork[rip]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L39
	mov	DWORD PTR -80[rbp], 0
.L39:
	add	DWORD PTR -108[rbp], 1
.L25:
	mov	eax, DWORD PTR nusers[rip]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L40
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	pxor	xmm0, xmm0
	movss	DWORD PTR thres[rip], xmm0
	mov	DWORD PTR -88[rbp], 0
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -92[rbp], eax
	mov	DWORD PTR -108[rbp], 0
	jmp	.L41
.L44:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L42
	add	DWORD PTR -92[rbp], 1
	jmp	.L43
.L42:
	movss	xmm1, DWORD PTR est_rate[rip]
	movss	xmm0, DWORD PTR .LC6[rip]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR thres[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR thres[rip], xmm0
.L43:
	add	DWORD PTR -108[rbp], 1
.L41:
	mov	eax, DWORD PTR nusers[rip]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L44
	movss	xmm0, DWORD PTR thres[rip]
	movss	DWORD PTR est_rate[rip], xmm0
	lea	rsi, onalarm[rip]
	mov	edi, 14
	call	signal@PLT
	lea	rsi, pipeerr[rip]
	mov	edi, 13
	call	signal@PLT
	mov	edi, 5
	call	alarm@PLT
	jmp	.L45
.L63:
	mov	DWORD PTR -108[rbp], 0
	jmp	.L46
.L60:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	lea	rdx, child[rip]
	add	rax, rdx
	mov	QWORD PTR cp[rip], rax
	mov	rax, QWORD PTR cp[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR cp[rip]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jge	.L78
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -2004318071
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 60
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 1[rdx]
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	je	.L79
	mov	rax, QWORD PTR cp[rip]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -112[rbp]
	add	edx, eax
	mov	rax, QWORD PTR cp[rip]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jle	.L50
	mov	rax, QWORD PTR cp[rip]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR cp[rip]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -112[rbp], eax
.L50:
	mov	rax, QWORD PTR cp[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR cp[rip]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -112[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR cp[rip]
	add	rdx, rcx
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR cp[rip]
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -112[rbp]
	mov	rax, QWORD PTR cp[rip]
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	jmp	.L51
.L58:
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L52
	mov	rax, QWORD PTR cp[rip]
	mov	rax, QWORD PTR 8[rax]
	sub	rax, 1
	cmp	QWORD PTR -64[rbp], rax
	jne	.L53
	mov	rax, QWORD PTR cp[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR cp[rip]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jl	.L53
.L52:
	mov	rax, QWORD PTR cp[rip]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, rdx
	add	eax, 1
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR cp[rip]
	mov	rcx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR cp[rip]
	mov	eax, DWORD PTR 20[rax]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	je	.L54
	mov	rax, QWORD PTR cp[rip]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR cp[rip]
	mov	rcx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR cp[rip]
	mov	edx, DWORD PTR 44[rax]
	mov	esi, DWORD PTR firstuser[rip]
	mov	eax, DWORD PTR -108[rbp]
	add	esi, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, rcx
	mov	ecx, edx
	mov	edx, esi
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -72[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR sigpipe[rip]
	test	eax, eax
	je	.L55
	lea	rdi, .LC27[rip]
	call	fatal
	jmp	.L20
.L55:
	lea	rdi, .LC28[rip]
	call	fatal
	jmp	.L20
.L54:
	cmp	DWORD PTR -104[rbp], 0
	je	.L57
	mov	rax, QWORD PTR cp[rip]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, rdx
	add	rax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR cp[rip]
	mov	rcx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L57:
	mov	rax, QWORD PTR cp[rip]
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, 1
	mov	QWORD PTR 32[rax], rdx
.L53:
	add	QWORD PTR -64[rbp], 1
.L51:
	mov	rax, QWORD PTR cp[rip]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -64[rbp], rax
	jb	.L58
	mov	rax, QWORD PTR cp[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR cp[rip]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jl	.L59
	add	DWORD PTR -92[rbp], 1
	mov	rax, QWORD PTR cp[rip]
	mov	eax, DWORD PTR 20[rax]
	mov	edi, eax
	call	close@PLT
.L59:
	mov	eax, DWORD PTR -112[rbp]
	add	DWORD PTR -88[rbp], eax
	jmp	.L48
.L78:
	nop
	jmp	.L48
.L79:
	nop
.L48:
	add	DWORD PTR -108[rbp], 1
.L46:
	mov	eax, DWORD PTR nusers[rip]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L60
	jmp	.L61
.L62:
	call	pause@PLT
.L61:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -88[rbp]
	movss	xmm1, DWORD PTR thres[rip]
	comiss	xmm0, xmm1
	ja	.L62
.L45:
	mov	eax, DWORD PTR nusers[rip]
	cmp	DWORD PTR -92[rbp], eax
	jl	.L63
	nop
.L20:
	mov	edi, 0
	call	alarm@PLT
	lea	rsi, grunt[rip]
	mov	edi, 14
	call	signal@PLT
	mov	edi, 1200
	call	alarm@PLT
	jmp	.L64
.L75:
	mov	DWORD PTR -108[rbp], 0
	jmp	.L65
.L71:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -84[rbp], eax
	jne	.L66
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+44]
	mov	edx, DWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR firstuser[rip]
	mov	eax, DWORD PTR -108[rbp]
	lea	esi, [rcx+rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -84[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, esi
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	je	.L67
	mov	eax, DWORD PTR -112[rbp]
	and	eax, 127
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR -112[rbp]
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L68:
	mov	eax, DWORD PTR -112[rbp]
	and	eax, 65280
	test	eax, eax
	je	.L69
	mov	eax, DWORD PTR -112[rbp]
	sar	eax, 8
	movzx	edx, al
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L69:
	mov	DWORD PTR exit_status[rip], 4
.L67:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	DWORD PTR [rdx+rax], -1
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -84[rbp], eax
	jmp	.L70
.L66:
	add	DWORD PTR -108[rbp], 1
.L65:
	mov	eax, DWORD PTR nusers[rip]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L71
.L70:
	cmp	DWORD PTR -84[rbp], -1
	je	.L64
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -84[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -112[rbp]
	test	eax, eax
	je	.L72
	mov	eax, DWORD PTR -112[rbp]
	and	eax, 127
	test	eax, eax
	je	.L73
	mov	eax, DWORD PTR -112[rbp]
	and	eax, 127
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L73:
	mov	eax, DWORD PTR -112[rbp]
	and	eax, 65280
	test	eax, eax
	je	.L74
	mov	eax, DWORD PTR -112[rbp]
	sar	eax, 8
	movzx	edx, al
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L74:
	mov	DWORD PTR exit_status[rip], 4
.L72:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L64:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], -1
	jne	.L75
	mov	edi, 0
	call	alarm@PLT
	lea	rdi, .LC33[rip]
	call	wrapup
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	onalarm
	.type	onalarm, @function
onalarm:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	movss	xmm1, DWORD PTR thres[rip]
	movss	xmm0, DWORD PTR est_rate[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR thres[rip], xmm0
	lea	rsi, onalarm[rip]
	mov	edi, 14
	call	signal@PLT
	mov	edi, 5
	call	alarm@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	onalarm, .-onalarm
	.section	.rodata
	.align 8
.LC34:
	.string	"Timed out waiting for jobs to finish ..."
	.text
	.globl	grunt
	.type	grunt, @function
grunt:
.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 exit_status[rip], 4
	lea	rdi, .LC34[rip]
	call	wrapup
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	grunt, .-grunt
	.globl	pipeerr
	.type	pipeerr, @function
pipeerr:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR sigpipe[rip]
	add	eax, 1
	mov	DWORD PTR sigpipe[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	pipeerr, .-pipeerr
	.section	.rodata
.LC35:
	.string	"%s\n"
	.align 8
.LC36:
	.string	"user %d job %d pid %d killed off\n"
	.text
	.globl	wrapup
	.type	wrapup, @function
wrapup:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L84
.L87:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jle	.L85
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	cmp	eax, -1
	je	.L85
	cmp	DWORD PTR -4[rbp], 0
	jne	.L86
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
.L86:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+44]
	mov	edx, DWORD PTR [rdx+rax]
	mov	esi, DWORD PTR firstuser[rip]
	mov	eax, DWORD PTR -8[rbp]
	add	esi, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, esi
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
.L85:
	add	DWORD PTR -8[rbp], 1
.L84:
	mov	eax, DWORD PTR nusers[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L87
	mov	eax, DWORD PTR exit_status[rip]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	wrapup, .-wrapup
	.section	.rodata
	.align 8
.LC37:
	.string	"Too many jobs specified, .. increase MAXWORK\n"
.LC38:
	.string	""
	.align 8
.LC39:
	.string	"cannot open input file (%s) for job %d\n"
.LC40:
	.string	"C="
	.text
	.globl	getwork
	.type	getwork, @function
getwork:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 584
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	jmp	.L89
.L117:
	mov	eax, DWORD PTR nwork[rip]
	cmp	eax, 9
	jle	.L90
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
	mov	edi, 4
	call	exit@PLT
.L90:
	mov	eax, DWORD PTR nwork[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, work[rip]
	add	rax, rdx
	mov	QWORD PTR -552[rbp], rax
	lea	rax, -544[rbp]
	mov	QWORD PTR -568[rbp], rax
	mov	DWORD PTR -580[rbp], 1
	jmp	.L91
.L93:
	add	DWORD PTR -580[rbp], 1
	add	QWORD PTR -568[rbp], 1
.L91:
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L92
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L93
.L92:
	mov	eax, DWORD PTR -580[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -552[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -580[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -544[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -580[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -552[rbp]
	mov	DWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -552[rbp]
	lea	rdx, .LC38[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	DWORD PTR -576[rbp], 2
	mov	edi, 16
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -552[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -560[rbp], rax
	jmp	.L94
.L95:
	add	QWORD PTR -560[rbp], 1
.L94:
	mov	rax, QWORD PTR -560[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L95
	sub	QWORD PTR -560[rbp], 1
	jmp	.L96
.L99:
	mov	rax, QWORD PTR -560[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L97
	add	QWORD PTR -560[rbp], 1
	jmp	.L98
.L97:
	sub	QWORD PTR -560[rbp], 1
.L96:
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -560[rbp], rax
	jnb	.L99
.L98:
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -560[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L100
.L116:
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L101
	add	QWORD PTR -568[rbp], 1
	jmp	.L100
.L101:
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 60
	jne	.L102
	add	QWORD PTR -568[rbp], 1
	mov	rax, QWORD PTR -568[rbp]
	mov	QWORD PTR -560[rbp], rax
	jmp	.L103
.L105:
	add	QWORD PTR -568[rbp], 1
.L103:
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L104
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L105
.L104:
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -581[rbp], al
	mov	rax, QWORD PTR -568[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -560[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -572[rbp], eax
	cmp	DWORD PTR -572[rbp], -1
	jne	.L106
	mov	ecx, DWORD PTR nwork[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -560[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 4
	call	exit@PLT
.L106:
	mov	edi, 512
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -552[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L107
.L108:
	mov	rax, QWORD PTR -552[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	eax, DWORD PTR -580[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -552[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -552[rbp]
	mov	eax, DWORD PTR 24[rax]
	add	eax, 512
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -552[rbp]
	mov	QWORD PTR 16[rdx], rax
.L107:
	mov	rax, QWORD PTR -552[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -552[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -572[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -580[rbp], eax
	cmp	DWORD PTR -580[rbp], 0
	jg	.L108
	mov	rax, QWORD PTR -552[rbp]
	mov	eax, DWORD PTR 24[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -552[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	eax, DWORD PTR -572[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -552[rbp]
	lea	rdx, .LC38[rip]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -560[rbp], rax
	jmp	.L109
.L112:
	mov	rax, QWORD PTR -560[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L110
	mov	rax, QWORD PTR -560[rbp]
	add	rax, 1
	mov	edx, 2
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L110
	mov	rax, QWORD PTR -560[rbp]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -552[rbp]
	mov	QWORD PTR 32[rax], rdx
	jmp	.L100
.L110:
	add	QWORD PTR -560[rbp], 1
.L109:
	mov	rax, QWORD PTR -552[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -552[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	sub	rax, 10
	add	rax, rdx
	cmp	QWORD PTR -560[rbp], rax
	jb	.L112
	jmp	.L100
.L102:
	add	DWORD PTR -576[rbp], 1
	mov	eax, DWORD PTR -576[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -552[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -552[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -568[rbp]
	mov	QWORD PTR -560[rbp], rax
	mov	DWORD PTR -580[rbp], 1
	jmp	.L113
.L115:
	add	QWORD PTR -568[rbp], 1
	add	DWORD PTR -580[rbp], 1
.L113:
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L114
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L115
.L114:
	mov	eax, DWORD PTR -580[rbp]
	cdqe
	mov	rdx, QWORD PTR -552[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -576[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	sub	rdx, 16
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -580[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -576[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 16
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -560[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -576[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 16
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -580[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L100:
	mov	rax, QWORD PTR -568[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L116
	mov	rax, QWORD PTR -552[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -576[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR nwork[rip]
	add	eax, 1
	mov	DWORD PTR nwork[rip], eax
.L89:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -544[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L117
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L118
	call	__stack_chk_fail@PLT
.L118:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getwork, .-getwork
	.section	.rodata
.LC41:
	.string	"Reason?"
.LC42:
	.string	"pid %d killed off\n"
	.text
	.globl	fatal
	.type	fatal, @function
fatal:
.LFB12:
	.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
	mov	QWORD PTR -24[rbp], rdi
	mov	rdx, QWORD PTR stderr[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC41[rip]
	call	perror@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L120
.L122:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jle	.L121
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	cmp	eax, -1
	je	.L121
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, child[rip+24]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
.L121:
	add	DWORD PTR -4[rbp], 1
.L120:
	mov	eax, DWORD PTR nusers[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L122
	mov	DWORD PTR exit_status[rip], 4
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	fatal, .-fatal
	.section	.rodata
	.align 8
.LC4:
	.long	0
	.long	1075052544
	.align 4
.LC6:
	.long	1084227584
	.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	"43939.c"
	.text
	.comm	thres,4,4
	.global	est_rate
	.data
	.align	2
	.type	est_rate, %object
	.size	est_rate, 4
est_rate:
	.word	1084227584
	.comm	nusers,4,4
	.comm	firstuser,4,4
	.global	nwork
	.bss
	.align	2
	.type	nwork, %object
	.size	nwork, 4
nwork:
	.space	4
	.global	exit_status
	.align	2
	.type	exit_status, %object
	.size	exit_status, 4
exit_status:
	.space	4
	.comm	sigpipe,4,4
	.comm	work,200,4
	.comm	child,384,4
	.comm	cp,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"a\000"
	.align	2
.LC1:
	.ascii	"masterlog.00\000"
	.global	__aeabi_i2f
	.align	2
.LC2:
	.ascii	"%f\000"
	.global	__aeabi_fcmple
	.align	2
.LC3:
	.ascii	"%s: bad rate, reset to %.2f chars/sec\012\000"
	.align	2
.LC4:
	.ascii	"%s: cannot open copy file '%s'\012\000"
	.align	2
.LC5:
	.ascii	"%s: bad flag '%c'\012\000"
	.align	2
.LC6:
	.ascii	"%s: missing nusers\012\000"
	.align	2
.LC7:
	.ascii	"%s: impossible nusers (%d<-%s)\012\000"
	.align	2
.LC8:
	.ascii	"%d Users\012\000"
	.align	2
.LC9:
	.ascii	"master pid %d\012\000"
	.align	2
.LC10:
	.ascii	"** clone fork failed **\012\000"
	.align	2
.LC11:
	.ascii	"master clone pid %d\012\000"
	.align	2
.LC12:
	.ascii	"masterlog.%02d\000"
	.align	2
.LC13:
	.ascii	"w\000"
	.align	2
.LC14:
	.ascii	"user %d job %d \000"
	.align	2
.LC15:
	.ascii	"** pipe failed **\012\000"
	.align	2
.LC16:
	.ascii	"userlog.%02d\000"
	.align	2
.LC17:
	.ascii	"makework: cannot open %s for std output\012\000"
	.align	2
.LC18:
	.ascii	"** exec failed **\012\000"
	.align	2
.LC19:
	.ascii	"** fork failed **\012\000"
	.align	2
.LC20:
	.ascii	"pid %d pipe fd %d\000"
	.align	2
.LC21:
	.ascii	" > \000"
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.align	2
.LC22:
	.ascii	"user %d job %d cmd %s \000"
	.align	2
.LC23:
	.ascii	"write(,,%d) returns %d\012\000"
	.align	2
.LC24:
	.ascii	"** SIGPIPE error **\012\000"
	.align	2
.LC25:
	.ascii	"** write error **\012\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC26:
	.ascii	"user %d job %d pid %d done\000"
	.align	2
.LC27:
	.ascii	" status %d\000"
	.align	2
.LC28:
	.ascii	" exit code %d\000"
	.align	2
.LC29:
	.ascii	"master clone done, pid %d \000"
	.align	2
.LC30:
	.ascii	"Finished waiting ...\000"
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-96]
	mov	r3, #1
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L80+8
	ldr	r0, .L80+12
	bl	freopen
	ldr	r3, [fp, #-116]
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	b	.L2
.L13:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	str	r3, [fp, #-116]
	b	.L3
.L11:
	ldr	r3, [fp, #-68]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	beq	.L4
	cmp	r3, #114
	bne	.L5
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r2, .L80+16
	str	r3, [r2]	@ float
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L80+16
	ldr	r1, .L80+20
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, .L80+16
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L80+4
	ldr	r0, [r3]
	mov	r2, #0
	ldr	r3, .L80+24
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-52]
	ldr	r1, .L80+28
	bl	fprintf
	ldr	r3, .L80+16
	ldr	r2, .L80+32
	str	r2, [r3]	@ float
.L6:
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	str	r3, [fp, #-116]
	b	.L8
.L4:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bge	.L9
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #384
	mov	r0, r3
	bl	creat
	str	r0, [fp, #-96]
.L9:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bge	.L10
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	ldr	r1, .L80+36
	bl	fprintf
	mov	r0, #2
	bl	exit
.L10:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	lseek
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	str	r3, [fp, #-116]
	b	.L8
.L5:
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-68]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-52]
	ldr	r1, .L80+40
	bl	fprintf
	mov	r0, #4
	bl	exit
.L8:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L3:
	ldr	r3, [fp, #-68]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
.L2:
	ldr	r3, [fp, #-112]
	cmp	r3, #1
	ble	.L12
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L13
.L12:
	ldr	r3, [fp, #-112]
	cmp	r3, #1
	bgt	.L14
	ldr	r3, .L80+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	ldr	r1, .L80+44
	mov	r0, r3
	bl	fprintf
	mov	r0, #4
	bl	exit
.L14:
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L80+180
	str	r3, [r2]
	ldr	r3, .L80+180
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L15
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, .L80+180
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-52]
	ldr	r1, .L80+48
	bl	fprintf
	mov	r0, #4
	bl	exit
.L15:
	ldr	r3, .L80+4
	ldr	r3, [r3]
	ldr	r2, .L80+180
	ldr	r2, [r2]
	ldr	r1, .L80+52
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r3, #4
	str	r3, [fp, #-116]
	bl	getwork
	ldr	r3, .L80+56
	mov	r2, #12
	str	r2, [r3]
	ldr	r3, .L80+4
	ldr	r4, [r3]
	bl	getpid
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L80+60
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L16
.L23:
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L80+180
	ldr	r3, [r3]
	cmp	r3, #23
	ble	.L17
	mov	r3, #12
	str	r3, [fp, #-88]
	b	.L18
.L17:
	ldr	r3, .L80+180
	ldr	r3, [r3]
	sub	r3, r3, #12
	str	r3, [fp, #-88]
.L18:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmn	r3, #1
	bne	.L19
	ldr	r0, .L80+64
	bl	fatal
	b	.L20
.L19:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	ble	.L21
	ldr	r3, .L80+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-104]
	ldr	r1, .L80+68
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L80+180
	ldr	r2, [r3]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	ldr	r2, .L80+180
	str	r3, [r2]
	ldr	r3, .L80+56
	ldr	r3, [r3]
	add	r3, r3, #12
	ldr	r2, .L80+56
	str	r3, [r2]
	b	.L16
.L21:
	ldr	r3, .L80+56
	ldr	r3, [r3]
	ldr	r2, .L80+72
	smull	r1, r2, r3, r2
	asr	r2, r2, #1
	asr	r3, r3, #31
	sub	r2, r2, r3
	sub	r3, fp, #32
	ldr	r1, .L80+76
	mov	r0, r3
	bl	sprintf
	ldr	r3, .L80+4
	ldr	r2, [r3]
	sub	r3, fp, #32
	ldr	r1, .L80+80
	mov	r0, r3
	bl	freopen
	mov	r3, #0
	str	r3, [fp, #-92]
	ldr	r2, .L80+180
	ldr	r3, [fp, #-88]
	str	r3, [r2]
	b	.L22
.L16:
	ldr	r3, .L80+180
	ldr	r3, [r3]
	cmp	r3, #12
	bgt	.L23
.L22:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L80+56
	mov	r2, #0
	str	r2, [r3]
.L24:
	mov	r0, #0
	bl	close
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L25
.L40:
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, .L80+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r2, r2, r3
	ldr	r3, [fp, #-72]
	ldr	r1, .L80+84
	bl	fprintf
	sub	r3, fp, #40
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L26
	ldr	r0, .L80+88
	bl	fatal
	b	.L20
.L26:
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	fork
	mov	r3, r0
	mov	r1, r3
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	str	r1, [r3, #16]
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L28
	mov	r0, #0
	bl	close
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	dup
.L28:
	ldr	r3, .L80+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r2, r2, r3
	sub	r3, fp, #32
	ldr	r1, .L80+96
	mov	r0, r3
	bl	sprintf
	ldr	r3, .L80+4
	ldr	r2, [r3]
	sub	r3, fp, #32
	ldr	r1, .L80+80
	mov	r0, r3
	bl	freopen
	mov	r3, #3
	str	r3, [fp, #-64]
	b	.L29
.L30:
	ldr	r0, [fp, #-64]
	bl	close
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L29:
	ldr	r3, [fp, #-64]
	cmp	r3, #23
	ble	.L30
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	str	r3, [fp, #-60]
	b	.L32
.L33:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L32:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L33
	ldr	r3, [fp, #-60]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r2, .L80+104
	ldr	r2, [r2]
	ldr	r1, .L80+80
	mov	r0, r3
	bl	freopen
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L80+108
	bl	fprintf
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L34:
	ldr	r3, [fp, #-60]
	mov	r2, #10
	strb	r2, [r3]
.L31:
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r0, [r3]
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	bl	execv
	ldr	r0, .L80+112
	bl	fatal
	b	.L20
.L27:
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	cmn	r3, #1
	bne	.L35
	ldr	r0, .L80+116
	bl	fatal
	b	.L20
.L35:
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	close
	ldr	r2, [fp, #-36]
	ldr	r1, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #12]
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r1, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #20]
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r2, [r3]
	ldr	r1, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #8]
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	str	r2, [r3, #28]
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	str	r2, [r3, #24]
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [r3, #16]
	ldr	r1, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	ldr	r1, .L80+120
	bl	fprintf
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L80+124
	bl	fwrite
	ldr	r1, .L80+100
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	b	.L37
.L38:
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	fputc
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L37:
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L38
.L36:
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, .L80+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L39
	mov	r3, #0
	str	r3, [fp, #-72]
.L39:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L25:
	ldr	r3, .L80+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L40
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L80+132
	mov	r2, #0
	str	r2, [r3]	@ float
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L41
.L44:
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	b	.L43
.L42:
	ldr	r3, .L80+16
	ldr	r3, [r3]	@ float
	ldr	r1, .L80+32
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L80+132
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L80+132
	str	r2, [r3]	@ float
.L43:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L41:
	ldr	r3, .L80+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L44
	ldr	r3, .L80+132
	ldr	r3, [r3]	@ float
	ldr	r2, .L80+16
	str	r3, [r2]	@ float
	ldr	r1, .L80+136
	mov	r0, #14
	bl	signal
	ldr	r1, .L80+140
	mov	r0, #13
	bl	signal
	mov	r0, #5
	bl	alarm
	b	.L45
.L63:
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L46
.L60:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	ldr	r2, .L80+92
	add	r3, r3, r2
	ldr	r2, .L80+144
	str	r3, [r2]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L78
	bl	rand
	mov	r2, r0
	ldr	r3, .L80+148
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, r2, r3
	add	r3, r1, #1
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L79
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-104]
	add	r2, r2, r3
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	ble	.L50
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-104]
.L50:
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-68]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-104]
	mov	r1, r3
	ldr	r3, .L80+144
	ldr	r3, [r3]
	add	r2, r2, r1
	str	r2, [r3, #4]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-104]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	add	r2, r1, r2
	str	r2, [r3]
	b	.L51
.L58:
	ldr	r3, [fp, #-68]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L52
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bne	.L53
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	blt	.L53
.L52:
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-68]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r0, [r3, #12]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-48]
	mov	r1, r3
	bl	write
	str	r0, [fp, #-44]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L54
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, .L80+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r2, r2, r3
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r1, [r3, #28]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L80+152
	bl	fprintf
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	ldr	r1, .L80+156
	bl	fprintf
	ldr	r3, .L80+160
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L55
	ldr	r0, .L80+164
	bl	fatal
	b	.L20
.L55:
	ldr	r0, .L80+168
	bl	fatal
	b	.L20
.L54:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L57
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r1, [r3, #20]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-68]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-96]
	bl	write
.L57:
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	add	r2, r2, #1
	str	r2, [r3, #20]
.L53:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L51:
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bcc	.L58
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	blt	.L59
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, .L80+144
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	close
.L59:
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	b	.L48
.L78:
	nop
	b	.L48
.L79:
	nop
.L48:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L46:
	ldr	r3, .L80+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L60
	b	.L61
.L62:
	bl	pause
.L61:
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, .L80+132
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
.L45:
	ldr	r3, .L80+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	blt	.L63
	nop
.L20:
	mov	r0, #0
	bl	alarm
	ldr	r1, .L80+172
	mov	r0, #14
	bl	signal
	mov	r0, #1200
	bl	alarm
	b	.L64
.L75:
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L65
.L71:
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	bne	.L66
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, .L80+56
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r2, r2, r3
	ldr	r1, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-76]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L80+176
	bl	fprintf
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L67
	ldr	r3, [fp, #-104]
	and	r3, r3, #127
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	and	r3, r3, #127
	mov	r2, r3
	ldr	r1, .L80+188
	bl	fprintf
.L68:
	ldr	r3, [fp, #-104]
	and	r3, r3, #65280
	cmp	r3, #0
	beq	.L69
	ldr	r3, .L80+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	asr	r3, r3, #8
	and	r3, r3, #255
	mov	r2, r3
	ldr	r1, .L80+192
	bl	fprintf
.L69:
	ldr	r3, .L80+196
	mov	r2, #4
	str	r2, [r3]
.L67:
	ldr	r3, .L80+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #16]
	ldr	r2, .L80+92
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	str	r3, [fp, #-76]
	b	.L70
.L81:
	.align	2
.L80:
	.word	.LC31
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	est_rate
	.word	.LC2
	.word	1075052544
	.word	.LC3
	.word	1084227584
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	firstuser
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	715827883
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	child
	.word	.LC16
	.word	work
	.word	stdout
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	nwork
	.word	thres
	.word	onalarm
	.word	pipeerr
	.word	cp
	.word	-2004318071
	.word	.LC22
	.word	.LC23
	.word	sigpipe
	.word	.LC24
	.word	.LC25
	.word	grunt
	.word	.LC26
	.word	nusers
	.word	.LC29
	.word	.LC27
	.word	.LC28
	.word	exit_status
	.word	stderr
	.word	.LC30
.L66:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L65:
	ldr	r3, .L80+180
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	cmp	r2, r3
	blt	.L71
.L70:
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	beq	.L64
	ldr	r3, .L80+200
	ldr	r3, [r3]
	ldr	r2, [fp, #-76]
	ldr	r1, .L80+184
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #-104]
	and	r3, r3, #127
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L80+200
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	and	r3, r3, #127
	mov	r2, r3
	ldr	r1, .L80+188
	bl	fprintf
.L73:
	ldr	r3, [fp, #-104]
	and	r3, r3, #65280
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L80+200
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	asr	r3, r3, #8
	and	r3, r3, #255
	mov	r2, r3
	ldr	r1, .L80+192
	bl	fprintf
.L74:
	ldr	r3, .L80+196
	mov	r2, #4
	str	r2, [r3]
.L72:
	ldr	r3, .L80+200
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
.L64:
	sub	r3, fp, #104
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	bne	.L75
	mov	r0, #0
	bl	alarm
	ldr	r0, .L80+204
	bl	wrapup
	mov	r0, #0
	bl	exit
	.size	main, .-main
	.align	2
	.global	onalarm
	.syntax unified
	.arm
	.fpu softvfp
	.type	onalarm, %function
onalarm:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L83
	ldr	r3, [r3]	@ float
	ldr	r2, .L83+4
	ldr	r2, [r2]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L83
	str	r2, [r3]	@ float
	ldr	r1, .L83+8
	mov	r0, #14
	bl	signal
	mov	r0, #5
	bl	alarm
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	thres
	.word	est_rate
	.word	onalarm
	.size	onalarm, .-onalarm
	.section	.rodata
	.align	2
.LC32:
	.ascii	"Timed out waiting for jobs to finish ...\000"
	.text
	.align	2
	.global	grunt
	.syntax unified
	.arm
	.fpu softvfp
	.type	grunt, %function
grunt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L86
	mov	r2, #4
	str	r2, [r3]
	ldr	r0, .L86+4
	bl	wrapup
	nop
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	exit_status
	.word	.LC32
	.size	grunt, .-grunt
	.align	2
	.global	pipeerr
	.syntax unified
	.arm
	.fpu softvfp
	.type	pipeerr, %function
pipeerr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L89
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L89
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L90:
	.align	2
.L89:
	.word	sigpipe
	.size	pipeerr, .-pipeerr
	.section	.rodata
	.align	2
.LC33:
	.ascii	"%s\012\000"
	.align	2
.LC34:
	.ascii	"user %d job %d pid %d killed off\012\000"
	.text
	.align	2
	.global	wrapup
	.syntax unified
	.arm
	.fpu softvfp
	.type	wrapup, %function
wrapup:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L96
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L92
.L95:
	ldr	r2, .L96+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	cmp	r3, #0
	ble	.L93
	ldr	r2, .L96+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	mov	r1, #9
	mov	r0, r3
	bl	kill
	mov	r3, r0
	cmn	r3, #1
	beq	.L93
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L96
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L96+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L96
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L94:
	ldr	r3, .L96
	ldr	r0, [r3]
	ldr	r3, .L96+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r2, r3
	ldr	r1, .L96+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r1, [r3, #28]
	ldr	ip, .L96+4
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	add	r3, ip, r3
	ldr	r3, [r3, #16]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L96+16
	bl	fprintf
	ldr	r3, .L96
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L93:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L92:
	ldr	r3, .L96+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L95
	ldr	r3, .L96+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L97:
	.align	2
.L96:
	.word	stderr
	.word	child
	.word	.LC33
	.word	firstuser
	.word	.LC34
	.word	nusers
	.word	exit_status
	.size	wrapup, .-wrapup
	.section	.rodata
	.align	2
.LC35:
	.ascii	"Too many jobs specified, .. increase MAXWORK\012\000"
	.align	2
.LC36:
	.ascii	"\000"
	.align	2
.LC37:
	.ascii	"cannot open input file (%s) for job %d\012\000"
	.align	2
.LC38:
	.ascii	"C=\000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getwork
	.syntax unified
	.arm
	.fpu softvfp
	.type	getwork, %function
getwork:
	@ args = 0, pretend = 0, frame = 544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #548
	ldr	r3, .L129
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-548]
	mov	r3, #0
	str	r3, [fp, #-544]
	mov	r3, #0
	str	r3, [fp, #-540]
	mov	r3, #0
	str	r3, [fp, #-536]
	b	.L99
.L127:
	ldr	r3, .L129+4
	ldr	r3, [r3]
	cmp	r3, #9
	ble	.L100
	ldr	r3, .L129+8
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L129+12
	bl	fwrite
	mov	r0, #4
	bl	exit
.L100:
	ldr	r3, .L129+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L129+16
	add	r3, r3, r2
	str	r3, [fp, #-536]
	sub	r3, fp, #528
	str	r3, [fp, #-544]
	mov	r3, #1
	str	r3, [fp, #-552]
	b	.L101
.L103:
	ldr	r3, [fp, #-552]
	add	r3, r3, #1
	str	r3, [fp, #-552]
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L101:
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L102
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L103
.L102:
	ldr	r3, [fp, #-552]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-536]
	str	r2, [r3]
	ldr	r3, [fp, #-536]
	ldr	r0, [r3]
	ldr	r3, [fp, #-552]
	sub	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #528
	mov	r1, r3
	bl	strncpy
	ldr	r3, [fp, #-536]
	ldr	r2, [r3]
	ldr	r3, [fp, #-552]
	sub	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-536]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-536]
	ldr	r2, .L129+20
	str	r2, [r3, #8]
	mov	r3, #2
	str	r3, [fp, #-548]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-536]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	str	r3, [fp, #-540]
	b	.L104
.L105:
	ldr	r3, [fp, #-540]
	add	r3, r3, #1
	str	r3, [fp, #-540]
.L104:
	ldr	r3, [fp, #-540]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L105
	ldr	r3, [fp, #-540]
	sub	r3, r3, #1
	str	r3, [fp, #-540]
	b	.L106
.L109:
	ldr	r3, [fp, #-540]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L107
	ldr	r3, [fp, #-540]
	add	r3, r3, #1
	str	r3, [fp, #-540]
	b	.L108
.L107:
	ldr	r3, [fp, #-540]
	sub	r3, r3, #1
	str	r3, [fp, #-540]
.L106:
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	ldr	r2, [fp, #-540]
	cmp	r2, r3
	bcs	.L109
.L108:
	ldr	r3, [fp, #-536]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-540]
	str	r2, [r3]
	b	.L110
.L126:
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L111
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
	b	.L110
.L111:
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #60
	bne	.L112
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
	ldr	r3, [fp, #-544]
	str	r3, [fp, #-540]
	b	.L113
.L115:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L113:
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L115
.L114:
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]
	strb	r3, [fp, #-553]
	ldr	r3, [fp, #-544]
	mov	r2, #0
	strb	r2, [r3]
	mov	r1, #0
	ldr	r0, [fp, #-540]
	bl	open
	str	r0, [fp, #-532]
	ldr	r3, [fp, #-532]
	cmn	r3, #1
	bne	.L116
	ldr	r3, .L129+8
	ldr	r0, [r3]
	ldr	r3, .L129+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-540]
	ldr	r1, .L129+24
	bl	fprintf
	mov	r0, #4
	bl	exit
.L116:
	mov	r0, #512
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-536]
	str	r2, [r3, #8]
	b	.L117
.L118:
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-552]
	add	r2, r2, r3
	ldr	r3, [fp, #-536]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-536]
	ldr	r3, [r3, #12]
	add	r3, r3, #512
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-536]
	str	r2, [r3, #8]
.L117:
	ldr	r3, [fp, #-536]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-536]
	ldr	r2, [r2, #12]
	add	r3, r3, r2
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [fp, #-532]
	bl	read
	str	r0, [fp, #-552]
	ldr	r3, [fp, #-552]
	cmp	r3, #0
	bgt	.L118
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-536]
	ldr	r3, [r3, #12]
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-536]
	str	r2, [r3, #8]
	ldr	r0, [fp, #-532]
	bl	close
	ldr	r3, [fp, #-536]
	ldr	r2, .L129+20
	str	r2, [r3, #16]
	ldr	r3, [fp, #-536]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-540]
	b	.L119
.L122:
	ldr	r3, [fp, #-540]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L120
	ldr	r3, [fp, #-540]
	add	r3, r3, #1
	mov	r2, #2
	ldr	r1, .L129+28
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L120
	ldr	r3, [fp, #-540]
	add	r2, r3, #3
	ldr	r3, [fp, #-536]
	str	r2, [r3, #16]
	b	.L110
.L120:
	ldr	r3, [fp, #-540]
	add	r3, r3, #1
	str	r3, [fp, #-540]
.L119:
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-536]
	ldr	r3, [r3, #12]
	sub	r3, r3, #10
	add	r3, r2, r3
	ldr	r2, [fp, #-540]
	cmp	r2, r3
	bcc	.L122
	b	.L110
.L112:
	ldr	r3, [fp, #-548]
	add	r3, r3, #1
	str	r3, [fp, #-548]
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-548]
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-536]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-544]
	str	r3, [fp, #-540]
	mov	r3, #1
	str	r3, [fp, #-552]
	b	.L123
.L125:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
	ldr	r3, [fp, #-552]
	add	r3, r3, #1
	str	r3, [fp, #-552]
.L123:
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L124
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L125
.L124:
	ldr	r1, [fp, #-552]
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-548]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-548]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-552]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-540]
	bl	strncpy
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-548]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-552]
	sub	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L110:
	ldr	r3, [fp, #-544]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-536]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-548]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L129+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+4
	str	r3, [r2]
.L99:
	ldr	r3, .L129+32
	ldr	r2, [r3]
	sub	r3, fp, #528
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L127
	nop
	ldr	r3, .L129
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L128
	bl	__stack_chk_fail
.L128:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L130:
	.align	2
.L129:
	.word	.LC39
	.word	nwork
	.word	stderr
	.word	.LC35
	.word	work
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	stdin
	.size	getwork, .-getwork
	.section	.rodata
	.align	2
.LC40:
	.ascii	"Reason?\000"
	.align	2
.LC41:
	.ascii	"pid %d killed off\012\000"
	.text
	.align	2
	.global	fatal
	.syntax unified
	.arm
	.fpu softvfp
	.type	fatal, %function
fatal:
	@ 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]
	ldr	r3, .L135
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	fputs
	ldr	r3, .L135
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L135+4
	bl	perror
	ldr	r3, .L135
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L132
.L134:
	ldr	r2, .L135+8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	cmp	r3, #0
	ble	.L133
	ldr	r2, .L135+8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	mov	r1, #9
	mov	r0, r3
	bl	kill
	mov	r3, r0
	cmn	r3, #1
	beq	.L133
	ldr	r3, .L135
	ldr	r0, [r3]
	ldr	r2, .L135+8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r1, .L135+12
	bl	fprintf
	ldr	r3, .L135
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L133:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L132:
	ldr	r3, .L135+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L134
	ldr	r3, .L135+20
	mov	r2, #4
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L136:
	.align	2
.L135:
	.word	stderr
	.word	.LC40
	.word	child
	.word	.LC41
	.word	nusers
	.word	exit_status
	.size	fatal, .-fatal
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
