// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/intrpt.c
// Function: printDataString
void printDataString(view *theView, void *destString, void *dummy)
{
    ccInt counter, numChars;
    
    if (theView->windowPtr->variable_ptr->type == bool_type)  {
    for (counter = 1; counter <= theView->width; counter++)  {
        char *destChar = *(char **) destString;
        loadBoolRegister(theView->windowPtr->variable_ptr, theView->offset+counter-1);
        if (boolRegister)  {
            destChar[0] = 't'; destChar[1] = 'r'; destChar[2] = 'u'; destChar[3] = 'e';
            (*(char **) destString) += 4;
            for (numChars = 4; numChars < fieldWidth; numChars++)  {  destChar[numChars] = ' ';  (*(char **) destString)++;  }    }
        else  {
            destChar[0] = 'f'; destChar[1] = 'a'; destChar[2] = 'l'; destChar[3] = 's'; destChar[4] = 'e';
            (*(char **) destString) += 5;
            for (numChars = 5; numChars < fieldWidth; numChars++)  {  destChar[numChars] = ' ';  (*(char **) destString)++;  }
    }}  }
    
    else if (theView->windowPtr->variable_ptr->type == char_type)  {
    for (counter = 1; counter <= theView->width; counter++)  {
        loadIntRegister(theView->windowPtr->variable_ptr, theView->offset+counter-1);
        **((char **) destString) = intRegister;
        (*(char **) destString)++;
    }}
    
    else  {
    for (counter = 1; counter <= theView->width; counter++)  {
        loadDoubleRegister(theView->windowPtr->variable_ptr, theView->offset+counter-1);
        printNumber(*(char **) destString, doubleRegister, &numChars, theView->windowPtr->variable_ptr->type);
        (*(char **) destString) += numChars;
        for (numChars++; numChars <= fieldWidth; numChars++)  {  **(char **) destString = ' ';  (*(char **) destString)++;  }
    }}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq 0x10(%rax), %rax
movl 0xc0(%rax), %ecx
movl 0xc(%rdi), %eax
testl %ecx, %ecx
je 0xdbfc
cmpl $0x1, %ecx
jne 0xdcd4
testl %eax, %eax
jle 0xdd6a
xorl %ebp, %ebp
leaq 0x17b8f(%rip), %r15     # 0x25760
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %esi
addl %ebp, %esi
callq 0x157cf
movb 0x6c(%r15), %al
movq (%rbx), %rcx
movb %al, (%rcx)
incq (%rbx)
incl %ebp
cmpl 0xc(%r14), %ebp
jl 0xdbd1
jmp 0xdd6a
testl %eax, %eax
jle 0xdd6a
movq (%rbx), %r13
movl $0x1, %r15d
leaq 0x17b4c(%rip), %r12     # 0x25760
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %eax
leal (%r15,%rax), %esi
decl %esi
callq 0x161ef
cmpb $0x0, 0x68(%r12)
je 0xdc75
movl $0x65757274, (%r13)     # imm = 0x65757274
movq (%rbx), %rax
addq $0x4, %rax
movq %rax, (%rbx)
cmpl $0x5, 0x1fc(%r12)
jl 0xdcbb
movl $0x4, %ecx
movb $0x20, (%r13,%rcx)
movq (%rbx), %rax
incq %rax
movq %rax, (%rbx)
incq %rcx
movslq 0x1fc(%r12), %rdx
cmpq %rdx, %rcx
jl 0xdc54
jmp 0xdcbb
movl $0x736c6166, (%r13)     # imm = 0x736C6166
movb $0x65, 0x4(%r13)
movq (%rbx), %rax
addq $0x5, %rax
movq %rax, (%rbx)
cmpl $0x6, 0x1fc(%r12)
jl 0xdcbb
movl $0x5, %ecx
movb $0x20, (%r13,%rcx)
movq (%rbx), %rax
incq %rax
movq %rax, (%rbx)
incq %rcx
movslq 0x1fc(%r12), %rdx
cmpq %rdx, %rcx
jl 0xdc9c
leal 0x1(%r15), %ecx
movq %rax, %r13
cmpl 0xc(%r14), %r15d
movl %ecx, %r15d
jl 0xdc14
jmp 0xdd6a
testl %eax, %eax
jle 0xdd6a
movl $0x1, %r13d
leaq 0x17a77(%rip), %r12     # 0x25760
leaq 0x4(%rsp), %r15
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %eax
leal (%rax,%r13), %esi
decl %esi
callq 0x157f6
movq (%rbx), %rdi
movsd 0x70(%r12), %xmm0
movq (%r14), %rax
movq 0x10(%rax), %rax
movl 0xc0(%rax), %edx
movq %r15, %rsi
callq 0xdd79
movslq 0x4(%rsp), %rax
movq %rax, %rcx
addq (%rbx), %rcx
movq %rcx, (%rbx)
cmpl 0x1fc(%r12), %eax
jge 0xdd57
movb $0x20, (%rcx)
movq (%rbx), %rcx
incq %rcx
movq %rcx, (%rbx)
incl %eax
cmpl 0x1fc(%r12), %eax
jl 0xdd3b
incl %eax
jmp 0xdd59
incl %eax
movl %eax, 0x4(%rsp)
leal 0x1(%r13), %eax
cmpl 0xc(%r14), %r13d
movl %eax, %r13d
jl 0xdcee
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq