// File: /workspace/github_cpp_makefile_star2_O2/CastellanZhang[P]lambdaFM/src/Frame/../Sample/fm_sample.h
// Function: fm_sample::fm_sample(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
fm_sample(const string& line)
    {
        this->x.clear();
        size_t posb = line.find_first_not_of(spliter, 0);
        size_t pose = line.find_first_of(spliter, posb);
        int label = atoi(line.substr(posb, pose-posb).c_str());
        if(label < 0)
        {
            cout << "wrong line input, label can not be less than 0\n" << line << endl;
            throw "wrong line input";
        }
        this->y = label;
        posb = line.find_first_not_of(spliter, pose);
        pose = line.find_first_of(spliter, posb);
        this->qid = line.substr(posb, pose-posb);
        string key;
        double value;
        while(pose < line.size())
        {
            posb = line.find_first_not_of(spliter, pose);
            if(posb == string::npos)
            {
                break;
            }
            if(commentTag == line[posb])
            {
                break;
            }
            pose = line.find_first_of(innerSpliter, posb);
            if(pose == string::npos)
            {
                cout << "wrong line input\n" << line << endl;
                throw "wrong line input";
            }
            key = line.substr(posb, pose-posb);
            posb = pose + 1;
            if(posb >= line.size())
            {
                cout << "wrong line input\n" << line << endl;
                throw "wrong line input";
            }
            pose = line.find_first_of(spliter, posb);
            value = stod(line.substr(posb, pose-posb));
            if(value != 0)
            {
                if(this->x.find(key) == this->x.end())
                {
                    this->x[key] = value;
                }
                else
                {
                    this->x[key] += value;
                }
            }
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %r13
leaq 0x18(%rdi), %rax
movq %rax, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
movb $0x0, 0x18(%rdi)
addq $0x28, %rdi
leaq 0x58(%rbx), %rax
movq %rax, 0x28(%rbx)
movq $0x1, 0x30(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x38(%rbx)
movl $0x3f800000, 0x48(%rbx) # imm = 0x3F800000
movupd %xmm0, 0x50(%rbx)
movq %rdi, (%rsp)
callq 0x53d4
leaq 0x70cc(%rip), %r14      # 0xd2a0
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x31f0
movq %rax, %r12
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3230
movq %rax, %r14
movq %rax, %rcx
subq %r12, %rcx
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, 0x10(%rsp)
callq 0x3280
leaq 0x18(%rsp), %r12
movq (%r12), %rdi
callq 0x3360
movl %eax, %ebp
movq %r12, %rdi
callq 0x3458
testl %ebp, %ebp
js 0x642b
movl %ebp, (%rbx)
leaq 0x7067(%rip), %rbx      # 0xd2a0
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x31f0
movq %rax, %r14
movq %r15, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x3230
movq %rax, %rbp
movq %rax, %rcx
subq %r14, %rcx
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3280
leaq 0x18(%rsp), %r12
movq %r13, %rdi
movq %r12, %rsi
callq 0x32c0
movq %r12, %rdi
callq 0x3458
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x6fff(%rip), %r13      # 0xd2a0
leaq 0x38(%rsp), %rbx
cmpq 0x8(%r15), %rbp
jae 0x63c9
movq %r15, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x31f0
cmpq $-0x1, %rax
je 0x63c9
movq %rax, %rbp
movq (%r15), %rax
cmpb $0x23, (%rax,%rbp)
je 0x63c9
movq %r15, %rdi
leaq 0x6fde(%rip), %rsi      # 0xd2c0
movq %rbp, %rdx
callq 0x3230
cmpq $-0x1, %rax
je 0x63e2
movq %rax, %r14
movq %rax, %rcx
subq %rbp, %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %rbp, %rdx
callq 0x3280
movq %r12, %rdi
movq %rbx, %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x3458
incq %r14
cmpq 0x8(%r15), %r14
jae 0x63e2
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x3230
movq %rax, %rbp
movq %rax, %rcx
subq %r14, %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3280
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4cbf
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
callq 0x3458
movsd 0x8(%rsp), %xmm0
ucomisd 0x1f3a(%rip), %xmm0     # 0x82b0
jne 0x637e
jnp 0x62a6
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x6548
testq %rax, %rax
je 0x63ae
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x6618
movsd 0x8(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
jmp 0x62a6
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x6618
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x62a6
leaq 0x18(%rsp), %rdi
callq 0x3458
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x6bcf(%rip), %rdi      # 0xcfb8
leaq 0x1f1e(%rip), %rsi      # 0x830e
callq 0x3260
movq %rax, %rdi
movq %r15, %rsi
callq 0x3220
movq %rax, %rdi
callq 0x3110
pushq $0x8
popq %rdi
callq 0x3120
leaq 0x1ee6(%rip), %rcx      # 0x82fd
movq %rcx, (%rax)
movq 0x6b77(%rip), %rsi      # 0xcf98
movq %rax, %rdi
xorl %edx, %edx
callq 0x33d0
movq 0x6b86(%rip), %rdi      # 0xcfb8
leaq 0x1e94(%rip), %rsi      # 0x82cd
callq 0x3260
movq %rax, %rdi
movq %r15, %rsi
callq 0x3220
movq %rax, %rdi
callq 0x3110
pushq $0x8
popq %rdi
callq 0x3120
leaq 0x1e9d(%rip), %rcx      # 0x82fd
movq %rcx, (%rax)
movq 0x6b2e(%rip), %rsi      # 0xcf98
movq %rax, %rdi
xorl %edx, %edx
callq 0x33d0
jmp 0x6478
jmp 0x6478
movq %rax, %rbx
jmp 0x64a1
jmp 0x6494
jmp 0x6494
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3458
jmp 0x6497
jmp 0x6494
jmp 0x6494
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3458
movq (%rsp), %rdi
callq 0x53b8
movq 0x10(%rsp), %rdi
callq 0x3458
movq %rbx, %rdi
callq 0x33f0