// File: /workspace/github_c_makefile_star2_O0/heltilda[P]cicada/intrpt.c
// Function: passString
void passString(view *theView, ccInt stringDummyIndex, void *ptrHandle, void *infoHandle)
{
    ccInt windowCounter, stringIndex, rtrn;
    
    linkedlist *stringListCopy = (linkedlist *) malloc((size_t) (theView->width*sizeof(linkedlist)));
    if (stringListCopy == NULL)  {  setError(out_of_memory_err, pcCodePtr-1);  return;  }
    
    for (stringIndex = theView->offset+1; stringIndex <= theView->offset+theView->width; stringIndex++)  {
        
        window *theStringWindow = LL_member(theView->windowPtr->variable_ptr, stringIndex)->memberWindow;
        linkedlist *theStringLL = &(theStringWindow->variable_ptr->mem.data);
        
        rtrn = defragmentLinkedList(theStringLL);
        if (rtrn != passed)  {  setError(out_of_memory_err, pcCodePtr-1);  return;  }
        
            // make sure the string doesn't have more than one window -- that way the user can modify its size and we can still fix the member
        
        for (windowCounter = 1; windowCounter <= theStringWindow->variable_ptr->windows.data.elementNum; windowCounter++)  {
            window *loopWindow = (window *) element(&(theStringWindow->variable_ptr->windows.data), windowCounter);
            if ((loopWindow != theStringWindow) && (*(loopWindow->references) > 0))  {
                if (loopWindow->jamStatus == cannot_jam)  loopWindow->jamStatus = unjammed;
                else  {
                    setError(overlapping_window_err, pcCodePtr-1);
                    return;
        }   }   }
        
        rtrn = addMemory(theStringWindow, 0, -theStringWindow->offset);
        if (rtrn == passed)
            rtrn = addMemory(theStringWindow, theStringWindow->width, theStringWindow->width-theStringWindow->variable_ptr->instances);
        if (rtrn != passed)  setError(rtrn, pcCodePtr-1);
        
        stringListCopy[stringIndex-theView->offset-1] = *theStringLL;
    }
    
    **(char ***) ptrHandle = (char *) stringListCopy;
    (*(arg_info **) infoHandle)->argType = string_type;
    (*(arg_info **) infoHandle)->argIndices = theView->width;
    (*(char ***) ptrHandle)++;
    (*(arg_info **) infoHandle)++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movslq 0xc(%rax), %rdi
shlq $0x5, %rdi
callq 0x81d0
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x11834
leaq 0x1af36(%rip), %rax     # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1, %edi
callq 0xf740
jmp 0x11a43
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %eax
movq -0x8(%rbp), %rcx
movl 0x8(%rcx), %ecx
movq -0x8(%rbp), %rdx
addl 0xc(%rdx), %ecx
cmpl %ecx, %eax
jg 0x119fb
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
movl -0x28(%rbp), %esi
callq 0x9700
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
addq $0x10, %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
callq 0x8f70
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
je 0x118bb
leaq 0x1aeaf(%rip), %rax     # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1, %edi
callq 0xf740
jmp 0x11a43
movl $0x1, -0x24(%rbp)
movl -0x24(%rbp), %eax
movq -0x40(%rbp), %rcx
movq 0x10(%rcx), %rcx
cmpl 0x30(%rcx), %eax
jg 0x1194b
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rdi
addq $0x30, %rdi
movl -0x24(%rbp), %esi
callq 0x9700
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
cmpq -0x40(%rbp), %rax
je 0x1193b
movq -0x50(%rbp), %rax
movq 0x8(%rax), %rax
cmpl $0x0, (%rax)
jle 0x1193b
movq -0x50(%rbp), %rax
movsbl 0x20(%rax), %eax
cmpl $0x0, %eax
jne 0x11918
movq -0x50(%rbp), %rax
movb $0x2, 0x20(%rax)
jmp 0x11939
leaq 0x1ae31(%rip), %rax     # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2a, %edi
callq 0xf740
jmp 0x11a43
jmp 0x1193b
jmp 0x1193d
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x118c2
movq -0x40(%rbp), %rdi
movq -0x40(%rbp), %rax
xorl %edx, %edx
subl 0x18(%rax), %edx
xorl %esi, %esi
callq 0x11a50
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
jne 0x11990
movq -0x40(%rbp), %rdi
movq -0x40(%rbp), %rax
movl 0x1c(%rax), %esi
movq -0x40(%rbp), %rax
movl 0x1c(%rax), %edx
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
subl 0xf0(%rax), %edx
callq 0x11a50
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
je 0x119b0
movl -0x2c(%rbp), %edi
leaq 0x1adb0(%rip), %rax     # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
callq 0xf740
movq -0x48(%rbp), %rcx
movq -0x38(%rbp), %rax
movl -0x28(%rbp), %edx
movq -0x8(%rbp), %rsi
subl 0x8(%rsi), %edx
subl $0x1, %edx
movslq %edx, %rdx
shlq $0x5, %rdx
addq %rdx, %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movq 0x10(%rcx), %rdx
movq %rdx, 0x10(%rax)
movq 0x18(%rcx), %rcx
movq %rcx, 0x18(%rax)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x11841
movq -0x38(%rbp), %rcx
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movl $0x4, (%rax)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %ecx
movq -0x20(%rbp), %rax
movq (%rax), %rax
movl %ecx, 0x4(%rax)
movq -0x18(%rbp), %rax
movq (%rax), %rcx
addq $0x8, %rcx
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
movq (%rax), %rcx
addq $0x8, %rcx
movq %rcx, (%rax)
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)