// File: Infinidat[P]slimfastq/usrs.cpp
// Function: UsrSave::UsrSave()
UsrSave::UsrSave() {
    BZERO(m_last);
    BZERO(mp);

    m_valid  = true ;
    m_cur = 0 ;
    m_end = 0 ;
    m_page_count = 0;
    m_llen = 0;
    m_qlen = 0;
    m_solid = false;
    x_llen = new XFileSave("usr.x");
    x_qlen = new XFileSave("usr.x.q");
    x_sgen = new XFileSave("usr.pfg");
    x_sqlt = new XFileSave("usr.pfq");

    x_lgen = new XFileSave("usr.lgen");
    x_lqlt = new XFileSave("usr.lqlt");
    x_lrec = new XFileSave("usr.lrec");

    m_in   = conf.file_usr();
    load_page();
    if (m_valid)
        determine_record();
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x30(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movups %xmm0, 0x1240c0(%rax)
movups %xmm0, 0x1240b0(%rax)
movups %xmm0, 0x1240a0(%rax)
movb $0x1, 0x30(%rax)
movl $0x0, 0x124048(%rax)
movl $0x0, 0x12404c(%rax)
movq $0x0, 0x124040(%rax)
movl $0x0, 0x12405c(%rax)
movl $0x0, 0x124060(%rax)
movb $0x0, 0x124064(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x38(%rsp)
leaq 0x494c(%rip), %rsi      # 0x1129c
callq 0xf6c0
jmp 0xc957
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
movq %rcx, 0x124068(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x28(%rsp)
leaq 0x491e(%rip), %rsi      # 0x112a2
callq 0xf6c0
jmp 0xc98b
movq 0x30(%rsp), %rax
movq 0x28(%rsp), %rcx
movq %rcx, 0x124070(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x20(%rsp)
leaq 0x48f2(%rip), %rsi      # 0x112aa
callq 0xf6c0
jmp 0xc9bf
movq 0x30(%rsp), %rax
movq 0x20(%rsp), %rcx
movq %rcx, 0x124078(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x18(%rsp)
leaq 0x48c6(%rip), %rsi      # 0x112b2
callq 0xf6c0
jmp 0xc9f3
movq 0x30(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x124080(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x10(%rsp)
leaq 0x489a(%rip), %rsi      # 0x112ba
callq 0xf6c0
jmp 0xca27
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movq %rcx, 0x124088(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0x486f(%rip), %rsi      # 0x112c3
callq 0xf6c0
jmp 0xca5b
movq 0x30(%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x124090(%rax)
movl $0x2db0, %edi           # imm = 0x2DB0
callq 0x2280
movq %rax, %rdi
movq %rdi, %rax
movq %rax, (%rsp)
leaq 0x4845(%rip), %rsi      # 0x112cc
callq 0xf6c0
jmp 0xca8e
movq 0x30(%rsp), %rax
movq (%rsp), %rcx
movq %rcx, 0x124098(%rax)
leaq 0xb93b(%rip), %rdi      # 0x183e0
callq 0xf160
movq 0x30(%rsp), %rdi
movq %rax, 0x124050(%rdi)
callq 0xcbd0
movq 0x30(%rsp), %rax
testb $0x1, 0x30(%rax)
je 0xcbba
movq 0x30(%rsp), %rdi
callq 0xcdb0
jmp 0xcbba
movq 0x38(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0xcbbf
movq 0x28(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0xcbbf
movq 0x20(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0xcbbf
movq 0x18(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0xcbbf
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0xcbbf
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0xcbbf
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x48(%rsp)
movl %eax, 0x44(%rsp)
movl $0x2db0, %esi           # imm = 0x2DB0
callq 0x2290
jmp 0xcbbf
addq $0x58, %rsp
retq
movq 0x48(%rsp), %rdi
callq 0x23f0
nopl (%rax)