(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:REFERENCE spids:[16])
          op: Equal
          rhs: {($ VSub_DollarName '$HOME') (/persist/firmware.bin)}
          spids: [16]
        )
      ]
      spids: [16]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (C {(Lit_Other '[')} {(-f)} {($ VSub_DollarName '$REFERENCE')} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:size_old spids:[41])
                  op: Equal
                  rhs: 
                    {
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(stat)} {(-c) (Lit_Other '%') (s)} {($ VSub_DollarName '$REFERENCE')})
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [42 50]
                      )
                    }
                  spids: [41]
                )
              ]
              spids: [41]
            )
            (command.Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:size_new spids:[53])
                  op: Equal
                  rhs: 
                    {
                      (word_part.CommandSubPart
                        command_list: 
                          (command.CommandList
                            children: [
                              (C {(stat)} {(-c) (Lit_Other '%') (s)} {(minimal/build/firmware.bin)})
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54 62]
                      )
                    }
                  spids: [53]
                )
              ]
              spids: [53]
            )
            (C {(echo)} 
              {
                (DQ ('Old size: ') ($ VSub_DollarName '$size_old') (' new size: ') 
                  ($ VSub_DollarName '$size_new')
                )
              }
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (C {(Lit_Other '[')} {($ VSub_DollarName '$size_new')} {(-gt)} 
                          {($ VSub_DollarName '$size_old')} {(Lit_Other ']')}
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(echo)} {(DQ ('Validation failure: Core code size increased'))})
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$TRAVIS_PULL_REQUEST'))} 
                                  {(KW_Bang '!') (Lit_Other '=')} {(DQ (false))} {(Lit_Other ']')}
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [(command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})]
                          spids: [16777215 116]
                        )
                      ]
                      spids: [16777215 124]
                    )
                  ]
                  spids: [16777215 88]
                )
              ]
              spids: [16777215 127]
            )
          ]
          spids: [16777215 38]
        )
      ]
      else_action: [
        (C {(echo)} {(DQ ("Warning: reference file doesn't exist, code size check didn't run"))})
      ]
      spids: [129 138]
    )
  ]
)