// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/ordering.c
// Function: alarm_ordering
void alarm_ordering(bayesiangraphptr mygraph)
{
	/*!Last Changed 02.02.2004 added safemalloc*/
 if (mygraph->ordering)
   safe_free(mygraph->ordering);
 mygraph->ordering = (int *)safemalloc(sizeof(int) * mygraph->nodecount, "alarm_ordering", 3);
 mygraph->ordering[0] = 18;
 mygraph->ordering[1] = 27;
 mygraph->ordering[2] = 3;
 mygraph->ordering[3] = 5;
 mygraph->ordering[4] = 13;
 mygraph->ordering[5] = 12;
 mygraph->ordering[6] = 22;
 mygraph->ordering[7] = 24;
 mygraph->ordering[8] = 16;
 mygraph->ordering[9] = 26;
 mygraph->ordering[10] = 4;
 mygraph->ordering[11] = 6;
 mygraph->ordering[12] = 7;
 mygraph->ordering[13] = 10;
 mygraph->ordering[14] = 23;
 mygraph->ordering[15] = 28;
 mygraph->ordering[16] = 1;
 mygraph->ordering[17] = 2;
 mygraph->ordering[18] = 0;
 mygraph->ordering[19] = 14;
 mygraph->ordering[20] = 21;
 mygraph->ordering[21] = 29;
 mygraph->ordering[22] = 25;
 mygraph->ordering[23] = 30;
 mygraph->ordering[24] = 17;
 mygraph->ordering[25] = 31;
 mygraph->ordering[26] = 19;
 mygraph->ordering[27] = 32;
 mygraph->ordering[28] = 20;
 mygraph->ordering[29] = 15;
 mygraph->ordering[30] = 33;
 mygraph->ordering[31] = 34;
 mygraph->ordering[32] = 35;
 mygraph->ordering[33] = 8;
 mygraph->ordering[34] = 9;
 mygraph->ordering[35] = 11;
 mygraph->ordering[36] = 36;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x40(%rax)
je 0x78ad4
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
callq 0x52e80
movq -0x8(%rbp), %rax
movslq 0x10(%rax), %rdi
shlq $0x2, %rdi
leaq 0x6ea76(%rip), %rsi     # 0xe755d
movl $0x3, %edx
callq 0x52d70
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x40(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x12, (%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x1b, 0x4(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x3, 0x8(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x5, 0xc(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0xd, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0xc, 0x14(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x16, 0x18(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x18, 0x1c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x10, 0x20(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x1a, 0x24(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x4, 0x28(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x6, 0x2c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x7, 0x30(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0xa, 0x34(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x17, 0x38(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x1c, 0x3c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x1, 0x40(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x2, 0x44(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x0, 0x48(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0xe, 0x4c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x15, 0x50(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x1d, 0x54(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x19, 0x58(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x1e, 0x5c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x11, 0x60(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x1f, 0x64(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x13, 0x68(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x20, 0x6c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x14, 0x70(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0xf, 0x74(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x21, 0x78(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x22, 0x7c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x23, 0x80(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x8, 0x84(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x9, 0x88(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0xb, 0x8c(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movl $0x24, 0x90(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)