; LLVM IR from whoiswelliton/Computer_Engineering_UTFPR-PB :: Embedded_Systems/TIVA Connected TM4C1294XL Projects/01 - lwIP_HTTPServer_on_TIVA (connect)

; 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.tcp_pcb = type { %struct.ip4_addr, %struct.ip4_addr, i8, i8, i8, i8, ptr, ptr, i32, i8, i16, i16, i16, i8, i8, i8, i32, i32, i16, i16, i32, i16, i16, i32, i32, i16, i16, i16, i8, i8, i32, i16, i16, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i8, i8, i8, i8 }
%struct.ip4_addr = type { i32 }
%struct.netif = type { ptr, %struct.ip4_addr, %struct.ip4_addr, %struct.ip4_addr, ptr, ptr, ptr, ptr, ptr, [1 x ptr], i16, [6 x i8], i8, i8, [2 x i8], i8, i8 }

@tcp_bound_pcbs = external dso_local global ptr, align 8
@tcp_active_pcbs = external dso_local global ptr, align 8
@tcp_pcb_lists = external dso_local constant [4 x ptr], align 16
@.str = external hidden unnamed_addr constant [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [178 x i8], align 1
@tcp_active_pcbs_changed = external dso_local global i8, align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [48 x i8], align 1

declare i32 @printf(ptr noundef, ...) #0

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

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

; Function Attrs: nounwind uwtable
declare hidden zeroext i16 @tcp_new_port() #2

declare void @tcp_timer_needed() #0

declare signext i8 @tcp_output(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local signext i8 @tcp_connect(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2, ptr noundef %3) #2 {
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i16, align 2
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i16, align 2
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i16 %2, ptr %8, align 2, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #3
  br label %19

19:                                               ; preds = %4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %27, label %22

22:                                               ; preds = %19
  br label %23

23:                                               ; preds = %22
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.15, i32 noundef 1077, ptr noundef @.str.2)
  br label %25

25:                                               ; preds = %23
  br label %26

26:                                               ; preds = %25
  store i8 -16, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %321

27:                                               ; preds = %19
  br label %28

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28
  br label %30

30:                                               ; preds = %29
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %38, label %33

33:                                               ; preds = %30
  br label %34

34:                                               ; preds = %33
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.16, i32 noundef 1078, ptr noundef @.str.2)
  br label %36

36:                                               ; preds = %34
  br label %37

37:                                               ; preds = %36
  store i8 -16, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %321

38:                                               ; preds = %30
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.tcp_pcb, ptr %42, i32 0, i32 8
  %44 = load i32, ptr %43, align 8, !tbaa !11
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %51, label %46

46:                                               ; preds = %41
  br label %47

47:                                               ; preds = %46
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.17, i32 noundef 1080, ptr noundef @.str.2)
  br label %49

49:                                               ; preds = %47
  br label %50

50:                                               ; preds = %49
  store i8 -10, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %321

51:                                               ; preds = %41
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = icmp eq ptr %54, null
  br i1 %55, label %56, label %57

56:                                               ; preds = %53
  br label %61

57:                                               ; preds = %53
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ip4_addr, ptr %58, i32 0, i32 0
  %60 = load i32, ptr %59, align 4, !tbaa !15
  br label %61

61:                                               ; preds = %57, %56
  %62 = phi i32 [ 0, %56 ], [ %60, %57 ]
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.tcp_pcb, ptr %63, i32 0, i32 1
  %65 = getelementptr inbounds %struct.ip4_addr, ptr %64, i32 0, i32 0
  store i32 %62, ptr %65, align 4, !tbaa !16
  %66 = load i16, ptr %8, align 2, !tbaa !9
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.tcp_pcb, ptr %67, i32 0, i32 11
  store i16 %66, ptr %68, align 8, !tbaa !17
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.tcp_pcb, ptr %69, i32 0, i32 2
  %71 = load i8, ptr %70, align 8, !tbaa !18
  %72 = zext i8 %71 to i32
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %79

74:                                               ; preds = %61
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.tcp_pcb, ptr %75, i32 0, i32 2
  %77 = load i8, ptr %76, align 8, !tbaa !18
  %78 = call ptr @netif_get_by_index(i8 noundef zeroext %77)
  store ptr %78, ptr %10, align 8, !tbaa !5
  br label %83

79:                                               ; preds = %61
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.tcp_pcb, ptr %80, i32 0, i32 1
  %82 = call ptr @ip4_route(ptr noundef %81)
  store ptr %82, ptr %10, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %79, %74
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = icmp eq ptr %84, null
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  store i8 -4, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %321

87:                                               ; preds = %83
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.tcp_pcb, ptr %88, i32 0, i32 0
  %90 = icmp eq ptr %89, null
  br i1 %90, label %97, label %91

91:                                               ; preds = %87
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.tcp_pcb, ptr %92, i32 0, i32 0
  %94 = getelementptr inbounds %struct.ip4_addr, ptr %93, i32 0, i32 0
  %95 = load i32, ptr %94, align 8, !tbaa !19
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %119

97:                                               ; preds = %91, %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %100, label %103

100:                                              ; preds = %97
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.netif, ptr %101, i32 0, i32 1
  br label %104

103:                                              ; preds = %97
  br label %104

104:                                              ; preds = %103, %100
  %105 = phi ptr [ %102, %100 ], [ null, %103 ]
  store ptr %105, ptr %15, align 8, !tbaa !5
  %106 = load ptr, ptr %15, align 8, !tbaa !5
  %107 = icmp eq ptr %106, null
  br i1 %107, label %108, label %109

108:                                              ; preds = %104
  store i8 -4, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %116

109:                                              ; preds = %104
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ip4_addr, ptr %110, i32 0, i32 0
  %112 = load i32, ptr %111, align 4, !tbaa !15
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.tcp_pcb, ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds %struct.ip4_addr, ptr %114, i32 0, i32 0
  store i32 %112, ptr %115, align 8, !tbaa !19
  store i32 0, ptr %14, align 4
  br label %116

116:                                              ; preds = %109, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  %117 = load i32, ptr %14, align 4
  switch i32 %117, label %321 [
    i32 0, label %118
  ]

118:                                              ; preds = %116
  br label %119

119:                                              ; preds = %118, %91
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.tcp_pcb, ptr %120, i32 0, i32 10
  %122 = load i16, ptr %121, align 2, !tbaa !20
  store i16 %122, ptr %13, align 2, !tbaa !9
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.tcp_pcb, ptr %123, i32 0, i32 10
  %125 = load i16, ptr %124, align 2, !tbaa !20
  %126 = zext i16 %125 to i32
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %139

128:                                              ; preds = %119
  %129 = call zeroext i16 @tcp_new_port()
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.tcp_pcb, ptr %130, i32 0, i32 10
  store i16 %129, ptr %131, align 2, !tbaa !20
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.tcp_pcb, ptr %132, i32 0, i32 10
  %134 = load i16, ptr %133, align 2, !tbaa !20
  %135 = zext i16 %134 to i32
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %128
  store i8 -2, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %321

138:                                              ; preds = %128
  br label %211

139:                                              ; preds = %119
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.tcp_pcb, ptr %140, i32 0, i32 3
  %142 = load i8, ptr %141, align 1, !tbaa !21
  %143 = zext i8 %142 to i32
  %144 = and i32 %143, 4
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %210

146:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 2, ptr %17, align 4, !tbaa !22
  br label %147

147:                                              ; preds = %203, %146
  %148 = load i32, ptr %17, align 4, !tbaa !22
  %149 = icmp slt i32 %148, 4
  br i1 %149, label %150, label %206

150:                                              ; preds = %147
  %151 = load i32, ptr %17, align 4, !tbaa !22
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [4 x ptr], ptr @tcp_pcb_lists, i64 0, i64 %152
  %154 = load ptr, ptr %153, align 8, !tbaa !5
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  store ptr %155, ptr %16, align 8, !tbaa !5
  br label %156

156:                                              ; preds = %198, %150
  %157 = load ptr, ptr %16, align 8, !tbaa !5
  %158 = icmp ne ptr %157, null
  br i1 %158, label %159, label %202

159:                                              ; preds = %156
  %160 = load ptr, ptr %16, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.tcp_pcb, ptr %160, i32 0, i32 10
  %162 = load i16, ptr %161, align 2, !tbaa !20
  %163 = zext i16 %162 to i32
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.tcp_pcb, ptr %164, i32 0, i32 10
  %166 = load i16, ptr %165, align 2, !tbaa !20
  %167 = zext i16 %166 to i32
  %168 = icmp eq i32 %163, %167
  br i1 %168, label %169, label %197

169:                                              ; preds = %159
  %170 = load ptr, ptr %16, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.tcp_pcb, ptr %170, i32 0, i32 11
  %172 = load i16, ptr %171, align 8, !tbaa !17
  %173 = zext i16 %172 to i32
  %174 = load i16, ptr %8, align 2, !tbaa !9
  %175 = zext i16 %174 to i32
  %176 = icmp eq i32 %173, %175
  br i1 %176, label %177, label %197

177:                                              ; preds = %169
  %178 = load ptr, ptr %16, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.tcp_pcb, ptr %178, i32 0, i32 0
  %180 = getelementptr inbounds %struct.ip4_addr, ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 8, !tbaa !19
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.tcp_pcb, ptr %182, i32 0, i32 0
  %184 = getelementptr inbounds %struct.ip4_addr, ptr %183, i32 0, i32 0
  %185 = load i32, ptr %184, align 8, !tbaa !19
  %186 = icmp eq i32 %181, %185
  br i1 %186, label %187, label %197

187:                                              ; preds = %177
  %188 = load ptr, ptr %16, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.tcp_pcb, ptr %188, i32 0, i32 1
  %190 = getelementptr inbounds %struct.ip4_addr, ptr %189, i32 0, i32 0
  %191 = load i32, ptr %190, align 4, !tbaa !16
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.ip4_addr, ptr %192, i32 0, i32 0
  %194 = load i32, ptr %193, align 4, !tbaa !15
  %195 = icmp eq i32 %191, %194
  br i1 %195, label %196, label %197

196:                                              ; preds = %187
  store i8 -8, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %207

197:                                              ; preds = %187, %177, %169, %159
  br label %198

198:                                              ; preds = %197
  %199 = load ptr, ptr %16, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.tcp_pcb, ptr %199, i32 0, i32 6
  %201 = load ptr, ptr %200, align 8, !tbaa !23
  store ptr %201, ptr %16, align 8, !tbaa !5
  br label %156, !llvm.loop !24

202:                                              ; preds = %156
  br label %203

203:                                              ; preds = %202
  %204 = load i32, ptr %17, align 4, !tbaa !22
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %17, align 4, !tbaa !22
  br label %147, !llvm.loop !26

206:                                              ; preds = %147
  store i32 0, ptr %14, align 4
  br label %207

207:                                              ; preds = %206, %196
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  %208 = load i32, ptr %14, align 4
  switch i32 %208, label %321 [
    i32 0, label %209
  ]

209:                                              ; preds = %207
  br label %210

210:                                              ; preds = %209, %139
  br label %211

211:                                              ; preds = %210, %138
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = call i32 @tcp_next_iss(ptr noundef %212)
  store i32 %213, ptr %12, align 4, !tbaa !22
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.tcp_pcb, ptr %214, i32 0, i32 17
  store i32 0, ptr %215, align 4, !tbaa !27
  %216 = load i32, ptr %12, align 4, !tbaa !22
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.tcp_pcb, ptr %217, i32 0, i32 34
  store i32 %216, ptr %218, align 8, !tbaa !28
  %219 = load i32, ptr %12, align 4, !tbaa !22
  %220 = sub i32 %219, 1
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.tcp_pcb, ptr %221, i32 0, i32 30
  store i32 %220, ptr %222, align 4, !tbaa !29
  %223 = load i32, ptr %12, align 4, !tbaa !22
  %224 = sub i32 %223, 1
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.tcp_pcb, ptr %225, i32 0, i32 36
  store i32 %224, ptr %226, align 8, !tbaa !30
  %227 = load i32, ptr %12, align 4, !tbaa !22
  %228 = sub i32 %227, 1
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.tcp_pcb, ptr %229, i32 0, i32 37
  store i32 %228, ptr %230, align 4, !tbaa !31
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.tcp_pcb, ptr %231, i32 0, i32 19
  store i16 2920, ptr %232, align 2, !tbaa !32
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.tcp_pcb, ptr %233, i32 0, i32 18
  store i16 2920, ptr %234, align 8, !tbaa !33
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.tcp_pcb, ptr %235, i32 0, i32 17
  %237 = load i32, ptr %236, align 4, !tbaa !27
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.tcp_pcb, ptr %238, i32 0, i32 20
  store i32 %237, ptr %239, align 4, !tbaa !34
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.tcp_pcb, ptr %240, i32 0, i32 38
  store i16 2920, ptr %241, align 8, !tbaa !35
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.tcp_pcb, ptr %242, i32 0, i32 22
  store i16 536, ptr %243, align 2, !tbaa !36
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.tcp_pcb, ptr %244, i32 0, i32 22
  %246 = load i16, ptr %245, align 2, !tbaa !36
  %247 = load ptr, ptr %10, align 8, !tbaa !5
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.tcp_pcb, ptr %248, i32 0, i32 1
  %250 = call zeroext i16 @tcp_eff_send_mss_netif(i16 noundef zeroext %246, ptr noundef %247, ptr noundef %249)
  %251 = load ptr, ptr %6, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.tcp_pcb, ptr %251, i32 0, i32 22
  store i16 %250, ptr %252, align 2, !tbaa !36
  %253 = load ptr, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.tcp_pcb, ptr %253, i32 0, i32 31
  store i16 1, ptr %254, align 8, !tbaa !37
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.tcp_pcb, ptr %256, i32 0, i32 50
  store ptr %255, ptr %257, align 8, !tbaa !38
  %258 = load ptr, ptr %6, align 8, !tbaa !5
  %259 = call signext i8 @tcp_enqueue_flags(ptr noundef %258, i8 noundef zeroext 2)
  store i8 %259, ptr %11, align 1, !tbaa !39
  %260 = load i8, ptr %11, align 1, !tbaa !39
  %261 = sext i8 %260 to i32
  %262 = icmp eq i32 %261, 0
  br i1 %262, label %263, label %319

263:                                              ; preds = %211
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.tcp_pcb, ptr %264, i32 0, i32 8
  store i32 2, ptr %265, align 8, !tbaa !11
  %266 = load i16, ptr %13, align 2, !tbaa !9
  %267 = zext i16 %266 to i32
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %306

269:                                              ; preds = %263
  br label %270

270:                                              ; preds = %269
  %271 = load ptr, ptr @tcp_bound_pcbs, align 8, !tbaa !5
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = icmp eq ptr %271, %272
  br i1 %273, label %274, label %278

274:                                              ; preds = %270
  %275 = load ptr, ptr @tcp_bound_pcbs, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.tcp_pcb, ptr %275, i32 0, i32 6
  %277 = load ptr, ptr %276, align 8, !tbaa !23
  store ptr %277, ptr @tcp_bound_pcbs, align 8, !tbaa !5
  br label %301

278:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %279 = load ptr, ptr @tcp_bound_pcbs, align 8, !tbaa !5
  store ptr %279, ptr %18, align 8, !tbaa !5
  br label %280

280:                                              ; preds = %296, %278
  %281 = load ptr, ptr %18, align 8, !tbaa !5
  %282 = icmp ne ptr %281, null
  br i1 %282, label %283, label %300

283:                                              ; preds = %280
  %284 = load ptr, ptr %18, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.tcp_pcb, ptr %284, i32 0, i32 6
  %286 = load ptr, ptr %285, align 8, !tbaa !23
  %287 = load ptr, ptr %6, align 8, !tbaa !5
  %288 = icmp eq ptr %286, %287
  br i1 %288, label %289, label %295

289:                                              ; preds = %283
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.tcp_pcb, ptr %290, i32 0, i32 6
  %292 = load ptr, ptr %291, align 8, !tbaa !23
  %293 = load ptr, ptr %18, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.tcp_pcb, ptr %293, i32 0, i32 6
  store ptr %292, ptr %294, align 8, !tbaa !23
  br label %300

295:                                              ; preds = %283
  br label %296

296:                                              ; preds = %295
  %297 = load ptr, ptr %18, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.tcp_pcb, ptr %297, i32 0, i32 6
  %299 = load ptr, ptr %298, align 8, !tbaa !23
  store ptr %299, ptr %18, align 8, !tbaa !5
  br label %280, !llvm.loop !40

300:                                              ; preds = %289, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br label %301

301:                                              ; preds = %300, %274
  %302 = load ptr, ptr %6, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.tcp_pcb, ptr %302, i32 0, i32 6
  store ptr null, ptr %303, align 8, !tbaa !23
  br label %304

304:                                              ; preds = %301
  br label %305

305:                                              ; preds = %304
  br label %306

306:                                              ; preds = %305, %263
  br label %307

307:                                              ; preds = %306
  br label %308

308:                                              ; preds = %307
  %309 = load ptr, ptr @tcp_active_pcbs, align 8, !tbaa !5
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.tcp_pcb, ptr %310, i32 0, i32 6
  store ptr %309, ptr %311, align 8, !tbaa !23
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %312, ptr @tcp_active_pcbs, align 8, !tbaa !5
  call void @tcp_timer_needed()
  br label %313

313:                                              ; preds = %308
  br label %314

314:                                              ; preds = %313
  store i8 1, ptr @tcp_active_pcbs_changed, align 1, !tbaa !39
  br label %315

315:                                              ; preds = %314
  br label %316

316:                                              ; preds = %315
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = call signext i8 @tcp_output(ptr noundef %317)
  br label %319

319:                                              ; preds = %316, %211
  %320 = load i8, ptr %11, align 1, !tbaa !39
  store i8 %320, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %321

321:                                              ; preds = %319, %207, %137, %116, %86, %50, %37, %26
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %322 = load i8, ptr %5, align 1
  ret i8 %322
}

declare ptr @netif_get_by_index(i8 noundef zeroext) #0

declare ptr @ip4_route(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @tcp_next_iss(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local zeroext i16 @tcp_eff_send_mss_netif(i16 noundef zeroext, ptr noundef, ptr noundef) #2

declare signext i8 @tcp_enqueue_flags(ptr noundef, i8 noundef zeroext) #0

attributes #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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !14, i64 32}
!12 = !{!"tcp_pcb", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !6, i64 16, !6, i64 24, !14, i64 32, !7, i64 36, !10, i64 38, !10, i64 40, !10, i64 42, !7, i64 44, !7, i64 45, !7, i64 46, !14, i64 48, !14, i64 52, !10, i64 56, !10, i64 58, !14, i64 60, !10, i64 64, !10, i64 66, !14, i64 68, !14, i64 72, !10, i64 76, !10, i64 78, !10, i64 80, !7, i64 82, !7, i64 83, !14, i64 84, !10, i64 88, !10, i64 90, !14, i64 92, !14, i64 96, !14, i64 100, !14, i64 104, !14, i64 108, !10, i64 112, !10, i64 114, !10, i64 116, !10, i64 118, !10, i64 120, !10, i64 122, !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, !14, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !7, i64 207}
!13 = !{!"ip4_addr", !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !14, i64 0}
!16 = !{!12, !14, i64 4}
!17 = !{!12, !10, i64 40}
!18 = !{!12, !7, i64 8}
!19 = !{!12, !14, i64 0}
!20 = !{!12, !10, i64 38}
!21 = !{!12, !7, i64 9}
!22 = !{!14, !14, i64 0}
!23 = !{!12, !6, i64 16}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!12, !14, i64 52}
!28 = !{!12, !14, i64 96}
!29 = !{!12, !14, i64 84}
!30 = !{!12, !14, i64 104}
!31 = !{!12, !14, i64 108}
!32 = !{!12, !10, i64 58}
!33 = !{!12, !10, i64 56}
!34 = !{!12, !14, i64 60}
!35 = !{!12, !10, i64 112}
!36 = !{!12, !10, i64 66}
!37 = !{!12, !10, i64 88}
!38 = !{!12, !6, i64 176}
!39 = !{!7, !7, i64 0}
!40 = distinct !{!40, !25}


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

@tcp_bound_pcbs = external dso_local local_unnamed_addr global ptr, align 8
@tcp_active_pcbs = external dso_local local_unnamed_addr global ptr, align 8
@tcp_pcb_lists = external dso_local local_unnamed_addr constant [4 x ptr], align 16
@.str = external hidden unnamed_addr constant [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [178 x i8], align 1
@tcp_active_pcbs_changed = external dso_local local_unnamed_addr global i8, align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden zeroext i16 @tcp_new_port() local_unnamed_addr #1

declare void @tcp_timer_needed() local_unnamed_addr #2

declare signext i8 @tcp_output(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local signext i8 @tcp_connect(ptr noundef %0, ptr noundef readonly %1, i16 noundef zeroext %2, ptr noundef %3) local_unnamed_addr #1 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %5, label %7

5:                                                ; preds = %4
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull @.str.15, i32 noundef 1077, ptr noundef nonnull @.str.2)
  br label %.loopexit101

7:                                                ; preds = %4
  %.not89 = icmp eq ptr %1, null
  br i1 %.not89, label %8, label %10

8:                                                ; preds = %7
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull @.str.16, i32 noundef 1078, ptr noundef nonnull @.str.2)
  br label %.loopexit101

10:                                               ; preds = %7
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load i32, ptr %11, align 8, !tbaa !5
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %16, label %14

14:                                               ; preds = %10
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull @.str.17, i32 noundef 1080, ptr noundef nonnull @.str.2)
  br label %.loopexit101

16:                                               ; preds = %10
  %17 = load i32, ptr %1, align 4, !tbaa !13
  %18 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 %17, ptr %18, align 4, !tbaa !14
  %19 = getelementptr inbounds i8, ptr %0, i64 40
  store i16 %2, ptr %19, align 8, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = load i8, ptr %20, align 8, !tbaa !16
  %.not90 = icmp eq i8 %21, 0
  br i1 %.not90, label %24, label %22

22:                                               ; preds = %16
  %23 = tail call ptr @netif_get_by_index(i8 noundef zeroext %21) #3
  br label %26

24:                                               ; preds = %16
  %25 = tail call ptr @ip4_route(ptr noundef nonnull %18) #3
  br label %26

26:                                               ; preds = %24, %22
  %.084 = phi ptr [ %23, %22 ], [ %25, %24 ]
  %27 = icmp eq ptr %.084, null
  br i1 %27, label %.loopexit101, label %28

28:                                               ; preds = %26
  %29 = load i32, ptr %0, align 8, !tbaa !17
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %34

31:                                               ; preds = %28
  %32 = getelementptr inbounds i8, ptr %.084, i64 8
  %33 = load i32, ptr %32, align 4, !tbaa !13
  store i32 %33, ptr %0, align 8, !tbaa !17
  br label %34

34:                                               ; preds = %31, %28
  %35 = phi i32 [ %33, %31 ], [ %29, %28 ]
  %36 = getelementptr inbounds i8, ptr %0, i64 38
  %37 = load i16, ptr %36, align 2, !tbaa !18
  %38 = icmp eq i16 %37, 0
  br i1 %38, label %39, label %42

39:                                               ; preds = %34
  %40 = tail call zeroext i16 @tcp_new_port()
  store i16 %40, ptr %36, align 2, !tbaa !18
  %41 = icmp eq i16 %40, 0
  br i1 %41, label %.loopexit101, label %.thread

42:                                               ; preds = %34
  %43 = getelementptr inbounds i8, ptr %0, i64 9
  %44 = load i8, ptr %43, align 1, !tbaa !19
  %45 = and i8 %44, 4
  %.not91 = icmp eq i8 %45, 0
  br i1 %.not91, label %.thread, label %.preheader96.preheader

.preheader96.preheader:                           ; preds = %42
  %46 = load ptr, ptr getelementptr inbounds (i8, ptr @tcp_pcb_lists, i64 16), align 16, !tbaa !20
  %.08097 = load ptr, ptr %46, align 8, !tbaa !20
  %.not9298 = icmp eq ptr %.08097, null
  br i1 %.not9298, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader96.preheader, %62
  %.08099 = phi ptr [ %.080, %62 ], [ %.08097, %.preheader96.preheader ]
  %47 = getelementptr inbounds i8, ptr %.08099, i64 38
  %48 = load i16, ptr %47, align 2, !tbaa !18
  %49 = icmp eq i16 %48, %37
  br i1 %49, label %50, label %62

50:                                               ; preds = %.lr.ph
  %51 = getelementptr inbounds i8, ptr %.08099, i64 40
  %52 = load i16, ptr %51, align 8, !tbaa !15
  %53 = icmp eq i16 %52, %2
  br i1 %53, label %54, label %62

54:                                               ; preds = %50
  %55 = load i32, ptr %.08099, align 8, !tbaa !17
  %56 = icmp eq i32 %55, %35
  br i1 %56, label %57, label %62

57:                                               ; preds = %54
  %58 = getelementptr inbounds i8, ptr %.08099, i64 4
  %59 = load i32, ptr %58, align 4, !tbaa !14
  %60 = load i32, ptr %1, align 4, !tbaa !13
  %61 = icmp eq i32 %59, %60
  br i1 %61, label %.loopexit101, label %62

62:                                               ; preds = %.lr.ph, %50, %54, %57
  %63 = getelementptr inbounds i8, ptr %.08099, i64 16
  %.080 = load ptr, ptr %63, align 8, !tbaa !20
  %.not92 = icmp eq ptr %.080, null
  br i1 %.not92, label %._crit_edge, label %.lr.ph, !llvm.loop !21

._crit_edge:                                      ; preds = %62, %.preheader96.preheader
  %64 = load ptr, ptr getelementptr inbounds (i8, ptr @tcp_pcb_lists, i64 24), align 8, !tbaa !20
  %.08097.1 = load ptr, ptr %64, align 8, !tbaa !20
  %.not9298.1 = icmp eq ptr %.08097.1, null
  br i1 %.not9298.1, label %.thread, label %.lr.ph.1

.lr.ph.1:                                         ; preds = %._crit_edge, %80
  %.08099.1 = phi ptr [ %.080.1, %80 ], [ %.08097.1, %._crit_edge ]
  %65 = getelementptr inbounds i8, ptr %.08099.1, i64 38
  %66 = load i16, ptr %65, align 2, !tbaa !18
  %67 = icmp eq i16 %66, %37
  br i1 %67, label %68, label %80

68:                                               ; preds = %.lr.ph.1
  %69 = getelementptr inbounds i8, ptr %.08099.1, i64 40
  %70 = load i16, ptr %69, align 8, !tbaa !15
  %71 = icmp eq i16 %70, %2
  br i1 %71, label %72, label %80

72:                                               ; preds = %68
  %73 = load i32, ptr %.08099.1, align 8, !tbaa !17
  %74 = icmp eq i32 %73, %35
  br i1 %74, label %75, label %80

75:                                               ; preds = %72
  %76 = getelementptr inbounds i8, ptr %.08099.1, i64 4
  %77 = load i32, ptr %76, align 4, !tbaa !14
  %78 = load i32, ptr %1, align 4, !tbaa !13
  %79 = icmp eq i32 %77, %78
  br i1 %79, label %.loopexit101, label %80

80:                                               ; preds = %75, %72, %68, %.lr.ph.1
  %81 = getelementptr inbounds i8, ptr %.08099.1, i64 16
  %.080.1 = load ptr, ptr %81, align 8, !tbaa !20
  %.not92.1 = icmp eq ptr %.080.1, null
  br i1 %.not92.1, label %.thread, label %.lr.ph.1, !llvm.loop !21

.thread:                                          ; preds = %80, %._crit_edge, %42, %39
  %82 = tail call i32 @tcp_next_iss(ptr noundef %0)
  %83 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 0, ptr %83, align 4, !tbaa !23
  %84 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %82, ptr %84, align 8, !tbaa !24
  %85 = add i32 %82, -1
  %86 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 %85, ptr %86, align 4, !tbaa !25
  %87 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 %85, ptr %87, align 8, !tbaa !26
  %88 = getelementptr inbounds i8, ptr %0, i64 108
  store i32 %85, ptr %88, align 4, !tbaa !27
  %89 = getelementptr inbounds i8, ptr %0, i64 58
  store i16 2920, ptr %89, align 2, !tbaa !28
  %90 = getelementptr inbounds i8, ptr %0, i64 56
  store i16 2920, ptr %90, align 8, !tbaa !29
  %91 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 0, ptr %91, align 4, !tbaa !30
  %92 = getelementptr inbounds i8, ptr %0, i64 112
  store i16 2920, ptr %92, align 8, !tbaa !31
  %93 = getelementptr inbounds i8, ptr %0, i64 66
  store i16 536, ptr %93, align 2, !tbaa !32
  %94 = tail call zeroext i16 @tcp_eff_send_mss_netif(i16 noundef zeroext 536, ptr noundef nonnull %.084, ptr noundef nonnull %18)
  store i16 %94, ptr %93, align 2, !tbaa !32
  %95 = getelementptr inbounds i8, ptr %0, i64 88
  store i16 1, ptr %95, align 8, !tbaa !33
  %96 = getelementptr inbounds i8, ptr %0, i64 176
  store ptr %3, ptr %96, align 8, !tbaa !34
  %97 = tail call signext i8 @tcp_enqueue_flags(ptr noundef %0, i8 noundef zeroext 2) #3
  %98 = icmp eq i8 %97, 0
  br i1 %98, label %99, label %.loopexit101

99:                                               ; preds = %.thread
  store i32 2, ptr %11, align 8, !tbaa !5
  br i1 %38, label %.loopexit, label %100

100:                                              ; preds = %99
  %101 = load ptr, ptr @tcp_bound_pcbs, align 8, !tbaa !20
  %102 = icmp eq ptr %101, %0
  br i1 %102, label %.loopexit.sink.split, label %.preheader

.preheader:                                       ; preds = %100, %103
  %.0 = phi ptr [ %105, %103 ], [ %101, %100 ]
  %.not94 = icmp eq ptr %.0, null
  br i1 %.not94, label %.loopexit, label %103

103:                                              ; preds = %.preheader
  %104 = getelementptr inbounds i8, ptr %.0, i64 16
  %105 = load ptr, ptr %104, align 8, !tbaa !35
  %106 = icmp eq ptr %105, %0
  br i1 %106, label %107, label %.preheader, !llvm.loop !36

107:                                              ; preds = %103
  %108 = getelementptr inbounds i8, ptr %.0, i64 16
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %100, %107
  %.sink = phi ptr [ %0, %107 ], [ %101, %100 ]
  %.sink106 = phi ptr [ %108, %107 ], [ @tcp_bound_pcbs, %100 ]
  %109 = getelementptr inbounds i8, ptr %.sink, i64 16
  %110 = load ptr, ptr %109, align 8, !tbaa !35
  store ptr %110, ptr %.sink106, align 8, !tbaa !20
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader, %.loopexit.sink.split, %99
  %111 = load ptr, ptr @tcp_active_pcbs, align 8, !tbaa !20
  %112 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %111, ptr %112, align 8, !tbaa !35
  store ptr %0, ptr @tcp_active_pcbs, align 8, !tbaa !20
  tail call void @tcp_timer_needed() #3
  store i8 1, ptr @tcp_active_pcbs_changed, align 1, !tbaa !37
  %113 = tail call signext i8 @tcp_output(ptr noundef nonnull %0) #3
  br label %.loopexit101

.loopexit101:                                     ; preds = %57, %75, %.thread, %.loopexit, %39, %26, %14, %8, %5
  %.3 = phi i8 [ -10, %14 ], [ -16, %8 ], [ -16, %5 ], [ -4, %26 ], [ -2, %39 ], [ 0, %.loopexit ], [ %97, %.thread ], [ -8, %75 ], [ -8, %57 ]
  ret i8 %.3
}

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

declare ptr @ip4_route(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @tcp_next_iss(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i16 @tcp_eff_send_mss_netif(i16 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #1

declare signext i8 @tcp_enqueue_flags(ptr noundef, i8 noundef zeroext) local_unnamed_addr #2

attributes #0 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #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, !8, i64 32}
!6 = !{!"tcp_pcb", !7, i64 0, !7, i64 4, !9, i64 8, !9, i64 9, !9, i64 10, !9, i64 11, !11, i64 16, !11, i64 24, !8, i64 32, !9, i64 36, !12, i64 38, !12, i64 40, !12, i64 42, !9, i64 44, !9, i64 45, !9, i64 46, !8, i64 48, !8, i64 52, !12, i64 56, !12, i64 58, !8, i64 60, !12, i64 64, !12, i64 66, !8, i64 68, !8, i64 72, !12, i64 76, !12, i64 78, !12, i64 80, !9, i64 82, !9, i64 83, !8, i64 84, !12, i64 88, !12, i64 90, !8, i64 92, !8, i64 96, !8, i64 100, !8, i64 104, !8, i64 108, !12, i64 112, !12, i64 114, !12, i64 116, !12, i64 118, !12, i64 120, !12, i64 122, !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, !8, i64 200, !9, i64 204, !9, i64 205, !9, i64 206, !9, i64 207}
!7 = !{!"ip4_addr", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"short", !9, i64 0}
!13 = !{!7, !8, i64 0}
!14 = !{!6, !8, i64 4}
!15 = !{!6, !12, i64 40}
!16 = !{!6, !9, i64 8}
!17 = !{!6, !8, i64 0}
!18 = !{!6, !12, i64 38}
!19 = !{!6, !9, i64 9}
!20 = !{!11, !11, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!6, !8, i64 52}
!24 = !{!6, !8, i64 96}
!25 = !{!6, !8, i64 84}
!26 = !{!6, !8, i64 104}
!27 = !{!6, !8, i64 108}
!28 = !{!6, !12, i64 58}
!29 = !{!6, !12, i64 56}
!30 = !{!6, !8, i64 60}
!31 = !{!6, !12, i64 112}
!32 = !{!6, !12, i64 66}
!33 = !{!6, !12, i64 88}
!34 = !{!6, !11, i64 176}
!35 = !{!6, !11, i64 16}
!36 = distinct !{!36, !22}
!37 = !{!9, !9, i64 0}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass