// File: /workspace/github_c_makefile_star2_O0/nimble-code[P]gh_cpp/Src/gh_cpp1.c
// Function: strip_comments
static void
strip_comments(void)
{	char *p, *q, *r, *t = lbuf;
	int i;

	if (incomment)	/* in C style comment block */
	{	q = t;
		goto c_style;
	} else
	{
more:		p = find_delimiter("//", t);
		q = find_delimiter("/*", t);

		if (p)
		{	if (!q || p < q)
			while (*p != '\0')
				*p++ = ' ';
			else /* q && p >= q */
			{	*q++ = ' ';
				*q++ = ' ';
				goto c_style;
			}
		} else if (q)
		{	*q++ = ' ';
			*q++ = ' ';
c_style:		r = strstr(q, "*/");
			nested_comment_check(q, r);
			if (!r)
			{	while (*q != '\0') *q++ = ' ';
				incomment = 1;
			} else
			{	while (q <= r+1) *q++ = ' ';
				t = q;
				incomment = 0;
				goto more;
	}	}	}

	i = strlen(lbuf)-1;
	if (i >= 0)
	for (p = &lbuf[i]; isspace(*p); p--)
		*p = '\0';	/* remove white space from end of line */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
leaq 0xf6a1(%rip), %rax      # 0x14fb0
movq %rax, -0x20(%rbp)
cmpl $0x0, 0x10ada(%rip)     # 0x163f4
je 0x5929
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x59e9
jmp 0x592b
movq -0x20(%rbp), %rsi
leaq 0xb1ce(%rip), %rdi      # 0x10b04
callq 0x5f20
movq %rax, -0x8(%rbp)
movq -0x20(%rbp), %rsi
leaq 0xb1bd(%rip), %rdi      # 0x10b07
callq 0x5f20
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x59ba
cmpq $0x0, -0x10(%rbp)
je 0x596b
movq -0x8(%rbp), %rax
cmpq -0x10(%rbp), %rax
jae 0x598f
jmp 0x596d
movq -0x8(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x598d
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x8(%rbp)
movb $0x20, (%rax)
jmp 0x596d
jmp 0x59b5
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rbp)
movb $0x20, (%rax)
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rbp)
movb $0x20, (%rax)
jmp 0x59e9
jmp 0x5a81
cmpq $0x0, -0x10(%rbp)
je 0x5a7f
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rbp)
movb $0x20, (%rax)
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rbp)
movb $0x20, (%rax)
movq -0x10(%rbp), %rdi
leaq 0xb116(%rip), %rsi      # 0x10b0a
callq 0x4190
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x6060
cmpq $0x0, -0x18(%rbp)
jne 0x5a3f
jmp 0x5a13
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x5a33
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rbp)
movb $0x20, (%rax)
jmp 0x5a13
movl $0x1, 0x109b7(%rip)     # 0x163f4
jmp 0x5a7d
jmp 0x5a41
movq -0x10(%rbp), %rax
movq -0x18(%rbp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
ja 0x5a66
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rbp)
movb $0x20, (%rax)
jmp 0x5a41
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, 0x1097c(%rip)     # 0x163f4
jmp 0x592b
jmp 0x5a7f
jmp 0x5a81
jmp 0x5a83
leaq 0xf526(%rip), %rdi      # 0x14fb0
callq 0x4080
subq $0x1, %rax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x5ae5
movslq -0x24(%rbp), %rcx
leaq 0xf509(%rip), %rax      # 0x14fb0
addq %rcx, %rax
movq %rax, -0x8(%rbp)
callq 0x41a0
movq (%rax), %rax
movq -0x8(%rbp), %rcx
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x5ae3
movq -0x8(%rbp), %rax
movb $0x0, (%rax)
movq -0x8(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x8(%rbp)
jmp 0x5aae
jmp 0x5ae5
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)