(command.CommandList
  children: [
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (C {(Id.Lit_LBracket '[')} {(-z)} {(DQ ($ Id.VSub_Number '$1'))} {(Id.Lit_RBracket ']')})
        (C {(Id.KW_Set set)} {(DQ (.))})
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:file)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: (Token id:Id.Left_Backtick val:'`' span_id:48)
                command_list: 
                  (command.CommandList
                    children: [
                      (command.Pipeline
                        children: [
                          (C {(find)} {($ Id.VSub_Number '$1')} {(-maxdepth)} {(1)} {(-type)} {(f)} 
                            {(-printf)} {(DQ ('%p') (Id.Lit_Other '\\') ('t%T@') (Id.Lit_Other '\\') (n))}
                          )
                          (C {(sort)} {(-k2) (Id.Lit_Comma ',') (2n)})
                          (C {(head)} {(-1)})
                          (C {(cut)} {(-f1)})
                        ]
                        negated: F
                      )
                    ]
                  )
              )
            }
          spids: [47]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (C {(Id.Lit_LBracket '[')} {(-z)} {(DQ ($ Id.VSub_DollarName '$file'))} {(Id.Lit_RBracket ']')})
        (command.ControlFlow token:(Token id:Id.ControlFlow_Exit val:exit span_id:110))
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:filedate)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: (Token id:Id.Left_Backtick val:'`' span_id:113)
                command_list: 
                  (command.CommandList
                    children: [
                      (C {(date)} 
                        {(--reference) (Id.Lit_Equals '=') (DQ ($ Id.VSub_DollarName '$file'))} 
                        {(Id.Lit_Other '+') (Id.Lit_Other '%') (y) (Id.Lit_Other '%') (m) 
                          (Id.Lit_Other '%') (d) (Id.Lit_Other '%') (H) (Id.Lit_Other '%') (M)
                        }
                      )
                    ]
                  )
              )
            }
          spids: [112]
        )
      ]
    )
    (C {(touch)} {(-c)} {(-t)} {($ Id.VSub_DollarName '$filedate')} {($ Id.VSub_Number '$1')})
  ]
)