// File: /workspace/github_cpp_makefile_star2_O1/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), %rax
addq %r14, %rax
incq %rax
cmpq %rax, 0x260(%rdi)
jbe 0x40d9
movq (%rbx), %rax
leaq 0x8645(%rip), %rsi      # 0xc718
movq %rbx, %rdi
callq *0x70(%rax)
movq 0x288(%rbx), %rax
movq 0x278(%rbx), %rcx
movq (%rax,%rcx,8), %rax
cmpl $0x0, 0x34(%rax)
movq 0x260(%rbx), %rax
movq 0x8(%rbx), %r12
je 0x4144
notq %r12
addq %rax, %r12
testl %r12d, %r12d
jle 0x411b
movl %r12d, %eax
xorl %ecx, %ecx
movb (%r15,%rcx), %dl
movb %dl, (%r14,%rcx)
incq %rcx
cmpl %ecx, %eax
jne 0x410c
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %rax
cmpl $0x2, 0x38(%rax)
jne 0x415a
movl $0x0, 0x25c(%rbx)
xorl %ecx, %ecx
jmp 0x426a
subq %r12, %rax
xorl %r14d, %r14d
cmpq $0x1, %rax
setne %r14b
incl %r14d
jmp 0x4399
movq %r12, -0x30(%rbp)
movl %r12d, %r13d
notl %r13d
movl 0x18(%rax), %eax
addl %r13d, %eax
testl %eax, %eax
jg 0x4208
movq 0x288(%rbx), %rax
movq 0x260(%rbx), %r12
movq 0x278(%rbx), %rcx
movq (%rax,%rcx,8), %r14
movq 0x8(%r14), %r15
cmpl $0x0, 0x20(%r14)
je 0x41a4
movl 0x18(%r14), %eax
testl %eax, %eax
jle 0x41a8
addl %eax, %eax
movl %eax, %ecx
jmp 0x41b5
xorl %eax, %eax
jmp 0x41c7
leal 0x7(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
sarl $0x3, %ecx
addl %eax, %ecx
movl %ecx, 0x18(%r14)
addl $0x2, %ecx
movslq %ecx, %rsi
movq %r15, %rdi
callq 0x3350
movq %rax, 0x8(%r14)
testq %rax, %rax
jne 0x41e0
movq (%rbx), %rax
movq %rbx, %rdi
leaq 0x8573(%rip), %rsi      # 0xc750
callq *0x70(%rax)
subq %r15, %r12
movslq %r12d, %rax
addq 0x8(%r14), %rax
movq %rax, 0x260(%rbx)
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %rax
jmp 0x4164
movl $0x2000, %edx           # imm = 0x2000
cmpl %edx, %eax
cmovll %eax, %edx
movq 0x288(%rbx), %rax
movq 0x278(%rbx), %rcx
movq (%rax,%rcx,8), %rax
movq -0x30(%rbp), %r12
movslq %r12d, %rsi
addq 0x8(%rax), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x60(%rax)
movl %eax, 0x25c(%rbx)
testl %eax, %eax
jns 0x4252
movq (%rbx), %rax
leaq 0x8530(%rip), %rsi      # 0xc77c
movq %rbx, %rdi
callq *0x70(%rax)
movl 0x25c(%rbx), %ecx
movq 0x288(%rbx), %rax
movq 0x278(%rbx), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 0x1c(%rax)
xorl %r14d, %r14d
cmpl $0x0, 0x25c(%rbx)
jne 0x42b2
testl %r12d, %r12d
je 0x429f
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %rax
movl $0x2, 0x38(%rax)
movl $0x2, %r14d
jmp 0x42b2
leaq 0x30(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
movl $0x1, %r14d
movl 0x25c(%rbx), %eax
leal (%rax,%r12), %r15d
movq 0x288(%rbx), %rcx
movq 0x278(%rbx), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl 0x18(%rcx), %r15d
jle 0x4330
sarl %eax
addl %eax, %r15d
movq 0x8(%rcx), %rdi
movslq %r15d, %rsi
callq 0x3350
movq 0x278(%rbx), %rcx
movq 0x288(%rbx), %rdx
movq (%rdx,%rcx,8), %rsi
movq %rax, 0x8(%rsi)
movq (%rdx,%rcx,8), %rax
cmpq $0x0, 0x8(%rax)
jne 0x4316
movq (%rbx), %rax
leaq 0x8489(%rip), %rsi      # 0xc799
movq %rbx, %rdi
callq *0x70(%rax)
addl $-0x2, %r15d
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rcx
movq (%rcx,%rax,8), %rax
movl %r15d, 0x18(%rax)
movslq 0x25c(%rbx), %rax
movslq %r12d, %rcx
addq %rax, %rcx
movl %ecx, 0x25c(%rbx)
movq 0x278(%rbx), %rax
movq 0x288(%rbx), %rdx
movq (%rdx,%rax,8), %rax
movq 0x8(%rax), %rax
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