// File: /workspace/github_c_makefile_star2_O2/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 0xd123(%rip), %rax      # 0x145f0
cmpl $0x1, (%rax)
jne 0x74e1
leaq 0x4e10(%rip), %rsi      # 0xc2e9
pushq $0x12
popq %rdi
jmp 0x96cc
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0xd101(%rip), %r13      # 0x145f4
cmpl $0x0, (%r13)
leaq 0xd0f9(%rip), %r12      # 0x145f8
movq (%r12), %rdi
leaq 0x4df9(%rip), %rsi      # 0xc303
je 0x751c
leaq 0x4e1a(%rip), %rdx      # 0xc32d
leaq 0x4e1f(%rip), %rcx      # 0xc339
jmp 0x752a
leaq 0x4df1(%rip), %rdx      # 0xc314
leaq 0x4df6(%rip), %rcx      # 0xc320
xorl %eax, %eax
callq 0x3130
pushq $0x1f
popq %rbx
leaq 0xc3b5(%rip), %r14      # 0x138f0
leaq 0xbbce(%rip), %rbp      # 0x13110
testl %ebx, %ebx
js 0x764e
movslq (%r13), %rax
imulq $0x808, %rax, %rax      # imm = 0x808
leaq (%rax,%rbp), %rcx
movl %ebx, %r15d
shlq $0x5, %r15
cmpl $0x0, (%r15,%rcx)
jne 0x7572
cmpl $0x0, (%r14,%rax)
je 0x7643
movq (%r12), %rdi
leaq 0x4dc9(%rip), %rsi      # 0xc346
movl %ebx, %edx
xorl %eax, %eax
callq 0x3130
movslq (%r13), %rax
imulq $0x808, %rax, %rax      # imm = 0x808
addq %rbp, %rax
cmpl $0x0, (%r15,%rax)
je 0x75b8
addq %r15, %rax
movq 0x10(%rax), %rdx
movq (%r12), %rdi
testq %rdx, %rdx
je 0x75cc
addq $0x38, %rdx
leaq 0x4d96(%rip), %rsi      # 0xc34c
jmp 0x75da
movq (%r12), %rdi
leaq 0x4d89(%rip), %rsi      # 0xc34c
leaq 0x4d80(%rip), %rdx      # 0xc34a
jmp 0x75da
leaq 0x4d79(%rip), %rsi      # 0xc34c
leaq 0x4d79(%rip), %rdx      # 0xc353
xorl %eax, %eax
callq 0x3130
movslq (%r13), %rax
imulq $0x808, %rax, %rax      # imm = 0x808
cmpl $0x0, (%r14,%rax)
je 0x760e
movq 0x10(%r14,%rax), %rdx
movq (%r12), %rdi
testq %rdx, %rdx
je 0x7622
addq $0x38, %rdx
leaq 0x4d40(%rip), %rsi      # 0xc34c
jmp 0x7630
movq (%r12), %rdi
leaq 0x4d33(%rip), %rsi      # 0xc34c
leaq 0x4d2a(%rip), %rdx      # 0xc34a
jmp 0x7630
leaq 0x4d23(%rip), %rsi      # 0xc34c
leaq 0x4d23(%rip), %rdx      # 0xc353
xorl %eax, %eax
callq 0x3130
movq (%r12), %rsi
pushq $0xa
popq %rdi
callq 0x30e0
decl %ebx
addq $-0x20, %r14
jmp 0x7542
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq