private int method317(int arg0, int arg1) {
		arg1 = 127 - arg1;
		arg1 = arg1 * (arg0 & 0x7f) / 160;
		if (arg1 < 2) {
			arg1 = 2;
		} else if (arg1 > 126) {
			arg1 = 126;
		}
		return (arg0 & 0xff80) + arg1;
	}