// File: Shadowsith[P]gtts/gtts.cpp
// Function: gtts::GoogleTTS::split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::vector<string> GoogleTTS::split(string& msg) {
    std::vector<string> vec;
    std::istringstream iss(msg);
    std::vector<string> words(std::istream_iterator<string>{iss},
            std::istream_iterator<string>());
    string part = "";
    for (string s : words) {
        if(part.size()-1 + s.size() <= 200) {
            part += s + " ";
        } else {
            vec.push_back(part);
            part = s + " ";
        }
    }
    if(part != "") vec.push_back(part);

    return vec;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp            # imm = 0x300
movq %rdi, -0x2e0(%rbp)
movq %rdi, %rax
movq %rax, -0x2d8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb $0x0, -0x19(%rbp)
callq 0x6050
movq -0x18(%rbp), %rsi
leaq -0x1a0(%rbp), %rdi
movl $0x8, %edx
callq 0x2340
jmp 0x41f8
leaq -0x1f8(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x60d0
jmp 0x420d
leaq -0x228(%rbp), %rdi
callq 0x6130
jmp 0x421b
leaq -0x229(%rbp), %rdi
movq %rdi, -0x2e8(%rbp)
callq 0x6170
movq -0x2e8(%rbp), %rcx
leaq -0x1c8(%rbp), %rdi
leaq -0x1f8(%rbp), %rsi
leaq -0x228(%rbp), %rdx
callq 0x6190
jmp 0x4251
leaq -0x229(%rbp), %rdi
callq 0x6290
leaq -0x228(%rbp), %rdi
callq 0x62b0
leaq -0x1f8(%rbp), %rdi
callq 0x62b0
leaq -0x251(%rbp), %rdi
movq %rdi, -0x2f0(%rbp)
callq 0x2360
movq -0x2f0(%rbp), %rdx
leaq 0x735a(%rip), %rsi      # 0xb5f0
leaq -0x250(%rbp), %rdi
callq 0x5fa0
jmp 0x42a4
leaq -0x251(%rbp), %rdi
callq 0x2250
leaq -0x1c8(%rbp), %rax
movq %rax, -0x260(%rbp)
movq -0x260(%rbp), %rdi
callq 0x62d0
movq %rax, -0x268(%rbp)
movq -0x260(%rbp), %rdi
callq 0x6300
movq %rax, -0x270(%rbp)
leaq -0x268(%rbp), %rdi
leaq -0x270(%rbp), %rsi
callq 0x6330
testb $0x1, %al
jne 0x4300
jmp 0x4504
leaq -0x268(%rbp), %rdi
callq 0x6370
movq %rax, %rsi
leaq -0x290(%rbp), %rdi
callq 0x20d0
jmp 0x431d
leaq -0x250(%rbp), %rdi
callq 0x2170
subq $0x1, %rax
movq %rax, -0x2f8(%rbp)
leaq -0x290(%rbp), %rdi
callq 0x2170
movq %rax, %rcx
movq -0x2f8(%rbp), %rax
addq %rcx, %rax
cmpq $0xc8, %rax
ja 0x4489
leaq 0x70a5(%rip), %rdx      # 0xb405
leaq -0x2b0(%rbp), %rdi
leaq -0x290(%rbp), %rsi
callq 0x6390
jmp 0x4375
leaq -0x250(%rbp), %rdi
leaq -0x2b0(%rbp), %rsi
callq 0x22d0
jmp 0x438a
leaq -0x2b0(%rbp), %rdi
callq 0x2140
jmp 0x44d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x45b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x458a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x4407
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x229(%rbp), %rdi
callq 0x6290
leaq -0x228(%rbp), %rdi
callq 0x62b0
leaq -0x1f8(%rbp), %rdi
callq 0x62b0
jmp 0x458a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x251(%rbp), %rdi
callq 0x2250
jmp 0x457e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x4572
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x44f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x2b0(%rbp), %rdi
callq 0x2140
jmp 0x44f6
movq -0x2e0(%rbp), %rdi
leaq -0x250(%rbp), %rsi
callq 0x6410
jmp 0x449e
leaq 0x6f60(%rip), %rdx      # 0xb405
leaq -0x2d0(%rbp), %rdi
leaq -0x290(%rbp), %rsi
callq 0x6390
jmp 0x44ba
leaq -0x250(%rbp), %rdi
leaq -0x2d0(%rbp), %rsi
callq 0x22a0
leaq -0x2d0(%rbp), %rdi
callq 0x2140
leaq -0x290(%rbp), %rdi
callq 0x2140
leaq -0x268(%rbp), %rdi
callq 0x6480
jmp 0x42e4
leaq -0x290(%rbp), %rdi
callq 0x2140
jmp 0x4572
leaq 0x70e5(%rip), %rsi      # 0xb5f0
leaq -0x250(%rbp), %rdi
callq 0x64a0
movb %al, -0x2f9(%rbp)
jmp 0x451f
movb -0x2f9(%rbp), %al
testb $0x1, %al
jne 0x452b
jmp 0x4542
movq -0x2e0(%rbp), %rdi
leaq -0x250(%rbp), %rsi
callq 0x6410
jmp 0x4540
jmp 0x4542
movb $0x1, -0x19(%rbp)
leaq -0x250(%rbp), %rdi
callq 0x2140
leaq -0x1c8(%rbp), %rdi
callq 0x6070
leaq -0x1a0(%rbp), %rdi
callq 0x2100
testb $0x1, -0x19(%rbp)
jne 0x45a4
jmp 0x4598
leaq -0x250(%rbp), %rdi
callq 0x2140
leaq -0x1c8(%rbp), %rdi
callq 0x6070
leaq -0x1a0(%rbp), %rdi
callq 0x2100
jmp 0x45b4
movq -0x2e0(%rbp), %rdi
callq 0x6070
movq -0x2d8(%rbp), %rax
addq $0x300, %rsp            # imm = 0x300
popq %rbp
retq
movq -0x2e0(%rbp), %rdi
callq 0x6070
movq -0x1a8(%rbp), %rdi
callq 0x2350
nopl (%rax)