// File: Luthaf[P]zeopp/networkinfo.cc
// Function: readRadTable(char*)
void readRadTable(char *filename){
  radTable.clear();
  fstream input;
  input.open(filename, fstream::in);
  
  if(!input.is_open()){
    cerr << "Failed to open radius input file " << filename << "\n";
    cerr << "Exiting ..." << "\n";
    exit(1);
  }
  else{
    string type = "N/A";
    double radius = -1;

    while(!input.eof()){
      input >> type >> radius;
      radTable.insert(pair<string,double> (type,radius));
    }
  }
  input.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2e0, %rsp            # imm = 0x2E0
movq %rdi, -0x8(%rbp)
leaq 0x22d472(%rip), %rdi    # 0x2735a8
callq 0x475e0
leaq -0x218(%rbp), %rdi
movq %rdi, -0x298(%rbp)
callq 0x5660
movq -0x298(%rbp), %rdi
movq -0x8(%rbp), %rsi
movl $0x8, %edx
callq 0x54b0
jmp 0x46165
leaq -0x218(%rbp), %rdi
callq 0x58b0
movb %al, -0x299(%rbp)
jmp 0x46179
movb -0x299(%rbp), %al
testb $0x1, %al
jne 0x46225
jmp 0x46189
movq 0x22ce60(%rip), %rdi    # 0x272ff0
leaq 0x1ac72a(%rip), %rsi    # 0x1f28c1
callq 0x5540
movq %rax, -0x2a8(%rbp)
jmp 0x461a5
movq -0x2a8(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x5540
movq %rax, -0x2b0(%rbp)
jmp 0x461be
movq -0x2b0(%rbp), %rdi
leaq 0x1b3459(%rip), %rsi    # 0x1f9625
callq 0x5540
jmp 0x461d3
movq 0x22ce16(%rip), %rdi    # 0x272ff0
leaq 0x1aca22(%rip), %rsi    # 0x1f2c03
callq 0x5540
movq %rax, -0x2b8(%rbp)
jmp 0x461ef
movq -0x2b8(%rbp), %rdi
leaq 0x1b3428(%rip), %rsi    # 0x1f9625
callq 0x5540
jmp 0x46204
movl $0x1, %edi
callq 0x67c0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x220(%rbp)
movl %eax, -0x224(%rbp)
jmp 0x463ce
leaq -0x249(%rbp), %rdi
movq %rdi, -0x2c0(%rbp)
callq 0x5900
movq -0x2c0(%rbp), %rdx
leaq 0x1ac69d(%rip), %rsi    # 0x1f28e3
leaq -0x248(%rbp), %rdi
callq 0x47530
jmp 0x46254
leaq -0x249(%rbp), %rdi
callq 0x55d0
movsd 0x1ac510(%rip), %xmm0   # 0x1f2778
movsd %xmm0, -0x258(%rbp)
movq -0x218(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x218(%rbp,%rax), %rdi
callq 0x5960
movb %al, -0x2c1(%rbp)
jmp 0x46290
movb -0x2c1(%rbp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x462a1
jmp 0x4638f
leaq -0x218(%rbp), %rdi
leaq -0x248(%rbp), %rsi
callq 0x56a0
movq %rax, -0x2d0(%rbp)
jmp 0x462bd
movq -0x2d0(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x5420
jmp 0x462d2
leaq -0x280(%rbp), %rdi
leaq -0x248(%rbp), %rsi
leaq -0x258(%rbp), %rdx
callq 0x47600
jmp 0x462ee
leaq 0x22d2b3(%rip), %rdi    # 0x2735a8
leaq -0x280(%rbp), %rsi
callq 0x46ee0
movb %dl, -0x2d9(%rbp)
movq %rax, -0x2d8(%rbp)
jmp 0x46310
movb -0x2d9(%rbp), %al
movq -0x2d8(%rbp), %rcx
movq %rcx, -0x290(%rbp)
movb %al, -0x288(%rbp)
leaq -0x280(%rbp), %rdi
callq 0x46fb0
jmp 0x46270
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x220(%rbp)
movl %eax, -0x224(%rbp)
leaq -0x249(%rbp), %rdi
callq 0x55d0
jmp 0x463ce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x220(%rbp)
movl %eax, -0x224(%rbp)
jmp 0x4639d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x220(%rbp)
movl %eax, -0x224(%rbp)
leaq -0x280(%rbp), %rdi
callq 0x46fb0
jmp 0x4639d
leaq -0x248(%rbp), %rdi
callq 0x5300
jmp 0x463ab
leaq -0x248(%rbp), %rdi
callq 0x5300
jmp 0x463ce
leaq -0x218(%rbp), %rdi
callq 0x50a0
jmp 0x463b9
leaq -0x218(%rbp), %rdi
callq 0x5150
addq $0x2e0, %rsp            # imm = 0x2E0
popq %rbp
retq
leaq -0x218(%rbp), %rdi
callq 0x5150
movq -0x220(%rbp), %rdi
callq 0x58f0
nopw %cs:(%rax,%rax)