// File: /workspace/github_c_makefile_star2_O0/mmcco[P]sljit/regex_src/regexJIT.c
// Function: stack_check
static void stack_check(struct stack *stack)
{
	struct stack_fragment *curr;
	int found;

	if (!stack)
		return;

	SLJIT_ASSERT(stack->index >= 0 && stack->index < STACK_FRAGMENT_SIZE);

	if (stack->first == NULL) {
		SLJIT_ASSERT(stack->first == NULL && stack->last == NULL);
		SLJIT_ASSERT(stack->index == STACK_FRAGMENT_SIZE - 1 && stack->count == 0);
		return;
	}

	found = 0;
	if (stack->last == NULL) {
		SLJIT_ASSERT(stack->index == STACK_FRAGMENT_SIZE - 1 && stack->count == 0);
		found = 1;
	}
	else
		SLJIT_ASSERT(stack->index >= 0 && stack->count >= 0);

	SLJIT_ASSERT(stack->first->data.prev == NULL);
	curr = stack->first;
	while (curr) {
		if (curr == stack->last)
			found = 1;
		if (curr->data.next)
			SLJIT_ASSERT(curr->data.next->data.prev == curr);
		curr = curr->data.next;
	}
	SLJIT_ASSERT(found);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x9288
jmp 0x946a
jmp 0x928a
movq -0x8(%rbp), %rax
cmpl $0x0, 0x10(%rax)
jl 0x92a2
movq -0x8(%rbp), %rax
movslq 0x10(%rax), %rax
cmpq $0x3e, %rax
jb 0x92ba
leaq 0x16567(%rip), %rdi     # 0x1f810
movl $0xab, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x92bc
movq -0x8(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x9330
jmp 0x92c8
movq -0x8(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x92dd
movq -0x8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x92f5
leaq 0x1652c(%rip), %rdi     # 0x1f810
movl $0xae, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x92f7
jmp 0x92f9
movq -0x8(%rbp), %rax
movslq 0x10(%rax), %rax
cmpq $0x3d, %rax
jne 0x9311
movq -0x8(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0x9329
leaq 0x164f8(%rip), %rdi     # 0x1f810
movl $0xaf, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x932b
jmp 0x946a
movl $0x0, -0x14(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x937f
jmp 0x9344
movq -0x8(%rbp), %rax
movslq 0x10(%rax), %rax
cmpq $0x3d, %rax
jne 0x935c
movq -0x8(%rbp), %rax
cmpl $0x0, 0x14(%rax)
je 0x9374
leaq 0x164ad(%rip), %rdi     # 0x1f810
movl $0xb5, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x9376
movl $0x1, -0x14(%rbp)
jmp 0x93b1
jmp 0x9381
movq -0x8(%rbp), %rax
cmpl $0x0, 0x10(%rax)
jl 0x9395
movq -0x8(%rbp), %rax
cmpl $0x0, 0x14(%rax)
jge 0x93ad
leaq 0x16474(%rip), %rdi     # 0x1f810
movl $0xb9, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x93af
jmp 0x93b1
jmp 0x93b3
movq -0x8(%rbp), %rax
movq (%rax), %rax
cmpq $0x0, 0x8(%rax)
je 0x93d9
leaq 0x16448(%rip), %rdi     # 0x1f810
movl $0xbb, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x93db
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x9448
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jne 0x9402
movl $0x1, -0x14(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0x943b
jmp 0x940e
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
cmpq -0x10(%rbp), %rax
je 0x9437
leaq 0x163ea(%rip), %rdi     # 0x1f810
movl $0xc1, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x9439
jmp 0x943b
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
jmp 0x93e6
jmp 0x944a
cmpl $0x0, -0x14(%rbp)
jne 0x9468
leaq 0x163b9(%rip), %rdi     # 0x1f810
movl $0xc4, %esi
movb $0x0, %al
callq 0x2060
callq 0x2040
jmp 0x946a
addq $0x20, %rsp
popq %rbp
retq