(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:config_os)
          op: assign_op.Equal
          rhs: {($ Id.VSub_Number '$1')}
          spids: [4]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:config_release)
          op: assign_op.Equal
          rhs: {($ Id.VSub_Number '$2')}
          spids: [7]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:uname_machine)
          op: assign_op.Equal
          rhs: {($ Id.VSub_Number '$3')}
          spids: [10]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:uname_sysname)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_Backtick '`'>
                child: 
                  (command.Pipeline
                    children: [
                      (C {<echo>} {($ Id.VSub_DollarName '$config_os')})
                      (C {<sed>} {(SQ <'s/[0-9.]*$//'>)})
                    ]
                    negated: F
                  )
              )
            }
          spids: [14]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<test>} {($ Id.VSub_DollarName '$uname_sysname')} 
                      {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {($ Id.VSub_DollarName '$config_os')}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:config_release)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Pipeline
                            children: [
                              (C {<echo>} {($ Id.VSub_DollarName '$config_os')})
                              (C {<sed>} {<'s/'> ($ Id.VSub_DollarName '$uname_sysname') <'//'>})
                            ]
                            negated: F
                          )
                      )
                    }
                  spids: [46]
                )
              ]
            )
          ]
          spids: [31 43]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: (C {<test>} {<-r>} {<'/vmunix'>})
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:kernel_id)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Pipeline
                            children: [(C {<strings>} {<'/vmunix'>}) (C {<grep>} {<UNIX>})]
                            negated: F
                          )
                      )
                    }
                  spids: [78]
                )
              ]
            )
          ]
          spids: [66 75]
        )
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: (C {<test>} {<-r>} {<'/dynix'>})
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:kernel_id)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Pipeline
                            children: [(C {<strings>} {<'/dynix'>}) (C {<grep>} {<DYNIX>})]
                            negated: F
                          )
                      )
                    }
                  spids: [105]
                )
              ]
            )
          ]
          spids: [93 102]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:kernel_id)
              op: assign_op.Equal
              rhs: (word.Empty)
              spids: [123]
            )
          ]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:kernel_release)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_Backtick '`'>
                child: 
                  (command.Pipeline
                    children: [
                      (C {<echo>} {(DQ ($ Id.VSub_DollarName '$kernel_id'))})
                      (C {<sed>} {(SQ <'s/^[^0-9.]*\\([0-9.]*\\).*$/\\1/'>)})
                    ]
                    negated: F
                  )
              )
            }
          spids: [128]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<test>} 
                      {<x> 
                        (command_sub
                          left_token: <Id.Left_Backtick '`'>
                          child: 
                            (command.Pipeline
                              children: [
                                (C {<echo>} {(DQ ($ Id.VSub_DollarName '$config_release'))})
                                (C {<sed>} 
                                  {(DQ <'s/^'> ($ Id.VSub_DollarName '$kernel_release') <'//'>)}
                                )
                              ]
                              negated: F
                            )
                        )
                      } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<x> ($ Id.VSub_DollarName '$config_release')}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:uname_release)
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_DollarName '$kernel_release')}
                  spids: [194]
                )
              ]
            )
          ]
          spids: [153 187]
        )
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<test>} {<x> ($ Id.VSub_DollarName '$config_release')} 
                      {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<x>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:uname_release)
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_DollarName '$config_release')}
                  spids: [213]
                )
              ]
            )
          ]
          spids: [197 210]
        )
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<test>} {<x> ($ Id.VSub_DollarName '$kernel_release')} 
                      {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<x>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:uname_release)
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_DollarName '$kernel_release')}
                  spids: [232]
                )
              ]
            )
          ]
          spids: [216 229]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:uname_release)
              op: assign_op.Equal
              rhs: {<unknown>}
              spids: [238]
            )
          ]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:kernel_version)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_Backtick '`'>
                child: 
                  (command.Pipeline
                    children: [
                      (C {<echo>} {(DQ ($ Id.VSub_DollarName '$kernel_id'))})
                      (C {<sed>} {(SQ <'s/^[^#]*#\\([0-9]*\\).*$/\\1/'>)})
                    ]
                    negated: F
                  )
              )
            }
          spids: [244]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: (C {<test>} {<-n>} {(DQ ($ Id.VSub_DollarName '$kernel_version'))})
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:uname_version)
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_DollarName '$kernel_version'))}
                  spids: [283]
                )
              ]
            )
          ]
          spids: [269 280]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:uname_version)
              op: assign_op.Equal
              rhs: {<unknown>}
              spids: [291]
            )
          ]
        )
      ]
    )
    (command.Simple
      words: [{<cat>}]
      redirects: [
        (redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {<EOF>}
              here_end_span_id: 330
              stdin_parts: [
                <'/* This file is generated by '>
                ($ Id.VSub_Number '$0')
                <'.  DO NOT EDIT.\n'>
                <'\n'>
                <'   This is used only by the generic uname function for systems with no real\n'>
                <'   uname call.  If this data is not correct, it does not matter much.  */\n'>
                <'\n'>
                <'#define UNAME_SYSNAME '>
                <Id.Right_DoubleQuote '"'>
                ($ Id.VSub_DollarName '$uname_sysname')
                <Id.Right_DoubleQuote '"'>
                <'\n'>
                <'#define UNAME_RELEASE '>
                <Id.Right_DoubleQuote '"'>
                ($ Id.VSub_DollarName '$uname_release')
                <Id.Right_DoubleQuote '"'>
                <'\n'>
                <'#define UNAME_VERSION '>
                <Id.Right_DoubleQuote '"'>
                ($ Id.VSub_DollarName '$uname_version')
                <Id.Right_DoubleQuote '"'>
                <'\n'>
                <'#define UNAME_MACHINE '>
                <Id.Right_DoubleQuote '"'>
                ($ Id.VSub_DollarName '$uname_machine')
                <Id.Right_DoubleQuote '"'>
                <'\n'>
              ]
            )
        )
      ]
      do_fork: T
    )
  ]
)