from cpython_assembly.asm import asm


@asm
def bad(x):
    """
    Test func
    :::asm

    .stacksize 4
    .flags optimized, newlocals, nofree
    .names ValueError
    .consts
      three=3
      four=4
.code
LOAD_FAST                x
LOAD_CONST               three
INPLACE_ADD
STORE_FAST               0
JUMP_ABSOLUTE            safe
LOAD_FAST                1234567
safe:
LOAD_FAST                0
LOAD_CONST               four
COMPARE_OP               0 
POP_JUMP_IF_FALSE        return_ok

LOAD_GLOBAL              ValueError
CALL_FUNCTION            0































































































































































































































































































































RAISE_VARARGS            1
return_ok:
LOAD_FAST                x
RETURN_VALUE
"""
