// File: /workspace/github_cpp_makefile_star2_O1/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::str_matrix_create(char const*, std::vector<std::vector<char const*, std::allocator<char const*>>, std::allocator<std::vector<char const*, std::allocator<char const*>>>>*)
void alglib::str_matrix_create(const char *src, std::vector< std::vector<const char*> > *p_mat)
{
    p_mat->clear();
    
    //
    // Try to handle "[[]]" string
    //
    if( strcmp(src, "[[]]")==0 )
        return;

    //
    // Parse non-empty string
    //
    if( *src!='[' )
        throw alglib::ap_error("Incorrect initializer for matrix");
    src++;
    for(;;)
    {
        p_mat->push_back(std::vector<const char*>());
        str_vector_create(src, false, &p_mat->back());
        if( p_mat->back().size()==0 || p_mat->back().size()!=(*p_mat)[0].size() )
            throw alglib::ap_error("Incorrect initializer for matrix");
        src = strchr(src, ']');
        if( src==NULL )
            throw alglib::ap_error("Incorrect initializer for matrix");
        src++;
        if( *src==',' )
        {
            src++;
            continue;
        }
        if( *src==']' )
            break;
        throw alglib::ap_error("Incorrect initializer for matrix");
    }
    src++;
    if( *src!=0 )
        throw alglib::ap_error("Incorrect initializer for matrix");
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rsi
movq %r14, %rdi
callq 0x3384c
leaq 0x9d52(%rip), %rsi      # 0x37a18
movq %rbx, %rdi
callq 0x3340
testl %eax, %eax
je 0x2dd7b
cmpb $0x5b, (%rbx)
jne 0x2ddf3
incq %rbx
movq %rsp, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x33896
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2dd16
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x8(%r14), %rdx
addq $-0x18, %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2c0ec
movq 0x8(%r14), %rcx
movq -0x10(%rcx), %rax
subq -0x18(%rcx), %rax
je 0x2dd85
movq (%r14), %rcx
movq 0x8(%rcx), %rdx
subq (%rcx), %rdx
cmpq %rdx, %rax
jne 0x2dd85
movq %rbx, %rdi
movl $0x5d, %esi
callq 0x30f0
testq %rax, %rax
je 0x2dda3
movq %rax, %rbx
movzbl 0x1(%rax), %eax
cmpl $0x2c, %eax
jne 0x2dd6c
addq $0x2, %rbx
jmp 0x2dce5
cmpl $0x5d, %eax
jne 0x2ddc1
cmpb $0x0, 0x2(%rbx)
jne 0x2de11
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9ca9(%rip), %rsi      # 0x37a42
movq %rax, %rdi
callq 0x2966e
jmp 0x2dddd
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9c8b(%rip), %rsi      # 0x37a42
movq %rax, %rdi
callq 0x2966e
jmp 0x2dddd
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9c6d(%rip), %rsi      # 0x37a42
movq %rax, %rdi
callq 0x2966e
leaq 0x15d9c(%rip), %rsi     # 0x43b80
leaq -0x1a567(%rip), %rdx    # 0x13884
movq %r14, %rdi
callq 0x33f0
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9c3b(%rip), %rsi      # 0x37a42
movq %rax, %rdi
callq 0x2966e
jmp 0x2dddd
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9c1d(%rip), %rsi      # 0x37a42
movq %rax, %rdi
callq 0x2966e
jmp 0x2dddd
jmp 0x2de52
jmp 0x2de52
jmp 0x2de52
jmp 0x2de52
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2de5d
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
jmp 0x2de5d
movq %rax, %rbx
movq %r14, %rdi
callq 0x31c0
movq %rbx, %rdi
callq 0x3420
nop