; 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_per_constraints_s = type { %struct.asn_per_constraint_s, %struct.asn_per_constraint_s, ptr, ptr }
%struct.asn_per_constraint_s = type { i32, i32, i32, i64, i64 }
%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

; 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_uper(ptr dead_on_unwind noalias writable sret(%struct.asn_enc_rval_s) align 8 %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.asn_enc_rval_s, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  store ptr %4, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %18, i32 0, i32 19
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  store ptr %20, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %32, label %23

23:                                               ; preds = %5
  br label %24

24:                                               ; preds = %23
  %25 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %25, align 8, !tbaa !12
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %26, ptr %27, align 8, !tbaa !15
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %28, ptr %29, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1031, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %311

30:                                               ; No predecessors!
  br label %31

31:                                               ; preds = %30
  br label %32

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

35:                                               ; preds = %32
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.asn_per_constraints_s, ptr %36, i32 0, i32 0
  store ptr %37, ptr %12, align 8, !tbaa !5
  br label %50

38:                                               ; preds = %32
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %39, i32 0, i32 16
  %41 = load ptr, ptr %40, align 8, !tbaa !17
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %48

43:                                               ; preds = %38
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %44, i32 0, i32 16
  %46 = load ptr, ptr %45, align 8, !tbaa !17
  %47 = getelementptr inbounds %struct.asn_per_constraints_s, ptr %46, i32 0, i32 0
  store ptr %47, ptr %12, align 8, !tbaa !5
  br label %49

48:                                               ; preds = %38
  store ptr null, ptr %12, align 8, !tbaa !5
  br label %49

49:                                               ; preds = %48, %43
  br label %50

50:                                               ; preds = %49, %35
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %52, i32 0, i32 2
  %54 = load i32, ptr %53, align 8, !tbaa !18
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %55, i32 0, i32 3
  %57 = load i32, ptr %56, align 4, !tbaa !20
  %58 = call i32 @_fetch_present_idx(ptr noundef %51, i32 noundef %54, i32 noundef %57)
  store i32 %58, ptr %14, align 4, !tbaa !21
  %59 = load i32, ptr %14, align 4, !tbaa !21
  %60 = icmp sle i32 %59, 0
  br i1 %60, label %67, label %61

61:                                               ; preds = %50
  %62 = load i32, ptr %14, align 4, !tbaa !21
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %63, i32 0, i32 18
  %65 = load i32, ptr %64, align 8, !tbaa !22
  %66 = icmp sgt i32 %62, %65
  br i1 %66, label %67, label %76

67:                                               ; preds = %61, %50
  br label %68

68:                                               ; preds = %67
  %69 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %69, align 8, !tbaa !12
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %70, ptr %71, align 8, !tbaa !15
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %72, ptr %73, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1052, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %311

74:                                               ; No predecessors!
  br label %75

75:                                               ; preds = %74
  br label %79

76:                                               ; preds = %61
  %77 = load i32, ptr %14, align 4, !tbaa !21
  %78 = add nsw i32 %77, -1
  store i32 %78, ptr %14, align 4, !tbaa !21
  br label %79

79:                                               ; preds = %76, %75
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %80, i32 0, i32 6
  %82 = load ptr, ptr %81, align 8, !tbaa !23
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %92

84:                                               ; preds = %79
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %85, i32 0, i32 6
  %87 = load ptr, ptr %86, align 8, !tbaa !23
  %88 = load i32, ptr %14, align 4, !tbaa !21
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds i32, ptr %87, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !21
  store i32 %91, ptr %15, align 4, !tbaa !21
  br label %94

92:                                               ; preds = %79
  %93 = load i32, ptr %14, align 4, !tbaa !21
  store i32 %93, ptr %15, align 4, !tbaa !21
  br label %94

94:                                               ; preds = %92, %84
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = icmp ne ptr %95, null
  br i1 %96, label %97, label %147

97:                                               ; preds = %94
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %98, i32 0, i32 1
  %100 = load i32, ptr %99, align 4, !tbaa !24
  %101 = icmp sge i32 %100, 0
  br i1 %101, label %102, label %147

102:                                              ; preds = %97
  %103 = load i32, ptr %15, align 4, !tbaa !21
  %104 = sext i32 %103 to i64
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %105, i32 0, i32 3
  %107 = load i64, ptr %106, align 8, !tbaa !26
  %108 = icmp slt i64 %104, %107
  br i1 %108, label %116, label %109

109:                                              ; preds = %102
  %110 = load i32, ptr %15, align 4, !tbaa !21
  %111 = sext i32 %110 to i64
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %112, i32 0, i32 4
  %114 = load i64, ptr %113, align 8, !tbaa !27
  %115 = icmp sgt i64 %111, %114
  br i1 %115, label %116, label %146

116:                                              ; preds = %109, %102
  %117 = load ptr, ptr %12, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %117, i32 0, i32 0
  %119 = load i32, ptr %118, align 8, !tbaa !28
  %120 = and i32 %119, 4
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %136

122:                                              ; preds = %116
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = call i32 @per_put_few_bits(ptr noundef %123, i32 noundef 1, i32 noundef 1)
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %135

126:                                              ; preds = %122
  br label %127

127:                                              ; preds = %126
  %128 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %128, align 8, !tbaa !12
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %129, ptr %130, align 8, !tbaa !15
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %131, ptr %132, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1071, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %311

133:                                              ; No predecessors!
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134, %122
  br label %145

136:                                              ; preds = %116
  br label %137

137:                                              ; preds = %136
  %138 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %138, align 8, !tbaa !12
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %139, ptr %140, align 8, !tbaa !15
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %141, ptr %142, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1074, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %311

143:                                              ; No predecessors!
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144, %135
  store ptr null, ptr %12, align 8, !tbaa !5
  br label %146

146:                                              ; preds = %145, %109
  br label %147

147:                                              ; preds = %146, %97, %94
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %170

150:                                              ; preds = %147
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %151, i32 0, i32 0
  %153 = load i32, ptr %152, align 8, !tbaa !28
  %154 = and i32 %153, 4
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %170

156:                                              ; preds = %150
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = call i32 @per_put_few_bits(ptr noundef %157, i32 noundef 0, i32 noundef 1)
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %169

160:                                              ; preds = %156
  br label %161

161:                                              ; preds = %160
  %162 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %162, align 8, !tbaa !12
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %163, ptr %164, align 8, !tbaa !15
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %165, ptr %166, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1081, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %311

167:                                              ; No predecessors!
  br label %168

168:                                              ; preds = %167
  br label %169

169:                                              ; preds = %168, %156
  br label %170

170:                                              ; preds = %169, %150, %147
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %171, i32 0, i32 17
  %173 = load ptr, ptr %172, align 8, !tbaa !29
  %174 = load i32, ptr %14, align 4, !tbaa !21
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %173, i64 %175
  store ptr %176, ptr %11, align 8, !tbaa !5
  %177 = load ptr, ptr %11, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %177, i32 0, i32 0
  %179 = load i32, ptr %178, align 8, !tbaa !30
  %180 = and i32 %179, 1
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %202

182:                                              ; preds = %170
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %184, i32 0, i32 2
  %186 = load i32, ptr %185, align 8, !tbaa !32
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds i8, ptr %183, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  store ptr %189, ptr %13, align 8, !tbaa !5
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = icmp ne ptr %190, null
  br i1 %191, label %201, label %192

192:                                              ; preds = %182
  br label %193

193:                                              ; preds = %192
  %194 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %194, align 8, !tbaa !12
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %195, ptr %196, align 8, !tbaa !15
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %197, ptr %198, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1089, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %311

199:                                              ; No predecessors!
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200, %182
  br label %209

202:                                              ; preds = %170
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  %204 = load ptr, ptr %11, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %204, i32 0, i32 2
  %206 = load i32, ptr %205, align 8, !tbaa !32
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds i8, ptr %203, i64 %207
  store ptr %208, ptr %13, align 8, !tbaa !5
  br label %209

209:                                              ; preds = %202, %201
  %210 = load ptr, ptr %12, align 8, !tbaa !5
  %211 = icmp ne ptr %210, null
  br i1 %211, label %212, label %248

212:                                              ; preds = %209
  %213 = load ptr, ptr %12, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %213, i32 0, i32 1
  %215 = load i32, ptr %214, align 4, !tbaa !24
  %216 = icmp sge i32 %215, 0
  br i1 %216, label %217, label %248

217:                                              ; preds = %212
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  %219 = load i32, ptr %15, align 4, !tbaa !21
  %220 = load ptr, ptr %12, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %220, i32 0, i32 1
  %222 = load i32, ptr %221, align 4, !tbaa !24
  %223 = call i32 @per_put_few_bits(ptr noundef %218, i32 noundef %219, i32 noundef %222)
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %234

225:                                              ; preds = %217
  br label %226

226:                                              ; preds = %225
  %227 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %227, align 8, !tbaa !12
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %228, ptr %229, align 8, !tbaa !15
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %230, ptr %231, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1097, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %311

232:                                              ; No predecessors!
  br label %233

233:                                              ; preds = %232
  br label %234

234:                                              ; preds = %233, %217
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %235, i32 0, i32 5
  %237 = load ptr, ptr %236, align 8, !tbaa !33
  %238 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %237, i32 0, i32 10
  %239 = load ptr, ptr %238, align 8, !tbaa !34
  %240 = load ptr, ptr %11, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %240, i32 0, i32 5
  %242 = load ptr, ptr %241, align 8, !tbaa !33
  %243 = load ptr, ptr %11, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %243, i32 0, i32 7
  %245 = load ptr, ptr %244, align 8, !tbaa !35
  %246 = load ptr, ptr %13, align 8, !tbaa !5
  %247 = load ptr, ptr %9, align 8, !tbaa !5
  call void %239(ptr dead_on_unwind writable sret(%struct.asn_enc_rval_s) align 8 %0, ptr noundef %242, ptr noundef %245, ptr noundef %246, ptr noundef %247)
  store i32 1, ptr %16, align 4
  br label %311

248:                                              ; preds = %212, %209
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #4
  %249 = load ptr, ptr %10, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %249, i32 0, i32 7
  %251 = load i32, ptr %250, align 8, !tbaa !36
  %252 = icmp eq i32 %251, -1
  br i1 %252, label %253, label %262

253:                                              ; preds = %248
  br label %254

254:                                              ; preds = %253
  %255 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %255, align 8, !tbaa !12
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %256, ptr %257, align 8, !tbaa !15
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %258, ptr %259, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1105, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %307

260:                                              ; No predecessors!
  br label %261

261:                                              ; preds = %260
  br label %262

262:                                              ; preds = %261, %248
  %263 = load ptr, ptr %9, align 8, !tbaa !5
  %264 = load i32, ptr %15, align 4, !tbaa !21
  %265 = load ptr, ptr %10, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.asn_CHOICE_specifics_s, ptr %265, i32 0, i32 7
  %267 = load i32, ptr %266, align 8, !tbaa !36
  %268 = sub nsw i32 %264, %267
  %269 = call i32 @uper_put_nsnnwn(ptr noundef %263, i32 noundef %268)
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %280

271:                                              ; preds = %262
  br label %272

272:                                              ; preds = %271
  %273 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %273, align 8, !tbaa !12
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %274, ptr %275, align 8, !tbaa !15
  %276 = load ptr, ptr %8, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %276, ptr %277, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1108, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %307

278:                                              ; No predecessors!
  br label %279

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279, %262
  %281 = load ptr, ptr %11, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %281, i32 0, i32 5
  %283 = load ptr, ptr %282, align 8, !tbaa !33
  %284 = load ptr, ptr %11, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %284, i32 0, i32 7
  %286 = load ptr, ptr %285, align 8, !tbaa !35
  %287 = load ptr, ptr %13, align 8, !tbaa !5
  %288 = load ptr, ptr %9, align 8, !tbaa !5
  %289 = call i32 @uper_open_type_put(ptr noundef %283, ptr noundef %286, ptr noundef %287, ptr noundef %288)
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %291, label %300

291:                                              ; preds = %280
  br label %292

292:                                              ; preds = %291
  %293 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %293, align 8, !tbaa !12
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %294, ptr %295, align 8, !tbaa !15
  %296 = load ptr, ptr %8, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %296, ptr %297, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 1112, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %16, align 4
  br label %307

298:                                              ; No predecessors!
  br label %299

299:                                              ; preds = %298
  br label %300

300:                                              ; preds = %299, %280
  %301 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %17, i32 0, i32 0
  store i64 0, ptr %301, align 8, !tbaa !12
  br label %302

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

305:                                              ; No predecessors!
  br label %306

306:                                              ; preds = %305
  store i32 0, ptr %16, align 4
  br label %307

307:                                              ; preds = %306, %302, %292, %272, %254
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  %308 = load i32, ptr %16, align 4
  switch i32 %308, label %311 [
    i32 0, label %309
  ]

309:                                              ; preds = %307
  br label %310

310:                                              ; preds = %309
  store i32 0, ptr %16, align 4
  br label %311

311:                                              ; preds = %310, %307, %234, %226, %193, %161, %137, %127, %68, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %312 = load i32, ptr %16, align 4
  switch i32 %312, label %314 [
    i32 0, label %313
    i32 1, label %313
  ]

313:                                              ; preds = %311, %311
  ret void

314:                                              ; preds = %311
  unreachable
}

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

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

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

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 }

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

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


; 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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @CHOICE_encode_uper(ptr dead_on_unwind noalias writable sret(%struct.asn_enc_rval_s) align 8 %0, ptr noundef %1, ptr noundef readonly %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = getelementptr inbounds i8, ptr %1, i64 152
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %8, label %11

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

11:                                               ; preds = %5
  %.not87 = icmp eq ptr %2, null
  br i1 %.not87, label %12, label %15

12:                                               ; preds = %11
  %13 = getelementptr inbounds i8, ptr %1, i64 128
  %14 = load ptr, ptr %13, align 8, !tbaa !16
  br label %15

15:                                               ; preds = %12, %11
  %.0 = phi ptr [ %2, %11 ], [ %14, %12 ]
  %16 = getelementptr inbounds i8, ptr %7, i64 8
  %17 = load i32, ptr %16, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %7, i64 12
  %19 = load i32, ptr %18, align 4, !tbaa !19
  %20 = tail call i32 @_fetch_present_idx(ptr noundef nonnull %3, i32 noundef %17, i32 noundef %19)
  %21 = icmp slt i32 %20, 1
  br i1 %21, label %26, label %22

22:                                               ; preds = %15
  %23 = getelementptr inbounds i8, ptr %1, i64 144
  %24 = load i32, ptr %23, align 8, !tbaa !20
  %25 = icmp sgt i32 %20, %24
  br i1 %25, label %26, label %29

26:                                               ; preds = %15, %22
  store i64 -1, ptr %0, align 8, !tbaa !11
  %27 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %27, align 8, !tbaa !14
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %28, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1052, i32 noundef 101, ptr noundef null) #3
  br label %125

29:                                               ; preds = %22
  %30 = add nsw i32 %20, -1
  %31 = getelementptr inbounds i8, ptr %7, i64 32
  %32 = load ptr, ptr %31, align 8, !tbaa !21
  %.not89 = icmp eq ptr %32, null
  br i1 %.not89, label %37, label %33

33:                                               ; preds = %29
  %34 = zext nneg i32 %30 to i64
  %35 = getelementptr inbounds i32, ptr %32, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !22
  br label %37

37:                                               ; preds = %29, %33
  %.076 = phi i32 [ %36, %33 ], [ %30, %29 ]
  %.not90 = icmp eq ptr %.0, null
  br i1 %.not90, label %.thread, label %38

38:                                               ; preds = %37
  %39 = getelementptr inbounds i8, ptr %.0, i64 4
  %40 = load i32, ptr %39, align 4, !tbaa !23
  %41 = icmp sgt i32 %40, -1
  br i1 %41, label %42, label %62

42:                                               ; preds = %38
  %43 = sext i32 %.076 to i64
  %44 = getelementptr inbounds i8, ptr %.0, i64 16
  %45 = load i64, ptr %44, align 8, !tbaa !25
  %46 = icmp sgt i64 %45, %43
  br i1 %46, label %51, label %47

47:                                               ; preds = %42
  %48 = getelementptr inbounds i8, ptr %.0, i64 24
  %49 = load i64, ptr %48, align 8, !tbaa !26
  %50 = icmp slt i64 %49, %43
  br i1 %50, label %51, label %62

51:                                               ; preds = %47, %42
  %52 = load i32, ptr %.0, align 8, !tbaa !27
  %53 = and i32 %52, 4
  %.not91 = icmp eq i32 %53, 0
  br i1 %.not91, label %59, label %54

54:                                               ; preds = %51
  %55 = tail call i32 @per_put_few_bits(ptr noundef %4, i32 noundef 1, i32 noundef 1) #3
  %.not92 = icmp eq i32 %55, 0
  br i1 %.not92, label %.thread, label %56

56:                                               ; preds = %54
  store i64 -1, ptr %0, align 8, !tbaa !11
  %57 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %57, align 8, !tbaa !14
  %58 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %58, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1071, i32 noundef 101, ptr noundef null) #3
  br label %125

59:                                               ; preds = %51
  store i64 -1, ptr %0, align 8, !tbaa !11
  %60 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %60, align 8, !tbaa !14
  %61 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %61, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1074, i32 noundef 101, ptr noundef null) #3
  br label %125

62:                                               ; preds = %38, %47
  %63 = load i32, ptr %.0, align 8, !tbaa !27
  %64 = and i32 %63, 4
  %.not94 = icmp eq i32 %64, 0
  br i1 %.not94, label %.thread, label %65

65:                                               ; preds = %62
  %66 = tail call i32 @per_put_few_bits(ptr noundef %4, i32 noundef 0, i32 noundef 1) #3
  %.not95 = icmp eq i32 %66, 0
  br i1 %.not95, label %.thread, label %67

67:                                               ; preds = %65
  store i64 -1, ptr %0, align 8, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %68, align 8, !tbaa !14
  %69 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %69, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1081, i32 noundef 101, ptr noundef null) #3
  br label %125

.thread:                                          ; preds = %54, %37, %65, %62
  %.not93104 = phi i1 [ false, %65 ], [ false, %62 ], [ true, %37 ], [ true, %54 ]
  %.1103 = phi ptr [ %.0, %65 ], [ %.0, %62 ], [ null, %37 ], [ null, %54 ]
  %70 = getelementptr inbounds i8, ptr %1, i64 136
  %71 = load ptr, ptr %70, align 8, !tbaa !28
  %72 = zext nneg i32 %30 to i64
  %73 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %71, i64 %72
  %74 = load i32, ptr %73, align 8, !tbaa !29
  %75 = and i32 %74, 1
  %.not96 = icmp eq i32 %75, 0
  %76 = getelementptr inbounds i8, ptr %73, i64 8
  %77 = load i32, ptr %76, align 8, !tbaa !31
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i8, ptr %3, i64 %78
  br i1 %.not96, label %85, label %80

80:                                               ; preds = %.thread
  %81 = load ptr, ptr %79, align 8, !tbaa !32
  %.not97 = icmp eq ptr %81, null
  br i1 %.not97, label %82, label %85

82:                                               ; preds = %80
  store i64 -1, ptr %0, align 8, !tbaa !11
  %83 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %83, align 8, !tbaa !14
  %84 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %84, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1089, i32 noundef 101, ptr noundef null) #3
  br label %125

85:                                               ; preds = %.thread, %80
  %.074 = phi ptr [ %81, %80 ], [ %79, %.thread ]
  br i1 %.not93104, label %102, label %86

86:                                               ; preds = %85
  %87 = getelementptr inbounds i8, ptr %.1103, i64 4
  %88 = load i32, ptr %87, align 4, !tbaa !23
  %89 = icmp sgt i32 %88, -1
  br i1 %89, label %90, label %102

90:                                               ; preds = %86
  %91 = tail call i32 @per_put_few_bits(ptr noundef %4, i32 noundef %.076, i32 noundef %88) #3
  %.not100 = icmp eq i32 %91, 0
  br i1 %.not100, label %95, label %92

92:                                               ; preds = %90
  store i64 -1, ptr %0, align 8, !tbaa !11
  %93 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %93, align 8, !tbaa !14
  %94 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %94, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1097, i32 noundef 101, ptr noundef null) #3
  br label %125

95:                                               ; preds = %90
  %96 = getelementptr inbounds i8, ptr %73, i64 24
  %97 = load ptr, ptr %96, align 8, !tbaa !33
  %98 = getelementptr inbounds i8, ptr %97, i64 80
  %99 = load ptr, ptr %98, align 8, !tbaa !34
  %100 = getelementptr inbounds i8, ptr %73, i64 40
  %101 = load ptr, ptr %100, align 8, !tbaa !35
  tail call void %99(ptr dead_on_unwind writable sret(%struct.asn_enc_rval_s) align 8 %0, ptr noundef %97, ptr noundef %101, ptr noundef %.074, ptr noundef %4) #3
  br label %125

102:                                              ; preds = %86, %85
  %103 = getelementptr inbounds i8, ptr %7, i64 40
  %104 = load i32, ptr %103, align 8, !tbaa !36
  %105 = icmp eq i32 %104, -1
  br i1 %105, label %106, label %109

106:                                              ; preds = %102
  store i64 -1, ptr %0, align 8, !tbaa !11
  %107 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %107, align 8, !tbaa !14
  %108 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %108, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1105, i32 noundef 101, ptr noundef null) #3
  br label %125

109:                                              ; preds = %102
  %110 = sub nsw i32 %.076, %104
  %111 = tail call i32 @uper_put_nsnnwn(ptr noundef %4, i32 noundef %110) #3
  %.not98 = icmp eq i32 %111, 0
  br i1 %.not98, label %115, label %112

112:                                              ; preds = %109
  store i64 -1, ptr %0, align 8, !tbaa !11
  %113 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %113, align 8, !tbaa !14
  %114 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %114, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1108, i32 noundef 101, ptr noundef null) #3
  br label %125

115:                                              ; preds = %109
  %116 = getelementptr inbounds i8, ptr %73, i64 24
  %117 = load ptr, ptr %116, align 8, !tbaa !33
  %118 = getelementptr inbounds i8, ptr %73, i64 40
  %119 = load ptr, ptr %118, align 8, !tbaa !35
  %120 = tail call i32 @uper_open_type_put(ptr noundef %117, ptr noundef %119, ptr noundef %.074, ptr noundef %4) #3
  %.not99 = icmp eq i32 %120, 0
  br i1 %.not99, label %124, label %121

121:                                              ; preds = %115
  store i64 -1, ptr %0, align 8, !tbaa !11
  %122 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %122, align 8, !tbaa !14
  %123 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %123, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 1112, i32 noundef 101, ptr noundef null) #3
  br label %125

124:                                              ; preds = %115
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, i8 0, i64 24, i1 false)
  br label %125

125:                                              ; preds = %106, %112, %121, %124, %95, %92, %82, %67, %59, %56, %26, %8
  ret void
}

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

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

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

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass