; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/7zip/Archive/7z (7zHandler)

; 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.NArchive::N7z::CInByte2" = type { ptr, i64, i64 }
%class.AString = type { ptr, i32, i32 }
%"class.NArchive::N7z::CHandler" = type { %struct.IInArchive, %struct.IArchiveGetRawProps, %struct.ISetProperties, %struct.IOutArchive, %class.CMyUnknownImp, %"class.NArchive::N7z::COutHandler", %class.CMyComPtr, %"struct.NArchive::N7z::CDbEx", i8, i8, %class.UString, %class.CRecordVector.8, %class.CRecordVector.6 }
%struct.IInArchive = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.IArchiveGetRawProps = type { %struct.IUnknown }
%struct.ISetProperties = type { %struct.IUnknown }
%struct.IOutArchive = type { %struct.IUnknown }
%class.CMyUnknownImp = type { i32 }
%"class.NArchive::N7z::COutHandler" = type { %"class.NArchive::CMultiMethodProps.base", i64, i64, i8, i8, i8, i8, i8, i8, %struct.CBoolPair, %struct.CBoolPair, %struct.CBoolPair, %struct.CBoolPair, i8, i8 }
%"class.NArchive::CMultiMethodProps.base" = type <{ %"class.NArchive::CCommonMethodProps", i32, i32, i32, [4 x i8], %class.CObjectVector, %class.COneMethodInfo, i8 }>
%"class.NArchive::CCommonMethodProps" = type { i32, i32, i64, i64 }
%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { ptr, i32, i32 }
%class.COneMethodInfo = type { %class.CMethodProps, %class.AString, %class.UString }
%class.CMethodProps = type { %struct.CProps }
%struct.CProps = type { %class.CObjectVector.0 }
%class.CObjectVector.0 = type { %class.CRecordVector }
%struct.CBoolPair = type { i8, i8 }
%class.CMyComPtr = type { ptr }
%"struct.NArchive::N7z::CDbEx" = type <{ %"struct.NArchive::N7z::CDatabase", %"struct.NArchive::N7z::CInArchiveInfo", %class.CObjArray.3, %class.CObjArray.3, i64, i64, i8, i8, i8, i8, i8, i8, i8, i8 }>
%"struct.NArchive::N7z::CDatabase" = type { %"struct.NArchive::N7z::CFolders", %class.CRecordVector.7, %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt32DefVector", %class.CRecordVector.1, %class.CBuffer, %class.CObjArray.5 }
%"struct.NArchive::N7z::CFolders" = type { i32, i32, %class.CObjArray, %"struct.NArchive::N7z::CUInt32DefVector", %class.CObjArray.3, %class.CObjArray, %class.CObjArray.3, %class.CObjArray.3, %class.CObjArray.4, %class.CObjArray.5, %class.CBuffer, %"struct.NArchive::N7z::CParsedMethods" }
%class.CObjArray = type { ptr }
%class.CObjArray.4 = type { ptr }
%"struct.NArchive::N7z::CParsedMethods" = type { i8, i32, %class.CRecordVector.6 }
%class.CRecordVector.7 = type { ptr, i32, i32 }
%"struct.NArchive::N7z::CUInt64DefVector" = type { %class.CRecordVector.1, %class.CRecordVector.6 }
%"struct.NArchive::N7z::CUInt32DefVector" = type { %class.CRecordVector.1, %class.CRecordVector.2 }
%class.CRecordVector.2 = type { ptr, i32, i32 }
%class.CRecordVector.1 = type { ptr, i32, i32 }
%class.CBuffer = type { ptr, i64 }
%class.CObjArray.5 = type { ptr }
%"struct.NArchive::N7z::CInArchiveInfo" = type { %"struct.NArchive::N7z::CArchiveVersion", i64, i64, i64, i64, %class.CRecordVector.6 }
%"struct.NArchive::N7z::CArchiveVersion" = type { i8, i8 }
%class.CObjArray.3 = type { ptr }
%class.UString = type { ptr, i32, i32 }
%class.CRecordVector.8 = type { ptr, i32, i32 }
%class.CRecordVector.6 = type { ptr, i32, i32 }

@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN7AStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare noundef zeroext i1 @_Z10FindMethodyR7AString(i64 noundef, ptr noundef nonnull align 8 dereferenceable(16)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7AString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7AStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; 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 void @_Z21ConvertUInt32ToStringjPc(i32 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9CObjArrayImEcvPKmEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7CBufferIhEcvPKhEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8NArchive3N7z8CInByte24InitEPKhm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) #2 align 2

declare noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24)) #1

declare noundef zeroext i8 @_ZN8NArchive3N7z8CInByte28ReadByteEv(ptr noundef nonnull align 8 dereferenceable(24)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK8NArchive3N7z8CInByte26GetPtrEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8NArchive3N7z8CInByte215SkipDataNoCheckEy(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK8NArchive3N7z8CHandler15SetMethodToPropEjP14tagPROPVARIANT(ptr noundef nonnull align 8 dereferenceable(696) %0, i32 noundef %1, ptr noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca [256 x i8], align 16
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"struct.NArchive::N7z::CInByte2", align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca [32 x i8], align 16
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca ptr, align 8
  %36 = alloca i8, align 1
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca %class.AString, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %48 = load ptr, ptr %5, align 8
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = call noundef i32 @_ZN8NWindows4NCOM17PropVariant_ClearEP14tagPROPVARIANT(ptr noundef %49) #6
  %51 = load i32, ptr %6, align 4, !tbaa !9
  %52 = icmp eq i32 %51, -1
  br i1 %52, label %53, label %54

53:                                               ; preds = %3
  store i32 0, ptr %4, align 4
  br label %478

54:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 256, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 256, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 256, ptr %10, align 4, !tbaa !9
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = add i32 %55, -1
  store i32 %56, ptr %10, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %57
  store i8 0, ptr %58, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %59 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %48, i32 0, i32 7
  %60 = getelementptr inbounds %"struct.NArchive::N7z::CFolders", ptr %59, i32 0, i32 9
  %61 = call noundef ptr @_ZNK9CObjArrayImEcvPKmEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds i64, ptr %61, i64 %63
  %65 = load i64, ptr %64, align 8, !tbaa !12
  store i64 %65, ptr %11, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %66 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %48, i32 0, i32 7
  %67 = getelementptr inbounds %"struct.NArchive::N7z::CFolders", ptr %66, i32 0, i32 10
  %68 = call noundef ptr @_ZNK7CBufferIhEcvPKhEv(ptr noundef nonnull align 8 dereferenceable(16) %67)
  %69 = load i64, ptr %11, align 8, !tbaa !12
  %70 = getelementptr inbounds i8, ptr %68, i64 %69
  store ptr %70, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %71 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %48, i32 0, i32 7
  %72 = getelementptr inbounds %"struct.NArchive::N7z::CFolders", ptr %71, i32 0, i32 9
  %73 = call noundef ptr @_ZNK9CObjArrayImEcvPKmEv(ptr noundef nonnull align 8 dereferenceable(8) %72)
  %74 = load i32, ptr %6, align 4, !tbaa !9
  %75 = add i32 %74, 1
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds i64, ptr %73, i64 %76
  %78 = load i64, ptr %77, align 8, !tbaa !12
  %79 = load i64, ptr %11, align 8, !tbaa !12
  %80 = sub i64 %78, %79
  store i64 %80, ptr %13, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = load i64, ptr %13, align 8, !tbaa !12
  call void @_ZN8NArchive3N7z8CInByte24InitEPKhm(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef %81, i64 noundef %82)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %83 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  store i32 %83, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  store i8 0, ptr %16, align 1, !tbaa !14
  br label %84

84:                                               ; preds = %445, %54
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %448

87:                                               ; preds = %84
  %88 = load i32, ptr %10, align 4, !tbaa !9
  %89 = icmp ult i32 %88, 32
  br i1 %89, label %90, label %91

90:                                               ; preds = %87
  br label %448

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  %92 = call noundef zeroext i8 @_ZN8NArchive3N7z8CInByte28ReadByteEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  store i8 %92, ptr %17, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %93 = load i8, ptr %17, align 1, !tbaa !11
  %94 = zext i8 %93 to i32
  %95 = and i32 %94, 15
  store i32 %95, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %96 = call noundef ptr @_ZNK8NArchive3N7z8CInByte26GetPtrEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  store ptr %96, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store i64 0, ptr %20, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %112, %91
  %98 = load i32, ptr %21, align 4, !tbaa !9
  %99 = load i32, ptr %18, align 4, !tbaa !9
  %100 = icmp ult i32 %98, %99
  br i1 %100, label %102, label %101

101:                                              ; preds = %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %115

102:                                              ; preds = %97
  %103 = load i64, ptr %20, align 8, !tbaa !16
  %104 = shl i64 %103, 8
  %105 = load ptr, ptr %19, align 8, !tbaa !5
  %106 = load i32, ptr %21, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds i8, ptr %105, i64 %107
  %109 = load i8, ptr %108, align 1, !tbaa !11
  %110 = zext i8 %109 to i64
  %111 = or i64 %104, %110
  store i64 %111, ptr %20, align 8, !tbaa !16
  br label %112

112:                                              ; preds = %102
  %113 = load i32, ptr %21, align 4, !tbaa !9
  %114 = add i32 %113, 1
  store i32 %114, ptr %21, align 4, !tbaa !9
  br label %97, !llvm.loop !18

115:                                              ; preds = %101
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  call void @_ZN8NArchive3N7z8CInByte215SkipDataNoCheckEy(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %117)
  %118 = load i8, ptr %17, align 1, !tbaa !11
  %119 = zext i8 %118 to i32
  %120 = and i32 %119, 16
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %122, label %125

122:                                              ; preds = %115
  %123 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %124 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  br label %125

125:                                              ; preds = %122, %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store ptr null, ptr %23, align 8, !tbaa !5
  %126 = load i8, ptr %17, align 1, !tbaa !11
  %127 = zext i8 %126 to i32
  %128 = and i32 %127, 32
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %135

130:                                              ; preds = %125
  %131 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  store i32 %131, ptr %22, align 4, !tbaa !9
  %132 = call noundef ptr @_ZNK8NArchive3N7z8CInByte26GetPtrEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  store ptr %132, ptr %23, align 8, !tbaa !5
  %133 = load i32, ptr %22, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  call void @_ZN8NArchive3N7z8CInByte215SkipDataNoCheckEy(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %134)
  br label %135

135:                                              ; preds = %130, %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store ptr null, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  %136 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  store i8 0, ptr %136, align 16, !tbaa !11
  %137 = load i64, ptr %20, align 8, !tbaa !16
  %138 = icmp ule i64 %137, 4294967295
  br i1 %138, label %139, label %298

139:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %140 = load i64, ptr %20, align 8, !tbaa !16
  %141 = trunc i64 %140 to i32
  store i32 %141, ptr %26, align 4, !tbaa !9
  %142 = load i32, ptr %26, align 4, !tbaa !9
  %143 = icmp eq i32 %142, 196865
  br i1 %143, label %144, label %195

144:                                              ; preds = %139
  store ptr @.str.2, ptr %24, align 8, !tbaa !5
  %145 = load i32, ptr %22, align 4, !tbaa !9
  %146 = icmp eq i32 %145, 5
  br i1 %146, label %147, label %194

147:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %148 = load ptr, ptr %23, align 8, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %148, i64 1
  %150 = load i32, ptr %149, align 4, !tbaa !9
  store i32 %150, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %151 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  %152 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  %153 = load i32, ptr %27, align 4, !tbaa !9
  %154 = call noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef %152, i32 noundef %153)
  %155 = zext i32 %154 to i64
  %156 = getelementptr inbounds i8, ptr %151, i64 %155
  store ptr %156, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %157 = load ptr, ptr %23, align 8, !tbaa !5
  %158 = getelementptr inbounds i8, ptr %157, i64 0
  %159 = load i8, ptr %158, align 1, !tbaa !11
  %160 = zext i8 %159 to i32
  store i32 %160, ptr %29, align 4, !tbaa !9
  %161 = load i32, ptr %29, align 4, !tbaa !9
  %162 = icmp ne i32 %161, 93
  br i1 %162, label %163, label %193

163:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %164 = load i32, ptr %29, align 4, !tbaa !9
  %165 = urem i32 %164, 9
  store i32 %165, ptr %30, align 4, !tbaa !9
  %166 = load i32, ptr %29, align 4, !tbaa !9
  %167 = udiv i32 %166, 9
  store i32 %167, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %168 = load i32, ptr %29, align 4, !tbaa !9
  %169 = udiv i32 %168, 5
  store i32 %169, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %170 = load i32, ptr %29, align 4, !tbaa !9
  %171 = urem i32 %170, 5
  store i32 %171, ptr %32, align 4, !tbaa !9
  %172 = load i32, ptr %30, align 4, !tbaa !9
  %173 = icmp ne i32 %172, 3
  br i1 %173, label %174, label %178

174:                                              ; preds = %163
  %175 = load ptr, ptr %28, align 8, !tbaa !5
  %176 = load i32, ptr %30, align 4, !tbaa !9
  %177 = call noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef %175, ptr noundef @.str.3, i32 noundef %176)
  store ptr %177, ptr %28, align 8, !tbaa !5
  br label %178

178:                                              ; preds = %174, %163
  %179 = load i32, ptr %32, align 4, !tbaa !9
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %185

181:                                              ; preds = %178
  %182 = load ptr, ptr %28, align 8, !tbaa !5
  %183 = load i32, ptr %32, align 4, !tbaa !9
  %184 = call noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef %182, ptr noundef @.str.4, i32 noundef %183)
  store ptr %184, ptr %28, align 8, !tbaa !5
  br label %185

