// File: /workspace/github_c_makefile_star2_O3/wjmelements[P]evm/tst/evm.c
// Function: test_stop
void test_stop() {
    evmInit();

    address_t from = AddressFromHex42("0x4a6f6B9fF1fc974096f9063a45Fd12bD5B928AD1");
    uint64_t gas = 53006;
    val_t value;
    data_t input;

    op_t program[] = {
        STOP,
    };

    input.size = sizeof(program);
    input.content = program;

    result_t result = txCreate(from, gas, value, input);
    evmFinalize();
    assert(UPPER(UPPER(result.status)) == 0);
    assert(LOWER(UPPER(result.status)) == 0x80d9b122);
    assert(UPPER(LOWER(result.status)) == 0xdc3a16fdc41f96cf);
    assert(LOWER(LOWER(result.status)) == 0x010ffe7e38d227c3);
    assert(result.returnData.size == 0);
    assert(result.gasRemaining == 0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
xorl %eax, %eax
callq 0xca4d
movq $-0x2, %r14
leaq 0x20(%rsp), %r15
leaq 0x105c9(%rip), %r12     # 0x14070
movq 0x1a54a(%rip), %r13     # 0x1dff8
leaq 0x13628(%rip), %rbx     # 0x170dd
movzbl 0x4(%r14,%r12), %ecx
leal -0x30(%rcx), %ebp
cmpb $0xa, %bpl
jb 0x3adc
leal -0x61(%rcx), %eax
cmpb $0x5, %al
ja 0x3ad0
addb $-0x57, %cl
jmp 0x3ada
leal -0x41(%rcx), %eax
cmpb $0x5, %al
ja 0x3b1a
addb $-0x37, %cl
movl %ecx, %ebp
movzbl 0x5(%r14,%r12), %ecx
leal -0x30(%rcx), %eax
cmpb $0xa, %al
jb 0x3b01
leal -0x61(%rcx), %eax
cmpb $0x5, %al
ja 0x3af5
addb $-0x57, %cl
jmp 0x3aff
leal -0x41(%rcx), %eax
cmpb $0x5, %al
ja 0x3b2f
addb $-0x37, %cl
movl %ecx, %eax
shlb $0x4, %bpl
addb %al, %bpl
movb %bpl, (%r15)
addq $0x2, %r14
incq %r15
cmpq $0x26, %r14
jb 0x3ab5
jmp 0x3b43
movq (%r13), %rdi
movq %rbx, %rsi
movl %ecx, %edx
xorl %eax, %eax
callq 0x30a0
movb $-0x1, %bpl
jmp 0x3adc
movq (%r13), %rdi
movq %rbx, %rsi
movl %ecx, %edx
xorl %eax, %eax
callq 0x30a0
movb $-0x1, %al
jmp 0x3b01
leaq 0x1f(%rsp), %r8
movb $0x0, (%r8)
movl 0x30(%rsp), %eax
movl %eax, 0x10(%rsp)
movups 0x20(%rsp), %xmm0
movups %xmm0, (%rsp)
leaq 0x38(%rsp), %rbx
leaq 0x7c(%rsp), %rdx
movl $0xcf0e, %esi           # imm = 0xCF0E
movl $0x1, %ecx
movq %rbx, %rdi
callq 0xd683
xorl %eax, %eax
callq 0xcd49
cmpq $0x0, 0x10(%rbx)
jne 0x3be3
movl $0x80d9b122, %eax       # imm = 0x80D9B122
cmpq %rax, 0x50(%rsp)
jne 0x3c02
movabsq $-0x23c5e9023be06931, %rax # imm = 0xDC3A16FDC41F96CF
cmpq %rax, 0x58(%rsp)
jne 0x3c21
movabsq $0x10ffe7e38d227c3, %rax # imm = 0x10FFE7E38D227C3
cmpq %rax, 0x60(%rsp)
jne 0x3c40
cmpq $0x0, 0x38(%rsp)
jne 0x3c5f
cmpq $0x0, 0x68(%rsp)
jne 0x3c7e
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x104b1(%rip), %rdi     # 0x1409b
leaq 0x104cb(%rip), %rsi     # 0x140bc
leaq 0x104ce(%rip), %rcx     # 0x140c6
movl $0x1b, %edx
callq 0x3040
leaq 0x104ce(%rip), %rdi     # 0x140d7
leaq 0x104ac(%rip), %rsi     # 0x140bc
leaq 0x104af(%rip), %rcx     # 0x140c6
movl $0x1c, %edx
callq 0x3040
leaq 0x104d9(%rip), %rdi     # 0x14101
leaq 0x1048d(%rip), %rsi     # 0x140bc
leaq 0x10490(%rip), %rcx     # 0x140c6
movl $0x1d, %edx
callq 0x3040
leaq 0x104ec(%rip), %rdi     # 0x14133
leaq 0x1046e(%rip), %rsi     # 0x140bc
leaq 0x10471(%rip), %rcx     # 0x140c6
movl $0x1e, %edx
callq 0x3040
leaq 0x104ff(%rip), %rdi     # 0x14165
leaq 0x1044f(%rip), %rsi     # 0x140bc
leaq 0x10452(%rip), %rcx     # 0x140c6
movl $0x1f, %edx
callq 0x3040
leaq 0x104fc(%rip), %rdi     # 0x14181
leaq 0x10430(%rip), %rsi     # 0x140bc
leaq 0x10433(%rip), %rcx     # 0x140c6
movl $0x20, %edx
callq 0x3040