// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/lib/bcore/bcore.xo.c
// Function: x_btcl_test_parser_s_btcl_external_parse
er_t x_btcl_test_parser_s_btcl_external_parse( const x_btcl_test_parser_s* o, x_source* source, x_btcl_frame_s* lexical_frame, sr_s* result )
{
    // bcore_x_btcl_test.x:60:5
    BLM_INIT_LEVEL(0);
    st_s* string = ((st_s*)BLM_LEVEL_T_PUSH(0,st_s,st_s_create()));
    while( !x_source_eos(source) && ( x_source_inspect_char(source) != ')' ) )
    {
        st_s_push_char(string,x_source_get_char(source) );
    }
    sr_s_asm(result,((st_s*)bcore_fork(string)) );
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, 0x10(%rsp)
movq %rsi, %r14
movabsq $-0x7e8ee9b9b4bbaa8, %r15 # imm = 0xF817116464B44558
leaq 0x101add(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0xe0431
movq $0x0, 0x10(%rbx)
xorl %eax, %eax
callq 0x114bbb
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
leaq 0x102995(%rip), %r13    # 0x1a9cc8
movq (%r14), %rbx
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xa7391
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xa7391
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xa7391
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xa7516
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xa73b6
movq %r15, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
cmpq $0x0, 0x40(%rbp)
jne 0xa73cc
movq %rbp, %rdi
leaq 0x9db4a(%rip), %rsi     # 0x144f11
callq 0xf592c
movq %r14, %rdi
callq *0x40(%rbp)
testb %al, %al
jne 0xa7528
movq (%r14), %rbx
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xa7438
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xa7438
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xa7438
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xa751d
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xa745d
movq %r15, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movq %rbp, %rdi
movq %r14, %rsi
callq 0x10a499
cmpb $0x29, %al
je 0xa7528
movq (%r14), %rbx
movl (%r13), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%r13,%rax,8), %rcx
movq 0x18(%r13,%rax,8), %rdx
andq %rbx, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %rbx, %rdx
je 0xa74ca
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0xa74ca
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0xa74ca
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0xa7524
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0xa74ef
movq %r15, %rdi
movq %rbx, %rsi
callq 0xf3f85
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x12128c
movb $0x0, 0xf(%rsp)
movl $0x1, %edx
movq %r14, %rdi
leaq 0xf(%rsp), %rsi
callq *0x10(%rbp)
movsbl 0xf(%rsp), %esi
movq %r12, %rdi
callq 0x115381
jmp 0xa7333
xorl %ebp, %ebp
jmp 0xa7395
xorl %ebp, %ebp
jmp 0xa743c
xorl %ebp, %ebp
jmp 0xa74ce
movq %r12, %rdi
callq 0xc8348
movq %rax, %rbx
movq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x112baf
testq %rbx, %rbx
je 0xa754f
movq (%rbx), %rdi
callq 0x1123e1
jmp 0xa7551
xorl %eax, %eax
movq %rbx, (%r14)
movq %rax, 0x8(%r14)
movq $0x2, 0x10(%r14)
leaq 0x18(%rsp), %rdi
callq 0xe0b30
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq