// File: /workspace/github_c_makefile_star2_O0/mmcco[P]sljit/sljit_src/sljitLir.c
// Function: check_sljit_emit_enter
static __inline CHECK_RETURN_TYPE check_sljit_emit_enter(struct sljit_compiler *compiler,
	int options, int args, int scratches, int saveds,
	int fscratches, int fsaveds, int local_size)
{
	(void)compiler;

#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, "  enter 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)
movl -0xc(%rbp), %eax
andl $-0x2, %eax
cmpl $0x0, %eax
je 0x1a116
leaq 0x16759(%rip), %rdi     # 0x3085e
movl $0x38e, %esi            # imm = 0x38E
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a118
jmp 0x1a11a
cmpl $0x0, -0x10(%rbp)
jl 0x1a126
cmpl $0x3, -0x10(%rbp)
jle 0x1a13e
leaq 0x16731(%rip), %rdi     # 0x3085e
movl $0x38f, %esi            # imm = 0x38F
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a140
jmp 0x1a142
cmpl $0x0, -0x14(%rbp)
jl 0x1a14e
cmpl $0xc, -0x14(%rbp)
jle 0x1a166
leaq 0x16709(%rip), %rdi     # 0x3085e
movl $0x390, %esi            # imm = 0x390
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a168
jmp 0x1a16a
cmpl $0x0, -0x18(%rbp)
jl 0x1a176
cmpl $0xc, -0x18(%rbp)
jle 0x1a18e
leaq 0x166e1(%rip), %rdi     # 0x3085e
movl $0x391, %esi            # imm = 0x391
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a190
jmp 0x1a192
movl -0x14(%rbp), %eax
addl -0x18(%rbp), %eax
cmpl $0xc, %eax
jle 0x1a1b5
leaq 0x166ba(%rip), %rdi     # 0x3085e
movl $0x392, %esi            # imm = 0x392
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a1b7
jmp 0x1a1b9
movl -0x10(%rbp), %eax
cmpl -0x18(%rbp), %eax
jle 0x1a1d9
leaq 0x16696(%rip), %rdi     # 0x3085e
movl $0x393, %esi            # imm = 0x393
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a1db
jmp 0x1a1dd
cmpl $0x0, -0x1c(%rbp)
jl 0x1a1e9
cmpl $0x6, -0x1c(%rbp)
jle 0x1a201
leaq 0x1666e(%rip), %rdi     # 0x3085e
movl $0x394, %esi            # imm = 0x394
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a203
jmp 0x1a205
cmpl $0x0, 0x10(%rbp)
jl 0x1a211
cmpl $0x6, 0x10(%rbp)
jle 0x1a229
leaq 0x16646(%rip), %rdi     # 0x3085e
movl $0x395, %esi            # imm = 0x395
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a22b
jmp 0x1a22d
movl -0x1c(%rbp), %eax
addl 0x10(%rbp), %eax
cmpl $0x6, %eax
jle 0x1a250
leaq 0x1661f(%rip), %rdi     # 0x3085e
movl $0x396, %esi            # imm = 0x396
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a252
jmp 0x1a254
cmpl $0x0, 0x18(%rbp)
jl 0x1a263
cmpl $0x10000, 0x18(%rbp)    # imm = 0x10000
jle 0x1a27b
leaq 0x165f4(%rip), %rdi     # 0x3085e
movl $0x397, %esi            # imm = 0x397
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1a27d
movq -0x8(%rbp), %rax
cmpq $0x0, 0x78(%rax)
je 0x1a2bb
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 0x165df(%rip), %rsi     # 0x3088b
movl %r10d, (%rsp)
movl %eax, 0x8(%rsp)
movb $0x0, %al
callq 0x20a0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)