// File: /workspace/github_c_makefile_star2_O0/mmcco[P]sljit/sljit_src/sljitLir.c
// Function: check_sljit_set_context
static __inline CHECK_RETURN_TYPE check_sljit_set_context(struct sljit_compiler *compiler,
	int options, int args, int scratches, int saveds,
	int fscratches, int fsaveds, int local_size)
{
	if (compiler->skip_checks) {
		compiler->skip_checks = 0;
		CHECK_RETURN_OK;
	}

#if (defined SLJIT_ARGUMENT_CHECKS && SLJIT_ARGUMENT_CHECKS)
	CHECK_ARGUMENT(!(options & ~SLJIT_DOUBLE_ALIGNMENT));
	CHECK_ARGUMENT(args >= 0 && args <= 3);
	CHECK_ARGUMENT(scratches >= 0 && scratches <= SLJIT_NUM_REGS);
	CHECK_ARGUMENT(saveds >= 0 && saveds <= SLJIT_NUM_REGS);
	CHECK_ARGUMENT(scratches + saveds <= SLJIT_NUM_REGS);
	CHECK_ARGUMENT(args <= saveds);
	CHECK_ARGUMENT(fscratches >= 0 && fscratches <= SLJIT_NUM_FLOAT_REGS);
	CHECK_ARGUMENT(fsaveds >= 0 && fsaveds <= SLJIT_NUM_FLOAT_REGS);
	CHECK_ARGUMENT(fscratches + fsaveds <= SLJIT_NUM_FLOAT_REGS);
	CHECK_ARGUMENT(local_size >= 0 && local_size <= SLJIT_MAX_LOCAL_SIZE);
#endif
#if (defined SLJIT_VERBOSE && SLJIT_VERBOSE)
	if (!!compiler->verbose)
		fprintf(compiler->verbose, "  set_context options:none args:%d scratches:%d saveds:%d fscratches:%d fsaveds:%d local_size:%d\n",
			args, scratches, saveds, fscratches, fsaveds, local_size);
#endif
	CHECK_RETURN_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movl %r8d, -0x18(%rbp)
movl %r9d, -0x1c(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x84(%rax)
je 0x1a583
movq -0x8(%rbp), %rax
movl $0x0, 0x84(%rax)
jmp 0x1a74f
jmp 0x1a585
movl -0xc(%rbp), %eax
andl $-0x2, %eax
cmpl $0x0, %eax
je 0x1a5a8
leaq 0x162c7(%rip), %rdi     # 0x3085e
movl $0x3ab, %esi            # imm = 0x3AB
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a5aa
jmp 0x1a5ac
cmpl $0x0, -0x10(%rbp)
jl 0x1a5b8
cmpl $0x3, -0x10(%rbp)
jle 0x1a5d0
leaq 0x1629f(%rip), %rdi     # 0x3085e
movl $0x3ac, %esi            # imm = 0x3AC
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a5d2
jmp 0x1a5d4
cmpl $0x0, -0x14(%rbp)
jl 0x1a5e0
cmpl $0xc, -0x14(%rbp)
jle 0x1a5f8
leaq 0x16277(%rip), %rdi     # 0x3085e
movl $0x3ad, %esi            # imm = 0x3AD
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a5fa
jmp 0x1a5fc
cmpl $0x0, -0x18(%rbp)
jl 0x1a608
cmpl $0xc, -0x18(%rbp)
jle 0x1a620
leaq 0x1624f(%rip), %rdi     # 0x3085e
movl $0x3ae, %esi            # imm = 0x3AE
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a622
jmp 0x1a624
movl -0x14(%rbp), %eax
addl -0x18(%rbp), %eax
cmpl $0xc, %eax
jle 0x1a647
leaq 0x16228(%rip), %rdi     # 0x3085e
movl $0x3af, %esi            # imm = 0x3AF
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a649
jmp 0x1a64b
movl -0x10(%rbp), %eax
cmpl -0x18(%rbp), %eax
jle 0x1a66b
leaq 0x16204(%rip), %rdi     # 0x3085e
movl $0x3b0, %esi            # imm = 0x3B0
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a66d
jmp 0x1a66f
cmpl $0x0, -0x1c(%rbp)
jl 0x1a67b
cmpl $0x6, -0x1c(%rbp)
jle 0x1a693
leaq 0x161dc(%rip), %rdi     # 0x3085e
movl $0x3b1, %esi            # imm = 0x3B1
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a695
jmp 0x1a697
cmpl $0x0, 0x10(%rbp)
jl 0x1a6a3
cmpl $0x6, 0x10(%rbp)
jle 0x1a6bb
leaq 0x161b4(%rip), %rdi     # 0x3085e
movl $0x3b2, %esi            # imm = 0x3B2
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a6bd
jmp 0x1a6bf
movl -0x1c(%rbp), %eax
addl 0x10(%rbp), %eax
cmpl $0x6, %eax
jle 0x1a6e2
leaq 0x1618d(%rip), %rdi     # 0x3085e
movl $0x3b3, %esi            # imm = 0x3B3
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a6e4
jmp 0x1a6e6
cmpl $0x0, 0x18(%rbp)
jl 0x1a6f5
cmpl $0x10000, 0x18(%rbp)    # imm = 0x10000
jle 0x1a70d
leaq 0x16162(%rip), %rdi     # 0x3085e
movl $0x3b4, %esi            # imm = 0x3B4
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a70f
movq -0x8(%rbp), %rax
cmpq $0x0, 0x78(%rax)
je 0x1a74d
movq -0x8(%rbp), %rax
movq 0x78(%rax), %rdi
movl -0x10(%rbp), %edx
movl -0x14(%rbp), %ecx
movl -0x18(%rbp), %r8d
movl -0x1c(%rbp), %r9d
movl 0x10(%rbp), %r10d
movl 0x18(%rbp), %eax
leaq 0x161a9(%rip), %rsi     # 0x308e7
movl %r10d, (%rsp)
movl %eax, 0x8(%rsp)
movb $0x0, %al
callq 0x20a0
jmp 0x1a74f
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)