LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/opcode.c
// Function: SearchOpcode2
int SearchOpcode2(const struct opcode_s *list,
                  const char *s,
                  int (**fun)(int ),
                  int *para)
{
  const struct opcode_s *curr;
  extern int mac_mode;

  // ignore leading dot
  if ( s[0] == '.' ){
    ++s;
  }
  if ( strlen(s) > 7 && !mac_mode ){
    return -1;
  }

  if ( Global.mainMode != JAGUAR_GPU &&
       Global.mainMode != JAGUAR_DSP &&
       !strcasecmp(s,"DP") )
    {
      return -1;
    }
  curr = list;

  while ( curr->name[0] ){
    if ( !strcasecmp(curr->name,s) ){
      //      printf("Found (%s)\n",curr->name);
      *fun = curr->func;
      *para = curr->misc;
      return 1;
    }
    curr++;
  }
  return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
xorl %r12d, %r12d
cmpb $0x2e, (%rsi)
sete %r12b
addq %rsi, %r12
movq %r12, %rdi
callq 0x30b0
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpq $0x8, %rax
jb 0x6757
leaq 0x1745e(%rip), %rax     # 0x1dbb0
cmpl $0x0, (%rax)
je 0x67b0
leaq 0xdc52(%rip), %rax      # 0x143b0
movl 0x1c(%rax), %eax
addl $-0x4, %eax
cmpl $-0x3, %eax
ja 0x677c
leaq 0x6a74(%rip), %rsi      # 0xd1e4
movq %r12, %rdi
callq 0x3060
testl %eax, %eax
je 0x67b0
cmpb $0x0, (%r15)
je 0x67b0
movq %r15, %rdi
movq %r12, %rsi
callq 0x3060
testl %eax, %eax
je 0x679e
cmpb $0x0, 0x20(%r15)
leaq 0x20(%r15), %r15
jne 0x6782
jmp 0x67b0
movq 0x10(%r15), %rax
movq %rax, (%r14)
movl 0x18(%r15), %eax
movl %eax, (%rbx)
movl $0x1, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_org
int p_org(int d)
{
  int32_t l;
  int err;

  if ( (err = NeedConst( &l, "ORG" )) ) return err;

  if ( Global.genesis == 1 && mac_mode == 0){
    if ( (uint32_t)l < Global.pc ) return Error(SYNTAX_ERR,"");
    writeSameBytes( 0, l-Global.pc );
  } else {
    Global.pc = (uint32_t)l;
  }

  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0x6a1f(%rip), %rsi      # 0xd1e7
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl %eax, %ebx
testl %eax, %eax
jne 0x681a
leaq 0xdbd1(%rip), %rax      # 0x143b0
cmpl $0x1, 0x14(%rax)
movl 0xc(%rsp), %esi
jne 0x680b
cmpl $0x0, 0x173c0(%rip)     # 0x1dbb0
jne 0x680b
subl (%rax), %esi
jae 0x6811
leaq 0x6795(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa2c8
movl %eax, %ebx
jmp 0x681a
movl %esi, (%rax)
xorl %ebx, %ebx
jmp 0x681a
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x3459
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_run
int p_run(int d)
{
  int err;
  int32_t l;

  KillSpace();
  if ( !atom ) {
    l = Global.pc;
  } else {
    if ( (err = NeedConst( &l, "RUN" )) ) return err;
  }
  if ( Global.run == -1){
    Global.mainMode = sourceMode;
    Global.run = l;
    Global.genesis = 1;
  }
  Global.pc = l;
  return 0;
}

// Assembly:
pushq %rax
xorl %eax, %eax
callq 0x5037
leaq 0x166d8(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
je 0x6874
leaq 0x6987(%rip), %rsi      # 0xd1eb
leaq 0x4(%rsp), %rdi
callq 0x9ee6
testl %eax, %eax
jne 0x68b0
jmp 0x6881
leaq 0xdb35(%rip), %rax      # 0x143b0
movl (%rax), %eax
movl %eax, 0x4(%rsp)
leaq 0xdb28(%rip), %rax      # 0x143b0
cmpl $-0x1, 0x10(%rax)
jne 0x68a8
leaq 0xdd5b(%rip), %rcx      # 0x145f0
movl (%rcx), %ecx
movl %ecx, 0x1c(%rax)
movl 0x4(%rsp), %ecx
movl %ecx, 0x10(%rax)
movl $0x1, 0x14(%rax)
movl 0x4(%rsp), %ecx
movl %ecx, (%rax)
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_definebyte
int p_definebyte(int d)
{
  char help[80];
  int err;
  int32_t l;
  int all_err = 0;

  KillSpace();
  if ( atom == EOF ) return Error(SYNTAX_ERR, "Missing String");
  do{
    if ( TestAtom('"') ){
      if ( !GetString( help ,'"' ) ) return Error(SYNTAX_ERR, "Missing '\"'");
      if ( d ){
        translate(help);
      }
      writeBytes(help,(int)strlen(help));
    }
    else if ( TestAtom('\'') ){
      if ( !GetString( help ,'\'' ) ) return Error(SYNTAX_ERR, "Missing \"'\"");
      if ( d ){
        translate(help);
      }
      writeBytes(help,(int)strlen(help));
    }
    else {
      if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
      if ( err == EXPR_UNSOLVED ) ++all_err;
      if ( l < -128 || l > 255 ) return Error(BYTE_ERR,"");
      if ( d ) l = transASCII[l];
      writeByte((char)l);
    }
  } while ( TestAtom(',') );

  if ( all_err ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %edi, %ebx
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x5037
leaq 0x165b6(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6a9b
leaq 0x11(%rsp), %r13
leaq 0x17231(%rip), %r14     # 0x1dbc0
leaq 0x10(%rsp), %r15
movl $0x22, %edi
callq 0x4fa3
testl %eax, %eax
je 0x69e2
movq %r15, %rdi
movl $0x22, %esi
callq 0x5125
testl %eax, %eax
je 0x6aca
testl %ebx, %ebx
sete %cl
movb 0x10(%rsp), %al
testb %al, %al
sete %dl
orb %cl, %dl
jne 0x6a2e
movq %r13, %rcx
movsbq %al, %rax
movb (%rax,%r14), %al
movb %al, -0x1(%rcx)
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x69cc
jmp 0x6a2e
movl $0x27, %edi
callq 0x4fa3
testl %eax, %eax
je 0x6a54
movq %r15, %rdi
movl $0x27, %esi
callq 0x5125
testl %eax, %eax
je 0x6ad3
testl %ebx, %ebx
sete %cl
movb 0x10(%rsp), %al
testb %al, %al
sete %dl
orb %cl, %dl
jne 0x6a2e
movq %r13, %rcx
movsbq %al, %rax
movb (%rax,%r14), %al
movb %al, -0x1(%rcx)
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x6a1a
movq %r15, %rdi
callq 0x30b0
movq %r15, %rdi
movl %eax, %esi
callq 0x34c6
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
jne 0x6994
jmp 0x6aba
leaq 0xc(%rsp), %rdi
callq 0x9e70
cmpl $0x2, %eax
je 0x6a6c
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6a6f
jmp 0x6ae6
incl %r12d
movslq 0xc(%rsp), %rax
leal -0x100(%rax), %ecx
cmpl $0xfffffe7f, %ecx       # imm = 0xFFFFFE7F
jbe 0x6af7
testl %ebx, %ebx
je 0x6a8f
movsbl (%rax,%r14), %eax
movl %eax, 0xc(%rsp)
movsbl 0xc(%rsp), %edi
callq 0x33fe
jmp 0x6a40
leaq 0x6752(%rip), %rsi      # 0xd1f4
movl $0x12, %edi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa2c8
xorl %ebp, %ebp
testl %r12d, %r12d
je 0x6ae6
xorl %eax, %eax
callq 0xa204
jmp 0x6ae6
leaq 0x6732(%rip), %rsi      # 0xd203
jmp 0x6ada
leaq 0x6735(%rip), %rsi      # 0xd20f
movl $0x12, %edi
callq 0xa2c8
movl %eax, %ebp
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6494(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
jmp 0x6adf
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_defineword
int p_defineword(int d)
{
  int err;
  int32_t l;
  int all_err = 0;

  KillSpace();
  if ( atom == EOF ) return Error(SYNTAX_ERR,"");
  do{
    if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
    if ( err == EXPR_UNSOLVED ) ++all_err;
    if ( l < -32768L || l > 65535L ) return Error(WORD_ERR,"");
    if ( Endian() == targetLITTLE_ENDIAN ){
      writeWordLittle((short)l);
    }else{
      writeWordBig((short)l);
    }
  } while ( TestAtom(',') );

  if ( all_err ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x5037
leaq 0x16413(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6b8f
leaq 0x4(%rsp), %rbx
movl $0xffff0000, %r15d      # imm = 0xFFFF0000
movq %rbx, %rdi
callq 0x9e70
cmpl $0x2, %eax
je 0x6b43
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6b46
jmp 0x6bbd
incl %r14d
movl 0x4(%rsp), %eax
addl %r15d, %eax
cmpl $0xfffe7fff, %eax       # imm = 0xFFFE7FFF
jbe 0x6baa
callq 0x9473
movswl 0x4(%rsp), %edi
cmpl $0x4321, %eax           # imm = 0x4321
jne 0x6b6c
callq 0x353c
jmp 0x6b71
callq 0x35ae
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
jne 0x6b2d
xorl %ebp, %ebp
testl %r14d, %r14d
je 0x6bbd
xorl %eax, %eax
callq 0xa204
jmp 0x6bbd
leaq 0x63fc(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xa2c8
leaq 0x63e1(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
callq 0xa2c8
movl %eax, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_definelong
int p_definelong(int d)
{
  int err;
  int32_t l;
  int all_err = 0;

  KillSpace();
  if ( atom == EOF ) return Error(SYNTAX_ERR,"");
  do{
    if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
    if ( err == EXPR_UNSOLVED ) ++all_err;
    if ( Endian() == targetLITTLE_ENDIAN ){
      writeLongLittle( (long)l );
    }else{
      writeLongBig( (long)l );
    }
  } while ( TestAtom(',') );

  if ( all_err ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x5037
leaq 0x1634d(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6c49
leaq 0xc(%rsp), %rbx
movq %rbx, %rdi
callq 0x9e70
cmpl $0x2, %eax
je 0x6c03
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6c06
jmp 0x6c3e
incl %r14d
callq 0x9473
movl 0xc(%rsp), %edi
cmpl $0x4321, %eax           # imm = 0x4321
jne 0x6c1d
callq 0x3620
jmp 0x6c22
callq 0x36c6
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
jne 0x6bed
xorl %ebp, %ebp
testl %r14d, %r14d
je 0x6c3e
xorl %eax, %eax
callq 0xa204
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x6342(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0xa2c8
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_definephrase
int p_definephrase(int d)
{
  int err;
  int64_t ll;
  int all_err = 0;

  KillSpace();
  if ( atom == EOF ) return Error(SYNTAX_ERR,"");
  do{
    if ( (err = Expression64( &ll )) == EXPR_ERROR ) return 1;
    if ( err == EXPR_UNSOLVED ) ++all_err;
    if ( Endian() == targetLITTLE_ENDIAN ){
      writePhraseLittle( ll );
    }else{
      writePhraseBig( ll );
    }
  } while ( TestAtom(',') );

  if ( all_err ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x5037
leaq 0x162b5(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6ce2
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x9d21
cmpl $0x2, %eax
je 0x6c9b
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6c9e
jmp 0x6cd7
incl %r14d
callq 0x9473
movq 0x8(%rsp), %rdi
cmpl $0x4321, %eax           # imm = 0x4321
jne 0x6cb6
callq 0x376e
jmp 0x6cbb
callq 0x3883
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
jne 0x6c85
xorl %ebp, %ebp
testl %r14d, %r14d
je 0x6cd7
xorl %eax, %eax
callq 0xa204
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x62a9(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0xa2c8
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_definespace
int p_definespace(int size)
{
  int32_t l;

  if ( NeedConst( &l ,"DS.x") ) return 1;

  writeSameBytes( 0, l * size);
  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x6521(%rip), %rsi      # 0xd228
leaq 0x4(%rsp), %rdi
callq 0x9ee6
movl $0x1, %ebp
testl %eax, %eax
jne 0x6d2a
imull 0x4(%rsp), %ebx
xorl %ebp, %ebp
xorl %edi, %edi
movl %ebx, %esi
callq 0x3459
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_include
int p_include(int d)
{
  int err;

  if (Global.Files == MAX_INCLUDE) return Error(-INCLUDE_ERR,"");

  if ( GetFileName() ) return 1;

  KillSpace();

  if ( atom ) return Error(GARBAGE_ERR,srcLine);

  ClearLocals();

  struct current_s save_current = Current;

  Global.Files++;
  LoadSource(filename);
  Current.File = Global.Files;
  err = mainloop(0);

  Current = save_current;

  return err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
leaq 0xd669(%rip), %r15      # 0x143b0
cmpl $0x40, 0xc(%r15)
jne 0x6d6c
leaq 0x623d(%rip), %rsi      # 0xcf92
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xa2c8
xorl %eax, %eax
callq 0x51dd
testl %eax, %eax
je 0x6d8a
movl $0x1, %eax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
callq 0x5037
leaq 0x16198(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
je 0x6dab
leaq 0x1607c(%rip), %rsi     # 0x1ce20
movl $0x18, %edi
jmp 0x6d5a
xorl %eax, %eax
callq 0x5d21
leaq 0xd84f(%rip), %rbx      # 0x14608
leaq 0x8(%rsp), %r14
movl $0x1c0, %edx            # imm = 0x1C0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3150
incl 0xc(%r15)
leaq 0x15d17(%rip), %rdi     # 0x1caf0
callq 0x4858
movl 0xc(%r15), %eax
movl %eax, 0x4(%rbx)
xorl %edi, %edi
callq 0x42cd
movl %eax, %ebp
movl $0x1c0, %edx            # imm = 0x1C0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3150
movl %ebp, %eax
jmp 0x6d7c
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_trans
int p_trans(int d)
{
  long len;
  int32_t offset = 0;

  if ( GetFileName() ) return 1;

  if ( TestAtom(',') ){
    if ( NeedConst( &offset ,"TRANS" ) ) return 1;
  }

  if ( LoadFile(transASCII, offset, 256, filename, &len ) ) return 1;

  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl $0x0, 0x4(%rsp)
xorl %eax, %eax
callq 0x51dd
movl $0x1, %ebx
testl %eax, %eax
jne 0x6e7f
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
je 0x6e56
leaq 0x63d3(%rip), %rsi      # 0xd21b
leaq 0x4(%rsp), %rdi
callq 0x9ee6
testl %eax, %eax
jne 0x6e7f
movslq 0x4(%rsp), %rsi
leaq 0x16d5e(%rip), %rdi     # 0x1dbc0
leaq 0x15c87(%rip), %rcx     # 0x1caf0
leaq 0x8(%rsp), %r8
movl $0x100, %edx            # imm = 0x100
callq 0x39b2
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_path
int p_path(int d)
{
  int i;

  KillSpace();

  memset(filename, 0, 512);

  if ( !atom ){
    Global.Path[0] = 0;
    return 0;
  }

  if ( atom != '"' ) return Error(SYNTAX_ERR,"");
  GetAtom();

  if ( !GetString( filename, '"' ) ) return Error(SYNTAX_ERR,"Missing '\"'");

  i = (int)strlen(filename);
  if ( i && filename[i-1] != '/'){
    filename[i] = '/';
  }

  strcat(Global.Path,filename);
  if ( chgPathToUpper ){
    char *ptr = Global.Path;
    char c;
    while ( (c = *ptr) )
      *ptr++ = toupper(c);
  }

  return 0;

}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
xorl %eax, %eax
callq 0x5037
leaq 0x15c58(%rip), %rdi     # 0x1caf0
movl $0x200, %edx            # imm = 0x200
xorl %esi, %esi
callq 0x30d0
leaq 0x16085(%rip), %rax     # 0x1cf30
movl (%rax), %eax
cmpl $0x22, %eax
je 0x6ece
testl %eax, %eax
jne 0x6f78
leaq 0xd4ef(%rip), %rax      # 0x143b0
movb $0x0, 0x20(%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x4f15
leaq 0x15c16(%rip), %rdi     # 0x1caf0
movl $0x22, %esi
callq 0x5125
testl %eax, %eax
je 0x6f81
leaq 0x15bfd(%rip), %rbx     # 0x1caf0
movq %rbx, %rdi
callq 0x30b0
testl %eax, %eax
je 0x6f22
shlq $0x20, %rax
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
addq %rax, %rcx
sarq $0x20, %rcx
cmpb $0x2f, (%rbx,%rcx)
je 0x6f22
sarq $0x20, %rax
movb $0x2f, (%rbx,%rax)
leaq 0xd487(%rip), %rbx      # 0x143b0
leaq 0x20(%rbx), %rdi
leaq 0x15bbc(%rip), %rsi     # 0x1caf0
callq 0x31a0
leaq 0xd6c0(%rip), %rax      # 0x14600
cmpl $0x0, (%rax)
je 0x6ec5
movb 0x20(%rbx), %bpl
testb %bpl, %bpl
je 0x6ec5
addq $0x21, %rbx
callq 0x3030
movq (%rax), %rcx
movsbq %bpl, %rdx
movb (%rcx,%rdx,4), %cl
movb %cl, -0x1(%rbx)
movb (%rbx), %bpl
incq %rbx
testb %bpl, %bpl
jne 0x6f5b
jmp 0x6ec5
leaq 0x6013(%rip), %rsi      # 0xcf92
jmp 0x6f88
leaq 0x627b(%rip), %rsi      # 0xd203
movl $0x12, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xa2c8
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_equ
int p_equ(int d)
{
  int32_t l;

  if ( NeedConst( &l, "EQU") ) return 1;

  if ( ! Current.Label.len ){
    Error(SYNTAX_ERR,"");
  }
  if ( (Current.Label.type &  REGISTER) ){
    Error(SYNTAX_ERR,"Cannot EQU a register label");
  }

  if ( (Current.Label.type & VARIABLE) == 0){
    Current.LabelPtr->value = l;
  }
  Current.Label.type &= ~CODELABEL;
  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0x6289(%rip), %rsi      # 0xd22d
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x7006
leaq 0xd648(%rip), %rbx      # 0x14608
cmpl $0x0, 0x28(%rbx)
jne 0x6fd7
leaq 0x5fc5(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa2c8
testb $0x40, 0x2c(%rbx)
je 0x6fee
leaq 0x624d(%rip), %rsi      # 0xd231
movl $0x12, %edi
callq 0xa2c8
xorl %eax, %eax
testb $0x10, 0x2c(%rbx)
jne 0x7006
movslq 0xc(%rsp), %rcx
movq 0x88(%rbx), %rdx
movq %rcx, 0x8(%rdx)
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_set
int p_set(int d)
{
  int32_t l;

  if ( NeedConst( &l, "SET") ) return 1;

  if ( ! Current.Label.len ) Error(SYNTAX_ERR,"");

  if ( (Current.Label.type &  REGISTER) ){
    Error(SYNTAX_ERR,"Cannot EQU a register label");
  }


  Current.LabelPtr->type |= VARIABLE;
  Current.LabelPtr->type &= ~CODELABEL;
  Current.LabelPtr->value = l;
  Current.varModifier++;
  //  printf("(%s)%d\n",Current.LabelPtr->name,Current.LabelPtr->value);
  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0x6235(%rip), %rsi      # 0xd24d
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x707e
leaq 0xd5d4(%rip), %rbx      # 0x14608
cmpl $0x0, 0x28(%rbx)
jne 0x704b
leaq 0x5f51(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa2c8
testb $0x40, 0x2c(%rbx)
je 0x7062
leaq 0x61d9(%rip), %rsi      # 0xd231
movl $0x12, %edi
callq 0xa2c8
movq 0x88(%rbx), %rax
orl $0x10, 0x4(%rax)
movslq 0xc(%rsp), %rcx
movq %rcx, 0x8(%rax)
incl 0xe8(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_if
int p_if(int d)
{
  int32_t l;

  if ( Current.ifCnt+1 == MAX_IF ) return Error(TOOMANYIF_ERR,"");

  PUSH_IF();

  if ( Current.ifFlag ) {
    TestAtom('#');             // skip a '#'

    if ( NeedConst( &l, "IF") ) return 1;

    Current.ifFlag = l != 0 ? 1 : 0;
    Current.ParseOnly = 0;
  } else {
    Current.ParseOnly = 1;
  }

  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0xd578(%rip), %rbx      # 0x14608
movslq 0xf4(%rbx), %rax
leal 0x1(%rax), %ecx
cmpl $0x10, %ecx
jne 0x70b5
leaq 0x5eec(%rip), %rsi      # 0xcf92
movl $0x1e, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa2c8
movl 0xf8(%rbx), %edx
movl %ecx, 0xf4(%rbx)
movl %edx, 0x100(%rbx,%rax,4)
movl 0xf0(%rbx), %eax
movslq 0xf4(%rbx), %rcx
movl %eax, 0x140(%rbx,%rcx,4)
cmpl $0x0, 0xf8(%rbx)
je 0x711f
movl $0x23, %edi
callq 0x4fa3
leaq 0x615b(%rip), %rsi      # 0xd251
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x712c
xorl %eax, %eax
cmpl $0x0, 0xc(%rsp)
setne %al
movl %eax, 0xf8(%rbx)
xorl %eax, %eax
jmp 0x7124
movl $0x1, %eax
movl %eax, 0xf0(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_ifdef
int p_ifdef(int d)
{
  int32_t l;
  label_t test;

  if ( Current.ifCnt+1 == MAX_IF ) return Error(TOOMANYIF_ERR,"");

  PUSH_IF();

  if ( Current.ifFlag ) {

    if ( GetLabel( &test ) ) return 1;

    Current.ifFlag = (FindLabel( &test, &l ) != 0);

    Current.ParseOnly = 0;
  } else {
    Current.ParseOnly = 1;
  }
  return 0;
}

// Assembly:
pushq %rbx
subq $0x70, %rsp
leaq 0xd4ca(%rip), %rbx      # 0x14608
movslq 0xf4(%rbx), %rax
leal 0x1(%rax), %ecx
cmpl $0x10, %ecx
jne 0x7163
leaq 0x5e3e(%rip), %rsi      # 0xcf92
movl $0x1e, %edi
addq $0x70, %rsp
popq %rbx
jmp 0xa2c8
movl 0xf8(%rbx), %edx
movl %ecx, 0xf4(%rbx)
movl %edx, 0x100(%rbx,%rax,4)
movl 0xf0(%rbx), %eax
movslq 0xf4(%rbx), %rcx
movl %eax, 0x140(%rbx,%rcx,4)
cmpl $0x0, 0xf8(%rbx)
je 0x71c9
leaq 0x10(%rsp), %rdi
callq 0x53a9
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x71d6
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x6140
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, 0xf8(%rbx)
xorl %eax, %eax
jmp 0x71ce
movl $0x1, %eax
movl %eax, 0xf0(%rbx)
xorl %eax, %eax
addq $0x70, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_ifvar
int p_ifvar(int d)
{

  if ( Current.ifCnt+1 == MAX_IF ) return Error(TOOMANYIF_ERR,"");

  PUSH_IF();

  if ( Current.ifFlag ) {
    KillSpace();

    Current.ifFlag = (atom != 0) ? 1 : 0;

    Current.ParseOnly = 0;
  } else {
    Current.ParseOnly = 1;
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
leaq 0xd378(%rip), %rbx      # 0x14608
movslq 0xf4(%rbx), %rax
leal 0x1(%rax), %ecx
cmpl $0x10, %ecx
jne 0x72b6
leaq 0x5cec(%rip), %rsi      # 0xcf92
movl $0x1e, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xa2c8
movl 0xf8(%rbx), %edx
movl %ecx, 0xf4(%rbx)
movl %edx, 0x100(%rbx,%rax,4)
movl 0xf0(%rbx), %eax
movslq 0xf4(%rbx), %rcx
movl %eax, 0x140(%rbx,%rcx,4)
cmpl $0x0, 0xf8(%rbx)
je 0x7306
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x5037
leaq 0x15c3a(%rip), %rax     # 0x1cf30
xorl %ecx, %ecx
cmpl $0x0, (%rax)
setne %cl
movl %ecx, 0xf8(%rbx)
jmp 0x730b
movl $0x1, %ebp
movl %ebp, 0xf0(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_switch
int p_switch(int d)
{
  int32_t l;

  if ( Current.switchCnt ) return Error(SWITCH_ERR,"");

  if ( NeedConst( &l, "SWITCH") ) return 1;

  Current.switchCnt++;
  Current.switchValue = l;
  Current.switchFlag = 0;
  Current.switchCaseMatch = 0;
  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0xd278(%rip), %rbx      # 0x14608
cmpl $0x0, 0x184(%rbx)
je 0x73af
leaq 0x5bf2(%rip), %rsi      # 0xcf92
movl $0x21, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa2c8
leaq 0x5e9e(%rip), %rsi      # 0xd254
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x73ea
incl 0x184(%rbx)
movslq 0xc(%rsp), %rax
movq %rax, 0x190(%rbx)
movq $0x0, 0x188(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_case
int p_case(int d)
{
  int32_t l;

  if ( !Current.switchCnt ) return Error(CASE_ERR,"");

  if ( NeedConst( &l , "CASE") ) return 1;

  Current.switchFlag = (l == Current.switchValue);

  Current.switchCaseMatch |= Current.switchFlag;

  // printf("case: %d %d\n",Current.switchFlag,Current.switchCaseMatch);

  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0xd20c(%rip), %rbx      # 0x14608
cmpl $0x0, 0x184(%rbx)
je 0x7446
leaq 0x5e4f(%rip), %rsi      # 0xd25b
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x7440
movslq 0xc(%rsp), %rax
xorl %ecx, %ecx
cmpq %rax, 0x190(%rbx)
sete %cl
movl %ecx, 0x188(%rbx)
orl %ecx, 0x18c(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
leaq 0x5b45(%rip), %rsi      # 0xcf92
movl $0x22, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa2c8
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_align
int p_align(int d)
{
  int32_t l1,l;
  if ( !(l = d) ){
    l = 2;
    KillSpace();
    if ( atom ){
      if ( NeedConst( &l,"ALIGN") ) return 1;
    }
  }
  l1 = l - ((int32_t)Global.pc) % l;
  if ( l != l1 ) writeSameBytes( 0, l1);

  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl %edi, 0xc(%rsp)
testl %edi, %edi
je 0x74f5
movl 0xc(%rsp), %esi
leaq 0xced1(%rip), %rax      # 0x143b0
movl (%rax), %eax
cltd
idivl %esi
testl %edx, %edx
je 0x752c
subl %edx, %esi
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x3459
jmp 0x752e
movl $0x2, 0xc(%rsp)
xorl %eax, %eax
callq 0x5037
leaq 0x15a25(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
je 0x74d4
leaq 0x5d49(%rip), %rsi      # 0xd260
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl $0x1, %ebx
testl %eax, %eax
jne 0x752e
jmp 0x74d4
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_rept
int p_rept(int d)
{
  int32_t l;

  if ( Current.rept ) return Error(REPT1_ERR,"");

  if ( NeedConst( &l , "REPT") ) return 1;

  if ( l <= 0 ) return Error(REPT2_ERR,"");

  Current.reptValue = l;
  Current.reptStart = Current.SrcPtr;
  Current.reptLine = Current.Line;
  Current.rept++;
  return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
leaq 0xced1(%rip), %rbx      # 0x14608
cmpl $0x0, 0x1a8(%rbx)
je 0x7756
leaq 0x584b(%rip), %rsi      # 0xcf92
movl $0x24, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa2c8
leaq 0x5b44(%rip), %rsi      # 0xd2a1
leaq 0xc(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x77b4
movslq 0xc(%rsp), %rax
testq %rax, %rax
jle 0x77a3
movq %rax, 0x1b0(%rbx)
movq 0x198(%rbx), %rax
movq %rax, 0x1a0(%rbx)
movl (%rbx), %eax
movl %eax, 0x1b8(%rbx)
incl 0x1a8(%rbx)
xorl %eax, %eax
jmp 0x77b4
leaq 0x57e8(%rip), %rsi      # 0xcf92
movl $0x25, %edi
callq 0xa2c8
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_endr
int p_endr(int d)
{
  if ( ! Current.rept ) return Error(REPT2_ERR,"");

  if ( --Current.reptValue ){
    Current.SrcPtr = Current.reptStart;
    Current.Line = Current.reptLine;
  } else {
    Current.rept--;
  }

  return 0;
}

// Assembly:
leaq 0xce47(%rip), %rax      # 0x14608
movl 0x1a8(%rax), %ecx
testl %ecx, %ecx
je 0x77ec
decq 0x1b0(%rax)
je 0x77fd
movq 0x1a0(%rax), %rcx
movq %rcx, 0x198(%rax)
movl 0x1b8(%rax), %ecx
movl %ecx, (%rax)
jmp 0x7805
leaq 0x579f(%rip), %rsi      # 0xcf92
movl $0x25, %edi
jmp 0xa2c8
decl %ecx
movl %ecx, 0x1a8(%rax)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_ibytes
int p_ibytes(int d)
{
  int32_t offset = 0;

  if ( GetFileName() ) return 1;

  if ( TestAtom(',') ){
    if ( NeedConst( &offset ,"IBYTES" ) ) return 1;
  }

  if ( Global.genesis ){
    long len;

    if ( LoadFile(code.Ptr, (long)offset, MAX_CODE_SIZE-code.Size, filename, &len ) ) return 1;

    code.Ptr += len;
    Global.pc += len;
    code.Size += len;
  }
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl $0x0, 0x4(%rsp)
xorl %eax, %eax
callq 0x51dd
movl $0x1, %ebx
testl %eax, %eax
je 0x7835
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
je 0x7858
leaq 0x59d7(%rip), %rsi      # 0xd221
leaq 0x4(%rsp), %rdi
callq 0x9ee6
testl %eax, %eax
jne 0x7829
leaq 0xcb51(%rip), %r14      # 0x143b0
xorl %ebx, %ebx
cmpl $0x0, 0x14(%r14)
je 0x7829
leaq 0xcd61(%rip), %r15      # 0x145d0
movq 0x10(%r15), %rdi
movslq 0x4(%rsp), %rsi
movl $0x200000, %edx         # imm = 0x200000
subq 0x8(%r15), %rdx
leaq 0x15268(%rip), %rcx     # 0x1caf0
leaq 0x8(%rsp), %r8
callq 0x39b2
testl %eax, %eax
je 0x789d
movl $0x1, %ebx
jmp 0x7829
movq 0x8(%rsp), %rax
addq %rax, 0x10(%r15)
addl %eax, (%r14)
addq %rax, 0x8(%r15)
jmp 0x7829
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_list
int p_list(int d)
{
  int32_t l;
  if ( NeedConst( &l , "LIST" ) ) return 1;

  if ( l <= 0 ) l = 0;
  if ( l > 3 ) l = 3;
  verbose = l;

  return 0;
}

// Assembly:
pushq %rax
leaq 0x59ec(%rip), %rsi      # 0xd2a6
leaq 0x4(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x78fc
cmpl $0x0, 0x4(%rsp)
jg 0x78de
movl $0x0, 0x4(%rsp)
cmpl $0x4, 0x4(%rsp)
jl 0x78ed
movl $0x3, 0x4(%rsp)
movl 0x4(%rsp), %eax
leaq 0xca84(%rip), %rcx      # 0x1437c
movl %eax, (%rcx)
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_global
int p_global(int d)
{
  label_t label;
  label_t *plabel;
  int32_t l;

  do{

    if ( GetLabel( &label ) ) return 1;

    if ( (plabel = FindLabel( &label, &l)) == NULL ){
      int solved;

      label.type = GLOBAL|UNSOLVED;
      label.value = Global.pc;
      DefineLabel( &label, &solved);
    } else {
      if ( plabel->type & LOCAL ) return Error(SYNTAX_ERR,"");

      plabel->type |= GLOBAL;
    }

  }while (TestAtom(','));

  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
leaq 0x8(%rsp), %rbx
leaq 0x4(%rsp), %r14
leaq 0xca96(%rip), %r12      # 0x143b0
movq %rsp, %r15
movq %rbx, %rdi
callq 0x53a9
testl %eax, %eax
jne 0x7977
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6140
testq %rax, %rax
je 0x7949
movl 0x4(%rax), %ecx
testb $0x2, %cl
jne 0x797e
orl $0x8, %ecx
movl %ecx, 0x4(%rax)
jmp 0x7965
movl $0x88, 0xc(%rsp)
movl (%r12), %eax
movq %rax, 0x10(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5d4f
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
jne 0x791d
xorl %eax, %eax
jmp 0x798f
movl $0x1, %eax
jmp 0x798f
leaq 0x560d(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa2c8
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_unreg
int p_unreg(int d)
{
  label_t label;
  label_t *plabel;
  int32_t l;

  do{
    if ( GetLabel( &label ) ) return 1;

    if ( (plabel = FindLabel( &label, &l)) == NULL ){
      return Error(SYNTAX_ERR,"");
    } else {
      int i,o;

      //      printf("UNREG : %s\n",plabel->name);

      if ( !(plabel->type & REGISTER) ) return Error(SYNTAX_ERR,"");

      if ( plabel->file == -1 ){
        char help[80];
        sprintf(help,"Multiple UNREG on (%s)!",plabel->name);
        Warning(help);
      }

      plabel->file = -1;
      plabel->value = -1;
      o = l;
      i = (int)strlen(plabel->name);
      if ( i > 2 &&
           plabel->name[i-2] == '.' &&
           plabel->name[i-1] == 'a'){
        o += 32;
      }
      --risc[jaguar_mode].regs[o].refCount;
      if ( risc[jaguar_mode].regs[o].refCount == 0 ){
        risc[jaguar_mode].regs[o].flag = 0;
      }
      risc[jaguar_mode].regs[o].line = 0;
      risc[jaguar_mode].regs[o].file = 0;
      risc[jaguar_mode].regs[o].label = NULL;
    }

  }while (TestAtom(','));

  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
leaq 0x68(%rsp), %rbx
leaq 0xc(%rsp), %r14
movq %rbx, %rdi
callq 0x53a9
testl %eax, %eax
jne 0x7df3
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6140
testq %rax, %rax
je 0x7dfa
movq %rax, %r12
movl 0x4(%rax), %r15d
testb $0x40, %r15b
jne 0x7d24
movl $0x12, %edi
leaq 0x527a(%rip), %rsi      # 0xcf92
callq 0xa2c8
movl %eax, %ebp
jmp 0x7dd7
cmpl $-0x1, 0x14(%r12)
jne 0x7d4f
leaq 0x38(%r12), %rdx
leaq 0x10(%rsp), %r13
movq %r13, %rdi
leaq 0x569f(%rip), %rsi      # 0xd3df
xorl %eax, %eax
callq 0x31b0
movq %r13, %rdi
callq 0xa900
movl $0xffffffff, 0x14(%r12) # imm = 0xFFFFFFFF
movq $-0x1, 0x8(%r12)
movl 0xc(%rsp), %r13d
addq $0x38, %r12
movq %r12, %rdi
callq 0x30b0
cmpl $0x3, %eax
jl 0x7d95
movl $0xfffffffe, %edx       # imm = 0xFFFFFFFE
leal (%rax,%rdx), %ecx
cmpb $0x2e, (%r12,%rcx)
jne 0x7d95
addl %edx, %eax
incl %eax
cmpb $0x61, (%r12,%rax)
jne 0x7d95
addl $0x20, %r13d
leaq 0xc858(%rip), %rax      # 0x145f4
movslq (%rax), %rax
movq %rax, %rcx
shlq $0xb, %rcx
leaq (%rcx,%rax,8), %rax
leaq 0xb35f(%rip), %rcx      # 0x13110
addq %rcx, %rax
movslq %r13d, %rcx
shlq $0x5, %rcx
decl 0x18(%rcx,%rax)
jne 0x7dcb
leaq (%rax,%rcx), %rdx
movl $0x0, (%rdx)
xorl %edx, %edx
movq %rdx, 0x4(%rax,%rcx)
movq %rdx, 0x10(%rax,%rcx)
testb $0x40, %r15b
je 0x7e0d
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
jne 0x7cdb
xorl %ebp, %ebp
jmp 0x7e0d
movl $0x1, %ebp
jmp 0x7e0d
leaq 0x5191(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa2c8
movl %eax, %ebp
movl %ebp, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: p_regtop
int p_regtop(int dummy)
{
  int32_t l;
  if ( sourceMode == LYNX ) {
    return Error(SYNTAX_ERR,"REGTOP only in RISC modes");
  }
  if ( NeedConst( &l, "REGTOP") ) return 1;

  if ( (l < 0 || l > 31) ) Error(REG_ERR,"");

  risc[jaguar_mode].regAllocStart = l;

  return 0;
}

// Assembly:
leaq 0xc624(%rip), %rax      # 0x145f0
cmpl $0x1, (%rax)
jne 0x7fe2
leaq 0x52f0(%rip), %rsi      # 0xd2c8
movl $0x12, %edi
jmp 0xa2c8
pushq %rax
leaq 0x52f8(%rip), %rsi      # 0xd2e2
leaq 0x4(%rsp), %rdi
callq 0x9ee6
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x8040
cmpl $0x20, 0x4(%rsp)
jb 0x8017
leaq 0x4f85(%rip), %rsi      # 0xcf92
movl $0x2c, %edi
callq 0xa2c8
movl 0x4(%rsp), %eax
leaq 0xc5d2(%rip), %rcx      # 0x145f4
movslq (%rcx), %rcx
movq %rcx, %rdx
shlq $0xb, %rdx
leaq (%rdx,%rcx,8), %rcx
leaq 0xb0d9(%rip), %rdx      # 0x13110
movl %eax, 0x800(%rdx,%rcx)
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/pseudo.c
// Function: CheckPseudo
int CheckPseudo(char *s)
{
  int (*fun)(int );
  int para;

  if ( SearchOpcode2(pseudo, s, &fun, &para) < 0 )
    return -1;

  if ( Current.Macro.Define ){
    if ( (fun == p_macro) || (fun == p_endm) ) return fun(para);
    killLine();
    return 0;
  }

  if ( !Current.ifFlag ){
    if ( ((fun == p_if) || (fun == p_ifdef) ||
          (fun == p_ifundef) || (fun == p_ifvar)) ||
         ((fun == p_else) || (fun == p_endif)) )
    {
      return fun(para);
    }
    killLine();
    return 0;
  }

  if ( !Current.switchFlag ){
    if ( (fun == p_switch) || (fun == p_case) ||
         (fun == p_default) || (fun == p_ends) )
    {
      return fun(para);
    }
    killLine();
    return 0;
  }

  return fun(para);

}

// Assembly:
subq $0x18, %rsp
movq %rdi, %rsi
leaq 0x8f6d(%rip), %rdi      # 0x11000
leaq 0x10(%rsp), %rdx
leaq 0xc(%rsp), %rcx
callq 0x671a
testl %eax, %eax
js 0x80db
leaq 0xc55b(%rip), %rax      # 0x14608
cmpl $0x0, 0xc(%rax)
je 0x80e5
movq 0x10(%rsp), %rax
leaq -0x17b7(%rip), %rcx     # 0x6908
cmpq %rcx, %rax
setne %cl
leaq -0x1795(%rip), %rdx     # 0x6937
cmpq %rdx, %rax
setne %dl
testb %dl, %cl
je 0x80fc
jmp 0x8185
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x818c
cmpl $0x0, 0xf8(%rax)
je 0x8107
cmpl $0x0, 0x188(%rax)
movq 0x10(%rsp), %rax
je 0x8151
movl 0xc(%rsp), %edi
callq *%rax
jmp 0x818c
movq 0x10(%rsp), %rax
leaq -0xddf(%rip), %rcx      # 0x7334
cmpq %rcx, %rax
je 0x80fc
leaq -0xe05(%rip), %rcx      # 0x731a
cmpq %rcx, %rax
je 0x80fc
leaq -0xea5(%rip), %rcx      # 0x7286
cmpq %rcx, %rax
je 0x80fc
leaq -0xf5b(%rip), %rcx      # 0x71dc
cmpq %rcx, %rax
je 0x80fc
leaq -0x10bf(%rip), %rcx     # 0x7084
cmpq %rcx, %rax
je 0x80fc
leaq -0x101d(%rip), %rcx     # 0x7132
jmp 0x817c
leaq -0xcc6(%rip), %rcx      # 0x7492
cmpq %rcx, %rax
je 0x80fc
leaq -0xd08(%rip), %rcx      # 0x745c
cmpq %rcx, %rax
je 0x80fc
leaq -0xdec(%rip), %rcx      # 0x7384
cmpq %rcx, %rax
je 0x80fc
leaq -0xd8c(%rip), %rcx      # 0x73f0
cmpq %rcx, %rax
je 0x80fc
callq 0x5192
xorl %eax, %eax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/mnemonics.c
// Function: opa
int opa(int op)
{
  int err;
  int32_t l;

  KillSpace();
  if ( !atom || op == 0x1a || op == 0x3a ){
    op |= 8;
    if ( op >= 0xca ) op ^= 0xf0;
    writeConstByte(op);
    CYCLES += 2;
    return 0;
  }

  if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
  if ( l < 0 || l > 65535 ) return Error(WORD_ERR,"");

  CYCLES += 5;
  op |= 0x04;
  if ( l > 255 || err == EXPR_UNSOLVED || Current.pass2 ){
    ++CYCLES;
    op |= 0x0a;
    if ( TestAtom(',') ){
      if ( !TestAtomOR('x','X') ) return Error(SYNTAX_ERR,"");
      op |= 0x10;
    }
    writeConstByte(op);
    writeWordLittle((short)l);
  } else {
    if ( TestAtom(',') ){
      if ( !TestAtomOR('x','X') ) return Error(SYNTAX_ERR,"");
      op |= 0x10;
      ++CYCLES;
    }
    writeConstByte(op);
    writeByte((char)l);
  }
  if ( err == EXPR_UNSOLVED ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x5037
movl %ebx, %eax
andl $-0x21, %eax
cmpl $0x1a, %eax
je 0x8568
leaq 0x14a02(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
je 0x8568
leaq 0xc(%rsp), %rdi
callq 0x9e70
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x8590
cmpl $0x10000, 0xc(%rsp)     # imm = 0x10000
jb 0x859c
leaq 0x4a39(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
callq 0xa2c8
movl %eax, %r14d
jmp 0x8590
orl $0x8, %ebx
movl %ebx, %eax
xorl $0xf0, %eax
cmpl $0xca, %ebx
cmovll %ebx, %eax
movsbl %al, %edi
callq 0x3348
leaq 0xc24e(%rip), %rax      # 0x147d8
movq (%rax), %rax
addl $0x2, (%rax)
movl %r14d, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl %eax, %ebp
leaq 0xc233(%rip), %r14      # 0x147d8
movq (%r14), %rax
movl (%rax), %ecx
leal 0x5(%rcx), %edx
movl %edx, (%rax)
cmpl $0x2, %ebp
je 0x85f9
cmpl $0xff, 0xc(%rsp)
jg 0x85f9
leaq 0xc043(%rip), %rdx      # 0x14608
cmpl $0x0, 0xe4(%rdx)
jne 0x85f9
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
je 0x864c
movl $0x78, %edi
movl $0x58, %esi
callq 0x5083
testl %eax, %eax
je 0x8624
orl $0x14, %ebx
movq (%r14), %rax
incl (%rax)
jmp 0x864f
addl $0x6, %ecx
movl %ecx, (%rax)
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
je 0x8635
movl $0x78, %edi
movl $0x58, %esi
callq 0x5083
testl %eax, %eax
je 0x8624
orl $0x1e, %ebx
jmp 0x8638
leaq 0x4967(%rip), %rsi      # 0xcf92
movl $0x12, %edi
jmp 0x855e
orl $0xe, %ebx
movsbl %bl, %edi
callq 0x3348
movswl 0xc(%rsp), %edi
callq 0x353c
jmp 0x8661
orl $0x4, %ebx
movsbl %bl, %edi
callq 0x3348
movsbl 0xc(%rsp), %edi
callq 0x33fe
xorl %r14d, %r14d
cmpl $0x2, %ebp
jne 0x8590
xorl %r14d, %r14d
xorl %eax, %eax
callq 0xa204
jmp 0x8590
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/mnemonics.c
// Function: ope
int ope(int op)
{
  int32_t l;
  int32_t dst;
  int err_l;
  int err_dst;

  err_l = Expression(&l);

  if ( err_l == EXPR_ERR) return 1;

  if ( l < 0 || l > 255 ) return Error(BYTE_ERR,"");

  if ( !TestAtom(',') ) return Error(SYNTAX_ERR,"");

  err_dst = Expression(&dst);
  if ( err_dst == EXPR_OK ){
    int dist = dst - Global.pc - 3;
    if ( dist > 127 || dist < -128 )return Error(DISTANCE_ERR,"");
    writeConstByte(op);
    writeByte((char)l);
    writeConstByte((char)dist);
  } else {
    saveCurrentLine();
    writeConstByte(op);
    writeByte((char)l);
    writeConstByte(0);
  }

  CYCLES += 5;

  if ( err_l == EXPR_UNSOLVED && err_dst != EXPR_UNSOLVED ) saveCurrentLine();

  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edi, %r14d
leaq 0x8(%rsp), %rdi
callq 0x9e70
movl $0x1, %r15d
cmpl $0x11, %eax
je 0x870f
cmpl $0x100, 0x8(%rsp)       # imm = 0x100
jb 0x86b8
leaq 0x48e1(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
jmp 0x8707
movl %eax, %ebx
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
je 0x86fb
leaq 0xc(%rsp), %rdi
callq 0x9e70
movl %eax, %ebp
testl %eax, %eax
je 0x871f
xorl %eax, %eax
callq 0xa204
movsbl %r14b, %edi
callq 0x3348
movsbl 0x8(%rsp), %edi
callq 0x33fe
xorl %edi, %edi
callq 0x3348
jmp 0x877a
leaq 0x4890(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa2c8
movl %eax, %r15d
movl %r15d, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl 0xc(%rsp), %r15d
leaq 0xbc85(%rip), %rax      # 0x143b0
subl (%rax), %r15d
leal 0x7d(%r15), %r12d
cmpl $0x100, %r12d           # imm = 0x100
jae 0x875d
movsbl %r14b, %edi
callq 0x3348
movsbl 0x8(%rsp), %edi
callq 0x33fe
addb $-0x3, %r15b
movsbl %r15b, %edi
callq 0x3348
jmp 0x8771
leaq 0x482e(%rip), %rsi      # 0xcf92
movl $0x16, %edi
callq 0xa2c8
movl %eax, %r15d
cmpl $0x100, %r12d           # imm = 0x100
jae 0x870f
leaq 0xc057(%rip), %rax      # 0x147d8
movq (%rax), %rax
addl $0x5, (%rax)
cmpl $0x2, %ebx
setne %al
cmpl $0x2, %ebp
sete %cl
xorl %r15d, %r15d
orb %al, %cl
jne 0x870f
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xa204
jmp 0x870f
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/mnemonics.c
// Function: op1
int op1(int op)
{
  int32_t l;
  int err;

  if ( (err = Expression(&l)) == EXPR_ERR) return 1;

  if ( err == EXPR_OK ){
    int dist = l - Global.pc - 2;
    if ( dist > 127 || dist < -128 )return Error(DISTANCE_ERR,"");
    writeConstByte(op);
    writeConstByte((char)dist);
  } else {
    saveCurrentLine();
    writeConstByte(op);
    writeConstByte(0);
  }
  CYCLES += 2;
  if ( (l & ~255) != ( Global.pc & ~255) ) ++CYCLES;
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
leaq 0xc(%rsp), %rdi
callq 0x9e70
cmpl $0x11, %eax
je 0x87fc
testl %eax, %eax
jne 0x8803
movl 0xc(%rsp), %r14d
leaq 0xbbda(%rip), %rax      # 0x143b0
subl (%rax), %r14d
leal 0x7e(%r14), %ebp
cmpl $0x100, %ebp            # imm = 0x100
jae 0x881b
movsbl %bl, %edi
callq 0x3348
addb $-0x2, %r14b
movsbl %r14b, %edi
callq 0x3348
jmp 0x882c
movl $0x1, %eax
jmp 0x8861
xorl %eax, %eax
callq 0xa204
movsbl %bl, %edi
callq 0x3348
xorl %edi, %edi
callq 0x3348
jmp 0x8834
leaq 0x4770(%rip), %rsi      # 0xcf92
movl $0x16, %edi
callq 0xa2c8
cmpl $0x100, %ebp            # imm = 0x100
jae 0x8861
leaq 0xbf9d(%rip), %rax      # 0x147d8
movq (%rax), %rcx
movl (%rcx), %edx
leal 0x2(%rdx), %eax
movl %eax, (%rcx)
leaq 0xbb64(%rip), %rax      # 0x143b0
movl (%rax), %esi
xorl 0xc(%rsp), %esi
xorl %eax, %eax
cmpl $0x100, %esi            # imm = 0x100
jb 0x8861
addl $0x3, %edx
movl %edx, (%rcx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/mnemonics.c
// Function: opd
int opd(int op)
{
  int err;
  int32_t l;

  if ( !TestAtom('#') ) return Error(SYNTAX_ERR,"");

  if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
  if ( l < -128 || l > 255 ) return Error(BYTE_ERR,"");
  writeConstByte(op);
  writeByte((char)l);
  if ( err == EXPR_UNSOLVED ) saveCurrentLine();
  CYCLES += 7;
  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
movl $0x23, %edi
callq 0x4fa3
testl %eax, %eax
je 0x8a70
leaq 0x4(%rsp), %rdi
callq 0x9e70
movl %eax, %ebp
movl $0x1, %eax
cmpl $0x1, %ebp
je 0x8ab4
movl $0xffffff00, %eax       # imm = 0xFFFFFF00
addl 0x4(%rsp), %eax
cmpl $0xfffffe7f, %eax       # imm = 0xFFFFFE7F
ja 0x8a87
leaq 0x452e(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
callq 0xa2c8
jmp 0x8ab4
leaq 0x451b(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xa2c8
movsbl %bl, %edi
callq 0x3348
movsbl 0x4(%rsp), %edi
callq 0x33fe
cmpl $0x2, %ebp
jne 0x8aa5
xorl %eax, %eax
callq 0xa204
leaq 0xbd2c(%rip), %rax      # 0x147d8
movq (%rax), %rax
addl $0x7, (%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/mnemonics.c
// Function: op0
int op0(int op)
{
  writeConstByte( (char) op );
  CYCLES += 2;
  if ( op == 0x48 || op == 0xda || op == 0x5a || op == 0x08 ) ++CYCLES;
  if ( op == 0x68 || op == 0xfa || op == 0x7a || op == 0x28 ) CYCLES += 2;
  if ( op == 0x40 || op == 0x66 ) CYCLES += 6;
  return 0;
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movsbl %bl, %edi
callq 0x3348
leaq 0xbd0b(%rip), %rax      # 0x147d8
movq (%rax), %rax
movl (%rax), %ecx
leal 0x2(%rcx), %edx
movl %edx, (%rax)
cmpl $0x65, %ebx
jg 0x8af2
cmpl $0x3f, %ebx
jle 0x8b0e
cmpl $0x40, %ebx
je 0x8b60
cmpl $0x48, %ebx
je 0x8b1a
cmpl $0x5a, %ebx
je 0x8b1a
jmp 0x8b63
cmpl $0x79, %ebx
jle 0x8b35
cmpl $0x7a, %ebx
je 0x8b53
cmpl $0xfa, %ebx
je 0x8b53
cmpl $0xda, %ebx
je 0x8b1a
jmp 0x8b63
cmpl $0x8, %ebx
je 0x8b1a
cmpl $0x28, %ebx
je 0x8b53
jmp 0x8b63
addl $0x3, %ecx
movl %ecx, (%rax)
cmpl $0x67, %ebx
jg 0x8b41
cmpl $0x28, %ebx
je 0x8b53
cmpl $0x40, %ebx
je 0x8b60
cmpl $0x66, %ebx
je 0x8b60
jmp 0x8b63
cmpl $0x66, %ebx
je 0x8b60
cmpl $0x68, %ebx
je 0x8b53
jmp 0x8b63
cmpl $0x68, %ebx
je 0x8b53
cmpl $0xfa, %ebx
je 0x8b53
cmpl $0x7a, %ebx
jne 0x8b63
addl $0x2, (%rax)
cmpl $0x66, %ebx
je 0x8b60
cmpl $0x40, %ebx
jne 0x8b63
addl $0x6, (%rax)
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/42Bastian[P]lyxass/mnemonics.c
// Function: op9
int op9(int op)
{
  int err;
  int32_t l;
  int flag = 0;
  int brace = 0;

  if ( TestAtom('#') ){

    if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
    if ( l < -128 || l > 255 ) return Error(BYTE_ERR,"");
    CYCLES += 2;
    writeConstByte(op);
    writeByte((char)l);
  } else {
    brace = atom == '(';
    if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
    if ( brace && last_atom == ')' ){
      Warning("LDX (n) translates to LDX n\n");
    }

    if ( l < 0 || l > 65535 ) return Error(WORD_ERR,"");
    CYCLES += 3;
    op |= 0x04;
    if ( l > 255 || err == EXPR_UNSOLVED || Current.pass2 ){
      op |= 0x08;
      flag = 1;
      ++CYCLES;
    }
    if ( TestAtom(',') ){
      if ( !TestAtomOR('y','Y') ) return Error(SYNTAX_ERR,"");
      op |= 0x10;
      ++CYCLES;
    }

    writeConstByte(op);
    if ( flag ){
      writeWordLittle((short)l);
    } else {
      writeByte((char)l);
    }
  }
  if ( err == EXPR_UNSOLVED ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebp
movl $0x23, %edi
callq 0x4fa3
testl %eax, %eax
je 0x8bb7
leaq 0x4(%rsp), %rdi
callq 0x9e70
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x8c48
movl %eax, %ebx
movl $0xffffff00, %eax       # imm = 0xFFFFFF00
addl 0x4(%rsp), %eax
cmpl $0xfffffe7f, %eax       # imm = 0xFFFFFE7F
ja 0x8c16
leaq 0x43e2(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
jmp 0x8c0c
leaq 0x14372(%rip), %rax     # 0x1cf30
movl (%rax), %r15d
leaq 0x4(%rsp), %rdi
callq 0x9e70
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x8c48
movl %eax, %ebx
cmpl $0x28, %r15d
jne 0x8bf6
leaq 0x1434f(%rip), %rax     # 0x1cf34
cmpl $0x29, (%rax)
jne 0x8bf6
leaq 0x4896(%rip), %rdi      # 0xd487
callq 0xa900
cmpl $0x10000, 0x4(%rsp)     # imm = 0x10000
jb 0x8c56
leaq 0x438b(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
callq 0xa2c8
movl %eax, %r14d
jmp 0x8c48
leaq 0xbbbb(%rip), %rax      # 0x147d8
movq (%rax), %rax
addl $0x2, (%rax)
movsbl %bpl, %edi
callq 0x3348
movsbl 0x4(%rsp), %edi
callq 0x33fe
xorl %r14d, %r14d
cmpl $0x2, %ebx
jne 0x8c48
xorl %r14d, %r14d
xorl %eax, %eax
callq 0xa204
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xbb7b(%rip), %r15      # 0x147d8
movq (%r15), %rax
movl (%rax), %ecx
leal 0x3(%rcx), %edx
movl %edx, (%rax)
cmpl $0x100, 0x4(%rsp)       # imm = 0x100
setl %dl
cmpl $0x2, %ebx
setne %sil
andb %dl, %sil
leaq 0xb985(%rip), %rdx      # 0x14608
cmpl $0x0, 0xe4(%rdx)
sete %r14b
andb %sil, %r14b
je 0x8c98
orl $0x4, %ebp
jmp 0x8ca0
orl $0xc, %ebp
addl $0x4, %ecx
movl %ecx, (%rax)
movl $0x2c, %edi
callq 0x4fa3
testl %eax, %eax
je 0x8cc9
movl $0x79, %edi
movl $0x59, %esi
callq 0x5083
testl %eax, %eax
je 0x8cf0
orl $0x10, %ebp
movq (%r15), %rax
incl (%rax)
movsbl %bpl, %edi
callq 0x3348
movl 0x4(%rsp), %eax
testb %r14b, %r14b
je 0x8ce3
movsbl %al, %edi
jmp 0x8c31
movswl %ax, %edi
callq 0x353c
jmp 0x8c36
leaq 0x429b(%rip), %rsi      # 0xcf92
movl $0x12, %edi
jmp 0x8c0c