// File: /workspace/github_c_makefile_star2_O1/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 0xd953(%rip), %r15      # 0x12eb0
movq %r15, 0xd93c(%rip)      # 0x12ea0
cmpl $0x0, 0xed89(%rip)      # 0x142f4
movq %r15, %rbx
jne 0x55d6
leaq 0x93a2(%rip), %rdi      # 0xe919
movq %r15, %rsi
callq 0x6169
movq %rax, %r14
leaq 0x9393(%rip), %rdi      # 0xe91c
movq %r15, %rsi
callq 0x6169
movq %rax, %rbx
testq %r14, %r14
je 0x55c4
testq %rbx, %rbx
je 0x55a3
cmpq %rbx, %r14
jae 0x55cd
cmpb $0x0, (%r14)
je 0x5682
incq %r14
movb $0x20, -0x1(%r14)
cmpb $0x0, (%r14)
leaq 0x1(%r14), %r14
jne 0x55b0
jmp 0x5682
testq %rbx, %rbx
je 0x5682
movw $0x2020, (%rbx)         # imm = 0x2020
addq $0x2, %rbx
leaq 0x9342(%rip), %rsi      # 0xe91f
movq %rbx, %rdi
callq 0x41e0
movq %rax, %r14
cmpl $0x0, 0xd8a5(%rip)      # 0x12e94
je 0x5632
xorl %r15d, %r15d
testq %r14, %r14
je 0x5600
movb (%r14), %r15b
movb $0x0, (%r14)
leaq 0x9315(%rip), %rsi      # 0xe91c
movq %rbx, %rdi
callq 0x41e0
testq %rax, %rax
je 0x562a
leaq 0x9324(%rip), %rdx      # 0xe93f
movl $0x2, %edi
movl $0x3, %esi
callq 0xa250
testq %r14, %r14
je 0x5632
movb %r15b, (%r14)
testq %r14, %r14
je 0x5663
leaq 0x1(%r14), %rax
cmpq %rax, %rbx
jbe 0x5645
movq %rbx, %r15
jmp 0x5654
leaq 0x1(%rbx), %r15
movb $0x20, (%rbx)
cmpq %r14, %rbx
movq %r15, %rbx
jbe 0x5645
movl $0x0, 0xec96(%rip)      # 0x142f4
jmp 0x5570
cmpb $0x0, (%rbx)
je 0x5678
incq %rbx
movb $0x20, -0x1(%rbx)
cmpb $0x0, (%rbx)
leaq 0x1(%rbx), %rbx
jne 0x566b
movl $0x1, 0xec72(%rip)      # 0x142f4
leaq 0xd827(%rip), %rbx      # 0x12eb0
movq %rbx, %rdi
callq 0x40a0
decl %eax
js 0x56c4
movl %eax, %r14d
callq 0x41f0
movq (%rax), %rcx
movsbq (%r14,%rbx), %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
je 0x56c4
addq %r14, %rbx
movb $0x0, (%rbx)
movq (%rax), %rcx
movsbq -0x1(%rbx), %rdx
decq %rbx
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x56af
leaq 0xebfd(%rip), %r13      # 0x142c8
movl $0x2401, %ebx           # imm = 0x2401
callq 0x4cdc
movq 0xd7c4(%rip), %r12      # 0x12ea0
movzbl (%r12), %r14d
cmpl $0xd, %r14d
ja 0x579c
btl %r14d, %ebx
jae 0x579c
xorl %r12d, %r12d
movb $0x1, %al
testb %al, %al
jne 0x5d04
movq 0xebf7(%rip), %r15      # 0x14300
testq %r15, %r15
je 0x572c
movq 0x28(%r15), %rax
movq %rax, 0xebe7(%rip)      # 0x14300
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r15)
movups %xmm0, 0x10(%r15)
movups %xmm0, (%r15)
jmp 0x5739
movl $0x30, %edi
callq 0x4afa
movq %rax, %r15
movl %r12d, (%r15)
movl 0xd756(%rip), %eax      # 0x12e98
movl %eax, 0x10(%r15)
leal -0x2(%r12), %eax
cmpl $0x2, %eax
jb 0x5790
cmpl $0x4, %r12d
je 0x58cb
cmpl $0x1, %r12d
jne 0x5da8
movq 0xeb7d(%rip), %rdi      # 0x142e8
callq 0x40a0
leal 0x1(%rax), %edi
callq 0x4afa
movq %rax, 0x8(%r15)
movq 0xeb65(%rip), %rsi      # 0x142e8
movq %rax, %rdi
callq 0x4070
jmp 0x58d5
movsbl 0xeb4d(%rip), %eax      # 0x142e4
jmp 0x58d1
callq 0x41f0
movq %rax, %r15
cmpb $0x5f, %r14b
je 0x58ff
movsbq %r14b, %rax
movq (%r15), %rcx
movzwl (%rcx,%rax,2), %r13d
movl %r13d, %eax
andl $0x400, %eax            # imm = 0x400
jne 0x58ff
movq %rcx, -0x30(%rbp)
movl $0x3, %edx
movq %r12, %rdi
leaq 0x9176(%rip), %rbx      # 0xe951
movq %rbx, %rsi
callq 0x4060
testl %eax, %eax
je 0x59c7
btl $0xb, %r13d
movabsq $0x3f0000003f, %rdi     # imm = 0x3F0000003F
jb 0x5a07
leaq 0x1(%r12), %rax
movq %rax, 0xd694(%rip)      # 0x12ea0
movb (%r12), %dl
movb %dl, 0xeace(%rip)       # 0x142e4
movzbl %dl, %ecx
cmpl $0x39, %ecx
leaq 0xeaa5(%rip), %r13      # 0x142c8
movl $0x2401, %ebx           # imm = 0x2401
jg 0x5b29
cmpl $0x22, %ecx
je 0x5ce1
cmpl $0x25, %ecx
je 0x5b79
cmpl $0x27, %ecx
jne 0x5bb2
cmpl $0x0, 0xd644(%rip)      # 0x12e94
je 0x5cd5
cmpb $0x30, (%rax)
jne 0x5881
movq (%r15), %rax
movsbq 0x2(%r12), %rcx
testb $0x8, 0x1(%rax,%rcx,2)
je 0x5881
movl $0x7, %edi
movl $0x1, %esi
leaq 0x90fd(%rip), %rdx      # 0xe979
callq 0xa250
movq 0xd618(%rip), %rax      # 0x12ea0
cmpb $0x5c, (%rax)
jne 0x5cd5
movzbl 0x1(%rax), %eax
leal -0x22(%rax), %ecx
cmpl $0x3a, %ecx
ja 0x5cc3
movl $0x3f8000, %edx         # imm = 0x3F8000
btq %rcx, %rdx
jae 0x5cb3
movl $0x7, %edi
movl $0x1, %esi
leaq 0x90b8(%rip), %rdx      # 0xe979
callq 0xa250
jmp 0x5cd5
movl 0xea27(%rip), %eax      # 0x142f8
movl %eax, 0x4(%r15)
movq 0xe9f4(%rip), %rax      # 0x142d0
movq %rax, 0x20(%r15)
addq $0x28, %rax
cmpq $0x0, 0xe9dc(%rip)      # 0x142c8
cmoveq %r13, %rax
movq %r15, (%rax)
movq %r15, 0xe9d6(%rip)      # 0x142d0
jmp 0x56d0
leaq 0x1(%r12), %rax
movq %rax, 0xd595(%rip)      # 0x12ea0
movq (%r15), %rdx
movsbq (%rax), %rcx
movzwl (%rdx,%rcx,2), %edx
testb $0x8, %dl
jne 0x5928
movzbl %cl, %ecx
cmpl $0x5f, %ecx
je 0x5928
cmpl $0x2d, %ecx
jne 0x592d
incq %rax
jmp 0x5904
leaq 0xe994(%rip), %r13      # 0x142c8
movq 0xd565(%rip), %rax      # 0x12ea0
movb (%rax), %bl
movb $0x0, (%rax)
movq %r12, %rdi
callq 0x40a0
leal 0x1(%rax), %edi
callq 0x4afa
movq %rax, 0xe991(%rip)      # 0x142e8
movq %rax, %rdi
movq %r12, %rsi
callq 0x4070
movq 0xd537(%rip), %rax      # 0x12ea0
movb %bl, (%rax)
cmpl $0x0, 0xd522(%rip)      # 0x12e94
sete %al
movq 0xc7a4(%rip), %r15      # 0x12120
testq %r15, %r15
sete %cl
orb %al, %cl
movl $0x1, %r12d
jne 0x59c0
leaq 0xc79d(%rip), %rbx      # 0x12130
movq 0xe94e(%rip), %rdi      # 0x142e8
movq %r15, %rsi
callq 0x4140
testl %eax, %eax
jne 0x59b4
movl -0x8(%rbx), %edi
movl -0x4(%rbx), %esi
movq %r15, %rdx
callq 0xa250
movq (%rbx), %r15
addq $0x10, %rbx
testq %r15, %r15
jne 0x5993
xorl %eax, %eax
jmp 0x5b66
addq $0x3, %r12
movq %r12, 0xd4ce(%rip)      # 0x12ea0
movq %rbx, 0xe90f(%rip)      # 0x142e8
cmpl $0x0, 0xd4b4(%rip)      # 0x12e94
je 0x5b57
movl $0x1, %r12d
movl $0x10, %edi
movl $0x1, %esi
leaq 0x8f58(%rip), %rdx      # 0xe955
callq 0xa250
jmp 0x5b5d
cmpb $0x30, %r14b
leaq 0xe8b6(%rip), %r13      # 0x142c8
movabsq $0x7e0000007e03ff, %r8  # imm = 0x7E0000007E03FF
leaq 0x571d(%rip), %r9       # 0xb140
movl $0x2401, %ebx           # imm = 0x2401
jne 0x5ab0
movzbl 0x1(%r12), %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x5ab0
addq $0x2, %r12
movq %r12, 0xd459(%rip)      # 0x12ea0
movl $0x0, 0xe8a7(%rip)      # 0x142f8
xorl %eax, %eax
movq (%r15), %rsi
movq 0xd443(%rip), %rcx      # 0x12ea0
movsbq (%rcx), %rdx
movzwl (%rsi,%rdx,2), %esi
btl $0xb, %esi
jb 0x5a7c
movzbl %dl, %esi
addl $-0x41, %esi
cmpl $0x25, %esi
ja 0x5aea
btq %rsi, %rdi
jae 0x5aea
shll $0x4, %eax
addl %edx, %eax
movl %eax, 0xe871(%rip)      # 0x142f8
movb (%rcx), %dl
addb $-0x30, %dl
cmpb $0x36, %dl
ja 0x5aa4
movzbl %dl, %edx
btq %rdx, %r8
jae 0x5aa4
addl (%r9,%rdx,4), %eax
movl %eax, 0xe854(%rip)      # 0x142f8
incq %rcx
movq %rcx, 0xd3f2(%rip)      # 0x12ea0
jmp 0x5a53
movq %r12, %rdi
callq 0x4190
movl %eax, 0xe83a(%rip)      # 0x142f8
movsbq (%r12), %rax
movq -0x30(%rbp), %rcx
testb $0x8, 0x1(%rcx,%rax,2)
je 0x5aea
incq %r12
movq %r12, 0xd3c8(%rip)      # 0x12ea0
movq (%r15), %rax
movsbq (%r12), %rcx
incq %r12
testb $0x8, 0x1(%rax,%rcx,2)
jne 0x5ad1
movq 0xd3af(%rip), %rax      # 0x12ea0
incq %rax
movabsq $0x20100000201, %rdx    # imm = 0x20100000201
movzbl -0x1(%rax), %ecx
addl $-0x4c, %ecx
cmpl $0x29, %ecx
ja 0x5b1c
btq %rcx, %rdx
jae 0x5b1c
movq %rax, 0xd389(%rip)      # 0x12ea0
incq %rax
jmp 0x5afe
movl $0x4, %r12d
xorl %eax, %eax
jmp 0x56fa
cmpl $0x3a, %ecx
je 0x5b70
cmpl $0x3c, %ecx
je 0x5b8a
cmpl $0x5c, %ecx
jne 0x5bb2
leaq 0x2(%r12), %rax
movq %rax, 0xd35c(%rip)      # 0x12ea0
movb 0x1(%r12), %al
movb %al, 0xe795(%rip)       # 0x142e4
movl $0x3, %r12d
jmp 0x5b22
movl $0x1, %r12d
xorl %eax, %eax
leaq 0xe762(%rip), %r13      # 0x142c8
movl $0x2401, %ebx           # imm = 0x2401
jmp 0x56fa
movb $0x5d, %cl
cmpb $0x3e, (%rax)
je 0x5ba1
jmp 0x5bb2
movzbl (%rax), %eax
cmpl $0x3e, %eax
je 0x5b9b
cmpl $0x3a, %eax
jne 0x5bb2
movb $0x23, %cl
jmp 0x5ba1
movzbl (%rax), %eax
cmpl $0x3a, %eax
je 0x5b9f
cmpl $0x25, %eax
jne 0x5bb2
movb $0x7b, %cl
jmp 0x5ba1
movb $0x7d, %cl
jmp 0x5ba1
movb $0x5b, %cl
addq $0x2, %r12
movq %r12, 0xd2f4(%rip)      # 0x12ea0
movb %cl, 0xe732(%rip)       # 0x142e4
cmpb $0x3f, 0xe72b(%rip)     # 0x142e4
jne 0x5c4f
movq 0xd2da(%rip), %rax      # 0x12ea0
cmpb $0x3f, (%rax)
jne 0x5c4f
movzbl 0x1(%rax), %edx
cmpl $0x3b, %edx
jg 0x5bf4
addl $-0x21, %edx
cmpl $0xe, %edx
ja 0x5c4f
leaq 0x54b1(%rip), %rsi      # 0xb098
movslq (%rsi,%rdx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
movb $0x7c, %cl
jmp 0x5c1f
cmpl $0x3c, %edx
je 0x5c1d
movb $0x23, %cl
cmpl $0x3d, %edx
je 0x5c1f
cmpl $0x3e, %edx
jne 0x5c4f
movb $0x7d, %cl
jmp 0x5c1f
movb $0x7e, %cl
jmp 0x5c1f
movb $0x5b, %cl
jmp 0x5c1f
movb $0x5d, %cl
jmp 0x5c1f
movb $0x5e, %cl
jmp 0x5c1f
movb $0x5c, %cl
jmp 0x5c1f
movb $0x7b, %cl
addq $0x2, %rax
movq %rax, 0xd276(%rip)      # 0x12ea0
movb %cl, 0xe6b4(%rip)       # 0x142e4
cmpl $0x0, 0xd25d(%rip)      # 0x12e94
je 0x5c4f
movl $0x4, %edi
movl $0x2, %esi
leaq 0x8d6b(%rip), %rdx      # 0xe9b5
callq 0xa250
xorl %eax, %eax
cmpl $0x0, 0xd23c(%rip)      # 0x12e94
movl $0x2, %r12d
je 0x56fa
cmpb $0x3b, 0xe679(%rip)     # 0x142e4
jne 0x56fa
cmpl $0x0, 0xe67c(%rip)      # 0x142f4
jne 0x56fa
movslq 0xe22f(%rip), %rcx      # 0x13eb4
xorl %eax, %eax
leaq 0xe232(%rip), %rdx      # 0x13ec0
cmpl $0x0, (%rdx,%rcx,4)
jne 0x56fa
leaq 0x107ed(%rip), %rcx     # 0x1648c
cmpl $0x1, (%rcx)
jg 0x56fa
incl 0xe642(%rip)            # 0x142f0
jmp 0x5b22
movabsq $0x440000000004021, %rdx # imm = 0x440000000004021
btq %rcx, %rdx
jb 0x5cd5
addl $-0x61, %eax
cmpl $0x17, %eax
ja 0x5cee
movl $0xaa2023, %ecx         # imm = 0xAA2023
btl %eax, %ecx
jae 0x5cee
movq 0xd1c4(%rip), %r12      # 0x12ea0
decq %r12
movb $0x27, %dl
movsbl %dl, %edi
callq 0x626a
jmp 0x5934
movl $0x4, %edi
movl $0x1, %esi
leaq 0x8c9c(%rip), %rdx      # 0xe99b
jmp 0x58c1
movq 0xe5bd(%rip), %r14      # 0x142c8
testq %r14, %r14
je 0x5d99
leaq 0x8bec(%rip), %rbx      # 0xe907
cmpl $0x2, (%r14)
jne 0x5d90
movl 0x4(%r14), %eax
cmpl $0x2f, %eax
je 0x5d4b
cmpl $0x7b, %eax
je 0x5d3b
cmpl $0x7d, %eax
jne 0x5d90
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jmp 0x5d40
movl $0x1, %ecx
addl %ecx, 0xe5ca(%rip)      # 0x14310
cmpl $0x2f, %eax
jne 0x5d90
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x5d90
cmpl $0x2, (%rax)
jne 0x5d90
cmpl $0x2f, 0x4(%rax)
jne 0x5d90
cmpl $0x0, 0xd12e(%rip)      # 0x12e94
je 0x5d7a
movl $0x2, %edi
movl $0x2, %esi
movq %rbx, %rdx
callq 0xa250
movq 0x20(%r14), %rax
leaq 0x28(%rax), %rcx
testq %rax, %rax
cmoveq %r13, %rcx
movq $0x0, (%rcx)
movq 0x28(%r14), %r14
testq %r14, %r14
jne 0x5d1b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8b27(%rip), %rdi      # 0xe8d6
callq 0x4a9c