code: def rs_z(ctx, w, derivative=0):
      w = ctx.convert(w)
      re = ctx._re(w)
      im = ctx._im(w)
      if re < 0:
          return rs_z(ctx, -w, derivative)
      critical_line = im == 0
      if critical_line:
          return z_half(ctx, w, derivative)
      else:
          return z_offline(ctx, w, 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 12 for calling a global function with example usage: rs_z(ctx, w, derivative) and returns: rs_z, z_half, z_offline