+void
+mono_mach_arch_mcontext_to_thread_state (mcontext_t context, thread_state_t state)
+{
+ x86_thread_state64_t *arch_state = (x86_thread_state64_t *) state;
+ struct __darwin_mcontex64 *ctx = (struct __darwin_mcontex64 *) context;
+
+ *arch_state = ctx->__ss;
+}
+