; LLVM IR from 6leetcode/6leetcode :: questions/Algorithms/0036. Valid Sudoku (Solution)

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

@__const.main.board = external hidden unnamed_addr constant [9 x [9 x i8]], align 16
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca [9 x [9 x i8]], align 16
  %7 = alloca ptr, align 8
  %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
  %13 = alloca [9 x i32], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 81, ptr %6) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.board, i64 81, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %16 = call noalias ptr @malloc(i64 noundef 72) #8
  store ptr %16, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %51, %2
  %18 = load i32, ptr %8, align 4, !tbaa !5
  %19 = icmp slt i32 %18, 9
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %54

21:                                               ; preds = %17
  %22 = call noalias ptr @malloc(i64 noundef 9) #8
  %23 = load ptr, ptr %7, align 8, !tbaa !9
  %24 = load i32, ptr %8, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds ptr, ptr %23, i64 %25
  store ptr %22, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %47, %21
  %28 = load i32, ptr %10, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 9
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %50

31:                                               ; preds = %27
  %32 = load i32, ptr %8, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [9 x [9 x i8]], ptr %6, i64 0, i64 %33
  %35 = load i32, ptr %10, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [9 x i8], ptr %34, i64 0, i64 %36
  %38 = load i8, ptr %37, align 1, !tbaa !11
  %39 = load ptr, ptr %7, align 8, !tbaa !9
  %40 = load i32, ptr %8, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds ptr, ptr %39, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = load i32, ptr %10, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds i8, ptr %43, i64 %45
  store i8 %38, ptr %46, align 1, !tbaa !11
  br label %47

47:                                               ; preds = %31
  %48 = load i32, ptr %10, align 4, !tbaa !5
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %10, align 4, !tbaa !5
  br label %27, !llvm.loop !12

50:                                               ; preds = %30
  br label %51

51:                                               ; preds = %50
  %52 = load i32, ptr %8, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %8, align 4, !tbaa !5
  br label %17, !llvm.loop !14

54:                                               ; preds = %20
  %55 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %79, %54
  %57 = load i32, ptr %11, align 4, !tbaa !5
  %58 = icmp slt i32 %57, 9
  br i1 %58, label %60, label %59

59:                                               ; preds = %56
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %82

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %75, %60
  %62 = load i32, ptr %12, align 4, !tbaa !5
  %63 = icmp slt i32 %62, 9
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %78

65:                                               ; preds = %61
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [9 x [9 x i8]], ptr %6, i64 0, i64 %67
  %69 = load i32, ptr %12, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [9 x i8], ptr %68, i64 0, i64 %70
  %72 = load i8, ptr %71, align 1, !tbaa !11
  %73 = sext i8 %72 to i32
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %73)
  br label %75

75:                                               ; preds = %65
  %76 = load i32, ptr %12, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %12, align 4, !tbaa !5
  br label %61, !llvm.loop !15

78:                                               ; preds = %64
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %11, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %11, align 4, !tbaa !5
  br label %56, !llvm.loop !16

82:                                               ; preds = %59
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  call void @llvm.lifetime.start.p0(i64 36, ptr %13) #7
  call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 36, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %92, %82
  %85 = load i32, ptr %14, align 4, !tbaa !5
  %86 = icmp slt i32 %85, 9
  br i1 %86, label %88, label %87

87:                                               ; preds = %84
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %95

88:                                               ; preds = %84
  %89 = load i32, ptr %14, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %90
  store i32 9, ptr %91, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %88
  %93 = load i32, ptr %14, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %14, align 4, !tbaa !5
  br label %84, !llvm.loop !17

95:                                               ; preds = %87
  %96 = load ptr, ptr %7, align 8, !tbaa !9
  %97 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0
  %98 = call zeroext i1 @isValidSudoku(ptr noundef %96, i32 noundef 9, ptr noundef %97)
  %99 = zext i1 %98 to i64
  %100 = select i1 %98, ptr @.str.4, ptr @.str.5
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %100)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %112, %95
  %103 = load i32, ptr %15, align 4, !tbaa !5
  %104 = icmp slt i32 %103, 9
  br i1 %104, label %106, label %105

105:                                              ; preds = %102
  store i32 17, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %115

106:                                              ; preds = %102
  %107 = load ptr, ptr %7, align 8, !tbaa !9
  %108 = load i32, ptr %15, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds ptr, ptr %107, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  call void @free(ptr noundef %111) #7
  br label %112

112:                                              ; preds = %106
  %113 = load i32, ptr %15, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %15, align 4, !tbaa !5
  br label %102, !llvm.loop !18

115:                                              ; preds = %105
  %116 = load ptr, ptr %7, align 8, !tbaa !9
  call void @free(ptr noundef %116) #7
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 36, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 81, ptr %6) #7
  %117 = load i32, ptr %3, align 4
  ret i32 %117
}

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

declare i32 @printf(ptr noundef, ...) #5

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind allocsize(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 #5 = { "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 "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 allocsize(0) }

!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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}


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

@__const.main.board = external hidden unnamed_addr constant [9 x [9 x i8]], align 16
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
.preheader:
  %2 = alloca [9 x i32], align 16
  %3 = tail call noalias dereferenceable_or_null(72) ptr @malloc(i64 noundef 72) #5
  %4 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  store ptr %4, ptr %3, align 8, !tbaa !5
  %5 = load <8 x i8>, ptr @__const.main.board, align 16, !tbaa !9
  store <8 x i8> %5, ptr %4, align 1, !tbaa !9
  %6 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 8), align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %4, i64 8
  store i8 %6, ptr %7, align 1, !tbaa !9
  %8 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %9 = getelementptr inbounds i8, ptr %3, i64 8
  store ptr %8, ptr %9, align 8, !tbaa !5
  %10 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 9), align 1, !tbaa !9
  store <8 x i8> %10, ptr %8, align 1, !tbaa !9
  %11 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 17), align 1, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %8, i64 8
  store i8 %11, ptr %12, align 1, !tbaa !9
  %13 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %14 = getelementptr inbounds i8, ptr %3, i64 16
  store ptr %13, ptr %14, align 8, !tbaa !5
  %15 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 18), align 2, !tbaa !9
  store <8 x i8> %15, ptr %13, align 1, !tbaa !9
  %16 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 26), align 2, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %13, i64 8
  store i8 %16, ptr %17, align 1, !tbaa !9
  %18 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %19 = getelementptr inbounds i8, ptr %3, i64 24
  store ptr %18, ptr %19, align 8, !tbaa !5
  %20 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 27), align 1, !tbaa !9
  store <8 x i8> %20, ptr %18, align 1, !tbaa !9
  %21 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 35), align 1, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %18, i64 8
  store i8 %21, ptr %22, align 1, !tbaa !9
  %23 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %24 = getelementptr inbounds i8, ptr %3, i64 32
  store ptr %23, ptr %24, align 8, !tbaa !5
  %25 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 36), align 4, !tbaa !9
  store <8 x i8> %25, ptr %23, align 1, !tbaa !9
  %26 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 44), align 4, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %23, i64 8
  store i8 %26, ptr %27, align 1, !tbaa !9
  %28 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %29 = getelementptr inbounds i8, ptr %3, i64 40
  store ptr %28, ptr %29, align 8, !tbaa !5
  %30 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 45), align 1, !tbaa !9
  store <8 x i8> %30, ptr %28, align 1, !tbaa !9
  %31 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 53), align 1, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %28, i64 8
  store i8 %31, ptr %32, align 1, !tbaa !9
  %33 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %34 = getelementptr inbounds i8, ptr %3, i64 48
  store ptr %33, ptr %34, align 8, !tbaa !5
  %35 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 54), align 2, !tbaa !9
  store <8 x i8> %35, ptr %33, align 1, !tbaa !9
  %36 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 62), align 2, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %33, i64 8
  store i8 %36, ptr %37, align 1, !tbaa !9
  %38 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %39 = getelementptr inbounds i8, ptr %3, i64 56
  store ptr %38, ptr %39, align 8, !tbaa !5
  %40 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 63), align 1, !tbaa !9
  store <8 x i8> %40, ptr %38, align 1, !tbaa !9
  %41 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 71), align 1, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %38, i64 8
  store i8 %41, ptr %42, align 1, !tbaa !9
  %43 = tail call noalias dereferenceable_or_null(9) ptr @malloc(i64 noundef 9) #5
  %44 = getelementptr inbounds i8, ptr %3, i64 64
  store ptr %43, ptr %44, align 8, !tbaa !5
  %45 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 72), align 8, !tbaa !9
  store <8 x i8> %45, ptr %43, align 1, !tbaa !9
  %46 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 80), align 16, !tbaa !9
  %47 = getelementptr inbounds i8, ptr %43, i64 8
  store i8 %46, ptr %47, align 1, !tbaa !9
  %48 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %49 = load i8, ptr @__const.main.board, align 16, !tbaa !9
  %50 = sext i8 %49 to i32
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %50)
  %52 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 1), align 1, !tbaa !9
  %53 = sext i8 %52 to i32
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %53)
  %55 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 2), align 2, !tbaa !9
  %56 = sext i8 %55 to i32
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %56)
  %58 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 3), align 1, !tbaa !9
  %59 = sext i8 %58 to i32
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %59)
  %61 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 4), align 4, !tbaa !9
  %62 = sext i8 %61 to i32
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %62)
  %64 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 5), align 1, !tbaa !9
  %65 = sext i8 %64 to i32
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %65)
  %67 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 6), align 2, !tbaa !9
  %68 = sext i8 %67 to i32
  %69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %68)
  %70 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 7), align 1, !tbaa !9
  %71 = sext i8 %70 to i32
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %71)
  %73 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 8), align 8, !tbaa !9
  %74 = sext i8 %73 to i32
  %75 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %74)
  %76 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 9), align 1, !tbaa !9
  %77 = sext i8 %76 to i32
  %78 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %77)
  %79 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 10), align 2, !tbaa !9
  %80 = sext i8 %79 to i32
  %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %80)
  %82 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 11), align 1, !tbaa !9
  %83 = sext i8 %82 to i32
  %84 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %83)
  %85 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 12), align 4, !tbaa !9
  %86 = sext i8 %85 to i32
  %87 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %86)
  %88 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 13), align 1, !tbaa !9
  %89 = sext i8 %88 to i32
  %90 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %89)
  %91 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 14), align 2, !tbaa !9
  %92 = sext i8 %91 to i32
  %93 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %92)
  %94 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 15), align 1, !tbaa !9
  %95 = sext i8 %94 to i32
  %96 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %95)
  %97 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 16), align 16, !tbaa !9
  %98 = sext i8 %97 to i32
  %99 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %98)
  %100 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 17), align 1, !tbaa !9
  %101 = sext i8 %100 to i32
  %102 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %101)
  %103 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 18), align 2, !tbaa !9
  %104 = sext i8 %103 to i32
  %105 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %104)
  %106 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 19), align 1, !tbaa !9
  %107 = sext i8 %106 to i32
  %108 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %107)
  %109 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 20), align 4, !tbaa !9
  %110 = sext i8 %109 to i32
  %111 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %110)
  %112 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 21), align 1, !tbaa !9
  %113 = sext i8 %112 to i32
  %114 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %113)
  %115 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 22), align 2, !tbaa !9
  %116 = sext i8 %115 to i32
  %117 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %116)
  %118 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 23), align 1, !tbaa !9
  %119 = sext i8 %118 to i32
  %120 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %119)
  %121 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 24), align 8, !tbaa !9
  %122 = sext i8 %121 to i32
  %123 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %122)
  %124 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 25), align 1, !tbaa !9
  %125 = sext i8 %124 to i32
  %126 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %125)
  %127 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 26), align 2, !tbaa !9
  %128 = sext i8 %127 to i32
  %129 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %128)
  %130 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 27), align 1, !tbaa !9
  %131 = sext i8 %130 to i32
  %132 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %131)
  %133 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 28), align 4, !tbaa !9
  %134 = sext i8 %133 to i32
  %135 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %134)
  %136 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 29), align 1, !tbaa !9
  %137 = sext i8 %136 to i32
  %138 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %137)
  %139 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 30), align 2, !tbaa !9
  %140 = sext i8 %139 to i32
  %141 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %140)
  %142 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 31), align 1, !tbaa !9
  %143 = sext i8 %142 to i32
  %144 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %143)
  %145 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 32), align 16, !tbaa !9
  %146 = sext i8 %145 to i32
  %147 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %146)
  %148 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 33), align 1, !tbaa !9
  %149 = sext i8 %148 to i32
  %150 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %149)
  %151 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 34), align 2, !tbaa !9
  %152 = sext i8 %151 to i32
  %153 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %152)
  %154 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 35), align 1, !tbaa !9
  %155 = sext i8 %154 to i32
  %156 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %155)
  %157 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 36), align 4, !tbaa !9
  %158 = sext i8 %157 to i32
  %159 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %158)
  %160 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 37), align 1, !tbaa !9
  %161 = sext i8 %160 to i32
  %162 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %161)
  %163 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 38), align 2, !tbaa !9
  %164 = sext i8 %163 to i32
  %165 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %164)
  %166 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 39), align 1, !tbaa !9
  %167 = sext i8 %166 to i32
  %168 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %167)
  %169 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 40), align 8, !tbaa !9
  %170 = sext i8 %169 to i32
  %171 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %170)
  %172 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 41), align 1, !tbaa !9
  %173 = sext i8 %172 to i32
  %174 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %173)
  %175 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 42), align 2, !tbaa !9
  %176 = sext i8 %175 to i32
  %177 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %176)
  %178 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 43), align 1, !tbaa !9
  %179 = sext i8 %178 to i32
  %180 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %179)
  %181 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 44), align 4, !tbaa !9
  %182 = sext i8 %181 to i32
  %183 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %182)
  %184 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 45), align 1, !tbaa !9
  %185 = sext i8 %184 to i32
  %186 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %185)
  %187 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 46), align 2, !tbaa !9
  %188 = sext i8 %187 to i32
  %189 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %188)
  %190 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 47), align 1, !tbaa !9
  %191 = sext i8 %190 to i32
  %192 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %191)
  %193 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 48), align 16, !tbaa !9
  %194 = sext i8 %193 to i32
  %195 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %194)
  %196 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 49), align 1, !tbaa !9
  %197 = sext i8 %196 to i32
  %198 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %197)
  %199 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 50), align 2, !tbaa !9
  %200 = sext i8 %199 to i32
  %201 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %200)
  %202 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 51), align 1, !tbaa !9
  %203 = sext i8 %202 to i32
  %204 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %203)
  %205 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 52), align 4, !tbaa !9
  %206 = sext i8 %205 to i32
  %207 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %206)
  %208 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 53), align 1, !tbaa !9
  %209 = sext i8 %208 to i32
  %210 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %209)
  %211 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 54), align 2, !tbaa !9
  %212 = sext i8 %211 to i32
  %213 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %212)
  %214 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 55), align 1, !tbaa !9
  %215 = sext i8 %214 to i32
  %216 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %215)
  %217 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 56), align 8, !tbaa !9
  %218 = sext i8 %217 to i32
  %219 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %218)
  %220 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 57), align 1, !tbaa !9
  %221 = sext i8 %220 to i32
  %222 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %221)
  %223 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 58), align 2, !tbaa !9
  %224 = sext i8 %223 to i32
  %225 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %224)
  %226 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 59), align 1, !tbaa !9
  %227 = sext i8 %226 to i32
  %228 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %227)
  %229 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 60), align 4, !tbaa !9
  %230 = sext i8 %229 to i32
  %231 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %230)
  %232 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 61), align 1, !tbaa !9
  %233 = sext i8 %232 to i32
  %234 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %233)
  %235 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 62), align 2, !tbaa !9
  %236 = sext i8 %235 to i32
  %237 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %236)
  %238 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 63), align 1, !tbaa !9
  %239 = sext i8 %238 to i32
  %240 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %239)
  %241 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 64), align 16, !tbaa !9
  %242 = sext i8 %241 to i32
  %243 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %242)
  %244 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 65), align 1, !tbaa !9
  %245 = sext i8 %244 to i32
  %246 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %245)
  %247 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 66), align 2, !tbaa !9
  %248 = sext i8 %247 to i32
  %249 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %248)
  %250 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 67), align 1, !tbaa !9
  %251 = sext i8 %250 to i32
  %252 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %251)
  %253 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 68), align 4, !tbaa !9
  %254 = sext i8 %253 to i32
  %255 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %254)
  %256 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 69), align 1, !tbaa !9
  %257 = sext i8 %256 to i32
  %258 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %257)
  %259 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 70), align 2, !tbaa !9
  %260 = sext i8 %259 to i32
  %261 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %260)
  %262 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 71), align 1, !tbaa !9
  %263 = sext i8 %262 to i32
  %264 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %263)
  %265 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 72), align 8, !tbaa !9
  %266 = sext i8 %265 to i32
  %267 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %266)
  %268 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 73), align 1, !tbaa !9
  %269 = sext i8 %268 to i32
  %270 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %269)
  %271 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 74), align 2, !tbaa !9
  %272 = sext i8 %271 to i32
  %273 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %272)
  %274 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 75), align 1, !tbaa !9
  %275 = sext i8 %274 to i32
  %276 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %275)
  %277 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 76), align 4, !tbaa !9
  %278 = sext i8 %277 to i32
  %279 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %278)
  %280 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 77), align 1, !tbaa !9
  %281 = sext i8 %280 to i32
  %282 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %281)
  %283 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 78), align 2, !tbaa !9
  %284 = sext i8 %283 to i32
  %285 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %284)
  %286 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 79), align 1, !tbaa !9
  %287 = sext i8 %286 to i32
  %288 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %287)
  %289 = load i8, ptr getelementptr inbounds (i8, ptr @__const.main.board, i64 80), align 16, !tbaa !9
  %290 = sext i8 %289 to i32
  %291 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %290)
  %292 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %2) #6
  store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %2, align 16, !tbaa !10
  %293 = getelementptr inbounds i8, ptr %2, i64 16
  store <4 x i32> <i32 9, i32 9, i32 9, i32 9>, ptr %293, align 16, !tbaa !10
  %294 = getelementptr inbounds i8, ptr %2, i64 32
  store i32 9, ptr %294, align 16, !tbaa !10
  %295 = call zeroext i1 @isValidSudoku(ptr noundef nonnull %3, i32 noundef 9, ptr noundef nonnull %2)
  %296 = select i1 %295, ptr @.str.4, ptr @.str.5
  %297 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef nonnull %296)
  %298 = load ptr, ptr %3, align 8, !tbaa !5
  call void @free(ptr noundef %298) #6
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %299) #6
  %300 = load ptr, ptr %14, align 8, !tbaa !5
  call void @free(ptr noundef %300) #6
  %301 = load ptr, ptr %19, align 8, !tbaa !5
  call void @free(ptr noundef %301) #6
  %302 = load ptr, ptr %24, align 8, !tbaa !5
  call void @free(ptr noundef %302) #6
  %303 = load ptr, ptr %29, align 8, !tbaa !5
  call void @free(ptr noundef %303) #6
  %304 = load ptr, ptr %34, align 8, !tbaa !5
  call void @free(ptr noundef %304) #6
  %305 = load ptr, ptr %39, align 8, !tbaa !5
  call void @free(ptr noundef %305) #6
  %306 = load ptr, ptr %44, align 8, !tbaa !5
  call void @free(ptr noundef %306) #6
  call void @free(ptr noundef %3) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %2) #6
  ret i32 0
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) 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 #3 = { 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 #4 = { 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 #5 = { nounwind allocsize(0) }
attributes #6 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass