/* SPDX-FileCopyrightText: 2026 Tomasz Kramkowski * SPDX-License-Identifier: CC0-1.0 */ .intel_syntax noprefix .section .text.entry,"ax",@progbits .global input_wait input_wait: push rdi push rsi push rdx push rcx sub rsp, 8 call register_image_wait add rsp, 8 pop rcx pop rdx pop rsi pop rdi # Replay the three displaced instructions, then resume the original function. push rbp mov rax, rsi mov r9d, edx jmp resume_transition .section .note.GNU-stack,"",@progbits