	.file	"104828197.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\nError in reading the instance!"
	.text
	.globl	print_error
	.type	print_error, @function
print_error:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	print_error, .-print_error
	.section	.rodata
.LC1:
	.string	"LPT order : "
.LC2:
	.string	"%d ,"
.LC3:
	.string	"\nJob information : "
	.align 8
.LC4:
	.string	"Job %d is processed on A_%d starting %d;\n"
.LC5:
	.string	"\nMachine information : "
.LC6:
	.string	"A_%d processes "
.LC7:
	.string	"job %d at %d, "
.LC8:
	.string	"%d "
	.align 8
.LC9:
	.string	"The job processing time interval is [%d, %d], and the makespan is %d.\n"
	.text
	.globl	lpt
	.type	lpt, @function
lpt:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	DWORD PTR -184[rbp], edx
	mov	DWORD PTR -196[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -208[rbp], rax
	mov	ecx, DWORD PTR -196[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -144[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 96
	imul	rax, r14, 0
	lea	rsi, [rdx+rax]
	mov	eax, 96
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	imul	rdx, r13, 96
	imul	rax, r12, 0
	lea	rsi, [rdx+rax]
	mov	eax, 96
	mul	r12
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L3:
	cmp	rsp, rdx
	je	.L4
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L3
.L4:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L5
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L5:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -136[rbp], rax
	mov	ecx, DWORD PTR -180[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -128[rbp], rax
	movsx	rax, ecx
	mov	r10, rax
	mov	r11d, 0
	imul	rdx, r11, 320
	imul	rax, r10, 0
	lea	rsi, [rdx+rax]
	mov	eax, 320
	mul	r10
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	movsx	rax, ecx
	mov	r8, rax
	mov	r9d, 0
	imul	rdx, r9, 320
	imul	rax, r8, 0
	lea	rsi, [rdx+rax]
	mov	eax, 320
	mul	r8
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L6:
	cmp	rsp, rdx
	je	.L7
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L6
.L7:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L8
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L8:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -120[rbp], rax
	mov	DWORD PTR -164[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -164[rbp]
	add	eax, 1
	mov	DWORD PTR -108[rbp], eax
	mov	DWORD PTR -104[rbp], 0
	mov	eax, DWORD PTR -184[rbp]
	mov	DWORD PTR -100[rbp], eax
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdx, QWORD PTR -108[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edx, DWORD PTR -100[rbp]
	mov	DWORD PTR 8[rax], edx
	add	DWORD PTR -164[rbp], 1
.L9:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L10
	mov	DWORD PTR -164[rbp], 0
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -164[rbp]
	add	eax, 1
	mov	DWORD PTR -96[rbp], eax
	mov	DWORD PTR -152[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -84[rbp], eax
	add	DWORD PTR -152[rbp], 1
.L12:
	cmp	DWORD PTR -152[rbp], 2
	jle	.L13
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 32[rax], rdx
	add	DWORD PTR -164[rbp], 1
.L11:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L14
	mov	DWORD PTR -152[rbp], 0
	jmp	.L15
.L19:
	mov	eax, DWORD PTR -152[rbp]
	add	eax, 1
	mov	DWORD PTR -156[rbp], eax
	jmp	.L16
.L18:
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jle	.L17
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -156[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	QWORD PTR 24[rdx], rbx
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR 32[rdx], rax
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -156[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 32[rax], rdx
.L17:
	add	DWORD PTR -156[rbp], 1
.L16:
	mov	eax, DWORD PTR -156[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L18
	add	DWORD PTR -152[rbp], 1
.L15:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L19
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L20
.L21:
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -164[rbp], 1
.L20:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L21
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -160[rbp], 0
	jmp	.L22
.L28:
	mov	DWORD PTR -164[rbp], 0
	jmp	.L23
.L25:
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -160[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jge	.L24
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	add	rax, 16
	mov	DWORD PTR [rax], edx
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	add	rax, 20
	mov	DWORD PTR [rax], edx
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 4
	mov	DWORD PTR [rax], edx
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 8
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -160[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	add	ecx, eax
	mov	rsi, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	add	rax, 8
	mov	DWORD PTR [rax], ecx
	add	DWORD PTR -160[rbp], 1
.L24:
	add	DWORD PTR -164[rbp], 1
.L23:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L25
	mov	DWORD PTR -152[rbp], 0
	jmp	.L26
.L27:
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	lea	ecx, -1[rax]
	mov	rsi, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	add	rax, 4
	mov	DWORD PTR [rax], ecx
	add	DWORD PTR -152[rbp], 1
.L26:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L27
.L22:
	mov	eax, DWORD PTR -160[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L28
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L29
.L30:
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 20
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	add	rax, 16
	mov	edx, DWORD PTR [rax]
	mov	rdi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 3
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -164[rbp], 1
.L29:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L30
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L31
.L35:
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -152[rbp], 0
	jmp	.L32
.L34:
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 16
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jne	.L33
	mov	rcx, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	add	rax, 20
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -152[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L33:
	add	DWORD PTR -152[rbp], 1
.L32:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L34
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -164[rbp], 1
.L31:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L35
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L36
.L38:
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -148[rbp], eax
	jge	.L37
	mov	rcx, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L37:
	add	DWORD PTR -164[rbp], 1
.L36:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L38
	mov	eax, DWORD PTR -148[rbp]
	sub	eax, DWORD PTR -184[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -148[rbp]
	mov	eax, DWORD PTR -184[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, QWORD PTR -208[rbp]
	nop
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	lpt, .-lpt
	.section	.rodata
.LC10:
	.string	"-i"
	.align 8
.LC11:
	.string	"Enter the number of machines in stage 1 : "
.LC12:
	.string	"%d"
.LC13:
	.string	"Enter the number of jobs : "
	.align 8
.LC14:
	.string	"Enter in each line the processing times for a job:"
.LC15:
	.string	"\n#instance%d_%d_1.txt\n"
	.align 8
.LC16:
	.string	"#number of stage 1 machines\n%d\n"
.LC17:
	.string	"#number of jobs\n%d\n"
.LC18:
	.string	"#job processing times"
.LC19:
	.string	"#end of instance\n"
.LC20:
	.string	"-r"
	.align 8
.LC21:
	.string	"Generating random instance ..."
	.align 8
.LC22:
	.string	"Enter the processing time interval [t_1, t_2]: "
.LC23:
	.string	"%d %d"
	.align 8
.LC24:
	.string	"Enter the number of instances to be generated: "
.LC25:
	.string	"\n#instance%d_%d_%d.txt\n"
.LC26:
	.string	"\nmyprogram -i | -r"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -92[rbp], 5
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L41
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -124[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L42
	mov	eax, 0
	call	print_error
.L42:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L43
	mov	eax, 0
	call	print_error
.L43:
	mov	ecx, DWORD PTR -120[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	mov	r10, QWORD PTR -160[rbp]
	mov	r11, QWORD PTR -152[rbp]
	imul	rdx, r11, 96
	imul	rax, r10, 0
	lea	rsi, [rdx+rax]
	mov	eax, 96
	mul	r10
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	movsx	rax, ecx
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	mov	r8, QWORD PTR -176[rbp]
	mov	r9, QWORD PTR -168[rbp]
	imul	rdx, r9, 96
	imul	rax, r8, 0
	lea	rsi, [rdx+rax]
	mov	eax, 96
	mul	r8
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L44:
	cmp	rsp, rdx
	je	.L45
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L44
.L45:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L46
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L46:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	DWORD PTR -96[rbp], 0
	jmp	.L47
.L51:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L48
.L50:
	mov	eax, DWORD PTR -100[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -96[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L49
	mov	eax, 0
	call	print_error
.L49:
	add	DWORD PTR -100[rbp], 1
.L48:
	cmp	DWORD PTR -100[rbp], 2
	jle	.L50
	add	DWORD PTR -96[rbp], 1
.L47:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -96[rbp], eax
	jl	.L51
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	DWORD PTR -96[rbp], 0
	jmp	.L52
.L55:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L53
.L54:
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -100[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -96[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -100[rbp], 1
.L53:
	cmp	DWORD PTR -100[rbp], 2
	jle	.L54
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -96[rbp], 1
.L52:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -96[rbp], eax
	jl	.L55
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	ecx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -120[rbp]
	mov	edx, DWORD PTR -92[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	edi, eax
	call	lpt
	mov	eax, 0
	mov	rsp, rbx
	jmp	.L71
.L41:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L57
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -124[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L58
	mov	eax, 0
	call	print_error
.L58:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L59
	mov	eax, 0
	call	print_error
.L59:
	mov	ecx, DWORD PTR -120[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 96
	imul	rax, r14, 0
	lea	rsi, [rdx+rax]
	mov	eax, 96
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	imul	rdx, r13, 96
	imul	rax, r12, 0
	lea	rsi, [rdx+rax]
	mov	eax, 96
	mul	r12
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L60:
	cmp	rsp, rdx
	je	.L61
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L60
.L61:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L62
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L62:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -112[rbp]
	lea	rax, -116[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L63
	mov	eax, 0
	call	print_error
.L63:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -108[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L64
	mov	eax, 0
	call	print_error
.L64:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L65
.L70:
	mov	eax, DWORD PTR -104[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	DWORD PTR -96[rbp], 0
	jmp	.L66
.L69:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L67
.L68:
	call	rand@PLT
	mov	edx, DWORD PTR -112[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	sub	edx, ecx
	lea	ecx, 1[rdx]
	cdq
	idiv	ecx
	mov	eax, DWORD PTR -116[rbp]
	lea	esi, [rdx+rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -96[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rdi
	mov	DWORD PTR [rdx+rax*4], esi
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -96[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -100[rbp], 1
.L67:
	cmp	DWORD PTR -100[rbp], 2
	jle	.L68
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -96[rbp], 1
.L66:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -96[rbp], eax
	jl	.L69
	lea	rdi, .LC19[rip]
	call	puts@PLT
	add	DWORD PTR -104[rbp], 1
.L65:
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -104[rbp], eax
	jl	.L70
	mov	eax, 0
	mov	rsp, rbx
	jmp	.L71
.L57:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, 0
.L71:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L72
	call	__stack_chk_fail@PLT
.L72:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"104828197.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Error in reading the instance!\000"
	.text
	.align	2
	.global	print_error
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_error, %function
print_error:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	mov	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	print_error, .-print_error
	.section	.rodata
	.align	2
.LC1:
	.ascii	"LPT order : \000"
	.align	2
.LC2:
	.ascii	"%d ,\000"
	.align	2
.LC3:
	.ascii	"\012Job information : \000"
	.align	2
.LC4:
	.ascii	"Job %d is processed on A_%d starting %d;\012\000"
	.align	2
.LC5:
	.ascii	"\012Machine information : \000"
	.align	2
.LC6:
	.ascii	"A_%d processes \000"
	.align	2
.LC7:
	.ascii	"job %d at %d, \000"
	.align	2
.LC8:
	.ascii	"%d \000"
	.align	2
.LC9:
	.ascii	"The job processing time interval is [%d, %d], and t"
	.ascii	"he makespan is %d.\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lpt
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpt, %function
lpt:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #116
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	str	r3, [fp, #-140]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	ldr	ip, [fp, #-140]
	sub	r3, ip, #1
	str	r3, [fp, #-100]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r4, r2, r2
	adc	r5, r3, r3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-96]
	ldr	ip, [fp, #-128]
	sub	r3, ip, #1
	str	r3, [fp, #-92]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L5
.L6:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-136]
	str	r3, [fp, #-76]
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	ip, r3
	sub	r3, fp, #84
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L5:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L7
.L10:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L8
.L9:
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-132]
	add	r3, r3, r2
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-132]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-132]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L8:
	ldr	r3, [fp, #-108]
	cmp	r3, #2
	ble	.L9
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	lr, r3
	sub	ip, fp, #72
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L7:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L11
.L15:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-112]
	b	.L12
.L14:
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r0, [fp, #-88]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L13
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	sub	ip, fp, #72
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r0, r1, r3
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	ip, r0
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	lr, r3
	sub	ip, fp, #72
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
.L13:
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L12:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L11:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L15
	ldr	r0, .L36+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L16
.L17:
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+8
	bl	printf
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L16:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L17
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L18
.L24:
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L19
.L21:
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	bge	.L20
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r0, [fp, #-88]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #16
	str	r1, [r3]
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r0, [fp, #-88]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #20
	str	r1, [r3]
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r0, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r0, [fp, #-88]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r1, r3
	ldr	r0, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L20:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L19:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L22
.L23:
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r0, [fp, #-96]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L22:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L23
.L18:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L24
	ldr	r0, .L36+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L25
.L26:
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3]
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	ip, [r3]
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L36+16
	bl	printf
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L25:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L26
	ldr	r0, .L36+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L27
.L31:
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L36+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L28
.L30:
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldr	r1, [r3]
	ldr	r0, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L29
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3]
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L36+28
	bl	printf
.L29:
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L28:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L30
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L27:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L31
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-104]
	ldr	r1, [fp, #-104]
	ldr	r0, .L36+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L32
.L34:
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	bge	.L33
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r1, [fp, #-104]
	ldr	r0, .L36+32
	bl	printf
.L33:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L32:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L34
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	sub	r3, r2, r3
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-136]
	ldr	r0, .L36+36
	bl	printf
	mov	sp, r8
	nop
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC10
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	lpt, .-lpt
	.section	.rodata
	.align	2
.LC11:
	.ascii	"-i\000"
	.align	2
.LC12:
	.ascii	"Enter the number of machines in stage 1 : \000"
	.align	2
.LC13:
	.ascii	"%d\000"
	.align	2
.LC14:
	.ascii	"Enter the number of jobs : \000"
	.align	2
.LC15:
	.ascii	"Enter in each line the processing times for a job:\000"
	.align	2
.LC16:
	.ascii	"\012#instance%d_%d_1.txt\012\000"
	.align	2
.LC17:
	.ascii	"#number of stage 1 machines\012%d\012\000"
	.align	2
.LC18:
	.ascii	"#number of jobs\012%d\012\000"
	.align	2
.LC19:
	.ascii	"#job processing times\000"
	.align	2
.LC20:
	.ascii	"#end of instance\012\000"
	.align	2
.LC21:
	.ascii	"-r\000"
	.align	2
.LC22:
	.ascii	"Generating random instance ...\000"
	.align	2
.LC23:
	.ascii	"Enter the processing time interval [t_1, t_2]: \000"
	.align	2
.LC24:
	.ascii	"%d %d\000"
	.align	2
.LC25:
	.ascii	"Enter the number of instances to be generated: \000"
	.align	2
.LC26:
	.ascii	"\012#instance%d_%d_%d.txt\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC27:
	.ascii	"\012myprogram -i | -r\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #72
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L65+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	mov	r3, sp
	mov	r4, r3
	ldr	r0, .L65+8
	bl	printf
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L65+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	bl	print_error
.L40:
	ldr	r0, .L65+16
	bl	printf
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L65+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	bl	print_error
.L41:
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	lr, r2, r2
	str	lr, [fp, #-100]
	adc	r3, r3, r3
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r2, r8
	mov	r3, r9
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	r0, .L65+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L42
.L46:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L43
.L45:
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L65+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	bl	print_error
.L44:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L43:
	ldr	r3, [fp, #-60]
	cmp	r3, #2
	ble	.L45
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L42:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L46
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-80]
	mov	r1, r3
	ldr	r0, .L65+24
	bl	printf
	ldr	r3, [fp, #-84]
	mov	r1, r3
	ldr	r0, .L65+28
	bl	printf
	ldr	r3, [fp, #-80]
	mov	r1, r3
	ldr	r0, .L65+32
	bl	printf
	ldr	r0, .L65+36
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L47
.L50:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L48
.L49:
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L65+40
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L48:
	ldr	r3, [fp, #-60]
	cmp	r3, #2
	ble	.L49
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L47:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L50
	ldr	r0, .L65+44
	bl	puts
	ldr	r0, [fp, #-80]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-36]
	bl	lpt
	mov	r3, #0
	mov	sp, r4
	b	.L63
.L39:
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L65+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	mov	r3, sp
	mov	r8, r3
	ldr	r0, .L65+52
	bl	puts
	ldr	r0, .L65+8
	bl	printf
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L65+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	bl	print_error
.L53:
	ldr	r0, .L65+16
	bl	printf
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L65+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
	bl	print_error
.L54:
	ldr	ip, [fp, #-80]
	sub	r3, ip, #1
	str	r3, [fp, #-48]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r6, r2, r2
	adc	r7, r3, r3
	mov	r2, r6
	mov	r3, r7
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, r0
	mov	r3, r1
	adds	r4, r2, r2
	adc	r5, r3, r3
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	ldr	r0, .L65+56
	bl	printf
	sub	r2, fp, #72
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L65+60
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	bl	print_error
.L55:
	ldr	r0, .L65+64
	bl	printf
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L65+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	bl	print_error
.L56:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L57
.L62:
	ldr	r1, [fp, #-84]
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	ldr	r0, .L65+68
	bl	printf
	ldr	r3, [fp, #-84]
	mov	r1, r3
	ldr	r0, .L65+28
	bl	printf
	ldr	r3, [fp, #-80]
	mov	r1, r3
	ldr	r0, .L65+32
	bl	printf
	ldr	r0, .L65+36
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L58
.L61:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L59
.L60:
	bl	rand
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-76]
	add	r0, r2, r3
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	str	r0, [r1, r3, lsl #2]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L65+40
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L59:
	ldr	r3, [fp, #-60]
	cmp	r3, #2
	ble	.L60
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L58:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L61
	ldr	r0, .L65+44
	bl	puts
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L57:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L62
	mov	r3, #0
	mov	sp, r8
	b	.L63
.L52:
	ldr	r0, .L65+72
	bl	puts
	mov	r3, #0
.L63:
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC28
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC8
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
