// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movb $0x1, 0x5b69(%rip)      # 0xbc91
movb $0x1, %al
leaq 0x116ef(%rip), %rbx     # 0x17820
movl $0x7000, %r13d          # imm = 0x7000
movl $0xfff, %ebp            # imm = 0xFFF
testb %al, %al
jne 0x614e
callq 0x37ea
callq 0x3ab5
movb $0x1, %al
jmp 0x613c
movq 0x11ab3(%rip), %rax     # 0x17c08
movzbl (%rax,%rbx), %ecx
xorl %eax, %eax
testl %ecx, %ecx
je 0x62fb
cmpl $0xa, %ecx
je 0x62fb
movsbl %cl, %eax
addl $-0x2b, %eax
je 0x6191
rorl %eax
cmpl $0x2, %eax
je 0x618a
cmpl $0x8, %eax
jne 0x61a6
callq 0x3ab5
jmp 0x62f9
xorl %eax, %eax
jmp 0x62fb
movq 0x11a80(%rip), %rax     # 0x17c18
movb (%rax,%rbx), %al
movb %al, 0x11a7f(%rip)      # 0x17c20
callq 0x43c9
callq 0x21a0
movq 0x11a56(%rip), %rcx     # 0x17c08
movsbq (%rcx,%rbx), %rcx
cmpq $0x2d, %rcx
je 0x61cf
movq (%rax), %rax
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
je 0x6308
callq 0x631e
movq %rax, %r14
movq 0xfdd2(%rip), %r15      # 0x15fb0
movq (%rax), %r12
movl $0xfff, %eax            # imm = 0xFFF
andq %rax, %r12
movq 0xfdc8(%rip), %rsi      # 0x15fb8
orq %r15, %rsi
movq %rbx, %rdi
movq %r12, %rdx
movl $0x2, %ecx
callq 0x3f6b
movq %r15, %rdi
movq %r12, %rsi
callq 0x6b33
movq 0xfd9b(%rip), %rdi      # 0x15fb0
callq 0x6843
movq 0xfd8f(%rip), %rax      # 0x15fb0
movq %rax, %r15
andq %r13, %r15
incl %eax
andl %ebp, %eax
orq %rax, %r15
movq %r15, 0xfd7b(%rip)      # 0x15fb0
movq %rax, 0xfd84(%rip)      # 0x15fc0
movl 0x8(%r14), %r12d
shrl $0xc, %r12d
andl %ebp, %r12d
movq 0xfd6a(%rip), %rsi      # 0x15fb8
orq %r15, %rsi
movq %rbx, %rdi
movq %r12, %rdx
movl $0x2, %ecx
callq 0x3f6b
movq %r15, %rdi
movq %r12, %rsi
callq 0x6b33
movq 0xfd3d(%rip), %rdi      # 0x15fb0
callq 0x6843
movq 0xfd31(%rip), %rax      # 0x15fb0
movq %rax, %r15
andq %r13, %r15
incl %eax
andl %ebp, %eax
orq %rax, %r15
movq %r15, 0xfd1d(%rip)      # 0x15fb0
movq %rax, 0xfd26(%rip)      # 0x15fc0
movq 0x8(%r14), %r14
movl $0xfff, %eax            # imm = 0xFFF
andq %rax, %r14
movq 0xfd0b(%rip), %rsi      # 0x15fb8
orq %r15, %rsi
movq %rbx, %rdi
movq %r14, %rdx
movl $0x2, %ecx
callq 0x3f6b
movq %r15, %rdi
movq %r14, %rsi
callq 0x6b33
movq 0xfcde(%rip), %rdi      # 0x15fb0
callq 0x6843
movq 0xfcd2(%rip), %rax      # 0x15fb0
movq %rax, %rcx
andq %r13, %rcx
incl %eax
andl %ebp, %eax
orq %rax, %rcx
movq %rcx, 0xfcbe(%rip)      # 0x15fb0
movq %rax, 0xfcc7(%rip)      # 0x15fc0
movb $0x1, %al
cmpb $0x0, 0x1190e(%rip)     # 0x17c10
je 0x613c
movb $0x0, 0x5982(%rip)      # 0xbc91
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq