code: def numba_funcify_Searchsorted(op, node, **kwargs):
      side = op.side
  
      use_python = False
      if len(node.inputs) == 3:
          use_python = True
  
      if use_python:
          warnings.warn(
              (
                  "Numba will use object mode to allow the "
                  "`sorter` argument to `numpy.searchsorted`."
              ),
              UserWarning,
          )
  
          ret_sig = get_numba_type(node.outputs[0].type)
  
          @numba_basic.numba_njit
          def searchsorted(a, v, sorter):
              with numba.objmode(ret=ret_sig):
                  ret = np.searchsorted(a, v, side, sorter)
              return ret
  
      else:
  
          @numba_basic.numba_njit(inline="always")
          def searchsorted(a, v):
              return np.searchsorted(a, v, side)
  
      return searchsorted
  
imports: import warnings
  from typing import cast
  import numba
  import numpy
  from pytensor import config
  from pytensor.graph import Apply
  from pytensor.link.numba.dispatch import basic
  from pytensor.link.numba.dispatch.basic import get_numba_type, numba_funcify
  from pytensor.raise_op import CheckAndRaise
  from pytensor.tensor import TensorVariable
  from pytensor.tensor.extra_ops import Bartlett, CumOp, FillDiagonal, FillDiagonalOffset, RavelMultiIndex, Repeat, SearchsortedOp, Unique, UnravelIndex
label_desc: Use image node_id 9 for calling a global function with example usage: numba_funcify_Searchsorted(op, node) and returns: searchsorted, ret, np