; LLVM IR from aws/s2n-tls :: tests/unit (s2n_server_hello_retry_test)

; 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.client_hello_context = type { i32, i32, i8 }

@s2n_use_color_in_output = external dso_local global i8, align 1
@test_count = external dso_local global i32, align 4
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [101 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@s2n_errno = external thread_local global i32, align 4
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @s2n_negotiate_poll_hello_retry(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %3
  br label %14

14:                                               ; preds = %13
  br label %15

15:                                               ; preds = %14
  %16 = load i32, ptr @test_count, align 4, !tbaa !9
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr @test_count, align 4, !tbaa !9
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call i32 @s2n_negotiate(ptr noundef %18, ptr noundef %7)
  %20 = icmp eq i32 %19, -1
  br i1 %20, label %74, label %21

21:                                               ; preds = %15
  br label %22

22:                                               ; preds = %21
  br label %23

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %24 = call ptr @__errno_location() #8
  %25 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %25, ptr %8, align 4, !tbaa !9
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = call i32 @s2n_print_stacktrace(ptr noundef %26)
  %28 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %52

30:                                               ; preds = %23
  %31 = load ptr, ptr @stderr, align 8, !tbaa !5
  %32 = call i32 @fileno(ptr noundef %31) #7
  %33 = call i32 @isatty(i32 noundef %32) #7
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %52

35:                                               ; preds = %30
  %36 = load i32, ptr %8, align 4, !tbaa !9
  %37 = call ptr @__errno_location() #8
  store i32 %36, ptr %37, align 4, !tbaa !9
  %38 = load ptr, ptr @stderr, align 8, !tbaa !5
  %39 = load i32, ptr @test_count, align 4, !tbaa !9
  %40 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = call ptr @s2n_strerror(i32 noundef %41, ptr noundef @.str.3)
  %43 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = call ptr @s2n_strerror_debug(i32 noundef %44, ptr noundef @.str.3)
  %46 = call ptr @__errno_location() #8
  %47 = load i32, ptr %46, align 4, !tbaa !9
  %48 = call ptr @strerror(i32 noundef %47) #7
  %49 = call ptr @__errno_location() #8
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str, i32 noundef %39, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 47, ptr noundef %42, ptr noundef %45, ptr noundef %48, i32 noundef %50) #7
  br label %69

52:                                               ; preds = %30, %23
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = call ptr @__errno_location() #8
  store i32 %53, ptr %54, align 4, !tbaa !9
  %55 = load ptr, ptr @stderr, align 8, !tbaa !5
  %56 = load i32, ptr @test_count, align 4, !tbaa !9
  %57 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = call ptr @s2n_strerror(i32 noundef %58, ptr noundef @.str.3)
  %60 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %62 = call ptr @s2n_strerror_debug(i32 noundef %61, ptr noundef @.str.3)
  %63 = call ptr @__errno_location() #8
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = call ptr @strerror(i32 noundef %64) #7
  %66 = call ptr @__errno_location() #8
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.4, i32 noundef %56, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 47, ptr noundef %59, ptr noundef %62, ptr noundef %65, i32 noundef %67) #7
  br label %69

69:                                               ; preds = %52, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %70

70:                                               ; preds = %69
  br label %71

71:                                               ; preds = %70
  call void @exit(i32 noundef 1) #9
  unreachable

72:                                               ; No predecessors!
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73, %15
  br label %75

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr @test_count, align 4, !tbaa !9
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr @test_count, align 4, !tbaa !9
  %80 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = icmp eq i32 %81, 201326592
  br i1 %82, label %136, label %83

83:                                               ; preds = %77
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %86 = call ptr @__errno_location() #8
  %87 = load i32, ptr %86, align 4, !tbaa !9
  store i32 %87, ptr %9, align 4, !tbaa !9
  %88 = load ptr, ptr @stderr, align 8, !tbaa !5
  %89 = call i32 @s2n_print_stacktrace(ptr noundef %88)
  %90 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %114

