// File: /workspace/github_c_makefile_star2_O1/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), %eax
testl %eax, %eax
je 0xde0a
cmpl $0x1, %eax
jne 0xded4
cmpl $0x0, 0xc(%r14)
jle 0xdf6e
xorl %ebp, %ebp
leaq 0x17981(%rip), %r15     # 0x25760
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %esi
addl %ebp, %esi
callq 0x157fb
movb 0x6c(%r15), %al
movq (%rbx), %rcx
movb %al, (%rcx)
incq (%rbx)
incl %ebp
cmpl 0xc(%r14), %ebp
jl 0xdddf
jmp 0xdf6e
cmpl $0x0, 0xc(%r14)
jle 0xdf66
movl $0x1, %r15d
leaq 0x1793e(%rip), %r12     # 0x25760
movq (%rbx), %r13
movq (%r14), %rax
movq 0x10(%rax), %rdi
movl 0x8(%r14), %eax
leal (%r15,%rax), %esi
decl %esi
callq 0x1623b
cmpb $0x0, 0x68(%r12)
je 0xde7f
movl $0x65757274, (%r13)     # imm = 0x65757274
addq $0x4, (%rbx)
movl $0x4, %eax
cmpl $0x5, 0x1fc(%r12)
jl 0xdebe
movl $0x4, %eax
movb $0x20, (%r13,%rax)
incq (%rbx)
incq %rax
movslq 0x1fc(%r12), %rcx
cmpq %rcx, %rax
jl 0xde64
jmp 0xdebe
movl $0x736c6166, (%r13)     # imm = 0x736C6166
movb $0x65, 0x4(%r13)
addq $0x5, (%rbx)
movl $0x5, %eax
cmpl $0x6, 0x1fc(%r12)
jl 0xdebe
movl $0x5, %eax
movb $0x20, (%r13,%rax)
incq (%rbx)
incq %rax
movslq 0x1fc(%r12), %rcx
cmpq %rcx, %rax
jl 0xdea5
leal 0x1(%r15), %ecx
cmpl 0xc(%r14), %r15d
movl %ecx, %r15d
jl 0xde22
jmp 0xdf6a
cmpl $0x0, 0xc(%r14)
jle 0xdf6e
movl $0x1, %r13d
leaq 0x17874(%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 0x15822
movq (%rbx), %rdi
movsd 0x70(%r12), %xmm0
movq (%r14), %rax
movq 0x10(%rax), %rax
movl 0xc0(%rax), %edx
movq %r15, %rsi
callq 0xdf7d
movslq 0x4(%rsp), %rax
addq %rax, (%rbx)
cmpl 0x1fc(%r12), %eax
jge 0xdf51
movq (%rbx), %rcx
movb $0x20, (%rcx)
incq (%rbx)
incl %eax
cmpl 0x1fc(%r12), %eax
jl 0xdf38
incl %eax
jmp 0xdf53
incl %eax
movl %eax, 0x4(%rsp)
leal 0x1(%r13), %eax
cmpl 0xc(%r14), %r13d
movl %eax, %r13d
jl 0xdef1
jmp 0xdf6e
movl 0x4(%rsp), %eax
movl %eax, 0x4(%rsp)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq