Skip to content

Instantly share code, notes, and snippets.

@JetForMe
Last active April 28, 2021 07:13
Show Gist options
  • Save JetForMe/e25b74895467a0edc9c4e6a5177df130 to your computer and use it in GitHub Desktop.
Save JetForMe/e25b74895467a0edc9c4e6a5177df130 to your computer and use it in GitHub Desktop.
SCNQuaternion Test
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 11, 0 sdk_version 11, 3
.globl _main
.p2align 4, 0x90
_main:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq test.testSIMD() -> ()
callq test.testSwift() -> ()
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
.globl test.simdAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.p2align 4, 0x90
test.simdAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movsd %xmm7, -32(%rbp)
movsd %xmm6, -24(%rbp)
movsd %xmm5, -16(%rbp)
movsd %xmm4, -8(%rbp)
callq (extension in SceneKit):Swift.SIMD4< where A == Swift.Float>.init(__C.SCNVector4) -> Swift.SIMD4<Swift.Float>
movaps %xmm0, -48(%rbp)
movsd -8(%rbp), %xmm0
movsd -16(%rbp), %xmm1
movsd -24(%rbp), %xmm2
movsd -32(%rbp), %xmm3
callq (extension in SceneKit):Swift.SIMD4< where A == Swift.Float>.init(__C.SCNVector4) -> Swift.SIMD4<Swift.Float>
addps -48(%rbp), %xmm0
addq $48, %rsp
popq %rbp
jmp (extension in SceneKit):__C.SCNVector4.init(Swift.SIMD4<Swift.Float>) -> __C.SCNVector4
.cfi_endproc
.globl test.swiftAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.p2align 4, 0x90
test.swiftAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addsd %xmm4, %xmm0
addsd %xmm5, %xmm1
addsd %xmm6, %xmm2
addsd %xmm7, %xmm3
popq %rbp
jmp (extension in SceneKit):__C.SCNVector4.init(CoreGraphics.CGFloat, CoreGraphics.CGFloat, CoreGraphics.CGFloat, CoreGraphics.CGFloat) -> __C.SCNVector4
.cfi_endproc
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI3_0:
.quad 1
.quad 2
.section __TEXT,__text,regular,pure_instructions
.globl test.testSIMD() -> ()
.p2align 4, 0x90
test.testSIMD() -> ():
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %r13
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r13, -32
.cfi_offset %r14, -24
movl $1, %edi
movl $2, %esi
movl $3, %edx
movl $1, %ecx
callq (extension in SceneKit):__C.SCNVector4.init(Swift.Int, Swift.Int, Swift.Int, Swift.Int) -> __C.SCNVector4
movsd %xmm0, -104(%rbp)
movsd %xmm1, -96(%rbp)
movsd %xmm2, -88(%rbp)
movsd %xmm3, -80(%rbp)
movl $10000, %ebx
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -72(%rbp)
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
.p2align 4, 0x90
LBB3_1:
callq (extension in SceneKit):Swift.SIMD4< where A == Swift.Float>.init(__C.SCNVector4) -> Swift.SIMD4<Swift.Float>
movaps %xmm0, -64(%rbp)
movsd -104(%rbp), %xmm0
movsd -96(%rbp), %xmm1
movsd -88(%rbp), %xmm2
movsd -80(%rbp), %xmm3
callq (extension in SceneKit):Swift.SIMD4< where A == Swift.Float>.init(__C.SCNVector4) -> Swift.SIMD4<Swift.Float>
addps -64(%rbp), %xmm0
callq (extension in SceneKit):__C.SCNVector4.init(Swift.SIMD4<Swift.Float>) -> __C.SCNVector4
decq %rbx
jne LBB3_1
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -64(%rbp)
leaq demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Any>(%rip), %rdi
callq ___swift_instantiateConcreteTypeFromMangledName
movl $64, %esi
movl $7, %edx
movq %rax, %rdi
callq _swift_allocObject
movq %rax, %r14
movaps LCPI3_0(%rip), %xmm0
movups %xmm0, 16(%rax)
movq $0, -48(%rbp)
movabsq $-2305843009213693952, %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %r13
movl $16, %edi
callq Swift._StringGuts.grow(Swift.Int) -> ()
movq -40(%rbp), %rdi
callq _swift_bridgeObjectRelease
movabsq $8029764342558574931, %rax
movq %rax, -48(%rbp)
movabsq $-1441151880219575701, %rax
movq %rax, -40(%rbp)
leaq demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Swift.CVarArg>(%rip), %rdi
callq ___swift_instantiateConcreteTypeFromMangledName
movl $72, %esi
movl $7, %edx
movq %rax, %rdi
callq _swift_allocObject
movaps LCPI3_0(%rip), %xmm0
movups %xmm0, 16(%rax)
movsd -64(%rbp), %xmm0
subsd -72(%rbp), %xmm0
movq type metadata for Swift.Double@GOTPCREL(%rip), %rcx
movq %rcx, 56(%rax)
movq protocol witness table for Swift.Double : Swift.CVarArg in Swift@GOTPCREL(%rip), %rcx
movq %rcx, 64(%rax)
movsd %xmm0, 32(%rax)
movabsq $112391479111973, %rdi
movabsq $-1873497444986126336, %rsi
movq %rax, %rdx
callq (extension in Foundation):Swift.String.init(format: __shared Swift.String, _: Swift.CVarArg...) -> Swift.String
movq %rdx, %rbx
leaq -48(%rbp), %r13
movq %rax, %rdi
movq %rdx, %rsi
callq Swift.String.append(Swift.String) -> ()
movq %rbx, %rdi
callq _swift_bridgeObjectRelease
movabsq $-2161727821137838080, %rsi
movl $29472, %edi
callq Swift.String.append(Swift.String) -> ()
movaps -48(%rbp), %xmm0
movq type metadata for Swift.String@GOTPCREL(%rip), %rax
movq %rax, 56(%r14)
movups %xmm0, 32(%r14)
movabsq $-2233785415175766016, %rdx
movl $32, %esi
movl $10, %ecx
movq %r14, %rdi
movq %rdx, %r8
callq Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq %r14, %rdi
addq $88, %rsp
popq %rbx
popq %r13
popq %r14
popq %rbp
jmp _swift_release
.cfi_endproc
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI4_0:
.quad 1
.quad 2
.section __TEXT,__text,regular,pure_instructions
.globl test.testSwift() -> ()
.p2align 4, 0x90
test.testSwift() -> ():
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %r13
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r13, -32
.cfi_offset %r14, -24
movl $1, %edi
movl $2, %esi
movl $3, %edx
movl $1, %ecx
callq (extension in SceneKit):__C.SCNVector4.init(Swift.Int, Swift.Int, Swift.Int, Swift.Int) -> __C.SCNVector4
movsd %xmm0, -56(%rbp)
movsd %xmm1, -88(%rbp)
movsd %xmm2, -80(%rbp)
movsd %xmm3, -72(%rbp)
movl $10000, %ebx
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -64(%rbp)
xorpd %xmm0, %xmm0
xorpd %xmm1, %xmm1
xorpd %xmm2, %xmm2
xorpd %xmm3, %xmm3
.p2align 4, 0x90
LBB4_1:
addsd -56(%rbp), %xmm0
addsd -88(%rbp), %xmm1
addsd -80(%rbp), %xmm2
addsd -72(%rbp), %xmm3
callq (extension in SceneKit):__C.SCNVector4.init(CoreGraphics.CGFloat, CoreGraphics.CGFloat, CoreGraphics.CGFloat, CoreGraphics.CGFloat) -> __C.SCNVector4
decq %rbx
jne LBB4_1
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -56(%rbp)
leaq demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Any>(%rip), %rdi
callq ___swift_instantiateConcreteTypeFromMangledName
movl $64, %esi
movl $7, %edx
movq %rax, %rdi
callq _swift_allocObject
movq %rax, %r14
movaps LCPI4_0(%rip), %xmm0
movups %xmm0, 16(%rax)
movq $0, -48(%rbp)
movabsq $-2305843009213693952, %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %r13
movl $16, %edi
callq Swift._StringGuts.grow(Swift.Int) -> ()
movq -40(%rbp), %rdi
callq _swift_bridgeObjectRelease
movabsq $8031079719814920019, %rax
movq %rax, -48(%rbp)
movabsq $-1441151880217859217, %rax
movq %rax, -40(%rbp)
leaq demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Swift.CVarArg>(%rip), %rdi
callq ___swift_instantiateConcreteTypeFromMangledName
movl $72, %esi
movl $7, %edx
movq %rax, %rdi
callq _swift_allocObject
movaps LCPI4_0(%rip), %xmm0
movups %xmm0, 16(%rax)
movsd -56(%rbp), %xmm0
subsd -64(%rbp), %xmm0
movq type metadata for Swift.Double@GOTPCREL(%rip), %rcx
movq %rcx, 56(%rax)
movq protocol witness table for Swift.Double : Swift.CVarArg in Swift@GOTPCREL(%rip), %rcx
movq %rcx, 64(%rax)
movsd %xmm0, 32(%rax)
movabsq $112391479111973, %rdi
movabsq $-1873497444986126336, %rsi
movq %rax, %rdx
callq (extension in Foundation):Swift.String.init(format: __shared Swift.String, _: Swift.CVarArg...) -> Swift.String
movq %rdx, %rbx
leaq -48(%rbp), %r13
movq %rax, %rdi
movq %rdx, %rsi
callq Swift.String.append(Swift.String) -> ()
movq %rbx, %rdi
callq _swift_bridgeObjectRelease
movabsq $-2161727821137838080, %rsi
movl $29472, %edi
callq Swift.String.append(Swift.String) -> ()
movaps -48(%rbp), %xmm0
movq type metadata for Swift.String@GOTPCREL(%rip), %rax
movq %rax, 56(%r14)
movups %xmm0, 32(%r14)
movabsq $-2233785415175766016, %rdx
movl $32, %esi
movl $10, %ecx
movq %r14, %rdi
movq %rdx, %r8
callq Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq %r14, %rdi
addq $72, %rsp
popq %rbx
popq %r13
popq %r14
popq %rbp
jmp _swift_release
.cfi_endproc
.private_extern ___swift_instantiateConcreteTypeFromMangledName
.globl ___swift_instantiateConcreteTypeFromMangledName
.weak_def_can_be_hidden ___swift_instantiateConcreteTypeFromMangledName
.p2align 4, 0x90
___swift_instantiateConcreteTypeFromMangledName:
pushq %rbx
movq (%rdi), %rax
testq %rax, %rax
js LBB5_1
popq %rbx
retq
LBB5_1:
movq %rdi, %rbx
movq %rax, %rsi
sarq $32, %rsi
negq %rsi
movslq %eax, %rdi
addq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq _swift_getTypeByMangledNameInContext
movq %rax, (%rbx)
popq %rbx
retq
.private_extern "_symbolic _____yypG s23_ContiguousArrayStorageC"
.section __TEXT,__swift5_typeref,regular,no_dead_strip
.globl "_symbolic _____yypG s23_ContiguousArrayStorageC"
.weak_definition "_symbolic _____yypG s23_ContiguousArrayStorageC"
.p2align 1
"_symbolic _____yypG s23_ContiguousArrayStorageC":
.byte 2
.long nominal type descriptor for Swift._ContiguousArrayStorage@GOTPCREL+4
.ascii "yypG"
.byte 0
.private_extern demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Any>
.section __DATA,__data
.globl demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Any>
.weak_definition demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Any>
.p2align 3
demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Any>:
.long "_symbolic _____yypG s23_ContiguousArrayStorageC"-demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Any>
.long 4294967287
.private_extern "_symbolic _____y______pG s23_ContiguousArrayStorageC s7CVarArgP"
.section __TEXT,__swift5_typeref,regular,no_dead_strip
.globl "_symbolic _____y______pG s23_ContiguousArrayStorageC s7CVarArgP"
.weak_definition "_symbolic _____y______pG s23_ContiguousArrayStorageC s7CVarArgP"
.p2align 1
"_symbolic _____y______pG s23_ContiguousArrayStorageC s7CVarArgP":
.byte 2
.long nominal type descriptor for Swift._ContiguousArrayStorage@GOTPCREL+4
.byte 121
.byte 2
.long protocol descriptor for Swift.CVarArg@GOTPCREL+4
.ascii "_pG"
.byte 0
.private_extern demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Swift.CVarArg>
.section __DATA,__data
.globl demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Swift.CVarArg>
.weak_definition demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Swift.CVarArg>
.p2align 3
demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Swift.CVarArg>:
.long "_symbolic _____y______pG s23_ContiguousArrayStorageC s7CVarArgP"-demangling cache variable for type metadata for Swift._ContiguousArrayStorage<Swift.CVarArg>
.long 4294967282
.section __TEXT,__swift5_entry,regular,no_dead_strip
.p2align 2
l_entry_point:
.long _main-l_entry_point
.private_extern __swift_FORCE_LOAD_$_swiftsimd_$_test
.section __DATA,__const
.globl __swift_FORCE_LOAD_$_swiftsimd_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftsimd_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftsimd_$_test:
.quad __swift_FORCE_LOAD_$_swiftsimd
.private_extern __swift_FORCE_LOAD_$_swiftDarwin_$_test
.globl __swift_FORCE_LOAD_$_swiftDarwin_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftDarwin_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftDarwin_$_test:
.quad __swift_FORCE_LOAD_$_swiftDarwin
.private_extern __swift_FORCE_LOAD_$_swiftFoundation_$_test
.globl __swift_FORCE_LOAD_$_swiftFoundation_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftFoundation_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftFoundation_$_test:
.quad __swift_FORCE_LOAD_$_swiftFoundation
.private_extern __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.globl __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftObjectiveC_$_test:
.quad __swift_FORCE_LOAD_$_swiftObjectiveC
.private_extern __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreFoundation_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreFoundation
.private_extern __swift_FORCE_LOAD_$_swiftDispatch_$_test
.globl __swift_FORCE_LOAD_$_swiftDispatch_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftDispatch_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftDispatch_$_test:
.quad __swift_FORCE_LOAD_$_swiftDispatch
.private_extern __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreGraphics_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreGraphics
.private_extern __swift_FORCE_LOAD_$_swiftIOKit_$_test
.globl __swift_FORCE_LOAD_$_swiftIOKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftIOKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftIOKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftIOKit
.private_extern __swift_FORCE_LOAD_$_swiftXPC_$_test
.globl __swift_FORCE_LOAD_$_swiftXPC_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftXPC_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftXPC_$_test:
.quad __swift_FORCE_LOAD_$_swiftXPC
.private_extern __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.globl __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftSceneKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftSceneKit
.private_extern __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.globl __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftQuartzCore_$_test:
.quad __swift_FORCE_LOAD_$_swiftQuartzCore
.private_extern __swift_FORCE_LOAD_$_swiftMetal_$_test
.globl __swift_FORCE_LOAD_$_swiftMetal_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftMetal_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftMetal_$_test:
.quad __swift_FORCE_LOAD_$_swiftMetal
.private_extern __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreImage_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreImage
.private_extern __swift_FORCE_LOAD_$_swiftGLKit_$_test
.globl __swift_FORCE_LOAD_$_swiftGLKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftGLKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftGLKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftGLKit
.private_extern __swift_FORCE_LOAD_$_swiftAppKit_$_test
.globl __swift_FORCE_LOAD_$_swiftAppKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftAppKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftAppKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftAppKit
.private_extern __swift_FORCE_LOAD_$_swiftCoreData_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreData_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreData_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreData_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreData
.private_extern __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.globl __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCloudKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftCloudKit
.private_extern __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreLocation_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreLocation
.private_extern __swift_FORCE_LOAD_$_swiftModelIO_$_test
.globl __swift_FORCE_LOAD_$_swiftModelIO_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftModelIO_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftModelIO_$_test:
.quad __swift_FORCE_LOAD_$_swiftModelIO
.private_extern ___swift_reflection_version
.section __TEXT,__const
.globl ___swift_reflection_version
.weak_definition ___swift_reflection_version
.p2align 1
___swift_reflection_version:
.short 3
.no_dead_strip l_entry_point
.no_dead_strip test.testSIMD() -> ()
.no_dead_strip test.testSwift() -> ()
.no_dead_strip test.simdAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.no_dead_strip test.swiftAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.no_dead_strip ___swift_reflection_version
.no_dead_strip __swift_FORCE_LOAD_$_swiftAppKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreData_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftDarwin_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftDispatch_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftFoundation_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftGLKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftIOKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftMetal_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftModelIO_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftXPC_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftsimd_$_test
.no_dead_strip _main
.linker_option "-lswiftsimd"
.linker_option "-lswiftCore"
.linker_option "-lswiftDarwin"
.linker_option "-lswiftFoundation"
.linker_option "-lswiftObjectiveC"
.linker_option "-framework", "Foundation"
.linker_option "-lswiftCoreFoundation"
.linker_option "-framework", "CoreFoundation"
.linker_option "-lswiftDispatch"
.linker_option "-framework", "Combine"
.linker_option "-framework", "ApplicationServices"
.linker_option "-lswiftCoreGraphics"
.linker_option "-framework", "CoreGraphics"
.linker_option "-lswiftIOKit"
.linker_option "-framework", "IOKit"
.linker_option "-framework", "ColorSync"
.linker_option "-framework", "ImageIO"
.linker_option "-framework", "CoreServices"
.linker_option "-framework", "Security"
.linker_option "-lswiftXPC"
.linker_option "-framework", "CFNetwork"
.linker_option "-framework", "DiskArbitration"
.linker_option "-framework", "CoreText"
.linker_option "-lswiftSceneKit"
.linker_option "-framework", "SceneKit"
.linker_option "-lswiftQuartzCore"
.linker_option "-framework", "QuartzCore"
.linker_option "-framework", "CoreVideo"
.linker_option "-lswiftMetal"
.linker_option "-framework", "Metal"
.linker_option "-framework", "IOSurface"
.linker_option "-framework", "OpenGL"
.linker_option "-lswiftCoreImage"
.linker_option "-framework", "CoreImage"
.linker_option "-lswiftGLKit"
.linker_option "-framework", "GLKit"
.linker_option "-lswiftAppKit"
.linker_option "-framework", "AppKit"
.linker_option "-lswiftCoreData"
.linker_option "-framework", "CoreData"
.linker_option "-lswiftCloudKit"
.linker_option "-framework", "CloudKit"
.linker_option "-lswiftCoreLocation"
.linker_option "-framework", "CoreLocation"
.linker_option "-lswiftModelIO"
.linker_option "-framework", "ModelIO"
.linker_option "-lobjc"
.section __DATA,__objc_imageinfo,regular,no_dead_strip
L_OBJC_IMAGE_INFO:
.long 0
.long 84150080
.weak_reference __swift_FORCE_LOAD_$_swiftsimd
.weak_reference __swift_FORCE_LOAD_$_swiftDarwin
.weak_reference __swift_FORCE_LOAD_$_swiftFoundation
.weak_reference __swift_FORCE_LOAD_$_swiftObjectiveC
.weak_reference __swift_FORCE_LOAD_$_swiftCoreFoundation
.weak_reference __swift_FORCE_LOAD_$_swiftDispatch
.weak_reference __swift_FORCE_LOAD_$_swiftCoreGraphics
.weak_reference __swift_FORCE_LOAD_$_swiftIOKit
.weak_reference __swift_FORCE_LOAD_$_swiftXPC
.weak_reference __swift_FORCE_LOAD_$_swiftSceneKit
.weak_reference __swift_FORCE_LOAD_$_swiftQuartzCore
.weak_reference __swift_FORCE_LOAD_$_swiftMetal
.weak_reference __swift_FORCE_LOAD_$_swiftCoreImage
.weak_reference __swift_FORCE_LOAD_$_swiftGLKit
.weak_reference __swift_FORCE_LOAD_$_swiftAppKit
.weak_reference __swift_FORCE_LOAD_$_swiftCoreData
.weak_reference __swift_FORCE_LOAD_$_swiftCloudKit
.weak_reference __swift_FORCE_LOAD_$_swiftCoreLocation
.weak_reference __swift_FORCE_LOAD_$_swiftModelIO
.subsections_via_symbols
import SceneKit
import Foundation
import simd
public
func
simdAdd(_ inLHS: SCNQuaternion, _ inRHS: SCNQuaternion)
-> SCNQuaternion
{
let l = simd_float4(inLHS)
let r = simd_float4(inRHS)
let s = l + r
return SCNQuaternion(s)
}
public
func
swiftAdd(_ inLHS: SCNQuaternion, _ inRHS: SCNQuaternion)
-> SCNQuaternion
{
return SCNQuaternion(inLHS.x + inRHS.x, inLHS.y + inRHS.y, inLHS.z + inRHS.z, inLHS.w + inRHS.w)
}
public
func
testSIMD()
{
let a = SCNQuaternion(1, 2, 3, 1)
var c = SCNQuaternion()
let start:Double = CFAbsoluteTimeGetCurrent()
for _ in 0 ..< 10000
{
c = simdAdd(c, a)
}
let end: Double = CFAbsoluteTimeGetCurrent()
print("SIMD took: \(String(format: "%10.8f", end - start)) s")
}
public
func
testSwift()
{
let a = SCNQuaternion(1, 2, 3, 1)
var c = SCNQuaternion()
let start:Double = CFAbsoluteTimeGetCurrent()
for _ in 0 ..< 10000
{
c = swiftAdd(c, a)
}
let end: Double = CFAbsoluteTimeGetCurrent()
print("Swift took: \(String(format: "%10.8f", end - start)) s")
}
testSIMD()
testSwift()
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 11, 0 sdk_version 11, 3
.globl _main
.p2align 4, 0x90
_main:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
callq test.testSIMD() -> ()
callq test.testSwift() -> ()
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
.globl test.simdAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.p2align 4, 0x90
test.simdAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r13
subq $392, %rsp
.cfi_offset %r13, -24
xorps %xmm8, %xmm8
movaps %xmm8, -32(%rbp)
movaps %xmm8, -48(%rbp)
movaps %xmm8, -64(%rbp)
movaps %xmm8, -80(%rbp)
movaps %xmm8, -96(%rbp)
movaps %xmm8, -112(%rbp)
movaps %xmm8, -176(%rbp)
movsd %xmm0, -48(%rbp)
movsd %xmm1, -40(%rbp)
movsd %xmm2, -32(%rbp)
movsd %xmm3, -24(%rbp)
movsd %xmm4, -80(%rbp)
movsd %xmm5, -72(%rbp)
movsd %xmm6, -64(%rbp)
movsd %xmm7, -56(%rbp)
movsd %xmm7, -232(%rbp)
movsd %xmm6, -240(%rbp)
movsd %xmm5, -248(%rbp)
movsd %xmm4, -256(%rbp)
callq (extension in SceneKit):Swift.SIMD4< where A == Swift.Float>.init(__C.SCNVector4) -> Swift.SIMD4<Swift.Float>
movaps %xmm0, %xmm1
movups %xmm0, -96(%rbp)
movsd -256(%rbp), %xmm0
movsd -248(%rbp), %xmm2
movaps %xmm1, -272(%rbp)
movaps %xmm2, %xmm1
movsd -240(%rbp), %xmm2
movsd -232(%rbp), %xmm3
callq (extension in SceneKit):Swift.SIMD4< where A == Swift.Float>.init(__C.SCNVector4) -> Swift.SIMD4<Swift.Float>
movaps %xmm0, %xmm1
movups %xmm0, -112(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -128(%rbp)
movaps %xmm1, -288(%rbp)
jmp LBB1_2
LBB1_2:
jmp LBB1_3
LBB1_3:
xorl %eax, %eax
movl %eax, %edi
movl $4, %esi
callq generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
movq %rax, %rdi
movq %rdx, %rsi
callq generic specialization <serialized, Swift.Range<Swift.Int>> of (extension in Swift):Swift.Collection< where A.Iterator == Swift.IndexingIterator<A>>.makeIterator() -> Swift.IndexingIterator<A>
movq %rax, -152(%rbp)
movq %rdx, -144(%rbp)
movq %rcx, -136(%rbp)
LBB1_4:
leaq -152(%rbp), %r13
callq generic specialization <serialized, Swift.Range<Swift.Int>> of Swift.IndexingIterator.next() -> A.Element?
testb $1, %dl
movq %rax, -296(%rbp)
jne LBB1_31
movq -296(%rbp), %rax
movq %rax, -304(%rbp)
jmp LBB1_6
LBB1_6:
movq -304(%rbp), %rax
movq %rax, -312(%rbp)
jmp LBB1_8
LBB1_8:
jmp LBB1_9
LBB1_9:
xorl %eax, %eax
movl %eax, %edi
movl $4, %esi
callq generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
movq -312(%rbp), %rdi
movq %rax, %rsi
callq generic specialization <serialized, Swift.Int> of Swift.Range.contains(A) -> Swift.Bool
xorb $-1, %al
testb $1, %al
jne LBB1_10
jmp LBB1_11
LBB1_10:
jmp LBB1_12
LBB1_11:
jmp LBB1_14
LBB1_12:
jmp LBB1_13
LBB1_13:
leaq L___unnamed_1(%rip), %rax
movq %rsp, %rcx
movq %rax, (%rcx)
movl $1, 32(%rcx)
movq $33097, 24(%rcx)
movl $2, 16(%rcx)
movq $39, 8(%rcx)
leaq L___unnamed_2(%rip), %rdi
leaq L___unnamed_3(%rip), %rcx
xorl %edx, %edx
movl %edx, %r8d
movl $11, %esi
movl $2, %edx
movl %edx, -316(%rbp)
movl -316(%rbp), %r9d
callq Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never
ud2
LBB1_14:
movq type metadata for Swift.Int32@GOTPCREL(%rip), %r13
movq -312(%rbp), %rdi
callq generic specialization <serialized, Swift.Int32, Swift.Int> of (extension in Swift):Swift.FixedWidthInteger.init<A where A1: Swift.BinaryInteger>(truncatingIfNeeded: A1) -> A
movaps -272(%rbp), %xmm0
movaps %xmm0, -192(%rbp)
movl %eax, %ecx
andl $3, %ecx
movl %ecx, %edx
movss -192(%rbp,%rdx,4), %xmm1
movss %xmm1, -320(%rbp)
jmp LBB1_16
LBB1_16:
jmp LBB1_17
LBB1_17:
xorl %eax, %eax
movl %eax, %edi
movl $4, %esi
callq generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
movq -312(%rbp), %rdi
movq %rax, %rsi
callq generic specialization <serialized, Swift.Int> of Swift.Range.contains(A) -> Swift.Bool
xorb $-1, %al
testb $1, %al
jne LBB1_18
jmp LBB1_19
LBB1_18:
jmp LBB1_20
LBB1_19:
jmp LBB1_22
LBB1_20:
jmp LBB1_21
LBB1_21:
leaq L___unnamed_1(%rip), %rax
movq %rsp, %rcx
movq %rax, (%rcx)
movl $1, 32(%rcx)
movq $33097, 24(%rcx)
movl $2, 16(%rcx)
movq $39, 8(%rcx)
leaq L___unnamed_2(%rip), %rdi
leaq L___unnamed_3(%rip), %rcx
xorl %edx, %edx
movl %edx, %r8d
movl $11, %esi
movl $2, %edx
movl %edx, -324(%rbp)
movl -324(%rbp), %r9d
callq Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never
ud2
LBB1_22:
movq type metadata for Swift.Int32@GOTPCREL(%rip), %r13
movq -312(%rbp), %rdi
callq generic specialization <serialized, Swift.Int32, Swift.Int> of (extension in Swift):Swift.FixedWidthInteger.init<A where A1: Swift.BinaryInteger>(truncatingIfNeeded: A1) -> A
movaps -288(%rbp), %xmm0
movaps %xmm0, -208(%rbp)
movl %eax, %ecx
andl $3, %ecx
movl %ecx, %edx
movss -208(%rbp,%rdx,4), %xmm1
movss -320(%rbp), %xmm2
addss %xmm1, %xmm2
movss %xmm2, -328(%rbp)
jmp LBB1_24
LBB1_24:
jmp LBB1_25
LBB1_25:
xorl %eax, %eax
movl %eax, %edi
movl $4, %esi
callq generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
movq -312(%rbp), %rdi
movq %rax, %rsi
callq generic specialization <serialized, Swift.Int> of Swift.Range.contains(A) -> Swift.Bool
xorb $-1, %al
testb $1, %al
jne LBB1_26
jmp LBB1_27
LBB1_26:
jmp LBB1_28
LBB1_27:
jmp LBB1_30
LBB1_28:
jmp LBB1_29
LBB1_29:
leaq L___unnamed_1(%rip), %rax
movq %rsp, %rcx
movq %rax, (%rcx)
movl $1, 32(%rcx)
movq $33101, 24(%rcx)
movl $2, 16(%rcx)
movq $39, 8(%rcx)
leaq L___unnamed_2(%rip), %rdi
leaq L___unnamed_3(%rip), %rcx
xorl %edx, %edx
movl %edx, %r8d
movl $11, %esi
movl $2, %edx
movl %edx, -332(%rbp)
movl -332(%rbp), %r9d
callq Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never
ud2
LBB1_30:
movaps -128(%rbp), %xmm0
movq type metadata for Swift.Int32@GOTPCREL(%rip), %r13
movq -312(%rbp), %rdi
movaps %xmm0, -352(%rbp)
callq generic specialization <serialized, Swift.Int32, Swift.Int> of (extension in Swift):Swift.FixedWidthInteger.init<A where A1: Swift.BinaryInteger>(truncatingIfNeeded: A1) -> A
movaps -352(%rbp), %xmm0
movaps %xmm0, -224(%rbp)
movl %eax, %ecx
andl $3, %ecx
movl %ecx, %edx
movss -328(%rbp), %xmm0
movss %xmm0, -224(%rbp,%rdx,4)
movaps -224(%rbp), %xmm1
movaps %xmm1, -128(%rbp)
jmp LBB1_4
LBB1_31:
movaps -128(%rbp), %xmm0
movups %xmm0, -176(%rbp)
callq (extension in SceneKit):__C.SCNVector4.init(Swift.SIMD4<Swift.Float>) -> __C.SCNVector4
addq $392, %rsp
popq %r13
popq %rbp
retq
.cfi_endproc
.globl test.swiftAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.p2align 4, 0x90
test.swiftAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
xorps %xmm8, %xmm8
movaps %xmm8, -16(%rbp)
movaps %xmm8, -32(%rbp)
movaps %xmm8, -48(%rbp)
movaps %xmm8, -64(%rbp)
movsd %xmm0, -32(%rbp)
movsd %xmm1, -24(%rbp)
movsd %xmm2, -16(%rbp)
movsd %xmm3, -8(%rbp)
movsd %xmm4, -64(%rbp)
movsd %xmm5, -56(%rbp)
movsd %xmm6, -48(%rbp)
movsd %xmm7, -40(%rbp)
addsd %xmm4, %xmm0
addsd %xmm5, %xmm1
addsd %xmm6, %xmm2
addsd %xmm7, %xmm3
callq (extension in SceneKit):__C.SCNVector4.init(CoreGraphics.CGFloat, CoreGraphics.CGFloat, CoreGraphics.CGFloat, CoreGraphics.CGFloat) -> __C.SCNVector4
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.globl test.testSIMD() -> ()
.p2align 4, 0x90
test.testSIMD() -> ():
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r13
subq $616, %rsp
.cfi_offset %r13, -24
xorl %eax, %eax
leaq -40(%rbp), %rcx
movq %rcx, %rdi
movl %eax, %esi
movl $32, %ecx
movq %rcx, %rdx
movl %eax, -268(%rbp)
movq %rcx, -280(%rbp)
callq _memset
leaq -72(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movq -280(%rbp), %rdx
callq _memset
leaq -80(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movl $8, %ecx
movq %rcx, %rdx
movq %rcx, -288(%rbp)
callq _memset
leaq -104(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movl $24, %edx
callq _memset
leaq -232(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movq -288(%rbp), %rdx
callq _memset
leaq -248(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movl $16, %edx
callq _memset
movl $1, %ecx
movq %rcx, %rdi
movl $2, %esi
movl $3, %edx
callq (extension in SceneKit):__C.SCNVector4.init(Swift.Int, Swift.Int, Swift.Int, Swift.Int) -> __C.SCNVector4
movsd %xmm0, -40(%rbp)
movsd %xmm1, -32(%rbp)
movsd %xmm2, -24(%rbp)
movsd %xmm3, -16(%rbp)
xorps %xmm4, %xmm4
movsd %xmm4, -72(%rbp)
movsd %xmm4, -64(%rbp)
movsd %xmm4, -56(%rbp)
movsd %xmm4, -48(%rbp)
movsd %xmm0, -296(%rbp)
movsd %xmm1, -304(%rbp)
movsd %xmm2, -312(%rbp)
movsd %xmm3, -320(%rbp)
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -80(%rbp)
movsd %xmm0, -328(%rbp)
jmp LBB3_2
LBB3_2:
jmp LBB3_3
LBB3_3:
movq type metadata for Swift.Int@GOTPCREL(%rip), %rdx
movq protocol witness table for Swift.Int : Swift.Comparable in Swift@GOTPCREL(%rip), %rcx
movq $0, -128(%rbp)
movq $10000, -136(%rbp)
leaq -120(%rbp), %rax
leaq -128(%rbp), %rsi
leaq -136(%rbp), %rdi
movq %rdi, -336(%rbp)
movq %rsi, %rdi
movq -336(%rbp), %rsi
callq Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
movq -120(%rbp), %rax
movq -112(%rbp), %rcx
movq %rax, -152(%rbp)
movq %rcx, -144(%rbp)
movq %rax, -104(%rbp)
movq %rcx, -96(%rbp)
leaq -160(%rbp), %rax
leaq demangling cache variable for type metadata for Swift.Range<Swift.Int>(%rip), %rdi
movq %rax, -344(%rbp)
callq ___swift_instantiateConcreteTypeFromMangledName
movq %rax, -352(%rbp)
callq lazy protocol witness table accessor for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rsi
leaq -152(%rbp), %rcx
movq -344(%rbp), %rdx
movq %rax, -360(%rbp)
movq %rdx, %rax
movq -352(%rbp), %rdi
movq -360(%rbp), %rdx
movq %rcx, %r13
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.startIndex.getter : A
movq -160(%rbp), %rax
movq %rax, -88(%rbp)
LBB3_4:
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rsi
leaq -104(%rbp), %rax
movq -88(%rbp), %rcx
leaq -184(%rbp), %rdx
movq %rax, -368(%rbp)
movq %rdx, %rax
movq -352(%rbp), %rdi
movq -360(%rbp), %rdx
movq -368(%rbp), %r13
movq %rcx, -376(%rbp)
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.endIndex.getter : A
movq -184(%rbp), %rax
movq -376(%rbp), %rcx
cmpq %rax, %rcx
jne LBB3_6
movq $0, -176(%rbp)
movb $1, -168(%rbp)
jmp LBB3_7
LBB3_6:
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rcx
leaq -216(%rbp), %rax
leaq -104(%rbp), %rdx
movq %rdx, %rsi
addq $16, %rsi
movq %rax, %rdi
movq -352(%rbp), %r8
movq %rdx, -384(%rbp)
movq %r8, %rdx
movq -360(%rbp), %r8
movq -384(%rbp), %r13
movq %rax, -392(%rbp)
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A
xorl %esi, %esi
movq (%rdx), %rcx
movq %rcx, -176(%rbp)
movq -392(%rbp), %rdi
callq *%rax
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rdx
leaq -104(%rbp), %rax
movq %rax, %rcx
addq $16, %rcx
leaq -224(%rbp), %rdi
movq %rcx, %r8
movq %rax, -400(%rbp)
movq %rdi, %rax
movq %r8, %rdi
movq -352(%rbp), %rsi
movq -360(%rbp), %r8
movq %rcx, -408(%rbp)
movq %r8, %rcx
movq -400(%rbp), %r13
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.index(after: A) -> A
leaq -224(%rbp), %rdi
movq -408(%rbp), %rsi
callq outlined assign with take of Swift.Int
movb $0, -168(%rbp)
LBB3_7:
movq -176(%rbp), %rax
movb -168(%rbp), %cl
testb $1, %cl
jne LBB3_10
jmp LBB3_9
LBB3_9:
movsd -72(%rbp), %xmm0
movsd -64(%rbp), %xmm1
movsd -56(%rbp), %xmm2
movsd -48(%rbp), %xmm3
movsd -296(%rbp), %xmm4
movsd -304(%rbp), %xmm5
movsd -312(%rbp), %xmm6
movsd -320(%rbp), %xmm7
callq test.simdAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
movsd %xmm0, -72(%rbp)
movsd %xmm1, -64(%rbp)
movsd %xmm2, -56(%rbp)
movsd %xmm3, -48(%rbp)
jmp LBB3_4
LBB3_10:
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -232(%rbp)
movq type metadata for Any@GOTPCREL(%rip), %rax
addq $8, %rax
movl $1, %ecx
movq %rcx, %rdi
movq %rax, %rsi
movsd %xmm0, -416(%rbp)
movq %rax, -424(%rbp)
movq %rcx, -432(%rbp)
callq Swift._allocateUninitializedArray<A>(Builtin.Word) -> ([A], Builtin.RawPointer)
movl $14, %edi
movq -432(%rbp), %rsi
movq %rax, -440(%rbp)
movq %rdx, -448(%rbp)
callq Swift.DefaultStringInterpolation.init(literalCapacity: Swift.Int, interpolationCount: Swift.Int) -> Swift.DefaultStringInterpolation
movq %rax, -248(%rbp)
movq %rdx, -240(%rbp)
leaq L___unnamed_4(%rip), %rdi
movl $12, %esi
movl $1, %r8d
movl %r8d, %edx
movl %r8d, -452(%rbp)
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
leaq -248(%rbp), %rcx
movq %rax, %rdi
movq %rdx, %rsi
movq %rcx, %r13
movq %rdx, -464(%rbp)
movq %rcx, -472(%rbp)
callq Swift.DefaultStringInterpolation.appendLiteral(Swift.String) -> ()
movq -464(%rbp), %rdi
callq _swift_bridgeObjectRelease
leaq L___unnamed_5(%rip), %rdi
movl $6, %esi
movl -452(%rbp), %edx
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
leaq demangling cache variable for type metadata for Swift.CVarArg(%rip), %rdi
movq %rax, -480(%rbp)
movq %rdx, -488(%rbp)
callq ___swift_instantiateConcreteTypeFromMangledName
movq -432(%rbp), %rdi
movq %rax, %rsi
movq %rax, -496(%rbp)
callq Swift._allocateUninitializedArray<A>(Builtin.Word) -> ([A], Builtin.RawPointer)
movsd -416(%rbp), %xmm0
movsd -328(%rbp), %xmm1
subsd %xmm1, %xmm0
movq type metadata for Swift.Double@GOTPCREL(%rip), %rcx
movq %rcx, 24(%rdx)
movq protocol witness table for Swift.Double : Swift.CVarArg in Swift@GOTPCREL(%rip), %rcx
movq %rcx, 32(%rdx)
movsd %xmm0, (%rdx)
movq %rax, %rdi
movq -496(%rbp), %rsi
callq Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]
movq -480(%rbp), %rdi
movq -488(%rbp), %rsi
movq %rax, %rdx
callq (extension in Foundation):Swift.String.init(format: __shared Swift.String, _: Swift.CVarArg...) -> Swift.String
movq -488(%rbp), %rdi
movq %rax, -504(%rbp)
movq %rdx, -512(%rbp)
callq _swift_bridgeObjectRelease
movq -504(%rbp), %rax
movq %rax, -264(%rbp)
movq -512(%rbp), %rcx
movq %rcx, -256(%rbp)
movq type metadata for Swift.String@GOTPCREL(%rip), %rdx
movq protocol witness table for Swift.String : Swift.CustomStringConvertible in Swift@GOTPCREL(%rip), %rsi
movq protocol witness table for Swift.String : Swift.TextOutputStreamable in Swift@GOTPCREL(%rip), %rcx
leaq -264(%rbp), %rdi
movq %rdi, -520(%rbp)
movq %rsi, -528(%rbp)
movq %rdx, %rsi
movq -528(%rbp), %r9
movq %rdx, -536(%rbp)
movq %r9, %rdx
movq -472(%rbp), %r13
callq Swift.DefaultStringInterpolation.appendInterpolation<A where A: Swift.CustomStringConvertible, A: Swift.TextOutputStreamable>(A) -> ()
movq -520(%rbp), %rdi
callq outlined destroy of Swift.String
leaq L___unnamed_6(%rip), %rdi
movl $2, %esi
movl -452(%rbp), %edx
movq %rax, -544(%rbp)
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
movq %rax, %rdi
movq %rdx, %rsi
movq -472(%rbp), %r13
movq %rdx, -552(%rbp)
callq Swift.DefaultStringInterpolation.appendLiteral(Swift.String) -> ()
movq -552(%rbp), %rdi
callq _swift_bridgeObjectRelease
movq -248(%rbp), %rdi
movq -240(%rbp), %rax
movq %rdi, -560(%rbp)
movq %rax, %rdi
movq %rax, -568(%rbp)
callq _swift_bridgeObjectRetain
movq -472(%rbp), %rdi
movq %rax, -576(%rbp)
callq outlined destroy of Swift.DefaultStringInterpolation
movq -560(%rbp), %rdi
movq -568(%rbp), %rsi
movq %rax, -584(%rbp)
callq Swift.String.init(stringInterpolation: Swift.DefaultStringInterpolation) -> Swift.String
movq -448(%rbp), %rcx
movq -536(%rbp), %rsi
movq %rsi, 24(%rcx)
movq %rax, (%rcx)
movq %rdx, 8(%rcx)
movq -440(%rbp), %rdi
movq -424(%rbp), %rsi
callq Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]
movq %rax, -592(%rbp)
callq default argument 1 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq %rax, -600(%rbp)
movq %rdx, -608(%rbp)
callq default argument 2 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq -592(%rbp), %rdi
movq -600(%rbp), %rsi
movq -608(%rbp), %rcx
movq %rdx, -616(%rbp)
movq %rcx, %rdx
movq %rax, %rcx
movq -616(%rbp), %r8
callq Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq -616(%rbp), %rdi
callq _swift_bridgeObjectRelease
movq -608(%rbp), %rdi
callq _swift_bridgeObjectRelease
movq -592(%rbp), %rdi
callq _swift_bridgeObjectRelease
addq $616, %rsp
popq %r13
popq %rbp
retq
.cfi_endproc
.private_extern Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]
.globl Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]
.weak_definition Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]
.p2align 4, 0x90
Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r13
subq $24, %rsp
.cfi_offset %r13, -24
movq %rsi, -16(%rbp)
movq %rdi, -24(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq type metadata accessor for Swift.Array
leaq -24(%rbp), %r13
movq %rax, %rdi
movq %rdx, -32(%rbp)
callq Swift.Array._endMutation() -> ()
movq -24(%rbp), %rax
addq $24, %rsp
popq %r13
popq %rbp
retq
.cfi_endproc
.private_extern default argument 1 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
.globl default argument 1 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
.weak_definition default argument 1 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
.p2align 4, 0x90
default argument 1 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ():
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___unnamed_7(%rip), %rdi
movl $1, %esi
movl $1, %edx
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
popq %rbp
retq
.cfi_endproc
.private_extern default argument 2 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
.globl default argument 2 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
.weak_definition default argument 2 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
.p2align 4, 0x90
default argument 2 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ():
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___unnamed_8(%rip), %rdi
movl $1, %esi
movl $1, %edx
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
popq %rbp
retq
.cfi_endproc
.globl test.testSwift() -> ()
.p2align 4, 0x90
test.testSwift() -> ():
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r13
subq $616, %rsp
.cfi_offset %r13, -24
xorl %eax, %eax
leaq -40(%rbp), %rcx
movq %rcx, %rdi
movl %eax, %esi
movl $32, %ecx
movq %rcx, %rdx
movl %eax, -268(%rbp)
movq %rcx, -280(%rbp)
callq _memset
leaq -72(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movq -280(%rbp), %rdx
callq _memset
leaq -80(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movl $8, %ecx
movq %rcx, %rdx
movq %rcx, -288(%rbp)
callq _memset
leaq -104(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movl $24, %edx
callq _memset
leaq -232(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movq -288(%rbp), %rdx
callq _memset
leaq -248(%rbp), %rcx
movq %rcx, %rdi
movl -268(%rbp), %esi
movl $16, %edx
callq _memset
movl $1, %ecx
movq %rcx, %rdi
movl $2, %esi
movl $3, %edx
callq (extension in SceneKit):__C.SCNVector4.init(Swift.Int, Swift.Int, Swift.Int, Swift.Int) -> __C.SCNVector4
movsd %xmm0, -40(%rbp)
movsd %xmm1, -32(%rbp)
movsd %xmm2, -24(%rbp)
movsd %xmm3, -16(%rbp)
xorps %xmm4, %xmm4
movsd %xmm4, -72(%rbp)
movsd %xmm4, -64(%rbp)
movsd %xmm4, -56(%rbp)
movsd %xmm4, -48(%rbp)
movsd %xmm0, -296(%rbp)
movsd %xmm1, -304(%rbp)
movsd %xmm2, -312(%rbp)
movsd %xmm3, -320(%rbp)
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -80(%rbp)
movsd %xmm0, -328(%rbp)
jmp LBB7_2
LBB7_2:
jmp LBB7_3
LBB7_3:
movq type metadata for Swift.Int@GOTPCREL(%rip), %rdx
movq protocol witness table for Swift.Int : Swift.Comparable in Swift@GOTPCREL(%rip), %rcx
movq $0, -128(%rbp)
movq $10000, -136(%rbp)
leaq -120(%rbp), %rax
leaq -128(%rbp), %rsi
leaq -136(%rbp), %rdi
movq %rdi, -336(%rbp)
movq %rsi, %rdi
movq -336(%rbp), %rsi
callq Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
movq -120(%rbp), %rax
movq -112(%rbp), %rcx
movq %rax, -152(%rbp)
movq %rcx, -144(%rbp)
movq %rax, -104(%rbp)
movq %rcx, -96(%rbp)
leaq -160(%rbp), %rax
leaq demangling cache variable for type metadata for Swift.Range<Swift.Int>(%rip), %rdi
movq %rax, -344(%rbp)
callq ___swift_instantiateConcreteTypeFromMangledName
movq %rax, -352(%rbp)
callq lazy protocol witness table accessor for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rsi
leaq -152(%rbp), %rcx
movq -344(%rbp), %rdx
movq %rax, -360(%rbp)
movq %rdx, %rax
movq -352(%rbp), %rdi
movq -360(%rbp), %rdx
movq %rcx, %r13
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.startIndex.getter : A
movq -160(%rbp), %rax
movq %rax, -88(%rbp)
LBB7_4:
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rsi
leaq -104(%rbp), %rax
movq -88(%rbp), %rcx
leaq -184(%rbp), %rdx
movq %rax, -368(%rbp)
movq %rdx, %rax
movq -352(%rbp), %rdi
movq -360(%rbp), %rdx
movq -368(%rbp), %r13
movq %rcx, -376(%rbp)
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.endIndex.getter : A
movq -184(%rbp), %rax
movq -376(%rbp), %rcx
cmpq %rax, %rcx
jne LBB7_6
movq $0, -176(%rbp)
movb $1, -168(%rbp)
jmp LBB7_7
LBB7_6:
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rcx
leaq -216(%rbp), %rax
leaq -104(%rbp), %rdx
movq %rdx, %rsi
addq $16, %rsi
movq %rax, %rdi
movq -352(%rbp), %r8
movq %rdx, -384(%rbp)
movq %r8, %rdx
movq -360(%rbp), %r8
movq -384(%rbp), %r13
movq %rax, -392(%rbp)
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A
xorl %esi, %esi
movq (%rdx), %rcx
movq %rcx, -176(%rbp)
movq -392(%rbp), %rdi
callq *%rax
movq protocol witness table for Swift.Int : Swift.Strideable in Swift@GOTPCREL(%rip), %rdx
leaq -104(%rbp), %rax
movq %rax, %rcx
addq $16, %rcx
leaq -224(%rbp), %rdi
movq %rcx, %r8
movq %rax, -400(%rbp)
movq %rdi, %rax
movq %r8, %rdi
movq -352(%rbp), %rsi
movq -360(%rbp), %r8
movq %rcx, -408(%rbp)
movq %r8, %rcx
movq -400(%rbp), %r13
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.index(after: A) -> A
leaq -224(%rbp), %rdi
movq -408(%rbp), %rsi
callq outlined assign with take of Swift.Int
movb $0, -168(%rbp)
LBB7_7:
movq -176(%rbp), %rax
movb -168(%rbp), %cl
testb $1, %cl
jne LBB7_10
jmp LBB7_9
LBB7_9:
movsd -72(%rbp), %xmm0
movsd -64(%rbp), %xmm1
movsd -56(%rbp), %xmm2
movsd -48(%rbp), %xmm3
movsd -296(%rbp), %xmm4
movsd -304(%rbp), %xmm5
movsd -312(%rbp), %xmm6
movsd -320(%rbp), %xmm7
callq test.swiftAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
movsd %xmm0, -72(%rbp)
movsd %xmm1, -64(%rbp)
movsd %xmm2, -56(%rbp)
movsd %xmm3, -48(%rbp)
jmp LBB7_4
LBB7_10:
callq _CFAbsoluteTimeGetCurrent
movsd %xmm0, -232(%rbp)
movq type metadata for Any@GOTPCREL(%rip), %rax
addq $8, %rax
movl $1, %ecx
movq %rcx, %rdi
movq %rax, %rsi
movsd %xmm0, -416(%rbp)
movq %rax, -424(%rbp)
movq %rcx, -432(%rbp)
callq Swift._allocateUninitializedArray<A>(Builtin.Word) -> ([A], Builtin.RawPointer)
movl $14, %edi
movq -432(%rbp), %rsi
movq %rax, -440(%rbp)
movq %rdx, -448(%rbp)
callq Swift.DefaultStringInterpolation.init(literalCapacity: Swift.Int, interpolationCount: Swift.Int) -> Swift.DefaultStringInterpolation
movq %rax, -248(%rbp)
movq %rdx, -240(%rbp)
leaq L___unnamed_9(%rip), %rdi
movl $12, %esi
movl $1, %r8d
movl %r8d, %edx
movl %r8d, -452(%rbp)
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
leaq -248(%rbp), %rcx
movq %rax, %rdi
movq %rdx, %rsi
movq %rcx, %r13
movq %rdx, -464(%rbp)
movq %rcx, -472(%rbp)
callq Swift.DefaultStringInterpolation.appendLiteral(Swift.String) -> ()
movq -464(%rbp), %rdi
callq _swift_bridgeObjectRelease
leaq L___unnamed_5(%rip), %rdi
movl $6, %esi
movl -452(%rbp), %edx
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
leaq demangling cache variable for type metadata for Swift.CVarArg(%rip), %rdi
movq %rax, -480(%rbp)
movq %rdx, -488(%rbp)
callq ___swift_instantiateConcreteTypeFromMangledName
movq -432(%rbp), %rdi
movq %rax, %rsi
movq %rax, -496(%rbp)
callq Swift._allocateUninitializedArray<A>(Builtin.Word) -> ([A], Builtin.RawPointer)
movsd -416(%rbp), %xmm0
movsd -328(%rbp), %xmm1
subsd %xmm1, %xmm0
movq type metadata for Swift.Double@GOTPCREL(%rip), %rcx
movq %rcx, 24(%rdx)
movq protocol witness table for Swift.Double : Swift.CVarArg in Swift@GOTPCREL(%rip), %rcx
movq %rcx, 32(%rdx)
movsd %xmm0, (%rdx)
movq %rax, %rdi
movq -496(%rbp), %rsi
callq Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]
movq -480(%rbp), %rdi
movq -488(%rbp), %rsi
movq %rax, %rdx
callq (extension in Foundation):Swift.String.init(format: __shared Swift.String, _: Swift.CVarArg...) -> Swift.String
movq -488(%rbp), %rdi
movq %rax, -504(%rbp)
movq %rdx, -512(%rbp)
callq _swift_bridgeObjectRelease
movq -504(%rbp), %rax
movq %rax, -264(%rbp)
movq -512(%rbp), %rcx
movq %rcx, -256(%rbp)
movq type metadata for Swift.String@GOTPCREL(%rip), %rdx
movq protocol witness table for Swift.String : Swift.CustomStringConvertible in Swift@GOTPCREL(%rip), %rsi
movq protocol witness table for Swift.String : Swift.TextOutputStreamable in Swift@GOTPCREL(%rip), %rcx
leaq -264(%rbp), %rdi
movq %rdi, -520(%rbp)
movq %rsi, -528(%rbp)
movq %rdx, %rsi
movq -528(%rbp), %r9
movq %rdx, -536(%rbp)
movq %r9, %rdx
movq -472(%rbp), %r13
callq Swift.DefaultStringInterpolation.appendInterpolation<A where A: Swift.CustomStringConvertible, A: Swift.TextOutputStreamable>(A) -> ()
movq -520(%rbp), %rdi
callq outlined destroy of Swift.String
leaq L___unnamed_6(%rip), %rdi
movl $2, %esi
movl -452(%rbp), %edx
movq %rax, -544(%rbp)
callq Swift.String.init(_builtinStringLiteral: Builtin.RawPointer, utf8CodeUnitCount: Builtin.Word, isASCII: Builtin.Int1) -> Swift.String
movq %rax, %rdi
movq %rdx, %rsi
movq -472(%rbp), %r13
movq %rdx, -552(%rbp)
callq Swift.DefaultStringInterpolation.appendLiteral(Swift.String) -> ()
movq -552(%rbp), %rdi
callq _swift_bridgeObjectRelease
movq -248(%rbp), %rdi
movq -240(%rbp), %rax
movq %rdi, -560(%rbp)
movq %rax, %rdi
movq %rax, -568(%rbp)
callq _swift_bridgeObjectRetain
movq -472(%rbp), %rdi
movq %rax, -576(%rbp)
callq outlined destroy of Swift.DefaultStringInterpolation
movq -560(%rbp), %rdi
movq -568(%rbp), %rsi
movq %rax, -584(%rbp)
callq Swift.String.init(stringInterpolation: Swift.DefaultStringInterpolation) -> Swift.String
movq -448(%rbp), %rcx
movq -536(%rbp), %rsi
movq %rsi, 24(%rcx)
movq %rax, (%rcx)
movq %rdx, 8(%rcx)
movq -440(%rbp), %rdi
movq -424(%rbp), %rsi
callq Swift._finalizeUninitializedArray<A>(__owned [A]) -> [A]
movq %rax, -592(%rbp)
callq default argument 1 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq %rax, -600(%rbp)
movq %rdx, -608(%rbp)
callq default argument 2 of Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq -592(%rbp), %rdi
movq -600(%rbp), %rsi
movq -608(%rbp), %rcx
movq %rdx, -616(%rbp)
movq %rcx, %rdx
movq %rax, %rcx
movq -616(%rbp), %r8
callq Swift.print(_: Any..., separator: Swift.String, terminator: Swift.String) -> ()
movq -616(%rbp), %rdi
callq _swift_bridgeObjectRelease
movq -608(%rbp), %rdi
callq _swift_bridgeObjectRelease
movq -592(%rbp), %rdi
callq _swift_bridgeObjectRelease
addq $616, %rsp
popq %r13
popq %rbp
retq
.cfi_endproc
.private_extern generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
.globl generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
.weak_definition generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
.p2align 4, 0x90
generic specialization <serialized, Swift.Int> of Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rax
movq %rsi, %rdx
popq %rbp
retq
.cfi_endproc
.private_extern generic specialization <serialized, Swift.Range<Swift.Int>> of (extension in Swift):Swift.Collection< where A.Iterator == Swift.IndexingIterator<A>>.makeIterator() -> Swift.IndexingIterator<A>
.globl generic specialization <serialized, Swift.Range<Swift.Int>> of (extension in Swift):Swift.Collection< where A.Iterator == Swift.IndexingIterator<A>>.makeIterator() -> Swift.IndexingIterator<A>
.weak_definition generic specialization <serialized, Swift.Range<Swift.Int>> of (extension in Swift):Swift.Collection< where A.Iterator == Swift.IndexingIterator<A>>.makeIterator() -> Swift.IndexingIterator<A>
.p2align 4, 0x90
generic specialization <serialized, Swift.Range<Swift.Int>> of (extension in Swift):Swift.Collection< where A.Iterator == Swift.IndexingIterator<A>>.makeIterator() -> Swift.IndexingIterator<A>:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rax
movq %rsi, %rdx
movq %rdi, %rcx
popq %rbp
retq
.cfi_endproc
.private_extern generic specialization <serialized, Swift.Range<Swift.Int>> of Swift.IndexingIterator.next() -> A.Element?
.globl generic specialization <serialized, Swift.Range<Swift.Int>> of Swift.IndexingIterator.next() -> A.Element?
.weak_definition generic specialization <serialized, Swift.Range<Swift.Int>> of Swift.IndexingIterator.next() -> A.Element?
.p2align 4, 0x90
generic specialization <serialized, Swift.Range<Swift.Int>> of Swift.IndexingIterator.next() -> A.Element?:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq %r13, %rax
addq $16, %rax
movq 16(%r13), %rcx
movq 8(%r13), %rdx
cmpq %rdx, %rcx
movq %r13, -8(%rbp)
movq %rax, -16(%rbp)
movq %rcx, -24(%rbp)
movq %rdx, -32(%rbp)
je LBB10_9
movq -8(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -40(%rbp)
movq -24(%rbp), %rax
movq -40(%rbp), %rcx
cmpq %rcx, %rax
jl LBB10_7
movq -24(%rbp), %rax
movq -32(%rbp), %rcx
cmpq %rcx, %rax
setl %dl
testb $1, %dl
jne LBB10_5
jmp LBB10_8
LBB10_5:
jmp LBB10_6
LBB10_6:
movq -24(%rbp), %rdi
movq -40(%rbp), %rsi
movq -32(%rbp), %rdx
callq generic specialization <serialized, Swift.Int> of (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.index(after: A) -> A
xorl %ecx, %ecx
movq -16(%rbp), %rdx
movq %rax, (%rdx)
movq -24(%rbp), %rax
movq %rax, -48(%rbp)
movb %cl, -49(%rbp)
jmp LBB10_10
LBB10_7:
jmp LBB10_8
LBB10_8:
leaq L___unnamed_1(%rip), %rax
movq %rsp, %rcx
movq %rax, (%rcx)
movl $1, 32(%rcx)
movq $14853, 24(%rcx)
movl $2, 16(%rcx)
movq $39, 8(%rcx)
leaq L___unnamed_2(%rip), %rdi
leaq L___unnamed_10(%rip), %rcx
movl $11, %esi
movl $18, %r8d
movl $2, %edx
movl %edx, -56(%rbp)
movl -56(%rbp), %r9d
callq Swift._fatalErrorMessage(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never
ud2
LBB10_9:
xorl %eax, %eax
movl %eax, %ecx
movb $1, %dl
movq %rcx, -48(%rbp)
movb %dl, -49(%rbp)
jmp LBB10_10
LBB10_10:
movb -49(%rbp), %al
movq -48(%rbp), %rcx
andb $1, %al
movb %al, -57(%rbp)
movq %rcx, %rax
movb -57(%rbp), %dl
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
.private_extern generic specialization <serialized, Swift.Int> of Swift.Range.contains(A) -> Swift.Bool
.globl generic specialization <serialized, Swift.Int> of Swift.Range.contains(A) -> Swift.Bool
.weak_definition generic specialization <serialized, Swift.Int> of Swift.Range.contains(A) -> Swift.Bool
.p2align 4, 0x90
generic specialization <serialized, Swift.Int> of Swift.Range.contains(A) -> Swift.Bool:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq %rsi, %rdi
movq %rdx, -8(%rbp)
movq %rdi, -16(%rbp)
jl LBB11_2
movq -16(%rbp), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
setl %dl
movb %dl, -17(%rbp)
jmp LBB11_3
LBB11_2:
xorl %eax, %eax
movb %al, -17(%rbp)
jmp LBB11_3
LBB11_3:
movb -17(%rbp), %al
popq %rbp
retq
.cfi_endproc
.private_extern generic specialization <serialized, Swift.Int32, Swift.Int> of (extension in Swift):Swift.FixedWidthInteger.init<A where A1: Swift.BinaryInteger>(truncatingIfNeeded: A1) -> A
.globl generic specialization <serialized, Swift.Int32, Swift.Int> of (extension in Swift):Swift.FixedWidthInteger.init<A where A1: Swift.BinaryInteger>(truncatingIfNeeded: A1) -> A
.weak_definition generic specialization <serialized, Swift.Int32, Swift.Int> of (extension in Swift):Swift.FixedWidthInteger.init<A where A1: Swift.BinaryInteger>(truncatingIfNeeded: A1) -> A
.p2align 4, 0x90
generic specialization <serialized, Swift.Int32, Swift.Int> of (extension in Swift):Swift.FixedWidthInteger.init<A where A1: Swift.BinaryInteger>(truncatingIfNeeded: A1) -> A:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
popq %rbp
retq
.cfi_endproc
.private_extern (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A
.globl (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A
.weak_definition (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A
.p2align 4, 0x90
(extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r13
subq $72, %rsp
.cfi_offset %r13, -24
movq 16(%rdx), %rax
movq %rax, (%rdi)
movq %rax, -16(%rbp)
movq -8(%rax), %rax
movq %rax, 8(%rdi)
movq 64(%rax), %rax
movq %rdi, -24(%rbp)
movq %rax, %rdi
movq %r13, -32(%rbp)
movq %r8, -40(%rbp)
movq %rcx, -48(%rbp)
movq %rdx, -56(%rbp)
movq %rsi, -64(%rbp)
callq _malloc
movq -24(%rbp), %rcx
movq %rax, 16(%rcx)
movq %rax, -72(%rbp)
movq -64(%rbp), %rdi
movq -56(%rbp), %rsi
movq -48(%rbp), %rdx
movq -40(%rbp), %rcx
movq -32(%rbp), %r13
callq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.getter : (A) -> A
leaq (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A with unmangled suffix ".resume.0"(%rip), %rax
movq -72(%rbp), %rdx
addq $72, %rsp
popq %r13
popq %rbp
retq
.cfi_endproc
.p2align 4, 0x90
(extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.subscript.read : (A) -> A with unmangled suffix ".resume.0":
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, %rax
movq 16(%rdi), %rcx
testb $1, %sil
movq %rax, -16(%rbp)
movq %rcx, -24(%rbp)
jne LBB14_1
jmp LBB14_3
LBB14_1:
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movq (%rax), %rsi
movq -24(%rbp), %rdx
movq %rdx, %rdi
callq *8(%rcx)
movq -24(%rbp), %rdi
callq _free
LBB14_2:
addq $32, %rsp
popq %rbp
retq
LBB14_3:
movq -16(%rbp), %rax
movq 16(%rax), %rcx
movq 8(%rax), %rdx
movq (%rax), %rsi
movq %rcx, %rdi
callq *8(%rdx)
movq -24(%rbp), %rdi
callq _free
jmp LBB14_2
.cfi_endproc
.private_extern Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
.globl Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
.weak_definition Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>
.p2align 4, 0x90
Swift.Range.init(_uncheckedBounds: (lower: A, upper: A)) -> Swift.Range<A>:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $216, %rsp
.cfi_offset %rbx, -24
movq %rdx, -16(%rbp)
leaq L___unnamed_11(%rip), %r8
xorl %r9d, %r9d
movl %r9d, %r10d
movq %rdi, -24(%rbp)
movq %r10, %rdi
movq %rsi, -32(%rbp)
movq %rdx, %rsi
movq %rdx, -40(%rbp)
movq %rcx, -48(%rbp)
movq %r8, %rcx
movq %r10, %r8
movq %rax, -56(%rbp)
movq %r10, -64(%rbp)
callq _swift_getTupleTypeMetadata2
movq -8(%rax), %rcx
movq 64(%rcx), %rcx
addq $15, %rcx
andq $-16, %rcx
movq %rsp, %rsi
subq %rcx, %rsi
movq %rsi, %rsp
movq %rsp, %rdi
subq %rcx, %rdi
movq %rdi, %rsp
movslq 48(%rax), %rcx
movq %rdi, %r8
addq %rcx, %r8
movq -40(%rbp), %rcx
movq -8(%rcx), %r10
movq 32(%r10), %r11
movq %rdi, -72(%rbp)
movq -24(%rbp), %rbx
movq %rsi, -80(%rbp)
movq %rbx, %rsi
movq %rdx, -88(%rbp)
movq %rcx, %rdx
movq %rax, -96(%rbp)
movq %r8, -104(%rbp)
movq %r10, -112(%rbp)
movq %r11, -120(%rbp)
callq *%r11
movq -104(%rbp), %rdi
movq -32(%rbp), %rsi
movq -40(%rbp), %rdx
movq -120(%rbp), %rcx
movq %rax, -128(%rbp)
callq *%rcx
movq -96(%rbp), %rcx
movslq 48(%rcx), %rdx
movq -80(%rbp), %rsi
addq %rdx, %rsi
movq -112(%rbp), %rdx
movq 16(%rdx), %rdi
movq -80(%rbp), %r8
movq %rdi, -136(%rbp)
movq %r8, %rdi
movq -72(%rbp), %r10
movq %rsi, -144(%rbp)
movq %r10, %rsi
movq -40(%rbp), %rdx
movq -136(%rbp), %r11
movq %rax, -152(%rbp)
callq *%r11
movq -144(%rbp), %rdi
movq -104(%rbp), %rsi
movq -40(%rbp), %rdx
movq -136(%rbp), %rcx
movq %rax, -160(%rbp)
callq *%rcx
movq -112(%rbp), %rcx
movq 8(%rcx), %rdx
movq -144(%rbp), %rdi
movq -40(%rbp), %rsi
movq %rax, -168(%rbp)
movq %rdx, -176(%rbp)
callq *%rdx
movq -56(%rbp), %rdi
movq -80(%rbp), %rsi
movq -40(%rbp), %rdx
movq -120(%rbp), %rax
callq *%rax
movq -96(%rbp), %rcx
movslq 48(%rcx), %rdx
movq -80(%rbp), %rsi
addq %rdx, %rsi
movq -80(%rbp), %rdi
movq -72(%rbp), %rdx
movq %rsi, -184(%rbp)
movq %rdx, %rsi
movq -40(%rbp), %rdx
movq -120(%rbp), %r8
movq %rax, -192(%rbp)
callq *%r8
movq -184(%rbp), %rdi
movq -104(%rbp), %rsi
movq -40(%rbp), %rdx
movq -120(%rbp), %rcx
movq %rax, -200(%rbp)
callq *%rcx
movq -80(%rbp), %rdi
movq -40(%rbp), %rsi
movq -176(%rbp), %rcx
movq %rax, -208(%rbp)
callq *%rcx
movq -64(%rbp), %rdi
movq -40(%rbp), %rsi
movq -48(%rbp), %rdx
callq type metadata accessor for Swift.Range
movslq 36(%rax), %rax
movq -56(%rbp), %rcx
addq %rax, %rcx
movq %rcx, %rdi
movq -184(%rbp), %rsi
movq -40(%rbp), %rax
movq %rdx, -216(%rbp)
movq %rax, %rdx
movq -120(%rbp), %rcx
callq *%rcx
leaq -8(%rbp), %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
.private_extern ___swift_instantiateConcreteTypeFromMangledName
.globl ___swift_instantiateConcreteTypeFromMangledName
.weak_definition ___swift_instantiateConcreteTypeFromMangledName
.p2align 4, 0x90
___swift_instantiateConcreteTypeFromMangledName:
subq $40, %rsp
movq %rdi, %rax
movq (%rdi), %rcx
cmpq $0, %rcx
setl %dl
testb $1, %dl
movq %rcx, %rsi
movq %rdi, 32(%rsp)
movq %rax, 24(%rsp)
movq %rcx, 16(%rsp)
movq %rsi, 8(%rsp)
jne LBB16_2
LBB16_1:
movq 8(%rsp), %rax
addq $40, %rsp
retq
LBB16_2:
movq 16(%rsp), %rax
sarq $32, %rax
negq %rax
movq 16(%rsp), %rcx
movl %ecx, %edx
movslq %edx, %rsi
movq 32(%rsp), %rdi
addq %rsi, %rdi
xorl %edx, %edx
movl %edx, %esi
movq %rsi, (%rsp)
movq %rax, %rsi
movq (%rsp), %rdx
movq (%rsp), %rcx
callq _swift_getTypeByMangledNameInContext
movq %rax, %rcx
movq 24(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 8(%rsp)
jmp LBB16_1
.private_extern lazy protocol witness table accessor for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
.globl lazy protocol witness table accessor for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
.weak_definition lazy protocol witness table accessor for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
.p2align 4, 0x90
lazy protocol witness table accessor for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift:
pushq %rax
movq lazy protocol witness table cache variable for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift(%rip), %rax
cmpq $0, %rax
movq %rax, (%rsp)
jne LBB17_2
movq protocol conformance descriptor for Swift.Int : Swift.SignedInteger in Swift@GOTPCREL(%rip), %rdi
movq type metadata for Swift.Int@GOTPCREL(%rip), %rsi
callq _swift_getWitnessTable
movq %rax, %rcx
movq %rax, lazy protocol witness table cache variable for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift(%rip)
movq %rcx, (%rsp)
LBB17_2:
movq (%rsp), %rax
popq %rcx
retq
.private_extern outlined assign with take of Swift.Int
.globl outlined assign with take of Swift.Int
.weak_definition outlined assign with take of Swift.Int
.p2align 4, 0x90
outlined assign with take of Swift.Int:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movq %rax, (%rsi)
movq %rsi, %rax
popq %rbp
retq
.private_extern outlined destroy of Swift.String
.globl outlined destroy of Swift.String
.weak_definition outlined destroy of Swift.String
.p2align 4, 0x90
outlined destroy of Swift.String:
pushq %rbp
movq %rsp, %rbp
subq $16, %rsp
movq 8(%rdi), %rax
movq %rdi, -8(%rbp)
movq %rax, %rdi
callq _swift_bridgeObjectRelease
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.private_extern outlined destroy of Swift.DefaultStringInterpolation
.globl outlined destroy of Swift.DefaultStringInterpolation
.weak_definition outlined destroy of Swift.DefaultStringInterpolation
.p2align 4, 0x90
outlined destroy of Swift.DefaultStringInterpolation:
pushq %rbp
movq %rsp, %rbp
subq $16, %rsp
movq 8(%rdi), %rax
movq %rdi, -8(%rbp)
movq %rax, %rdi
callq _swift_bridgeObjectRelease
movq -8(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.private_extern generic specialization <serialized, Swift.Int> of (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.index(after: A) -> A
.globl generic specialization <serialized, Swift.Int> of (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.index(after: A) -> A
.weak_definition generic specialization <serialized, Swift.Int> of (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.index(after: A) -> A
.p2align 4, 0x90
generic specialization <serialized, Swift.Int> of (extension in Swift):Swift.Range< where A: Swift.Strideable, A.Stride: Swift.SignedInteger>.index(after: A) -> A:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq %rdx, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdi, -24(%rbp)
jmp LBB21_1
LBB21_1:
movq -8(%rbp), %rax
movq -16(%rbp), %rcx
cmpq %rcx, %rax
setl %dl
testb $1, %dl
jne LBB21_11
jmp LBB21_3
LBB21_3:
jmp LBB21_4
LBB21_4:
movq -24(%rbp), %rax
movq -16(%rbp), %rcx
cmpq %rcx, %rax
setl %dl
testb $1, %dl
jne LBB21_10
movq -24(%rbp), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
setl %dl
testb $1, %dl
jne LBB21_7
leaq L___unnamed_1(%rip), %rax
movq %rsp, %rcx
movq %rax, (%rcx)
movl $1, 32(%rcx)
movq $4300, 24(%rcx)
movl $2, 16(%rcx)
movq $39, 8(%rcx)
leaq L___unnamed_2(%rip), %rdi
leaq L___unnamed_12(%rip), %rcx
movl $11, %esi
movl $32, %r8d
movl $2, %edx
movl %edx, -28(%rbp)
movl -28(%rbp), %r9d
callq Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never
ud2
LBB21_7:
jmp LBB21_8
LBB21_8:
movq -24(%rbp), %rax
incq %rax
seto %cl
testb $1, %cl
movq %rax, -40(%rbp)
jne LBB21_12
movq -40(%rbp), %rax
addq $96, %rsp
popq %rbp
retq
LBB21_10:
leaq L___unnamed_1(%rip), %rax
movq %rsp, %rcx
movq %rax, (%rcx)
movl $1, 32(%rcx)
movq $4297, 24(%rcx)
movl $2, 16(%rcx)
movq $39, 8(%rcx)
leaq L___unnamed_2(%rip), %rdi
leaq L___unnamed_13(%rip), %rcx
movl $11, %esi
movl $33, %r8d
movl $2, %edx
movl %edx, -44(%rbp)
movl -44(%rbp), %r9d
callq Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never
ud2
LBB21_11:
leaq L___unnamed_1(%rip), %rax
movq %rsp, %rcx
movq %rax, (%rcx)
movl $1, 32(%rcx)
movq $14990, 24(%rcx)
movl $2, 16(%rcx)
movq $39, 8(%rcx)
leaq L___unnamed_2(%rip), %rdi
leaq L___unnamed_14(%rip), %rcx
movl $11, %esi
movl $39, %r8d
movl $2, %edx
movl %edx, -48(%rbp)
movl -48(%rbp), %r9d
callq Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never
ud2
LBB21_12:
ud2
.cfi_endproc
.private_extern Swift.Array._endMutation() -> ()
.globl Swift.Array._endMutation() -> ()
.weak_definition Swift.Array._endMutation() -> ()
.p2align 4, 0x90
Swift.Array._endMutation() -> ():
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
.p2align 4, 0x90
l_coro.devirt.trigger:
.cfi_startproc
retq
.cfi_endproc
.section __TEXT,__cstring,cstring_literals
.p2align 4
L___unnamed_1:
.asciz "Swift/x86_64-apple-macos.swiftinterface"
L___unnamed_3:
.space 1
L___unnamed_2:
.asciz "Fatal error"
.private_extern "_symbolic SnySiG"
.section __TEXT,__swift5_typeref,regular,no_dead_strip
.globl "_symbolic SnySiG"
.weak_definition "_symbolic SnySiG"
.p2align 1
"_symbolic SnySiG":
.ascii "SnySiG"
.byte 0
.private_extern demangling cache variable for type metadata for Swift.Range<Swift.Int>
.section __DATA,__data
.globl demangling cache variable for type metadata for Swift.Range<Swift.Int>
.weak_definition demangling cache variable for type metadata for Swift.Range<Swift.Int>
.p2align 3
demangling cache variable for type metadata for Swift.Range<Swift.Int>:
.long "_symbolic SnySiG"-demangling cache variable for type metadata for Swift.Range<Swift.Int>
.long 4294967290
.private_extern lazy protocol witness table cache variable for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
.globl lazy protocol witness table cache variable for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
.weak_definition lazy protocol witness table cache variable for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift
.p2align 3
lazy protocol witness table cache variable for type Swift.Int and conformance Swift.Int : Swift.SignedInteger in Swift:
.quad 0
.section __TEXT,__cstring,cstring_literals
L___unnamed_4:
.asciz "SIMD took: "
L___unnamed_5:
.asciz "%10.8f"
.private_extern "_symbolic ______p s7CVarArgP"
.section __TEXT,__swift5_typeref,regular,no_dead_strip
.globl "_symbolic ______p s7CVarArgP"
.weak_definition "_symbolic ______p s7CVarArgP"
.p2align 1
"_symbolic ______p s7CVarArgP":
.byte 2
.long protocol descriptor for Swift.CVarArg@GOTPCREL+4
.ascii "_p"
.byte 0
.private_extern demangling cache variable for type metadata for Swift.CVarArg
.section __DATA,__data
.globl demangling cache variable for type metadata for Swift.CVarArg
.weak_definition demangling cache variable for type metadata for Swift.CVarArg
.p2align 3
demangling cache variable for type metadata for Swift.CVarArg:
.long "_symbolic ______p s7CVarArgP"-demangling cache variable for type metadata for Swift.CVarArg
.long 4294967289
.section __TEXT,__cstring,cstring_literals
L___unnamed_6:
.asciz " s"
L___unnamed_9:
.asciz "Swift took: "
.section __TEXT,__swift5_entry,regular,no_dead_strip
.p2align 2
l_entry_point:
.long _main-l_entry_point
.private_extern __swift_FORCE_LOAD_$_swiftsimd_$_test
.section __DATA,__const
.globl __swift_FORCE_LOAD_$_swiftsimd_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftsimd_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftsimd_$_test:
.quad __swift_FORCE_LOAD_$_swiftsimd
.private_extern __swift_FORCE_LOAD_$_swiftDarwin_$_test
.globl __swift_FORCE_LOAD_$_swiftDarwin_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftDarwin_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftDarwin_$_test:
.quad __swift_FORCE_LOAD_$_swiftDarwin
.private_extern __swift_FORCE_LOAD_$_swiftFoundation_$_test
.globl __swift_FORCE_LOAD_$_swiftFoundation_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftFoundation_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftFoundation_$_test:
.quad __swift_FORCE_LOAD_$_swiftFoundation
.private_extern __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.globl __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftObjectiveC_$_test:
.quad __swift_FORCE_LOAD_$_swiftObjectiveC
.private_extern __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreFoundation_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreFoundation
.private_extern __swift_FORCE_LOAD_$_swiftDispatch_$_test
.globl __swift_FORCE_LOAD_$_swiftDispatch_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftDispatch_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftDispatch_$_test:
.quad __swift_FORCE_LOAD_$_swiftDispatch
.private_extern __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreGraphics_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreGraphics
.private_extern __swift_FORCE_LOAD_$_swiftIOKit_$_test
.globl __swift_FORCE_LOAD_$_swiftIOKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftIOKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftIOKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftIOKit
.private_extern __swift_FORCE_LOAD_$_swiftXPC_$_test
.globl __swift_FORCE_LOAD_$_swiftXPC_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftXPC_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftXPC_$_test:
.quad __swift_FORCE_LOAD_$_swiftXPC
.private_extern __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.globl __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftSceneKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftSceneKit
.private_extern __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.globl __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftQuartzCore_$_test:
.quad __swift_FORCE_LOAD_$_swiftQuartzCore
.private_extern __swift_FORCE_LOAD_$_swiftMetal_$_test
.globl __swift_FORCE_LOAD_$_swiftMetal_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftMetal_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftMetal_$_test:
.quad __swift_FORCE_LOAD_$_swiftMetal
.private_extern __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreImage_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreImage
.private_extern __swift_FORCE_LOAD_$_swiftGLKit_$_test
.globl __swift_FORCE_LOAD_$_swiftGLKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftGLKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftGLKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftGLKit
.private_extern __swift_FORCE_LOAD_$_swiftAppKit_$_test
.globl __swift_FORCE_LOAD_$_swiftAppKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftAppKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftAppKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftAppKit
.private_extern __swift_FORCE_LOAD_$_swiftCoreData_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreData_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreData_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreData_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreData
.private_extern __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.globl __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCloudKit_$_test:
.quad __swift_FORCE_LOAD_$_swiftCloudKit
.private_extern __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.globl __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftCoreLocation_$_test:
.quad __swift_FORCE_LOAD_$_swiftCoreLocation
.private_extern __swift_FORCE_LOAD_$_swiftModelIO_$_test
.globl __swift_FORCE_LOAD_$_swiftModelIO_$_test
.weak_definition __swift_FORCE_LOAD_$_swiftModelIO_$_test
.p2align 3
__swift_FORCE_LOAD_$_swiftModelIO_$_test:
.quad __swift_FORCE_LOAD_$_swiftModelIO
.section __TEXT,__cstring,cstring_literals
L___unnamed_8:
.asciz "\n"
L___unnamed_7:
.asciz " "
L___unnamed_11:
.asciz "lower upper "
.p2align 4
L___unnamed_10:
.asciz "Index out of range"
.p2align 4
L___unnamed_14:
.asciz "Range requires lowerBound <= upperBound"
.p2align 4
L___unnamed_13:
.asciz "Out of bounds: index < startIndex"
.p2align 4
L___unnamed_12:
.asciz "Out of bounds: index >= endIndex"
.private_extern ___swift_reflection_version
.section __TEXT,__const
.globl ___swift_reflection_version
.weak_definition ___swift_reflection_version
.p2align 1
___swift_reflection_version:
.short 3
.no_dead_strip _main
.no_dead_strip test.simdAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.no_dead_strip test.swiftAdd(__C.SCNVector4, __C.SCNVector4) -> __C.SCNVector4
.no_dead_strip test.testSIMD() -> ()
.no_dead_strip test.testSwift() -> ()
.no_dead_strip l_entry_point
.no_dead_strip __swift_FORCE_LOAD_$_swiftsimd_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftDarwin_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftFoundation_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftObjectiveC_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreFoundation_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftDispatch_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreGraphics_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftIOKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftXPC_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftSceneKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftQuartzCore_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftMetal_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreImage_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftGLKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftAppKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreData_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCloudKit_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftCoreLocation_$_test
.no_dead_strip __swift_FORCE_LOAD_$_swiftModelIO_$_test
.no_dead_strip ___swift_reflection_version
.linker_option "-lswiftsimd"
.linker_option "-lswiftCore"
.linker_option "-lswiftDarwin"
.linker_option "-lswiftFoundation"
.linker_option "-lswiftObjectiveC"
.linker_option "-framework", "Foundation"
.linker_option "-lswiftCoreFoundation"
.linker_option "-framework", "CoreFoundation"
.linker_option "-lswiftDispatch"
.linker_option "-framework", "Combine"
.linker_option "-framework", "ApplicationServices"
.linker_option "-lswiftCoreGraphics"
.linker_option "-framework", "CoreGraphics"
.linker_option "-lswiftIOKit"
.linker_option "-framework", "IOKit"
.linker_option "-framework", "ColorSync"
.linker_option "-framework", "ImageIO"
.linker_option "-framework", "CoreServices"
.linker_option "-framework", "Security"
.linker_option "-lswiftXPC"
.linker_option "-framework", "CFNetwork"
.linker_option "-framework", "DiskArbitration"
.linker_option "-framework", "CoreText"
.linker_option "-lswiftSceneKit"
.linker_option "-framework", "SceneKit"
.linker_option "-lswiftQuartzCore"
.linker_option "-framework", "QuartzCore"
.linker_option "-framework", "CoreVideo"
.linker_option "-lswiftMetal"
.linker_option "-framework", "Metal"
.linker_option "-framework", "IOSurface"
.linker_option "-framework", "OpenGL"
.linker_option "-lswiftCoreImage"
.linker_option "-framework", "CoreImage"
.linker_option "-lswiftGLKit"
.linker_option "-framework", "GLKit"
.linker_option "-lswiftAppKit"
.linker_option "-framework", "AppKit"
.linker_option "-lswiftCoreData"
.linker_option "-framework", "CoreData"
.linker_option "-lswiftCloudKit"
.linker_option "-framework", "CloudKit"
.linker_option "-lswiftCoreLocation"
.linker_option "-framework", "CoreLocation"
.linker_option "-lswiftModelIO"
.linker_option "-framework", "ModelIO"
.linker_option "-lswiftSwiftOnoneSupport"
.linker_option "-lobjc"
.section __DATA,__objc_imageinfo,regular,no_dead_strip
L_OBJC_IMAGE_INFO:
.long 0
.long 84150080
.weak_reference __swift_FORCE_LOAD_$_swiftsimd
.weak_reference __swift_FORCE_LOAD_$_swiftDarwin
.weak_reference __swift_FORCE_LOAD_$_swiftFoundation
.weak_reference __swift_FORCE_LOAD_$_swiftObjectiveC
.weak_reference __swift_FORCE_LOAD_$_swiftCoreFoundation
.weak_reference __swift_FORCE_LOAD_$_swiftDispatch
.weak_reference __swift_FORCE_LOAD_$_swiftCoreGraphics
.weak_reference __swift_FORCE_LOAD_$_swiftIOKit
.weak_reference __swift_FORCE_LOAD_$_swiftXPC
.weak_reference __swift_FORCE_LOAD_$_swiftSceneKit
.weak_reference __swift_FORCE_LOAD_$_swiftQuartzCore
.weak_reference __swift_FORCE_LOAD_$_swiftMetal
.weak_reference __swift_FORCE_LOAD_$_swiftCoreImage
.weak_reference __swift_FORCE_LOAD_$_swiftGLKit
.weak_reference __swift_FORCE_LOAD_$_swiftAppKit
.weak_reference __swift_FORCE_LOAD_$_swiftCoreData
.weak_reference __swift_FORCE_LOAD_$_swiftCloudKit
.weak_reference __swift_FORCE_LOAD_$_swiftCoreLocation
.weak_reference __swift_FORCE_LOAD_$_swiftModelIO
.subsections_via_symbols
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment