; LLVM IR from rweather/lightweight-crypto :: src/combined (gascon128)

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

%union.gascon_state_t = type { [5 x i64] }

; Function Attrs: nounwind uwtable
define dso_local i32 @gascon80pq_aead_decrypt(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %union.gascon_state_t, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store i64 %4, ptr %15, align 8, !tbaa !9
  store ptr %5, ptr %16, align 8, !tbaa !5
  store i64 %6, ptr %17, align 8, !tbaa !9
  store ptr %7, ptr %18, align 8, !tbaa !5
  store ptr %8, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #4
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  %33 = load i64, ptr %15, align 8, !tbaa !9
  %34 = icmp ult i64 %33, 16
  br i1 %34, label %35, label %36

35:                                               ; preds = %9
  store i32 -1, ptr %10, align 4
  store i32 1, ptr %21, align 4
  br label %159

36:                                               ; preds = %9
  %37 = load i64, ptr %15, align 8, !tbaa !9
  %38 = sub i64 %37, 16
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  store i64 %38, ptr %39, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 -1606415354, ptr %22, align 4, !tbaa !11
  %41 = load i32, ptr %22, align 4, !tbaa !11
  %42 = trunc i32 %41 to i8
  %43 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 0
  store i8 %42, ptr %43, align 8, !tbaa !13
  %44 = load i32, ptr %22, align 4, !tbaa !11
  %45 = lshr i32 %44, 8
  %46 = trunc i32 %45 to i8
  %47 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 1
  store i8 %46, ptr %47, align 1, !tbaa !13
  %48 = load i32, ptr %22, align 4, !tbaa !11
  %49 = lshr i32 %48, 16
  %50 = trunc i32 %49 to i8
  %51 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 2
  store i8 %50, ptr %51, align 2, !tbaa !13
  %52 = load i32, ptr %22, align 4, !tbaa !11
  %53 = lshr i32 %52, 24
  %54 = trunc i32 %53 to i8
  %55 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 3
  store i8 %54, ptr %55, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %56

56:                                               ; preds = %40
  br label %57

57:                                               ; preds = %56
  %58 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 0
  %59 = getelementptr inbounds i8, ptr %58, i64 4
  %60 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %59, ptr align 1 %60, i64 20, i1 false)
  %61 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 0
  %62 = getelementptr inbounds i8, ptr %61, i64 24
  %63 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %62, ptr align 1 %63, i64 16, i1 false)
  call void @gascon_permute(ptr noundef %20, i8 noundef zeroext 0)
  br label %64

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %65 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 0
  %66 = getelementptr inbounds i8, ptr %65, i64 20
  store ptr %66, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %67 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %67, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 20, ptr %25, align 4, !tbaa !11
  br label %68

68:                                               ; preds = %71, %64
  %69 = load i32, ptr %25, align 4, !tbaa !11
  %70 = icmp ugt i32 %69, 0
  br i1 %70, label %71, label %84

71:                                               ; preds = %68
  %72 = load ptr, ptr %24, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %72, i32 1
  store ptr %73, ptr %24, align 8, !tbaa !5
  %74 = load i8, ptr %72, align 1, !tbaa !13
  %75 = zext i8 %74 to i32
  %76 = load ptr, ptr %23, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i32 1
  store ptr %77, ptr %23, align 8, !tbaa !5
  %78 = load i8, ptr %76, align 1, !tbaa !13
  %79 = zext i8 %78 to i32
  %80 = xor i32 %79, %75
  %81 = trunc i32 %80 to i8
  store i8 %81, ptr %76, align 1, !tbaa !13
  %82 = load i32, ptr %25, align 4, !tbaa !11
  %83 = add i32 %82, -1
  store i32 %83, ptr %25, align 4, !tbaa !11
  br label %68, !llvm.loop !14

84:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85
  %87 = load i64, ptr %17, align 8, !tbaa !9
  %88 = icmp ugt i64 %87, 0
  br i1 %88, label %89, label %92

89:                                               ; preds = %86
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  %91 = load i64, ptr %17, align 8, !tbaa !9
  call void @gascon_absorb_8(ptr noundef %20, ptr noundef %90, i64 noundef %91, i8 noundef zeroext 6)
  br label %92

92:                                               ; preds = %89, %86
  %93 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 39
  %94 = load i8, ptr %93, align 1, !tbaa !13
  %95 = zext i8 %94 to i32
  %96 = xor i32 %95, 1
  %97 = trunc i32 %96 to i8
  store i8 %97, ptr %93, align 1, !tbaa !13
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load ptr, ptr %12, align 8, !tbaa !5
  %101 = load i64, ptr %100, align 8, !tbaa !9
  call void @gascon_decrypt_8(ptr noundef %20, ptr noundef %98, ptr noundef %99, i64 noundef %101, i8 noundef zeroext 6)
  br label %102

102:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %103 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 0
  %104 = getelementptr inbounds i8, ptr %103, i64 8
  store ptr %104, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %105 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %105, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  store i32 20, ptr %28, align 4, !tbaa !11
  br label %106

106:                                              ; preds = %109, %102
  %107 = load i32, ptr %28, align 4, !tbaa !11
  %108 = icmp ugt i32 %107, 0
  br i1 %108, label %109, label %122

109:                                              ; preds = %106
  %110 = load ptr, ptr %27, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i32 1
  store ptr %111, ptr %27, align 8, !tbaa !5
  %112 = load i8, ptr %110, align 1, !tbaa !13
  %113 = zext i8 %112 to i32
  %114 = load ptr, ptr %26, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %114, i32 1
  store ptr %115, ptr %26, align 8, !tbaa !5
  %116 = load i8, ptr %114, align 1, !tbaa !13
  %117 = zext i8 %116 to i32
  %118 = xor i32 %117, %113
  %119 = trunc i32 %118 to i8
  store i8 %119, ptr %114, align 1, !tbaa !13
  %120 = load i32, ptr %28, align 4, !tbaa !11
  %121 = add i32 %120, -1
  store i32 %121, ptr %28, align 4, !tbaa !11
  br label %106, !llvm.loop !16

122:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  call void @gascon_permute(ptr noundef %20, i8 noundef zeroext 0)
  br label %125

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %126 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 0
  %127 = getelementptr inbounds i8, ptr %126, i64 24
  store ptr %127, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %128 = load ptr, ptr %19, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 4
  store ptr %129, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  store i32 16, ptr %31, align 4, !tbaa !11
  br label %130

130:                                              ; preds = %133, %125
  %131 = load i32, ptr %31, align 4, !tbaa !11
  %132 = icmp ugt i32 %131, 0
  br i1 %132, label %133, label %146

133:                                              ; preds = %130
  %134 = load ptr, ptr %30, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i32 1
  store ptr %135, ptr %30, align 8, !tbaa !5
  %136 = load i8, ptr %134, align 1, !tbaa !13
  %137 = zext i8 %136 to i32
  %138 = load ptr, ptr %29, align 8, !tbaa !5
  %139 = getelementptr inbounds i8, ptr %138, i32 1
  store ptr %139, ptr %29, align 8, !tbaa !5
  %140 = load i8, ptr %138, align 1, !tbaa !13
  %141 = zext i8 %140 to i32
  %142 = xor i32 %141, %137
  %143 = trunc i32 %142 to i8
  store i8 %143, ptr %138, align 1, !tbaa !13
  %144 = load i32, ptr %31, align 4, !tbaa !11
  %145 = add i32 %144, -1
  store i32 %145, ptr %31, align 4, !tbaa !11
  br label %130, !llvm.loop !17

146:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  %149 = load ptr, ptr %11, align 8, !tbaa !5
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = load i64, ptr %150, align 8, !tbaa !9
  %152 = getelementptr inbounds [40 x i8], ptr %20, i64 0, i64 0
  %153 = getelementptr inbounds i8, ptr %152, i64 24
  %154 = load ptr, ptr %14, align 8, !tbaa !5
  %155 = load ptr, ptr %12, align 8, !tbaa !5
  %156 = load i64, ptr %155, align 8, !tbaa !9
  %157 = getelementptr inbounds i8, ptr %154, i64 %156
  %158 = call i32 @aead_check_tag(ptr noundef %149, i64 noundef %151, ptr noundef %153, ptr noundef %157, i32 noundef 16)
  store i32 %158, ptr %10, align 4
  store i32 1, ptr %21, align 4
  br label %159

159:                                              ; preds = %148, %35
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #4
  %160 = load i32, ptr %10, align 4
  ret i32 %160
}

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @gascon_permute(ptr noundef, i8 noundef zeroext) #3

; Function Attrs: nounwind uwtable
declare hidden void @gascon_absorb_8(ptr noundef, ptr noundef, i64 noundef, i8 noundef zeroext) #0

; Function Attrs: nounwind uwtable
declare hidden void @gascon_decrypt_8(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i8 noundef zeroext) #0

declare i32 @aead_check_tag(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 }

!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 long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}


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

%union.gascon_state_t = type { [5 x i64] }

; Function Attrs: nounwind uwtable
define dso_local i32 @gascon80pq_aead_decrypt(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readnone %2, ptr noundef %3, i64 noundef %4, ptr noundef %5, i64 noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8) local_unnamed_addr #0 {
  %10 = alloca %union.gascon_state_t, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #4
  %11 = icmp ult i64 %4, 16
  br i1 %11, label %47, label %12

12:                                               ; preds = %9
  %13 = add i64 %4, -16
  store i64 %13, ptr %1, align 8, !tbaa !5
  store <4 x i8> <i8 6, i8 12, i8 64, i8 -96>, ptr %10, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %10, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %14, ptr noundef nonnull align 1 dereferenceable(20) %8, i64 20, i1 false)
  %15 = getelementptr inbounds i8, ptr %10, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 1 dereferenceable(16) %7, i64 16, i1 false)
  call void @gascon_permute(ptr noundef nonnull %10, i8 noundef zeroext 0) #4
  %16 = getelementptr inbounds i8, ptr %10, i64 20
  %17 = getelementptr inbounds i8, ptr %8, i64 16
  %18 = getelementptr inbounds i8, ptr %10, i64 36
  %19 = load <16 x i8>, ptr %8, align 1, !tbaa !9
  %20 = load <16 x i8>, ptr %16, align 4, !tbaa !9
  %21 = xor <16 x i8> %20, %19
  store <16 x i8> %21, ptr %16, align 4, !tbaa !9
  %22 = load <4 x i8>, ptr %17, align 1, !tbaa !9
  %23 = load <4 x i8>, ptr %18, align 4, !tbaa !9
  %24 = xor <4 x i8> %23, %22
  store <4 x i8> %24, ptr %18, align 4, !tbaa !9
  %.not46 = icmp eq i64 %6, 0
  %25 = extractelement <4 x i8> %24, i64 3
  br i1 %.not46, label %27, label %26

26:                                               ; preds = %12
  call void @gascon_absorb_8(ptr noundef nonnull %10, ptr noundef %5, i64 noundef %6, i8 noundef zeroext 6)
  %.phi.trans.insert = getelementptr inbounds i8, ptr %10, i64 39
  %.pre = load i8, ptr %.phi.trans.insert, align 1, !tbaa !9
  br label %27

27:                                               ; preds = %26, %12
  %28 = phi i8 [ %.pre, %26 ], [ %25, %12 ]
  %29 = getelementptr inbounds i8, ptr %10, i64 39
  %30 = xor i8 %28, 1
  store i8 %30, ptr %29, align 1, !tbaa !9
  %31 = load i64, ptr %1, align 8, !tbaa !5
  call void @gascon_decrypt_8(ptr noundef nonnull %10, ptr noundef %0, ptr noundef %3, i64 noundef %31, i8 noundef zeroext 6)
  %32 = getelementptr inbounds i8, ptr %10, i64 8
  %33 = getelementptr inbounds i8, ptr %10, i64 24
  %34 = load <16 x i8>, ptr %8, align 1, !tbaa !9
  %35 = load <16 x i8>, ptr %32, align 8, !tbaa !9
  %36 = xor <16 x i8> %35, %34
  store <16 x i8> %36, ptr %32, align 8, !tbaa !9
  %37 = load <4 x i8>, ptr %17, align 1, !tbaa !9
  %38 = load <4 x i8>, ptr %33, align 8, !tbaa !9
  %39 = xor <4 x i8> %38, %37
  store <4 x i8> %39, ptr %33, align 8, !tbaa !9
  call void @gascon_permute(ptr noundef nonnull %10, i8 noundef zeroext 0) #4
  %40 = getelementptr inbounds i8, ptr %8, i64 4
  %41 = load <16 x i8>, ptr %40, align 1, !tbaa !9
  %42 = load <16 x i8>, ptr %15, align 8, !tbaa !9
  %43 = xor <16 x i8> %42, %41
  store <16 x i8> %43, ptr %15, align 8, !tbaa !9
  %44 = load i64, ptr %1, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %3, i64 %44
  %46 = call i32 @aead_check_tag(ptr noundef %0, i64 noundef %44, ptr noundef nonnull %15, ptr noundef %45, i32 noundef 16) #4
  br label %47

47:                                               ; preds = %9, %27
  %.043 = phi i32 [ %46, %27 ], [ -1, %9 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #4
  ret i32 %.043
}

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @gascon_permute(ptr noundef, i8 noundef zeroext) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @gascon_absorb_8(ptr noundef, ptr noundef, i64 noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @gascon_decrypt_8(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i8 noundef zeroext) local_unnamed_addr #0

declare i32 @aead_check_tag(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 }

!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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}


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