// File: /workspace/github_cpp_makefile_star2_O1/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 0x27e39
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 0xb68f(%rip), %rdx      # 0x333c4
movq %rsp, %rdi
movq %rdx, %rsi
callq 0xe90a
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
leaq 0x40(%rsp), %r14
movl $0x1, %ebx
leaq 0x1e73a(%rip), %r12     # 0x464b0
leaq 0x60(%rsp), %r13
leaq 0x30(%rsp), %rbp
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
xorl %r8d, %r8d
movq %rdi, %r9
callq 0x288d2
testb %al, %al
je 0x27e0d
cmpl $0x1, %ebx
jne 0x27df8
movq %r13, %rdi
xorl %esi, %esi
callq 0x28856
cmpb $0x1, 0x10(%rax)
jne 0x27dc3
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r14, 0x30(%rsp)
movq %rbp, %rdi
callq 0x27c50
jmp 0x27dd6
movq %r14, 0x30(%rsp)
movq $0x0, 0x38(%rsp)
movb $0x0, 0x40(%rsp)
movq %rsp, %rdi
movq %rbp, %rsi
callq 0x7410
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x27df8
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x7340
movq %r13, %rdi
xorl %esi, %esi
callq 0x28856
movq 0x8(%rax), %rdi
decl %ebx
jmp 0x27d80
testl %ebx, %ebx
je 0x27e5a
movq 0x20(%rsp), %r15
leaq 0x10(%r15), %rax
movq %rax, (%r15)
leaq 0xb5a0(%rip), %rdx      # 0x333c4
movq %r15, %rdi
movq %rdx, %rsi
leaq 0x10(%rsp), %rbx
callq 0xe90a
jmp 0x27f09
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0xb57d(%rip), %rdx      # 0x333c4
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xe90a
movq %rbx, %rax
jmp 0x27f2c
cmpq $0x40, 0x58(%rsp)
ja 0x27e8a
movq 0x20(%rsp), %r15
leaq 0x10(%r15), %rax
movq %rax, (%r15)
movq (%rsp), %rcx
leaq 0x10(%rsp), %rbx
cmpq %rbx, %rcx
je 0x27ee8
movq %rcx, (%r15)
movq 0x10(%rsp), %rax
movq %rax, 0x10(%r15)
jmp 0x27eee
movq 0x50(%rsp), %rax
movq (%rax), %rbx
addq $0x20, %rbx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x76d0
leaq 0x38(%rsp), %r14
movw $0x2000, -0x8(%r14)     # imm = 0x2000
movq %r14, %rdi
movq %r15, %rsi
callq 0x7220
leaq 0x30(%rsp), %rdx
movq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2d6ff
movq %r14, %rdi
callq 0x74b0
leaq 0x28(%rsp), %rdi
callq 0x74b0
leaq 0x10(%rsp), %rbx
jmp 0x27f09
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 0x27f1f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7340
leaq 0x60(%rsp), %rdi
callq 0x288ae
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 0x74b0
leaq 0x28(%rsp), %rdi
callq 0x74b0
jmp 0x27f61
jmp 0x27f5e
movq %rax, %rbx
jmp 0x27f7c
jmp 0x27f5e
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x27f7c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7340
leaq 0x60(%rsp), %rdi
callq 0x288ae
movq %rbx, %rdi
callq 0x7630