(command.CommandList
  children: [
    (command.ShFunction
      name: update_method
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [(command.ControlFlow token:<Id.ControlFlow_Return return>)]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name: update_this_script
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'old_md5='> name:old_md5)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Pipeline
                            children: [
                              (C {<md5sum>} {($ Id.VSub_Number 0)})
                              (C {<cut>} {<-d> (SQ <' '>)} {<-f1>})
                            ]
                            negated: F
                            stderr_indices: []
                          )
                        right: <Id.Backtick_Right '`'>
                      )
                    }
                  spids: [48]
                )
              ]
              redirects: []
            )
            (C {<update_method>})
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'new_md5='> name:new_md5)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Pipeline
                            children: [
                              (C {<md5sum>} {($ Id.VSub_Number 0)})
                              (C {<cut>} {<-d> (SQ <' '>)} {<-f1>})
                            ]
                            negated: F
                            stderr_indices: []
                          )
                        right: <Id.Backtick_Right '`'>
                      )
                    }
                  spids: [72]
                )
              ]
              redirects: []
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<Id.Lit_LBracket '['>} {(DQ ($ Id.VSub_DollarName old_md5))} 
                              {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ ($ Id.VSub_DollarName new_md5))} {<Id.Lit_RBracket ']'>}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [(C {<exec>} {($ Id.VSub_Number 0)} {(DQ ($ Id.VSub_At '@'))})]
                  spids: [93 111]
                )
              ]
              else_action: []
              redirects: []
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (C {<update_this_script>})
    (C {<echo>} {(DQ <'rest of script here'>)})
  ]
)