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

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

@.str = external hidden unnamed_addr constant [33 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
define dso_local void @SEQUENCE_OF_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 %struct.asn_enc_rval_s, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %20, i32 0, i32 17
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  store ptr %22, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %34, label %25

25:                                               ; preds = %5
  br label %26

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

32:                                               ; No predecessors!
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33, %5
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %35, ptr %10, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %12, i32 0, i32 0
  store i64 0, ptr %36, align 8, !tbaa !12
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %42

39:                                               ; preds = %34
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.asn_per_constraints_s, ptr %40, i32 0, i32 1
  store ptr %41, ptr %11, align 8, !tbaa !5
  br label %54

42:                                               ; preds = %34
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %43, i32 0, i32 16
  %45 = load ptr, ptr %44, align 8, !tbaa !17
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %52

47:                                               ; preds = %42
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %48, i32 0, i32 16
  %50 = load ptr, ptr %49, align 8, !tbaa !17
  %51 = getelementptr inbounds %struct.asn_per_constraints_s, ptr %50, i32 0, i32 1
  store ptr %51, ptr %11, align 8, !tbaa !5
  br label %53

52:                                               ; preds = %42
  store ptr null, ptr %11, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %52, %47
  br label %54

54:                                               ; preds = %53, %39
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %124

57:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.asn_anonymous_sequence_, ptr %58, i32 0, i32 1
  %60 = load i32, ptr %59, align 8, !tbaa !18
  %61 = sext i32 %60 to i64
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %62, i32 0, i32 3
  %64 = load i64, ptr %63, align 8, !tbaa !20
  %65 = icmp slt i64 %61, %64
  br i1 %65, label %75, label %66

66:                                               ; preds = %57
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.asn_anonymous_sequence_, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 8, !tbaa !18
  %70 = sext i32 %69 to i64
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %71, i32 0, i32 4
  %73 = load i64, ptr %72, align 8, !tbaa !22
  %74 = icmp sgt i64 %70, %73
  br label %75

75:                                               ; preds = %66, %57
  %76 = phi i1 [ true, %57 ], [ %74, %66 ]
  %77 = zext i1 %76 to i32
  store i32 %77, ptr %16, align 4, !tbaa !23
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 8, !tbaa !24
  %81 = and i32 %80, 4
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %102

83:                                               ; preds = %75
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load i32, ptr %16, align 4, !tbaa !23
  %86 = call i32 @per_put_few_bits(ptr noundef %84, i32 noundef %85, i32 noundef 1)
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %97

88:                                               ; preds = %83
  br label %89

89:                                               ; preds = %88
  %90 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %90, align 8, !tbaa !12
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %91, ptr %92, align 8, !tbaa !15
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %93, ptr %94, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 225, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %15, align 4
  br label %121

95:                                               ; No predecessors!
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96, %83
  %98 = load i32, ptr %16, align 4, !tbaa !23
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %101

100:                                              ; preds = %97
  store ptr null, ptr %11, align 8, !tbaa !5
  br label %101

101:                                              ; preds = %100, %97
  br label %120

102:                                              ; preds = %75
  %103 = load i32, ptr %16, align 4, !tbaa !23
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %105, label %119

105:                                              ; preds = %102
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %106, i32 0, i32 2
  %108 = load i32, ptr %107, align 8, !tbaa !25
  %109 = icmp sge i32 %108, 0
  br i1 %109, label %110, label %119

110:                                              ; preds = %105
  br label %111

111:                                              ; preds = %110
  %112 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %112, align 8, !tbaa !12
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %113, ptr %114, align 8, !tbaa !15
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %115, ptr %116, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 231, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %15, align 4
  br label %121

117:                                              ; No predecessors!
  br label %118

118:                                              ; preds = %117
  br label %119

119:                                              ; preds = %118, %105, %102
  br label %120

120:                                              ; preds = %119, %101
  store i32 0, ptr %15, align 4
  br label %121

121:                                              ; preds = %120, %111, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  %122 = load i32, ptr %15, align 4
  switch i32 %122, label %268 [
    i32 0, label %123
  ]

123:                                              ; preds = %121
  br label %124

124:                                              ; preds = %123, %54
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = icmp ne ptr %125, null
  br i1 %126, label %127, label %158

127:                                              ; preds = %124
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %128, i32 0, i32 2
  %130 = load i32, ptr %129, align 8, !tbaa !25
  %131 = icmp sge i32 %130, 0
  br i1 %131, label %132, label %158

132:                                              ; preds = %127
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.asn_anonymous_sequence_, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 8, !tbaa !18
  %137 = sext i32 %136 to i64
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %138, i32 0, i32 3
  %140 = load i64, ptr %139, align 8, !tbaa !20
  %141 = sub nsw i64 %137, %140
  %142 = trunc i64 %141 to i32
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %143, i32 0, i32 2
  %145 = load i32, ptr %144, align 8, !tbaa !25
  %146 = call i32 @per_put_few_bits(ptr noundef %133, i32 noundef %142, i32 noundef %145)
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %157

148:                                              ; preds = %132
  br label %149

149:                                              ; preds = %148
  %150 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %150, align 8, !tbaa !12
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %151, ptr %152, align 8, !tbaa !15
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %153, ptr %154, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 239, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %15, align 4
  br label %268

155:                                              ; No predecessors!
  br label %156

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156, %132
  br label %158

158:                                              ; preds = %157, %127, %124
  store i32 -1, ptr %14, align 4, !tbaa !23
  br label %159

159:                                              ; preds = %261, %158
  %160 = load i32, ptr %14, align 4, !tbaa !23
  %161 = load ptr, ptr %10, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.asn_anonymous_sequence_, ptr %161, i32 0, i32 1
  %163 = load i32, ptr %162, align 8, !tbaa !18
  %164 = icmp slt i32 %160, %163
  br i1 %164, label %165, label %262

165:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %166 = load i32, ptr %14, align 4, !tbaa !23
  %167 = icmp slt i32 %166, 0
  br i1 %167, label %168, label %169

168:                                              ; preds = %165
  store i32 0, ptr %14, align 4, !tbaa !23
  br label %169

169:                                              ; preds = %168, %165
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = icmp ne ptr %170, null
  br i1 %171, label %172, label %182

172:                                              ; preds = %169
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.asn_per_constraint_s, ptr %173, i32 0, i32 2
  %175 = load i32, ptr %174, align 8, !tbaa !25
  %176 = icmp sge i32 %175, 0
  br i1 %176, label %177, label %182

177:                                              ; preds = %172
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.asn_anonymous_sequence_, ptr %178, i32 0, i32 1
  %180 = load i32, ptr %179, align 8, !tbaa !18
  %181 = sext i32 %180 to i64
  store i64 %181, ptr %17, align 8, !tbaa !26
  br label %203

182:                                              ; preds = %172, %169
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.asn_anonymous_sequence_, ptr %184, i32 0, i32 1
  %186 = load i32, ptr %185, align 8, !tbaa !18
  %187 = load i32, ptr %14, align 4, !tbaa !23
  %188 = sub nsw i32 %186, %187
  %189 = sext i32 %188 to i64
  %190 = call i64 @uper_put_length(ptr noundef %183, i64 noundef %189)
  store i64 %190, ptr %17, align 8, !tbaa !26
  %191 = load i64, ptr %17, align 8, !tbaa !26
  %192 = icmp slt i64 %191, 0
  br i1 %192, label %193, label %202

193:                                              ; preds = %182
  br label %194

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

200:                                              ; No predecessors!
  br label %201

201:                                              ; preds = %200
  br label %202

202:                                              ; preds = %201, %182
  br label %203

203:                                              ; preds = %202, %177
  br label %204

204:                                              ; preds = %257, %203
  %205 = load i64, ptr %17, align 8, !tbaa !26
  %206 = add nsw i64 %205, -1
  store i64 %206, ptr %17, align 8, !tbaa !26
  %207 = icmp ne i64 %205, 0
  br i1 %207, label %208, label %258

208:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %209 = load ptr, ptr %10, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.asn_anonymous_sequence_, ptr %209, i32 0, i32 0
  %211 = load ptr, ptr %210, align 8, !tbaa !27
  %212 = load i32, ptr %14, align 4, !tbaa !23
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %14, align 4, !tbaa !23
  %214 = sext i32 %212 to i64
  %215 = getelementptr inbounds ptr, ptr %211, i64 %214
  %216 = load ptr, ptr %215, align 8, !tbaa !5
  store ptr %216, ptr %18, align 8, !tbaa !5
  %217 = load ptr, ptr %18, align 8, !tbaa !5
  %218 = icmp ne ptr %217, null
  br i1 %218, label %228, label %219

219:                                              ; preds = %208
  br label %220

220:                                              ; preds = %219
  %221 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %221, align 8, !tbaa !12
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %222, ptr %223, align 8, !tbaa !15
  %224 = load ptr, ptr %8, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %224, ptr %225, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 260, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %15, align 4
  br label %255

226:                                              ; No predecessors!
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227, %208
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #4
  %229 = load ptr, ptr %13, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %229, i32 0, i32 5
  %231 = load ptr, ptr %230, align 8, !tbaa !28
  %232 = getelementptr inbounds %struct.asn_TYPE_descriptor_s, ptr %231, i32 0, i32 10
  %233 = load ptr, ptr %232, align 8, !tbaa !30
  %234 = load ptr, ptr %13, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %234, i32 0, i32 5
  %236 = load ptr, ptr %235, align 8, !tbaa !28
  %237 = load ptr, ptr %13, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.asn_TYPE_member_s, ptr %237, i32 0, i32 7
  %239 = load ptr, ptr %238, align 8, !tbaa !31
  %240 = load ptr, ptr %18, align 8, !tbaa !5
  %241 = load ptr, ptr %9, align 8, !tbaa !5
  call void %233(ptr dead_on_unwind writable sret(%struct.asn_enc_rval_s) align 8 %19, ptr noundef %236, ptr noundef %239, ptr noundef %240, ptr noundef %241)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %19, i64 24, i1 false), !tbaa.struct !32
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #4
  %242 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %12, i32 0, i32 0
  %243 = load i64, ptr %242, align 8, !tbaa !12
  %244 = icmp eq i64 %243, -1
  br i1 %244, label %245, label %254

245:                                              ; preds = %228
  br label %246

246:                                              ; preds = %245
  %247 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 0
  store i64 -1, ptr %247, align 8, !tbaa !12
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 1
  store ptr %248, ptr %249, align 8, !tbaa !15
  %250 = load ptr, ptr %8, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %0, i32 0, i32 2
  store ptr %250, ptr %251, align 8, !tbaa !16
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 265, i32 noundef 101, ptr noundef null)
  store i32 1, ptr %15, align 4
  br label %255

252:                                              ; No predecessors!
  br label %253

253:                                              ; preds = %252
  br label %254

254:                                              ; preds = %253, %228
  store i32 0, ptr %15, align 4
  br label %255

255:                                              ; preds = %254, %246, %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  %256 = load i32, ptr %15, align 4
  switch i32 %256, label %259 [
    i32 0, label %257
  ]

257:                                              ; preds = %255
  br label %204, !llvm.loop !33

258:                                              ; preds = %204
  store i32 0, ptr %15, align 4
  br label %259

259:                                              ; preds = %258, %255, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  %260 = load i32, ptr %15, align 4
  switch i32 %260, label %268 [
    i32 0, label %261
  ]

261:                                              ; preds = %259
  br label %159, !llvm.loop !35

262:                                              ; preds = %159
  br label %263

263:                                              ; preds = %262
  %264 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %12, i32 0, i32 2
  store ptr null, ptr %264, align 8, !tbaa !16
  %265 = getelementptr inbounds %struct.asn_enc_rval_s, ptr %12, i32 0, i32 1
  store ptr null, ptr %265, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %12, i64 24, i1 false), !tbaa.struct !32
  store i32 1, ptr %15, align 4
  br label %268

266:                                              ; No predecessors!
  br label %267

267:                                              ; preds = %266
  store i32 0, ptr %15, align 4
  br label %268

268:                                              ; preds = %267, %263, %259, %149, %121, %26
  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 24, 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
  %269 = load i32, ptr %15, align 4
  switch i32 %269, label %271 [
    i32 0, label %270
    i32 1, label %270
  ]

270:                                              ; preds = %268, %268
  ret void

271:                                              ; preds = %268
  unreachable
}

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

declare i64 @uper_put_length(ptr noundef, i64 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 136}
!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 = !{!"", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!20 = !{!21, !14, i64 16}
!21 = !{!"asn_per_constraint_s", !11, i64 0, !11, i64 4, !11, i64 8, !14, i64 16, !14, i64 24}
!22 = !{!21, !14, i64 24}
!23 = !{!11, !11, i64 0}
!24 = !{!21, !11, i64 0}
!25 = !{!21, !11, i64 8}
!26 = !{!14, !14, i64 0}
!27 = !{!19, !6, i64 0}
!28 = !{!29, !6, i64 24}
!29 = !{!"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}
!30 = !{!10, !6, i64 80}
!31 = !{!29, !6, i64 40}
!32 = !{i64 0, i64 8, !26, i64 8, i64 8, !5, i64 16, i64 8, !5}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}


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

@.str = external hidden unnamed_addr constant [33 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 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 #1

; Function Attrs: nounwind uwtable
define dso_local void @SEQUENCE_OF_encode_uper(ptr dead_on_unwind noalias nocapture writable writeonly 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 #2 {
  %6 = alloca %struct.asn_enc_rval_s, align 8
  %7 = getelementptr inbounds i8, ptr %1, i64 136
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %9, label %12

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

12:                                               ; preds = %5
  %.not83 = icmp eq ptr %2, null
  br i1 %.not83, label %13, label %16

13:                                               ; preds = %12
  %14 = getelementptr inbounds i8, ptr %1, i64 128
  %15 = load ptr, ptr %14, align 8, !tbaa !16
  %.not84 = icmp eq ptr %15, null
  br i1 %.not84, label %.thread103, label %16

16:                                               ; preds = %12, %13
  %.pn = phi ptr [ %15, %13 ], [ %2, %12 ]
  %.0.ph = getelementptr inbounds i8, ptr %.pn, i64 32
  %17 = getelementptr inbounds i8, ptr %3, i64 8
  %18 = load i32, ptr %17, align 8, !tbaa !17
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds i8, ptr %.pn, i64 48
  %21 = load i64, ptr %20, align 8, !tbaa !19
  %22 = icmp sgt i64 %21, %19
  br i1 %22, label %.thread96, label %23

23:                                               ; preds = %16
  %24 = getelementptr inbounds i8, ptr %.pn, i64 56
  %25 = load i64, ptr %24, align 8, !tbaa !21
  %26 = icmp slt i64 %25, %19
  %27 = load i32, ptr %.0.ph, align 8, !tbaa !22
  %28 = and i32 %27, 4
  %.not86 = icmp eq i32 %28, 0
  br i1 %.not86, label %39, label %31

.thread96:                                        ; preds = %16
  %29 = load i32, ptr %.0.ph, align 8, !tbaa !22
  %30 = and i32 %29, 4
  %.not8697 = icmp eq i32 %30, 0
  br i1 %.not8697, label %.thread98, label %.thread124

31:                                               ; preds = %23
  %32 = zext i1 %26 to i32
  %33 = tail call i32 @per_put_few_bits(ptr noundef %4, i32 noundef %32, i32 noundef 1) #5
  %.not87 = icmp eq i32 %33, 0
  br i1 %.not87, label %38, label %35

.thread124:                                       ; preds = %.thread96
  %34 = tail call i32 @per_put_few_bits(ptr noundef %4, i32 noundef 1, i32 noundef 1) #5
  %.not87125 = icmp eq i32 %34, 0
  br i1 %.not87125, label %.thread103, label %35

35:                                               ; preds = %.thread124, %31
  store i64 -1, ptr %0, align 8, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %36, align 8, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %37, align 8, !tbaa !15
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 225, i32 noundef 101, ptr noundef null) #5
  br label %.thread120

38:                                               ; preds = %31
  br i1 %26, label %.thread103, label %46

39:                                               ; preds = %23
  br i1 %26, label %.thread98, label %46

.thread98:                                        ; preds = %.thread96, %39
  %40 = getelementptr inbounds i8, ptr %.pn, i64 40
  %41 = load i32, ptr %40, align 8, !tbaa !23
  %42 = icmp sgt i32 %41, -1
  br i1 %42, label %43, label %46

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

46:                                               ; preds = %38, %39, %.thread98
  %47 = getelementptr inbounds i8, ptr %.pn, i64 40
  %48 = load i32, ptr %47, align 8, !tbaa !23
  %49 = icmp sgt i32 %48, -1
  br i1 %49, label %50, label %.thread103

50:                                               ; preds = %46
  %51 = load i32, ptr %17, align 8, !tbaa !17
  %52 = load i64, ptr %20, align 8, !tbaa !19
  %53 = trunc i64 %52 to i32
  %54 = sub i32 %51, %53
  %55 = tail call i32 @per_put_few_bits(ptr noundef %4, i32 noundef %54, i32 noundef %48) #5
  %.not89 = icmp eq i32 %55, 0
  br i1 %.not89, label %.thread103, label %56

56:                                               ; preds = %50
  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 239, i32 noundef 101, ptr noundef null) #5
  br label %.thread120

.thread103:                                       ; preds = %.thread124, %13, %38, %50, %46
  %.not88107 = phi i1 [ false, %50 ], [ false, %46 ], [ true, %38 ], [ true, %13 ], [ true, %.thread124 ]
  %.3106 = phi ptr [ %.0.ph, %50 ], [ %.0.ph, %46 ], [ null, %38 ], [ null, %13 ], [ null, %.thread124 ]
  %59 = getelementptr inbounds i8, ptr %3, i64 8
  %60 = load i32, ptr %59, align 8, !tbaa !17
  %61 = icmp sgt i32 %60, -1
  br i1 %61, label %.lr.ph139, label %._crit_edge

.lr.ph139:                                        ; preds = %.thread103
  %62 = getelementptr inbounds i8, ptr %.3106, i64 8
  %63 = getelementptr inbounds i8, ptr %8, i64 24
  %64 = getelementptr inbounds i8, ptr %8, i64 40
  br i1 %.not88107, label %.lr.ph139.split.us, label %.lr.ph139.split

.lr.ph139.split.us:                               ; preds = %.lr.ph139, %.loopexit.us
  %65 = phi i32 [ %84, %.loopexit.us ], [ %60, %.lr.ph139 ]
  %.071138.us = phi i32 [ %.172.lcssa.us, %.loopexit.us ], [ -1, %.lr.ph139 ]
  %.sroa.0.0137.us = phi i64 [ %.sroa.0.1.lcssa.us, %.loopexit.us ], [ 0, %.lr.ph139 ]
  %spec.store.select.us = call i32 @llvm.smax.i32(i32 %.071138.us, i32 0)
  %66 = sub nsw i32 %65, %spec.store.select.us
  %67 = sext i32 %66 to i64
  %68 = call i64 @uper_put_length(ptr noundef %4, i64 noundef %67) #5
  %69 = icmp slt i64 %68, 0
  br i1 %69, label %.split.us, label %70

70:                                               ; preds = %.lr.ph139.split.us
  %.not90134.us = icmp eq i64 %68, 0
  br i1 %.not90134.us, label %.loopexit.us, label %.lr.ph.us.preheader

.lr.ph.us.preheader:                              ; preds = %70
  %71 = zext nneg i32 %spec.store.select.us to i64
  br label %.lr.ph.us

72:                                               ; preds = %77
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %.not90.us = icmp eq i64 %73, 0
  br i1 %.not90.us, label %.loopexit.us.loopexit, label %.lr.ph.us, !llvm.loop !24

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %72
  %indvars.iv154 = phi i64 [ %71, %.lr.ph.us.preheader ], [ %indvars.iv.next155, %72 ]
  %.in145 = phi i64 [ %68, %.lr.ph.us.preheader ], [ %73, %72 ]
  %73 = add nsw i64 %.in145, -1
  %74 = load ptr, ptr %3, align 8, !tbaa !26
  %75 = getelementptr inbounds ptr, ptr %74, i64 %indvars.iv154
  %76 = load ptr, ptr %75, align 8, !tbaa !27
  %.not91.us = icmp eq ptr %76, null
  br i1 %.not91.us, label %.split142.us, label %77

77:                                               ; preds = %.lr.ph.us
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  %78 = load ptr, ptr %63, align 8, !tbaa !28
  %79 = getelementptr inbounds i8, ptr %78, i64 80
  %80 = load ptr, ptr %79, align 8, !tbaa !30
  %81 = load ptr, ptr %64, align 8, !tbaa !31
  call void %80(ptr dead_on_unwind nonnull writable sret(%struct.asn_enc_rval_s) align 8 %6, ptr noundef %78, ptr noundef %81, ptr noundef nonnull %76, ptr noundef %4) #5
  %.sroa.0.0.copyload.us = load i64, ptr %6, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  %82 = icmp eq i64 %.sroa.0.0.copyload.us, -1
  br i1 %82, label %.split144.us, label %72, !llvm.loop !24

.loopexit.us.loopexit:                            ; preds = %72
  %83 = trunc nuw i64 %indvars.iv.next155 to i32
  br label %.loopexit.us

.loopexit.us:                                     ; preds = %.loopexit.us.loopexit, %70
  %.sroa.0.1.lcssa.us = phi i64 [ %.sroa.0.0137.us, %70 ], [ %.sroa.0.0.copyload.us, %.loopexit.us.loopexit ]
  %.172.lcssa.us = phi i32 [ %spec.store.select.us, %70 ], [ %83, %.loopexit.us.loopexit ]
  %84 = load i32, ptr %59, align 8, !tbaa !17
  %85 = icmp slt i32 %.172.lcssa.us, %84
  br i1 %85, label %.lr.ph139.split.us, label %._crit_edge, !llvm.loop !33

.loopexit.loopexit:                               ; preds = %103
  %86 = trunc nuw i64 %indvars.iv.next to i32
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %101
  %.sroa.0.1.lcssa = phi i64 [ %.sroa.0.0137, %101 ], [ %.sroa.0.0.copyload, %.loopexit.loopexit ]
  %.172.lcssa = phi i32 [ %spec.store.select, %101 ], [ %86, %.loopexit.loopexit ]
  %87 = load i32, ptr %59, align 8, !tbaa !17
  %88 = icmp slt i32 %.172.lcssa, %87
  br i1 %88, label %.lr.ph139.split, label %._crit_edge, !llvm.loop !33

.lr.ph139.split:                                  ; preds = %.lr.ph139, %.loopexit
  %89 = phi i32 [ %87, %.loopexit ], [ %60, %.lr.ph139 ]
  %.071138 = phi i32 [ %.172.lcssa, %.loopexit ], [ -1, %.lr.ph139 ]
  %.sroa.0.0137 = phi i64 [ %.sroa.0.1.lcssa, %.loopexit ], [ 0, %.lr.ph139 ]
  %spec.store.select = call i32 @llvm.smax.i32(i32 %.071138, i32 0)
  %90 = load i32, ptr %62, align 8, !tbaa !23
  %91 = icmp sgt i32 %90, -1
  br i1 %91, label %92, label %94

92:                                               ; preds = %.lr.ph139.split
  %93 = sext i32 %89 to i64
  br label %101

94:                                               ; preds = %.lr.ph139.split
  %95 = sub nsw i32 %89, %spec.store.select
  %96 = sext i32 %95 to i64
  %97 = call i64 @uper_put_length(ptr noundef %4, i64 noundef %96) #5
  %98 = icmp slt i64 %97, 0
  br i1 %98, label %.split.us, label %101

.split.us:                                        ; preds = %94, %.lr.ph139.split.us
  store i64 -1, ptr %0, align 8, !tbaa !11
  %99 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %99, align 8, !tbaa !14
  %100 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %100, align 8, !tbaa !15
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 253, i32 noundef 101, ptr noundef null) #5
  br label %.thread120

101:                                              ; preds = %94, %92
  %.066 = phi i64 [ %93, %92 ], [ %97, %94 ]
  %.not90134 = icmp eq i64 %.066, 0
  br i1 %.not90134, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %101
  %102 = zext nneg i32 %spec.store.select to i64
  br label %.lr.ph

103:                                              ; preds = %110
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not90 = icmp eq i64 %104, 0
  br i1 %.not90, label %.loopexit.loopexit, label %.lr.ph, !llvm.loop !24

.lr.ph:                                           ; preds = %.lr.ph.preheader, %103
  %indvars.iv = phi i64 [ %102, %.lr.ph.preheader ], [ %indvars.iv.next, %103 ]
  %.in = phi i64 [ %.066, %.lr.ph.preheader ], [ %104, %103 ]
  %104 = add nsw i64 %.in, -1
  %105 = load ptr, ptr %3, align 8, !tbaa !26
  %106 = getelementptr inbounds ptr, ptr %105, i64 %indvars.iv
  %107 = load ptr, ptr %106, align 8, !tbaa !27
  %.not91 = icmp eq ptr %107, null
  br i1 %.not91, label %.split142.us, label %110

.split142.us:                                     ; preds = %.lr.ph, %.lr.ph.us
  store i64 -1, ptr %0, align 8, !tbaa !11
  %108 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %108, align 8, !tbaa !14
  %109 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %109, align 8, !tbaa !15
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 260, i32 noundef 101, ptr noundef null) #5
  br label %.thread120

110:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  %111 = load ptr, ptr %63, align 8, !tbaa !28
  %112 = getelementptr inbounds i8, ptr %111, i64 80
  %113 = load ptr, ptr %112, align 8, !tbaa !30
  %114 = load ptr, ptr %64, align 8, !tbaa !31
  call void %113(ptr dead_on_unwind nonnull writable sret(%struct.asn_enc_rval_s) align 8 %6, ptr noundef %111, ptr noundef %114, ptr noundef nonnull %107, ptr noundef %4) #5
  %.sroa.0.0.copyload = load i64, ptr %6, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  %115 = icmp eq i64 %.sroa.0.0.copyload, -1
  br i1 %115, label %.split144.us, label %103, !llvm.loop !24

.split144.us:                                     ; preds = %110, %77
  store i64 -1, ptr %0, align 8, !tbaa !11
  %116 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %116, align 8, !tbaa !14
  %117 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %3, ptr %117, align 8, !tbaa !15
  call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 265, i32 noundef 101, ptr noundef null) #5
  br label %.thread120

._crit_edge:                                      ; preds = %.loopexit, %.loopexit.us, %.thread103
  %.sroa.0.0.lcssa = phi i64 [ 0, %.thread103 ], [ %.sroa.0.1.lcssa.us, %.loopexit.us ], [ %.sroa.0.1.lcssa, %.loopexit ]
  store i64 %.sroa.0.0.lcssa, ptr %0, align 8, !tbaa !32
  %.sroa.6.0..sroa_idx19 = getelementptr inbounds i8, ptr %0, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %.sroa.6.0..sroa_idx19, i8 0, i64 16, i1 false)
  br label %.thread120

.thread120:                                       ; preds = %.split142.us, %.split144.us, %.split.us, %35, %43, %._crit_edge, %56, %9
  ret void
}

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

declare i64 @uper_put_length(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

attributes #0 = { mustprogress 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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 136}
!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 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16}
!19 = !{!20, !13, i64 16}
!20 = !{!"asn_per_constraint_s", !10, i64 0, !10, i64 4, !10, i64 8, !13, i64 16, !13, i64 24}
!21 = !{!20, !13, i64 24}
!22 = !{!20, !10, i64 0}
!23 = !{!20, !10, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!18, !7, i64 0}
!27 = !{!7, !7, i64 0}
!28 = !{!29, !7, i64 24}
!29 = !{!"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}
!30 = !{!6, !7, i64 80}
!31 = !{!29, !7, i64 40}
!32 = !{!13, !13, i64 0}
!33 = distinct !{!33, !25}


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