def search(self, sequence: List[Instruction], original_constants: Dict[(str, str)], original_registers: Dict[(str, str)]) -> Match:
    if (match := super().search(sequence, original_constants, original_registers)):
        match.operation = 'modulo'
        match.operand = self._get_register_operand(original_registers)
        match.constant = self._get_original_constant_from_magic(original_constants)
        if (not match.constant):
            return None
        return match
def search(self, sequence: List[Instruction], original_constants: Dict[(str, str)], original_registers: Dict[(str, str)]) -> Match:
    if (match := super().search(sequence, original_constants, original_registers)):
        match.operation = 'modulo'
        match.operand = self._get_register_operand(original_registers)
        match.constant = self._get_original_constant_from_magic(original_constants)
        if (not match.constant):
            return None
        return match