// File: Infinidat[P]slimfastq/gens.cpp
// Function: GenLoad::GenLoad()
GenLoad::GenLoad() {
    BZERO(m_last);
    m_valid = true;

    m_N_byte          = conf.get_long("gen.N_byte", 'N') ;
    bool is_solid     = conf.get_bool("usr.solid");
    bool is_lowercase = false;

    m_gencode =
        is_solid ?
        "0123" :
        is_lowercase ?
        "acgt" :
        "ACGT" ;

    filer = new FilerLoad("gen", &m_valid);
    assert(filer);
    rcoder.init(filer);
    ranger = new Base2Ranger[ranger_cnt()];
    range_init();

    x_Ns = new XFileLoad("gen.Ns");
    x_Nn = new XFileLoad("gen.Nn");
    m_last.Ns_index = x_Ns->get();
    m_last.Nn_index = x_Nn->get();
}

// Assembly:
subq $0x98, %rsp
movq %rdi, 0x90(%rsp)
movq 0x90(%rsp), %rdi
movq %rdi, 0x70(%rsp)
callq 0x89a0
movq 0x70(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rax)
movb $0x1, 0x44(%rax)
leaq 0x10108(%rip), %rdi     # 0x183e0
leaq 0x8c4b(%rip), %rsi      # 0x10f2a
movl $0x4e, %edx
callq 0x3b40
movq %rax, 0x78(%rsp)
jmp 0x82f0
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
movb %cl, 0x45(%rax)
leaq 0x100dc(%rip), %rdi     # 0x183e0
leaq 0x8c3e(%rip), %rsi      # 0x10f49
callq 0x3a40
movb %al, 0x6f(%rsp)
jmp 0x8316
movb 0x6f(%rsp), %al
andb $0x1, %al
movb %al, 0x83(%rsp)
movb $0x0, 0x82(%rsp)
testb $0x1, 0x83(%rsp)
je 0x8343
leaq 0x8c17(%rip), %rax      # 0x10f53
movq %rax, 0x60(%rsp)
jmp 0x8373
testb $0x1, 0x82(%rsp)
je 0x835b
leaq 0x8c04(%rip), %rax      # 0x10f58
movq %rax, 0x58(%rsp)
jmp 0x8369
leaq 0x8bfb(%rip), %rax      # 0x10f5d
movq %rax, 0x58(%rsp)
jmp 0x8369
movq 0x58(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x70(%rsp), %rax
movq 0x60(%rsp), %rcx
movq %rcx, 0x48(%rax)
movl $0x4040, %edi           # imm = 0x4040
callq 0x2280
movq %rax, 0x50(%rsp)
jmp 0x8392
movq 0x50(%rsp), %rdi
movq 0x70(%rsp), %rdx
addq $0x44, %rdx
leaq 0x8f18(%rip), %rsi      # 0x112bf
callq 0x71e0
jmp 0x83ae
movq 0x70(%rsp), %rax
movq 0x50(%rsp), %rcx
movq %rcx, 0x50(%rax)
cmpq $0x0, 0x50(%rax)
je 0x83c5
jmp 0x8425
leaq 0x7c61(%rip), %rdi      # 0x1002d
leaq 0x8b2d(%rip), %rsi      # 0x10f00
movl $0xb5, %edx
leaq 0x8b83(%rip), %rcx      # 0x10f62
callq 0x21b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x88(%rsp)
movl %eax, 0x84(%rsp)
jmp 0x85ec
movq 0x50(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x88(%rsp)
movl %eax, 0x84(%rsp)
movl $0x4040, %esi           # imm = 0x4040
callq 0x2290
jmp 0x85ec
movq 0x70(%rsp), %rax
movq %rax, %rdi
addq $0x8, %rdi
movq 0x50(%rax), %rsi
callq 0x2db0
jmp 0x843c
movq 0x70(%rsp), %rdi
callq 0x7b00
movq %rax, %rcx
movq %rcx, 0x38(%rsp)
movl $0x4, %ecx
mulq %rcx
movq %rax, %rdi
movq $-0x1, %rax
cmovoq %rax, %rdi
movq %rdi, 0x40(%rsp)
callq 0x2040
movq %rax, 0x48(%rsp)
jmp 0x8475
movq 0x38(%rsp), %rax
cmpq $0x0, %rax
je 0x84c7
movq 0x48(%rsp), %rax
movq 0x38(%rsp), %rdx
shlq $0x2, %rdx
movq %rax, %rcx
addq %rdx, %rcx
movq %rcx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x89c0
jmp 0x84af
movq 0x28(%rsp), %rcx
movq 0x20(%rsp), %rax
addq $0x4, %rax
cmpq %rcx, %rax
movq %rax, 0x30(%rsp)
jne 0x849e
movq 0x70(%rsp), %rdi
movq 0x48(%rsp), %rax
movq %rax, (%rdi)
callq 0x7b70
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, 0x18(%rsp)
jmp 0x84ea
movq 0x18(%rsp), %rdi
leaq 0x8a26(%rip), %rsi      # 0x10f1c
callq 0xf800
jmp 0x84fd
movq 0x70(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x58(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, 0x10(%rsp)
jmp 0x851c
movq 0x10(%rsp), %rdi
leaq 0x89fb(%rip), %rsi      # 0x10f23
callq 0xf800
jmp 0x852f
movq 0x70(%rsp), %rax
movq 0x10(%rsp), %rcx
movq %rcx, 0x60(%rax)
movq 0x58(%rax), %rdi
callq 0xfb60
movq %rax, 0x8(%rsp)
jmp 0x854d
movq 0x70(%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x30(%rax)
movq 0x60(%rax), %rdi
callq 0xfb60
movq %rax, (%rsp)
jmp 0x856a
movq 0x70(%rsp), %rax
movq (%rsp), %rcx
movq %rcx, 0x38(%rax)
addq $0x98, %rsp
retq
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x88(%rsp)
movl %eax, 0x84(%rsp)
callq 0x2430
jmp 0x85ec
movq 0x18(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x88(%rsp)
movl %eax, 0x84(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0x85ec
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x88(%rsp)
movl %eax, 0x84(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
movq 0x70(%rsp), %rdi
callq 0x89e0
movq 0x88(%rsp), %rdi
callq 0x23f0
nopw %cs:(%rax,%rax)