; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Dhcp6Dxe (Dhcp6SendSolicitMsg)

; 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._DHCP6_INSTANCE = type { i32, ptr, ptr, %struct._LIST_ENTRY, %struct._EFI_DHCP6_PROTOCOL, ptr, ptr, ptr, %struct._DHCP6_IA_CB, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, i8, ptr, i64, i8, i8, i64 }
%struct._EFI_DHCP6_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._DHCP6_IA_CB = type { ptr, i32, i32, i32, i32 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._DHCP6_SERVICE = type { i32, ptr, ptr, %struct._EFI_SERVICE_BINDING_PROTOCOL, ptr, ptr, ptr, ptr, i32, %struct._LIST_ENTRY, i64 }
%struct._EFI_SERVICE_BINDING_PROTOCOL = type { ptr, ptr }
%struct.EFI_DHCP6_CONFIG_DATA = type { ptr, ptr, i32, ptr, %struct.EFI_DHCP6_IA_DESCRIPTOR, ptr, i8, i8, ptr }
%struct.EFI_DHCP6_IA_DESCRIPTOR = type { i16, i32 }
%struct.EFI_DHCP6_PACKET_OPTION = type <{ i16, i16, [1 x i8] }>
%struct.EFI_DHCP6_PACKET = type <{ i32, i32, %struct.anon }>
%struct.anon = type <{ %struct.EFI_DHCP6_HEADER, [1 x i8] }>
%struct.EFI_DHCP6_HEADER = type { i32 }
%struct.EFI_DHCP6_DUID = type { i16, [1 x i8] }
%struct.EFI_DHCP6_IA = type { %struct.EFI_DHCP6_IA_DESCRIPTOR, i32, ptr, i32, [1 x %struct.EFI_DHCP6_IA_ADDRESS] }
%struct.EFI_DHCP6_IA_ADDRESS = type { %struct.EFI_IPv6_ADDRESS, i32, i32 }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }

@.str = external hidden unnamed_addr constant [131 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

declare zeroext i8 @DebugAssertEnabled() #2

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) #2

declare ptr @AllocateZeroPool(i64 noundef) #2

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

declare void @FreePool(ptr noundef) #2

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

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) #2

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

; Function Attrs: nounwind uwtable
define dso_local i64 @Dhcp6SendSolicitMsg(ptr noundef %0) #0 {
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, 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
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i16, align 2
  %14 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #3
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %15, i32 0, i32 2
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  store ptr %17, ptr %8, align 8, !tbaa !5
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct._DHCP6_SERVICE, ptr %18, i32 0, i32 6
  %20 = load ptr, ptr %19, align 8, !tbaa !16
  store ptr %20, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %11, align 4, !tbaa !19
  br label %21

21:                                               ; preds = %1
  %22 = call zeroext i8 @DebugAssertEnabled()
  %23 = icmp ne i8 %22, 0
  br i1 %23, label %24, label %31

24:                                               ; preds = %21
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct._DHCP6_SERVICE, ptr %25, i32 0, i32 6
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %28 = icmp ne ptr %27, null
  br i1 %28, label %30, label %29

29:                                               ; preds = %24
  call void @DebugAssert(ptr noundef @.str, i64 noundef 939, ptr noundef @.str.8)
  br label %30

30:                                               ; preds = %29, %24
  br label %31

31:                                               ; preds = %30, %21
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  %35 = call zeroext i8 @DebugAssertEnabled()
  %36 = icmp ne i8 %35, 0
  br i1 %36, label %37, label %44

37:                                               ; preds = %34
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %38, i32 0, i32 6
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %41 = icmp ne ptr %40, null
  br i1 %41, label %43, label %42

42:                                               ; preds = %37
  call void @DebugAssert(ptr noundef @.str, i64 noundef 940, ptr noundef @.str.5)
  br label %43

43:                                               ; preds = %42, %37
  br label %44

44:                                               ; preds = %43, %34
  br label %45

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  %48 = call zeroext i8 @DebugAssertEnabled()
  %49 = icmp ne i8 %48, 0
  br i1 %49, label %50, label %58

50:                                               ; preds = %47
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %51, i32 0, i32 8
  %53 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !21
  %55 = icmp ne ptr %54, null
  br i1 %55, label %57, label %56

56:                                               ; preds = %50
  call void @DebugAssert(ptr noundef @.str, i64 noundef 941, ptr noundef @.str.6)
  br label %57

57:                                               ; preds = %56, %50
  br label %58

58:                                               ; preds = %57, %47
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  store i64 0, ptr %12, align 8, !tbaa !22
  br label %61

61:                                               ; preds = %86, %60
  %62 = load i64, ptr %12, align 8, !tbaa !22
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %63, i32 0, i32 6
  %65 = load ptr, ptr %64, align 8, !tbaa !20
  %66 = getelementptr inbounds %struct.EFI_DHCP6_CONFIG_DATA, ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 8, !tbaa !23
  %68 = zext i32 %67 to i64
  %69 = icmp ult i64 %62, %68
  br i1 %69, label %70, label %89

70:                                               ; preds = %61
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %71, i32 0, i32 6
  %73 = load ptr, ptr %72, align 8, !tbaa !20
  %74 = getelementptr inbounds %struct.EFI_DHCP6_CONFIG_DATA, ptr %73, i32 0, i32 3
  %75 = load ptr, ptr %74, align 8, !tbaa !27
  %76 = load i64, ptr %12, align 8, !tbaa !22
  %77 = getelementptr inbounds ptr, ptr %75, i64 %76
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.EFI_DHCP6_PACKET_OPTION, ptr %78, i32 0, i32 1
  %80 = load i16, ptr %79, align 1, !tbaa !28
  %81 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %80)
  %82 = zext i16 %81 to i32
  %83 = add nsw i32 %82, 4
  %84 = load i32, ptr %11, align 4, !tbaa !19
  %85 = add i32 %84, %83
  store i32 %85, ptr %11, align 4, !tbaa !19
  br label %86

86:                                               ; preds = %70
  %87 = load i64, ptr %12, align 8, !tbaa !22
  %88 = add i64 %87, 1
  store i64 %88, ptr %12, align 8, !tbaa !22
  br label %61, !llvm.loop !30

89:                                               ; preds = %61
  %90 = load i32, ptr %11, align 4, !tbaa !19
  %91 = add i32 1024, %90
  %92 = zext i32 %91 to i64
  %93 = call ptr @AllocateZeroPool(i64 noundef %92)
  store ptr %93, ptr %5, align 8, !tbaa !5
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = icmp eq ptr %94, null
  br i1 %95, label %96, label %97

96:                                               ; preds = %89
  store i64 -9223372036854775799, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %256

97:                                               ; preds = %89
  %98 = load i32, ptr %11, align 4, !tbaa !19
  %99 = add i32 1024, %98
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %100, i32 0, i32 0
  store i32 %99, ptr %101, align 1, !tbaa !32
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %102, i32 0, i32 1
  store i32 4, ptr %103, align 1, !tbaa !36
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %104, i32 0, i32 2
  %106 = getelementptr inbounds %struct.anon, ptr %105, i32 0, i32 0
  %107 = load i32, ptr %106, align 1
  %108 = and i32 %107, -256
  %109 = or i32 %108, 1
  store i32 %109, ptr %106, align 1
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct._DHCP6_SERVICE, ptr %110, i32 0, i32 8
  %112 = load i32, ptr %111, align 8, !tbaa !37
  %113 = add i32 %112, 1
  store i32 %113, ptr %111, align 8, !tbaa !37
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %114, i32 0, i32 2
  %116 = getelementptr inbounds %struct.anon, ptr %115, i32 0, i32 0
  %117 = load i32, ptr %116, align 1
  %118 = and i32 %112, 16777215
  %119 = shl i32 %118, 8
  %120 = and i32 %117, 255
  %121 = or i32 %120, %119
  store i32 %121, ptr %116, align 1
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %122, i32 0, i32 2
  %124 = getelementptr inbounds %struct.anon, ptr %123, i32 0, i32 1
  %125 = getelementptr inbounds [1 x i8], ptr %124, i64 0, i64 0
  store ptr %125, ptr %9, align 8, !tbaa !5
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.EFI_DHCP6_DUID, ptr %126, i32 0, i32 0
  %128 = load i16, ptr %127, align 2, !tbaa !38
  %129 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %128)
  store i16 %129, ptr %13, align 2, !tbaa !40
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = call zeroext i16 @SwapBytes16(i16 noundef zeroext 1)
  %132 = load i16, ptr %13, align 2, !tbaa !40
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.EFI_DHCP6_DUID, ptr %133, i32 0, i32 1
  %135 = getelementptr inbounds [1 x i8], ptr %134, i64 0, i64 0
  %136 = call ptr @Dhcp6AppendOption(ptr noundef %130, i16 noundef zeroext %131, i16 noundef zeroext %132, ptr noundef %135)
  store ptr %136, ptr %9, align 8, !tbaa !5
  %137 = load ptr, ptr %9, align 8, !tbaa !5
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = call ptr @Dhcp6AppendETOption(ptr noundef %137, ptr noundef %138, ptr noundef %10)
  store ptr %139, ptr %9, align 8, !tbaa !5
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %141, i32 0, i32 8
  %143 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %142, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8, !tbaa !21
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %145, i32 0, i32 8
  %147 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %146, i32 0, i32 1
  %148 = load i32, ptr %147, align 8, !tbaa !41
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %149, i32 0, i32 8
  %151 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %150, i32 0, i32 2
  %152 = load i32, ptr %151, align 4, !tbaa !42
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %153, i32 0, i32 2
  %155 = getelementptr inbounds %struct.anon, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 1
  %157 = and i32 %156, 255
  %158 = call ptr @Dhcp6AppendIaOption(ptr noundef %140, ptr noundef %144, i32 noundef %148, i32 noundef %152, i32 noundef %157)
  store ptr %158, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %12, align 8, !tbaa !22
  br label %159

159:                                              ; preds = %188, %97
  %160 = load i64, ptr %12, align 8, !tbaa !22
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %161, i32 0, i32 6
  %163 = load ptr, ptr %162, align 8, !tbaa !20
  %164 = getelementptr inbounds %struct.EFI_DHCP6_CONFIG_DATA, ptr %163, i32 0, i32 2
  %165 = load i32, ptr %164, align 8, !tbaa !23
  %166 = zext i32 %165 to i64
  %167 = icmp ult i64 %160, %166
  br i1 %167, label %168, label %191

168:                                              ; preds = %159
  %169 = load ptr, ptr %3, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %169, i32 0, i32 6
  %171 = load ptr, ptr %170, align 8, !tbaa !20
  %172 = getelementptr inbounds %struct.EFI_DHCP6_CONFIG_DATA, ptr %171, i32 0, i32 3
  %173 = load ptr, ptr %172, align 8, !tbaa !27
  %174 = load i64, ptr %12, align 8, !tbaa !22
  %175 = getelementptr inbounds ptr, ptr %173, i64 %174
  %176 = load ptr, ptr %175, align 8, !tbaa !5
  store ptr %176, ptr %6, align 8, !tbaa !5
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.EFI_DHCP6_PACKET_OPTION, ptr %178, i32 0, i32 0
  %180 = load i16, ptr %179, align 1, !tbaa !43
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.EFI_DHCP6_PACKET_OPTION, ptr %181, i32 0, i32 1
  %183 = load i16, ptr %182, align 1, !tbaa !28
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.EFI_DHCP6_PACKET_OPTION, ptr %184, i32 0, i32 2
  %186 = getelementptr inbounds [1 x i8], ptr %185, i64 0, i64 0
  %187 = call ptr @Dhcp6AppendOption(ptr noundef %177, i16 noundef zeroext %180, i16 noundef zeroext %183, ptr noundef %186)
  store ptr %187, ptr %9, align 8, !tbaa !5
  br label %188

188:                                              ; preds = %168
  %189 = load i64, ptr %12, align 8, !tbaa !22
  %190 = add i64 %189, 1
  store i64 %190, ptr %12, align 8, !tbaa !22
  br label %159, !llvm.loop !44

191:                                              ; preds = %159
  %192 = load ptr, ptr %9, align 8, !tbaa !5
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %193, i32 0, i32 2
  %195 = getelementptr inbounds %struct.anon, ptr %194, i32 0, i32 1
  %196 = getelementptr inbounds [1 x i8], ptr %195, i64 0, i64 0
  %197 = ptrtoint ptr %192 to i64
  %198 = ptrtoint ptr %196 to i64
  %199 = sub i64 %197, %198
  %200 = trunc i64 %199 to i32
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %201, i32 0, i32 1
  %203 = load i32, ptr %202, align 1, !tbaa !36
  %204 = add i32 %203, %200
  store i32 %204, ptr %202, align 1, !tbaa !36
  br label %205

205:                                              ; preds = %191
  %206 = call zeroext i8 @DebugAssertEnabled()
  %207 = icmp ne i8 %206, 0
  br i1 %207, label %208, label %219

208:                                              ; preds = %205
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %209, i32 0, i32 0
  %211 = load i32, ptr %210, align 1, !tbaa !32
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.EFI_DHCP6_PACKET, ptr %212, i32 0, i32 1
  %214 = load i32, ptr %213, align 1, !tbaa !36
  %215 = add i32 %214, 8
  %216 = icmp ugt i32 %211, %215
  br i1 %216, label %218, label %217

217:                                              ; preds = %208
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1008, ptr noundef @.str.9)
  br label %218

218:                                              ; preds = %217, %208
  br label %219

219:                                              ; preds = %218, %205
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  %222 = load ptr, ptr %3, align 8, !tbaa !5
  %223 = call i64 @Dhcp6CallbackUser(ptr noundef %222, i32 noundef 0, ptr noundef %5)
  store i64 %223, ptr %4, align 8, !tbaa !22
  %224 = load i64, ptr %4, align 8, !tbaa !22
  %225 = icmp slt i64 %224, 0
  br i1 %225, label %226, label %229

226:                                              ; preds = %221
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  call void @FreePool(ptr noundef %227)
  %228 = load i64, ptr %4, align 8, !tbaa !22
  store i64 %228, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %256

229:                                              ; preds = %221
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %230, i32 0, i32 8
  %232 = getelementptr inbounds %struct._DHCP6_IA_CB, ptr %231, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8, !tbaa !21
  %234 = getelementptr inbounds %struct.EFI_DHCP6_IA, ptr %233, i32 0, i32 1
  store i32 1, ptr %234, align 8, !tbaa !45
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %235, i32 0, i32 17
  store i64 0, ptr %236, align 8, !tbaa !47
  %237 = load ptr, ptr %3, align 8, !tbaa !5
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  %239 = load ptr, ptr %10, align 8, !tbaa !5
  %240 = call i64 @Dhcp6TransmitPacket(ptr noundef %237, ptr noundef %238, ptr noundef %239)
  store i64 %240, ptr %4, align 8, !tbaa !22
  %241 = load i64, ptr %4, align 8, !tbaa !22
  %242 = icmp slt i64 %241, 0
  br i1 %242, label %243, label %246

243:                                              ; preds = %229
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  call void @FreePool(ptr noundef %244)
  %245 = load i64, ptr %4, align 8, !tbaa !22
  store i64 %245, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %256

246:                                              ; preds = %229
  %247 = load ptr, ptr %3, align 8, !tbaa !5
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = load ptr, ptr %10, align 8, !tbaa !5
  %250 = load ptr, ptr %3, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct._DHCP6_INSTANCE, ptr %250, i32 0, i32 6
  %252 = load ptr, ptr %251, align 8, !tbaa !20
  %253 = getelementptr inbounds %struct.EFI_DHCP6_CONFIG_DATA, ptr %252, i32 0, i32 8
  %254 = load ptr, ptr %253, align 8, !tbaa !48
  %255 = call i64 @Dhcp6EnqueueRetry(ptr noundef %247, ptr noundef %248, ptr noundef %249, ptr noundef %254)
  store i64 %255, ptr %2, align 8
  store i32 1, ptr %14, align 4
  br label %256

256:                                              ; preds = %246, %243, %226, %96
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %257 = load i64, ptr %2, align 8
  ret i64 %257
}

declare ptr @Dhcp6AppendOption(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, ptr noundef) #2

declare ptr @Dhcp6AppendETOption(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @Dhcp6AppendIaOption(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

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 = { "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, !6, i64 16}
!10 = !{!"_DHCP6_INSTANCE", !11, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !13, i64 40, !6, i64 112, !6, i64 120, !6, i64 128, !14, i64 136, !12, i64 160, !12, i64 176, !6, i64 192, !7, i64 200, !6, i64 208, !15, i64 216, !7, i64 224, !7, i64 225, !15, i64 232}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!13 = !{!"_EFI_DHCP6_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!14 = !{!"_DHCP6_IA_CB", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!15 = !{!"long long", !7, i64 0}
!16 = !{!17, !6, i64 56}
!17 = !{!"_DHCP6_SERVICE", !11, i64 0, !6, i64 8, !6, i64 16, !18, i64 24, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !12, i64 80, !15, i64 96}
!18 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !6, i64 120}
!21 = !{!10, !6, i64 136}
!22 = !{!15, !15, i64 0}
!23 = !{!24, !11, i64 16}
!24 = !{!"", !6, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !25, i64 32, !6, i64 40, !7, i64 48, !7, i64 49, !6, i64 56}
!25 = !{!"", !26, i64 0, !11, i64 4}
!26 = !{!"short", !7, i64 0}
!27 = !{!24, !6, i64 24}
!28 = !{!29, !26, i64 2}
!29 = !{!"", !26, i64 0, !26, i64 2, !7, i64 4}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!33, !11, i64 0}
!33 = !{!"", !11, i64 0, !11, i64 4, !34, i64 8}
!34 = !{!"", !35, i64 0, !7, i64 4}
!35 = !{!"", !11, i64 0, !11, i64 1}
!36 = !{!33, !11, i64 4}
!37 = !{!17, !11, i64 72}
!38 = !{!39, !26, i64 0}
!39 = !{!"", !26, i64 0, !7, i64 2}
!40 = !{!26, !26, i64 0}
!41 = !{!10, !11, i64 144}
!42 = !{!10, !11, i64 148}
!43 = !{!29, !26, i64 0}
!44 = distinct !{!44, !31}
!45 = !{!46, !11, i64 8}
!46 = !{!"", !25, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !7, i64 28}
!47 = !{!10, !15, i64 232}
!48 = !{!24, !6, i64 56}


; 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 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

declare zeroext i8 @DebugAssertEnabled() local_unnamed_addr #2

declare void @DebugAssert(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare ptr @AllocateZeroPool(i64 noundef) local_unnamed_addr #2

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

declare void @FreePool(ptr noundef) local_unnamed_addr #2

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

declare zeroext i16 @SwapBytes16(i16 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local i64 @Dhcp6SendSolicitMsg(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 56
  %7 = load ptr, ptr %6, align 8, !tbaa !15
  %8 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not = icmp eq i8 %8, 0
  br i1 %.not, label %12, label %9

9:                                                ; preds = %1
  %10 = load ptr, ptr %6, align 8, !tbaa !15
  %.not50 = icmp eq ptr %10, null
  br i1 %.not50, label %11, label %12

11:                                               ; preds = %9
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 939, ptr noundef nonnull @.str.8) #3
  br label %12

12:                                               ; preds = %1, %11, %9
  %13 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not51 = icmp eq i8 %13, 0
  br i1 %.not51, label %18, label %14

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 120
  %16 = load ptr, ptr %15, align 8, !tbaa !18
  %.not52 = icmp eq ptr %16, null
  br i1 %.not52, label %17, label %18

17:                                               ; preds = %14
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 940, ptr noundef nonnull @.str.5) #3
  br label %18

18:                                               ; preds = %12, %17, %14
  %19 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not53 = icmp eq i8 %19, 0
  br i1 %.not53, label %24, label %20

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %0, i64 136
  %22 = load ptr, ptr %21, align 8, !tbaa !19
  %.not54 = icmp eq ptr %22, null
  br i1 %.not54, label %23, label %24

23:                                               ; preds = %20
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 941, ptr noundef nonnull @.str.6) #3
  br label %24

24:                                               ; preds = %20, %23, %18
  %25 = getelementptr inbounds i8, ptr %0, i64 120
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  %28 = load i32, ptr %27, align 8, !tbaa !20
  %.not64 = icmp eq i32 %28, 0
  br i1 %.not64, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %24, %.lr.ph
  %29 = phi ptr [ %41, %.lr.ph ], [ %26, %24 ]
  %.04457 = phi i64 [ %40, %.lr.ph ], [ 0, %24 ]
  %.04556 = phi i32 [ %39, %.lr.ph ], [ 0, %24 ]
  %30 = getelementptr inbounds i8, ptr %29, i64 24
  %31 = load ptr, ptr %30, align 8, !tbaa !24
  %32 = getelementptr inbounds ptr, ptr %31, i64 %.04457
  %33 = load ptr, ptr %32, align 8, !tbaa !25
  %34 = getelementptr inbounds i8, ptr %33, i64 2
  %35 = load i16, ptr %34, align 1, !tbaa !26
  %36 = tail call zeroext i16 @SwapBytes16(i16 noundef zeroext %35) #3
  %37 = zext i16 %36 to i32
  %38 = add i32 %.04556, 4
  %39 = add i32 %38, %37
  %40 = add nuw nsw i64 %.04457, 1
  %41 = load ptr, ptr %25, align 8, !tbaa !18
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  %43 = load i32, ptr %42, align 8, !tbaa !20
  %44 = zext i32 %43 to i64
  %45 = icmp ult i64 %40, %44
  br i1 %45, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !28

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %46 = add i32 %39, 1024
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %24
  %.045.lcssa = phi i32 [ 1024, %24 ], [ %46, %._crit_edge.loopexit ]
  %47 = zext i32 %.045.lcssa to i64
  %48 = tail call ptr @AllocateZeroPool(i64 noundef %47) #3
  store ptr %48, ptr %2, align 8, !tbaa !25
  %49 = icmp eq ptr %48, null
  br i1 %49, label %132, label %50

50:                                               ; preds = %._crit_edge
  store i32 %.045.lcssa, ptr %48, align 1, !tbaa !30
  %51 = getelementptr inbounds i8, ptr %48, i64 4
  store i32 4, ptr %51, align 1, !tbaa !34
  %52 = getelementptr inbounds i8, ptr %48, i64 8
  %53 = load i32, ptr %52, align 1
  %54 = and i32 %53, -256
  %55 = or disjoint i32 %54, 1
  store i32 %55, ptr %52, align 1
  %56 = getelementptr inbounds i8, ptr %5, i64 72
  %57 = load i32, ptr %56, align 8, !tbaa !35
  %58 = add i32 %57, 1
  store i32 %58, ptr %56, align 8, !tbaa !35
  %59 = load i32, ptr %52, align 1
  %60 = shl i32 %57, 8
  %61 = and i32 %59, 255
  %62 = or disjoint i32 %61, %60
  store i32 %62, ptr %52, align 1
  %63 = getelementptr inbounds i8, ptr %48, i64 12
  %64 = load i16, ptr %7, align 2, !tbaa !36
  %65 = tail call zeroext i16 @SwapBytes16(i16 noundef zeroext %64) #3
  %66 = tail call zeroext i16 @SwapBytes16(i16 noundef zeroext 1) #3
  %67 = getelementptr inbounds i8, ptr %7, i64 2
  %68 = tail call ptr @Dhcp6AppendOption(ptr noundef nonnull %63, i16 noundef zeroext %66, i16 noundef zeroext %65, ptr noundef nonnull %67) #3
  %69 = call ptr @Dhcp6AppendETOption(ptr noundef %68, ptr noundef nonnull %0, ptr noundef nonnull %3) #3
  %70 = getelementptr inbounds i8, ptr %0, i64 136
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  %72 = getelementptr inbounds i8, ptr %0, i64 144
  %73 = load i32, ptr %72, align 8, !tbaa !38
  %74 = getelementptr inbounds i8, ptr %0, i64 148
  %75 = load i32, ptr %74, align 4, !tbaa !39
  %76 = load i32, ptr %52, align 1
  %77 = and i32 %76, 255
  %78 = call ptr @Dhcp6AppendIaOption(ptr noundef %69, ptr noundef %71, i32 noundef %73, i32 noundef %75, i32 noundef %77) #3
  %79 = load ptr, ptr %25, align 8, !tbaa !18
  %80 = getelementptr inbounds i8, ptr %79, i64 16
  %81 = load i32, ptr %80, align 8, !tbaa !20
  %.not65 = icmp eq i32 %81, 0
  br i1 %.not65, label %._crit_edge62, label %.lr.ph61

.lr.ph61:                                         ; preds = %50, %.lr.ph61
  %82 = phi ptr [ %93, %.lr.ph61 ], [ %79, %50 ]
  %.159 = phi i64 [ %92, %.lr.ph61 ], [ 0, %50 ]
  %.04658 = phi ptr [ %91, %.lr.ph61 ], [ %78, %50 ]
  %83 = getelementptr inbounds i8, ptr %82, i64 24
  %84 = load ptr, ptr %83, align 8, !tbaa !24
  %85 = getelementptr inbounds ptr, ptr %84, i64 %.159
  %86 = load ptr, ptr %85, align 8, !tbaa !25
  %87 = load i16, ptr %86, align 1, !tbaa !40
  %88 = getelementptr inbounds i8, ptr %86, i64 2
  %89 = load i16, ptr %88, align 1, !tbaa !26
  %90 = getelementptr inbounds i8, ptr %86, i64 4
  %91 = call ptr @Dhcp6AppendOption(ptr noundef %.04658, i16 noundef zeroext %87, i16 noundef zeroext %89, ptr noundef nonnull %90) #3
  %92 = add nuw nsw i64 %.159, 1
  %93 = load ptr, ptr %25, align 8, !tbaa !18
  %94 = getelementptr inbounds i8, ptr %93, i64 16
  %95 = load i32, ptr %94, align 8, !tbaa !20
  %96 = zext i32 %95 to i64
  %97 = icmp ult i64 %92, %96
  br i1 %97, label %.lr.ph61, label %._crit_edge62, !llvm.loop !41

._crit_edge62:                                    ; preds = %.lr.ph61, %50
  %.046.lcssa = phi ptr [ %78, %50 ], [ %91, %.lr.ph61 ]
  %98 = ptrtoint ptr %.046.lcssa to i64
  %99 = ptrtoint ptr %63 to i64
  %100 = sub i64 %98, %99
  %101 = trunc i64 %100 to i32
  %102 = load i32, ptr %51, align 1, !tbaa !34
  %103 = add i32 %102, %101
  store i32 %103, ptr %51, align 1, !tbaa !34
  %104 = call zeroext i8 @DebugAssertEnabled() #3
  %.not55 = icmp eq i8 %104, 0
  br i1 %.not55, label %111, label %105

105:                                              ; preds = %._crit_edge62
  %106 = load i32, ptr %48, align 1, !tbaa !30
  %107 = load i32, ptr %51, align 1, !tbaa !34
  %108 = add i32 %107, 8
  %109 = icmp ugt i32 %106, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %105
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1008, ptr noundef nonnull @.str.9) #3
  br label %111

111:                                              ; preds = %105, %110, %._crit_edge62
  %112 = call i64 @Dhcp6CallbackUser(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull %2)
  %113 = icmp slt i64 %112, 0
  br i1 %113, label %114, label %116

114:                                              ; preds = %111
  %115 = load ptr, ptr %2, align 8, !tbaa !25
  call void @FreePool(ptr noundef %115) #3
  br label %132

116:                                              ; preds = %111
  %117 = load ptr, ptr %70, align 8, !tbaa !19
  %118 = getelementptr inbounds i8, ptr %117, i64 8
  store i32 1, ptr %118, align 8, !tbaa !42
  %119 = getelementptr inbounds i8, ptr %0, i64 232
  store i64 0, ptr %119, align 8, !tbaa !44
  %120 = load ptr, ptr %2, align 8, !tbaa !25
  %121 = load ptr, ptr %3, align 8, !tbaa !25
  %122 = call i64 @Dhcp6TransmitPacket(ptr noundef nonnull %0, ptr noundef %120, ptr noundef %121)
  %123 = icmp slt i64 %122, 0
  %124 = load ptr, ptr %2, align 8, !tbaa !25
  br i1 %123, label %125, label %126

125:                                              ; preds = %116
  call void @FreePool(ptr noundef %124) #3
  br label %132

126:                                              ; preds = %116
  %127 = load ptr, ptr %3, align 8, !tbaa !25
  %128 = load ptr, ptr %25, align 8, !tbaa !18
  %129 = getelementptr inbounds i8, ptr %128, i64 56
  %130 = load ptr, ptr %129, align 8, !tbaa !45
  %131 = call i64 @Dhcp6EnqueueRetry(ptr noundef nonnull %0, ptr noundef %124, ptr noundef %127, ptr noundef %130)
  br label %132

132:                                              ; preds = %._crit_edge, %126, %125, %114
  %.0 = phi i64 [ %112, %114 ], [ %122, %125 ], [ %131, %126 ], [ -9223372036854775799, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  ret i64 %.0
}

declare ptr @Dhcp6AppendOption(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, ptr noundef) local_unnamed_addr #2

declare ptr @Dhcp6AppendETOption(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @Dhcp6AppendIaOption(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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 = { "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, !10, i64 16}
!6 = !{!"_DHCP6_INSTANCE", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !12, i64 40, !10, i64 112, !10, i64 120, !10, i64 128, !13, i64 136, !11, i64 160, !11, i64 176, !10, i64 192, !8, i64 200, !10, i64 208, !14, i64 216, !8, i64 224, !8, i64 225, !14, i64 232}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_LIST_ENTRY", !10, i64 0, !10, i64 8}
!12 = !{!"_EFI_DHCP6_PROTOCOL", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64}
!13 = !{!"_DHCP6_IA_CB", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!14 = !{!"long long", !8, i64 0}
!15 = !{!16, !10, i64 56}
!16 = !{!"_DHCP6_SERVICE", !7, i64 0, !10, i64 8, !10, i64 16, !17, i64 24, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !11, i64 80, !14, i64 96}
!17 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !10, i64 0, !10, i64 8}
!18 = !{!6, !10, i64 120}
!19 = !{!6, !10, i64 136}
!20 = !{!21, !7, i64 16}
!21 = !{!"", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !22, i64 32, !10, i64 40, !8, i64 48, !8, i64 49, !10, i64 56}
!22 = !{!"", !23, i64 0, !7, i64 4}
!23 = !{!"short", !8, i64 0}
!24 = !{!21, !10, i64 24}
!25 = !{!10, !10, i64 0}
!26 = !{!27, !23, i64 2}
!27 = !{!"", !23, i64 0, !23, i64 2, !8, i64 4}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !7, i64 0}
!31 = !{!"", !7, i64 0, !7, i64 4, !32, i64 8}
!32 = !{!"", !33, i64 0, !8, i64 4}
!33 = !{!"", !7, i64 0, !7, i64 1}
!34 = !{!31, !7, i64 4}
!35 = !{!16, !7, i64 72}
!36 = !{!37, !23, i64 0}
!37 = !{!"", !23, i64 0, !8, i64 2}
!38 = !{!6, !7, i64 144}
!39 = !{!6, !7, i64 148}
!40 = !{!27, !23, i64 0}
!41 = distinct !{!41, !29}
!42 = !{!43, !7, i64 8}
!43 = !{!"", !22, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !8, i64 28}
!44 = !{!6, !14, i64 232}
!45 = !{!21, !10, i64 56}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass