// File: /workspace/github_cpp_makefile_star2_O1/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 0x30050e2(%rip), %rdi   # 0x3009340
movl $0x40000, %edx          # imm = 0x40000
xorl %esi, %esi
callq 0x2100
movl $0x2, %eax
movl $0x1, %ecx
leaq 0x30098c5(%rip), %rdx   # 0x300db40
leaq 0x300d4be(%rip), %rsi   # 0x3011740
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0x2, %rcx
ja 0x42ed
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 0x42b8
movl %edi, (%r14,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x42ab
incq %r15
addq $0x40, %r14
addq $0x4, %rbx
cmpq $0x4, %r15
jne 0x42a5
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0x4, %r11
jne 0x429c
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0x4, %rcx
jne 0x428d
movl $0x5, %eax
movl $0x4, %ecx
leaq 0x3016540(%rip), %rdx   # 0x301a850
leaq 0x301a139(%rip), %rsi   # 0x301e450
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0x6, %rcx
ja 0x4388
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 0x4353
movl %edi, (%r15,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x4342
incq %rbx
addq $0x40, %r15
addq $0x4, %r14
cmpq $0x8, %rbx
jne 0x433c
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0x8, %r11
jne 0x4331
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0x8, %rcx
jne 0x4322
movl $0x9, %eax
movl $0x8, %ecx
leaq 0x30275b5(%rip), %rdx   # 0x302b960
leaq 0x302b1ae(%rip), %rsi   # 0x302f560
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0xa, %rcx
ja 0x4423
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 0x43ee
movl %edi, (%r15,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x43dd
incq %rbx
addq $0x40, %r15
addq $0x4, %r14
cmpq $0xc, %rbx
jne 0x43d7
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0xc, %r11
jne 0x43cc
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0xc, %rcx
jne 0x43bd
movl $0xd, %eax
movl $0xc, %ecx
leaq 0x303862a(%rip), %rdx   # 0x303ca70
leaq 0x303c223(%rip), %rsi   # 0x3040670
movl $0x2, %edi
movl $0x4400, %r8d           # imm = 0x4400
cmpq $0xe, %rcx
ja 0x44be
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 0x4489
movl %edi, (%r15,%r13,4)
movl %edi, (%r12)
incq %r13
addq $0x40, %r12
cmpq $0x4, %r13
jne 0x4478
incq %rbx
addq $0x40, %r15
addq $0x4, %r14
cmpq $0x10, %rbx
jne 0x4472
incq %r11
addq $0x400, %r10            # imm = 0x400
addq $0x4000, %r9            # imm = 0x4000
cmpq $0x10, %r11
jne 0x4467
incq %rcx
incq %rax
addq %r8, %rdx
addq %r8, %rsi
cmpq $0x10, %rcx
jne 0x4458
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq