// File: /workspace/github_c_makefile_star2_O1/johsteffens[P]beth/xoico/src/xoico.xo.c
// Function: xoico_args_s_append
BCORE_DEFINE_OBJECT_INST_P_NASC_END( xoico_args_s )

er_t xoico_args_s_append( xoico_args_s* o, const xoico_host* host, x_source* source )
{
    // xoico_args.x:33:1
    BLM_INIT_LEVEL(0);
    bl_t first = true;
    while( !x_source_parse_bl(source," #=?')' " ) ) // args follow
    {
        if( xoico_args_s_is_variadic(o) ) BLM_RETURNV(er_t, x_source_parse_error_fa(source,"Cannot append to variadic argument list." ))
        if( !first ) BLM_TRY(xoico_parse_f(source, " , " ))
        xoico_arg_s* arg = ((xoico_arg_s*)BLM_LEVEL_T_PUSH(0,xoico_arg_s,xoico_arg_s_create()));
        BLM_TRY(xoico_arg_s_parse(arg,host, source ))
        x_array_push_d(((x_array*)(o)),((x_inst*)(((xoico_arg_s*)bcore_fork(arg)) )));
        first = false;
    }
    BLM_RETURNV(er_t, 0)
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movq %rsi, 0x10(%rsp)
movq %rdi, %r15
leaq 0x194d49(%rip), %rax    # 0x1a8dd0
movq (%rax), %rsi
leaq 0x18(%rsp), %r13
movq %r13, %rdi
callq 0xe0431
movq $0x0, 0x10(%r13)
movb $0x1, %al
movl %eax, 0x4(%rsp)
movq (%rbx), %r14
leaq 0x195c19(%rip), %rdx    # 0x1a9cc8
movl (%rdx), %eax
cltq
leaq (%rax,%rax,2), %rax
movq 0x20(%rdx,%rax,8), %rcx
movq 0x18(%rdx,%rax,8), %rdx
andq %r14, %rdx
shlq $0x4, %rdx
leaq (%rcx,%rdx), %rax
movq (%rcx,%rdx), %rdx
movl $0x8, %ecx
cmpq %r14, %rdx
je 0x14108
movq 0x10(%rax), %rdx
movl $0x18, %ecx
cmpq %r14, %rdx
je 0x14108
movq 0x20(%rax), %rdx
movl $0x28, %ecx
cmpq %r14, %rdx
je 0x14108
movq 0x30(%rax), %rdx
movl $0x38, %ecx
cmpq %r14, %rdx
jne 0x1421e
movq (%rax,%rcx), %r12
testq %r12, %r12
jne 0x14138
movabsq $-0x7e8ee9b9b4bbaa8, %rdi # imm = 0xF817116464B44558
movq %r14, %rsi
callq 0xf3f85
movq %rax, %r12
leaq 0x195b9b(%rip), %rdi    # 0x1a9cc8
movq %r14, %rsi
movq %rax, %rdx
callq 0x12128c
movq %r12, %rdi
movq %rbx, %rsi
leaq 0x124338(%rip), %rdx    # 0x13847d
callq 0x10aa16
testb %al, %al
jne 0x14226
movq 0x10(%r15), %rax
testq %rax, %rax
je 0x1416e
movq 0x8(%r15), %rcx
movq -0x8(%rcx,%rax,8), %rax
cmpb $0x1, 0x4f(%rax)
je 0x14231
testb $0x1, 0x4(%rsp)
je 0x1417a
movq %r13, %rbp
jmp 0x141ac
movq %rbx, %rdi
leaq 0x1241d9(%rip), %rsi    # 0x13835d
xorl %eax, %eax
callq 0xda10
movq %rax, %r14
testq %rax, %rax
movq %r13, %rbp
je 0x141a3
movq %rbp, %rdi
callq 0xe0b30
movq %r14, 0x8(%rsp)
testq %r14, %r14
jne 0x14251
callq 0x1315b
movq %rbp, %rdi
xorl %esi, %esi
movabsq $-0x21883bf5398e4338, %rdx # imm = 0xDE77C40AC671BCC8
movq %rax, %rcx
callq 0xe0676
movq %rax, %r12
movq %rax, %rdi
movq 0x10(%rsp), %rsi
movq %rbx, %rdx
callq 0x13390
movq %rax, %r14
testq %rax, %rax
je 0x141f0
movq %rbp, %rdi
callq 0xe0b30
movq %r14, 0x8(%rsp)
testq %r14, %r14
jne 0x14213
movq %r12, %rdi
callq 0xc8348
movq (%r15), %rsi
movq %r15, %rdi
movq %rax, %rdx
callq 0x5b3a7
movl $0x0, 0x4(%rsp)
testq %r14, %r14
je 0x140a5
jmp 0x14251
xorl %r12d, %r12d
jmp 0x1410c
movq $0x0, 0x8(%rsp)
jmp 0x14247
leaq 0x12424e(%rip), %rsi    # 0x138486
movq %rbx, %rdi
xorl %eax, %eax
callq 0xddb2
movq %rax, 0x8(%rsp)
leaq 0x18(%rsp), %rdi
callq 0xe0b30
movq 0x8(%rsp), %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq