// File: /workspace/github_c_makefile_star2_O1/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 0x46f2
leaq 0x8318(%rip), %rsi      # 0x1b86a
movq %r14, %rdi
callq 0x3420
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x13581
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x13588
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
leaq 0x48(%rsp), %rdi
movl $0xc, %edx
callq 0x3400
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x135cb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x135e2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3230
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x68(%rsp,%rax)
jne 0x13683
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 0xd2946(%rip), %rdi     # 0xe5fd0
leaq 0x395f6(%rip), %rsi     # 0x4cc87
movl $0x12, %edx
callq 0x3280
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
callq 0x46f2
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0xd290d(%rip), %rdi     # 0xe5fd0
callq 0x3280
movq %rax, %rbx
leaq 0x6a705(%rip), %rsi     # 0x7ddd7
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 0x13756
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x13756
jmp 0x13753
jmp 0x13753
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x1373a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x1373a
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x13760
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3230
jmp 0x13760
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x33e0