; LLVM IR from specinfo-ua/UAPKI :: library/uapkif/src/asn1 (constr_CHOICE)

; 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.asn_enc_rval_s = type { i64, ptr, ptr }
%struct.asn_TYPE_descriptor_s = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, i32, ptr }
%struct.asn_CHOICE_specifics_s = type { i32, i32, i32, i32, ptr, i32, ptr, i32 }
%struct.asn_TYPE_member_s = type { i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @_fetch_present_idx(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @CHOICE_encode_xer(ptr dead_on_unwind noalias writable sret(%struct.asn_enc_rval_s) align 8 %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #3 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %struct.asn_enc_rval_s, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.asn_enc_rval_s, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %struct.asn_enc_rval_s, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  store ptr %6, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %30, i32 0, i32 19
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  store ptr %32, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %44, label %35

35:                                               ; preds = %7
  br label %36

36:                                               ; preds = %35
  %37 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %37, align 8, !tbaa !13
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %38, ptr %39, align 8, !tbaa !16
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %40, ptr %41, align 8, !tbaa !17
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 863, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %17, align 4
  br label %320

42:                                               ; No predecessors!
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43, %7
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 8, !tbaa !18
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %49, i32 0, i32 3
  %51 = load i32, ptr %50, align 4, !tbaa !20
  %52 = call i32 @_fetch_present_idx(ptr noundef %45, i32 noundef %48, i32 noundef %51)
  store i32 %52, ptr %16, align 4, !tbaa !9
  %53 = load i32, ptr %16, align 4, !tbaa !9
  %54 = icmp sle i32 %53, 0
  br i1 %54, label %61, label %55

55:                                               ; preds = %44
  %56 = load i32, ptr %16, align 4, !tbaa !9
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %57, i32 0, i32 18
  %59 = load i32, ptr %58, align 8, !tbaa !21
  %60 = icmp sgt i32 %56, %59
  br i1 %60, label %61, label %70

61:                                               ; preds = %55, %44
  br label %62

62:                                               ; preds = %61
  %63 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %63, align 8, !tbaa !13
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %64, ptr %65, align 8, !tbaa !16
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %66, ptr %67, align 8, !tbaa !17
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 872, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %17, align 4
  br label %320

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68
  br label %249

70:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %71, i32 0, i32 17
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = load i32, ptr %16, align 4, !tbaa !9
  %75 = sub nsw i32 %74, 1
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %73, i64 %76
  store ptr %77, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %78 = load ptr, ptr %19, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %78, i32 0, i32 9
  %80 = load ptr, ptr %79, align 8, !tbaa !23
  store ptr %80, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %81 = load ptr, ptr %21, align 8, !tbaa !5
  %82 = call i64 @strlen(ptr noundef %81) #6
  %83 = trunc i64 %82 to i32
  store i32 %83, ptr %22, align 4, !tbaa !9
  %84 = load ptr, ptr %19, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %84, i32 0, i32 0
  %86 = load i32, ptr %85, align 8, !tbaa !25
  %87 = and i32 %86, 1
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %109

89:                                               ; preds = %70
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = load ptr, ptr %19, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %91, i32 0, i32 2
  %93 = load i32, ptr %92, align 8, !tbaa !26
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i8, ptr %90, i64 %94
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  store ptr %96, ptr %20, align 8, !tbaa !5
  %97 = load ptr, ptr %20, align 8, !tbaa !5
  %98 = icmp ne ptr %97, null
  br i1 %98, label %108, label %99

99:                                               ; preds = %89
  br label %100

100:                                              ; preds = %99
  %101 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %101, align 8, !tbaa !13
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %102, ptr %103, align 8, !tbaa !16
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %104, ptr %105, align 8, !tbaa !17
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 883, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %17, align 4
  br label %246

106:                                              ; No predecessors!
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107, %89
  br label %116

109:                                              ; preds = %70
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = load ptr, ptr %19, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %111, i32 0, i32 2
  %113 = load i32, ptr %112, align 8, !tbaa !26
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds i8, ptr %110, i64 %114
  store ptr %115, ptr %20, align 8, !tbaa !5
  br label %116

116:                                              ; preds = %109, %108
  %117 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %15, i32 0, i32 0
  store i64 0, ptr %117, align 8, !tbaa !13
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = and i32 %118, 2
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %172, label %121

121:                                              ; preds = %116
  br label %122

122:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %123 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %123, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  store i32 1, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %124 = load i32, ptr %24, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %136

126:                                              ; preds = %122
  br label %127

127:                                              ; preds = %126
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = load ptr, ptr %13, align 8, !tbaa !5
  %130 = call i32 %128(ptr noundef @.str.4, i64 noundef 1, ptr noundef %129)
  %131 = icmp slt i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %127
  store i32 12, ptr %17, align 4
  br label %167

133:                                              ; preds = %127
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135, %122
  %137 = load i32, ptr %23, align 4, !tbaa !9
  %138 = icmp slt i32 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %136
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %139, %136
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %155, %140
  %142 = load i32, ptr %25, align 4, !tbaa !9
  %143 = load i32, ptr %23, align 4, !tbaa !9
  %144 = icmp slt i32 %142, %143
  br i1 %144, label %145, label %158

145:                                              ; preds = %141
  br label %146

146:                                              ; preds = %145
  %147 = load ptr, ptr %12, align 8, !tbaa !5
  %148 = load ptr, ptr %13, align 8, !tbaa !5
  %149 = call i32 %147(ptr noundef @.str.5, i64 noundef 4, ptr noundef %148)
  %150 = icmp slt i32 %149, 0
  br i1 %150, label %151, label %152

151:                                              ; preds = %146
  store i32 12, ptr %17, align 4
  br label %167

152:                                              ; preds = %146
  br label %153

153:                                              ; preds = %152
  br label %154

154:                                              ; preds = %153
  br label %155

155:                                              ; preds = %154
  %156 = load i32, ptr %25, align 4, !tbaa !9
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %25, align 4, !tbaa !9
  br label %141, !llvm.loop !27

158:                                              ; preds = %141
  %159 = load i32, ptr %24, align 4, !tbaa !9
  %160 = load i32, ptr %23, align 4, !tbaa !9
  %161 = mul nsw i32 4, %160
  %162 = add nsw i32 %159, %161
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %15, i32 0, i32 0
  %165 = load i64, ptr %164, align 8, !tbaa !13
  %166 = add nsw i64 %165, %163
  store i64 %166, ptr %164, align 8, !tbaa !13
  store i32 0, ptr %17, align 4
  br label %167

167:                                              ; preds = %158, %151, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  %168 = load i32, ptr %17, align 4
  switch i32 %168, label %246 [
    i32 0, label %169
  ]

169:                                              ; preds = %167
  br label %170

170:                                              ; preds = %169
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171, %116
  br label %173

173:                                              ; preds = %172
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = load ptr, ptr %13, align 8, !tbaa !5
  %176 = call i32 %174(ptr noundef @.str.6, i64 noundef 1, ptr noundef %175)
  %177 = icmp slt i32 %176, 0
  br i1 %177, label %191, label %178

178:                                              ; preds = %173
  %179 = load ptr, ptr %12, align 8, !tbaa !5
  %180 = load ptr, ptr %21, align 8, !tbaa !5
  %181 = load i32, ptr %22, align 4, !tbaa !9
  %182 = zext i32 %181 to i64
  %183 = load ptr, ptr %13, align 8, !tbaa !5
  %184 = call i32 %179(ptr noundef %180, i64 noundef %182, ptr noundef %183)
  %185 = icmp slt i32 %184, 0
  br i1 %185, label %191, label %186

186:                                              ; preds = %178
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = load ptr, ptr %13, align 8, !tbaa !5
  %189 = call i32 %187(ptr noundef @.str.7, i64 noundef 1, ptr noundef %188)
  %190 = icmp slt i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %186, %178, %173
  store i32 12, ptr %17, align 4
  br label %246

192:                                              ; preds = %186
  br label %193

193:                                              ; preds = %192
  br label %194

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #5
  %195 = load ptr, ptr %19, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %195, i32 0, i32 5
  %197 = load ptr, ptr %196, align 8, !tbaa !29
  %198 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %197, i32 0, i32 8
  %199 = load ptr, ptr %198, align 8, !tbaa !30
  %200 = load ptr, ptr %19, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %200, i32 0, i32 5
  %202 = load ptr, ptr %201, align 8, !tbaa !29
  %203 = load ptr, ptr %20, align 8, !tbaa !5
  %204 = load i32, ptr %10, align 4, !tbaa !9
  %205 = add nsw i32 %204, 1
  %206 = load i32, ptr %11, align 4, !tbaa !9
  %207 = load ptr, ptr %12, align 8, !tbaa !5
  %208 = load ptr, ptr %13, align 8, !tbaa !5
  call void %199(ptr dead_on_unwind writable sret(%struct.asn_enc_rval_s) align 8 %26, ptr noundef %202, ptr noundef %203, i32 noundef %205, i32 noundef %206, ptr noundef %207, ptr noundef %208)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %26, i64 24, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #5
  %209 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %18, i32 0, i32 0
  %210 = load i64, ptr %209, align 8, !tbaa !13
  %211 = icmp eq i64 %210, -1
  br i1 %211, label %212, label %213

212:                                              ; preds = %194
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %18, i64 24, i1 false), !tbaa.struct !31
  store i32 1, ptr %17, align 4
  br label %246

213:                                              ; preds = %194
  br label %214

214:                                              ; preds = %213
  %215 = load ptr, ptr %12, align 8, !tbaa !5
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = call i32 %215(ptr noundef @.str.8, i64 noundef 2, ptr noundef %216)
  %218 = icmp slt i32 %217, 0
  br i1 %218, label %232, label %219

219:                                              ; preds = %214
  %220 = load ptr, ptr %12, align 8, !tbaa !5
  %221 = load ptr, ptr %21, align 8, !tbaa !5
  %222 = load i32, ptr %22, align 4, !tbaa !9
  %223 = zext i32 %222 to i64
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = call i32 %220(ptr noundef %221, i64 noundef %223, ptr noundef %224)
  %226 = icmp slt i32 %225, 0
  br i1 %226, label %232, label %227

227:                                              ; preds = %219
  %228 = load ptr, ptr %12, align 8, !tbaa !5
  %229 = load ptr, ptr %13, align 8, !tbaa !5
  %230 = call i32 %228(ptr noundef @.str.7, i64 noundef 1, ptr noundef %229)
  %231 = icmp slt i32 %230, 0
  br i1 %231, label %232, label %233

232:                                              ; preds = %227, %219, %214
  store i32 12, ptr %17, align 4
  br label %246

233:                                              ; preds = %227
  br label %234

234:                                              ; preds = %233
  br label %235

235:                                              ; preds = %234
  %236 = load i32, ptr %22, align 4, !tbaa !9
  %237 = mul i32 2, %236
  %238 = add i32 5, %237
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %18, i32 0, i32 0
  %241 = load i64, ptr %240, align 8, !tbaa !13
  %242 = add nsw i64 %239, %241
  %243 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %15, i32 0, i32 0
  %244 = load i64, ptr %243, align 8, !tbaa !13
  %245 = add nsw i64 %244, %242
  store i64 %245, ptr %243, align 8, !tbaa !13
  store i32 0, ptr %17, align 4
  br label %246

246:                                              ; preds = %235, %232, %212, %191, %167, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  %247 = load i32, ptr %17, align 4
  switch i32 %247, label %320 [
    i32 0, label %248
    i32 12, label %311
  ]

248:                                              ; preds = %246
  br label %249

249:                                              ; preds = %248, %69
  %250 = load i32, ptr %11, align 4, !tbaa !9
  %251 = and i32 %250, 2
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %305, label %253

253:                                              ; preds = %249
  br label %254

254:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %255 = load i32, ptr %10, align 4, !tbaa !9
  %256 = sub nsw i32 %255, 1
  store i32 %256, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 1, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %257 = load i32, ptr %28, align 4, !tbaa !9
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %269

259:                                              ; preds = %254
  br label %260

260:                                              ; preds = %259
  %261 = load ptr, ptr %12, align 8, !tbaa !5
  %262 = load ptr, ptr %13, align 8, !tbaa !5
  %263 = call i32 %261(ptr noundef @.str.4, i64 noundef 1, ptr noundef %262)
  %264 = icmp slt i32 %263, 0
  br i1 %264, label %265, label %266

265:                                              ; preds = %260
  store i32 12, ptr %17, align 4
  br label %300

266:                                              ; preds = %260
  br label %267

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268, %254
  %270 = load i32, ptr %27, align 4, !tbaa !9
  %271 = icmp slt i32 %270, 0
  br i1 %271, label %272, label %273

272:                                              ; preds = %269
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %273

273:                                              ; preds = %272, %269
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %274

274:                                              ; preds = %288, %273
  %275 = load i32, ptr %29, align 4, !tbaa !9
  %276 = load i32, ptr %27, align 4, !tbaa !9
  %277 = icmp slt i32 %275, %276
  br i1 %277, label %278, label %291

278:                                              ; preds = %274
  br label %279

279:                                              ; preds = %278
  %280 = load ptr, ptr %12, align 8, !tbaa !5
  %281 = load ptr, ptr %13, align 8, !tbaa !5
  %282 = call i32 %280(ptr noundef @.str.5, i64 noundef 4, ptr noundef %281)
  %283 = icmp slt i32 %282, 0
  br i1 %283, label %284, label %285

284:                                              ; preds = %279
  store i32 12, ptr %17, align 4
  br label %300

285:                                              ; preds = %279
  br label %286

286:                                              ; preds = %285
  br label %287

287:                                              ; preds = %286
  br label %288

288:                                              ; preds = %287
  %289 = load i32, ptr %29, align 4, !tbaa !9
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %29, align 4, !tbaa !9
  br label %274, !llvm.loop !33

291:                                              ; preds = %274
  %292 = load i32, ptr %28, align 4, !tbaa !9
  %293 = load i32, ptr %27, align 4, !tbaa !9
  %294 = mul nsw i32 4, %293
  %295 = add nsw i32 %292, %294
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %15, i32 0, i32 0
  %298 = load i64, ptr %297, align 8, !tbaa !13
  %299 = add nsw i64 %298, %296
  store i64 %299, ptr %297, align 8, !tbaa !13
  store i32 0, ptr %17, align 4
  br label %300

300:                                              ; preds = %291, %284, %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  %301 = load i32, ptr %17, align 4
  switch i32 %301, label %320 [
    i32 0, label %302
    i32 12, label %311
  ]

302:                                              ; preds = %300
  br label %303

303:                                              ; preds = %302
  br label %304

304:                                              ; preds = %303
  br label %305

305:                                              ; preds = %304, %249
  br label %306

306:                                              ; preds = %305
  %307 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %15, i32 0, i32 2
  store ptr null, ptr %307, align 8, !tbaa !17
  %308 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %15, i32 0, i32 1
  store ptr null, ptr %308, align 8, !tbaa !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %15, i64 24, i1 false), !tbaa.struct !31
  store i32 1, ptr %17, align 4
  br label %320

309:                                              ; No predecessors!
  br label %310

310:                                              ; preds = %309
  br label %311

311:                                              ; preds = %310, %300, %246
  br label %312

312:                                              ; preds = %311
  %313 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %313, align 8, !tbaa !13
  %314 = load ptr, ptr %8, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %314, ptr %315, align 8, !tbaa !16
  %316 = load ptr, ptr %9, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %316, ptr %317, align 8, !tbaa !17
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 913, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %17, align 4
  br label %320

318:                                              ; No predecessors!
  br label %319

319:                                              ; preds = %318
  store i32 0, ptr %17, align 4
  br label %320

320:                                              ; preds = %319, %312, %306, %300, %246, %62, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %321 = load i32, ptr %17, align 4
  switch i32 %321, label %323 [
    i32 0, label %322
    i32 1, label %322
  ]

322:                                              ; preds = %320, %320
  ret void

323:                                              ; preds = %320
  unreachable
}

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

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 152}
!12 = !{!"asn_TYPE_descriptor_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !10, i64 104, !6, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !6, i64 152}
!13 = !{!14, !15, i64 0}
!14 = !{!"asn_enc_rval_s", !15, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !6, i64 8}
!17 = !{!14, !6, i64 16}
!18 = !{!19, !10, i64 8}
!19 = !{!"asn_CHOICE_specifics_s", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !10, i64 24, !6, i64 32, !10, i64 40}
!20 = !{!19, !10, i64 12}
!21 = !{!12, !10, i64 144}
!22 = !{!12, !6, i64 136}
!23 = !{!24, !6, i64 56}
!24 = !{!"asn_TYPE_member_s", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!25 = !{!24, !10, i64 0}
!26 = !{!24, !10, i64 8}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!24, !6, i64 24}
!30 = !{!12, !6, i64 64}
!31 = !{i64 0, i64 8, !32, i64 8, i64 8, !5, i64 16, i64 8, !5}
!32 = !{!15, !15, i64 0}
!33 = distinct !{!33, !28}


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

%struct.asn_enc_rval_s = type { i64, ptr, ptr }
%struct.asn_TYPE_member_s = type { i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @_fetch_present_idx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @CHOICE_encode_xer(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.asn_enc_rval_s) align 8 %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #3 {
  %.sroa.6 = alloca { ptr, ptr }, align 8
  %8 = alloca %struct.asn_enc_rval_s, align 8
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %9, label %12

9:                                                ; preds = %7
  store i64 -1, ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %10, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr null, ptr %11, align 8, !tbaa !12
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 863, i32 noundef 101, ptr noundef null) #7
  br label %112

12:                                               ; preds = %7
  %13 = getelementptr inbounds i8, ptr %1, i64 152
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !16
  %17 = getelementptr inbounds i8, ptr %14, i64 12
  %18 = load i32, ptr %17, align 4, !tbaa !18
  %19 = tail call i32 @_fetch_present_idx(ptr noundef nonnull %2, i32 noundef %16, i32 noundef %18)
  %20 = icmp slt i32 %19, 1
  br i1 %20, label %25, label %21

21:                                               ; preds = %12
  %22 = getelementptr inbounds i8, ptr %1, i64 144
  %23 = load i32, ptr %22, align 8, !tbaa !19
  %24 = icmp sgt i32 %19, %23
  br i1 %24, label %25, label %28

25:                                               ; preds = %12, %21
  store i64 -1, ptr %0, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %26, align 8, !tbaa !11
  %27 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %2, ptr %27, align 8, !tbaa !12
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 872, i32 noundef 101, ptr noundef null) #7
  br label %112

28:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %.sroa.6)
  %29 = getelementptr inbounds i8, ptr %1, i64 136
  %30 = load ptr, ptr %29, align 8, !tbaa !20
  %31 = zext nneg i32 %19 to i64
  %32 = getelementptr %struct.asn_TYPE_member_s, ptr %30, i64 %31
  %33 = getelementptr i8, ptr %32, i64 -64
  %34 = getelementptr i8, ptr %32, i64 -8
  %35 = load ptr, ptr %34, align 8, !tbaa !21
  %36 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %35) #8
  %37 = load i32, ptr %33, align 8, !tbaa !23
  %38 = and i32 %37, 1
  %.not92 = icmp eq i32 %38, 0
  %39 = getelementptr i8, ptr %32, i64 -56
  %40 = load i32, ptr %39, align 8, !tbaa !24
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds i8, ptr %2, i64 %41
  br i1 %.not92, label %48, label %43

43:                                               ; preds = %28
  %44 = load ptr, ptr %42, align 8, !tbaa !25
  %.not93 = icmp eq ptr %44, null
  br i1 %.not93, label %45, label %48

45:                                               ; preds = %43
  store i64 -1, ptr %0, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %46, align 8, !tbaa !11
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %2, ptr %47, align 8, !tbaa !12
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 883, i32 noundef 101, ptr noundef null) #7
  br label %.thread104

48:                                               ; preds = %28, %43
  %.087 = phi ptr [ %44, %43 ], [ %42, %28 ]
  %49 = and i32 %4, 2
  %.not94 = icmp eq i32 %49, 0
  br i1 %.not94, label %50, label %62

50:                                               ; preds = %48
  %51 = tail call i32 %5(ptr noundef nonnull @.str.4, i64 noundef 1, ptr noundef %6) #7
  %52 = icmp slt i32 %51, 0
  br i1 %52, label %.thread100, label %53

53:                                               ; preds = %50
  %spec.store.select = tail call i32 @llvm.smax.i32(i32 %3, i32 0)
  %54 = icmp sgt i32 %3, 0
  br i1 %54, label %.lr.ph, label %._crit_edge

55:                                               ; preds = %.lr.ph
  %56 = add nuw nsw i32 %.085111, 1
  %exitcond.not = icmp eq i32 %56, %3
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !26

.lr.ph:                                           ; preds = %53, %55
  %.085111 = phi i32 [ %56, %55 ], [ 0, %53 ]
  %57 = tail call i32 %5(ptr noundef nonnull @.str.5, i64 noundef 4, ptr noundef %6) #7
  %58 = icmp slt i32 %57, 0
  br i1 %58, label %.thread100, label %55

._crit_edge:                                      ; preds = %55, %53
  %59 = shl nsw i32 %spec.store.select, 2
  %60 = or disjoint i32 %59, 1
  %61 = zext nneg i32 %60 to i64
  br label %62

62:                                               ; preds = %._crit_edge, %48
  %.sroa.037.1 = phi i64 [ 0, %48 ], [ %61, %._crit_edge ]
  %63 = tail call i32 %5(ptr noundef nonnull @.str.6, i64 noundef 1, ptr noundef %6) #7
  %64 = icmp slt i32 %63, 0
  br i1 %64, label %.thread100, label %65

65:                                               ; preds = %62
  %66 = and i64 %36, 4294967295
  %67 = tail call i32 %5(ptr noundef %35, i64 noundef %66, ptr noundef %6) #7
  %68 = icmp slt i32 %67, 0
  br i1 %68, label %.thread100, label %69

69:                                               ; preds = %65
  %70 = tail call i32 %5(ptr noundef nonnull @.str.7, i64 noundef 1, ptr noundef %6) #7
  %71 = icmp slt i32 %70, 0
  br i1 %71, label %.thread100, label %72

72:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  %73 = getelementptr i8, ptr %32, i64 -40
  %74 = load ptr, ptr %73, align 8, !tbaa !28
  %75 = getelementptr inbounds i8, ptr %74, i64 64
  %76 = load ptr, ptr %75, align 8, !tbaa !29
  %77 = add nsw i32 %3, 1
  call void %76(ptr dead_on_unwind nonnull writable sret(%struct.asn_enc_rval_s) align 8 %8, ptr noundef %74, ptr noundef %.087, i32 noundef %77, i32 noundef %4, ptr noundef %5, ptr noundef %6) #7
  %.sroa.0.0.copyload = load i64, ptr %8, align 8, !tbaa !30
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.6, ptr noundef nonnull align 8 dereferenceable(16) %.sroa.6.0..sroa_idx, i64 16, i1 false), !tbaa.struct !31
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  %78 = icmp eq i64 %.sroa.0.0.copyload, -1
  br i1 %78, label %79, label %80

79:                                               ; preds = %72
  store i64 -1, ptr %0, align 8, !tbaa !30
  %.sroa.6.0..sroa_idx30 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.6.0..sroa_idx30, ptr noundef nonnull align 8 dereferenceable(16) %.sroa.6, i64 16, i1 false), !tbaa.struct !31
  br label %.thread104

80:                                               ; preds = %72
  %81 = call i32 %5(ptr noundef nonnull @.str.8, i64 noundef 2, ptr noundef %6) #7
  %82 = icmp slt i32 %81, 0
  br i1 %82, label %.thread100, label %83

83:                                               ; preds = %80
  %84 = call i32 %5(ptr noundef %35, i64 noundef %66, ptr noundef %6) #7
  %85 = icmp slt i32 %84, 0
  br i1 %85, label %.thread100, label %86

86:                                               ; preds = %83
  %87 = call i32 %5(ptr noundef nonnull @.str.7, i64 noundef 1, ptr noundef %6) #7
  %88 = icmp slt i32 %87, 0
  br i1 %88, label %.thread100, label %89

.thread100:                                       ; preds = %.lr.ph, %69, %65, %62, %86, %83, %80, %50
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %.sroa.6)
  br label %.thread108

.thread104:                                       ; preds = %79, %45
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %.sroa.6)
  br label %112

89:                                               ; preds = %86
  %90 = shl i64 %36, 1
  %91 = add i64 %90, 5
  %92 = and i64 %91, 4294967295
  %93 = add nuw nsw i64 %.sroa.037.1, %92
  %94 = add i64 %93, %.sroa.0.0.copyload
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %.sroa.6)
  br i1 %.not94, label %95, label %109

95:                                               ; preds = %89
  %96 = call i32 %5(ptr noundef nonnull @.str.4, i64 noundef 1, ptr noundef %6) #7
  %97 = icmp slt i32 %96, 0
  br i1 %97, label %.thread108, label %98

98:                                               ; preds = %95
  %99 = call i32 @llvm.smax.i32(i32 %3, i32 1)
  %spec.store.select1 = add nsw i32 %99, -1
  %100 = icmp sgt i32 %3, 1
  br i1 %100, label %.lr.ph114, label %._crit_edge115

101:                                              ; preds = %.lr.ph114
  %102 = add nuw nsw i32 %.0112, 1
  %exitcond116.not = icmp eq i32 %102, %spec.store.select1
  br i1 %exitcond116.not, label %._crit_edge115, label %.lr.ph114, !llvm.loop !32

.lr.ph114:                                        ; preds = %98, %101
  %.0112 = phi i32 [ %102, %101 ], [ 0, %98 ]
  %103 = call i32 %5(ptr noundef nonnull @.str.5, i64 noundef 4, ptr noundef %6) #7
  %104 = icmp slt i32 %103, 0
  br i1 %104, label %.thread108, label %101

._crit_edge115:                                   ; preds = %101, %98
  %105 = shl nsw i32 %spec.store.select1, 2
  %106 = or disjoint i32 %105, 1
  %107 = sext i32 %106 to i64
  %108 = add nsw i64 %94, %107
  br label %109

109:                                              ; preds = %._crit_edge115, %89
  %.sroa.037.4 = phi i64 [ %94, %89 ], [ %108, %._crit_edge115 ]
  store i64 %.sroa.037.4, ptr %0, align 8, !tbaa !30
  %.sroa.10.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.10.0..sroa_idx, i8 0, i64 16, i1 false)
  br label %112

.thread108:                                       ; preds = %.lr.ph114, %95, %.thread100
  store i64 -1, ptr %0, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %110, align 8, !tbaa !11
  %111 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %2, ptr %111, align 8, !tbaa !12
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 913, i32 noundef 101, ptr noundef null) #7
  br label %112

112:                                              ; preds = %.thread104, %.thread108, %109, %25, %9
  ret void
}

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"asn_enc_rval_s", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !10, i64 152}
!14 = !{!"asn_TYPE_descriptor_s", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !15, i64 104, !10, i64 112, !15, i64 120, !10, i64 128, !10, i64 136, !15, i64 144, !10, i64 152}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !15, i64 8}
!17 = !{!"asn_CHOICE_specifics_s", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !10, i64 16, !15, i64 24, !10, i64 32, !15, i64 40}
!18 = !{!17, !15, i64 12}
!19 = !{!14, !15, i64 144}
!20 = !{!14, !10, i64 136}
!21 = !{!22, !10, i64 56}
!22 = !{!"asn_TYPE_member_s", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!23 = !{!22, !15, i64 0}
!24 = !{!22, !15, i64 8}
!25 = !{!10, !10, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!22, !10, i64 24}
!29 = !{!14, !10, i64 64}
!30 = !{!7, !7, i64 0}
!31 = !{i64 0, i64 8, !25, i64 8, i64 8, !25}
!32 = distinct !{!32, !27}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass