// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]gh_cpp/Src/gh_cpp1.c
// Function: prep_line
static void
prep_line(TS *from)
{	char tmp[1024];
	TS *n;
	int i;
	static int saw_else_last;

	strcpy(lbuf, "");
	for (n = from; n; n = n->nxt)
	{	for (i = n->space; i > 0; i--)
			strcat(lbuf, " ");

		switch (n->tok) {
		case NAME:
			strcat(lbuf, n->name);
			saw_else_last = (strcmp(n->name, "else") == 0);
			break;
		case VAL:
			sprintf(tmp, "%d", n->val);
			strcat(lbuf, tmp);
			saw_else_last = 0;
			break;
		case ECHAR:
			strcat(lbuf, "\\");
			saw_else_last = 0;
			/* fall thru */
		case CHAR:
			sprintf(tmp, "%c", n->val);
			strcat(lbuf, tmp);

			if (saw_else_last && n->val == ';')
			fprintf(stderr, "%s,%d: 'else' is followed by ';'\n",
				filename, lineno);
			saw_else_last = 0;
			break;
		case TPASTE:
			strcat(lbuf, "##");
			break;
		default:
			fprintf(stderr, "saw: ");
			tokfull(n, stderr);
			fprintf(stderr, "\n");
			fatal_error("unknown token");
	}	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x430, %rsp            # imm = 0x430
movq %rdi, -0x8(%rbp)
leaq 0x1076a(%rip), %rdi     # 0x14fb0
leaq 0xcfce(%rip), %rsi      # 0x1181b
callq 0x4060
movq -0x8(%rbp), %rax
movq %rax, -0x418(%rbp)
cmpq $0x0, -0x418(%rbp)
je 0x4a77
movq -0x418(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x41c(%rbp)
cmpl $0x0, -0x41c(%rbp)
jle 0x48a8
leaq 0x10725(%rip), %rdi     # 0x14fb0
leaq 0xd15f(%rip), %rsi      # 0x119f1
callq 0x4160
movl -0x41c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x41c(%rbp)
jmp 0x487b
movq -0x418(%rbp), %rax
movl (%rax), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x428(%rbp)
subl $0x1f, %eax
ja 0x4a0c
movq -0x428(%rbp), %rax
leaq 0x87b5(%rip), %rcx      # 0xd088
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x418(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x106c2(%rip), %rdi     # 0x14fb0
callq 0x4160
movq -0x418(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0xc5e8(%rip), %rsi      # 0x10eed
callq 0x4100
cmpl $0x0, %eax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, 0x11ae1(%rip)     # 0x163fc
jmp 0x4a5e
leaq -0x410(%rbp), %rdi
movq -0x418(%rbp), %rax
movl 0x4(%rax), %edx
leaq 0xc159(%rip), %rsi      # 0x10a91
movb $0x0, %al
callq 0x4170
leaq -0x410(%rbp), %rsi
leaq 0x10663(%rip), %rdi     # 0x14fb0
callq 0x4160
movl $0x0, 0x11aa0(%rip)     # 0x163fc
jmp 0x4a5e
leaq 0x10648(%rip), %rdi     # 0x14fb0
leaq 0xc125(%rip), %rsi      # 0x10a94
callq 0x4160
movl $0x0, 0x11a7e(%rip)     # 0x163fc
leaq -0x410(%rbp), %rdi
movq -0x418(%rbp), %rax
movl 0x4(%rax), %edx
leaq 0xc870(%rip), %rsi      # 0x11206
movb $0x0, %al
callq 0x4170
leaq -0x410(%rbp), %rsi
leaq 0x10605(%rip), %rdi     # 0x14fb0
callq 0x4160
cmpl $0x0, 0x11a45(%rip)     # 0x163fc
je 0x49eb
movq -0x418(%rbp), %rax
cmpl $0x3b, 0x4(%rax)
jne 0x49eb
movq 0xf62b(%rip), %rax      # 0x13ff8
movq (%rax), %rdi
movq 0xf719(%rip), %rdx      # 0x140f0
movl 0x105b3(%rip), %ecx     # 0x14f90
leaq 0xc0b2(%rip), %rsi      # 0x10a96
movb $0x0, %al
callq 0x4110
movl $0x0, 0x11a07(%rip)     # 0x163fc
jmp 0x4a5e
leaq 0x105b2(%rip), %rdi     # 0x14fb0
leaq 0xc0b3(%rip), %rsi      # 0x10ab8
callq 0x4160
jmp 0x4a5e
movq 0xf5e5(%rip), %rax      # 0x13ff8
movq (%rax), %rdi
leaq 0xc09e(%rip), %rsi      # 0x10abb
movb $0x0, %al
callq 0x4110
movq -0x418(%rbp), %rdi
movq 0xf5c6(%rip), %rax      # 0x13ff8
movq (%rax), %rsi
callq 0x57e0
movq 0xf5b7(%rip), %rax      # 0x13ff8
movq (%rax), %rdi
leaq 0xc5cb(%rip), %rsi      # 0x11016
movb $0x0, %al
callq 0x4110
leaq 0xc068(%rip), %rdi      # 0x10ac1
callq 0x42b0
jmp 0x4a60
movq -0x418(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x418(%rbp)
jmp 0x485d
addq $0x430, %rsp            # imm = 0x430
popq %rbp
retq