---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (5, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (5, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "hardware",
         position: (5, 16),
        },
        Raw {
         content: "xpadneo",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (8, 3),
        },
        Raw {
         content: "hardware",
         position: (8, 11),
        },
        Raw {
         content: "xpadneo",
         position: (8, 20),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (9, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (9, 14),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "the xpadneo driver for Xbox One wireless controllers",
              position: (9, 30),
             },
            ],
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (8, 30),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (12, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (12, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (12, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (12, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "boot",
              position: (13, 5),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "extraModprobeConfig",
                 position: (16, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "mkIf",
                position: (17, 9),
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (18, 11),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "hardware",
                    position: (18, 18),
                   },
                   Raw {
                    content: "bluetooth",
                    position: (18, 27),
                   },
                   Raw {
                    content: "enable",
                    position: (18, 37),
                   },
                  ],
                 },
                 default: None,
                },
                String {
                 parts: [
                  Raw {
                   content: "options bluetooth disable_ertm=1",
                   position: (19, 12),
                  },
                 ],
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "extraModulePackages",
                 position: (21, 7),
                },
               ],
              },
              With {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (21, 34),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "boot",
                   position: (21, 41),
                  },
                  Raw {
                   content: "kernelPackages",
                   position: (21, 46),
                  },
                 ],
                },
                default: None,
               },
               target: List {
                elements: [
                 Variable {
                  identifier: "xpadneo",
                  position: (21, 64),
                 },
                ],
                position: (21, 62),
               },
               position: (21, 29),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "kernelModules",
                 position: (22, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "hid_xpadneo",
                   position: (22, 26),
                  },
                 ],
                },
               ],
               position: (22, 23),
              },
             ),
            ],
            recursive: false,
            position: (13, 12),
           },
          ),
         ],
         recursive: false,
         position: (12, 28),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "meta",
         position: (26, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "maintainers",
            position: (27, 5),
           },
          ],
         },
         With {
          expression: Variable {
           identifier: "maintainers",
           position: (27, 24),
          },
          target: List {
           elements: [
            Variable {
             identifier: "kira-bruneau",
             position: (27, 39),
            },
           ],
           position: (27, 37),
          },
          position: (27, 19),
         },
        ),
       ],
       recursive: false,
       position: (26, 10),
      },
     ),
    ],
    recursive: false,
    position: (7, 1),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}