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

%struct.unordered_list = type { ptr, i32, i32 }

; 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 @UnityAssertEqualNumber(i64 noundef, i64 noundef, ptr noundef, i64 noundef, 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

; Function Attrs: nounwind uwtable
define dso_local void @test_unordered_list_add() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca [20 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #3
  %4 = call ptr @unordered_list_init(i32 noundef 10)
  store ptr %4, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 80, ptr %3) #3
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %5

5:                                                ; preds = %15, %0
  %6 = load i32, ptr %2, align 4, !tbaa !9
  %7 = icmp slt i32 %6, 20
  br i1 %7, label %8, label %18

8:                                                ; preds = %5
  %9 = load i32, ptr %2, align 4, !tbaa !9
  %10 = add nsw i32 %9, 1
  %11 = mul nsw i32 %10, 2
  %12 = load i32, ptr %2, align 4, !tbaa !9
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %13
  store i32 %11, ptr %14, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %8
  %16 = load i32, ptr %2, align 4, !tbaa !9
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %2, align 4, !tbaa !9
  br label %5, !llvm.loop !11

18:                                               ; preds = %5
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %56, %18
  %20 = load i32, ptr %2, align 4, !tbaa !9
  %21 = icmp slt i32 %20, 9
  br i1 %21, label %22, label %59

22:                                               ; preds = %19
  %23 = load i32, ptr %2, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = load ptr, ptr %1, align 8, !tbaa !5
  %26 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
  %27 = load i32, ptr %2, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds i32, ptr %26, i64 %28
  %30 = call i32 @unordered_list_add(ptr noundef %25, ptr noundef %29)
  %31 = zext i32 %30 to i64
  call void @UnityAssertEqualNumber(i64 noundef %24, i64 noundef %31, ptr noundef null, i64 noundef 44, i32 noundef 148)
  %32 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
  %33 = load i32, ptr %2, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds i32, ptr %32, i64 %34
  %36 = ptrtoint ptr %35 to i64
  %37 = load ptr, ptr %1, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.unordered_list, ptr %37, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !13
  %40 = load i32, ptr %2, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds ptr, ptr %39, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = ptrtoint ptr %43 to i64
  call void @UnityAssertEqualNumber(i64 noundef %36, i64 noundef %44, ptr noundef null, i64 noundef 45, i32 noundef 148)
  %45 = load i32, ptr %2, align 4, !tbaa !9
  %46 = add nsw i32 %45, 1
  %47 = sext i32 %46 to i64
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.unordered_list, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 8, !tbaa !15
  %51 = zext i32 %50 to i64
  call void @UnityAssertEqualNumber(i64 noundef %47, i64 noundef %51, ptr noundef null, i64 noundef 46, i32 noundef 148)
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.unordered_list, ptr %52, i32 0, i32 2
  %54 = load i32, ptr %53, align 4, !tbaa !16
  %55 = zext i32 %54 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %55, ptr noundef null, i64 noundef 47, i32 noundef 148)
  br label %56

56:                                               ; preds = %22
  %57 = load i32, ptr %2, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %2, align 4, !tbaa !9
  br label %19, !llvm.loop !17

59:                                               ; preds = %19
  br label %60

60:                                               ; preds = %97, %59
  %61 = load i32, ptr %2, align 4, !tbaa !9
  %62 = icmp slt i32 %61, 19
  br i1 %62, label %63, label %100

63:                                               ; preds = %60
  %64 = load i32, ptr %2, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = load ptr, ptr %1, align 8, !tbaa !5
  %67 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
  %68 = load i32, ptr %2, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %67, i64 %69
  %71 = call i32 @unordered_list_add(ptr noundef %66, ptr noundef %70)
  %72 = zext i32 %71 to i64
  call void @UnityAssertEqualNumber(i64 noundef %65, i64 noundef %72, ptr noundef null, i64 noundef 50, i32 noundef 148)
  %73 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0
  %74 = load i32, ptr %2, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds i32, ptr %73, i64 %75
  %77 = ptrtoint ptr %76 to i64
  %78 = load ptr, ptr %1, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.unordered_list, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !13
  %81 = load i32, ptr %2, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds ptr, ptr %80, i64 %82
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = ptrtoint ptr %84 to i64
  call void @UnityAssertEqualNumber(i64 noundef %77, i64 noundef %85, ptr noundef null, i64 noundef 51, i32 noundef 148)
  %86 = load i32, ptr %2, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  %88 = sext i32 %87 to i64
  %89 = load ptr, ptr %1, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.unordered_list, ptr %89, i32 0, i32 1
  %91 = load i32, ptr %90, align 8, !tbaa !15
  %92 = zext i32 %91 to i64
  call void @UnityAssertEqualNumber(i64 noundef %88, i64 noundef %92, ptr noundef null, i64 noundef 52, i32 noundef 148)
  %93 = load ptr, ptr %1, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.unordered_list, ptr %93, i32 0, i32 2
  %95 = load i32, ptr %94, align 4, !tbaa !16
  %96 = zext i32 %95 to i64
  call void @UnityAssertEqualNumber(i64 noundef 20, i64 noundef %96, ptr noundef null, i64 noundef 53, i32 noundef 148)
  br label %97

97:                                               ; preds = %63
  %98 = load i32, ptr %2, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %2, align 4, !tbaa !9
  br label %60, !llvm.loop !18

100:                                              ; preds = %60
  call void @unordered_list_destroy(ptr noundef %1, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 80, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  ret void
}

declare i32 @unordered_list_add(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 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 #3 = { nounwind }

!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 = !{!14, !6, i64 0}
!14 = !{!"unordered_list", !6, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!14, !10, i64 8}
!16 = !{!14, !10, i64 12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !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"

; 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 @UnityAssertEqualNumber(i64 noundef, i64 noundef, ptr noundef, i64 noundef, 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

; Function Attrs: nounwind uwtable
define dso_local void @test_unordered_list_add() local_unnamed_addr #2 {
.preheader18.preheader:
  %0 = alloca ptr, align 8
  %1 = alloca [20 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #3
  %2 = tail call ptr @unordered_list_init(i32 noundef 10) #3
  store ptr %2, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %1) #3
  store <4 x i32> <i32 2, i32 4, i32 6, i32 8>, ptr %1, align 16, !tbaa !9
  %3 = getelementptr inbounds i8, ptr %1, i64 16
  store <4 x i32> <i32 10, i32 12, i32 14, i32 16>, ptr %3, align 16, !tbaa !9
  %4 = getelementptr inbounds i8, ptr %1, i64 32
  store <4 x i32> <i32 18, i32 20, i32 22, i32 24>, ptr %4, align 16, !tbaa !9
  %5 = getelementptr inbounds i8, ptr %1, i64 48
  store <4 x i32> <i32 26, i32 28, i32 30, i32 32>, ptr %5, align 16, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %1, i64 64
  store <4 x i32> <i32 34, i32 36, i32 38, i32 40>, ptr %6, align 16, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %2, i64 12
  %8 = getelementptr inbounds i8, ptr %2, i64 8
  %9 = call i32 @unordered_list_add(ptr noundef %2, ptr noundef nonnull %1) #3
  %10 = zext i32 %9 to i64
  call void @UnityAssertEqualNumber(i64 noundef 0, i64 noundef %10, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %11 = ptrtoint ptr %1 to i64
  %12 = load ptr, ptr %2, align 8, !tbaa !11
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = ptrtoint ptr %13 to i64
  call void @UnityAssertEqualNumber(i64 noundef %11, i64 noundef %14, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %15 = load i32, ptr %8, align 8, !tbaa !13
  %16 = zext i32 %15 to i64
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %16, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %17 = load i32, ptr %7, align 4, !tbaa !14
  %18 = zext i32 %17 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %18, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %19 = getelementptr inbounds i8, ptr %1, i64 4
  %20 = call i32 @unordered_list_add(ptr noundef %2, ptr noundef nonnull %19) #3
  %21 = zext i32 %20 to i64
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %21, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %22 = ptrtoint ptr %19 to i64
  %23 = load ptr, ptr %2, align 8, !tbaa !11
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = ptrtoint ptr %25 to i64
  call void @UnityAssertEqualNumber(i64 noundef %22, i64 noundef %26, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %27 = load i32, ptr %8, align 8, !tbaa !13
  %28 = zext i32 %27 to i64
  call void @UnityAssertEqualNumber(i64 noundef 2, i64 noundef %28, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %29 = load i32, ptr %7, align 4, !tbaa !14
  %30 = zext i32 %29 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %30, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %31 = getelementptr inbounds i8, ptr %1, i64 8
  %32 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %31) #3
  %33 = zext i32 %32 to i64
  call void @UnityAssertEqualNumber(i64 noundef 2, i64 noundef %33, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %34 = ptrtoint ptr %31 to i64
  %35 = load ptr, ptr %2, align 8, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = ptrtoint ptr %37 to i64
  call void @UnityAssertEqualNumber(i64 noundef %34, i64 noundef %38, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %39 = load i32, ptr %8, align 8, !tbaa !13
  %40 = zext i32 %39 to i64
  call void @UnityAssertEqualNumber(i64 noundef 3, i64 noundef %40, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %41 = load i32, ptr %7, align 4, !tbaa !14
  %42 = zext i32 %41 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %42, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %43 = getelementptr inbounds i8, ptr %1, i64 12
  %44 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %43) #3
  %45 = zext i32 %44 to i64
  call void @UnityAssertEqualNumber(i64 noundef 3, i64 noundef %45, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %46 = ptrtoint ptr %43 to i64
  %47 = load ptr, ptr %2, align 8, !tbaa !11
  %48 = getelementptr inbounds i8, ptr %47, i64 24
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = ptrtoint ptr %49 to i64
  call void @UnityAssertEqualNumber(i64 noundef %46, i64 noundef %50, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %51 = load i32, ptr %8, align 8, !tbaa !13
  %52 = zext i32 %51 to i64
  call void @UnityAssertEqualNumber(i64 noundef 4, i64 noundef %52, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %53 = load i32, ptr %7, align 4, !tbaa !14
  %54 = zext i32 %53 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %54, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %55 = getelementptr inbounds i8, ptr %1, i64 16
  %56 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %55) #3
  %57 = zext i32 %56 to i64
  call void @UnityAssertEqualNumber(i64 noundef 4, i64 noundef %57, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %58 = ptrtoint ptr %55 to i64
  %59 = load ptr, ptr %2, align 8, !tbaa !11
  %60 = getelementptr inbounds i8, ptr %59, i64 32
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = ptrtoint ptr %61 to i64
  call void @UnityAssertEqualNumber(i64 noundef %58, i64 noundef %62, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %63 = load i32, ptr %8, align 8, !tbaa !13
  %64 = zext i32 %63 to i64
  call void @UnityAssertEqualNumber(i64 noundef 5, i64 noundef %64, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %65 = load i32, ptr %7, align 4, !tbaa !14
  %66 = zext i32 %65 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %66, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %67 = getelementptr inbounds i8, ptr %1, i64 20
  %68 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %67) #3
  %69 = zext i32 %68 to i64
  call void @UnityAssertEqualNumber(i64 noundef 5, i64 noundef %69, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %70 = ptrtoint ptr %67 to i64
  %71 = load ptr, ptr %2, align 8, !tbaa !11
  %72 = getelementptr inbounds i8, ptr %71, i64 40
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  %74 = ptrtoint ptr %73 to i64
  call void @UnityAssertEqualNumber(i64 noundef %70, i64 noundef %74, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %75 = load i32, ptr %8, align 8, !tbaa !13
  %76 = zext i32 %75 to i64
  call void @UnityAssertEqualNumber(i64 noundef 6, i64 noundef %76, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %77 = load i32, ptr %7, align 4, !tbaa !14
  %78 = zext i32 %77 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %78, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %79 = getelementptr inbounds i8, ptr %1, i64 24
  %80 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %79) #3
  %81 = zext i32 %80 to i64
  call void @UnityAssertEqualNumber(i64 noundef 6, i64 noundef %81, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %82 = ptrtoint ptr %79 to i64
  %83 = load ptr, ptr %2, align 8, !tbaa !11
  %84 = getelementptr inbounds i8, ptr %83, i64 48
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = ptrtoint ptr %85 to i64
  call void @UnityAssertEqualNumber(i64 noundef %82, i64 noundef %86, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %87 = load i32, ptr %8, align 8, !tbaa !13
  %88 = zext i32 %87 to i64
  call void @UnityAssertEqualNumber(i64 noundef 7, i64 noundef %88, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %89 = load i32, ptr %7, align 4, !tbaa !14
  %90 = zext i32 %89 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %90, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %91 = getelementptr inbounds i8, ptr %1, i64 28
  %92 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %91) #3
  %93 = zext i32 %92 to i64
  call void @UnityAssertEqualNumber(i64 noundef 7, i64 noundef %93, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %94 = ptrtoint ptr %91 to i64
  %95 = load ptr, ptr %2, align 8, !tbaa !11
  %96 = getelementptr inbounds i8, ptr %95, i64 56
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = ptrtoint ptr %97 to i64
  call void @UnityAssertEqualNumber(i64 noundef %94, i64 noundef %98, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %99 = load i32, ptr %8, align 8, !tbaa !13
  %100 = zext i32 %99 to i64
  call void @UnityAssertEqualNumber(i64 noundef 8, i64 noundef %100, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %101 = load i32, ptr %7, align 4, !tbaa !14
  %102 = zext i32 %101 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %102, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %103 = getelementptr inbounds i8, ptr %1, i64 32
  %104 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %103) #3
  %105 = zext i32 %104 to i64
  call void @UnityAssertEqualNumber(i64 noundef 8, i64 noundef %105, ptr noundef null, i64 noundef 44, i32 noundef 148) #3
  %106 = ptrtoint ptr %103 to i64
  %107 = load ptr, ptr %2, align 8, !tbaa !11
  %108 = getelementptr inbounds i8, ptr %107, i64 64
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = ptrtoint ptr %109 to i64
  call void @UnityAssertEqualNumber(i64 noundef %106, i64 noundef %110, ptr noundef null, i64 noundef 45, i32 noundef 148) #3
  %111 = load i32, ptr %8, align 8, !tbaa !13
  %112 = zext i32 %111 to i64
  call void @UnityAssertEqualNumber(i64 noundef 9, i64 noundef %112, ptr noundef null, i64 noundef 46, i32 noundef 148) #3
  %113 = load i32, ptr %7, align 4, !tbaa !14
  %114 = zext i32 %113 to i64
  call void @UnityAssertEqualNumber(i64 noundef 10, i64 noundef %114, ptr noundef null, i64 noundef 47, i32 noundef 148) #3
  %115 = getelementptr inbounds i8, ptr %2, i64 8
  %116 = getelementptr inbounds i8, ptr %2, i64 12
  br label %.lr.ph

.lr.ph:                                           ; preds = %.preheader18.preheader, %.lr.ph
  %indvars.iv24 = phi i64 [ 9, %.preheader18.preheader ], [ %indvars.iv.next25, %.lr.ph ]
  %117 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv24
  %118 = call i32 @unordered_list_add(ptr noundef nonnull %2, ptr noundef nonnull %117) #3
  %119 = zext i32 %118 to i64
  call void @UnityAssertEqualNumber(i64 noundef %indvars.iv24, i64 noundef %119, ptr noundef null, i64 noundef 50, i32 noundef 148) #3
  %120 = ptrtoint ptr %117 to i64
  %121 = load ptr, ptr %2, align 8, !tbaa !11
  %122 = getelementptr inbounds ptr, ptr %121, i64 %indvars.iv24
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = ptrtoint ptr %123 to i64
  call void @UnityAssertEqualNumber(i64 noundef %120, i64 noundef %124, ptr noundef null, i64 noundef 51, i32 noundef 148) #3
  %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24, 1
  %125 = load i32, ptr %115, align 8, !tbaa !13
  %126 = zext i32 %125 to i64
  call void @UnityAssertEqualNumber(i64 noundef %indvars.iv.next25, i64 noundef %126, ptr noundef null, i64 noundef 52, i32 noundef 148) #3
  %127 = load i32, ptr %116, align 4, !tbaa !14
  %128 = zext i32 %127 to i64
  call void @UnityAssertEqualNumber(i64 noundef 20, i64 noundef %128, ptr noundef null, i64 noundef 53, i32 noundef 148) #3
  %exitcond27.not = icmp eq i64 %indvars.iv.next25, 19
  br i1 %exitcond27.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph
  call void @unordered_list_destroy(ptr noundef nonnull %0, ptr noundef null) #3
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %1) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #3
  ret void
}

declare i32 @unordered_list_add(ptr noundef, ptr noundef) local_unnamed_addr #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 = { 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 #3 = { nounwind }

!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 = !{!12, !6, i64 0}
!12 = !{!"unordered_list", !6, i64 0, !10, i64 8, !10, i64 12}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 12}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass