// File: /workspace/github_c_makefile_star2_O0/mmcco[P]sljit/test_src/sljitTest.c
// Function: test39
static void test39(void)
{
	/* Test error handling. */
	executable_code code;
	struct sljit_compiler* compiler = sljit_create_compiler();
	struct sljit_jump* jump;

	if (verbose)
		printf("Run test39\n");

	FAILED(!compiler, "cannot create compiler\n");

	/* Such assignment should never happen in a regular program. */
	compiler->error = -3967;

	SLJIT_ASSERT(sljit_emit_enter(compiler, 0, 2, 5, 5, 6, 0, 32) == -3967);
	SLJIT_ASSERT(sljit_emit_return(compiler, SLJIT_MOV, SLJIT_R1, 0) == -3967);
	SLJIT_ASSERT(sljit_emit_op0(compiler, SLJIT_NOP) == -3967);
	SLJIT_ASSERT(sljit_emit_op1(compiler, SLJIT_MOV, SLJIT_R0, 0, SLJIT_MEM2(SLJIT_R0, SLJIT_R1), 1) == -3967);
	SLJIT_ASSERT(sljit_emit_op2(compiler, SLJIT_MOV, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_R0), 64, SLJIT_MEM1(SLJIT_S0), -64) == -3967);
	SLJIT_ASSERT(sljit_emit_fop1(compiler, SLJIT_DABS, SLJIT_FR0, 0, SLJIT_MEM1(SLJIT_R1), 0) == -3967);
	SLJIT_ASSERT(sljit_emit_fop2(compiler, SLJIT_DDIV, SLJIT_FR2, 0, SLJIT_MEM2(SLJIT_R0, SLJIT_S0), 0, SLJIT_FR2, 0) == -3967);
	SLJIT_ASSERT(!sljit_emit_label(compiler));
	jump = sljit_emit_jump(compiler, SLJIT_CALL3);
	SLJIT_ASSERT(!jump);
	sljit_set_label(jump, (struct sljit_label*)0x123450);
	sljit_set_target(jump, 0x123450);
	jump = sljit_emit_cmp(compiler, SLJIT_SIG_LESS_EQUAL, SLJIT_R0, 0, SLJIT_R1, 0);
	SLJIT_ASSERT(!jump);
	SLJIT_ASSERT(sljit_emit_ijump(compiler, SLJIT_JUMP, SLJIT_MEM1(SLJIT_R0), 8) == -3967);
	SLJIT_ASSERT(sljit_emit_op_flags(compiler, SLJIT_MOV, SLJIT_R0, 0, SLJIT_UNUSED, 0, SLJIT_MUL_OVERFLOW) == -3967);
	SLJIT_ASSERT(!sljit_emit_const(compiler, SLJIT_R0, 0, 99));

	SLJIT_ASSERT(!compiler->labels && !compiler->jumps && !compiler->consts);
	SLJIT_ASSERT(!compiler->last_label && !compiler->last_jump && !compiler->last_const);
	SLJIT_ASSERT(!compiler->buf->next && !compiler->buf->used_size);
	SLJIT_ASSERT(!compiler->abuf->next && !compiler->abuf->used_size);

	code.code = sljit_generate_code(compiler);
	FAILED(sljit_get_compiler_error(compiler) != -3967, "test39 case 1 failed\n");
	FAILED(!!code.code, "test39 case 2 failed\n");
	sljit_free_compiler(compiler);
	successful_tests++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
callq 0x18ba0
movq %rax, -0x10(%rbp)
cmpl $0x0, 0x224fc(%rip)     # 0x34354
je 0x11e68
leaq 0x1d569(%rip), %rdi     # 0x2f3ca
movb $0x0, %al
callq 0x2070
cmpq $0x0, -0x10(%rbp)
jne 0x11e82
leaq 0x1b55d(%rip), %rdi     # 0x2d3d3
movb $0x0, %al
callq 0x2070
jmp 0x1233e
movq -0x10(%rbp), %rax
movl $0xfffff081, (%rax)     # imm = 0xFFFFF081
movq -0x10(%rbp), %rdi
xorl %esi, %esi
movl $0x2, %edx
movl $0x5, %r8d
movl $0x6, %r9d
movl %r8d, %ecx
movl $0x0, (%rsp)
movl $0x20, 0x8(%rsp)
callq 0x19b20
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x11ed9
leaq 0x1b523(%rip), %rdi     # 0x2d3eb
movl $0xd61, %esi            # imm = 0xD61
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x11edb
jmp 0x11edd
movq -0x10(%rbp), %rdi
movl $0x20, %esi
movl $0x2, %edx
xorl %eax, %eax
movl %eax, %ecx
callq 0x1a7c0
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x11f13
leaq 0x1b4e9(%rip), %rdi     # 0x2d3eb
movl $0xd62, %esi            # imm = 0xD62
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x11f15
jmp 0x11f17
movq -0x10(%rbp), %rdi
movl $0x1, %esi
callq 0x1cc10
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x11f44
leaq 0x1b4b8(%rip), %rdi     # 0x2d3eb
movl $0xd63, %esi            # imm = 0xD63
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x11f46
jmp 0x11f48
movq -0x10(%rbp), %rdi
movl $0x20, %esi
movl $0x1, %edx
xorl %eax, %eax
movl %eax, %ecx
movl $0x281, %r8d            # imm = 0x281
movl $0x1, %r9d
callq 0x1d3d0
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x11f8a
leaq 0x1b472(%rip), %rdi     # 0x2d3eb
movl $0xd64, %esi            # imm = 0xD64
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x11f8c
jmp 0x11f8e
movq -0x10(%rbp), %rdi
movl $0x20, %esi
movl $0x1, %edx
xorl %eax, %eax
movl %eax, %ecx
movl $0x81, %r8d
movl $0x40, %r9d
movl $0x8c, (%rsp)
movq $-0x40, 0x8(%rsp)
callq 0x1f8d0
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x11fe0
leaq 0x1b41c(%rip), %rdi     # 0x2d3eb
movl $0xd65, %esi            # imm = 0xD65
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x11fe2
jmp 0x11fe4
movq -0x10(%rbp), %rdi
movl $0x88, %esi
movl $0x1, %edx
xorl %eax, %eax
movl %eax, %r9d
movl $0x82, %r8d
movq %r9, %rcx
callq 0x23a40
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x12024
leaq 0x1b3d8(%rip), %rdi     # 0x2d3eb
movl $0xd66, %esi            # imm = 0xD66
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x12026
jmp 0x12028
movq -0x10(%rbp), %rdi
movl $0xa3, %esi
movl $0x3, %edx
xorl %eax, %eax
movl %eax, %r9d
movl $0xc81, %r8d            # imm = 0xC81
movq %r9, %rcx
movl $0x3, (%rsp)
movq $0x0, 0x8(%rsp)
callq 0x26fb0
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x12078
leaq 0x1b384(%rip), %rdi     # 0x2d3eb
movl $0xd67, %esi            # imm = 0xD67
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1207a
jmp 0x1207c
movq -0x10(%rbp), %rdi
callq 0x28220
cmpq $0x0, %rax
je 0x120a3
leaq 0x1b359(%rip), %rdi     # 0x2d3eb
movl $0xd68, %esi            # imm = 0xD68
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x120a5
movq -0x10(%rbp), %rdi
movl $0x1b, %esi
callq 0x283d0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x120d6
leaq 0x1b326(%rip), %rdi     # 0x2d3eb
movl $0xd6a, %esi            # imm = 0xD6A
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x120d8
movq -0x18(%rbp), %rdi
movl $0x123450, %esi         # imm = 0x123450
callq 0x18e30
movq -0x18(%rbp), %rdi
movl $0x123450, %esi         # imm = 0x123450
callq 0x18e80
movq -0x10(%rbp), %rdi
movl $0x9, %esi
movl $0x1, %edx
xorl %eax, %eax
movl %eax, %r9d
movl $0x2, %r8d
movq %r9, %rcx
callq 0x2ac80
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x12138
leaq 0x1b2c4(%rip), %rdi     # 0x2d3eb
movl $0xd6e, %esi            # imm = 0xD6E
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x1213a
jmp 0x1213c
movq -0x10(%rbp), %rdi
movl $0x16, %esi
movl $0x81, %edx
movl $0x8, %ecx
callq 0x288b0
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x12173
leaq 0x1b289(%rip), %rdi     # 0x2d3eb
movl $0xd6f, %esi            # imm = 0xD6F
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x12175
jmp 0x12177
movq -0x10(%rbp), %rdi
movl $0x20, %esi
movl $0x1, %edx
xorl %eax, %eax
movl %eax, %r9d
xorl %r8d, %r8d
movq %r9, %rcx
movl $0xc, (%rsp)
callq 0x29010
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x121bb
leaq 0x1b241(%rip), %rdi     # 0x2d3eb
movl $0xd70, %esi            # imm = 0xD70
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x121bd
jmp 0x121bf
movq -0x10(%rbp), %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
movl $0x63, %ecx
callq 0x2a580
cmpq $0x0, %rax
je 0x121f4
leaq 0x1b208(%rip), %rdi     # 0x2d3eb
movl $0xd71, %esi            # imm = 0xD71
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x121f6
jmp 0x121f8
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x12219
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x12219
movq -0x10(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x12231
leaq 0x1b1cb(%rip), %rdi     # 0x2d3eb
movl $0xd73, %esi            # imm = 0xD73
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x12233
jmp 0x12235
movq -0x10(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x12256
movq -0x10(%rbp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x12256
movq -0x10(%rbp), %rax
cmpq $0x0, 0x30(%rax)
je 0x1226e
leaq 0x1b18e(%rip), %rdi     # 0x2d3eb
movl $0xd74, %esi            # imm = 0xD74
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x12270
jmp 0x12272
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rax
cmpq $0x0, (%rax)
jne 0x1228f
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rax
cmpq $0x0, 0x8(%rax)
je 0x122a7
leaq 0x1b155(%rip), %rdi     # 0x2d3eb
movl $0xd75, %esi            # imm = 0xD75
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x122a9
jmp 0x122ab
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
cmpq $0x0, (%rax)
jne 0x122c8
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
cmpq $0x0, 0x8(%rax)
je 0x122e0
leaq 0x1b11c(%rip), %rdi     # 0x2d3eb
movl $0xd76, %esi            # imm = 0xD76
movb $0x0, %al
callq 0x2070
callq 0x2040
jmp 0x122e2
movq -0x10(%rbp), %rdi
callq 0x19070
movq %rax, -0x8(%rbp)
movq -0x10(%rbp), %rdi
callq 0x18030
cmpl $0xfffff081, %eax       # imm = 0xFFFFF081
je 0x1230f
leaq 0x1d0d0(%rip), %rdi     # 0x2f3d6
movb $0x0, %al
callq 0x2070
jmp 0x1233e
cmpq $0x0, -0x8(%rbp)
je 0x12326
leaq 0x1d0cf(%rip), %rdi     # 0x2f3ec
movb $0x0, %al
callq 0x2070
jmp 0x1233e
movq -0x10(%rbp), %rdi
callq 0x18d90
movl 0x22027(%rip), %eax     # 0x3435c
addl $0x1, %eax
movl %eax, 0x2201e(%rip)     # 0x3435c
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)