code: def gcdext(a, b):
      if not a or not b:
          g = abs(a) or abs(b)
          if not g:
              return (0, 0, 0)
          return (g, a // g, b // g)
  
      x_sign, a = _sign(a)
      y_sign, b = _sign(b)
      x, r = 1, 0
      y, s = 0, 1
  
      while b:
          q, c = divmod(a, b)
          a, b = b, c
          x, r = r, x - q * r
          y, s = s, y - q * s
  
      return (a, x * x_sign, y * y_sign)
  
imports: import sys
  import math
  import mpmath.libmp
label_desc: Use image node_id 8 for calling a global function with example usage: gcdext(a, b) and returns: a,  unknown,  unknown, g,  unknown,  unknown, int,  int,  int