(command.AndOr
  ops: [Id.Op_DAmp]
  children: [
    (command.ShFunction
      name: _sshfs
      body: 
        (BraceGroup
          children: [
            (C {<local>} {<cur>} {<prev>} {<words>} {<cword>})
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {<_init_completion>} {<-n>} {<Id.Lit_Colon ':'>})
                (command.ControlFlow token:<Id.ControlFlow_Return return>)
              ]
            )
            (C {<local>} {<userhost>} {<path>})
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {<_expand>})
                (command.ControlFlow
                  token: <Id.ControlFlow_Return return>
                  arg_word: {<0>}
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              expr: 
                                (bool_expr.Binary
                                  op_id: Id.BoolBinary_GlobDEqual
                                  left: {(DQ ($ Id.VSub_DollarName '$cur'))}
                                  right: {<Id.Lit_Other '*'> <Id.Lit_Colon ':'> <Id.Lit_Other '*'>}
                                )
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (C {<_xfunc>} {<ssh>} {<_scp_remote_files>} {<-d>})
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:COMPREPLY)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (sh_array_literal
                                left: <Id.Op_LParen _>
                                words: [
                                  {
                                    (DQ 
                                      (braced_var_sub
                                        token: <Id.VSub_Name COMPREPLY>
                                        bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                        suffix_op: 
                                          (suffix_op.PatSub
                                            pat: 
                                              {
                                                (word_part.EscapedLiteral
                                                  token: <Id.Lit_EscapedChar '\\\\'>
                                                ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>) 
                                                (word_part.EscapedLiteral
                                                  token: <Id.Lit_EscapedChar '\\\\'>
                                                )
                                              }
                                            replace: 
                                              {
                                                (word_part.EscapedLiteral
                                                  token: <Id.Lit_EscapedChar '\\\\'>
                                                )
                                              }
                                            replace_mode: Id.Lit_Slash
                                          )
                                      )
                                    )
                                  }
                                ]
                              )
                            }
                          spids: [85]
                        )
                      ]
                    )
                    (command.ControlFlow
                      token: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [52 69]
                )
              ]
            )
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (command.DBracket
                  expr: 
                    (bool_expr.Binary
                      op_id: Id.BoolBinary_GlobDEqual
                      left: {(DQ ($ Id.VSub_DollarName '$cur'))}
                      right: 
                        {
                          (word_part.ExtGlob
                            op: <Id.ExtGlob_At '@('>
                            arms: [{<Id.Lit_Other '*'> <'/'>} {<'[.~]'>}]
                          ) <Id.Lit_Other '*'>
                        }
                    )
                )
                (C {<_known_hosts_real>} {<-c>} {<-a>} {(DQ ($ Id.VSub_DollarName '$cur'))})
              ]
            )
            (C {<_xfunc>} {<ssh>} {<_scp_local_files>} {<-d>})
            (command.ControlFlow token:<Id.ControlFlow_Return return> arg_word:{<0>})
          ]
        )
    )
    (C {<complete>} {<-F>} {<_sshfs>} {<-o>} {<nospace>} {<sshfs>})
  ]
)