code: def _divmod(
      x1,
      x2,
      /,
      out1_2=(None, None),
      out=None,
      *,
      where=True,
      casting="same_kind",
      order="K",
      dtype=None,
      subok=True,
  ):
      if dtype:
          x1 = ivy.astype(ivy.array(x1), ivy.as_ivy_dtype(dtype))
          x2 = ivy.astype(ivy.array(x2), ivy.as_ivy_dtype(dtype))
  
      ret = [
          ivy.floor_divide(x1, x2, out=out),
          ivy.remainder(x1, x2, out=out),
      ]
      if ivy.is_array(where):
          ret = ivy.where(
              where,
              ret,
              (
                  [
                      ivy.default(out, ivy.zeros_like(ret[0])),
                      ivy.default(out, ivy.zeros_like(ret[1])),
                  ]
              ),
              out=out,
          )
      return ret
  
file_path: ivy/ivy/functional/frontends/numpy/mathematical_functions/arithmetic_operations.py
imports: import ivy
  from ivy.functional.frontends.numpy import promote_types_of_numpy_inputs
  from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back, handle_numpy_casting, handle_numpy_dtype, from_zero_dim_arrays_to_scalar, handle_numpy_out
label_desc: Use image node_id 3 for calling a global function with example usage: _divmod(out1_2, out) and returns: ret