// File: /workspace/github_c_makefile_star2_O3/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_stamp_path_s_parse
x_stamp_path_s* x_stamp_path_s_parse( x_stamp_path_s* o, x_source* source )
{
    // bcore_x_stamp.h:265:1
    BLM_INIT_LEVEL(0);
    x_stamp_path_s_clear(o);
    st_s name;BLM_T_INIT_SPUSH(st_s, &name);;
    
    while( !x_source_eos(source) )
    {
        st_s_clear(&(name));
        if( x_source_parse_bl(source," #?'['" ) )
        {
            uz_t index = 0;
            BLM_TRY_EXIT(x_source_parse_fa(source," #<uz_t*>", &index ))
            BLM_TRY_EXIT(x_source_parse_fa(source," ]" ))
            x_stamp_path_s_push_index(o,index );
        }
        else
        {
            BLM_TRY_EXIT(x_source_parse_fa(source," #name", (&(name)) ))
            if( name.size == 0 ) break;
            x_stamp_path_s_push(o,btypeof( name.sc ) );
        }
        if( !x_source_parse_bl(source," #?'.'" ) ) break;
    }
    BLM_RETURNV(x_stamp_path_s*, o)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x144e57(%rip), %rax    # 0x19bdd0
movq (%rax), %rsi
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0xd6675
movq $0x0, 0x10(%r15)
movq (%rbx), %r15
leaq 0x144e85(%rip), %rax    # 0x19be20
movl (%rax), %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x20(%rax,%rcx,8), %rdx
movq 0x18(%rax,%rcx,8), %rcx
andq %r15, %rcx
shlq $0x4, %rcx
leaq (%rdx,%rcx), %rax
movq (%rdx,%rcx), %rdx
movl $0x8, %ecx
cmpq %r15, %rdx
je 0x56ff1
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r15, %rdx
je 0x56ff1
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r15, %rdx
je 0x56ff1
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r15, %rdx
jne 0x56ffa
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x57021
movabsq $-0x5073d588c3beb52e, %rdi # imm = 0xAF8C2A773C414AD2
movq %r15, %rsi
callq 0xe9bc5
movq %rax, %r12
leaq 0x144e0a(%rip), %rdi    # 0x19be20
movq %r15, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r12, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xebeb6
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x109030
leaq 0x28(%rsp), %rdi
movabsq $-0x503db0e6e1c2e704, %rsi # imm = 0xAFC24F191E3D18FC
movq %r15, %rdx
callq 0xd68d9
leaq 0x145c6f(%rip), %rbp    # 0x19ccc8
movabsq $0x100000001b3, %r12    # imm = 0x100000001B3
movq (%r14), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x570bc
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x570bc
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x570bc
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x570c5
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x570e8
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x40(%r15), %rax
testq %rax, %rax
jne 0x57104
movq %r15, %rdi
leaq 0xe2c8e(%rip), %rsi     # 0x139d89
callq 0xeb49c
movq 0x40(%r15), %rax
movq %r14, %rdi
callq *%rax
testb %al, %al
jne 0x5735c
leaq 0x8(%rsp), %rdi
callq 0x10a41a
movq (%r14), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x57174
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x57174
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x57174
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x5717d
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x571a0
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %r14, %rsi
leaq 0xe02c1(%rip), %rdx     # 0x13746e
callq 0xffe2b
testb %al, %al
je 0x57228
movq $0x0, (%rsp)
movq %r14, %rdi
leaq 0xe02ad(%rip), %rsi     # 0x137475
movq %rsp, %rdx
xorl %eax, %eax
callq 0x574ed
testq %rax, %rax
je 0x571ec
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0xd6d2c
movl %r15d, %edi
callq 0x54258
movq %r14, %rdi
leaq 0xe0a20(%rip), %rsi     # 0x137c16
xorl %eax, %eax
callq 0x574ed
testq %rax, %rax
je 0x57217
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0xd6d2c
movl %r15d, %edi
callq 0x54258
movq (%rsp), %rsi
movq %rbx, %rdi
callq 0x56e77
jmp 0x572bd
movq %r14, %rdi
leaq 0xed061(%rip), %rsi     # 0x144293
leaq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0x574ed
testq %rax, %rax
je 0x57258
movq %rax, %r15
leaq 0x28(%rsp), %rdi
callq 0xd6d2c
movl %r15d, %edi
callq 0x54258
cmpq $0x0, 0x18(%rsp)
je 0x5735c
movq 0x10(%rsp), %rax
movabsq $-0x509c42b379fe4821, %rdx # imm = 0xAF63BD4C8601B7DF
testq %rax, %rax
je 0x572ab
movb (%rax), %cl
movabsq $-0x340d631b7bdddcdb, %rdx # imm = 0xCBF29CE484222325
testb %cl, %cl
je 0x572ab
incq %rax
movabsq $-0x340d631b7bdddcdb, %rsi # imm = 0xCBF29CE484222325
movzbl %cl, %edx
xorq %rsi, %rdx
imulq %r12, %rdx
movb (%rax), %cl
incq %rax
movq %rdx, %rsi
testb %cl, %cl
jne 0x57295
movq %rdx, (%rsp)
movq (%rbx), %rsi
movq %rbx, %rdi
movq %rsp, %rdx
callq 0x55cc2
movq (%r14), %r13
movl (%rbp), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rbp,%rax,8), %rcx
movq 0x18(%rbp,%rax,8), %rdx
andq %r13, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r13, %rdx
je 0x57316
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r13, %rdx
je 0x57316
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r13, %rdx
je 0x57316
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r13, %rdx
jne 0x5731f
movq (%rax,%rcx), %r15
testq %r15, %r15
jne 0x57342
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r13, %rsi
callq 0xe9bc5
movq %rax, %r15
movq %rbp, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x115fac
movq %r15, %rdi
movq %r14, %rsi
leaq 0xd63ba(%rip), %rdx     # 0x12d709
callq 0xffe2b
testb %al, %al
jne 0x57063
leaq 0x28(%rsp), %rdi
callq 0xd6d2c
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq