// File: /workspace/github_cpp_makefile_star2_O3/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 0x300514a(%rip), %rdi   # 0x3009340
movl $0x40000, %edx          # imm = 0x40000
xorl %esi, %esi
callq 0x2100
movl $0x2, %eax
movl $0x1, %ecx
leaq 0x300992d(%rip), %rdx   # 0x300db40
leaq 0x300d526(%rip), %rsi   # 0x3011740
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0x2, %rcx
ja 0x4285
movq %rsi, %r9
movq %rdx, %r10
movq %rax, %r11
movq %r9, %rbx
movq %r10, %r14
xorl %r15d, %r15d
movq %rbx, %r12
xorl %r13d, %r13d
cmpq %r13, %r15
jbe 0x4250
movl %edi, (%r14,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x4243
incq %r15
addq $0x40, %r14
addq $0x4, %rbx
cmpq $0x4, %r15
jne 0x423d
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0x4, %r11
jne 0x4234
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0x4, %rcx
jne 0x4225
movl $0x5, %eax
movl $0x4, %ecx
leaq 0x30165a8(%rip), %rdx   # 0x301a850
leaq 0x301a1a1(%rip), %rsi   # 0x301e450
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0x6, %rcx
ja 0x4320
movq %rsi, %r9
movq %rdx, %r10
movq %rax, %r11
movl $0x4, %ebx
movq %r9, %r14
movq %r10, %r15
movq %r14, %r12
xorl %r13d, %r13d
leaq 0x4(%r13), %rbp
cmpq %rbp, %rbx
jbe 0x42eb
movl %edi, (%r15,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x42da
incq %rbx
addq $0x40, %r15
addq $0x4, %r14
cmpq $0x8, %rbx
jne 0x42d4
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0x8, %r11
jne 0x42c9
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0x8, %rcx
jne 0x42ba
movl $0x9, %eax
movl $0x8, %ecx
leaq 0x302761d(%rip), %rdx   # 0x302b960
leaq 0x302b216(%rip), %rsi   # 0x302f560
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0xa, %rcx
ja 0x43bb
movq %rsi, %r9
movq %rdx, %r10
movq %rax, %r11
movl $0x8, %ebx
movq %r9, %r14
movq %r10, %r15
movq %r14, %r12
xorl %r13d, %r13d
leaq 0x8(%r13), %rbp
cmpq %rbp, %rbx
jbe 0x4386
movl %edi, (%r15,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x4375
incq %rbx
addq $0x40, %r15
addq $0x4, %r14
cmpq $0xc, %rbx
jne 0x436f
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0xc, %r11
jne 0x4364
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0xc, %rcx
jne 0x4355
movl $0xd, %eax
movl $0xc, %ecx
leaq 0x3038692(%rip), %rdx   # 0x303ca70
leaq 0x303c28b(%rip), %rsi   # 0x3040670
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0xe, %rcx
ja 0x4456
movq %rsi, %r9
movq %rdx, %r10
movq %rax, %r11
movl $0xc, %ebx
movq %r9, %r14
movq %r10, %r15
movq %r14, %r12
xorl %r13d, %r13d
leaq 0xc(%r13), %rbp
cmpq %rbp, %rbx
jbe 0x4421
movl %edi, (%r15,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x4410
incq %rbx
addq $0x40, %r15
addq $0x4, %r14
cmpq $0x10, %rbx
jne 0x440a
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0x10, %r11
jne 0x43ff
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0x10, %rcx
jne 0x43f0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq