code: def rs_zeta(ctx, s, derivative=0, **kwargs):
      if derivative > 4:
          raise NotImplementedError
      s = ctx.convert(s)
      re = ctx._re(s)
      im = ctx._im(s)
      if im < 0:
          z = ctx.conj(ctx.rs_zeta(ctx.conj(s), derivative))
          return z
      critical_line = re == 0.5
      if critical_line:
          return zeta_half(ctx, s, derivative)
      else:
          return zeta_offline(ctx, s, derivative)
  
file_path: catboost/contrib/python/mpmath/py3/mpmath/functions/rszeta.py
imports: import math
  from .functions import defun
label_desc: Use image node_id 11 for calling a global function with example usage: rs_zeta(ctx, s, derivative) and returns: z, zeta_half, zeta_offline