// File: /workspace/github_c_makefile_star2_O3/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:
leaq 0xc890(%rip), %rax      # 0x145f0
cmpl $0x1, (%rax)
jne 0x7d76
leaq 0x55e6(%rip), %rsi      # 0xd352
movl $0x12, %edi
jmp 0xa1d8
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0xc86c(%rip), %rbp      # 0x145f4
cmpl $0x0, (%rbp)
leaq 0xc865(%rip), %r13      # 0x145f8
movq (%r13), %rdi
leaq 0x55ce(%rip), %rsi      # 0xd36c
je 0x7db0
leaq 0x55ef(%rip), %rdx      # 0xd396
leaq 0x55f4(%rip), %rcx      # 0xd3a2
jmp 0x7dbe
leaq 0x55c6(%rip), %rdx      # 0xd37d
leaq 0x55cb(%rip), %rcx      # 0xd389
xorl %eax, %eax
callq 0x3130
movl (%rbp), %eax
movl $0x1f, %ebx
leaq 0xb33c(%rip), %r12      # 0x13110
leaq 0x55da(%rip), %r15      # 0xd3b5
xorl %r14d, %r14d
movslq %eax, %rcx
movq %rcx, %rdx
shlq $0xb, %rdx
leaq (%rdx,%rcx,8), %rcx
addq %r12, %rcx
cmpl $0x0, 0x3e0(%r14,%rcx)
jne 0x7e09
cmpl $0x0, 0x7e0(%r14,%rcx)
je 0x7ede
movq (%r13), %rdi
leaq 0x559b(%rip), %rsi      # 0xd3af
movl %ebx, %edx
xorl %eax, %eax
callq 0x3130
movslq (%rbp), %rax
movq %rax, %rcx
shlq $0xb, %rcx
leaq (%rcx,%rax,8), %rax
addq %r12, %rax
cmpl $0x0, 0x3e0(%r14,%rax)
je 0x7e54
movq 0x3f0(%r14,%rax), %rdx
movq (%r13), %rdi
testq %rdx, %rdx
je 0x7e64
addq $0x38, %rdx
movq %r15, %rsi
jmp 0x7e6e
movq (%r13), %rdi
movq %r15, %rsi
leaq 0x5551(%rip), %rdx      # 0xd3b3
jmp 0x7e6e
movq %r15, %rsi
leaq 0x554e(%rip), %rdx      # 0xd3bc
xorl %eax, %eax
callq 0x3130
movslq (%rbp), %rax
movq %rax, %rcx
shlq $0xb, %rcx
leaq (%rcx,%rax,8), %rax
addq %r12, %rax
cmpl $0x0, 0x7e0(%r14,%rax)
je 0x7eac
movq 0x7f0(%r14,%rax), %rdx
movq (%r13), %rdi
testq %rdx, %rdx
je 0x7ebc
addq $0x38, %rdx
movq %r15, %rsi
jmp 0x7ec6
movq (%r13), %rdi
movq %r15, %rsi
leaq 0x54f9(%rip), %rdx      # 0xd3b3
jmp 0x7ec6
movq %r15, %rsi
leaq 0x54f6(%rip), %rdx      # 0xd3bc
xorl %eax, %eax
callq 0x3130
movq (%r13), %rsi
movl $0xa, %edi
callq 0x30e0
movl (%rbp), %eax
addq $-0x20, %r14
decl %ebx
cmpq $-0x400, %r14           # imm = 0xFC00
jne 0x7dde
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq