// File: /workspace/github_cpp_makefile_star2_O3/nilnilnil[P]autocomplete/src/main.cpp
// Function: suggestions_json_array[abi:cxx11](std::vector<phrase_t, std::allocator<phrase_t>>&)
std::string
suggestions_json_array(vp_t& suggestions) {
    std::string ret = "[";
    ret.reserve(OUTPUT_SIZE_RESERVE);
    for (vp_t::iterator i = suggestions.begin(); i != suggestions.end(); ++i) {
        escape_special_chars(i->phrase);

        std::string trailer = i + 1 == suggestions.end() ? "\n" : ",\n";
        ret += "\"" + i->phrase + "\"" + trailer;
    }
    ret += "]";
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x70(%rsp)
movq %rax, (%rdi)
leaq 0xc176(%rip), %rsi      # 0x15290
leaq 0xc170(%rip), %rdx      # 0x15291
callq 0xde28
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %rbx, 0x8(%rsp)
callq 0x5830
movq (%r14), %rbx
cmpq 0x8(%r14), %rbx
je 0x92e5
leaq 0x40(%rsp), %r12
leaq 0xc151(%rip), %r13      # 0x152a2
leaq 0x78(%rsp), %rbp
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x8723
addq $0x38, %rbx
xorl %eax, %eax
cmpq 0x8(%r14), %rbx
leaq 0xc11f(%rip), %rsi      # 0x15292
leaq 0xd0c4(%rip), %rcx      # 0x1623e
cmoveq %rcx, %rsi
sete %al
leaq 0x60(%rsp), %rcx
movq %rcx, 0x50(%rsp)
negq %rax
leaq (%rsi,%rax), %rdx
addq $0x2, %rdx
leaq 0x50(%rsp), %rdi
callq 0xde28
movq %rbp, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xc25d
movq %rbp, %rdi
movq %r13, %rsi
callq 0x5990
leaq 0x20(%rsp), %rsi
movq %rsi, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x91e1
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x91e7
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
leaq 0x10(%rsp), %rdi
callq 0x5160
movq %r12, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x9236
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x923e
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x8(%rsp), %rdi
callq 0x5160
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x9281
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x929d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x92bf
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x92db
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x54c0
cmpq 0x8(%r14), %rbx
jne 0x9156
leaq 0xbfdf(%rip), %rsi      # 0x152cb
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x5990
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9312
jmp 0x9312
movq %rax, %r14
jmp 0x939d
movq %rax, %r14
jmp 0x9381
movq %rax, %r14
jmp 0x935f
movq %rax, %r14
jmp 0x9343
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x9343
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x935f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x9381
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x939d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x93ba
movq (%rax), %rsi
incq %rsi
callq 0x54c0
movq %r14, %rdi
callq 0x58e0