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

; 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._EFI_IP6_HEADER = type { i16, i16, i16, i8, i8, %struct.EFI_IPv6_ADDRESS, %struct.EFI_IPv6_ADDRESS }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }
%struct._IP6_PROTOCOL = type { i32, %struct._EFI_IP6_PROTOCOL, ptr, i64, ptr, %struct._LIST_ENTRY, i8, %struct.NET_MAP, %struct.NET_MAP, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct.EFI_LOCK, ptr, %struct._LIST_ENTRY, ptr, i32, %struct.EFI_IP6_CONFIG_DATA, i8 }
%struct._EFI_IP6_PROTOCOL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.NET_MAP = type { %struct._LIST_ENTRY, %struct._LIST_ENTRY, i64 }
%struct.EFI_LOCK = type { i64, i64, i32 }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct.EFI_IP6_CONFIG_DATA = type { i8, i8, i8, i8, %struct.EFI_IPv6_ADDRESS, %struct.EFI_IPv6_ADDRESS, i8, i8, i32, i32, i32 }
%struct._IP6_SERVICE = type { i32, %struct._EFI_SERVICE_BINDING_PROTOCOL, i64, i64, %struct._LIST_ENTRY, %struct._LIST_ENTRY, ptr, ptr, %struct.IP6_LINK_RX_TOKEN, %struct.IP6_ASSEMBLE_TABLE, %struct.IP6_MLD_SERVICE_DATA, %struct.EFI_IPv6_ADDRESS, i8, i8, i8, i8, i8, i32, i32, i32, i32, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, %struct._LIST_ENTRY, i32, i8, ptr, i8, i8, i32, ptr, ptr, ptr, ptr, %struct.EFI_MANAGED_NETWORK_CONFIG_DATA, %struct.EFI_SIMPLE_NETWORK_MODE, ptr, ptr, %struct._IP6_CONFIG_INSTANCE, ptr, i32, i32 }
%struct._EFI_SERVICE_BINDING_PROTOCOL = type { ptr, ptr }
%struct.IP6_LINK_RX_TOKEN = type { i32, ptr, ptr, %struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN }
%struct.EFI_MANAGED_NETWORK_COMPLETION_TOKEN = type { ptr, i64, %union.anon }
%union.anon = type { ptr }
%struct.IP6_ASSEMBLE_TABLE = type { [127 x %struct._LIST_ENTRY] }
%struct.IP6_MLD_SERVICE_DATA = type { i64, %struct._LIST_ENTRY }
%struct.EFI_MANAGED_NETWORK_CONFIG_DATA = type { i32, i32, i16, i8, i8, i8, i8, i8, i8, i8 }
%struct.EFI_SIMPLE_NETWORK_MODE = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [16 x %struct.EFI_MAC_ADDRESS], %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, %struct.EFI_MAC_ADDRESS, i8, i8, i8, i8, i8 }
%struct.EFI_MAC_ADDRESS = type { [32 x i8] }
%struct._IP6_CONFIG_INSTANCE = type { i32, i8, %struct._LIST_ENTRY, i16, %struct.EFI_IP6_CONFIG_INTERFACE_INFO, %struct.EFI_IP6_CONFIG_INTERFACE_ID, i32, %struct.EFI_IP6_CONFIG_DUP_ADDR_DETECT_TRANSMITS, [7 x %struct.IP6_CONFIG_DATA_ITEM], %struct.NET_MAP, %struct.NET_MAP, %struct._EFI_IP6_CONFIG_PROTOCOL, ptr, ptr, ptr, ptr, i8, i32, ptr, i32, ptr, i32, %struct._IP6_FORM_CALLBACK_INFO, %struct.IP6_CONFIG_NVDATA }
%struct.EFI_IP6_CONFIG_INTERFACE_INFO = type { [32 x i16], i8, i32, %struct.EFI_MAC_ADDRESS, i32, ptr, i32, ptr }
%struct.EFI_IP6_CONFIG_INTERFACE_ID = type { [8 x i8] }
%struct.EFI_IP6_CONFIG_DUP_ADDR_DETECT_TRANSMITS = type { i32 }
%struct.IP6_CONFIG_DATA_ITEM = type { ptr, ptr, i64, i8, %struct.NET_MAP, %union.IP6_CONFIG_DATA, i64 }
%union.IP6_CONFIG_DATA = type { ptr }
%struct._EFI_IP6_CONFIG_PROTOCOL = type { ptr, ptr, ptr, ptr }
%struct._IP6_FORM_CALLBACK_INFO = type { i32, ptr, %struct._EFI_HII_CONFIG_ACCESS_PROTOCOL, ptr, ptr }
%struct._EFI_HII_CONFIG_ACCESS_PROTOCOL = type { ptr, ptr, ptr }
%struct.IP6_CONFIG_NVDATA = type { i32, %struct.EFI_IP6_CONFIG_DUP_ADDR_DETECT_TRANSMITS, %struct.EFI_IP6_CONFIG_INTERFACE_ID, %struct._LIST_ENTRY, i32, %struct._LIST_ENTRY, i32, %struct._LIST_ENTRY, i32 }
%struct.EFI_BOOT_SERVICES = type { %struct.EFI_TABLE_HEADER, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.EFI_TABLE_HEADER = type { i64, i32, i32, i32, i32 }
%struct.EFI_IP6_COMPLETION_TOKEN = type { ptr, i64, %union.anon.0 }
%union.anon.0 = type { ptr }
%struct._EFI_IP6_TRANSMIT_DATA = type { %struct.EFI_IPv6_ADDRESS, ptr, i32, ptr, i8, i32, i32, [1 x %struct._EFI_IP6_FRAGMENT_DATA] }
%struct._EFI_IP6_FRAGMENT_DATA = type { i32, ptr }
%struct._EFI_IP6_OVERRIDE_DATA = type { i8, i8, i32 }
%struct.IP6_TXTOKEN_WRAP = type { ptr, ptr, ptr, ptr, i8, i64 }

@gBS = external global ptr, align 8
@.str = external hidden unnamed_addr constant [129 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [51 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i64 @EfiIp6Transmit(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca i64, align 8
  %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 i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca %struct._EFI_IP6_HEADER, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  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 40, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %2
  store i64 -9223372036854775806, ptr %3, align 8
  store i32 1, ptr %16, align 4
  br label %331

20:                                               ; preds = %2
  store ptr null, ptr %15, align 8, !tbaa !5
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = call i64 @Ip6TxTokenValid(ptr noundef %21)
  store i64 %22, ptr %9, align 8, !tbaa !9
  %23 = load i64, ptr %9, align 8, !tbaa !9
  %24 = icmp slt i64 %23, 0
  br i1 %24, label %25, label %27

25:                                               ; preds = %20
  %26 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %26, ptr %3, align 8
  store i32 1, ptr %16, align 4
  br label %331

27:                                               ; preds = %20
  %28 = call zeroext i8 @DebugAssertEnabled()
  %29 = zext i8 %28 to i32
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %41

31:                                               ; preds = %27
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = ptrtoint ptr %32 to i64
  %34 = sub i64 %33, ptrtoint (ptr getelementptr inbounds (%struct._IP6_PROTOCOL, ptr null, i32 0, i32 1) to i64)
  %35 = inttoptr i64 %34 to ptr
  %36 = getelementptr inbounds %struct._IP6_PROTOCOL, ptr %35, i32 0, i32 0
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = icmp ne i32 %37, 1345736777
  br i1 %38, label %39, label %41

39:                                               ; preds = %31
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1274, ptr noundef @.str.1)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  br label %46

41:                                               ; preds = %31, %27
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = ptrtoint ptr %42 to i64
  %44 = sub i64 %43, ptrtoint (ptr getelementptr inbounds (%struct._IP6_PROTOCOL, ptr null, i32 0, i32 1) to i64)
  %45 = inttoptr i64 %44 to ptr
  br label %46

46:                                               ; preds = %41, %39
  %47 = phi ptr [ %40, %39 ], [ %45, %41 ]
  store ptr %47, ptr %7, align 8, !tbaa !5
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct._IP6_PROTOCOL, ptr %48, i32 0, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !20
  store ptr %50, ptr %6, align 8, !tbaa !5
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct._IP6_SERVICE, ptr %51, i32 0, i32 13
  %53 = load i8, ptr %52, align 1, !tbaa !21
  %54 = icmp ne i8 %53, 0
  br i1 %54, label %55, label %56

55:                                               ; preds = %46
  store i64 -9223372036854775801, ptr %3, align 8
  store i32 1, ptr %16, align 4
  br label %331

56:                                               ; preds = %46
  %57 = load ptr, ptr @gBS, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %57, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !37
  %60 = call i64 %59(i64 noundef 8)
  store i64 %60, ptr %10, align 8, !tbaa !9
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._IP6_PROTOCOL, ptr %61, i32 0, i32 3
  %63 = load i64, ptr %62, align 8, !tbaa !40
  %64 = icmp ne i64 %63, 1
  br i1 %64, label %65, label %66

65:                                               ; preds = %56
  store i64 -9223372036854775789, ptr %9, align 8, !tbaa !9
  br label %320

66:                                               ; preds = %56
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._IP6_PROTOCOL, ptr %67, i32 0, i32 16
  store ptr %68, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._IP6_PROTOCOL, ptr %69, i32 0, i32 8
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = call i64 @NetMapIterate(ptr noundef %70, ptr noundef @Ip6TokenExist, ptr noundef %71)
  %73 = icmp slt i64 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %66
  store i64 -9223372036854775793, ptr %9, align 8, !tbaa !9
  br label %320

75:                                               ; preds = %66
  %76 = call ptr @ZeroMem(ptr noundef %11, i64 noundef 40)
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.EFI_IP6_COMPLETION_TOKEN, ptr %77, i32 0, i32 2
  %79 = load ptr, ptr %78, align 8, !tbaa !41
  store ptr %79, ptr %12, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 5
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %81, i32 0, i32 5
  %83 = call ptr @CopyMem(ptr noundef %80, ptr noundef %82, i64 noundef 16)
  %84 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 6
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %85, i32 0, i32 4
  %87 = call ptr @CopyMem(ptr noundef %84, ptr noundef %86, i64 noundef 16)
  store i64 -9223372036854775806, ptr %9, align 8, !tbaa !9
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %88, i32 0, i32 0
  %90 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %89)
  %91 = icmp ne i8 %90, 0
  br i1 %91, label %92, label %112

92:                                               ; preds = %75
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %93, i32 0, i32 4
  %95 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %94)
  %96 = icmp ne i8 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %92
  br label %320

98:                                               ; preds = %92
  br label %99

99:                                               ; preds = %98
  %100 = call zeroext i8 @DebugAssertEnabled()
  %101 = icmp ne i8 %100, 0
  br i1 %101, label %102, label %109

102:                                              ; preds = %99
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %103, i32 0, i32 5
  %105 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %104)
  %106 = icmp ne i8 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %102
  call void @DebugAssert(ptr noundef @.str, i64 noundef 1313, ptr noundef @.str.3)
  br label %108

108:                                              ; preds = %107, %102
  br label %109

109:                                              ; preds = %108, %99
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  br label %138

112:                                              ; preds = %75
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %113, i32 0, i32 4
  %115 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %114)
  %116 = icmp ne i8 %115, 0
  br i1 %116, label %118, label %117

117:                                              ; preds = %112
  br label %320

118:                                              ; preds = %112
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %119, i32 0, i32 5
  %121 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %120)
  %122 = icmp ne i8 %121, 0
  br i1 %122, label %123, label %133

123:                                              ; preds = %118
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 5
  %128 = call i64 @Ip6SelectSourceAddress(ptr noundef %124, ptr noundef %126, ptr noundef %127)
  store i64 %128, ptr %9, align 8, !tbaa !9
  %129 = load i64, ptr %9, align 8, !tbaa !9
  %130 = icmp slt i64 %129, 0
  br i1 %130, label %131, label %132

131:                                              ; preds = %123
  br label %320

132:                                              ; preds = %123
  br label %133

133:                                              ; preds = %132, %118
  %134 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 6
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %135, i32 0, i32 0
  %137 = call ptr @CopyMem(ptr noundef %134, ptr noundef %136, i64 noundef 16)
  br label %138

138:                                              ; preds = %133, %111
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %139, i32 0, i32 0
  %141 = load i8, ptr %140, align 4, !tbaa !42
  %142 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 3
  store i8 %141, ptr %142, align 1, !tbaa !43
  %143 = load ptr, ptr %12, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %143, i32 0, i32 2
  %145 = load i32, ptr %144, align 8, !tbaa !45
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %152

147:                                              ; preds = %138
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %148, i32 0, i32 4
  %150 = load i8, ptr %149, align 8, !tbaa !47
  %151 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 3
  store i8 %150, ptr %151, align 1, !tbaa !43
  br label %152

152:                                              ; preds = %147, %138
  %153 = load ptr, ptr %12, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %153, i32 0, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !48
  %156 = icmp ne ptr %155, null
  br i1 %156, label %157, label %188

157:                                              ; preds = %152
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %158, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !48
  store ptr %160, ptr %13, align 8, !tbaa !5
  %161 = load ptr, ptr %13, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._EFI_IP6_OVERRIDE_DATA, ptr %161, i32 0, i32 0
  %163 = load i8, ptr %162, align 4, !tbaa !49
  %164 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 3
  store i8 %163, ptr %164, align 1, !tbaa !43
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct._EFI_IP6_OVERRIDE_DATA, ptr %165, i32 0, i32 1
  %167 = load i8, ptr %166, align 1, !tbaa !51
  %168 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 4
  store i8 %167, ptr %168, align 1, !tbaa !52
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct._EFI_IP6_OVERRIDE_DATA, ptr %169, i32 0, i32 2
  %171 = load i32, ptr %170, align 4, !tbaa !53
  %172 = trunc i32 %171 to i16
  %173 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %172)
  %174 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 1
  store i16 %173, ptr %174, align 1, !tbaa !54
  %175 = load ptr, ptr %13, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct._EFI_IP6_OVERRIDE_DATA, ptr %175, i32 0, i32 2
  %177 = load i32, ptr %176, align 4, !tbaa !53
  %178 = lshr i32 %177, 16
  %179 = and i32 %178, 15
  %180 = trunc i32 %179 to i8
  %181 = zext i8 %180 to i16
  %182 = load i16, ptr %11, align 1
  %183 = and i16 %181, 15
  %184 = shl i16 %183, 8
  %185 = and i16 %182, -3841
  %186 = or i16 %185, %184
  store i16 %186, ptr %11, align 1
  %187 = trunc i16 %183 to i8
  br label %212

188:                                              ; preds = %152
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %189, i32 0, i32 7
  %191 = load i8, ptr %190, align 1, !tbaa !55
  %192 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 4
  store i8 %191, ptr %192, align 1, !tbaa !52
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %193, i32 0, i32 8
  %195 = load i32, ptr %194, align 4, !tbaa !56
  %196 = trunc i32 %195 to i16
  %197 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %196)
  %198 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 1
  store i16 %197, ptr %198, align 1, !tbaa !54
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %199, i32 0, i32 8
  %201 = load i32, ptr %200, align 4, !tbaa !56
  %202 = lshr i32 %201, 16
  %203 = and i32 %202, 15
  %204 = trunc i32 %203 to i8
  %205 = zext i8 %204 to i16
  %206 = load i16, ptr %11, align 1
  %207 = and i16 %205, 15
  %208 = shl i16 %207, 8
  %209 = and i16 %206, -3841
  %210 = or i16 %209, %208
  store i16 %210, ptr %11, align 1
  %211 = trunc i16 %207 to i8
  br label %212

212:                                              ; preds = %188, %157
  %213 = load ptr, ptr %12, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %213, i32 0, i32 2
  %215 = load i32, ptr %214, align 8, !tbaa !45
  %216 = load ptr, ptr %12, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %216, i32 0, i32 5
  %218 = load i32, ptr %217, align 4, !tbaa !57
  %219 = add i32 %215, %218
  %220 = trunc i32 %219 to i16
  %221 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %220)
  %222 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %11, i32 0, i32 2
  store i16 %221, ptr %222, align 1, !tbaa !58
  store i64 -9223372036854775799, ptr %9, align 8, !tbaa !9
  %223 = call ptr @AllocateZeroPool(i64 noundef 48)
  store ptr %223, ptr %14, align 8, !tbaa !5
  %224 = load ptr, ptr %14, align 8, !tbaa !5
  %225 = icmp eq ptr %224, null
  br i1 %225, label %226, label %227

226:                                              ; preds = %212
  br label %320

227:                                              ; preds = %212
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = load ptr, ptr %14, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %229, i32 0, i32 0
  store ptr %228, ptr %230, align 8, !tbaa !59
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = load ptr, ptr %14, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %232, i32 0, i32 1
  store ptr %231, ptr %233, align 8, !tbaa !61
  %234 = load ptr, ptr %14, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %234, i32 0, i32 4
  store i8 0, ptr %235, align 8, !tbaa !62
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.EFI_IP6_CONFIG_DATA, ptr %236, i32 0, i32 10
  %238 = load i32, ptr %237, align 4, !tbaa !63
  %239 = add i32 %238, 999999
  %240 = udiv i32 %239, 1000000
  %241 = zext i32 %240 to i64
  %242 = load ptr, ptr %14, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %242, i32 0, i32 5
  store i64 %241, ptr %243, align 8, !tbaa !64
  %244 = load ptr, ptr %12, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %244, i32 0, i32 7
  %246 = getelementptr inbounds [1 x %struct._EFI_IP6_FRAGMENT_DATA], ptr %245, i64 0, i64 0
  %247 = load ptr, ptr %12, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %247, i32 0, i32 6
  %249 = load i32, ptr %248, align 8, !tbaa !65
  %250 = load ptr, ptr %14, align 8, !tbaa !5
  %251 = call ptr @NetbufFromExt(ptr noundef %246, i32 noundef %249, i32 noundef 120, i32 noundef 0, ptr noundef @Ip6FreeTxToken, ptr noundef %250)
  %252 = load ptr, ptr %14, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %252, i32 0, i32 3
  store ptr %251, ptr %253, align 8, !tbaa !66
  %254 = load ptr, ptr %14, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %254, i32 0, i32 3
  %256 = load ptr, ptr %255, align 8, !tbaa !66
  %257 = icmp eq ptr %256, null
  br i1 %257, label %258, label %260

258:                                              ; preds = %227
  %259 = load ptr, ptr %14, align 8, !tbaa !5
  call void @FreePool(ptr noundef %259)
  br label %320

260:                                              ; preds = %227
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.EFI_IP6_COMPLETION_TOKEN, ptr %261, i32 0, i32 1
  store i64 -9223372036854775802, ptr %262, align 8, !tbaa !67
  %263 = load ptr, ptr %7, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct._IP6_PROTOCOL, ptr %263, i32 0, i32 8
  %265 = load ptr, ptr %5, align 8, !tbaa !5
  %266 = load ptr, ptr %14, align 8, !tbaa !5
  %267 = call i64 @NetMapInsertTail(ptr noundef %264, ptr noundef %265, ptr noundef %266)
  store i64 %267, ptr %9, align 8, !tbaa !9
  %268 = load i64, ptr %9, align 8, !tbaa !9
  %269 = icmp slt i64 %268, 0
  br i1 %269, label %270, label %274

270:                                              ; preds = %260
  %271 = load ptr, ptr %14, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %271, i32 0, i32 3
  %273 = load ptr, ptr %272, align 8, !tbaa !66
  call void @NetbufFree(ptr noundef %273)
  br label %320

274:                                              ; preds = %260
  %275 = load ptr, ptr %12, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %275, i32 0, i32 2
  %277 = load i32, ptr %276, align 8, !tbaa !45
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %297

279:                                              ; preds = %274
  %280 = load ptr, ptr %12, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %280, i32 0, i32 3
  %282 = load ptr, ptr %281, align 8, !tbaa !68
  %283 = icmp ne ptr %282, null
  br i1 %283, label %284, label %297

284:                                              ; preds = %279
  %285 = load ptr, ptr %12, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %285, i32 0, i32 2
  %287 = load i32, ptr %286, align 8, !tbaa !45
  %288 = zext i32 %287 to i64
  %289 = load ptr, ptr %12, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %289, i32 0, i32 3
  %291 = load ptr, ptr %290, align 8, !tbaa !68
  %292 = call ptr @AllocateCopyPool(i64 noundef %288, ptr noundef %291)
  store ptr %292, ptr %15, align 8, !tbaa !5
  %293 = load ptr, ptr %15, align 8, !tbaa !5
  %294 = icmp eq ptr %293, null
  br i1 %294, label %295, label %296

295:                                              ; preds = %284
  store i64 -9223372036854775799, ptr %9, align 8, !tbaa !9
  br label %320

296:                                              ; preds = %284
  br label %297

297:                                              ; preds = %296, %279, %274
  %298 = load ptr, ptr %14, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %298, i32 0, i32 4
  store i8 1, ptr %299, align 8, !tbaa !62
  %300 = load ptr, ptr %6, align 8, !tbaa !5
  %301 = load ptr, ptr %7, align 8, !tbaa !5
  %302 = load ptr, ptr %14, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %302, i32 0, i32 3
  %304 = load ptr, ptr %303, align 8, !tbaa !66
  %305 = load ptr, ptr %15, align 8, !tbaa !5
  %306 = load ptr, ptr %12, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct._EFI_IP6_TRANSMIT_DATA, ptr %306, i32 0, i32 2
  %308 = load i32, ptr %307, align 8, !tbaa !45
  %309 = load ptr, ptr %14, align 8, !tbaa !5
  %310 = call i64 @Ip6Output(ptr noundef %300, ptr noundef null, ptr noundef %301, ptr noundef %304, ptr noundef %11, ptr noundef %305, i32 noundef %308, ptr noundef @Ip6OnPacketSent, ptr noundef %309)
  store i64 %310, ptr %9, align 8, !tbaa !9
  %311 = load i64, ptr %9, align 8, !tbaa !9
  %312 = icmp slt i64 %311, 0
  br i1 %312, label %313, label %319

313:                                              ; preds = %297
  %314 = load ptr, ptr %14, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %314, i32 0, i32 4
  store i8 0, ptr %315, align 8, !tbaa !62
  %316 = load ptr, ptr %14, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.IP6_TXTOKEN_WRAP, ptr %316, i32 0, i32 3
  %318 = load ptr, ptr %317, align 8, !tbaa !66
  call void @NetbufFree(ptr noundef %318)
  br label %319

319:                                              ; preds = %313, %297
  br label %320

320:                                              ; preds = %319, %295, %270, %258, %226, %131, %117, %97, %74, %65
  %321 = load ptr, ptr @gBS, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.EFI_BOOT_SERVICES, ptr %321, i32 0, i32 2
  %323 = load ptr, ptr %322, align 8, !tbaa !69
  %324 = load i64, ptr %10, align 8, !tbaa !9
  call void %323(i64 noundef %324)
  %325 = load ptr, ptr %15, align 8, !tbaa !5
  %326 = icmp ne ptr %325, null
  br i1 %326, label %327, label %329

327:                                              ; preds = %320
  %328 = load ptr, ptr %15, align 8, !tbaa !5
  call void @FreePool(ptr noundef %328)
  br label %329

329:                                              ; preds = %327, %320
  %330 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %330, ptr %3, align 8
  store i32 1, ptr %16, align 4
  br label %331

331:                                              ; preds = %329, %55, %25, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 40, 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
  %332 = load i64, ptr %3, align 8
  ret i64 %332
}

; 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 @CopyMem(ptr noundef, ptr noundef, i64 noundef) #2

declare ptr @AllocateCopyPool(i64 noundef, ptr noundef) #2

declare zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef) #2

declare void @FreePool(ptr noundef) #2

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

declare ptr @ZeroMem(ptr noundef, i64 noundef) #2

declare i64 @Ip6SelectSourceAddress(ptr noundef, ptr noundef, ptr noundef) #2

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

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

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

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

declare void @NetbufFree(ptr noundef) #2

declare i64 @NetMapIterate(ptr noundef, ptr noundef, ptr noundef) #2

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

declare ptr @AllocateZeroPool(i64 noundef) #2

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

declare i64 @NetMapInsertTail(ptr noundef, ptr noundef, ptr noundef) #2

declare i64 @Ip6Output(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr 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, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_IP6_PROTOCOL", !13, i64 0, !14, i64 8, !6, i64 80, !10, i64 88, !6, i64 96, !15, i64 104, !7, i64 120, !16, i64 128, !16, i64 168, !15, i64 208, !15, i64 224, !17, i64 240, !6, i64 264, !15, i64 272, !6, i64 288, !13, i64 296, !18, i64 300, !7, i64 352}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_EFI_IP6_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}
!15 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!16 = !{!"", !15, i64 0, !15, i64 16, !10, i64 32}
!17 = !{!"", !10, i64 0, !10, i64 8, !13, i64 16}
!18 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !19, i64 4, !19, i64 20, !7, i64 36, !7, i64 37, !13, i64 40, !13, i64 44, !13, i64 48}
!19 = !{!"", !7, i64 0}
!20 = !{!12, !6, i64 96}
!21 = !{!22, !7, i64 2209}
!22 = !{!"_IP6_SERVICE", !13, i64 0, !23, i64 8, !10, i64 24, !10, i64 32, !15, i64 40, !15, i64 56, !6, i64 72, !6, i64 80, !24, i64 88, !19, i64 136, !26, i64 2168, !19, i64 2192, !7, i64 2208, !7, i64 2209, !7, i64 2210, !7, i64 2211, !7, i64 2212, !13, i64 2216, !13, i64 2220, !13, i64 2224, !13, i64 2228, !15, i64 2232, !15, i64 2248, !15, i64 2264, !15, i64 2280, !13, i64 2296, !7, i64 2300, !6, i64 2304, !7, i64 2312, !7, i64 2313, !13, i64 2316, !6, i64 2320, !6, i64 2328, !6, i64 2336, !6, i64 2344, !27, i64 2352, !29, i64 2372, !6, i64 3032, !6, i64 3040, !30, i64 3048, !6, i64 4176, !13, i64 4184, !13, i64 4188}
!23 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !6, i64 0, !6, i64 8}
!24 = !{!"", !13, i64 0, !6, i64 8, !6, i64 16, !25, i64 24}
!25 = !{!"", !6, i64 0, !10, i64 8, !7, i64 16}
!26 = !{!"", !10, i64 0, !15, i64 8}
!27 = !{!"", !13, i64 0, !13, i64 4, !28, i64 8, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16}
!28 = !{!"short", !7, i64 0}
!29 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !7, i64 40, !19, i64 552, !19, i64 584, !19, i64 616, !7, i64 648, !7, i64 649, !7, i64 650, !7, i64 651, !7, i64 652}
!30 = !{!"_IP6_CONFIG_INSTANCE", !13, i64 0, !7, i64 4, !15, i64 8, !28, i64 24, !31, i64 32, !19, i64 168, !13, i64 176, !32, i64 180, !7, i64 184, !16, i64 800, !16, i64 840, !33, i64 880, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !13, i64 948, !6, i64 952, !13, i64 960, !6, i64 968, !13, i64 976, !34, i64 984, !36, i64 1040}
!31 = !{!"", !7, i64 0, !7, i64 64, !13, i64 68, !19, i64 72, !13, i64 104, !6, i64 112, !13, i64 120, !6, i64 128}
!32 = !{!"", !13, i64 0}
!33 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!"_IP6_FORM_CALLBACK_INFO", !13, i64 0, !6, i64 8, !35, i64 16, !6, i64 40, !6, i64 48}
!35 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"", !13, i64 0, !32, i64 4, !19, i64 8, !15, i64 16, !13, i64 32, !15, i64 40, !13, i64 56, !15, i64 64, !13, i64 80}
!37 = !{!38, !6, i64 24}
!38 = !{!"", !39, i64 0, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368}
!39 = !{!"", !10, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20}
!40 = !{!12, !10, i64 88}
!41 = !{!7, !7, i64 0}
!42 = !{!18, !7, i64 0}
!43 = !{!44, !7, i64 6}
!44 = !{!"_EFI_IP6_HEADER", !7, i64 0, !7, i64 0, !7, i64 1, !7, i64 1, !28, i64 2, !28, i64 4, !7, i64 6, !7, i64 7, !19, i64 8, !19, i64 24}
!45 = !{!46, !13, i64 24}
!46 = !{!"_EFI_IP6_TRANSMIT_DATA", !19, i64 0, !6, i64 16, !13, i64 24, !6, i64 32, !7, i64 40, !13, i64 44, !13, i64 48, !7, i64 56}
!47 = !{!46, !7, i64 40}
!48 = !{!46, !6, i64 16}
!49 = !{!50, !7, i64 0}
!50 = !{!"_EFI_IP6_OVERRIDE_DATA", !7, i64 0, !7, i64 1, !13, i64 4}
!51 = !{!50, !7, i64 1}
!52 = !{!44, !7, i64 7}
!53 = !{!50, !13, i64 4}
!54 = !{!44, !28, i64 2}
!55 = !{!18, !7, i64 37}
!56 = !{!18, !13, i64 40}
!57 = !{!46, !13, i64 44}
!58 = !{!44, !28, i64 4}
!59 = !{!60, !6, i64 0}
!60 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !7, i64 32, !10, i64 40}
!61 = !{!60, !6, i64 8}
!62 = !{!60, !7, i64 32}
!63 = !{!18, !13, i64 48}
!64 = !{!60, !10, i64 40}
!65 = !{!46, !13, i64 48}
!66 = !{!60, !6, i64 24}
!67 = !{!25, !10, i64 8}
!68 = !{!46, !6, i64 32}
!69 = !{!38, !6, i64 32}


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

%struct._EFI_IP6_HEADER = type { i16, i16, i16, i8, i8, %struct.EFI_IPv6_ADDRESS, %struct.EFI_IPv6_ADDRESS }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }

@gBS = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [129 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [51 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i64 @EfiIp6Transmit(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca %struct._EFI_IP6_HEADER, align 2
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #3
  %4 = icmp eq ptr %0, null
  br i1 %4, label %138, label %5

5:                                                ; preds = %2
  %6 = tail call i64 @Ip6TxTokenValid(ptr noundef %1)
  %7 = icmp slt i64 %6, 0
  br i1 %7, label %138, label %8

8:                                                ; preds = %5
  %9 = tail call zeroext i8 @DebugAssertEnabled() #3
  %.not = icmp eq i8 %9, 0
  %.pre109 = ptrtoint ptr %0 to i64
  %.pre110 = add i64 %.pre109, -8
  %.pre112 = inttoptr i64 %.pre110 to ptr
  br i1 %.not, label %._crit_edge108, label %10

10:                                               ; preds = %8
  %11 = load i32, ptr %.pre112, align 8, !tbaa !5
  %.not92 = icmp eq i32 %11, 1345736777
  br i1 %.not92, label %._crit_edge108, label %12

12:                                               ; preds = %10
  tail call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1274, ptr noundef nonnull @.str.1) #3
  br label %._crit_edge108

._crit_edge108:                                   ; preds = %8, %10, %12
  %13 = phi ptr [ %0, %12 ], [ %.pre112, %10 ], [ %.pre112, %8 ]
  %14 = getelementptr inbounds i8, ptr %13, i64 96
  %15 = load ptr, ptr %14, align 8, !tbaa !18
  %16 = getelementptr inbounds i8, ptr %15, i64 2209
  %17 = load i8, ptr %16, align 1, !tbaa !19
  %.not93 = icmp eq i8 %17, 0
  br i1 %.not93, label %18, label %138

18:                                               ; preds = %._crit_edge108
  %19 = load ptr, ptr @gBS, align 8, !tbaa !35
  %20 = getelementptr inbounds i8, ptr %19, i64 24
  %21 = load ptr, ptr %20, align 8, !tbaa !36
  %22 = tail call i64 %21(i64 noundef 8) #3
  %23 = getelementptr inbounds i8, ptr %13, i64 88
  %24 = load i64, ptr %23, align 8, !tbaa !39
  %.not94 = icmp eq i64 %24, 1
  br i1 %.not94, label %25, label %133

25:                                               ; preds = %18
  %26 = getelementptr inbounds i8, ptr %13, i64 300
  %27 = getelementptr inbounds i8, ptr %13, i64 168
  %28 = tail call i64 @NetMapIterate(ptr noundef nonnull %27, ptr noundef nonnull @Ip6TokenExist, ptr noundef %1) #3
  %29 = icmp slt i64 %28, 0
  br i1 %29, label %133, label %30

30:                                               ; preds = %25
  %31 = call ptr @ZeroMem(ptr noundef nonnull %3, i64 noundef 40) #3
  %32 = getelementptr inbounds i8, ptr %1, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !40
  %34 = getelementptr inbounds i8, ptr %3, i64 8
  %35 = getelementptr inbounds i8, ptr %13, i64 320
  %36 = call ptr @CopyMem(ptr noundef nonnull %34, ptr noundef nonnull %35, i64 noundef 16) #3
  %37 = getelementptr inbounds i8, ptr %3, i64 24
  %38 = getelementptr inbounds i8, ptr %13, i64 304
  %39 = call ptr @CopyMem(ptr noundef nonnull %37, ptr noundef nonnull %38, i64 noundef 16) #3
  %40 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef %33) #3
  %.not95 = icmp eq i8 %40, 0
  %41 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %38) #3
  %.not96 = icmp eq i8 %41, 0
  br i1 %.not95, label %48, label %42

42:                                               ; preds = %30
  br i1 %.not96, label %43, label %133

43:                                               ; preds = %42
  %44 = call zeroext i8 @DebugAssertEnabled() #3
  %.not99 = icmp eq i8 %44, 0
  br i1 %.not99, label %56, label %45

45:                                               ; preds = %43
  %46 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %35) #3
  %.not100 = icmp eq i8 %46, 0
  br i1 %.not100, label %56, label %47

47:                                               ; preds = %45
  call void @DebugAssert(ptr noundef nonnull @.str, i64 noundef 1313, ptr noundef nonnull @.str.3) #3
  br label %56

48:                                               ; preds = %30
  br i1 %.not96, label %133, label %49

49:                                               ; preds = %48
  %50 = call zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef nonnull %35) #3
  %.not97 = icmp eq i8 %50, 0
  br i1 %.not97, label %54, label %51

51:                                               ; preds = %49
  %52 = call i64 @Ip6SelectSourceAddress(ptr noundef nonnull %15, ptr noundef %33, ptr noundef nonnull %34) #3
  %53 = icmp slt i64 %52, 0
  br i1 %53, label %133, label %54

54:                                               ; preds = %51, %49
  %55 = call ptr @CopyMem(ptr noundef nonnull %37, ptr noundef %33, i64 noundef 16) #3
  br label %56

56:                                               ; preds = %43, %47, %45, %54
  %57 = load i8, ptr %26, align 4, !tbaa !41
  %58 = getelementptr inbounds i8, ptr %3, i64 6
  store i8 %57, ptr %58, align 2, !tbaa !42
  %59 = getelementptr inbounds i8, ptr %33, i64 24
  %60 = load i32, ptr %59, align 8, !tbaa !44
  %.not101 = icmp eq i32 %60, 0
  br i1 %.not101, label %64, label %61

61:                                               ; preds = %56
  %62 = getelementptr inbounds i8, ptr %33, i64 40
  %63 = load i8, ptr %62, align 8, !tbaa !46
  store i8 %63, ptr %58, align 2, !tbaa !42
  br label %64

64:                                               ; preds = %61, %56
  %65 = getelementptr inbounds i8, ptr %33, i64 16
  %66 = load ptr, ptr %65, align 8, !tbaa !47
  %.not102 = icmp eq ptr %66, null
  br i1 %.not102, label %73, label %67

67:                                               ; preds = %64
  %68 = load i8, ptr %66, align 4, !tbaa !48
  store i8 %68, ptr %58, align 2, !tbaa !42
  %69 = getelementptr inbounds i8, ptr %66, i64 1
  %70 = load i8, ptr %69, align 1, !tbaa !50
  %71 = getelementptr inbounds i8, ptr %3, i64 7
  store i8 %70, ptr %71, align 1, !tbaa !51
  %72 = getelementptr inbounds i8, ptr %66, i64 4
  br label %78

73:                                               ; preds = %64
  %74 = getelementptr inbounds i8, ptr %13, i64 337
  %75 = load i8, ptr %74, align 1, !tbaa !52
  %76 = getelementptr inbounds i8, ptr %3, i64 7
  store i8 %75, ptr %76, align 1, !tbaa !51
  %77 = getelementptr inbounds i8, ptr %13, i64 340
  br label %78

78:                                               ; preds = %73, %67
  %.sink119 = phi ptr [ %77, %73 ], [ %72, %67 ]
  %79 = load i32, ptr %.sink119, align 4, !tbaa !53
  %80 = trunc i32 %79 to i16
  %81 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %80) #3
  %.sink116 = load i16, ptr %3, align 2
  %.sink117 = load i32, ptr %.sink119, align 4, !tbaa !53
  %sh.diff = lshr i32 %.sink117, 8
  %tr.sh.diff = trunc i32 %sh.diff to i16
  %82 = and i16 %tr.sh.diff, 3840
  %83 = and i16 %.sink116, -3841
  %84 = or disjoint i16 %82, %83
  %85 = getelementptr inbounds i8, ptr %3, i64 2
  store i16 %81, ptr %85, align 2
  store i16 %84, ptr %3, align 2
  %86 = load i32, ptr %59, align 8, !tbaa !44
  %87 = getelementptr inbounds i8, ptr %33, i64 44
  %88 = load i32, ptr %87, align 4, !tbaa !54
  %89 = add i32 %88, %86
  %90 = trunc i32 %89 to i16
  %91 = call zeroext i16 @SwapBytes16(i16 noundef zeroext %90) #3
  %92 = getelementptr inbounds i8, ptr %3, i64 4
  store i16 %91, ptr %92, align 2, !tbaa !55
  %93 = call ptr @AllocateZeroPool(i64 noundef 48) #3
  %94 = icmp eq ptr %93, null
  br i1 %94, label %133, label %95

95:                                               ; preds = %78
  store ptr %13, ptr %93, align 8, !tbaa !56
  %96 = getelementptr inbounds i8, ptr %93, i64 8
  store ptr %1, ptr %96, align 8, !tbaa !58
  %97 = getelementptr inbounds i8, ptr %93, i64 32
  store i8 0, ptr %97, align 8, !tbaa !59
  %98 = getelementptr inbounds i8, ptr %13, i64 348
  %99 = load i32, ptr %98, align 4, !tbaa !60
  %100 = add i32 %99, 999999
  %101 = udiv i32 %100, 1000000
  %102 = zext nneg i32 %101 to i64
  %103 = getelementptr inbounds i8, ptr %93, i64 40
  store i64 %102, ptr %103, align 8, !tbaa !61
  %104 = getelementptr inbounds i8, ptr %33, i64 56
  %105 = getelementptr inbounds i8, ptr %33, i64 48
  %106 = load i32, ptr %105, align 8, !tbaa !62
  %107 = call ptr @NetbufFromExt(ptr noundef nonnull %104, i32 noundef %106, i32 noundef 120, i32 noundef 0, ptr noundef nonnull @Ip6FreeTxToken, ptr noundef nonnull %93) #3
  %108 = getelementptr inbounds i8, ptr %93, i64 24
  store ptr %107, ptr %108, align 8, !tbaa !63
  %109 = icmp eq ptr %107, null
  br i1 %109, label %110, label %111

110:                                              ; preds = %95
  call void @FreePool(ptr noundef nonnull %93) #3
  br label %133

111:                                              ; preds = %95
  %112 = getelementptr inbounds i8, ptr %1, i64 8
  store i64 -9223372036854775802, ptr %112, align 8, !tbaa !64
  %113 = call i64 @NetMapInsertTail(ptr noundef nonnull %27, ptr noundef nonnull %1, ptr noundef nonnull %93) #3
  %114 = icmp slt i64 %113, 0
  br i1 %114, label %115, label %117

115:                                              ; preds = %111
  %116 = load ptr, ptr %108, align 8, !tbaa !63
  call void @NetbufFree(ptr noundef %116) #3
  br label %133

117:                                              ; preds = %111
  %118 = load i32, ptr %59, align 8, !tbaa !44
  %.not105 = icmp eq i32 %118, 0
  br i1 %.not105, label %126, label %119

119:                                              ; preds = %117
  %120 = getelementptr inbounds i8, ptr %33, i64 32
  %121 = load ptr, ptr %120, align 8, !tbaa !65
  %.not106 = icmp eq ptr %121, null
  br i1 %.not106, label %126, label %122

122:                                              ; preds = %119
  %123 = zext i32 %118 to i64
  %124 = call ptr @AllocateCopyPool(i64 noundef %123, ptr noundef nonnull %121) #3
  %125 = icmp eq ptr %124, null
  br i1 %125, label %133, label %._crit_edge

._crit_edge:                                      ; preds = %122
  %.pre = load i32, ptr %59, align 8, !tbaa !44
  br label %126

126:                                              ; preds = %._crit_edge, %119, %117
  %127 = phi i32 [ %.pre, %._crit_edge ], [ %118, %119 ], [ 0, %117 ]
  %.0 = phi ptr [ %124, %._crit_edge ], [ null, %119 ], [ null, %117 ]
  store i8 1, ptr %97, align 8, !tbaa !59
  %128 = load ptr, ptr %108, align 8, !tbaa !63
  %129 = call i64 @Ip6Output(ptr noundef nonnull %15, ptr noundef null, ptr noundef nonnull %13, ptr noundef %128, ptr noundef nonnull %3, ptr noundef %.0, i32 noundef %127, ptr noundef nonnull @Ip6OnPacketSent, ptr noundef nonnull %93) #3
  %130 = icmp slt i64 %129, 0
  br i1 %130, label %131, label %133

131:                                              ; preds = %126
  store i8 0, ptr %97, align 8, !tbaa !59
  %132 = load ptr, ptr %108, align 8, !tbaa !63
  call void @NetbufFree(ptr noundef %132) #3
  br label %133

133:                                              ; preds = %122, %25, %18, %126, %131, %78, %51, %48, %42, %115, %110
  %.079 = phi i64 [ -9223372036854775806, %42 ], [ -9223372036854775799, %78 ], [ -9223372036854775799, %110 ], [ %113, %115 ], [ %129, %131 ], [ %129, %126 ], [ %52, %51 ], [ -9223372036854775806, %48 ], [ -9223372036854775789, %18 ], [ -9223372036854775793, %25 ], [ -9223372036854775799, %122 ]
  %.1 = phi ptr [ null, %42 ], [ null, %78 ], [ null, %110 ], [ null, %115 ], [ %.0, %131 ], [ %.0, %126 ], [ null, %51 ], [ null, %48 ], [ null, %18 ], [ null, %25 ], [ null, %122 ]
  %134 = load ptr, ptr @gBS, align 8, !tbaa !35
  %135 = getelementptr inbounds i8, ptr %134, i64 32
  %136 = load ptr, ptr %135, align 8, !tbaa !66
  call void %136(i64 noundef %22) #3
  %.not107 = icmp eq ptr %.1, null
  br i1 %.not107, label %138, label %137

137:                                              ; preds = %133
  call void @FreePool(ptr noundef nonnull %.1) #3
  br label %138

138:                                              ; preds = %133, %137, %._crit_edge108, %5, %2
  %.078 = phi i64 [ -9223372036854775806, %2 ], [ %6, %5 ], [ -9223372036854775801, %._crit_edge108 ], [ %.079, %137 ], [ %.079, %133 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #3
  ret i64 %.078
}

; 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 @CopyMem(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare ptr @AllocateCopyPool(i64 noundef, ptr noundef) local_unnamed_addr #2

declare zeroext i8 @NetIp6IsUnspecifiedAddr(ptr noundef) local_unnamed_addr #2

declare void @FreePool(ptr 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 ptr @ZeroMem(ptr noundef, i64 noundef) local_unnamed_addr #2

declare i64 @Ip6SelectSourceAddress(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

declare void @NetbufFree(ptr noundef) local_unnamed_addr #2

declare i64 @NetMapIterate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare ptr @AllocateZeroPool(i64 noundef) local_unnamed_addr #2

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

declare i64 @NetMapInsertTail(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i64 @Ip6Output(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr 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, !7, i64 0}
!6 = !{!"_IP6_PROTOCOL", !7, i64 0, !10, i64 8, !11, i64 80, !12, i64 88, !11, i64 96, !13, i64 104, !8, i64 120, !14, i64 128, !14, i64 168, !13, i64 208, !13, i64 224, !15, i64 240, !11, i64 264, !13, i64 272, !11, i64 288, !7, i64 296, !16, i64 300, !8, i64 352}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_EFI_IP6_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"_LIST_ENTRY", !11, i64 0, !11, i64 8}
!14 = !{!"", !13, i64 0, !13, i64 16, !12, i64 32}
!15 = !{!"", !12, i64 0, !12, i64 8, !7, i64 16}
!16 = !{!"", !8, i64 0, !8, i64 1, !8, i64 2, !8, i64 3, !17, i64 4, !17, i64 20, !8, i64 36, !8, i64 37, !7, i64 40, !7, i64 44, !7, i64 48}
!17 = !{!"", !8, i64 0}
!18 = !{!6, !11, i64 96}
!19 = !{!20, !8, i64 2209}
!20 = !{!"_IP6_SERVICE", !7, i64 0, !21, i64 8, !12, i64 24, !12, i64 32, !13, i64 40, !13, i64 56, !11, i64 72, !11, i64 80, !22, i64 88, !17, i64 136, !24, i64 2168, !17, i64 2192, !8, i64 2208, !8, i64 2209, !8, i64 2210, !8, i64 2211, !8, i64 2212, !7, i64 2216, !7, i64 2220, !7, i64 2224, !7, i64 2228, !13, i64 2232, !13, i64 2248, !13, i64 2264, !13, i64 2280, !7, i64 2296, !8, i64 2300, !11, i64 2304, !8, i64 2312, !8, i64 2313, !7, i64 2316, !11, i64 2320, !11, i64 2328, !11, i64 2336, !11, i64 2344, !25, i64 2352, !27, i64 2372, !11, i64 3032, !11, i64 3040, !28, i64 3048, !11, i64 4176, !7, i64 4184, !7, i64 4188}
!21 = !{!"_EFI_SERVICE_BINDING_PROTOCOL", !11, i64 0, !11, i64 8}
!22 = !{!"", !7, i64 0, !11, i64 8, !11, i64 16, !23, i64 24}
!23 = !{!"", !11, i64 0, !12, i64 8, !8, i64 16}
!24 = !{!"", !12, i64 0, !13, i64 8}
!25 = !{!"", !7, i64 0, !7, i64 4, !26, i64 8, !8, i64 10, !8, i64 11, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16}
!26 = !{!"short", !8, i64 0}
!27 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !8, i64 40, !17, i64 552, !17, i64 584, !17, i64 616, !8, i64 648, !8, i64 649, !8, i64 650, !8, i64 651, !8, i64 652}
!28 = !{!"_IP6_CONFIG_INSTANCE", !7, i64 0, !8, i64 4, !13, i64 8, !26, i64 24, !29, i64 32, !17, i64 168, !7, i64 176, !30, i64 180, !8, i64 184, !14, i64 800, !14, i64 840, !31, i64 880, !11, i64 912, !11, i64 920, !11, i64 928, !11, i64 936, !8, i64 944, !7, i64 948, !11, i64 952, !7, i64 960, !11, i64 968, !7, i64 976, !32, i64 984, !34, i64 1040}
!29 = !{!"", !8, i64 0, !8, i64 64, !7, i64 68, !17, i64 72, !7, i64 104, !11, i64 112, !7, i64 120, !11, i64 128}
!30 = !{!"", !7, i64 0}
!31 = !{!"_EFI_IP6_CONFIG_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!32 = !{!"_IP6_FORM_CALLBACK_INFO", !7, i64 0, !11, i64 8, !33, i64 16, !11, i64 40, !11, i64 48}
!33 = !{!"_EFI_HII_CONFIG_ACCESS_PROTOCOL", !11, i64 0, !11, i64 8, !11, i64 16}
!34 = !{!"", !7, i64 0, !30, i64 4, !17, i64 8, !13, i64 16, !7, i64 32, !13, i64 40, !7, i64 56, !13, i64 64, !7, i64 80}
!35 = !{!11, !11, i64 0}
!36 = !{!37, !11, i64 24}
!37 = !{!"", !38, i64 0, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !11, i64 296, !11, i64 304, !11, i64 312, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368}
!38 = !{!"", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!39 = !{!6, !12, i64 88}
!40 = !{!8, !8, i64 0}
!41 = !{!16, !8, i64 0}
!42 = !{!43, !8, i64 6}
!43 = !{!"_EFI_IP6_HEADER", !8, i64 0, !8, i64 0, !8, i64 1, !8, i64 1, !26, i64 2, !26, i64 4, !8, i64 6, !8, i64 7, !17, i64 8, !17, i64 24}
!44 = !{!45, !7, i64 24}
!45 = !{!"_EFI_IP6_TRANSMIT_DATA", !17, i64 0, !11, i64 16, !7, i64 24, !11, i64 32, !8, i64 40, !7, i64 44, !7, i64 48, !8, i64 56}
!46 = !{!45, !8, i64 40}
!47 = !{!45, !11, i64 16}
!48 = !{!49, !8, i64 0}
!49 = !{!"_EFI_IP6_OVERRIDE_DATA", !8, i64 0, !8, i64 1, !7, i64 4}
!50 = !{!49, !8, i64 1}
!51 = !{!43, !8, i64 7}
!52 = !{!16, !8, i64 37}
!53 = !{!7, !7, i64 0}
!54 = !{!45, !7, i64 44}
!55 = !{!43, !26, i64 4}
!56 = !{!57, !11, i64 0}
!57 = !{!"", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !12, i64 40}
!58 = !{!57, !11, i64 8}
!59 = !{!57, !8, i64 32}
!60 = !{!16, !7, i64 48}
!61 = !{!57, !12, i64 40}
!62 = !{!45, !7, i64 48}
!63 = !{!57, !11, i64 24}
!64 = !{!23, !12, i64 8}
!65 = !{!45, !11, i64 32}
!66 = !{!37, !11, i64 32}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass