// File: /workspace/github_c_makefile_star2_O3/fukunagatsu[P]RIblast/rna_interaction_search_parameters.cpp
// Function: RnaInteractionSearchParameters::SetDbParameters()
void RnaInteractionSearchParameters::SetDbParameters(){
  ifstream ifs((GetDbFilename()+".bas").c_str(), ios::in | ios::binary);
  if (!ifs){
    cout << "Error: can't open " << GetDbFilename() << ".bas." <<endl;
    exit(1);
  }
  int temp_i = 0;
  ifs.read(reinterpret_cast<char*>(&temp_i), sizeof(int));
  SetHashSize(temp_i);
  ifs.read(reinterpret_cast<char*>(&temp_i), sizeof(int));
  SetRepeatFlag(temp_i);
  ifs.read(reinterpret_cast<char*>(&temp_i), sizeof(int));
  SetMaximalSpan(temp_i);
  ifs.read(reinterpret_cast<char*>(&temp_i), sizeof(int));
  SetMinAccessibleLength(temp_i);
  ifs.close();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x250, %rsp            # imm = 0x250
movq %rdi, %rbx
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x479e
leaq 0x7548(%rip), %rsi      # 0x1c952
movq %r14, %rdi
callq 0x3420
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x15439
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x15443
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %r14, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x48(%rsp), %rdi
movl $0xc, %edx
callq 0x3400
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x15481
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x15498
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x68(%rsp,%rax)
jne 0x15539
leaq 0x8(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x48(%rsp), %rdi
movl $0x4, %edx
callq 0x32e0
leaq 0x8(%rsp), %rsi
movl (%rsi), %eax
movl %eax, 0x64(%rbx)
leaq 0x48(%rsp), %rdi
movl $0x4, %edx
callq 0x32e0
leaq 0x8(%rsp), %rsi
movl (%rsi), %eax
movl %eax, 0x68(%rbx)
leaq 0x48(%rsp), %rdi
movl $0x4, %edx
callq 0x32e0
leaq 0x8(%rsp), %rsi
movl (%rsi), %eax
movl %eax, 0x6c(%rbx)
leaq 0x48(%rsp), %rdi
movl $0x4, %edx
callq 0x32e0
movl 0x8(%rsp), %eax
movl %eax, 0x70(%rbx)
leaq 0x48(%rsp), %rdi
callq 0x3060
leaq 0x48(%rsp), %rdi
callq 0x3090
addq $0x250, %rsp            # imm = 0x250
popq %rbx
popq %r14
popq %r15
retq
movq 0xd1a90(%rip), %rdi     # 0xe6fd0
leaq 0x38910(%rip), %rsi     # 0x4de57
movl $0x12, %edx
callq 0x3280
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x479e
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0xd1a51(%rip), %rdi     # 0xe6fd0
callq 0x3280
movq %rax, %rbx
leaq 0x69a19(%rip), %rsi     # 0x7efa7
movl $0x5, %edx
movq %rax, %rdi
callq 0x3280
movq %rbx, %rdi
callq 0x3120
leaq 0x8(%rsp), %rdi
callq 0x3110
movl $0x1, %edi
callq 0x32a0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x15612
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x15612
jmp 0x1560f
jmp 0x1560f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x155f6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x155f6
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1561c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x1561c
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x33e0