// File: /workspace/github_c_makefile_star2_O0/mmcco[P]sljit/regex_src/regexJIT.c
// Function: compile_leave_fast_forward
static int compile_leave_fast_forward(struct compiler_common *compiler_common, struct sljit_label *fast_forward_label)
{
	struct sljit_compiler *compiler = compiler_common->compiler;
	struct stack *stack = &compiler_common->stack;
	struct stack_item *dfa_transitions = compiler_common->dfa_transitions;
	struct stack_item *search_states = compiler_common->search_states;
	int ind;
	struct sljit_jump *jump;
	int init_range = 1, prev_value = 0;

	while (stack->count > 0) {
		ind = stack_pop(stack)->value;
		search_states[ind].value = -1;
		if (search_states[ind].type >= 0) {
			if (dfa_transitions[ind].type == type_char) {
				EMIT_CMP(jump, SLJIT_EQUAL, R_CURR_CHAR, 0, SLJIT_IMM, dfa_transitions[ind].value);
				sljit_set_label(jump, fast_forward_label);
			}
			else if (dfa_transitions[ind].type == type_rng_start) {
				SLJIT_ASSERT(!dfa_transitions[ind].value);
				ind++;
				while (dfa_transitions[ind].type != type_rng_end) {
					if (dfa_transitions[ind].type == type_rng_char) {
						EMIT_CMP(jump, SLJIT_EQUAL, R_CURR_CHAR, 0, SLJIT_IMM, dfa_transitions[ind].value);
						sljit_set_label(jump, fast_forward_label);
					}
					else {
						SLJIT_ASSERT(dfa_transitions[ind].type == type_rng_left);
						if (init_range) {
							EMIT_OP1(SLJIT_MOV, R_TEMP, 0, R_CURR_CHAR, 0);
							init_range = 0;
						}
						if (dfa_transitions[ind].value != prev_value) {
							/* Best compatibility to all archs. */
							prev_value -= dfa_transitions[ind].value;
							if (prev_value < 0) {
								EMIT_OP2(SLJIT_SUB, R_TEMP, 0, R_TEMP, 0, SLJIT_IMM, -prev_value);
							}
							else {
								EMIT_OP2(SLJIT_ADD, R_TEMP, 0, R_TEMP, 0, SLJIT_IMM, prev_value);
							}
							prev_value = dfa_transitions[ind].value;
						}
						EMIT_CMP(jump, SLJIT_LESS_EQUAL, R_TEMP, 0, SLJIT_IMM, dfa_transitions[ind + 1].value - dfa_transitions[ind].value);
						sljit_set_label(jump, fast_forward_label);
						ind++;
					}
					ind++;
				}
			}
			else {
				SLJIT_ASSERT(dfa_transitions[ind].type == type_newline);
				EMIT_CMP(jump, SLJIT_EQUAL, R_CURR_CHAR, 0, SLJIT_IMM, '\n');
				sljit_set_label(jump, fast_forward_label);
				EMIT_CMP(jump, SLJIT_EQUAL, R_CURR_CHAR, 0, SLJIT_IMM, '\r');
				sljit_set_label(jump, fast_forward_label);
			}
		}
	}
	return REGEX_NO_ERROR;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x68(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rax
movq %rax, -0x38(%rbp)
movl $0x1, -0x4c(%rbp)
movl $0x0, -0x50(%rbp)
movq -0x28(%rbp), %rax
cmpl $0x0, 0x14(%rax)
jle 0x63dd
movq -0x28(%rbp), %rdi
callq 0x5b40
movl 0x4(%rax), %eax
movl %eax, -0x3c(%rbp)
movq -0x38(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movl $0xffffffff, 0x4(%rax,%rcx,8) # imm = 0xFFFFFFFF
movq -0x38(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x0, (%rax,%rcx,8)
jl 0x63d8
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x2, (%rax,%rcx,8)
jne 0x60c7
movq -0x20(%rbp), %rdi
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movslq 0x4(%rax,%rcx,8), %r9
xorl %esi, %esi
movl $0x2, %edx
xorl %eax, %eax
movl %eax, %ecx
movl $0x40, %r8d
callq 0x1c790
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x60b5
movl $0x1, -0x4(%rbp)
jmp 0x63e4
movq -0x48(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xa940
jmp 0x63d6
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x5, (%rax,%rcx,8)
jne 0x6328
jmp 0x60db
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x0, 0x4(%rax,%rcx,8)
je 0x6102
leaq 0x1971f(%rip), %rdi     # 0x1f810
movl $0x673, %esi            # imm = 0x673
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x6104
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x6, (%rax,%rcx,8)
je 0x6323
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x7, (%rax,%rcx,8)
jne 0x617d
movq -0x20(%rbp), %rdi
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movslq 0x4(%rax,%rcx,8), %r9
xorl %esi, %esi
movl $0x2, %edx
xorl %eax, %eax
movl %eax, %ecx
movl $0x40, %r8d
callq 0x1c790
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x616b
movl $0x1, -0x4(%rbp)
jmp 0x63e4
movq -0x48(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xa940
jmp 0x6315
jmp 0x617f
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x8, (%rax,%rcx,8)
je 0x61a5
leaq 0x1967c(%rip), %rdi     # 0x1f810
movl $0x67b, %esi            # imm = 0x67B
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x61a7
cmpl $0x0, -0x4c(%rbp)
je 0x61e6
movq -0x20(%rbp), %rdi
movl $0x20, %esi
movl $0x3, %edx
xorl %eax, %eax
movl %eax, %r9d
movl $0x2, %r8d
movq %r9, %rcx
callq 0xeee0
cmpl $0x0, %eax
je 0x61df
movl $0x1, -0x4(%rbp)
jmp 0x63e4
movl $0x0, -0x4c(%rbp)
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
cmpl -0x50(%rbp), %eax
je 0x62ab
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %ecx
movl -0x50(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x50(%rbp)
cmpl $0x0, -0x50(%rbp)
jge 0x625a
movq -0x20(%rbp), %rdi
xorl %eax, %eax
subl -0x50(%rbp), %eax
cltq
movl $0x62, %esi
movl $0x3, %r8d
xorl %ecx, %ecx
movl %ecx, %r9d
movl %r8d, %edx
movq %r9, %rcx
movl $0x40, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x113e0
cmpl $0x0, %eax
je 0x6258
movl $0x1, -0x4(%rbp)
jmp 0x63e4
jmp 0x629c
movq -0x20(%rbp), %rdi
movslq -0x50(%rbp), %rax
movl $0x60, %esi
movl $0x3, %r8d
xorl %ecx, %ecx
movl %ecx, %r9d
movl %r8d, %edx
movq %r9, %rcx
movl $0x40, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x113e0
cmpl $0x0, %eax
je 0x629a
movl $0x1, -0x4(%rbp)
jmp 0x63e4
jmp 0x629c
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, -0x50(%rbp)
movq -0x20(%rbp), %rdi
movq -0x30(%rbp), %rax
movl -0x3c(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movl 0x4(%rax,%rcx,8), %eax
movq -0x30(%rbp), %rcx
movslq -0x3c(%rbp), %rdx
subl 0x4(%rcx,%rdx,8), %eax
movslq %eax, %r9
movl $0x5, %esi
movl $0x3, %edx
xorl %eax, %eax
movl %eax, %ecx
movl $0x40, %r8d
callq 0x1c790
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x62ff
movl $0x1, -0x4(%rbp)
jmp 0x63e4
movq -0x48(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xa940
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x610d
jmp 0x63d4
jmp 0x632a
movq -0x30(%rbp), %rax
movslq -0x3c(%rbp), %rcx
cmpl $0x3, (%rax,%rcx,8)
je 0x6350
leaq 0x194d1(%rip), %rdi     # 0x1f810
movl $0x693, %esi            # imm = 0x693
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x6352
movq -0x20(%rbp), %rdi
xorl %esi, %esi
movl $0x2, %edx
xorl %eax, %eax
movl %eax, %ecx
movl $0x40, %r8d
movl $0xa, %r9d
callq 0x1c790
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x6386
movl $0x1, -0x4(%rbp)
jmp 0x63e4
movq -0x48(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xa940
movq -0x20(%rbp), %rdi
xorl %esi, %esi
movl $0x2, %edx
xorl %eax, %eax
movl %eax, %ecx
movl $0x40, %r8d
movl $0xd, %r9d
callq 0x1c790
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x48(%rbp)
jne 0x63c7
movl $0x1, -0x4(%rbp)
jmp 0x63e4
movq -0x48(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xa940
jmp 0x63d6
jmp 0x63d8
jmp 0x602a
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)