import Foundation

func readArrayDouble() -> [Double] {
    readLine()!.split(separator: " ").map({Double($0)!})
}

let line = readArrayDouble()
let (A, B, H, M) = (line[0], line[1], line[2], line[3])
let degree = 5.5 * ((H * 60) + M)
print((A * A + B * B - 2 * A * B * cos(degree * Double.pi / 180)).squareRoot())

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1054/llvm_O3.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1054/llvm_O3.ll"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%swift.refcounted = type { %swift.type*, i64 }
%swift.type = type { i64 }
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSi = type <{ i64 }>
%TSu = type <{ i64 }>
%TSd = type <{ double }>
%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.type_descriptor = type opaque
%swift.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.bridge = type opaque
%TSJ = type <{ %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.error = type opaque
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.opaque = type opaque

@"$s7llvm_O34lineSaySdGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_O31ASdvp" = hidden local_unnamed_addr global %TSd zeroinitializer, align 8
@"$s7llvm_O31BSdvp" = hidden local_unnamed_addr global %TSd zeroinitializer, align 8
@"$s7llvm_O31HSdvp" = hidden local_unnamed_addr global %TSd zeroinitializer, align 8
@"$s7llvm_O31MSdvp" = hidden local_unnamed_addr global %TSd zeroinitializer, align 8
@"$s7llvm_O36degreeSdvp" = hidden local_unnamed_addr global %TSd zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSdN" = external global %swift.type, align 8
@"\01l_entry_point" = private constant { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (i32 (i32, i8**)* @main to i64), i64 ptrtoint ({ i32, i32 }* @"\01l_entry_point" to i64)) to i32), i32 0 }, section "swift5_entry", align 4
@"symbolic _____ySdG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySdG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySdG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySdGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySdG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySdGMD" to i64)) to i32), i32 -9 }, align 8
@"symbolic SaySsG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySsG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*) }, align 8
@"$sSS5IndexVMn" = external global %swift.type_descriptor, align 4
@"got.$sSS5IndexVMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSS5IndexVMn"
@"symbolic _____ SS5IndexV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSS5IndexVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.1" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.3 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.2, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*) }, align 8
@"symbolic _____ySsG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySsGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySsGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSsN" = external global %swift.type, align 8
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [6 x i8*] [i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*), i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O315readArrayDoubleSaySdGyF"()
  store %Ts28__ContiguousArrayStorageBaseC* %2, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O34lineSaySdGvp", i64 0, i32 0, i32 0), align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 0, i32 1, i32 0, i32 0, i32 0
  %3 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %39, label %4, !prof !7

4:                                                ; preds = %entry
  %5 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 1
  %tailaddr._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %5 to double*
  %6 = load double, double* %tailaddr._value, align 8
  store double %6, double* getelementptr inbounds (%TSd, %TSd* @"$s7llvm_O31ASdvp", i64 0, i32 0), align 8
  %7 = icmp eq i64 %3, 1
  br i1 %7, label %40, label %8, !prof !7

8:                                                ; preds = %4
  %9 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 1, i32 0, i32 1
  %._value = bitcast i64* %9 to double*
  %10 = load double, double* %._value, align 8
  store double %10, double* getelementptr inbounds (%TSd, %TSd* @"$s7llvm_O31BSdvp", i64 0, i32 0), align 8
  %11 = icmp ult i64 %3, 3
  br i1 %11, label %41, label %12, !prof !7

12:                                               ; preds = %8
  %13 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 1, i32 1
  %._value1 = bitcast %Ts10_ArrayBodyV* %13 to double*
  %14 = load double, double* %._value1, align 8
  store double %14, double* getelementptr inbounds (%TSd, %TSd* @"$s7llvm_O31HSdvp", i64 0, i32 0), align 8
  %15 = icmp eq i64 %3, 3
  br i1 %15, label %42, label %16, !prof !7

16:                                               ; preds = %12
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 1, i32 1, i32 0, i32 1
  %._value2 = bitcast %TSu* %17 to double*
  %18 = load double, double* %._value2, align 8
  store double %18, double* getelementptr inbounds (%TSd, %TSd* @"$s7llvm_O31MSdvp", i64 0, i32 0), align 8
  %19 = fmul double %14, 6.000000e+01
  %20 = fadd double %19, %18
  %21 = fmul double %20, 5.500000e+00
  store double %21, double* getelementptr inbounds (%TSd, %TSd* @"$s7llvm_O36degreeSdvp", i64 0, i32 0), align 8
  %22 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #15
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %22, i64 64, i64 7) #4
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage3.count._value = bitcast %swift.refcounted* %25 to i64*
  store i64 1, i64* %._storage3.count._value, align 8
  %._storage3._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 2, i64* %._storage3._capacityAndFlags, align 8
  %26 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 2
  %27 = fmul double %6, %6
  %28 = fmul double %10, %10
  %29 = fadd double %27, %28
  %30 = fmul double %6, 2.000000e+00
  %31 = fmul double %30, %10
  %32 = fmul double %21, 0x400921FB54442D18
  %33 = fdiv double %32, 1.800000e+02
  %34 = tail call double @cos(double %33)
  %35 = fmul double %31, %34
  %36 = fsub double %29, %35
  %37 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 3, i32 1
  %38 = bitcast i64* %37 to %swift.type**
  store %swift.type* @"$sSdN", %swift.type** %38, align 8
  %._value5 = bitcast %swift.refcounted* %26 to double*
  %call.i = tail call double @sqrt(double noundef %36) #16
  store double %call.i, double* %._value5, align 8
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %24, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  tail call void @swift_release(%swift.refcounted* %23) #4
  ret i32 0

39:                                               ; preds = %entry
  tail call void asm sideeffect "", "n"(i32 0) #4
  tail call void @llvm.trap()
  unreachable

40:                                               ; preds = %4
  tail call void asm sideeffect "", "n"(i32 1) #4
  tail call void @llvm.trap()
  unreachable

41:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 2) #4
  tail call void @llvm.trap()
  unreachable

42:                                               ; preds = %12
  tail call void asm sideeffect "", "n"(i32 3) #4
  tail call void @llvm.trap()
  unreachable
}

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O315readArrayDoubleSaySdGyF"() local_unnamed_addr #0 {
entry:
  %0 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %1 = alloca %Ts15ContiguousArrayV, align 8
  %2 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %3 = extractvalue { i64, i64 } %2, 1
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %54, label %5

5:                                                ; preds = %entry
  %6 = extractvalue { i64, i64 } %2, 0
  %7 = inttoptr i64 %3 to %swift.bridge*
  %8 = bitcast %TSJ* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %8)
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 32, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._str._guts._object._object, align 8
  %spsave = tail call i8* @llvm.stacksave()
  %9 = alloca [24 x i8], align 16
  %10 = bitcast [24 x i8]* %9 to %swift.opaque*
  %11 = getelementptr inbounds [24 x i8], [24 x i8]* %9, i64 0, i64 16
  %12 = bitcast i8* %11 to %TSJ**
  store %TSJ* %0, %TSJ** %12, align 16
  %13 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %7) #4
  %14 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg5"(i64 9223372036854775807, i1 true, i8* nonnull bitcast (i1 (%TSJ*, %swift.refcounted*, %swift.error**)* @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA" to i8*), %swift.opaque* nonnull %10, i64 %6, %swift.bridge* nonnull %7, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %7) #4
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %8)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 0, i32 0
  %15 = load i64, i64* %._storage.count._value, align 8, !range !6
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %17, label %19

17:                                               ; preds = %5
  %18 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %18) #4
  br label %23

19:                                               ; preds = %5
  %20 = bitcast %Ts15ContiguousArrayV* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %20)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %1, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSd_Tg5"(i1 false, i64 %15, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %21 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %22 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 1
  br label %25

23:                                               ; preds = %17, %52
  %24 = phi %Ts28__ContiguousArrayStorageBaseC* [ %48, %52 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %17 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %24

25:                                               ; preds = %19, %47
  %26 = phi i64 [ 0, %19 ], [ %28, %47 ]
  %27 = phi %Ts28__ContiguousArrayStorageBaseC* [ %21, %19 ], [ %48, %47 ]
  %28 = add nuw nsw i64 %26, 1
  %29 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 %26
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %29 to i64*
  %30 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 0, i32 1
  %31 = load i64, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  %32 = load i64, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %33 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  %34 = load %swift.bridge*, %swift.bridge** %33, align 8
  %35 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %34) #4
  %36 = call swiftcc { i64, i8 } @"$sSdySdSgSscfC"(i64 %30, i64 %31, i64 %32, %swift.bridge* %34)
  %37 = extractvalue { i64, i8 } %36, 1
  %38 = and i8 %37, 1
  %.not12 = icmp eq i8 %38, 0
  br i1 %.not12, label %39, label %55

39:                                               ; preds = %25
  %40 = extractvalue { i64, i8 } %36, 0
  store %Ts28__ContiguousArrayStorageBaseC* %27, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 0, i32 1, i32 0, i32 0, i32 0
  %41 = load i64, i64* %._storage3.count._value, align 8, !range !6
  %._storage3._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 0, i32 1, i32 0, i32 1, i32 0
  %42 = load i64, i64* %._storage3._capacityAndFlags._value, align 8
  %43 = lshr i64 %42, 1
  %44 = add nuw nsw i64 %41, 1
  %.not13 = icmp ugt i64 %43, %41
  br i1 %.not13, label %47, label %45, !prof !8

45:                                               ; preds = %39
  %46 = icmp ugt i64 %42, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSd_Tg5"(i1 %46, i64 %44, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %47

47:                                               ; preds = %39, %45
  %48 = phi %Ts28__ContiguousArrayStorageBaseC* [ %27, %39 ], [ %.pre, %45 ]
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %48, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %44, i64* %._storage4.count._value, align 8
  %49 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %48, i64 1
  %tailaddr5 = bitcast %Ts28__ContiguousArrayStorageBaseC* %49 to %TSd*
  %._value = getelementptr inbounds %TSd, %TSd* %tailaddr5, i64 %41, i32 0
  %50 = bitcast double* %._value to i64*
  store i64 %40, i64* %50, align 8
  %51 = icmp eq i64 %28, %15
  br i1 %51, label %52, label %25

52:                                               ; preds = %47
  %53 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %53) #4
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %20)
  br label %23

54:                                               ; preds = %entry
  tail call void asm sideeffect "", "n"(i32 0) #4
  tail call void @llvm.trap()
  unreachable

55:                                               ; preds = %25
  call void asm sideeffect "", "n"(i32 3) #4
  call void @llvm.trap()
  unreachable
}

; Function Attrs: cold noreturn nounwind
declare void @llvm.trap() #1

; Function Attrs: mustprogress nofree noinline nounwind readonly willreturn
define linkonce_odr hidden %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* %0) local_unnamed_addr #2 {
entry:
  %1 = bitcast { i32, i32 }* %0 to i64*
  %2 = load atomic i64, i64* %1 monotonic, align 8
  %3 = icmp slt i64 %2, 0
  br i1 %3, label %7, label %4, !prof !7

4:                                                ; preds = %7, %entry
  %5 = phi i64 [ %2, %entry ], [ %15, %7 ]
  %6 = inttoptr i64 %5 to %swift.type*
  ret %swift.type* %6

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #17
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

; Function Attrs: argmemonly nounwind
declare swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8*, i64, %swift.type_descriptor*, i8**) local_unnamed_addr #3

; Function Attrs: nounwind
declare %swift.refcounted* @swift_allocObject(%swift.type*, i64, i64) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind optsize willreturn writeonly
declare double @cos(double noundef) local_unnamed_addr #5

; Function Attrs: argmemonly mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #6

; Function Attrs: argmemonly mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #6

declare swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC*, i64, %swift.bridge*, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @swift_release(%swift.refcounted*) local_unnamed_addr #4

declare swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1) local_unnamed_addr #0

define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg5"(i64 %0, i1 %1, i8* %2, %swift.opaque* %3, i64 %4, %swift.bridge* %5, %swift.refcounted* swiftself %6, %swift.error** noalias nocapture swifterror dereferenceable(8) %7) local_unnamed_addr #0 {
entry:
  %8 = alloca %TSJ, align 8
  %9 = icmp slt i64 %0, 0
  br i1 %9, label %149, label %10, !prof !7

10:                                               ; preds = %entry
  %11 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* nonnull getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i64 0, i32 2), i64 24, i64 7) #4
  %12 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %11, i64 1
  %._buffer._storage = bitcast %swift.refcounted* %12 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %13 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* nonnull getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata.3, i64 0, i32 2), i64 24, i64 7) #4
  %14 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %13, i64 1
  %._rawBits._value = bitcast %swift.refcounted* %14 to i64*
  store i64 15, i64* %._rawBits._value, align 8
  %15 = icmp eq i64 %0, 0
  %.pre = ptrtoint %swift.bridge* %5 to i64
  %.pre47 = and i64 %.pre, 2305843009213693952
  br i1 %15, label %._crit_edge, label %16

._crit_edge:                                      ; preds = %10
  %.pre49 = lshr i64 %.pre, 56
  %.pre51 = and i64 %.pre49, 15
  br label %23

16:                                               ; preds = %10
  %17 = icmp eq i64 %.pre47, 0
  %18 = lshr i64 %.pre, 56
  %19 = and i64 %18, 15
  %20 = and i64 %4, 281474976710655
  %21 = select i1 %17, i64 %20, i64 %19
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %36

23:                                               ; preds = %._crit_edge, %16
  %.pre-phi52 = phi i64 [ %.pre51, %._crit_edge ], [ %19, %16 ]
  %24 = icmp eq i64 %.pre47, 0
  %25 = select i1 %24, i64 %4, i64 %.pre-phi52
  %26 = shl i64 %25, 16
  %27 = and i64 %.pre, 1152921504606846976
  %28 = icmp ne i64 %27, 0
  %29 = and i64 %4, 576460752303423488
  %30 = icmp eq i64 %29, 0
  %or.cond = select i1 %28, i1 %30, i1 false
  %.v29 = select i1 %or.cond, i64 11, i64 7
  %31 = or i64 %26, %.v29
  %32 = tail call swiftcc i1 @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF17appendSubsequenceL_3endSb5IndexQz_tSlRzlFSS_Tg5"(i64 %31, %swift.refcounted* nonnull %13, i1 %1, %swift.refcounted* nonnull %11, i64 %4, %swift.bridge* %5)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #4
  %33 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %34 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 0
  %35 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %34) #18
  tail call void @swift_release(%swift.refcounted* nonnull %11) #4
  tail call void @swift_release(%swift.refcounted* nonnull %13) #4
  br label %common.ret

common.ret:                                       ; preds = %55, %23, %100
  %common.ret.op = phi %Ts28__ContiguousArrayStorageBaseC* [ undef, %100 ], [ %56, %55 ], [ %33, %23 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %common.ret.op

36:                                               ; preds = %16
  %37 = shl nuw i64 %21, 16
  %38 = and i64 %.pre, 1152921504606846976
  %39 = icmp ne i64 %38, 0
  %40 = and i64 %4, 576460752303423488
  %41 = icmp eq i64 %40, 0
  %or.cond17 = select i1 %39, i1 %41, i1 false
  %.v = select i1 %or.cond17, i64 11, i64 7
  %42 = or i64 %37, %.v
  %43 = shl nuw nsw i64 %21, 2
  %44 = bitcast %TSJ* %8 to i8*
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %8, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %8, i64 0, i32 0, i32 0, i32 0, i32 1
  %45 = bitcast i8* %2 to i1 (%TSJ*, %swift.refcounted*, %swift.error**)*
  %46 = bitcast %swift.opaque* %3 to %swift.refcounted*
  %.not18 = xor i1 %1, true
  br label %88

47:                                               ; preds = %141, %133
  %48 = phi i64 [ %138, %133 ], [ %143, %141 ]
  %49 = phi i64 [ %138, %133 ], [ %144, %141 ]
  %50 = phi %Ts28__ContiguousArrayStorageBaseC* [ %134, %133 ], [ %145, %141 ]
  %51 = phi %Ts28__ContiguousArrayStorageBaseC* [ %134, %133 ], [ %146, %141 ]
  %52 = lshr i64 %48, 14
  %53 = icmp ne i64 %52, %43
  %brmerge32 = select i1 %53, i1 true, i1 %.not18
  br i1 %brmerge32, label %59, label %54

54:                                               ; preds = %47
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #4
  br label %55

55:                                               ; preds = %54, %83
  %56 = phi %Ts28__ContiguousArrayStorageBaseC* [ %84, %83 ], [ %51, %54 ]
  %57 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %56, i64 0, i32 0
  %58 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %57) #18
  tail call void @swift_release(%swift.refcounted* %11) #4
  tail call void @swift_release(%swift.refcounted* %13) #4
  br label %common.ret

59:                                               ; preds = %47
  %60 = lshr i64 %49, 14
  %61 = icmp ult i64 %43, %60
  br i1 %61, label %150, label %62, !prof !7

62:                                               ; preds = %59
  %63 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %49, i64 %42, i64 %4, %swift.bridge* %5)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #4
  %64 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 0
  %65 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 1
  %66 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 2
  %67 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 3
  %68 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %50, i64 0, i32 0
  %69 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %68) #18
  br i1 %69, label %74, label %70

70:                                               ; preds = %62
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %50, i64 0, i32 1, i32 0, i32 0, i32 0
  %71 = load i64, i64* %._storage.count._value, align 8, !range !6
  %72 = add nuw nsw i64 %71, 1
  %73 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %72, i1 true, %Ts28__ContiguousArrayStorageBaseC* %50)
  br label %74

74:                                               ; preds = %62, %70
  %75 = phi %Ts28__ContiguousArrayStorageBaseC* [ %73, %70 ], [ %50, %62 ]
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %75, i64 0, i32 1, i32 0, i32 0, i32 0
  %76 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %._storage1._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %75, i64 0, i32 1, i32 0, i32 1, i32 0
  %77 = load i64, i64* %._storage1._capacityAndFlags._value, align 8
  %78 = lshr i64 %77, 1
  %79 = add nuw nsw i64 %76, 1
  %.not28 = icmp ugt i64 %78, %76
  br i1 %.not28, label %83, label %80, !prof !8

80:                                               ; preds = %74
  %81 = icmp ugt i64 %77, 1
  %82 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %81, i64 %79, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %75)
  br label %83

83:                                               ; preds = %74, %80
  %84 = phi %Ts28__ContiguousArrayStorageBaseC* [ %82, %80 ], [ %75, %74 ]
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %79, i64* %._storage2.count._value, align 8
  %85 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 1
  %86 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 %76
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %86 to i64*
  store i64 %64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %86, i64 0, i32 0, i32 1
  store i64 %65, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %86, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  store i64 %66, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %87 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %67, %swift.bridge** %87, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %84, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %55

88:                                               ; preds = %36, %141
  %89 = phi i64 [ 15, %36 ], [ %142, %141 ]
  %90 = phi i64 [ 15, %36 ], [ %143, %141 ]
  %91 = phi i64 [ 15, %36 ], [ %144, %141 ]
  %92 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %36 ], [ %145, %141 ]
  %93 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %36 ], [ %146, %141 ]
  %94 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %89, i64 %4, %swift.bridge* %5)
  %95 = extractvalue { i64, %swift.bridge* } %94, 0
  %96 = extractvalue { i64, %swift.bridge* } %94, 1
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %44)
  store i64 %95, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %96, %swift.bridge** %._str._guts._object._object, align 8
  %97 = call swiftcc i1 %45(%TSJ* noalias nocapture nonnull dereferenceable(16) %8, %swift.refcounted* swiftself %46, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %7)
  %98 = load %swift.error*, %swift.error** %7, align 8
  %.not27 = icmp eq %swift.error* %98, null
  br i1 %.not27, label %99, label %100

99:                                               ; preds = %88
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %96) #4
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %44)
  br i1 %97, label %102, label %131

100:                                              ; preds = %88
  tail call void @swift_release(%swift.refcounted* %11) #4
  tail call void @swift_release(%swift.refcounted* %13) #4
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #4
  %101 = extractvalue { i64, %swift.bridge* } %94, 1
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %101) #4
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %44)
  br label %common.ret

102:                                              ; preds = %99
  %103 = lshr i64 %90, 14
  %104 = lshr i64 %89, 14
  %105 = icmp ne i64 %103, %104
  %brmerge = select i1 %105, i1 true, i1 %.not18
  br i1 %brmerge, label %108, label %106

106:                                              ; preds = %102
  %107 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %89, i64 %4, %swift.bridge* %5)
  store i64 %107, i64* %._rawBits._value, align 8
  br label %141

108:                                              ; preds = %102
  %109 = icmp ult i64 %104, %103
  br i1 %109, label %151, label %110, !prof !7

110:                                              ; preds = %108
  %111 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %90, i64 %89, i64 %4, %swift.bridge* %5)
  %112 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 0
  %113 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 1
  %114 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 2
  %115 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 3
  %116 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %92, i64 0, i32 0
  %117 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %116) #18
  br i1 %117, label %122, label %118

118:                                              ; preds = %110
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %92, i64 0, i32 1, i32 0, i32 0, i32 0
  %119 = load i64, i64* %._storage4.count._value, align 8, !range !6
  %120 = add nuw nsw i64 %119, 1
  %121 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %120, i1 true, %Ts28__ContiguousArrayStorageBaseC* %92)
  br label %122

122:                                              ; preds = %110, %118
  %123 = phi %Ts28__ContiguousArrayStorageBaseC* [ %121, %118 ], [ %92, %110 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 1, i32 0, i32 0, i32 0
  %124 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 1, i32 0, i32 1, i32 0
  %125 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %126 = lshr i64 %125, 1
  %127 = add nuw nsw i64 %124, 1
  %.not = icmp ugt i64 %126, %124
  br i1 %.not, label %133, label %128, !prof !8

128:                                              ; preds = %122
  %129 = icmp ugt i64 %125, 1
  %130 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %129, i64 %127, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %123)
  br label %133

131:                                              ; preds = %99
  %132 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %89, i64 %4, %swift.bridge* %5)
  br label %141

133:                                              ; preds = %122, %128
  %134 = phi %Ts28__ContiguousArrayStorageBaseC* [ %130, %128 ], [ %123, %122 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %127, i64* %._storage6.count._value, align 8
  %135 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 1
  %136 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %135, i64 %124
  %._slice8._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %136 to i64*
  store i64 %112, i64* %._slice8._startIndex._rawBits._value, align 8
  %._slice8._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 0, i32 0, i32 1
  store i64 %113, i64* %._slice8._endIndex, align 8
  %._slice8._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 0, i32 1
  %._slice8._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice8._base, i64 0, i32 0, i32 0, i32 0
  store i64 %114, i64* %._slice8._base._guts._object._countAndFlagsBits._value, align 8
  %._slice8._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice8._base, i64 0, i32 0, i32 1
  %137 = bitcast %TSu* %._slice8._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %115, %swift.bridge** %137, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %134, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %138 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %89, i64 %4, %swift.bridge* %5)
  store i64 %138, i64* %._rawBits._value, align 8
  %139 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %140 = icmp eq i64 %139, %0
  br i1 %140, label %47, label %141

141:                                              ; preds = %106, %133, %131
  %142 = phi i64 [ %132, %131 ], [ %107, %106 ], [ %138, %133 ]
  %143 = phi i64 [ %90, %131 ], [ %107, %106 ], [ %138, %133 ]
  %144 = phi i64 [ %91, %131 ], [ %107, %106 ], [ %138, %133 ]
  %145 = phi %Ts28__ContiguousArrayStorageBaseC* [ %92, %131 ], [ %92, %106 ], [ %134, %133 ]
  %146 = phi %Ts28__ContiguousArrayStorageBaseC* [ %93, %131 ], [ %93, %106 ], [ %134, %133 ]
  %147 = lshr i64 %142, 14
  %148 = icmp eq i64 %147, %43
  br i1 %148, label %47, label %88

149:                                              ; preds = %entry
  tail call void asm sideeffect "", "n"(i32 0) #4
  tail call void @llvm.trap()
  unreachable

150:                                              ; preds = %59
  tail call void asm sideeffect "", "n"(i32 1) #4
  tail call void @llvm.trap()
  unreachable

151:                                              ; preds = %108
  tail call void asm sideeffect "", "n"(i32 2) #4
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSd_Tg5"(i1 %0, i64 %1, i1 %2, %Ts15ContiguousArrayV* nocapture swiftself dereferenceable(8) %3) local_unnamed_addr #7 {
entry:
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  %4 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %5 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSd_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %4)
  store %Ts28__ContiguousArrayStorageBaseC* %5, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  ret void
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSd_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #7 {
entry:
  br i1 %2, label %4, label %14

4:                                                ; preds = %entry
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 1, i32 0
  %5 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %6 = lshr i64 %5, 1
  %7 = icmp slt i64 %6, %1
  br i1 %7, label %8, label %14

8:                                                ; preds = %4
  %9 = add nuw i64 %6, 4611686018427387904
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %46, label %11, !prof !7

11:                                               ; preds = %8
  %12 = and i64 %5, -2
  %13 = tail call i64 @llvm.smax.i64(i64 %12, i64 %1)
  br label %14

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !6
  %17 = tail call i64 @llvm.smax.i64(i64 %15, i64 %16)
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %29, label %19

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySdGMD") #15
  %21 = shl i64 %17, 3
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #4
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #16
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 8
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

29:                                               ; preds = %14, %19
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %24, %19 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ]
  %31 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 1
  %32 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to i8*
  br i1 %0, label %35, label %42

35:                                               ; preds = %29
  %tailaddr4 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %TSd*
  %36 = getelementptr inbounds %TSd, %TSd* %tailaddr4, i64 %16
  %37 = bitcast %TSd* %36 to %Ts28__ContiguousArrayStorageBaseC*
  %38 = icmp ult %Ts28__ContiguousArrayStorageBaseC* %31, %37
  %39 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond14 = select i1 %39, i1 %38, i1 false
  br i1 %or.cond14, label %41, label %.sink.split

.sink.split:                                      ; preds = %35
  %40 = shl nuw i64 %16, 3
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %32, i8* nonnull align 8 %34, i64 %40, i1 false)
  br label %41

41:                                               ; preds = %35, %.sink.split
  store i64 0, i64* %._storage.count._value, align 8
  br label %44

42:                                               ; preds = %29
  %43 = shl nuw i64 %16, 3
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 8 %32, i8* nonnull align 8 %34, i64 %43, i1 false)
  br label %44

44:                                               ; preds = %41, %42
  %45 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %45) #4
  ret %Ts28__ContiguousArrayStorageBaseC* %30

46:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #4
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #7 {
entry:
  br i1 %2, label %4, label %14

4:                                                ; preds = %entry
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 1, i32 0
  %5 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %6 = lshr i64 %5, 1
  %7 = icmp slt i64 %6, %1
  br i1 %7, label %8, label %14

8:                                                ; preds = %4
  %9 = add nuw i64 %6, 4611686018427387904
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %46, label %11, !prof !7

11:                                               ; preds = %8
  %12 = and i64 %5, -2
  %13 = tail call i64 @llvm.smax.i64(i64 %12, i64 %1)
  br label %14

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !6
  %17 = tail call i64 @llvm.smax.i64(i64 %15, i64 %16)
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %29, label %19

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySsGMD") #15
  %21 = shl i64 %17, 5
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #4
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #16
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 32
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

29:                                               ; preds = %14, %19
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %24, %19 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ]
  %31 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 1
  %32 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  br i1 %0, label %33, label %41

33:                                               ; preds = %29
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 %16
  %35 = icmp ult %Ts28__ContiguousArrayStorageBaseC* %31, %34
  %36 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond14 = select i1 %36, i1 %35, i1 false
  br i1 %or.cond14, label %40, label %.sink.split

.sink.split:                                      ; preds = %33
  %37 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to i8*
  %38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %39 = shl nuw i64 %16, 5
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %38, i8* nonnull align 8 %37, i64 %39, i1 false)
  br label %40

40:                                               ; preds = %33, %.sink.split
  store i64 0, i64* %._storage.count._value, align 8
  br label %44

41:                                               ; preds = %29
  %42 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %swift.opaque*
  %43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %swift.opaque*
  tail call void @swift_arrayInitWithCopy(%swift.opaque* nonnull %42, %swift.opaque* nonnull %43, i64 %16, %swift.type* nonnull @"$sSsN") #18
  br label %44

44:                                               ; preds = %40, %41
  %45 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %45) #4
  ret %Ts28__ContiguousArrayStorageBaseC* %30

46:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #4
  tail call void @llvm.trap()
  unreachable
}

define linkonce_odr hidden swiftcc i1 @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF17appendSubsequenceL_3endSb5IndexQz_tSlRzlFSS_Tg5"(i64 %0, %swift.refcounted* %1, i1 %2, %swift.refcounted* %3, i64 %4, %swift.bridge* %5) local_unnamed_addr #0 {
entry:
  %6 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %1, i64 1
  %._rawBits._value = bitcast %swift.refcounted* %6 to i64*
  %7 = load i64, i64* %._rawBits._value, align 8
  %8 = lshr i64 %7, 14
  %9 = lshr i64 %0, 14
  %10 = icmp ne i64 %8, %9
  %.not7 = xor i1 %2, true
  %brmerge = select i1 %10, i1 true, i1 %.not7
  br i1 %brmerge, label %12, label %11

11:                                               ; preds = %entry, %37
  ret i1 %brmerge

12:                                               ; preds = %entry
  %13 = icmp ult i64 %9, %8
  br i1 %13, label %42, label %14, !prof !7

14:                                               ; preds = %12
  %15 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %3, i64 1
  %16 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %7, i64 %0, i64 %4, %swift.bridge* %5)
  %17 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 0
  %18 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 1
  %19 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 2
  %20 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 3
  %._buffer._storage = bitcast %swift.refcounted* %15 to %Ts28__ContiguousArrayStorageBaseC**
  %21 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %22 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  %23 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %22) #18
  store %Ts28__ContiguousArrayStorageBaseC* %21, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br i1 %23, label %28, label %24

24:                                               ; preds = %14
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 1, i32 0, i32 0, i32 0
  %25 = load i64, i64* %._storage.count._value, align 8, !range !6
  %26 = add nuw nsw i64 %25, 1
  %27 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %26, i1 true, %Ts28__ContiguousArrayStorageBaseC* %21)
  store %Ts28__ContiguousArrayStorageBaseC* %27, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %28

28:                                               ; preds = %14, %24
  %29 = phi %Ts28__ContiguousArrayStorageBaseC* [ %27, %24 ], [ %21, %14 ]
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 1, i32 0, i32 0, i32 0
  %30 = load i64, i64* %._storage3.count._value, align 8, !range !6
  %._storage3._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 1, i32 0, i32 1, i32 0
  %31 = load i64, i64* %._storage3._capacityAndFlags._value, align 8
  %32 = lshr i64 %31, 1
  %33 = add nuw nsw i64 %30, 1
  %.not = icmp ugt i64 %32, %30
  br i1 %.not, label %37, label %34, !prof !8

34:                                               ; preds = %28
  %35 = icmp ugt i64 %31, 1
  %36 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %35, i64 %33, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %29)
  store %Ts28__ContiguousArrayStorageBaseC* %36, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %37

37:                                               ; preds = %28, %34
  %38 = phi %Ts28__ContiguousArrayStorageBaseC* [ %36, %34 ], [ %29, %28 ]
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %33, i64* %._storage4.count._value, align 8
  %39 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 1
  %40 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 %30
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %40 to i64*
  store i64 %17, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %40, i64 0, i32 0, i32 1
  store i64 %18, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %40, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  store i64 %19, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %41 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %20, %swift.bridge** %41, align 8
  br label %11

42:                                               ; preds = %12
  tail call void asm sideeffect "", "n"(i32 0) #4
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare i8* @llvm.stacksave() #8

define internal swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA"(%TSJ* noalias nocapture readonly dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %2) #0 {
entry:
  %3 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %1, i64 1
  %4 = bitcast %swift.refcounted* %3 to %TSJ**
  %5 = load %TSJ*, %TSJ** %4, align 8
  tail call void @llvm.experimental.noalias.scope.decl(metadata !9)
  tail call void @llvm.experimental.noalias.scope.decl(metadata !12)
  %._str._guts._object._countAndFlagsBits._value.i = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %6 = load i64, i64* %._str._guts._object._countAndFlagsBits._value.i, align 8, !alias.scope !9, !noalias !12
  %._str._guts._object._object.i = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 1
  %7 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object.i, align 8, !alias.scope !9, !noalias !12
  %._str1._guts._object._countAndFlagsBits._value.i = getelementptr inbounds %TSJ, %TSJ* %5, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %8 = load i64, i64* %._str1._guts._object._countAndFlagsBits._value.i, align 8, !alias.scope !12, !noalias !9
  %._str1._guts._object._object.i = getelementptr inbounds %TSJ, %TSJ* %5, i64 0, i32 0, i32 0, i32 0, i32 1
  %9 = load %swift.bridge*, %swift.bridge** %._str1._guts._object._object.i, align 8, !alias.scope !12, !noalias !9
  %10 = icmp eq i64 %6, %8
  %11 = icmp eq %swift.bridge* %7, %9
  %or.cond.i = select i1 %10, i1 %11, i1 false
  br i1 %or.cond.i, label %"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5.exit", label %12

12:                                               ; preds = %entry
  %13 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %6, %swift.bridge* %7, i64 %8, %swift.bridge* %9, i8 0) #19, !noalias !14
  br label %"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5.exit"

"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5.exit": ; preds = %entry, %12
  %14 = phi i1 [ %13, %12 ], [ true, %entry ]
  ret i1 %14
}

; Function Attrs: nounwind
declare %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned) local_unnamed_addr #4

; Function Attrs: nounwind
declare void @swift_bridgeObjectRelease(%swift.bridge*) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(i8*) #8

declare swiftcc { i64, i8 } @"$sSdySdSgSscfC"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: argmemonly mustprogress nocallback nofree nounwind willreturn
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* noalias nocapture writeonly, i8* noalias nocapture readonly, i64, i1 immarg) #9

; Function Attrs: argmemonly mustprogress nocallback nofree nounwind willreturn
declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture writeonly, i8* nocapture readonly, i64, i1 immarg) #9

; Function Attrs: nounwind
define private swiftcc void @objectdestroy(%swift.refcounted* swiftself %0) #10 {
entry:
  %1 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %0, i64 1
  %2 = bitcast %swift.refcounted* %1 to %swift.refcounted**
  %toDestroy = load %swift.refcounted*, %swift.refcounted** %2, align 8
  tail call void @swift_release(%swift.refcounted* %toDestroy) #4
  tail call void @swift_deallocObject(%swift.refcounted* %0, i64 24, i64 7) #4
  ret void
}

; Function Attrs: nounwind
declare void @swift_deallocObject(%swift.refcounted*, i64, i64) local_unnamed_addr #4

; Function Attrs: nounwind
define private swiftcc void @objectdestroy.2(%swift.refcounted* swiftself %0) #10 {
entry:
  tail call void @swift_deallocObject(%swift.refcounted* %0, i64 24, i64 7) #4
  ret void
}

declare swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64, i64, %swift.bridge*) local_unnamed_addr #0

declare swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64, i64, %swift.bridge*) local_unnamed_addr #0

declare swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn
declare zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted*) local_unnamed_addr #11

; Function Attrs: mustprogress nounwind willreturn
declare %swift.refcounted* @swift_retain(%swift.refcounted* returned) local_unnamed_addr #11

; Function Attrs: mustprogress nounwind willreturn
declare void @swift_arrayInitWithCopy(%swift.opaque*, %swift.opaque*, i64, %swift.type*) local_unnamed_addr #11

declare swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64, %swift.bridge*, i64, %swift.bridge*, i8) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind optsize willreturn writeonly
declare double @sqrt(double noundef) local_unnamed_addr #5

; Function Attrs: optsize
declare i64 @malloc_usable_size(i8* noundef) local_unnamed_addr #12

; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn
declare i64 @llvm.smax.i64(i64, i64) #13

; Function Attrs: inaccessiblememonly nocallback nofree nosync nounwind willreturn
declare void @llvm.experimental.noalias.scope.decl(metadata) #14

attributes #0 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { cold noreturn nounwind }
attributes #2 = { mustprogress nofree noinline nounwind readonly willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { argmemonly nounwind }
attributes #4 = { nounwind }
attributes #5 = { mustprogress nofree nounwind optsize willreturn writeonly "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { argmemonly mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { noinline "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #9 = { argmemonly mustprogress nocallback nofree nounwind willreturn }
attributes #10 = { nounwind "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { mustprogress nounwind willreturn }
attributes #12 = { optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #13 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #14 = { inaccessiblememonly nocallback nofree nosync nounwind willreturn }
attributes #15 = { nounwind readonly }
attributes #16 = { nounwind optsize }
attributes #17 = { argmemonly nounwind readonly }
attributes #18 = { nounwind willreturn }
attributes #19 = { noinline }

!swift.module.flags = !{!0}
!llvm.linker.options = !{}
!llvm.module.flags = !{!1, !2, !3, !4, !5}

!0 = !{!"standard-library", i1 false}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 4, !"Objective-C Garbage Collection", i32 84477696}
!5 = !{i32 1, !"Swift Version", i32 7}
!6 = !{i64 0, i64 9223372036854775807}
!7 = !{!"branch_weights", i32 1, i32 2000}
!8 = !{!"branch_weights", i32 2000, i32 1}
!9 = !{!10}
!10 = distinct !{!10, !11, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5: argument 0"}
!11 = distinct !{!11, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5"}
!12 = !{!13}
!13 = distinct !{!13, !11, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5: argument 1"}
!14 = !{!10, !13}
