// File: /workspace/github_c_makefile_star2_O0/Edilbert[P]BS9/bs9.c
// Function: NextMacLine
void NextMacLine(char *w)
{
   int i;
   char *r;

   if (df) fprintf(df,"Next Macro Line:%s\n",w);

   // do not count macro expansion lines

   --LiNo;

   // check for end of macro body

   while (MacLev > 0 && *MacPtr[MacLev] == 0) --MacLev;

   if (df) fprintf(df,"MacPtr[%d] = {{%s}}\n",MacLev,MacPtr[MacLev]);

   if (MacPtr[MacLev] && *MacPtr[MacLev])
   {
      while (*MacPtr[MacLev] &&
             *MacPtr[MacLev] != '\n')
      {
         if (*MacPtr[MacLev] == CHAMAC)
         {
            i = *(++MacPtr[MacLev]) - '0';
            r = MacArgs + ArgPtr[i];
            while (*r) *w++ = *r++;
            ++MacPtr[MacLev];
         }
         else *w++ = *MacPtr[MacLev]++;
      }
      if (*MacPtr[MacLev] == '\n') ++MacPtr[MacLev];
   }
   *w = 0;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
cmpq $0x0, 0x1bd3f(%rip)     # 0x289f0
je 0xcccd
movq 0x1bd36(%rip), %rdi     # 0x289f0
movq 0x20(%rsp), %rdx
leaq 0x4786(%rip), %rsi      # 0x1144c
movb $0x0, %al
callq 0x21e0
movl 0x1b065(%rip), %eax     # 0x27d38
addl $-0x1, %eax
movl %eax, 0x1b05c(%rip)     # 0x27d38
xorl %eax, %eax
cmpl $0x0, 0x7dc03(%rip)     # 0x8a8e8
movb %al, 0xf(%rsp)
jle 0xcd0a
movslq 0x7dbf6(%rip), %rcx     # 0x8a8e8
leaq 0x7dbf7(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
sete %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0xcd14
jmp 0xcd25
movl 0x7dbce(%rip), %eax     # 0x8a8e8
addl $-0x1, %eax
movl %eax, 0x7dbc5(%rip)     # 0x8a8e8
jmp 0xccdc
cmpq $0x0, 0x1bcc3(%rip)     # 0x289f0
je 0xcd5c
movq 0x1bcba(%rip), %rdi     # 0x289f0
movl 0x7dbac(%rip), %edx     # 0x8a8e8
movslq 0x7dba5(%rip), %rcx     # 0x8a8e8
leaq 0x7dba6(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rcx
leaq 0x470b(%rip), %rsi      # 0x11460
movb $0x0, %al
callq 0x21e0
movslq 0x7db85(%rip), %rcx     # 0x8a8e8
leaq 0x7db86(%rip), %rax     # 0x8a8f0
cmpq $0x0, (%rax,%rcx,8)
je 0xcf1d
movslq 0x7db6c(%rip), %rcx     # 0x8a8e8
leaq 0x7db6d(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0xcf1d
jmp 0xcd95
movslq 0x7db4c(%rip), %rcx     # 0x8a8e8
leaq 0x7db4d(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, 0xe(%rsp)
je 0xcdd4
movslq 0x7db2c(%rip), %rcx     # 0x8a8e8
leaq 0x7db2d(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
setne %al
movb %al, 0xe(%rsp)
movb 0xe(%rsp), %al
testb $0x1, %al
jne 0xcde1
jmp 0xcee0
movslq 0x7db00(%rip), %rcx     # 0x8a8e8
leaq 0x7db01(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0x60, %eax
jne 0xcea2
movslq 0x7dae2(%rip), %rdx     # 0x8a8e8
leaq 0x7dae3(%rip), %rax     # 0x8a8f0
movq (%rax,%rdx,8), %rax
movq %rax, %rsi
addq $0x1, %rsi
leaq 0x7dad1(%rip), %rcx     # 0x8a8f0
movq %rsi, (%rcx,%rdx,8)
movsbl 0x1(%rax), %eax
subl $0x30, %eax
movl %eax, 0x1c(%rsp)
movslq 0x1c(%rsp), %rcx
leaq 0x7da86(%rip), %rax     # 0x8a8c0
movslq (%rax,%rcx,4), %rcx
leaq 0x7d97b(%rip), %rax     # 0x8a7c0
addq %rcx, %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpb $0x0, (%rax)
je 0xce7f
movq 0x10(%rsp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, 0x10(%rsp)
movb (%rax), %cl
movq 0x20(%rsp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x20(%rsp)
movb %cl, (%rax)
jmp 0xce4d
movslq 0x7da62(%rip), %rcx     # 0x8a8e8
leaq 0x7da63(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rdx
addq $0x1, %rdx
leaq 0x7da54(%rip), %rax     # 0x8a8f0
movq %rdx, (%rax,%rcx,8)
jmp 0xcedb
movslq 0x7da3f(%rip), %rdx     # 0x8a8e8
leaq 0x7da40(%rip), %rax     # 0x8a8f0
movq (%rax,%rdx,8), %rax
movq %rax, %rsi
addq $0x1, %rsi
leaq 0x7da2e(%rip), %rcx     # 0x8a8f0
movq %rsi, (%rcx,%rdx,8)
movb (%rax), %cl
movq 0x20(%rsp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x20(%rsp)
movb %cl, (%rax)
jmp 0xcd95
movslq 0x7da01(%rip), %rcx     # 0x8a8e8
leaq 0x7da02(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0xa, %eax
jne 0xcf1b
movslq 0x7d9e7(%rip), %rcx     # 0x8a8e8
leaq 0x7d9e8(%rip), %rax     # 0x8a8f0
movq (%rax,%rcx,8), %rdx
addq $0x1, %rdx
leaq 0x7d9d9(%rip), %rax     # 0x8a8f0
movq %rdx, (%rax,%rcx,8)
jmp 0xcf1d
movq 0x20(%rsp), %rax
movb $0x0, (%rax)
addq $0x28, %rsp
retq
nopw (%rax,%rax)