// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]gh_cpp/Src/gh_cpp1.c
// Function: pasterize
static int
pasterize(TS *f, TS *p, TS *n)
{	char *s;

	if (p->tok == NAME
	&&  n->tok == NAME
	&&  (p->name[0] == '"' || p->name[0] == '\''
	||   n->name[0] == '"' || n->name[0] == '\''))
	{	fprintf(stderr, "%s,%d: pasting %c and %c does not produce a valid new token\n",
			filename, lineno, p->val, n->val);
		return 0;
	}
	if (n->tok == CHAR
	&&  n->val == ';')
		fprintf(stderr, "%s,%d: pasting %c does not produce a valid new token\n",
			filename, lineno, n->val);

	if (p->tok == CHAR)
	{	if (n->tok == CHAR
		&&  p->val == '/'
		&& (n->val == '*' || n->val == '/'))
		fprintf(stderr, "%s,%d: pasting %c and %c did not produce a valid new token\n",
			filename, lineno, p->val, n->val);
		if (n->tok == NAME
		&&  p->val == '#'
		&&  (strcmp(n->name, "define") == 0
		||   strcmp(n->name, "include") == 0))
		fprintf(stderr, "%s,%d: pasting %c and %s did not produce a valid directive\n",
			filename, lineno, p->val, n->name);
	}

	s = emalloc(1 + 2*string_size(p) + 2*string_size(n) +4);
	strcpy(s, stringify(p, p));
	strcat(s, stringify(n, n));

	if (p->tok == VAL
	&&  n->tok == VAL)
	{	f->tok = VAL;
		f->val = atoi(s);
	} else
	{	f->tok = NAME;
		f->name = s;
	}
	return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x9d2f
movq -0x20(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x9d2f
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x22, %eax
je 0x9cee
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x27, %eax
je 0x9cee
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x22, %eax
je 0x9cee
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x27, %eax
jne 0x9d2f
movq 0xa303(%rip), %rax      # 0x13ff8
movq (%rax), %rdi
movq 0xa3f1(%rip), %rdx      # 0x140f0
movl 0xb28b(%rip), %ecx      # 0x14f90
movq -0x18(%rbp), %rax
movl 0x4(%rax), %r8d
movq -0x20(%rbp), %rax
movl 0x4(%rax), %r9d
leaq 0x74ed(%rip), %rsi      # 0x11209
movb $0x0, %al
callq 0x4110
movl $0x0, -0x4(%rbp)
jmp 0x9f10
movq -0x20(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x9d6f
movq -0x20(%rbp), %rax
cmpl $0x3b, 0x4(%rax)
jne 0x9d6f
movq 0xa2af(%rip), %rax      # 0x13ff8
movq (%rax), %rdi
movq 0xa39d(%rip), %rdx      # 0x140f0
movl 0xb237(%rip), %ecx      # 0x14f90
movq -0x20(%rbp), %rax
movl 0x4(%rax), %r8d
leaq 0x74de(%rip), %rsi      # 0x11246
movb $0x0, %al
callq 0x4110
movq -0x18(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x9e54
movq -0x20(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x9dd8
movq -0x18(%rbp), %rax
cmpl $0x2f, 0x4(%rax)
jne 0x9dd8
movq -0x20(%rbp), %rax
cmpl $0x2a, 0x4(%rax)
je 0x9da3
movq -0x20(%rbp), %rax
cmpl $0x2f, 0x4(%rax)
jne 0x9dd8
movq 0xa24e(%rip), %rax      # 0x13ff8
movq (%rax), %rdi
movq 0xa33c(%rip), %rdx      # 0x140f0
movl 0xb1d6(%rip), %ecx      # 0x14f90
movq -0x18(%rbp), %rax
movl 0x4(%rax), %r8d
movq -0x20(%rbp), %rax
movl 0x4(%rax), %r9d
leaq 0x74ab(%rip), %rsi      # 0x1127c
movb $0x0, %al
callq 0x4110
movq -0x20(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x9e52
movq -0x18(%rbp), %rax
cmpl $0x23, 0x4(%rax)
jne 0x9e52
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x6f90(%rip), %rsi      # 0x10d8a
callq 0x4100
cmpl $0x0, %eax
je 0x9e1d
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x7710(%rip), %rsi      # 0x11523
callq 0x4100
cmpl $0x0, %eax
jne 0x9e52
movq 0xa1d4(%rip), %rax      # 0x13ff8
movq (%rax), %rdi
movq 0xa2c2(%rip), %rdx      # 0x140f0
movl 0xb15c(%rip), %ecx      # 0x14f90
movq -0x18(%rbp), %rax
movl 0x4(%rax), %r8d
movq -0x20(%rbp), %rax
movq 0x8(%rax), %r9
leaq 0x746d(%rip), %rsi      # 0x112b8
movb $0x0, %al
callq 0x4110
jmp 0x9e54
movq -0x18(%rbp), %rdi
callq 0x9f20
shll %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
movq -0x20(%rbp), %rdi
callq 0x9f20
movl -0x3c(%rbp), %edi
shll %eax
addl %eax, %edi
addl $0x4, %edi
callq 0x4320
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x9ac0
movq -0x38(%rbp), %rdi
movq %rax, %rsi
callq 0x4060
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x20(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x9ac0
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0x4160
movq -0x18(%rbp), %rax
cmpl $0x4, (%rax)
jne 0x9ef3
movq -0x20(%rbp), %rax
cmpl $0x4, (%rax)
jne 0x9ef3
movq -0x10(%rbp), %rax
movl $0x4, (%rax)
movq -0x28(%rbp), %rdi
callq 0x4150
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x4(%rax)
jmp 0x9f09
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
movq -0x28(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)