// File: /workspace/github_c_makefile_star2_O0/GregorR[P]lstg/ImageBuilder/imageBuilder.c
// Function: parseKeywordContinuation
int parseKeywordContinuation(void)
{
  int             argCount,
                  i,
                  done,
                  saveSuper;
  char            messageBuffer[100];

  saveSuper = superMessage;
  if(!parseBinaryContinuation())
    return 0;
  strcpy(messageBuffer, "");
  argCount = 0;
  if(isIdentifierChar(*p) && readIdentifier())
  {
    if(strcmp(tokenBuffer, "ifTrue:") == 0)
      return controlFlow(BranchIfFalse, "ifFalse:", nilConst);
    else if(strcmp(tokenBuffer, "ifFalse:") == 0)
      return controlFlow(BranchIfTrue, "ifTrue:", nilConst);
    else if(strcmp(tokenBuffer, "and:") == 0)
      return controlFlow(BranchIfFalse, "", falseConst);
    else if(strcmp(tokenBuffer, "or:") == 0)
      return controlFlow(BranchIfTrue, "", trueConst);
    else if((strcmp(tokenBuffer, "whileTrue:") == 0) && blockbackup)
      return optimizeLoop(BranchIfFalse);
    else if((strcmp(tokenBuffer, "whileFalse:") == 0) && blockbackup)
      return optimizeLoop(BranchIfTrue);
    else
      do
      {
        strcat(messageBuffer, tokenBuffer);
        argCount++;
        if(!parseTerm())
          return 0;
        if(!parseBinaryContinuation())
          return 0;
      }
      while(isIdentifierChar(*p) && readIdentifier());
  }
  if(argCount > 0)
  {

/*printf("keywork message %s\n", messageBuffer);*/
    done = 0;
    if(!saveSuper)
      for(i = 0; binaryBuiltIns[i]; i++)
        if(strcmp(messageBuffer, binaryBuiltIns[i]) == 0)
        {
          genInstruction(SendBinary, i);
          done = 1;
        }
    if(!done)
    {
      genInstruction(MarkArguments, argCount + 1);
      if(saveSuper)
      {
        genInstruction(DoSpecial, SendToSuper);
        genByte(addLiteral(newSymbol(messageBuffer)));
        superMessage = 0;
      }
      else
        genInstruction(SendMessage, addLiteral(newSymbol(messageBuffer)));
    }
  }
  return 1;
}

// Assembly:
subq $0x88, %rsp
movl 0x38c2b(%rip), %eax     # 0x3c528
movl %eax, 0x74(%rsp)
callq 0x34a0
cmpl $0x0, %eax
jne 0x391b
movl $0x0, 0x84(%rsp)
jmp 0x3c55
leaq 0x10(%rsp), %rdi
leaq 0x2e24(%rip), %rsi      # 0x674b
callq 0x1050
movl $0x0, 0x80(%rsp)
movq 0x6802(%rip), %rax      # 0xa140
movsbl (%rax), %edi
callq 0x1790
cmpl $0x0, %eax
je 0x3b54
callq 0x18a0
cmpl $0x0, %eax
je 0x3b54
leaq 0x2d8fc(%rip), %rdi     # 0x31260
leaq 0x2ada(%rip), %rsi      # 0x6445
callq 0x10c0
cmpl $0x0, %eax
jne 0x3997
movl $0x8, %edi
leaq 0x2acc(%rip), %rsi      # 0x644d
movl $0xa, %edx
callq 0x3720
movl %eax, 0x84(%rsp)
jmp 0x3c55
leaq 0x2d8c2(%rip), %rdi     # 0x31260
leaq 0x2aa8(%rip), %rsi      # 0x644d
callq 0x10c0
cmpl $0x0, %eax
jne 0x39d1
movl $0x7, %edi
leaq 0x2a8a(%rip), %rsi      # 0x6445
movl $0xa, %edx
callq 0x3720
movl %eax, 0x84(%rsp)
jmp 0x3c55
leaq 0x2d888(%rip), %rdi     # 0x31260
leaq 0x2d46(%rip), %rsi      # 0x6725
callq 0x10c0
cmpl $0x0, %eax
jne 0x3a0b
movl $0x8, %edi
leaq 0x2d56(%rip), %rsi      # 0x674b
movl $0xc, %edx
callq 0x3720
movl %eax, 0x84(%rsp)
jmp 0x3c55
leaq 0x2d84e(%rip), %rdi     # 0x31260
leaq 0x2a3d(%rip), %rsi      # 0x6456
callq 0x10c0
cmpl $0x0, %eax
jne 0x3a45
movl $0x7, %edi
leaq 0x2d1c(%rip), %rsi      # 0x674b
movl $0xb, %edx
callq 0x3720
movl %eax, 0x84(%rsp)
jmp 0x3c55
leaq 0x2d814(%rip), %rdi     # 0x31260
leaq 0x2a07(%rip), %rsi      # 0x645a
callq 0x10c0
cmpl $0x0, %eax
jne 0x3a7d
cmpq $0x0, 0x38adb(%rip)     # 0x3c540
je 0x3a7d
movl $0x8, %edi
callq 0x3820
movl %eax, 0x84(%rsp)
jmp 0x3c55
leaq 0x2d7dc(%rip), %rdi     # 0x31260
leaq 0x29da(%rip), %rsi      # 0x6465
callq 0x10c0
cmpl $0x0, %eax
jne 0x3ab5
cmpq $0x0, 0x38aa3(%rip)     # 0x3c540
je 0x3ab5
movl $0x7, %edi
callq 0x3820
movl %eax, 0x84(%rsp)
jmp 0x3c55
jmp 0x3ab7
leaq 0x10(%rsp), %rdi
leaq 0x2d79d(%rip), %rsi     # 0x31260
callq 0x1100
movl 0x80(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x80(%rsp)
callq 0x2750
cmpl $0x0, %eax
jne 0x3af3
movl $0x0, 0x84(%rsp)
jmp 0x3c55
callq 0x34a0
cmpl $0x0, %eax
jne 0x3b0d
movl $0x0, 0x84(%rsp)
jmp 0x3c55
jmp 0x3b0f
movq 0x662a(%rip), %rax      # 0xa140
movsbl (%rax), %edi
callq 0x1790
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, 0xf(%rsp)
je 0x3b3a
callq 0x18a0
cmpl $0x0, %eax
setne %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x3ab7
jmp 0x3b48
jmp 0x3b4a
jmp 0x3b4c
jmp 0x3b4e
jmp 0x3b50
jmp 0x3b52
jmp 0x3b54
cmpl $0x0, 0x80(%rsp)
jle 0x3c4a
movl $0x0, 0x78(%rsp)
cmpl $0x0, 0x74(%rsp)
jne 0x3bd2
movl $0x0, 0x7c(%rsp)
movslq 0x7c(%rsp), %rcx
leaq 0x557b(%rip), %rax      # 0x9100
cmpq $0x0, (%rax,%rcx,8)
je 0x3bd0
leaq 0x10(%rsp), %rdi
movslq 0x7c(%rsp), %rcx
leaq 0x5563(%rip), %rax      # 0x9100
movq (%rax,%rcx,8), %rsi
callq 0x10c0
cmpl $0x0, %eax
jne 0x3bc1
movl 0x7c(%rsp), %esi
movl $0xb, %edi
callq 0x1f80
movl $0x1, 0x78(%rsp)
jmp 0x3bc3
movl 0x7c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x7c(%rsp)
jmp 0x3b79
jmp 0x3bd2
cmpl $0x0, 0x78(%rsp)
jne 0x3c48
movl 0x80(%rsp), %esi
addl $0x1, %esi
movl $0x8, %edi
callq 0x1f80
cmpl $0x0, 0x74(%rsp)
je 0x3c28
movl $0xf, %edi
movl $0xb, %esi
callq 0x1f80
leaq 0x10(%rsp), %rdi
callq 0x1b40
movq %rax, %rdi
callq 0x2040
movl %eax, %edi
callq 0x1e70
movl $0x0, 0x38902(%rip)     # 0x3c528
jmp 0x3c46
leaq 0x10(%rsp), %rdi
callq 0x1b40
movq %rax, %rdi
callq 0x2040
movl %eax, %esi
movl $0x9, %edi
callq 0x1f80
jmp 0x3c48
jmp 0x3c4a
movl $0x1, 0x84(%rsp)
movl 0x84(%rsp), %eax
addq $0x88, %rsp
retq
nopw %cs:(%rax,%rax)