92:                                               ; preds = %85
  %93 = load ptr, ptr @stderr, align 8, !tbaa !5
  %94 = call i32 @fileno(ptr noundef %93) #7
  %95 = call i32 @isatty(i32 noundef %94) #7
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %114

97:                                               ; preds = %92
  %98 = load i32, ptr %9, align 4, !tbaa !9
  %99 = call ptr @__errno_location() #8
  store i32 %98, ptr %99, align 4, !tbaa !9
  %100 = load ptr, ptr @stderr, align 8, !tbaa !5
  %101 = load i32, ptr @test_count, align 4, !tbaa !9
  %102 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %103 = load i32, ptr %102, align 4, !tbaa !9
  %104 = call ptr @s2n_strerror(i32 noundef %103, ptr noundef @.str.3)
  %105 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = call ptr @s2n_strerror_debug(i32 noundef %106, ptr noundef @.str.3)
  %108 = call ptr @__errno_location() #8
  %109 = load i32, ptr %108, align 4, !tbaa !9
  %110 = call ptr @strerror(i32 noundef %109) #7
  %111 = call ptr @__errno_location() #8
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str, i32 noundef %101, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 47, ptr noundef %104, ptr noundef %107, ptr noundef %110, i32 noundef %112) #7
  br label %131

114:                                              ; preds = %92, %85
  %115 = load i32, ptr %9, align 4, !tbaa !9
  %116 = call ptr @__errno_location() #8
  store i32 %115, ptr %116, align 4, !tbaa !9
  %117 = load ptr, ptr @stderr, align 8, !tbaa !5
  %118 = load i32, ptr @test_count, align 4, !tbaa !9
  %119 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %120 = load i32, ptr %119, align 4, !tbaa !9
  %121 = call ptr @s2n_strerror(i32 noundef %120, ptr noundef @.str.3)
  %122 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = call ptr @s2n_strerror_debug(i32 noundef %123, ptr noundef @.str.3)
  %125 = call ptr @__errno_location() #8
  %126 = load i32, ptr %125, align 4, !tbaa !9
  %127 = call ptr @strerror(i32 noundef %126) #7
  %128 = call ptr @__errno_location() #8
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.4, i32 noundef %118, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 47, ptr noundef %121, ptr noundef %124, ptr noundef %127, i32 noundef %129) #7
  br label %131

131:                                              ; preds = %114, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  call void @exit(i32 noundef 1) #9
  unreachable

134:                                              ; No predecessors!
  br label %135

135:                                              ; preds = %134
  br label %136

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

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  br label %139

139:                                              ; preds = %138
  %140 = load i32, ptr @test_count, align 4, !tbaa !9
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr @test_count, align 4, !tbaa !9
  %142 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %143 = load i32, ptr %142, align 4, !tbaa !9
  %144 = call ptr @s2n_strerror_debug(i32 noundef %143, ptr noundef @.str.3)
  %145 = icmp eq ptr %144, null
  br i1 %145, label %146, label %199

146:                                              ; preds = %139
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %149 = call ptr @__errno_location() #8
  %150 = load i32, ptr %149, align 4, !tbaa !9
  store i32 %150, ptr %10, align 4, !tbaa !9
  %151 = load ptr, ptr @stderr, align 8, !tbaa !5
  %152 = call i32 @s2n_print_stacktrace(ptr noundef %151)
  %153 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %154 = trunc i8 %153 to i1
  br i1 %154, label %155, label %177

155:                                              ; preds = %148
  %156 = load ptr, ptr @stderr, align 8, !tbaa !5
  %157 = call i32 @fileno(ptr noundef %156) #7
  %158 = call i32 @isatty(i32 noundef %157) #7
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %177

160:                                              ; preds = %155
  %161 = load i32, ptr %10, align 4, !tbaa !9
  %162 = call ptr @__errno_location() #8
  store i32 %161, ptr %162, align 4, !tbaa !9
  %163 = load ptr, ptr @stderr, align 8, !tbaa !5
  %164 = load i32, ptr @test_count, align 4, !tbaa !9
  %165 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %166 = load i32, ptr %165, align 4, !tbaa !9
  %167 = call ptr @s2n_strerror(i32 noundef %166, ptr noundef @.str.3)
  %168 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %169 = load i32, ptr %168, align 4, !tbaa !9
  %170 = call ptr @s2n_strerror_debug(i32 noundef %169, ptr noundef @.str.3)
  %171 = call ptr @__errno_location() #8
  %172 = load i32, ptr %171, align 4, !tbaa !9
  %173 = call ptr @strerror(i32 noundef %172) #7
  %174 = call ptr @__errno_location() #8
  %175 = load i32, ptr %174, align 4, !tbaa !9
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef @.str, i32 noundef %164, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 47, ptr noundef %167, ptr noundef %170, ptr noundef %173, i32 noundef %175) #7
  br label %194

177:                                              ; preds = %155, %148
  %178 = load i32, ptr %10, align 4, !tbaa !9
  %179 = call ptr @__errno_location() #8
  store i32 %178, ptr %179, align 4, !tbaa !9
  %180 = load ptr, ptr @stderr, align 8, !tbaa !5
  %181 = load i32, ptr @test_count, align 4, !tbaa !9
  %182 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %183 = load i32, ptr %182, align 4, !tbaa !9
  %184 = call ptr @s2n_strerror(i32 noundef %183, ptr noundef @.str.3)
  %185 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %186 = load i32, ptr %185, align 4, !tbaa !9
  %187 = call ptr @s2n_strerror_debug(i32 noundef %186, ptr noundef @.str.3)
  %188 = call ptr @__errno_location() #8
  %189 = load i32, ptr %188, align 4, !tbaa !9
  %190 = call ptr @strerror(i32 noundef %189) #7
  %191 = call ptr @__errno_location() #8
  %192 = load i32, ptr %191, align 4, !tbaa !9
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef @.str.4, i32 noundef %181, ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 47, ptr noundef %184, ptr noundef %187, ptr noundef %190, i32 noundef %192) #7
  br label %194

194:                                              ; preds = %177, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %195

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195
  call void @exit(i32 noundef 1) #9
  unreachable

197:                                              ; No predecessors!
  br label %198

198:                                              ; preds = %197
  br label %199

199:                                              ; preds = %198, %139
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  br label %202

202:                                              ; preds = %201
  br label %203

203:                                              ; preds = %202
  br label %204

204:                                              ; preds = %203
  %205 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  store i32 0, ptr %205, align 4, !tbaa !9
  call void @s2n_debug_info_reset()
  %206 = call ptr @__errno_location() #8
  store i32 0, ptr %206, align 4, !tbaa !9
  br label %207

207:                                              ; preds = %204
  br label %208

208:                                              ; preds = %207
  br label %209

209:                                              ; preds = %208
  br label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.client_hello_context, ptr %211, i32 0, i32 2
  store i8 1, ptr %212, align 4, !tbaa !15
  br label %213

213:                                              ; preds = %210
  %214 = load i32, ptr @test_count, align 4, !tbaa !9
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr @test_count, align 4, !tbaa !9
  %216 = load ptr, ptr %4, align 8, !tbaa !5
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = call i32 @s2n_negotiate_test_server_and_client(ptr noundef %216, ptr noundef %217)
  %219 = icmp eq i32 %218, -1
  br i1 %219, label %220, label %273

220:                                              ; preds = %213
  br label %221

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %223 = call ptr @__errno_location() #8
  %224 = load i32, ptr %223, align 4, !tbaa !9
  store i32 %224, ptr %11, align 4, !tbaa !9
  %225 = load ptr, ptr @stderr, align 8, !tbaa !5
  %226 = call i32 @s2n_print_stacktrace(ptr noundef %225)
  %227 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %228 = trunc i8 %227 to i1
  br i1 %228, label %229, label %251

229:                                              ; preds = %222
  %230 = load ptr, ptr @stderr, align 8, !tbaa !5
  %231 = call i32 @fileno(ptr noundef %230) #7
  %232 = call i32 @isatty(i32 noundef %231) #7
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %251

234:                                              ; preds = %229
  %235 = load i32, ptr %11, align 4, !tbaa !9
  %236 = call ptr @__errno_location() #8
  store i32 %235, ptr %236, align 4, !tbaa !9
  %237 = load ptr, ptr @stderr, align 8, !tbaa !5
  %238 = load i32, ptr @test_count, align 4, !tbaa !9
  %239 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %240 = load i32, ptr %239, align 4, !tbaa !9
  %241 = call ptr @s2n_strerror(i32 noundef %240, ptr noundef @.str.3)
  %242 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %243 = load i32, ptr %242, align 4, !tbaa !9
  %244 = call ptr @s2n_strerror_debug(i32 noundef %243, ptr noundef @.str.3)
  %245 = call ptr @__errno_location() #8
  %246 = load i32, ptr %245, align 4, !tbaa !9
  %247 = call ptr @strerror(i32 noundef %246) #7
  %248 = call ptr @__errno_location() #8
  %249 = load i32, ptr %248, align 4, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str, i32 noundef %238, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 51, ptr noundef %241, ptr noundef %244, ptr noundef %247, i32 noundef %249) #7
  br label %268

251:                                              ; preds = %229, %222
  %252 = load i32, ptr %11, align 4, !tbaa !9
  %253 = call ptr @__errno_location() #8
  store i32 %252, ptr %253, align 4, !tbaa !9
  %254 = load ptr, ptr @stderr, align 8, !tbaa !5
  %255 = load i32, ptr @test_count, align 4, !tbaa !9
  %256 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %257 = load i32, ptr %256, align 4, !tbaa !9
  %258 = call ptr @s2n_strerror(i32 noundef %257, ptr noundef @.str.3)
  %259 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %260 = load i32, ptr %259, align 4, !tbaa !9
  %261 = call ptr @s2n_strerror_debug(i32 noundef %260, ptr noundef @.str.3)
  %262 = call ptr @__errno_location() #8
  %263 = load i32, ptr %262, align 4, !tbaa !9
  %264 = call ptr @strerror(i32 noundef %263) #7
  %265 = call ptr @__errno_location() #8
  %266 = load i32, ptr %265, align 4, !tbaa !9
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %254, ptr noundef @.str.4, i32 noundef %255, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 51, ptr noundef %258, ptr noundef %261, ptr noundef %264, i32 noundef %266) #7
  br label %268

268:                                              ; preds = %251, %234
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %269

269:                                              ; preds = %268
  br label %270

270:                                              ; preds = %269
  call void @exit(i32 noundef 1) #9
  unreachable

271:                                              ; No predecessors!
  br label %272

272:                                              ; preds = %271
  br label %273

273:                                              ; preds = %272, %213
  br label %274

274:                                              ; preds = %273
  br label %275

275:                                              ; preds = %274
  br label %276

276:                                              ; preds = %275
  %277 = load i32, ptr @test_count, align 4, !tbaa !9
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr @test_count, align 4, !tbaa !9
  %279 = load ptr, ptr %6, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.client_hello_context, ptr %279, i32 0, i32 0
  %281 = load i32, ptr %280, align 4, !tbaa !17
  %282 = icmp eq i32 %281, 1
  br i1 %282, label %336, label %283

283:                                              ; preds = %276
  br label %284

284:                                              ; preds = %283
  br label %285

285:                                              ; preds = %284
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %286 = call ptr @__errno_location() #8
  %287 = load i32, ptr %286, align 4, !tbaa !9
  store i32 %287, ptr %12, align 4, !tbaa !9
  %288 = load ptr, ptr @stderr, align 8, !tbaa !5
  %289 = call i32 @s2n_print_stacktrace(ptr noundef %288)
  %290 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %291 = trunc i8 %290 to i1
  br i1 %291, label %292, label %314

292:                                              ; preds = %285
  %293 = load ptr, ptr @stderr, align 8, !tbaa !5
  %294 = call i32 @fileno(ptr noundef %293) #7
  %295 = call i32 @isatty(i32 noundef %294) #7
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %297, label %314

297:                                              ; preds = %292
  %298 = load i32, ptr %12, align 4, !tbaa !9
  %299 = call ptr @__errno_location() #8
  store i32 %298, ptr %299, align 4, !tbaa !9
  %300 = load ptr, ptr @stderr, align 8, !tbaa !5
  %301 = load i32, ptr @test_count, align 4, !tbaa !9
  %302 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %303 = load i32, ptr %302, align 4, !tbaa !9
  %304 = call ptr @s2n_strerror(i32 noundef %303, ptr noundef @.str.3)
  %305 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %306 = load i32, ptr %305, align 4, !tbaa !9
  %307 = call ptr @s2n_strerror_debug(i32 noundef %306, ptr noundef @.str.3)
  %308 = call ptr @__errno_location() #8
  %309 = load i32, ptr %308, align 4, !tbaa !9
  %310 = call ptr @strerror(i32 noundef %309) #7
  %311 = call ptr @__errno_location() #8
  %312 = load i32, ptr %311, align 4, !tbaa !9
  %313 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %300, ptr noundef @.str, i32 noundef %301, ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 57, ptr noundef %304, ptr noundef %307, ptr noundef %310, i32 noundef %312) #7
  br label %331

314:                                              ; preds = %292, %285
  %315 = load i32, ptr %12, align 4, !tbaa !9
  %316 = call ptr @__errno_location() #8
  store i32 %315, ptr %316, align 4, !tbaa !9
  %317 = load ptr, ptr @stderr, align 8, !tbaa !5
  %318 = load i32, ptr @test_count, align 4, !tbaa !9
  %319 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %320 = load i32, ptr %319, align 4, !tbaa !9
  %321 = call ptr @s2n_strerror(i32 noundef %320, ptr noundef @.str.3)
  %322 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %323 = load i32, ptr %322, align 4, !tbaa !9
  %324 = call ptr @s2n_strerror_debug(i32 noundef %323, ptr noundef @.str.3)
  %325 = call ptr @__errno_location() #8
  %326 = load i32, ptr %325, align 4, !tbaa !9
  %327 = call ptr @strerror(i32 noundef %326) #7
  %328 = call ptr @__errno_location() #8
  %329 = load i32, ptr %328, align 4, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.4, i32 noundef %318, ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 57, ptr noundef %321, ptr noundef %324, ptr noundef %327, i32 noundef %329) #7
  br label %331

331:                                              ; preds = %314, %297
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %332

332:                                              ; preds = %331
  br label %333

333:                                              ; preds = %332
  call void @exit(i32 noundef 1) #9
  unreachable

334:                                              ; No predecessors!
  br label %335

335:                                              ; preds = %334
  br label %336

336:                                              ; preds = %335, %276
  br label %337

337:                                              ; preds = %336
  br label %338

338:                                              ; preds = %337
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret i32 0
}

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

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

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #3

declare i32 @s2n_print_stacktrace(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) #4

; Function Attrs: nounwind
declare i32 @fileno(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #5

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #4

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

declare void @s2n_debug_info_reset() #2

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

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 = { "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 willreturn memory(none) "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn nounwind "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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }
attributes #9 = { noreturn 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 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !12, i64 8}
!16 = !{!"client_hello_context", !10, i64 0, !10, i64 4, !12, i64 8}
!17 = !{!16, !10, i64 0}


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

@s2n_use_color_in_output = external dso_local local_unnamed_addr global i8, align 1
@test_count = external dso_local local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [101 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@s2n_errno = external thread_local local_unnamed_addr global i32, align 4
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @s2n_negotiate_poll_hello_retry(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 {
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 0, ptr %4, align 4, !tbaa !5
  %5 = load i32, ptr @test_count, align 4, !tbaa !5
  %6 = add nsw i32 %5, 1
  store i32 %6, ptr @test_count, align 4, !tbaa !5
  %7 = call i32 @s2n_negotiate(ptr noundef %1, ptr noundef nonnull %4) #8
  %8 = icmp eq i32 %7, -1
  br i1 %8, label %33, label %9

9:                                                ; preds = %3
  %10 = tail call ptr @__errno_location() #9
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = load ptr, ptr @stderr, align 8, !tbaa !9
  %13 = call i32 @s2n_print_stacktrace(ptr noundef %12) #8
  %14 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %16, label %20

16:                                               ; preds = %9
  %17 = load ptr, ptr @stderr, align 8, !tbaa !9
  %18 = call i32 @fileno(ptr noundef %17) #8
  %19 = call i32 @isatty(i32 noundef %18) #8
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %20, label %21

20:                                               ; preds = %16, %9
  br label %21

21:                                               ; preds = %16, %20
  %.str.4.sink = phi ptr [ @.str.4, %20 ], [ @.str, %16 ]
  store i32 %11, ptr %10, align 4, !tbaa !5
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = load i32, ptr @test_count, align 4, !tbaa !5
  %24 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = call ptr @s2n_strerror(i32 noundef %25, ptr noundef nonnull @.str.3) #8
  %27 = load i32, ptr %24, align 4, !tbaa !5
  %28 = call ptr @s2n_strerror_debug(i32 noundef %27, ptr noundef nonnull @.str.3) #8
  %29 = load i32, ptr %10, align 4, !tbaa !5
  %30 = call ptr @strerror(i32 noundef %29) #8
  %31 = load i32, ptr %10, align 4, !tbaa !5
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull %.str.4.sink, i32 noundef %23, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 47, ptr noundef %26, ptr noundef %28, ptr noundef %30, i32 noundef %31) #10
  call void @exit(i32 noundef 1) #11
  unreachable

33:                                               ; preds = %3
  %34 = load i32, ptr @test_count, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr @test_count, align 4, !tbaa !5
  %36 = call align 4 ptr @llvm.threadlocal.address.p0(ptr align 4 @s2n_errno)
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = icmp eq i32 %37, 201326592
  br i1 %38, label %62, label %39

39:                                               ; preds = %33
  %40 = tail call ptr @__errno_location() #9
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = load ptr, ptr @stderr, align 8, !tbaa !9
  %43 = call i32 @s2n_print_stacktrace(ptr noundef %42) #8
  %44 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %46, label %50

46:                                               ; preds = %39
  %47 = load ptr, ptr @stderr, align 8, !tbaa !9
  %48 = call i32 @fileno(ptr noundef %47) #8
  %49 = call i32 @isatty(i32 noundef %48) #8
  %.not14 = icmp eq i32 %49, 0
  br i1 %.not14, label %50, label %51

50:                                               ; preds = %46, %39
  br label %51

51:                                               ; preds = %46, %50
  %.str.4.sink28 = phi ptr [ @.str.4, %50 ], [ @.str, %46 ]
  store i32 %41, ptr %40, align 4, !tbaa !5
  %52 = load ptr, ptr @stderr, align 8, !tbaa !9
  %53 = load i32, ptr @test_count, align 4, !tbaa !5
  %54 = load i32, ptr %36, align 4, !tbaa !5
  %55 = call ptr @s2n_strerror(i32 noundef %54, ptr noundef nonnull @.str.3) #8
  %56 = load i32, ptr %36, align 4, !tbaa !5
  %57 = call ptr @s2n_strerror_debug(i32 noundef %56, ptr noundef nonnull @.str.3) #8
  %58 = load i32, ptr %40, align 4, !tbaa !5
  %59 = call ptr @strerror(i32 noundef %58) #8
  %60 = load i32, ptr %40, align 4, !tbaa !5
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull %.str.4.sink28, i32 noundef %53, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 47, ptr noundef %55, ptr noundef %57, ptr noundef %59, i32 noundef %60) #10
  call void @exit(i32 noundef 1) #11
  unreachable

62:                                               ; preds = %33
  %63 = add nsw i32 %34, 2
  store i32 %63, ptr @test_count, align 4, !tbaa !5
  %64 = call ptr @s2n_strerror_debug(i32 noundef 201326592, ptr noundef nonnull @.str.3) #8
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %89

66:                                               ; preds = %62
  %67 = tail call ptr @__errno_location() #9
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = load ptr, ptr @stderr, align 8, !tbaa !9
  %70 = call i32 @s2n_print_stacktrace(ptr noundef %69) #8
  %71 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %72 = trunc nuw i8 %71 to i1
  br i1 %72, label %73, label %77

73:                                               ; preds = %66
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = call i32 @fileno(ptr noundef %74) #8
  %76 = call i32 @isatty(i32 noundef %75) #8
  %.not17 = icmp eq i32 %76, 0
  br i1 %.not17, label %77, label %78

77:                                               ; preds = %73, %66
  br label %78

78:                                               ; preds = %73, %77
  %.str.4.sink37 = phi ptr [ @.str.4, %77 ], [ @.str, %73 ]
  store i32 %68, ptr %67, align 4, !tbaa !5
  %79 = load ptr, ptr @stderr, align 8, !tbaa !9
  %80 = load i32, ptr @test_count, align 4, !tbaa !5
  %81 = load i32, ptr %36, align 4, !tbaa !5
  %82 = call ptr @s2n_strerror(i32 noundef %81, ptr noundef nonnull @.str.3) #8
  %83 = load i32, ptr %36, align 4, !tbaa !5
  %84 = call ptr @s2n_strerror_debug(i32 noundef %83, ptr noundef nonnull @.str.3) #8
  %85 = load i32, ptr %67, align 4, !tbaa !5
  %86 = call ptr @strerror(i32 noundef %85) #8
  %87 = load i32, ptr %67, align 4, !tbaa !5
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef nonnull %.str.4.sink37, i32 noundef %80, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 47, ptr noundef %82, ptr noundef %84, ptr noundef %86, i32 noundef %87) #10
  call void @exit(i32 noundef 1) #11
  unreachable

89:                                               ; preds = %62
  store i32 0, ptr %36, align 4, !tbaa !5
  call void @s2n_debug_info_reset() #8
  %90 = tail call ptr @__errno_location() #9
  store i32 0, ptr %90, align 4, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %2, i64 8
  store i8 1, ptr %91, align 4, !tbaa !15
  %92 = load i32, ptr @test_count, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr @test_count, align 4, !tbaa !5
  %94 = call i32 @s2n_negotiate_test_server_and_client(ptr noundef %0, ptr noundef %1) #8
  %95 = icmp eq i32 %94, -1
  br i1 %95, label %96, label %118

96:                                               ; preds = %89
  %97 = load i32, ptr %90, align 4, !tbaa !5
  %98 = load ptr, ptr @stderr, align 8, !tbaa !9
  %99 = call i32 @s2n_print_stacktrace(ptr noundef %98) #8
  %100 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %102, label %106

102:                                              ; preds = %96
  %103 = load ptr, ptr @stderr, align 8, !tbaa !9
  %104 = call i32 @fileno(ptr noundef %103) #8
  %105 = call i32 @isatty(i32 noundef %104) #8
  %.not16 = icmp eq i32 %105, 0
  br i1 %.not16, label %106, label %107

106:                                              ; preds = %102, %96
  br label %107

107:                                              ; preds = %102, %106
  %.str.4.sink46 = phi ptr [ @.str.4, %106 ], [ @.str, %102 ]
  store i32 %97, ptr %90, align 4, !tbaa !5
  %108 = load ptr, ptr @stderr, align 8, !tbaa !9
  %109 = load i32, ptr @test_count, align 4, !tbaa !5
  %110 = load i32, ptr %36, align 4, !tbaa !5
  %111 = call ptr @s2n_strerror(i32 noundef %110, ptr noundef nonnull @.str.3) #8
  %112 = load i32, ptr %36, align 4, !tbaa !5
  %113 = call ptr @s2n_strerror_debug(i32 noundef %112, ptr noundef nonnull @.str.3) #8
  %114 = load i32, ptr %90, align 4, !tbaa !5
  %115 = call ptr @strerror(i32 noundef %114) #8
  %116 = load i32, ptr %90, align 4, !tbaa !5
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef nonnull %.str.4.sink46, i32 noundef %109, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 51, ptr noundef %111, ptr noundef %113, ptr noundef %115, i32 noundef %116) #10
  call void @exit(i32 noundef 1) #11
  unreachable

118:                                              ; preds = %89
  %119 = load i32, ptr @test_count, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr @test_count, align 4, !tbaa !5
  %121 = load i32, ptr %2, align 4, !tbaa !17
  %122 = icmp eq i32 %121, 1
  br i1 %122, label %145, label %123

123:                                              ; preds = %118
  %124 = load i32, ptr %90, align 4, !tbaa !5
  %125 = load ptr, ptr @stderr, align 8, !tbaa !9
  %126 = call i32 @s2n_print_stacktrace(ptr noundef %125) #8
  %127 = load i8, ptr @s2n_use_color_in_output, align 1, !tbaa !11, !range !13, !noundef !14
  %128 = trunc nuw i8 %127 to i1
  br i1 %128, label %129, label %133

129:                                              ; preds = %123
  %130 = load ptr, ptr @stderr, align 8, !tbaa !9
  %131 = call i32 @fileno(ptr noundef %130) #8
  %132 = call i32 @isatty(i32 noundef %131) #8
  %.not15 = icmp eq i32 %132, 0
  br i1 %.not15, label %133, label %134

133:                                              ; preds = %129, %123
  br label %134

134:                                              ; preds = %129, %133
  %.str.4.sink55 = phi ptr [ @.str.4, %133 ], [ @.str, %129 ]
  store i32 %124, ptr %90, align 4, !tbaa !5
  %135 = load ptr, ptr @stderr, align 8, !tbaa !9
  %136 = load i32, ptr @test_count, align 4, !tbaa !5
  %137 = load i32, ptr %36, align 4, !tbaa !5
  %138 = call ptr @s2n_strerror(i32 noundef %137, ptr noundef nonnull @.str.3) #8
  %139 = load i32, ptr %36, align 4, !tbaa !5
  %140 = call ptr @s2n_strerror_debug(i32 noundef %139, ptr noundef nonnull @.str.3) #8
  %141 = load i32, ptr %90, align 4, !tbaa !5
  %142 = call ptr @strerror(i32 noundef %141) #8
  %143 = load i32, ptr %90, align 4, !tbaa !5
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %135, ptr noundef nonnull %.str.4.sink55, i32 noundef %136, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 57, ptr noundef %138, ptr noundef %140, ptr noundef %142, i32 noundef %143) #10
  call void @exit(i32 noundef 1) #11
  unreachable

145:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  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

declare i32 @s2n_negotiate(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #3

declare i32 @s2n_print_stacktrace(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @isatty(i32 noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fileno(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #5

declare ptr @s2n_strerror(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #6

declare ptr @s2n_strerror_debug(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #7

declare void @s2n_debug_info_reset() local_unnamed_addr #2

declare i32 @s2n_negotiate_test_server_and_client(ptr noundef, ptr noundef) local_unnamed_addr #2

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 = { "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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nofree nounwind "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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { noreturn nounwind "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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(none) }
attributes #10 = { cold nounwind }
attributes #11 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !12, i64 8}
!16 = !{!"client_hello_context", !6, i64 0, !6, i64 4, !12, i64 8}
!17 = !{!16, !6, i64 0}


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