@file:kotlin.Suppress("DEPRECATION_ERROR")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.ENUM_WITH_INTERFACE_INHERITANCE::class, "22ExportedKotlinPackages20packagewithprotocolsO4mainE31ENUM_WITH_INTERFACE_INHERITANCEC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.INHERITANCE_COUPLE::class, "22ExportedKotlinPackages20packagewithprotocolsO4mainE18INHERITANCE_COUPLEC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.INHERITANCE_SINGLE_PROTO::class, "22ExportedKotlinPackages20packagewithprotocolsO4mainE24INHERITANCE_SINGLE_PROTOC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.OBJECT_WITH_INTERFACE_INHERITANCE::class, "22ExportedKotlinPackages20packagewithprotocolsO4mainE33OBJECT_WITH_INTERFACE_INHERITANCEC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.ContainerProtocol::class, "_ContainerProtocol")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.SiblingProtocol::class, "_SiblingProtocol")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Child1::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE6Child1C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Child2::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE6Child2C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Child3::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE6Child3C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Child4::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE6Child4C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Child5::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE6Child5C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.GrandChild1::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE11GrandChild1C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.GrandChild2::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE11GrandChild2C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.GrandChild3::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE11GrandChild3C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.GrandChild4::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE11GrandChild4C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.GrandChild5::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE11GrandChild5C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Parent1::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE7Parent1C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Parent2::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE7Parent2C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Parent3::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE7Parent3C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Parent4::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE7Parent4C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Parent5::class, "22ExportedKotlinPackages22repeating_conformancesO4mainE7Parent5C")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Barable::class, "_Barable")
@file:kotlin.native.internal.objc.BindClassToObjCName(repeating_conformances.Foeble::class, "_Foeble")
@file:kotlin.native.internal.objc.BindClassToObjCName(Bar::class, "4main3BarC")
@file:kotlin.native.internal.objc.BindClassToObjCName(Foo::class, "4main3FooC")
@file:kotlin.native.internal.objc.BindClassToObjCName(MyObject::class, "4main8MyObjectC")
@file:kotlin.native.internal.objc.BindClassToObjCName(SomeBazzable::class, "4main12SomeBazzableC")
@file:kotlin.native.internal.objc.BindClassToObjCName(Barable::class, "_Barable")
@file:kotlin.native.internal.objc.BindClassToObjCName(Bazzable::class, "_Bazzable")
@file:kotlin.native.internal.objc.BindClassToObjCName(ContainerProtocol::class, "_ContainerProtocol")
@file:kotlin.native.internal.objc.BindClassToObjCName(ContainerProtocol.NestedClass::class, "4main30_ContainerProtocol_NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.ContainerProtocol.NestedClass::class, "4main74_ExportedKotlinPackages_packagewithprotocols_ContainerProtocol_NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.SiblingProtocol.NestedClass::class, "4main72_ExportedKotlinPackages_packagewithprotocols_SiblingProtocol_NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.SiblingProtocol.NestedClass.NestedClass::class, "4main72_ExportedKotlinPackages_packagewithprotocols_SiblingProtocol_NestedClassC11NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(Foeble::class, "_Foeble")
@file:kotlin.native.internal.objc.BindClassToObjCName(SealedBazzable::class, "_SealedBazzable")
@file:kotlin.native.internal.objc.BindClassToObjCName(SealedFoeble::class, "_SealedFoeble")
@file:kotlin.native.internal.objc.BindClassToObjCName(SealedFoeble.SomeBarable::class, "4main25_SealedFoeble_SomeBarableC")
@file:kotlin.native.internal.objc.BindClassToObjCName(SealedFoeble.SomeFoeble::class, "4main24_SealedFoeble_SomeFoebleC")
@file:kotlin.native.internal.objc.BindClassToObjCName(SiblingProtocol::class, "_SiblingProtocol")
@file:kotlin.native.internal.objc.BindClassToObjCName(SiblingProtocol.NestedClass::class, "4main28_SiblingProtocol_NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(SiblingProtocol.NestedClass.NestedClass::class, "4main28_SiblingProtocol_NestedClassC11NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(ContainerProtocol.NestedProtocol::class, "__ContainerProtocol_NestedProtocol")
@file:kotlin.native.internal.objc.BindClassToObjCName(ContainerProtocol.NestedProtocol.NestedClass::class, "4main46__ContainerProtocol_NestedProtocol_NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.ContainerProtocol.NestedProtocol::class, "__ExportedKotlinPackages_packagewithprotocols_ContainerProtocol_NestedProtocol")
@file:kotlin.native.internal.objc.BindClassToObjCName(packagewithprotocols.ContainerProtocol.NestedProtocol.NestedClass::class, "4main90__ExportedKotlinPackages_packagewithprotocols_ContainerProtocol_NestedProtocol_NestedClassC")
@file:kotlin.native.internal.objc.BindClassToObjCName(SealedFoeble.SealedBarable::class, "__SealedFoeble_SealedBarable")

import kotlin.native.internal.ExportedBridge
import kotlinx.cinterop.*
import kotlinx.cinterop.internal.convertBlockPtrToKotlinFunction
import packagewithprotocols.foo as packagewithprotocols_foo

@ExportedBridge("Bar_bar__TypesOfArguments__anyU20main_Foeble__")
public fun Bar_bar__TypesOfArguments__anyU20main_Foeble__(self: kotlin.native.internal.NativePtr, arg: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Bar
    val __arg = kotlin.native.internal.ref.dereferenceExternalRCRef(arg) as Foeble
    val _result = __self.bar(__arg)
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("Bar_baz_get")
public fun Bar_baz_get(self: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Bar
    val _result = __self.baz
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("Barable_bar__TypesOfArguments__anyU20main_Foeble__")
public fun Barable_bar__TypesOfArguments__anyU20main_Foeble__(self: kotlin.native.internal.NativePtr, arg: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Barable
    val __arg = kotlin.native.internal.ref.dereferenceExternalRCRef(arg) as Foeble
    val _result = __self.bar(__arg)
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("Barable_baz_get")
public fun Barable_baz_get(self: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Barable
    val _result = __self.baz
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("ContainerProtocol_NestedClass_init_allocate")
public fun ContainerProtocol_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<ContainerProtocol.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("ContainerProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun ContainerProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, ContainerProtocol.NestedClass())
}

@ExportedBridge("ContainerProtocol_NestedProtocol_NestedClass_init_allocate")
public fun ContainerProtocol_NestedProtocol_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<ContainerProtocol.NestedProtocol.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("ContainerProtocol_NestedProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun ContainerProtocol_NestedProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, ContainerProtocol.NestedProtocol.NestedClass())
}

@ExportedBridge("Foeble_bar__TypesOfArguments__anyU20main_Foeble__")
public fun Foeble_bar__TypesOfArguments__anyU20main_Foeble__(self: kotlin.native.internal.NativePtr, arg: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Foeble
    val __arg = kotlin.native.internal.ref.dereferenceExternalRCRef(arg) as Foeble
    val _result = __self.bar(__arg)
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("Foeble_baz_get")
public fun Foeble_baz_get(self: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Foeble
    val _result = __self.baz
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("Foo_bar__TypesOfArguments__anyU20main_Foeble__")
public fun Foo_bar__TypesOfArguments__anyU20main_Foeble__(self: kotlin.native.internal.NativePtr, arg: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Foo
    val __arg = kotlin.native.internal.ref.dereferenceExternalRCRef(arg) as Foeble
    val _result = __self.bar(__arg)
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("Foo_baz_get")
public fun Foo_baz_get(self: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __self = kotlin.native.internal.ref.dereferenceExternalRCRef(self) as Foo
    val _result = __self.baz
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("SealedFoeble_SomeBarable_get")
public fun SealedFoeble_SomeBarable_get(): kotlin.native.internal.NativePtr {
    val _result = SealedFoeble.SomeBarable
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("SealedFoeble_SomeFoeble_get")
public fun SealedFoeble_SomeFoeble_get(): kotlin.native.internal.NativePtr {
    val _result = SealedFoeble.SomeFoeble
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("SiblingProtocol_NestedClass_NestedClass_init_allocate")
public fun SiblingProtocol_NestedClass_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<SiblingProtocol.NestedClass.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("SiblingProtocol_NestedClass_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun SiblingProtocol_NestedClass_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, SiblingProtocol.NestedClass.NestedClass())
}

@ExportedBridge("SiblingProtocol_NestedClass_init_allocate")
public fun SiblingProtocol_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<SiblingProtocol.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("SiblingProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun SiblingProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, SiblingProtocol.NestedClass())
}

@ExportedBridge("__root___Bar_init_allocate")
public fun __root___Bar_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<Bar>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___Bar_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun __root___Bar_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, Bar())
}

@ExportedBridge("__root___Foo_init_allocate")
public fun __root___Foo_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<Foo>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___Foo_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun __root___Foo_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, Foo())
}

@ExportedBridge("__root___MyObject_get")
public fun __root___MyObject_get(): kotlin.native.internal.NativePtr {
    val _result = MyObject
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___SomeBazzable_get")
public fun __root___SomeBazzable_get(): kotlin.native.internal.NativePtr {
    val _result = SomeBazzable
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___foo__TypesOfArguments__anyU20main_ContainerProtocol__")
public fun __root___foo__TypesOfArguments__anyU20main_ContainerProtocol__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as ContainerProtocol
    __receiver.foo()
}

@ExportedBridge("__root___foo__TypesOfArguments__main___ContainerProtocol_NestedProtocol_NestedClass__")
public fun __root___foo__TypesOfArguments__main___ContainerProtocol_NestedProtocol_NestedClass__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as ContainerProtocol.NestedProtocol.NestedClass
    __receiver.foo()
}

@ExportedBridge("__root___foo__TypesOfArguments__main__SiblingProtocol_NestedClass__")
public fun __root___foo__TypesOfArguments__main__SiblingProtocol_NestedClass__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as SiblingProtocol.NestedClass
    __receiver.foo()
}

@ExportedBridge("__root___foo__TypesOfArguments__anyU20main__ContainerProtocol_NestedProtocol__")
public fun __root___foo__TypesOfArguments__anyU20main__ContainerProtocol_NestedProtocol__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as ContainerProtocol.NestedProtocol
    __receiver.foo()
}

@ExportedBridge("__root___list__TypesOfArguments__Swift_Array_anyU20main_Foeble___")
public fun __root___list__TypesOfArguments__Swift_Array_anyU20main_Foeble___(value: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __value = interpretObjCPointer<kotlin.collections.List<Foeble>>(value)
    val _result = list(__value)
    return _result.objcPtr()
}

@ExportedBridge("__root___list_get")
public fun __root___list_get(): kotlin.native.internal.NativePtr {
    val _result = list
    return _result.objcPtr()
}

@ExportedBridge("__root___list_set__TypesOfArguments__Swift_Array_anyU20main_Foeble___")
public fun __root___list_set__TypesOfArguments__Swift_Array_anyU20main_Foeble___(newValue: kotlin.native.internal.NativePtr): Unit {
    val __newValue = interpretObjCPointer<kotlin.collections.List<Foeble>>(newValue)
    list = __newValue
}

@ExportedBridge("__root___normal__TypesOfArguments__anyU20main_Foeble__")
public fun __root___normal__TypesOfArguments__anyU20main_Foeble__(value: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __value = kotlin.native.internal.ref.dereferenceExternalRCRef(value) as Foeble
    val _result = normal(__value)
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___normal_get")
public fun __root___normal_get(): kotlin.native.internal.NativePtr {
    val _result = normal
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___normal_set__TypesOfArguments__anyU20main_Foeble__")
public fun __root___normal_set__TypesOfArguments__anyU20main_Foeble__(newValue: kotlin.native.internal.NativePtr): Unit {
    val __newValue = kotlin.native.internal.ref.dereferenceExternalRCRef(newValue) as Foeble
    normal = __newValue
}

@ExportedBridge("__root___nullable__TypesOfArguments__Swift_Optional_anyU20main_Foeble___")
public fun __root___nullable__TypesOfArguments__Swift_Optional_anyU20main_Foeble___(value: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __value = if (value == kotlin.native.internal.NativePtr.NULL) null else kotlin.native.internal.ref.dereferenceExternalRCRef(value) as Foeble
    val _result = nullable(__value)
    return if (_result == null) kotlin.native.internal.NativePtr.NULL else kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___nullable_get")
public fun __root___nullable_get(): kotlin.native.internal.NativePtr {
    val _result = nullable
    return if (_result == null) kotlin.native.internal.NativePtr.NULL else kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("__root___nullable_set__TypesOfArguments__Swift_Optional_anyU20main_Foeble___")
public fun __root___nullable_set__TypesOfArguments__Swift_Optional_anyU20main_Foeble___(newValue: kotlin.native.internal.NativePtr): Unit {
    val __newValue = if (newValue == kotlin.native.internal.NativePtr.NULL) null else kotlin.native.internal.ref.dereferenceExternalRCRef(newValue) as Foeble
    nullable = __newValue
}

@ExportedBridge("packagewithprotocols_ContainerProtocol_NestedClass_init_allocate")
public fun packagewithprotocols_ContainerProtocol_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<packagewithprotocols.ContainerProtocol.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_ContainerProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun packagewithprotocols_ContainerProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, packagewithprotocols.ContainerProtocol.NestedClass())
}

@ExportedBridge("packagewithprotocols_ContainerProtocol_NestedProtocol_NestedClass_init_allocate")
public fun packagewithprotocols_ContainerProtocol_NestedProtocol_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<packagewithprotocols.ContainerProtocol.NestedProtocol.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_ContainerProtocol_NestedProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun packagewithprotocols_ContainerProtocol_NestedProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, packagewithprotocols.ContainerProtocol.NestedProtocol.NestedClass())
}

@ExportedBridge("packagewithprotocols_ENUM_WITH_INTERFACE_INHERITANCE_entries_get")
public fun packagewithprotocols_ENUM_WITH_INTERFACE_INHERITANCE_entries_get(): kotlin.native.internal.NativePtr {
    val _result = packagewithprotocols.ENUM_WITH_INTERFACE_INHERITANCE.entries
    return _result.objcPtr()
}

@ExportedBridge("packagewithprotocols_ENUM_WITH_INTERFACE_INHERITANCE_valueOf__TypesOfArguments__Swift_String__")
public fun packagewithprotocols_ENUM_WITH_INTERFACE_INHERITANCE_valueOf__TypesOfArguments__Swift_String__(value: kotlin.native.internal.NativePtr): kotlin.native.internal.NativePtr {
    val __value = interpretObjCPointer<kotlin.String>(value)
    val _result = packagewithprotocols.ENUM_WITH_INTERFACE_INHERITANCE.valueOf(__value)
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_INHERITANCE_COUPLE_init_allocate")
public fun packagewithprotocols_INHERITANCE_COUPLE_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<packagewithprotocols.INHERITANCE_COUPLE>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_INHERITANCE_COUPLE_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun packagewithprotocols_INHERITANCE_COUPLE_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, packagewithprotocols.INHERITANCE_COUPLE())
}

@ExportedBridge("packagewithprotocols_INHERITANCE_SINGLE_PROTO_init_allocate")
public fun packagewithprotocols_INHERITANCE_SINGLE_PROTO_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<packagewithprotocols.INHERITANCE_SINGLE_PROTO>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_INHERITANCE_SINGLE_PROTO_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun packagewithprotocols_INHERITANCE_SINGLE_PROTO_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, packagewithprotocols.INHERITANCE_SINGLE_PROTO())
}

@ExportedBridge("packagewithprotocols_OBJECT_WITH_INTERFACE_INHERITANCE_get")
public fun packagewithprotocols_OBJECT_WITH_INTERFACE_INHERITANCE_get(): kotlin.native.internal.NativePtr {
    val _result = packagewithprotocols.OBJECT_WITH_INTERFACE_INHERITANCE
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_SiblingProtocol_NestedClass_NestedClass_init_allocate")
public fun packagewithprotocols_SiblingProtocol_NestedClass_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<packagewithprotocols.SiblingProtocol.NestedClass.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_SiblingProtocol_NestedClass_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun packagewithprotocols_SiblingProtocol_NestedClass_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, packagewithprotocols.SiblingProtocol.NestedClass.NestedClass())
}

@ExportedBridge("packagewithprotocols_SiblingProtocol_NestedClass_init_allocate")
public fun packagewithprotocols_SiblingProtocol_NestedClass_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<packagewithprotocols.SiblingProtocol.NestedClass>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("packagewithprotocols_SiblingProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun packagewithprotocols_SiblingProtocol_NestedClass_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, packagewithprotocols.SiblingProtocol.NestedClass())
}

@ExportedBridge("packagewithprotocols_foo__TypesOfArguments__anyU20ExportedKotlinPackages_packagewithprotocols_ContainerProtocol__")
public fun packagewithprotocols_foo__TypesOfArguments__anyU20ExportedKotlinPackages_packagewithprotocols_ContainerProtocol__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as packagewithprotocols.ContainerProtocol
    __receiver.packagewithprotocols_foo()
}

@ExportedBridge("packagewithprotocols_foo__TypesOfArguments__main___ExportedKotlinPackages_packagewithprotocols_ContainerProtocol_NestedProtocol_NestedClass__")
public fun packagewithprotocols_foo__TypesOfArguments__main___ExportedKotlinPackages_packagewithprotocols_ContainerProtocol_NestedProtocol_NestedClass__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as packagewithprotocols.ContainerProtocol.NestedProtocol.NestedClass
    __receiver.packagewithprotocols_foo()
}

@ExportedBridge("packagewithprotocols_foo__TypesOfArguments__main__ExportedKotlinPackages_packagewithprotocols_SiblingProtocol_NestedClass__")
public fun packagewithprotocols_foo__TypesOfArguments__main__ExportedKotlinPackages_packagewithprotocols_SiblingProtocol_NestedClass__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as packagewithprotocols.SiblingProtocol.NestedClass
    __receiver.packagewithprotocols_foo()
}

@ExportedBridge("packagewithprotocols_foo__TypesOfArguments__anyU20main__ExportedKotlinPackages_packagewithprotocols_ContainerProtocol_NestedProtocol__")
public fun packagewithprotocols_foo__TypesOfArguments__anyU20main__ExportedKotlinPackages_packagewithprotocols_ContainerProtocol_NestedProtocol__(`receiver`: kotlin.native.internal.NativePtr): Unit {
    val __receiver = kotlin.native.internal.ref.dereferenceExternalRCRef(`receiver`) as packagewithprotocols.ContainerProtocol.NestedProtocol
    __receiver.packagewithprotocols_foo()
}

@ExportedBridge("repeating_conformances_Child1_init_allocate")
public fun repeating_conformances_Child1_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Child1>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Child1_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Child1_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Child1())
}

@ExportedBridge("repeating_conformances_Child2_init_allocate")
public fun repeating_conformances_Child2_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Child2>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Child2_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Child2_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Child2())
}

@ExportedBridge("repeating_conformances_Child3_init_allocate")
public fun repeating_conformances_Child3_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Child3>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Child3_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Child3_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Child3())
}

@ExportedBridge("repeating_conformances_Child4_init_allocate")
public fun repeating_conformances_Child4_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Child4>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Child4_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Child4_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Child4())
}

@ExportedBridge("repeating_conformances_Child5_init_allocate")
public fun repeating_conformances_Child5_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Child5>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Child5_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Child5_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Child5())
}

@ExportedBridge("repeating_conformances_GrandChild1_init_allocate")
public fun repeating_conformances_GrandChild1_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.GrandChild1>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_GrandChild1_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_GrandChild1_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.GrandChild1())
}

@ExportedBridge("repeating_conformances_GrandChild2_init_allocate")
public fun repeating_conformances_GrandChild2_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.GrandChild2>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_GrandChild2_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_GrandChild2_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.GrandChild2())
}

@ExportedBridge("repeating_conformances_GrandChild3_init_allocate")
public fun repeating_conformances_GrandChild3_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.GrandChild3>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_GrandChild3_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_GrandChild3_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.GrandChild3())
}

@ExportedBridge("repeating_conformances_GrandChild4_init_allocate")
public fun repeating_conformances_GrandChild4_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.GrandChild4>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_GrandChild4_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_GrandChild4_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.GrandChild4())
}

@ExportedBridge("repeating_conformances_GrandChild5_init_allocate")
public fun repeating_conformances_GrandChild5_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.GrandChild5>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_GrandChild5_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_GrandChild5_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.GrandChild5())
}

@ExportedBridge("repeating_conformances_Parent1_init_allocate")
public fun repeating_conformances_Parent1_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Parent1>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Parent1_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Parent1_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Parent1())
}

@ExportedBridge("repeating_conformances_Parent2_init_allocate")
public fun repeating_conformances_Parent2_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Parent2>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Parent2_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Parent2_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Parent2())
}

@ExportedBridge("repeating_conformances_Parent3_init_allocate")
public fun repeating_conformances_Parent3_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Parent3>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Parent3_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Parent3_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Parent3())
}

@ExportedBridge("repeating_conformances_Parent4_init_allocate")
public fun repeating_conformances_Parent4_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Parent4>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Parent4_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Parent4_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Parent4())
}

@ExportedBridge("repeating_conformances_Parent5_init_allocate")
public fun repeating_conformances_Parent5_init_allocate(): kotlin.native.internal.NativePtr {
    val _result = kotlin.native.internal.createUninitializedInstance<repeating_conformances.Parent5>()
    return kotlin.native.internal.ref.createRetainedExternalRCRef(_result)
}

@ExportedBridge("repeating_conformances_Parent5_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__")
public fun repeating_conformances_Parent5_init_initialize__TypesOfArguments__Swift_UnsafeMutableRawPointer__(__kt: kotlin.native.internal.NativePtr): Unit {
    val ____kt = kotlin.native.internal.ref.dereferenceExternalRCRef(__kt)!!
    kotlin.native.internal.initInstance(____kt, repeating_conformances.Parent5())
}
