; LLVM IR from PaulBatchelor/sndkit :: lil (lil)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct._lil_func_t = type { ptr, ptr, ptr, ptr }
%struct._lil_t = type { ptr, ptr, i64, i64, i32, ptr, i64, i64, %struct._hashmap_t, ptr, i32, ptr, ptr, ptr, ptr, ptr, i32, i64, ptr, [8 x ptr], i64, ptr, ptr, i64 }
%struct._hashmap_t = type { [256 x %struct.hashcell_t] }
%struct.hashcell_t = type { ptr, i64 }
%struct._lil_env_t = type { ptr, ptr, ptr, ptr, i64, %struct._hashmap_t, ptr, i32, i32 }
%struct._lil_list_t = type { ptr, i64, i64 }

@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_clone_value(ptr noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind uwtable
declare dso_local void @lil_free_value(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_alloc_list() #0

; Function Attrs: nounwind uwtable
declare dso_local void @lil_free_list(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @lil_list_append(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_list_to_value(ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_to_string(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_set_var(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_push_env(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @lil_pop_env(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden ptr @find_cmd(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_parse_value(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local ptr @lil_call(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = call ptr @find_cmd(ptr noundef %14, ptr noundef %15)
  store ptr %16, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store ptr null, ptr %10, align 8, !tbaa !5
  %17 = load ptr, ptr %9, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %125

19:                                               ; preds = %4
  %20 = load ptr, ptr %9, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._lil_func_t, ptr %20, i32 0, i32 3
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %32

24:                                               ; preds = %19
  %25 = load ptr, ptr %9, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._lil_func_t, ptr %25, i32 0, i32 3
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = load i64, ptr %7, align 8, !tbaa !9
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = call ptr %27(ptr noundef %28, i64 noundef %29, ptr noundef %30)
  store ptr %31, ptr %10, align 8, !tbaa !5
  br label %124

32:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = call ptr @lil_push_env(ptr noundef %33)
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._lil_t, ptr %36, i32 0, i32 12
  %38 = load ptr, ptr %37, align 8, !tbaa !13
  %39 = getelementptr inbounds %struct._lil_env_t, ptr %38, i32 0, i32 1
  store ptr %35, ptr %39, align 8, !tbaa !17
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct._lil_func_t, ptr %40, i32 0, i32 2
  %42 = load ptr, ptr %41, align 8, !tbaa !19
  %43 = getelementptr inbounds %struct._lil_list_t, ptr %42, i32 0, i32 1
  %44 = load i64, ptr %43, align 8, !tbaa !20
  %45 = icmp eq i64 %44, 1
  br i1 %45, label %46, label %81

46:                                               ; preds = %32
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._lil_func_t, ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !19
  %50 = getelementptr inbounds %struct._lil_list_t, ptr %49, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !22
  %52 = getelementptr inbounds ptr, ptr %51, i64 0
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  %54 = call ptr @lil_to_string(ptr noundef %53)
  %55 = call i32 @strcmp(ptr noundef %54, ptr noundef @.str.3) #4
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %81, label %57

57:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %58 = call ptr @lil_alloc_list()
  store ptr %58, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %59

59:                                               ; preds = %70, %57
  %60 = load i64, ptr %11, align 8, !tbaa !9
  %61 = load i64, ptr %7, align 8, !tbaa !9
  %62 = icmp ult i64 %60, %61
  br i1 %62, label %63, label %73

63:                                               ; preds = %59
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = load i64, ptr %11, align 8, !tbaa !9
  %67 = getelementptr inbounds ptr, ptr %65, i64 %66
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = call ptr @lil_clone_value(ptr noundef %68)
  call void @lil_list_append(ptr noundef %64, ptr noundef %69)
  br label %70

70:                                               ; preds = %63
  %71 = load i64, ptr %11, align 8, !tbaa !9
  %72 = add i64 %71, 1
  store i64 %72, ptr %11, align 8, !tbaa !9
  br label %59, !llvm.loop !23

73:                                               ; preds = %59
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = call ptr @lil_list_to_value(ptr noundef %74, i32 noundef 0)
  store ptr %75, ptr %13, align 8, !tbaa !5
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = call ptr @lil_set_var(ptr noundef %76, ptr noundef @.str.3, ptr noundef %77, i32 noundef 2)
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  call void @lil_free_value(ptr noundef %79)
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  call void @lil_free_list(ptr noundef %80)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %117

81:                                               ; preds = %46, %32
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %113, %81
  %83 = load i64, ptr %11, align 8, !tbaa !9
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct._lil_func_t, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !19
  %87 = getelementptr inbounds %struct._lil_list_t, ptr %86, i32 0, i32 1
  %88 = load i64, ptr %87, align 8, !tbaa !20
  %89 = icmp ult i64 %83, %88
  br i1 %89, label %90, label %116

90:                                               ; preds = %82
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._lil_func_t, ptr %92, i32 0, i32 2
  %94 = load ptr, ptr %93, align 8, !tbaa !19
  %95 = getelementptr inbounds %struct._lil_list_t, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !22
  %97 = load i64, ptr %11, align 8, !tbaa !9
  %98 = getelementptr inbounds ptr, ptr %96, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  %100 = call ptr @lil_to_string(ptr noundef %99)
  %101 = load i64, ptr %11, align 8, !tbaa !9
  %102 = load i64, ptr %7, align 8, !tbaa !9
  %103 = icmp ult i64 %101, %102
  br i1 %103, label %104, label %109

104:                                              ; preds = %90
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load i64, ptr %11, align 8, !tbaa !9
  %107 = getelementptr inbounds ptr, ptr %105, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  br label %110

109:                                              ; preds = %90
  br label %110

110:                                              ; preds = %109, %104
  %111 = phi ptr [ %108, %104 ], [ null, %109 ]
  %112 = call ptr @lil_set_var(ptr noundef %91, ptr noundef %100, ptr noundef %111, i32 noundef 2)
  br label %113

113:                                              ; preds = %110
  %114 = load i64, ptr %11, align 8, !tbaa !9
  %115 = add i64 %114, 1
  store i64 %115, ptr %11, align 8, !tbaa !9
  br label %82, !llvm.loop !25

116:                                              ; preds = %82
  br label %117

117:                                              ; preds = %116, %73
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct._lil_func_t, ptr %119, i32 0, i32 1
  %121 = load ptr, ptr %120, align 8, !tbaa !26
  %122 = call ptr @lil_parse_value(ptr noundef %118, ptr noundef %121, i32 noundef 1)
  store ptr %122, ptr %10, align 8, !tbaa !5
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  call void @lil_pop_env(ptr noundef %123)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %124

124:                                              ; preds = %117, %24
  br label %125

125:                                              ; preds = %124, %4
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret ptr %126
}

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"_lil_func_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!13 = !{!14, !6, i64 4184}
!14 = !{!"_lil_t", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !15, i64 32, !6, i64 40, !10, i64 48, !10, i64 56, !16, i64 64, !6, i64 4160, !15, i64 4168, !6, i64 4176, !6, i64 4184, !6, i64 4192, !6, i64 4200, !6, i64 4208, !15, i64 4216, !10, i64 4224, !6, i64 4232, !7, i64 4240, !10, i64 4304, !6, i64 4312, !6, i64 4320, !10, i64 4328}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_hashmap_t", !7, i64 0}
!17 = !{!18, !6, i64 8}
!18 = !{!"_lil_env_t", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !16, i64 40, !6, i64 4136, !15, i64 4144, !15, i64 4148}
!19 = !{!12, !6, i64 16}
!20 = !{!21, !10, i64 8}
!21 = !{!"_lil_list_t", !6, i64 0, !10, i64 8, !10, i64 16}
!22 = !{!21, !6, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!12, !6, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_clone_value(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @lil_free_value(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_alloc_list() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @lil_free_list(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @lil_list_append(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_list_to_value(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_to_string(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_set_var(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_push_env(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @lil_pop_env(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden ptr @find_cmd(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @lil_parse_value(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local ptr @lil_call(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = tail call ptr @find_cmd(ptr noundef %0, ptr noundef %1)
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %57, label %6

6:                                                ; preds = %4
  %7 = getelementptr inbounds i8, ptr %5, i64 24
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %.not40 = icmp eq ptr %8, null
  br i1 %.not40, label %11, label %9

9:                                                ; preds = %6
  %10 = tail call ptr %8(ptr noundef %0, i64 noundef %2, ptr noundef %3) #2
  br label %57

11:                                               ; preds = %6
  %12 = tail call ptr @lil_push_env(ptr noundef %0)
  %13 = getelementptr inbounds i8, ptr %0, i64 4184
  %14 = load ptr, ptr %13, align 8, !tbaa !10
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %5, ptr %15, align 8, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %5, i64 16
  %17 = load ptr, ptr %16, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %17, i64 8
  %19 = load i64, ptr %18, align 8, !tbaa !18
  %20 = icmp eq i64 %19, 1
  br i1 %20, label %21, label %34

21:                                               ; preds = %11
  %22 = load ptr, ptr %17, align 8, !tbaa !20
  %23 = load ptr, ptr %22, align 8, !tbaa !21
  %24 = tail call ptr @lil_to_string(ptr noundef %23)
  %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull dereferenceable(1) @.str.3) #3
  %.not41 = icmp eq i32 %25, 0
  br i1 %.not41, label %26, label %._crit_edge47

._crit_edge47:                                    ; preds = %21
  %.pre = load ptr, ptr %16, align 8, !tbaa !17
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 8
  %.pre48 = load i64, ptr %.phi.trans.insert, align 8, !tbaa !18
  br label %34

26:                                               ; preds = %21
  %27 = tail call ptr @lil_alloc_list()
  %.not46 = icmp eq i64 %2, 0
  br i1 %.not46, label %._crit_edge, label %.lr.ph44

.lr.ph44:                                         ; preds = %26, %.lr.ph44
  %.03743 = phi i64 [ %31, %.lr.ph44 ], [ 0, %26 ]
  %28 = getelementptr inbounds ptr, ptr %3, i64 %.03743
  %29 = load ptr, ptr %28, align 8, !tbaa !21
  %30 = tail call ptr @lil_clone_value(ptr noundef %29)
  tail call void @lil_list_append(ptr noundef %27, ptr noundef %30)
  %31 = add nuw i64 %.03743, 1
  %exitcond.not = icmp eq i64 %31, %2
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph44, !llvm.loop !22

._crit_edge:                                      ; preds = %.lr.ph44, %26
  %32 = tail call ptr @lil_list_to_value(ptr noundef %27, i32 noundef 0)
  %33 = tail call ptr @lil_set_var(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef %32, i32 noundef 2)
  tail call void @lil_free_value(ptr noundef %32)
  tail call void @lil_free_list(ptr noundef %27)
  br label %.loopexit

34:                                               ; preds = %._crit_edge47, %11
  %35 = phi i64 [ %.pre48, %._crit_edge47 ], [ %19, %11 ]
  %36 = phi ptr [ %.pre, %._crit_edge47 ], [ %17, %11 ]
  %.not45 = icmp eq i64 %35, 0
  br i1 %.not45, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %34, %46
  %37 = phi ptr [ %50, %46 ], [ %36, %34 ]
  %.142 = phi i64 [ %49, %46 ], [ 0, %34 ]
  %38 = load ptr, ptr %37, align 8, !tbaa !20
  %39 = getelementptr inbounds ptr, ptr %38, i64 %.142
  %40 = load ptr, ptr %39, align 8, !tbaa !21
  %41 = tail call ptr @lil_to_string(ptr noundef %40)
  %42 = icmp ult i64 %.142, %2
  br i1 %42, label %43, label %46

43:                                               ; preds = %.lr.ph
  %44 = getelementptr inbounds ptr, ptr %3, i64 %.142
  %45 = load ptr, ptr %44, align 8, !tbaa !21
  br label %46

46:                                               ; preds = %.lr.ph, %43
  %47 = phi ptr [ %45, %43 ], [ null, %.lr.ph ]
  %48 = tail call ptr @lil_set_var(ptr noundef %0, ptr noundef %41, ptr noundef %47, i32 noundef 2)
  %49 = add nuw i64 %.142, 1
  %50 = load ptr, ptr %16, align 8, !tbaa !17
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = load i64, ptr %51, align 8, !tbaa !18
  %53 = icmp ult i64 %49, %52
  br i1 %53, label %.lr.ph, label %.loopexit, !llvm.loop !24

.loopexit:                                        ; preds = %46, %34, %._crit_edge
  %54 = getelementptr inbounds i8, ptr %5, i64 8
  %55 = load ptr, ptr %54, align 8, !tbaa !25
  %56 = tail call ptr @lil_parse_value(ptr noundef %0, ptr noundef %55, i32 noundef 1)
  tail call void @lil_pop_env(ptr noundef %0)
  br label %57

57:                                               ; preds = %9, %.loopexit, %4
  %.0 = phi ptr [ %10, %9 ], [ %56, %.loopexit ], [ null, %4 ]
  ret ptr %.0
}

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
attributes #3 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 24}
!6 = !{!"_lil_func_t", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 4184}
!11 = !{!"_lil_t", !7, i64 0, !7, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !7, i64 40, !12, i64 48, !12, i64 56, !14, i64 64, !7, i64 4160, !13, i64 4168, !7, i64 4176, !7, i64 4184, !7, i64 4192, !7, i64 4200, !7, i64 4208, !13, i64 4216, !12, i64 4224, !7, i64 4232, !8, i64 4240, !12, i64 4304, !7, i64 4312, !7, i64 4320, !12, i64 4328}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"_hashmap_t", !8, i64 0}
!15 = !{!16, !7, i64 8}
!16 = !{!"_lil_env_t", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !12, i64 32, !14, i64 40, !7, i64 4136, !13, i64 4144, !13, i64 4148}
!17 = !{!6, !7, i64 16}
!18 = !{!19, !12, i64 8}
!19 = !{!"_lil_list_t", !7, i64 0, !12, i64 8, !12, i64 16}
!20 = !{!19, !7, i64 0}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!6, !7, i64 8}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass