// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro7/macro7.c
// Function: printLine
void printLine( char *line, WORD32 loc, WORD32 val, LINESTYLE_T linestyle )
{
  if( listfile == NULL )
  {
    save_error_count = 0;
    return;
  }

  printPageBreak();

  list_lineno++;
  page_lineno++;
  switch( linestyle )
  {
  default:
  case LINE:
    fprintf( listfile, "%5d                   ", lineno );
    fputs( line, listfile );
    listed = TRUE;
    break;

  case LINE_VAL:
    if( !listed )
    {
      fprintf( listfile, "%5d       %6.6o      ", lineno, val );
      fputs( line, listfile );
      listed = TRUE;
    }
    else
    {
      fprintf( listfile, "            %6.6o\n", val );
    }
    break;

  case LINE_LOC_VAL:
    if( !listed )
    {
      if( indirect_generated )
      {
        fprintf( listfile, "%5d %5.5o %6.6o@     ", lineno, loc, val );
      }
      else
      {
        fprintf( listfile, "%5d %5.5o %6.6o      ", lineno, loc, val );
      }
      fputs( line, listfile );
      listed = TRUE;
    }
    else
    {
      fprintf( listfile, "      %5.5o %6.6o\n", loc, val );
    }
    break;

  case LOC_VAL:
    fprintf( listfile, "      %5.5o %6.6o\n", loc, val );
    break;
  }
  printErrorMessages();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
cmpq $0x0, 0x89e3(%rip)      # 0xd270
jne 0x489e
movl $0x0, 0x8893(%rip)      # 0xd12c
jmp 0x4a2d
callq 0x64d0
movl 0x1071f(%rip), %eax     # 0x14fc8
incl %eax
movl %eax, 0x10717(%rip)     # 0x14fc8
movl 0x10719(%rip), %eax     # 0x14fd0
incl %eax
movl %eax, 0x10711(%rip)     # 0x14fd0
movl -0x14(%rbp), %eax
movq %rax, -0x20(%rbp)
subq $0x3, %rax
ja 0x48e0
movq -0x20(%rbp), %rax
leaq 0x2781(%rip), %rcx      # 0x7058
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x48e2
movq 0x8987(%rip), %rdi      # 0xd270
movl 0x106d1(%rip), %edx     # 0x14fc0
leaq 0x2cd5(%rip), %rsi      # 0x75cb
movb $0x0, %al
callq 0x2100
movq -0x8(%rbp), %rdi
movq 0x8968(%rip), %rsi      # 0xd270
callq 0x20b0
movl $0x1, 0x106a5(%rip)     # 0x14fbc
jmp 0x4a28
cmpl $0x0, 0x10699(%rip)     # 0x14fbc
jne 0x495f
movq 0x8944(%rip), %rdi      # 0xd270
movl 0x1068e(%rip), %edx     # 0x14fc0
movl -0x10(%rbp), %ecx
leaq 0x2ca6(%rip), %rsi      # 0x75e2
movb $0x0, %al
callq 0x2100
movq -0x8(%rbp), %rdi
movq 0x8922(%rip), %rsi      # 0xd270
callq 0x20b0
movl $0x1, 0x1065f(%rip)     # 0x14fbc
jmp 0x4977
movq 0x890a(%rip), %rdi      # 0xd270
movl -0x10(%rbp), %edx
leaq 0x2c88(%rip), %rsi      # 0x75f8
movb $0x0, %al
callq 0x2100
jmp 0x4a28
cmpl $0x0, 0x10639(%rip)     # 0x14fbc
jne 0x49f0
cmpb $0x0, 0x10978(%rip)     # 0x15304
je 0x49b2
movq 0x88db(%rip), %rdi      # 0xd270
movl 0x10625(%rip), %edx     # 0x14fc0
movl -0xc(%rbp), %ecx
movl -0x10(%rbp), %r8d
leaq 0x2c62(%rip), %rsi      # 0x760b
movb $0x0, %al
callq 0x2100
jmp 0x49d4
movq 0x88b7(%rip), %rdi      # 0xd270
movl 0x10601(%rip), %edx     # 0x14fc0
movl -0xc(%rbp), %ecx
movl -0x10(%rbp), %r8d
leaq 0x2c54(%rip), %rsi      # 0x7621
movb $0x0, %al
callq 0x2100
movq -0x8(%rbp), %rdi
movq 0x8891(%rip), %rsi      # 0xd270
callq 0x20b0
movl $0x1, 0x105ce(%rip)     # 0x14fbc
jmp 0x4a0b
movq 0x8879(%rip), %rdi      # 0xd270
movl -0xc(%rbp), %edx
movl -0x10(%rbp), %ecx
leaq 0x2c33(%rip), %rsi      # 0x7637
movb $0x0, %al
callq 0x2100
jmp 0x4a28
movq 0x885c(%rip), %rdi      # 0xd270
movl -0xc(%rbp), %edx
movl -0x10(%rbp), %ecx
leaq 0x2c16(%rip), %rsi      # 0x7637
movb $0x0, %al
callq 0x2100
callq 0x6570
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)