LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_global_word
int text_global_word(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    unsigned word,
    char *global)
{
    unsigned        radtbl[2];

    if (!text_fit(tr, *addr, size, 6))
        return 0;

    text_word_i(tr, word, size);
    rld_code(tr, RLD_GLOBAL, *addr, size);

    rad50x2(global, radtbl);
    rld_word(tr, radtbl[0]);
    rld_word(tr, radtbl[1]);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r8, %r15
movl %ecx, %ebx
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %rbp
movl (%rsi), %esi
movl $0x6, %ecx
callq 0xc615
testl %eax, %eax
je 0xc8ac
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %bl, 0x8(%rbp,%rax)
cmpl $0x2, %r12d
jl 0xc7eb
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %bh, 0x8(%rbp,%rax)
movl (%r14), %eax
subl 0x88(%rbp), %eax
cmpl $0x1, %r12d
setne %cl
shlb $0x7, %cl
addb $-0x7e, %cl
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
addb $0x4, %al
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
leaq 0x8(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe38f
movl (%rbx), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movl 0x4(%rbx), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
addl %r12d, (%r14)
movl $0x1, %eax
jmp 0xc8ae
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_displaced_word
int text_displaced_word(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    unsigned word)
{
    if (!text_fit(tr, *addr, size, 4))
        return 0;

    text_word_i(tr, word, size);
    rld_code(tr, RLD_INT_DISP, *addr, size);
    rld_word(tr, word);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movl (%rsi), %esi
movl $0x4, %ecx
callq 0xc615
testl %eax, %eax
je 0xc99d
movslq 0x8c(%r15), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%r15)
movb %bpl, 0x8(%r15,%rax)
movl %ebp, %eax
shrl $0x8, %eax
cmpl $0x2, %ebx
jl 0xc916
movslq 0x8c(%r15), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x8c(%r15)
movb %al, 0x8(%r15,%rcx)
movl (%r14), %ecx
subl 0x88(%r15), %ecx
cmpl $0x1, %ebx
setne %dl
shlb $0x7, %dl
addb $-0x7d, %dl
movslq 0x110(%r15), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x110(%r15)
movb %dl, 0x90(%r15,%rsi)
addb $0x4, %cl
movslq 0x110(%r15), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%r15)
movb %cl, 0x90(%r15,%rdx)
movslq 0x110(%r15), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%r15)
movb %bpl, 0x90(%r15,%rcx)
movslq 0x110(%r15), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%r15)
movb %al, 0x90(%r15,%rcx)
addl %ebx, (%r14)
movl $0x1, %eax
jmp 0xc99f
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_global_offset_word
int text_global_offset_word(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    unsigned word,
    char *global)
{
    unsigned        radtbl[2];

    if (word == 0)
        return text_global_word(tr, addr, size, word, global);

    if (!text_fit(tr, *addr, size, 8))
        return 0;

    text_word_i(tr, word, size);

    rld_code(tr, RLD_GLOBAL_OFFSET, *addr, size);

    rad50x2(global, radtbl);
    rld_word(tr, radtbl[0]);
    rld_word(tr, radtbl[1]);
    rld_word(tr, word);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
testl %ecx, %ecx
je 0xcc42
movl %ecx, %r15d
movl (%r14), %esi
movq %rbp, %rdi
movl %ebx, %edx
movl $0x8, %ecx
callq 0xc615
testl %eax, %eax
je 0xcc62
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %r15b, 0x8(%rbp,%rax)
movl %r15d, %edx
shrl $0x8, %edx
cmpl $0x2, %ebx
jl 0xcb48
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %dl, 0x8(%rbp,%rax)
movl (%r14), %eax
subl 0x88(%rbp), %eax
cmpl $0x1, %ebx
setne %cl
shlb $0x7, %cl
addb $-0x7b, %cl
movl %edx, 0xc(%rsp)
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
addb $0x4, %al
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
leaq 0x10(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0xe38f
movl (%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movl 0x4(%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movb %r15b, 0x90(%rbp,%rax)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movl 0xc(%rsp), %ecx
movb %cl, 0x90(%rbp,%rax)
addl %ebx, (%r14)
movl $0x1, %eax
jmp 0xcc64
movq %rbp, %rdi
movq %r14, %rsi
movl %ebx, %edx
xorl %ecx, %ecx
movq %r12, %r8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xc78f
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_global_displaced_offset_word
int text_global_displaced_offset_word(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    unsigned word,
    char *global)
{
    unsigned        radtbl[2];

    if (word == 0)
        return text_global_displaced_word(tr, addr, size, word, global);

    if (!text_fit(tr, *addr, size, 8))
        return 0;

    text_word_i(tr, word, size);
    rld_code(tr, RLD_GLOBAL_OFFSET_DISP, *addr, size);

    rad50x2(global, radtbl);
    rld_word(tr, radtbl[0]);
    rld_word(tr, radtbl[1]);
    rld_word(tr, word);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
testl %ecx, %ecx
je 0xcddf
movl %ecx, %r15d
movl (%r14), %esi
movq %rbp, %rdi
movl %ebx, %edx
movl $0x8, %ecx
callq 0xc615
testl %eax, %eax
je 0xcdff
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %r15b, 0x8(%rbp,%rax)
movl %r15d, %edx
shrl $0x8, %edx
cmpl $0x2, %ebx
jl 0xcce5
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %dl, 0x8(%rbp,%rax)
movl (%r14), %eax
subl 0x88(%rbp), %eax
cmpl $0x1, %ebx
setne %cl
shlb $0x7, %cl
addb $-0x7a, %cl
movl %edx, 0xc(%rsp)
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
addb $0x4, %al
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
leaq 0x10(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0xe38f
movl (%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movl 0x4(%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movb %r15b, 0x90(%rbp,%rax)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movl 0xc(%rsp), %ecx
movb %cl, 0x90(%rbp,%rax)
addl %ebx, (%r14)
movl $0x1, %eax
jmp 0xce01
movq %rbp, %rdi
movq %r14, %rsi
movl %ebx, %edx
xorl %ecx, %ecx
movq %r12, %r8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xc9aa
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_define_location
int text_define_location(
    TEXT_RLD *tr,
    char *name,
    unsigned *addr)
{
    unsigned        radtbl[2];

    if (!text_fit(tr, *addr, 0, 8))    /* No text space used */
        return 0;

    rld_code_naddr(tr, RLD_LOCDEF, 2); /* RLD code for "location
                                          counter def" with no offset */

    rad50x2(name, radtbl);
    rld_word(tr, radtbl[0]);           /* Set current section name */
    rld_word(tr, radtbl[1]);
    rld_word(tr, *addr);               /* Set current location addr */

    if (!text_flush(tr))               /* Flush that block out. */
        return 0;

    text_init(tr, tr->fp, *addr);      /* Set new text address */

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl (%rdx), %esi
xorl %ebp, %ebp
xorl %edx, %edx
movl $0x8, %ecx
callq 0xc615
testl %eax, %eax
je 0xcf56
movslq 0x110(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbx)
movb $0x7, 0x90(%rbx,%rax)
movslq 0x110(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbx)
movb $0x0, 0x90(%rbx,%rax)
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xe38f
movl (%r12), %eax
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %al, 0x90(%rbx,%rcx)
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %ah, 0x90(%rbx,%rcx)
movl 0x4(%r12), %eax
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %al, 0x90(%rbx,%rcx)
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %ah, 0x90(%rbx,%rcx)
movl (%r14), %eax
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %al, 0x90(%rbx,%rcx)
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %ah, 0x90(%rbx,%rcx)
movq %rbx, %rdi
callq 0xc562
testl %eax, %eax
je 0xcf56
movl (%r14), %eax
movw $0x3, 0x8(%rbx)
movb %al, 0xa(%rbx)
movb %ah, 0xb(%rbx)
movl $0x4, 0x8c(%rbx)
movw $0x4, 0x90(%rbx)
movl %eax, 0x88(%rbx)
movl $0x2, 0x110(%rbx)
movl $0x1, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_modify_location
int text_modify_location(
    TEXT_RLD *tr,
    unsigned *addr)
{
    if (!text_fit(tr, *addr, 0, 4))    /* No text space used */
        return 0;

    rld_code_naddr(tr, RLD_LOCMOD, 2); /* RLD code for "location
                                          counter mod" with no offset */
    rld_word(tr, *addr);               /* Set current location addr */

    if (!text_flush(tr))               /* Flush that block out. */
        return 0;
    text_init(tr, tr->fp, *addr);      /* Set new text address */

    return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %esi
xorl %ebp, %ebp
xorl %edx, %edx
movl $0x4, %ecx
callq 0xc615
testl %eax, %eax
je 0xd02b
movslq 0x110(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbx)
movb $0x8, 0x90(%rbx,%rax)
movslq 0x110(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbx)
movb $0x0, 0x90(%rbx,%rax)
movl (%r14), %eax
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %al, 0x90(%rbx,%rcx)
movslq 0x110(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbx)
movb %ah, 0x90(%rbx,%rcx)
movq %rbx, %rdi
callq 0xc562
testl %eax, %eax
je 0xd02b
movl (%r14), %eax
movw $0x3, 0x8(%rbx)
movb %al, 0xa(%rbx)
movb %ah, 0xb(%rbx)
movl $0x4, 0x8c(%rbx)
movw $0x4, 0x90(%rbx)
movl %eax, 0x88(%rbx)
movl $0x2, 0x110(%rbx)
movl $0x1, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_limits
int text_limits(
    TEXT_RLD *tr,
    unsigned *addr)
{
    if (!text_fit(tr, *addr, 4, 2))
        return 0;

    text_word_i(tr, 0, 2);
    text_word_i(tr, 0, 2);
    rld_code(tr, RLD_LIMITS, *addr, 2);

    *addr += 4;

    return 1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl (%rsi), %esi
movl $0x4, %edx
movl $0x2, %ecx
callq 0xc615
testl %eax, %eax
je 0xd0f7
movslq 0x8c(%r14), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%r14)
xorl %ecx, %ecx
movb %cl, 0x8(%r14,%rax)
movslq 0x8c(%r14), %rax
leal 0x1(%rax), %edx
movl %edx, 0x8c(%r14)
movb %cl, 0x8(%r14,%rax)
movslq 0x8c(%r14), %rax
leal 0x1(%rax), %edx
movl %edx, 0x8c(%r14)
movb %cl, 0x8(%r14,%rax)
movslq 0x8c(%r14), %rax
leal 0x1(%rax), %edx
movl %edx, 0x8c(%r14)
movb %cl, 0x8(%r14,%rax)
movl (%rbx), %eax
subl 0x88(%r14), %eax
movslq 0x110(%r14), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%r14)
movb $0x9, 0x90(%r14,%rcx)
addb $0x4, %al
movslq 0x110(%r14), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%r14)
movb %al, 0x90(%r14,%rcx)
addl $0x4, (%rbx)
movl $0x1, %eax
jmp 0xd0f9
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_psect_offset_word
int text_psect_offset_word(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    unsigned word,
    char *name)
{
    unsigned        radtbl[2];

#if OPTIMIZE_ZERO_OFFSET
    if (word == 0)
        return text_psect_word(tr, addr, size, word, name);
#endif

    if (!text_fit(tr, *addr, size, 8))
        return 0;

    text_word_i(tr, word, size);

    rld_code(tr, RLD_PSECT_OFFSET, *addr, size);

    rad50x2(name, radtbl);
    rld_word(tr, radtbl[0]);
    rld_word(tr, radtbl[1]);
    rld_word(tr, word);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r15
movl %ecx, %r12d
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
movl (%rsi), %esi
movl $0x8, %ecx
callq 0xc615
testl %eax, %eax
je 0xd381
movq %r15, %rdi
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %r12b, 0x8(%rbp,%rax)
movl %r12d, %r15d
shrl $0x8, %r15d
cmpl $0x2, %ebx
jl 0xd293
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %r15b, 0x8(%rbp,%rax)
movl (%r14), %eax
subl 0x88(%rbp), %eax
cmpl $0x1, %ebx
setne %cl
shlb $0x7, %cl
addb $-0x73, %cl
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
addb $0x4, %al
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movq %rsp, %r13
movq %r13, %rsi
callq 0xe38f
movl (%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movl 0x4(%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movb %r12b, 0x90(%rbp,%rax)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movb %r15b, 0x90(%rbp,%rax)
addl %ebx, (%r14)
movl $0x1, %eax
jmp 0xd383
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_psect_displaced_offset_word
int text_psect_displaced_offset_word(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    unsigned word,
    char *name)
{
    unsigned        radtbl[2];

#if OPTIMIZE_ZERO_OFFSET
    if (word == 0)
        return text_psect_displaced_word(tr, addr, size, word, name);
#endif

    if (!text_fit(tr, *addr, size, 8))
        return 0;

    text_word_i(tr, word, size);

    rld_code(tr, RLD_PSECT_OFFSET_DISP, *addr, size);

    rad50x2(name, radtbl);
    rld_word(tr, radtbl[0]);
    rld_word(tr, radtbl[1]);
    rld_word(tr, word);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r15
movl %ecx, %r12d
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
movl (%rsi), %esi
movl $0x8, %ecx
callq 0xc615
testl %eax, %eax
je 0xd612
movq %r15, %rdi
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %r12b, 0x8(%rbp,%rax)
movl %r12d, %r15d
shrl $0x8, %r15d
cmpl $0x2, %ebx
jl 0xd524
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %r15b, 0x8(%rbp,%rax)
movl (%r14), %eax
subl 0x88(%rbp), %eax
cmpl $0x1, %ebx
setne %cl
shlb $0x7, %cl
addb $-0x72, %cl
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
addb $0x4, %al
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movq %rsp, %r13
movq %r13, %rsi
callq 0xe38f
movl (%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movl 0x4(%r13), %eax
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %ah, 0x90(%rbp,%rcx)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movb %r12b, 0x90(%rbp,%rax)
movslq 0x110(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x110(%rbp)
movb %r15b, 0x90(%rbp,%rax)
addl %ebx, (%r14)
movl $0x1, %eax
jmp 0xd614
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_complex_lit
int text_complex_lit(
    TEXT_COMPLEX *tx,
    unsigned word)
{
    char           *cp = text_complex_fit(tx, 3);

    if (!cp)
        return 0;
    *cp++ = CPLX_CONST;
    *cp++ = word & 0xff;
    *cp = (word >> 8) & 0xff;
    return 1;
}

// Assembly:
movslq 0x80(%rdi), %rdx
xorl %eax, %eax
cmpq $0x7b, %rdx
jg 0xd78b
movl %esi, %ecx
leal 0x3(%rdx), %eax
movl %eax, 0x80(%rdi)
movb $0x10, (%rdi,%rdx)
movb %cl, 0x1(%rdi,%rdx)
movb %ch, 0x2(%rdi,%rdx)
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_complex_global
int text_complex_global(
    TEXT_COMPLEX *tx,
    char *name)
{
    unsigned        radtbl[2];
    char           *cp = text_complex_fit(tx, 5);

    if (!cp)
        return 0;

    rad50x2(name, radtbl);
    *cp++ = CPLX_GLOBAL;
    *cp++ = radtbl[0] & 0xff;
    *cp++ = (radtbl[0] >> 8) & 0xff;
    *cp++ = radtbl[1] & 0xff;
    *cp = (radtbl[1] >> 8) & 0xff;
    return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movslq 0x80(%rdi), %r15
xorl %eax, %eax
cmpq $0x79, %r15
jg 0xd7e0
movq %rdi, %rbx
leal 0x5(%r15), %eax
movl %eax, 0x80(%rdi)
leaq 0x8(%rsp), %r14
movq %rsi, %rdi
movq %r14, %rsi
callq 0xe38f
movb $0xe, (%rbx,%r15)
movzwl (%r14), %eax
movw %ax, 0x1(%rbx,%r15)
movzwl 0x4(%r14), %eax
movw %ax, 0x3(%rbx,%r15)
movl $0x1, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_complex_commit
int text_complex_commit(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    TEXT_COMPLEX *tx,
    unsigned word)
{
    int             i;

    text_complex_byte(tx, CPLX_STORE);

    if (!text_fit(tr, *addr, size, tx->len + 2))
        return 0;

    rld_code(tr, RLD_COMPLEX, *addr, size);

    for (i = 0; i < tx->len; i++)
        rld_byte(tr, tx->accum[i]);

    text_word_i(tr, word, size);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %r12d
movq %rcx, %r15
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
movslq 0x80(%rcx), %rcx
cmpq $0x7d, %rcx
jg 0xd852
leal 0x1(%rcx), %eax
movl %eax, 0x80(%r15)
movb $0xa, (%r15,%rcx)
movl 0x80(%r15), %ecx
movl (%r14), %esi
addl $0x2, %ecx
movq %rbp, %rdi
movl %ebx, %edx
callq 0xc615
testl %eax, %eax
je 0xd91f
movl (%r14), %eax
subl 0x88(%rbp), %eax
cmpl $0x1, %ebx
setne %cl
shlb $0x7, %cl
addb $-0x71, %cl
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
addb $0x4, %al
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
cmpl $0x0, 0x80(%r15)
jle 0xd8e5
xorl %eax, %eax
movb (%r15,%rax), %cl
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
incq %rax
movslq 0x80(%r15), %rcx
cmpq %rcx, %rax
jl 0xd8bb
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movl %r12d, %edx
movb %dl, 0x8(%rbp,%rax)
cmpl $0x2, %ebx
jl 0xd915
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %dh, 0x8(%rbp,%rax)
addl %ebx, (%r14)
movl $0x1, %eax
jmp 0xd921
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/object.c
// Function: text_complex_commit_displaced
int text_complex_commit_displaced(
    TEXT_RLD *tr,
    unsigned *addr,
    int size,
    TEXT_COMPLEX *tx,
    unsigned word)
{
    int             i;

    text_complex_byte(tx, CPLX_STORE_DISP);

    if (!text_fit(tr, *addr, size, tx->len + 2))
        return 0;

    rld_code(tr, RLD_COMPLEX, *addr, size);

    for (i = 0; i < tx->len; i++)
        rld_byte(tr, tx->accum[i]);

    text_word_i(tr, word, size);

    *addr += size;

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %r12d
movq %rcx, %r15
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
movslq 0x80(%rcx), %rcx
cmpq $0x7d, %rcx
jg 0xd963
leal 0x1(%rcx), %eax
movl %eax, 0x80(%r15)
movb $0xb, (%r15,%rcx)
movl 0x80(%r15), %ecx
movl (%r14), %esi
addl $0x2, %ecx
movq %rbp, %rdi
movl %ebx, %edx
callq 0xc615
testl %eax, %eax
je 0xda30
movl (%r14), %eax
subl 0x88(%rbp), %eax
cmpl $0x1, %ebx
setne %cl
shlb $0x7, %cl
addb $-0x71, %cl
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
addb $0x4, %al
movslq 0x110(%rbp), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x110(%rbp)
movb %al, 0x90(%rbp,%rcx)
cmpl $0x0, 0x80(%r15)
jle 0xd9f6
xorl %eax, %eax
movb (%r15,%rax), %cl
movslq 0x110(%rbp), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x110(%rbp)
movb %cl, 0x90(%rbp,%rdx)
incq %rax
movslq 0x80(%r15), %rcx
cmpq %rcx, %rax
jl 0xd9cc
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movl %r12d, %edx
movb %dl, 0x8(%rbp,%rax)
cmpl $0x2, %ebx
jl 0xda26
movslq 0x8c(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8c(%rbp)
movb %dh, 0x8(%rbp,%rax)
addl %ebx, (%r14)
movl $0x1, %eax
jmp 0xda32
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: new_buffer
BUFFER         *new_buffer(
    void)
{
    BUFFER         *buf = memcheck(malloc(sizeof(BUFFER)));

    buf->length = 0;
    buf->size = 0;
    buf->use = 1;
    buf->buffer = NULL;
    return buf;
}

// Assembly:
pushq %rax
movl $0x18, %edi
callq 0x2230
movq %rax, %rdi
callq 0xe094
movl $0x1, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: buffer_resize
void buffer_resize(
    BUFFER *buff,
    int size)
{
    buff->size = size;
    buff->length = size;

    if (size == 0) {
        free(buff->buffer);
        buff->buffer = NULL;
    } else {
        if (buff->buffer == NULL)
            buff->buffer = memcheck(malloc(buff->size));
        else
            buff->buffer = memcheck(realloc(buff->buffer, buff->size));
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl %esi, 0x8(%rdi)
movl %esi, 0xc(%rdi)
movq (%rdi), %rdi
testl %esi, %esi
je 0xda96
movslq %esi, %rsi
testq %rdi, %rdi
je 0xda9f
callq 0x2260
jmp 0xdaa7
callq 0x2050
xorl %eax, %eax
jmp 0xdaaf
movq %rsi, %rdi
callq 0x2230
movq %rax, %rdi
callq 0xe094
movq %rax, (%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: buffer_free
void buffer_free(
    BUFFER *buf)
{
    if (buf) {
        if (--(buf->use) == 0) {
            free(buf->buffer);
            free(buf);
        }
    }
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0xdace
movq %rdi, %rbx
decl 0x10(%rdi)
je 0xdad0
popq %rbx
retq
movq (%rbx), %rdi
callq 0x2050
movq %rbx, %rdi
popq %rbx
jmp 0x2050
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: buffer_appendn
void buffer_appendn(
    BUFFER *buf,
    char *str,
    int len)
{
    int             needed = buf->length + len + 1;

    if (needed >= buf->size) {
        buf->size = needed + GROWBUF_INCR;

        if (buf->buffer == NULL)
            buf->buffer = memcheck(malloc(buf->size));
        else
            buf->buffer = memcheck(realloc(buf->buffer, buf->size));
    }

    memcpy(buf->buffer + buf->length, str, len);
    buf->length += len;
    buf->buffer[buf->length] = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
movslq 0xc(%rdi), %rsi
movslq %edx, %r14
addq %r14, %rsi
leal 0x1(%rsi), %ecx
movq (%rdi), %rax
cmpl 0x8(%rdi), %ecx
jl 0xdb2d
addq $0x401, %rsi            # imm = 0x401
movl %esi, 0x8(%rbx)
testq %rax, %rax
je 0xdb1a
movq %rax, %rdi
callq 0x2260
jmp 0xdb22
movq %rsi, %rdi
callq 0x2230
movq %rax, %rdi
callq 0xe094
movq %rax, (%rbx)
movslq 0xc(%rbx), %rdi
addq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2220
movslq 0xc(%rbx), %rax
addq %r14, %rax
movl %eax, 0xc(%rbx)
movq (%rbx), %rcx
movb $0x0, (%rcx,%rax)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: stream_construct
void stream_construct(
    STREAM *str,
    char *name)
{
    str->line = 0;
    str->name = memcheck(strdup(name));
    str->next = NULL;
    str->vtbl = NULL;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x0, 0x10(%rdi)
movq %rsi, %rdi
callq 0x22e0
movq %rax, %rdi
callq 0xe094
movq %rax, 0x8(%rbx)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
movq %rax, (%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: buffer_stream_gets
char           *buffer_stream_gets(
    STREAM *str)
{
    char           *nl;
    char           *cp;
    BUFFER_STREAM  *bstr = (BUFFER_STREAM *) str;
    BUFFER         *buf = bstr->buffer;

    if (buf == NULL)
        return NULL;                   /* No buffer */

    if (bstr->offset >= buf->length)
        return NULL;

    cp = buf->buffer + bstr->offset;

    /* Find the next line in preparation for the next call */

    nl = memchr(cp, '\n', buf->length - bstr->offset);

    if (nl)
        nl++;

    bstr->offset = (int) (nl - buf->buffer);
    str->line++;

    return cp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x20(%rdi), %rax
testq %rax, %rax
je 0xdc29
movq %rdi, %rbx
movslq 0x28(%rdi), %rcx
movl 0xc(%rax), %edx
xorl %r14d, %r14d
cmpl %ecx, %edx
jle 0xdc2c
movq (%rax), %r12
movq %rcx, %r15
addq %r12, %r15
subl %ecx, %edx
movslq %edx, %rdx
movq %r15, %rdi
movl $0xa, %esi
callq 0x21a0
leal 0x1(%rax), %ecx
testq %rax, %rax
cmovel %r14d, %ecx
subl %r12d, %ecx
movl %ecx, 0x28(%rbx)
incl 0x10(%rbx)
movq %r15, %r14
jmp 0xdc2c
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: buffer_stream_construct
void buffer_stream_construct(
    BUFFER_STREAM * bstr,
    BUFFER *buf,
    char *name)
{
    bstr->stream.vtbl = &buffer_stream_vtbl;

    bstr->stream.name = memcheck(strdup(name));

    bstr->buffer = buffer_clone(buf);
    bstr->offset = 0;
    bstr->stream.line = 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x7e7c(%rip), %rax      # 0x15af0
movq %rax, (%rdi)
movq %rdx, %rdi
callq 0x22e0
movq %rax, %rdi
callq 0xe094
movq %rax, 0x8(%rbx)
testq %r14, %r14
je 0xdc94
incl 0x10(%r14)
movq %r14, 0x20(%rbx)
xorl %eax, %eax
movl %eax, 0x28(%rbx)
movl %eax, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: buffer_stream_set_buffer
void buffer_stream_set_buffer(
    BUFFER_STREAM * bstr,
    BUFFER *buf)
{
    if (bstr->buffer)
        buffer_free(bstr->buffer);
    bstr->buffer = buffer_clone(buf);
    bstr->offset = 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
je 0xdcc0
callq 0xdac0
testq %r14, %r14
je 0xdcc9
incl 0x10(%r14)
movq %r14, 0x20(%rbx)
movl $0x0, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: new_file_stream
STREAM         *new_file_stream(
    char *filename)
{
    FILE           *fp;
    FILE_STREAM    *str;

    fp = fopen(filename, "r");
    if (fp == NULL)
        return NULL;

    str = memcheck(malloc(sizeof(FILE_STREAM)));

    str->stream.vtbl = &file_stream_vtbl;
    str->stream.name = memcheck(strdup(filename));
    str->buffer = memcheck(malloc(STREAM_BUFFER_SIZE));
    str->fp = fp;
    str->stream.line = 0;

    return &str->stream;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
leaq 0x2ece(%rip), %rsi      # 0x10c2e
callq 0x2270
testq %rax, %rax
je 0xddc4
movq %rax, %rbx
movl $0x30, %edi
callq 0x2230
movq %rax, %rdi
callq 0xe094
movq %rax, %r14
leaq 0x7d7f(%rip), %rax      # 0x15b08
movq %rax, (%r14)
movq %r15, %rdi
callq 0x22e0
movq %rax, %rdi
callq 0xe094
movq %rax, 0x8(%r14)
movl $0x400, %edi            # imm = 0x400
callq 0x2230
movq %rax, %rdi
callq 0xe094
movq %rax, 0x28(%r14)
movq %rbx, 0x20(%r14)
movl $0x0, 0x10(%r14)
jmp 0xddc7
xorl %r14d, %r14d
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: stack_gets
char           *stack_gets(
    STACK *stack)
{
    char           *line;

    if (stack->top == NULL)
        return NULL;

    while ((line = stack->top->vtbl->gets(stack->top)) == NULL) {
        stack_pop(stack);
        if (stack->top == NULL)
            return NULL;
    }

    return line;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq (%rdi), %r14
testq %r14, %r14
je 0xde32
movq %rdi, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
testq %rax, %rax
jne 0xde34
movq (%rbx), %rdi
movq (%rdi), %rax
movq 0x18(%rdi), %r14
callq *(%rax)
movq %r14, (%rbx)
testq %r14, %r14
jne 0xde10
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/stream2.c
// Function: file_gets
static char    *file_gets(
    STREAM *str)
{
    int             i,
                    c;
    FILE_STREAM    *fstr = (FILE_STREAM *) str;

    if (fstr->fp == NULL)
        return NULL;

    if (feof(fstr->fp))
        return NULL;

    /* Read single characters, end of line when '\n' or '\f' hit */

    i = 0;
    while (c = fgetc(fstr->fp), c != '\n' && c != '\f' && c != EOF) {
        if (c == 0)
            continue;                  /* Don't buffer zeros */
        if (c == '\r')
            continue;                  /* Don't buffer carriage returns either */
        if (i < STREAM_BUFFER_SIZE - 2)
            fstr->buffer[i++] = c;
    }

    fstr->buffer[i++] = '\n';          /* Silently transform formfeeds
                                          into newlines */
    fstr->buffer[i] = 0;

    if (c == '\n')
        fstr->stream.line++;           /* Count a line */

    return fstr->buffer;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
je 0xde9a
callq 0x21f0
xorl %r14d, %r14d
testl %eax, %eax
jne 0xdebf
movl $0x4002, %ebp           # imm = 0x4002
movl $0x2801, %r15d          # imm = 0x2801
movq 0x20(%rbx), %rdi
callq 0x2160
leal 0x1(%rax), %ecx
cmpl $0xe, %ecx
ja 0xde82
btl %ecx, %ebp
jb 0xde66
btl %ecx, %r15d
jb 0xde9f
cmpl $0x3fd, %r14d           # imm = 0x3FD
ja 0xde66
movq 0x28(%rbx), %rcx
movl %r14d, %edx
incl %r14d
movb %al, (%rcx,%rdx)
jmp 0xde66
xorl %r14d, %r14d
jmp 0xdebf
movq 0x28(%rbx), %rcx
movl %r14d, %edx
movb $0xa, (%rcx,%rdx)
movq 0x28(%rbx), %rcx
movb $0x0, 0x1(%rcx,%rdx)
cmpl $0xa, %eax
jne 0xdebb
incl 0x10(%rbx)
movq 0x28(%rbx), %r14
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/util.c
// Function: my_ultoa
char           *my_ultoa(
    unsigned long val,
    char *buf,
    unsigned int base)
{
    static char     digits[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    char           *strt = buf,
            *end;

    do {
        *buf++ = digits[val % base];
        val /= base;
    } while (val != 0);

    *buf = 0;                          /* delimit */
    end = buf + 1;

    /* Now reverse the bytes */

    while (buf > strt) {
        char            temp;

        temp = *--buf;
        *buf = *strt;
        *strt++ = temp;
    }

    return end;
}

// Assembly:
movl %edx, %r8d
leaq 0x2d56(%rip), %r9       # 0x10c30
movq %rsi, %rcx
movq %rdi, %rax
xorl %edx, %edx
divq %r8
movb (%rdx,%r9), %dl
movb %dl, (%rcx)
incq %rcx
cmpq %r8, %rdi
movq %rax, %rdi
jae 0xdedd
movb $0x0, (%rcx)
cmpq %rsi, %rcx
jbe 0xdf21
incq %rsi
movq %rcx, %rax
movb -0x1(%rax), %dl
movb -0x1(%rsi), %dil
movb %dil, -0x1(%rax)
decq %rax
movb %dl, -0x1(%rsi)
leaq 0x1(%rsi), %rdx
cmpq %rsi, %rax
movq %rdx, %rsi
ja 0xdf04
incq %rcx
movq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/util.c
// Function: my_ltoa
char           *my_ltoa(
    long val,
    char *buf,
    unsigned int base)
{
    unsigned long   uval;

    if (val < 0)
        uval = -val, *buf++ = '-';
    else
        uval = val;

    return my_ultoa(uval, buf, base);
}

// Assembly:
testq %rdi, %rdi
jns 0xdf36
negq %rdi
movb $0x2d, (%rsi)
incq %rsi
movl %edx, %r8d
leaq 0x2cf0(%rip), %r9       # 0x10c30
movq %rsi, %rcx
movq %rdi, %rax
xorl %edx, %edx
divq %r8
movb (%rdx,%r9), %dl
movb %dl, (%rcx)
incq %rcx
cmpq %r8, %rdi
movq %rax, %rdi
jae 0xdf43
movb $0x0, (%rcx)
cmpq %rsi, %rcx
jbe 0xdf87
incq %rsi
movq %rcx, %rax
movb -0x1(%rax), %dl
movb -0x1(%rsi), %dil
movb %dil, -0x1(%rax)
decq %rax
movb %dl, -0x1(%rsi)
leaq 0x1(%rsi), %rdx
cmpq %rsi, %rax
movq %rdx, %rsi
ja 0xdf6a
incq %rcx
movq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/util.c
// Function: my_searchenv
void my_searchenv(
    char *name,
    char *envname,
    char *hitfile,
    int hitlen)
{
    my_searchenv1(name, envname, hitfile, hitlen);
    if (*hitfile) {
        return;
    }

    char *copy = memcheck(strdup(name));
    downcase(copy);
    my_searchenv1(copy, envname, hitfile, hitlen);
    free(copy);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0xe014
cmpb $0x0, (%r14)
je 0xdfb5
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x22e0
movq %rax, %r12
movq %rax, %rdi
callq 0xe094
movb (%r12), %bpl
testb %bpl, %bpl
je 0xdff4
callq 0x22f0
movq %r12, %rcx
incq %rcx
movq (%rax), %rdx
movzbl %bpl, %esi
movb (%rdx,%rsi,4), %dl
movb %dl, -0x1(%rcx)
movb (%rcx), %bpl
incq %rcx
testb %bpl, %bpl
jne 0xdfdc
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %ecx
callq 0xe014
movq %r12, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2050
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/util.c
// Function: my_searchenv1
static void my_searchenv1(
    char *name,
    char *envname,
    char *hitfile,
    int hitlen)
{
    my_searchenv2(name, envname, hitfile, hitlen);
    if (*hitfile) {
        return;
    }

    /*
     * Parse DEV:[DIR]NAME
     * while re-trying the search after DEV: and after [DIR].
     *
     * Let's not be too critical about the characters we allow in those.
     */
    char *p = name;
    char c;

    while ((c = *p++)) {
        if (c == ':') {
            my_searchenv2(p, envname, hitfile, hitlen);
            if (*hitfile) {
                return;
            }
        }
        if (c == '[') {
            char *enddir = strchr(p, ']');
            if (enddir == NULL) {
                return; /* weird syntax */
            }
            p = enddir + 1;
            my_searchenv2(p, envname, hitfile, hitlen);
            return;
        }
    }

    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0xe14f
cmpb $0x0, (%r14)
jne 0xe088
incq %r12
movzbl -0x1(%r12), %eax
cmpl $0x3a, %eax
je 0xe04b
testl %eax, %eax
je 0xe088
cmpl $0x5b, %eax
jne 0xe032
jmp 0xe058
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %ecx
jmp 0xe027
movq %r12, %rdi
movl $0x5d, %esi
callq 0x20f0
testq %rax, %rax
je 0xe088
incq %rax
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebx, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xe14f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/rad50.c
// Function: rad50
unsigned rad50(
    char *cp,
    char **endp)
{
    unsigned long   acc = 0;
    char           *rp;

    if (endp)
        *endp = cp;

    if (!*cp)                          /* Got to check for end-of-string manually, because strchr will call it a hit.  :-/ */
        return acc;

    rp = strchr(radtbl, toupper((unsigned char)*cp));
    if (rp == NULL)                    /* Not a RAD50 character */
        return acc;
    acc = ((int) (rp - radtbl)) * 03100;        /* Convert */
    cp++;

    /* Now, do the same thing two more times... */

    if (endp)
        *endp = cp;
    if (!*cp)
        return acc;
    rp = strchr(radtbl, toupper((unsigned char)*cp));
    if (rp == NULL)
        return acc;
    acc += ((int) (rp - radtbl)) * 050;

    cp++;
    if (endp)
        *endp = cp;
    if (!*cp)
        return acc;
    rp = strchr(radtbl, toupper((unsigned char)*cp));
    if (rp == NULL)
        return acc;
    acc += (int) (rp - radtbl);

    cp++;
    if (endp)
        *endp = cp;

    return acc;                        /* Done. */
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
je 0xe2b7
movq %r14, (%rbx)
movzbl (%r14), %r13d
xorl %r15d, %r15d
testq %r13, %r13
je 0xe382
callq 0x2030
movq %rax, %r12
movq (%rax), %rax
movl (%rax,%r13,4), %esi
leaq 0x7843(%rip), %rdi      # 0x15b20
callq 0x20f0
testq %rax, %rax
je 0xe382
leaq 0x782e(%rip), %rcx      # 0x15b20
subl %ecx, %eax
leaq 0x1(%r14), %rcx
testq %rbx, %rbx
je 0xe300
movq %rcx, (%rbx)
imull $0x640, %eax, %r15d     # imm = 0x640
movzbl (%rcx), %eax
testq %rax, %rax
je 0xe382
movq (%r12), %rcx
movl (%rcx,%rax,4), %esi
leaq 0x7803(%rip), %rdi      # 0x15b20
callq 0x20f0
testq %rax, %rax
je 0xe382
leaq 0x77f2(%rip), %rcx      # 0x15b20
subl %ecx, %eax
shll $0x3, %eax
leal (%rax,%rax,4), %r13d
leaq 0x2(%r14), %rax
testq %rbx, %rbx
je 0xe343
movq %rax, (%rbx)
addq %r15, %r13
movzbl (%rax), %eax
testq %rax, %rax
je 0xe37f
movq (%r12), %rcx
movl (%rcx,%rax,4), %esi
leaq 0x77c4(%rip), %rdi      # 0x15b20
callq 0x20f0
testq %rax, %rax
je 0xe37f
testq %rbx, %rbx
je 0xe372
addq $0x3, %r14
movq %r14, (%rbx)
leaq 0x77a7(%rip), %rcx      # 0x15b20
subl %ecx, %r13d
addl %eax, %r13d
movl %r13d, %r15d
movl %r15d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/rad50.c
// Function: rad50x2
void rad50x2(
    char *cp,
    unsigned *rp)
{
    *rp++ = rad50(cp, &cp);
    *rp = 0;
    if (*cp)
        *rp = rad50(cp, &cp);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rsp, %r14
movq %rdi, (%r14)
movq %r14, %rsi
callq 0xe2a0
movl %eax, (%rbx)
movl $0x0, 0x4(%rbx)
movq (%r14), %rdi
cmpb $0x0, (%rdi)
je 0xe3c0
movq %rsp, %rsi
callq 0xe2a0
movl %eax, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/rad50.c
// Function: unrad50
void unrad50(
    unsigned word,
    char *cp)
{
    if (word < 0175000) {              /* Is it legal RAD50? */
        cp[0] = radtbl[word / 03100];
        cp[1] = radtbl[(word / 050) % 050];
        cp[2] = radtbl[word % 050];
    } else
        cp[0] = cp[1] = cp[2] = ' ';
}

// Assembly:
cmpl $0xf9ff, %edi           # imm = 0xF9FF
ja 0xe42a
movl $0xffff, %eax           # imm = 0xFFFF
movl %edi, %ecx
andl %eax, %ecx
imull $0xcccd, %ecx, %edx     # imm = 0xCCCD
shrl $0x6, %ecx
imull $0xa3e, %ecx, %ecx      # imm = 0xA3E
shrl $0x10, %ecx
leaq 0x772e(%rip), %r8       # 0x15b20
movb (%rcx,%r8), %cl
movb %cl, (%rsi)
shrl $0x15, %edx
imull $0x667, %edx, %ecx      # imm = 0x667
shrl $0xd, %ecx
andl $-0x8, %ecx
leal (%rcx,%rcx,4), %ecx
movl %edx, %r9d
subl %ecx, %r9d
andl %eax, %r9d
movb (%r9,%r8), %cl
movb %cl, 0x1(%rsi)
shll $0x3, %edx
leal (%rdx,%rdx,4), %ecx
subl %ecx, %edi
andl %eax, %edi
movb (%rdi,%r8), %al
jmp 0xe431
movw $0x2020, (%rsi)         # imm = 0x2020
movb $0x20, %al
movb %al, 0x2(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/rad50.c
// Function: ascii2rad50
int ascii2rad50(
    char c)
{
    char           *rp;

    if (c == '\0')                     /* Not a RAD50 character */
        return -1;
    rp = strchr(radtbl, toupper((unsigned char)c));
    if (rp == NULL)                    /* Not a RAD50 character */
        return -1;
    return (int) (rp - radtbl);        /* Convert */
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebp
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testb %bpl, %bpl
je 0xe46f
callq 0x2030
movq (%rax), %rax
movzbl %bpl, %ecx
movl (%rax,%rcx,4), %esi
leaq 0x76c6(%rip), %rdi      # 0x15b20
callq 0x20f0
testq %rax, %rax
je 0xe46f
leaq 0x76b5(%rip), %rcx      # 0x15b20
subl %ecx, %eax
movl %eax, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/simh[P]simtools/crossassemblers/macro11/rad50.c
// Function: packrad50word
unsigned packrad50word(
    char *cp,
    int len)
{
    unsigned long   acc = 0;

    if (len >= 1) {
        acc += (cp[0] % 050) * 050 * 050;
    }
    if (len >= 2) {
        acc += (cp[1] % 050) * 050;
    }
    if (len >= 3) {
        acc += cp[2] % 050;
    }

    return acc;
}

// Assembly:
testl %esi, %esi
jle 0xe4fa
movsbl (%rdi), %eax
imull $0x67, %eax, %ecx
movzwl %cx, %edx
shrl $0xc, %ecx
shrl $0xf, %edx
addb %cl, %dl
movzbl %dl, %ecx
shll $0x3, %ecx
leal (%rcx,%rcx,4), %ecx
subb %cl, %al
movsbl %al, %eax
imull $0x640, %eax, %eax      # imm = 0x640
cmpl $0x1, %esi
je 0xe4f9
movsbl 0x1(%rdi), %ecx
imull $0x67, %ecx, %edx
movzwl %dx, %r8d
shrl $0xc, %edx
shrl $0xf, %r8d
addb %dl, %r8b
movzbl %r8b, %edx
shll $0x3, %edx
leal (%rdx,%rdx,4), %edx
subb %dl, %cl
movsbl %cl, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,8), %eax
cmpl $0x3, %esi
jb 0xe4f9
movsbl 0x2(%rdi), %ecx
imull $0x67, %ecx, %edx
movzwl %dx, %esi
shrl $0xc, %edx
shrl $0xf, %esi
addb %dl, %sil
movzbl %sil, %edx
shll $0x3, %edx
leal (%rdx,%rdx,4), %edx
subb %dl, %cl
movsbl %cl, %ecx
addl %ecx, %eax
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/jfriesse[P]omping/addrfunc.c
// Function: af_sockaddr_eq
int
af_sockaddr_eq(const struct sockaddr *sa1, const struct sockaddr *sa2)
{
	int res;

	res = 0;

	if (sa1->sa_family == sa2->sa_family) {
		switch (sa1->sa_family) {
		case AF_INET:
			res = (((struct sockaddr_in *)sa1)->sin_addr.s_addr ==
			    ((struct sockaddr_in *)sa2)->sin_addr.s_addr);
			break;
		case AF_INET6:
			res = IN6_ARE_ADDR_EQUAL(
			    &((struct sockaddr_in6 *)sa1)->sin6_addr,
			    &((struct sockaddr_in6 *)sa2)->sin6_addr);
			break;
		default:
			err(1, "Unknown sockaddr family");
			break;
		}
	}

	return (res);
}

// Assembly:
movzwl (%rdi), %edx
xorl %eax, %eax
cmpw (%rsi), %dx
jne 0x24b5
movl $0x4, %ecx
cmpl $0x2, %edx
je 0x24aa
cmpl $0xa, %edx
jne 0x24b6
movl 0x8(%rdi), %ecx
cmpl 0x8(%rsi), %ecx
jne 0x24b5
movl 0xc(%rdi), %ecx
cmpl 0xc(%rsi), %ecx
jne 0x24b5
movl 0x10(%rdi), %edx
movl $0x14, %ecx
cmpl 0x10(%rsi), %edx
jne 0x24b5
movl (%rdi,%rcx), %edx
xorl %eax, %eax
cmpl (%rsi,%rcx), %edx
sete %al
retq
pushq %rax
leaq 0x7c1f(%rip), %rsi      # 0xa0dd
movl $0x1, %edi
xorl %eax, %eax
callq 0x2240
// File: /workspace/github_c_makefile_star2_O3/jfriesse[P]omping/addrfunc.c
// Function: af_ai_deep_eq
int
af_ai_deep_eq(const struct addrinfo *a1, const struct addrinfo *a2)
{
	const struct addrinfo *a1_i, *a2_i;

	for (a1_i = a1; a1_i != NULL; a1_i = a1_i->ai_next) {
		for (a2_i = a2; a2_i != NULL; a2_i = a2_i->ai_next) {
			if (af_ai_eq(a1_i, a2_i)) {
				return (1);
			}
		}
	}

	return (0);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
xorl %ebx, %ebx
testq %rdi, %rdi
je 0x2510
movq %rsi, %r14
movq %rdi, %r15
testq %r14, %r14
je 0x2500
movq %r14, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x244c
testl %eax, %eax
jne 0x250b
movq 0x28(%r12), %r12
testq %r12, %r12
jne 0x24e7
movq 0x28(%r15), %r15
testq %r15, %r15
jne 0x24df
jmp 0x2510
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/jfriesse[P]omping/addrfunc.c
// Function: af_ai_is_loopback
int
af_ai_is_loopback(const struct addrinfo *ai)
{
	int res;

	switch (ai->ai_family) {
	case PF_INET:
		res = ntohl(((struct sockaddr_in *)(ai->ai_addr))->sin_addr.s_addr) >> 24 == 0x7f;
		break;
	case PF_INET6:
		res = IN6_IS_ADDR_LOOPBACK(&((struct sockaddr_in6 *)(ai->ai_addr))->sin6_addr);
		break;
	default:
		DEBUG_PRINTF("Unknown ai family %d", ai->ai_family);
		errx(1, "Unknown ai family %d", ai->ai_family);
	}

	return (res);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x4(%rdi), %r8d
cmpl $0xa, %r8d
je 0x2576
cmpl $0x2, %r8d
jne 0x25a2
movq 0x18(%rbx), %rax
cmpb $0x7f, 0x4(%rax)
sete %al
jmp 0x258e
movq 0x18(%rbx), %rax
cmpl $0x0, 0x8(%rax)
jne 0x258c
cmpl $0x0, 0xc(%rax)
jne 0x258c
cmpl $0x0, 0x10(%rax)
je 0x2599
xorl %eax, %eax
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
cmpl $0x1000000, 0x14(%rax)  # imm = 0x1000000
jmp 0x2571
leaq 0x7a77(%rip), %rdi      # 0xa020
leaq 0x7aaa(%rip), %r14      # 0xa05a
movl $0xbc, %esi
movl $0x2, %edx
movq %r14, %rcx
xorl %eax, %eax
callq 0x4ad6
movl 0x4(%rbx), %edx
movl $0x1, %edi
movq %r14, %rsi
xorl %eax, %eax
callq 0x20f0
// File: /workspace/github_c_makefile_star2_O3/jfriesse[P]omping/addrfunc.c
// Function: af_is_sa_mcast
int
af_is_sa_mcast(const struct sockaddr *addr)
{

	switch (addr->sa_family) {
	case AF_INET:
		return IN_MULTICAST(ntohl(((struct sockaddr_in *)addr)->sin_addr.s_addr));
		break;
	case AF_INET6:
		return IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6 *)addr)->sin6_addr);
		break;
	default:
		DEBUG_PRINTF("Unknown sockaddr family");
                errx(1, "Unknown sockaddr family");
		break;
	}

	return (0);
}

// Assembly:
movzwl (%rdi), %eax
cmpl $0xa, %eax
je 0x2627
cmpl $0x2, %eax
jne 0x2632
movl $0xf0, %eax
andl 0x4(%rdi), %eax
cmpl $0xe0, %eax
jmp 0x262b
cmpb $-0x1, 0x8(%rdi)
sete %al
movzbl %al, %eax
retq
pushq %rbx
leaq 0x79e6(%rip), %rdi      # 0xa020
leaq 0x7a9c(%rip), %rbx      # 0xa0dd
movl $0x171, %esi            # imm = 0x171
movl $0x2, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x4ad6
movl $0x1, %edi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x20f0