(command.CommandList
  children: [
    (C {<cd>} {<.>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dir='> name:dir)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_Backtick '`'>
                child: (C {<dirname>} {($ Id.VSub_Number 0)})
                right: <Id.Backtick_Right '`'>
              )
            }
          spids: [115]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dir='> name:dir)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_Backtick '`'>
                child: 
                  (command.AndOr
                    ops: [Id.Op_DAmp Id.Op_DPipe]
                    children: [
                      (command.DBracket
                        expr: 
                          (bool_expr.Binary
                            op_id: Id.BoolBinary_GlobEqual
                            left: {($ Id.VSub_DollarName dir)}
                            right: {<'/'> <Id.Lit_Other '*'>}
                          )
                        redirects: []
                      )
                      (C {<print>} {($ Id.VSub_DollarName dir)})
                      (C {<print>} {($ Id.VSub_DollarName PWD) <'/'> ($ Id.VSub_DollarName dir)})
                    ]
                  )
                right: <Id.Backtick_Right '`'>
              )
            }
          spids: [124]
        )
      ]
      redirects: []
    )
    (command.Pipeline
      children: [
        (C {<findcrypto>} {($ Id.VSub_Number 1)})
        (C {($ Id.VSub_DollarName dir) <'/signit'>} {<-i>} {($ Id.VSub_DollarName ROOT)} {<-l>} 
          {
            (braced_var_sub
              left: <Id.Left_DollarBrace '${'>
              token: <Id.VSub_Name CODESIGN_USER>
              var_name: CODESIGN_USER
              suffix_op: 
                (suffix_op.Unary
                  op: <Id.VTest_ColonHyphen _>
                  arg_word: {(${ Id.VSub_Name LOGNAME)}
                )
              right: <Id.Right_DollarBrace '}'>
            )
          }
        )
      ]
      negated: F
      stderr_indices: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'stat='> name:stat)
          op: assign_op.Equal
          rhs: {($ Id.VSub_QMark '?')}
          spids: [178]
        )
      ]
      redirects: []
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName stat)} 
                      {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<0>} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<echo>} {(DQ <'ERROR failure in signing operation'>)})
            (command.ControlFlow
              token: <Id.ControlFlow_Exit exit>
              arg_word: {($ Id.VSub_DollarName stat)}
            )
          ]
          spids: [182 196]
        )
      ]
      else_action: []
      redirects: []
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)