// File: /workspace/github_c_makefile_star2_O2/olcaytaner[P]Isell/screen.c
// Function: node_info
void node_info(bayesiangraphptr mygraph,char *st)
{
 int *list, *parents, j, k, i = node_in(mygraph, st);
 if (i == -1)
  {
   fprintf(output, "Node %s does not exist\n", st);
   return;
  }
 parents = find_parents(mygraph, i);
 fprintf(output, "Node Name:%s\n", mygraph->nodes[i].name);
 fprintf(output, "Values: ");
 for (k = 0; k < mygraph->nodes[i].value_count; k++)
   fprintf(output, "%s ", mygraph->nodes[i].values[k]);
 fprintf(output, "\n---------------Conditional Table--------------\n");
 for (k = 0; k < mygraph->nodes[i].table_count; k++)
  {
   list = table_list(mygraph->nodes[i], k);
   for (j = 0; j < mygraph->nodes[i].parents; j++)
     fprintf(output, "%8s ", mygraph->nodes[parents[j]].values[list[j]]);
   for (j = 0; j < mygraph->nodes[i].value_count; j++)
     fprintf(output, "%.4f ", mygraph->nodes[i].table[k][j]);
   fprintf(output, "\n");
   safe_free(list);
  }
 safe_free(parents);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x47224
cmpl $-0x1, %eax
je 0x7cf39
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x47301
movq %rax, 0x50(%rsp)
leaq 0x32d2c9(%rip), %r12    # 0x3aa0a8
movq (%r12), %rdi
movq 0x8(%rbx), %rax
movslq %ebp, %rcx
imulq $0x48, %rcx, %r13
movq (%rax,%r13), %rdx
leaq 0x244c9(%rip), %rsi     # 0xa12c2
xorl %eax, %eax
callq 0x42e0
movq (%r12), %rcx
leaq 0x244c5(%rip), %rdi     # 0xa12d0
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
callq 0x42c0
leaq 0x23f92(%rip), %r15     # 0xa0daf
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movslq 0x10(%rax,%r13), %rdx
movq (%r12), %rcx
cmpq %rdx, %r14
jge 0x7ce4f
addq %r13, %rax
movq 0x8(%rax), %rax
movq (%rax,%r14,8), %rdx
movq %rcx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x42e0
incq %r14
jmp 0x7ce20
leaq 0x24483(%rip), %rdi     # 0xa12d9
pushq $0x30
popq %rsi
pushq $0x1
popq %rdx
callq 0x42c0
xorl %r15d, %r15d
movq 0x8(%rbx), %rsi
cmpq %r15, 0x28(%rsi,%r13)
jle 0x7cf21
addq %r13, %rsi
pushq $0x9
popq %rcx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl %r15d, %edi
callq 0x4727f
movq %rax, %rbp
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movslq 0x20(%rax,%r13), %rcx
cmpq %rcx, %r14
jge 0x7cecd
movq (%r12), %rdi
movq 0x50(%rsp), %rcx
movslq (%rcx,%r14,4), %rcx
imulq $0x48, %rcx, %rcx
movq 0x8(%rax,%rcx), %rax
movslq (%rbp,%r14,4), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x24449(%rip), %rsi     # 0xa130a
xorl %eax, %eax
callq 0x42e0
incq %r14
jmp 0x7ce8d
xorl %r14d, %r14d
movslq 0x10(%rax,%r13), %rcx
movq (%r12), %rsi
cmpq %rcx, %r14
jge 0x7cf09
addq %r13, %rax
movq 0x38(%rax), %rax
movq (%rax,%r15,8), %rax
movsd (%rax,%r14,8), %xmm0
movq %rsi, %rdi
leaq 0x241dc(%rip), %rsi     # 0xa10d5
movb $0x1, %al
callq 0x42e0
incq %r14
movq 0x8(%rbx), %rax
jmp 0x7ced0
pushq $0xa
popq %rdi
callq 0x4150
movq %rbp, %rdi
callq 0x34ff7
incq %r15
jmp 0x7ce64
movq 0x50(%rsp), %rdi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x34ff7
leaq 0x32d168(%rip), %rax    # 0x3aa0a8
movq (%rax), %rdi
leaq 0x24360(%rip), %rsi     # 0xa12aa
movq %r14, %rdx
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42e0