// File: /workspace/github_c_makefile_star2_O0/42Bastian[P]lyxass/pseudo.c
// Function: p_regmap
int p_regmap(int dummy)
{
  int i;
  (void)dummy;
  if ( sourceMode == LYNX ) {
    return Error(SYNTAX_ERR,"REGMAP only in RISC modes");
  }
  if ( jaguar_mode == 0 ){
    fprintf(my_stderr,"Reg %-32s %-32s\n","Bank0 - GPU","Bank 1 - GPU");
  } else {
    fprintf(my_stderr,"Reg %-32s %-32s\n","Bank0 - DSP","Bank 1 - DSP");
  }
  for(i = 31; i >= 0; --i ){
    if ( risc[jaguar_mode].regs[i].flag || risc[jaguar_mode].regs[i+32].flag ){
      fprintf(my_stderr," %2d ",i);
      if ( risc[jaguar_mode].regs[i].flag ) {
        if ( risc[jaguar_mode].regs[i].label){
          fprintf(my_stderr, "%-32s ",risc[jaguar_mode].regs[i].label->name);
        } else {
          fprintf(my_stderr, "%-32s ","<N/A>");
        }
      } else {
        fprintf(my_stderr, "%-32s "," ");
      }
      if ( risc[jaguar_mode].regs[i+32].flag ){
        if ( risc[jaguar_mode].regs[i+32].label){
          fprintf(my_stderr, "%-32s ",risc[jaguar_mode].regs[i+32].label->name);
        } else {
          fprintf(my_stderr, "%-32s ","<N/A>");
        }
      } else {
        fprintf(my_stderr, "%-32s "," ");
      }
      fprintf(my_stderr, "\n");
    }
  }
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x8(%rbp)
leaq 0xea3e(%rip), %rax      # 0x185e0
cmpl $0x1, (%rax)
jne 0x9bc0
movl $0x12, %edi
leaq 0x77bc(%rip), %rsi      # 0x1136f
callq 0xd130
movl %eax, -0x4(%rbp)
jmp 0x9eab
leaq 0xea1d(%rip), %rax      # 0x185e4
cmpl $0x0, (%rax)
jne 0x9bf4
leaq 0xea15(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0x77ac(%rip), %rsi      # 0x11389
leaq 0x77b6(%rip), %rdx      # 0x1139a
leaq 0x77bb(%rip), %rcx      # 0x113a6
movb $0x0, %al
callq 0x3120
jmp 0x9c1a
leaq 0xe9ed(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0x7784(%rip), %rsi      # 0x11389
leaq 0x77a7(%rip), %rdx      # 0x113b3
leaq 0x77ac(%rip), %rcx      # 0x113bf
movb $0x0, %al
callq 0x3120
movl $0x1f, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jl 0x9ea4
leaq 0xe9b2(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd4c4(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movslq -0xc(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpl $0x0, (%rax)
jne 0x9c8a
leaq 0xe987(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd499(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movl -0xc(%rbp), %ecx
addl $0x20, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpl $0x0, (%rax)
je 0x9e94
leaq 0xe957(%rip), %rax      # 0x185e8
movq (%rax), %rdi
movl -0xc(%rbp), %edx
leaq 0x772e(%rip), %rsi      # 0x113cc
movb $0x0, %al
callq 0x3120
leaq 0xe938(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd44a(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movslq -0xc(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpl $0x0, (%rax)
je 0x9d6a
leaq 0xe909(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd41b(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movslq -0xc(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpq $0x0, 0x10(%rax)
je 0x9d49
leaq 0xe8e0(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0xe8d2(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd3e4(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movslq -0xc(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdx
addq $0x38, %rdx
leaq 0x7692(%rip), %rsi      # 0x113d2
movb $0x0, %al
callq 0x3120
jmp 0x9d68
leaq 0xe898(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0x7678(%rip), %rsi      # 0x113d2
leaq 0x7678(%rip), %rdx      # 0x113d9
movb $0x0, %al
callq 0x3120
jmp 0x9d89
leaq 0xe877(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0x7657(%rip), %rsi      # 0x113d2
leaq 0x764e(%rip), %rdx      # 0x113d0
movb $0x0, %al
callq 0x3120
leaq 0xe854(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd366(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movl -0xc(%rbp), %ecx
addl $0x20, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpl $0x0, (%rax)
je 0x9e5d
leaq 0xe820(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd332(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movl -0xc(%rbp), %ecx
addl $0x20, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpq $0x0, 0x10(%rax)
je 0x9e3c
leaq 0xe7f2(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0xe7e4(%rip), %rax      # 0x185e4
movslq (%rax), %rcx
leaq 0xd2f6(%rip), %rax      # 0x17100
imulq $0x808, %rcx, %rcx      # imm = 0x808
addq %rcx, %rax
movl -0xc(%rbp), %ecx
addl $0x20, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdx
addq $0x38, %rdx
leaq 0x759f(%rip), %rsi      # 0x113d2
movb $0x0, %al
callq 0x3120
jmp 0x9e5b
leaq 0xe7a5(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0x7585(%rip), %rsi      # 0x113d2
leaq 0x7585(%rip), %rdx      # 0x113d9
movb $0x0, %al
callq 0x3120
jmp 0x9e7c
leaq 0xe784(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0x7564(%rip), %rsi      # 0x113d2
leaq 0x755b(%rip), %rdx      # 0x113d0
movb $0x0, %al
callq 0x3120
leaq 0xe765(%rip), %rax      # 0x185e8
movq (%rax), %rdi
leaq 0x76ba(%rip), %rsi      # 0x11547
movb $0x0, %al
callq 0x3120
jmp 0x9e96
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x9c21
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)