// File: /workspace/github_c_makefile_star2_O1/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 $0x78, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x4cff0
cmpl $-0x1, %eax
je 0x87dc7
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x4d0d4
movq %rax, 0x58(%rsp)
leaq 0x3274d7(%rip), %r14    # 0x3af0a8
movq (%r14), %rdi
movq 0x8(%rbx), %rax
movslq %ebp, %rbp
leaq (,%rbp,8), %rcx
leaq (%rcx,%rcx,8), %r12
movq (%rax,%r12), %rdx
leaq 0x266d8(%rip), %rsi     # 0xae2ca
xorl %eax, %eax
callq 0x42e0
movq (%r14), %rcx
leaq 0x266d5(%rip), %rdi     # 0xae2d8
movl $0x8, %esi
movl $0x1, %edx
callq 0x42c0
movq 0x8(%rbx), %rax
cmpl $0x0, 0x10(%rax,%r12)
jle 0x87c4f
leaq 0x2618e(%rip), %r13     # 0xaddb3
xorl %r15d, %r15d
movq (%r14), %rdi
movq 0x8(%rax,%r12), %rax
movq (%rax,%r15,8), %rdx
movq %r13, %rsi
xorl %eax, %eax
callq 0x42e0
incq %r15
movq 0x8(%rbx), %rax
movslq 0x10(%rax,%r12), %rcx
cmpq %rcx, %r15
jl 0x87c28
movq %r12, 0x68(%rsp)
movq (%r14), %rcx
leaq 0x26683(%rip), %rdi     # 0xae2e1
movl $0x30, %esi
movl $0x1, %edx
callq 0x42c0
movq 0x8(%rbx), %rax
leaq (,%rbp,8), %rcx
addq %rbp, %rcx
cmpq $0x0, 0x28(%rax,%rcx,8)
jle 0x87daf
movq %rbx, %r12
leaq (%rax,%rcx,8), %rsi
xorl %r14d, %r14d
movq %rcx, 0x50(%rsp)
movl $0x9, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
movq %r14, 0x70(%rsp)
movl %r14d, %edi
callq 0x4d03e
movq 0x50(%rsp), %rdx
movq %rax, 0x60(%rsp)
movq 0x8(%r12), %rax
cmpl $0x0, 0x20(%rax,%rdx,8)
movq 0x58(%rsp), %r14
leaq 0x3273d9(%rip), %rcx    # 0x3af0a8
movq %r12, %rbx
movq %rcx, %r12
leaq 0x26636(%rip), %rbp     # 0xae312
jle 0x87d1f
xorl %r15d, %r15d
movq (%r12), %rdi
movslq (%r14,%r15,4), %rcx
leaq (%rcx,%rcx,8), %rcx
movq 0x8(%rax,%rcx,8), %rax
movq 0x60(%rsp), %rcx
movslq (%rcx,%r15,4), %rcx
movq (%rax,%rcx,8), %rdx
movq %rbp, %rsi
xorl %eax, %eax
callq 0x42e0
movq 0x50(%rsp), %rdx
incq %r15
movq 0x8(%rbx), %rax
movslq 0x20(%rax,%rdx,8), %rcx
cmpq %rcx, %r15
jl 0x87ce1
movq 0x8(%rbx), %rax
cmpl $0x0, 0x10(%rax,%rdx,8)
movq %r12, %rdx
movq 0x68(%rsp), %rbp
leaq 0x263a2(%rip), %r13     # 0xae0d9
movq %rbx, %r12
movq 0x70(%rsp), %r14
jle 0x87d7d
xorl %r15d, %r15d
movq (%rdx), %rdi
movq 0x38(%rax,%rbp), %rax
movq (%rax,%r14,8), %rax
movsd (%rax,%r15,8), %xmm0
movq %r13, %rsi
movb $0x1, %al
movq %r12, %rbx
movq %rdx, %r12
callq 0x42e0
movq %r12, %rdx
movq %rbx, %r12
incq %r15
movq 0x8(%rbx), %rax
movslq 0x10(%rax,%rbp), %rcx
cmpq %rcx, %r15
jl 0x87d44
movq (%rdx), %rsi
movl $0xa, %edi
callq 0x4150
movq 0x60(%rsp), %rdi
callq 0x39194
incq %r14
movq 0x8(%r12), %rax
movq 0x50(%rsp), %rcx
leaq (%rax,%rcx,8), %rsi
cmpq %r14, 0x28(%rsi)
jg 0x87c97
movq 0x58(%rsp), %rdi
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x39194
leaq 0x3272da(%rip), %rax    # 0x3af0a8
movq (%rax), %rdi
leaq 0x264da(%rip), %rsi     # 0xae2b2
movq %r14, %rdx
xorl %eax, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42e0