// File: /workspace/github_c_makefile_star2_O3/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 $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x4e464
cmpl $-0x1, %eax
je 0x8a601
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
callq 0x4e548
movq %rax, 0x50(%rsp)
leaq 0x327c77(%rip), %r14    # 0x3b20a8
movq (%r14), %rdi
movq 0x8(%rbx), %rax
movslq %ebp, %rbp
leaq (,%rbp,8), %rcx
leaq (%rcx,%rcx,8), %r12
movq (%rax,%r12), %rdx
leaq 0x26f10(%rip), %rsi     # 0xb1362
xorl %eax, %eax
callq 0x42e0
movq (%r14), %rcx
leaq 0x26f0d(%rip), %rdi     # 0xb1370
movl $0x8, %esi
movl $0x1, %edx
callq 0x42c0
movq 0x8(%rbx), %rax
cmpl $0x0, 0x10(%rax,%r12)
jle 0x8a4af
leaq 0x269c6(%rip), %r13     # 0xb0e4b
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 0x8a488
movq (%r14), %rcx
leaq 0x26ec0(%rip), %rdi     # 0xb1379
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 0x8a5e9
leaq (%rax,%rcx,8), %rsi
xorl %r13d, %r13d
movq %r12, 0x58(%rsp)
movq %rcx, 0x48(%rsp)
movl $0x9, %ecx
movq %rsp, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl %r13d, %edi
callq 0x4e4b2
movq 0x48(%rsp), %rdx
movq %rax, %rbp
movq %rbx, %rcx
movq 0x8(%rbx), %rax
cmpl $0x0, 0x20(%rax,%rdx,8)
jle 0x8a567
xorl %r15d, %r15d
movq 0x50(%rsp), %r12
movq %rcx, %rbx
movq (%r14), %rdi
movslq (%r12,%r15,4), %rcx
leaq (%rcx,%rcx,8), %rcx
movq 0x8(%rax,%rcx,8), %rax
movslq (%rbp,%r15,4), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x26e62(%rip), %rsi     # 0xb13aa
xorl %eax, %eax
callq 0x42e0
movq 0x48(%rsp), %rdx
incq %r15
movq 0x8(%rbx), %rax
movslq 0x20(%rax,%rdx,8), %rcx
cmpq %rcx, %r15
jl 0x8a528
jmp 0x8a56a
movq %rcx, %rbx
movq %rbp, 0x60(%rsp)
cmpl $0x0, 0x10(%rax,%rdx,8)
movq %rbx, %rbp
movq 0x58(%rsp), %r12
leaq 0x26bee(%rip), %rbx     # 0xb1171
jle 0x8a5b5
xorl %r15d, %r15d
movq (%r14), %rdi
movq 0x38(%rax,%r12), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r15,8), %xmm0
movq %rbx, %rsi
movb $0x1, %al
callq 0x42e0
incq %r15
movq 0x8(%rbp), %rax
movslq 0x10(%rax,%r12), %rcx
cmpq %rcx, %r15
jl 0x8a588
movq (%r14), %rsi
movl $0xa, %edi
callq 0x4150
movq 0x60(%rsp), %rdi
callq 0x3a180
incq %r13
movq 0x8(%rbp), %rax
movq 0x48(%rsp), %rcx
leaq (%rax,%rcx,8), %rsi
cmpq %r13, 0x28(%rsi)
movq %rbp, %rbx
jg 0x8a4f4
movq 0x50(%rsp), %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3a180
leaq 0x327aa0(%rip), %rax    # 0x3b20a8
movq (%rax), %rdi
leaq 0x26d38(%rip), %rsi     # 0xb134a
movq %r14, %rdx
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x42e0