// File: /workspace/github_cpp_makefile_star2_O3/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 0x32bf4
leaq 0x9b98(%rip), %rsi      # 0x36bf4
movq %rbx, %rdi
callq 0x3340
testl %eax, %eax
je 0x2d111
cmpb $0x5b, (%rbx)
jne 0x2d189
incq %rbx
movq %rsp, %r15
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x32c3e
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2d0ac
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x8(%r14), %rdx
addq $-0x18, %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2b52f
movq 0x8(%r14), %rcx
movq -0x10(%rcx), %rax
subq -0x18(%rcx), %rax
je 0x2d11b
movq (%r14), %rcx
movq 0x8(%rcx), %rdx
subq (%rcx), %rdx
cmpq %rdx, %rax
jne 0x2d11b
movq %rbx, %rdi
movl $0x5d, %esi
callq 0x30f0
testq %rax, %rax
je 0x2d139
movq %rax, %rbx
movzbl 0x1(%rax), %eax
cmpl $0x2c, %eax
jne 0x2d102
addq $0x2, %rbx
jmp 0x2d07b
cmpl $0x5d, %eax
jne 0x2d157
cmpb $0x0, 0x2(%rbx)
jne 0x2d1a7
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9aef(%rip), %rsi      # 0x36c1e
movq %rax, %rdi
callq 0x28d64
jmp 0x2d173
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9ad1(%rip), %rsi      # 0x36c1e
movq %rax, %rdi
callq 0x28d64
jmp 0x2d173
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9ab3(%rip), %rsi      # 0x36c1e
movq %rax, %rdi
callq 0x28d64
leaq 0x15a06(%rip), %rsi     # 0x42b80
leaq -0x19ebf(%rip), %rdx    # 0x132c2
movq %r14, %rdi
callq 0x33f0
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9a81(%rip), %rsi      # 0x36c1e
movq %rax, %rdi
callq 0x28d64
jmp 0x2d173
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0x9a63(%rip), %rsi      # 0x36c1e
movq %rax, %rdi
callq 0x28d64
jmp 0x2d173
jmp 0x2d1e8
jmp 0x2d1e8
jmp 0x2d1e8
jmp 0x2d1e8
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2d1f3
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
jmp 0x2d1f3
movq %rax, %rbx
movq %r14, %rdi
callq 0x31c0
movq %rbx, %rdi
callq 0x3420
nop