; LLVM IR from facebook/redex :: libresource/ResourceTypes.ll (ZN7android15ResTable_config14setBcp47LocaleEPKc)

; 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.android::LocaleParserState" = type { i8, i8 }
%"struct.android::ResTable_config" = type { i32, %union.anon, %union.anon.0, %union.anon.2, %union.anon.4, %union.anon.6, %union.anon.8, %union.anon.10, %union.anon.12, [4 x i8], [8 x i8], %union.anon.14, i8, [8 x i8] }
%union.anon = type { i32 }
%union.anon.0 = type { i32 }
%union.anon.2 = type { i32 }
%union.anon.4 = type { i32 }
%union.anon.6 = type { i32 }
%union.anon.8 = type { i32 }
%union.anon.10 = type { i32 }
%union.anon.12 = type { i32 }
%union.anon.14 = type { i32 }

@stderr = external global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [34 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

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

; 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) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7android15ResTable_config14setBcp47LocaleEPKc(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.android::LocaleParserState", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"struct.android::LocaleParserState", align 1
  %11 = alloca %"struct.android::LocaleParserState", align 1
  %12 = alloca i64, align 8
  %13 = alloca %"struct.android::LocaleParserState", align 1
  %14 = alloca %"struct.android::LocaleParserState", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %3, align 8
  call void @_ZN7android15ResTable_config11clearLocaleEv(ptr noundef nonnull align 4 dereferenceable(64) %15)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %16, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #8
  call void @_ZN7android17LocaleParserStateC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %6)
  br label %17

17:                                               ; preds = %49, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call noundef ptr @strchr(ptr noundef %18, i32 noundef 45) #9
  store ptr %19, ptr %7, align 8, !tbaa !5
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = icmp ne ptr %20, null
  br i1 %21, label %23, label %22

22:                                               ; preds = %17
  store i32 3, ptr %8, align 4
  br label %47

23:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = ptrtoint ptr %24 to i64
  %27 = ptrtoint ptr %25 to i64
  %28 = sub i64 %26, %27
  store i64 %28, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #8
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = load i64, ptr %9, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 %6, i64 2, i1 false), !tbaa.struct !11
  %31 = load i16, ptr %11, align 1
  %32 = call i16 @_ZN7android21assignLocaleComponentEPNS_15ResTable_configEPKcmNS_17LocaleParserStateE(ptr noundef %15, ptr noundef %29, i64 noundef %30, i16 %31)
  store i16 %32, ptr %10, align 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 %10, i64 2, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #8
  %33 = getelementptr inbounds %"struct.android::LocaleParserState", ptr %6, i32 0, i32 0
  %34 = load i8, ptr %33, align 1, !tbaa !16
  %35 = zext i8 %34 to i32
  %36 = icmp eq i32 %35, 2
  br i1 %36, label %37, label %41

37:                                               ; preds = %23
  %38 = load ptr, ptr @stderr, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.39, ptr noundef %39) #8
  store i32 3, ptr %8, align 4
  br label %44

41:                                               ; preds = %23
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 1
  store ptr %43, ptr %5, align 8, !tbaa !5
  store i32 0, ptr %8, align 4
  br label %44

44:                                               ; preds = %41, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  %45 = load i32, ptr %8, align 4
  switch i32 %45, label %47 [
    i32 0, label %46
  ]

46:                                               ; preds = %44
  store i32 0, ptr %8, align 4
  br label %47

47:                                               ; preds = %46, %44, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  %48 = load i32, ptr %8, align 4
  switch i32 %48, label %75 [
    i32 0, label %49
    i32 3, label %50
  ]

49:                                               ; preds = %47
  br label %17, !llvm.loop !18

50:                                               ; preds = %47
  %51 = getelementptr inbounds %"struct.android::LocaleParserState", ptr %6, i32 0, i32 0
  %52 = load i8, ptr %51, align 1, !tbaa !16
  %53 = zext i8 %52 to i32
  %54 = icmp ne i32 %53, 2
  br i1 %54, label %55, label %62

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = call i64 @strlen(ptr noundef %56) #9
  store i64 %57, ptr %12, align 8, !tbaa !9
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = load i64, ptr %12, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %13, ptr align 1 %6, i64 2, i1 false), !tbaa.struct !11
  %60 = load i16, ptr %13, align 1
  %61 = call i16 @_ZN7android21assignLocaleComponentEPNS_15ResTable_configEPKcmNS_17LocaleParserStateE(ptr noundef %15, ptr noundef %58, i64 noundef %59, i16 %60)
  store i16 %61, ptr %14, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %62

62:                                               ; preds = %55, %50
  %63 = getelementptr inbounds %"struct.android::ResTable_config", ptr %15, i32 0, i32 9
  %64 = getelementptr inbounds [4 x i8], ptr %63, i64 0, i64 0
  %65 = load i8, ptr %64, align 4, !tbaa !20
  %66 = sext i8 %65 to i32
  %67 = icmp eq i32 %66, 0
  %68 = getelementptr inbounds %"struct.android::ResTable_config", ptr %15, i32 0, i32 12
  %69 = zext i1 %67 to i8
  store i8 %69, ptr %68, align 4, !tbaa !21
  %70 = getelementptr inbounds %"struct.android::ResTable_config", ptr %15, i32 0, i32 12
  %71 = load i8, ptr %70, align 4, !tbaa !21, !range !25, !noundef !26
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %74

73:                                               ; preds = %62
  call void @_ZN7android15ResTable_config13computeScriptEv(ptr noundef nonnull align 4 dereferenceable(64) %15)
  br label %74

74:                                               ; preds = %73, %62
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  ret void

75:                                               ; preds = %47
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7android15ResTable_config11clearLocaleEv(ptr noundef nonnull align 4 dereferenceable(64)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7android17LocaleParserStateC2Ev(ptr noundef nonnull align 1 dereferenceable(2)) unnamed_addr #5 align 2

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i16 @_ZN7android21assignLocaleComponentEPNS_15ResTable_configEPKcmNS_17LocaleParserStateE(ptr noundef, ptr noundef, i64 noundef, i16) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7android15ResTable_config13computeScriptEv(ptr noundef nonnull align 4 dereferenceable(64)) #7 align 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { inlinehint mustprogress 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 = { mustprogress 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 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 #7 = { inlinehint mustprogress 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 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{i64 0, i64 1, !12, i64 1, i64 1, !14}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN7android17LocaleParserState5StateE", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTSN7android17LocaleParserState12UnicodeStateE", !7, i64 0}
!16 = !{!17, !13, i64 0}
!17 = !{!"_ZTSN7android17LocaleParserStateE", !13, i64 0, !15, i64 1}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !24, i64 52}
!22 = !{!"_ZTSN7android15ResTable_configE", !23, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 48, !24, i64 52, !7, i64 53}
!23 = !{!"int", !7, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}


; 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.android::LocaleParserState" = type { i8, i8 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.39 = external hidden unnamed_addr constant [34 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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7android15ResTable_config14setBcp47LocaleEPKc(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca %"struct.android::LocaleParserState", align 2
  tail call void @_ZN7android15ResTable_config11clearLocaleEv(ptr noundef nonnull align 4 dereferenceable(64) %0)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) #7
  call void @_ZN7android17LocaleParserStateC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %3)
  %4 = call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %1, i32 noundef 45) #8
  %.not27 = icmp eq ptr %4, null
  br i1 %.not27, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %2
  %.sroa.02.0.copyload.pre = load i16, ptr %3, align 2
  br label %.lr.ph

5:                                                ; preds = %.lr.ph
  %6 = getelementptr inbounds i8, ptr %8, i64 1
  %7 = call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %6, i32 noundef 45) #8
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %5
  %.sroa.02.0.copyload = phi i16 [ %12, %5 ], [ %.sroa.02.0.copyload.pre, %.lr.ph.preheader ]
  %8 = phi ptr [ %7, %5 ], [ %4, %.lr.ph.preheader ]
  %.028 = phi ptr [ %6, %5 ], [ %1, %.lr.ph.preheader ]
  %9 = ptrtoint ptr %8 to i64
  %10 = ptrtoint ptr %.028 to i64
  %11 = sub i64 %9, %10
  %12 = call i16 @_ZN7android21assignLocaleComponentEPNS_15ResTable_configEPKcmNS_17LocaleParserStateE(ptr noundef nonnull %0, ptr noundef %.028, i64 noundef %11, i16 %.sroa.02.0.copyload)
  store i16 %12, ptr %3, align 2
  %13 = and i16 %12, 255
  %14 = icmp eq i16 %13, 2
  br i1 %14, label %15, label %5

15:                                               ; preds = %.lr.ph
  %16 = load ptr, ptr @stderr, align 8, !tbaa !5
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str.39, ptr noundef %1) #9
  br label %.loopexit

.loopexit:                                        ; preds = %5, %2, %15
  %.026 = phi ptr [ %.028, %15 ], [ %1, %2 ], [ %6, %5 ]
  %18 = load i8, ptr %3, align 2, !tbaa !9
  %.not20 = icmp eq i8 %18, 2
  br i1 %.not20, label %22, label %19

19:                                               ; preds = %.loopexit
  %20 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %.026) #8
  %.sroa.01.0.copyload = load i16, ptr %3, align 2
  %21 = call i16 @_ZN7android21assignLocaleComponentEPNS_15ResTable_configEPKcmNS_17LocaleParserStateE(ptr noundef nonnull %0, ptr noundef %.026, i64 noundef %20, i16 %.sroa.01.0.copyload)
  br label %22

22:                                               ; preds = %19, %.loopexit
  %23 = getelementptr inbounds i8, ptr %0, i64 36
  %24 = load i8, ptr %23, align 4, !tbaa !13
  %25 = icmp eq i8 %24, 0
  %26 = getelementptr inbounds i8, ptr %0, i64 52
  %27 = zext i1 %25 to i8
  store i8 %27, ptr %26, align 4, !tbaa !14
  br i1 %25, label %28, label %29

28:                                               ; preds = %22
  call void @_ZN7android15ResTable_config13computeScriptEv(ptr noundef nonnull align 4 dereferenceable(64) %0)
  br label %29

29:                                               ; preds = %28, %22
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %3) #7
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7android15ResTable_config11clearLocaleEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7android17LocaleParserStateC2Ev(ptr noundef nonnull align 1 dereferenceable(2)) unnamed_addr #4 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i16 @_ZN7android21assignLocaleComponentEPNS_15ResTable_configEPKcmNS_17LocaleParserStateE(ptr noundef, ptr noundef, i64 noundef, i16) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7android15ResTable_config13computeScriptEv(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #6 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress 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 #3 = { inlinehint mustprogress 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 = { mustprogress 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 = { 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 #6 = { inlinehint mustprogress 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { cold 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++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN7android17LocaleParserStateE", !11, i64 0, !12, i64 1}
!11 = !{!"_ZTSN7android17LocaleParserState5StateE", !7, i64 0}
!12 = !{!"_ZTSN7android17LocaleParserState12UnicodeStateE", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !17, i64 52}
!15 = !{!"_ZTSN7android15ResTable_configE", !16, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 48, !17, i64 52, !7, i64 53}
!16 = !{!"int", !7, i64 0}
!17 = !{!"bool", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass