; LLVM IR from aws/s2n-tls :: bin (common)

; 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.conn_settings = type { i16, i32, i32, ptr, ptr, ptr, ptr, [10 x ptr], i64 }

@.str.29 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_setup_external_psk_list(ptr noundef, ptr noundef, i64 noundef) #0

declare void @print_s2n_error(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_setup_server_connection(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef byval(%struct.conn_settings) align 8 %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 6
  %10 = load ptr, ptr %9, align 8, !tbaa !11
  %11 = icmp ne ptr %10, null
  br i1 %11, label %12, label %22

12:                                               ; preds = %4
  br label %13

13:                                               ; preds = %12
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 6
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = call i32 @s2n_connection_deserialize_in(ptr noundef %14, ptr noundef %16)
  %18 = icmp slt i32 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %13
  call void @print_s2n_error(ptr noundef @.str.29)
  store i32 -1, ptr %5, align 4
  br label %155

20:                                               ; preds = %13
  br label %21

21:                                               ; preds = %20
  br label %22

22:                                               ; preds = %21, %4
  %23 = load i16, ptr %3, align 8
  %24 = lshr i16 %23, 1
  %25 = and i16 %24, 1
  %26 = zext i16 %25 to i32
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %28, label %31

28:                                               ; preds = %22
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call i32 @s2n_connection_set_blinding(ptr noundef %29, i32 noundef 1)
  br label %31

31:                                               ; preds = %28, %22
  %32 = load i16, ptr %3, align 8
  %33 = and i16 %32, 1
  %34 = zext i16 %33 to i32
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %78

36:                                               ; preds = %31
  br label %37

37:                                               ; preds = %36
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = call i32 @s2n_config_set_client_auth_type(ptr noundef %38, i32 noundef 1)
  %40 = icmp slt i32 %39, 0
  br i1 %40, label %41, label %42

41:                                               ; preds = %37
  call void @print_s2n_error(ptr noundef @.str.30)
  store i32 -1, ptr %5, align 4
  br label %155

42:                                               ; preds = %37
  br label %43

43:                                               ; preds = %42
  %44 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 3
  %45 = load ptr, ptr %44, align 8, !tbaa !14
  %46 = icmp ne ptr %45, null
  br i1 %46, label %51, label %47

47:                                               ; preds = %43
  %48 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 4
  %49 = load ptr, ptr %48, align 8, !tbaa !15
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %63

51:                                               ; preds = %47, %43
  br label %52

52:                                               ; preds = %51
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 4
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  %56 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 3
  %57 = load ptr, ptr %56, align 8, !tbaa !14
  %58 = call i32 @s2n_config_set_verification_ca_location(ptr noundef %53, ptr noundef %55, ptr noundef %57)
  %59 = icmp slt i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %52
  call void @print_s2n_error(ptr noundef @.str.31)
  store i32 -1, ptr %5, align 4
  br label %155

61:                                               ; preds = %52
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62, %47
  %64 = load i16, ptr %3, align 8
  %65 = lshr i16 %64, 8
  %66 = and i16 %65, 1
  %67 = zext i16 %66 to i32
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %77

69:                                               ; preds = %63
  br label %70

70:                                               ; preds = %69
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = call i32 @s2n_config_disable_x509_verification(ptr noundef %71)
  %73 = icmp slt i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %70
  call void @print_s2n_error(ptr noundef @.str.32)
  store i32 -1, ptr %5, align 4
  br label %155

75:                                               ; preds = %70
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76, %63
  br label %78

78:                                               ; preds = %77, %31
  br label %79

79:                                               ; preds = %78
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = call i32 @s2n_connection_set_config(ptr noundef %80, ptr noundef %81)
  %83 = icmp slt i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %79
  call void @print_s2n_error(ptr noundef @.str.33)
  store i32 -1, ptr %5, align 4
  br label %155

85:                                               ; preds = %79
  br label %86

86:                                               ; preds = %85
  %87 = load i16, ptr %3, align 8
  %88 = lshr i16 %87, 3
  %89 = and i16 %88, 1
  %90 = zext i16 %89 to i32
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %100

92:                                               ; preds = %86
  br label %93

93:                                               ; preds = %92
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = call i32 @s2n_connection_prefer_throughput(ptr noundef %94)
  %96 = icmp slt i32 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %93
  call void @print_s2n_error(ptr noundef @.str.34)
  store i32 -1, ptr %5, align 4
  br label %155

98:                                               ; preds = %93
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99, %86
  %101 = load i16, ptr %3, align 8
  %102 = lshr i16 %101, 4
  %103 = and i16 %102, 1
  %104 = zext i16 %103 to i32
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %114

106:                                              ; preds = %100
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = call i32 @s2n_connection_prefer_low_latency(ptr noundef %108)
  %110 = icmp slt i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %107
  call void @print_s2n_error(ptr noundef @.str.35)
  store i32 -1, ptr %5, align 4
  br label %155

112:                                              ; preds = %107
  br label %113

113:                                              ; preds = %112
  br label %114

114:                                              ; preds = %113, %100
  br label %115

115:                                              ; preds = %114
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = load i32, ptr %7, align 4, !tbaa !9
  %118 = call i32 @s2n_connection_set_fd(ptr noundef %116, i32 noundef %117)
  %119 = icmp slt i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %115
  call void @print_s2n_error(ptr noundef @.str.36)
  store i32 -1, ptr %5, align 4
  br label %155

121:                                              ; preds = %115
  br label %122

122:                                              ; preds = %121
  %123 = load i16, ptr %3, align 8
  %124 = lshr i16 %123, 9
  %125 = and i16 %124, 1
  %126 = zext i16 %125 to i32
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %136

128:                                              ; preds = %122
  br label %129

129:                                              ; preds = %128
  %130 = load ptr, ptr %6, align 8, !tbaa !5
  %131 = call i32 @s2n_connection_use_corked_io(ptr noundef %130)
  %132 = icmp slt i32 %131, 0
  br i1 %132, label %133, label %134

133:                                              ; preds = %129
  call void @print_s2n_error(ptr noundef @.str.37)
  store i32 -1, ptr %5, align 4
  br label %155

134:                                              ; preds = %129
  br label %135

135:                                              ; preds = %134
  br label %136

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

137:                                              ; preds = %136
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 7
  %140 = getelementptr inbounds [10 x ptr], ptr %139, i64 0, i64 0
  %141 = getelementptr inbounds %struct.conn_settings, ptr %3, i32 0, i32 8
  %142 = load i64, ptr %141, align 8, !tbaa !16
  %143 = call i32 @s2n_setup_external_psk_list(ptr noundef %138, ptr noundef %140, i64 noundef %142)
  %144 = icmp slt i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %137
  call void @print_s2n_error(ptr noundef @.str.38)
  store i32 -1, ptr %5, align 4
  br label %155

146:                                              ; preds = %137
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = call i32 @early_data_recv(ptr noundef %149)
  %151 = icmp slt i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %148
  call void @print_s2n_error(ptr noundef @.str.39)
  store i32 -1, ptr %5, align 4
  br label %155

153:                                              ; preds = %148
  br label %154

154:                                              ; preds = %153
  store i32 0, ptr %5, align 4
  br label %155

155:                                              ; preds = %154, %152, %145, %133, %120, %111, %97, %84, %74, %60, %41, %19
  %156 = load i32, ptr %5, align 4
  ret i32 %156
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_connection_deserialize_in(ptr noundef, ptr noundef) #0

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

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

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

declare i32 @s2n_config_disable_x509_verification(ptr noundef) #1

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

declare i32 @s2n_connection_prefer_throughput(ptr noundef) #1

declare i32 @s2n_connection_prefer_low_latency(ptr noundef) #1

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

declare i32 @s2n_connection_use_corked_io(ptr noundef) #1

declare i32 @early_data_recv(ptr noundef) #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 = { "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" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 40}
!12 = !{!"conn_settings", !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 1, !10, i64 1, !10, i64 1, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !7, i64 48, !13, i64 128}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 16}
!15 = !{!12, !6, i64 24}
!16 = !{!12, !13, i64 128}


; 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.conn_settings = type { i16, i32, i32, ptr, ptr, ptr, ptr, [10 x ptr], i64 }

@.str.29 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [27 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_setup_external_psk_list(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

declare void @print_s2n_error(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @s2n_setup_server_connection(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef byval(%struct.conn_settings) align 8 %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %3, i64 40
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %11, label %7

7:                                                ; preds = %4
  %8 = tail call i32 @s2n_connection_deserialize_in(ptr noundef %0, ptr noundef nonnull %6)
  %9 = icmp slt i32 %8, 0
  br i1 %9, label %10, label %11

10:                                               ; preds = %7
  tail call void @print_s2n_error(ptr noundef nonnull @.str.29) #2
  br label %76

11:                                               ; preds = %7, %4
  %12 = load i16, ptr %3, align 8
  %13 = and i16 %12, 2
  %.not17 = icmp eq i16 %13, 0
  br i1 %.not17, label %16, label %14

14:                                               ; preds = %11
  %15 = tail call i32 @s2n_connection_set_blinding(ptr noundef %0, i32 noundef 1) #2
  br label %16

16:                                               ; preds = %14, %11
  %17 = and i16 %12, 1
  %.not18 = icmp eq i16 %17, 0
  br i1 %.not18, label %39, label %18

18:                                               ; preds = %16
  %19 = tail call i32 @s2n_config_set_client_auth_type(ptr noundef %2, i32 noundef 1) #2
  %20 = icmp slt i32 %19, 0
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  tail call void @print_s2n_error(ptr noundef nonnull @.str.30) #2
  br label %76

22:                                               ; preds = %18
  %23 = getelementptr inbounds i8, ptr %3, i64 16
  %24 = load ptr, ptr %23, align 8, !tbaa !12
  %25 = icmp ne ptr %24, null
  %26 = getelementptr inbounds i8, ptr %3, i64 24
  %27 = load ptr, ptr %26, align 8
  %28 = icmp ne ptr %27, null
  %or.cond = select i1 %25, i1 true, i1 %28
  br i1 %or.cond, label %29, label %33

29:                                               ; preds = %22
  %30 = tail call i32 @s2n_config_set_verification_ca_location(ptr noundef %2, ptr noundef %27, ptr noundef %24) #2
  %31 = icmp slt i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %29
  tail call void @print_s2n_error(ptr noundef nonnull @.str.31) #2
  br label %76

33:                                               ; preds = %29, %22
  %34 = and i16 %12, 256
  %.not19 = icmp eq i16 %34, 0
  br i1 %.not19, label %39, label %35

35:                                               ; preds = %33
  %36 = tail call i32 @s2n_config_disable_x509_verification(ptr noundef %2) #2
  %37 = icmp slt i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  tail call void @print_s2n_error(ptr noundef nonnull @.str.32) #2
  br label %76

39:                                               ; preds = %16, %35, %33
  %40 = tail call i32 @s2n_connection_set_config(ptr noundef %0, ptr noundef %2) #2
  %41 = icmp slt i32 %40, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  tail call void @print_s2n_error(ptr noundef nonnull @.str.33) #2
  br label %76

43:                                               ; preds = %39
  %44 = and i16 %12, 8
  %.not20 = icmp eq i16 %44, 0
  br i1 %.not20, label %49, label %45

45:                                               ; preds = %43
  %46 = tail call i32 @s2n_connection_prefer_throughput(ptr noundef %0) #2
  %47 = icmp slt i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %45
  tail call void @print_s2n_error(ptr noundef nonnull @.str.34) #2
  br label %76

49:                                               ; preds = %45, %43
  %50 = and i16 %12, 16
  %.not21 = icmp eq i16 %50, 0
  br i1 %.not21, label %55, label %51

51:                                               ; preds = %49
  %52 = tail call i32 @s2n_connection_prefer_low_latency(ptr noundef %0) #2
  %53 = icmp slt i32 %52, 0
  br i1 %53, label %54, label %55

54:                                               ; preds = %51
  tail call void @print_s2n_error(ptr noundef nonnull @.str.35) #2
  br label %76

55:                                               ; preds = %49, %51
  %56 = tail call i32 @s2n_connection_set_fd(ptr noundef %0, i32 noundef %1) #2
  %57 = icmp slt i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %55
  tail call void @print_s2n_error(ptr noundef nonnull @.str.36) #2
  br label %76

59:                                               ; preds = %55
  %60 = and i16 %12, 512
  %.not22 = icmp eq i16 %60, 0
  br i1 %.not22, label %65, label %61

61:                                               ; preds = %59
  %62 = tail call i32 @s2n_connection_use_corked_io(ptr noundef %0) #2
  %63 = icmp slt i32 %62, 0
  br i1 %63, label %64, label %65

64:                                               ; preds = %61
  tail call void @print_s2n_error(ptr noundef nonnull @.str.37) #2
  br label %76

65:                                               ; preds = %59, %61
  %66 = getelementptr inbounds i8, ptr %3, i64 48
  %67 = getelementptr inbounds i8, ptr %3, i64 128
  %68 = load i64, ptr %67, align 8, !tbaa !13
  %69 = call i32 @s2n_setup_external_psk_list(ptr noundef %0, ptr noundef nonnull %66, i64 noundef %68)
  %70 = icmp slt i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %65
  call void @print_s2n_error(ptr noundef nonnull @.str.38) #2
  br label %76

72:                                               ; preds = %65
  %73 = call i32 @early_data_recv(ptr noundef %0) #2
  %74 = icmp slt i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %72
  call void @print_s2n_error(ptr noundef nonnull @.str.39) #2
  br label %76

76:                                               ; preds = %72, %75, %71, %64, %58, %54, %48, %42, %38, %32, %21, %10
  %.0 = phi i32 [ -1, %10 ], [ -1, %21 ], [ -1, %32 ], [ -1, %38 ], [ -1, %42 ], [ -1, %48 ], [ -1, %54 ], [ -1, %58 ], [ -1, %64 ], [ -1, %71 ], [ -1, %75 ], [ 0, %72 ]
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @s2n_connection_deserialize_in(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

declare i32 @s2n_config_disable_x509_verification(ptr noundef) local_unnamed_addr #1

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

declare i32 @s2n_connection_prefer_throughput(ptr noundef) local_unnamed_addr #1

declare i32 @s2n_connection_prefer_low_latency(ptr noundef) local_unnamed_addr #1

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

declare i32 @s2n_connection_use_corked_io(ptr noundef) local_unnamed_addr #1

declare i32 @early_data_recv(ptr noundef) local_unnamed_addr #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 = { "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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 40}
!6 = !{!"conn_settings", !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 1, !7, i64 1, !7, i64 1, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !8, i64 48, !11, i64 128}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !11, i64 128}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass