// File: /workspace/github_c_makefile_star2_O2/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), %r15d
testl %r15d, %r15d
je 0xd339
cmpl $0x1, %r15d
jne 0xd3d3
leaq 0x17459(%rip), %r12     # 0x24760
cmpl 0xc(%r14), %r15d
jg 0xd44c
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %eax
leal (%r15,%rax), %esi
decl %esi
callq 0x13aee
movb 0x6c(%r12), %al
movq (%rbx), %rcx
movb %al, (%rcx)
incq (%rbx)
incl %r15d
jmp 0xd307
pushq $0x1
popq %r15
leaq 0x1741c(%rip), %r12     # 0x24760
pushq $0x4
popq %rbp
cmpl 0xc(%r14), %r15d
jg 0xd44c
movq (%rbx), %r13
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %eax
leal (%r15,%rax), %esi
decl %esi
callq 0x144d8
cmpb $0x0, 0x68(%r12)
je 0xd39c
movl $0x65757274, (%r13)     # imm = 0x65757274
addq $0x4, (%rbx)
movq %rbp, %rax
movslq 0x1fc(%r12), %rcx
cmpq %rcx, %rax
jge 0xd3cb
movb $0x20, (%r13,%rax)
incq (%rbx)
incq %rax
jmp 0xd381
movl $0x736c6166, (%r13)     # imm = 0x736C6166
movb $0x65, 0x4(%r13)
addq $0x5, (%rbx)
pushq $0x5
popq %rax
movslq 0x1fc(%r12), %rcx
cmpq %rcx, %rax
jge 0xd3cb
movb $0x20, (%r13,%rax)
incq (%rbx)
incq %rax
jmp 0xd3b0
incl %r15d
jmp 0xd347
pushq $0x1
popq %r12
leaq 0x17382(%rip), %r13     # 0x24760
leaq 0x4(%rsp), %r15
cmpl 0xc(%r14), %r12d
jg 0xd44c
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %eax
leal (%r12,%rax), %esi
decl %esi
callq 0x13b15
movq (%rbx), %rdi
movsd 0x70(%r13), %xmm0
movq (%r14), %rax
movq 0x10(%rax), %rax
movl 0xc0(%rax), %edx
movq %r15, %rsi
callq 0xd45b
movslq 0x4(%rsp), %rax
movq %rax, %rcx
addq (%rbx), %rcx
movq %rcx, (%rbx)
cmpl 0x1fc(%r13), %eax
jge 0xd441
movb $0x20, (%rcx)
movq (%rbx), %rcx
incq %rcx
incl %eax
jmp 0xd428
incl %eax
movl %eax, 0x4(%rsp)
incl %r12d
jmp 0xd3e3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq