Function(
 Function {
  head: Destructured(
   FunctionHeadDestructured {
    ellipsis: true,
    identifier: None,
    arguments: [
     FunctionHeadDestructuredArgument {
      identifier: "config",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "lib",
      default: None,
     },
     FunctionHeadDestructuredArgument {
      identifier: "pkgs",
      default: None,
     },
    ],
   },
  ),
  body: LetIn(
   LetIn {
    bindings: [
     KeyValue(
      BindingKeyValue {
       from: [
        Raw(
         PartRaw {
          content: "apparmor",
          span: Span {
           start: Position {
            line: 2,
            column: 5,
           },
           end: Position {
            line: 2,
            column: 13,
           },
          },
         },
        ),
       ],
       to: PropertyAccess(
        PropertyAccess {
         expression: Identifier(
          Identifier {
           id: "config",
           span: Span {
            start: Position {
             line: 2,
             column: 16,
            },
            end: Position {
             line: 2,
             column: 22,
            },
           },
          },
         ),
         attribute_path: [
          Raw(
           PartRaw {
            content: "security",
            span: Span {
             start: Position {
              line: 2,
              column: 23,
             },
             end: Position {
              line: 2,
              column: 31,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "apparmor",
            span: Span {
             start: Position {
              line: 2,
              column: 32,
             },
             end: Position {
              line: 2,
              column: 40,
             },
            },
           },
          ),
         ],
         default: None,
        },
       ),
      },
     ),
    ],
    target: Map(
     Map {
      recursive: false,
      bindings: [
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "config",
            span: Span {
             start: Position {
              line: 4,
              column: 1,
             },
             end: Position {
              line: 4,
              column: 7,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "security",
            span: Span {
             start: Position {
              line: 4,
              column: 8,
             },
             end: Position {
              line: 4,
              column: 16,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "apparmor",
            span: Span {
             start: Position {
              line: 4,
              column: 17,
             },
             end: Position {
              line: 4,
              column: 25,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "packages",
            span: Span {
             start: Position {
              line: 4,
              column: 26,
             },
             end: Position {
              line: 4,
              column: 34,
             },
            },
           },
          ),
         ],
         to: List(
          List {
           elements: [
            PropertyAccess(
             PropertyAccess {
              expression: Identifier(
               Identifier {
                id: "pkgs",
                span: Span {
                 start: Position {
                  line: 4,
                  column: 39,
                 },
                 end: Position {
                  line: 4,
                  column: 43,
                 },
                },
               },
              ),
              attribute_path: [
               Raw(
                PartRaw {
                 content: "apparmor-profiles",
                 span: Span {
                  start: Position {
                   line: 4,
                   column: 44,
                  },
                  end: Position {
                   line: 4,
                   column: 61,
                  },
                 },
                },
               ),
              ],
              default: None,
             },
            ),
           ],
           span: Span {
            start: Position {
             line: 4,
             column: 37,
            },
            end: Position {
             line: 4,
             column: 63,
            },
           },
          },
         ),
        },
       ),
       KeyValue(
        BindingKeyValue {
         from: [
          Raw(
           PartRaw {
            content: "config",
            span: Span {
             start: Position {
              line: 5,
              column: 1,
             },
             end: Position {
              line: 5,
              column: 7,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "security",
            span: Span {
             start: Position {
              line: 5,
              column: 8,
             },
             end: Position {
              line: 5,
              column: 16,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "apparmor",
            span: Span {
             start: Position {
              line: 5,
              column: 17,
             },
             end: Position {
              line: 5,
              column: 25,
             },
            },
           },
          ),
          Raw(
           PartRaw {
            content: "policies",
            span: Span {
             start: Position {
              line: 5,
              column: 26,
             },
             end: Position {
              line: 5,
              column: 34,
             },
            },
           },
          ),
          Expression(
           PartExpression {
            expression: String(
             String_ {
              parts: [
               Raw(
                PartRaw {
                 content: "bin.ping",
                 span: Span {
                  start: Position {
                   line: 5,
                   column: 36,
                  },
                  end: Position {
                   line: 5,
                   column: 44,
                  },
                 },
                },
               ),
              ],
              span: Span {
               start: Position {
                line: 5,
                column: 35,
               },
               end: Position {
                line: 5,
                column: 45,
               },
              },
             },
            ),
           },
          ),
          Raw(
           PartRaw {
            content: "profile",
            span: Span {
             start: Position {
              line: 5,
              column: 46,
             },
             end: Position {
              line: 5,
              column: 53,
             },
            },
           },
          ),
         ],
         to: FunctionApplication(
          FunctionApplication {
           function: PropertyAccess(
            PropertyAccess {
             expression: Identifier(
              Identifier {
               id: "lib",
               span: Span {
                start: Position {
                 line: 5,
                 column: 56,
                },
                end: Position {
                 line: 5,
                 column: 59,
                },
               },
              },
             ),
             attribute_path: [
              Raw(
               PartRaw {
                content: "mkIf",
                span: Span {
                 start: Position {
                  line: 5,
                  column: 60,
                 },
                 end: Position {
                  line: 5,
                  column: 64,
                 },
                },
               },
              ),
             ],
             default: None,
            },
           ),
           arguments: [
            PropertyAccess(
             PropertyAccess {
              expression: Identifier(
               Identifier {
                id: "apparmor",
                span: Span {
                 start: Position {
                  line: 5,
                  column: 65,
                 },
                 end: Position {
                  line: 5,
                  column: 73,
                 },
                },
               },
              ),
              attribute_path: [
               Raw(
                PartRaw {
                 content: "policies",
                 span: Span {
                  start: Position {
                   line: 5,
                   column: 74,
                  },
                  end: Position {
                   line: 5,
                   column: 82,
                  },
                 },
                },
               ),
               Expression(
                PartExpression {
                 expression: String(
                  String_ {
                   parts: [
                    Raw(
                     PartRaw {
                      content: "bin.ping",
                      span: Span {
                       start: Position {
                        line: 5,
                        column: 84,
                       },
                       end: Position {
                        line: 5,
                        column: 92,
                       },
                      },
                     },
                    ),
                   ],
                   span: Span {
                    start: Position {
                     line: 5,
                     column: 83,
                    },
                    end: Position {
                     line: 5,
                     column: 93,
                    },
                   },
                  },
                 ),
                },
               ),
               Raw(
                PartRaw {
                 content: "enable",
                 span: Span {
                  start: Position {
                   line: 5,
                   column: 94,
                  },
                  end: Position {
                   line: 5,
                   column: 100,
                  },
                 },
                },
               ),
              ],
              default: None,
             },
            ),
            IndentedString(
             IndentedString {
              parts: [
               Raw(
                PartRaw {
                 content: "include \"",
                 span: Span {
                  start: Position {
                   line: 6,
                   column: 1,
                  },
                  end: Position {
                   line: 6,
                   column: 12,
                  },
                 },
                },
               ),
               Interpolation(
                PartInterpolation {
                 expression: PropertyAccess(
                  PropertyAccess {
                   expression: Identifier(
                    Identifier {
                     id: "pkgs",
                     span: Span {
                      start: Position {
                       line: 6,
                       column: 14,
                      },
                      end: Position {
                       line: 6,
                       column: 18,
                      },
                     },
                    },
                   ),
                   attribute_path: [
                    Raw(
                     PartRaw {
                      content: "iputils",
                      span: Span {
                       start: Position {
                        line: 6,
                        column: 19,
                       },
                       end: Position {
                        line: 6,
                        column: 26,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "apparmor",
                      span: Span {
                       start: Position {
                        line: 6,
                        column: 27,
                       },
                       end: Position {
                        line: 6,
                        column: 35,
                       },
                      },
                     },
                    ),
                   ],
                   default: None,
                  },
                 ),
                },
               ),
               Raw(
                PartRaw {
                 content: "/bin.ping\"\ninclude \"",
                 span: Span {
                  start: Position {
                   line: 6,
                   column: 1,
                  },
                  end: Position {
                   line: 7,
                   column: 12,
                  },
                 },
                },
               ),
               Interpolation(
                PartInterpolation {
                 expression: PropertyAccess(
                  PropertyAccess {
                   expression: Identifier(
                    Identifier {
                     id: "pkgs",
                     span: Span {
                      start: Position {
                       line: 7,
                       column: 14,
                      },
                      end: Position {
                       line: 7,
                       column: 18,
                      },
                     },
                    },
                   ),
                   attribute_path: [
                    Raw(
                     PartRaw {
                      content: "inetutils",
                      span: Span {
                       start: Position {
                        line: 7,
                        column: 19,
                       },
                       end: Position {
                        line: 7,
                        column: 28,
                       },
                      },
                     },
                    ),
                    Raw(
                     PartRaw {
                      content: "apparmor",
                      span: Span {
                       start: Position {
                        line: 7,
                        column: 29,
                       },
                       end: Position {
                        line: 7,
                        column: 37,
                       },
                      },
                     },
                    ),
                   ],
                   default: None,
                  },
                 ),
                },
               ),
               Raw(
                PartRaw {
                 content: "/bin.ping\"\n# Note that including those two profiles in the same profile\n# would not work if the second one were to re-include <tunables/global>.\n",
                 span: Span {
                  start: Position {
                   line: 6,
                   column: 1,
                  },
                  end: Position {
                   line: 10,
                   column: 1,
                  },
                 },
                },
               ),
              ],
              span: Span {
               start: Position {
                line: 5,
                column: 101,
               },
               end: Position {
                line: 10,
                column: 3,
               },
              },
             },
            ),
           ],
          },
         ),
        },
       ),
      ],
      span: Span {
       start: Position {
        line: 3,
        column: 1,
       },
       end: Position {
        line: 11,
        column: 2,
       },
      },
     },
    ),
    span: Span {
     start: Position {
      line: 2,
      column: 1,
     },
     end: Position {
      line: 11,
      column: 2,
     },
    },
   },
  ),
  span: Span {
   start: Position {
    line: 1,
    column: 1,
   },
   end: Position {
    line: 11,
    column: 2,
   },
  },
 },
)