// File: /workspace/github_c_makefile_star2_O0/radekh[P]palbart/palbart-2.5.c
// Function: readLine
void readLine()
{
  WORD16  ix;
  WORD16  iy;
  char   inpline[LINELEN];

  listLine();                   /* List previous line if needed.              */
  lineno++;                     /* Count lines read.                          */
  indirect_generated = FALSE;   /* Mark no indirect address generated.        */
  listed = FALSE;               /* Mark as not listed.                        */
  cc = 0;                       /* Initialize column counter.                 */
  lexstartprev = 0;

  if(( fgets( inpline, LINELEN - 1, infile )) == NULL )
  {
    inpline[0] = '$';
    inpline[1] = '\n';
    inpline[2] = '\0';
    error_in_line = TRUE;
  }
  else
  {
    error_in_line = FALSE;
  }

  /* Remove any tabs from the input line by inserting the required number     */
  /* of spaces to simulate 8 character tab stops.                             */
  for( ix = 0, iy = 0; inpline[ix] != '\0'; ix++ )
  {
    switch( inpline[ix] )
    {
    case '\t':
      do
      {
        line[iy] = ' ';
        iy++;
      }
      while(( iy % 8 ) != 0 );
      break;

    default:
      line[iy] = inpline[ix];
      iy++;
      break;
    }
  }
  line[iy] = '\0';

  /* If the line is terminated by CR-LF, remove, the CR.                      */
  if( line[iy - 2] == '\r' )
  {
    iy--;
    line[iy - 1] = line[iy - 0];
    line[iy] = '\0';
  }
  maxcc = iy;                   /* Save the current line length.              */

  /* Save the first line for possible use as the listing title.               */
  if( lineno == 1 )
  {
    strcpy( list_title, line );
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
callq 0x6260
movl 0x8bb1(%rip), %eax      # 0xb6e4
addl $0x1, %eax
movl %eax, 0x8ba8(%rip)      # 0xb6e4
movb $0x0, 0x8c31(%rip)      # 0xb774
movb $0x0, 0x8b96(%rip)      # 0xb6e0
movl $0x0, 0x8c24(%rip)      # 0xb778
movl $0x0, 0x8c12(%rip)      # 0xb770
leaq -0x70(%rbp), %rdi
movq 0x8727(%rip), %rdx      # 0xb290
movl $0x5f, %esi
callq 0x10d0
cmpq $0x0, %rax
jne 0x2b8e
movb $0x24, -0x70(%rbp)
movb $0xa, -0x6f(%rbp)
movb $0x0, -0x6e(%rbp)
movb $0x1, 0x8bd8(%rip)      # 0xb764
jmp 0x2b95
movb $0x0, 0x8bcf(%rip)      # 0xb764
movw $0x0, -0x2(%rbp)
movw $0x0, -0x4(%rbp)
movswq -0x2(%rbp), %rax
movsbl -0x70(%rbp,%rax), %eax
cmpl $0x0, %eax
je 0x2c27
movswq -0x2(%rbp), %rax
movb -0x70(%rbp,%rax), %al
subb $0x9, %al
jne 0x2bf0
jmp 0x2bbf
jmp 0x2bc1
movswq -0x4(%rbp), %rcx
leaq 0x8b33(%rip), %rax      # 0xb700
movb $0x20, (%rax,%rcx)
movw -0x4(%rbp), %ax
addw $0x1, %ax
movw %ax, -0x4(%rbp)
movswl -0x4(%rbp), %eax
movl $0x8, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x2bc1
jmp 0x2c14
movswq -0x2(%rbp), %rax
movb -0x70(%rbp,%rax), %dl
movswq -0x4(%rbp), %rcx
leaq 0x8afb(%rip), %rax      # 0xb700
movb %dl, (%rax,%rcx)
movw -0x4(%rbp), %ax
addw $0x1, %ax
movw %ax, -0x4(%rbp)
jmp 0x2c16
movw -0x2(%rbp), %ax
addw $0x1, %ax
movw %ax, -0x2(%rbp)
jmp 0x2ba1
movswq -0x4(%rbp), %rcx
leaq 0x8acd(%rip), %rax      # 0xb700
movb $0x0, (%rax,%rcx)
movswl -0x4(%rbp), %eax
subl $0x2, %eax
movslq %eax, %rcx
leaq 0x8ab8(%rip), %rax      # 0xb700
movsbl (%rax,%rcx), %eax
cmpl $0xd, %eax
jne 0x2c95
movw -0x4(%rbp), %ax
addw $-0x1, %ax
movw %ax, -0x4(%rbp)
movswl -0x4(%rbp), %eax
subl $0x0, %eax
movslq %eax, %rcx
leaq 0x8a92(%rip), %rax      # 0xb700
movb (%rax,%rcx), %dl
movswl -0x4(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x8a7e(%rip), %rax      # 0xb700
movb %dl, (%rax,%rcx)
movswq -0x4(%rbp), %rcx
leaq 0x8a6f(%rip), %rax      # 0xb700
movb $0x0, (%rax,%rcx)
movswl -0x4(%rbp), %eax
movl %eax, 0x8add(%rip)      # 0xb77c
cmpl $0x1, 0x8a3e(%rip)      # 0xb6e4
jne 0x2cbb
leaq 0x8af1(%rip), %rdi      # 0xb7a0
leaq 0x8a4a(%rip), %rsi      # 0xb700
callq 0x1050
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)