; LLVM IR from libxsmm/libxsmm :: src (generator_x86_instructions)

; 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.libxsmm_jump_label_tracker_struct = type { [512 x i32], [512 x %struct.libxsmm_jump_source_struct] }
%struct.libxsmm_jump_source_struct = type { [512 x i32], [512 x i32], i32 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [82 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@__func__.libxsmm_x86_instruction_jump_to_label = external hidden unnamed_addr constant [38 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [32 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

declare void @libxsmm_get_x86_instr_name(i32 noundef, ptr noundef, i32 noundef) #1

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

declare void @libxsmm_append_code_as_string(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @internal_x86_jumping(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_x86_instruction_jump_to_label(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca [512 x i8], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca [16 x i8], align 16
  %17 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %18 = load i32, ptr %7, align 4, !tbaa !9
  %19 = icmp ult i32 %18, 512
  %20 = zext i1 %19 to i32
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %31

22:                                               ; preds = %4
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %25 = icmp ult i32 1, %24
  br i1 %25, label %26, label %28

26:                                               ; preds = %22
  %27 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %29

28:                                               ; preds = %22
  br label %29

29:                                               ; preds = %28, %26
  %30 = phi i32 [ %27, %26 ], [ 1, %28 ]
  call void @libxsmm_handle_error(ptr noundef %23, i32 noundef 90025, ptr noundef @__func__.libxsmm_x86_instruction_jump_to_label, ptr noundef @.str, i32 noundef 4364, i32 noundef %30)
  store i32 1, ptr %10, align 4
  br label %164

31:                                               ; preds = %4
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %32, i32 0, i32 1
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %33, i64 0, i64 %35
  %37 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %36, i32 0, i32 2
  %38 = load i32, ptr %37, align 4, !tbaa !11
  %39 = icmp eq i32 %38, 511
  br i1 %39, label %40, label %49

40:                                               ; preds = %31
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %43 = icmp ult i32 1, %42
  br i1 %43, label %44, label %46

44:                                               ; preds = %40
  %45 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %47

46:                                               ; preds = %40
  br label %47

47:                                               ; preds = %46, %44
  %48 = phi i32 [ %45, %44 ], [ 1, %46 ]
  call void @libxsmm_handle_error(ptr noundef %41, i32 noundef 90025, ptr noundef @__func__.libxsmm_x86_instruction_jump_to_label, ptr noundef @.str, i32 noundef 4370, i32 noundef %48)
  store i32 1, ptr %10, align 4
  br label %164

49:                                               ; preds = %31
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %7, align 4, !tbaa !9
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %51, i64 0, i64 %53
  %55 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %54, i32 0, i32 2
  %56 = load i32, ptr %55, align 4, !tbaa !11
  store i32 %56, ptr %9, align 4, !tbaa !9
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %58, i32 0, i32 1
  %60 = load i32, ptr %7, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %59, i64 0, i64 %61
  %63 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds [512 x i32], ptr %63, i64 0, i64 %65
  store i32 %57, ptr %66, align 4, !tbaa !9
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %67, i32 0, i32 2
  %69 = load i32, ptr %68, align 4, !tbaa !13
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %7, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %71, i64 0, i64 %73
  %75 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %74, i32 0, i32 1
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds [512 x i32], ptr %75, i64 0, i64 %77
  store i32 %69, ptr %78, align 4, !tbaa !9
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %79, i32 0, i32 1
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %80, i64 0, i64 %82
  %84 = getelementptr inbounds %struct.libxsmm_jump_source_struct, ptr %83, i32 0, i32 2
  %85 = load i32, ptr %84, align 4, !tbaa !11
  %86 = add i32 %85, 1
  store i32 %86, ptr %84, align 4, !tbaa !11
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %87, i32 0, i32 3
  %89 = load i32, ptr %88, align 8, !tbaa !15
  %90 = icmp ugt i32 %89, 1
  br i1 %90, label %91, label %122

91:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %92, i32 0, i32 0
  %94 = load i32, ptr %7, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds [512 x i32], ptr %93, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %91
  store i32 -1, ptr %11, align 4, !tbaa !9
  br label %107

100:                                              ; preds = %91
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %7, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds [512 x i32], ptr %102, i64 0, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !9
  store i32 %106, ptr %11, align 4, !tbaa !9
  br label %107

107:                                              ; preds = %100, %99
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %109, i32 0, i32 2
  %111 = load i32, ptr %110, align 4, !tbaa !13
  %112 = load i32, ptr %11, align 4, !tbaa !9
  %113 = load i32, ptr %6, align 4, !tbaa !9
  %114 = call i32 @internal_x86_jumping(ptr noundef %108, i32 noundef %111, i32 noundef %112, i32 noundef %113)
  store i32 %114, ptr %12, align 4, !tbaa !9
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %115, i32 0, i32 2
  %117 = load i32, ptr %116, align 4, !tbaa !13
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = add i32 %117, %118
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %120, i32 0, i32 2
  store i32 %119, ptr %121, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %163

122:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 512, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 511, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  %123 = load i32, ptr %6, align 4, !tbaa !9
  %124 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
  call void @libxsmm_get_x86_instr_name(i32 noundef %123, ptr noundef %124, i32 noundef 15)
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.libxsmm_jump_label_tracker_struct, ptr %125, i32 0, i32 0
  %127 = load i32, ptr %7, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = getelementptr inbounds [512 x i32], ptr %126, i64 0, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %122
  store i8 102, ptr %17, align 1, !tbaa !16
  br label %134

133:                                              ; preds = %122
  store i8 98, ptr %17, align 1, !tbaa !16
  br label %134

134:                                              ; preds = %133, %132
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %135, i32 0, i32 3
  %137 = load i32, ptr %136, align 8, !tbaa !15
  %138 = icmp eq i32 %137, 0
  br i1 %138, label %139, label %149

139:                                              ; preds = %134
  %140 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %141 = load i32, ptr %14, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
  %144 = load i32, ptr %7, align 4, !tbaa !9
  %145 = add i32 %144, 1
  %146 = load i8, ptr %17, align 1, !tbaa !16
  %147 = sext i8 %146 to i32
  %148 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %140, i64 noundef %142, ptr noundef @.str.143, ptr noundef %143, i32 noundef %145, i32 noundef %147) #5
  store i32 %148, ptr %15, align 4, !tbaa !9
  br label %159

149:                                              ; preds = %134
  %150 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %151 = load i32, ptr %14, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
  %154 = load i32, ptr %7, align 4, !tbaa !9
  %155 = add i32 %154, 1
  %156 = load i8, ptr %17, align 1, !tbaa !16
  %157 = sext i8 %156 to i32
  %158 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %150, i64 noundef %152, ptr noundef @.str.144, ptr noundef %153, i32 noundef %155, i32 noundef %157) #5
  store i32 %158, ptr %15, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %149, %139
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %162 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_append_code_as_string(ptr noundef %160, ptr noundef %161, i32 noundef %162)
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 512, ptr %13) #5
  br label %163

163:                                              ; preds = %159, %107
  store i32 0, ptr %10, align 4
  br label %164

164:                                              ; preds = %163, %47, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  %165 = load i32, ptr %10, align 4
  switch i32 %165, label %167 [
    i32 0, label %166
    i32 1, label %166
  ]

166:                                              ; preds = %164, %164
  ret void

167:                                              ; preds = %164
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "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 = { inlinehint 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 #4 = { 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 #5 = { 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, !10, i64 4096}
!12 = !{!"libxsmm_jump_source_struct", !7, i64 0, !7, i64 2048, !10, i64 4096}
!13 = !{!14, !10, i64 12}
!14 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!15 = !{!14, !10, i64 16}
!16 = !{!7, !7, 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"

%struct.libxsmm_jump_source_struct = type { [512 x i32], [512 x i32], i32 }

@.str = external hidden unnamed_addr constant [82 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@__func__.libxsmm_x86_instruction_jump_to_label = external hidden unnamed_addr constant [38 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [32 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @libxsmm_handle_error(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_get_x86_instr_name(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

declare void @libxsmm_append_code_as_string(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @internal_x86_jumping(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_x86_instruction_jump_to_label(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #4 {
  %5 = alloca [512 x i8], align 16
  %6 = alloca [16 x i8], align 16
  %7 = icmp ugt i32 %2, 511
  br i1 %7, label %8, label %13

8:                                                ; preds = %4
  %9 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %10 = icmp ugt i32 %9, 1
  %11 = load i32, ptr @libxsmm_verbosity, align 4
  %12 = select i1 %10, i32 %11, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90025, ptr noundef nonnull @__func__.libxsmm_x86_instruction_jump_to_label, ptr noundef nonnull @.str, i32 noundef 4364, i32 noundef %12) #5
  br label %52

13:                                               ; preds = %4
  %14 = getelementptr inbounds i8, ptr %3, i64 2048
  %15 = zext nneg i32 %2 to i64
  %16 = getelementptr inbounds [512 x %struct.libxsmm_jump_source_struct], ptr %14, i64 0, i64 %15
  %17 = getelementptr inbounds i8, ptr %16, i64 4096
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = icmp eq i32 %18, 511
  br i1 %19, label %20, label %25

20:                                               ; preds = %13
  %21 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %22 = icmp ugt i32 %21, 1
  %23 = load i32, ptr @libxsmm_verbosity, align 4
  %24 = select i1 %22, i32 %23, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90025, ptr noundef nonnull @__func__.libxsmm_x86_instruction_jump_to_label, ptr noundef nonnull @.str, i32 noundef 4370, i32 noundef %24) #5
  br label %52

25:                                               ; preds = %13
  %26 = zext i32 %18 to i64
  %27 = getelementptr inbounds [512 x i32], ptr %16, i64 0, i64 %26
  store i32 %1, ptr %27, align 4, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %0, i64 12
  %29 = load i32, ptr %28, align 4, !tbaa !11
  %30 = getelementptr inbounds i8, ptr %16, i64 2048
  %31 = getelementptr inbounds [512 x i32], ptr %30, i64 0, i64 %26
  store i32 %29, ptr %31, align 4, !tbaa !5
  %32 = load i32, ptr %17, align 4, !tbaa !9
  %33 = add i32 %32, 1
  store i32 %33, ptr %17, align 4, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %0, i64 16
  %35 = load i32, ptr %34, align 8, !tbaa !14
  %36 = icmp ugt i32 %35, 1
  br i1 %36, label %37, label %44

37:                                               ; preds = %25
  %38 = getelementptr inbounds [512 x i32], ptr %3, i64 0, i64 %15
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = icmp eq i32 %39, 0
  %. = select i1 %40, i32 -1, i32 %39
  %41 = tail call i32 @internal_x86_jumping(ptr noundef nonnull %0, i32 noundef %29, i32 noundef %., i32 noundef %1)
  %42 = load i32, ptr %28, align 4, !tbaa !11
  %43 = add i32 %42, %41
  store i32 %43, ptr %28, align 4, !tbaa !11
  br label %52

44:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @libxsmm_get_x86_instr_name(i32 noundef %1, ptr noundef nonnull %6, i32 noundef 15) #5
  %45 = getelementptr inbounds [512 x i32], ptr %3, i64 0, i64 %15
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = icmp eq i32 %46, 0
  %.44 = select i1 %47, i32 102, i32 98
  %48 = load i32, ptr %34, align 8, !tbaa !14
  %49 = icmp eq i32 %48, 0
  %50 = add nuw nsw i32 %2, 1
  %.str.143..str.144 = select i1 %49, ptr @.str.143, ptr @.str.144
  %51 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %5, i64 noundef 511, ptr noundef nonnull %.str.143..str.144, ptr noundef nonnull %6, i32 noundef %50, i32 noundef %.44) #5
  call void @libxsmm_append_code_as_string(ptr noundef nonnull %0, ptr noundef nonnull %5, i32 noundef %51) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #5
  br label %52

52:                                               ; preds = %37, %44, %20, %8
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { inlinehint 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 #4 = { 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 #5 = { 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, !6, i64 4096}
!10 = !{!"libxsmm_jump_source_struct", !7, i64 0, !7, i64 2048, !6, i64 4096}
!11 = !{!12, !6, i64 12}
!12 = !{!"libxsmm_generated_code", !13, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!12, !6, i64 16}


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