// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
cmpl $0x0, 0xc0(%rax)
jne 0x10dff
movl $0x1, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jg 0x10dfa
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movl 0x8(%rax), %esi
addl -0x1c(%rbp), %esi
subl $0x1, %esi
callq 0x1b880
leaq 0x1ba4e(%rip), %rax     # 0x2c750
cmpb $0x0, 0x68(%rax)
je 0x10d75
movq -0x28(%rbp), %rax
movb $0x74, (%rax)
movq -0x28(%rbp), %rax
movb $0x72, 0x1(%rax)
movq -0x28(%rbp), %rax
movb $0x75, 0x2(%rax)
movq -0x28(%rbp), %rax
movb $0x65, 0x3(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x4, %rcx
movq %rcx, (%rax)
movl $0x4, -0x20(%rbp)
movl -0x20(%rbp), %eax
leaq 0x1ba0a(%rip), %rcx     # 0x2c750
cmpl 0x1fc(%rcx), %eax
jge 0x10d73
movq -0x28(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb $0x20, (%rax,%rcx)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x10d3c
jmp 0x10dea
movq -0x28(%rbp), %rax
movb $0x66, (%rax)
movq -0x28(%rbp), %rax
movb $0x61, 0x1(%rax)
movq -0x28(%rbp), %rax
movb $0x6c, 0x2(%rax)
movq -0x28(%rbp), %rax
movb $0x73, 0x3(%rax)
movq -0x28(%rbp), %rax
movb $0x65, 0x4(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x5, %rcx
movq %rcx, (%rax)
movl $0x5, -0x20(%rbp)
movl -0x20(%rbp), %eax
leaq 0x1b995(%rip), %rcx     # 0x2c750
cmpl 0x1fc(%rcx), %eax
jge 0x10de8
movq -0x28(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb $0x20, (%rax,%rcx)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x10db1
jmp 0x10dea
jmp 0x10dec
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x10cc3
jmp 0x10f3c
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
cmpl $0x1, 0xc0(%rax)
jne 0x10e76
movl $0x1, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jg 0x10e71
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movl 0x8(%rax), %esi
addl -0x1c(%rbp), %esi
subl $0x1, %esi
callq 0x1a880
leaq 0x1b906(%rip), %rax     # 0x2c750
movl 0x6c(%rax), %eax
movb %al, %cl
movq -0x10(%rbp), %rax
movq (%rax), %rax
movb %cl, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x10e1a
jmp 0x10f3a
movl $0x1, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jg 0x10f38
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movl 0x8(%rax), %esi
addl -0x1c(%rbp), %esi
subl $0x1, %esi
callq 0x1a8d0
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x1b898(%rip), %rax     # 0x2c750
movsd 0x70(%rax), %xmm0
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rax
movl 0xc0(%rax), %edx
leaq -0x20(%rbp), %rsi
callq 0x10f50
movl -0x20(%rbp), %edx
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movslq %edx, %rdx
addq %rdx, %rcx
movq %rcx, (%rax)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %eax
leaq 0x1b853(%rip), %rcx     # 0x2c750
cmpl 0x1fc(%rcx), %eax
jg 0x10f28
movq -0x10(%rbp), %rax
movq (%rax), %rax
movb $0x20, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x10ef3
jmp 0x10f2a
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x10e7d
jmp 0x10f3a
jmp 0x10f3c
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)