// File: /workspace/github_cpp_makefile_star2_O2/jenniferdr[P]proyectoIAI/conflictos.cc
// Function: generarTabla()
void generarTabla() {

  memset(conflictos, 0, sizeof(int)*16*16*16*16);

  for (int f1 = 1; f1 <= 3; f1++) {
    for (int f2 = f1+1; f2 <= 3; f2++) {

      for (int p1 = 0; p1 <= 3; p1++) {
	for (int p2 = 0; p2 <=3; p2++) {

	  if (p1==p2) continue;

	  if (p1>=p2) {
	    conflictos[f1][f2][p1][p2] = 2;
	    conflictos[f2][f1][p2][p1] = 2;
	  }
	}
      }
    }
  }

  for (int f1 = 4; f1 <= 7; f1++) {
    for (int f2 = f1+1; f2 <= 7; f2++) {

      for (int p1 = 4; p1 <= 7; p1++) {
	for (int p2 = 4; p2 <=7; p2++) {

	  if (p1==p2) continue;

	  if (p1>=p2) {
	    conflictos[f1][f2][p1][p2] = 2;
	    conflictos[f2][f1][p2][p1] = 2;
	  }
	}
      }
    }
  }


  for (int f1 = 8; f1 <= 11; f1++) {
    for (int f2 = f1+1; f2 <= 11; f2++) {

      for (int p1 = 8; p1 <= 11; p1++) {
	for (int p2 = 8; p2 <=11; p2++) {

	  if (p1==p2) continue;

	  if (p1>=p2) {
	    conflictos[f1][f2][p1][p2] = 2;
	    conflictos[f2][f1][p2][p1] = 2;
	  }
	}
      }
    }
  }

  for (int f1 = 12; f1 <= 15; f1++) {
    for (int f2 = f1+1; f2 <= 15; f2++) {

      for (int p1 = 12; p1 <= 15; p1++) {
	for (int p2 = 12; p2 <=15; p2++) {

	  if (p1==p2) continue;

	  if (p1>=p2) {
	    conflictos[f1][f2][p1][p2] = 2;
	    conflictos[f2][f1][p2][p1] = 2;
	  }
	}
      }
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x3004f3e(%rip), %rdi   # 0x3009320
movl $0x40000, %edx          # imm = 0x40000
xorl %esi, %esi
callq 0x2120
pushq $0x2
popq %rcx
pushq $0x1
popq %rdx
leaq 0x3009725(%rip), %rsi   # 0x300db20
leaq 0x300d31e(%rip), %rdi   # 0x3011720
movl $0x4400, %r8d           # imm = 0x4400
pushq $0x2
popq %rax
movq %rdi, %r9
movq %rsi, %r10
movq %rcx, %r11
cmpq $0x4, %rdx
je 0x447f
cmpq $0x4, %r11
je 0x4471
movq %r9, %rbx
movq %r10, %r14
xorl %r15d, %r15d
cmpq $0x4, %r15
je 0x445e
movq %rbx, %r12
xorl %r13d, %r13d
cmpq $0x4, %r13
je 0x4451
cmpq %r13, %r15
jbe 0x4448
movl %eax, (%r14,%r13,4)
movl %eax, (%r12)
incq %r13
addq $0x40, %r12
jmp 0x4435
incq %r15
addq $0x40, %r14
addq $0x4, %rbx
jmp 0x4429
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
jmp 0x441a
incq %rdx
incq %rcx
addq %r8, %rsi
addq %r8, %rdi
jmp 0x440b
pushq $0x5
popq %rcx
pushq $0x4
popq %rdx
leaq 0x30163a4(%rip), %rsi   # 0x301a830
leaq 0x3019f9d(%rip), %rdi   # 0x301e430
movq %rdx, %r9
movq %rdi, %r10
movq %rsi, %r11
movq %rcx, %rbx
cmpq $0x8, %r9
je 0x4513
cmpq $0x8, %rbx
je 0x44ff
movq %r10, %r14
movq %r11, %r15
movq %rdx, %r12
cmpq $0x8, %r12
je 0x44ec
movq %r14, %r13
xorl %ebp, %ebp
cmpq $0x4, %rbp
je 0x44df
leaq 0x4(%rbp), %r8
cmpq %r8, %r12
jbe 0x44d6
movl %eax, (%r15,%rbp,4)
movl %eax, (%r13)
incq %rbp
addq $0x40, %r13
jmp 0x44bf
incq %r12
addq $0x40, %r15
addq $0x4, %r14
jmp 0x44b4
incq %rbx
addq $0x400, %r11            # imm = 0x400
addq $0x4000, %r10           # imm = 0x4000
jmp 0x44a5
incq %r9
incq %rcx
movl $0x4400, %r8d           # imm = 0x4400
addq %r8, %rsi
addq %r8, %rdi
jmp 0x4496
pushq $0x9
popq %rcx
pushq $0x8
popq %rdx
leaq 0x3027420(%rip), %rsi   # 0x302b940
leaq 0x302b019(%rip), %rdi   # 0x302f540
movq %rdx, %r9
movq %rdi, %r10
movq %rsi, %r11
movq %rcx, %rbx
cmpq $0xc, %r9
je 0x45a7
cmpq $0xc, %rbx
je 0x4593
movq %r10, %r14
movq %r11, %r15
movq %rdx, %r12
cmpq $0xc, %r12
je 0x4580
movq %r14, %r13
xorl %ebp, %ebp
cmpq $0x4, %rbp
je 0x4573
leaq 0x8(%rbp), %r8
cmpq %r8, %r12
jbe 0x456a
movl %eax, (%r15,%rbp,4)
movl %eax, (%r13)
incq %rbp
addq $0x40, %r13
jmp 0x4553
incq %r12
addq $0x40, %r15
addq $0x4, %r14
jmp 0x4548
incq %rbx
addq $0x400, %r11            # imm = 0x400
addq $0x4000, %r10           # imm = 0x4000
jmp 0x4539
incq %r9
incq %rcx
movl $0x4400, %r8d           # imm = 0x4400
addq %r8, %rsi
addq %r8, %rdi
jmp 0x452a
pushq $0xd
popq %rcx
pushq $0xc
popq %rdx
leaq 0x303849c(%rip), %rsi   # 0x303ca50
leaq 0x303c095(%rip), %rdi   # 0x3040650
movq %rdx, %r9
movq %rdi, %r10
movq %rsi, %r11
movq %rcx, %rbx
cmpq $0x10, %r9
je 0x463b
cmpq $0x10, %rbx
je 0x4627
movq %r10, %r14
movq %r11, %r15
movq %rdx, %r12
cmpq $0x10, %r12
je 0x4614
movq %r14, %r13
xorl %ebp, %ebp
cmpq $0x4, %rbp
je 0x4607
leaq 0xc(%rbp), %r8
cmpq %r8, %r12
jbe 0x45fe
movl %eax, (%r15,%rbp,4)
movl %eax, (%r13)
incq %rbp
addq $0x40, %r13
jmp 0x45e7
incq %r12
addq $0x40, %r15
addq $0x4, %r14
jmp 0x45dc
incq %rbx
addq $0x400, %r11            # imm = 0x400
addq $0x4000, %r10           # imm = 0x4000
jmp 0x45cd
incq %r9
incq %rcx
movl $0x4400, %r8d           # imm = 0x4400
addq %r8, %rsi
addq %r8, %rdi
jmp 0x45be
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq