; LLVM IR from hans-ob1/neural_cam_ros :: src/detector (parser)

; 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.network = type { ptr, i32, i32, ptr, float, i32, float, float, ptr, i32, ptr, i32, float, float, float, float, i32, i32, i32, ptr, ptr, i32, i32, i32, float, float, float, i32, i32, i32, i32, i32, i32, float, float, float, float, float, i32, ptr }

@.str.78 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [12 x i8], align 1

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

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

declare i32 @option_find_int(ptr noundef, ptr noundef, i32 noundef) #1

declare ptr @option_find_str(ptr noundef, ptr noundef, ptr noundef) #1

declare void @error(ptr noundef) #1

declare i32 @option_find_int_quiet(ptr noundef, ptr noundef, i32 noundef) #1

declare float @option_find_float_quiet(ptr noundef, ptr noundef, float noundef) #1

declare float @option_find_float(ptr noundef, ptr noundef, float noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #3

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strchr(ptr noundef, i32 noundef) #2

declare ptr @option_find(ptr noundef, ptr noundef) #1

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_policy(ptr noundef) #5

; Function Attrs: nounwind uwtable
define dso_local void @parse_net_options(ptr noundef %0, ptr noundef %1) #5 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call i32 @option_find_int(ptr noundef %16, ptr noundef @.str.108, i32 noundef 1)
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.network, ptr %18, i32 0, i32 2
  store i32 %17, ptr %19, align 4, !tbaa !9
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = call float @option_find_float(ptr noundef %20, ptr noundef @.str.109, float noundef 0x3F50624DE0000000)
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.network, ptr %22, i32 0, i32 12
  store float %21, ptr %23, align 4, !tbaa !13
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = call float @option_find_float(ptr noundef %24, ptr noundef @.str.110, float noundef 0x3FECCCCCC0000000)
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.network, ptr %26, i32 0, i32 6
  store float %25, ptr %27, align 8, !tbaa !14
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = call float @option_find_float(ptr noundef %28, ptr noundef @.str.111, float noundef 0x3F1A36E2E0000000)
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.network, ptr %30, i32 0, i32 7
  store float %29, ptr %31, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = call i32 @option_find_int(ptr noundef %32, ptr noundef @.str.112, i32 noundef 1)
  store i32 %33, ptr %5, align 4, !tbaa !16
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = call i32 @option_find_int_quiet(ptr noundef %34, ptr noundef @.str.113, i32 noundef 1)
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.network, ptr %36, i32 0, i32 16
  store i32 %35, ptr %37, align 4, !tbaa !17
  %38 = load i32, ptr %5, align 4, !tbaa !16
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.network, ptr %39, i32 0, i32 2
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = sdiv i32 %41, %38
  store i32 %42, ptr %40, align 4, !tbaa !9
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.network, ptr %43, i32 0, i32 16
  %45 = load i32, ptr %44, align 4, !tbaa !17
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.network, ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = mul nsw i32 %48, %45
  store i32 %49, ptr %47, align 4, !tbaa !9
  %50 = load i32, ptr %5, align 4, !tbaa !16
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.network, ptr %51, i32 0, i32 5
  store i32 %50, ptr %52, align 4, !tbaa !18
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = call i32 @option_find_int_quiet(ptr noundef %53, ptr noundef @.str.114, i32 noundef 0)
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.network, ptr %55, i32 0, i32 23
  store i32 %54, ptr %56, align 8, !tbaa !19
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.network, ptr %57, i32 0, i32 23
  %59 = load i32, ptr %58, align 8, !tbaa !19
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %74

61:                                               ; preds = %2
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = call float @option_find_float(ptr noundef %62, ptr noundef @.str.115, float noundef 0x3FECCCCCC0000000)
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.network, ptr %64, i32 0, i32 24
  store float %63, ptr %65, align 4, !tbaa !20
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = call float @option_find_float(ptr noundef %66, ptr noundef @.str.116, float noundef 0x3FEFF7CEE0000000)
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.network, ptr %68, i32 0, i32 25
  store float %67, ptr %69, align 8, !tbaa !21
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = call float @option_find_float(ptr noundef %70, ptr noundef @.str.117, float noundef 0x3EB0C6F7A0000000)
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.network, ptr %72, i32 0, i32 26
  store float %71, ptr %73, align 4, !tbaa !22
  br label %74

74:                                               ; preds = %61, %2
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = call i32 @option_find_int_quiet(ptr noundef %75, ptr noundef @.str.118, i32 noundef 0)
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.network, ptr %77, i32 0, i32 28
  store i32 %76, ptr %78, align 4, !tbaa !23
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = call i32 @option_find_int_quiet(ptr noundef %79, ptr noundef @.str.119, i32 noundef 0)
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.network, ptr %81, i32 0, i32 29
  store i32 %80, ptr %82, align 8, !tbaa !24
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = call i32 @option_find_int_quiet(ptr noundef %83, ptr noundef @.str.120, i32 noundef 0)
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.network, ptr %85, i32 0, i32 30
  store i32 %84, ptr %86, align 4, !tbaa !25
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.network, ptr %88, i32 0, i32 28
  %90 = load i32, ptr %89, align 4, !tbaa !23
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.network, ptr %91, i32 0, i32 29
  %93 = load i32, ptr %92, align 8, !tbaa !24
  %94 = mul nsw i32 %90, %93
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.network, ptr %95, i32 0, i32 30
  %97 = load i32, ptr %96, align 4, !tbaa !25
  %98 = mul nsw i32 %94, %97
  %99 = call i32 @option_find_int_quiet(ptr noundef %87, ptr noundef @.str.121, i32 noundef %98)
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.network, ptr %100, i32 0, i32 27
  store i32 %99, ptr %101, align 8, !tbaa !26
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.network, ptr %103, i32 0, i32 29
  %105 = load i32, ptr %104, align 8, !tbaa !24
  %106 = mul nsw i32 %105, 2
  %107 = call i32 @option_find_int_quiet(ptr noundef %102, ptr noundef @.str.122, i32 noundef %106)
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.network, ptr %108, i32 0, i32 31
  store i32 %107, ptr %109, align 8, !tbaa !27
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.network, ptr %111, i32 0, i32 29
  %113 = load i32, ptr %112, align 8, !tbaa !24
  %114 = call i32 @option_find_int_quiet(ptr noundef %110, ptr noundef @.str.123, i32 noundef %113)
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.network, ptr %115, i32 0, i32 32
  store i32 %114, ptr %116, align 4, !tbaa !28
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = call float @option_find_float_quiet(ptr noundef %117, ptr noundef @.str.83, float noundef 0.000000e+00)
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.network, ptr %119, i32 0, i32 33
  store float %118, ptr %120, align 8, !tbaa !29
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = call float @option_find_float_quiet(ptr noundef %121, ptr noundef @.str.124, float noundef 1.000000e+00)
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.network, ptr %123, i32 0, i32 34
  store float %122, ptr %124, align 4, !tbaa !30
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = call float @option_find_float_quiet(ptr noundef %125, ptr noundef @.str.84, float noundef 1.000000e+00)
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.network, ptr %127, i32 0, i32 36
  store float %126, ptr %128, align 4, !tbaa !31
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = call float @option_find_float_quiet(ptr noundef %129, ptr noundef @.str.85, float noundef 1.000000e+00)
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.network, ptr %131, i32 0, i32 35
  store float %130, ptr %132, align 8, !tbaa !32
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = call float @option_find_float_quiet(ptr noundef %133, ptr noundef @.str.125, float noundef 0.000000e+00)
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.network, ptr %135, i32 0, i32 37
  store float %134, ptr %136, align 8, !tbaa !33
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.network, ptr %137, i32 0, i32 27
  %139 = load i32, ptr %138, align 8, !tbaa !26
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %157, label %141

141:                                              ; preds = %74
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.network, ptr %142, i32 0, i32 28
  %144 = load i32, ptr %143, align 4, !tbaa !23
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %156

146:                                              ; preds = %141
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.network, ptr %147, i32 0, i32 29
  %149 = load i32, ptr %148, align 8, !tbaa !24
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %151, label %156

151:                                              ; preds = %146
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.network, ptr %152, i32 0, i32 30
  %154 = load i32, ptr %153, align 4, !tbaa !25
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %157, label %156

156:                                              ; preds = %151, %146, %141
  call void @error(ptr noundef @.str.126)
  br label %157

157:                                              ; preds = %156, %151, %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = call ptr @option_find_str(ptr noundef %158, ptr noundef @.str.127, ptr noundef @.str.102)
  store ptr %159, ptr %6, align 8, !tbaa !5
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = call i32 @get_policy(ptr noundef %160)
  %162 = load ptr, ptr %4, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.network, ptr %162, i32 0, i32 11
  store i32 %161, ptr %163, align 8, !tbaa !34
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = call i32 @option_find_int_quiet(ptr noundef %164, ptr noundef @.str.128, i32 noundef 0)
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.network, ptr %166, i32 0, i32 22
  store i32 %165, ptr %167, align 4, !tbaa !35
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.network, ptr %168, i32 0, i32 11
  %170 = load i32, ptr %169, align 8, !tbaa !34
  %171 = icmp eq i32 %170, 1
  br i1 %171, label %172, label %181

172:                                              ; preds = %157
  %173 = load ptr, ptr %3, align 8, !tbaa !5
  %174 = call i32 @option_find_int(ptr noundef %173, ptr noundef @.str.103, i32 noundef 1)
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.network, ptr %175, i32 0, i32 17
  store i32 %174, ptr %176, align 8, !tbaa !36
  %177 = load ptr, ptr %3, align 8, !tbaa !5
  %178 = call float @option_find_float(ptr noundef %177, ptr noundef @.str.78, float noundef 1.000000e+00)
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.network, ptr %179, i32 0, i32 14
  store float %178, ptr %180, align 4, !tbaa !37
  br label %309

181:                                              ; preds = %157
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.network, ptr %182, i32 0, i32 11
  %184 = load i32, ptr %183, align 8, !tbaa !34
  %185 = icmp eq i32 %184, 4
  br i1 %185, label %186, label %266

186:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = call ptr @option_find(ptr noundef %187, ptr noundef @.str.106)
  store ptr %188, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = call ptr @option_find(ptr noundef %189, ptr noundef @.str.129)
  store ptr %190, ptr %8, align 8, !tbaa !5
  %191 = load ptr, ptr %7, align 8, !tbaa !5
  %192 = icmp ne ptr %191, null
  br i1 %192, label %193, label %196

193:                                              ; preds = %186
  %194 = load ptr, ptr %8, align 8, !tbaa !5
  %195 = icmp ne ptr %194, null
  br i1 %195, label %197, label %196

196:                                              ; preds = %193, %186
  call void @error(ptr noundef @.str.130)
  br label %197

197:                                              ; preds = %196, %193
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = call i64 @strlen(ptr noundef %198) #7
  %200 = trunc i64 %199 to i32
  store i32 %200, ptr %9, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !16
  br label %201

201:                                              ; preds = %217, %197
  %202 = load i32, ptr %11, align 4, !tbaa !16
  %203 = load i32, ptr %9, align 4, !tbaa !16
  %204 = icmp slt i32 %202, %203
  br i1 %204, label %205, label %220

205:                                              ; preds = %201
  %206 = load ptr, ptr %7, align 8, !tbaa !5
  %207 = load i32, ptr %11, align 4, !tbaa !16
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds i8, ptr %206, i64 %208
  %210 = load i8, ptr %209, align 1, !tbaa !38
  %211 = sext i8 %210 to i32
  %212 = icmp eq i32 %211, 44
  br i1 %212, label %213, label %216

213:                                              ; preds = %205
  %214 = load i32, ptr %10, align 4, !tbaa !16
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %10, align 4, !tbaa !16
  br label %216

216:                                              ; preds = %213, %205
  br label %217

217:                                              ; preds = %216
  %218 = load i32, ptr %11, align 4, !tbaa !16
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %11, align 4, !tbaa !16
  br label %201, !llvm.loop !39

220:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %221 = load i32, ptr %10, align 4, !tbaa !16
  %222 = sext i32 %221 to i64
  %223 = call noalias ptr @calloc(i64 noundef %222, i64 noundef 4) #8
  store ptr %223, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %224 = load i32, ptr %10, align 4, !tbaa !16
  %225 = sext i32 %224 to i64
  %226 = call noalias ptr @calloc(i64 noundef %225, i64 noundef 4) #8
  store ptr %226, ptr %13, align 8, !tbaa !5
  store i32 0, ptr %11, align 4, !tbaa !16
  br label %227

227:                                              ; preds = %253, %220
  %228 = load i32, ptr %11, align 4, !tbaa !16
  %229 = load i32, ptr %10, align 4, !tbaa !16
  %230 = icmp slt i32 %228, %229
  br i1 %230, label %231, label %256

231:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = call i32 @atoi(ptr noundef %232) #7
  store i32 %233, ptr %14, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = call double @atof(ptr noundef %234) #7
  %236 = fptrunc double %235 to float
  store float %236, ptr %15, align 4, !tbaa !41
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = call ptr @strchr(ptr noundef %237, i32 noundef 44) #7
  %239 = getelementptr inbounds i8, ptr %238, i64 1
  store ptr %239, ptr %7, align 8, !tbaa !5
  %240 = load ptr, ptr %8, align 8, !tbaa !5
  %241 = call ptr @strchr(ptr noundef %240, i32 noundef 44) #7
  %242 = getelementptr inbounds i8, ptr %241, i64 1
  store ptr %242, ptr %8, align 8, !tbaa !5
  %243 = load i32, ptr %14, align 4, !tbaa !16
  %244 = load ptr, ptr %12, align 8, !tbaa !5
  %245 = load i32, ptr %11, align 4, !tbaa !16
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds i32, ptr %244, i64 %246
  store i32 %243, ptr %247, align 4, !tbaa !16
  %248 = load float, ptr %15, align 4, !tbaa !41
  %249 = load ptr, ptr %13, align 8, !tbaa !5
  %250 = load i32, ptr %11, align 4, !tbaa !16
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds float, ptr %249, i64 %251
  store float %248, ptr %252, align 4, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %253

253:                                              ; preds = %231
  %254 = load i32, ptr %11, align 4, !tbaa !16
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %11, align 4, !tbaa !16
  br label %227, !llvm.loop !42

256:                                              ; preds = %227
  %257 = load ptr, ptr %13, align 8, !tbaa !5
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.network, ptr %258, i32 0, i32 19
  store ptr %257, ptr %259, align 8, !tbaa !43
  %260 = load ptr, ptr %12, align 8, !tbaa !5
  %261 = load ptr, ptr %4, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.network, ptr %261, i32 0, i32 20
  store ptr %260, ptr %262, align 8, !tbaa !44
  %263 = load i32, ptr %10, align 4, !tbaa !16
  %264 = load ptr, ptr %4, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.network, ptr %264, i32 0, i32 21
  store i32 %263, ptr %265, align 8, !tbaa !45
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %308

266:                                              ; preds = %181
  %267 = load ptr, ptr %4, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.network, ptr %267, i32 0, i32 11
  %269 = load i32, ptr %268, align 8, !tbaa !34
  %270 = icmp eq i32 %269, 2
  br i1 %270, label %271, label %276

271:                                              ; preds = %266
  %272 = load ptr, ptr %3, align 8, !tbaa !5
  %273 = call float @option_find_float(ptr noundef %272, ptr noundef @.str.131, float noundef 1.000000e+00)
  %274 = load ptr, ptr %4, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.network, ptr %274, i32 0, i32 13
  store float %273, ptr %275, align 8, !tbaa !46
  br label %307

276:                                              ; preds = %266
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.network, ptr %277, i32 0, i32 11
  %279 = load i32, ptr %278, align 8, !tbaa !34
  %280 = icmp eq i32 %279, 5
  br i1 %280, label %281, label %290

281:                                              ; preds = %276
  %282 = load ptr, ptr %3, align 8, !tbaa !5
  %283 = call float @option_find_float(ptr noundef %282, ptr noundef @.str.131, float noundef 1.000000e+00)
  %284 = load ptr, ptr %4, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.network, ptr %284, i32 0, i32 13
  store float %283, ptr %285, align 8, !tbaa !46
  %286 = load ptr, ptr %3, align 8, !tbaa !5
  %287 = call i32 @option_find_int(ptr noundef %286, ptr noundef @.str.103, i32 noundef 1)
  %288 = load ptr, ptr %4, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.network, ptr %288, i32 0, i32 17
  store i32 %287, ptr %289, align 8, !tbaa !36
  br label %306

290:                                              ; preds = %276
  %291 = load ptr, ptr %4, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.network, ptr %291, i32 0, i32 11
  %293 = load i32, ptr %292, align 8, !tbaa !34
  %294 = icmp eq i32 %293, 3
  br i1 %294, label %300, label %295

295:                                              ; preds = %290
  %296 = load ptr, ptr %4, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.network, ptr %296, i32 0, i32 11
  %298 = load i32, ptr %297, align 8, !tbaa !34
  %299 = icmp eq i32 %298, 6
  br i1 %299, label %300, label %305

300:                                              ; preds = %295, %290
  %301 = load ptr, ptr %3, align 8, !tbaa !5
  %302 = call float @option_find_float(ptr noundef %301, ptr noundef @.str.132, float noundef 1.000000e+00)
  %303 = load ptr, ptr %4, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.network, ptr %303, i32 0, i32 15
  store float %302, ptr %304, align 8, !tbaa !47
  br label %305

305:                                              ; preds = %300, %295
  br label %306

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

307:                                              ; preds = %306, %271
  br label %308

308:                                              ; preds = %307, %256
  br label %309

309:                                              ; preds = %308, %172
  %310 = load ptr, ptr %3, align 8, !tbaa !5
  %311 = call i32 @option_find_int(ptr noundef %310, ptr noundef @.str.133, i32 noundef 0)
  %312 = load ptr, ptr %4, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.network, ptr %312, i32 0, i32 18
  store i32 %311, ptr %313, align 4, !tbaa !48
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "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 = { inlinehint nounwind willreturn memory(read) 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 #4 = { nounwind allocsize(0,1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind allocsize(0,1) }

!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, !11, i64 12}
!10 = !{!"network", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !12, i64 24, !11, i64 28, !12, i64 32, !12, i64 36, !6, i64 40, !11, i64 48, !6, i64 56, !11, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !6, i64 96, !6, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !11, i64 180, !6, i64 184}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!10, !12, i64 68}
!14 = !{!10, !12, i64 32}
!15 = !{!10, !12, i64 36}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !11, i64 84}
!18 = !{!10, !11, i64 28}
!19 = !{!10, !11, i64 120}
!20 = !{!10, !12, i64 124}
!21 = !{!10, !12, i64 128}
!22 = !{!10, !12, i64 132}
!23 = !{!10, !11, i64 140}
!24 = !{!10, !11, i64 144}
!25 = !{!10, !11, i64 148}
!26 = !{!10, !11, i64 136}
!27 = !{!10, !11, i64 152}
!28 = !{!10, !11, i64 156}
!29 = !{!10, !12, i64 160}
!30 = !{!10, !12, i64 164}
!31 = !{!10, !12, i64 172}
!32 = !{!10, !12, i64 168}
!33 = !{!10, !12, i64 176}
!34 = !{!10, !11, i64 64}
!35 = !{!10, !11, i64 116}
!36 = !{!10, !11, i64 88}
!37 = !{!10, !12, i64 76}
!38 = !{!7, !7, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!12, !12, i64 0}
!42 = distinct !{!42, !40}
!43 = !{!10, !6, i64 96}
!44 = !{!10, !6, i64 104}
!45 = !{!10, !11, i64 112}
!46 = !{!10, !12, i64 72}
!47 = !{!10, !12, i64 80}
!48 = !{!10, !11, i64 92}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.78 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [12 x i8], align 1

declare i32 @option_find_int(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare ptr @option_find_str(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @error(ptr noundef) local_unnamed_addr #0

declare i32 @option_find_int_quiet(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare float @option_find_float_quiet(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #0

declare float @option_find_float(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #1

declare ptr @option_find(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
define dso_local void @parse_net_options(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #4 {
  %3 = tail call i32 @option_find_int(ptr noundef %0, ptr noundef nonnull @.str.108, i32 noundef 1) #6
  %4 = getelementptr inbounds i8, ptr %1, i64 12
  store i32 %3, ptr %4, align 4, !tbaa !5
  %5 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.109, float noundef 0x3F50624DE0000000) #6
  %6 = getelementptr inbounds i8, ptr %1, i64 68
  store float %5, ptr %6, align 4, !tbaa !12
  %7 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.110, float noundef 0x3FECCCCCC0000000) #6
  %8 = getelementptr inbounds i8, ptr %1, i64 32
  store float %7, ptr %8, align 8, !tbaa !13
  %9 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.111, float noundef 0x3F1A36E2E0000000) #6
  %10 = getelementptr inbounds i8, ptr %1, i64 36
  store float %9, ptr %10, align 4, !tbaa !14
  %11 = tail call i32 @option_find_int(ptr noundef %0, ptr noundef nonnull @.str.112, i32 noundef 1) #6
  %12 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.113, i32 noundef 1) #6
  %13 = getelementptr inbounds i8, ptr %1, i64 84
  store i32 %12, ptr %13, align 4, !tbaa !15
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = sdiv i32 %14, %11
  %16 = mul nsw i32 %15, %12
  store i32 %16, ptr %4, align 4, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %1, i64 28
  store i32 %11, ptr %17, align 4, !tbaa !16
  %18 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.114, i32 noundef 0) #6
  %19 = getelementptr inbounds i8, ptr %1, i64 120
  store i32 %18, ptr %19, align 8, !tbaa !17
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %27, label %20

20:                                               ; preds = %2
  %21 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.115, float noundef 0x3FECCCCCC0000000) #6
  %22 = getelementptr inbounds i8, ptr %1, i64 124
  store float %21, ptr %22, align 4, !tbaa !18
  %23 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.116, float noundef 0x3FEFF7CEE0000000) #6
  %24 = getelementptr inbounds i8, ptr %1, i64 128
  store float %23, ptr %24, align 8, !tbaa !19
  %25 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.117, float noundef 0x3EB0C6F7A0000000) #6
  %26 = getelementptr inbounds i8, ptr %1, i64 132
  store float %25, ptr %26, align 4, !tbaa !20
  br label %27

27:                                               ; preds = %20, %2
  %28 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.118, i32 noundef 0) #6
  %29 = getelementptr inbounds i8, ptr %1, i64 140
  store i32 %28, ptr %29, align 4, !tbaa !21
  %30 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.119, i32 noundef 0) #6
  %31 = getelementptr inbounds i8, ptr %1, i64 144
  store i32 %30, ptr %31, align 8, !tbaa !22
  %32 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.120, i32 noundef 0) #6
  %33 = getelementptr inbounds i8, ptr %1, i64 148
  store i32 %32, ptr %33, align 4, !tbaa !23
  %34 = load i32, ptr %29, align 4, !tbaa !21
  %35 = load i32, ptr %31, align 8, !tbaa !22
  %36 = mul i32 %34, %32
  %37 = mul i32 %36, %35
  %38 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.121, i32 noundef %37) #6
  %39 = getelementptr inbounds i8, ptr %1, i64 136
  store i32 %38, ptr %39, align 8, !tbaa !24
  %40 = load i32, ptr %31, align 8, !tbaa !22
  %41 = shl nsw i32 %40, 1
  %42 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.122, i32 noundef %41) #6
  %43 = getelementptr inbounds i8, ptr %1, i64 152
  store i32 %42, ptr %43, align 8, !tbaa !25
  %44 = load i32, ptr %31, align 8, !tbaa !22
  %45 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.123, i32 noundef %44) #6
  %46 = getelementptr inbounds i8, ptr %1, i64 156
  store i32 %45, ptr %46, align 4, !tbaa !26
  %47 = tail call float @option_find_float_quiet(ptr noundef %0, ptr noundef nonnull @.str.83, float noundef 0.000000e+00) #6
  %48 = getelementptr inbounds i8, ptr %1, i64 160
  store float %47, ptr %48, align 8, !tbaa !27
  %49 = tail call float @option_find_float_quiet(ptr noundef %0, ptr noundef nonnull @.str.124, float noundef 1.000000e+00) #6
  %50 = getelementptr inbounds i8, ptr %1, i64 164
  store float %49, ptr %50, align 4, !tbaa !28
  %51 = tail call float @option_find_float_quiet(ptr noundef %0, ptr noundef nonnull @.str.84, float noundef 1.000000e+00) #6
  %52 = getelementptr inbounds i8, ptr %1, i64 172
  store float %51, ptr %52, align 4, !tbaa !29
  %53 = tail call float @option_find_float_quiet(ptr noundef %0, ptr noundef nonnull @.str.85, float noundef 1.000000e+00) #6
  %54 = getelementptr inbounds i8, ptr %1, i64 168
  store float %53, ptr %54, align 8, !tbaa !30
  %55 = tail call float @option_find_float_quiet(ptr noundef %0, ptr noundef nonnull @.str.125, float noundef 0.000000e+00) #6
  %56 = getelementptr inbounds i8, ptr %1, i64 176
  store float %55, ptr %56, align 8, !tbaa !31
  %57 = load i32, ptr %39, align 8, !tbaa !24
  %.not119 = icmp eq i32 %57, 0
  br i1 %.not119, label %58, label %65

58:                                               ; preds = %27
  %59 = load i32, ptr %29, align 4, !tbaa !21
  %.not120 = icmp eq i32 %59, 0
  br i1 %.not120, label %64, label %60

60:                                               ; preds = %58
  %61 = load i32, ptr %31, align 8, !tbaa !22
  %.not121 = icmp eq i32 %61, 0
  br i1 %.not121, label %64, label %62

62:                                               ; preds = %60
  %63 = load i32, ptr %33, align 4, !tbaa !23
  %.not122 = icmp eq i32 %63, 0
  br i1 %.not122, label %64, label %65

64:                                               ; preds = %62, %60, %58
  tail call void @error(ptr noundef nonnull @.str.126) #6
  br label %65

65:                                               ; preds = %64, %62, %27
  %66 = tail call ptr @option_find_str(ptr noundef %0, ptr noundef nonnull @.str.127, ptr noundef nonnull @.str.102) #6
  %67 = tail call i32 @get_policy(ptr noundef %66)
  %68 = getelementptr inbounds i8, ptr %1, i64 64
  store i32 %67, ptr %68, align 8, !tbaa !32
  %69 = tail call i32 @option_find_int_quiet(ptr noundef %0, ptr noundef nonnull @.str.128, i32 noundef 0) #6
  %70 = getelementptr inbounds i8, ptr %1, i64 116
  store i32 %69, ptr %70, align 4, !tbaa !33
  %71 = load i32, ptr %68, align 8, !tbaa !32
  switch i32 %71, label %129 [
    i32 1, label %72
    i32 4, label %77
    i32 2, label %118
    i32 5, label %121
    i32 3, label %126
    i32 6, label %126
  ]

