; LLVM IR from guanzhi/GmSSL :: src/sdf (sdf_ext)

; 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.table_item_t = type { i32, ptr }
%struct.DeviceInfo_st = type { [40 x i8], [16 x i8], [16 x i8], i32, i32, [2 x i32], i32, i32, i32 }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@sdf_pkey_caps = external hidden global [5 x %struct.table_item_t], align 16
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [8 x i8], align 1
@sdf_cipher_caps = external hidden global [17 x %struct.table_item_t], align 16
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@sdf_digest_caps = external hidden global [3 x %struct.table_item_t], align 16

; Function Attrs: nounwind uwtable
define dso_local i32 @SDF_PrintDeviceInfo(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca %struct.DeviceInfo_st, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 100, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store ptr %7, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 4, ptr %10, align 4, !tbaa !9
  %11 = load ptr, ptr %8, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 %12, i64 100, i1 false)
  %13 = load ptr, ptr %8, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.DeviceInfo_st, ptr %13, i32 0, i32 0
  %15 = getelementptr inbounds [40 x i8], ptr %14, i64 0, i64 39
  store i8 0, ptr %15, align 1, !tbaa !11
  %16 = load ptr, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.DeviceInfo_st, ptr %16, i32 0, i32 1
  %18 = getelementptr inbounds [16 x i8], ptr %17, i64 0, i64 15
  store i8 0, ptr %18, align 1, !tbaa !11
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.DeviceInfo_st, ptr %19, i32 0, i32 2
  %21 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 15
  store i8 0, ptr %21, align 1, !tbaa !11
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = load i32, ptr %9, align 4, !tbaa !9
  %24 = load i32, ptr %10, align 4, !tbaa !9
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.DeviceInfo_st, ptr %25, i32 0, i32 1
  %27 = getelementptr inbounds [16 x i8], ptr %26, i64 0, i64 0
  %28 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %27)
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = load i32, ptr %9, align 4, !tbaa !9
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.DeviceInfo_st, ptr %32, i32 0, i32 2
  %34 = getelementptr inbounds [16 x i8], ptr %33, i64 0, i64 0
  %35 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef @.str, ptr noundef @.str.2, ptr noundef %34)
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = load i32, ptr %9, align 4, !tbaa !9
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.DeviceInfo_st, ptr %39, i32 0, i32 0
  %41 = getelementptr inbounds [40 x i8], ptr %40, i64 0, i64 0
  %42 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %36, i32 noundef %37, i32 noundef %38, ptr noundef @.str, ptr noundef @.str.3, ptr noundef %41)
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.DeviceInfo_st, ptr %46, i32 0, i32 3
  %48 = load i32, ptr %47, align 1, !tbaa !12
  %49 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %43, i32 noundef %44, i32 noundef %45, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef %48)
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.DeviceInfo_st, ptr %53, i32 0, i32 4
  %55 = load i32, ptr %54, align 1, !tbaa !14
  %56 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %50, i32 noundef %51, i32 noundef %52, ptr noundef @.str.4, ptr noundef @.str.6, i32 noundef %55)
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = load i32, ptr %10, align 4, !tbaa !9
  %60 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %57, i32 noundef %58, i32 noundef %59, ptr noundef @.str.7, ptr noundef @.str.8)
  store i64 0, ptr %6, align 8, !tbaa !15
  store i64 0, ptr %5, align 8, !tbaa !15
  br label %61

61:                                               ; preds = %94, %2
  %62 = load i64, ptr %5, align 8, !tbaa !15
  %63 = icmp ult i64 %62, 5
  br i1 %63, label %64, label %97

64:                                               ; preds = %61
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.DeviceInfo_st, ptr %65, i32 0, i32 5
  %67 = getelementptr inbounds [2 x i32], ptr %66, i64 0, i64 0
  %68 = load i32, ptr %67, align 1, !tbaa !9
  %69 = load i64, ptr %5, align 8, !tbaa !15
  %70 = getelementptr inbounds [5 x %struct.table_item_t], ptr @sdf_pkey_caps, i64 0, i64 %69
  %71 = getelementptr inbounds %struct.table_item_t, ptr %70, i32 0, i32 0
  %72 = load i32, ptr %71, align 16, !tbaa !17
  %73 = and i32 %68, %72
  %74 = load i64, ptr %5, align 8, !tbaa !15
  %75 = getelementptr inbounds [5 x %struct.table_item_t], ptr @sdf_pkey_caps, i64 0, i64 %74
  %76 = getelementptr inbounds %struct.table_item_t, ptr %75, i32 0, i32 0
  %77 = load i32, ptr %76, align 16, !tbaa !17
  %78 = icmp eq i32 %73, %77
  br i1 %78, label %79, label %93

