+ uintptr_t ret_addr = user_64 ? frame.u64.ret : frame.u32.ret;
+#if defined(HAS_APPLE_PAC)
+ /* return addresses signed by arm64e ABI */
+ bt[frame_index++] = (uintptr_t)ptrauth_strip((void *)ret_addr,
+ ptrauth_key_return_address);
+#else /* defined(HAS_APPLE_PAC) */
+ bt[frame_index++] = ret_addr;
+#endif /* !defined(HAS_APPLE_PAC) */