// File: /workspace/github_cpp_makefile_star2_O2/devaigergely81[P]flex-bison-example/lex.yy.cc
// Function: yyFlexLexer::yy_get_next_buffer()
int yyFlexLexer::yy_get_next_buffer()
{
    	char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
	char *source = (yytext_ptr);
	int number_to_move, i;
	int ret_val;

	if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
		YY_FATAL_ERROR(
		"fatal flex scanner internal error--end of buffer missed" );

	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
		{ /* Don't try to fill the buffer, so this is an EOF. */
		if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
			{
			/* We matched a single character, the EOB, so
			 * treat this as a final EOF.
			 */
			return EOB_ACT_END_OF_FILE;
			}

		else
			{
			/* We matched some text prior to the EOB, first
			 * process it.
			 */
			return EOB_ACT_LAST_MATCH;
			}
		}

	/* Try to read more data. */

	/* First move last chars to start of buffer. */
	number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);

	for ( i = 0; i < number_to_move; ++i )
		*(dest++) = *(source++);

	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
		/* don't do the read, it's not guaranteed to return an EOF,
		 * just force an EOF
		 */
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;

	else
		{
			int num_to_read =
			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;

		while ( num_to_read <= 0 )
			{ /* Not enough room in the buffer - grow it. */

			/* just a shorter name for the current buffer */
			YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;

			int yy_c_buf_p_offset =
				(int) ((yy_c_buf_p) - b->yy_ch_buf);

			if ( b->yy_is_our_buffer )
				{
				int new_size = b->yy_buf_size * 2;

				if ( new_size <= 0 )
					b->yy_buf_size += b->yy_buf_size / 8;
				else
					b->yy_buf_size *= 2;

				b->yy_ch_buf = (char *)
					/* Include room in for 2 EOB chars. */
					yyrealloc( (void *) b->yy_ch_buf,
							 (yy_size_t) (b->yy_buf_size + 2)  );
				}
			else
				/* Can't grow it, we don't own it. */
				b->yy_ch_buf = NULL;

			if ( ! b->yy_ch_buf )
				YY_FATAL_ERROR(
				"fatal error - scanner input buffer overflow" );

			(yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];

			num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
						number_to_move - 1;

			}

		if ( num_to_read > YY_READ_BUF_SIZE )
			num_to_read = YY_READ_BUF_SIZE;

		/* Read in more data. */
		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
			(yy_n_chars), num_to_read );

		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	if ( (yy_n_chars) == 0 )
		{
		if ( number_to_move == YY_MORE_ADJ )
			{
			ret_val = EOB_ACT_END_OF_FILE;
			yyrestart( yyin  );
			}

		else
			{
			ret_val = EOB_ACT_LAST_MATCH;
			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
				YY_BUFFER_EOF_PENDING;
			}
		}

	else
		ret_val = EOB_ACT_CONTINUE_SCAN;

	if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
		/* Extend the array by 50%, plus the number we really need. */
		int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size  );
		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
		/* "- 2" to take care of EOB's */
		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
	}

	(yy_n_chars) += number_to_move;
	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;

	(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];

	return ret_val;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x288(%rdi), %rax
movq 0x278(%rdi), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %r14
movq 0x8(%rdi), %r15
movslq 0x25c(%rdi), %rcx
addq %r14, %rcx
incq %rcx
cmpq %rcx, 0x260(%rdi)
jbe 0x4033
movq (%rbx), %rax
leaq 0x66fd(%rip), %rsi      # 0xa718
movq %rbx, %rdi
callq *0x70(%rax)
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %rax
cmpl $0x0, 0x34(%rax)
movq 0x260(%rbx), %rax
movq 0x8(%rbx), %r12
je 0x4093
notq %r12
addq %rax, %r12
xorl %eax, %eax
testl %r12d, %r12d
movl $0x0, %ecx
cmovgl %r12d, %ecx
cmpl %eax, %ecx
je 0x4069
movb (%r15,%rax), %dl
movb %dl, (%r14,%rax)
incq %rax
jmp 0x4058
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %r13
cmpl $0x2, 0x38(%r13)
jne 0x40a9
andl $0x0, 0x25c(%rbx)
andl $0x0, 0x1c(%r13)
jmp 0x419b
subq %r12, %rax
xorl %r14d, %r14d
cmpq $0x1, %rax
setne %r14b
incl %r14d
jmp 0x4297
movq %r12, -0x30(%rbp)
notl %r12d
movl 0x18(%r13), %eax
leal (%rax,%r12), %ecx
movq 0x8(%r13), %r15
testl %ecx, %ecx
jg 0x413e
movq 0x260(%rbx), %r14
cmpl $0x0, 0x20(%r13)
je 0x40fe
leal (%rax,%rax), %ecx
movl %eax, %edx
negl %edx
shrl $0x3, %edx
movl %eax, %esi
subl %edx, %esi
testl %eax, %eax
cmovgl %ecx, %esi
movl %esi, 0x18(%r13)
addl $0x2, %esi
movslq %esi, %rsi
movq %r15, %rdi
callq 0x3330
movq %rax, 0x8(%r13)
testq %rax, %rax
jne 0x4117
jmp 0x4103
andq $0x0, 0x8(%r13)
movq (%rbx), %rax
movq %rbx, %rdi
leaq 0x6640(%rip), %rsi      # 0xa750
callq *0x70(%rax)
movq 0x8(%r13), %rax
subq %r15, %r14
movslq %r14d, %rcx
addq %rax, %rcx
movq %rcx, 0x260(%rbx)
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %r13
jmp 0x40b0
movl $0x2000, %edx           # imm = 0x2000
cmpl %edx, %ecx
cmovbl %ecx, %edx
movq -0x30(%rbp), %r12
movslq %r12d, %rax
addq %rax, %r15
movq (%rbx), %rax
movq %rbx, %rdi
movq %r15, %rsi
callq *0x60(%rax)
movl %eax, 0x25c(%rbx)
testl %eax, %eax
jns 0x417e
movq (%rbx), %rax
leaq 0x660a(%rip), %rsi      # 0xa77c
movq %rbx, %rdi
callq *0x70(%rax)
movl 0x25c(%rbx), %eax
movq 0x278(%rbx), %rcx
movq 0x288(%rbx), %rdx
movq (%rdx,%rcx,8), %r13
movl %eax, 0x1c(%r13)
xorl %r14d, %r14d
testl %eax, %eax
jne 0x41d9
testl %r12d, %r12d
je 0x41b0
movl $0x2, 0x38(%r13)
pushq $0x2
popq %r14
xorl %eax, %eax
jmp 0x41d9
leaq 0x30(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
movl 0x25c(%rbx), %eax
movq 0x288(%rbx), %rcx
movq 0x278(%rbx), %rdx
movq (%rcx,%rdx,8), %r13
pushq $0x1
popq %r14
leal (%rax,%r12), %r15d
cmpl 0x18(%r13), %r15d
jle 0x4249
sarl %eax
addl %eax, %r15d
movq 0x8(%r13), %rdi
movslq %r15d, %rsi
callq 0x3330
movq 0x278(%rbx), %rcx
movq 0x288(%rbx), %rdx
movq (%rdx,%rcx,8), %rsi
movq %rax, 0x8(%rsi)
movq (%rdx,%rcx,8), %r13
cmpq $0x0, 0x8(%r13)
jne 0x4237
movq (%rbx), %rax
leaq 0x657a(%rip), %rsi      # 0xa799
movq %rbx, %rdi
callq *0x70(%rax)
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %r13
addl $-0x2, %r15d
movl %r15d, 0x18(%r13)
movl 0x25c(%rbx), %r15d
addl %r12d, %r15d
movl %r15d, 0x25c(%rbx)
movq 0x8(%r13), %rax
movslq %r15d, %rcx
xorl %edx, %edx
movb %dl, (%rax,%rcx)
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rax
movslq 0x25c(%rbx), %rcx
movb %dl, 0x1(%rax,%rcx)
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%rbx)
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop