; LLVM IR from ryanlayer/giggle :: test/unit (test_lists)

; 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"

@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1

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

declare ptr @unordered_list_init(i32 noundef) #1

declare void @unordered_list_destroy(ptr noundef, ptr noundef) #1

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

declare i32 @unordered_list_add(ptr noundef, ptr noundef) #1

declare ptr @unordered_list_get(ptr noundef, i32 noundef) #1

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

declare void @unordered_list_store(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @fclose(ptr noundef) #1

declare ptr @unordered_list_load(ptr noundef, ptr noundef, ptr noundef) #1

declare void @free_wrapper(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @remove(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @test_unordered_list_store_load_c_str() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca [10 x ptr], align 16
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  %10 = call ptr @unordered_list_init(i32 noundef 5)
  store ptr %10, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr %2) #5
  %11 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 0
  %12 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %11, ptr noundef @.str.3) #5
  %13 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 1
  %14 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %13, ptr noundef @.str.4) #5
  %15 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 2
  %16 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %15, ptr noundef @.str.5) #5
  %17 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 3
  %18 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %17, ptr noundef @.str.6) #5
  %19 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 4
  %20 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %19, ptr noundef @.str.7) #5
  %21 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 5
  %22 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %21, ptr noundef @.str.8) #5
  %23 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 6
  %24 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %23, ptr noundef @.str.9) #5
  %25 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 7
  %26 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %25, ptr noundef @.str.10) #5
  %27 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 8
  %28 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %27, ptr noundef @.str.11) #5
  %29 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 9
  %30 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %29, ptr noundef @.str.12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %41, %0
  %32 = load i32, ptr %3, align 4, !tbaa !9
  %33 = icmp ult i32 %32, 10
  br i1 %33, label %34, label %44

34:                                               ; preds = %31
  %35 = load ptr, ptr %1, align 8, !tbaa !5
  %36 = load i32, ptr %3, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = call i32 @unordered_list_add(ptr noundef %35, ptr noundef %39)
  br label %41

41:                                               ; preds = %34
  %42 = load i32, ptr %3, align 4, !tbaa !9
  %43 = add i32 %42, 1
  store i32 %43, ptr %3, align 4, !tbaa !9
  br label %31, !llvm.loop !11

44:                                               ; preds = %31
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %62, %44
  %46 = load i32, ptr %3, align 4, !tbaa !9
  %47 = icmp ult i32 %46, 10
  br i1 %47, label %48, label %65

48:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %49 = load ptr, ptr %1, align 8, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !9
  %51 = call ptr @unordered_list_get(ptr noundef %49, i32 noundef %50)
  store ptr %51, ptr %4, align 8, !tbaa !5
  %52 = load i32, ptr %3, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds [10 x ptr], ptr %2, i64 0, i64 %53
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = call i32 @strcmp(ptr noundef %55, ptr noundef %56) #6
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %48
  br label %61

60:                                               ; preds = %48
  call void @UnityFail(ptr noundef @.str.13, i64 noundef 162)
  br label %61

61:                                               ; preds = %60, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %62

62:                                               ; preds = %61
  %63 = load i32, ptr %3, align 4, !tbaa !9
  %64 = add i32 %63, 1
  store i32 %64, ptr %3, align 4, !tbaa !9
  br label %45, !llvm.loop !13

65:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store ptr @.str.14, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = call noalias ptr @fopen(ptr noundef %66, ptr noundef @.str.1)
  store ptr %67, ptr %6, align 8, !tbaa !5
  %68 = load ptr, ptr %1, align 8, !tbaa !5
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  call void @unordered_list_store(ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef @c_str_store)
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = call i32 @fclose(ptr noundef %71)
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = call noalias ptr @fopen(ptr noundef %73, ptr noundef @.str.2)
  store ptr %74, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = call ptr @unordered_list_load(ptr noundef %75, ptr noundef %76, ptr noundef @c_str_load)
  store ptr %77, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %95, %65
  %79 = load i32, ptr %3, align 4, !tbaa !9
  %80 = icmp ult i32 %79, 10
  br i1 %80, label %81, label %98

81:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %82 = load ptr, ptr %1, align 8, !tbaa !5
  %83 = load i32, ptr %3, align 4, !tbaa !9
  %84 = call ptr @unordered_list_get(ptr noundef %82, i32 noundef %83)
  store ptr %84, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = load i32, ptr %3, align 4, !tbaa !9
  %87 = call ptr @unordered_list_get(ptr noundef %85, i32 noundef %86)
  store ptr %87, ptr %9, align 8, !tbaa !5
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = call i32 @strcmp(ptr noundef %88, ptr noundef %89) #6
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %81
  br label %94

93:                                               ; preds = %81
  call void @UnityFail(ptr noundef @.str.13, i64 noundef 181)
  br label %94

94:                                               ; preds = %93, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %3, align 4, !tbaa !9
  %97 = add i32 %96, 1
  store i32 %97, ptr %3, align 4, !tbaa !9
  br label %78, !llvm.loop !14

98:                                               ; preds = %78
  call void @unordered_list_destroy(ptr noundef %1, ptr noundef @free_wrapper)
  call void @unordered_list_destroy(ptr noundef %7, ptr noundef @free_wrapper)
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = call i32 @remove(ptr noundef %99) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) #2

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

declare void @UnityFail(ptr noundef, i64 noundef) #1

declare void @c_str_store(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @c_str_load(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 "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 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; 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.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1

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

declare ptr @unordered_list_init(i32 noundef) local_unnamed_addr #1

declare void @unordered_list_destroy(ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @unordered_list_add(ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @unordered_list_get(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

declare void @unordered_list_store(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

declare ptr @unordered_list_load(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @free_wrapper(ptr noundef) #1

; Function Attrs: nofree nounwind
declare noundef i32 @remove(ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @test_unordered_list_store_load_c_str() local_unnamed_addr #3 {
.preheader.preheader:
  %0 = alloca ptr, align 8
  %1 = alloca [10 x ptr], align 16
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #6
  %3 = tail call ptr @unordered_list_init(i32 noundef 5) #6
  store ptr %3, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %1) #6
  %4 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %1, ptr noundef nonnull @.str.3) #6
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  %6 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.4) #6
  %7 = getelementptr inbounds i8, ptr %1, i64 16
  %8 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.5) #6
  %9 = getelementptr inbounds i8, ptr %1, i64 24
  %10 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.6) #6
  %11 = getelementptr inbounds i8, ptr %1, i64 32
  %12 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.7) #6
  %13 = getelementptr inbounds i8, ptr %1, i64 40
  %14 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.8) #6
  %15 = getelementptr inbounds i8, ptr %1, i64 48
  %16 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str.9) #6
  %17 = getelementptr inbounds i8, ptr %1, i64 56
  %18 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str.10) #6
  %19 = getelementptr inbounds i8, ptr %1, i64 64
  %20 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str.11) #6
  %21 = getelementptr inbounds i8, ptr %1, i64 72
  %22 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str.12) #6
  %23 = load ptr, ptr %1, align 16, !tbaa !5
  %24 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %23) #6
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %25) #6
  %27 = load ptr, ptr %7, align 16, !tbaa !5
  %28 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %27) #6
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %29) #6
  %31 = load ptr, ptr %11, align 16, !tbaa !5
  %32 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %31) #6
  %33 = load ptr, ptr %13, align 8, !tbaa !5
  %34 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %33) #6
  %35 = load ptr, ptr %15, align 16, !tbaa !5
  %36 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %35) #6
  %37 = load ptr, ptr %17, align 8, !tbaa !5
  %38 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %37) #6
  %39 = load ptr, ptr %19, align 16, !tbaa !5
  %40 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %39) #6
  %41 = load ptr, ptr %21, align 8, !tbaa !5
  %42 = call i32 @unordered_list_add(ptr noundef %3, ptr noundef %41) #6
  %43 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 0) #6
  %44 = load ptr, ptr %1, align 16, !tbaa !5
  %45 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %43) #7
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %.preheader.1, label %47

47:                                               ; preds = %.preheader.preheader
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.preheader, %47
  %48 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 1) #6
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %49, ptr noundef nonnull dereferenceable(1) %48) #7
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %.preheader.2, label %52

52:                                               ; preds = %.preheader.1
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.2

.preheader.2:                                     ; preds = %52, %.preheader.1
  %53 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 2) #6
  %54 = load ptr, ptr %7, align 16, !tbaa !5
  %55 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %53) #7
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %.preheader.3, label %57

57:                                               ; preds = %.preheader.2
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.3

.preheader.3:                                     ; preds = %57, %.preheader.2
  %58 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 3) #6
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) %58) #7
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %.preheader.4, label %62

62:                                               ; preds = %.preheader.3
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.4

.preheader.4:                                     ; preds = %62, %.preheader.3
  %63 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 4) #6
  %64 = load ptr, ptr %11, align 16, !tbaa !5
  %65 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %64, ptr noundef nonnull dereferenceable(1) %63) #7
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %.preheader.5, label %67

67:                                               ; preds = %.preheader.4
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.5

.preheader.5:                                     ; preds = %67, %.preheader.4
  %68 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 5) #6
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %69, ptr noundef nonnull dereferenceable(1) %68) #7
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %.preheader.6, label %72

72:                                               ; preds = %.preheader.5
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.6

.preheader.6:                                     ; preds = %72, %.preheader.5
  %73 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 6) #6
  %74 = load ptr, ptr %15, align 16, !tbaa !5
  %75 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %74, ptr noundef nonnull dereferenceable(1) %73) #7
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %.preheader.7, label %77

77:                                               ; preds = %.preheader.6
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.7

.preheader.7:                                     ; preds = %77, %.preheader.6
  %78 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 7) #6
  %79 = load ptr, ptr %17, align 8, !tbaa !5
  %80 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %79, ptr noundef nonnull dereferenceable(1) %78) #7
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %.preheader.8, label %82

82:                                               ; preds = %.preheader.7
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.8

.preheader.8:                                     ; preds = %82, %.preheader.7
  %83 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 8) #6
  %84 = load ptr, ptr %19, align 16, !tbaa !5
  %85 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %84, ptr noundef nonnull dereferenceable(1) %83) #7
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %.preheader.9, label %87

87:                                               ; preds = %.preheader.8
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %.preheader.9

.preheader.9:                                     ; preds = %87, %.preheader.8
  %88 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 9) #6
  %89 = load ptr, ptr %21, align 8, !tbaa !5
  %90 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %89, ptr noundef nonnull dereferenceable(1) %88) #7
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %93, label %92

92:                                               ; preds = %.preheader.9
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 162) #6
  br label %93

93:                                               ; preds = %92, %.preheader.9
  %94 = call noalias ptr @fopen(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1)
  call void @unordered_list_store(ptr noundef %3, ptr noundef %94, ptr noundef nonnull @.str.14, ptr noundef nonnull @c_str_store) #6
  %95 = call i32 @fclose(ptr noundef %94)
  %96 = call noalias ptr @fopen(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %97 = call ptr @unordered_list_load(ptr noundef %96, ptr noundef nonnull @.str.14, ptr noundef nonnull @c_str_load) #6
  store ptr %97, ptr %2, align 8, !tbaa !5
  %98 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 0) #6
  %99 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 0) #6
  %100 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %98, ptr noundef nonnull dereferenceable(1) %99) #7
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %103, label %102

102:                                              ; preds = %93
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %103

103:                                              ; preds = %93, %102
  %104 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 1) #6
  %105 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 1) #6
  %106 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %104, ptr noundef nonnull dereferenceable(1) %105) #7
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %109, label %108

108:                                              ; preds = %103
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %109

109:                                              ; preds = %108, %103
  %110 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 2) #6
  %111 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 2) #6
  %112 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %110, ptr noundef nonnull dereferenceable(1) %111) #7
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %115, label %114

114:                                              ; preds = %109
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %115

115:                                              ; preds = %114, %109
  %116 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 3) #6
  %117 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 3) #6
  %118 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %116, ptr noundef nonnull dereferenceable(1) %117) #7
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %121, label %120

120:                                              ; preds = %115
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %121

121:                                              ; preds = %120, %115
  %122 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 4) #6
  %123 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 4) #6
  %124 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %122, ptr noundef nonnull dereferenceable(1) %123) #7
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %127, label %126

126:                                              ; preds = %121
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %127

127:                                              ; preds = %126, %121
  %128 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 5) #6
  %129 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 5) #6
  %130 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %128, ptr noundef nonnull dereferenceable(1) %129) #7
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %133, label %132

132:                                              ; preds = %127
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %133

133:                                              ; preds = %132, %127
  %134 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 6) #6
  %135 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 6) #6
  %136 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %134, ptr noundef nonnull dereferenceable(1) %135) #7
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %139, label %138

138:                                              ; preds = %133
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %139

139:                                              ; preds = %138, %133
  %140 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 7) #6
  %141 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 7) #6
  %142 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %140, ptr noundef nonnull dereferenceable(1) %141) #7
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %145, label %144

144:                                              ; preds = %139
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %145

145:                                              ; preds = %144, %139
  %146 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 8) #6
  %147 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 8) #6
  %148 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %146, ptr noundef nonnull dereferenceable(1) %147) #7
  %149 = icmp eq i32 %148, 0
  br i1 %149, label %151, label %150

150:                                              ; preds = %145
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %151

151:                                              ; preds = %150, %145
  %152 = call ptr @unordered_list_get(ptr noundef %3, i32 noundef 9) #6
  %153 = call ptr @unordered_list_get(ptr noundef %97, i32 noundef 9) #6
  %154 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %152, ptr noundef nonnull dereferenceable(1) %153) #7
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %157, label %156

156:                                              ; preds = %151
  call void @UnityFail(ptr noundef nonnull @.str.13, i64 noundef 181) #6
  br label %157

157:                                              ; preds = %156, %151
  call void @unordered_list_destroy(ptr noundef nonnull %0, ptr noundef nonnull @free_wrapper) #6
  call void @unordered_list_destroy(ptr noundef nonnull %2, ptr noundef nonnull @free_wrapper) #6
  %158 = call i32 @remove(ptr noundef nonnull @.str.14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #6
  ret void
}

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #4

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

declare void @UnityFail(ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @c_str_store(ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @c_str_load(ptr noundef, ptr noundef) #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nofree nounwind "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 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 #4 = { nounwind "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 #5 = { 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 #6 = { nounwind }
attributes #7 = { 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"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass