// File: /workspace/github_c_makefile_star2_O2/AK6DN[P]dec-utilities-for-pdp/macro8x/macro8x.c
// Function: inputFltg
void inputFltg()
{
  FLTG_T   *fltg;
  BOOL   scanning_line;

  fltg_input = TRUE;            /* Set lexeme scanner for floating point.     */
  scanning_line = TRUE;
  while( TRUE )
  {
    while( scanning_line )
    {
      if( is_end( line[lexstart] ))
      {
        scanning_line = FALSE;
      }
      else
      {
        switch( line[lexstart] )
        {
        case '/':
          scanning_line = FALSE;
          break;

        case ';':
          nextLexeme();
          break;

        case '+':
          delimiter = line[lexterm];
          nextLexBlank();
        case '-':
        default:
          if( is_digit( line[lexstart] ) || line[lexstart] == '-' )
          {
            fltg = getFltgExprs();
            punchOutObject( clc, ( fltg->exponent & 07777 ));
            incrementClc();
            punchOutObject( clc, (WORD32)(( fltg->mantissa >> 12 ) & 07777 ));
            incrementClc();
            punchOutObject( clc, (WORD32)( fltg->mantissa & 07777 ));
            incrementClc();
          }
          else
          {
            fltg_input = FALSE; /* Reset lexeme scanner.                      */
            return;             /* Non-numeric input, back to assembly.       */
          }
          break;
        } /* end switch                                                       */
      } /* end if                                                             */

      if( error_in_line )
      {
        fltg_input = FALSE;     /* Reset lexeme scanner.                      */
        return;                 /* Error occurred, exit FLTG input mode.      */
      }
    } /* end while( scanning_line )                                           */
    readLine();
    nextLexeme();
    scanning_line = TRUE;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movb $0x1, 0x6244(%rip)      # 0xbc81
movb $0x1, %al
leaq 0x11dca(%rip), %r14     # 0x17810
movl $0xfff, %r15d           # imm = 0xFFF
testb %al, %al
jne 0x5a5e
callq 0x3653
callq 0x394b
movb $0x1, %al
jmp 0x5a4c
movq 0x12193(%rip), %rax     # 0x17bf8
movzbl (%rax,%r14), %ebx
xorl %eax, %eax
testl %ebx, %ebx
je 0x5b35
cmpl $0xa, %ebx
je 0x5b35
movsbl %bl, %eax
addl $-0x2b, %eax
je 0x5aa2
rorl %eax
cmpl $0x2, %eax
je 0x5a9b
cmpl $0x8, %eax
jne 0x5ac3
callq 0x394b
jmp 0x5b33
xorl %eax, %eax
jmp 0x5b35
movq 0x1215f(%rip), %rax     # 0x17c08
movb (%rax,%r14), %al
movb %al, 0x1215d(%rip)      # 0x17c10
callq 0x4164
movq 0x12139(%rip), %rax     # 0x17bf8
movb (%rax,%r14), %bl
callq 0x2190
cmpb $0x2d, %bl
je 0x5adf
movq (%rax), %rax
movsbq %bl, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
je 0x5b42
callq 0x5b4f
movq %rax, %rbx
movq 0x104b2(%rip), %rdi     # 0x15fa0
movq (%rax), %rsi
andq %r15, %rsi
callq 0x5226
callq 0x525e
movq 0x1049b(%rip), %rdi     # 0x15fa0
movl 0x8(%rbx), %esi
shrl $0xc, %esi
andl $0xfff, %esi            # imm = 0xFFF
callq 0x5226
callq 0x525e
movq 0x1047e(%rip), %rdi     # 0x15fa0
movq 0x8(%rbx), %rsi
andq %r15, %rsi
callq 0x5226
callq 0x525e
movb $0x1, %al
cmpb $0x0, 0x120c4(%rip)     # 0x17c00
je 0x5a4c
movb $0x0, 0x6138(%rip)      # 0xbc81
popq %rbx
popq %r14
popq %r15
retq