// File: /workspace/github_c_makefile_star2_O3/nimble-code[P]gh_cpp/Src/gh_cpp1.c
// Function: do_parsing
static void
do_parsing(void)
{	Tokvals t;
	TS *n;

	nowc = lbuf;
	strip_comments();

	while ((t = lex()) != DONE)
	{	n = new_inl(t);
		n->space = white;
		switch (n->tok) {
		case NAME:
			n->name = emalloc(strlen(myname)+1);
			strcpy(n->name, myname);
			break;
		case VAL:
			n->val = myval;
			break;
		case ECHAR:
			/* fall thru */
		case CHAR:
			n->val = (int) mychar;
			break;
		default:
			fatal_error("unknown token");
		}
		n->prv = inl;
		if (start) inl->nxt = n; else start = n;
		inl = n;
	}

	for (n = start; n; n = n->nxt)
		if (n->tok == CHAR)
		{	if (n->val == '{')
				BlockDepth++;
			else if (n->val == '}')
				BlockDepth--;

			if (n->val == '/'
			&&  n->nxt
			&&  n->nxt->tok == CHAR
			&&  n->nxt->val == '/')
			{	if (misra_rules)
					m_rule(2, 2, "C++ style comment");
				if (n->prv)
					n->prv->nxt = (TS *) 0;
				else
					start = (TS *) 0;
		}	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0xd984(%rip), %r15      # 0x12eb0
movq %r15, 0xd96d(%rip)      # 0x12ea0
cmpl $0x0, 0xedba(%rip)      # 0x142f4
movq %r15, %rbx
jne 0x55a5
leaq 0x93d3(%rip), %rdi      # 0xe919
movq %r15, %rsi
callq 0x61a6
movq %rax, %r14
leaq 0x93c4(%rip), %rdi      # 0xe91c
movq %r15, %rsi
callq 0x61a6
movq %rax, %rbx
testq %r14, %r14
je 0x5593
testq %rbx, %rbx
je 0x5572
cmpq %rbx, %r14
jae 0x559c
cmpb $0x0, (%r14)
je 0x5653
incq %r14
movb $0x20, -0x1(%r14)
cmpb $0x0, (%r14)
leaq 0x1(%r14), %r14
jne 0x557f
jmp 0x5653
testq %rbx, %rbx
je 0x5653
movw $0x2020, (%rbx)         # imm = 0x2020
addq $0x2, %rbx
leaq 0x9373(%rip), %rsi      # 0xe91f
movq %rbx, %rdi
callq 0x41d0
movq %rax, %r14
cmpl $0x0, 0xd8d6(%rip)      # 0x12e94
je 0x5603
xorl %r15d, %r15d
testq %r14, %r14
je 0x55cf
movb (%r14), %r15b
movb $0x0, (%r14)
leaq 0x9346(%rip), %rsi      # 0xe91c
movq %rbx, %rdi
callq 0x41d0
testq %rax, %rax
je 0x55f9
leaq 0x9351(%rip), %rdx      # 0xe93b
movl $0x2, %edi
movl $0x3, %esi
callq 0xa2f8
testq %r14, %r14
je 0x5634
movb %r15b, (%r14)
jmp 0x5608
testq %r14, %r14
je 0x5634
leaq 0x1(%r14), %rax
cmpq %rax, %rbx
jbe 0x5616
movq %rbx, %r15
jmp 0x5625
leaq 0x1(%rbx), %r15
movb $0x20, (%rbx)
cmpq %r14, %rbx
movq %r15, %rbx
jbe 0x5616
movl $0x0, 0xecc5(%rip)      # 0x142f4
jmp 0x553f
cmpb $0x0, (%rbx)
je 0x5649
incq %rbx
movb $0x20, -0x1(%rbx)
cmpb $0x0, (%rbx)
leaq 0x1(%rbx), %rbx
jne 0x563c
movl $0x1, 0xeca1(%rip)      # 0x142f4
leaq 0xd856(%rip), %rbx      # 0x12eb0
movq %rbx, %rdi
callq 0x40a0
decl %eax
js 0x5695
movl %eax, %r14d
callq 0x41e0
movq (%rax), %rcx
movsbq (%r14,%rbx), %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
je 0x5695
addq %r14, %rbx
movb $0x0, (%rbx)
movq (%rax), %rcx
movsbq -0x1(%rbx), %rdx
decq %rbx
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x5680
movabsq $0x20100000201, %rbx    # imm = 0x20100000201
callq 0x4c5b
movq 0xd7f5(%rip), %r14      # 0x12ea0
movzbl (%r14), %r13d
cmpl $0xd, %r13d
ja 0x56c4
movl $0x2401, %eax           # imm = 0x2401
btl %r13d, %eax
jb 0x5d4c
callq 0x41e0
movq %rax, %r12
cmpb $0x5f, %r13b
je 0x5750
movsbq %r13b, %rax
movq (%r12), %r15
movzwl (%r15,%rax,2), %eax
movl %eax, %ecx
andl $0x400, %ecx            # imm = 0x400
jne 0x5750
cmpb $0x2e, %r13b
jne 0x5784
cmpb $0x2e, 0x1(%r14)
jne 0x5839
cmpb $0x2e, 0x2(%r14)
jne 0x5839
addq $0x3, %r14
movq %r14, 0xd78c(%rip)      # 0x12ea0
leaq 0x9232(%rip), %rax      # 0xe94d
movq %rax, 0xebc6(%rip)      # 0x142e8
cmpl $0x0, 0xd76b(%rip)      # 0x12e94
je 0x5a27
movl $0x1, %r15d
movl $0x10, %edi
movl $0x1, %esi
leaq 0x920b(%rip), %rdx      # 0xe951
callq 0xa2f8
jmp 0x5bec
leaq 0x1(%r14), %rax
movq %rax, 0xd745(%rip)      # 0x12ea0
movq (%r12), %rcx
movsbq (%rax), %r15
movzwl (%rcx,%r15,2), %ecx
testb $0x8, %cl
jne 0x577f
movzbl %r15b, %ecx
cmpl $0x5f, %ecx
je 0x577f
cmpl $0x2d, %ecx
jne 0x5b5b
incq %rax
jmp 0x5754
btl $0xb, %eax
jae 0x583f
cmpb $0x30, %r13b
jne 0x589b
movzbl 0x1(%r14), %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x589b
addq $0x2, %r14
movq %r14, 0xd6ec(%rip)      # 0x12ea0
movl $0x0, 0xeb3a(%rip)      # 0x142f8
xorl %ecx, %ecx
movabsq $0x3f0000003f, %rsi     # imm = 0x3F0000003F
movabsq $0x7e0000007e03ff, %rdi # imm = 0x7E0000007E03FF
leaq 0x5965(%rip), %r8       # 0xb140
movq (%r12), %rdx
movsbq (%r14), %rax
movzwl (%rdx,%rax,2), %edx
btl $0xb, %edx
jb 0x5806
movzbl %al, %edx
addl $-0x41, %edx
cmpl $0x25, %edx
ja 0x58e0
btq %rdx, %rsi
jae 0x58e0
shll $0x4, %ecx
addl %eax, %ecx
movl %ecx, 0xeae7(%rip)      # 0x142f8
movb (%r14), %al
addb $-0x30, %al
cmpb $0x36, %al
ja 0x582d
movzbl %al, %eax
btq %rax, %rdi
jae 0x582d
addl (%r8,%rax,4), %ecx
movl %ecx, 0xeacb(%rip)      # 0x142f8
incq %r14
movq %r14, 0xd669(%rip)      # 0x12ea0
jmp 0x57db
btl $0xb, %eax
jb 0x589b
leaq 0x1(%r14), %rax
movq %rax, 0xd656(%rip)      # 0x12ea0
movb (%r14), %r13b
movb %r13b, 0xea90(%rip)     # 0x142e4
movzbl %r13b, %ecx
cmpl $0x39, %ecx
jle 0x58ff
cmpl $0x3e, %ecx
jg 0x59a4
cmpl $0x3a, %ecx
je 0x59d2
cmpl $0x3c, %ecx
jne 0x5a4c
movzbl (%rax), %eax
cmpl $0x3a, %eax
je 0x5a32
movb $0x3c, %r13b
cmpl $0x25, %eax
jne 0x5a4c
movb $0x7b, %cl
jmp 0x5a38
movq %r14, %rdi
callq 0x4180
movl %eax, 0xea4f(%rip)      # 0x142f8
movsbq (%r14), %rax
testb $0x8, 0x1(%r15,%rax,2)
je 0x58e0
incq %r14
movq %r14, 0xd5e1(%rip)      # 0x12ea0
movq (%r12), %rcx
movsbq (%r14), %rax
incq %r14
testb $0x8, 0x1(%rcx,%rax,2)
jne 0x58b8
decq %r14
jmp 0x58e0
movq %r14, 0xd5c3(%rip)      # 0x12ea0
movb (%r14), %al
incq %r14
movzbl %al, %eax
addl $-0x4c, %eax
cmpl $0x29, %eax
ja 0x58f4
btq %rax, %rbx
jb 0x58d6
movl $0x4, %r15d
jmp 0x5bec
cmpl $0x22, %ecx
je 0x5afe
cmpl $0x25, %ecx
je 0x5a13
cmpl $0x27, %ecx
jne 0x5a4c
cmpl $0x0, 0xd573(%rip)      # 0x12e94
je 0x5af3
movb (%rax), %cl
cmpb $0x30, %cl
jne 0x5961
movq (%r12), %rax
movsbq 0x2(%r14), %rcx
testb $0x8, 0x1(%rax,%rcx,2)
je 0x5af3
movl $0x7, %edi
movl $0x1, %esi
leaq 0x9022(%rip), %rdx      # 0xe975
callq 0xa2f8
movq 0xd541(%rip), %rax      # 0x12ea0
movb (%rax), %cl
cmpb $0x5c, %cl
jne 0x5af3
movzbl 0x1(%rax), %eax
leal -0x22(%rax), %ecx
cmpl $0x3a, %ecx
ja 0x5ad9
movl $0x3f8000, %edx         # imm = 0x3F8000
btq %rcx, %rdx
jae 0x5ac9
movl $0x7, %edi
movl $0x1, %esi
leaq 0x8fdb(%rip), %rdx      # 0xe975
callq 0xa2f8
jmp 0x5af3
cmpl $0x3f, %ecx
je 0x59de
cmpl $0x5c, %ecx
jne 0x5a4c
leaq 0x2(%r14), %rax
movq %rax, 0xd4e3(%rip)      # 0x12ea0
movb 0x1(%r14), %al
movb %al, 0xe91d(%rip)       # 0x142e4
movl $0x3, %r15d
jmp 0x5bec
movb $0x3a, %r13b
movb $0x5d, %cl
cmpb $0x3e, (%rax)
je 0x5a38
jmp 0x5a4c
movb $0x3f, %r13b
cmpb $0x3f, (%rax)
jne 0x5a4c
movzbl 0x2(%r14), %ecx
cmpl $0x3b, %ecx
jg 0x5aa9
addl $-0x21, %ecx
cmpl $0xe, %ecx
ja 0x5a4c
leaq 0x5695(%rip), %rdx      # 0xb098
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movb $0x7c, %al
jmp 0x5cc2
movzbl (%rax), %eax
cmpl $0x3e, %eax
je 0x5a36
movb $0x25, %r13b
cmpl $0x3a, %eax
jne 0x5a4c
movb $0x23, %cl
jmp 0x5a38
movl $0x1, %r15d
jmp 0x5bec
movb $0x5b, %cl
jmp 0x5a38
movb $0x7d, %cl
addq $0x2, %r14
movq %r14, 0xd45d(%rip)      # 0x12ea0
movb %cl, 0xe89b(%rip)       # 0x142e4
movl %ecx, %r13d
cmpl $0x0, 0xd441(%rip)      # 0x12e94
movl $0x2, %r15d
je 0x5bec
cmpb $0x3b, %r13b
jne 0x5bec
cmpl $0x0, 0xe884(%rip)      # 0x142f4
jne 0x5bec
movslq 0xe437(%rip), %rax      # 0x13eb4
leaq 0xe43c(%rip), %rcx      # 0x13ec0
cmpl $0x0, (%rcx,%rax,4)
jne 0x5bec
leaq 0x109f7(%rip), %rax     # 0x1648c
cmpl $0x1, (%rax)
jg 0x5bec
incl 0xe84c(%rip)            # 0x142f0
jmp 0x5bec
cmpl $0x3c, %ecx
je 0x5cc0
movb $0x23, %al
cmpl $0x3d, %ecx
je 0x5cc2
cmpl $0x3e, %ecx
jne 0x5a4c
movb $0x7d, %al
jmp 0x5cc2
movabsq $0x440000000004021, %rdx # imm = 0x440000000004021
btq %rcx, %rdx
jb 0x5af3
addl $-0x61, %eax
cmpl $0x17, %eax
ja 0x5d36
movl $0xaa2023, %ecx         # imm = 0xAA2023
btl %eax, %ecx
jae 0x5d36
movq 0xd3a6(%rip), %rax      # 0x12ea0
leaq -0x1(%rax), %r14
movb (%rax), %cl
cmpb %r13b, %cl
je 0x5b49
cmpb $0x5c, %cl
je 0x5b13
movzbl %cl, %ecx
testl %ecx, %ecx
jne 0x5b16
jmp 0x5b2e
incq %rax
leaq 0x1(%rax), %rdx
movq %rdx, 0xd37f(%rip)      # 0x12ea0
movb 0x1(%rax), %cl
movq %rdx, %rax
cmpb %r13b, %cl
jne 0x5b05
jmp 0x5b4c
movslq 0xe37f(%rip), %rcx      # 0x13eb4
leaq 0xe384(%rip), %rdx      # 0x13ec0
cmpl $0x0, (%rdx,%rcx,4)
je 0x5d05
decq %rax
movq %rax, %rdx
leaq 0x1(%rdx), %rax
movq %rax, 0xd349(%rip)      # 0x12ea0
movb 0x1(%rdx), %r15b
movb $0x0, (%rax)
movq %r14, %rdi
callq 0x40a0
leal 0x1(%rax), %edi
callq 0x4a8a
movq %rax, 0xe773(%rip)      # 0x142e8
movq %rax, %rdi
movq %r14, %rsi
callq 0x4070
movq 0xd319(%rip), %rax      # 0x12ea0
movb %r15b, (%rax)
cmpl $0x0, 0xd303(%rip)      # 0x12e94
sete %al
movq 0xc585(%rip), %r14      # 0x12120
testq %r14, %r14
sete %cl
orb %al, %cl
movl $0x1, %r15d
jne 0x5bec
movq 0xe736(%rip), %r12      # 0x142e8
leaq 0xc577(%rip), %r13      # 0x12130
movq %r12, %rdi
movq %r14, %rsi
callq 0x4140
testl %eax, %eax
jne 0x5bdf
movl -0x8(%r13), %edi
movl -0x4(%r13), %esi
movq %r14, %rdx
callq 0xa2f8
movq 0xe709(%rip), %r12      # 0x142e8
movq (%r13), %r14
addq $0x10, %r13
testq %r14, %r14
jne 0x5bb9
movq 0xe70d(%rip), %r14      # 0x14300
testq %r14, %r14
je 0x5c16
movq 0x28(%r14), %rax
movq %rax, 0xe6fd(%rip)      # 0x14300
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r14)
movups %xmm0, 0x10(%r14)
movups %xmm0, (%r14)
jmp 0x5c23
movl $0x30, %edi
callq 0x4a8a
movq %rax, %r14
movl %r15d, (%r14)
movl 0xd26c(%rip), %eax      # 0x12e98
movl %eax, 0x10(%r14)
leal -0x2(%r15), %eax
cmpl $0x2, %eax
jae 0x5c42
movsbl 0xe6a4(%rip), %eax      # 0x142e4
jmp 0x5c4e
cmpl $0x4, %r15d
jne 0x5c54
movl 0xe6aa(%rip), %eax      # 0x142f8
movl %eax, 0x4(%r14)
jmp 0x5c7b
movq 0xe68d(%rip), %rdi      # 0x142e8
callq 0x40a0
leal 0x1(%rax), %edi
callq 0x4a8a
movq %rax, 0x8(%r14)
movq 0xe675(%rip), %rsi      # 0x142e8
movq %rax, %rdi
callq 0x4070
movq 0xe64e(%rip), %rax      # 0x142d0
movq %rax, 0x20(%r14)
addq $0x28, %rax
cmpq $0x0, 0xe636(%rip)      # 0x142c8
leaq 0xe62f(%rip), %rcx      # 0x142c8
cmoveq %rcx, %rax
movq %r14, (%rax)
movq %r14, 0xe629(%rip)      # 0x142d0
jmp 0x569f
movb $0x7e, %al
jmp 0x5cc2
movb $0x5b, %al
jmp 0x5cc2
movb $0x5d, %al
jmp 0x5cc2
movb $0x5e, %al
jmp 0x5cc2
movb $0x5c, %al
jmp 0x5cc2
movb $0x7b, %al
addq $0x3, %r14
movq %r14, 0xd1d3(%rip)      # 0x12ea0
movb %al, 0xe611(%rip)       # 0x142e4
cmpl $0x0, 0xd1ba(%rip)      # 0x12e94
movl %eax, %r13d
je 0x5a4c
movl $0x4, %edi
movl $0x2, %esi
leaq 0x8cbd(%rip), %rdx      # 0xe9b1
callq 0xa2f8
movb 0xe5e4(%rip), %r13b     # 0x142e4
jmp 0x5a4c
movq 0xc2ec(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq 0xc3fa(%rip), %rdx      # 0x12110
movl 0xd174(%rip), %ecx      # 0x12e90
leaq 0x8c36(%rip), %rsi      # 0xe959
xorl %eax, %eax
callq 0x4150
movq 0xd16f(%rip), %rax      # 0x12ea0
jmp 0x5b46
movl $0x4, %edi
movl $0x1, %esi
leaq 0x8c50(%rip), %rdx      # 0xe997
jmp 0x599a
movq 0xe575(%rip), %r14      # 0x142c8
testq %r14, %r14
je 0x5de2
leaq 0x8ba4(%rip), %rbx      # 0xe907
cmpl $0x2, (%r14)
jne 0x5dd9
movl 0x4(%r14), %eax
cmpl $0x2f, %eax
je 0x5d8c
cmpl $0x7d, %eax
je 0x5d84
cmpl $0x7b, %eax
jne 0x5dd9
incl 0xe58e(%rip)            # 0x14310
jmp 0x5dd9
decl 0xe586(%rip)            # 0x14310
jmp 0x5dd9
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x5dd9
cmpl $0x2, (%rax)
jne 0x5dd9
cmpl $0x2f, 0x4(%rax)
jne 0x5dd9
cmpl $0x0, 0xd0ed(%rip)      # 0x12e94
je 0x5dbb
movl $0x2, %edi
movl $0x2, %esi
movq %rbx, %rdx
callq 0xa2f8
movq 0x20(%r14), %rax
testq %rax, %rax
je 0x5dce
movq $0x0, 0x28(%rax)
jmp 0x5dd9
movq $0x0, 0xe4ef(%rip) # 0x142c8
movq 0x28(%r14), %r14
testq %r14, %r14
jne 0x5d63
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq