// File: /workspace/github_c_makefile_star2_O2/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 0xd039(%rip), %rbx      # 0x11eb0
movq %rbx, 0xd022(%rip)      # 0x11ea0
cmpl $0x0, 0xe46f(%rip)      # 0x132f4
jne 0x4ee0
leaq 0x8a8b(%rip), %rdi      # 0xd919
movq %rbx, %rsi
callq 0x5b0c
movq %rax, %r14
leaq 0x8a7c(%rip), %rdi      # 0xd91c
movq %rbx, %rsi
callq 0x5b0c
movq %rax, %rbx
testq %r14, %r14
je 0x4ece
testq %rbx, %rbx
je 0x4ec3
cmpq %rbx, %r14
jae 0x4ed7
jmp 0x4ec3
movb $0x20, (%r14)
incq %r14
cmpb $0x0, (%r14)
jne 0x4ebc
jmp 0x4f70
testq %rbx, %rbx
je 0x4f70
movw $0x2020, (%rbx)         # imm = 0x2020
addq $0x2, %rbx
leaq 0x8a38(%rip), %rsi      # 0xd91f
movq %rbx, %rdi
callq 0x41d0
movq %rax, %r14
cmpl $0x0, 0xcf9b(%rip)      # 0x11e94
je 0x4f3a
xorl %r15d, %r15d
testq %r14, %r14
je 0x4f0a
movb (%r14), %r15b
movb $0x0, (%r14)
leaq 0x8a0b(%rip), %rsi      # 0xd91c
movq %rbx, %rdi
callq 0x41d0
testq %rax, %rax
je 0x4f30
leaq 0x8a16(%rip), %rdx      # 0xd93b
pushq $0x2
popq %rdi
pushq $0x3
popq %rsi
callq 0x9bc0
testq %r14, %r14
je 0x4f61
movb %r15b, (%r14)
jmp 0x4f3f
testq %r14, %r14
je 0x4f61
incq %r14
cmpq %r14, %rbx
ja 0x4f4f
movb $0x20, (%rbx)
incq %rbx
jmp 0x4f42
andl $0x0, 0xe39e(%rip)      # 0x132f4
jmp 0x4e87
movb $0x20, (%rbx)
incq %rbx
cmpb $0x0, (%rbx)
jne 0x4f5b
movl $0x1, 0xe384(%rip)      # 0x132f4
leaq 0xcf39(%rip), %rbx      # 0x11eb0
movq %rbx, %rdi
callq 0x40a0
decl %eax
js 0x5598
movl %eax, %eax
addq %rax, %rbx
callq 0x41e0
movq (%rax), %rcx
movsbq (%rbx), %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
je 0x5598
movb $0x0, (%rbx)
decq %rbx
jmp 0x4f91
callq 0x41e0
movq %rax, %r15
pushq $0x1
popq %r14
cmpb $0x5f, %r13b
je 0x502e
movsbq %r13b, %rax
movq (%r15), %r12
movzwl (%r12,%rax,2), %eax
movl %eax, %ecx
andl $0x400, %ecx            # imm = 0x400
jne 0x502e
cmpb $0x2e, %r13b
jne 0x5060
cmpb $0x2e, 0x1(%rbx)
jne 0x5110
cmpb $0x2e, 0x2(%rbx)
jne 0x5110
addq $0x3, %rbx
movq %rbx, 0xcea4(%rip)      # 0x11ea0
leaq 0x894a(%rip), %rax      # 0xd94d
movq %rax, 0xe2de(%rip)      # 0x132e8
cmpl $0x0, 0xce83(%rip)      # 0x11e94
je 0x5463
leaq 0x8933(%rip), %rdx      # 0xd951
pushq $0x10
popq %rdi
movl %r14d, %esi
callq 0x9bc0
jmp 0x5463
leaq 0x1(%rbx), %rcx
movq %rcx, 0xce67(%rip)      # 0x11ea0
movq (%r15), %rax
movsbq (%rcx), %r12
movzwl (%rax,%r12,2), %eax
testb $0x8, %al
jne 0x505b
movzbl %r12b, %eax
cmpl $0x5f, %eax
je 0x505b
cmpl $0x2d, %eax
jne 0x53f3
incq %rcx
jmp 0x5032
btl $0xb, %eax
jae 0x5116
cmpb $0x30, %r13b
jne 0x518a
movzbl 0x1(%rbx), %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x518a
addq $0x2, %rbx
movq %rbx, 0xce11(%rip)      # 0x11ea0
andl $0x0, 0xe262(%rip)      # 0x132f8
xorl %eax, %eax
movq (%r15), %rdx
movsbq (%rbx), %rcx
movzwl (%rdx,%rcx,2), %edx
btl $0xb, %edx
jb 0x50cc
movzbl %cl, %edx
addl $-0x41, %edx
cmpl $0x25, %edx
ja 0x51bc
movabsq $0x3f0000003f, %rsi     # imm = 0x3F0000003F
btq %rdx, %rsi
jae 0x51bc
shll $0x4, %eax
addl %ecx, %eax
movl %eax, 0xe221(%rip)      # 0x132f8
movb (%rbx), %cl
addb $-0x30, %cl
cmpb $0x36, %cl
ja 0x5104
movzbl %cl, %ecx
movabsq $0x7e0000007e03ff, %rdx # imm = 0x7E0000007E03FF
btq %rcx, %rdx
jae 0x5104
leaq 0x5045(%rip), %rdx      # 0xa140
addl (%rdx,%rcx,4), %eax
movl %eax, 0xe1f4(%rip)      # 0x132f8
incq %rbx
movq %rbx, 0xcd92(%rip)      # 0x11ea0
jmp 0x5098
btl $0xb, %eax
jb 0x518a
leaq 0x1(%rbx), %rax
movq %rax, 0xcd7f(%rip)      # 0x11ea0
movzbl (%rbx), %r12d
movb %r12b, 0xe1b8(%rip)     # 0x132e4
cmpl $0x22, %r12d
je 0x53a7
cmpl $0x25, %r12d
je 0x52ca
cmpl $0x27, %r12d
je 0x5249
cmpl $0x3a, %r12d
je 0x51e3
cmpl $0x3c, %r12d
je 0x522a
cmpl $0x3f, %r12d
je 0x51f6
cmpl $0x5c, %r12d
jne 0x52f8
leaq 0x2(%rbx), %rax
movq %rax, 0xcd23(%rip)      # 0x11ea0
movb 0x1(%rbx), %al
movb %al, 0xe15e(%rip)       # 0x132e4
pushq $0x3
jmp 0x51dc
movq %rbx, %rdi
callq 0x4180
movl %eax, 0xe160(%rip)      # 0x132f8
movsbq (%rbx), %rcx
testb $0x8, 0x1(%r12,%rcx,2)
je 0x51bc
incq %rbx
movq %rbx, 0xccf2(%rip)      # 0x11ea0
movq (%r15), %r12
jmp 0x5198
movq %rbx, 0xcce6(%rip)      # 0x11ea0
movb (%rbx), %cl
incq %rbx
movzbl %cl, %eax
addl $-0x4c, %eax
cmpl $0x29, %eax
ja 0x51da
movabsq $0x20100000201, %rcx    # imm = 0x20100000201
btq %rax, %rcx
jb 0x51b3
pushq $0x4
popq %r14
jmp 0x5463
movb $0x3a, %r12b
movb $0x5d, %cl
cmpb $0x3e, (%rax)
je 0x52e4
jmp 0x52f8
movb $0x3f, %r12b
cmpb $0x3f, (%rax)
jne 0x52f8
movzbl 0x2(%rbx), %eax
leal -0x21(%rax), %ecx
cmpl $0xe, %ecx
ja 0x5353
leaq 0x4e7f(%rip), %rax      # 0xa098
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movb $0x7c, %r12b
jmp 0x551c
movzbl (%rax), %eax
cmpl $0x3a, %eax
je 0x52de
movb $0x3c, %r12b
cmpl $0x25, %eax
jne 0x52f8
movb $0x7b, %cl
jmp 0x52e4
cmpl $0x0, 0xcc44(%rip)      # 0x11e94
je 0x539c
movb (%rax), %cl
cmpb $0x30, %cl
jne 0x528b
movq (%r15), %rax
movsbq 0x2(%rbx), %rcx
testb $0x8, 0x1(%rax,%rcx,2)
je 0x539c
leaq 0x86fe(%rip), %rdx      # 0xd975
pushq $0x7
popq %rdi
pushq $0x1
popq %rsi
callq 0x9bc0
movq 0xcc17(%rip), %rax      # 0x11ea0
movb (%rax), %cl
cmpb $0x5c, %cl
jne 0x539c
movzbl 0x1(%rax), %eax
leal -0x22(%rax), %ecx
cmpl $0x3a, %ecx
ja 0x5382
movl $0x3f8000, %edx         # imm = 0x3F8000
btq %rcx, %rdx
jae 0x5372
leaq 0x86bb(%rip), %rdx      # 0xd975
pushq $0x7
popq %rdi
pushq $0x1
popq %rsi
callq 0x9bc0
jmp 0x539c
movzbl (%rax), %eax
cmpl $0x3e, %eax
je 0x52e2
movb $0x25, %r12b
cmpl $0x3a, %eax
jne 0x52f8
movb $0x23, %cl
jmp 0x52e4
movb $0x5b, %cl
jmp 0x52e4
movb $0x7d, %cl
addq $0x2, %rbx
movq %rbx, 0xcbb1(%rip)      # 0x11ea0
movb %cl, 0xdfef(%rip)       # 0x132e4
movl %ecx, %r12d
cmpl $0x0, 0xcb95(%rip)      # 0x11e94
pushq $0x2
popq %r14
je 0x5463
cmpb $0x3b, %r12b
jne 0x5463
cmpl $0x0, 0xdfda(%rip)      # 0x132f4
jne 0x5463
movslq 0xdb8d(%rip), %rax      # 0x12eb4
leaq 0xdb92(%rip), %rcx      # 0x12ec0
cmpl $0x0, (%rcx,%rax,4)
jne 0x5463
leaq 0x1014d(%rip), %rax     # 0x1548c
cmpl $0x1, (%rax)
jg 0x5463
incl 0xdfa2(%rip)            # 0x132f0
jmp 0x5463
cmpl $0x3c, %eax
je 0x5519
cmpl $0x3d, %eax
je 0x5514
cmpl $0x3e, %eax
jne 0x52f8
movb $0x7d, %r12b
jmp 0x551c
movabsq $0x440000000004021, %rdx # imm = 0x440000000004021
btq %rcx, %rdx
jb 0x539c
addl $-0x61, %eax
cmpl $0x17, %eax
ja 0x558a
movl $0xaa2023, %ecx         # imm = 0xAA2023
btl %eax, %ecx
jae 0x558a
movq 0xcafd(%rip), %rax      # 0x11ea0
leaq -0x1(%rax), %rbx
movzbl (%rax), %ecx
cmpb %r12b, %cl
je 0x53e4
cmpl $0x5c, %ecx
je 0x53ba
testl %ecx, %ecx
jne 0x53bd
jmp 0x53c9
incq %rax
incq %rax
movq %rax, 0xcad9(%rip)      # 0x11ea0
jmp 0x53a7
movslq 0xdae4(%rip), %rcx      # 0x12eb4
leaq 0xdae9(%rip), %rdx      # 0x12ec0
cmpl $0x0, (%rdx,%rcx,4)
je 0x5559
decq %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xcab1(%rip)      # 0x11ea0
movb 0x1(%rax), %r12b
movb $0x0, (%rcx)
movq %rbx, %rdi
callq 0x40a0
leal 0x1(%rax), %edi
callq 0x4348
movq %rax, 0xdedb(%rip)      # 0x132e8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4070
movq 0xca81(%rip), %rax      # 0x11ea0
movb %r12b, (%rax)
cmpl $0x0, 0xca6b(%rip)      # 0x11e94
je 0x5463
leaq 0xbcfa(%rip), %r15      # 0x1112c
movq -0xc(%r15), %rbx
testq %rbx, %rbx
je 0x5463
movq 0xdea6(%rip), %rdi      # 0x132e8
movq %rbx, %rsi
callq 0x4140
testl %eax, %eax
jne 0x545d
movl -0x4(%r15), %edi
movl (%r15), %esi
movq %rbx, %rdx
callq 0x9bc0
addq $0x10, %r15
jmp 0x5432
movl %r14d, %edi
callq 0x5acc
movq %rax, %rbx
movl 0xca24(%rip), %eax      # 0x11e98
movl %eax, 0x10(%rbx)
movl (%rbx), %eax
leal -0x2(%rax), %ecx
cmpl $0x2, %ecx
jb 0x54b8
cmpl $0x4, %eax
je 0x54c1
cmpl $0x1, %eax
jne 0x565c
movq 0xde52(%rip), %rdi      # 0x132e8
callq 0x40a0
leal 0x1(%rax), %edi
callq 0x4348
movq %rax, 0x8(%rbx)
movq 0xde3a(%rip), %rsi      # 0x132e8
movq %rax, %rdi
callq 0x4070
jmp 0x54ca
movsbl 0xde25(%rip), %eax      # 0x132e4
jmp 0x54c7
movl 0xde31(%rip), %eax      # 0x132f8
movl %eax, 0x4(%rbx)
movq 0xddff(%rip), %rax      # 0x132d0
movq %rax, 0x20(%rbx)
leaq 0xddec(%rip), %rcx      # 0x132c8
addq $0x28, %rax
cmpq $0x0, 0xdde0(%rip)      # 0x132c8
cmoveq %rcx, %rax
movq %rbx, (%rax)
movq %rbx, 0xddda(%rip)      # 0x132d0
jmp 0x5598
movb $0x7e, %r12b
jmp 0x551c
movb $0x5d, %r12b
jmp 0x551c
movb $0x5b, %r12b
jmp 0x551c
movb $0x5e, %r12b
jmp 0x551c
movb $0x5c, %r12b
jmp 0x551c
movb $0x23, %r12b
jmp 0x551c
movb $0x7b, %r12b
addq $0x3, %rbx
movq %rbx, 0xc979(%rip)      # 0x11ea0
movb %r12b, 0xddb6(%rip)     # 0x132e4
cmpl $0x0, 0xc95f(%rip)      # 0x11e94
je 0x52f8
leaq 0x846f(%rip), %rdx      # 0xd9b1
pushq $0x4
popq %rdi
pushq $0x2
popq %rsi
callq 0x9bc0
movb 0xdd90(%rip), %r12b     # 0x132e4
jmp 0x52f8
movq 0xba98(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movq 0xbba6(%rip), %rdx      # 0x11110
movl 0xc920(%rip), %ecx      # 0x11e90
leaq 0x83e2(%rip), %rsi      # 0xd959
xorl %eax, %eax
callq 0x4150
movq 0xc91b(%rip), %rax      # 0x11ea0
jmp 0x53e1
leaq 0x8406(%rip), %rdx      # 0xd997
pushq $0x4
jmp 0x52bc
callq 0x4544
movq 0xc8fc(%rip), %rbx      # 0x11ea0
movzbl (%rbx), %r13d
cmpl $0xd, %r13d
ja 0x4fab
movl $0x2401, %eax           # imm = 0x2401
btl %r13d, %eax
jae 0x4fab
leaq 0xdd00(%rip), %r15      # 0x132c8
leaq 0x8338(%rip), %rbx      # 0xd907
pushq $0x2
popq %r14
movq (%r15), %r15
testq %r15, %r15
je 0x564d
cmpl $0x2, (%r15)
jne 0x5647
movl 0x4(%r15), %eax
cmpl $0x2f, %eax
je 0x5604
cmpl $0x7d, %eax
je 0x55fc
cmpl $0x7b, %eax
jne 0x5647
incl 0xdd16(%rip)            # 0x13310
jmp 0x5647
decl 0xdd0e(%rip)            # 0x13310
jmp 0x5647
movq 0x28(%r15), %rax
testq %rax, %rax
je 0x5647
cmpl $0x2, (%rax)
jne 0x5647
cmpl $0x2f, 0x4(%rax)
jne 0x5647
cmpl $0x0, 0xc875(%rip)      # 0x11e94
je 0x562f
movl %r14d, %edi
movl %r14d, %esi
movq %rbx, %rdx
callq 0x9bc0
movq 0x20(%r15), %rax
testq %rax, %rax
je 0x563f
andq $0x0, 0x28(%rax)
jmp 0x5647
andq $0x0, 0xdc81(%rip)      # 0x132c8
addq $0x28, %r15
jmp 0x55d3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8273(%rip), %rdi      # 0xd8d6
callq 0x42ec