LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/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 0x4ff7
leaq 0x1661d(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6a33
leaq 0x11(%rsp), %r13
leaq 0x17298(%rip), %r14     # 0x1dbc0
leaq 0x10(%rsp), %r15
movl $0x22, %edi
callq 0x4fa8
testl %eax, %eax
je 0x697b
movq %r15, %rdi
movl $0x22, %esi
callq 0x50b3
testl %eax, %eax
je 0x6a62
testl %ebx, %ebx
sete %cl
movb 0x10(%rsp), %al
testb %al, %al
sete %dl
orb %cl, %dl
jne 0x69c7
movq %r13, %rcx
movsbq %al, %rax
movb (%rax,%r14), %al
movb %al, -0x1(%rcx)
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x6965
jmp 0x69c7
movl $0x27, %edi
callq 0x4fa8
testl %eax, %eax
je 0x69ed
movq %r15, %rdi
movl $0x27, %esi
callq 0x50b3
testl %eax, %eax
je 0x6a6b
testl %ebx, %ebx
sete %cl
movb 0x10(%rsp), %al
testb %al, %al
sete %dl
orb %cl, %dl
jne 0x69c7
movq %r13, %rcx
movsbq %al, %rax
movb (%rax,%r14), %al
movb %al, -0x1(%rcx)
movb (%rcx), %al
incq %rcx
testb %al, %al
jne 0x69b3
movq %r15, %rdi
callq 0x30b0
movq %r15, %rdi
movl %eax, %esi
callq 0x34dd
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
jne 0x692d
jmp 0x6a52
leaq 0xc(%rsp), %rdi
callq 0x9d6c
cmpl $0x2, %eax
je 0x6a05
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6a08
jmp 0x6a7e
incl %r12d
movl 0xc(%rsp), %eax
leal -0x100(%rax), %ecx
cmpl $0xfffffe7f, %ecx       # imm = 0xFFFFFE7F
jbe 0x6a8f
testl %ebx, %ebx
je 0x6a29
cltq
movsbl (%rax,%r14), %eax
movl %eax, 0xc(%rsp)
movsbl %al, %edi
callq 0x340b
jmp 0x69d9
leaq 0x6823(%rip), %rsi      # 0xd25d
movl $0x12, %edi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa1d8
xorl %ebp, %ebp
testl %r12d, %r12d
je 0x6a7e
xorl %eax, %eax
callq 0xa118
jmp 0x6a7e
leaq 0x6803(%rip), %rsi      # 0xd26c
jmp 0x6a72
leaq 0x6806(%rip), %rsi      # 0xd278
movl $0x12, %edi
callq 0xa1d8
movl %eax, %ebp
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x64fc(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
jmp 0x6a77
// File: /workspace/github_c_makefile_star2_O3/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 0x4ff7
leaq 0x1647b(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6b27
leaq 0x4(%rsp), %rbx
movl $0xffff0000, %r15d      # imm = 0xFFFF0000
movq %rbx, %rdi
callq 0x9d6c
cmpl $0x2, %eax
je 0x6adb
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6ade
jmp 0x6b55
incl %r14d
movl 0x4(%rsp), %eax
addl %r15d, %eax
cmpl $0xfffe7fff, %eax       # imm = 0xFFFE7FFF
jbe 0x6b42
callq 0x93f4
movswl 0x4(%rsp), %edi
cmpl $0x4321, %eax           # imm = 0x4321
jne 0x6b04
callq 0x355d
jmp 0x6b09
callq 0x35cf
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
jne 0x6ac5
xorl %ebp, %ebp
testl %r14d, %r14d
je 0x6b55
xorl %eax, %eax
callq 0xa118
jmp 0x6b55
leaq 0x6464(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xa1d8
leaq 0x6449(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
callq 0xa1d8
movl %eax, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x4ff7
leaq 0x163b5(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6be1
leaq 0xc(%rsp), %rbx
movq %rbx, %rdi
callq 0x9d6c
cmpl $0x2, %eax
je 0x6b9b
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6b9e
jmp 0x6bd6
incl %r14d
callq 0x93f4
movl 0xc(%rsp), %edi
cmpl $0x4321, %eax           # imm = 0x4321
jne 0x6bb5
callq 0x3641
jmp 0x6bba
callq 0x36e7
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
jne 0x6b85
xorl %ebp, %ebp
testl %r14d, %r14d
je 0x6bd6
xorl %eax, %eax
callq 0xa118
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x63aa(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0xa1d8
// File: /workspace/github_c_makefile_star2_O3/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 0x4ff7
leaq 0x1631d(%rip), %rax     # 0x1cf30
cmpl $-0x1, (%rax)
je 0x6c7a
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x9c1d
cmpl $0x2, %eax
je 0x6c33
movl %eax, %ebp
cmpl $0x1, %eax
jne 0x6c36
jmp 0x6c6f
incl %r14d
callq 0x93f4
movq 0x8(%rsp), %rdi
cmpl $0x4321, %eax           # imm = 0x4321
jne 0x6c4e
callq 0x378f
jmp 0x6c53
callq 0x38a4
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
jne 0x6c1d
xorl %ebp, %ebp
testl %r14d, %r14d
je 0x6c6f
xorl %eax, %eax
callq 0xa118
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x6311(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0xa1d8
// File: /workspace/github_c_makefile_star2_O3/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 0x65f2(%rip), %rsi      # 0xd291
leaq 0x4(%rsp), %rdi
callq 0x9de2
movl $0x1, %ebp
testl %eax, %eax
jne 0x6cc2
imull 0x4(%rsp), %ebx
xorl %ebp, %ebp
xorl %edi, %edi
movl %ebx, %esi
callq 0x3466
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xd6d1(%rip), %r15      # 0x143b0
cmpl $0x40, 0xc(%r15)
jne 0x6d04
leaq 0x62a5(%rip), %rsi      # 0xcf92
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xa1d8
xorl %eax, %eax
callq 0x516b
testl %eax, %eax
je 0x6d22
movl $0x1, %eax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
callq 0x4ff7
leaq 0x16200(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
je 0x6d43
leaq 0x160e4(%rip), %rsi     # 0x1ce20
movl $0x18, %edi
jmp 0x6cf2
xorl %eax, %eax
callq 0x5ccb
leaq 0xd8b7(%rip), %rbx      # 0x14608
leaq 0x8(%rsp), %r14
movl $0x1c0, %edx            # imm = 0x1C0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3150
incl 0xc(%r15)
leaq 0x15d7f(%rip), %rdi     # 0x1caf0
callq 0x4820
movl 0xc(%r15), %eax
movl %eax, 0x4(%rbx)
xorl %edi, %edi
callq 0x42bd
movl %eax, %ebp
movl $0x1c0, %edx            # imm = 0x1C0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3150
movl %ebp, %eax
jmp 0x6d14
// File: /workspace/github_c_makefile_star2_O3/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 0x516b
movl $0x1, %ebx
testl %eax, %eax
jne 0x6e1b
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
je 0x6df5
leaq 0x64a4(%rip), %rsi      # 0xd284
leaq 0x4(%rsp), %rdi
callq 0x9de2
testl %eax, %eax
jne 0x6e1b
movslq 0x4(%rsp), %rsi
jmp 0x6df7
xorl %esi, %esi
leaq 0x16dc2(%rip), %rdi     # 0x1dbc0
leaq 0x15ceb(%rip), %rcx     # 0x1caf0
leaq 0x8(%rsp), %r8
movl $0x100, %edx            # imm = 0x100
callq 0x39d3
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x4ff7
leaq 0x15cbc(%rip), %rdi     # 0x1caf0
movl $0x200, %edx            # imm = 0x200
xorl %esi, %esi
callq 0x30d0
leaq 0x160e9(%rip), %rax     # 0x1cf30
movl (%rax), %eax
cmpl $0x22, %eax
je 0x6e6a
testl %eax, %eax
jne 0x6f14
leaq 0xd553(%rip), %rax      # 0x143b0
movb $0x0, 0x20(%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x4f1a
leaq 0x15c7a(%rip), %rdi     # 0x1caf0
movl $0x22, %esi
callq 0x50b3
testl %eax, %eax
je 0x6f1d
leaq 0x15c61(%rip), %rbx     # 0x1caf0
movq %rbx, %rdi
callq 0x30b0
testl %eax, %eax
je 0x6ebe
shlq $0x20, %rax
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
addq %rax, %rcx
sarq $0x20, %rcx
cmpb $0x2f, (%rbx,%rcx)
je 0x6ebe
sarq $0x20, %rax
movb $0x2f, (%rbx,%rax)
leaq 0xd4eb(%rip), %rbx      # 0x143b0
leaq 0x20(%rbx), %rdi
leaq 0x15c20(%rip), %rsi     # 0x1caf0
callq 0x31a0
leaq 0xd724(%rip), %rax      # 0x14600
cmpl $0x0, (%rax)
je 0x6e61
movb 0x20(%rbx), %bpl
testb %bpl, %bpl
je 0x6e61
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 0x6ef7
jmp 0x6e61
leaq 0x6077(%rip), %rsi      # 0xcf92
jmp 0x6f24
leaq 0x6348(%rip), %rsi      # 0xd26c
movl $0x12, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xa1d8
// File: /workspace/github_c_makefile_star2_O3/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 0x6356(%rip), %rsi      # 0xd296
leaq 0xc(%rsp), %rdi
callq 0x9de2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x6fa6
leaq 0xd6ac(%rip), %rbx      # 0x14608
cmpl $0x0, 0x28(%rbx)
jne 0x6f73
leaq 0x6029(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa1d8
movl 0x2c(%rbx), %ecx
testb $0x40, %cl
je 0x6f8f
leaq 0x6318(%rip), %rsi      # 0xd29a
movl $0x12, %edi
callq 0xa1d8
movl 0x2c(%rbx), %ecx
xorl %eax, %eax
testb $0x10, %cl
jne 0x6fa6
movslq 0xc(%rsp), %rcx
movq 0x88(%rbx), %rdx
movq %rcx, 0x8(%rdx)
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x62fe(%rip), %rsi      # 0xd2b6
leaq 0xc(%rsp), %rdi
callq 0x9de2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x701e
leaq 0xd634(%rip), %rbx      # 0x14608
cmpl $0x0, 0x28(%rbx)
jne 0x6feb
leaq 0x5fb1(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa1d8
testb $0x40, 0x2c(%rbx)
je 0x7002
leaq 0x62a2(%rip), %rsi      # 0xd29a
movl $0x12, %edi
callq 0xa1d8
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_O3/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 0xd5d8(%rip), %rbx      # 0x14608
movslq 0xf4(%rbx), %rax
leal 0x1(%rax), %ecx
cmpl $0x10, %ecx
jne 0x7055
leaq 0x5f4c(%rip), %rsi      # 0xcf92
movl $0x1e, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa1d8
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 0x70bf
movl $0x23, %edi
callq 0x4fa8
leaq 0x6224(%rip), %rsi      # 0xd2ba
leaq 0xc(%rsp), %rdi
callq 0x9de2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x70cc
xorl %eax, %eax
cmpl $0x0, 0xc(%rsp)
setne %al
movl %eax, 0xf8(%rbx)
xorl %eax, %eax
jmp 0x70c4
movl $0x1, %eax
movl %eax, 0xf0(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xd52a(%rip), %rbx      # 0x14608
movslq 0xf4(%rbx), %rax
leal 0x1(%rax), %ecx
cmpl $0x10, %ecx
jne 0x7103
leaq 0x5e9e(%rip), %rsi      # 0xcf92
movl $0x1e, %edi
addq $0x70, %rsp
popq %rbx
jmp 0xa1d8
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 0x7169
leaq 0x10(%rsp), %rdi
callq 0x52f1
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x7176
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x60dc
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, 0xf8(%rbx)
xorl %eax, %eax
jmp 0x716e
movl $0x1, %eax
movl %eax, 0xf0(%rbx)
xorl %eax, %eax
addq $0x70, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xd3d8(%rip), %rbx      # 0x14608
movslq 0xf4(%rbx), %rax
leal 0x1(%rax), %ecx
cmpl $0x10, %ecx
jne 0x7256
leaq 0x5d4c(%rip), %rsi      # 0xcf92
movl $0x1e, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xa1d8
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 0x72a6
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x4ff7
leaq 0x15c9a(%rip), %rax     # 0x1cf30
xorl %ecx, %ecx
cmpl $0x0, (%rax)
setne %cl
movl %ecx, 0xf8(%rbx)
jmp 0x72ab
movl $0x1, %ebp
movl %ebp, 0xf0(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xd2d6(%rip), %rbx      # 0x14608
cmpl $0x0, 0x184(%rbx)
je 0x7351
leaq 0x5c50(%rip), %rsi      # 0xcf92
movl $0x21, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa1d8
leaq 0x5f65(%rip), %rsi      # 0xd2bd
leaq 0xc(%rsp), %rdi
callq 0x9de2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x738c
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_O3/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 0xd26a(%rip), %rbx      # 0x14608
cmpl $0x0, 0x184(%rbx)
je 0x73e8
leaq 0x5f16(%rip), %rsi      # 0xd2c4
leaq 0xc(%rsp), %rdi
callq 0x9de2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x73e2
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 0x5ba3(%rip), %rsi      # 0xcf92
movl $0x22, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa1d8
// File: /workspace/github_c_makefile_star2_O3/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, %esi
movl %edi, 0xc(%rsp)
testl %edi, %edi
je 0x7495
leaq 0xcf31(%rip), %rax      # 0x143b0
movl (%rax), %eax
cltd
idivl %esi
testl %edx, %edx
je 0x74d0
subl %edx, %esi
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x3466
jmp 0x74d2
movl $0x2, 0xc(%rsp)
xorl %eax, %eax
callq 0x4ff7
leaq 0x15a85(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
je 0x74da
leaq 0x5e12(%rip), %rsi      # 0xd2c9
leaq 0xc(%rsp), %rdi
callq 0x9de2
movl $0x1, %ebx
testl %eax, %eax
jne 0x74d2
movl 0xc(%rsp), %esi
jmp 0x7478
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
movl $0x2, %esi
jmp 0x7478
// File: /workspace/github_c_makefile_star2_O3/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 0xcf37(%rip), %rbx      # 0x14608
cmpl $0x0, 0x1a8(%rbx)
je 0x76f0
leaq 0x58b1(%rip), %rsi      # 0xcf92
movl $0x24, %edi
addq $0x10, %rsp
popq %rbx
jmp 0xa1d8
leaq 0x5c13(%rip), %rsi      # 0xd30a
leaq 0xc(%rsp), %rdi
callq 0x9de2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x774e
movslq 0xc(%rsp), %rax
testq %rax, %rax
jle 0x773d
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 0x774e
leaq 0x584e(%rip), %rsi      # 0xcf92
movl $0x25, %edi
callq 0xa1d8
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xcead(%rip), %rax      # 0x14608
movl 0x1a8(%rax), %ecx
testl %ecx, %ecx
je 0x7786
decq 0x1b0(%rax)
je 0x7797
movq 0x1a0(%rax), %rcx
movq %rcx, 0x198(%rax)
movl 0x1b8(%rax), %ecx
movl %ecx, (%rax)
jmp 0x779f
leaq 0x5805(%rip), %rsi      # 0xcf92
movl $0x25, %edi
jmp 0xa1d8
decl %ecx
movl %ecx, 0x1a8(%rax)
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x516b
movl $0x1, %ebx
testl %eax, %eax
je 0x77cf
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
je 0x77f2
leaq 0x5aa6(%rip), %rsi      # 0xd28a
leaq 0x4(%rsp), %rdi
callq 0x9de2
testl %eax, %eax
jne 0x77c3
leaq 0xcbb7(%rip), %r14      # 0x143b0
xorl %ebx, %ebx
cmpl $0x0, 0x14(%r14)
je 0x77c3
leaq 0xcdc7(%rip), %r15      # 0x145d0
movq 0x10(%r15), %rdi
movslq 0x4(%rsp), %rsi
movl $0x200000, %edx         # imm = 0x200000
subq 0x8(%r15), %rdx
leaq 0x152ce(%rip), %rcx     # 0x1caf0
leaq 0x8(%rsp), %r8
callq 0x39d3
testl %eax, %eax
je 0x7837
movl $0x1, %ebx
jmp 0x77c3
movq 0x8(%rsp), %rax
addq %rax, 0x10(%r15)
addl %eax, (%r14)
addq %rax, 0x8(%r15)
jmp 0x77c3
// File: /workspace/github_c_makefile_star2_O3/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 0xcb0a(%rip), %r12      # 0x143b0
movq %rsp, %r15
movq %rbx, %rdi
callq 0x52f1
testl %eax, %eax
jne 0x7903
movq %rbx, %rdi
movq %r14, %rsi
callq 0x60dc
testq %rax, %rax
je 0x78d5
movl 0x4(%rax), %ecx
testb $0x2, %cl
jne 0x790a
orl $0x8, %ecx
movl %ecx, 0x4(%rax)
jmp 0x78f1
movl $0x88, 0xc(%rsp)
movl (%r12), %eax
movq %rax, 0x10(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5cf9
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
jne 0x78a9
xorl %eax, %eax
jmp 0x791b
movl $0x1, %eax
jmp 0x791b
leaq 0x5681(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa1d8
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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
leaq 0xc9b9(%rip), %r15      # 0x145f4
leaq 0xb4ce(%rip), %rbp      # 0x13110
movq %rbx, %rdi
callq 0x52f1
testl %eax, %eax
jne 0x7d3e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x60dc
testq %rax, %rax
je 0x7d28
movq %rax, %r13
testb $0x40, 0x4(%rax)
je 0x7d28
cmpl $-0x1, 0x14(%r13)
jne 0x7c9c
leaq 0x38(%r13), %rdx
leaq 0x10(%rsp), %r12
movq %r12, %rdi
leaq 0x57bb(%rip), %rsi      # 0xd448
xorl %eax, %eax
callq 0x31b0
movq %r12, %rdi
callq 0xa81b
movl $0xffffffff, 0x14(%r13) # imm = 0xFFFFFFFF
movq $-0x1, 0x8(%r13)
movl 0xc(%rsp), %r12d
addq $0x38, %r13
movq %r13, %rdi
callq 0x30b0
cmpl $0x3, %eax
jl 0x7ce2
movl $0xfffffffe, %edx       # imm = 0xFFFFFFFE
leal (%rax,%rdx), %ecx
cmpb $0x2e, (%r13,%rcx)
jne 0x7ce2
addl %edx, %eax
incl %eax
cmpb $0x61, (%r13,%rax)
jne 0x7ce2
addl $0x20, %r12d
movslq (%r15), %rax
movq %rax, %rcx
shlq $0xb, %rcx
leaq (%rcx,%rax,8), %rax
addq %rbp, %rax
movslq %r12d, %rcx
shlq $0x5, %rcx
decl 0x18(%rcx,%rax)
jne 0x7d07
movl $0x0, (%rax,%rcx)
xorl %r13d, %r13d
movq %r13, 0x4(%rax,%rcx)
movq %r13, 0x10(%rax,%rcx)
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
jne 0x7c42
jmp 0x7d44
leaq 0x5263(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa1d8
movl %eax, %r13d
jmp 0x7d44
movl $0x1, %r13d
movl %r13d, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xc6e7(%rip), %rax      # 0x145f0
cmpl $0x1, (%rax)
jne 0x7f1f
leaq 0x541c(%rip), %rsi      # 0xd331
movl $0x12, %edi
jmp 0xa1d8
pushq %rax
leaq 0x5424(%rip), %rsi      # 0xd34b
leaq 0x4(%rsp), %rdi
callq 0x9de2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x7f7f
movl 0x4(%rsp), %eax
cmpl $0x20, %eax
jb 0x7f5a
leaq 0x5046(%rip), %rsi      # 0xcf92
movl $0x2c, %edi
callq 0xa1d8
movl 0x4(%rsp), %eax
leaq 0xc693(%rip), %rcx      # 0x145f4
movslq (%rcx), %rcx
movq %rcx, %rdx
shlq $0xb, %rdx
leaq (%rdx,%rcx,8), %rcx
leaq 0xb19a(%rip), %rdx      # 0x13110
movl %eax, 0x800(%rdx,%rcx)
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8fe1(%rip), %rdi      # 0x11000
leaq 0x10(%rsp), %rdx
leaq 0xc(%rsp), %rcx
callq 0x66ae
testl %eax, %eax
js 0x8067
leaq 0xc5cf(%rip), %rax      # 0x14608
cmpl $0x0, 0xc(%rax)
je 0x8071
movq 0x10(%rsp), %rax
leaq -0x17aa(%rip), %rcx     # 0x68a1
cmpq %rcx, %rax
setne %cl
leaq -0x1788(%rip), %rdx     # 0x68d0
cmpq %rdx, %rax
setne %dl
testb %dl, %cl
je 0x8088
jmp 0x8111
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x8118
cmpl $0x0, 0xf8(%rax)
je 0x8093
cmpl $0x0, 0x188(%rax)
movq 0x10(%rsp), %rax
je 0x80dd
movl 0xc(%rsp), %edi
callq *%rax
jmp 0x8118
movq 0x10(%rsp), %rax
leaq -0xdcb(%rip), %rcx      # 0x72d4
cmpq %rcx, %rax
je 0x8088
leaq -0xdf1(%rip), %rcx      # 0x72ba
cmpq %rcx, %rax
je 0x8088
leaq -0xe91(%rip), %rcx      # 0x7226
cmpq %rcx, %rax
je 0x8088
leaq -0xf47(%rip), %rcx      # 0x717c
cmpq %rcx, %rax
je 0x8088
leaq -0x10ab(%rip), %rcx     # 0x7024
cmpq %rcx, %rax
je 0x8088
leaq -0x1009(%rip), %rcx     # 0x70d2
jmp 0x8108
leaq -0xcb0(%rip), %rcx      # 0x7434
cmpq %rcx, %rax
je 0x8088
leaq -0xcf2(%rip), %rcx      # 0x73fe
cmpq %rcx, %rax
je 0x8088
leaq -0xdd6(%rip), %rcx      # 0x7326
cmpq %rcx, %rax
je 0x8088
leaq -0xd76(%rip), %rcx      # 0x7392
cmpq %rcx, %rax
je 0x8088
callq 0x5124
xorl %eax, %eax
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/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 0x4ff7
movl %ebx, %eax
andl $-0x21, %eax
cmpl $0x1a, %eax
je 0x84e6
leaq 0x14a84(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
je 0x84e6
leaq 0xc(%rsp), %rdi
callq 0x9d6c
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x850e
cmpl $0x10000, 0xc(%rsp)     # imm = 0x10000
jb 0x851a
leaq 0x4abb(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
callq 0xa1d8
movl %eax, %r14d
jmp 0x850e
orl $0x8, %ebx
movl %ebx, %eax
xorl $0xf0, %eax
cmpl $0xca, %ebx
cmovll %ebx, %eax
movsbl %al, %edi
callq 0x3355
leaq 0xc2d0(%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 0xc2b5(%rip), %r14      # 0x147d8
movq (%r14), %rax
movl (%rax), %ecx
leal 0x5(%rcx), %edx
movl %edx, (%rax)
cmpl $0x2, %ebp
je 0x857b
cmpl $0xff, 0xc(%rsp)
jg 0x857b
leaq 0xc0c5(%rip), %rdx      # 0x14608
cmpl $0x0, 0xe4(%rdx)
jne 0x857b
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
je 0x85e7
movl $0x78, %edi
movl $0x58, %esi
callq 0x504d
testl %eax, %eax
je 0x85a6
orl $0x14, %ebx
movq (%r14), %rax
incl (%rax)
jmp 0x85ea
addl $0x6, %ecx
movl %ecx, (%rax)
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
je 0x85b7
movl $0x78, %edi
movl $0x58, %esi
callq 0x504d
testl %eax, %eax
je 0x85a6
orl $0x1e, %ebx
jmp 0x85ba
leaq 0x49e5(%rip), %rsi      # 0xcf92
movl $0x12, %edi
jmp 0x84dc
orl $0xe, %ebx
movsbl %bl, %edi
callq 0x3355
movswl 0xc(%rsp), %edi
callq 0x355d
xorl %r14d, %r14d
cmpl $0x2, %ebp
jne 0x850e
xorl %r14d, %r14d
xorl %eax, %eax
callq 0xa118
jmp 0x850e
orl $0x4, %ebx
movsbl %bl, %edi
callq 0x3355
movsbl 0xc(%rsp), %edi
callq 0x340b
xorl %r14d, %r14d
jmp 0x850e
// File: /workspace/github_c_makefile_star2_O3/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 %rbx
pushq %rax
movl %edi, %r14d
movq %rsp, %rdi
callq 0x9d6c
movl $0x1, %ebp
cmpl $0x11, %eax
je 0x8700
cmpl $0x100, (%rsp)          # imm = 0x100
jb 0x863e
leaq 0x495e(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
jmp 0x86f9
movl %eax, %ebx
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
je 0x867c
leaq 0x4(%rsp), %rdi
callq 0x9d6c
movl %eax, %ebp
testl %eax, %eax
je 0x868a
xorl %r15d, %r15d
xorl %eax, %eax
callq 0xa118
movsbl %r14b, %edi
callq 0x3355
movsbl (%rsp), %edi
callq 0x340b
jmp 0x86ba
leaq 0x490f(%rip), %rsi      # 0xcf92
movl $0x12, %edi
jmp 0x86f9
movl 0x4(%rsp), %r15d
leaq 0xbd1a(%rip), %rax      # 0x143b0
subl (%rax), %r15d
leal 0x7d(%r15), %eax
cmpl $0xff, %eax
ja 0x86ed
movsbl %r14b, %edi
callq 0x3355
movsbl (%rsp), %edi
callq 0x340b
addb $-0x3, %r15b
movsbl %r15b, %edi
callq 0x3355
leaq 0xc10e(%rip), %rax      # 0x147d8
movq (%rax), %rax
addl $0x5, (%rax)
cmpl $0x2, %ebx
setne %al
cmpl $0x2, %ebp
sete %cl
xorl %ebp, %ebp
orb %al, %cl
jne 0x8700
xorl %ebp, %ebp
xorl %eax, %eax
callq 0xa118
jmp 0x8700
leaq 0x489e(%rip), %rsi      # 0xcf92
movl $0x16, %edi
callq 0xa1d8
movl %eax, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x4(%rsp), %rdi
callq 0x9d6c
cmpl $0x11, %eax
je 0x874e
testl %eax, %eax
jne 0x8755
movl 0x4(%rsp), %r14d
leaq 0xbc7e(%rip), %rax      # 0x143b0
subl (%rax), %r14d
leal 0x7e(%r14), %eax
cmpl $0xff, %eax
ja 0x879f
movsbl %bl, %edi
callq 0x3355
addb $-0x2, %r14b
jmp 0x8767
movl $0x1, %eax
jmp 0x87b0
xorl %r14d, %r14d
xorl %eax, %eax
callq 0xa118
movsbl %bl, %edi
callq 0x3355
movsbl %r14b, %edi
callq 0x3355
leaq 0xc061(%rip), %rax      # 0x147d8
movq (%rax), %rcx
movl (%rcx), %edx
leal 0x2(%rdx), %eax
movl %eax, (%rcx)
leaq 0xbc28(%rip), %rax      # 0x143b0
movl (%rax), %esi
xorl 0x4(%rsp), %esi
xorl %eax, %eax
cmpl $0x100, %esi            # imm = 0x100
jb 0x87b0
addl $0x3, %edx
movl %edx, (%rcx)
jmp 0x87b0
leaq 0x47ec(%rip), %rsi      # 0xcf92
movl $0x16, %edi
callq 0xa1d8
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x4fa8
testl %eax, %eax
je 0x89c3
leaq 0x4(%rsp), %rdi
callq 0x9d6c
movl %eax, %ebp
movl $0x1, %eax
cmpl $0x1, %ebp
je 0x8a07
movl $0xffffff00, %eax       # imm = 0xFFFFFF00
addl 0x4(%rsp), %eax
cmpl $0xfffffe7f, %eax       # imm = 0xFFFFFE7F
ja 0x89da
leaq 0x45db(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
callq 0xa1d8
jmp 0x8a07
leaq 0x45c8(%rip), %rsi      # 0xcf92
movl $0x12, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xa1d8
movsbl %bl, %edi
callq 0x3355
movsbl 0x4(%rsp), %edi
callq 0x340b
cmpl $0x2, %ebp
jne 0x89f8
xorl %eax, %eax
callq 0xa118
leaq 0xbdd9(%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_O3/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 0x3355
leaq 0xbdb8(%rip), %rax      # 0x147d8
movq (%rax), %rax
movl (%rax), %edx
leal 0x2(%rdx), %ecx
movl %ecx, (%rax)
cmpl $0x65, %ebx
jg 0x8a45
cmpl $0x3f, %ebx
jle 0x8a61
cmpl $0x40, %ebx
je 0x8aab
cmpl $0x48, %ebx
je 0x8a6d
cmpl $0x5a, %ebx
je 0x8a6d
jmp 0x8ab0
cmpl $0x79, %ebx
jle 0x8a85
cmpl $0x7a, %ebx
je 0x8a9c
cmpl $0xfa, %ebx
je 0x8a9c
cmpl $0xda, %ebx
je 0x8a6d
jmp 0x8ab0
cmpl $0x8, %ebx
je 0x8a6d
cmpl $0x28, %ebx
je 0x8a9c
jmp 0x8ab0
addl $0x3, %edx
movl %edx, (%rax)
cmpl $0x65, %ebx
jle 0x8a91
cmpl $0x66, %ebx
je 0x8ab4
cmpl $0x7a, %ebx
je 0x8a9a
movl %edx, %ecx
jmp 0x8a8a
cmpl $0x66, %ebx
je 0x8aab
cmpl $0x68, %ebx
je 0x8a9c
jmp 0x8ab0
cmpl $0x28, %ebx
je 0x8a9a
movl %edx, %ecx
jmp 0x8aa6
movl %edx, %ecx
addl $0x2, %ecx
movl %ecx, (%rax)
cmpl $0x66, %ebx
je 0x8aab
cmpl $0x40, %ebx
jne 0x8ab0
addl $0x6, %ecx
movl %ecx, (%rax)
xorl %eax, %eax
popq %rbx
retq
movl %edx, %ecx
jmp 0x8aab
// File: /workspace/github_c_makefile_star2_O3/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 0x4fa8
testl %eax, %eax
je 0x8b08
leaq 0x4(%rsp), %rdi
callq 0x9d6c
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x8c39
movl %eax, %ebx
movl $0xffffff00, %eax       # imm = 0xFFFFFF00
addl 0x4(%rsp), %eax
cmpl $0xfffffe7f, %eax       # imm = 0xFFFFFE7F
ja 0x8b6e
leaq 0x4491(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
jmp 0x8b61
leaq 0x14421(%rip), %rax     # 0x1cf30
movl (%rax), %r15d
leaq 0x4(%rsp), %rdi
callq 0x9d6c
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x8c39
movl %eax, %ebx
cmpl $0x28, %r15d
jne 0x8b4b
leaq 0x143fa(%rip), %rax     # 0x1cf34
cmpl $0x29, (%rax)
jne 0x8b4b
leaq 0x49aa(%rip), %rdi      # 0xd4f0
callq 0xa81b
cmpl $0x10000, 0x4(%rsp)     # imm = 0x10000
jb 0x8ba9
leaq 0x4436(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
callq 0xa1d8
movl %eax, %r14d
jmp 0x8c39
leaq 0xbc63(%rip), %rax      # 0x147d8
movq (%rax), %rax
addl $0x2, (%rax)
movsbl %bpl, %edi
callq 0x3355
movsbl 0x4(%rsp), %edi
callq 0x340b
xorl %r14d, %r14d
cmpl $0x2, %ebx
jne 0x8c39
xorl %r14d, %r14d
xorl %eax, %eax
callq 0xa118
jmp 0x8c39
leaq 0xbc28(%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 0xba32(%rip), %rdx      # 0x14608
cmpl $0x0, 0xe4(%rdx)
sete %r14b
andb %sil, %r14b
je 0x8beb
orl $0x4, %ebp
jmp 0x8bf3
orl $0xc, %ebp
addl $0x4, %ecx
movl %ecx, (%rax)
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
je 0x8c1c
movl $0x79, %edi
movl $0x59, %esi
callq 0x504d
testl %eax, %eax
je 0x8c54
orl $0x10, %ebp
movq (%r15), %rax
incl (%rax)
movsbl %bpl, %edi
callq 0x3355
movl 0x4(%rsp), %eax
testb %r14b, %r14b
je 0x8c47
movsbl %al, %edi
callq 0x340b
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movswl %ax, %edi
callq 0x355d
jmp 0x8b8e
leaq 0x4337(%rip), %rsi      # 0xcf92
movl $0x12, %edi
jmp 0x8b61
// File: /workspace/github_c_makefile_star2_O3/42Bastian[P]lyxass/mnemonics.c
// Function: opc
int opc(int op)
{
  int err;
  int32_t l;
  int saveCYCLES;
  int saveOp;

  saveOp = op;
  saveCYCLES = CYCLES;
  SavePosition();

  if ( TestAtom('(') ){
    if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
    if ( l < 0 || l > 65535 ) return Error(WORD_ERR,"");
    op |= 0x20;
    if ( TestAtom(',') ){
      if ( !TestAtomOR('x','X') ) return Error(SYNTAX_ERR,"");
      op |= 0x10;
    }
    if ( !TestAtom(')') ) return Error(SYNTAX_ERR,"");
    KillSpace();
    if ( atom == 0 ){
      CYCLES += 6;
      writeConstByte(op);
      writeWordLittle((short)l);
      if ( err == EXPR_UNSOLVED ) saveCurrentLine();
      return 0;
    } else {
      // Possible not indirect but expression with braces
      op = saveOp;
      CYCLES = saveCYCLES;
      RestorePosition();
    }
  }
  if ( (err = Expression( &l )) == EXPR_ERROR ) return 1;
  if ( l < 0 || l > 65535 ) return Error(WORD_ERR,"");
  if ( err != EXPR_UNSOLVED ){
    int dist = Global.pc - l - 2;
    if ( dist >= -128 && dist <= 127 ) Warning("JMP can be changed into BRA !\n");
  }
  CYCLES += 3;

  writeConstByte(op);
  writeWordLittle((short)l);
  if ( err == EXPR_UNSOLVED ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0xbb5f(%rip), %r15      # 0x147d8
movq (%r15), %rax
movl (%rax), %r12d
callq 0x4f58
movl $0x28, %edi
callq 0x4fa8
testl %eax, %eax
je 0x8d27
leaq 0x4(%rsp), %rdi
callq 0x9d6c
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x8d89
cmpl $0x10000, 0x4(%rsp)     # imm = 0x10000
jae 0x8d48
movl %eax, %ebp
movl $0x2c, %edi
callq 0x4fa8
testl %eax, %eax
je 0x8ced
movl $0x78, %edi
movl $0x58, %esi
callq 0x504d
testl %eax, %eax
je 0x8d75
movl %ebx, %r13d
orl $0x30, %r13d
jmp 0x8cf4
movl %ebx, %r13d
orl $0x20, %r13d
movl $0x29, %edi
callq 0x4fa8
testl %eax, %eax
je 0x8d75
xorl %r14d, %r14d
xorl %eax, %eax
callq 0x4ff7
leaq 0x1421d(%rip), %rax     # 0x1cf30
cmpl $0x0, (%rax)
movq (%r15), %rax
je 0x8dd9
movl %r12d, (%rax)
callq 0x4f6a
leaq 0x4(%rsp), %rdi
callq 0x9d6c
movl $0x1, %r14d
cmpl $0x1, %eax
je 0x8d89
movl 0x4(%rsp), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
jb 0x8d56
leaq 0x4243(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
jmp 0x8d81
cmpl $0x2, %eax
jne 0x8d9b
movq (%r15), %rax
addl $0x3, (%rax)
movsbl %bl, %edi
callq 0x3355
movswl 0x4(%rsp), %edi
callq 0x355d
jmp 0x8df4
leaq 0x4216(%rip), %rsi      # 0xcf92
movl $0x12, %edi
callq 0xa1d8
movl %eax, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb60e(%rip), %rax      # 0x143b0
movl (%rax), %eax
subl %ecx, %eax
addl $0x7e, %eax
cmpl $0xff, %eax
ja 0x8dbc
leaq 0x4756(%rip), %rdi      # 0xd50d
callq 0xa81b
movq (%r15), %rax
addl $0x3, (%rax)
movsbl %bl, %edi
callq 0x3355
movswl 0x4(%rsp), %edi
callq 0x355d
xorl %r14d, %r14d
jmp 0x8d89
addl $0x6, (%rax)
movsbl %r13b, %edi
callq 0x3355
movswl 0x4(%rsp), %edi
callq 0x355d
cmpl $0x2, %ebp
jne 0x8d89
xorl %r14d, %r14d
xorl %eax, %eax
callq 0xa118
jmp 0x8d89
// File: /workspace/github_c_makefile_star2_O3/42Bastian[P]lyxass/mnemonics.c
// Function: op2
int op2(int op)
{
  int32_t l;
  int err;

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

  writeConstByte(op);
  writeWordLittle((short) l);

  if ( err == EXPR_UNSOLVED ) saveCurrentLine();

  CYCLES += 6;

  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebp
leaq 0x4(%rsp), %rdi
callq 0x9d6c
movl %eax, %ebx
movl $0x1, %eax
cmpl $0x11, %ebx
je 0x8e66
cmpl $0x10000, 0x4(%rsp)     # imm = 0x10000
jb 0x8e38
leaq 0x4166(%rip), %rsi      # 0xcf92
movl $0x1b, %edi
callq 0xa1d8
jmp 0x8e66
movsbl %bpl, %edi
callq 0x3355
movswl 0x4(%rsp), %edi
callq 0x355d
cmpl $0x2, %ebx
jne 0x8e57
xorl %eax, %eax
callq 0xa118
leaq 0xb97a(%rip), %rax      # 0x147d8
movq (%rax), %rax
addl $0x6, (%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/42Bastian[P]lyxass/mnemonics.c
// Function: opb
int opb(int op)
{
  int err;
  int32_t l;

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

  writeConstByte(op);
  writeByte((char)l);

  if ( err == EXPR_UNSOLVED ) saveCurrentLine();
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %r14d
leaq 0xc(%rsp), %rdi
callq 0x9d6c
movl $0x1, %ebp
cmpl $0x1, %eax
je 0x8ed0
cmpl $0x100, 0xc(%rsp)       # imm = 0x100
jb 0x8eab
leaq 0x40f5(%rip), %rsi      # 0xcf92
movl $0x1a, %edi
callq 0xa1d8
movl %eax, %ebp
jmp 0x8ed0
movl %eax, %ebx
movsbl %r14b, %edi
callq 0x3355
movsbl 0xc(%rsp), %edi
callq 0x340b
xorl %ebp, %ebp
cmpl $0x2, %ebx
jne 0x8ed0
xorl %ebp, %ebp
xorl %eax, %eax
callq 0xa118
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq