// File: /workspace/github_cpp_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2eedc
leaq 0x948b(%rip), %rsi      # 0x33b88
movq %rbx, %rdi
callq 0x3310
testl %eax, %eax
je 0x2a79e
cmpb $0x5b, (%rbx)
jne 0x2a811
incq %rbx
movq %rsp, %r15
pushq $0x5d
popq %rbp
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x2f280
movq %r15, %rdi
callq 0x2ef7a
movq 0x8(%r14), %rdx
addq $-0x18, %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x28ed1
movq 0x8(%r14), %rcx
movq -0x10(%rcx), %rax
subq -0x18(%rcx), %rax
je 0x2a7a9
movq (%r14), %rcx
movq 0x8(%rcx), %rdx
subq (%rcx), %rdx
cmpq %rdx, %rax
jne 0x2a7a9
movq %rbx, %rdi
movl %ebp, %esi
callq 0x30d0
testq %rax, %rax
je 0x2a7c5
movq %rax, %rbx
movzbl 0x1(%rax), %eax
cmpl $0x2c, %eax
jne 0x2a78f
addq $0x2, %rbx
jmp 0x2a71f
cmpl $0x5d, %eax
jne 0x2a7e1
cmpb $0x0, 0x2(%rbx)
jne 0x2a82d
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0x93f7(%rip), %rsi      # 0x33bb2
movq %rax, %rdi
callq 0x26d2a
jmp 0x2a7fb
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0x93db(%rip), %rsi      # 0x33bb2
movq %rax, %rdi
callq 0x26d2a
jmp 0x2a7fb
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0x93bf(%rip), %rsi      # 0x33bb2
movq %rax, %rdi
callq 0x26d2a
leaq 0x1637e(%rip), %rsi     # 0x40b80
leaq -0x180f1(%rip), %rdx    # 0x12718
movq %r14, %rdi
callq 0x33b0
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0x938f(%rip), %rsi      # 0x33bb2
movq %rax, %rdi
callq 0x26d2a
jmp 0x2a7fb
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0x9373(%rip), %rsi      # 0x33bb2
movq %rax, %rdi
callq 0x26d2a
jmp 0x2a7fb
jmp 0x2a85e
jmp 0x2a85e
jmp 0x2a85e
jmp 0x2a85e
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2ef7a
jmp 0x2a869
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
movq %rbx, %rdi
callq 0x33e0
nop