72:                                               ; preds = %65
  %73 = tail call i32 @option_find_int(ptr noundef %0, ptr noundef nonnull @.str.103, i32 noundef 1) #6
  %74 = getelementptr inbounds i8, ptr %1, i64 88
  store i32 %73, ptr %74, align 8, !tbaa !34
  %75 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.78, float noundef 1.000000e+00) #6
  %76 = getelementptr inbounds i8, ptr %1, i64 76
  store float %75, ptr %76, align 4, !tbaa !35
  br label %129

77:                                               ; preds = %65
  %78 = tail call ptr @option_find(ptr noundef %0, ptr noundef nonnull @.str.106) #6
  %79 = tail call ptr @option_find(ptr noundef %0, ptr noundef nonnull @.str.129) #6
  %80 = icmp ne ptr %78, null
  %81 = icmp ne ptr %79, null
  %or.cond = select i1 %80, i1 %81, i1 false
  br i1 %or.cond, label %83, label %82

82:                                               ; preds = %77
  tail call void @error(ptr noundef nonnull @.str.130) #6
  br label %83

83:                                               ; preds = %77, %82
  %84 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %78) #7
  %85 = trunc i64 %84 to i32
  %86 = icmp sgt i32 %85, 0
  br i1 %86, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %83
  %wide.trip.count = and i64 %84, 2147483647
  %min.iters.check = icmp ult i64 %wide.trip.count, 8
  br i1 %min.iters.check, label %.lr.ph.preheader136, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.mod.vf = and i64 %84, 7
  %n.vec = sub nsw i64 %wide.trip.count, %n.mod.vf
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ <i32 1, i32 0, i32 0, i32 0>, %vector.ph ], [ %93, %vector.body ]
  %vec.phi134 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %94, %vector.body ]
  %87 = getelementptr inbounds i8, ptr %78, i64 %index
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  %wide.load = load <4 x i8>, ptr %87, align 1, !tbaa !36
  %wide.load135 = load <4 x i8>, ptr %88, align 1, !tbaa !36
  %89 = icmp eq <4 x i8> %wide.load, <i8 44, i8 44, i8 44, i8 44>
  %90 = icmp eq <4 x i8> %wide.load135, <i8 44, i8 44, i8 44, i8 44>
  %91 = zext <4 x i1> %89 to <4 x i32>
  %92 = zext <4 x i1> %90 to <4 x i32>
  %93 = add <4 x i32> %vec.phi, %91
  %94 = add <4 x i32> %vec.phi134, %92
  %index.next = add nuw i64 %index, 8
  %95 = icmp eq i64 %index.next, %n.vec
  br i1 %95, label %middle.block, label %vector.body, !llvm.loop !37

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %94, %93
  %96 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %n.mod.vf, 0
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader136

.lr.ph.preheader136:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %.0115124.ph = phi i32 [ 1, %.lr.ph.preheader ], [ %96, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader136, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader136 ]
  %.0115124 = phi i32 [ %spec.select, %.lr.ph ], [ %.0115124.ph, %.lr.ph.preheader136 ]
  %97 = getelementptr inbounds i8, ptr %78, i64 %indvars.iv
  %98 = load i8, ptr %97, align 1, !tbaa !36
  %99 = icmp eq i8 %98, 44
  %100 = zext i1 %99 to i32
  %spec.select = add nuw nsw i32 %.0115124, %100
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !41

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %83
  %.0115.lcssa = phi i32 [ 1, %83 ], [ %96, %middle.block ], [ %spec.select, %.lr.ph ]
  %101 = sext i32 %.0115.lcssa to i64
  %102 = tail call noalias ptr @calloc(i64 noundef %101, i64 noundef 4) #8
  %103 = tail call noalias ptr @calloc(i64 noundef %101, i64 noundef 4) #8
  %smax = tail call i32 @llvm.smax.i32(i32 %.0115.lcssa, i32 1)
  %wide.trip.count132 = zext nneg i32 %smax to i64
  br label %104

104:                                              ; preds = %._crit_edge, %104
  %indvars.iv129 = phi i64 [ 0, %._crit_edge ], [ %indvars.iv.next130, %104 ]
  %.0127 = phi ptr [ %78, %._crit_edge ], [ %109, %104 ]
  %.0114126 = phi ptr [ %79, %._crit_edge ], [ %111, %104 ]
  %105 = tail call i32 @atoi(ptr nocapture noundef %.0127) #7
  %106 = tail call double @atof(ptr noundef %.0114126) #7
  %107 = fptrunc double %106 to float
  %108 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %.0127, i32 noundef 44) #7
  %109 = getelementptr inbounds i8, ptr %108, i64 1
  %110 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %.0114126, i32 noundef 44) #7
  %111 = getelementptr inbounds i8, ptr %110, i64 1
  %112 = getelementptr inbounds i32, ptr %102, i64 %indvars.iv129
  store i32 %105, ptr %112, align 4, !tbaa !42
  %113 = getelementptr inbounds float, ptr %103, i64 %indvars.iv129
  store float %107, ptr %113, align 4, !tbaa !43
  %indvars.iv.next130 = add nuw nsw i64 %indvars.iv129, 1
  %exitcond133.not = icmp eq i64 %indvars.iv.next130, %wide.trip.count132
  br i1 %exitcond133.not, label %114, label %104, !llvm.loop !44

114:                                              ; preds = %104
  %115 = getelementptr inbounds i8, ptr %1, i64 96
  store ptr %103, ptr %115, align 8, !tbaa !45
  %116 = getelementptr inbounds i8, ptr %1, i64 104
  store ptr %102, ptr %116, align 8, !tbaa !46
  %117 = getelementptr inbounds i8, ptr %1, i64 112
  store i32 %.0115.lcssa, ptr %117, align 8, !tbaa !47
  br label %129

118:                                              ; preds = %65
  %119 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.131, float noundef 1.000000e+00) #6
  %120 = getelementptr inbounds i8, ptr %1, i64 72
  store float %119, ptr %120, align 8, !tbaa !48
  br label %129

121:                                              ; preds = %65
  %122 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.131, float noundef 1.000000e+00) #6
  %123 = getelementptr inbounds i8, ptr %1, i64 72
  store float %122, ptr %123, align 8, !tbaa !48
  %124 = tail call i32 @option_find_int(ptr noundef %0, ptr noundef nonnull @.str.103, i32 noundef 1) #6
  %125 = getelementptr inbounds i8, ptr %1, i64 88
  store i32 %124, ptr %125, align 8, !tbaa !34
  br label %129

126:                                              ; preds = %65, %65
  %127 = tail call float @option_find_float(ptr noundef %0, ptr noundef nonnull @.str.132, float noundef 1.000000e+00) #6
  %128 = getelementptr inbounds i8, ptr %1, i64 80
  store float %127, ptr %128, align 8, !tbaa !49
  br label %129

129:                                              ; preds = %65, %114, %121, %126, %118, %72
  %130 = tail call i32 @option_find_int(ptr noundef %0, ptr noundef nonnull @.str.133, i32 noundef 0) #6
  %131 = getelementptr inbounds i8, ptr %1, i64 92
  store i32 %130, ptr %131, align 4, !tbaa !50
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #5

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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind allocsize(0,1) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"network", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !11, i64 24, !10, i64 28, !11, i64 32, !11, i64 36, !7, i64 40, !10, i64 48, !7, i64 56, !10, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 104, !10, i64 112, !10, i64 116, !10, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !10, i64 180, !7, i64 184}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !11, i64 68}
!13 = !{!6, !11, i64 32}
!14 = !{!6, !11, i64 36}
!15 = !{!6, !10, i64 84}
!16 = !{!6, !10, i64 28}
!17 = !{!6, !10, i64 120}
!18 = !{!6, !11, i64 124}
!19 = !{!6, !11, i64 128}
!20 = !{!6, !11, i64 132}
!21 = !{!6, !10, i64 140}
!22 = !{!6, !10, i64 144}
!23 = !{!6, !10, i64 148}
!24 = !{!6, !10, i64 136}
!25 = !{!6, !10, i64 152}
!26 = !{!6, !10, i64 156}
!27 = !{!6, !11, i64 160}
!28 = !{!6, !11, i64 164}
!29 = !{!6, !11, i64 172}
!30 = !{!6, !11, i64 168}
!31 = !{!6, !11, i64 176}
!32 = !{!6, !10, i64 64}
!33 = !{!6, !10, i64 116}
!34 = !{!6, !10, i64 88}
!35 = !{!6, !11, i64 76}
!36 = !{!8, !8, i64 0}
!37 = distinct !{!37, !38, !39, !40}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!"llvm.loop.isvectorized", i32 1}
!40 = !{!"llvm.loop.unroll.runtime.disable"}
!41 = distinct !{!41, !38, !40, !39}
!42 = !{!10, !10, i64 0}
!43 = !{!11, !11, i64 0}
!44 = distinct !{!44, !38}
!45 = !{!6, !7, i64 96}
!46 = !{!6, !7, i64 104}
!47 = !{!6, !10, i64 112}
!48 = !{!6, !11, i64 72}
!49 = !{!6, !11, i64 80}
!50 = !{!6, !10, i64 92}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass