// File: /workspace/github_cpp_makefile_star2_O3/yayuntian[P]user_agent/bot.cpp
// Function: getFromSite(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>>>>&)
string getFromSite(vector<string>& comment) {
    size_t slen = comment.size();

    if (slen == 0) {
        return "";
    }

    int idx = (slen < 3) ? 0 : 2;
    boost::smatch result;

    string ret = "";
    int count = 0;

    std::string::const_iterator start = comment[idx].begin();
    std::string::const_iterator end = comment[idx].end();

    while ( boost::regex_search(start, end, result, botFromSiteRegexp) ) {
        if (count++ == 0) {
            ret = result[0];
        }
        start = result[0].second;
    }

    if (count == 1) {
        if (idx == 0) {
            return ret;
        }
        return trim_copy(comment[1]);
    }

    return "";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %rbx
movq 0x8(%rsi), %r15
subq (%rsi), %r15
je 0x25a19
movq %rsi, %r14
movq %rbx, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movb $0x0, 0x90(%rsp)
movups %xmm0, 0x98(%rsp)
movl $0x0, 0xa8(%rsp)
movb $0x1, 0xac(%rsp)
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xbab3(%rip), %rdx      # 0x313c4
movq %rsp, %rdi
movq %rdx, %rsi
callq 0xc690
xorl %eax, %eax
movq %r15, 0x58(%rsp)
cmpq $0x41, %r15
setae %al
movq %r14, 0x50(%rsp)
movq (%r14), %rcx
shll $0x6, %eax
movq (%rcx,%rax), %rdi
movq 0x8(%rcx,%rax), %r15
addq %rdi, %r15
movl $0x1, %r14d
leaq 0x40(%rsp), %rbx
leaq 0x1eb5d(%rip), %r12     # 0x444b0
leaq 0x60(%rsp), %r13
leaq 0x30(%rsp), %rbp
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
xorl %r8d, %r8d
movq %rdi, %r9
callq 0x2644a
testb %al, %al
je 0x259ec
cmpl $0x1, %r14d
jne 0x259d6
movq %r13, %rdi
xorl %esi, %esi
callq 0x263ce
cmpb $0x1, 0x10(%rax)
jne 0x259a1
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, 0x30(%rsp)
movq %rbp, %rdi
callq 0x25824
jmp 0x259b4
movq %rbx, 0x30(%rsp)
movq $0x0, 0x38(%rsp)
movb $0x0, 0x40(%rsp)
movq %rsp, %rdi
movq %rbp, %rsi
callq 0x6410
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x259d6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6340
movq %r13, %rdi
xorl %esi, %esi
callq 0x263ce
movq 0x8(%rax), %rdi
decl %r14d
jmp 0x2595d
testl %r14d, %r14d
je 0x25a3a
movq 0x20(%rsp), %r15
leaq 0x10(%r15), %rax
movq %rax, (%r15)
leaq 0xb9c0(%rip), %rdx      # 0x313c4
movq %r15, %rdi
movq %rdx, %rsi
leaq 0x10(%rsp), %rbx
callq 0xc690
jmp 0x25ae9
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xb99d(%rip), %rdx      # 0x313c4
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xc690
movq %rbx, %rax
jmp 0x25b0c
cmpq $0x40, 0x58(%rsp)
ja 0x25a6a
movq 0x20(%rsp), %r15
leaq 0x10(%r15), %rax
movq %rax, (%r15)
movq (%rsp), %rcx
leaq 0x10(%rsp), %rbx
cmpq %rbx, %rcx
je 0x25ac8
movq %rcx, (%r15)
movq 0x10(%rsp), %rax
movq %rax, 0x10(%r15)
jmp 0x25ace
movq 0x50(%rsp), %rax
movq (%rax), %rbx
addq $0x20, %rbx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x66d0
leaq 0x38(%rsp), %r14
movw $0x2000, -0x8(%r14)     # imm = 0x2000
movq %r14, %rdi
movq %r15, %rsi
callq 0x6220
leaq 0x30(%rsp), %rdx
movq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2b361
movq %r14, %rdi
callq 0x64b0
leaq 0x28(%rsp), %rdi
callq 0x64b0
leaq 0x10(%rsp), %rbx
jmp 0x25ae9
movups (%rbx), %xmm0
movups %xmm0, (%rax)
movq 0x8(%rsp), %rax
movq %rax, 0x8(%r15)
movq %rbx, (%rsp)
movq $0x0, 0x8(%rsp)
movb $0x0, 0x10(%rsp)
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x25aff
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6340
leaq 0x60(%rsp), %rdi
callq 0x26426
movq %r15, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x64b0
leaq 0x28(%rsp), %rdi
callq 0x64b0
jmp 0x25b41
jmp 0x25b3e
movq %rax, %rbx
jmp 0x25b5c
jmp 0x25b3e
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x25b5c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6340
leaq 0x60(%rsp), %rdi
callq 0x26426
movq %rbx, %rdi
callq 0x6630