// File: /workspace/github_cpp_makefile_star2_O3/CastellanZhang[P]lambdaFM/./src/FTRL/ftrl_predictor.h
// Function: ftrl_predictor::run_task(std::vector<std::vector<fm_sample, std::allocator<fm_sample>>, std::allocator<std::vector<fm_sample, std::allocator<fm_sample>>>>&)
void ftrl_predictor::run_task(vector<vector<fm_sample> >& dataBuffer)
{
    vector<string> outputVec;
    for(int i = 0; i < dataBuffer.size(); ++i)
    {
        for(int j = 0; j < dataBuffer[i].size(); ++j)
        {
            fm_sample& sample = dataBuffer[i][j];
            double score = pModel->getScore(sample.x, pModel->muMap);
            outputVec.push_back(to_string(sample.y) + " " + sample.qid + " " + to_string(score));
        }
    }
    outMtx.lock();
    for(int i = 0; i < outputVec.size(); ++i)
    {
        fPredict << outputVec[i] << endl;
    }
    outMtx.unlock();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, 0x8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq (%rsi), %rax
movq %rsi, 0x30(%rsp)
movq 0x8(%rsi), %rcx
cmpq %rax, %rcx
je 0x4314
leaq 0x70(%rsp), %r15
xorl %esi, %esi
leaq (%rsi,%rsi,2), %rdx
movq (%rax,%rdx,8), %r14
movq %rdx, 0xc8(%rsp)
cmpq %r14, 0x8(%rax,%rdx,8)
je 0x42f0
movq %rsi, 0xc0(%rsp)
xorl %r12d, %r12d
leaq (%r12,%r12,2), %rbx
shlq $0x5, %rbx
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
leaq (%r14,%rbx), %rsi
addq $0x28, %rsi
movq %rdi, %rdx
callq 0x3a20
addq %rbx, %r14
movl (%r14), %ebp
movl %ebp, %r13d
negl %r13d
cmovsl %ebp, %r13d
movl $0x1, %ebx
cmpl $0xa, %r13d
jb 0x3fc3
movl $0x4, %ebx
movl %r13d, %eax
movl $0xd1b71759, %edx       # imm = 0xD1B71759
cmpl $0x63, %eax
jbe 0x3fbc
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3fc1
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3fc3
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x3f8e
addl $-0x3, %ebx
jmp 0x3fc3
addl $-0x2, %ebx
jmp 0x3fc3
decl %ebx
movsd %xmm0, 0x38(%rsp)
movq %r12, 0xd0(%rsp)
shrl $0x1f, %ebp
leal (%rbx,%rbp), %esi
leaq 0xe8(%rsp), %rax
movq %rax, 0xd8(%rsp)
leaq 0xd8(%rsp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x32f0
addq 0xd8(%rsp), %rbp
movq %rbp, %rdi
movl %ebx, %esi
movl %r13d, %edx
callq 0x54e9
movq %r12, %rdi
leaq 0x5005(%rip), %rsi      # 0x9020
callq 0x3490
leaq 0x108(%rsp), %r13
movq %r13, 0xf8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4054
movq %rdx, 0xf8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x108(%rsp)
jmp 0x405c
movups (%rcx), %xmm0
movups %xmm0, (%r13)
leaq 0xb0(%rsp), %r12
leaq 0x50(%rsp), %rbp
movq 0x8(%rax), %rdx
movq %rdx, 0x100(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
leaq 0xf8(%rsp), %rdi
callq 0x30b0
movq %r12, 0xa0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40c5
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
jmp 0x40cd
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0xa8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xa0(%rsp), %rdi
leaq 0x4f29(%rip), %rsi      # 0x9020
callq 0x3490
movq %rbp, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x411f
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x4126
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movsd 0x38(%rsp), %xmm0
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl $0x148, %edx            # imm = 0x148
leaq 0x80(%rsp), %rdi
movq 0x8e50(%rip), %rsi      # 0xcfa8
leaq 0x503f(%rip), %rcx      # 0x919e
movb $0x1, %al
callq 0x5556
movq 0x40(%rsp), %rcx
movl $0xf, %edi
cmpq %rbp, %rcx
je 0x417a
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %r8
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x41b7
movl $0xf, %edi
leaq 0x90(%rsp), %r9
cmpq %r9, %rsi
je 0x41b2
movq 0x90(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x41c3
leaq 0x40(%rsp), %rdi
callq 0x30b0
jmp 0x41d4
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32d0
movq %r15, 0x60(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x41f4
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x41fb
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x10(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x6022
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x4236
callq 0x3260
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x4250
callq 0x3260
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x425f
callq 0x3260
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x4271
callq 0x3260
movq 0xf8(%rsp), %rdi
cmpq %r13, %rdi
movq 0xd0(%rsp), %r12
je 0x428b
callq 0x3260
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x42a5
callq 0x3260
incq %r12
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq 0xc8(%rsp), %rcx
movq (%rax,%rcx,8), %r14
movq 0x8(%rax,%rcx,8), %rcx
subq %r14, %rcx
sarq $0x5, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r12, %rcx
ja 0x3f45
movq 0x30(%rsp), %rcx
movq 0x8(%rcx), %rcx
movq 0xc0(%rsp), %rsi
incq %rsi
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %rdi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdi, %rdx
cmpq %rsi, %rdx
ja 0x3f1f
movq 0x8(%rsp), %rax
leaq 0x18(%rax), %r14
movq %r14, %rdi
callq 0x3370
testl %eax, %eax
jne 0x43c4
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x43a0
movl $0x8, %r15d
xorl %r12d, %r12d
movq 0x8(%rsp), %rcx
movq 0x10(%rcx), %rdi
movq -0x8(%rax,%r15), %rsi
movq (%rax,%r15), %rdx
callq 0x32e0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31a0
incq %r12
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r15
cmpq %r12, %rcx
ja 0x4342
movq %r14, %rdi
callq 0x31d0
leaq 0x10(%rsp), %rdi
callq 0x523e
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %edi
callq 0x3190
jmp 0x43ea
jmp 0x43ea
movq %rax, %rbx
jmp 0x442a
movq %rax, %rbx
jmp 0x444e
movq %rax, %rbx
jmp 0x4401
jmp 0x43ea
movq %rax, %rbx
jmp 0x443c
movq %rax, %rbx
jmp 0x441b
movq %rax, %rbx
jmp 0x4468
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x4401
callq 0x3260
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x441b
callq 0x3260
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x442a
callq 0x3260
movq 0xa0(%rsp), %rdi
cmpq %r12, %rdi
je 0x443c
callq 0x3260
movq 0xf8(%rsp), %rdi
cmpq %r13, %rdi
je 0x444e
callq 0x3260
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x4468
callq 0x3260
leaq 0x10(%rsp), %rdi
callq 0x523e
movq %rbx, %rdi
callq 0x3440