; LLVM IR from jim-b/ECCSI-SAKKE :: es-demo-1 (main_addExampleUser)

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

@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [63 x i8], align 1
@stdout = external global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [515 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [44 x i8], align 1
@__func__.main_addExampleUser = external hidden unnamed_addr constant [20 x i8], align 1

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

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #1

declare signext i16 @utils_convertHexStringToOctetString(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #1

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

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

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local signext i16 @main_addExampleUser() #5 {
  %1 = alloca i8, align 1
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca [1200 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 1, ptr %1) #7
  store i8 1, ptr %1, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  store ptr null, ptr %2, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store ptr null, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store ptr null, ptr %4, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store ptr null, ptr %5, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  store i64 0, ptr %6, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store ptr null, ptr %7, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store ptr null, ptr %8, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store ptr null, ptr %9, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store ptr null, ptr %10, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  store i64 0, ptr %11, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store ptr null, ptr %12, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 0, ptr %13, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store ptr null, ptr %14, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store i64 0, ptr %15, align 8, !tbaa !10
  %17 = call noalias ptr @strdup(ptr noundef @.str.3) #7
  store ptr %17, ptr %2, align 8, !tbaa !8
  %18 = call noalias ptr @strdup(ptr noundef @.str.12) #7
  store ptr %18, ptr %3, align 8, !tbaa !8
  %19 = call noalias ptr @strdup(ptr noundef @.str.13) #7
  store ptr %19, ptr %4, align 8, !tbaa !8
  %20 = load ptr, ptr %3, align 8, !tbaa !8
  %21 = call i64 @strlen(ptr noundef %20) #8
  %22 = load ptr, ptr %4, align 8, !tbaa !8
  %23 = call i64 @strlen(ptr noundef %22) #8
  %24 = add i64 %21, %23
  %25 = add i64 %24, 2
  store i64 %25, ptr %6, align 8, !tbaa !10
  %26 = load i64, ptr %6, align 8, !tbaa !10
  %27 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %26) #9
  store ptr %27, ptr %5, align 8, !tbaa !8
  %28 = load ptr, ptr %5, align 8, !tbaa !8
  %29 = load ptr, ptr %3, align 8, !tbaa !8
  %30 = call ptr @strcpy(ptr noundef %28, ptr noundef %29) #7
  %31 = load ptr, ptr %5, align 8, !tbaa !8
  %32 = load ptr, ptr %5, align 8, !tbaa !8
  %33 = call i64 @strlen(ptr noundef %32) #8
  %34 = getelementptr inbounds i8, ptr %31, i64 %33
  %35 = getelementptr inbounds i8, ptr %34, i64 1
  %36 = load ptr, ptr %4, align 8, !tbaa !8
  %37 = call ptr @strcat(ptr noundef %35, ptr noundef %36) #7
  %38 = call noalias ptr @strdup(ptr noundef @.str.14) #7
  store ptr %38, ptr %7, align 8, !tbaa !8
  %39 = call noalias ptr @strdup(ptr noundef @.str.15) #7
  store ptr %39, ptr %8, align 8, !tbaa !8
  %40 = call noalias ptr @strdup(ptr noundef @.str.16) #7
  store ptr %40, ptr %9, align 8, !tbaa !8
  %41 = load ptr, ptr %7, align 8, !tbaa !8
  %42 = load ptr, ptr %7, align 8, !tbaa !8
  %43 = call i64 @strlen(ptr noundef %42) #8
  %44 = udiv i64 %43, 2
  %45 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef %41, i64 noundef %44, ptr noundef %10, ptr noundef %11)
  %46 = load ptr, ptr %8, align 8, !tbaa !8
  %47 = load ptr, ptr %8, align 8, !tbaa !8
  %48 = call i64 @strlen(ptr noundef %47) #8
  %49 = udiv i64 %48, 2
  %50 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef %46, i64 noundef %49, ptr noundef %12, ptr noundef %13)
  %51 = load ptr, ptr %9, align 8, !tbaa !8
  %52 = load ptr, ptr %9, align 8, !tbaa !8
  %53 = call i64 @strlen(ptr noundef %52) #8
  %54 = udiv i64 %53, 2
  %55 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef %51, i64 noundef %54, ptr noundef %14, ptr noundef %15)
  %56 = load ptr, ptr %3, align 8, !tbaa !8
  %57 = load ptr, ptr %4, align 8, !tbaa !8
  %58 = load ptr, ptr %2, align 8, !tbaa !8
  %59 = load ptr, ptr %10, align 8, !tbaa !8
  %60 = load i64, ptr %11, align 8, !tbaa !10
  %61 = load ptr, ptr %12, align 8, !tbaa !8
  %62 = load i64, ptr %13, align 8, !tbaa !10
  %63 = load ptr, ptr %14, align 8, !tbaa !8
  %64 = load i64, ptr %15, align 8, !tbaa !10
  %65 = call signext i16 @user_store(ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, i64 noundef %60, ptr noundef %61, i64 noundef %62, ptr noundef %63, i64 noundef %64)
  %66 = icmp ne i16 %65, 0
  br i1 %66, label %67, label %73

67:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1200, ptr %16) #7
  %68 = getelementptr inbounds [1200 x i8], ptr %16, i64 0, i64 0
  %69 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %68, i64 noundef 1200, ptr noundef @.str.17, ptr noundef @.str.10, ptr noundef @__func__.main_addExampleUser, i32 noundef 246) #7
  %70 = load ptr, ptr @stdout, align 8, !tbaa !8
  %71 = getelementptr inbounds [1200 x i8], ptr %16, i64 0, i64 0
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.11, ptr noundef %71) #7
  call void @llvm.lifetime.end.p0(i64 1200, ptr %16) #7
  br label %74

73:                                               ; preds = %0
  store i8 0, ptr %1, align 1, !tbaa !5
  br label %74

74:                                               ; preds = %73, %67
  %75 = load ptr, ptr %2, align 8, !tbaa !8
  %76 = icmp ne ptr null, %75
  br i1 %76, label %77, label %82

77:                                               ; preds = %74
  %78 = load ptr, ptr %2, align 8, !tbaa !8
  %79 = load ptr, ptr %2, align 8, !tbaa !8
  %80 = call i64 @strlen(ptr noundef %79) #8
  call void @llvm.memset.p0.i64(ptr align 1 %78, i8 0, i64 %80, i1 false)
  %81 = load ptr, ptr %2, align 8, !tbaa !8
  call void @free(ptr noundef %81) #7
  br label %82

82:                                               ; preds = %77, %74
  %83 = load ptr, ptr %3, align 8, !tbaa !8
  %84 = icmp ne ptr null, %83
  br i1 %84, label %85, label %90

85:                                               ; preds = %82
  %86 = load ptr, ptr %3, align 8, !tbaa !8
  %87 = load ptr, ptr %3, align 8, !tbaa !8
  %88 = call i64 @strlen(ptr noundef %87) #8
  call void @llvm.memset.p0.i64(ptr align 1 %86, i8 0, i64 %88, i1 false)
  %89 = load ptr, ptr %3, align 8, !tbaa !8
  call void @free(ptr noundef %89) #7
  br label %90

90:                                               ; preds = %85, %82
  %91 = load ptr, ptr %4, align 8, !tbaa !8
  %92 = icmp ne ptr null, %91
  br i1 %92, label %93, label %98

93:                                               ; preds = %90
  %94 = load ptr, ptr %4, align 8, !tbaa !8
  %95 = load ptr, ptr %4, align 8, !tbaa !8
  %96 = call i64 @strlen(ptr noundef %95) #8
  call void @llvm.memset.p0.i64(ptr align 1 %94, i8 0, i64 %96, i1 false)
  %97 = load ptr, ptr %4, align 8, !tbaa !8
  call void @free(ptr noundef %97) #7
  br label %98

98:                                               ; preds = %93, %90
  %99 = load ptr, ptr %5, align 8, !tbaa !8
  %100 = icmp ne ptr null, %99
  br i1 %100, label %101, label %106

101:                                              ; preds = %98
  %102 = load ptr, ptr %5, align 8, !tbaa !8
  %103 = load ptr, ptr %5, align 8, !tbaa !8
  %104 = call i64 @strlen(ptr noundef %103) #8
  call void @llvm.memset.p0.i64(ptr align 1 %102, i8 0, i64 %104, i1 false)
  %105 = load ptr, ptr %5, align 8, !tbaa !8
  call void @free(ptr noundef %105) #7
  br label %106

106:                                              ; preds = %101, %98
  %107 = load ptr, ptr %7, align 8, !tbaa !8
  %108 = icmp ne ptr null, %107
  br i1 %108, label %109, label %114

109:                                              ; preds = %106
  %110 = load ptr, ptr %7, align 8, !tbaa !8
  %111 = load ptr, ptr %7, align 8, !tbaa !8
  %112 = call i64 @strlen(ptr noundef %111) #8
  call void @llvm.memset.p0.i64(ptr align 1 %110, i8 0, i64 %112, i1 false)
  %113 = load ptr, ptr %7, align 8, !tbaa !8
  call void @free(ptr noundef %113) #7
  br label %114

114:                                              ; preds = %109, %106
  %115 = load ptr, ptr %8, align 8, !tbaa !8
  %116 = icmp ne ptr null, %115
  br i1 %116, label %117, label %122

117:                                              ; preds = %114
  %118 = load ptr, ptr %8, align 8, !tbaa !8
  %119 = load ptr, ptr %8, align 8, !tbaa !8
  %120 = call i64 @strlen(ptr noundef %119) #8
  call void @llvm.memset.p0.i64(ptr align 1 %118, i8 0, i64 %120, i1 false)
  %121 = load ptr, ptr %8, align 8, !tbaa !8
  call void @free(ptr noundef %121) #7
  br label %122

122:                                              ; preds = %117, %114
  %123 = load ptr, ptr %9, align 8, !tbaa !8
  %124 = icmp ne ptr null, %123
  br i1 %124, label %125, label %130

125:                                              ; preds = %122
  %126 = load ptr, ptr %9, align 8, !tbaa !8
  %127 = load ptr, ptr %9, align 8, !tbaa !8
  %128 = call i64 @strlen(ptr noundef %127) #8
  call void @llvm.memset.p0.i64(ptr align 1 %126, i8 0, i64 %128, i1 false)
  %129 = load ptr, ptr %9, align 8, !tbaa !8
  call void @free(ptr noundef %129) #7
  br label %130

130:                                              ; preds = %125, %122
  %131 = load ptr, ptr %10, align 8, !tbaa !8
  %132 = icmp ne ptr null, %131
  br i1 %132, label %133, label %137

133:                                              ; preds = %130
  %134 = load ptr, ptr %10, align 8, !tbaa !8
  %135 = load i64, ptr %11, align 8, !tbaa !10
  call void @llvm.memset.p0.i64(ptr align 1 %134, i8 0, i64 %135, i1 false)
  %136 = load ptr, ptr %10, align 8, !tbaa !8
  call void @free(ptr noundef %136) #7
  br label %137

137:                                              ; preds = %133, %130
  %138 = load ptr, ptr %12, align 8, !tbaa !8
  %139 = icmp ne ptr null, %138
  br i1 %139, label %140, label %144

140:                                              ; preds = %137
  %141 = load ptr, ptr %12, align 8, !tbaa !8
  %142 = load i64, ptr %13, align 8, !tbaa !10
  call void @llvm.memset.p0.i64(ptr align 1 %141, i8 0, i64 %142, i1 false)
  %143 = load ptr, ptr %12, align 8, !tbaa !8
  call void @free(ptr noundef %143) #7
  br label %144

144:                                              ; preds = %140, %137
  %145 = load ptr, ptr %14, align 8, !tbaa !8
  %146 = icmp ne ptr null, %145
  br i1 %146, label %147, label %151

147:                                              ; preds = %144
  %148 = load ptr, ptr %14, align 8, !tbaa !8
  %149 = load i64, ptr %15, align 8, !tbaa !10
  call void @llvm.memset.p0.i64(ptr align 1 %148, i8 0, i64 %149, i1 false)
  %150 = load ptr, ptr %14, align 8, !tbaa !8
  call void @free(ptr noundef %150) #7
  br label %151

151:                                              ; preds = %147, %144
  %152 = load i8, ptr %1, align 1, !tbaa !5
  %153 = zext i8 %152 to i16
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %1) #7
  ret i16 %153
}

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #6

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #1

declare signext i16 @user_store(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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(read) "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { nounwind allocsize(0,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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { nounwind allocsize(0,1) }

!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, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !6, 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"

@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [63 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [515 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [44 x i8], align 1
@__func__.main_addExampleUser = external hidden unnamed_addr constant [20 x i8], align 1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #1

declare signext i16 @utils_convertHexStringToOctetString(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) 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) #0

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
define dso_local signext range(i16 0, 2) i16 @main_addExampleUser() local_unnamed_addr #7 {
  %1 = alloca ptr, align 8
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca [1200 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #10
  store ptr null, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  store i64 0, ptr %2, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  store i64 0, ptr %6, align 8, !tbaa !9
  %8 = tail call noalias ptr @strdup(ptr noundef nonnull @.str.3) #10
  %9 = tail call noalias ptr @strdup(ptr noundef nonnull @.str.12) #10
  %10 = tail call noalias ptr @strdup(ptr noundef nonnull @.str.13) #10
  %11 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %9) #11
  %12 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %10) #11
  %13 = add i64 %11, 2
  %14 = add i64 %13, %12
  %15 = tail call noalias ptr @calloc(i64 noundef 1, i64 noundef %14) #12
  %16 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %15, ptr noundef nonnull dereferenceable(1) %9) #10
  %17 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %15) #11
  %18 = getelementptr inbounds i8, ptr %15, i64 %17
  %19 = getelementptr inbounds i8, ptr %18, i64 1
  %20 = tail call ptr @strcat(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) %10) #10
  %21 = tail call noalias ptr @strdup(ptr noundef nonnull @.str.14) #10
  %22 = tail call noalias ptr @strdup(ptr noundef nonnull @.str.15) #10
  %23 = tail call noalias ptr @strdup(ptr noundef nonnull @.str.16) #10
  %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %21) #11
  %25 = lshr i64 %24, 1
  %26 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef %21, i64 noundef %25, ptr noundef nonnull %1, ptr noundef nonnull %2) #10
  %27 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %22) #11
  %28 = lshr i64 %27, 1
  %29 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef %22, i64 noundef %28, ptr noundef nonnull %3, ptr noundef nonnull %4) #10
  %30 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %23) #11
  %31 = lshr i64 %30, 1
  %32 = call signext i16 @utils_convertHexStringToOctetString(ptr noundef %23, i64 noundef %31, ptr noundef nonnull %5, ptr noundef nonnull %6) #10
  %33 = load ptr, ptr %1, align 8, !tbaa !5
  %34 = load i64, ptr %2, align 8, !tbaa !9
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = load i64, ptr %4, align 8, !tbaa !9
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i64, ptr %6, align 8, !tbaa !9
  %39 = call signext i16 @user_store(ptr noundef %9, ptr noundef %10, ptr noundef %8, ptr noundef %33, i64 noundef %34, ptr noundef %35, i64 noundef %36, ptr noundef %37, i64 noundef %38) #10
  %.not = icmp eq i16 %39, 0
  br i1 %.not, label %44, label %40

40:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %7) #10
  %41 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %7, i64 noundef 1200, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.10, ptr noundef nonnull @__func__.main_addExampleUser, i32 noundef 246) #10
  %42 = load ptr, ptr @stdout, align 8, !tbaa !5
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef nonnull @.str.11, ptr noundef nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %7) #10
  br label %44

44:                                               ; preds = %0, %40
  %.0 = phi i16 [ 1, %40 ], [ 0, %0 ]
  %.not55 = icmp eq ptr %8, null
  br i1 %.not55, label %46, label %45

45:                                               ; preds = %44
  call void @free(ptr noundef nonnull %8) #10
  br label %46

46:                                               ; preds = %45, %44
  %.not56 = icmp eq ptr %9, null
  br i1 %.not56, label %48, label %47

47:                                               ; preds = %46
  call void @free(ptr noundef nonnull %9) #10
  br label %48

48:                                               ; preds = %47, %46
  %.not57 = icmp eq ptr %10, null
  br i1 %.not57, label %50, label %49

49:                                               ; preds = %48
  call void @free(ptr noundef nonnull %10) #10
  br label %50

50:                                               ; preds = %49, %48
  %.not58 = icmp eq ptr %15, null
  br i1 %.not58, label %52, label %51

51:                                               ; preds = %50
  call void @free(ptr noundef nonnull %15) #10
  br label %52

52:                                               ; preds = %51, %50
  %.not59 = icmp eq ptr %21, null
  br i1 %.not59, label %54, label %53

53:                                               ; preds = %52
  call void @free(ptr noundef nonnull %21) #10
  br label %54

54:                                               ; preds = %53, %52
  %.not60 = icmp eq ptr %22, null
  br i1 %.not60, label %56, label %55

55:                                               ; preds = %54
  call void @free(ptr noundef nonnull %22) #10
  br label %56

56:                                               ; preds = %55, %54
  %.not61 = icmp eq ptr %23, null
  br i1 %.not61, label %58, label %57

57:                                               ; preds = %56
  call void @free(ptr noundef nonnull %23) #10
  br label %58

58:                                               ; preds = %57, %56
  %59 = load ptr, ptr %1, align 8, !tbaa !5
  %.not62 = icmp eq ptr %59, null
  br i1 %.not62, label %63, label %60

60:                                               ; preds = %58
  %61 = load i64, ptr %2, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %59, i8 0, i64 %61, i1 false)
  %62 = load ptr, ptr %1, align 8, !tbaa !5
  call void @free(ptr noundef %62) #10
  br label %63

63:                                               ; preds = %60, %58
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %.not63 = icmp eq ptr %64, null
  br i1 %.not63, label %68, label %65

65:                                               ; preds = %63
  %66 = load i64, ptr %4, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %64, i8 0, i64 %66, i1 false)
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  call void @free(ptr noundef %67) #10
  br label %68

68:                                               ; preds = %65, %63
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %.not64 = icmp eq ptr %69, null
  br i1 %.not64, label %73, label %70

70:                                               ; preds = %68
  %71 = load i64, ptr %6, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %69, i8 0, i64 %71, i1 false)
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %72) #10
  br label %73

73:                                               ; preds = %70, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  ret i16 %.0
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #9

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcat(ptr noalias noundef returned, ptr noalias nocapture noundef readonly) local_unnamed_addr #9

declare signext i16 @user_store(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 nounwind willreturn memory(argmem: read) "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 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 #8 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #9 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { nounwind allocsize(0,1) }

!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 = !{!"long", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass