// File: /workspace/github_cpp_makefile_star2_O1/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 0xc163(%rip), %rsi      # 0x15290
leaq 0xc15d(%rip), %rdx      # 0x15291
callq 0xdea6
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %rbx, 0x8(%rsp)
callq 0x5830
movq (%r14), %rbx
cmpq 0x8(%r14), %rbx
je 0x92f8
leaq 0x40(%rsp), %r12
leaq 0xc13e(%rip), %r13      # 0x152a2
leaq 0x78(%rsp), %rbp
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x86f1
addq $0x38, %rbx
xorl %eax, %eax
cmpq 0x8(%r14), %rbx
leaq 0xc10c(%rip), %rsi      # 0x15292
leaq 0xd0b4(%rip), %rcx      # 0x16241
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 0xdea6
movq %rbp, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xc25a
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 0x91f4
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x91fa
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 0x9249
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x9251
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 0x9294
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x92b0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x92d2
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x92ee
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x54c0
cmpq 0x8(%r14), %rbx
jne 0x9169
leaq 0xbfcc(%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 0x9325
jmp 0x9325
movq %rax, %r14
jmp 0x93b0
movq %rax, %r14
jmp 0x9394
movq %rax, %r14
jmp 0x9372
movq %rax, %r14
jmp 0x9356
movq %rax, %r14
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x9356
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x9372
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x9394
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x93b0
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x54c0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x93cd
movq (%rax), %rsi
incq %rsi
callq 0x54c0
movq %r14, %rdi
callq 0x58e0