185:                                              ; preds = %181, %178
  %186 = load i32, ptr %31, align 4, !tbaa !9
  %187 = icmp ne i32 %186, 2
  br i1 %187, label %188, label %192

188:                                              ; preds = %185
  %189 = load ptr, ptr %28, align 8, !tbaa !5
  %190 = load i32, ptr %31, align 4, !tbaa !9
  %191 = call noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef %189, ptr noundef @.str.5, i32 noundef %190)
  store ptr %191, ptr %28, align 8, !tbaa !5
  br label %192

192:                                              ; preds = %188, %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %193

193:                                              ; preds = %192, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %194

194:                                              ; preds = %193, %144
  br label %297

195:                                              ; preds = %139
  %196 = load i32, ptr %26, align 4, !tbaa !9
  %197 = icmp eq i32 %196, 33
  br i1 %197, label %198, label %225

198:                                              ; preds = %195
  store ptr @.str.6, ptr %24, align 8, !tbaa !5
  %199 = load i32, ptr %22, align 4, !tbaa !9
  %200 = icmp eq i32 %199, 1
  br i1 %200, label %201, label %224

201:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #6
  %202 = load ptr, ptr %23, align 8, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %202, i64 0
  %204 = load i8, ptr %203, align 1, !tbaa !11
  store i8 %204, ptr %33, align 1, !tbaa !11
  %205 = load i8, ptr %33, align 1, !tbaa !11
  %206 = zext i8 %205 to i32
  %207 = and i32 %206, 1
  %208 = icmp eq i32 %207, 0
  br i1 %208, label %209, label %215

209:                                              ; preds = %201
  %210 = load i8, ptr %33, align 1, !tbaa !11
  %211 = zext i8 %210 to i32
  %212 = ashr i32 %211, 1
  %213 = add nsw i32 %212, 12
  %214 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %213, ptr noundef %214) #6
  br label %223

215:                                              ; preds = %201
  %216 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  %217 = load i8, ptr %33, align 1, !tbaa !11
  %218 = zext i8 %217 to i32
  %219 = ashr i32 %218, 1
  %220 = add nsw i32 %219, 11
  %221 = shl i32 3, %220
  %222 = call noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef %216, i32 noundef %221)
  br label %223

223:                                              ; preds = %215, %209
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  br label %224

224:                                              ; preds = %223, %198
  br label %296

225:                                              ; preds = %195
  %226 = load i32, ptr %26, align 4, !tbaa !9
  %227 = icmp eq i32 %226, 197633
  br i1 %227, label %228, label %253

228:                                              ; preds = %225
  store ptr @.str.7, ptr %24, align 8, !tbaa !5
  %229 = load i32, ptr %22, align 4, !tbaa !9
  %230 = icmp eq i32 %229, 5
  br i1 %230, label %231, label %252

231:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  %232 = load ptr, ptr %23, align 8, !tbaa !5
  %233 = load i8, ptr %232, align 1, !tbaa !11
  store i8 %233, ptr %34, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %234 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  store ptr %234, ptr %35, align 8, !tbaa !5
  %235 = load ptr, ptr %35, align 8, !tbaa !5
  %236 = getelementptr inbounds i8, ptr %235, i32 1
  store ptr %236, ptr %35, align 8, !tbaa !5
  store i8 111, ptr %235, align 1, !tbaa !11
  %237 = load i8, ptr %34, align 1, !tbaa !11
  %238 = zext i8 %237 to i32
  %239 = load ptr, ptr %35, align 8, !tbaa !5
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %238, ptr noundef %239) #6
  %240 = load ptr, ptr %35, align 8, !tbaa !5
  %241 = call noundef i32 @_Z11MyStringLenPKc(ptr noundef %240)
  %242 = load ptr, ptr %35, align 8, !tbaa !5
  %243 = zext i32 %241 to i64
  %244 = getelementptr inbounds i8, ptr %242, i64 %243
  store ptr %244, ptr %35, align 8, !tbaa !5
  %245 = load ptr, ptr %35, align 8, !tbaa !5
  %246 = call noundef ptr @_Z8MyStpCpyPcPKc(ptr noundef %245, ptr noundef @.str.8)
  store ptr %246, ptr %35, align 8, !tbaa !5
  %247 = load ptr, ptr %35, align 8, !tbaa !5
  %248 = load ptr, ptr %23, align 8, !tbaa !5
  %249 = getelementptr inbounds i8, ptr %248, i64 1
  %250 = load i32, ptr %249, align 4, !tbaa !9
  %251 = call noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef %247, i32 noundef %250)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  br label %252

252:                                              ; preds = %231, %228
  br label %295

253:                                              ; preds = %225
  %254 = load i32, ptr %26, align 4, !tbaa !9
  %255 = icmp eq i32 %254, 3
  br i1 %255, label %256, label %267

256:                                              ; preds = %253
  store ptr @.str.9, ptr %24, align 8, !tbaa !5
  %257 = load i32, ptr %22, align 4, !tbaa !9
  %258 = icmp eq i32 %257, 1
  br i1 %258, label %259, label %266

259:                                              ; preds = %256
  %260 = load ptr, ptr %23, align 8, !tbaa !5
  %261 = getelementptr inbounds i8, ptr %260, i64 0
  %262 = load i8, ptr %261, align 1, !tbaa !11
  %263 = zext i8 %262 to i32
  %264 = add i32 %263, 1
  %265 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %264, ptr noundef %265) #6
  br label %266

266:                                              ; preds = %259, %256
  br label %294

267:                                              ; preds = %253
  %268 = load i32, ptr %26, align 4, !tbaa !9
  %269 = icmp eq i32 %268, 50528539
  br i1 %269, label %270, label %271

270:                                              ; preds = %267
  store ptr @.str.10, ptr %24, align 8, !tbaa !5
  br label %293

271:                                              ; preds = %267
  %272 = load i32, ptr %26, align 4, !tbaa !9
  %273 = icmp eq i32 %272, 50528515
  br i1 %273, label %274, label %275

274:                                              ; preds = %271
  store ptr @.str.11, ptr %24, align 8, !tbaa !5
  br label %292

275:                                              ; preds = %271
  %276 = load i32, ptr %26, align 4, !tbaa !9
  %277 = icmp eq i32 %276, 116459265
  br i1 %277, label %278, label %291

278:                                              ; preds = %275
  store ptr @.str.12, ptr %24, align 8, !tbaa !5
  %279 = load i32, ptr %22, align 4, !tbaa !9
  %280 = icmp uge i32 %279, 1
  br i1 %280, label %281, label %290

281:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #6
  %282 = load ptr, ptr %23, align 8, !tbaa !5
  %283 = getelementptr inbounds i8, ptr %282, i64 0
  %284 = load i8, ptr %283, align 1, !tbaa !11
  store i8 %284, ptr %36, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %285 = load i8, ptr %36, align 1, !tbaa !11
  %286 = zext i8 %285 to i32
  %287 = and i32 %286, 63
  store i32 %287, ptr %37, align 4, !tbaa !9
  %288 = load i32, ptr %37, align 4, !tbaa !9
  %289 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %288, ptr noundef %289) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  br label %290

290:                                              ; preds = %281, %278
  br label %291

291:                                              ; preds = %290, %275
  br label %292

292:                                              ; preds = %291, %274
  br label %293

293:                                              ; preds = %292, %270
  br label %294

294:                                              ; preds = %293, %266
  br label %295

295:                                              ; preds = %294, %252
  br label %296

296:                                              ; preds = %295, %224
  br label %297

297:                                              ; preds = %296, %194
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %298

298:                                              ; preds = %297, %135
  %299 = load ptr, ptr %24, align 8, !tbaa !5
  %300 = icmp ne ptr %299, null
  br i1 %300, label %301, label %363

301:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %302 = load ptr, ptr %24, align 8, !tbaa !5
  %303 = call noundef i32 @_Z11MyStringLenPKc(ptr noundef %302)
  store i32 %303, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  %304 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  %305 = call noundef i32 @_Z11MyStringLenPKc(ptr noundef %304)
  store i32 %305, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  %306 = load i32, ptr %38, align 4, !tbaa !9
  %307 = load i32, ptr %39, align 4, !tbaa !9
  %308 = add i32 %306, %307
  store i32 %308, ptr %40, align 4, !tbaa !9
  %309 = load i32, ptr %39, align 4, !tbaa !9
  %310 = icmp ne i32 %309, 0
  br i1 %310, label %311, label %314

311:                                              ; preds = %301
  %312 = load i32, ptr %40, align 4, !tbaa !9
  %313 = add i32 %312, 1
  store i32 %313, ptr %40, align 4, !tbaa !9
  br label %314

314:                                              ; preds = %311, %301
  %315 = load i8, ptr %16, align 1, !tbaa !14, !range !20, !noundef !21
  %316 = trunc i8 %315 to i1
  br i1 %316, label %317, label %320

317:                                              ; preds = %314
  %318 = load i32, ptr %40, align 4, !tbaa !9
  %319 = add i32 %318, 1
  store i32 %319, ptr %40, align 4, !tbaa !9
  br label %320

320:                                              ; preds = %317, %314
  %321 = load i32, ptr %40, align 4, !tbaa !9
  %322 = add i32 %321, 5
  %323 = load i32, ptr %10, align 4, !tbaa !9
  %324 = icmp uge i32 %322, %323
  br i1 %324, label %325, label %326

325:                                              ; preds = %320
  store i32 2, ptr %41, align 4
  br label %360

326:                                              ; preds = %320
  %327 = load i32, ptr %40, align 4, !tbaa !9
  %328 = load i32, ptr %10, align 4, !tbaa !9
  %329 = sub i32 %328, %327
  store i32 %329, ptr %10, align 4, !tbaa !9
  %330 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  %331 = load i32, ptr %10, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = getelementptr inbounds i8, ptr %330, i64 %332
  %334 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_Z12MyStringCopyPcPKc(ptr noundef %333, ptr noundef %334)
  %335 = load i32, ptr %39, align 4, !tbaa !9
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %349

337:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  %338 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  %339 = load i32, ptr %10, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = getelementptr inbounds i8, ptr %338, i64 %340
  %342 = load i32, ptr %38, align 4, !tbaa !9
  %343 = zext i32 %342 to i64
  %344 = getelementptr inbounds i8, ptr %341, i64 %343
  store ptr %344, ptr %42, align 8, !tbaa !5
  %345 = load ptr, ptr %42, align 8, !tbaa !5
  %346 = getelementptr inbounds i8, ptr %345, i32 1
  store ptr %346, ptr %42, align 8, !tbaa !5
  store i8 58, ptr %345, align 1, !tbaa !11
  %347 = load ptr, ptr %42, align 8, !tbaa !5
  %348 = getelementptr inbounds [32 x i8], ptr %25, i64 0, i64 0
  call void @_Z12MyStringCopyPcPKc(ptr noundef %347, ptr noundef %348)
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %349

349:                                              ; preds = %337, %326
  %350 = load i8, ptr %16, align 1, !tbaa !14, !range !20, !noundef !21
  %351 = trunc i8 %350 to i1
  br i1 %351, label %352, label %359

352:                                              ; preds = %349
  %353 = load i32, ptr %10, align 4, !tbaa !9
  %354 = load i32, ptr %40, align 4, !tbaa !9
  %355 = add i32 %353, %354
  %356 = sub i32 %355, 1
  %357 = zext i32 %356 to i64
  %358 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %357
  store i8 32, ptr %358, align 1, !tbaa !11
  br label %359

359:                                              ; preds = %352, %349
  store i32 0, ptr %41, align 4
  br label %360

360:                                              ; preds = %359, %325
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  %361 = load i32, ptr %41, align 4
  switch i32 %361, label %442 [
    i32 0, label %362
  ]

362:                                              ; preds = %360
  br label %441

363:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #6
  call void @_ZN7AStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %43)
  %364 = load i64, ptr %20, align 8, !tbaa !16
  %365 = invoke noundef zeroext i1 @_Z10FindMethodyR7AString(i64 noundef %364, ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %366 unwind label %374

366:                                              ; preds = %363
  %367 = load i8, ptr %16, align 1, !tbaa !14, !range !20, !noundef !21
  %368 = trunc i8 %367 to i1
  br i1 %368, label %369, label %378

369:                                              ; preds = %366
  %370 = load i32, ptr %10, align 4, !tbaa !9
  %371 = add i32 %370, -1
  store i32 %371, ptr %10, align 4, !tbaa !9
  %372 = zext i32 %371 to i64
  %373 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %372
  store i8 32, ptr %373, align 1, !tbaa !11
  br label %378

374:                                              ; preds = %381, %378, %363
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %44, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %45, align 4
  br label %440

378:                                              ; preds = %369, %366
  %379 = invoke noundef zeroext i1 @_ZNK7AString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %380 unwind label %374

380:                                              ; preds = %378
  br i1 %379, label %381, label %391

381:                                              ; preds = %380
  %382 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  %383 = load i32, ptr %10, align 4, !tbaa !9
  %384 = zext i32 %383 to i64
  %385 = getelementptr inbounds i8, ptr %382, i64 %384
  %386 = load i64, ptr %20, align 8, !tbaa !16
  %387 = invoke noundef i32 @_ZN8NArchive3N7zL28ConvertMethodIdToString_BackEPcy(ptr noundef %385, i64 noundef %386)
          to label %388 unwind label %374

388:                                              ; preds = %381
  %389 = load i32, ptr %10, align 4, !tbaa !9
  %390 = sub i32 %389, %387
  store i32 %390, ptr %10, align 4, !tbaa !9
  br label %436

391:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %392 = invoke noundef i32 @_ZNK7AString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %393 unwind label %399

393:                                              ; preds = %391
  store i32 %392, ptr %46, align 4, !tbaa !9
  %394 = load i32, ptr %46, align 4, !tbaa !9
  %395 = add i32 %394, 5
  %396 = load i32, ptr %10, align 4, !tbaa !9
  %397 = icmp ugt i32 %395, %396
  br i1 %397, label %398, label %403

398:                                              ; preds = %393
  store i32 2, ptr %41, align 4
  br label %432

399:                                              ; preds = %391
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %44, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %45, align 4
  br label %435

403:                                              ; preds = %393
  %404 = load i32, ptr %46, align 4, !tbaa !9
  %405 = load i32, ptr %10, align 4, !tbaa !9
  %406 = sub i32 %405, %404
  store i32 %406, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  store i32 0, ptr %47, align 4, !tbaa !9
  br label %407

407:                                              ; preds = %424, %403
  %408 = load i32, ptr %47, align 4, !tbaa !9
  %409 = load i32, ptr %46, align 4, !tbaa !9
  %410 = icmp ult i32 %408, %409
  br i1 %410, label %412, label %411

411:                                              ; preds = %407
  store i32 8, ptr %41, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  br label %431

412:                                              ; preds = %407
  %413 = invoke noundef ptr @_ZNK7AStringcvPKcEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %414 unwind label %427

414:                                              ; preds = %412
  %415 = load i32, ptr %47, align 4, !tbaa !9
  %416 = zext i32 %415 to i64
  %417 = getelementptr inbounds i8, ptr %413, i64 %416
  %418 = load i8, ptr %417, align 1, !tbaa !11
  %419 = load i32, ptr %10, align 4, !tbaa !9
  %420 = load i32, ptr %47, align 4, !tbaa !9
  %421 = add i32 %419, %420
  %422 = zext i32 %421 to i64
  %423 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %422
  store i8 %418, ptr %423, align 1, !tbaa !11
  br label %424

424:                                              ; preds = %414
  %425 = load i32, ptr %47, align 4, !tbaa !9
  %426 = add i32 %425, 1
  store i32 %426, ptr %47, align 4, !tbaa !9
  br label %407, !llvm.loop !22

427:                                              ; preds = %412
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %44, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %45, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  br label %435

431:                                              ; preds = %411
  store i32 0, ptr %41, align 4
  br label %432

432:                                              ; preds = %431, %398
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  %433 = load i32, ptr %41, align 4
  switch i32 %433, label %437 [
    i32 0, label %434
  ]

434:                                              ; preds = %432
  br label %436

435:                                              ; preds = %427, %399
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %440

436:                                              ; preds = %434, %388
  store i32 0, ptr %41, align 4
  br label %437

437:                                              ; preds = %436, %432
  call void @_ZN7AStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  %438 = load i32, ptr %41, align 4
  switch i32 %438, label %442 [
    i32 0, label %439
  ]

439:                                              ; preds = %437
  br label %441

440:                                              ; preds = %435, %374
  call void @_ZN7AStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %480

441:                                              ; preds = %439, %362
  store i32 0, ptr %41, align 4
  br label %442

442:                                              ; preds = %441, %437, %360
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  %443 = load i32, ptr %41, align 4
  switch i32 %443, label %485 [
    i32 0, label %444
    i32 2, label %448
  ]

444:                                              ; preds = %442
  br label %445

445:                                              ; preds = %444
  %446 = load i32, ptr %15, align 4, !tbaa !9
  %447 = add i32 %446, -1
  store i32 %447, ptr %15, align 4, !tbaa !9
  store i8 1, ptr %16, align 1, !tbaa !14
  br label %84, !llvm.loop !23

448:                                              ; preds = %442, %90, %84
  %449 = load i32, ptr %15, align 4, !tbaa !9
  %450 = icmp ne i32 %449, 0
  br i1 %450, label %451, label %471

451:                                              ; preds = %448
  %452 = load i32, ptr %10, align 4, !tbaa !9
  %453 = icmp uge i32 %452, 4
  br i1 %453, label %454, label %471

454:                                              ; preds = %451
  %455 = load i32, ptr %10, align 4, !tbaa !9
  %456 = add i32 %455, -1
  store i32 %456, ptr %10, align 4, !tbaa !9
  %457 = zext i32 %456 to i64
  %458 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %457
  store i8 32, ptr %458, align 1, !tbaa !11
  %459 = load i32, ptr %10, align 4, !tbaa !9
  %460 = add i32 %459, -1
  store i32 %460, ptr %10, align 4, !tbaa !9
  %461 = zext i32 %460 to i64
  %462 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %461
  store i8 46, ptr %462, align 1, !tbaa !11
  %463 = load i32, ptr %10, align 4, !tbaa !9
  %464 = add i32 %463, -1
  store i32 %464, ptr %10, align 4, !tbaa !9
  %465 = zext i32 %464 to i64
  %466 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %465
  store i8 46, ptr %466, align 1, !tbaa !11
  %467 = load i32, ptr %10, align 4, !tbaa !9
  %468 = add i32 %467, -1
  store i32 %468, ptr %10, align 4, !tbaa !9
  %469 = zext i32 %468 to i64
  %470 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 %469
  store i8 46, ptr %470, align 1, !tbaa !11
  br label %471

471:                                              ; preds = %454, %451, %448
  %472 = load ptr, ptr %7, align 8, !tbaa !5
  %473 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  %474 = load i32, ptr %10, align 4, !tbaa !9
  %475 = zext i32 %474 to i64
  %476 = getelementptr inbounds i8, ptr %473, i64 %475
  %477 = call noundef i32 @_ZN8NWindows4NCOM17PropVarEm_Set_StrEP14tagPROPVARIANTPKc(ptr noundef %472, ptr noundef %476) #6
  store i32 %477, ptr %4, align 4
  store i32 1, ptr %41, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %478

478:                                              ; preds = %471, %53
  %479 = load i32, ptr %4, align 4
  ret i32 %479

480:                                              ; preds = %440
  %481 = load ptr, ptr %44, align 8
  %482 = load i32, ptr %45, align 4
  %483 = insertvalue { ptr, i32 } poison, ptr %481, 0
  %484 = insertvalue { ptr, i32 } %483, i32 %482, 1
  resume { ptr, i32 } %484

485:                                              ; preds = %442
  unreachable
}

; Function Attrs: nounwind
declare noundef i32 @_ZN8NWindows4NCOM17PropVariant_ClearEP14tagPROPVARIANT(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11MyStringLenPKc(ptr noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_Z8MyStpCpyPcPKc(ptr noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z12MyStringCopyPcPKc(ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN8NArchive3N7zL28ConvertMethodIdToString_BackEPcy(ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7AString3LenEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7AStringcvPKcEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZN8NWindows4NCOM17PropVarEm_Set_StrEP14tagPROPVARIANTPKc(ptr noundef, ptr noundef) #3

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 = { 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 #3 = { 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 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 = { 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}


; 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.NArchive::N7z::CInByte2" = type { ptr, i64, i64 }
%class.AString = type { ptr, i32, i32 }

@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN7AStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare noundef zeroext i1 @_Z10FindMethodyR7AString(i64 noundef, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7AString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7AStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: nounwind
declare void @_Z21ConvertUInt32ToStringjPc(i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9CObjArrayImEcvPKmEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7CBufferIhEcvPKhEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8NArchive3N7z8CInByte24InitEPKhm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64 noundef) local_unnamed_addr #2 align 2

declare noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

declare noundef zeroext i8 @_ZN8NArchive3N7z8CInByte28ReadByteEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK8NArchive3N7z8CInByte26GetPtrEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8NArchive3N7z8CInByte215SkipDataNoCheckEy(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK8NArchive3N7z8CHandler15SetMethodToPropEjP14tagPROPVARIANT(ptr noundef nonnull align 8 dereferenceable(696) %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca [256 x i8], align 16
  %5 = alloca %"struct.NArchive::N7z::CInByte2", align 8
  %6 = alloca [32 x i8], align 16
  %7 = alloca %class.AString, align 8
  %8 = tail call noundef i32 @_ZN8NWindows4NCOM17PropVariant_ClearEP14tagPROPVARIANT(ptr noundef %2) #6
  %9 = icmp eq i32 %1, -1
  br i1 %9, label %202, label %10

10:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #6
  %11 = getelementptr inbounds i8, ptr %4, i64 255
  store i8 0, ptr %11, align 1, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 280
  %13 = tail call noundef ptr @_ZNK9CObjArrayImEcvPKmEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %14 = zext i32 %1 to i64
  %15 = getelementptr inbounds i64, ptr %13, i64 %14
  %16 = load i64, ptr %15, align 8, !tbaa !8
  %17 = getelementptr inbounds i8, ptr %0, i64 288
  %18 = tail call noundef ptr @_ZNK7CBufferIhEcvPKhEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  %19 = getelementptr inbounds i8, ptr %18, i64 %16
  %20 = tail call noundef ptr @_ZNK9CObjArrayImEcvPKmEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  %21 = add nuw i32 %1, 1
  %22 = zext i32 %21 to i64
  %23 = getelementptr inbounds i64, ptr %20, i64 %22
  %24 = load i64, ptr %23, align 8, !tbaa !8
  %25 = sub i64 %24, %16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZN8NArchive3N7z8CInByte24InitEPKhm(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef %19, i64 noundef %25)
  %26 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %.loopexit._crit_edge, label %.lr.ph218

.lr.ph218:                                        ; preds = %10
  %28 = getelementptr inbounds i8, ptr %6, i64 1
  br label %29

29:                                               ; preds = %.lr.ph218, %.thread169
  %.0130216 = phi i32 [ 255, %.lr.ph218 ], [ %.7.ph, %.thread169 ]
  %.0131214 = phi i32 [ %26, %.lr.ph218 ], [ %181, %.thread169 ]
  %.0132213 = phi i1 [ false, %.lr.ph218 ], [ true, %.thread169 ]
  %30 = call noundef zeroext i8 @_ZN8NArchive3N7z8CInByte28ReadByteEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %31 = zext i8 %30 to i32
  %32 = and i32 %31, 15
  %33 = call noundef ptr @_ZNK8NArchive3N7z8CInByte26GetPtrEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %.not221 = icmp eq i32 %32, 0
  br i1 %.not221, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %29
  %wide.trip.count = zext nneg i32 %32 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %34 = icmp ult i32 %32, 4
  br i1 %34, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 12
  br label %.lr.ph

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa.ph = phi i64 [ poison, %.lr.ph.preheader ], [ %60, %.lr.ph ]
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.3, %.lr.ph ]
  %.0139208.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %60, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph.epil ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.0139208.epil = phi i64 [ %39, %.lr.ph.epil ], [ %.0139208.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %35 = shl i64 %.0139208.epil, 8
  %36 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv.epil
  %37 = load i8, ptr %36, align 1, !tbaa !5
  %38 = zext i8 %37 to i64
  %39 = or disjoint i64 %35, %38
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !10

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %29
  %.pre-phi238 = phi i64 [ 0, %29 ], [ %wide.trip.count, %.lr.ph.epil ], [ %wide.trip.count, %._crit_edge.loopexit.unr-lcssa ]
  %.0139.lcssa = phi i64 [ 0, %29 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %39, %.lr.ph.epil ]
  call void @_ZN8NArchive3N7z8CInByte215SkipDataNoCheckEy(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.pre-phi238)
  %40 = and i32 %31, 16
  %.not = icmp eq i32 %40, 0
  br i1 %.not, label %64, label %61

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.3, %.lr.ph ]
  %.0139208 = phi i64 [ 0, %.lr.ph.preheader.new ], [ %60, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %41 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv
  %42 = load i8, ptr %41, align 1, !tbaa !5
  %43 = zext i8 %42 to i64
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %44 = shl i64 %.0139208, 16
  %45 = shl nuw nsw i64 %43, 8
  %46 = or disjoint i64 %44, %45
  %47 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv.next
  %48 = load i8, ptr %47, align 1, !tbaa !5
  %49 = zext i8 %48 to i64
  %50 = or disjoint i64 %46, %49
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %51 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv.next.1
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = zext i8 %52 to i64
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %54 = shl i64 %50, 16
  %55 = shl nuw nsw i64 %53, 8
  %56 = or disjoint i64 %54, %55
  %57 = getelementptr inbounds i8, ptr %33, i64 %indvars.iv.next.2
  %58 = load i8, ptr %57, align 1, !tbaa !5
  %59 = zext i8 %58 to i64
  %60 = or disjoint i64 %56, %59
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !12

61:                                               ; preds = %._crit_edge
  %62 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %63 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  br label %64

64:                                               ; preds = %61, %._crit_edge
  %65 = and i32 %31, 32
  %.not154 = icmp eq i32 %65, 0
  br i1 %.not154, label %70, label %66

66:                                               ; preds = %64
  %67 = call noundef i32 @_ZN8NArchive3N7z8CInByte27ReadNumEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %68 = call noundef ptr @_ZNK8NArchive3N7z8CInByte26GetPtrEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %69 = zext i32 %67 to i64
  call void @_ZN8NArchive3N7z8CInByte215SkipDataNoCheckEy(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %69)
  br label %70

70:                                               ; preds = %66, %64
  %.0142 = phi ptr [ %68, %66 ], [ null, %64 ]
  %.0141 = phi i32 [ %67, %66 ], [ 0, %64 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  store i8 0, ptr %6, align 16, !tbaa !5
  %71 = icmp ult i64 %.0139.lcssa, 4294967296
  br i1 %71, label %72, label %.fold.split

72:                                               ; preds = %70
  %trunc = trunc nuw i64 %.0139.lcssa to i32
  switch i32 %trunc, label %.fold.split [
    i32 196865, label %73
    i32 33, label %96
    i32 197633, label %109
    i32 3, label %121
    i32 50528539, label %133
    i32 50528515, label %127
    i32 116459265, label %128
  ]

73:                                               ; preds = %72
  %74 = icmp eq i32 %.0141, 5
  br i1 %74, label %75, label %133

75:                                               ; preds = %73
  %76 = getelementptr inbounds i8, ptr %.0142, i64 1
  %77 = load i32, ptr %76, align 4, !tbaa !14
  %78 = call noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef nonnull %6, i32 noundef %77)
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds i8, ptr %6, i64 %79
  %81 = load i8, ptr %.0142, align 1, !tbaa !5
  %.not156 = icmp eq i8 %81, 93
  br i1 %.not156, label %133, label %82

82:                                               ; preds = %75
  %83 = zext i8 %81 to i32
  %84 = urem i8 %81, 9
  %85 = udiv i8 %81, 9
  %86 = udiv i8 %81, 45
  %.zext195 = zext nneg i8 %86 to i32
  %87 = urem i8 %85, 5
  %.zext197 = zext nneg i8 %87 to i32
  %.not157 = icmp eq i8 %84, 3
  br i1 %.not157, label %90, label %88

88:                                               ; preds = %82
  %.zext = zext nneg i8 %84 to i32
  %89 = call noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef nonnull %80, ptr noundef nonnull @.str.3, i32 noundef %.zext)
  br label %90

90:                                               ; preds = %88, %82
  %.0145 = phi ptr [ %89, %88 ], [ %80, %82 ]
  %.not158 = icmp eq i8 %87, 0
  br i1 %.not158, label %93, label %91

91:                                               ; preds = %90
  %92 = call noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef %.0145, ptr noundef nonnull @.str.4, i32 noundef %.zext197)
  br label %93

93:                                               ; preds = %91, %90
  %.1146 = phi ptr [ %92, %91 ], [ %.0145, %90 ]
  %.off = add nsw i32 %83, -90
  %.not159 = icmp ult i32 %.off, 45
  br i1 %.not159, label %133, label %94

94:                                               ; preds = %93
  %95 = call noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef %.1146, ptr noundef nonnull @.str.5, i32 noundef %.zext195)
  br label %133

96:                                               ; preds = %72
  %97 = icmp eq i32 %.0141, 1
  br i1 %97, label %98, label %133

98:                                               ; preds = %96
  %99 = load i8, ptr %.0142, align 1, !tbaa !5
  %100 = zext i8 %99 to i32
  %101 = and i32 %100, 1
  %102 = icmp eq i32 %101, 0
  %103 = lshr i32 %100, 1
  br i1 %102, label %104, label %106

104:                                              ; preds = %98
  %105 = add nuw nsw i32 %103, 12
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %105, ptr noundef nonnull %6) #6
  br label %133

106:                                              ; preds = %98
  %107 = shl i32 6144, %103
  %108 = call noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef nonnull %6, i32 noundef %107)
  br label %133

109:                                              ; preds = %72
  %110 = icmp eq i32 %.0141, 5
  br i1 %110, label %111, label %133

111:                                              ; preds = %109
  %112 = load i8, ptr %.0142, align 1, !tbaa !5
  store i8 111, ptr %6, align 16, !tbaa !5
  %113 = zext i8 %112 to i32
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %113, ptr noundef nonnull %28) #6
  %114 = call noundef i32 @_Z11MyStringLenPKc(ptr noundef nonnull %28)
  %115 = zext i32 %114 to i64
  %116 = getelementptr inbounds i8, ptr %28, i64 %115
  %117 = call noundef ptr @_Z8MyStpCpyPcPKc(ptr noundef nonnull %116, ptr noundef nonnull @.str.8)
  %118 = getelementptr inbounds i8, ptr %.0142, i64 1
  %119 = load i32, ptr %118, align 4, !tbaa !14
  %120 = call noundef i32 @_ZN8NArchive3N7zL21GetStringForSizeValueEPcj(ptr noundef %117, i32 noundef %119)
  br label %133

121:                                              ; preds = %72
  %122 = icmp eq i32 %.0141, 1
  br i1 %122, label %123, label %133

123:                                              ; preds = %121
  %124 = load i8, ptr %.0142, align 1, !tbaa !5
  %125 = zext i8 %124 to i32
  %126 = add nuw nsw i32 %125, 1
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %126, ptr noundef nonnull %6) #6
  br label %133

127:                                              ; preds = %72
  br label %133

128:                                              ; preds = %72
  %.not155 = icmp eq i32 %.0141, 0
  br i1 %.not155, label %133, label %129

129:                                              ; preds = %128
  %130 = load i8, ptr %.0142, align 1, !tbaa !5
  %131 = and i8 %130, 63
  %132 = zext nneg i8 %131 to i32
  call void @_Z21ConvertUInt32ToStringjPc(i32 noundef %132, ptr noundef nonnull %6) #6
  br label %133

133:                                              ; preds = %73, %96, %111, %109, %123, %121, %127, %129, %128, %93, %94, %75, %106, %104, %72
  %.1144.ph = phi ptr [ @.str.10, %72 ], [ @.str.6, %104 ], [ @.str.6, %106 ], [ @.str.2, %75 ], [ @.str.2, %94 ], [ @.str.2, %93 ], [ @.str.12, %128 ], [ @.str.12, %129 ], [ @.str.11, %127 ], [ @.str.9, %121 ], [ @.str.9, %123 ], [ @.str.7, %109 ], [ @.str.7, %111 ], [ @.str.6, %96 ], [ @.str.2, %73 ]
  %134 = call noundef i32 @_Z11MyStringLenPKc(ptr noundef nonnull %.1144.ph)
  %135 = call noundef i32 @_Z11MyStringLenPKc(ptr noundef nonnull %6)
  %.not162 = icmp eq i32 %135, 0
  %136 = add i32 %134, 1
  %137 = add i32 %136, %135
  %spec.select = select i1 %.not162, i32 %134, i32 %137
  %138 = zext i1 %.0132213 to i32
  %.1138 = add i32 %spec.select, %138
  %139 = add i32 %.1138, 5
  %.not163 = icmp ult i32 %139, %.0130216
  br i1 %.not163, label %140, label %.loopexit198

140:                                              ; preds = %133
  %141 = sub i32 %.0130216, %.1138
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds i8, ptr %4, i64 %142
  call void @_Z12MyStringCopyPcPKc(ptr noundef nonnull %143, ptr noundef nonnull %.1144.ph)
  br i1 %.not162, label %148, label %144

144:                                              ; preds = %140
  %145 = zext i32 %134 to i64
  %146 = getelementptr inbounds i8, ptr %143, i64 %145
  %147 = getelementptr inbounds i8, ptr %146, i64 1
  store i8 58, ptr %146, align 1, !tbaa !5
  call void @_Z12MyStringCopyPcPKc(ptr noundef nonnull %147, ptr noundef nonnull %6)
  br label %148

148:                                              ; preds = %144, %140
  br i1 %.0132213, label %149, label %.thread169

149:                                              ; preds = %148
  %150 = add i32 %.0130216, -1
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %151
  store i8 32, ptr %152, align 1, !tbaa !5
  br label %.thread169

.fold.split:                                      ; preds = %72, %70
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN7AStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %153 = invoke noundef zeroext i1 @_Z10FindMethodyR7AString(i64 noundef %.0139.lcssa, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %154 unwind label %159

154:                                              ; preds = %.fold.split
  br i1 %.0132213, label %155, label %161

155:                                              ; preds = %154
  %156 = add i32 %.0130216, -1
  %157 = zext i32 %156 to i64
  %158 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %157
  store i8 32, ptr %158, align 1, !tbaa !5
  br label %161

159:                                              ; preds = %163, %.fold.split
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7AStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #6
  resume { ptr, i32 } %160

161:                                              ; preds = %155, %154
  %.2 = phi i32 [ %156, %155 ], [ %.0130216, %154 ]
  %162 = call noundef zeroext i1 @_ZNK7AString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %162, label %163, label %169

163:                                              ; preds = %161
  %164 = zext i32 %.2 to i64
  %165 = getelementptr inbounds i8, ptr %4, i64 %164
  %166 = invoke noundef i32 @_ZN8NArchive3N7zL28ConvertMethodIdToString_BackEPcy(ptr noundef nonnull %165, i64 noundef %.0139.lcssa)
          to label %167 unwind label %159

167:                                              ; preds = %163
  %168 = sub i32 %.2, %166
  br label %.thread173

169:                                              ; preds = %161
  %170 = call noundef i32 @_ZNK7AString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %171 = add i32 %170, 5
  %.not161 = icmp ugt i32 %171, %.2
  br i1 %.not161, label %.thread182, label %172

172:                                              ; preds = %169
  %173 = sub i32 %.2, %170
  %.not222 = icmp eq i32 %170, 0
  br i1 %.not222, label %.thread173, label %.lr.ph211.preheader

.lr.ph211.preheader:                              ; preds = %172
  %wide.trip.count235 = zext i32 %170 to i64
  br label %.lr.ph211

.lr.ph211:                                        ; preds = %.lr.ph211.preheader, %.lr.ph211
  %indvars.iv232 = phi i64 [ 0, %.lr.ph211.preheader ], [ %indvars.iv.next233, %.lr.ph211 ]
  %174 = call noundef ptr @_ZNK7AStringcvPKcEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %175 = getelementptr inbounds i8, ptr %174, i64 %indvars.iv232
  %176 = load i8, ptr %175, align 1, !tbaa !5
  %177 = trunc nuw i64 %indvars.iv232 to i32
  %178 = add i32 %173, %177
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %179
  store i8 %176, ptr %180, align 1, !tbaa !5
  %indvars.iv.next233 = add nuw nsw i64 %indvars.iv232, 1
  %exitcond236.not = icmp eq i64 %indvars.iv.next233, %wide.trip.count235
  br i1 %exitcond236.not, label %.thread173, label %.lr.ph211, !llvm.loop !16

.thread182:                                       ; preds = %169
  call void @_ZN7AStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %.loopexit198

.thread173:                                       ; preds = %.lr.ph211, %172, %167
  %.5.ph = phi i32 [ %168, %167 ], [ %173, %172 ], [ %173, %.lr.ph211 ]
  call void @_ZN7AStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %.thread169

.loopexit198:                                     ; preds = %133, %.thread182
  %.7 = phi i32 [ %.2, %.thread182 ], [ %.0130216, %133 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %.loopexit

.thread169:                                       ; preds = %149, %148, %.thread173
  %.7.ph = phi i32 [ %.5.ph, %.thread173 ], [ %141, %148 ], [ %141, %149 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  %181 = add i32 %.0131214, -1
  %182 = icmp eq i32 %181, 0
  %183 = icmp ult i32 %.7.ph, 32
  %or.cond5 = select i1 %182, i1 true, i1 %183
  br i1 %or.cond5, label %.loopexit, label %29, !llvm.loop !17

.loopexit:                                        ; preds = %.thread169, %.loopexit198
  %.0131205 = phi i32 [ %.0131214, %.loopexit198 ], [ %181, %.thread169 ]
  %.8 = phi i32 [ %.7, %.loopexit198 ], [ %.7.ph, %.thread169 ]
  %184 = icmp ne i32 %.0131205, 0
  %185 = icmp ugt i32 %.8, 3
  %or.cond = select i1 %184, i1 %185, i1 false
  br i1 %or.cond, label %186, label %.loopexit._crit_edge

.loopexit._crit_edge:                             ; preds = %10, %.loopexit
  %.8242 = phi i32 [ %.8, %.loopexit ], [ 255, %10 ]
  %.pre = zext i32 %.8242 to i64
  br label %199

186:                                              ; preds = %.loopexit
  %187 = add i32 %.8, -1
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %188
  store i8 32, ptr %189, align 1, !tbaa !5
  %190 = add i32 %.8, -2
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %191
  store i8 46, ptr %192, align 1, !tbaa !5
  %193 = add i32 %.8, -3
  %194 = zext i32 %193 to i64
  %195 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %194
  store i8 46, ptr %195, align 1, !tbaa !5
  %196 = add i32 %.8, -4
  %197 = zext i32 %196 to i64
  %198 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %197
  store i8 46, ptr %198, align 1, !tbaa !5
  br label %199

199:                                              ; preds = %.loopexit._crit_edge, %186
  %.pre-phi = phi i64 [ %.pre, %.loopexit._crit_edge ], [ %197, %186 ]
  %200 = getelementptr inbounds i8, ptr %4, i64 %.pre-phi
  %201 = call noundef i32 @_ZN8NWindows4NCOM17PropVarEm_Set_StrEP14tagPROPVARIANTPKc(ptr noundef %2, ptr noundef nonnull %200) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #6
  br label %202

202:                                              ; preds = %3, %199
  %.0129 = phi i32 [ %201, %199 ], [ 0, %3 ]
  ret i32 %.0129
}

; Function Attrs: nounwind
declare noundef i32 @_ZN8NWindows4NCOM17PropVariant_ClearEP14tagPROPVARIANT(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZN8NArchive3N7zL9AddProp32EPcPKcj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11MyStringLenPKc(ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_Z8MyStpCpyPcPKc(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z12MyStringCopyPcPKc(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN8NArchive3N7zL28ConvertMethodIdToString_BackEPcy(ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7AString3LenEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7AStringcvPKcEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZN8NWindows4NCOM17PropVarEm_Set_StrEP14tagPROPVARIANTPKc(ptr noundef, ptr noundef) local_unnamed_addr #3

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 = { 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 #3 = { 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 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 = { 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 #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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.unroll.disable"}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !6, i64 0}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}


; Effective O3 passes: ADCEPass,BDCEPass,ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass