// File: /workspace/github_c_makefile_star2_O3/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 0xfdeba(%rip), %rax     # 0x19bdd0
movq (%rax), %rsi
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0xd6675
movq $0x0, 0x10(%rbx)
xorl %eax, %eax
callq 0x109c82
movabsq $-0x503db0e6e1c2e704, %rdx # imm = 0xAFC24F191E3D18FC
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rcx
callq 0xd68a8
movq %rax, %r12
leaq 0xfed72(%rip), %r13     # 0x19ccc8
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 0x9dfb0
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x9dfb0
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x9dfb0
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x9dfb9
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x9dfd5
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x40(%rbp), %rax
testq %rax, %rax
jne 0x9dff1
movq %rbp, %rdi
leaq 0x9bda1(%rip), %rsi     # 0x139d89
callq 0xeb49c
movq 0x40(%rbp), %rax
movq %r14, %rdi
callq *%rax
testb %al, %al
jne 0x9e139
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 0x9e058
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x9e058
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x9e058
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x9e061
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x9e07d
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq %rbp, %rdi
movq %r14, %rsi
callq 0xff8b6
cmpb $0x29, %al
je 0x9e139
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 0x9e0ea
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %rbx, %rdx
je 0x9e0ea
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %rbx, %rdx
je 0x9e0ea
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %rbx, %rdx
jne 0x9e0f3
movq (%rax,%rcx), %rbp
testq %rbp, %rbp
jne 0x9e10f
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe9bc5
movq %rax, %rbp
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x115fac
movq 0x10(%rbp), %rax
movb $0x0, 0xf(%rsp)
movl $0x1, %edx
movq %r14, %rdi
leaq 0xf(%rsp), %rsi
callq *%rax
movsbl 0xf(%rsp), %esi
movq %r12, %rdi
callq 0x10a448
jmp 0x9df56
movq %r12, %rdi
callq 0xbe7e4
movq %rax, %rbx
movq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x107ca9
testq %rbx, %rbx
je 0x9e160
movq (%rbx), %rdi
callq 0x1074f1
jmp 0x9e162
xorl %eax, %eax
movq %rbx, (%r14)
movq %rax, 0x8(%r14)
movq $0x2, 0x10(%r14)
leaq 0x18(%rsp), %rdi
callq 0xd6d2c
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq