def METHOD_NAME(evm: Evm) -> None:
    """
    Modulo multiplication of the top 2 elements with the 3rd element. Pushes
    the result back on the stack.
    Parameters
    ----------
    evm :
        The current EVM frame.
    """
    # STACK
    x = Uint(pop(evm.stack))
    y = Uint(pop(evm.stack))
    z = Uint(pop(evm.stack))
    # GAS
    charge_gas(evm, GAS_MID)
    # OPERATION
    if z == 0:
        result = U256(0)
    else:
        result = U256((x * y) % z)
    push(evm.stack, result)
    # PROGRAM COUNTER
    evm.pc += 1