code: def inplace_decrement(
      x: Union[ivy.Array, np.ndarray], val: Union[ivy.Array, np.ndarray]
  ) -> ivy.Array:
      (x_native, val_native), _ = ivy.args_to_native(x, val)
      x_native -= val_native
      if ivy.is_ivy_array(x):
          x.data = x_native
      else:
          x = ivy.Array(x_native)
      return x
  
imports: from typing import Optional, Union, Sequence, Callable, Tuple
  import numpy
  from operator import mul
  from functools import reduce
  import multiprocessing
  from numbers import Number
  import ivy
  from ivy.functional.backends.numpy.helpers import _scalar_output_to_0d_array
  from ivy.func_wrapper import with_unsupported_dtypes
  from .None import backend_version
  from ...ivy.general import _broadcast_to
label_desc: Use image node_id 14 for calling a global function with example usage: inplace_decrement(x, val) and returns: x