// File: /workspace/github_cpp_makefile_star2_O3/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 $0x68, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movq %rax, 0x30(%rsp)
leaq 0x18(%rdi), %rax
movq %rax, 0x38(%rsp)
movq %rax, 0x8(%rdi)
movq $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 0x5998
movq 0x6965(%rip), %rsi      # 0xd2c8
movq 0x6966(%rip), %rcx      # 0xd2d0
movq %r15, %rdi
xorl %edx, %edx
callq 0x3400
movq %rax, %r13
movq 0x694a(%rip), %rsi      # 0xd2c8
movq 0x694b(%rip), %rcx      # 0xd2d0
movq %r15, %rdi
movq %rax, %rdx
callq 0x3390
movq %rax, %r12
movq %rax, %rcx
subq %r13, %rcx
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x32b0
leaq 0x20(%rsp), %r14
movq -0x10(%r14), %r13
movq %r13, %rdi
callq 0x33b0
movl %eax, %ebp
cmpq %r14, %r13
je 0x69c9
movq %r13, %rdi
callq 0x3260
testl %ebp, %ebp
js 0x6c8c
movl %ebp, (%rbx)
movq 0x68ee(%rip), %rsi      # 0xd2c8
movq 0x68ef(%rip), %rcx      # 0xd2d0
movq %r15, %rdi
movq %r12, %rdx
callq 0x3400
movq %rax, %r12
movq 0x68d2(%rip), %rsi      # 0xd2c8
movq 0x68d3(%rip), %rcx      # 0xd2d0
movq %r15, %rdi
movq %rax, %rdx
callq 0x3390
movq %rax, %rbx
movq %rax, %rcx
subq %r12, %rcx
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x32b0
leaq 0x10(%rsp), %r12
movq 0x30(%rsp), %rdi
movq %r12, %rsi
callq 0x3310
movq (%r12), %rdi
leaq 0x20(%rsp), %r14
cmpq %r14, %rdi
je 0x6a46
callq 0x3260
movq %r14, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
cmpq 0x8(%r15), %rbx
jae 0x6c0d
leaq 0x40(%rsp), %r14
leaq 0x10(%rsp), %r12
movq 0x6854(%rip), %rsi      # 0xd2c8
movq 0x6855(%rip), %rcx      # 0xd2d0
movq %r15, %rdi
movq %rbx, %rdx
callq 0x3400
cmpq $-0x1, %rax
je 0x6bf9
movq %rax, %rbx
movq (%r15), %rax
cmpb $0x23, (%rax,%rbx)
je 0x6bf9
movq 0x6841(%rip), %rsi      # 0xd2e8
movq 0x6842(%rip), %rcx      # 0xd2f0
movq %r15, %rdi
movq %rbx, %rdx
callq 0x3390
cmpq $-0x1, %rax
je 0x6c1c
movq %rax, %rbp
movq %rax, %rcx
subq %rbx, %rcx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x32b0
movq %r12, %rdi
movq %r14, %rsi
callq 0x3310
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x6af9
callq 0x3260
incq %rbp
cmpq 0x8(%r15), %rbp
jae 0x6c1c
movq 0x67bb(%rip), %rsi      # 0xd2c8
movq 0x67bc(%rip), %rcx      # 0xd2d0
movq %r15, %rdi
movq %rbp, %rdx
callq 0x3390
movq %rax, %rbx
movq %rax, %rcx
subq %rbp, %rcx
movq %r14, %r13
movq %r14, %rdi
movq %r15, %rsi
movq %rbp, %rdx
callq 0x32b0
movq 0x40(%rsp), %r14
callq 0x3040
movq %rax, %rbp
movl (%rax), %r12d
movl $0x0, (%rax)
movq %r14, %rdi
leaq 0x60(%rsp), %rsi
callq 0x31e0
movsd %xmm0, 0x8(%rsp)
cmpq %r14, 0x60(%rsp)
je 0x6c74
movl (%rbp), %eax
testl %eax, %eax
leaq 0x50(%rsp), %rcx
je 0x6b83
cmpl $0x22, %eax
jne 0x6b87
jmp 0x6c80
movl %r12d, (%rbp)
movq 0x40(%rsp), %rdi
cmpq %rcx, %rdi
je 0x6b96
callq 0x3260
movsd 0x8(%rsp), %xmm0
ucomisd 0x270c(%rip), %xmm0     # 0x92b0
movq %r13, %r14
leaq 0x10(%rsp), %r12
jne 0x6bb0
jnp 0x6bef
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x6e0c
testq %rax, %rax
je 0x6bd9
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x6f08
movsd 0x8(%rsp), %xmm0
addsd (%rax), %xmm0
jmp 0x6beb
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x6f08
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
cmpq 0x8(%r15), %rbx
jb 0x6a6d
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6c0d
callq 0x3260
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x639d(%rip), %rdi      # 0xcfc0
leaq 0x26e4(%rip), %rsi      # 0x930e
movl $0x11, %edx
callq 0x32e0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x637e(%rip), %rdi      # 0xcfc0
callq 0x32e0
movq %rax, %rdi
callq 0x3120
movl $0x8, %edi
callq 0x3130
leaq 0x269d(%rip), %rcx      # 0x92fd
movq %rcx, (%rax)
movq 0x6336(%rip), %rsi      # 0xcfa0
movq %rax, %rdi
xorl %edx, %edx
callq 0x3420
leaq 0x251e(%rip), %rdi      # 0x9199
callq 0x3180
leaq 0x2512(%rip), %rdi      # 0x9199
callq 0x3350
movq 0x632d(%rip), %rdi      # 0xcfc0
leaq 0x2633(%rip), %rsi      # 0x92cd
movl $0x2f, %edx
callq 0x32e0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x630e(%rip), %rdi      # 0xcfc0
callq 0x32e0
movq %rax, %rdi
callq 0x3120
movl $0x8, %edi
callq 0x3130
leaq 0x262d(%rip), %rcx      # 0x92fd
movq %rcx, (%rax)
movq 0x62c6(%rip), %rsi      # 0xcfa0
movq %rax, %rdi
xorl %edx, %edx
callq 0x3420
jmp 0x6ce8
jmp 0x6ce8
movq %rax, %r14
jmp 0x6d2f
jmp 0x6d18
jmp 0x6d18
jmp 0x6d18
jmp 0x6d18
movq %rax, %r14
cmpl $0x0, (%rbp)
jne 0x6d02
movl %r12d, (%rbp)
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x6d1b
callq 0x3260
jmp 0x6d1b
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6d2f
callq 0x3260
movq (%rsp), %rdi
callq 0x597a
movq 0x30(%rsp), %rax
movq (%rax), %rdi
cmpq 0x38(%rsp), %rdi
je 0x6d4c
callq 0x3260
movq %r14, %rdi
callq 0x3440