public function AK($h)
{
if ($this->AL) {
$this->AL = AC;
if (!AO($h) || $h != 'AP') {
AQ($this->AR);
}
}
if (AT($h)) {
if (isset($this->b['G'][$h[3]])) {
$this->AR[] = $this->AU['G'][$h[3]];
if (isset($this->AZ[$h[3]])) {
$this->c[$this->BB] = 2;
}
if ($h[3] == 'X') {
$this->g = BE;
}
}
} else {
if (isset($this->AU['D'][$h])) {
$this->d[] = $this->AU['D'][$h];
}
if ($h == 'BK') {
++$this->BB;
} elseif ($h == 'BM') {
--$this->f;
if (isset($this->BA[$this->BB])) {
$this->e = BE;
unset($this->BA[$this->BB]);
}
}
}
return null;
}