// File: /workspace/github_cpp_makefile_star2_O3/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_model.h
// Function: ftrl_model_unit::ftrl_model_unit(int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)
ftrl_model_unit(int factor_num, const vector<string>& modelLineSeg)
    {
        vi.resize(factor_num);
        v_ni.resize(factor_num);
        v_zi.resize(factor_num);
        wi = stod(modelLineSeg[1]);
        w_ni = stod(modelLineSeg[2 + factor_num]);
        w_zi = stod(modelLineSeg[3 + factor_num]);
        for(int f = 0; f < factor_num; ++f)
        {
            vi[f] = stod(modelLineSeg[2 + f]);
            v_ni[f] = stod(modelLineSeg[4 + factor_num + f]);
            v_zi[f] = stod(modelLineSeg[4 + 2 * factor_num + f]);
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, 0x10(%rsp)
movq %rdi, %r13
leaq 0x18(%rdi), %rdi
leaq 0x30(%r13), %rax
movq %rax, 0x28(%rsp)
leaq 0x48(%r13), %rax
movq %rax, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movslq %esi, %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%r13)
movups %xmm0, 0x68(%r13)
movups %xmm0, 0x58(%r13)
movups %xmm0, 0x48(%r13)
movups %xmm0, 0x38(%r13)
movups %xmm0, 0x28(%r13)
movups %xmm0, 0x18(%r13)
movq %rdi, 0x30(%rsp)
movq %r14, %rsi
callq 0x52be
movq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x52be
movq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x52be
movq 0x10(%rsp), %rax
movq (%rax), %rax
movq 0x20(%rax), %r15
callq 0x3040
movq %rax, %r12
movl (%rax), %ebp
movl $0x0, (%rax)
leaq 0x8(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x31e0
cmpq %r15, (%rbx)
je 0x51a3
movl (%r12), %ebx
testl %ebx, %ebx
je 0x4f4b
cmpl $0x22, %ebx
jne 0x4f51
leaq 0x4253(%rip), %rdi      # 0x9199
callq 0x3350
movl %ebp, (%r12)
movl %ebp, %ebx
movsd %xmm0, (%r13)
movq 0x10(%rsp), %rax
movq (%rax), %rax
shlq $0x5, %r14
movq 0x40(%rax,%r14), %r15
movl $0x0, (%r12)
leaq 0x8(%rsp), %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0x31e0
cmpq %r15, (%rbp)
je 0x51af
movl (%r12), %ebp
testl %ebp, %ebp
je 0x4fa3
cmpl $0x22, %ebp
jne 0x4fa9
leaq 0x41fb(%rip), %rdi      # 0x9199
callq 0x3350
movl %ebx, (%r12)
movl %ebx, %ebp
movsd %xmm0, 0x8(%r13)
movq 0x10(%rsp), %rax
movq (%rax), %rax
movq 0x60(%rax,%r14), %r14
movl $0x0, (%r12)
leaq 0x8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x31e0
cmpq %r14, (%r15)
je 0x51bb
movl (%r12), %ebx
testl %ebx, %ebx
je 0x4ff6
cmpl $0x22, %ebx
jne 0x4ffc
leaq 0x41a8(%rip), %rdi      # 0x9199
callq 0x3350
movl %ebp, (%r12)
movl %ebp, %ebx
movsd %xmm0, 0x10(%r13)
cmpl $0x0, 0x18(%rsp)
jle 0x514c
movq 0x18(%rsp), %rax
movl %eax, %ecx
addl %eax, %eax
shlq $0x5, %rax
subq $-0x80, %rax
movq %rax, 0x18(%rsp)
movq %rcx, %rax
shlq $0x5, %rax
movq %rax, 0x40(%rsp)
shlq $0x3, %rcx
movq %rcx, 0x38(%rsp)
xorl %r15d, %r15d
movq 0x10(%rsp), %rax
movq (%rax), %rax
movq 0x40(%rax,%r15,4), %r14
movl $0x0, (%r12)
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x31e0
cmpq %r14, 0x8(%rsp)
je 0x5167
movl (%r12), %ebp
testl %ebp, %ebp
je 0x507a
cmpl $0x22, %ebp
jne 0x5080
jmp 0x518b
movl %ebx, (%r12)
movl %ebx, %ebp
movq 0x30(%rsp), %rax
movq (%rax), %rax
movsd %xmm0, (%rax,%r15)
movq 0x10(%rsp), %rax
movq (%rax), %rax
addq 0x40(%rsp), %rax
movq 0x80(%rax,%r15,4), %r14
movl $0x0, (%r12)
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x31e0
cmpq %r14, 0x8(%rsp)
je 0x5173
movl (%r12), %r13d
testl %r13d, %r13d
je 0x50d7
cmpl $0x22, %r13d
jne 0x50de
jmp 0x5197
movl %ebp, (%r12)
movl %ebp, %r13d
movq 0x28(%rsp), %rax
movq (%rax), %rax
movsd %xmm0, (%rax,%r15)
movq 0x10(%rsp), %rax
movq (%rax), %rax
addq 0x18(%rsp), %rax
movq (%rax,%r15,4), %r14
movl $0x0, (%r12)
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x31e0
cmpq %r14, 0x8(%rsp)
je 0x515b
movl (%r12), %ebx
testl %ebx, %ebx
je 0x5128
cmpl $0x22, %ebx
jne 0x512f
jmp 0x517f
movl %r13d, (%r12)
movl %r13d, %ebx
movq 0x20(%rsp), %rax
movq (%rax), %rax
movsd %xmm0, (%rax,%r15)
addq $0x8, %r15
cmpq %r15, 0x38(%rsp)
jne 0x503b
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4037(%rip), %rdi      # 0x9199
callq 0x3180
leaq 0x402b(%rip), %rdi      # 0x9199
callq 0x3180
leaq 0x401f(%rip), %rdi      # 0x9199
callq 0x3180
leaq 0x4013(%rip), %rdi      # 0x9199
callq 0x3350
leaq 0x4007(%rip), %rdi      # 0x9199
callq 0x3350
leaq 0x3ffb(%rip), %rdi      # 0x9199
callq 0x3350
leaq 0x3fef(%rip), %rdi      # 0x9199
callq 0x3180
leaq 0x3fe3(%rip), %rdi      # 0x9199
callq 0x3180
leaq 0x3fd7(%rip), %rdi      # 0x9199
callq 0x3180
jmp 0x51d2
jmp 0x51e2
jmp 0x51d2
movq %rax, %r14
jmp 0x5200
movq %rax, %r14
cmpl $0x0, (%r12)
jne 0x5200
movl %ebp, (%r12)
jmp 0x5200
movq %rax, %r14
cmpl $0x0, (%r12)
jne 0x5200
movl %ebx, (%r12)
jmp 0x5200
movq %rax, %r14
cmpl $0x0, (%r12)
jne 0x5200
movl %r13d, (%r12)
movq 0x20(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x5212
callq 0x3260
movq 0x28(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x5224
callq 0x3260
movq 0x30(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x5236
callq 0x3260
movq %r14, %rdi
callq 0x3440