(command.AndOr
  ops: [Op_DAmp]
  children: [
    (command.FuncDef
      name: _mkinitrd
      body: 
        (command.BraceGroup
          children: [
            (command.Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cur spids:[13])
                  op: Equal
                  spids: [13]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:prev spids:[15])
                  op: Equal
                  spids: [15]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:words spids:[17])
                  op: Equal
                  spids: [17]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:cword spids:[19])
                  op: Equal
                  spids: [19]
                )
                (assign_pair
                  lhs: (lhs_expr.LhsName name:split spids:[21])
                  op: Equal
                  spids: [21]
                )
              ]
              spids: [11]
            )
            (command.AndOr
              ops: [Op_DPipe]
              children: [
                (C {(_init_completion)} {(-s)})
                (command.ControlFlow token:<ControlFlow_Return return>)
              ]
            )
            (command.Case
              to_match: {($ VSub_DollarName '$prev')}
              arms: [
                (case_arm
                  pat_list: [{(--preload)} {(--with)} {(--builtin)}]
                  action: [
                    (C {(_modules)})
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [41 46 57 16777215]
                )
                (case_arm
                  pat_list: [{(--fstab)} {(--dsdt)}]
                  action: [
                    (C {(_filedir)})
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [60 63 74 16777215]
                )
                (case_arm
                  pat_list: [{(--net-dev)}]
                  action: [
                    (C {(_available_interfaces)})
                    (command.ControlFlow
                      token: <ControlFlow_Return return>
                      arg_word: {(0)}
                    )
                  ]
                  spids: [77 78 89 16777215]
                )
              ]
              spids: [34 38 92]
            )
            (command.AndOr
              ops: [Op_DAmp]
              children: [
                (C {($ VSub_DollarName '$split')})
                (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: 
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {(DQ ($ VSub_DollarName '$cur'))}
                              right: {(-) (Lit_Other '*')}
                            )
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (command.Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (lhs_expr.LhsName name:COMPREPLY spids:[125])
                          op: Equal
                          rhs: 
                            {
                              (word_part.ArrayLiteralPart
                                words: [
                                  {
                                    (word_part.CommandSubPart
                                      command_list: 
                                        (command.CommandList
                                          children: [
                                            (C {(compgen)} {(-W)} 
                                              {
                                                (SQ <'--version --help -v -f --preload \\\n'> 
                                                  <
'            --force-scsi-probe --omit-scsi-modules \\\n'
                                                  > <'            --omit-ide-modules --image-version --force-raid-probe \\\n'> 
                                                  <
'            --omit-raid-modules --with= --force-lvm-probe \\\n'
                                                  > <'            --omit-lvm-modules --builtin --omit-dmraid --net-dev \\\n'> 
                                                  <
'            --fstab --nocompress --dsdt --bootchart'
                                                  >
                                                )
                                              } {(--)} {(DQ ($ VSub_DollarName '$cur'))}
                                            )
                                          ]
                                        )
                                      left_token: <Left_CommandSub '$('>
                                      spids: [128 149]
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [125]
                        )
                      ]
                      spids: [125]
                    )
                    (command.AndOr
                      ops: [Op_DAmp]
                      children: [
                        (command.DBracket
                          expr: 
                            (bool_expr.BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: {($ VSub_DollarName '$COMPREPLY')}
                              right: {(Lit_Other '*') (BoolBinary_GlobEqual '=')}
                            )
                        )
                        (C {(compopt)} {(-o)} {(nospace)})
                      ]
                    )
                  ]
                  spids: [16777215 122]
                )
              ]
              else_action: [
                (command.Assignment
                  keyword: Assign_Local
                  pairs: [
                    (assign_pair
                      lhs: (lhs_expr.LhsName name:args spids:[179])
                      op: Equal
                      spids: [179]
                    )
                  ]
                  spids: [177]
                )
                (C {(_count_args)})
                (command.Case
                  to_match: {($ VSub_DollarName '$args')}
                  arms: [
                    (case_arm
                      pat_list: [{(1)}]
                      action: [(C {(_filedir)})]
                      spids: [193 194 200 16777215]
                    )
                    (case_arm
                      pat_list: [{(2)}]
                      action: [(C {(_kernel_versions)})]
                      spids: [203 204 210 16777215]
                    )
                  ]
                  spids: [186 190 213]
                )
              ]
              spids: [174 216]
            )
          ]
          spids: [8]
        )
      spids: [4 7]
    )
    (C {(complete)} {(-F)} {(_mkinitrd)} {(mkinitrd)})
  ]
)