(command.CommandList
  children: [
    (C {<set>} {<-e>})
    (C {<cd>} 
      {
        (DQ 
          (command_sub
            left_token: <Id.Left_DollarParen '$('>
            child: (C {<dirname>} {(DQ ($ Id.VSub_DollarName '$BASH_SOURCE'))})
          ) <'/../..'>
        )
      }
    )
    (command.ShFunction
      name: targets_from
      body: 
        (BraceGroup
          children: [
            (C {<git>} {<fetch>} {<-q>} {<https> <Id.Lit_Colon ':'> <'//github.com/docker/docker.git'>} 
              {(DQ ($ Id.VSub_Number '$1'))}
            )
            (command.Pipeline
              children: [
                (C {<git>} {<ls-tree>} {<-r>} {<--name-only>} 
                  {
                    (DQ 
                      (command_sub
                        left_token: <Id.Left_DollarParen '$('>
                        child: (C {<git>} {<rev-parse>} {<FETCH_HEAD>})
                      )
                    )
                  } {<'contrib/builder/deb/'>}
                )
                (C {<grep>} {(SQ <'/Dockerfile$'>)})
                (C {<sed>} {<-r>} 
                  {
                    (SQ 
                      <
's!^contrib/builder/deb/|^contrib/builder/deb/amd64/|-debootstrap|/Dockerfile$!!g'
                      >
                    )
                  }
                )
                (C {<grep>} {<-v>} {<'/'>})
              ]
              negated: F
            )
          ]
        )
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:release_branch)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Pipeline
                    children: [
                      (C {<git>} {<ls-remote>} {<--heads>} 
                        {<https> <Id.Lit_Colon ':'> <'//github.com/docker/docker.git'>}
                      )
                      (C {<awk>} {<-F>} {(SQ <'refs/heads/'>)} {(SQ <'$2 ~ /^release/ { print $2 }'>)})
                      (C {<sort>} {<-V>})
                      (C {<tail>} {<-1>})
                    ]
                    negated: F
                  )
              )
            }
          spids: [93]
        )
      ]
    )
    (command.Pipeline
      children: [
        (BraceGroup
          children: [
            (command.Sentence
              child: (C {<targets_from>} {<master>})
              terminator: <Id.Op_Semi _>
            )
            (command.Sentence
              child: (C {<targets_from>} {(DQ ($ Id.VSub_DollarName '$release_branch'))})
              terminator: <Id.Op_Semi _>
            )
          ]
        )
        (C {<sort>} {<-u>})
      ]
      negated: F
    )
  ]
)