code: def pop_return(stmnts):
      ns = len(stmnts)
      for i in range(ns - 1, -1, -1):
          stmnt = stmnts[i]
          if isinstance(stmnt, _ast.Return):
              return stmnts.pop(i)
      return None
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ..decompiler.simple_instructions import SimpleInstructions
  from ..decompiler.control_flow_instructions import CtrlFlowInstructions
  import _ast
  from ..asttools import print_ast
  from ..utils import py3, py3op, py2op
label_desc: Use image node_id 3 for calling a global function with example usage: pop_return(stmnts) and returns: None, stmnts