79:                                               ; preds = %64
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = load i64, ptr %6, align 8, !tbaa !15
  %83 = icmp ne i64 %82, 0
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, ptr @.str.10, ptr @.str.11
  %86 = load i64, ptr %5, align 8, !tbaa !15
  %87 = getelementptr inbounds [5 x %struct.table_item_t], ptr @sdf_pkey_caps, i64 0, i64 %86
  %88 = getelementptr inbounds %struct.table_item_t, ptr %87, i32 0, i32 1
  %89 = load ptr, ptr %88, align 8, !tbaa !19
  %90 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %80, i32 noundef %81, i32 noundef 0, ptr noundef @.str.9, ptr noundef %85, ptr noundef %89)
  %91 = load i64, ptr %6, align 8, !tbaa !15
  %92 = add i64 %91, 1
  store i64 %92, ptr %6, align 8, !tbaa !15
  br label %93

93:                                               ; preds = %79, %64
  br label %94

94:                                               ; preds = %93
  %95 = load i64, ptr %5, align 8, !tbaa !15
  %96 = add i64 %95, 1
  store i64 %96, ptr %5, align 8, !tbaa !15
  br label %61, !llvm.loop !20

97:                                               ; preds = %61
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %98, i32 noundef %99, i32 noundef 0, ptr noundef @.str.12)
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = load i32, ptr %9, align 4, !tbaa !9
  %103 = load i32, ptr %10, align 4, !tbaa !9
  %104 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %101, i32 noundef %102, i32 noundef %103, ptr noundef @.str.7, ptr noundef @.str.13)
  store i64 0, ptr %6, align 8, !tbaa !15
  store i64 0, ptr %5, align 8, !tbaa !15
  br label %105

105:                                              ; preds = %137, %97
  %106 = load i64, ptr %5, align 8, !tbaa !15
  %107 = icmp ult i64 %106, 17
  br i1 %107, label %108, label %140

108:                                              ; preds = %105
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.DeviceInfo_st, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %110, align 1, !tbaa !22
  %112 = load i64, ptr %5, align 8, !tbaa !15
  %113 = getelementptr inbounds [17 x %struct.table_item_t], ptr @sdf_cipher_caps, i64 0, i64 %112
  %114 = getelementptr inbounds %struct.table_item_t, ptr %113, i32 0, i32 0
  %115 = load i32, ptr %114, align 16, !tbaa !17
  %116 = and i32 %111, %115
  %117 = load i64, ptr %5, align 8, !tbaa !15
  %118 = getelementptr inbounds [17 x %struct.table_item_t], ptr @sdf_cipher_caps, i64 0, i64 %117
  %119 = getelementptr inbounds %struct.table_item_t, ptr %118, i32 0, i32 0
  %120 = load i32, ptr %119, align 16, !tbaa !17
  %121 = icmp eq i32 %116, %120
  br i1 %121, label %122, label %136

122:                                              ; preds = %108
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = load i32, ptr %9, align 4, !tbaa !9
  %125 = load i64, ptr %6, align 8, !tbaa !15
  %126 = icmp ne i64 %125, 0
  %127 = zext i1 %126 to i64
  %128 = select i1 %126, ptr @.str.10, ptr @.str.11
  %129 = load i64, ptr %5, align 8, !tbaa !15
  %130 = getelementptr inbounds [17 x %struct.table_item_t], ptr @sdf_cipher_caps, i64 0, i64 %129
  %131 = getelementptr inbounds %struct.table_item_t, ptr %130, i32 0, i32 1
  %132 = load ptr, ptr %131, align 8, !tbaa !19
  %133 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %123, i32 noundef %124, i32 noundef 0, ptr noundef @.str.9, ptr noundef %128, ptr noundef %132)
  %134 = load i64, ptr %6, align 8, !tbaa !15
  %135 = add i64 %134, 1
  store i64 %135, ptr %6, align 8, !tbaa !15
  br label %136

136:                                              ; preds = %122, %108
  br label %137

137:                                              ; preds = %136
  %138 = load i64, ptr %5, align 8, !tbaa !15
  %139 = add i64 %138, 1
  store i64 %139, ptr %5, align 8, !tbaa !15
  br label %105, !llvm.loop !23

140:                                              ; preds = %105
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = load i32, ptr %9, align 4, !tbaa !9
  %143 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %141, i32 noundef %142, i32 noundef 0, ptr noundef @.str.12)
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = load i32, ptr %9, align 4, !tbaa !9
  %146 = load i32, ptr %10, align 4, !tbaa !9
  %147 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %144, i32 noundef %145, i32 noundef %146, ptr noundef @.str.7, ptr noundef @.str.14)
  store i64 0, ptr %6, align 8, !tbaa !15
  store i64 0, ptr %5, align 8, !tbaa !15
  br label %148

148:                                              ; preds = %180, %140
  %149 = load i64, ptr %5, align 8, !tbaa !15
  %150 = icmp ult i64 %149, 3
  br i1 %150, label %151, label %183

151:                                              ; preds = %148
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.DeviceInfo_st, ptr %152, i32 0, i32 7
  %154 = load i32, ptr %153, align 1, !tbaa !24
  %155 = load i64, ptr %5, align 8, !tbaa !15
  %156 = getelementptr inbounds [3 x %struct.table_item_t], ptr @sdf_digest_caps, i64 0, i64 %155
  %157 = getelementptr inbounds %struct.table_item_t, ptr %156, i32 0, i32 0
  %158 = load i32, ptr %157, align 16, !tbaa !17
  %159 = and i32 %154, %158
  %160 = load i64, ptr %5, align 8, !tbaa !15
  %161 = getelementptr inbounds [3 x %struct.table_item_t], ptr @sdf_digest_caps, i64 0, i64 %160
  %162 = getelementptr inbounds %struct.table_item_t, ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 16, !tbaa !17
  %164 = icmp eq i32 %159, %163
  br i1 %164, label %165, label %179

165:                                              ; preds = %151
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = load i32, ptr %9, align 4, !tbaa !9
  %168 = load i64, ptr %6, align 8, !tbaa !15
  %169 = icmp ne i64 %168, 0
  %170 = zext i1 %169 to i64
  %171 = select i1 %169, ptr @.str.10, ptr @.str.11
  %172 = load i64, ptr %5, align 8, !tbaa !15
  %173 = getelementptr inbounds [3 x %struct.table_item_t], ptr @sdf_digest_caps, i64 0, i64 %172
  %174 = getelementptr inbounds %struct.table_item_t, ptr %173, i32 0, i32 1
  %175 = load ptr, ptr %174, align 8, !tbaa !19
  %176 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %166, i32 noundef %167, i32 noundef 0, ptr noundef @.str.9, ptr noundef %171, ptr noundef %175)
  %177 = load i64, ptr %6, align 8, !tbaa !15
  %178 = add i64 %177, 1
  store i64 %178, ptr %6, align 8, !tbaa !15
  br label %179

179:                                              ; preds = %165, %151
  br label %180

180:                                              ; preds = %179
  %181 = load i64, ptr %5, align 8, !tbaa !15
  %182 = add i64 %181, 1
  store i64 %182, ptr %5, align 8, !tbaa !15
  br label %148, !llvm.loop !25

183:                                              ; preds = %148
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = load i32, ptr %9, align 4, !tbaa !9
  %186 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %184, i32 noundef %185, i32 noundef 0, ptr noundef @.str.12)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 100, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret i32 0
}

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

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

declare i32 @format_print(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #3

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 72}
!13 = !{!"DeviceInfo_st", !7, i64 0, !7, i64 40, !7, i64 56, !10, i64 72, !10, i64 76, !7, i64 80, !10, i64 88, !10, i64 92, !10, i64 96}
!14 = !{!13, !10, i64 76}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !10, i64 0}
!18 = !{!"", !10, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!13, !10, i64 88}
!23 = distinct !{!23, !21}
!24 = !{!13, !10, i64 92}
!25 = distinct !{!25, !21}


; 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.table_item_t = type { i32, ptr }
%struct.DeviceInfo_st = type { [40 x i8], [16 x i8], [16 x i8], i32, i32, [2 x i32], i32, i32, i32 }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@sdf_pkey_caps = external hidden local_unnamed_addr global [5 x %struct.table_item_t], align 16
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [8 x i8], align 1
@sdf_cipher_caps = external hidden local_unnamed_addr global [17 x %struct.table_item_t], align 16
@.str.14 = external hidden unnamed_addr constant [8 x i8], align 1
@sdf_digest_caps = external hidden local_unnamed_addr global [3 x %struct.table_item_t], align 16

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @SDF_PrintDeviceInfo(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.DeviceInfo_st, align 1
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(100) %3, ptr noundef nonnull align 1 dereferenceable(100) %1, i64 100, i1 false)
  %4 = getelementptr inbounds i8, ptr %3, i64 39
  store i8 0, ptr %4, align 1, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %3, i64 40
  %6 = getelementptr inbounds i8, ptr %3, i64 55
  store i8 0, ptr %6, align 1, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %3, i64 56
  %8 = getelementptr inbounds i8, ptr %3, i64 71
  store i8 0, ptr %8, align 1, !tbaa !5
  %9 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull %5) #4
  %10 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, ptr noundef nonnull %7) #4
  %11 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, ptr noundef nonnull %3) #4
  %12 = getelementptr inbounds i8, ptr %3, i64 72
  %13 = load i32, ptr %12, align 1, !tbaa !8
  %14 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, i32 noundef %13) #4
  %15 = getelementptr inbounds i8, ptr %3, i64 76
  %16 = load i32, ptr %15, align 1, !tbaa !11
  %17 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.6, i32 noundef %16) #4
  %18 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8) #4
  %19 = getelementptr inbounds i8, ptr %3, i64 80
  %20 = load i32, ptr %19, align 1, !tbaa !12
  %21 = load i32, ptr @sdf_pkey_caps, align 16, !tbaa !13
  %22 = and i32 %21, %20
  %.not = icmp eq i32 %22, %21
  br i1 %.not, label %23, label %26

23:                                               ; preds = %2
  %24 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 8), align 8, !tbaa !16
  %25 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.11, ptr noundef %24) #4
  %.pre = load i32, ptr %19, align 1, !tbaa !12
  br label %26

26:                                               ; preds = %2, %23
  %27 = phi i32 [ %.pre, %23 ], [ %20, %2 ]
  %.170 = phi i64 [ 1, %23 ], [ 0, %2 ]
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 16), align 16, !tbaa !13
  %29 = and i32 %28, %27
  %30 = icmp eq i32 %29, %28
  br i1 %30, label %31, label %36

31:                                               ; preds = %26
  %32 = select i1 %.not, ptr @.str.10, ptr @.str.11
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 24), align 8, !tbaa !16
  %34 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %32, ptr noundef %33) #4
  %35 = add nuw nsw i64 %.170, 1
  %.pre80 = load i32, ptr %19, align 1, !tbaa !12
  br label %36

36:                                               ; preds = %31, %26
  %37 = phi i32 [ %.pre80, %31 ], [ %27, %26 ]
  %.170.1 = phi i64 [ %35, %31 ], [ %.170, %26 ]
  %38 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 32), align 16, !tbaa !13
  %39 = and i32 %38, %37
  %40 = icmp eq i32 %39, %38
  br i1 %40, label %41, label %46

41:                                               ; preds = %36
  %.not73.2 = icmp eq i64 %.170.1, 0
  %42 = select i1 %.not73.2, ptr @.str.11, ptr @.str.10
  %43 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 40), align 8, !tbaa !16
  %44 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %42, ptr noundef %43) #4
  %45 = add nuw nsw i64 %.170.1, 1
  %.pre81 = load i32, ptr %19, align 1, !tbaa !12
  br label %46

46:                                               ; preds = %41, %36
  %47 = phi i32 [ %.pre81, %41 ], [ %37, %36 ]
  %.170.2 = phi i64 [ %45, %41 ], [ %.170.1, %36 ]
  %48 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 48), align 16, !tbaa !13
  %49 = and i32 %48, %47
  %50 = icmp eq i32 %49, %48
  br i1 %50, label %51, label %55

51:                                               ; preds = %46
  %.not73.3 = icmp eq i64 %.170.2, 0
  %52 = select i1 %.not73.3, ptr @.str.11, ptr @.str.10
  %53 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 56), align 8, !tbaa !16
  %54 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %52, ptr noundef %53) #4
  %.pre82 = load i32, ptr %19, align 1, !tbaa !12
  br label %55

55:                                               ; preds = %51, %46
  %56 = phi i32 [ %.pre82, %51 ], [ %47, %46 ]
  %.170.3 = phi i64 [ 1, %51 ], [ %.170.2, %46 ]
  %57 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 64), align 16, !tbaa !13
  %58 = and i32 %57, %56
  %59 = icmp eq i32 %58, %57
  br i1 %59, label %60, label %64

60:                                               ; preds = %55
  %.not73.4 = icmp eq i64 %.170.3, 0
  %61 = select i1 %.not73.4, ptr @.str.11, ptr @.str.10
  %62 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_pkey_caps, i64 72), align 8, !tbaa !16
  %63 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %61, ptr noundef %62) #4
  br label %64

64:                                               ; preds = %60, %55
  %65 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.12) #4
  %66 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.13) #4
  %67 = getelementptr inbounds i8, ptr %3, i64 88
  %68 = load i32, ptr %67, align 1, !tbaa !17
  %69 = load i32, ptr @sdf_cipher_caps, align 16, !tbaa !13
  %70 = and i32 %69, %68
  %.not101 = icmp eq i32 %70, %69
  br i1 %.not101, label %71, label %74

71:                                               ; preds = %64
  %72 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 8), align 8, !tbaa !16
  %73 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.11, ptr noundef %72) #4
  %.pre83 = load i32, ptr %67, align 1, !tbaa !17
  br label %74

74:                                               ; preds = %64, %71
  %75 = phi i32 [ %.pre83, %71 ], [ %68, %64 ]
  %.3 = phi i64 [ 1, %71 ], [ 0, %64 ]
  %76 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 16), align 16, !tbaa !13
  %77 = and i32 %76, %75
  %78 = icmp eq i32 %77, %76
  br i1 %78, label %79, label %84

79:                                               ; preds = %74
  %80 = select i1 %.not101, ptr @.str.10, ptr @.str.11
  %81 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 24), align 8, !tbaa !16
  %82 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %80, ptr noundef %81) #4
  %83 = add nuw nsw i64 %.3, 1
  %.pre84 = load i32, ptr %67, align 1, !tbaa !17
  br label %84

84:                                               ; preds = %79, %74
  %85 = phi i32 [ %.pre84, %79 ], [ %75, %74 ]
  %.3.1 = phi i64 [ %83, %79 ], [ %.3, %74 ]
  %86 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 32), align 16, !tbaa !13
  %87 = and i32 %86, %85
  %88 = icmp eq i32 %87, %86
  br i1 %88, label %89, label %94

89:                                               ; preds = %84
  %.not72.2 = icmp eq i64 %.3.1, 0
  %90 = select i1 %.not72.2, ptr @.str.11, ptr @.str.10
  %91 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 40), align 8, !tbaa !16
  %92 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %90, ptr noundef %91) #4
  %93 = add nuw nsw i64 %.3.1, 1
  %.pre85 = load i32, ptr %67, align 1, !tbaa !17
  br label %94

94:                                               ; preds = %89, %84
  %95 = phi i32 [ %.pre85, %89 ], [ %85, %84 ]
  %.3.2 = phi i64 [ %93, %89 ], [ %.3.1, %84 ]
  %96 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 48), align 16, !tbaa !13
  %97 = and i32 %96, %95
  %98 = icmp eq i32 %97, %96
  br i1 %98, label %99, label %104

99:                                               ; preds = %94
  %.not72.3 = icmp eq i64 %.3.2, 0
  %100 = select i1 %.not72.3, ptr @.str.11, ptr @.str.10
  %101 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 56), align 8, !tbaa !16
  %102 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %100, ptr noundef %101) #4
  %103 = add nuw nsw i64 %.3.2, 1
  %.pre86 = load i32, ptr %67, align 1, !tbaa !17
  br label %104

104:                                              ; preds = %99, %94
  %105 = phi i32 [ %.pre86, %99 ], [ %95, %94 ]
  %.3.3 = phi i64 [ %103, %99 ], [ %.3.2, %94 ]
  %106 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 64), align 16, !tbaa !13
  %107 = and i32 %106, %105
  %108 = icmp eq i32 %107, %106
  br i1 %108, label %109, label %114

109:                                              ; preds = %104
  %.not72.4 = icmp eq i64 %.3.3, 0
  %110 = select i1 %.not72.4, ptr @.str.11, ptr @.str.10
  %111 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 72), align 8, !tbaa !16
  %112 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %110, ptr noundef %111) #4
  %113 = add nuw nsw i64 %.3.3, 1
  %.pre87 = load i32, ptr %67, align 1, !tbaa !17
  br label %114

114:                                              ; preds = %109, %104
  %115 = phi i32 [ %.pre87, %109 ], [ %105, %104 ]
  %.3.4 = phi i64 [ %113, %109 ], [ %.3.3, %104 ]
  %116 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 80), align 16, !tbaa !13
  %117 = and i32 %116, %115
  %118 = icmp eq i32 %117, %116
  br i1 %118, label %119, label %124

119:                                              ; preds = %114
  %.not72.5 = icmp eq i64 %.3.4, 0
  %120 = select i1 %.not72.5, ptr @.str.11, ptr @.str.10
  %121 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 88), align 8, !tbaa !16
  %122 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %120, ptr noundef %121) #4
  %123 = add nuw nsw i64 %.3.4, 1
  %.pre88 = load i32, ptr %67, align 1, !tbaa !17
  br label %124

124:                                              ; preds = %119, %114
  %125 = phi i32 [ %.pre88, %119 ], [ %115, %114 ]
  %.3.5 = phi i64 [ %123, %119 ], [ %.3.4, %114 ]
  %126 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 96), align 16, !tbaa !13
  %127 = and i32 %126, %125
  %128 = icmp eq i32 %127, %126
  br i1 %128, label %129, label %134

129:                                              ; preds = %124
  %.not72.6 = icmp eq i64 %.3.5, 0
  %130 = select i1 %.not72.6, ptr @.str.11, ptr @.str.10
  %131 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 104), align 8, !tbaa !16
  %132 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %130, ptr noundef %131) #4
  %133 = add nuw nsw i64 %.3.5, 1
  %.pre89 = load i32, ptr %67, align 1, !tbaa !17
  br label %134

134:                                              ; preds = %129, %124
  %135 = phi i32 [ %.pre89, %129 ], [ %125, %124 ]
  %.3.6 = phi i64 [ %133, %129 ], [ %.3.5, %124 ]
  %136 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 112), align 16, !tbaa !13
  %137 = and i32 %136, %135
  %138 = icmp eq i32 %137, %136
  br i1 %138, label %139, label %144

139:                                              ; preds = %134
  %.not72.7 = icmp eq i64 %.3.6, 0
  %140 = select i1 %.not72.7, ptr @.str.11, ptr @.str.10
  %141 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 120), align 8, !tbaa !16
  %142 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %140, ptr noundef %141) #4
  %143 = add nuw nsw i64 %.3.6, 1
  %.pre90 = load i32, ptr %67, align 1, !tbaa !17
  br label %144

144:                                              ; preds = %139, %134
  %145 = phi i32 [ %.pre90, %139 ], [ %135, %134 ]
  %.3.7 = phi i64 [ %143, %139 ], [ %.3.6, %134 ]
  %146 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 128), align 16, !tbaa !13
  %147 = and i32 %146, %145
  %148 = icmp eq i32 %147, %146
  br i1 %148, label %149, label %154

149:                                              ; preds = %144
  %.not72.8 = icmp eq i64 %.3.7, 0
  %150 = select i1 %.not72.8, ptr @.str.11, ptr @.str.10
  %151 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 136), align 8, !tbaa !16
  %152 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %150, ptr noundef %151) #4
  %153 = add nuw nsw i64 %.3.7, 1
  %.pre91 = load i32, ptr %67, align 1, !tbaa !17
  br label %154

154:                                              ; preds = %149, %144
  %155 = phi i32 [ %.pre91, %149 ], [ %145, %144 ]
  %.3.8 = phi i64 [ %153, %149 ], [ %.3.7, %144 ]
  %156 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 144), align 16, !tbaa !13
  %157 = and i32 %156, %155
  %158 = icmp eq i32 %157, %156
  br i1 %158, label %159, label %164

159:                                              ; preds = %154
  %.not72.9 = icmp eq i64 %.3.8, 0
  %160 = select i1 %.not72.9, ptr @.str.11, ptr @.str.10
  %161 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 152), align 8, !tbaa !16
  %162 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %160, ptr noundef %161) #4
  %163 = add nuw nsw i64 %.3.8, 1
  %.pre92 = load i32, ptr %67, align 1, !tbaa !17
  br label %164

164:                                              ; preds = %159, %154
  %165 = phi i32 [ %.pre92, %159 ], [ %155, %154 ]
  %.3.9 = phi i64 [ %163, %159 ], [ %.3.8, %154 ]
  %166 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 160), align 16, !tbaa !13
  %167 = and i32 %166, %165
  %168 = icmp eq i32 %167, %166
  br i1 %168, label %169, label %174

169:                                              ; preds = %164
  %.not72.10 = icmp eq i64 %.3.9, 0
  %170 = select i1 %.not72.10, ptr @.str.11, ptr @.str.10
  %171 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 168), align 8, !tbaa !16
  %172 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %170, ptr noundef %171) #4
  %173 = add nuw nsw i64 %.3.9, 1
  %.pre93 = load i32, ptr %67, align 1, !tbaa !17
  br label %174

174:                                              ; preds = %169, %164
  %175 = phi i32 [ %.pre93, %169 ], [ %165, %164 ]
  %.3.10 = phi i64 [ %173, %169 ], [ %.3.9, %164 ]
  %176 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 176), align 16, !tbaa !13
  %177 = and i32 %176, %175
  %178 = icmp eq i32 %177, %176
  br i1 %178, label %179, label %184

179:                                              ; preds = %174
  %.not72.11 = icmp eq i64 %.3.10, 0
  %180 = select i1 %.not72.11, ptr @.str.11, ptr @.str.10
  %181 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 184), align 8, !tbaa !16
  %182 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %180, ptr noundef %181) #4
  %183 = add nuw nsw i64 %.3.10, 1
  %.pre94 = load i32, ptr %67, align 1, !tbaa !17
  br label %184

184:                                              ; preds = %179, %174
  %185 = phi i32 [ %.pre94, %179 ], [ %175, %174 ]
  %.3.11 = phi i64 [ %183, %179 ], [ %.3.10, %174 ]
  %186 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 192), align 16, !tbaa !13
  %187 = and i32 %186, %185
  %188 = icmp eq i32 %187, %186
  br i1 %188, label %189, label %194

189:                                              ; preds = %184
  %.not72.12 = icmp eq i64 %.3.11, 0
  %190 = select i1 %.not72.12, ptr @.str.11, ptr @.str.10
  %191 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 200), align 8, !tbaa !16
  %192 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %190, ptr noundef %191) #4
  %193 = add nuw nsw i64 %.3.11, 1
  %.pre95 = load i32, ptr %67, align 1, !tbaa !17
  br label %194

194:                                              ; preds = %189, %184
  %195 = phi i32 [ %.pre95, %189 ], [ %185, %184 ]
  %.3.12 = phi i64 [ %193, %189 ], [ %.3.11, %184 ]
  %196 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 208), align 16, !tbaa !13
  %197 = and i32 %196, %195
  %198 = icmp eq i32 %197, %196
  br i1 %198, label %199, label %204

199:                                              ; preds = %194
  %.not72.13 = icmp eq i64 %.3.12, 0
  %200 = select i1 %.not72.13, ptr @.str.11, ptr @.str.10
  %201 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 216), align 8, !tbaa !16
  %202 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %200, ptr noundef %201) #4
  %203 = add nuw nsw i64 %.3.12, 1
  %.pre96 = load i32, ptr %67, align 1, !tbaa !17
  br label %204

204:                                              ; preds = %199, %194
  %205 = phi i32 [ %.pre96, %199 ], [ %195, %194 ]
  %.3.13 = phi i64 [ %203, %199 ], [ %.3.12, %194 ]
  %206 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 224), align 16, !tbaa !13
  %207 = and i32 %206, %205
  %208 = icmp eq i32 %207, %206
  br i1 %208, label %209, label %214

209:                                              ; preds = %204
  %.not72.14 = icmp eq i64 %.3.13, 0
  %210 = select i1 %.not72.14, ptr @.str.11, ptr @.str.10
  %211 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 232), align 8, !tbaa !16
  %212 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %210, ptr noundef %211) #4
  %213 = add nuw nsw i64 %.3.13, 1
  %.pre97 = load i32, ptr %67, align 1, !tbaa !17
  br label %214

214:                                              ; preds = %209, %204
  %215 = phi i32 [ %.pre97, %209 ], [ %205, %204 ]
  %.3.14 = phi i64 [ %213, %209 ], [ %.3.13, %204 ]
  %216 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 240), align 16, !tbaa !13
  %217 = and i32 %216, %215
  %218 = icmp eq i32 %217, %216
  br i1 %218, label %219, label %223

219:                                              ; preds = %214
  %.not72.15 = icmp eq i64 %.3.14, 0
  %220 = select i1 %.not72.15, ptr @.str.11, ptr @.str.10
  %221 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 248), align 8, !tbaa !16
  %222 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %220, ptr noundef %221) #4
  %.pre98 = load i32, ptr %67, align 1, !tbaa !17
  br label %223

223:                                              ; preds = %219, %214
  %224 = phi i32 [ %.pre98, %219 ], [ %215, %214 ]
  %.3.15 = phi i64 [ 1, %219 ], [ %.3.14, %214 ]
  %225 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 256), align 16, !tbaa !13
  %226 = and i32 %225, %224
  %227 = icmp eq i32 %226, %225
  br i1 %227, label %228, label %232

228:                                              ; preds = %223
  %.not72.16 = icmp eq i64 %.3.15, 0
  %229 = select i1 %.not72.16, ptr @.str.11, ptr @.str.10
  %230 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_cipher_caps, i64 264), align 8, !tbaa !16
  %231 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %229, ptr noundef %230) #4
  br label %232

232:                                              ; preds = %228, %223
  %233 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.12) #4
  %234 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.14) #4
  %235 = getelementptr inbounds i8, ptr %3, i64 92
  %236 = load i32, ptr %235, align 1, !tbaa !18
  %237 = load i32, ptr @sdf_digest_caps, align 16, !tbaa !13
  %238 = and i32 %237, %236
  %.not102 = icmp eq i32 %238, %237
  br i1 %.not102, label %239, label %242

239:                                              ; preds = %232
  %240 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_digest_caps, i64 8), align 8, !tbaa !16
  %241 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.11, ptr noundef %240) #4
  %.pre99 = load i32, ptr %235, align 1, !tbaa !18
  br label %242

242:                                              ; preds = %232, %239
  %243 = phi i32 [ %.pre99, %239 ], [ %236, %232 ]
  %.5 = phi i64 [ 1, %239 ], [ 0, %232 ]
  %244 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_digest_caps, i64 16), align 16, !tbaa !13
  %245 = and i32 %244, %243
  %246 = icmp eq i32 %245, %244
  br i1 %246, label %247, label %251

247:                                              ; preds = %242
  %248 = select i1 %.not102, ptr @.str.10, ptr @.str.11
  %249 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_digest_caps, i64 24), align 8, !tbaa !16
  %250 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %248, ptr noundef %249) #4
  %.pre100 = load i32, ptr %235, align 1, !tbaa !18
  br label %251

251:                                              ; preds = %247, %242
  %252 = phi i32 [ %.pre100, %247 ], [ %243, %242 ]
  %.5.1 = phi i64 [ 1, %247 ], [ %.5, %242 ]
  %253 = load i32, ptr getelementptr inbounds (i8, ptr @sdf_digest_caps, i64 32), align 16, !tbaa !13
  %254 = and i32 %253, %252
  %255 = icmp eq i32 %254, %253
  br i1 %255, label %256, label %260

256:                                              ; preds = %251
  %.not.2 = icmp eq i64 %.5.1, 0
  %257 = select i1 %.not.2, ptr @.str.11, ptr @.str.10
  %258 = load ptr, ptr getelementptr inbounds (i8, ptr @sdf_digest_caps, i64 40), align 8, !tbaa !16
  %259 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef nonnull %257, ptr noundef %258) #4
  br label %260

260:                                              ; preds = %256, %251
  %261 = call i32 (ptr, i32, i32, ptr, ...) @format_print(ptr noundef %0, i32 noundef 0, i32 noundef 0, ptr noundef nonnull @.str.12) #4
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %3) #4
  ret i32 0
}

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

; 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) #2

declare i32 @format_print(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !10, i64 72}
!9 = !{!"DeviceInfo_st", !6, i64 0, !6, i64 40, !6, i64 56, !10, i64 72, !10, i64 76, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96}
!10 = !{!"int", !6, i64 0}
!11 = !{!9, !10, i64 76}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"", !10, i64 0, !15, i64 8}
!15 = !{!"any pointer", !6, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!9, !10, i64 88}
!18 = !{!9, !10, i64 92}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass