commit 0907702861f9808ccfd8ec90f25fb563d025ee0c Author: Garfield Date: Mon Nov 16 12:07:59 2026 +0800 ✨ 初始提交:月读第三方书源插件集合 每个书源一个独立插件目录,含微信读书公众号订阅、书架导入等完整功能。 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> diff --git a/moonsource-xiaoxiang.koplugin/README.md b/moonsource-xiaoxiang.koplugin/README.md new file mode 100644 index 0000000..a73a6dd --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/README.md @@ -0,0 +1,21 @@ +# 潇湘书院 + +| 能力 | 是否支持 | 备注 | +| --- | --- | --- | +| 扫码登录 | 已实现,未实测 | 阅文二维码,使用 QQ阅读或起点 App;最终账号登录未完成实测 | +| 浏览器登录与 Cookie 导入 | 已实现,未实测 | 保留扩展回传和手动粘贴入口 | +| 设备密码与验证码登录 | 不支持 | 可在官网完成登录后导入 Cookie | +| 书架拉取 | 支持 | 仅根书架图书,不枚举其他文件夹或资源类型 | +| 书架新增与移出 | 已实现,未实测 | 本地先生效,同步上行后回读确认;失败保留脏行或墓碑 | +| 搜索 | 支持 | 聚合后续页,默认最多 60 本 | +| 分类书城 | 支持 | 动态分类、标签、排序、资费、状态、更新时段和字数筛选 | +| 榜单 | 部分支持 | 潇湘票、畅销、完结、阅读、收藏;旧移动榜单仅单页 | +| 详情与分卷目录 | 支持 | 保留章节顺序和长整数 ID | +| 免费正文 | 支持 | 可匿名读取 | +| 已购正文 | 已实现,未实测 | 按官网权限解码;未购预览不作为正文缓存 | +| 章节与全本缓存 | 支持 | 支持预取和后台缓存;整本下载未完成实测 | +| 离线阅读 | 支持 | 已缓存章节可续读、关书重开 | +| 阅读进度同步 | 部分支持 | 仅章节位置,无章内比例;远端写入未实测 | +| 笔记与统计同步 | 不支持 | 仅本地保存 | +| 书评、章评、段评与回复 | 不支持 | 当前 Web 协议未找到可验证接口,不代表 App 没有评论 | +| 账号切换 | 部分支持 | 同账号可续期;换号须确认清理旧本地数据,未同步记录会丢失 | diff --git a/moonsource-xiaoxiang.koplugin/_meta.lua b/moonsource-xiaoxiang.koplugin/_meta.lua new file mode 100644 index 0000000..9967d40 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/_meta.lua @@ -0,0 +1,5 @@ +local _ = require("gettext") +return { + fullname = _("月读书源:潇湘书院"), + description = _("给月读增加「潇湘书院」书源。需要同时安装月读,与平台官方无关。"), +} diff --git a/moonsource-xiaoxiang.koplugin/main.lua b/moonsource-xiaoxiang.koplugin/main.lua new file mode 100644 index 0000000..ef26188 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/main.lua @@ -0,0 +1,9 @@ +--[[-- +KOReader 只认带 main.lua 的插件目录;书源本身不需要任何插件钩子,月读读取旁边的 moon_source.lua。 +--]] +local WidgetContainer = require("ui/widget/container/widgetcontainer") + +return WidgetContainer:extend{ + name = "moonsource_xiaoxiang", + is_doc_only = false, +} diff --git a/moonsource-xiaoxiang.koplugin/moon_source.lua b/moonsource-xiaoxiang.koplugin/moon_source.lua new file mode 100644 index 0000000..b17fb00 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moon_source.lua @@ -0,0 +1,15 @@ +--[[-- +月读第三方书源描述:潇湘书院。契约见月读 examples/moonsource-demo.koplugin/moon_source.lua。 +--]] + +local function lazy(module) + return setmetatable({}, { __index = function(_, key) return require(module)[key] end }) +end + +return { + api = 1, + provides = { source = true }, + meta = function() return require("moonsource_xiaoxiang.source").meta() end, + new = function() return require("moonsource_xiaoxiang.source").new() end, + setting = lazy("moonsource_xiaoxiang.setting"), +} diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/_meta.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/_meta.lua new file mode 100644 index 0000000..4ac74ba --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/_meta.lua @@ -0,0 +1,15 @@ +--[[-- +书源元信息:id / 名称 / 类型,加上启用页展示用的说明与能力清单。`init.lua` 的 `meta()` 直接返回本表。 + +@module moonsource_xiaoxiang._meta +--]] + +local _ = require("l10n").get("moonsource_xiaoxiang") + +return { + id = "ext.xiaoxiang", + name = _("潇湘书院"), + type = "chapter", + description = _("潇湘书院书架与在线阅读"), + abilities = { _("搜索与发现"), _("书架同步"), _("进度同步") }, +} diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/browse.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/browse.lua new file mode 100644 index 0000000..1500ebc --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/browse.lua @@ -0,0 +1,119 @@ +--[[-- +潇湘官网分类库:动态分类与标签,筛选编码沿用官网,顺序聚合分页。 + +@module moonsource_xiaoxiang.browse +--]] + +local Browse = require("source.browse") +local Client = require("moonsource_xiaoxiang.client") +local Mapper = require("moonsource_xiaoxiang.mapper") +local JSON_NULL = require("json").decode("null") +local _ = require("l10n").get("moonsource_xiaoxiang") + +local Library = {} +local KEYS = { "state", "charge", "update", "words", "order", "category", "tag" } +local DEFAULT = { state = -1, charge = -1, update = -1, words = -1, order = 10, category = 0, tag = -1 } +local FILTERS = { + { key = "order", title = _("排序"), items = { { 6, _("综合热度") }, { 10, _("最畅销") }, { 3, _("收藏最多") } } }, + { key = "state", title = _("状态"), items = { { -1, _("全部") }, { 0, _("连载") }, { 1, _("完结") } } }, + { key = "charge", title = _("价格"), items = { { -1, _("全部") }, { 0, _("免费") }, { 2, _("付费") } } }, + { key = "update", title = _("更新"), items = { + { -1, _("全部") }, { 0, _("3天以内") }, { 1, _("7天以内") }, { 2, _("15天以内") }, { 3, _("一个月以内") }, + } }, + { key = "words", title = _("字数"), items = { + { -1, _("全部") }, { 11, _("20万以内") }, { 12, _("20-30万") }, { 3, _("30-50万") }, + { 24, _("50-100万") }, { 25, _("100-200万") }, { 26, _("200万以上") }, + } }, +} + +local function node(params, key, value) + local values = {} + for index, name in ipairs(KEYS) do + values[index] = tostring(name == key and value + or (key == "category" and name == "tag" and -1 or params[name])) + end + return "cate:" .. table.concat(values, ":") +end + +local function group(params, key, title, items) + local chips = {} + for _idx, item in ipairs(items) do chips[#chips + 1] = { id = node(params, key, item[1]), title = item[2] } end + local result = Browse.group(chips, node(params)) + result.title = title + return result +end + +function Library.run(opts, cb) + opts = opts or {} + local params = {} + for key, value in pairs(DEFAULT) do params[key] = value end + local valid = true + if opts.node then + local values = { opts.node:match("^cate:(%-?%d+):(%-?%d+):(%-?%d+):(%-?%d+):(%-?%d+):(%-?%d+):(%-?%d+)$") } + valid = #values == #KEYS + if valid then for index, key in ipairs(KEYS) do params[key] = tonumber(values[index]) end end + end + for _idx, filter in ipairs(FILTERS) do + local found = false + for _item, item in ipairs(filter.items) do if params[filter.key] == item[1] then found = true end end + valid = valid and found + end + if not valid then return require("source.base").defer(cb, nil, _("潇湘分类条件无效")) end + local cancelled, job, pending = false, nil, true + local initial = Client.libraryAsync(params, 1, function(wire, err) + pending = false + if cancelled then return end + local data = wire and wire.data + if type(data) ~= "table" or type(data.categoryList) ~= "table" then cb(nil, err or _("响应无效")); return end + local categories, tags, selected = {}, { { -1, _("全部") } }, nil + for _idx, category in ipairs(data.categoryList) do + if type(category) ~= "table" or not tonumber(category.id) or type(category.name) ~= "string" then + cb(nil, _("响应无效")); return + end + categories[#categories + 1] = { tonumber(category.id), _(category.name) } + if tonumber(category.id) == params.category then selected = category end + end + if not selected or type(selected.labelClassList) ~= "table" then cb(nil, _("响应无效")); return end + local seen, found = {}, params.tag == -1 + for _idx, class in ipairs(selected.labelClassList) do + if type(class) ~= "table" then cb(nil, _("响应无效")); return end + local items = class.tagInfoList + if items == JSON_NULL then items = nil end + if items ~= nil and type(items) ~= "table" then + cb(nil, _("响应无效")); return + end + for _tag, tag in ipairs(items or {}) do + if type(tag) ~= "table" or not tonumber(tag.tagId) or type(tag.tagName) ~= "string" then + cb(nil, _("响应无效")); return + end + local id = tonumber(tag.tagId) + if id == params.tag then found = true end + if not seen[id] then tags[#tags + 1], seen[id] = { id, _(tag.tagName) }, true end + end + end + if not found then cb(nil, _("潇湘分类条件无效")); return end + local groups = { group(params, "category", _("分类"), categories) } + groups[1].chips[#groups[1].chips + 1] = { id = "rank", title = _("排行榜") } + if #tags > 1 then groups[#groups + 1] = group(params, "tag", _("标签"), tags) end + for _idx, filter in ipairs(FILTERS) do groups[#groups + 1] = group(params, filter.key, filter.title, filter.items) end + job = Browse.pages(function(index, done) + local function receive(result, reason) + local page_data = result and result.data + if type(page_data) ~= "table" or not tonumber(page_data.total) then + done(nil, reason or _("响应无效")); return + end + local books, failure = Mapper.books(page_data.bookList) + done(books, failure, index * 20 < tonumber(page_data.total)) + end + if index == 1 then receive(wire); return end + return Client.libraryAsync(params, index, receive) + end, opts.limit or 60, groups, cb) + end) + if pending then job = initial end + return { cancel = function() + cancelled = true + if job then job.cancel() end + end } +end + +return Library diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/client.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/client.lua new file mode 100644 index 0000000..3a45374 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/client.lua @@ -0,0 +1,440 @@ +--[[-- +潇湘书院 HTTP 客户端(仅异步)。 + +搜索、分类走新站 JSON;详情走电脑官网 SSR,目录、旧榜单走移动官网(m.xxsy.net,匿名可读)。 +账号、正文、书架、进度走新站 www.xxsypro.com 的 JSON 接口(阅文通行证,与起点同一套账号体系):请求带登录 Cookie +(ywGuid / ywKey 等)和同值的 csrfToken(Cookie 与 `_csrfToken` 查询参数),回包 code 0 为成功。 +匿名也能调,但书架是访客书架、没买的 VIP 章只回 130 字预览(auth=false),所以带登录态的操作先用 /user/auth/personal 确认 isLogin=1。 +书 / 章 id 是 17 位整数,超出 double 精度,解码前先加引号。目录页上千章、1MB+,解析放子进程。 + +@module koplugin.book.moonsource_xiaoxiang.client +--]] + +local Job = require("workers.job") +local logger = require("utils.log") +local Mapper = require("moonsource_xiaoxiang.mapper") +local Request = require("http.request") +local Text = require("utils.text") +local _ = require("l10n").get("moonsource_xiaoxiang") + +local Client = {} + +--- 已保存的登录 Cookie。 +---@return string|nil +function Client.cookie() + local cookie = require("utils.settings").getSource("ext.xiaoxiang").cookie + return type(cookie) == "string" and cookie ~= "" and cookie or nil +end + +local UA = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) " + .. "Version/16.0 Mobile/15E148 Safari/604.1" + +---@param url string +---@param cb fun(html: string|nil, err: string|nil) +---@return HttpJob +local function page(url, cb) + return Request.get(url, { + headers = { ["User-Agent"] = UA }, + timeout = require("http.timeout").net(1), + }, function(raw, err) + if not raw then cb(nil, err and tostring(err) or _("请求失败")); return end + cb(raw) + end) +end + +local SOURCE_ID = "ext.xiaoxiang" +local API = "https://www.xxsypro.com/api" + +--- 请求头里的 Cookie:没有 csrfToken 就补一个,网页端要求 Cookie 与 `_csrfToken` 同值。 +---@param cookie string|nil +---@return string cookie +---@return string csrf +local function withCsrf(cookie) + local csrf = cookie and cookie:match("csrfToken=([^;%s]+)") + if csrf then return cookie, csrf end + csrf = "moon" + return (cookie and cookie .. "; " or "") .. "csrfToken=" .. csrf, csrf +end + +--- 回包 JSON 解码(17 位 id 先加引号);code 非 0 取 msg 当错误。 +---@param raw string|nil +---@param err any +---@param cb fun(wire: table|nil, err: string|nil) +local function decode(raw, err, cb) + if not raw then cb(nil, err and tostring(err) or _("请求失败")); return end + local wire, reason = Mapper.decode(raw) + if not wire then cb(nil, reason); return end + if wire.code ~= 0 then cb(nil, wire.msg and tostring(wire.msg) or _("响应无效")); return end + cb(wire) +end + +--- 新站 JSON 接口;body 为 nil 发 GET,否则 POST(body 是已编码的 JSON 串)。 +---@param path string +---@param query string 不含 _csrfToken +---@param body string|nil +---@param cookie string|nil +---@param cb fun(wire: table|nil, err: string|nil) +---@return HttpJob +local function call(path, query, body, cookie, cb) + local cookie_header, csrf = withCsrf(cookie) + local url = API .. path .. "?" .. (query ~= "" and query .. "&" or "") .. "_csrfToken=" .. Text.urlEncode(csrf) + local opts = { + accept = "application/json", + headers = { Referer = "https://www.xxsypro.com/", ["User-Agent"] = UA }, + jar = require("http.cookie_jar").session(SOURCE_ID, cookie_header), + timeout = require("http.timeout").net(0.5), + cache_ttl = 0, + } + if body then + opts.content_type = "application/json" + return Request.post(url, body, opts, function(raw, err) decode(raw, err, cb) end) + end + return Request.get(url, opts, function(raw, err) decode(raw, err, cb) end) +end + +--- 账号信息:isLogin=1 才是真登录(失效的 Cookie 仍 code 0,只是 isLogin=0)。cookie 显式传入,登录入口先校验再保存。 +---@param cookie string +---@param cb fun(info: table|nil, err: string|nil, kind: "auth"|nil) +---@return HttpJob +function Client.userAsync(cookie, cb) + local cancelled = false + local job = call("/user/auth/personal", "", nil, cookie, function(wire, err) + if cancelled then return end + local data = wire and wire.data + if not wire then cb(nil, err); return end + if type(data) ~= "table" then cb(nil, _("响应无效")); return end + if tonumber(data.isLogin) == 0 then cb(nil, _("未登录潇湘"), "auth"); return end + if tonumber(data.isLogin) ~= 1 then cb(nil, _("响应无效")); return end + local guid = type(data.user) == "table" and data.user.guid + local id = type(guid) == "number" and guid % 1 == 0 and string.format("%.0f", guid) or guid + if type(id) ~= "string" or not id:match("^%d+$") or id:match("^0+$") then + cb(nil, _("潇湘账号标识缺失")); return + end + cb({ isLogin = 1, id = id }) + end) + return { cancel = function() + cancelled = true + if job then job:cancel() end + end } +end + +--- 同一 Cookie 校验通过后多久内不再问个人接口:每章翻页都报进度,次次先打一遍个人接口是双倍请求。 +Client.AUTH_TTL = 10 * 60 +---@type { cookie: string|nil, at: integer } 最近一次通过校验的 Cookie 与时刻 +local verified = { cookie = nil, at = 0 } + +--- 带登录态的调用:先确认 isLogin=1(AUTH_TTL 内同一 Cookie 只确认一次),失效就标记登出,免得访客书架被当成真实书架。 +---@param path string +---@param query string +---@param body string|nil +---@param cb fun(wire: table|nil, err: string|nil) +---@return { cancel: fun() } +local function authed(path, query, body, cb) + local cookie = Client.cookie() + if not cookie then return require("source.base").defer(cb, nil, _("未登录潇湘")) end + local cancelled, job = false, nil + local function done(wire, err) + if cancelled then return end + if Client.cookie() ~= cookie then cb(nil, _("账号已变化,请重新登录")); return end + cb(wire, err) + end + if cookie and cookie == verified.cookie and os.time() - verified.at < Client.AUTH_TTL then + job = call(path, query, body, cookie, done) + else + local pending = true + local check = Client.userAsync(cookie, function(info, err, kind) + pending = false + if cancelled then return end + if Client.cookie() ~= cookie then done(nil); return end + if not info then + if kind == "auth" then + verified.cookie = nil + err = require("source.auth").expire(SOURCE_ID, + _("潇湘登录已失效,请点「重新登录」,用 QQ阅读或起点 App 扫码。也可在账号设置里粘贴 Cookie。")) + end + done(nil, err) + return + end + verified.cookie, verified.at = cookie, os.time() + require("source.auth").ok(SOURCE_ID) + job = call(path, query, body, cookie, done) + end) + if pending then job = check end + end + return { cancel = function() + cancelled = true + if job then job:cancel() end + end } +end + +--- 书架(只收根目录的书,resType 1),翻页收齐。 +---@param cb fun(rows: table[]|nil, err: string|nil) +---@return { cancel: fun() } +function Client.shelfAsync(cb) + ---@type table[], boolean, CancelHandle|nil + local rows, cancelled, job = {}, false, nil + local cookie = Client.cookie() + local function more(page) + local pending = true + local request = authed("/bookshelf/pc/page", "pageIndex=" .. page .. "&pageSize=20", nil, function(wire, err) + pending = false + if cancelled then return end + if Client.cookie() ~= cookie then cb(nil, _("账号已变化,请重新登录")); return end + local data = wire and wire.data + if type(data) ~= "table" or type(data.data) ~= "table" or not tonumber(data.pageCount) then + cb(nil, err or _("响应无效")); return + end + for _idx, row in ipairs(data.data) do + if type(row) ~= "table" then cb(nil, _("响应无效")); return end + if tonumber(row.restype) == 1 and tonumber(row.groupId) == -100 then + if type(row.bookid) ~= "string" or not row.bookid:match("^%d+$") then + cb(nil, _("响应无效")); return + end + rows[#rows + 1] = row + end + end + if page < (tonumber(data.pageCount) or 0) then + more(page + 1) + return + end + cb(rows) + end) + if pending then job = request end + end + more(1) + return { cancel = function() + cancelled = true + if job then job:cancel() end + end } +end + +---@param book_id string +---@return string +local function shelfBody(book_id, extra) + return '{"groupInfo":[{"groupId":-100,"books":[{"bookId":"' .. book_id .. '","resType":1' .. extra .. "}]}]}" +end + +--- 成功码不够:回读根书架,确认成员或章节确实收敛后才让调用方清脏行。 +local function confirmShelf(path, query, body, book_id, expected, cb) + local cancelled, job, pending = false, nil, true + local initial = authed(path, query, body, function(wire, err) + pending = false + if cancelled then return end + if not wire then cb(nil, err); return end + job = Client.shelfAsync(function(rows, reason) + if cancelled then return end + if not rows then cb(nil, reason); return end + local matched + for _idx, row in ipairs(rows) do if tostring(row.bookid) == book_id then matched = row end end + local confirmed = expected == false and not matched + or expected == true and matched ~= nil + or type(expected) == "string" and matched and tostring(matched.ccid) == expected + if not confirmed then cb(nil, _("潇湘远端状态未更新,请稍后重试")); return end + cb(wire) + end) + end) + if pending then job = initial end + return { cancel = function() + cancelled = true + if job then job:cancel() end + end } +end + +---@param book_id string +---@param cb fun(wire: table|nil, err: string|nil) +---@return { cancel: fun() } +function Client.shelfAddAsync(book_id, cb) + return confirmShelf("/bookshelf/add", "", + shelfBody(book_id, ',"ccid":"0","offset":0,"updatetime":' .. os.time() * 1000), book_id, true, cb) +end + +---@param book_id string +---@param cb fun(wire: table|nil, err: string|nil) +---@return { cancel: fun() } +function Client.shelfRemoveAsync(book_id, cb) + return confirmShelf("/bookshelf/delete", "", shelfBody(book_id, ""), book_id, false, cb) +end + +--- 记「读到这一章」:书架行的 ccid 就是它。 +---@param book_id string +---@param chapter_id string +---@param cb fun(wire: table|nil, err: string|nil) +---@return { cancel: fun() } +function Client.progressAsync(book_id, chapter_id, cb) + return confirmShelf("/bookshelf/readingProcess/add", "bookId=" .. book_id, '{"books":[{"resType":1,"bookId":"' .. book_id + .. '","updatetime":' .. os.time() * 1000 .. ',"ccid":"' .. chapter_id .. '","offset":0}]}', book_id, chapter_id, cb) +end + +---@param keyword string +---@param cb fun(books: Book[]|nil, err: string|nil) +---@return { cancel: fun() } +function Client.searchAsync(keyword, cb) + return require("source.browse").pages(function(index, done) + return call("/xxsy/bookstore/web/search", "key=" .. Text.urlEncode(keyword) + .. "&start=" .. (index - 1) * 20 .. "&n=20", nil, nil, function(wire, err) + local data = wire and type(wire.data) == "table" and wire.data.searchData + if type(data) ~= "table" or not tonumber(data.total) then done(nil, err or _("响应无效")); return end + local books, reason = Mapper.books(data.cardList) + done(books, reason, index * 20 < tonumber(data.total)) + end) + end, 60, {}, function(result, err) + cb(result and result.data, err) + end) +end + +function Client.libraryAsync(params, index, cb) + local tag = params.tag + local filters = { tag, params.state, params.charge, params.update, params.words, params.order } + return call("/xxsy/bookstore/library/v1/web/search", + "action=" .. (tag == -1 and "category" or "tag") .. "&categoryid=" .. params.category + .. "&actionTag=" .. Text.urlEncode(table.concat(filters, ",")) + .. "&start=" .. (index - 1) * 20 .. "&n=20", nil, nil, cb) +end + +function Client.detailAsync(book_id, cb) + return page("https://www.xxsypro.com/book/" .. book_id, function(html, err) + if not html then cb(nil, err); return end + local book, reason = Mapper.detail(html) + if book and book.stable_id ~= book_id then cb(nil, _("响应无效")); return end + cb(book, reason) + end) +end + +--- 榜单页(一页 20 本);name 是手机站 /rank/。 +---@param name string +---@param cb fun(books: Book[]|nil, err: string|nil) +---@param title string|nil SSR 栏目名,旧调用不传时仍解析 HTML +---@return HttpJob +function Client.rankAsync(name, cb, title) + return page("https://m.xxsy.net/rank/" .. name, function(html, err) + if not html then cb(nil, err); return end + cb(Mapper.rank(html, title)) + end) +end + +--- 取页面并在子进程里按 parse 解析;parse 返回 nil 以外的值都算成功。 +---@param url string +---@param name string +---@param parse fun(html: string): any, string|nil +---@param cb fun(value: any, err: string|nil, kind: string|nil) +---@return { cancel: fun() } +local function parsed(url, name, parse, cb) + ---@type boolean, CancelHandle|nil + local cancelled, job = false, nil + local pending = true + local request = page(url, function(html, err) + pending = false + if cancelled then return end + if not html then cb(nil, err); return end + job = Job.run(function() + local value, reason = parse(html) + return { value = value, err = reason } + end, { + name = name, + kind = "light", + timeout = 60, + on_done = function(res) + if cancelled then return end + cb(res.value, res.err) + end, + on_failed = function(reason) if not cancelled then cb(nil, tostring(reason)) end end, + on_cancelled = function() end, + }) + end) + if pending then job = request end + return { cancel = function() + cancelled = true + if job then job:cancel() end + end } +end + +---@param book_id string +---@param cb fun(toc: BookChapter[]|nil, err: string|nil) +---@return { cancel: fun() } +function Client.chaptersAsync(book_id, cb) + return parsed("https://m.xxsy.net/books/" .. book_id .. ".html", "xiaoxiang_toc", Mapper.toc, cb) +end + +--- 一章正文(纯文本,段落以换行分隔)。免费章匿名可读;没买的 VIP 章只回预览(auth=false),报 "unpaid"。 +---@param book_id string +---@param chapter_id string +---@param cb fun(text: string|nil, err: string|nil, kind: "unpaid"|nil) +---@return table handle { cancel } +function Client.contentAsync(book_id, chapter_id, cb) + local current, cancelled = nil, false + local cookie = Client.cookie() + local function done(text, err, kind) + if cancelled then return end + if Client.cookie() ~= cookie then cb(nil, _("账号已变化,请重新登录")); return end + cb(text, err, kind) + end + -- 已购 VIP 章是 Fock 加密 + 乱序字体:fkp 是 `window.onkeyfocus("<密钥池>", <版本>)` 的 base64(只取参数不执行),用户密钥是 Cookie 的 ywGuid + local function decrypt(chapter) + local keypool, version = Text.base64Decode(tostring(chapter.fkp or "")) + :match('onkeyfocus%("([^"]+)",%s*(%d+)%)') + local uid = (cookie or ""):lower():match("ywguid=(%d+)") + local font = type(chapter.fontResponse) == "table" and chapter.fontResponse or {} + if not (keypool and version and uid and type(chapter.chapterContent) == "string") then + logger.warn("xiaoxiang decrypt inputs missing: keypool", keypool ~= nil, "version", version ~= nil, + "uid", uid ~= nil, "content", type(chapter.chapterContent)) + done(nil, _("潇湘章节解密失败")); return + end + local function run(fixed_font) + local pending = true + local job = require("moonsource_xiaoxiang.fock").chapterAsync(chapter, fixed_font, chapter_id, keypool, version, + uid, function(text, derr) + pending = false + if cancelled then return end + current = nil + if not text then + logger.warn("xiaoxiang fock decrypt failed:", derr) + done(nil, _("潇湘章节解密失败")); return + end + done(text) + end) + if pending then current = job end + end + if chapter.font ~= true then run(nil); return end + if type(font.fixedFontTtf) ~= "string" then + logger.warn("xiaoxiang decrypt: fixedFontTtf missing") + done(nil, _("潇湘章节解密失败")); return + end + local pending = true + local request = Request.get(font.fixedFontTtf, { timeout = require("http.timeout").net(1) }, function(ttf, ferr) + pending = false + if cancelled then return end + if Client.cookie() ~= cookie then done(nil); return end + if not ttf then done(nil, ferr and tostring(ferr) or _("请求失败")); return end + if not require("moonsource_xiaoxiang.yuewen_fonts").looksLikeFont(ttf) then + logger.warn("xiaoxiang font download invalid:", #ttf, tostring(ttf:sub(1, 16))) + done(nil, _("潇湘章节解密失败")); return + end + run(ttf) + end) + if pending then current = request end + end + local pending = true + local request = call("/book/auth/download/v2/chapters", "", + '{"cbid":"' .. book_id .. '","ccids":["' .. chapter_id .. '"]}', cookie, function(wire, err) + pending = false + if cancelled then return end + if Client.cookie() ~= cookie then done(nil); return end + if not wire then done(nil, err); return end + local contents = type(wire.data) == "table" and wire.data.chapterContents + local chapter = type(contents) == "table" and contents[1] + if type(chapter) ~= "table" or tostring(chapter.ccid) ~= chapter_id then + done(nil, _("响应无效")); return + end + local text, kind, chapter = Mapper.content(wire) + if text then done(text); return end + if kind == "encrypted" then decrypt(chapter); return end + done(nil, (not kind) and _("潇湘章节内容为空") or nil, kind --[[@as "unpaid"|nil]]) + end) + if pending then current = request end + return { cancel = function() + cancelled = true + if current then current:cancel() end + end } +end + +return Client diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/fock.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/fock.lua new file mode 100644 index 0000000..7bb71e8 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/fock.lua @@ -0,0 +1,59 @@ +--[[-- +潇湘 VIP 章节正文解密(Fock):阅文 wasm 的潇湘构建参数 + 子进程编排,宿主在 `moonsource_xiaoxiang.yuewen_fock`。 +网页端用它解密 `chapterContents[].chapterContent`。 + +@module moonsource_xiaoxiang.fock +--]]-- + +local Shared = require("moonsource_xiaoxiang.yuewen_fock") + +local Fock = {} + +local HOST = { + ["location.hostname"] = "www.xxsypro.com", + ["location.protocol"] = "https:", +} + +---@type YuewenFockBuild +local BUILD = { + wasm = "moonsource_xiaoxiang.fock_wasm", + callback = 22353, + stack = 5274656, + exports = { ctors = "g", main = "l", set_uid = "h", set_key = "i", decrypt = "j", + stack_save = "m", stack_restore = "n", alloc = "o", malloc = "p" }, + -- 其余是反调试 / 定时器探测:返回 -1(那几个会返回 indexOf 结果)或 0 + probe = function(code) return code % 709 == 151 and -1 or 0 end, + imports = function(env) + return { + f = function() return 0 end, + c = function(a, b) return env.malloc_str(HOST[env.cstr(a) .. "." .. env.cstr(b)] or "undefined") end, + e = function() return env.malloc_str("undefined") end, + } + end, +} + +---@param content string base64 密文 +---@param chapter_id string|number +---@param keypool string base64 密钥池(fkp 里 onkeyfocus 的第一个参数) +---@param version string +---@param uid string 用户 ywGuid +---@return string|nil text +---@return string|nil err +function Fock.decrypt(content, chapter_id, keypool, version, uid) + return Shared.decrypt(BUILD, content, chapter_id, keypool, version, uid) +end + +--- 在子进程里解密并还原乱序字体,回调拿正文纯文本或错误。 +---@param info table chapterContents 的一项(chapterContent、fontResponse) +---@param fixed_font string|nil fontResponse.fixedFontTtf 下载下来的字节;没有字体加密的章为 nil +---@return BookJob +function Fock.chapterAsync(info, fixed_font, chapter_id, keypool, version, uid, cb) + return Shared.jobAsync("xiaoxiang_fock", function(temp_paths) + local plain, err = Fock.decrypt(info.chapterContent, chapter_id, keypool, version, uid) + if not plain then return { err = err } end + local font = type(info.fontResponse) == "table" and info.fontResponse or {} + return { text = require("moonsource_xiaoxiang.yuewen_fonts").restore(plain, font, fixed_font, { temp_paths = temp_paths }) } + end, cb) +end + +return Fock diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/fock_wasm.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/fock_wasm.lua new file mode 100644 index 0000000..3ca6b9a --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/fock_wasm.lua @@ -0,0 +1,14766 @@ +-- 由 tools/gen_fock.js 从起点 / QQ阅读的 Fock(wasm2js)转译生成,勿手改。 +-- 运行环境见 fock.lua;env = { mem = ffi uint8_t*, imp = { b, c, d, e, f, abort } }。 +local bit = require("bit") +local ffi = require("ffi") +local tobit, band, bor, bxor, bnot = bit.tobit, bit.band, bit.bor, bit.bxor, bit.bnot +local lshift, rshift, arshift = bit.lshift, bit.rshift, bit.arshift +local fmod = math.fmod + +local function toint(x) + return tobit(x >= 0 and math.floor(x) or -math.floor(-x)) +end + +local function imul(a, b) + a, b = tobit(a), tobit(b) + return tobit(band(a, 65535) * b + lshift(tobit(rshift(a, 16) * b), 16)) +end + +local function clz32(x) + x = tobit(x) + if x == 0 then return 32 end + if x < 0 then return 0 end + local n = 0 + while x > 0 do x = lshift(x, 1); n = n + 1 end + return n +end + +return function(env) +local mem = env.mem +local abort, imp_b, imp_c, imp_d, imp_e, imp_f = env.imp.abort, env.imp.b, env.imp.c, env.imp.d, env.imp.e, env.imp.f +local I8, I16, I32 = ffi.cast("int8_t*", mem), ffi.cast("int16_t*", mem), ffi.cast("int32_t*", mem) +local U8, U16, U32 = ffi.cast("uint8_t*", mem), ffi.cast("uint16_t*", mem), ffi.cast("uint32_t*", mem) +local F64 = ffi.cast("double*", mem) +local B, Iv = 5274656, 0 +local scratch = ffi.new("int32_t[4]") +local scratch_f = ffi.cast("double*", scratch) +local function rf_a(i) return scratch[i] end +local function rf_u(i, v) scratch[i] = v end +local function rf_c() return scratch_f[0] end +local function rf_s(v) scratch_f[0] = v end +local F = {} +local UA = { [0] = false } +local YA = UA + +F.fm = function(v_A) +local v_r, v_e, v_n, v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_v, v_g = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_e = 0 +v_n = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_v = 0 +v_g = 0 +v_r = tobit((B - 16)) +B = v_r +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +v_A = tobit(v_A) +if ((tobit(v_A) % 4294967296) <= 244) then +do +do +v_a = I32[5597] +local t1 = v_a +v_s = (((tobit(v_A) % 4294967296) < 11) and 16 or band((v_A + 11), (-8))) +v_n = tobit((rshift(v_s, 3) % 4294967296)) +v_e = tobit((rshift(t1, v_n) % 4294967296)) +if (band(3, v_e) ~= 0) then +do +do +v_t = tobit((v_n + band(1, bxor((-1), v_e)))) +v_e = lshift(v_t, 3) +v_o = I32[arshift((22436 + v_e), 2)] +v_A = tobit((v_o + 8)) +v_n = I32[arshift((v_o + 8), 2)] +local t2 = bor(0, v_n) +v_e = tobit((v_e + 22428)) +if (t2 ~= bor(0, v_e)) then +I32[arshift((v_n + 12), 2)] = tobit(v_e) +I32[arshift((v_e + 8), 2)] = tobit(v_n) +else +I32[5597] = tobit(band(F.fPA((-2), v_t), v_a)) +end +v_e = lshift(v_t, 3) +I32[arshift((v_o + 4), 2)] = tobit(bor(3, v_e)) +v_e = tobit((v_e + v_o)) +I32[arshift((4 + v_e), 2)] = tobit(bor(1, I32[arshift((v_e + 4), 2)])) +end +goto L1 +end +end +end +v_v = I32[5599] +if ((tobit(v_v) % 4294967296) >= (tobit(v_s) % 4294967296)) then +goto L12 +end +do +if (v_e ~= 0) then +do +do +v_A = lshift(2, v_n) +v_A = band(bor((0 - v_A), v_A), lshift(v_e, v_n)) +v_e = tobit((band((0 - v_A), v_A) - 1)) +v_A = band((rshift(v_e, 12) % 4294967296), 16) +v_n = v_A +local t3 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 5) % 4294967296), 8) +v_n = bor(t3, v_A) +local t4 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 2) % 4294967296), 4) +v_n = bor(t4, v_A) +local t5 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 1) % 4294967296), 2) +v_n = bor(t5, v_A) +local t6 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 1) % 4294967296), 1) +v_n = tobit((bor(t6, v_A) + tobit((rshift(v_e, v_A) % 4294967296)))) +v_A = lshift(v_n, 3) +v_u = I32[arshift((22436 + v_A), 2)] +v_e = I32[arshift((v_u + 8), 2)] +local t7 = bor(0, v_e) +v_A = tobit((v_A + 22428)) +if (t7 ~= bor(0, v_A)) then +I32[arshift((v_e + 12), 2)] = tobit(v_A) +I32[arshift((v_A + 8), 2)] = tobit(v_e) +else +v_a = band(F.fPA((-2), v_n), v_a) +I32[5597] = tobit(v_a) +end +v_A = tobit((v_u + 8)) +I32[arshift((v_u + 4), 2)] = tobit(bor(3, v_s)) +v_e = lshift(v_n, 3) +v_o = tobit((v_e - v_s)) +v_t = tobit((v_u + v_s)) +I32[arshift((4 + v_t), 2)] = tobit(bor(1, v_o)) +I32[arshift((v_e + v_u), 2)] = tobit(v_o) +if (v_v ~= 0) then +v_e = tobit((rshift(v_v, 3) % 4294967296)) +v_n = tobit((22428 + lshift(v_e, 3))) +v_u = I32[5602] +v_e = lshift(1, v_e) +if (band(v_e, v_a) ~= 0) then +v_e = I32[arshift((v_n + 8), 2)] +else +I32[5597] = tobit(bor(v_e, v_a)) +v_e = v_n +end +I32[arshift((v_n + 8), 2)] = tobit(v_u) +I32[arshift((v_e + 12), 2)] = tobit(v_u) +I32[arshift((v_u + 12), 2)] = tobit(v_n) +I32[arshift((v_u + 8), 2)] = tobit(v_e) +end +I32[5602] = tobit(v_t) +I32[5599] = tobit(v_o) +end +goto L1 +end +end +end +v_c = I32[5598] +if (not (v_c ~= 0)) then +goto L12 +end +do +do +do +v_e = tobit((band(v_c, (0 - v_c)) - 1)) +v_A = band((rshift(v_e, 12) % 4294967296), 16) +v_n = v_A +local t8 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 5) % 4294967296), 8) +v_n = bor(t8, v_A) +local t9 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 2) % 4294967296), 4) +v_n = bor(t9, v_A) +local t10 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 1) % 4294967296), 2) +v_n = bor(t10, v_A) +local t11 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 1) % 4294967296), 1) +v_e = I32[arshift((22692 + lshift((bor(t11, v_A) + tobit((rshift(v_e, v_A) % 4294967296))), 2)), 2)] +v_t = tobit((band((-8), I32[arshift((v_e + 4), 2)]) - v_s)) +v_n = v_e +end +while true do +do +v_A = I32[arshift((v_n + 16), 2)] +local t12 = (v_A ~= 0) +if not t12 then +v_A = I32[arshift((v_n + 20), 2)] +t12 = (v_A ~= 0) +end +if not t12 then goto B13 end +end +do +v_n = tobit((band((-8), I32[arshift((v_A + 4), 2)]) - v_s)) +v_o = (((tobit(v_n) % 4294967296) < (tobit(v_t) % 4294967296)) and 1 or 0) +v_t = ((v_o ~= 0) and v_n or v_t) +v_e = ((v_o ~= 0) and v_A or v_e) +v_n = v_A +end +::C13:: +end +end +::B13:: +end +v_l = tobit((v_e + v_s)) +if ((tobit(v_l) % 4294967296) <= (tobit(v_e) % 4294967296)) then +goto L11 +end +v_g = I32[arshift((v_e + 24), 2)] +v_o = I32[arshift((v_e + 12), 2)] +if (bor(0, v_o) ~= bor(0, v_e)) then +v_A = I32[arshift((v_e + 8), 2)] +I32[arshift((v_A + 12), 2)] = tobit(v_o) +I32[arshift((v_o + 8), 2)] = tobit(v_A) +goto L2 +end +v_n = tobit((v_e + 20)) +v_A = I32[arshift(v_n, 2)] +if (not (v_A ~= 0)) then +v_A = I32[arshift((v_e + 16), 2)] +if (not (v_A ~= 0)) then +goto L10 +end +v_n = tobit((v_e + 16)) +end +do +do +while true do +do +v_u = v_n +v_o = v_A +v_n = tobit((v_A + 20)) +v_A = I32[arshift(v_n, 2)] +local t13 = v_A +if t13 == 0 then +v_n = tobit((v_o + 16)) +v_A = I32[arshift((v_o + 16), 2)] +t13 = v_A +end +if not (t13 ~= 0) then goto B14 end +end +do +end +::C14:: +end +end +::B14:: +end +I32[arshift(v_u, 2)] = tobit(0) +goto L2 +end +end +end +do +v_s = (-1) +local t14 = ((not ((tobit(v_A) % 4294967296) > 4294967231)) and 1 or 0) +if t14 ~= 0 then +local t15 = (-8) +v_A = tobit((v_A + 11)) +v_s = band(t15, v_A) +v_l = I32[5598] +t14 = v_l +end +if (t14 ~= 0) then +do +do +v_t = tobit((0 - v_s)) +v_a = 0 +if not ((tobit(v_s) % 4294967296) < 256) then +v_a = 31 +if not ((tobit(v_s) % 4294967296) > 16777215) then +v_A = tobit((rshift(v_A, 8) % 4294967296)) +local t16 = v_A +v_u = band((rshift((v_A + 1048320), 16) % 4294967296), 8) +v_A = lshift(t16, v_u) +local t17 = v_A +v_n = band((rshift((v_A + 520192), 16) % 4294967296), 4) +v_A = lshift(t17, v_n) +local t18 = v_A +v_e = band((rshift((v_A + 245760), 16) % 4294967296), 2) +v_A = tobit((tobit((rshift(lshift(t18, v_e), 15) % 4294967296)) - bor(bor(v_e, v_n), v_u))) +v_a = tobit((28 + bor(lshift(v_A, 1), band((rshift(v_s, (v_A + 21)) % 4294967296), 1)))) +end +end +end +do +do +do +do +do +do +do +v_n = I32[arshift((22692 + lshift(v_a, 2)), 2)] +if (v_n ~= 0) then +do +do +v_A = 0 +v_e = lshift(v_s, ((31 == bor(0, v_a)) and 0 or tobit((25 - tobit((rshift(v_a, 1) % 4294967296)))))) +while true do +do +do +do +v_u = tobit((band((-8), I32[arshift((v_n + 4), 2)]) - v_s)) +local t19 = (((tobit(v_u) % 4294967296) >= (tobit(v_t) % 4294967296)) and 1 or 0) +if t19 == 0 then +v_o = v_n +v_t = v_u +t19 = v_t +end +if (not (t19 ~= 0)) then +v_t = 0 +v_A = v_n +goto L16 +end +end +v_u = I32[arshift((v_n + 20), 2)] +v_n = I32[arshift((16 + tobit((band((rshift(v_e, 29) % 4294967296), 4) + v_n))), 2)] +v_A = ((v_u ~= 0) and ((bor(0, v_u) == bor(0, v_n)) and v_A or v_u) or v_A) +v_e = lshift(v_e, 1) +if (not (v_n ~= 0)) then +goto B17 +end +end +end +::C17:: +end +end +::B17:: +end +else +v_A = 0 +end +end +do +if (not (bor(v_A, v_o) ~= 0)) then +do +v_o = 0 +v_A = lshift(2, v_a) +v_A = band(bor((0 - v_A), v_A), v_l) +if (not (v_A ~= 0)) then +goto L12 +end +do +v_e = tobit((band(v_A, (0 - v_A)) - 1)) +v_A = band((rshift(v_e, 12) % 4294967296), 16) +v_n = v_A +local t20 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 5) % 4294967296), 8) +v_n = bor(t20, v_A) +local t21 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 2) % 4294967296), 4) +v_n = bor(t21, v_A) +local t22 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 1) % 4294967296), 2) +v_n = bor(t22, v_A) +local t23 = v_n +v_e = tobit((rshift(v_e, v_A) % 4294967296)) +v_A = band((rshift(v_e, 1) % 4294967296), 1) +v_A = I32[arshift((22692 + lshift((bor(t23, v_A) + tobit((rshift(v_e, v_A) % 4294967296))), 2)), 2)] +end +end +end +end +if (not (v_A ~= 0)) then +goto L15 +end +end +end +::L16:: +end +do +do +while true do +do +v_e = tobit((band((-8), I32[arshift((v_A + 4), 2)]) - v_s)) +v_n = (((tobit(v_e) % 4294967296) < (tobit(v_t) % 4294967296)) and 1 or 0) +v_t = ((v_n ~= 0) and v_e or v_t) +v_o = ((v_n ~= 0) and v_A or v_o) +v_e = I32[arshift((v_A + 16), 2)] +local t24 = v_e +if t24 == 0 then +t24 = I32[arshift((v_A + 20), 2)] +end +v_A = t24 +if not (v_A ~= 0) then goto B18 end +end +do +end +::C18:: +end +end +::B18:: +end +end +end +::L15:: +end +do +if (not (bor(((not (v_o ~= 0)) and 1 or 0), (((tobit((I32[5599] - v_s)) % 4294967296) <= (tobit(v_t) % 4294967296)) and 1 or 0)) ~= 0)) then +do +v_c = tobit((v_o + v_s)) +if ((tobit(v_c) % 4294967296) <= (tobit(v_o) % 4294967296)) then +goto L11 +end +do +v_a = I32[arshift((v_o + 24), 2)] +local t25 = bor(0, v_o) +v_e = I32[arshift((v_o + 12), 2)] +if (t25 ~= bor(0, v_e)) then +v_A = I32[arshift((v_o + 8), 2)] +I32[arshift((v_A + 12), 2)] = tobit(v_e) +I32[arshift((v_e + 8), 2)] = tobit(v_A) +goto L3 +end +end +v_n = tobit((v_o + 20)) +v_A = I32[arshift(v_n, 2)] +if (not (v_A ~= 0)) then +v_A = I32[arshift((v_o + 16), 2)] +if (not (v_A ~= 0)) then +goto L9 +end +v_n = tobit((v_o + 16)) +end +do +do +while true do +do +v_u = v_n +v_e = v_A +v_n = tobit((v_A + 20)) +v_A = I32[arshift(v_n, 2)] +local t26 = v_A +if t26 == 0 then +v_n = tobit((v_e + 16)) +v_A = I32[arshift((v_e + 16), 2)] +t26 = v_A +end +if not (t26 ~= 0) then goto B19 end +end +do +end +::C19:: +end +end +::B19:: +end +I32[arshift(v_u, 2)] = tobit(0) +goto L3 +end +end +end +end +end +end +end +end +::L12:: +end +v_n = I32[5599] +if ((tobit(v_n) % 4294967296) >= (tobit(v_s) % 4294967296)) then +v_t = I32[5602] +v_e = tobit((v_n - v_s)) +if ((tobit(v_e) % 4294967296) >= 16) then +I32[5599] = tobit(v_e) +v_A = tobit((v_t + v_s)) +I32[5602] = tobit(v_A) +I32[arshift((v_A + 4), 2)] = tobit(bor(1, v_e)) +I32[arshift((v_n + v_t), 2)] = tobit(v_e) +I32[arshift((v_t + 4), 2)] = tobit(bor(3, v_s)) +else +I32[5602] = tobit(0) +I32[5599] = tobit(0) +I32[arshift((v_t + 4), 2)] = tobit(bor(3, v_n)) +v_A = tobit((v_n + v_t)) +I32[arshift((4 + v_A), 2)] = tobit(bor(1, I32[arshift((v_A + 4), 2)])) +end +v_A = tobit((v_t + 8)) +goto L1 +end +v_c = I32[5600] +if ((tobit(v_c) % 4294967296) > (tobit(v_s) % 4294967296)) then +v_e = tobit((v_c - v_s)) +I32[5600] = tobit(v_e) +v_n = I32[5603] +v_A = tobit((v_n + v_s)) +I32[5603] = tobit(v_A) +I32[arshift((v_A + 4), 2)] = tobit(bor(1, v_e)) +I32[arshift((v_n + 4), 2)] = tobit(bor(3, v_s)) +v_A = tobit((v_n + 8)) +goto L1 +end +do +v_A = 0 +v_l = tobit((v_s + 47)) +v_e = v_l +if (I32[5715] ~= 0) then +v_n = I32[5717] +else +I32[5718] = tobit((-1)) +I32[5719] = tobit((-1)) +I32[5716] = tobit(4096) +I32[5717] = tobit(4096) +I32[5715] = tobit(bxor(band((v_r + 12), (-16)), 1431655768)) +I32[5720] = tobit(0) +I32[5708] = tobit(0) +v_n = 4096 +end +v_u = tobit((v_e + v_n)) +local t27 = v_u +v_o = tobit((0 - v_n)) +v_n = band(t27, v_o) +if ((tobit(v_n) % 4294967296) <= (tobit(v_s) % 4294967296)) then +goto L1 +end +end +do +v_t = I32[5707] +local t29 = (v_t ~= 0) +if t29 then +local t28 = (tobit(v_t) % 4294967296) +v_e = I32[5705] +v_a = tobit((v_e + v_n)) +t29 = (bor(((t28 < (tobit(v_a) % 4294967296)) and 1 or 0), (((tobit(v_e) % 4294967296) >= (tobit(v_a) % 4294967296)) and 1 or 0)) ~= 0) +end +if t29 then +goto L1 +end +end +if (band(4, U8[22832]) ~= 0) then +goto L6 +end +do +do +do +do +do +do +do +v_t = I32[5603] +if (v_t ~= 0) then +do +do +v_A = 22836 +while true do +do +do +do +local t30 = (tobit(v_t) % 4294967296) +v_e = I32[arshift(v_A, 2)] +if ((t30 < (tobit((v_e + I32[arshift((v_A + 4), 2)])) % 4294967296)) and ((tobit(v_e) % 4294967296) <= (tobit(v_t) % 4294967296))) then +goto L21 +end +end +v_A = I32[arshift((v_A + 8), 2)] +if (not (v_A ~= 0)) then +goto B22 +end +end +end +::C22:: +end +end +::B22:: +end +end +end +do +local t31 = (-1) +v_e = F.fmA(0) +if (t31 == bor(0, v_e)) then +goto L7 +end +end +v_a = v_n +v_t = I32[5716] +v_A = tobit((v_t - 1)) +if (band(v_A, v_e) ~= 0) then +v_a = tobit((tobit((v_n - v_e)) + band((v_A + v_e), (0 - v_t)))) +end +if (bor((((tobit(v_a) % 4294967296) <= (tobit(v_s) % 4294967296)) and 1 or 0), (((tobit(v_a) % 4294967296) > 2147483646) and 1 or 0)) ~= 0) then +goto L7 +end +do +v_t = I32[5707] +local t33 = (v_t ~= 0) +if t33 then +local t32 = (tobit(v_t) % 4294967296) +v_A = I32[5705] +v_o = tobit((v_A + v_a)) +t33 = (bor(((t32 < (tobit(v_o) % 4294967296)) and 1 or 0), (((tobit(v_A) % 4294967296) >= (tobit(v_o) % 4294967296)) and 1 or 0)) ~= 0) +end +if t33 then +goto L7 +end +end +do +local t34 = bor(0, v_e) +v_A = F.fmA(v_a) +if (t34 ~= bor(0, v_A)) then +goto L20 +end +end +goto L5 +end +end +::L21:: +end +v_a = band(v_o, (v_u - v_c)) +if ((tobit(v_a) % 4294967296) > 2147483646) then +goto L7 +end +v_e = F.fmA(v_a) +if (bor(0, v_e) == tobit((I32[arshift(v_A, 2)] + I32[arshift((v_A + 4), 2)]))) then +goto L8 +end +v_A = v_e +end +end +::L20:: +end +if (not (bor((((-1) == bor(0, v_A)) and 1 or 0), (((tobit((v_s + 48)) % 4294967296) <= (tobit(v_a) % 4294967296)) and 1 or 0)) ~= 0)) then +v_e = I32[5717] +v_e = band((v_e + tobit((v_l - v_a))), (0 - v_e)) +if ((tobit(v_e) % 4294967296) > 2147483646) then +v_e = v_A +goto L5 +end +if ((-1) ~= bor(0, F.fmA(v_e))) then +v_a = tobit((v_e + v_a)) +v_e = v_A +goto L5 +end +F.fmA(tobit((0 - v_a))) +goto L7 +end +v_e = v_A +if ((-1) ~= bor(0, v_A)) then +goto L5 +end +goto L7 +end +end +::L11:: +end +abort() +end +end +::L10:: +end +v_o = 0 +goto L2 +end +end +::L9:: +end +v_e = 0 +goto L3 +end +end +::L8:: +end +if ((-1) ~= bor(0, v_e)) then +goto L5 +end +end +end +::L7:: +end +I32[5708] = tobit(bor(4, I32[5708])) +end +end +::L6:: +end +if ((tobit(v_n) % 4294967296) > 2147483646) then +goto L4 +end +do +local t35 = (-1) +v_e = F.fmA(v_n) +local t37 = (t35 == bor(0, v_e)) +local t36 = (-1) +v_A = F.fmA(0) +if (bor(bor((t37 and 1 or 0), ((t36 == bor(0, v_A)) and 1 or 0)), (((tobit(v_A) % 4294967296) <= (tobit(v_e) % 4294967296)) and 1 or 0)) ~= 0) then +goto L4 +end +end +v_a = tobit((v_A - v_e)) +if ((tobit(v_a) % 4294967296) <= (tobit((v_s + 40)) % 4294967296)) then +goto L4 +end +end +end +::L5:: +end +v_A = tobit((I32[5705] + v_a)) +I32[5705] = tobit(v_A) +if ((tobit(v_A) % 4294967296) > U32[5706]) then +I32[5706] = tobit(v_A) +end +do +do +do +do +do +do +do +do +do +do +v_u = I32[5603] +if (v_u ~= 0) then +do +do +do +v_A = 22836 +while true do +do +do +do +v_t = I32[arshift(v_A, 2)] +local t38 = v_t +v_n = I32[arshift((v_A + 4), 2)] +if (tobit((t38 + v_n)) == bor(0, v_e)) then +goto L25 +end +end +v_A = I32[arshift((v_A + 8), 2)] +if (not (v_A ~= 0)) then +goto B26 +end +end +end +::C26:: +end +end +::B26:: +end +goto L24 +end +end +end +do +v_A = I32[5601] +if not (((tobit(v_A) % 4294967296) <= (tobit(v_e) % 4294967296)) and (v_A ~= 0)) then +I32[5601] = tobit(v_e) +end +v_A = 0 +I32[5710] = tobit(v_a) +I32[5709] = tobit(v_e) +I32[5605] = tobit((-1)) +I32[5606] = tobit(I32[5715]) +I32[5712] = tobit(0) +while true do +v_t = lshift(v_A, 3) +v_n = tobit((22428 + v_t)) +I32[arshift((v_t + 22436), 2)] = tobit(v_n) +I32[arshift((v_t + 22440), 2)] = tobit(v_n) +v_A = tobit((v_A + 1)) +if not (32 ~= bor(0, v_A)) then goto B27 end +do +end +::C27:: +end +end +::B27:: +do +v_t = tobit((v_a - 40)) +local t39 = v_t +v_A = ((band((v_e + 8), 7) ~= 0) and band(((-8) - v_e), 7) or 0) +v_n = tobit((t39 - v_A)) +I32[5600] = tobit(v_n) +v_A = tobit((v_A + v_e)) +I32[5603] = tobit(v_A) +I32[arshift((v_A + 4), 2)] = tobit(bor(1, v_n)) +I32[arshift((4 + tobit((v_e + v_t))), 2)] = tobit(40) +I32[5604] = tobit(I32[5719]) +end +goto L23 +end +end +::L25:: +end +if (not (bor(bor(band(8, U8[tobit((v_A + 12))]), (((tobit(v_t) % 4294967296) > (tobit(v_u) % 4294967296)) and 1 or 0)), (((tobit(v_e) % 4294967296) <= (tobit(v_u) % 4294967296)) and 1 or 0)) ~= 0)) then +I32[arshift((v_A + 4), 2)] = tobit((v_n + v_a)) +v_A = ((band((v_u + 8), 7) ~= 0) and band(((-8) - v_u), 7) or 0) +v_n = tobit((v_A + v_u)) +I32[5603] = tobit(v_n) +v_e = tobit((I32[5600] + v_a)) +v_A = tobit((v_e - v_A)) +I32[5600] = tobit(v_A) +I32[arshift((v_n + 4), 2)] = tobit(bor(1, v_A)) +I32[arshift((4 + tobit((v_e + v_u))), 2)] = tobit(40) +I32[5604] = tobit(I32[5719]) +goto L23 +end +end +end +::L24:: +end +if (U32[5601] > (tobit(v_e) % 4294967296)) then +I32[5601] = tobit(v_e) +end +v_n = tobit((v_e + v_a)) +v_A = 22836 +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +while true do +do +if (bor(0, v_n) ~= I32[arshift(v_A, 2)]) then +v_A = I32[arshift((v_A + 8), 2)] +if (v_A ~= 0) then +goto C34 +end +goto L33 +end +goto B34 +end +::C34:: +end +end +::B34:: +if (not (band(8, U8[tobit((v_A + 12))]) ~= 0)) then +goto L32 +end +end +::L33:: +do +do +v_A = 22836 +while true do +do +do +do +v_n = I32[arshift(v_A, 2)] +local t40 = ((tobit(v_n) % 4294967296) <= (tobit(v_u) % 4294967296)) +if t40 then +v_o = tobit((v_n + I32[arshift((v_A + 4), 2)])) +t40 = ((tobit(v_o) % 4294967296) > (tobit(v_u) % 4294967296)) +end +if t40 then +goto L31 +end +end +v_A = I32[arshift((v_A + 8), 2)] +end +end +::C35:: +end +end +::B35:: +end +end +end +::L32:: +end +do +I32[arshift(v_A, 2)] = tobit(v_e) +I32[arshift((v_A + 4), 2)] = tobit((I32[arshift((v_A + 4), 2)] + v_a)) +v_l = tobit((((band((v_e + 8), 7) ~= 0) and band(((-8) - v_e), 7) or 0) + v_e)) +I32[arshift((4 + v_l), 2)] = tobit(bor(3, v_s)) +v_a = tobit((v_n + ((band((v_n + 8), 7) ~= 0) and band(((-8) - v_n), 7) or 0))) +local t41 = v_a +v_c = tobit((v_s + v_l)) +v_n = tobit((t41 - v_c)) +if (bor(0, v_u) == bor(0, v_a)) then +I32[5603] = tobit(v_c) +v_A = tobit((I32[5600] + v_n)) +I32[5600] = tobit(v_A) +I32[arshift((v_c + 4), 2)] = tobit(bor(1, v_A)) +goto L29 +end +end +if (I32[5602] == bor(0, v_a)) then +I32[5602] = tobit(v_c) +v_A = tobit((I32[5599] + v_n)) +I32[5599] = tobit(v_A) +I32[arshift((v_c + 4), 2)] = tobit(bor(1, v_A)) +I32[arshift((v_A + v_c), 2)] = tobit(v_A) +goto L29 +end +do +v_A = I32[arshift((v_a + 4), 2)] +if (1 == band(3, v_A)) then +do +v_u = band((-8), v_A) +do +do +do +if ((tobit(v_A) % 4294967296) <= 255) then +v_t = I32[arshift((v_a + 8), 2)] +v_A = tobit((rshift(v_A, 3) % 4294967296)) +v_e = I32[arshift((v_a + 12), 2)] +if (bor(0, v_e) == bor(0, v_t)) then +I32[5597] = tobit(band(I32[5597], F.fPA((-2), v_A))) +goto L36 +end +I32[arshift((v_t + 12), 2)] = tobit(v_e) +I32[arshift((v_e + 8), 2)] = tobit(v_t) +else +do +do +v_s = I32[arshift((v_a + 24), 2)] +local t42 = bor(0, v_a) +v_e = I32[arshift((v_a + 12), 2)] +if (t42 == bor(0, v_e)) then +do +v_A = tobit((v_a + 20)) +v_t = I32[arshift(v_A, 2)] +local t43 = (v_t ~= 0) +if not t43 then +v_A = tobit((v_a + 16)) +v_t = I32[arshift(v_A, 2)] +t43 = (v_t ~= 0) +end +if t43 then +do +do +do +while true do +do +v_o = v_A +v_e = v_t +v_A = tobit((v_e + 20)) +v_t = I32[arshift(v_A, 2)] +local t44 = v_t +if t44 == 0 then +v_A = tobit((v_e + 16)) +v_t = I32[arshift((v_e + 16), 2)] +t44 = v_t +end +if not (t44 ~= 0) then goto B37 end +end +do +end +::C37:: +end +end +::B37:: +end +I32[arshift(v_o, 2)] = tobit(0) +end +else +v_e = 0 +end +end +else +v_A = I32[arshift((v_a + 8), 2)] +I32[arshift((v_A + 12), 2)] = tobit(v_e) +I32[arshift((v_e + 8), 2)] = tobit(v_A) +end +end +if (v_s ~= 0) then +v_t = I32[arshift((v_a + 28), 2)] +do +v_A = tobit((22692 + lshift(v_t, 2))) +if (I32[arshift(v_A, 2)] == bor(0, v_a)) then +I32[arshift(v_A, 2)] = tobit(v_e) +if (v_e ~= 0) then +goto L38 +end +I32[5598] = tobit(band(I32[5598], F.fPA((-2), v_t))) +goto L36 +end +I32[arshift((v_s + ((I32[arshift((v_s + 16), 2)] == bor(0, v_a)) and 16 or 20)), 2)] = tobit(v_e) +if (not (v_e ~= 0)) then +goto L36 +end +end +::L38:: +I32[arshift((v_e + 24), 2)] = tobit(v_s) +v_A = I32[arshift((v_a + 16), 2)] +if (v_A ~= 0) then +I32[arshift((v_e + 16), 2)] = tobit(v_A) +I32[arshift((v_A + 24), 2)] = tobit(v_e) +end +v_A = I32[arshift((v_a + 20), 2)] +if (v_A ~= 0) then +I32[arshift((v_e + 20), 2)] = tobit(v_A) +I32[arshift((v_A + 24), 2)] = tobit(v_e) +end +end +end +end +end +end +::L36:: +end +v_a = tobit((v_u + v_a)) +v_n = tobit((v_n + v_u)) +end +end +end +do +I32[arshift((v_a + 4), 2)] = tobit(band((-2), I32[arshift((v_a + 4), 2)])) +I32[arshift((v_c + 4), 2)] = tobit(bor(1, v_n)) +I32[arshift((v_n + v_c), 2)] = tobit(v_n) +if ((tobit(v_n) % 4294967296) <= 255) then +do +do +v_A = tobit((rshift(v_n, 3) % 4294967296)) +v_e = tobit((22428 + lshift(v_A, 3))) +v_n = I32[5597] +local t45 = v_n +v_A = lshift(1, v_A) +if (band(t45, v_A) ~= 0) then +v_A = I32[arshift((v_e + 8), 2)] +else +I32[5597] = tobit(bor(v_A, v_n)) +v_A = v_e +end +I32[arshift((v_e + 8), 2)] = tobit(v_c) +I32[arshift((v_A + 12), 2)] = tobit(v_c) +I32[arshift((v_c + 12), 2)] = tobit(v_e) +I32[arshift((v_c + 8), 2)] = tobit(v_A) +end +goto L29 +end +end +end +do +v_A = 31 +if ((tobit(v_n) % 4294967296) <= 16777215) then +v_A = tobit((rshift(v_n, 8) % 4294967296)) +local t46 = v_A +v_o = band((rshift((v_A + 1048320), 16) % 4294967296), 8) +v_A = lshift(t46, v_o) +local t47 = v_A +v_t = band((rshift((v_A + 520192), 16) % 4294967296), 4) +v_A = lshift(t47, v_t) +local t48 = v_A +v_e = band((rshift((v_A + 245760), 16) % 4294967296), 2) +v_A = tobit((tobit((rshift(lshift(t48, v_e), 15) % 4294967296)) - bor(bor(v_e, v_t), v_o))) +v_A = tobit((28 + bor(lshift(v_A, 1), band((rshift(v_n, (v_A + 21)) % 4294967296), 1)))) +end +I32[arshift((v_c + 28), 2)] = tobit(v_A) +I32[arshift((v_c + 16), 2)] = tobit(0) +I32[arshift((v_c + 20), 2)] = tobit(0) +v_o = tobit((22692 + lshift(v_A, 2))) +v_t = I32[5598] +local t49 = v_t +v_e = lshift(1, v_A) +if (band(t49, v_e) ~= 0) then +do +v_A = lshift(v_n, ((31 == bor(0, v_A)) and 0 or tobit((25 - tobit((rshift(v_A, 1) % 4294967296)))))) +v_e = I32[arshift(v_o, 2)] +while true do +do +v_t = v_e +if (band((-8), I32[arshift((v_e + 4), 2)]) == bor(0, v_n)) then +goto L30 +end +v_e = tobit((rshift(v_A, 29) % 4294967296)) +v_A = lshift(v_A, 1) +v_o = tobit((v_t + band(4, v_e))) +v_e = I32[arshift((16 + v_o), 2)] +if (not (v_e ~= 0)) then +goto B39 +end +end +::C39:: +end +end +::B39:: +I32[arshift((v_o + 16), 2)] = tobit(v_c) +I32[arshift((v_c + 24), 2)] = tobit(v_t) +else +I32[5598] = tobit(bor(v_e, v_t)) +I32[arshift(v_o, 2)] = tobit(v_c) +I32[arshift((v_c + 24), 2)] = tobit(v_o) +end +end +I32[arshift((v_c + 12), 2)] = tobit(v_c) +I32[arshift((v_c + 8), 2)] = tobit(v_c) +goto L29 +end +end +::L31:: +end +do +do +do +v_t = tobit((v_a - 40)) +local t50 = v_t +v_A = ((band((v_e + 8), 7) ~= 0) and band(((-8) - v_e), 7) or 0) +v_n = tobit((t50 - v_A)) +I32[5600] = tobit(v_n) +v_A = tobit((v_A + v_e)) +I32[5603] = tobit(v_A) +I32[arshift((v_A + 4), 2)] = tobit(bor(1, v_n)) +I32[arshift((4 + tobit((v_e + v_t))), 2)] = tobit(40) +I32[5604] = tobit(I32[5719]) +v_A = tobit((tobit((v_o + ((band((v_o - 39), 7) ~= 0) and band((39 - v_o), 7) or 0))) - 47)) +v_n = (((tobit(v_A) % 4294967296) < (tobit((v_u + 16)) % 4294967296)) and v_u or v_A) +I32[arshift((v_n + 4), 2)] = tobit(27) +v_A = I32[5712] +I32[arshift((v_n + 16), 2)] = tobit(I32[5711]) +I32[arshift((v_n + 20), 2)] = tobit(v_A) +v_A = I32[5710] +I32[arshift((v_n + 8), 2)] = tobit(I32[5709]) +I32[arshift((v_n + 12), 2)] = tobit(v_A) +I32[5711] = tobit((v_n + 8)) +I32[5710] = tobit(v_a) +I32[5709] = tobit(v_e) +I32[5712] = tobit(0) +v_A = tobit((v_n + 24)) +end +while true do +I32[arshift((v_A + 4), 2)] = tobit(7) +v_e = tobit((v_A + 8)) +v_A = tobit((v_A + 4)) +if not ((tobit(v_e) % 4294967296) < (tobit(v_o) % 4294967296)) then goto B40 end +do +end +::C40:: +end +end +::B40:: +end +if (bor(0, v_n) == bor(0, v_u)) then +goto L23 +end +do +I32[arshift((v_n + 4), 2)] = tobit(band((-2), I32[arshift((v_n + 4), 2)])) +v_o = tobit((v_n - v_u)) +I32[arshift((v_u + 4), 2)] = tobit(bor(1, v_o)) +I32[arshift(v_n, 2)] = tobit(v_o) +if ((tobit(v_o) % 4294967296) <= 255) then +do +do +v_A = tobit((rshift(v_o, 3) % 4294967296)) +v_e = tobit((22428 + lshift(v_A, 3))) +v_n = I32[5597] +local t51 = v_n +v_A = lshift(1, v_A) +if (band(t51, v_A) ~= 0) then +v_A = I32[arshift((v_e + 8), 2)] +else +I32[5597] = tobit(bor(v_A, v_n)) +v_A = v_e +end +I32[arshift((v_e + 8), 2)] = tobit(v_u) +I32[arshift((v_A + 12), 2)] = tobit(v_u) +I32[arshift((v_u + 12), 2)] = tobit(v_e) +I32[arshift((v_u + 8), 2)] = tobit(v_A) +end +goto L23 +end +end +end +do +v_A = 31 +I32[arshift((v_u + 16), 2)] = tobit(0) +I32[arshift((v_u + 20), 2)] = tobit(0) +if ((tobit(v_o) % 4294967296) <= 16777215) then +v_A = tobit((rshift(v_o, 8) % 4294967296)) +local t52 = v_A +v_t = band((rshift((v_A + 1048320), 16) % 4294967296), 8) +v_A = lshift(t52, v_t) +local t53 = v_A +v_n = band((rshift((v_A + 520192), 16) % 4294967296), 4) +v_A = lshift(t53, v_n) +local t54 = v_A +v_e = band((rshift((v_A + 245760), 16) % 4294967296), 2) +v_A = tobit((tobit((rshift(lshift(t54, v_e), 15) % 4294967296)) - bor(bor(v_e, v_n), v_t))) +v_A = tobit((28 + bor(lshift(v_A, 1), band((rshift(v_o, (v_A + 21)) % 4294967296), 1)))) +end +I32[arshift((v_u + 28), 2)] = tobit(v_A) +v_t = tobit((22692 + lshift(v_A, 2))) +v_n = I32[5598] +local t55 = v_n +v_e = lshift(1, v_A) +if (band(t55, v_e) ~= 0) then +do +v_A = lshift(v_o, ((31 == bor(0, v_A)) and 0 or tobit((25 - tobit((rshift(v_A, 1) % 4294967296)))))) +v_e = I32[arshift(v_t, 2)] +while true do +do +v_n = v_e +if (bor(0, v_o) == band((-8), I32[arshift((v_e + 4), 2)])) then +goto L28 +end +v_e = tobit((rshift(v_A, 29) % 4294967296)) +v_A = lshift(v_A, 1) +v_t = tobit((v_n + band(4, v_e))) +v_e = I32[arshift((16 + v_t), 2)] +if (not (v_e ~= 0)) then +goto B41 +end +end +::C41:: +end +end +::B41:: +I32[arshift((v_t + 16), 2)] = tobit(v_u) +I32[arshift((v_u + 24), 2)] = tobit(v_n) +else +I32[5598] = tobit(bor(v_e, v_n)) +I32[arshift(v_t, 2)] = tobit(v_u) +I32[arshift((v_u + 24), 2)] = tobit(v_t) +end +end +I32[arshift((v_u + 12), 2)] = tobit(v_u) +I32[arshift((v_u + 8), 2)] = tobit(v_u) +goto L23 +end +end +::L30:: +end +v_A = I32[arshift((v_t + 8), 2)] +I32[arshift((v_A + 12), 2)] = tobit(v_c) +I32[arshift((v_t + 8), 2)] = tobit(v_c) +I32[arshift((v_c + 24), 2)] = tobit(0) +I32[arshift((v_c + 12), 2)] = tobit(v_t) +I32[arshift((v_c + 8), 2)] = tobit(v_A) +end +end +::L29:: +end +v_A = tobit((v_l + 8)) +goto L1 +end +end +::L28:: +end +v_A = I32[arshift((v_n + 8), 2)] +I32[arshift((v_A + 12), 2)] = tobit(v_u) +I32[arshift((v_n + 8), 2)] = tobit(v_u) +I32[arshift((v_u + 24), 2)] = tobit(0) +I32[arshift((v_u + 12), 2)] = tobit(v_n) +I32[arshift((v_u + 8), 2)] = tobit(v_A) +end +end +::L23:: +end +v_A = I32[5600] +if (not ((tobit(v_A) % 4294967296) <= (tobit(v_s) % 4294967296))) then +v_e = tobit((v_A - v_s)) +I32[5600] = tobit(v_e) +v_n = I32[5603] +v_A = tobit((v_n + v_s)) +I32[5603] = tobit(v_A) +I32[arshift((v_A + 4), 2)] = tobit(bor(1, v_e)) +I32[arshift((v_n + 4), 2)] = tobit(bor(3, v_s)) +v_A = tobit((v_n + 8)) +goto L1 +end +end +end +::L4:: +end +I32[5596] = tobit(48) +v_A = 0 +goto L1 +end +end +::L3:: +end +do +if (v_a ~= 0) then +v_n = I32[arshift((v_o + 28), 2)] +do +v_A = tobit((22692 + lshift(v_n, 2))) +if (I32[arshift(v_A, 2)] == bor(0, v_o)) then +I32[arshift(v_A, 2)] = tobit(v_e) +if (v_e ~= 0) then +goto L43 +end +v_l = band(F.fPA((-2), v_n), v_l) +I32[5598] = tobit(v_l) +goto L42 +end +I32[arshift((v_a + ((I32[arshift((v_a + 16), 2)] == bor(0, v_o)) and 16 or 20)), 2)] = tobit(v_e) +if (not (v_e ~= 0)) then +goto L42 +end +end +::L43:: +I32[arshift((v_e + 24), 2)] = tobit(v_a) +v_A = I32[arshift((v_o + 16), 2)] +if (v_A ~= 0) then +I32[arshift((v_e + 16), 2)] = tobit(v_A) +I32[arshift((v_A + 24), 2)] = tobit(v_e) +end +v_A = I32[arshift((v_o + 20), 2)] +if (v_A ~= 0) then +I32[arshift((v_e + 20), 2)] = tobit(v_A) +I32[arshift((v_A + 24), 2)] = tobit(v_e) +end +end +end +::L42:: +do +do +do +if ((tobit(v_t) % 4294967296) <= 15) then +v_A = tobit((v_t + v_s)) +I32[arshift((v_o + 4), 2)] = tobit(bor(3, v_A)) +v_A = tobit((v_A + v_o)) +I32[arshift((4 + v_A), 2)] = tobit(bor(1, I32[arshift((v_A + 4), 2)])) +else +do +I32[arshift((v_o + 4), 2)] = tobit(bor(3, v_s)) +I32[arshift((v_c + 4), 2)] = tobit(bor(1, v_t)) +I32[arshift((v_t + v_c), 2)] = tobit(v_t) +if ((tobit(v_t) % 4294967296) <= 255) then +do +v_A = tobit((rshift(v_t, 3) % 4294967296)) +v_e = tobit((22428 + lshift(v_A, 3))) +v_n = I32[5597] +local t56 = v_n +v_A = lshift(1, v_A) +if (band(t56, v_A) ~= 0) then +v_A = I32[arshift((v_e + 8), 2)] +else +I32[5597] = tobit(bor(v_A, v_n)) +v_A = v_e +end +I32[arshift((v_e + 8), 2)] = tobit(v_c) +I32[arshift((v_A + 12), 2)] = tobit(v_c) +I32[arshift((v_c + 12), 2)] = tobit(v_e) +I32[arshift((v_c + 8), 2)] = tobit(v_A) +end +else +do +do +v_A = 31 +if ((tobit(v_t) % 4294967296) <= 16777215) then +v_A = tobit((rshift(v_t, 8) % 4294967296)) +local t57 = v_A +v_u = band((rshift((v_A + 1048320), 16) % 4294967296), 8) +v_A = lshift(t57, v_u) +local t58 = v_A +v_n = band((rshift((v_A + 520192), 16) % 4294967296), 4) +v_A = lshift(t58, v_n) +local t59 = v_A +v_e = band((rshift((v_A + 245760), 16) % 4294967296), 2) +v_A = tobit((tobit((rshift(lshift(t59, v_e), 15) % 4294967296)) - bor(bor(v_e, v_n), v_u))) +v_A = tobit((28 + bor(lshift(v_A, 1), band((rshift(v_t, (v_A + 21)) % 4294967296), 1)))) +end +I32[arshift((v_c + 28), 2)] = tobit(v_A) +I32[arshift((v_c + 16), 2)] = tobit(0) +I32[arshift((v_c + 20), 2)] = tobit(0) +v_n = tobit((22692 + lshift(v_A, 2))) +end +do +do +do +do +v_e = lshift(1, v_A) +if (band(v_e, v_l) ~= 0) then +do +do +do +v_A = lshift(v_t, ((31 == bor(0, v_A)) and 0 or tobit((25 - tobit((rshift(v_A, 1) % 4294967296)))))) +v_s = I32[arshift(v_n, 2)] +while true do +do +do +do +local t60 = (-8) +v_e = v_s +if (band(t60, I32[arshift((v_e + 4), 2)]) == bor(0, v_t)) then +goto L45 +end +end +v_n = tobit((rshift(v_A, 29) % 4294967296)) +v_A = lshift(v_A, 1) +v_n = tobit((v_e + band(4, v_n))) +v_s = I32[arshift((16 + v_n), 2)] +if (not (v_s ~= 0)) then +goto B46 +end +end +end +::C46:: +end +end +::B46:: +end +I32[arshift((v_n + 16), 2)] = tobit(v_c) +I32[arshift((v_c + 24), 2)] = tobit(v_e) +end +else +I32[5598] = tobit(bor(v_e, v_l)) +I32[arshift(v_n, 2)] = tobit(v_c) +I32[arshift((v_c + 24), 2)] = tobit(v_n) +end +end +I32[arshift((v_c + 12), 2)] = tobit(v_c) +I32[arshift((v_c + 8), 2)] = tobit(v_c) +goto L44 +end +end +::L45:: +end +v_A = I32[arshift((v_e + 8), 2)] +I32[arshift((v_A + 12), 2)] = tobit(v_c) +I32[arshift((v_e + 8), 2)] = tobit(v_c) +I32[arshift((v_c + 24), 2)] = tobit(0) +I32[arshift((v_c + 12), 2)] = tobit(v_e) +I32[arshift((v_c + 8), 2)] = tobit(v_A) +end +end +end +end +end +end +::L44:: +end +v_A = tobit((v_o + 8)) +goto L1 +end +end +::L2:: +end +do +if (v_g ~= 0) then +v_n = I32[arshift((v_e + 28), 2)] +do +v_A = tobit((22692 + lshift(v_n, 2))) +if (I32[arshift(v_A, 2)] == bor(0, v_e)) then +I32[arshift(v_A, 2)] = tobit(v_o) +if (v_o ~= 0) then +goto L48 +end +I32[5598] = tobit(band(F.fPA((-2), v_n), v_c)) +goto L47 +end +I32[arshift((((I32[arshift((v_g + 16), 2)] == bor(0, v_e)) and 16 or 20) + v_g), 2)] = tobit(v_o) +if (not (v_o ~= 0)) then +goto L47 +end +end +::L48:: +I32[arshift((v_o + 24), 2)] = tobit(v_g) +v_A = I32[arshift((v_e + 16), 2)] +if (v_A ~= 0) then +I32[arshift((v_o + 16), 2)] = tobit(v_A) +I32[arshift((v_A + 24), 2)] = tobit(v_o) +end +v_A = I32[arshift((v_e + 20), 2)] +if (v_A ~= 0) then +I32[arshift((v_o + 20), 2)] = tobit(v_A) +I32[arshift((v_A + 24), 2)] = tobit(v_o) +end +end +end +::L47:: +if ((tobit(v_t) % 4294967296) <= 15) then +v_A = tobit((v_t + v_s)) +I32[arshift((v_e + 4), 2)] = tobit(bor(3, v_A)) +v_A = tobit((v_A + v_e)) +I32[arshift((4 + v_A), 2)] = tobit(bor(1, I32[arshift((v_A + 4), 2)])) +else +I32[arshift((v_e + 4), 2)] = tobit(bor(3, v_s)) +I32[arshift((v_l + 4), 2)] = tobit(bor(1, v_t)) +I32[arshift((v_t + v_l), 2)] = tobit(v_t) +if (v_v ~= 0) then +v_A = tobit((rshift(v_v, 3) % 4294967296)) +v_n = tobit((22428 + lshift(v_A, 3))) +v_o = I32[5602] +v_A = lshift(1, v_A) +if (band(v_A, v_a) ~= 0) then +v_A = I32[arshift((v_n + 8), 2)] +else +I32[5597] = tobit(bor(v_A, v_a)) +v_A = v_n +end +I32[arshift((v_n + 8), 2)] = tobit(v_o) +I32[arshift((v_A + 12), 2)] = tobit(v_o) +I32[arshift((v_o + 12), 2)] = tobit(v_n) +I32[arshift((v_o + 8), 2)] = tobit(v_A) +end +I32[5602] = tobit(v_l) +I32[5599] = tobit(v_t) +end +v_A = tobit((v_e + 8)) +end +end +::L1:: +end +B = tobit((v_r + 16)) +do return bor(0, v_A) end +end + +F.fQ = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_E, v_m, v_Q, v_S, v_O, v_x, v_M, v_j, v_T, v_K, v_P, v_R, v_D, v_U, v_L, v_H, v_F, v_Y, v_G, v_N, v_J, v_W, v_q, v_V, v_z, v_Z = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +v_x = 0 +v_M = 0 +v_j = 0 +v_T = 0 +v_K = 0 +v_P = 0 +v_R = 0 +v_D = 0 +v_U = 0 +v_L = 0 +v_H = 0 +v_F = 0 +v_Y = 0 +v_G = 0 +v_N = 0 +v_J = 0 +v_W = 0 +v_q = 0 +v_V = 0 +v_z = 0 +v_Z = 0 +v_t = tobit((B + (-64))) +B = v_t +I32[arshift((v_t + 56), 2)] = tobit(0) +I32[arshift((v_t + 60), 2)] = tobit(0) +I32[arshift((v_t + 48), 2)] = tobit(0) +I32[arshift((v_t + 52), 2)] = tobit(0) +I32[arshift((v_t + 40), 2)] = tobit(0) +I32[arshift((v_t + 44), 2)] = tobit(0) +I32[arshift((v_t + 32), 2)] = tobit(0) +I32[arshift((v_t + 36), 2)] = tobit(0) +I32[arshift((v_t + 24), 2)] = tobit(0) +I32[arshift((v_t + 28), 2)] = tobit(0) +I32[arshift((v_t + 16), 2)] = tobit(0) +I32[arshift((v_t + 20), 2)] = tobit(0) +I32[arshift((v_t + 8), 2)] = tobit(0) +I32[arshift((v_t + 12), 2)] = tobit(0) +I32[arshift(v_t, 2)] = tobit(0) +I32[arshift((v_t + 4), 2)] = tobit(0) +F.fKA(tobit((v_A + 4)), 0, 272) +do +do +do +do +do +if (bor(((256 == bor(0, v_e)) and 1 or 0), ((192 == bor(0, v_e)) and 1 or 0)) ~= 0) then +I32[arshift(v_A, 2)] = tobit(4) +v_u = F.fTA(v_t, v_r, tobit((rshift(v_e, 3) % 4294967296))) +v_r = 1 +if (192 == bor(0, v_e)) then +goto L51 +end +else +v_a = (-36) +if (128 ~= bor(0, v_e)) then +goto L49 +end +I32[arshift(v_A, 2)] = tobit(3) +F.fTA(v_t, v_r, tobit((rshift(v_e, 3) % 4294967296))) +v_r = 0 +v_K = 1 +end +v_s = U8[tobit((v_t + 22))] +v_a = U8[tobit((v_t + 21))] +v_c = U8[tobit((v_t + 20))] +v_l = U8[tobit((v_t + 19))] +v_v = U8[tobit((v_t + 18))] +v_y = U8[tobit((v_t + 17))] +v_h = U8[tobit((v_t + 16))] +goto L50 +end +::L51:: +v_h = U8[tobit((v_u + 16))] +I8[tobit((v_u + 24))] = tobit(bxor((-1), v_h)) +v_y = U8[tobit((v_u + 17))] +I8[tobit((v_u + 25))] = tobit(bxor((-1), v_y)) +v_v = U8[tobit((v_u + 18))] +I8[tobit((v_u + 26))] = tobit(bxor((-1), v_v)) +v_l = U8[tobit((v_u + 19))] +I8[tobit((v_u + 27))] = tobit(bxor((-1), v_l)) +v_c = U8[tobit((v_u + 20))] +I8[tobit((v_u + 28))] = tobit(bxor((-1), v_c)) +v_a = U8[tobit((v_u + 21))] +I8[tobit((v_u + 29))] = tobit(bxor((-1), v_a)) +v_s = U8[tobit((v_u + 22))] +I8[tobit((v_u + 30))] = tobit(bxor((-1), v_s)) +I8[tobit((v_u + 31))] = tobit(bxor((-1), U8[tobit((v_u + 23))])) +end +::L50:: +do +v_P = U8[tobit((v_t + 23))] +local t61 = v_P +v_R = bor(lshift(band(255, v_a), 16), lshift(v_c, 24)) +v_w = bor(bor(t61, v_R), lshift(band(255, v_s), 8)) +v_D = U8[tobit((v_t + 7))] +local t62 = v_D +v_Q = bor(lshift(U8[tobit((v_t + 5))], 16), lshift(U8[tobit((v_t + 4))], 24)) +v_u = bor(bor(t62, v_Q), lshift(U8[tobit((v_t + 6))], 8)) +v_a = bxor(bxor(v_w, v_u), 1003262091) +v_o = U8[tobit((7840 + tobit((rshift(v_a, 24) % 4294967296))))] +v_s = bor(bor(bor(U8[tobit((7584 + band(255, v_a)))], lshift(U8[tobit((8096 + band((rshift(v_a, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_a, 8) % 4294967296), 255)))], 8)) +v_U = band(255, v_l) +local t63 = v_U +v_L = bor(lshift(band(255, v_y), 16), lshift(v_h, 24)) +v_O = bor(bor(t63, v_L), lshift(band(255, v_v), 8)) +v_S = U8[tobit((v_t + 3))] +local t64 = v_S +v_y = bor(lshift(U8[tobit((v_t + 1))], 16), lshift(U8[bor(0, v_t)], 24)) +v_c = bor(bor(t64, v_y), lshift(U8[tobit((v_t + 2))], 8)) +local t66 = bor(v_o, lshift(v_s, 8)) +local t65 = (-1600231809) +v_l = bxor(v_O, v_c) +v_a = bxor(t65, v_l) +v_a = bxor(t66, bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_a, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_a, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_a, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_a)))])) +v_s = bxor(F.fPA(v_a, 16), v_s) +v_a = bxor(F.fPA(v_s, 24), v_a) +v_H = U8[tobit((v_t + 31))] +local t67 = v_H +v_F = bor(lshift(U8[tobit((v_t + 29))], 16), lshift(U8[tobit((v_t + 28))], 24)) +v_x = bor(bor(t67, v_F), lshift(U8[tobit((v_t + 30))], 8)) +v_Y = U8[tobit((v_t + 15))] +local t68 = v_Y +v_M = bor(lshift(U8[tobit((v_t + 13))], 16), lshift(U8[tobit((v_t + 12))], 24)) +v_h = bor(bor(t68, v_M), lshift(U8[tobit((v_t + 14))], 8)) +v_o = bxor(bxor(bxor(v_a, v_x), v_h), 1286239154) +v_v = U8[tobit((7840 + tobit((rshift(v_o, 24) % 4294967296))))] +local t69 = v_v +v_b = bor(bor(bor(U8[tobit((7584 + band(255, v_o)))], lshift(U8[tobit((8096 + band((rshift(v_o, 16) % 4294967296), 255)))], 16)), lshift(v_v, 24)), lshift(U8[tobit((8352 + band((rshift(v_o, 8) % 4294967296), 255)))], 8)) +v_C = bor(t69, lshift(v_b, 8)) +local t71 = v_s +v_G = U8[tobit((v_t + 27))] +local t70 = v_G +v_N = bor(lshift(U8[tobit((v_t + 25))], 16), lshift(U8[tobit((v_t + 24))], 24)) +v_j = bor(bor(t70, v_N), lshift(U8[tobit((v_t + 26))], 8)) +local t73 = bxor(t71, v_j) +v_J = U8[tobit((v_t + 11))] +local t72 = v_J +v_T = bor(lshift(U8[tobit((v_t + 9))], 16), lshift(U8[tobit((v_t + 8))], 24)) +v_v = bor(bor(t72, v_T), lshift(U8[tobit((v_t + 10))], 8)) +v_d = bxor(bxor(t73, v_v), F.fPA(v_a, 24)) +local t74 = v_C +v_o = bxor((-1233459112), v_d) +v_o = bxor(t74, bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_o, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_o, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_o, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_o)))])) +v_b = bxor(F.fPA(v_o, 16), v_b) +v_I = bxor(F.fPA(v_b, 24), v_o) +local t75 = (-380665154) +v_W = bxor(v_I, v_w) +v_o = bxor(t75, v_W) +v_s = U8[tobit((7840 + tobit((rshift(v_o, 24) % 4294967296))))] +v_p = bor(bor(bor(U8[tobit((7584 + band(255, v_o)))], lshift(U8[tobit((8096 + band((rshift(v_o, 16) % 4294967296), 255)))], 16)), lshift(v_s, 24)), lshift(U8[tobit((8352 + band((rshift(v_o, 8) % 4294967296), 255)))], 8)) +v_l = bxor(bxor(bxor(v_c, F.fPA(v_I, 24)), v_l), v_b) +local t76 = bor(v_s, lshift(v_p, 8)) +v_o = bxor((-957401297), v_l) +v_o = bxor(t76, bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_o, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_o, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_o, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_o)))])) +v_b = bxor(F.fPA(v_o, 16), v_p) +v_C = bxor(F.fPA(v_b, 24), v_o) +local t77 = (-237801700) +v_E = bxor(bxor(v_C, v_a), v_x) +v_o = bxor(t77, v_E) +v_s = U8[tobit((7840 + tobit((rshift(v_o, 24) % 4294967296))))] +local t78 = v_s +v_p = bor(bor(bor(U8[tobit((7584 + band(255, v_o)))], lshift(U8[tobit((8096 + band((rshift(v_o, 16) % 4294967296), 255)))], 16)), lshift(v_s, 24)), lshift(U8[tobit((8352 + band((rshift(v_o, 8) % 4294967296), 255)))], 8)) +v_k = bor(t78, lshift(v_p, 8)) +v_s = bxor(bxor(bxor(F.fPA(v_C, 24), v_b), v_v), v_d) +local t79 = v_k +v_o = bxor(1426019237, v_s) +v_o = bxor(t79, bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_o, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_o, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_o, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_o)))])) +v_b = bxor(F.fPA(v_o, 16), v_p) +v_k = bxor(F.fPA(v_b, 24), v_o) +v_l = bxor(bxor(F.fPA(v_k, 24), v_l), v_b) +v_b = 0 +v_d = 0 +v_p = 0 +if ((tobit(v_e) % 4294967296) >= 129) then +v_C = bxor(v_C, v_a) +local t80 = (-563598051) +v_d = bxor(v_k, v_I) +v_o = bxor(t80, v_d) +v_b = U8[tobit((7840 + tobit((rshift(v_o, 24) % 4294967296))))] +local t81 = v_b +v_o = bor(bor(bor(U8[tobit((7584 + band(255, v_o)))], lshift(U8[tobit((8096 + band((rshift(v_o, 16) % 4294967296), 255)))], 16)), lshift(v_b, 24)), lshift(U8[tobit((8352 + band((rshift(v_o, 8) % 4294967296), 255)))], 8)) +v_p = bor(t81, lshift(v_o, 8)) +local t82 = v_p +v_b = bxor(v_l, v_O) +v_a = bxor(283453434, v_b) +v_a = bxor(t82, bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_a, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_a, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_a, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_a)))])) +v_p = bxor(F.fPA(v_a, 16), v_o) +v_I = bxor(F.fPA(v_p, 24), v_a) +local t83 = (-1276722691) +v_m = bxor(v_C, v_I) +v_a = bxor(t83, v_m) +v_o = U8[tobit((7840 + tobit((rshift(v_a, 24) % 4294967296))))] +v_C = v_d +v_d = bor(bor(bor(U8[tobit((7584 + band(255, v_a)))], lshift(U8[tobit((8096 + band((rshift(v_a, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_a, 8) % 4294967296), 255)))], 8)) +v_p = bxor(bxor(bxor(F.fPA(v_I, 24), v_p), v_s), v_j) +local t84 = bor(v_o, lshift(v_d, 8)) +v_a = bxor((-1336506174), v_p) +v_a = bxor(t84, bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_a, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_a, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_a, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_a)))])) +v_o = bxor(F.fPA(v_a, 16), v_d) +local t85 = v_C +v_a = bxor(F.fPA(v_o, 24), v_a) +v_d = bxor(t85, v_a) +v_b = bxor(bxor(F.fPA(v_a, 24), v_o), v_b) +end +if not (v_r ~= 0) then +v_q = bor(lshift(v_D, 30), (rshift(v_v, 2) % 4294967296)) +v_V = bor(lshift(v_S, 30), (rshift(v_u, 2) % 4294967296)) +v_z = bor(lshift(v_Y, 30), (rshift(v_c, 2) % 4294967296)) +v_Z = bor(lshift(v_J, 30), (rshift(v_h, 2) % 4294967296)) +end +v_o = tobit((v_A + 4)) +v_a = imul(v_r, 80) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7376))], 2)), 2)] = tobit(v_c) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7377))], 2)), 2)] = tobit(v_u) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7378))], 2)), 2)] = tobit(v_v) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7379))], 2)), 2)] = tobit(v_h) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7380))], 2)), 2)] = tobit(bor(lshift(v_c, 15), (rshift(v_Q, 17) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7381))], 2)), 2)] = tobit(bor(lshift(v_u, 15), (rshift(v_T, 17) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7382))], 2)), 2)] = tobit(bor(lshift(v_v, 15), (rshift(v_M, 17) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7383))], 2)), 2)] = tobit(bor(lshift(v_h, 15), (rshift(v_y, 17) % 4294967296))) +v_S = bor(lshift(v_S, 28), (rshift(v_u, 4) % 4294967296)) +v_I = bor(lshift(v_h, 13), (rshift(v_y, 19) % 4294967296)) +v_M = bor(lshift(v_v, 13), (rshift(v_M, 19) % 4294967296)) +v_T = bor(lshift(v_u, 13), (rshift(v_T, 19) % 4294967296)) +v_u = bor(lshift(v_c, 13), (rshift(v_Q, 19) % 4294967296)) +if not (v_r ~= 0) then +I32[arshift((v_o + lshift(I8[tobit((v_a + 7384))], 2)), 2)] = tobit(v_V) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7385))], 2)), 2)] = tobit(v_q) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7386))], 2)), 2)] = tobit(v_Z) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7387))], 2)), 2)] = tobit(v_z) +end +v_k = bxor(v_k, v_W) +v_y = bor(lshift(v_Y, 28), (rshift(v_c, 4) % 4294967296)) +v_Q = bor(lshift(v_J, 28), (rshift(v_h, 4) % 4294967296)) +v_h = bor(lshift(v_D, 28), (rshift(v_v, 4) % 4294967296)) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7388))], 2)), 2)] = tobit(v_u) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7389))], 2)), 2)] = tobit(v_T) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7390))], 2)), 2)] = tobit(v_M) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7391))], 2)), 2)] = tobit(v_I) +I32[arshift((v_o + lshift(I8[tobit((v_a + 7392))], 2)), 2)] = tobit(v_S) +end +do +if (v_K ~= 0) then +v_u = tobit((imul(v_r, 80) + 7395)) +else +v_c = tobit((v_A + 4)) +v_o = imul(v_r, 80) +I32[arshift((v_c + lshift(I8[tobit((v_o + 7393))], 2)), 2)] = tobit(v_h) +I32[arshift((v_c + lshift(I8[tobit((v_o + 7394))], 2)), 2)] = tobit(v_Q) +I32[arshift((v_c + lshift(I8[tobit((v_o + 7395))], 2)), 2)] = tobit(v_y) +if ((tobit(v_e) % 4294967296) < 129) then +goto L52 +end +v_o = bor(v_r, v_K) +if not (v_o ~= 0) then +v_M = bor(lshift(v_j, 13), (rshift(v_F, 19) % 4294967296)) +v_T = bor(lshift(v_w, 13), (rshift(v_N, 19) % 4294967296)) +v_I = bor(lshift(v_x, 13), (rshift(v_L, 19) % 4294967296)) +v_u = bor(lshift(v_O, 13), (rshift(v_R, 19) % 4294967296)) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7396))], 2) + v_A))), 2)] = tobit(v_O) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7397))], 2) + v_A))), 2)] = tobit(v_w) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7398))], 2) + v_A))), 2)] = tobit(v_j) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7399))], 2) + v_A))), 2)] = tobit(v_x) +end +v_v = tobit((v_A + 4)) +v_c = imul(v_r, 80) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7400))], 2)), 2)] = tobit(bor(lshift(v_O, 15), (rshift(v_R, 17) % 4294967296))) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7401))], 2)), 2)] = tobit(bor(lshift(v_w, 15), (rshift(v_N, 17) % 4294967296))) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7402))], 2)), 2)] = tobit(bor(lshift(v_j, 15), (rshift(v_F, 17) % 4294967296))) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7403))], 2)), 2)] = tobit(bor(lshift(v_x, 15), (rshift(v_L, 17) % 4294967296))) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7404))], 2)), 2)] = tobit(bor(lshift(v_U, 30), (rshift(v_w, 2) % 4294967296))) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7405))], 2)), 2)] = tobit(bor(lshift(v_P, 30), (rshift(v_j, 2) % 4294967296))) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7406))], 2)), 2)] = tobit(bor(lshift(v_G, 30), (rshift(v_x, 2) % 4294967296))) +I32[arshift((v_v + lshift(I8[tobit((v_c + 7407))], 2)), 2)] = tobit(bor(lshift(v_H, 30), (rshift(v_O, 2) % 4294967296))) +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((v_c + 7408))], 2) + v_A))), 2)] = tobit(v_u) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7409))], 2) + v_A))), 2)] = tobit(v_T) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7410))], 2) + v_A))), 2)] = tobit(v_M) +end +v_Q = bor(lshift(v_G, 28), (rshift(v_x, 4) % 4294967296)) +v_h = bor(lshift(v_P, 28), (rshift(v_j, 4) % 4294967296)) +v_S = bor(lshift(v_U, 28), (rshift(v_w, 4) % 4294967296)) +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7411))], 2) + v_A))), 2)] = tobit(v_I) +end +v_y = bor(lshift(v_H, 28), (rshift(v_O, 4) % 4294967296)) +v_o = tobit((v_A + 4)) +v_u = imul(v_r, 80) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7412))], 2)), 2)] = tobit(v_S) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7413))], 2)), 2)] = tobit(v_h) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7414))], 2)), 2)] = tobit(v_Q) +v_u = tobit((v_u + 7415)) +end +I32[arshift((4 + tobit((lshift(I8[bor(0, v_u)], 2) + v_A))), 2)] = tobit(v_y) +end +::L52:: +do +if not (v_r ~= 0) then +v_u = tobit((v_A + 4)) +v_a = imul(v_r, 80) +I32[arshift((v_u + lshift(I8[tobit((v_a + 7416))], 2)), 2)] = tobit(v_l) +I32[arshift((v_u + lshift(I8[tobit((v_a + 7417))], 2)), 2)] = tobit(v_k) +I32[arshift((v_u + lshift(I8[tobit((v_a + 7418))], 2)), 2)] = tobit(v_s) +I32[arshift((v_u + lshift(I8[tobit((v_a + 7419))], 2)), 2)] = tobit(v_E) +v_Q = bor(lshift(v_s, 28), (rshift(v_E, 4) % 4294967296)) +v_h = bor(lshift(v_k, 28), (rshift(v_s, 4) % 4294967296)) +v_S = bor(lshift(v_l, 28), (rshift(v_k, 4) % 4294967296)) +v_y = bor(lshift(v_E, 28), (rshift(v_l, 4) % 4294967296)) +end +v_v = bor(lshift(v_E, 13), (rshift(v_l, 19) % 4294967296)) +v_a = bor(lshift(v_s, 13), (rshift(v_E, 19) % 4294967296)) +v_c = bor(lshift(v_k, 13), (rshift(v_s, 19) % 4294967296)) +v_w = bor(lshift(v_l, 13), (rshift(v_k, 19) % 4294967296)) +v_o = tobit((v_A + 4)) +v_u = imul(v_r, 80) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7420))], 2)), 2)] = tobit(bor(lshift(v_l, 15), (rshift(v_k, 17) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7421))], 2)), 2)] = tobit(bor(lshift(v_k, 15), (rshift(v_s, 17) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7422))], 2)), 2)] = tobit(bor(lshift(v_s, 15), (rshift(v_E, 17) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7423))], 2)), 2)] = tobit(bor(lshift(v_E, 15), (rshift(v_l, 17) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7424))], 2)), 2)] = tobit(bor(lshift(v_l, 30), (rshift(v_k, 2) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7425))], 2)), 2)] = tobit(bor(lshift(v_k, 30), (rshift(v_s, 2) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7426))], 2)), 2)] = tobit(bor(lshift(v_s, 30), (rshift(v_E, 2) % 4294967296))) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7427))], 2)), 2)] = tobit(bor(lshift(v_E, 30), (rshift(v_l, 2) % 4294967296))) +if (v_K ~= 0) then +v_s = tobit((v_u + 7430)) +v_l = tobit((v_u + 7429)) +v_o = v_a +v_u = v_c +else +I32[arshift((v_o + lshift(I8[tobit((v_u + 7428))], 2)), 2)] = tobit(v_w) +I32[arshift((v_o + lshift(I8[tobit((v_u + 7429))], 2)), 2)] = tobit(v_c) +v_s = tobit((v_u + 7431)) +v_l = tobit((v_u + 7430)) +v_o = v_v +v_u = v_a +end +v_C = lshift(I8[bor(0, v_l)], 2) +local t86 = v_C +v_l = tobit((v_A + 4)) +I32[arshift((t86 + v_l), 2)] = tobit(v_u) +I32[arshift((v_l + lshift(I8[bor(0, v_s)], 2)), 2)] = tobit(v_o) +if not (v_r ~= 0) then +v_u = imul(v_r, 80) +I32[arshift((v_l + lshift(I8[tobit((v_u + 7432))], 2)), 2)] = tobit(v_S) +I32[arshift((v_l + lshift(I8[tobit((v_u + 7433))], 2)), 2)] = tobit(v_h) +I32[arshift((v_l + lshift(I8[tobit((v_u + 7434))], 2)), 2)] = tobit(v_Q) +I32[arshift((v_l + lshift(I8[tobit((v_u + 7435))], 2)), 2)] = tobit(v_y) +end +if not (bor((((tobit(v_e) % 4294967296) < 129) and 1 or 0), v_K) ~= 0) then +v_o = bor(v_r, v_K) +if not (v_o ~= 0) then +v_v = bor(lshift(v_m, 13), (rshift(v_b, 19) % 4294967296)) +v_c = bor(lshift(v_d, 13), (rshift(v_p, 19) % 4294967296)) +v_w = bor(lshift(v_b, 13), (rshift(v_d, 19) % 4294967296)) +v_a = bor(lshift(v_p, 13), (rshift(v_m, 19) % 4294967296)) +end +v_u = tobit((v_A + 4)) +v_e = imul(v_r, 80) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7436))], 2)), 2)] = tobit(v_b) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7437))], 2)), 2)] = tobit(v_d) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7438))], 2)), 2)] = tobit(v_p) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7439))], 2)), 2)] = tobit(v_m) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7440))], 2)), 2)] = tobit(bor(lshift(v_b, 15), (rshift(v_d, 17) % 4294967296))) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7441))], 2)), 2)] = tobit(bor(lshift(v_d, 15), (rshift(v_p, 17) % 4294967296))) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7442))], 2)), 2)] = tobit(bor(lshift(v_p, 15), (rshift(v_m, 17) % 4294967296))) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7443))], 2)), 2)] = tobit(bor(lshift(v_m, 15), (rshift(v_b, 17) % 4294967296))) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7444))], 2)), 2)] = tobit(bor(lshift(v_b, 30), (rshift(v_d, 2) % 4294967296))) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7445))], 2)), 2)] = tobit(bor(lshift(v_d, 30), (rshift(v_p, 2) % 4294967296))) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7446))], 2)), 2)] = tobit(bor(lshift(v_p, 30), (rshift(v_m, 2) % 4294967296))) +I32[arshift((v_u + lshift(I8[tobit((v_e + 7447))], 2)), 2)] = tobit(bor(lshift(v_m, 30), (rshift(v_b, 2) % 4294967296))) +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((v_e + 7448))], 2) + v_A))), 2)] = tobit(v_w) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7449))], 2) + v_A))), 2)] = tobit(v_c) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7450))], 2) + v_A))), 2)] = tobit(v_a) +end +if not (v_o ~= 0) then +I32[arshift((4 + tobit((lshift(I8[tobit((imul(v_r, 80) + 7451))], 2) + v_A))), 2)] = tobit(v_v) +end +v_a = tobit((v_A + 4)) +v_e = imul(v_r, 80) +I32[arshift((v_a + lshift(I8[tobit((v_e + 7452))], 2)), 2)] = tobit(bor(lshift(v_b, 28), (rshift(v_d, 4) % 4294967296))) +I32[arshift((v_a + lshift(I8[tobit((v_e + 7453))], 2)), 2)] = tobit(bor(lshift(v_d, 28), (rshift(v_p, 4) % 4294967296))) +I32[arshift((v_a + lshift(I8[tobit((v_e + 7454))], 2)), 2)] = tobit(bor(lshift(v_p, 28), (rshift(v_m, 4) % 4294967296))) +I32[arshift((v_a + lshift(I8[tobit((v_e + 7455))], 2)), 2)] = tobit(bor(lshift(v_m, 28), (rshift(v_b, 4) % 4294967296))) +end +v_e = tobit((v_A + 4)) +v_c = imul(v_r, 12) +v_u = lshift(v_c, 2) +v_a = imul(v_r, 20) +I32[arshift((v_e + bor(128, v_u)), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7536))], 2)), 2)]) +I32[arshift((v_e + bor(132, v_u)), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7537))], 2)), 2)]) +I32[arshift((v_e + bor(136, v_u)), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7538))], 2)), 2)]) +I32[arshift((v_e + bor(140, v_u)), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7539))], 2)), 2)]) +if not (v_K ~= 0) then +v_o = tobit((v_e + v_u)) +I32[arshift((144 + v_o), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7540))], 2)), 2)]) +I32[arshift((v_o + 148), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7541))], 2)), 2)]) +I32[arshift((v_o + 152), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7542))], 2)), 2)]) +I32[arshift((v_o + 156), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7543))], 2)), 2)]) +end +v_u = tobit((v_e + v_u)) +I32[arshift((160 + v_u), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7544))], 2)), 2)]) +I32[arshift((v_u + 164), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7545))], 2)), 2)]) +I32[arshift((v_u + 168), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7546))], 2)), 2)]) +I32[arshift((v_u + 172), 2)] = tobit(I32[arshift((v_e + lshift(I8[tobit((v_a + 7547))], 2)), 2)]) +v_a = 0 +if not (v_r ~= 0) then +v_A = tobit((v_A + 4)) +v_e = tobit((v_A + lshift(v_c, 2))) +v_r = imul(v_r, 20) +I32[arshift((v_e + 176), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7548))], 2)), 2)]) +I32[arshift((v_e + 180), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7549))], 2)), 2)]) +I32[arshift((v_e + 184), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7550))], 2)), 2)]) +I32[arshift((v_e + 188), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7551))], 2)), 2)]) +I32[arshift((v_e + 192), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7552))], 2)), 2)]) +I32[arshift((v_e + 196), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7553))], 2)), 2)]) +I32[arshift((v_e + 200), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7554))], 2)), 2)]) +I32[arshift((v_e + 204), 2)] = tobit(I32[arshift((v_A + lshift(I8[tobit((v_r + 7555))], 2)), 2)]) +end +end +end +end +::L49:: +end +B = tobit((v_t - (-64))) +do return v_a end +end + +F.fS = function(v_A, v_r, v_e, v_t, v_a, v_u, v_c) +local v_s, v_l, v_b, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_E, v_m, v_Q, v_S, v_O, v_x = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +v_x = 0 +v_s = tobit((B - 80)) +B = v_s +I32[arshift((v_s + 76), 2)] = tobit(v_r) +v_b = tobit((v_s + 55)) +v_l = tobit((v_s + 56)) +v_r = 0 +do +do +while true do +do +do +if not (bor(0, v_E) < 0) then +if (tobit((2147483647 - v_E)) < bor(0, v_r)) then +I32[5596] = tobit(61) +v_E = (-1) +else +v_E = tobit((v_r + v_E)) +end +end +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +v_h = v_s +do +do +do +do +do +v_w = I32[arshift((v_s + 76), 2)] +v_r = v_w +v_p = U8[bor(0, v_r)] +if (v_p ~= 0) then +do +while true do +do +do +do +v_p = band(v_p, 255) +if (v_p ~= 0) then +if (37 ~= bor(0, v_p)) then +goto L65 +end +do +v_p = v_r +while true do +do +if (37 ~= U8[tobit((v_r + 1))]) then +goto L66 +end +v_d = tobit((v_r + 2)) +I32[arshift((v_s + 76), 2)] = tobit(v_d) +v_p = tobit((v_p + 1)) +v_y = U8[tobit((v_r + 2))] +v_r = v_d +if (37 ~= bor(0, v_y)) then +goto B67 +end +end +::C67:: +end +end +::B67:: +else +v_p = v_r +end +end +::L66:: +v_r = tobit((v_p - v_w)) +if (v_A ~= 0) then +F.fiA(v_A, v_w, v_r) +end +if (v_r ~= 0) then +goto C53 +end +v_d = ((not (F.fRA(I8[tobit((I32[arshift((v_s + 76), 2)] + 1))]) ~= 0)) and 1 or 0) +v_r = I32[arshift((v_s + 76), 2)] +if (bor(v_d, ((36 ~= U8[tobit((v_r + 2))]) and 1 or 0)) ~= 0) then +goto L63 +end +v_m = tobit((I8[tobit((v_r + 1))] - 48)) +v_S = 1 +v_r = tobit((v_r + 3)) +goto L62 +end +::L65:: +v_d = tobit((v_r + 1)) +I32[arshift((v_s + 76), 2)] = tobit(v_d) +v_p = U8[tobit((v_r + 1))] +v_r = v_d +end +::C64:: +end +end +::B64:: +end +v_C = v_E +if (v_A ~= 0) then +goto L55 +end +if (not (v_S ~= 0)) then +goto L61 +end +do +v_r = 1 +while true do +do +v_A = I32[arshift((lshift(v_r, 2) + v_a), 2)] +if (v_A ~= 0) then +F.foA(tobit((lshift(v_r, 3) + v_t)), v_A, v_e, v_c) +v_C = 1 +v_r = tobit((v_r + 1)) +if (10 ~= bor(0, v_r)) then +goto C68 +end +goto L55 +end +goto B68 +end +::C68:: +end +end +::B68:: +v_C = 1 +if ((tobit(v_r) % 4294967296) >= 10) then +goto L55 +end +do +while true do +do +if (I32[arshift((lshift(v_r, 2) + v_a), 2)] ~= 0) then +goto L56 +end +v_r = tobit((v_r + 1)) +if (10 == bor(0, v_r)) then +goto B69 +end +end +::C69:: +end +end +::B69:: +goto L55 +end +::L63:: +v_m = (-1) +v_r = tobit((v_r + 1)) +end +::L62:: +do +I32[arshift((v_h + 76), 2)] = tobit(v_r) +v_h = 0 +v_k = I8[bor(0, v_r)] +v_p = tobit((v_k - 32)) +local t87 = ((not ((tobit(v_p) % 4294967296) > 31)) and 1 or 0) +if t87 ~= 0 then +v_p = lshift(1, v_p) +t87 = band(75913, v_p) +end +if (t87 ~= 0) then +do +do +do +while true do +do +v_d = tobit((v_r + 1)) +I32[arshift((v_s + 76), 2)] = tobit(v_d) +v_k = I8[tobit((v_r + 1))] +v_r = tobit((v_k - 32)) +local t88 = ((not ((tobit(v_r) % 4294967296) >= 32)) and 1 or 0) +if t88 ~= 0 then +v_r = lshift(1, v_r) +t88 = band(75913, v_r) +end +if not (t88 ~= 0) then goto B70 end +end +do +v_p = bor(v_p, v_r) +v_r = v_d +end +::C70:: +end +end +::B70:: +end +v_r = v_d +v_h = v_p +end +end +end +do +do +do +if (42 ~= bor(0, v_k)) then +v_I = F.fQA(tobit((v_s + 76))) +if (bor(0, v_I) < 0) then +goto L56 +end +v_r = I32[arshift((v_s + 76), 2)] +else +do +do +v_d = v_s +local t89 = F.fRA(I8[tobit((v_r + 1))]) +if t89 ~= 0 then +v_r = I32[arshift((v_s + 76), 2)] +t89 = ((36 == U8[tobit((v_r + 2))]) and 1 or 0) +end +if (t89 ~= 0) then +I32[arshift((tobit((lshift(I8[tobit((v_r + 1))], 2) + v_a)) - 192), 2)] = tobit(10) +v_I = I32[arshift((tobit((lshift(I8[tobit((v_r + 1))], 3) + v_t)) - 384), 2)] +v_S = 1 +v_r = tobit((v_r + 3)) +else +if (v_S ~= 0) then +goto L56 +end +v_S = 0 +v_I = 0 +if (v_A ~= 0) then +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +v_I = I32[arshift(v_r, 2)] +end +v_r = tobit((I32[arshift((v_s + 76), 2)] + 1)) +end +end +I32[arshift((v_d + 76), 2)] = tobit(v_r) +if (bor(0, v_I) > (-1)) then +goto L71 +end +v_I = tobit((0 - v_I)) +v_h = bor(v_h, 8192) +end +end +end +end +::L71:: +end +v_y = (-1) +do +do +do +if (46 == U8[bor(0, v_r)]) then +do +if (42 ~= U8[tobit((v_r + 1))]) then +I32[arshift((v_s + 76), 2)] = tobit((v_r + 1)) +v_y = F.fQA(tobit((v_s + 76))) +v_r = I32[arshift((v_s + 76), 2)] +else +do +do +local t90 = (F.fRA(I8[tobit((v_r + 2))]) ~= 0) +if t90 then +v_r = I32[arshift((v_s + 76), 2)] +t90 = (36 == U8[tobit((v_r + 3))]) +end +if t90 then +I32[arshift((tobit((lshift(I8[tobit((v_r + 2))], 2) + v_a)) - 192), 2)] = tobit(10) +v_y = I32[arshift((tobit((lshift(I8[tobit((v_r + 2))], 3) + v_t)) - 384), 2)] +v_r = tobit((v_r + 4)) +I32[arshift((v_s + 76), 2)] = tobit(v_r) +goto L72 +end +end +if (v_S ~= 0) then +goto L56 +end +if (v_A ~= 0) then +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +v_y = I32[arshift(v_r, 2)] +else +v_y = 0 +end +v_r = tobit((I32[arshift((v_s + 76), 2)] + 2)) +I32[arshift((v_s + 76), 2)] = tobit(v_r) +end +end +end +end +end +end +::L72:: +end +do +v_p = 0 +while true do +do +v_Q = v_p +v_C = (-1) +if ((tobit((I8[bor(0, v_r)] - 65)) % 4294967296) > 57) then +goto L55 +end +v_k = tobit((v_r + 1)) +I32[arshift((v_s + 76), 2)] = tobit(v_k) +v_p = I8[bor(0, v_r)] +v_r = v_k +v_p = U8[tobit((11743 + tobit((v_p + imul(v_Q, 58)))))] +if (not ((tobit((v_p - 1)) % 4294967296) < 8)) then +goto B73 +end +end +::C73:: +end +end +::B73:: +if (19 == bor(0, v_p)) then +goto L59 +end +if (not (v_p ~= 0)) then +goto L55 +end +if (bor(0, v_m) >= 0) then +I32[arshift((lshift(v_m, 2) + v_a), 2)] = tobit(v_p) +v_r = tobit((lshift(v_m, 3) + v_t)) +v_p = I32[arshift((4 + v_r), 2)] +I32[arshift((v_s + 64), 2)] = tobit(I32[arshift(v_r, 2)]) +I32[arshift((v_s + 68), 2)] = tobit(v_p) +goto L58 +end +if (v_A ~= 0) then +goto L60 +end +end +end +::L61:: +end +v_C = 0 +goto L55 +end +end +::L60:: +end +F.foA(tobit((v_s - (-64))), v_p, v_e, v_c) +v_k = I32[arshift((v_s + 76), 2)] +goto L57 +end +end +::L59:: +end +if (bor(0, v_m) > (-1)) then +goto L55 +end +end +end +::L58:: +end +v_r = 0 +if (not (v_A ~= 0)) then +goto C53 +end +end +end +::L57:: +end +v_d = band((-65537), v_h) +v_p = ((band(8192, v_h) ~= 0) and v_d or v_h) +v_C = 0 +v_m = 10501 +v_h = v_l +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +v_r = I8[tobit((v_k - 1))] +v_r = (((v_Q ~= 0) and (3 == band(15, v_r))) and band((-33), v_r) or v_r) +do +local sw89 = tobit((v_r - 88)) +if sw89 == 11 then goto K89_0 +elseif sw89 == 1 then goto K89_1 +elseif sw89 == 2 then goto K89_2 +elseif sw89 == 3 then goto K89_3 +elseif sw89 == 4 then goto K89_4 +elseif sw89 == 5 then goto K89_5 +elseif sw89 == 6 then goto K89_6 +elseif sw89 == 7 then goto K89_7 +elseif sw89 == 8 then goto K89_8 +elseif sw89 == 10 then goto K89_9 +elseif sw89 == 16 then goto K89_10 +elseif sw89 == 18 then goto K89_11 +elseif sw89 == 19 then goto K89_12 +elseif sw89 == 20 then goto K89_13 +elseif sw89 == 21 then goto K89_14 +elseif sw89 == 25 then goto K89_15 +elseif sw89 == 26 then goto K89_16 +elseif sw89 == 28 then goto K89_17 +elseif sw89 == 30 then goto K89_18 +elseif sw89 == 31 then goto K89_19 +elseif sw89 == 9 then goto K89_20 +elseif sw89 == 13 then goto K89_21 +elseif sw89 == 14 then goto K89_22 +elseif sw89 == 15 then goto K89_23 +elseif sw89 == 27 then goto K89_24 +elseif sw89 == 12 then goto K89_25 +elseif sw89 == 17 then goto K89_26 +elseif sw89 == 23 then goto K89_27 +elseif sw89 == 0 then goto K89_28 +elseif sw89 == 32 then goto K89_29 +elseif sw89 == 24 then goto K89_30 +elseif sw89 == 22 then goto K89_31 +elseif sw89 == 29 then goto K89_32 +else goto S89 end +::K89_0:: +do +goto L74 +end +::K89_1:: +do +end +::K89_2:: +do +end +::K89_3:: +do +end +::K89_4:: +do +end +::K89_5:: +do +end +::K89_6:: +do +end +::K89_7:: +do +end +::K89_8:: +do +end +::K89_9:: +do +end +::K89_10:: +do +end +::K89_11:: +do +end +::K89_12:: +do +end +::K89_13:: +do +end +::K89_14:: +do +end +::K89_15:: +do +end +::K89_16:: +do +end +::K89_17:: +do +end +::K89_18:: +do +end +::K89_19:: +do +goto L54 +end +::K89_20:: +do +end +::K89_21:: +do +end +::K89_22:: +do +end +::K89_23:: +do +goto L75 +end +::K89_24:: +do +goto L80 +end +::K89_25:: +do +end +::K89_26:: +do +goto L83 +end +::K89_27:: +do +goto L84 +end +::K89_28:: +do +end +::K89_29:: +do +goto L85 +end +::K89_30:: +do +goto L86 +end +::K89_31:: +do +goto L87 +end +::K89_32:: +do +goto L88 +end +end +::S89:: +do +local sw90 = tobit((v_r - 65)) +if sw90 == 1 then goto K90_0 +elseif sw90 == 3 then goto K90_1 +elseif sw90 == 0 then goto K90_2 +elseif sw90 == 4 then goto K90_3 +elseif sw90 == 5 then goto K90_4 +elseif sw90 == 6 then goto K90_5 +elseif sw90 == 2 then goto K90_6 +else goto S90 end +::K90_0:: +do +end +::K90_1:: +do +goto L54 +end +::K90_2:: +do +end +::K90_3:: +do +end +::K90_4:: +do +end +::K90_5:: +do +goto L75 +end +::K90_6:: +do +goto L78 +end +end +::S90:: +if (83 == bor(0, v_r)) then +goto L79 +end +goto L54 +end +::L88:: +v_k = I32[arshift((v_s + 64), 2)] +v_d = I32[arshift((v_s + 68), 2)] +v_m = 10501 +goto L82 +end +::L87:: +v_r = 0 +do +local sw91 = band(255, v_Q) +if sw91 == 0 then goto K91_0 +elseif sw91 == 1 then goto K91_1 +elseif sw91 == 2 then goto K91_2 +elseif sw91 == 3 then goto K91_3 +elseif sw91 == 4 then goto K91_4 +elseif sw91 == 6 then goto K91_5 +elseif sw91 == 7 then goto K91_6 +else goto K91_7 end +::K91_0:: +do +end +::K91_1:: +do +I32[arshift(I32[arshift((v_s + 64), 2)], 2)] = tobit(v_E) +goto C53 +end +::K91_2:: +do +v_p = I32[arshift((v_s + 64), 2)] +I32[arshift(v_p, 2)] = tobit(v_E) +I32[arshift((v_p + 4), 2)] = tobit(arshift(v_E, 31)) +goto C53 +end +::K91_3:: +do +I16[arshift(I32[arshift((v_s + 64), 2)], 1)] = tobit(v_E) +goto C53 +end +::K91_4:: +do +I8[I32[arshift((v_s + 64), 2)]] = tobit(v_E) +goto C53 +end +::K91_5:: +do +I32[arshift(I32[arshift((v_s + 64), 2)], 2)] = tobit(v_E) +goto C53 +end +::K91_6:: +do +goto S91 +end +::K91_7:: +do +goto C53 +end +end +::S91:: +v_p = I32[arshift((v_s + 64), 2)] +I32[arshift(v_p, 2)] = tobit(v_E) +I32[arshift((v_p + 4), 2)] = tobit(arshift(v_E, 31)) +goto C53 +end +::L86:: +v_y = (((tobit(v_y) % 4294967296) > 8) and v_y or 8) +v_p = bor(v_p, 8) +v_r = 120 +end +::L85:: +do +v_w = v_l +v_O = band(32, v_r) +v_Q = I32[arshift((v_s + 68), 2)] +v_d = v_Q +local t91 = v_d +v_k = I32[arshift((v_s + 64), 2)] +if (bor(t91, v_k) ~= 0) then +do +while true do +v_w = tobit((v_w - 1)) +I8[bor(0, v_w)] = tobit(bor(v_O, U8[tobit((12272 + band(15, v_k)))])) +v_x = bor(band(((not (v_d ~= 0)) and 1 or 0), (((tobit(v_k) % 4294967296) > 15) and 1 or 0)), ((0 ~= bor(0, v_d)) and 1 or 0)) +v_Q = v_d +v_d = tobit((rshift(v_d, 4) % 4294967296)) +v_k = bor(lshift(band(15, v_Q), 28), (rshift(v_k, 4) % 4294967296)) +if not (v_x ~= 0) then goto B92 end +do +end +::C92:: +end +end +::B92:: +end +end +if (bor(((not (band(8, v_p) ~= 0)) and 1 or 0), ((not (bor(I32[arshift((v_s + 64), 2)], I32[arshift((v_s + 68), 2)]) ~= 0)) and 1 or 0)) ~= 0) then +goto L81 +end +v_m = tobit((10501 + tobit((rshift(v_r, 4) % 4294967296)))) +v_C = 2 +goto L81 +end +end +::L84:: +end +do +v_r = v_l +v_w = I32[arshift((v_s + 68), 2)] +v_d = v_w +local t92 = v_d +v_k = I32[arshift((v_s + 64), 2)] +if (bor(t92, v_k) ~= 0) then +do +while true do +v_r = tobit((v_r - 1)) +I8[bor(0, v_r)] = tobit(bor(band(7, v_k), 48)) +v_Q = bor(band(((not (v_d ~= 0)) and 1 or 0), (((tobit(v_k) % 4294967296) > 7) and 1 or 0)), ((0 ~= bor(0, v_d)) and 1 or 0)) +v_w = v_d +v_d = tobit((rshift(v_d, 3) % 4294967296)) +v_k = bor(lshift(band(7, v_w), 29), (rshift(v_k, 3) % 4294967296)) +if not (v_Q ~= 0) then goto B93 end +do +end +::C93:: +end +end +::B93:: +end +end +v_w = v_r +if (not (band(8, v_p) ~= 0)) then +goto L81 +end +v_r = tobit((v_l - v_w)) +v_y = ((bor(0, v_r) < bor(0, v_y)) and v_y or tobit((v_r + 1))) +goto L81 +end +end +::L83:: +end +v_r = I32[arshift((v_s + 68), 2)] +v_d = v_r +v_k = I32[arshift((v_s + 64), 2)] +if ((bor(0, v_r) < (-1)) or (bor(0, v_r) <= (-1))) then +v_d = tobit((0 - tobit((v_d + ((0 ~= bor(0, v_k)) and 1 or 0))))) +v_k = tobit((0 - v_k)) +I32[arshift((v_s + 64), 2)] = tobit(v_k) +I32[arshift((v_s + 68), 2)] = tobit(v_d) +v_C = 1 +v_m = 10501 +else +if (band(2048, v_p) ~= 0) then +v_C = 1 +v_m = 10502 +else +v_C = band(1, v_p) +v_m = ((v_C ~= 0) and 10503 or 10501) +end +end +end +end +::L82:: +end +v_w = F.fdA(v_k, v_d, v_l) +end +end +::L81:: +end +v_p = ((bor(0, v_y) > (-1)) and band((-65537), v_p) or v_p) +v_r = I32[arshift((v_s + 68), 2)] +v_d = v_r +v_k = I32[arshift((v_s + 64), 2)] +if (not (bor(bor(((0 ~= bor(0, v_k)) and 1 or 0), ((0 ~= bor(0, v_r)) and 1 or 0)), v_y) ~= 0)) then +v_y = 0 +v_w = v_l +goto L54 +end +v_r = tobit((((not (bor(v_d, v_k) ~= 0)) and 1 or 0) + tobit((v_l - v_w)))) +v_y = ((bor(0, v_r) < bor(0, v_y)) and v_y or v_r) +goto L54 +end +end +::L80:: +end +v_r = v_y +v_h = ((0 ~= bor(0, v_r)) and 1 or 0) +do +do +do +do +do +do +do +do +do +do +do +do +v_p = I32[arshift((v_s + 64), 2)] +local t93 = v_p +if t93 == 0 then +t93 = 10655 +end +v_w = t93 +v_p = v_w +if (not (bor(((not (band(3, v_p) ~= 0)) and 1 or 0), ((not (v_r ~= 0)) and 1 or 0)) ~= 0)) then +do +while true do +do +if (not (U8[bor(0, v_p)] ~= 0)) then +goto L96 +end +v_r = tobit((v_r - 1)) +v_h = ((0 ~= bor(0, v_r)) and 1 or 0) +v_p = tobit((v_p + 1)) +if (not (band(3, v_p) ~= 0)) then +goto L97 +end +if (not (v_r ~= 0)) then +goto B98 +end +end +::C98:: +end +end +::B98:: +end +end +end +::L97:: +end +if (not (v_h ~= 0)) then +goto L95 +end +end +end +::L96:: +end +do +do +do +if (not (bor(((not (U8[bor(0, v_p)] ~= 0)) and 1 or 0), (((tobit(v_r) % 4294967296) < 4) and 1 or 0)) ~= 0)) then +do +do +while true do +do +do +do +local t94 = (-1) +v_h = I32[arshift(v_p, 2)] +if (band(band(bxor(t94, v_h), (v_h - 16843009)), (-2139062144)) ~= 0) then +goto L99 +end +end +v_p = tobit((v_p + 4)) +v_r = tobit((v_r - 4)) +if (not ((tobit(v_r) % 4294967296) > 3)) then +goto B100 +end +end +end +::C100:: +end +end +::B100:: +end +end +end +end +::L99:: +end +if (v_r ~= 0) then +do +while true do +do +v_h = v_p +if (not (U8[bor(0, v_p)] ~= 0)) then +goto L94 +end +v_p = tobit((v_p + 1)) +v_r = tobit((v_r - 1)) +if (not (v_r ~= 0)) then +goto B101 +end +end +::C101:: +end +end +::B101:: +end +end +end +::L95:: +end +v_h = 0 +end +end +::L94:: +end +do +v_r = v_h +local t95 = v_r +if t95 == 0 then +t95 = tobit((v_y + v_w)) +end +v_h = t95 +v_p = v_d +v_y = ((v_r ~= 0) and tobit((v_r - v_w)) or v_y) +end +goto L54 +end +end +::L79:: +end +v_h = I32[arshift((v_s + 64), 2)] +if (v_y ~= 0) then +goto L77 +end +v_r = 0 +F.fIA(v_A, 32, v_I, 0, v_p) +goto L76 +end +end +::L78:: +end +I32[arshift((v_s + 12), 2)] = tobit(0) +I32[arshift((v_s + 8), 2)] = tobit(I32[arshift((v_s + 64), 2)]) +I32[arshift((v_s + 64), 2)] = tobit((v_s + 8)) +v_y = (-1) +v_h = tobit((v_s + 8)) +end +end +::L77:: +end +v_r = 0 +do +do +do +do +do +while true do +do +do +v_d = I32[arshift(v_h, 2)] +if (not (v_d ~= 0)) then +goto L102 +end +do +v_d = F.faA(tobit((v_s + 4)), v_d) +v_w = ((bor(0, v_d) < 0) and 1 or 0) +if (not (bor(v_w, (((tobit(v_d) % 4294967296) > (tobit((v_y - v_r)) % 4294967296)) and 1 or 0)) ~= 0)) then +do +do +v_h = tobit((v_h + 4)) +local t96 = (tobit(v_y) % 4294967296) +v_r = tobit((v_r + v_d)) +if (t96 > (tobit(v_r) % 4294967296)) then +goto C103 +end +end +goto L102 +end +end +end +goto B103 +end +end +::C103:: +end +end +::B103:: +end +v_C = (-1) +if (v_w ~= 0) then +goto L55 +end +end +end +::L102:: +end +F.fIA(v_A, 32, v_I, v_r, v_p) +if (v_r ~= 0) then +do +v_h = 0 +v_k = I32[arshift((v_s + 64), 2)] +while true do +do +v_d = I32[arshift(v_k, 2)] +if (not (v_d ~= 0)) then +goto L76 +end +v_d = F.faA(tobit((v_s + 4)), v_d) +v_h = tobit((v_d + v_h)) +if (bor(0, v_h) > bor(0, v_r)) then +goto L76 +end +F.fiA(v_A, tobit((v_s + 4)), v_d) +v_k = tobit((v_k + 4)) +if (not ((tobit(v_r) % 4294967296) > (tobit(v_h) % 4294967296))) then +goto B104 +end +end +::C104:: +end +end +::B104:: +else +v_r = 0 +end +end +end +::L76:: +end +F.fIA(v_A, 32, v_I, v_r, bxor(8192, v_p)) +v_r = ((bor(0, v_r) < bor(0, v_I)) and v_I or v_r) +goto C53 +end +end +::L75:: +end +v_r = bor(0, UA[bor(0, v_u)](v_A, F64[arshift((v_s + 64), 3)], v_I, v_y, v_p, v_r)) +goto C53 +end +end +::L74:: +end +I8[tobit((v_s + 55))] = tobit(I32[arshift((v_s + 64), 2)]) +v_y = 1 +v_w = v_b +v_p = v_d +goto L54 +end +end +::L56:: +end +v_C = (-1) +end +end +::L55:: +end +B = tobit((v_s + 80)) +do return v_C end +end +end +::L54:: +end +do +local t98 = v_A +local t97 = bor(0, v_y) +v_h = tobit((v_h - v_w)) +v_y = ((t97 < bor(0, v_h)) and v_h or v_y) +v_d = tobit((v_y + v_C)) +v_r = ((bor(0, v_d) > bor(0, v_I)) and v_d or v_I) +F.fIA(t98, 32, v_r, v_d, v_p) +F.fiA(v_A, v_m, v_C) +F.fIA(v_A, 48, v_r, v_d, bxor(65536, v_p)) +F.fIA(v_A, 48, v_y, v_h, 0) +F.fiA(v_A, v_w, v_h) +F.fIA(v_A, 32, v_r, v_d, bxor(8192, v_p)) +end +end +end +::C53:: +end +end +::B53:: +end +end + +F.fO = function(v_A) +local v_r, v_e, v_t, v_o, v_i = 0, 0, 0, 0, 0 +v_r = 0 +v_e = 0 +v_t = 0 +v_o = 0 +v_i = 0 +do +do +v_e = U8[tobit((v_A + 64))] +I8[tobit((v_A + 32))] = tobit(v_e) +I8[tobit((v_A + 48))] = tobit(bxor(v_e, U8[tobit((v_A + 16))])) +v_e = U8[tobit((v_A + 65))] +I8[tobit((v_A + 33))] = tobit(v_e) +v_r = U8[tobit((v_A + 66))] +I8[tobit((v_A + 34))] = tobit(v_r) +v_t = U8[tobit((v_A + 67))] +I8[tobit((v_A + 35))] = tobit(v_t) +v_o = U8[tobit((v_A + 68))] +I8[tobit((v_A + 36))] = tobit(v_o) +I8[tobit((v_A + 49))] = tobit(bxor(v_e, U8[tobit((v_A + 17))])) +I8[tobit((v_A + 50))] = tobit(bxor(v_r, U8[tobit((v_A + 18))])) +I8[tobit((v_A + 51))] = tobit(bxor(v_t, U8[tobit((v_A + 19))])) +I8[tobit((v_A + 52))] = tobit(bxor(v_o, U8[tobit((v_A + 20))])) +v_e = U8[tobit((v_A + 69))] +I8[tobit((v_A + 37))] = tobit(v_e) +v_r = U8[tobit((v_A + 70))] +I8[tobit((v_A + 38))] = tobit(v_r) +v_t = U8[tobit((v_A + 71))] +I8[tobit((v_A + 39))] = tobit(v_t) +v_o = U8[tobit((v_A + 72))] +I8[tobit((v_A + 40))] = tobit(v_o) +v_i = U8[tobit((v_A + 73))] +I8[tobit((v_A + 41))] = tobit(v_i) +I8[tobit((v_A + 53))] = tobit(bxor(v_e, U8[tobit((v_A + 21))])) +I8[tobit((v_A + 54))] = tobit(bxor(v_r, U8[tobit((v_A + 22))])) +I8[tobit((v_A + 55))] = tobit(bxor(v_t, U8[tobit((v_A + 23))])) +I8[tobit((v_A + 56))] = tobit(bxor(v_o, U8[tobit((v_A + 24))])) +v_e = U8[tobit((v_A + 74))] +I8[tobit((v_A + 42))] = tobit(v_e) +v_r = U8[tobit((v_A + 75))] +I8[tobit((v_A + 43))] = tobit(v_r) +v_t = U8[tobit((v_A + 76))] +I8[tobit((v_A + 44))] = tobit(v_t) +v_o = U8[tobit((v_A + 77))] +I8[tobit((v_A + 45))] = tobit(v_o) +I8[tobit((v_A + 57))] = tobit(bxor(v_i, U8[tobit((v_A + 25))])) +I8[tobit((v_A + 58))] = tobit(bxor(v_e, U8[tobit((v_A + 26))])) +I8[tobit((v_A + 59))] = tobit(bxor(v_r, U8[tobit((v_A + 27))])) +I8[tobit((v_A + 60))] = tobit(bxor(v_t, U8[tobit((v_A + 28))])) +I8[tobit((v_A + 61))] = tobit(bxor(v_o, U8[tobit((v_A + 29))])) +v_e = U8[tobit((v_A + 78))] +I8[tobit((v_A + 46))] = tobit(v_e) +I8[tobit((v_A + 62))] = tobit(bxor(v_e, U8[tobit((v_A + 30))])) +v_e = U8[tobit((v_A + 79))] +I8[tobit((v_A + 47))] = tobit(v_e) +I8[tobit((v_A + 63))] = tobit(bxor(v_e, U8[tobit((v_A + 31))])) +v_t = 0 +v_e = 0 +v_r = 0 +while true do +do +do +do +v_i = U8[tobit((v_e + 11488))] +local t99 = v_i +v_e = tobit((v_A + v_r)) +v_o = bxor(t99, U8[tobit((16 + v_e))]) +I8[tobit((v_e + 16))] = tobit(v_o) +v_o = bxor(U8[tobit((v_o + 11488))], U8[tobit((v_e + 17))]) +I8[tobit((v_e + 17))] = tobit(v_o) +v_i = v_e +v_e = bxor(U8[tobit((v_o + 11488))], U8[tobit((v_e + 18))]) +I8[tobit((v_i + 18))] = tobit(v_e) +v_r = tobit((v_r + 3)) +if (48 == bor(0, v_r)) then +do +while true do +v_r = tobit((v_A + v_t)) +v_e = bxor(U8[tobit((11488 + band(255, v_e)))], U8[tobit((v_r + 16))]) +I8[tobit((v_r + 16))] = tobit(v_e) +v_e = bxor(U8[tobit((v_e + 11488))], U8[tobit((v_r + 17))]) +I8[tobit((v_r + 17))] = tobit(v_e) +v_e = bxor(U8[tobit((v_e + 11488))], U8[tobit((v_r + 18))]) +I8[tobit((v_r + 18))] = tobit(v_e) +v_t = tobit((v_t + 3)) +if not (48 ~= bor(0, v_t)) then goto B106 end +do +end +::C106:: +end +end +::B106:: +do +v_r = tobit((v_e + 1)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B107 end +do +end +::C107:: +end +end +::B107:: +do +v_r = tobit((v_r + 2)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B108 end +do +end +::C108:: +end +end +::B108:: +do +v_r = tobit((v_r + 3)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B109 end +do +end +::C109:: +end +end +::B109:: +do +v_r = tobit((v_r + 4)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B110 end +do +end +::C110:: +end +end +::B110:: +do +v_r = tobit((v_r + 5)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B111 end +do +end +::C111:: +end +end +::B111:: +do +v_r = tobit((v_r + 6)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B112 end +do +end +::C112:: +end +end +::B112:: +do +v_r = tobit((v_r + 7)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B113 end +do +end +::C113:: +end +end +::B113:: +do +v_r = tobit((v_r + 8)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B114 end +do +end +::C114:: +end +end +::B114:: +do +v_r = tobit((v_r + 9)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B115 end +do +end +::C115:: +end +end +::B115:: +do +v_r = tobit((v_r + 10)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B116 end +do +end +::C116:: +end +end +::B116:: +do +v_r = tobit((v_r + 11)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B117 end +do +end +::C117:: +end +end +::B117:: +do +v_r = tobit((v_r + 12)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B118 end +do +end +::C118:: +end +end +::B118:: +do +v_r = tobit((v_r + 13)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B119 end +do +end +::C119:: +end +end +::B119:: +do +v_r = tobit((v_r + 14)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B120 end +do +end +::C120:: +end +end +::B120:: +do +v_r = tobit((v_r + 15)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B121 end +do +end +::C121:: +end +end +::B121:: +do +v_r = tobit((v_r + 16)) +v_e = 0 +while true do +v_t = tobit((v_A + v_e)) +v_r = bxor(U8[tobit((11488 + band(255, v_r)))], U8[tobit((v_t + 16))]) +I8[tobit((v_t + 16))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 17))]) +I8[tobit((v_t + 17))] = tobit(v_r) +v_r = bxor(U8[tobit((v_r + 11488))], U8[tobit((v_t + 18))]) +I8[tobit((v_t + 18))] = tobit(v_r) +v_e = tobit((v_e + 3)) +if not (48 ~= bor(0, v_e)) then goto B122 end +do +end +::C122:: +end +end +::B122:: +v_e = bxor(U8[tobit((11488 + bxor(U8[tobit((v_A + 64))], U8[tobit((v_A + 15))])))], U8[bor(0, v_A)]) +I8[bor(0, v_A)] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 65))])))], U8[tobit((v_A + 1))]) +I8[tobit((v_A + 1))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 66))])))], U8[tobit((v_A + 2))]) +I8[tobit((v_A + 2))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 67))])))], U8[tobit((v_A + 3))]) +I8[tobit((v_A + 3))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 68))])))], U8[tobit((v_A + 4))]) +I8[tobit((v_A + 4))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 69))])))], U8[tobit((v_A + 5))]) +I8[tobit((v_A + 5))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 70))])))], U8[tobit((v_A + 6))]) +I8[tobit((v_A + 6))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 71))])))], U8[tobit((v_A + 7))]) +I8[tobit((v_A + 7))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 72))])))], U8[tobit((v_A + 8))]) +I8[tobit((v_A + 8))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 73))])))], U8[tobit((v_A + 9))]) +I8[tobit((v_A + 9))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 74))])))], U8[tobit((v_A + 10))]) +I8[tobit((v_A + 10))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 75))])))], U8[tobit((v_A + 11))]) +I8[tobit((v_A + 11))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 76))])))], U8[tobit((v_A + 12))]) +I8[tobit((v_A + 12))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 77))])))], U8[tobit((v_A + 13))]) +I8[tobit((v_A + 13))] = tobit(v_e) +v_e = bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 78))])))], U8[tobit((v_A + 14))]) +I8[tobit((v_A + 14))] = tobit(v_e) +I8[tobit((v_A + 15))] = tobit(bxor(U8[tobit((11488 + bxor(v_e, U8[tobit((v_A + 79))])))], U8[tobit((v_A + 15))])) +goto B105 +end +end +v_e = band(v_e, 255) +end +end +::C105:: +end +end +::B105:: +end +end + +F.fx = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +do +v_t = tobit((B - 2048)) +B = v_t +if (not (U8[22884] ~= 0)) then +do +do +do +v_o = 1 +while true do +do +I32[arshift((tobit((v_t + 1024)) + lshift(v_s, 2)), 2)] = tobit(v_o) +I32[arshift((lshift(v_o, 2) + v_t), 2)] = tobit(v_s) +v_u = band(arshift(lshift(v_o, 24), 31), 27) +local t100 = v_u +v_o = bxor(v_o, band(lshift(v_o, 1), 254)) +v_u = bxor(t100, v_o) +local t101 = tobit((v_t + 1024)) +v_a = bor(1, v_s) +I32[arshift((t101 + lshift(v_a, 2)), 2)] = tobit(v_u) +I32[arshift((lshift(v_u, 2) + v_t), 2)] = tobit(v_a) +v_o = bxor(bxor(band(arshift(lshift(v_o, 24), 31), 27), v_u), band(lshift(v_u, 1), 254)) +v_s = tobit((v_s + 2)) +if not (256 ~= bor(0, v_s)) then goto B123 end +end +do +end +::C123:: +end +end +::B123:: +end +do +do +I32[5732] = tobit(27) +I32[5733] = tobit(54) +I32[5730] = tobit(64) +I32[5731] = tobit(128) +I32[5728] = tobit(16) +I32[5729] = tobit(32) +I32[5726] = tobit(4) +I32[5727] = tobit(8) +I32[5724] = tobit(1) +I32[5725] = tobit(2) +I8[22944] = tobit(99) +I8[31491] = tobit(0) +v_o = 1 +while true do +do +v_u = I32[arshift((2044 + tobit((lshift((0 - I32[arshift((lshift(v_o, 2) + v_t), 2)]), 2) + v_t))), 2)] +v_s = band(255, bor(lshift(v_u, 1), (rshift(v_u, 7) % 4294967296))) +v_a = band(lshift(v_s, 1), 254) +local t102 = (rshift(v_a, 7) % 4294967296) +v_c = bor(v_a, (rshift(v_s, 7) % 4294967296)) +v_l = band(lshift(v_c, 1), 254) +v_a = bor(t102, v_l) +v_u = bxor(bxor(bxor(bxor(bxor(v_a, v_c), v_u), v_s), bor(band(lshift(v_a, 1), 254), (rshift(v_l, 7) % 4294967296))), 99) +I8[tobit((v_o + 22944))] = tobit(v_u) +I8[tobit((v_u + 31392))] = tobit(v_o) +v_o = tobit((v_o + 1)) +if not (256 ~= bor(0, v_o)) then goto B124 end +end +do +end +::C124:: +end +end +::B124:: +end +do +v_a = 0 +v_s = 99 +v_c = I32[arshift((v_t + 44), 2)] +v_l = I32[arshift((v_t + 52), 2)] +v_v = I32[arshift((v_t + 36), 2)] +v_g = I32[arshift((v_t + 56), 2)] +while true do +v_o = bxor(band(arshift(lshift(v_s, 24), 31), 27), band(lshift(v_s, 1), 254)) +v_b = bor(bor(v_o, lshift(v_s, 8)), lshift(v_s, 16)) +v_o = bxor(v_o, v_s) +v_u = lshift(v_a, 2) +I32[arshift((27296 + v_u), 2)] = tobit(bor(v_b, lshift(v_o, 24))) +v_o = bor(v_o, lshift(v_b, 8)) +I32[arshift((v_u + 28320), 2)] = tobit(v_o) +v_o = bor(lshift(v_o, 8), v_s) +I32[arshift((v_u + 29344), 2)] = tobit(v_o) +I32[arshift((v_u + 30368), 2)] = tobit(bor(lshift(v_o, 8), v_s)) +v_o = U8[tobit((v_a + 31392))] +if (v_o ~= 0) then +v_o = I32[arshift((lshift(v_o, 2) + v_t), 2)] +v_s = bxor(bxor(lshift(I32[arshift((tobit((v_t + 1024)) + lshift(fmod(tobit((v_o + v_v)), 255), 2)), 2)], 8), I32[arshift((tobit((v_t + 1024)) + lshift(fmod(tobit((v_o + v_g)), 255), 2)), 2)]), lshift(I32[arshift((tobit((v_t + 1024)) + lshift(fmod(tobit((v_o + v_l)), 255), 2)), 2)], 16)) +v_o = lshift(I32[arshift((tobit((v_t + 1024)) + lshift(fmod(tobit((v_o + v_c)), 255), 2)), 2)], 24) +else +v_s = 0 +v_o = 0 +end +v_o = bxor(v_o, v_s) +I32[arshift((v_u + 23200), 2)] = tobit(v_o) +v_o = bor(lshift(v_s, 8), (rshift(v_o, 24) % 4294967296)) +I32[arshift((v_u + 24224), 2)] = tobit(v_o) +I32[arshift((v_u + 25248), 2)] = tobit(F.fPA(v_o, 8)) +I32[arshift((v_u + 26272), 2)] = tobit(F.fPA(v_o, 16)) +v_a = tobit((v_a + 1)) +if not (256 ~= bor(0, v_a)) then goto B125 end +do +v_s = U8[tobit((v_a + 22944))] +end +::C125:: +end +end +::B125:: +I8[22884] = tobit(1) +end +end +end +v_o = v_A +v_u = 10 +do +do +do +if (128 ~= bor(0, v_e)) then +if (256 == bor(0, v_e)) then +v_u = 14 +else +v_s = (-32) +if (192 ~= bor(0, v_e)) then +goto L126 +end +v_u = 12 +end +end +do +do +I32[arshift(v_o, 2)] = tobit(v_u) +v_o = tobit((v_A + 8)) +I32[arshift((v_A + 4), 2)] = tobit(v_o) +v_s = tobit((rshift(v_e, 5) % 4294967296)) +v_a = 0 +while true do +do +v_e = lshift(v_a, 2) +I32[arshift((8 + tobit((v_e + v_A))), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + v_e))], lshift(U8[tobit((bor(1, v_e) + v_r))], 8)), lshift(U8[tobit((bor(2, v_e) + v_r))], 16)), lshift(U8[tobit((bor(3, v_e) + v_r))], 24))) +local t103 = bor(0, v_s) +v_a = tobit((v_a + 1)) +if not (t103 ~= bor(0, v_a)) then goto B127 end +end +do +end +::C127:: +end +end +::B127:: +end +v_s = 0 +do +local sw128 = tobit((v_u - 10)) +if sw128 == 0 then goto K128_0 +elseif sw128 == 2 then goto K128_1 +elseif sw128 == 4 then goto K128_2 +else goto K128_3 end +::K128_0:: +do +do +v_r = I32[arshift(v_o, 2)] +v_a = 0 +while true do +v_A = I32[arshift((v_o + 12), 2)] +v_r = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_A, 8) % 4294967296), 255)))], I32[arshift((22896 + lshift(v_a, 2)), 2)]), v_r), lshift(U8[tobit((22944 + band((rshift(v_A, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_A, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_A)))], 24)) +I32[arshift((v_o + 16), 2)] = tobit(v_r) +v_e = bxor(I32[arshift((v_o + 4), 2)], v_r) +I32[arshift((v_o + 20), 2)] = tobit(v_e) +v_e = bxor(v_e, I32[arshift((v_o + 8), 2)]) +I32[arshift((v_o + 24), 2)] = tobit(v_e) +I32[arshift((v_o + 28), 2)] = tobit(bxor(v_A, v_e)) +v_o = tobit((v_o + 16)) +v_a = tobit((v_a + 1)) +if not (10 ~= bor(0, v_a)) then goto B129 end +do +end +::C129:: +end +end +::B129:: +goto L126 +end +::K128_1:: +do +v_r = I32[arshift((v_A + 28), 2)] +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], I32[5724]), I32[arshift((v_A + 8), 2)]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 32), 2)] = tobit(v_e) +v_u = bxor(v_e, I32[arshift((v_A + 12), 2)]) +I32[arshift((v_A + 36), 2)] = tobit(v_u) +v_o = bxor(v_u, I32[arshift((v_A + 16), 2)]) +I32[arshift((v_A + 40), 2)] = tobit(v_o) +v_a = bxor(v_o, I32[arshift((v_A + 20), 2)]) +I32[arshift((v_A + 44), 2)] = tobit(v_a) +v_c = bxor(v_a, I32[arshift((v_A + 24), 2)]) +I32[arshift((v_A + 48), 2)] = tobit(v_c) +v_r = bxor(v_r, v_c) +I32[arshift((v_A + 52), 2)] = tobit(v_r) +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], v_e), I32[5725]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 56), 2)] = tobit(v_e) +v_u = bxor(v_u, v_e) +I32[arshift((v_A + 60), 2)] = tobit(v_u) +v_o = bxor(v_o, v_u) +I32[arshift((v_A - (-64)), 2)] = tobit(v_o) +v_a = bxor(v_a, v_o) +I32[arshift((v_A + 68), 2)] = tobit(v_a) +v_c = bxor(v_c, v_a) +I32[arshift((v_A + 72), 2)] = tobit(v_c) +v_r = bxor(v_r, v_c) +I32[arshift((v_A + 76), 2)] = tobit(v_r) +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], v_e), I32[5726]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 80), 2)] = tobit(v_e) +v_u = bxor(v_u, v_e) +I32[arshift((v_A + 84), 2)] = tobit(v_u) +v_o = bxor(v_o, v_u) +I32[arshift((v_A + 88), 2)] = tobit(v_o) +v_a = bxor(v_a, v_o) +I32[arshift((v_A + 92), 2)] = tobit(v_a) +v_c = bxor(v_c, v_a) +I32[arshift((v_A + 96), 2)] = tobit(v_c) +v_r = bxor(v_r, v_c) +I32[arshift((v_A + 100), 2)] = tobit(v_r) +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], v_e), I32[5727]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 104), 2)] = tobit(v_e) +v_u = bxor(v_u, v_e) +I32[arshift((v_A + 108), 2)] = tobit(v_u) +v_o = bxor(v_o, v_u) +I32[arshift((v_A + 112), 2)] = tobit(v_o) +v_a = bxor(v_a, v_o) +I32[arshift((v_A + 116), 2)] = tobit(v_a) +v_c = bxor(v_c, v_a) +I32[arshift((v_A + 120), 2)] = tobit(v_c) +v_r = bxor(v_r, v_c) +I32[arshift((v_A + 124), 2)] = tobit(v_r) +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], v_e), I32[5728]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 128), 2)] = tobit(v_e) +v_u = bxor(v_u, v_e) +I32[arshift((v_A + 132), 2)] = tobit(v_u) +v_o = bxor(v_o, v_u) +I32[arshift((v_A + 136), 2)] = tobit(v_o) +v_a = bxor(v_a, v_o) +I32[arshift((v_A + 140), 2)] = tobit(v_a) +v_c = bxor(v_c, v_a) +I32[arshift((v_A + 144), 2)] = tobit(v_c) +v_r = bxor(v_r, v_c) +I32[arshift((v_A + 148), 2)] = tobit(v_r) +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], v_e), I32[5729]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 152), 2)] = tobit(v_e) +v_u = bxor(v_u, v_e) +I32[arshift((v_A + 156), 2)] = tobit(v_u) +v_o = bxor(v_o, v_u) +I32[arshift((v_A + 160), 2)] = tobit(v_o) +v_a = bxor(v_a, v_o) +I32[arshift((v_A + 164), 2)] = tobit(v_a) +v_c = bxor(v_c, v_a) +I32[arshift((v_A + 168), 2)] = tobit(v_c) +v_r = bxor(v_r, v_c) +I32[arshift((v_A + 172), 2)] = tobit(v_r) +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], v_e), I32[5730]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 176), 2)] = tobit(v_e) +v_u = bxor(v_u, v_e) +I32[arshift((v_A + 180), 2)] = tobit(v_u) +v_o = bxor(v_o, v_u) +I32[arshift((v_A + 184), 2)] = tobit(v_o) +v_a = bxor(v_a, v_o) +I32[arshift((v_A + 188), 2)] = tobit(v_a) +v_c = bxor(v_c, v_a) +I32[arshift((v_A + 192), 2)] = tobit(v_c) +v_r = bxor(v_r, v_c) +I32[arshift((v_A + 196), 2)] = tobit(v_r) +v_e = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], v_e), I32[5731]), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_r)))], 24)) +I32[arshift((v_A + 200), 2)] = tobit(v_e) +v_e = bxor(v_e, v_u) +I32[arshift((v_A + 204), 2)] = tobit(v_e) +v_e = bxor(v_e, v_o) +I32[arshift((v_A + 208), 2)] = tobit(v_e) +v_e = bxor(v_e, v_a) +I32[arshift((v_A + 212), 2)] = tobit(v_e) +v_e = bxor(v_e, v_c) +I32[arshift((v_A + 216), 2)] = tobit(v_e) +I32[arshift((v_A + 220), 2)] = tobit(bxor(v_r, v_e)) +goto L126 +end +::K128_2:: +do +goto S128 +end +::K128_3:: +do +goto L126 +end +end +::S128:: +do +v_a = I32[arshift(v_o, 2)] +v_e = 0 +while true do +v_A = I32[arshift((v_o + 28), 2)] +v_a = bxor(bxor(bxor(bxor(bxor(U8[tobit((22944 + band((rshift(v_A, 8) % 4294967296), 255)))], I32[arshift((22896 + lshift(v_e, 2)), 2)]), v_a), lshift(U8[tobit((22944 + band((rshift(v_A, 16) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + tobit((rshift(v_A, 24) % 4294967296))))], 16)), lshift(U8[tobit((22944 + band(255, v_A)))], 24)) +I32[arshift((v_o + 32), 2)] = tobit(v_a) +v_r = bxor(I32[arshift((v_o + 4), 2)], v_a) +I32[arshift((v_o + 36), 2)] = tobit(v_r) +v_r = bxor(v_r, I32[arshift((v_o + 8), 2)]) +I32[arshift((v_o + 40), 2)] = tobit(v_r) +v_r = bxor(v_r, I32[arshift((v_o + 12), 2)]) +I32[arshift((v_o + 44), 2)] = tobit(v_r) +v_r = bxor(bxor(bxor(bxor(I32[arshift((v_o + 16), 2)], U8[tobit((22944 + band(255, v_r)))]), lshift(U8[tobit((22944 + band((rshift(v_r, 8) % 4294967296), 255)))], 8)), lshift(U8[tobit((22944 + band((rshift(v_r, 16) % 4294967296), 255)))], 16)), lshift(U8[tobit((22944 + tobit((rshift(v_r, 24) % 4294967296))))], 24)) +I32[arshift((v_o + 48), 2)] = tobit(v_r) +v_r = bxor(v_r, I32[arshift((v_o + 20), 2)]) +I32[arshift((v_o + 52), 2)] = tobit(v_r) +v_r = bxor(v_r, I32[arshift((v_o + 24), 2)]) +I32[arshift((v_o + 56), 2)] = tobit(v_r) +I32[arshift((v_o + 60), 2)] = tobit(bxor(v_A, v_r)) +v_o = tobit((v_o + 32)) +v_e = tobit((v_e + 1)) +if not (7 ~= bor(0, v_e)) then goto B130 end +do +end +::C130:: +end +end +::B130:: +end +end +::L126:: +end +B = tobit((v_t + 2048)) +do return v_s end +end + +F.fM = function(v_A, v_r) +local v_e, v_n, v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_B, v_E, v_m, v_Q, v_S = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_B = 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +do +v_t = bor(bor(bor(U8[tobit((v_r + 16))], lshift(U8[tobit((v_r + 17))], 8)), lshift(U8[tobit((v_r + 18))], 16)), lshift(U8[tobit((v_r + 19))], 24)) +v_m = bor(bor(bor(U8[tobit((v_r + 32))], lshift(U8[tobit((v_r + 33))], 8)), lshift(U8[tobit((v_r + 34))], 16)), lshift(U8[tobit((v_r + 35))], 24)) +v_o = bor(bor(bor(U8[tobit((v_r + 48))], lshift(U8[tobit((v_r + 49))], 8)), lshift(U8[tobit((v_r + 50))], 16)), lshift(U8[tobit((v_r + 51))], 24)) +v_a = bor(bor(bor(U8[tobit((v_r + 36))], lshift(U8[tobit((v_r + 37))], 8)), lshift(U8[tobit((v_r + 38))], 16)), lshift(U8[tobit((v_r + 39))], 24)) +v_u = bor(bor(bor(U8[tobit((v_r + 52))], lshift(U8[tobit((v_r + 53))], 8)), lshift(U8[tobit((v_r + 54))], 16)), lshift(U8[tobit((v_r + 55))], 24)) +v_c = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +v_E = bor(bor(bor(U8[tobit((v_r + 20))], lshift(U8[tobit((v_r + 21))], 8)), lshift(U8[tobit((v_r + 22))], 16)), lshift(U8[tobit((v_r + 23))], 24)) +v_e = I32[arshift((v_A + 12), 2)] +local t108 = v_e +v_Q = bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24)) +local t104 = v_Q +v_y = I32[arshift((v_A + 8), 2)] +local t107 = tobit((t104 + v_y)) +v_s = I32[arshift((v_A + 20), 2)] +local t106 = v_s +local t105 = v_s +v_n = I32[arshift((v_A + 16), 2)] +v_w = tobit((t108 + F.fPA(tobit((tobit((t107 + bxor(t106, band(bxor(t105, v_n), v_e)))) - 680876936)), 7))) +v_l = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +v_b = bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_c + v_s)) + bxor(band(v_w, bxor(v_e, v_n)), v_n))) - 389564586)), 12) + v_w)) +v_C = tobit((F.fPA(tobit((606105819 + tobit((tobit((v_b + v_n)) + bxor(band(v_I, bxor(v_w, v_e)), v_e))))), 17) + v_I)) +v_B = tobit((F.fPA(tobit((tobit((tobit((v_e + v_l)) + bxor(v_w, band(v_C, bxor(v_w, v_I))))) - 1044525330)), 22) + v_C)) +v_w = tobit((F.fPA(tobit((tobit((tobit((v_w + v_t)) + bxor(v_I, band(v_B, bxor(v_C, v_I))))) - 176418897)), 7) + v_B)) +v_v = bor(bor(bor(U8[tobit((v_r + 28))], lshift(U8[tobit((v_r + 29))], 8)), lshift(U8[tobit((v_r + 30))], 16)), lshift(U8[tobit((v_r + 31))], 24)) +v_g = bor(bor(bor(U8[tobit((v_r + 24))], lshift(U8[tobit((v_r + 25))], 8)), lshift(U8[tobit((v_r + 26))], 16)), lshift(U8[tobit((v_r + 27))], 24)) +v_I = tobit((F.fPA(tobit((1200080426 + tobit((tobit((v_I + v_E)) + bxor(v_C, band(v_w, bxor(v_C, v_B))))))), 12) + v_w)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_C + v_g)) + bxor(v_B, band(v_I, bxor(v_w, v_B))))) - 1473231341)), 17) + v_I)) +v_B = tobit((F.fPA(tobit((tobit((tobit((v_B + v_v)) + bxor(v_w, band(v_C, bxor(v_w, v_I))))) - 45705983)), 22) + v_C)) +v_w = tobit((F.fPA(tobit((1770035416 + tobit((tobit((v_w + v_m)) + bxor(v_I, band(v_B, bxor(v_C, v_I))))))), 7) + v_B)) +v_p = bor(bor(bor(U8[tobit((v_r + 44))], lshift(U8[tobit((v_r + 45))], 8)), lshift(U8[tobit((v_r + 46))], 16)), lshift(U8[tobit((v_r + 47))], 24)) +v_d = bor(bor(bor(U8[tobit((v_r + 40))], lshift(U8[tobit((v_r + 41))], 8)), lshift(U8[tobit((v_r + 42))], 16)), lshift(U8[tobit((v_r + 43))], 24)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_I + v_a)) + bxor(v_C, band(v_w, bxor(v_C, v_B))))) - 1958414417)), 12) + v_w)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_d + v_C)) + bxor(v_B, band(v_I, bxor(v_w, v_B))))) - 42063)), 17) + v_I)) +v_B = tobit((F.fPA(tobit((tobit((tobit((v_B + v_p)) + bxor(v_w, band(v_C, bxor(v_w, v_I))))) - 1990404162)), 22) + v_C)) +v_w = tobit((F.fPA(tobit((1804603682 + tobit((tobit((v_w + v_o)) + bxor(v_I, band(v_B, bxor(v_C, v_I))))))), 7) + v_B)) +v_h = bor(bor(bor(U8[tobit((v_r + 60))], lshift(U8[tobit((v_r + 61))], 8)), lshift(U8[tobit((v_r + 62))], 16)), lshift(U8[tobit((v_r + 63))], 24)) +v_S = tobit((v_w + v_c)) +v_k = bor(bor(bor(U8[tobit((v_r + 56))], lshift(U8[tobit((v_r + 57))], 8)), lshift(U8[tobit((v_r + 58))], 16)), lshift(U8[tobit((v_r + 59))], 24)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_I + v_u)) + bxor(v_C, band(v_w, bxor(v_C, v_B))))) - 40341101)), 12) + v_w)) +v_r = tobit((F.fPA(tobit((tobit((tobit((v_k + v_C)) + bxor(v_B, band(v_I, bxor(v_w, v_B))))) - 1502002290)), 17) + v_I)) +v_w = tobit((F.fPA(tobit((1236535329 + tobit((tobit((v_B + v_h)) + bxor(v_w, band(v_r, bxor(v_w, v_I))))))), 22) + v_r)) +v_C = tobit((F.fPA(tobit((tobit((v_S + bxor(band(bxor(v_r, v_w), v_I), v_r))) - 165796510)), 5) + v_w)) +v_B = tobit((v_r + v_p)) +v_r = tobit((F.fPA(tobit((tobit((tobit((v_I + v_g)) + bxor(v_w, band(v_r, bxor(v_w, v_C))))) - 1069501632)), 9) + v_C)) +v_I = tobit((F.fPA(tobit((643717713 + tobit((v_B + bxor(v_C, band(v_w, bxor(v_r, v_C))))))), 14) + v_r)) +v_w = tobit((F.fPA(tobit((tobit((tobit((v_w + v_Q)) + bxor(v_r, band(v_C, bxor(v_r, v_I))))) - 373897302)), 20) + v_I)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_C + v_E)) + bxor(band(bxor(v_I, v_w), v_r), v_I))) - 701558691)), 5) + v_w)) +v_r = tobit((F.fPA(tobit((38016083 + tobit((tobit((v_r + v_d)) + bxor(v_w, band(v_I, bxor(v_w, v_C))))))), 9) + v_C)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_I + v_h)) + bxor(v_C, band(v_w, bxor(v_r, v_C))))) - 660478335)), 14) + v_r)) +v_w = tobit((F.fPA(tobit((tobit((tobit((v_w + v_t)) + bxor(v_r, band(v_C, bxor(v_r, v_I))))) - 405537848)), 20) + v_I)) +v_C = tobit((F.fPA(tobit((568446438 + tobit((tobit((v_C + v_a)) + bxor(band(bxor(v_I, v_w), v_r), v_I))))), 5) + v_w)) +v_B = tobit((v_I + v_l)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_r + v_k)) + bxor(v_w, band(v_I, bxor(v_w, v_C))))) - 1019803690)), 9) + v_C)) +v_B = tobit((F.fPA(tobit((tobit((v_B + bxor(v_C, band(v_w, bxor(v_I, v_C))))) - 187363961)), 14) + v_I)) +v_w = tobit((F.fPA(tobit((1163531501 + tobit((tobit((v_w + v_m)) + bxor(v_I, band(v_C, bxor(v_I, v_B))))))), 20) + v_B)) +v_r = tobit((F.fPA(tobit((tobit((tobit((v_C + v_u)) + bxor(band(bxor(v_B, v_w), v_I), v_B))) - 1444681467)), 5) + v_w)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_I + v_b)) + bxor(v_w, band(v_B, bxor(v_r, v_w))))) - 51403784)), 9) + v_r)) +v_I = tobit((F.fPA(tobit((1735328473 + tobit((tobit((v_B + v_v)) + bxor(v_r, band(v_w, bxor(v_C, v_r))))))), 14) + v_C)) +v_S = tobit((v_C + v_m)) +local t110 = tobit((v_w + v_o)) +local t109 = v_C +v_B = bxor(v_C, v_I) +v_w = tobit((F.fPA(tobit((tobit((t110 + bxor(t109, band(v_B, v_r)))) - 1926607734)), 20) + v_I)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_r + v_E)) + bxor(v_w, v_B))) - 378558)), 4) + v_w)) +v_r = tobit((F.fPA(tobit((tobit((v_S + bxor(bxor(v_w, v_I), v_C))) - 2022574463)), 11) + v_C)) +v_I = tobit((F.fPA(tobit((1839030562 + tobit((tobit((v_I + v_p)) + bxor(bxor(v_r, v_w), v_C))))), 16) + v_r)) +v_w = tobit((F.fPA(tobit((tobit((tobit((v_w + v_k)) + bxor(bxor(v_I, v_r), v_C))) - 35309556)), 23) + v_I)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_C + v_c)) + bxor(bxor(v_w, v_r), v_I))) - 1530992060)), 4) + v_w)) +v_r = tobit((F.fPA(tobit((1272893353 + tobit((tobit((v_r + v_t)) + bxor(bxor(v_C, v_w), v_I))))), 11) + v_C)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_I + v_v)) + bxor(bxor(v_r, v_w), v_C))) - 155497632)), 16) + v_r)) +v_w = tobit((F.fPA(tobit((tobit((tobit((v_w + v_d)) + bxor(bxor(v_I, v_r), v_C))) - 1094730640)), 23) + v_I)) +v_C = tobit((F.fPA(tobit((681279174 + tobit((tobit((v_C + v_u)) + bxor(bxor(v_w, v_r), v_I))))), 4) + v_w)) +v_r = tobit((F.fPA(tobit((tobit((tobit((v_r + v_Q)) + bxor(bxor(v_C, v_w), v_I))) - 358537222)), 11) + v_C)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_I + v_l)) + bxor(bxor(v_r, v_w), v_C))) - 722521979)), 16) + v_r)) +v_w = tobit((F.fPA(tobit((76029189 + tobit((tobit((v_w + v_g)) + bxor(bxor(v_I, v_r), v_C))))), 23) + v_I)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_C + v_a)) + bxor(bxor(v_w, v_r), v_I))) - 640364487)), 4) + v_w)) +v_B = tobit((v_C + v_Q)) +v_r = tobit((F.fPA(tobit((tobit((tobit((v_r + v_o)) + bxor(bxor(v_C, v_w), v_I))) - 421815835)), 11) + v_C)) +v_Q = bxor(v_r, v_C) +v_C = tobit((F.fPA(tobit((530742520 + tobit((tobit((v_I + v_h)) + bxor(bxor(v_r, v_w), v_C))))), 16) + v_r)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_w + v_b)) + bxor(v_Q, v_C))) - 995338651)), 23) + v_C)) +v_w = tobit((F.fPA(tobit((tobit((v_B + bxor(bor(v_I, bxor((-1), v_r)), v_C))) - 198630844)), 6) + v_I)) +v_B = tobit((v_I + v_E)) +v_E = tobit((v_C + v_k)) +v_C = tobit((F.fPA(tobit((1126891415 + tobit((tobit((v_r + v_v)) + bxor(v_I, bor(v_w, bxor((-1), v_C))))))), 10) + v_w)) +v_I = tobit((F.fPA(tobit((tobit((v_E + bxor(v_w, bor(v_C, bxor((-1), v_I))))) - 1416354905)), 15) + v_C)) +v_r = tobit((F.fPA(tobit((tobit((v_B + bxor(bor(v_I, bxor((-1), v_w)), v_C))) - 57434055)), 21) + v_I)) +v_B = tobit((v_I + v_d)) +v_E = tobit((v_C + v_l)) +v_C = tobit((F.fPA(tobit((1700485571 + tobit((tobit((v_w + v_o)) + bxor(v_I, bor(v_r, bxor((-1), v_C))))))), 6) + v_r)) +v_I = tobit((F.fPA(tobit((tobit((v_E + bxor(v_r, bor(v_C, bxor((-1), v_I))))) - 1894986606)), 10) + v_C)) +v_w = tobit((F.fPA(tobit((tobit((v_B + bxor(bor(v_I, bxor((-1), v_r)), v_C))) - 1051523)), 15) + v_I)) +v_B = tobit((v_I + v_h)) +v_m = tobit((v_C + v_m)) +v_C = tobit((F.fPA(tobit((tobit((tobit((v_r + v_c)) + bxor(v_I, bor(v_w, bxor((-1), v_C))))) - 2054922799)), 21) + v_w)) +v_I = tobit((F.fPA(tobit((1873313359 + tobit((v_m + bxor(v_w, bor(v_C, bxor((-1), v_I))))))), 6) + v_C)) +v_r = tobit((F.fPA(tobit((tobit((v_B + bxor(bor(v_I, bxor((-1), v_w)), v_C))) - 30611744)), 10) + v_I)) +v_w = tobit((F.fPA(tobit((tobit((tobit((v_w + v_g)) + bxor(v_I, bor(v_r, bxor((-1), v_C))))) - 1560198380)), 15) + v_r)) +v_C = tobit((F.fPA(tobit((1309151649 + tobit((tobit((v_C + v_u)) + bxor(v_r, bor(v_w, bxor((-1), v_I))))))), 21) + v_w)) +v_I = tobit((F.fPA(tobit((tobit((tobit((v_I + v_t)) + bxor(bor(v_C, bxor((-1), v_r)), v_w))) - 145523070)), 6) + v_C)) +I32[arshift((v_A + 8), 2)] = tobit((v_I + v_y)) +v_r = tobit((F.fPA(tobit((tobit((tobit((v_r + v_p)) + bxor(v_C, bor(v_I, bxor((-1), v_w))))) - 1120210379)), 10) + v_I)) +I32[arshift((v_A + 20), 2)] = tobit((v_r + v_s)) +v_w = tobit((F.fPA(tobit((718787259 + tobit((tobit((v_w + v_b)) + bxor(v_I, bor(v_r, bxor((-1), v_C))))))), 15) + v_r)) +I32[arshift((v_A + 16), 2)] = tobit((v_w + v_n)) +I32[arshift((v_A + 12), 2)] = tobit((F.fPA(tobit((tobit((tobit((v_C + v_a)) + bxor(v_r, bor(v_w, bxor((-1), v_I))))) - 343485551)), 21) + tobit((v_w + v_e)))) +end +end + +F.fj = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_E, v_m, v_Q, v_S, v_O, v_x = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +v_x = 0 +v_c = I32[arshift((v_A + 4), 2)] +v_o = U8[tobit((v_r + 3))] +v_a = U8[tobit((v_r + 1))] +v_u = U8[tobit((v_r + 2))] +v_t = tobit((B - 48)) +v_s = U8[bor(0, v_r)] +I8[tobit((v_t + 40))] = tobit(v_s) +v_o = bxor(I32[arshift(v_c, 2)], bor(bor(bor(v_s, lshift(v_a, 8)), lshift(v_u, 16)), lshift(v_o, 24))) +I8[tobit((v_t + 40))] = tobit(v_o) +I8[tobit((v_t + 39))] = tobit((rshift(v_o, 8) % 4294967296)) +I8[tobit((v_t + 38))] = tobit((rshift(v_o, 16) % 4294967296)) +I8[tobit((v_t + 37))] = tobit((rshift(v_o, 24) % 4294967296)) +v_o = bxor(I32[arshift((v_c + 4), 2)], bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24))) +I8[tobit((v_t + 36))] = tobit(v_o) +v_l = tobit((rshift(v_o, 8) % 4294967296)) +I8[tobit((v_t + 35))] = tobit(v_l) +v_v = tobit((rshift(v_o, 16) % 4294967296)) +I8[tobit((v_t + 34))] = tobit(v_v) +v_g = tobit((rshift(v_o, 24) % 4294967296)) +I8[tobit((v_t + 33))] = tobit(v_g) +v_a = bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24)) +I32[arshift((v_t + 44), 2)] = tobit((v_c + 12)) +v_a = bxor(v_a, I32[arshift((v_c + 8), 2)]) +I8[tobit((v_t + 32))] = tobit(v_a) +v_p = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 31))] = tobit(v_p) +v_d = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 30))] = tobit(v_d) +v_h = tobit((rshift(v_a, 24) % 4294967296)) +I8[tobit((v_t + 29))] = tobit(v_h) +v_u = bxor(I32[arshift((v_c + 12), 2)], bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24))) +I8[tobit((v_t + 28))] = tobit(v_u) +v_k = tobit((rshift(v_u, 8) % 4294967296)) +I8[tobit((v_t + 27))] = tobit(v_k) +v_y = tobit((rshift(v_u, 16) % 4294967296)) +I8[tobit((v_t + 26))] = tobit(v_y) +v_w = tobit((rshift(v_u, 24) % 4294967296)) +I8[tobit((v_t + 25))] = tobit(v_w) +v_r = tobit((v_c + 16)) +v_A = I32[arshift(v_A, 2)] +if (bor(0, v_A) <= 3) then +v_C = U8[tobit((v_t + 37))] +v_I = U8[tobit((v_t + 38))] +else +do +v_E = tobit((rshift(v_A, 1) % 4294967296)) +v_m = U8[tobit((v_t + 39))] +v_C = U8[tobit((v_t + 37))] +v_I = U8[tobit((v_t + 38))] +while true do +v_A = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_g, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_d), 2)), 2)]), I32[arshift((24224 + lshift(band(255, v_k), 2)), 2)]), I32[arshift((23200 + lshift(U8[tobit((v_t + 40))], 2)), 2)]), I32[arshift(v_r, 2)]) +I8[tobit((v_t + 24))] = tobit(v_A) +v_c = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_h, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_y), 2)), 2)]), I32[arshift((24224 + lshift(band(255, v_m), 2)), 2)]), I32[arshift((23200 + lshift(band(255, v_o), 2)), 2)]), I32[arshift((v_r + 4), 2)]) +I8[tobit((v_t + 20))] = tobit(v_c) +v_s = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_w, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_I), 2)), 2)]), I32[arshift((24224 + lshift(band(255, v_l), 2)), 2)]), I32[arshift((23200 + lshift(band(255, v_a), 2)), 2)]), I32[arshift((v_r + 8), 2)]) +I8[tobit((v_t + 16))] = tobit(v_s) +v_b = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_C, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_v), 2)), 2)]), I32[arshift((24224 + lshift(band(255, v_p), 2)), 2)]), I32[arshift((23200 + lshift(band(255, v_u), 2)), 2)]), I32[arshift((v_r + 12), 2)]) +I8[tobit((v_t + 12))] = tobit(v_b) +v_Q = tobit((rshift(v_c, 24) % 4294967296)) +v_l = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_Q, 2)), 2)], I32[arshift((25248 + band((rshift(v_s, 14) % 4294967296), 1020)), 2)]), I32[arshift((24224 + band((rshift(v_b, 6) % 4294967296), 1020)), 2)]), I32[arshift((23200 + lshift(band(255, v_A), 2)), 2)]), I32[arshift((v_r + 16), 2)]) +I8[tobit((v_t + 40))] = tobit(v_l) +v_S = tobit((rshift(v_s, 24) % 4294967296)) +v_o = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_S, 2)), 2)], I32[arshift((25248 + band((rshift(v_b, 14) % 4294967296), 1020)), 2)]), I32[arshift((24224 + band((rshift(v_A, 6) % 4294967296), 1020)), 2)]), I32[arshift((23200 + lshift(band(255, v_c), 2)), 2)]), I32[arshift((v_r + 20), 2)]) +I8[tobit((v_t + 36))] = tobit(v_o) +v_a = bxor(bxor(bxor(bxor(I32[arshift((26272 + band((rshift(v_b, 22) % 4294967296), 1020)), 2)], I32[arshift((25248 + band((rshift(v_A, 14) % 4294967296), 1020)), 2)]), I32[arshift((24224 + band((rshift(v_c, 6) % 4294967296), 1020)), 2)]), I32[arshift((23200 + lshift(band(255, v_s), 2)), 2)]), I32[arshift((v_r + 24), 2)]) +I8[tobit((v_t + 32))] = tobit(v_a) +v_O = tobit((rshift(v_A, 24) % 4294967296)) +v_u = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_O, 2)), 2)], I32[arshift((25248 + band((rshift(v_c, 14) % 4294967296), 1020)), 2)]), I32[arshift((24224 + band((rshift(v_s, 6) % 4294967296), 1020)), 2)]), I32[arshift((23200 + lshift(band(255, v_b), 2)), 2)]), I32[arshift((v_r + 28), 2)]) +I8[tobit((v_t + 28))] = tobit(v_u) +v_C = tobit((rshift(v_l, 24) % 4294967296)) +v_I = tobit((rshift(v_l, 16) % 4294967296)) +v_m = tobit((rshift(v_l, 8) % 4294967296)) +v_g = tobit((rshift(v_o, 24) % 4294967296)) +v_v = tobit((rshift(v_o, 16) % 4294967296)) +v_l = tobit((rshift(v_o, 8) % 4294967296)) +v_h = tobit((rshift(v_a, 24) % 4294967296)) +v_d = tobit((rshift(v_a, 16) % 4294967296)) +v_p = tobit((rshift(v_a, 8) % 4294967296)) +v_w = tobit((rshift(v_u, 24) % 4294967296)) +v_y = tobit((rshift(v_u, 16) % 4294967296)) +v_k = tobit((rshift(v_u, 8) % 4294967296)) +v_r = tobit((v_r + 32)) +v_x = ((bor(0, v_E) > 2) and 1 or 0) +v_E = tobit((v_E - 1)) +if not (v_x ~= 0) then goto B131 end +do +end +::C131:: +end +end +::B131:: +I8[tobit((v_t + 23))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_t + 39))] = tobit(v_m) +I8[tobit((v_t + 22))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[tobit((v_t + 21))] = tobit(v_O) +I8[tobit((v_t + 19))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 18))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 17))] = tobit(v_Q) +I8[tobit((v_t + 15))] = tobit((rshift(v_s, 8) % 4294967296)) +I8[tobit((v_t + 14))] = tobit((rshift(v_s, 16) % 4294967296)) +I8[tobit((v_t + 13))] = tobit(v_S) +I8[tobit((v_t + 11))] = tobit((rshift(v_b, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_b, 16) % 4294967296)) +end +v_u = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_C, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_v), 2)), 2)]), I32[arshift((24224 + lshift(band(255, v_p), 2)), 2)]), I32[arshift((23200 + lshift(band(255, v_u), 2)), 2)]), I32[arshift((v_r + 12), 2)]) +v_c = U8[tobit((31392 + band((rshift(v_u, 8) % 4294967296), 255)))] +v_A = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_w, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_I), 2)), 2)]), I32[arshift((24224 + lshift(band(255, v_l), 2)), 2)]), I32[arshift((23200 + lshift(band(255, v_a), 2)), 2)]), I32[arshift((v_r + 8), 2)]) +v_s = U8[tobit((31392 + band((rshift(v_A, 16) % 4294967296), 255)))] +v_b = U8[tobit((31392 + band((rshift(v_u, 16) % 4294967296), 255)))] +v_o = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_h, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_y), 2)), 2)]), I32[arshift((24224 + lshift(U8[tobit((v_t + 39))], 2)), 2)]), I32[arshift((23200 + lshift(band(255, v_o), 2)), 2)]), I32[arshift((v_r + 4), 2)]) +v_C = U8[tobit((31392 + band((rshift(v_o, 8) % 4294967296), 255)))] +v_I = U8[tobit((31392 + band((rshift(v_A, 8) % 4294967296), 255)))] +v_l = U8[tobit((31392 + band((rshift(v_o, 16) % 4294967296), 255)))] +v_v = U8[tobit((31392 + tobit((rshift(v_o, 24) % 4294967296))))] +v_a = bxor(bxor(bxor(bxor(I32[arshift((26272 + lshift(v_g, 2)), 2)], I32[arshift((25248 + lshift(band(255, v_d), 2)), 2)]), I32[arshift((24224 + lshift(band(255, v_k), 2)), 2)]), I32[arshift((23200 + lshift(U8[tobit((v_t + 40))], 2)), 2)]), I32[arshift(v_r, 2)]) +v_g = U8[tobit((31392 + band((rshift(v_a, 8) % 4294967296), 255)))] +v_p = U8[tobit((31392 + tobit((rshift(v_A, 24) % 4294967296))))] +v_d = U8[tobit((31392 + band((rshift(v_a, 16) % 4294967296), 255)))] +v_h = U8[tobit((31392 + tobit((rshift(v_u, 24) % 4294967296))))] +v_k = U8[tobit((31392 + tobit((rshift(v_a, 24) % 4294967296))))] +v_y = U8[tobit((31392 + band(255, v_a)))] +v_w = U8[tobit((31392 + band(255, v_o)))] +v_E = U8[tobit((31392 + band(255, v_A)))] +v_A = I32[arshift((v_r + 16), 2)] +v_o = I32[arshift((v_r + 20), 2)] +v_a = I32[arshift((v_r + 24), 2)] +v_r = I32[arshift((v_r + 28), 2)] +I8[tobit((v_e + 12))] = tobit(bxor(v_r, U8[tobit((31392 + band(255, v_u)))])) +I8[tobit((v_e + 8))] = tobit(bxor(v_a, v_E)) +I8[tobit((v_e + 4))] = tobit(bxor(v_o, v_w)) +I8[bor(0, v_e)] = tobit(bxor(v_A, v_y)) +I8[tobit((v_e + 15))] = tobit((rshift(bxor(v_r, lshift(v_k, 24)), 24) % 4294967296)) +I8[tobit((v_e + 11))] = tobit((rshift(bxor(v_a, lshift(v_h, 24)), 24) % 4294967296)) +I8[tobit((v_e + 10))] = tobit((rshift(bxor(v_a, lshift(v_d, 16)), 16) % 4294967296)) +I8[tobit((v_e + 7))] = tobit((rshift(bxor(v_o, lshift(v_p, 24)), 24) % 4294967296)) +I8[tobit((v_e + 5))] = tobit((rshift(bxor(v_o, lshift(v_g, 8)), 8) % 4294967296)) +I8[tobit((v_e + 3))] = tobit((rshift(bxor(v_A, lshift(v_v, 24)), 24) % 4294967296)) +I8[tobit((v_e + 14))] = tobit((rshift(bxor(v_r, lshift(v_l, 16)), 16) % 4294967296)) +I8[tobit((v_e + 13))] = tobit((rshift(bxor(v_r, lshift(v_I, 8)), 8) % 4294967296)) +I8[tobit((v_e + 9))] = tobit((rshift(bxor(v_a, lshift(v_C, 8)), 8) % 4294967296)) +I8[tobit((v_e + 6))] = tobit((rshift(bxor(v_o, lshift(v_b, 16)), 16) % 4294967296)) +I8[tobit((v_e + 2))] = tobit((rshift(bxor(v_A, lshift(v_s, 16)), 16) % 4294967296)) +I8[tobit((v_e + 1))] = tobit((rshift(bxor(v_A, lshift(v_c, 8)), 8) % 4294967296)) +I8[tobit((v_t + 40))] = tobit(0) +I8[tobit((v_t + 39))] = tobit(0) +I8[tobit((v_t + 38))] = tobit(0) +I8[tobit((v_t + 37))] = tobit(0) +I8[tobit((v_t + 36))] = tobit(0) +I8[tobit((v_t + 35))] = tobit(0) +I8[tobit((v_t + 34))] = tobit(0) +I8[tobit((v_t + 33))] = tobit(0) +I8[tobit((v_t + 32))] = tobit(0) +I8[tobit((v_t + 31))] = tobit(0) +I8[tobit((v_t + 30))] = tobit(0) +I8[tobit((v_t + 29))] = tobit(0) +I8[tobit((v_t + 28))] = tobit(0) +I8[tobit((v_t + 27))] = tobit(0) +I8[tobit((v_t + 26))] = tobit(0) +I8[tobit((v_t + 25))] = tobit(0) +I8[tobit((v_t + 24))] = tobit(0) +I8[tobit((v_t + 23))] = tobit(0) +I8[tobit((v_t + 22))] = tobit(0) +I8[tobit((v_t + 21))] = tobit(0) +I8[tobit((v_t + 20))] = tobit(0) +I8[tobit((v_t + 19))] = tobit(0) +I8[tobit((v_t + 18))] = tobit(0) +I8[tobit((v_t + 17))] = tobit(0) +I8[tobit((v_t + 16))] = tobit(0) +I8[tobit((v_t + 15))] = tobit(0) +I8[tobit((v_t + 14))] = tobit(0) +I8[tobit((v_t + 13))] = tobit(0) +I8[tobit((v_t + 12))] = tobit(0) +I8[tobit((v_t + 11))] = tobit(0) +I8[tobit((v_t + 10))] = tobit(0) +I8[tobit((v_t + 9))] = tobit(0) +I8[tobit((v_t + 44))] = tobit(0) +I8[tobit((v_t + 45))] = tobit(0) +I8[tobit((v_t + 46))] = tobit(0) +I8[tobit((v_t + 47))] = tobit(0) +end + +F.fT = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_E, v_m, v_Q, v_S, v_O, v_x = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +v_x = 0 +v_c = I32[arshift((v_A + 4), 2)] +v_o = U8[tobit((v_r + 3))] +v_a = U8[tobit((v_r + 1))] +v_u = U8[tobit((v_r + 2))] +v_t = tobit((B - 48)) +v_s = U8[bor(0, v_r)] +I8[tobit((v_t + 40))] = tobit(v_s) +v_o = bxor(I32[arshift(v_c, 2)], bor(bor(bor(v_s, lshift(v_a, 8)), lshift(v_u, 16)), lshift(v_o, 24))) +I8[tobit((v_t + 40))] = tobit(v_o) +I8[tobit((v_t + 39))] = tobit((rshift(v_o, 8) % 4294967296)) +I8[tobit((v_t + 38))] = tobit((rshift(v_o, 16) % 4294967296)) +I8[tobit((v_t + 37))] = tobit((rshift(v_o, 24) % 4294967296)) +v_o = bxor(I32[arshift((v_c + 4), 2)], bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24))) +I8[tobit((v_t + 36))] = tobit(v_o) +v_l = tobit((rshift(v_o, 8) % 4294967296)) +I8[tobit((v_t + 35))] = tobit(v_l) +v_v = tobit((rshift(v_o, 16) % 4294967296)) +I8[tobit((v_t + 34))] = tobit(v_v) +v_g = tobit((rshift(v_o, 24) % 4294967296)) +I8[tobit((v_t + 33))] = tobit(v_g) +v_a = bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24)) +I32[arshift((v_t + 44), 2)] = tobit((v_c + 12)) +v_a = bxor(v_a, I32[arshift((v_c + 8), 2)]) +I8[tobit((v_t + 32))] = tobit(v_a) +v_p = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 31))] = tobit(v_p) +v_d = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 30))] = tobit(v_d) +v_h = tobit((rshift(v_a, 24) % 4294967296)) +I8[tobit((v_t + 29))] = tobit(v_h) +v_u = bxor(I32[arshift((v_c + 12), 2)], bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24))) +I8[tobit((v_t + 28))] = tobit(v_u) +v_k = tobit((rshift(v_u, 8) % 4294967296)) +I8[tobit((v_t + 27))] = tobit(v_k) +v_y = tobit((rshift(v_u, 16) % 4294967296)) +I8[tobit((v_t + 26))] = tobit(v_y) +v_w = tobit((rshift(v_u, 24) % 4294967296)) +I8[tobit((v_t + 25))] = tobit(v_w) +v_r = tobit((v_c + 16)) +v_A = I32[arshift(v_A, 2)] +if (bor(0, v_A) <= 3) then +v_C = U8[tobit((v_t + 37))] +v_I = U8[tobit((v_t + 38))] +else +do +v_E = tobit((rshift(v_A, 1) % 4294967296)) +v_m = U8[tobit((v_t + 39))] +v_C = U8[tobit((v_t + 37))] +v_I = U8[tobit((v_t + 38))] +while true do +v_A = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_w, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_d), 2)), 2)]), I32[arshift((28320 + lshift(band(255, v_l), 2)), 2)]), I32[arshift((27296 + lshift(U8[tobit((v_t + 40))], 2)), 2)]), I32[arshift(v_r, 2)]) +I8[tobit((v_t + 24))] = tobit(v_A) +v_c = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_C, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_y), 2)), 2)]), I32[arshift((28320 + lshift(band(255, v_p), 2)), 2)]), I32[arshift((27296 + lshift(band(255, v_o), 2)), 2)]), I32[arshift((v_r + 4), 2)]) +I8[tobit((v_t + 20))] = tobit(v_c) +v_s = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_g, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_I), 2)), 2)]), I32[arshift((28320 + lshift(band(255, v_k), 2)), 2)]), I32[arshift((27296 + lshift(band(255, v_a), 2)), 2)]), I32[arshift((v_r + 8), 2)]) +I8[tobit((v_t + 16))] = tobit(v_s) +v_b = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_h, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_v), 2)), 2)]), I32[arshift((28320 + lshift(band(255, v_m), 2)), 2)]), I32[arshift((27296 + lshift(band(255, v_u), 2)), 2)]), I32[arshift((v_r + 12), 2)]) +I8[tobit((v_t + 12))] = tobit(v_b) +v_l = bxor(bxor(bxor(bxor(I32[arshift((30368 + band((rshift(v_b, 22) % 4294967296), 1020)), 2)], I32[arshift((29344 + band((rshift(v_s, 14) % 4294967296), 1020)), 2)]), I32[arshift((28320 + band((rshift(v_c, 6) % 4294967296), 1020)), 2)]), I32[arshift((27296 + lshift(band(255, v_A), 2)), 2)]), I32[arshift((v_r + 16), 2)]) +I8[tobit((v_t + 40))] = tobit(v_l) +v_Q = tobit((rshift(v_A, 24) % 4294967296)) +v_o = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_Q, 2)), 2)], I32[arshift((29344 + band((rshift(v_b, 14) % 4294967296), 1020)), 2)]), I32[arshift((28320 + band((rshift(v_s, 6) % 4294967296), 1020)), 2)]), I32[arshift((27296 + lshift(band(255, v_c), 2)), 2)]), I32[arshift((v_r + 20), 2)]) +I8[tobit((v_t + 36))] = tobit(v_o) +v_S = tobit((rshift(v_c, 24) % 4294967296)) +v_a = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_S, 2)), 2)], I32[arshift((29344 + band((rshift(v_A, 14) % 4294967296), 1020)), 2)]), I32[arshift((28320 + band((rshift(v_b, 6) % 4294967296), 1020)), 2)]), I32[arshift((27296 + lshift(band(255, v_s), 2)), 2)]), I32[arshift((v_r + 24), 2)]) +I8[tobit((v_t + 32))] = tobit(v_a) +v_O = tobit((rshift(v_s, 24) % 4294967296)) +v_u = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_O, 2)), 2)], I32[arshift((29344 + band((rshift(v_c, 14) % 4294967296), 1020)), 2)]), I32[arshift((28320 + band((rshift(v_A, 6) % 4294967296), 1020)), 2)]), I32[arshift((27296 + lshift(band(255, v_b), 2)), 2)]), I32[arshift((v_r + 28), 2)]) +I8[tobit((v_t + 28))] = tobit(v_u) +v_C = tobit((rshift(v_l, 24) % 4294967296)) +v_I = tobit((rshift(v_l, 16) % 4294967296)) +v_m = tobit((rshift(v_l, 8) % 4294967296)) +v_g = tobit((rshift(v_o, 24) % 4294967296)) +v_v = tobit((rshift(v_o, 16) % 4294967296)) +v_l = tobit((rshift(v_o, 8) % 4294967296)) +v_h = tobit((rshift(v_a, 24) % 4294967296)) +v_d = tobit((rshift(v_a, 16) % 4294967296)) +v_p = tobit((rshift(v_a, 8) % 4294967296)) +v_w = tobit((rshift(v_u, 24) % 4294967296)) +v_y = tobit((rshift(v_u, 16) % 4294967296)) +v_k = tobit((rshift(v_u, 8) % 4294967296)) +v_r = tobit((v_r + 32)) +v_x = ((bor(0, v_E) > 2) and 1 or 0) +v_E = tobit((v_E - 1)) +if not (v_x ~= 0) then goto B132 end +do +end +::C132:: +end +end +::B132:: +I8[tobit((v_t + 23))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_t + 39))] = tobit(v_m) +I8[tobit((v_t + 22))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[tobit((v_t + 21))] = tobit(v_Q) +I8[tobit((v_t + 19))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 18))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 17))] = tobit(v_S) +I8[tobit((v_t + 15))] = tobit((rshift(v_s, 8) % 4294967296)) +I8[tobit((v_t + 14))] = tobit((rshift(v_s, 16) % 4294967296)) +I8[tobit((v_t + 13))] = tobit(v_O) +I8[tobit((v_t + 11))] = tobit((rshift(v_b, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_b, 16) % 4294967296)) +end +v_A = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_C, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_y), 2)), 2)]), I32[arshift((28320 + lshift(band(255, v_p), 2)), 2)]), I32[arshift((27296 + lshift(band(255, v_o), 2)), 2)]), I32[arshift((v_r + 4), 2)]) +v_c = U8[tobit((22944 + band((rshift(v_A, 8) % 4294967296), 255)))] +v_o = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_g, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_I), 2)), 2)]), I32[arshift((28320 + lshift(band(255, v_k), 2)), 2)]), I32[arshift((27296 + lshift(band(255, v_a), 2)), 2)]), I32[arshift((v_r + 8), 2)]) +v_s = U8[tobit((22944 + band((rshift(v_o, 16) % 4294967296), 255)))] +v_b = U8[tobit((22944 + band((rshift(v_o, 8) % 4294967296), 255)))] +v_u = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_h, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_v), 2)), 2)]), I32[arshift((28320 + lshift(U8[tobit((v_t + 39))], 2)), 2)]), I32[arshift((27296 + lshift(band(255, v_u), 2)), 2)]), I32[arshift((v_r + 12), 2)]) +v_C = U8[tobit((22944 + band((rshift(v_u, 16) % 4294967296), 255)))] +v_I = U8[tobit((22944 + band((rshift(v_u, 8) % 4294967296), 255)))] +v_v = U8[tobit((22944 + band((rshift(v_A, 16) % 4294967296), 255)))] +v_g = U8[tobit((22944 + tobit((rshift(v_u, 24) % 4294967296))))] +v_a = bxor(bxor(bxor(bxor(I32[arshift((30368 + lshift(v_w, 2)), 2)], I32[arshift((29344 + lshift(band(255, v_d), 2)), 2)]), I32[arshift((28320 + lshift(band(255, v_l), 2)), 2)]), I32[arshift((27296 + lshift(U8[tobit((v_t + 40))], 2)), 2)]), I32[arshift(v_r, 2)]) +v_l = U8[tobit((22944 + band((rshift(v_a, 16) % 4294967296), 255)))] +v_p = U8[tobit((22944 + tobit((rshift(v_A, 24) % 4294967296))))] +v_d = U8[tobit((22944 + band((rshift(v_a, 8) % 4294967296), 255)))] +v_h = U8[tobit((22944 + tobit((rshift(v_o, 24) % 4294967296))))] +v_k = U8[tobit((22944 + tobit((rshift(v_a, 24) % 4294967296))))] +v_y = U8[tobit((22944 + band(255, v_a)))] +v_w = U8[tobit((22944 + band(255, v_A)))] +v_E = U8[tobit((22944 + band(255, v_o)))] +v_A = I32[arshift((v_r + 16), 2)] +v_o = I32[arshift((v_r + 20), 2)] +v_a = I32[arshift((v_r + 24), 2)] +v_r = I32[arshift((v_r + 28), 2)] +I8[tobit((v_e + 12))] = tobit(bxor(v_r, U8[tobit((22944 + band(255, v_u)))])) +I8[tobit((v_e + 8))] = tobit(bxor(v_a, v_E)) +I8[tobit((v_e + 4))] = tobit(bxor(v_o, v_w)) +I8[bor(0, v_e)] = tobit(bxor(v_A, v_y)) +I8[tobit((v_e + 7))] = tobit((rshift(bxor(v_o, lshift(v_k, 24)), 24) % 4294967296)) +I8[tobit((v_e + 15))] = tobit((rshift(bxor(v_r, lshift(v_h, 24)), 24) % 4294967296)) +I8[tobit((v_e + 13))] = tobit((rshift(bxor(v_r, lshift(v_d, 8)), 8) % 4294967296)) +I8[tobit((v_e + 11))] = tobit((rshift(bxor(v_a, lshift(v_p, 24)), 24) % 4294967296)) +I8[tobit((v_e + 10))] = tobit((rshift(bxor(v_a, lshift(v_l, 16)), 16) % 4294967296)) +I8[tobit((v_e + 3))] = tobit((rshift(bxor(v_A, lshift(v_g, 24)), 24) % 4294967296)) +I8[tobit((v_e + 14))] = tobit((rshift(bxor(v_r, lshift(v_v, 16)), 16) % 4294967296)) +I8[tobit((v_e + 9))] = tobit((rshift(bxor(v_a, lshift(v_I, 8)), 8) % 4294967296)) +I8[tobit((v_e + 6))] = tobit((rshift(bxor(v_o, lshift(v_C, 16)), 16) % 4294967296)) +I8[tobit((v_e + 5))] = tobit((rshift(bxor(v_o, lshift(v_b, 8)), 8) % 4294967296)) +I8[tobit((v_e + 2))] = tobit((rshift(bxor(v_A, lshift(v_s, 16)), 16) % 4294967296)) +I8[tobit((v_e + 1))] = tobit((rshift(bxor(v_A, lshift(v_c, 8)), 8) % 4294967296)) +I8[tobit((v_t + 40))] = tobit(0) +I8[tobit((v_t + 39))] = tobit(0) +I8[tobit((v_t + 38))] = tobit(0) +I8[tobit((v_t + 37))] = tobit(0) +I8[tobit((v_t + 36))] = tobit(0) +I8[tobit((v_t + 35))] = tobit(0) +I8[tobit((v_t + 34))] = tobit(0) +I8[tobit((v_t + 33))] = tobit(0) +I8[tobit((v_t + 32))] = tobit(0) +I8[tobit((v_t + 31))] = tobit(0) +I8[tobit((v_t + 30))] = tobit(0) +I8[tobit((v_t + 29))] = tobit(0) +I8[tobit((v_t + 28))] = tobit(0) +I8[tobit((v_t + 27))] = tobit(0) +I8[tobit((v_t + 26))] = tobit(0) +I8[tobit((v_t + 25))] = tobit(0) +I8[tobit((v_t + 24))] = tobit(0) +I8[tobit((v_t + 23))] = tobit(0) +I8[tobit((v_t + 22))] = tobit(0) +I8[tobit((v_t + 21))] = tobit(0) +I8[tobit((v_t + 20))] = tobit(0) +I8[tobit((v_t + 19))] = tobit(0) +I8[tobit((v_t + 18))] = tobit(0) +I8[tobit((v_t + 17))] = tobit(0) +I8[tobit((v_t + 16))] = tobit(0) +I8[tobit((v_t + 15))] = tobit(0) +I8[tobit((v_t + 14))] = tobit(0) +I8[tobit((v_t + 13))] = tobit(0) +I8[tobit((v_t + 12))] = tobit(0) +I8[tobit((v_t + 11))] = tobit(0) +I8[tobit((v_t + 10))] = tobit(0) +I8[tobit((v_t + 9))] = tobit(0) +I8[tobit((v_t + 44))] = tobit(0) +I8[tobit((v_t + 45))] = tobit(0) +I8[tobit((v_t + 46))] = tobit(0) +I8[tobit((v_t + 47))] = tobit(0) +end + +F.fK = function(v_A, v_r) +local v_e, v_n, v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_E, v_m, v_Q, v_S, v_O, v_x = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_n = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +v_x = 0 +do +v_e = tobit((B - 256)) +B = v_e +v_s = I32[arshift((v_A + 36), 2)] +v_h = I32[arshift((v_A + 32), 2)] +v_k = I32[arshift((v_A + 28), 2)] +v_y = I32[arshift((v_A + 24), 2)] +v_u = I32[arshift((v_A + 20), 2)] +v_l = I32[arshift((v_A + 16), 2)] +v_p = I32[arshift((v_A + 12), 2)] +v_d = I32[arshift((v_A + 8), 2)] +while true do +v_n = 1 +v_o = lshift(v_t, 2) +I32[arshift((v_o + v_e), 2)] = tobit(bor(bor(bor(U8[tobit((bor(3, v_o) + v_r))], lshift(U8[tobit((bor(1, v_o) + v_r))], 16)), lshift(U8[tobit((v_r + v_o))], 24)), lshift(U8[tobit((bor(2, v_o) + v_r))], 8))) +v_t = tobit((v_t + 1)) +if not (16 ~= bor(0, v_t)) then goto B133 end +do +end +::C133:: +end +end +::B133:: +do +do +while true do +do +v_C = lshift(v_O, 2) +v_O = 8 +v_o = tobit((tobit((I32[arshift((v_e + v_C), 2)] + tobit((I32[arshift((v_C + 11232), 2)] + tobit((bxor(bxor(F.fPA(v_y, 26), F.fPA(v_y, 21)), F.fPA(v_y, 7)) + v_s)))))) + bxor(band(bxor(v_h, v_k), v_y), v_h))) +v_a = tobit((tobit((v_o + bxor(bxor(F.fPA(v_d, 30), F.fPA(v_d, 19)), F.fPA(v_d, 10)))) + bor(band(bor(v_d, v_p), v_l), band(v_d, v_p)))) +v_t = tobit((bxor(bxor(F.fPA(v_a, 30), F.fPA(v_a, 19)), F.fPA(v_a, 10)) + bor(band(bor(v_a, v_d), v_p), band(v_a, v_d)))) +v_c = tobit((v_o + v_u)) +v_r = bor(4, v_C) +v_o = tobit((tobit((tobit((I32[arshift((11232 + v_r), 2)] + tobit((bxor(band(v_c, bxor(v_y, v_k)), v_k) + v_h)))) + bxor(bxor(F.fPA(v_c, 26), F.fPA(v_c, 21)), F.fPA(v_c, 7)))) + I32[arshift((v_r + v_e), 2)])) +v_b = tobit((v_t + v_o)) +v_t = tobit((bxor(bxor(F.fPA(v_b, 30), F.fPA(v_b, 19)), F.fPA(v_b, 10)) + bor(band(bor(v_a, v_b), v_d), band(v_a, v_b)))) +v_Q = tobit((v_o + v_l)) +v_r = bor(8, v_C) +v_o = tobit((tobit((tobit((tobit((I32[arshift((11232 + v_r), 2)] + v_k)) + I32[arshift((v_r + v_e), 2)])) + bxor(band(v_Q, bxor(v_c, v_y)), v_y))) + bxor(bxor(F.fPA(v_Q, 26), F.fPA(v_Q, 21)), F.fPA(v_Q, 7)))) +v_v = tobit((v_t + v_o)) +v_t = tobit((bxor(bxor(F.fPA(v_v, 30), F.fPA(v_v, 19)), F.fPA(v_v, 10)) + bor(band(v_a, bor(v_b, v_v)), band(v_b, v_v)))) +v_S = tobit((v_o + v_p)) +v_r = bor(12, v_C) +v_o = tobit((tobit((tobit((tobit((I32[arshift((11232 + v_r), 2)] + v_y)) + I32[arshift((v_r + v_e), 2)])) + bxor(v_c, band(v_S, bxor(v_c, v_Q))))) + bxor(bxor(F.fPA(v_S, 26), F.fPA(v_S, 21)), F.fPA(v_S, 7)))) +v_g = tobit((v_t + v_o)) +v_t = tobit((bxor(bxor(F.fPA(v_g, 30), F.fPA(v_g, 19)), F.fPA(v_g, 10)) + bor(band(v_b, bor(v_v, v_g)), band(v_v, v_g)))) +local t111 = v_c +v_r = bor(16, v_C) +v_r = tobit((tobit((t111 + I32[arshift((11232 + v_r), 2)])) + I32[arshift((v_r + v_e), 2)])) +local t113 = v_r +local t112 = v_Q +v_c = tobit((v_o + v_d)) +v_o = tobit((tobit((t113 + bxor(t112, band(v_c, bxor(v_Q, v_S))))) + bxor(bxor(F.fPA(v_c, 26), F.fPA(v_c, 21)), F.fPA(v_c, 7)))) +v_u = tobit((v_t + v_o)) +v_t = tobit((bxor(bxor(F.fPA(v_u, 30), F.fPA(v_u, 19)), F.fPA(v_u, 10)) + bor(band(v_v, bor(v_u, v_g)), band(v_u, v_g)))) +v_s = tobit((v_o + v_a)) +local t114 = v_Q +v_r = bor(20, v_C) +v_o = tobit((tobit((tobit((tobit((t114 + I32[arshift((11232 + v_r), 2)])) + I32[arshift((v_r + v_e), 2)])) + bxor(v_S, band(v_s, bxor(v_c, v_S))))) + bxor(bxor(F.fPA(v_s, 26), F.fPA(v_s, 21)), F.fPA(v_s, 7)))) +v_l = tobit((v_t + v_o)) +v_t = tobit((bxor(bxor(F.fPA(v_l, 30), F.fPA(v_l, 19)), F.fPA(v_l, 10)) + bor(band(v_g, bor(v_u, v_l)), band(v_u, v_l)))) +v_h = tobit((v_o + v_b)) +local t115 = v_S +v_r = bor(24, v_C) +v_o = tobit((tobit((tobit((tobit((t115 + I32[arshift((11232 + v_r), 2)])) + I32[arshift((v_r + v_e), 2)])) + bxor(v_c, band(v_h, bxor(v_c, v_s))))) + bxor(bxor(F.fPA(v_h, 26), F.fPA(v_h, 21)), F.fPA(v_h, 7)))) +v_k = tobit((v_o + v_v)) +v_p = tobit((v_t + v_o)) +v_t = tobit((bxor(bxor(F.fPA(v_p, 30), F.fPA(v_p, 19)), F.fPA(v_p, 10)) + bor(band(bor(v_l, v_p), v_u), band(v_l, v_p)))) +local t117 = v_t +local t116 = v_c +v_r = bor(28, v_C) +v_r = tobit((tobit((tobit((tobit((t116 + I32[arshift((11232 + v_r), 2)])) + I32[arshift((v_r + v_e), 2)])) + bxor(band(v_k, bxor(v_s, v_h)), v_s))) + bxor(bxor(F.fPA(v_k, 26), F.fPA(v_k, 21)), F.fPA(v_k, 7)))) +v_d = tobit((t117 + v_r)) +v_y = tobit((v_r + v_g)) +v_r = v_n +v_n = 0 +if not (v_r ~= 0) then goto B134 end +end +do +end +::C134:: +end +end +::B134:: +end +do +do +v_t = I32[arshift(v_e, 2)] +v_O = 16 +while true do +do +v_r = v_t +v_w = lshift(v_O, 2) +v_t = tobit((v_w + v_e)) +v_c = I32[arshift((v_t - 8), 2)] +v_r = tobit((v_r + tobit((I32[arshift((v_t - 28), 2)] + bxor(bxor(F.fPA(v_c, 15), F.fPA(v_c, 13)), (rshift(v_c, 10) % 4294967296)))))) +v_n = I32[arshift((v_t - 60), 2)] +v_a = tobit((bxor(bxor(F.fPA(v_n, 25), F.fPA(v_n, 14)), (rshift(v_n, 3) % 4294967296)) + v_r)) +I32[arshift(v_t, 2)] = tobit(v_a) +v_r = bor(4, v_w) +v_o = I32[arshift((v_t - 4), 2)] +v_b = tobit((tobit((v_n + I32[arshift((v_t - 24), 2)])) + bxor(bxor(F.fPA(v_o, 15), F.fPA(v_o, 13)), (rshift(v_o, 10) % 4294967296)))) +local t118 = v_b +v_n = I32[arshift((v_t - 56), 2)] +v_I = tobit((t118 + bxor(bxor(F.fPA(v_n, 25), F.fPA(v_n, 14)), (rshift(v_n, 3) % 4294967296)))) +I32[arshift((v_r + v_e), 2)] = tobit(v_I) +v_b = bor(8, v_w) +v_v = tobit((I32[arshift((v_t - 20), 2)] + tobit((v_n + bxor(bxor(F.fPA(v_a, 15), F.fPA(v_a, 13)), (rshift(v_a, 10) % 4294967296)))))) +local t119 = v_v +v_n = I32[arshift((v_t - 52), 2)] +v_E = tobit((t119 + bxor(bxor(F.fPA(v_n, 25), F.fPA(v_n, 14)), (rshift(v_n, 3) % 4294967296)))) +I32[arshift((v_b + v_e), 2)] = tobit(v_E) +v_v = bor(12, v_w) +v_g = tobit((I32[arshift((v_t - 16), 2)] + tobit((v_n + bxor(bxor(F.fPA(v_I, 15), F.fPA(v_I, 13)), (rshift(v_I, 10) % 4294967296)))))) +local t120 = v_g +v_n = I32[arshift((v_t - 48), 2)] +v_m = tobit((t120 + bxor(bxor(F.fPA(v_n, 25), F.fPA(v_n, 14)), (rshift(v_n, 3) % 4294967296)))) +I32[arshift((v_v + v_e), 2)] = tobit(v_m) +v_g = bor(16, v_w) +v_C = tobit((I32[arshift((v_t - 12), 2)] + tobit((v_n + bxor(bxor(F.fPA(v_E, 15), F.fPA(v_E, 13)), (rshift(v_E, 10) % 4294967296)))))) +local t121 = v_C +v_n = I32[arshift((v_t - 44), 2)] +v_x = tobit((t121 + bxor(bxor(F.fPA(v_n, 25), F.fPA(v_n, 14)), (rshift(v_n, 3) % 4294967296)))) +I32[arshift((v_g + v_e), 2)] = tobit(v_x) +v_Q = bor(20, v_w) +v_c = tobit((tobit((v_n + v_c)) + bxor(bxor(F.fPA(v_m, 15), F.fPA(v_m, 13)), (rshift(v_m, 10) % 4294967296)))) +local t122 = v_c +v_n = I32[arshift((v_t - 40), 2)] +v_C = tobit((t122 + bxor(bxor(F.fPA(v_n, 25), F.fPA(v_n, 14)), (rshift(v_n, 3) % 4294967296)))) +I32[arshift((v_Q + v_e), 2)] = tobit(v_C) +v_S = bor(24, v_w) +v_o = tobit((tobit((v_n + v_o)) + bxor(bxor(F.fPA(v_x, 15), F.fPA(v_x, 13)), (rshift(v_x, 10) % 4294967296)))) +local t123 = v_o +v_n = I32[arshift((v_t - 36), 2)] +v_c = tobit((t123 + bxor(bxor(F.fPA(v_n, 25), F.fPA(v_n, 14)), (rshift(v_n, 3) % 4294967296)))) +I32[arshift((v_S + v_e), 2)] = tobit(v_c) +v_o = bor(28, v_w) +v_n = tobit((tobit((v_n + v_a)) + bxor(bxor(F.fPA(v_C, 15), F.fPA(v_C, 13)), (rshift(v_C, 10) % 4294967296)))) +local t124 = v_n +v_t = I32[arshift((v_t - 32), 2)] +v_n = tobit((t124 + bxor(bxor(F.fPA(v_t, 25), F.fPA(v_t, 14)), (rshift(v_t, 3) % 4294967296)))) +I32[arshift((v_o + v_e), 2)] = tobit(v_n) +v_a = tobit((v_a + tobit((tobit((I32[arshift((v_w + 11232), 2)] + tobit((bxor(bxor(F.fPA(v_y, 26), F.fPA(v_y, 21)), F.fPA(v_y, 7)) + v_s)))) + bxor(band(bxor(v_h, v_k), v_y), v_h))))) +v_w = tobit((tobit((v_a + bxor(bxor(F.fPA(v_d, 30), F.fPA(v_d, 19)), F.fPA(v_d, 10)))) + bor(band(bor(v_d, v_p), v_l), band(v_d, v_p)))) +v_s = tobit((bxor(bxor(F.fPA(v_w, 30), F.fPA(v_w, 19)), F.fPA(v_w, 10)) + bor(band(bor(v_d, v_w), v_p), band(v_d, v_w)))) +v_a = tobit((v_a + v_u)) +v_r = tobit((tobit((tobit((I32[arshift((v_r + 11232), 2)] + tobit((bxor(band(v_a, bxor(v_y, v_k)), v_k) + v_h)))) + bxor(bxor(F.fPA(v_a, 26), F.fPA(v_a, 21)), F.fPA(v_a, 7)))) + v_I)) +v_I = tobit((v_s + v_r)) +v_u = tobit((bxor(bxor(F.fPA(v_I, 30), F.fPA(v_I, 19)), F.fPA(v_I, 10)) + bor(band(bor(v_w, v_I), v_d), band(v_w, v_I)))) +local t126 = v_E +v_s = tobit((I32[arshift((v_b + 11232), 2)] + v_k)) +local t125 = v_s +v_b = tobit((v_r + v_l)) +v_r = tobit((t126 + tobit((tobit((t125 + bxor(band(v_b, bxor(v_a, v_y)), v_y))) + bxor(bxor(F.fPA(v_b, 26), F.fPA(v_b, 21)), F.fPA(v_b, 7)))))) +v_E = tobit((v_u + v_r)) +v_u = tobit((bxor(bxor(F.fPA(v_E, 30), F.fPA(v_E, 19)), F.fPA(v_E, 10)) + bor(band(v_w, bor(v_I, v_E)), band(v_I, v_E)))) +local t129 = v_m +v_l = tobit((I32[arshift((v_v + 11232), 2)] + v_y)) +local t128 = v_l +local t127 = v_a +v_v = tobit((v_r + v_p)) +v_r = tobit((tobit((t129 + tobit((t128 + bxor(t127, band(v_v, bxor(v_a, v_b))))))) + bxor(bxor(F.fPA(v_v, 26), F.fPA(v_v, 21)), F.fPA(v_v, 7)))) +v_m = tobit((v_u + v_r)) +v_u = tobit((bxor(bxor(F.fPA(v_m, 30), F.fPA(v_m, 19)), F.fPA(v_m, 10)) + bor(band(v_I, bor(v_E, v_m)), band(v_E, v_m)))) +v_a = tobit((v_x + tobit((v_a + I32[arshift((v_g + 11232), 2)])))) +local t131 = v_a +local t130 = v_b +v_g = tobit((v_r + v_d)) +v_r = tobit((tobit((t131 + bxor(t130, band(v_g, bxor(v_b, v_v))))) + bxor(bxor(F.fPA(v_g, 26), F.fPA(v_g, 21)), F.fPA(v_g, 7)))) +v_u = tobit((v_u + v_r)) +v_a = tobit((bxor(bxor(F.fPA(v_u, 30), F.fPA(v_u, 19)), F.fPA(v_u, 10)) + bor(band(v_E, bor(v_u, v_m)), band(v_u, v_m)))) +v_s = tobit((v_r + v_w)) +v_r = tobit((tobit((tobit((v_C + tobit((v_b + I32[arshift((v_Q + 11232), 2)])))) + bxor(v_v, band(v_s, bxor(v_v, v_g))))) + bxor(bxor(F.fPA(v_s, 26), F.fPA(v_s, 21)), F.fPA(v_s, 7)))) +v_l = tobit((v_a + v_r)) +v_a = tobit((bxor(bxor(F.fPA(v_l, 30), F.fPA(v_l, 19)), F.fPA(v_l, 10)) + bor(band(v_m, bor(v_u, v_l)), band(v_u, v_l)))) +v_h = tobit((v_r + v_I)) +v_r = tobit((tobit((tobit((v_c + tobit((v_v + I32[arshift((v_S + 11232), 2)])))) + bxor(v_g, band(v_h, bxor(v_g, v_s))))) + bxor(bxor(F.fPA(v_h, 26), F.fPA(v_h, 21)), F.fPA(v_h, 7)))) +v_k = tobit((v_r + v_E)) +v_p = tobit((v_a + v_r)) +v_a = tobit((bxor(bxor(F.fPA(v_p, 30), F.fPA(v_p, 19)), F.fPA(v_p, 10)) + bor(band(bor(v_l, v_p), v_u), band(v_l, v_p)))) +local t132 = v_a +v_r = tobit((tobit((tobit((tobit((v_g + I32[arshift((v_o + 11232), 2)])) + v_n)) + bxor(band(v_k, bxor(v_s, v_h)), v_s))) + bxor(bxor(F.fPA(v_k, 26), F.fPA(v_k, 21)), F.fPA(v_k, 7)))) +v_d = tobit((t132 + v_r)) +v_y = tobit((v_r + v_m)) +v_r = (((tobit(v_O) % 4294967296) < 56) and 1 or 0) +v_O = tobit((v_O + 8)) +if not (v_r ~= 0) then goto B135 end +end +do +end +::C135:: +end +end +::B135:: +end +I32[arshift((v_A + 8), 2)] = tobit((I32[arshift((v_A + 8), 2)] + v_d)) +I32[arshift((v_A + 12), 2)] = tobit((I32[arshift((v_A + 12), 2)] + v_p)) +I32[arshift((v_A + 16), 2)] = tobit((I32[arshift((v_A + 16), 2)] + v_l)) +I32[arshift((v_A + 20), 2)] = tobit((I32[arshift((v_A + 20), 2)] + v_u)) +I32[arshift((v_A + 24), 2)] = tobit((I32[arshift((v_A + 24), 2)] + v_y)) +I32[arshift((v_A + 28), 2)] = tobit((I32[arshift((v_A + 28), 2)] + v_k)) +I32[arshift((v_A + 32), 2)] = tobit((I32[arshift((v_A + 32), 2)] + v_h)) +I32[arshift((v_A + 36), 2)] = tobit((I32[arshift((v_A + 36), 2)] + v_s)) +B = tobit((v_e + 256)) +end + +F.fP = function(v_A, v_r) +local v_e, v_n, v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_B, v_E, v_m, v_Q, v_S, v_O = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +do +v_t = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +v_o = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +v_a = bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24)) +v_I = I32[arshift((v_A + 8), 2)] +local t133 = v_I +v_u = bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24)) +local t135 = tobit((t133 + v_u)) +v_e = I32[arshift((v_A + 12), 2)] +local t134 = v_e +v_n = I32[arshift((v_A + 16), 2)] +local t136 = tobit((t135 + band(t134, v_n))) +v_c = I32[arshift((v_A + 20), 2)] +v_E = F.fPA(tobit((t136 + band(v_c, bxor((-1), v_e)))), 3) +v_s = bor(bor(bor(U8[tobit((v_r + 16))], lshift(U8[tobit((v_r + 17))], 8)), lshift(U8[tobit((v_r + 18))], 16)), lshift(U8[tobit((v_r + 19))], 24)) +v_Q = F.fPA(tobit((tobit((tobit((v_o + v_c)) + band(bxor((-1), v_E), v_n))) + band(v_E, v_e))), 7) +v_m = F.fPA(tobit((tobit((tobit((v_a + v_n)) + band(bxor((-1), v_Q), v_e))) + band(v_E, v_Q))), 11) +v_S = F.fPA(tobit((tobit((tobit((v_e + v_t)) + band(v_E, bxor((-1), v_m)))) + band(v_m, v_Q))), 19) +v_E = F.fPA(tobit((tobit((tobit((v_E + v_s)) + band(bxor((-1), v_S), v_Q))) + band(v_m, v_S))), 3) +v_l = bor(bor(bor(U8[tobit((v_r + 32))], lshift(U8[tobit((v_r + 33))], 8)), lshift(U8[tobit((v_r + 34))], 16)), lshift(U8[tobit((v_r + 35))], 24)) +local t137 = v_Q +v_b = bor(bor(bor(U8[tobit((v_r + 20))], lshift(U8[tobit((v_r + 21))], 8)), lshift(U8[tobit((v_r + 22))], 16)), lshift(U8[tobit((v_r + 23))], 24)) +v_Q = F.fPA(tobit((tobit((tobit((t137 + v_b)) + band(v_m, bxor((-1), v_E)))) + band(v_E, v_S))), 7) +v_v = bor(bor(bor(U8[tobit((v_r + 28))], lshift(U8[tobit((v_r + 29))], 8)), lshift(U8[tobit((v_r + 30))], 16)), lshift(U8[tobit((v_r + 31))], 24)) +local t138 = v_m +v_g = bor(bor(bor(U8[tobit((v_r + 24))], lshift(U8[tobit((v_r + 25))], 8)), lshift(U8[tobit((v_r + 26))], 16)), lshift(U8[tobit((v_r + 27))], 24)) +v_m = F.fPA(tobit((tobit((tobit((t138 + v_g)) + band(v_S, bxor((-1), v_Q)))) + band(v_E, v_Q))), 11) +v_S = F.fPA(tobit((tobit((tobit((v_S + v_v)) + band(v_E, bxor((-1), v_m)))) + band(v_m, v_Q))), 19) +v_E = F.fPA(tobit((tobit((tobit((v_E + v_l)) + band(v_Q, bxor((-1), v_S)))) + band(v_m, v_S))), 3) +v_p = bor(bor(bor(U8[tobit((v_r + 48))], lshift(U8[tobit((v_r + 49))], 8)), lshift(U8[tobit((v_r + 50))], 16)), lshift(U8[tobit((v_r + 51))], 24)) +local t139 = v_Q +v_d = bor(bor(bor(U8[tobit((v_r + 36))], lshift(U8[tobit((v_r + 37))], 8)), lshift(U8[tobit((v_r + 38))], 16)), lshift(U8[tobit((v_r + 39))], 24)) +v_Q = F.fPA(tobit((tobit((tobit((t139 + v_d)) + band(v_m, bxor((-1), v_E)))) + band(v_E, v_S))), 7) +v_h = bor(bor(bor(U8[tobit((v_r + 44))], lshift(U8[tobit((v_r + 45))], 8)), lshift(U8[tobit((v_r + 46))], 16)), lshift(U8[tobit((v_r + 47))], 24)) +local t140 = v_m +v_k = bor(bor(bor(U8[tobit((v_r + 40))], lshift(U8[tobit((v_r + 41))], 8)), lshift(U8[tobit((v_r + 42))], 16)), lshift(U8[tobit((v_r + 43))], 24)) +v_m = F.fPA(tobit((tobit((tobit((t140 + v_k)) + band(v_S, bxor((-1), v_Q)))) + band(v_E, v_Q))), 11) +v_S = F.fPA(tobit((tobit((tobit((v_S + v_h)) + band(v_E, bxor((-1), v_m)))) + band(v_m, v_Q))), 19) +v_E = F.fPA(tobit((tobit((tobit((v_E + v_p)) + band(v_Q, bxor((-1), v_S)))) + band(v_m, v_S))), 3) +v_y = bor(bor(bor(U8[tobit((v_r + 60))], lshift(U8[tobit((v_r + 61))], 8)), lshift(U8[tobit((v_r + 62))], 16)), lshift(U8[tobit((v_r + 63))], 24)) +v_w = bor(bor(bor(U8[tobit((v_r + 56))], lshift(U8[tobit((v_r + 57))], 8)), lshift(U8[tobit((v_r + 58))], 16)), lshift(U8[tobit((v_r + 59))], 24)) +local t141 = v_Q +v_C = bor(bor(bor(U8[tobit((v_r + 52))], lshift(U8[tobit((v_r + 53))], 8)), lshift(U8[tobit((v_r + 54))], 16)), lshift(U8[tobit((v_r + 55))], 24)) +v_r = F.fPA(tobit((tobit((tobit((t141 + v_C)) + band(v_m, bxor((-1), v_E)))) + band(v_E, v_S))), 7) +v_Q = F.fPA(tobit((tobit((tobit((v_m + v_w)) + band(v_S, bxor((-1), v_r)))) + band(v_r, v_E))), 11) +v_O = band(v_r, v_Q) +v_m = F.fPA(tobit((v_O + tobit((tobit((v_S + v_y)) + band(v_E, bxor((-1), v_Q)))))), 19) +local t142 = tobit((v_E + v_u)) +v_S = band(v_Q, v_m) +v_E = F.fPA(tobit((1518500249 + tobit((t142 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 3) +local t143 = tobit((v_r + v_s)) +v_O = band(v_E, v_m) +v_r = F.fPA(tobit((1518500249 + tobit((t143 + bor(bor(v_O, v_S), band(v_E, v_Q)))))), 5) +local t144 = tobit((v_Q + v_l)) +v_S = band(v_r, v_E) +v_Q = F.fPA(tobit((1518500249 + tobit((t144 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 9) +local t145 = tobit((v_m + v_p)) +v_O = band(v_Q, v_r) +v_m = F.fPA(tobit((1518500249 + tobit((t145 + bor(bor(v_O, v_S), band(v_E, v_Q)))))), 13) +local t146 = tobit((v_E + v_o)) +v_S = band(v_m, v_Q) +v_E = F.fPA(tobit((1518500249 + tobit((t146 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 3) +local t147 = tobit((v_r + v_b)) +v_O = band(v_E, v_m) +v_r = F.fPA(tobit((1518500249 + tobit((t147 + bor(bor(v_O, v_S), band(v_E, v_Q)))))), 5) +local t148 = tobit((v_Q + v_d)) +v_S = band(v_r, v_E) +v_Q = F.fPA(tobit((1518500249 + tobit((t148 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 9) +local t149 = tobit((v_m + v_C)) +v_O = band(v_Q, v_r) +v_m = F.fPA(tobit((1518500249 + tobit((t149 + bor(bor(v_O, v_S), band(v_E, v_Q)))))), 13) +local t150 = tobit((v_E + v_a)) +v_S = band(v_m, v_Q) +v_E = F.fPA(tobit((1518500249 + tobit((t150 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 3) +local t151 = tobit((v_r + v_g)) +v_O = band(v_E, v_m) +v_r = F.fPA(tobit((1518500249 + tobit((t151 + bor(bor(v_O, v_S), band(v_E, v_Q)))))), 5) +local t152 = tobit((v_Q + v_k)) +v_S = band(v_r, v_E) +v_Q = F.fPA(tobit((1518500249 + tobit((t152 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 9) +local t153 = tobit((v_m + v_w)) +v_O = band(v_Q, v_r) +v_m = F.fPA(tobit((1518500249 + tobit((t153 + bor(bor(v_O, v_S), band(v_E, v_Q)))))), 13) +local t154 = tobit((v_E + v_t)) +v_S = band(v_m, v_Q) +v_E = F.fPA(tobit((1518500249 + tobit((t154 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 3) +local t155 = tobit((v_r + v_v)) +v_O = band(v_E, v_m) +v_r = F.fPA(tobit((1518500249 + tobit((t155 + bor(bor(v_O, v_S), band(v_E, v_Q)))))), 5) +v_B = tobit((v_m + v_y)) +local t156 = tobit((v_Q + v_h)) +v_S = band(v_r, v_E) +v_m = F.fPA(tobit((1518500249 + tobit((t156 + bor(bor(v_S, v_O), band(v_r, v_m)))))), 9) +v_Q = F.fPA(tobit((1518500249 + tobit((v_B + bor(v_S, band(v_m, bor(v_r, v_E))))))), 13) +v_S = tobit((v_m + v_s)) +local t157 = tobit((v_E + v_u)) +v_m = bxor(v_m, v_Q) +v_E = F.fPA(tobit((1859775393 + tobit((t157 + bxor(v_m, v_r))))), 3) +v_m = F.fPA(tobit((1859775393 + tobit((tobit((v_r + v_l)) + bxor(v_E, v_m))))), 9) +v_r = F.fPA(tobit((1859775393 + tobit((v_S + bxor(bxor(v_E, v_Q), v_m))))), 11) +v_Q = F.fPA(tobit((1859775393 + tobit((tobit((v_Q + v_p)) + bxor(bxor(v_r, v_E), v_m))))), 15) +v_E = F.fPA(tobit((1859775393 + tobit((tobit((v_E + v_a)) + bxor(bxor(v_Q, v_r), v_m))))), 3) +v_m = F.fPA(tobit((1859775393 + tobit((tobit((v_m + v_k)) + bxor(bxor(v_E, v_r), v_Q))))), 9) +v_r = F.fPA(tobit((1859775393 + tobit((tobit((v_r + v_g)) + bxor(bxor(v_m, v_E), v_Q))))), 11) +v_Q = F.fPA(tobit((1859775393 + tobit((tobit((v_Q + v_w)) + bxor(bxor(v_r, v_E), v_m))))), 15) +v_E = F.fPA(tobit((1859775393 + tobit((tobit((v_E + v_o)) + bxor(bxor(v_Q, v_r), v_m))))), 3) +v_m = F.fPA(tobit((1859775393 + tobit((tobit((v_m + v_d)) + bxor(bxor(v_E, v_r), v_Q))))), 9) +v_r = F.fPA(tobit((1859775393 + tobit((tobit((v_r + v_b)) + bxor(bxor(v_m, v_E), v_Q))))), 11) +v_S = tobit((v_E + v_t)) +v_E = F.fPA(tobit((1859775393 + tobit((tobit((v_Q + v_C)) + bxor(bxor(v_r, v_E), v_m))))), 15) +v_Q = F.fPA(tobit((1859775393 + tobit((v_S + bxor(bxor(v_E, v_r), v_m))))), 3) +I32[arshift((v_A + 8), 2)] = tobit((v_Q + v_I)) +v_m = F.fPA(tobit((1859775393 + tobit((tobit((v_m + v_h)) + bxor(bxor(v_Q, v_r), v_E))))), 9) +I32[arshift((v_A + 20), 2)] = tobit((v_m + v_c)) +v_r = F.fPA(tobit((1859775393 + tobit((tobit((v_r + v_v)) + bxor(bxor(v_m, v_E), v_Q))))), 11) +I32[arshift((v_A + 16), 2)] = tobit((v_r + v_n)) +I32[arshift((v_A + 12), 2)] = tobit((F.fPA(tobit((1859775393 + tobit((tobit((v_E + v_y)) + bxor(bxor(v_r, v_m), v_Q))))), 15) + v_e)) +end +end + +F.fR = function(v_A, v_r, v_e, v_t, v_o, v_a) +local v_u, v_c, v_s = 0, 0, 0 +v_c = 0 +v_s = 0 +v_u = tobit((B - 16)) +B = v_u +v_s = (-34) +do +if (not (band(15, v_e) ~= 0)) then +do +if (v_r ~= 0) then +v_s = 0 +if (not (v_e ~= 0)) then +goto L136 +end +if (1 ~= bor(0, v_r)) then +goto L137 +end +do +while true do +I8[bor(0, v_a)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_o)])) +I8[tobit((v_a + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_o + 1))])) +I8[tobit((v_a + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_o + 2))])) +I8[tobit((v_a + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_o + 3))])) +I8[tobit((v_a + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_o + 4))])) +I8[tobit((v_a + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_o + 5))])) +I8[tobit((v_a + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_o + 6))])) +I8[tobit((v_a + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_o + 7))])) +I8[tobit((v_a + 8))] = tobit(bxor(U8[tobit((v_t + 8))], U8[tobit((v_o + 8))])) +I8[tobit((v_a + 9))] = tobit(bxor(U8[tobit((v_t + 9))], U8[tobit((v_o + 9))])) +I8[tobit((v_a + 10))] = tobit(bxor(U8[tobit((v_t + 10))], U8[tobit((v_o + 10))])) +I8[tobit((v_a + 11))] = tobit(bxor(U8[tobit((v_t + 11))], U8[tobit((v_o + 11))])) +I8[tobit((v_a + 12))] = tobit(bxor(U8[tobit((v_t + 12))], U8[tobit((v_o + 12))])) +I8[tobit((v_a + 13))] = tobit(bxor(U8[tobit((v_t + 13))], U8[tobit((v_o + 13))])) +I8[tobit((v_a + 14))] = tobit(bxor(U8[tobit((v_t + 14))], U8[tobit((v_o + 14))])) +I8[tobit((v_a + 15))] = tobit(bxor(U8[tobit((v_t + 15))], U8[tobit((v_o + 15))])) +F.fT(v_A, v_a, v_a) +v_r = bor(bor(bor(U8[tobit((v_a + 12))], lshift(U8[tobit((v_a + 13))], 8)), lshift(U8[tobit((v_a + 14))], 16)), lshift(U8[tobit((v_a + 15))], 24)) +v_c = bor(bor(bor(U8[tobit((v_a + 8))], lshift(U8[tobit((v_a + 9))], 8)), lshift(U8[tobit((v_a + 10))], 16)), lshift(U8[tobit((v_a + 11))], 24)) +I8[tobit((v_t + 8))] = tobit(v_c) +I8[tobit((v_t + 9))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 11))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 12))] = tobit(v_r) +I8[tobit((v_t + 13))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 14))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 15))] = tobit((rshift(v_r, 24) % 4294967296)) +v_r = bor(bor(bor(U8[tobit((v_a + 4))], lshift(U8[tobit((v_a + 5))], 8)), lshift(U8[tobit((v_a + 6))], 16)), lshift(U8[tobit((v_a + 7))], 24)) +v_c = bor(bor(bor(U8[bor(0, v_a)], lshift(U8[tobit((v_a + 1))], 8)), lshift(U8[tobit((v_a + 2))], 16)), lshift(U8[tobit((v_a + 3))], 24)) +I8[bor(0, v_t)] = tobit(v_c) +I8[tobit((v_t + 1))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_r) +I8[tobit((v_t + 5))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_r, 24) % 4294967296)) +v_a = tobit((v_a + 16)) +v_o = tobit((v_o + 16)) +v_e = tobit((v_e - 16)) +if not (v_e ~= 0) then goto B138 end +do +end +::C138:: +end +end +::B138:: +goto L136 +end +v_s = 0 +if (not (v_e ~= 0)) then +goto L136 +end +do +while true do +v_r = bor(bor(bor(U8[tobit((v_o + 4))], lshift(U8[tobit((v_o + 5))], 8)), lshift(U8[tobit((v_o + 6))], 16)), lshift(U8[tobit((v_o + 7))], 24)) +I32[arshift(v_u, 2)] = tobit(bor(bor(bor(U8[bor(0, v_o)], lshift(U8[tobit((v_o + 1))], 8)), lshift(U8[tobit((v_o + 2))], 16)), lshift(U8[tobit((v_o + 3))], 24))) +I32[arshift((v_u + 4), 2)] = tobit(v_r) +v_r = bor(bor(bor(U8[tobit((v_o + 12))], lshift(U8[tobit((v_o + 13))], 8)), lshift(U8[tobit((v_o + 14))], 16)), lshift(U8[tobit((v_o + 15))], 24)) +I32[arshift((v_u + 8), 2)] = tobit(bor(bor(bor(U8[tobit((v_o + 8))], lshift(U8[tobit((v_o + 9))], 8)), lshift(U8[tobit((v_o + 10))], 16)), lshift(U8[tobit((v_o + 11))], 24))) +I32[arshift((v_u + 12), 2)] = tobit(v_r) +F.fj(v_A, v_o, v_a) +I8[bor(0, v_a)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_a)])) +I8[tobit((v_a + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_a + 1))])) +I8[tobit((v_a + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_a + 2))])) +I8[tobit((v_a + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_a + 3))])) +I8[tobit((v_a + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_a + 4))])) +I8[tobit((v_a + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_a + 5))])) +I8[tobit((v_a + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_a + 6))])) +I8[tobit((v_a + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_a + 7))])) +I8[tobit((v_a + 8))] = tobit(bxor(U8[tobit((v_t + 8))], U8[tobit((v_a + 8))])) +I8[tobit((v_a + 9))] = tobit(bxor(U8[tobit((v_t + 9))], U8[tobit((v_a + 9))])) +I8[tobit((v_a + 10))] = tobit(bxor(U8[tobit((v_t + 10))], U8[tobit((v_a + 10))])) +I8[tobit((v_a + 11))] = tobit(bxor(U8[tobit((v_t + 11))], U8[tobit((v_a + 11))])) +I8[tobit((v_a + 12))] = tobit(bxor(U8[tobit((v_t + 12))], U8[tobit((v_a + 12))])) +I8[tobit((v_a + 13))] = tobit(bxor(U8[tobit((v_t + 13))], U8[tobit((v_a + 13))])) +I8[tobit((v_a + 14))] = tobit(bxor(U8[tobit((v_t + 14))], U8[tobit((v_a + 14))])) +I8[tobit((v_a + 15))] = tobit(bxor(U8[tobit((v_t + 15))], U8[tobit((v_a + 15))])) +v_r = I32[arshift((v_u + 12), 2)] +v_c = I32[arshift((v_u + 8), 2)] +I8[tobit((v_t + 8))] = tobit(v_c) +I8[tobit((v_t + 9))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 11))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 12))] = tobit(v_r) +I8[tobit((v_t + 13))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 14))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 15))] = tobit((rshift(v_r, 24) % 4294967296)) +v_r = I32[arshift((v_u + 4), 2)] +v_c = I32[arshift(v_u, 2)] +I8[bor(0, v_t)] = tobit(v_c) +I8[tobit((v_t + 1))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_r) +I8[tobit((v_t + 5))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_r, 24) % 4294967296)) +v_a = tobit((v_a + 16)) +v_o = tobit((v_o + 16)) +v_e = tobit((v_e - 16)) +if not (v_e ~= 0) then goto B139 end +do +end +::C139:: +end +end +::B139:: +goto L136 +end +::L137:: +do +while true do +I8[bor(0, v_a)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_o)])) +I8[tobit((v_a + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_o + 1))])) +I8[tobit((v_a + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_o + 2))])) +I8[tobit((v_a + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_o + 3))])) +I8[tobit((v_a + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_o + 4))])) +I8[tobit((v_a + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_o + 5))])) +I8[tobit((v_a + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_o + 6))])) +I8[tobit((v_a + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_o + 7))])) +I8[tobit((v_a + 8))] = tobit(bxor(U8[tobit((v_t + 8))], U8[tobit((v_o + 8))])) +I8[tobit((v_a + 9))] = tobit(bxor(U8[tobit((v_t + 9))], U8[tobit((v_o + 9))])) +I8[tobit((v_a + 10))] = tobit(bxor(U8[tobit((v_t + 10))], U8[tobit((v_o + 10))])) +I8[tobit((v_a + 11))] = tobit(bxor(U8[tobit((v_t + 11))], U8[tobit((v_o + 11))])) +I8[tobit((v_a + 12))] = tobit(bxor(U8[tobit((v_t + 12))], U8[tobit((v_o + 12))])) +I8[tobit((v_a + 13))] = tobit(bxor(U8[tobit((v_t + 13))], U8[tobit((v_o + 13))])) +I8[tobit((v_a + 14))] = tobit(bxor(U8[tobit((v_t + 14))], U8[tobit((v_o + 14))])) +I8[tobit((v_a + 15))] = tobit(bxor(U8[tobit((v_t + 15))], U8[tobit((v_o + 15))])) +F.fj(v_A, v_a, v_a) +v_r = bor(bor(bor(U8[tobit((v_a + 12))], lshift(U8[tobit((v_a + 13))], 8)), lshift(U8[tobit((v_a + 14))], 16)), lshift(U8[tobit((v_a + 15))], 24)) +v_c = bor(bor(bor(U8[tobit((v_a + 8))], lshift(U8[tobit((v_a + 9))], 8)), lshift(U8[tobit((v_a + 10))], 16)), lshift(U8[tobit((v_a + 11))], 24)) +I8[tobit((v_t + 8))] = tobit(v_c) +I8[tobit((v_t + 9))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 11))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 12))] = tobit(v_r) +I8[tobit((v_t + 13))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 14))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 15))] = tobit((rshift(v_r, 24) % 4294967296)) +v_r = bor(bor(bor(U8[tobit((v_a + 4))], lshift(U8[tobit((v_a + 5))], 8)), lshift(U8[tobit((v_a + 6))], 16)), lshift(U8[tobit((v_a + 7))], 24)) +v_c = bor(bor(bor(U8[bor(0, v_a)], lshift(U8[tobit((v_a + 1))], 8)), lshift(U8[tobit((v_a + 2))], 16)), lshift(U8[tobit((v_a + 3))], 24)) +I8[bor(0, v_t)] = tobit(v_c) +I8[tobit((v_t + 1))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_r) +I8[tobit((v_t + 5))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_r, 24) % 4294967296)) +v_a = tobit((v_a + 16)) +v_o = tobit((v_o + 16)) +v_e = tobit((v_e - 16)) +if not (v_e ~= 0) then goto B140 end +do +end +::C140:: +end +end +::B140:: +end +end +::L136:: +B = tobit((v_u + 16)) +do return v_s end +end + +F.fD = function(v_A) +local v_r, v_e, v_t, v_o, v_a, v_u, v_c, v_s = 0, 0, 0, 0, 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +do +v_r = tobit((B - 112)) +B = v_r +v_e = F.fm(32) +F.fKA(v_r, 0, 108) +v_t = v_r +I32[arshift(v_r, 2)] = tobit(0) +I32[arshift((v_r + 4), 2)] = tobit(0) +I32[arshift((v_r + 104), 2)] = tobit(0) +I32[arshift((v_r + 8), 2)] = tobit(1779033703) +I32[arshift((v_r + 36), 2)] = tobit(1541459225) +I32[arshift((v_r + 32), 2)] = tobit(528734635) +I32[arshift((v_r + 28), 2)] = tobit((-1694144372)) +I32[arshift((v_r + 24), 2)] = tobit(1359893119) +I32[arshift((v_r + 20), 2)] = tobit((-1521486534)) +I32[arshift((v_r + 16), 2)] = tobit(1013904242) +I32[arshift((v_r + 12), 2)] = tobit((-1150833019)) +v_a = F.fpA(v_A) +if (v_a ~= 0) then +do +do +v_o = I32[arshift(v_t, 2)] +v_u = tobit((v_o + v_a)) +I32[arshift(v_t, 2)] = tobit(v_u) +if ((tobit(v_o) % 4294967296) > (tobit(v_u) % 4294967296)) then +I32[arshift((v_t + 4), 2)] = tobit((I32[arshift((v_t + 4), 2)] + 1)) +end +v_u = 0 +v_o = band(v_o, 63) +if (v_o ~= 0) then +v_c = tobit((64 - v_o)) +if ((tobit(v_c) % 4294967296) > (tobit(v_a) % 4294967296)) then +v_u = v_o +else +local t158 = v_o +v_s = tobit((v_t + 40)) +F.fTA(tobit((t158 + v_s)), v_A, v_c) +F.fK(v_t, v_s) +v_a = tobit((v_a - v_c)) +v_A = tobit((v_A + v_c)) +end +end +if ((tobit(v_a) % 4294967296) >= 64) then +do +while true do +F.fK(v_t, v_A) +v_A = tobit((v_A - (-64))) +v_a = tobit((v_a + (-64))) +if not ((tobit(v_a) % 4294967296) > 63) then goto B141 end +do +end +::C141:: +end +end +::B141:: +end +end +if (v_a ~= 0) then +F.fTA(tobit((40 + tobit((v_t + v_u)))), v_A, v_a) +end +end +end +end +do +v_t = tobit((v_r + 40)) +v_o = I32[arshift(v_r, 2)] +local t159 = v_t +v_u = band(63, v_o) +I8[tobit((t159 + v_u))] = tobit(128) +v_A = tobit((v_u + 1)) +if ((tobit(v_u) % 4294967296) <= 55) then +F.fKA(tobit((40 + tobit((v_A + v_r)))), 0, tobit((55 - v_u))) +else +F.fKA(tobit((40 + tobit((v_A + v_r)))), 0, bxor(63, v_u)) +F.fK(v_r, v_t) +I32[arshift((v_t + 48), 2)] = tobit(0) +I32[arshift((v_t + 52), 2)] = tobit(0) +I32[arshift((v_t + 40), 2)] = tobit(0) +I32[arshift((v_t + 44), 2)] = tobit(0) +I32[arshift((v_t + 32), 2)] = tobit(0) +I32[arshift((v_t + 36), 2)] = tobit(0) +I32[arshift((v_t + 24), 2)] = tobit(0) +I32[arshift((v_t + 28), 2)] = tobit(0) +I32[arshift((v_t + 16), 2)] = tobit(0) +I32[arshift((v_t + 20), 2)] = tobit(0) +I32[arshift((v_t + 8), 2)] = tobit(0) +I32[arshift((v_t + 12), 2)] = tobit(0) +I32[arshift(v_t, 2)] = tobit(0) +I32[arshift((v_t + 4), 2)] = tobit(0) +v_o = I32[arshift(v_r, 2)] +end +I8[tobit((v_r + 103))] = tobit(lshift(v_o, 3)) +I8[tobit((v_r + 102))] = tobit((rshift(v_o, 5) % 4294967296)) +I8[tobit((v_r + 101))] = tobit((rshift(v_o, 13) % 4294967296)) +I8[tobit((v_r + 100))] = tobit((rshift(v_o, 21) % 4294967296)) +v_A = I32[arshift((v_r + 4), 2)] +I8[tobit((v_r + 98))] = tobit((rshift(v_A, 5) % 4294967296)) +I8[tobit((v_r + 97))] = tobit((rshift(v_A, 13) % 4294967296)) +I8[tobit((v_r + 96))] = tobit((rshift(v_A, 21) % 4294967296)) +I8[tobit((v_r + 99))] = tobit(bor(lshift(v_A, 3), (rshift(v_o, 29) % 4294967296))) +F.fK(v_r, v_t) +I8[bor(0, v_e)] = tobit(U8[tobit((v_r + 11))]) +I8[tobit((v_e + 1))] = tobit(U16[arshift((v_r + 10), 1)]) +I8[tobit((v_e + 2))] = tobit((rshift(I32[arshift((v_r + 8), 2)], 8) % 4294967296)) +I8[tobit((v_e + 3))] = tobit(I32[arshift((v_r + 8), 2)]) +I8[tobit((v_e + 4))] = tobit(U8[tobit((v_r + 15))]) +I8[tobit((v_e + 5))] = tobit(U16[arshift((v_r + 14), 1)]) +I8[tobit((v_e + 6))] = tobit((rshift(I32[arshift((v_r + 12), 2)], 8) % 4294967296)) +I8[tobit((v_e + 7))] = tobit(I32[arshift((v_r + 12), 2)]) +I8[tobit((v_e + 8))] = tobit(U8[tobit((v_r + 19))]) +I8[tobit((v_e + 9))] = tobit(U16[arshift((v_r + 18), 1)]) +I8[tobit((v_e + 10))] = tobit((rshift(I32[arshift((v_r + 16), 2)], 8) % 4294967296)) +I8[tobit((v_e + 11))] = tobit(I32[arshift((v_r + 16), 2)]) +I8[tobit((v_e + 12))] = tobit(U8[tobit((v_r + 23))]) +I8[tobit((v_e + 13))] = tobit(U16[arshift((v_r + 22), 1)]) +I8[tobit((v_e + 14))] = tobit((rshift(I32[arshift((v_r + 20), 2)], 8) % 4294967296)) +I8[tobit((v_e + 15))] = tobit(I32[arshift((v_r + 20), 2)]) +I8[tobit((v_e + 16))] = tobit(U8[tobit((v_r + 27))]) +I8[tobit((v_e + 17))] = tobit(U16[arshift((v_r + 26), 1)]) +I8[tobit((v_e + 18))] = tobit((rshift(I32[arshift((v_r + 24), 2)], 8) % 4294967296)) +I8[tobit((v_e + 19))] = tobit(I32[arshift((v_r + 24), 2)]) +I8[tobit((v_e + 20))] = tobit(U8[tobit((v_r + 31))]) +I8[tobit((v_e + 21))] = tobit(U16[arshift((v_r + 30), 1)]) +I8[tobit((v_e + 22))] = tobit((rshift(I32[arshift((v_r + 28), 2)], 8) % 4294967296)) +I8[tobit((v_e + 23))] = tobit(I32[arshift((v_r + 28), 2)]) +I8[tobit((v_e + 24))] = tobit(U8[tobit((v_r + 35))]) +I8[tobit((v_e + 25))] = tobit(U16[arshift((v_r + 34), 1)]) +I8[tobit((v_e + 26))] = tobit((rshift(I32[arshift((v_r + 32), 2)], 8) % 4294967296)) +I8[tobit((v_e + 27))] = tobit(I32[arshift((v_r + 32), 2)]) +if not (I32[arshift((v_r + 104), 2)] ~= 0) then +I8[tobit((v_e + 28))] = tobit(U8[tobit((v_r + 39))]) +I8[tobit((v_e + 29))] = tobit(U16[arshift((v_r + 38), 1)]) +I8[tobit((v_e + 30))] = tobit((rshift(I32[arshift((v_r + 36), 2)], 8) % 4294967296)) +I8[tobit((v_e + 31))] = tobit(I32[arshift((v_r + 36), 2)]) +end +if (v_r ~= 0) then +I8[bor(0, v_r)] = tobit(0) +I8[tobit((v_r + 1))] = tobit(0) +I8[tobit((v_r + 2))] = tobit(0) +I8[tobit((v_r + 3))] = tobit(0) +I8[tobit((v_r + 4))] = tobit(0) +I8[tobit((v_r + 5))] = tobit(0) +I8[tobit((v_r + 6))] = tobit(0) +I8[tobit((v_r + 7))] = tobit(0) +I8[tobit((v_r + 8))] = tobit(0) +I8[tobit((v_r + 9))] = tobit(0) +I8[tobit((v_r + 10))] = tobit(0) +I8[tobit((v_r + 11))] = tobit(0) +I8[tobit((v_r + 12))] = tobit(0) +I8[tobit((v_r + 13))] = tobit(0) +I8[tobit((v_r + 14))] = tobit(0) +I8[tobit((v_r + 15))] = tobit(0) +I8[tobit((v_r + 16))] = tobit(0) +I8[tobit((v_r + 17))] = tobit(0) +I8[tobit((v_r + 18))] = tobit(0) +I8[tobit((v_r + 19))] = tobit(0) +I8[tobit((v_r + 20))] = tobit(0) +I8[tobit((v_r + 21))] = tobit(0) +I8[tobit((v_r + 22))] = tobit(0) +I8[tobit((v_r + 23))] = tobit(0) +I8[tobit((v_r + 24))] = tobit(0) +I8[tobit((v_r + 25))] = tobit(0) +I8[tobit((v_r + 26))] = tobit(0) +I8[tobit((v_r + 27))] = tobit(0) +I8[tobit((v_r + 28))] = tobit(0) +I8[tobit((v_r + 29))] = tobit(0) +I8[tobit((v_r + 30))] = tobit(0) +I8[tobit((v_r + 31))] = tobit(0) +I8[tobit((v_r + 32))] = tobit(0) +I8[tobit((v_r + 33))] = tobit(0) +I8[tobit((v_r + 34))] = tobit(0) +I8[tobit((v_r + 35))] = tobit(0) +I8[tobit((v_r + 36))] = tobit(0) +I8[tobit((v_r + 37))] = tobit(0) +I8[tobit((v_r + 38))] = tobit(0) +I8[tobit((v_r + 39))] = tobit(0) +I8[tobit((v_r + 40))] = tobit(0) +I8[tobit((v_r + 41))] = tobit(0) +I8[tobit((v_r + 42))] = tobit(0) +I8[tobit((v_r + 43))] = tobit(0) +I8[tobit((v_r + 44))] = tobit(0) +I8[tobit((v_r + 45))] = tobit(0) +I8[tobit((v_r + 46))] = tobit(0) +I8[tobit((v_r + 47))] = tobit(0) +I8[tobit((v_r + 48))] = tobit(0) +I8[tobit((v_r + 49))] = tobit(0) +I8[tobit((v_r + 50))] = tobit(0) +I8[tobit((v_r + 51))] = tobit(0) +I8[tobit((v_r + 52))] = tobit(0) +I8[tobit((v_r + 53))] = tobit(0) +I8[tobit((v_r + 54))] = tobit(0) +I8[tobit((v_r + 55))] = tobit(0) +I8[tobit((v_r + 56))] = tobit(0) +I8[tobit((v_r + 57))] = tobit(0) +I8[tobit((v_r + 58))] = tobit(0) +I8[tobit((v_r + 59))] = tobit(0) +I8[tobit((v_r + 60))] = tobit(0) +I8[tobit((v_r + 61))] = tobit(0) +I8[tobit((v_r + 62))] = tobit(0) +I8[tobit((v_r + 63))] = tobit(0) +I8[tobit((v_r - (-64)))] = tobit(0) +I8[tobit((v_r + 65))] = tobit(0) +I8[tobit((v_r + 66))] = tobit(0) +I8[tobit((v_r + 67))] = tobit(0) +I8[tobit((v_r + 68))] = tobit(0) +I8[tobit((v_r + 69))] = tobit(0) +I8[tobit((v_r + 70))] = tobit(0) +I8[tobit((v_r + 71))] = tobit(0) +I8[tobit((v_r + 72))] = tobit(0) +I8[tobit((v_r + 73))] = tobit(0) +I8[tobit((v_r + 74))] = tobit(0) +I8[tobit((v_r + 75))] = tobit(0) +I8[tobit((v_r + 76))] = tobit(0) +I8[tobit((v_r + 77))] = tobit(0) +I8[tobit((v_r + 78))] = tobit(0) +I8[tobit((v_r + 79))] = tobit(0) +I8[tobit((v_r + 80))] = tobit(0) +I8[tobit((v_r + 81))] = tobit(0) +I8[tobit((v_r + 82))] = tobit(0) +I8[tobit((v_r + 83))] = tobit(0) +I8[tobit((v_r + 84))] = tobit(0) +I8[tobit((v_r + 85))] = tobit(0) +I8[tobit((v_r + 86))] = tobit(0) +I8[tobit((v_r + 87))] = tobit(0) +I8[tobit((v_r + 88))] = tobit(0) +I8[tobit((v_r + 89))] = tobit(0) +I8[tobit((v_r + 90))] = tobit(0) +I8[tobit((v_r + 91))] = tobit(0) +I8[tobit((v_r + 92))] = tobit(0) +I8[tobit((v_r + 93))] = tobit(0) +I8[tobit((v_r + 94))] = tobit(0) +I8[tobit((v_r + 95))] = tobit(0) +I8[tobit((v_r + 96))] = tobit(0) +I8[tobit((v_r + 97))] = tobit(0) +I8[tobit((v_r + 98))] = tobit(0) +I8[tobit((v_r + 99))] = tobit(0) +I8[tobit((v_r + 100))] = tobit(0) +I8[tobit((v_r + 101))] = tobit(0) +I8[tobit((v_r + 102))] = tobit(0) +I8[tobit((v_r + 103))] = tobit(0) +I8[tobit((v_r + 104))] = tobit(0) +I8[tobit((v_r + 105))] = tobit(0) +I8[tobit((v_r + 106))] = tobit(0) +I8[tobit((v_r + 107))] = tobit(0) +end +B = tobit((v_r + 112)) +do return v_e end +end +end + +F.fU = function(v_A) +local v_r, v_e, v_n, v_t, v_o, v_f, v_a = 0, 0, 0, 0, 0, 0, 0 +v_r = 0 +v_e = 0 +v_n = 0 +v_t = 0 +v_o = 0 +v_f = 0 +v_a = 0 +do +do +do +if (v_A ~= 0) then +do +do +v_n = tobit((v_A - 8)) +local t161 = v_n +local t160 = (-8) +v_r = I32[arshift((v_A - 4), 2)] +v_A = band(t160, v_r) +v_o = tobit((t161 + v_A)) +end +do +do +do +if (not (band(1, v_r) ~= 0)) then +do +if (not (band(3, v_r) ~= 0)) then +goto L142 +end +do +local t162 = v_n +v_r = I32[arshift(v_n, 2)] +v_n = tobit((t162 - v_r)) +if ((tobit(v_n) % 4294967296) < U32[5601]) then +goto L142 +end +end +do +v_A = tobit((v_A + v_r)) +if (I32[5602] == bor(0, v_n)) then +v_r = I32[arshift((v_o + 4), 2)] +if (3 == band(3, v_r)) then +I32[5599] = tobit(v_A) +I32[arshift((v_o + 4), 2)] = tobit(band((-2), v_r)) +I32[arshift((v_n + 4), 2)] = tobit(bor(1, v_A)) +I32[arshift((v_A + v_n), 2)] = tobit(v_A) +do return end +end +else +do +if ((tobit(v_r) % 4294967296) <= 255) then +v_t = I32[arshift((v_n + 8), 2)] +v_r = tobit((rshift(v_r, 3) % 4294967296)) +v_e = I32[arshift((v_n + 12), 2)] +if (bor(0, v_e) == bor(0, v_t)) then +I32[5597] = tobit(band(I32[5597], F.fPA((-2), v_r))) +goto L143 +end +I32[arshift((v_t + 12), 2)] = tobit(v_e) +I32[arshift((v_e + 8), 2)] = tobit(v_t) +goto L143 +end +do +v_a = I32[arshift((v_n + 24), 2)] +local t163 = bor(0, v_n) +v_r = I32[arshift((v_n + 12), 2)] +if (t163 == bor(0, v_r)) then +do +v_t = tobit((v_n + 20)) +v_e = I32[arshift(v_t, 2)] +local t164 = (v_e ~= 0) +if not t164 then +v_t = tobit((v_n + 16)) +v_e = I32[arshift(v_t, 2)] +t164 = (v_e ~= 0) +end +if t164 then +do +do +do +while true do +do +v_f = v_t +v_r = v_e +v_t = tobit((v_r + 20)) +v_e = I32[arshift(v_t, 2)] +local t165 = v_e +if t165 == 0 then +v_t = tobit((v_r + 16)) +v_e = I32[arshift((v_r + 16), 2)] +t165 = v_e +end +if not (t165 ~= 0) then goto B144 end +end +do +end +::C144:: +end +end +::B144:: +end +I32[arshift(v_f, 2)] = tobit(0) +end +else +v_r = 0 +end +end +else +v_e = I32[arshift((v_n + 8), 2)] +I32[arshift((v_e + 12), 2)] = tobit(v_r) +I32[arshift((v_r + 8), 2)] = tobit(v_e) +end +end +if (not (v_a ~= 0)) then +goto L143 +end +v_t = I32[arshift((v_n + 28), 2)] +do +v_e = tobit((22692 + lshift(v_t, 2))) +if (I32[arshift(v_e, 2)] == bor(0, v_n)) then +I32[arshift(v_e, 2)] = tobit(v_r) +if (v_r ~= 0) then +goto L145 +end +I32[5598] = tobit(band(I32[5598], F.fPA((-2), v_t))) +goto L143 +end +I32[arshift((v_a + ((I32[arshift((v_a + 16), 2)] == bor(0, v_n)) and 16 or 20)), 2)] = tobit(v_r) +if (not (v_r ~= 0)) then +goto L143 +end +end +::L145:: +I32[arshift((v_r + 24), 2)] = tobit(v_a) +v_e = I32[arshift((v_n + 16), 2)] +if (v_e ~= 0) then +I32[arshift((v_r + 16), 2)] = tobit(v_e) +I32[arshift((v_e + 24), 2)] = tobit(v_r) +end +v_e = I32[arshift((v_n + 20), 2)] +if (not (v_e ~= 0)) then +goto L143 +end +I32[arshift((v_r + 20), 2)] = tobit(v_e) +I32[arshift((v_e + 24), 2)] = tobit(v_r) +end +end +end +end +end +end +end +::L143:: +end +do +local t166 = (not ((tobit(v_n) % 4294967296) >= (tobit(v_o) % 4294967296))) +if t166 then +v_r = I32[arshift((v_o + 4), 2)] +t166 = (band(1, v_r) ~= 0) +end +if t166 then +do +do +do +do +do +if (not (band(2, v_r) ~= 0)) then +do +if (I32[5603] == bor(0, v_o)) then +I32[5603] = tobit(v_n) +v_A = tobit((I32[5600] + v_A)) +I32[5600] = tobit(v_A) +I32[arshift((v_n + 4), 2)] = tobit(bor(1, v_A)) +if (I32[5602] ~= bor(0, v_n)) then +goto L142 +end +I32[5599] = tobit(0) +I32[5602] = tobit(0) +do return end +end +if (I32[5602] == bor(0, v_o)) then +I32[5602] = tobit(v_n) +v_A = tobit((I32[5599] + v_A)) +I32[5599] = tobit(v_A) +I32[arshift((v_n + 4), 2)] = tobit(bor(1, v_A)) +I32[arshift((v_A + v_n), 2)] = tobit(v_A) +do return end +end +v_A = tobit((band((-8), v_r) + v_A)) +do +do +do +if ((tobit(v_r) % 4294967296) <= 255) then +v_t = I32[arshift((v_o + 8), 2)] +v_r = tobit((rshift(v_r, 3) % 4294967296)) +v_e = I32[arshift((v_o + 12), 2)] +if (bor(0, v_e) == bor(0, v_t)) then +I32[5597] = tobit(band(I32[5597], F.fPA((-2), v_r))) +goto L147 +end +I32[arshift((v_t + 12), 2)] = tobit(v_e) +I32[arshift((v_e + 8), 2)] = tobit(v_t) +else +do +do +v_a = I32[arshift((v_o + 24), 2)] +local t167 = bor(0, v_o) +v_r = I32[arshift((v_o + 12), 2)] +if (t167 == bor(0, v_r)) then +do +v_t = tobit((v_o + 20)) +v_e = I32[arshift(v_t, 2)] +local t168 = (v_e ~= 0) +if not t168 then +v_t = tobit((v_o + 16)) +v_e = I32[arshift(v_t, 2)] +t168 = (v_e ~= 0) +end +if t168 then +do +do +do +while true do +do +v_f = v_t +v_r = v_e +v_t = tobit((v_r + 20)) +v_e = I32[arshift(v_t, 2)] +local t169 = v_e +if t169 == 0 then +v_t = tobit((v_r + 16)) +v_e = I32[arshift((v_r + 16), 2)] +t169 = v_e +end +if not (t169 ~= 0) then goto B148 end +end +do +end +::C148:: +end +end +::B148:: +end +I32[arshift(v_f, 2)] = tobit(0) +end +else +v_r = 0 +end +end +else +v_e = I32[arshift((v_o + 8), 2)] +I32[arshift((v_e + 12), 2)] = tobit(v_r) +I32[arshift((v_r + 8), 2)] = tobit(v_e) +end +end +if (v_a ~= 0) then +v_t = I32[arshift((v_o + 28), 2)] +do +v_e = tobit((22692 + lshift(v_t, 2))) +if (I32[arshift(v_e, 2)] == bor(0, v_o)) then +I32[arshift(v_e, 2)] = tobit(v_r) +if (v_r ~= 0) then +goto L149 +end +I32[5598] = tobit(band(I32[5598], F.fPA((-2), v_t))) +goto L147 +end +I32[arshift((v_a + ((I32[arshift((v_a + 16), 2)] == bor(0, v_o)) and 16 or 20)), 2)] = tobit(v_r) +if (not (v_r ~= 0)) then +goto L147 +end +end +::L149:: +I32[arshift((v_r + 24), 2)] = tobit(v_a) +v_e = I32[arshift((v_o + 16), 2)] +if (v_e ~= 0) then +I32[arshift((v_r + 16), 2)] = tobit(v_e) +I32[arshift((v_e + 24), 2)] = tobit(v_r) +end +v_e = I32[arshift((v_o + 20), 2)] +if (v_e ~= 0) then +I32[arshift((v_r + 20), 2)] = tobit(v_e) +I32[arshift((v_e + 24), 2)] = tobit(v_r) +end +end +end +end +end +end +::L147:: +end +I32[arshift((v_n + 4), 2)] = tobit(bor(1, v_A)) +I32[arshift((v_A + v_n), 2)] = tobit(v_A) +if (I32[5602] ~= bor(0, v_n)) then +goto L146 +end +I32[5599] = tobit(v_A) +do return end +end +end +end +I32[arshift((v_o + 4), 2)] = tobit(band((-2), v_r)) +I32[arshift((v_n + 4), 2)] = tobit(bor(1, v_A)) +I32[arshift((v_A + v_n), 2)] = tobit(v_A) +end +end +::L146:: +end +do +if ((tobit(v_A) % 4294967296) <= 255) then +do +v_A = tobit((rshift(v_A, 3) % 4294967296)) +v_r = tobit((22428 + lshift(v_A, 3))) +v_e = I32[5597] +local t170 = v_e +v_A = lshift(1, v_A) +if (band(t170, v_A) ~= 0) then +v_A = I32[arshift((v_r + 8), 2)] +else +I32[5597] = tobit(bor(v_A, v_e)) +v_A = v_r +end +I32[arshift((v_r + 8), 2)] = tobit(v_n) +I32[arshift((v_A + 12), 2)] = tobit(v_n) +I32[arshift((v_n + 12), 2)] = tobit(v_r) +I32[arshift((v_n + 8), 2)] = tobit(v_A) +do return end +end +end +end +do +v_t = 31 +I32[arshift((v_n + 16), 2)] = tobit(0) +I32[arshift((v_n + 20), 2)] = tobit(0) +if ((tobit(v_A) % 4294967296) <= 16777215) then +v_r = tobit((rshift(v_A, 8) % 4294967296)) +local t171 = v_r +v_f = band((rshift((v_r + 1048320), 16) % 4294967296), 8) +v_r = lshift(t171, v_f) +local t172 = v_r +v_t = band((rshift((v_r + 520192), 16) % 4294967296), 4) +v_r = lshift(t172, v_t) +local t173 = v_r +v_e = band((rshift((v_r + 245760), 16) % 4294967296), 2) +v_r = tobit((tobit((rshift(lshift(t173, v_e), 15) % 4294967296)) - bor(bor(v_e, v_t), v_f))) +v_t = tobit((28 + bor(lshift(v_r, 1), band((rshift(v_A, (v_r + 21)) % 4294967296), 1)))) +end +I32[arshift((v_n + 28), 2)] = tobit(v_t) +v_f = tobit((22692 + lshift(v_t, 2))) +end +do +do +do +do +do +do +do +v_e = I32[5598] +local t174 = v_e +v_r = lshift(1, v_t) +if (band(t174, v_r) ~= 0) then +do +v_t = lshift(v_A, ((31 == bor(0, v_t)) and 0 or tobit((25 - tobit((rshift(v_t, 1) % 4294967296)))))) +v_r = I32[arshift(v_f, 2)] +while true do +do +v_e = v_r +if (band((-8), I32[arshift((v_r + 4), 2)]) == bor(0, v_A)) then +goto L151 +end +v_r = tobit((rshift(v_t, 29) % 4294967296)) +v_t = lshift(v_t, 1) +v_f = tobit((v_e + band(4, v_r))) +v_r = I32[arshift((16 + v_f), 2)] +if (not (v_r ~= 0)) then +goto B152 +end +end +::C152:: +end +end +::B152:: +I32[arshift((v_f + 16), 2)] = tobit(v_n) +I32[arshift((v_n + 24), 2)] = tobit(v_e) +else +I32[5598] = tobit(bor(v_r, v_e)) +I32[arshift(v_f, 2)] = tobit(v_n) +I32[arshift((v_n + 24), 2)] = tobit(v_f) +end +end +I32[arshift((v_n + 12), 2)] = tobit(v_n) +I32[arshift((v_n + 8), 2)] = tobit(v_n) +goto L150 +end +end +::L151:: +end +v_A = I32[arshift((v_e + 8), 2)] +I32[arshift((v_A + 12), 2)] = tobit(v_n) +I32[arshift((v_e + 8), 2)] = tobit(v_n) +I32[arshift((v_n + 24), 2)] = tobit(0) +I32[arshift((v_n + 12), 2)] = tobit(v_e) +I32[arshift((v_n + 8), 2)] = tobit(v_A) +end +end +::L150:: +end +do +v_A = tobit((I32[5605] - 1)) +local t175 = v_A +if t175 == 0 then +t175 = (-1) +end +I32[5605] = tobit(t175) +end +end +end +end +end +end +end +end +::L142:: +end +end + +F.fL = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +do +v_t = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +v_a = bxor(I32[arshift((v_A + 16), 2)], bor(bor(bor(lshift(v_t, 24), band(lshift(v_t, 8), 16711680)), band((rshift(v_t, 8) % 4294967296), 65280)), (rshift(v_t, 24) % 4294967296))) +v_t = bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24)) +v_l = bxor(I32[arshift((v_A + 12), 2)], bor(bor(bor(lshift(v_t, 24), band(lshift(v_t, 8), 16711680)), band((rshift(v_t, 8) % 4294967296), 65280)), (rshift(v_t, 24) % 4294967296))) +v_t = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +v_u = bxor(I32[arshift((v_A + 8), 2)], bor(bor(bor(lshift(v_t, 24), band(lshift(v_t, 8), 16711680)), band((rshift(v_t, 8) % 4294967296), 65280)), (rshift(v_t, 24) % 4294967296))) +v_r = bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24)) +v_t = bxor(I32[arshift((v_A + 4), 2)], bor(bor(bor(lshift(v_r, 24), band(lshift(v_r, 8), 16711680)), band((rshift(v_r, 8) % 4294967296), 65280)), (rshift(v_r, 24) % 4294967296))) +v_r = tobit((v_A + 20)) +v_v = I32[arshift(v_A, 2)] +if (v_v ~= 0) then +do +do +while true do +do +do +do +v_A = bxor(I32[arshift((v_r + 4), 2)], v_u) +v_o = U8[tobit((7840 + tobit((rshift(v_A, 24) % 4294967296))))] +v_g = v_a +v_a = bor(bor(bor(U8[tobit((7584 + band(255, v_A)))], lshift(U8[tobit((8096 + band((rshift(v_A, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)) +v_A = bxor(I32[arshift(v_r, 2)], v_t) +v_A = bxor(bor(v_o, lshift(v_a, 8)), bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_A, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_A, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_A)))])) +v_s = bxor(F.fPA(v_A, 16), v_a) +local t176 = v_g +v_b = bxor(F.fPA(v_s, 24), v_A) +v_a = bxor(t176, v_b) +v_A = bxor(v_a, I32[arshift((v_r + 12), 2)]) +v_o = U8[tobit((7840 + tobit((rshift(v_A, 24) % 4294967296))))] +v_c = bor(bor(bor(U8[tobit((7584 + band(255, v_A)))], lshift(U8[tobit((8096 + band((rshift(v_A, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)) +v_l = bxor(bxor(F.fPA(v_b, 24), v_l), v_s) +v_A = bxor(v_l, I32[arshift((v_r + 8), 2)]) +v_A = bxor(bor(v_o, lshift(v_c, 8)), bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_A, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_A, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_A)))])) +v_s = bxor(F.fPA(v_A, 16), v_c) +local t177 = v_u +v_b = bxor(F.fPA(v_s, 24), v_A) +v_u = bxor(t177, v_b) +v_A = bxor(v_u, I32[arshift((v_r + 20), 2)]) +v_o = U8[tobit((7840 + tobit((rshift(v_A, 24) % 4294967296))))] +v_c = bor(bor(bor(U8[tobit((7584 + band(255, v_A)))], lshift(U8[tobit((8096 + band((rshift(v_A, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)) +v_t = bxor(bxor(F.fPA(v_b, 24), v_t), v_s) +v_A = bxor(v_t, I32[arshift((v_r + 16), 2)]) +v_A = bxor(bor(v_o, lshift(v_c, 8)), bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_A, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_A, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_A)))])) +v_s = bxor(F.fPA(v_A, 16), v_c) +local t178 = v_a +v_b = bxor(F.fPA(v_s, 24), v_A) +v_a = bxor(t178, v_b) +v_A = bxor(v_a, I32[arshift((v_r + 28), 2)]) +v_o = U8[tobit((7840 + tobit((rshift(v_A, 24) % 4294967296))))] +v_c = bor(bor(bor(U8[tobit((7584 + band(255, v_A)))], lshift(U8[tobit((8096 + band((rshift(v_A, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)) +v_l = bxor(bxor(F.fPA(v_b, 24), v_l), v_s) +v_A = bxor(v_l, I32[arshift((v_r + 24), 2)]) +v_A = bxor(bor(v_o, lshift(v_c, 8)), bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_A, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_A, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_A)))])) +v_s = bxor(F.fPA(v_A, 16), v_c) +local t179 = v_u +v_b = bxor(F.fPA(v_s, 24), v_A) +v_u = bxor(t179, v_b) +v_A = bxor(v_u, I32[arshift((v_r + 36), 2)]) +v_o = U8[tobit((7840 + tobit((rshift(v_A, 24) % 4294967296))))] +v_c = bor(bor(bor(U8[tobit((7584 + band(255, v_A)))], lshift(U8[tobit((8096 + band((rshift(v_A, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)) +v_t = bxor(bxor(F.fPA(v_b, 24), v_t), v_s) +v_A = bxor(v_t, I32[arshift((v_r + 32), 2)]) +v_A = bxor(bor(v_o, lshift(v_c, 8)), bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_A, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_A, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_A)))])) +v_c = bxor(F.fPA(v_A, 16), v_c) +local t180 = v_a +v_s = bxor(F.fPA(v_c, 24), v_A) +v_a = bxor(t180, v_s) +v_A = bxor(v_a, I32[arshift((v_r + 44), 2)]) +v_o = U8[tobit((7840 + tobit((rshift(v_A, 24) % 4294967296))))] +v_g = v_u +v_u = bor(bor(bor(U8[tobit((7584 + band(255, v_A)))], lshift(U8[tobit((8096 + band((rshift(v_A, 16) % 4294967296), 255)))], 16)), lshift(v_o, 24)), lshift(U8[tobit((8352 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)) +v_l = bxor(bxor(F.fPA(v_s, 24), v_c), v_l) +v_A = bxor(v_l, I32[arshift((v_r + 40), 2)]) +v_A = bxor(bor(v_o, lshift(v_u, 8)), bor(bor(bor(lshift(U8[tobit((7840 + band((rshift(v_A, 16) % 4294967296), 255)))], 16), lshift(U8[tobit((7584 + tobit((rshift(v_A, 24) % 4294967296))))], 24)), lshift(U8[tobit((8096 + band((rshift(v_A, 8) % 4294967296), 255)))], 8)), U8[tobit((8352 + band(255, v_A)))])) +v_o = bxor(F.fPA(v_A, 16), v_u) +local t181 = v_g +v_A = bxor(F.fPA(v_o, 24), v_A) +v_u = bxor(t181, v_A) +v_t = bxor(bxor(F.fPA(v_A, 24), v_t), v_o) +v_v = tobit((v_v - 1)) +if (not (v_v ~= 0)) then +v_r = tobit((v_r + 48)) +goto B153 +end +end +v_l = bxor(bor(I32[arshift((v_r + 60), 2)], v_a), v_l) +v_a = bxor(F.fPA(band(v_l, I32[arshift((v_r + 56), 2)]), 1), v_a) +v_u = bxor(F.fPA(band(I32[arshift((v_r + 48), 2)], v_t), 1), v_u) +v_t = bxor(bor(v_u, I32[arshift((v_r + 52), 2)]), v_t) +v_r = tobit((v_r - (-64))) +end +end +::C153:: +end +end +::B153:: +end +end +end +v_v = I32[arshift(v_r, 2)] +v_o = I32[arshift((v_r + 4), 2)] +v_c = I32[arshift((v_r + 8), 2)] +v_A = bxor(I32[arshift((v_r + 12), 2)], v_u) +I8[tobit((v_e + 15))] = tobit(v_A) +v_r = bxor(v_t, v_c) +I8[tobit((v_e + 11))] = tobit(v_r) +v_t = bxor(v_o, v_a) +I8[tobit((v_e + 7))] = tobit(v_t) +v_a = bxor(v_l, v_v) +I8[tobit((v_e + 3))] = tobit(v_a) +I8[tobit((v_e + 14))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_e + 13))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[tobit((v_e + 12))] = tobit((rshift(v_A, 24) % 4294967296)) +I8[tobit((v_e + 10))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_e + 9))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_e + 8))] = tobit((rshift(v_r, 24) % 4294967296)) +I8[tobit((v_e + 6))] = tobit((rshift(v_t, 8) % 4294967296)) +I8[tobit((v_e + 5))] = tobit((rshift(v_t, 16) % 4294967296)) +I8[tobit((v_e + 4))] = tobit((rshift(v_t, 24) % 4294967296)) +I8[tobit((v_e + 2))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_e + 1))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[bor(0, v_e)] = tobit((rshift(v_a, 24) % 4294967296)) +do return 0 end +end + +F.fH = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s = 0, 0, 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +do +do +do +v_t = bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24)) +v_t = bor(bor(bor(lshift(v_t, 24), band(lshift(v_t, 8), 16711680)), band((rshift(v_t, 8) % 4294967296), 65280)), (rshift(v_t, 24) % 4294967296)) +local t183 = v_t +local t182 = (rshift(v_t, 4) % 4294967296) +v_r = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +v_r = bor(bor(bor(lshift(v_r, 24), band(lshift(v_r, 8), 16711680)), band((rshift(v_r, 8) % 4294967296), 65280)), (rshift(v_r, 24) % 4294967296)) +v_o = band(252645135, bxor(t182, v_r)) +v_t = bxor(t183, lshift(v_o, 4)) +v_o = bxor(v_o, v_r) +local t184 = v_o +v_r = bxor((rshift(v_t, 16) % 4294967296), band(65535, v_o)) +v_o = bxor(t184, v_r) +local t186 = v_o +local t185 = (rshift(v_o, 2) % 4294967296) +v_r = bxor(v_t, lshift(v_r, 16)) +v_t = band(858993459, bxor(t185, v_r)) +v_o = bxor(t186, lshift(v_t, 2)) +local t187 = (rshift(v_o, 8) % 4294967296) +v_r = bxor(v_r, v_t) +v_t = band(16711935, bxor(t187, v_r)) +v_o = F.fPA(bxor(lshift(v_t, 8), v_o), 1) +local t189 = v_o +local t188 = (-1431655766) +v_r = bxor(v_r, v_t) +v_t = band(t188, bxor(v_r, v_o)) +v_o = bxor(t189, v_t) +v_r = F.fPA(bxor(v_r, v_t), 1) +v_t = v_A +v_u = 1 +end +while true do +v_s = v_o +v_c = bxor(I32[arshift((v_t + 4), 2)], F.fPA(v_o, 28)) +v_a = v_r +v_r = bxor(I32[arshift(v_t, 2)], v_o) +v_r = bxor(bxor(bxor(bxor(bxor(bxor(bxor(bxor(I32[arshift((2176 + lshift(band(63, v_c), 2)), 2)], v_a), I32[arshift((1152 + lshift(band(63, v_r), 2)), 2)]), I32[arshift((1408 + band((rshift(v_r, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_r, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_r, 22) % 4294967296), 252)), 2)]), I32[arshift((2432 + band((rshift(v_c, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_c, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_c, 22) % 4294967296), 252)), 2)]) +v_o = bxor(v_r, I32[arshift((v_t + 8), 2)]) +v_a = bxor(bxor(bxor(bxor(v_s, I32[arshift((1152 + lshift(band(63, v_o), 2)), 2)]), I32[arshift((1408 + band((rshift(v_o, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_o, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_o, 22) % 4294967296), 252)), 2)]) +v_o = bxor(I32[arshift((v_t + 12), 2)], F.fPA(v_r, 28)) +v_o = bxor(bxor(bxor(bxor(v_a, I32[arshift((2176 + lshift(band(63, v_o), 2)), 2)]), I32[arshift((2432 + band((rshift(v_o, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_o, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_o, 22) % 4294967296), 252)), 2)]) +if not (8 ~= bor(0, v_u)) then goto B154 end +do +v_t = tobit((v_t + 16)) +v_u = tobit((v_u + 1)) +end +::C154:: +end +end +::B154:: +end +do +v_t = tobit((v_A + 128)) +v_u = 1 +while true do +v_a = v_r +v_c = bxor(I32[arshift((v_t + 4), 2)], F.fPA(v_r, 28)) +v_r = bxor(I32[arshift(v_t, 2)], v_r) +v_o = bxor(bxor(bxor(bxor(bxor(bxor(bxor(bxor(I32[arshift((2176 + lshift(band(63, v_c), 2)), 2)], I32[arshift((1152 + lshift(band(63, v_r), 2)), 2)]), v_o), I32[arshift((1408 + band((rshift(v_r, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_r, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_r, 22) % 4294967296), 252)), 2)]), I32[arshift((2432 + band((rshift(v_c, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_c, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_c, 22) % 4294967296), 252)), 2)]) +v_r = bxor(v_o, I32[arshift((v_t + 8), 2)]) +v_a = bxor(bxor(bxor(bxor(v_a, I32[arshift((1152 + lshift(band(63, v_r), 2)), 2)]), I32[arshift((1408 + band((rshift(v_r, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_r, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_r, 22) % 4294967296), 252)), 2)]) +v_r = bxor(I32[arshift((v_t + 12), 2)], F.fPA(v_o, 28)) +v_r = bxor(bxor(bxor(bxor(v_a, I32[arshift((2176 + lshift(band(63, v_r), 2)), 2)]), I32[arshift((2432 + band((rshift(v_r, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_r, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_r, 22) % 4294967296), 252)), 2)]) +if not (8 ~= bor(0, v_u)) then goto B155 end +do +v_t = tobit((v_t + 16)) +v_u = tobit((v_u + 1)) +end +::C155:: +end +end +::B155:: +do +v_t = tobit((v_A + 256)) +v_u = 1 +while true do +v_A = bxor(I32[arshift((v_t + 4), 2)], F.fPA(v_o, 28)) +v_a = v_r +v_r = bxor(I32[arshift(v_t, 2)], v_o) +v_r = bxor(bxor(bxor(bxor(bxor(bxor(bxor(bxor(I32[arshift((2176 + lshift(band(63, v_A), 2)), 2)], v_a), I32[arshift((1152 + lshift(band(63, v_r), 2)), 2)]), I32[arshift((1408 + band((rshift(v_r, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_r, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_r, 22) % 4294967296), 252)), 2)]), I32[arshift((2432 + band((rshift(v_A, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_A, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_A, 22) % 4294967296), 252)), 2)]) +v_A = bxor(v_r, I32[arshift((v_t + 8), 2)]) +v_a = bxor(bxor(bxor(bxor(I32[arshift((1152 + lshift(band(63, v_A), 2)), 2)], v_o), I32[arshift((1408 + band((rshift(v_A, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_A, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_A, 22) % 4294967296), 252)), 2)]) +v_A = bxor(I32[arshift((v_t + 12), 2)], F.fPA(v_r, 28)) +v_o = bxor(bxor(bxor(bxor(v_a, I32[arshift((2176 + lshift(band(63, v_A), 2)), 2)]), I32[arshift((2432 + band((rshift(v_A, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_A, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_A, 22) % 4294967296), 252)), 2)]) +if not (8 ~= bor(0, v_u)) then goto B156 end +do +v_t = tobit((v_t + 16)) +v_u = tobit((v_u + 1)) +end +::C156:: +end +end +::B156:: +do +v_s = lshift(v_r, 31) +local t192 = v_s +v_a = v_r +local t191 = v_a +local t190 = (-1431655766) +v_A = F.fPA(v_o, 31) +v_r = band(t190, bxor(v_A, v_r)) +v_t = bor(t192, (rshift(bxor(t191, v_r), 1) % 4294967296)) +local t194 = v_t +local t193 = (rshift(v_t, 8) % 4294967296) +v_A = bxor(v_A, v_r) +v_r = band(16711935, bxor(t193, v_A)) +v_t = bxor(t194, lshift(v_r, 8)) +local t196 = v_t +local t195 = (rshift(v_t, 2) % 4294967296) +v_A = bxor(v_A, v_r) +v_r = band(858993459, bxor(t195, v_A)) +v_t = bxor(t196, lshift(v_r, 2)) +local t197 = band(65535, v_t) +v_A = bxor(v_A, v_r) +v_r = bxor(t197, (rshift(v_A, 16) % 4294967296)) +v_o = bxor(lshift(v_r, 16), v_A) +v_A = bxor(v_r, v_t) +local t198 = v_A +v_r = band(252645135, bxor((rshift(v_o, 4) % 4294967296), v_A)) +v_A = bxor(t198, v_r) +I8[tobit((v_e + 7))] = tobit(v_A) +I8[tobit((v_e + 6))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_e + 5))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[tobit((v_e + 4))] = tobit((rshift(v_A, 24) % 4294967296)) +v_A = bxor(v_o, lshift(v_r, 4)) +I8[tobit((v_e + 3))] = tobit(v_A) +I8[tobit((v_e + 2))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_e + 1))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[bor(0, v_e)] = tobit((rshift(v_A, 24) % 4294967296)) +do return 0 end +end +end + +F.fF = function(v_A, v_r, v_e, v_n) +local v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_m, v_Q, v_S, v_O, v_x, v_M, v_j, v_T, v_K, v_P, v_R, v_D = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +v_x = 0 +v_M = 0 +v_j = 0 +v_T = 0 +v_K = 0 +v_P = 0 +v_R = 0 +v_D = 0 +do +v_t = tobit((B - 32)) +B = v_t +v_g = (-20) +v_r = F.fBA(v_r, v_n) +if not (bor(((not (v_r ~= 0)) and 1 or 0), ((16 ~= I32[arshift((v_r + 24), 2)]) and 1 or 0)) ~= 0) then +F.fAA(v_A) +v_g = F.flA(v_A, v_r) +local t199 = (v_g ~= 0) +if not t199 then +v_g = F.fEA(v_A, v_e, v_n) +t199 = (v_g ~= 0) +end +if not t199 then +v_r = v_t +I32[arshift((v_r + 16), 2)] = tobit(0) +I32[arshift((v_r + 20), 2)] = tobit(0) +I32[arshift((v_r + 24), 2)] = tobit(0) +I32[arshift((v_r + 28), 2)] = tobit(0) +I32[arshift((v_r + 12), 2)] = tobit(0) +v_g = F.fq(v_A, tobit((v_r + 16)), tobit((v_r + 16)), tobit((v_r + 12))) +if not (v_g ~= 0) then +v_e = v_t +v_I = U8[tobit((v_e + 31))] +v_m = U8[tobit((v_e + 30))] +v_Q = U8[tobit((v_e + 27))] +v_j = U8[tobit((v_e + 26))] +v_S = U8[tobit((v_e + 25))] +v_T = U8[tobit((v_e + 24))] +v_k = U8[tobit((v_e + 29))] +v_a = U8[tobit((v_e + 28))] +v_n = U8[tobit((v_e + 23))] +v_c = U8[tobit((v_e + 22))] +v_u = U8[tobit((v_e + 19))] +v_s = U8[tobit((v_e + 18))] +v_v = U8[tobit((v_e + 17))] +v_y = U8[tobit((v_e + 16))] +v_r = U8[tobit((v_e + 21))] +v_o = U8[tobit((v_e + 20))] +I32[arshift((v_A + 192), 2)] = tobit(0) +I32[arshift((v_A + 196), 2)] = tobit(0) +I32[arshift((v_A + 64), 2)] = tobit(0) +I32[arshift((v_A + 68), 2)] = tobit(0) +v_e = v_r +local t200 = (rshift(v_o, 8) % 4294967296) +v_r = tobit((rshift(v_r, 16) % 4294967296)) +v_w = bor(t200, v_r) +local t201 = lshift(v_c, 8) +v_O = bor(lshift(v_e, 16), lshift(v_o, 24)) +v_l = bor(bor(t201, v_O), v_n) +local t202 = lshift(v_s, 8) +v_v = bor(lshift(v_v, 16), lshift(v_y, 24)) +v_r = bor(bor(t202, v_v), v_u) +v_r = bor(bor(v_r, v_w), (rshift(v_c, 24) % 4294967296)) +v_c = v_r +I32[arshift((v_A + 256), 2)] = tobit(v_l) +I32[arshift((v_A + 260), 2)] = tobit(v_r) +v_r = tobit((rshift(v_a, 8) % 4294967296)) +local t203 = v_r +v_e = tobit((rshift(v_k, 16) % 4294967296)) +v_u = bor(t203, v_e) +local t204 = lshift(v_j, 8) +v_s = bor(lshift(v_S, 16), lshift(v_T, 24)) +v_r = bor(bor(t204, v_s), v_Q) +v_r = bor(bor(v_r, v_u), (rshift(v_m, 24) % 4294967296)) +v_u = v_r +local t205 = lshift(v_m, 8) +v_a = bor(lshift(v_k, 16), lshift(v_a, 24)) +v_o = v_a +v_b = bor(bor(t205, v_o), v_I) +I32[arshift((v_A + 128), 2)] = tobit(v_b) +I32[arshift((v_A + 132), 2)] = tobit(v_r) +v_e = v_c +v_r = tobit((rshift(v_e, 1) % 4294967296)) +v_a = bor(lshift(band(1, v_e), 31), (rshift(v_l, 1) % 4294967296)) +v_d = bxor(F.fCA(band(1, v_I), 0, 0, (-520093696)), v_a) +v_r = bxor(v_r, Iv) +v_s = v_r +I32[arshift((v_A + 224), 2)] = tobit(v_d) +I32[arshift((v_A + 228), 2)] = tobit(v_r) +v_o = v_u +v_r = tobit((rshift(v_o, 1) % 4294967296)) +v_p = bor(lshift(band(1, v_o), 31), (rshift(v_b, 1) % 4294967296)) +local t206 = v_r +v_n = lshift(v_n, 31) +v_r = bor(t206, v_n) +v_v = v_r +I32[arshift((v_A + 96), 2)] = tobit(v_p) +I32[arshift((v_A + 100), 2)] = tobit(v_r) +v_n = v_r +v_r = tobit((rshift(v_r, 1) % 4294967296)) +v_h = bor(lshift(band(1, v_n), 31), (rshift(v_p, 1) % 4294967296)) +local t207 = v_r +v_e = lshift(v_a, 31) +v_r = bor(t207, v_e) +v_y = v_r +I32[arshift((v_A + 80), 2)] = tobit(v_h) +I32[arshift((v_A + 84), 2)] = tobit(v_r) +v_e = v_s +v_r = tobit((rshift(v_e, 1) % 4294967296)) +v_a = bor(lshift(band(1, v_e), 31), (rshift(v_d, 1) % 4294967296)) +v_C = bxor(F.fCA(band(1, v_p), 0, 0, (-520093696)), v_a) +v_e = bxor(Iv, v_r) +v_x = v_e +I32[arshift((v_A + 208), 2)] = tobit(v_C) +I32[arshift((v_A + 212), 2)] = tobit(v_e) +v_e = bxor(v_n, v_y) +v_I = v_e +v_R = bxor(v_p, v_h) +I32[arshift((v_A + 112), 2)] = tobit(v_R) +I32[arshift((v_A + 116), 2)] = tobit(v_e) +v_n = v_y +v_r = tobit((rshift(v_n, 1) % 4294967296)) +v_M = bor(lshift(band(1, v_n), 31), (rshift(v_h, 1) % 4294967296)) +local t208 = v_r +v_e = lshift(v_a, 31) +v_r = bor(t208, v_e) +v_K = v_r +I32[arshift((v_A + 72), 2)] = tobit(v_M) +I32[arshift((v_A + 76), 2)] = tobit(v_r) +v_r = bxor(v_s, v_x) +v_m = v_r +v_Q = bxor(v_d, v_C) +I32[arshift((v_A + 240), 2)] = tobit(v_Q) +I32[arshift((v_A + 244), 2)] = tobit(v_r) +v_e = v_x +v_r = tobit((rshift(v_e, 1) % 4294967296)) +v_o = bxor(F.fCA(band(1, v_h), 0, 0, (-520093696)), bor(lshift(band(1, v_e), 31), (rshift(v_C, 1) % 4294967296))) +v_r = bxor(v_r, Iv) +v_e = v_r +I32[arshift((v_A + 200), 2)] = tobit(v_o) +I32[arshift((v_A + 204), 2)] = tobit(v_r) +v_r = bxor(v_n, v_K) +v_D = v_r +v_P = bxor(v_h, v_M) +I32[arshift((v_A + 88), 2)] = tobit(v_P) +I32[arshift((v_A + 92), 2)] = tobit(v_r) +v_r = bxor(v_v, v_K) +v_j = v_r +v_S = bxor(v_p, v_M) +I32[arshift((v_A + 104), 2)] = tobit(v_S) +I32[arshift((v_A + 108), 2)] = tobit(v_r) +v_r = bxor(v_e, v_x) +v_O = v_r +v_w = bxor(v_o, v_C) +I32[arshift((v_A + 216), 2)] = tobit(v_w) +I32[arshift((v_A + 220), 2)] = tobit(v_r) +v_r = bxor(v_e, v_s) +v_T = v_r +v_k = bxor(v_o, v_d) +I32[arshift((v_A + 232), 2)] = tobit(v_k) +I32[arshift((v_A + 236), 2)] = tobit(v_r) +I32[arshift((v_A + 264), 2)] = tobit(bxor(v_o, v_l)) +I32[arshift((v_A + 268), 2)] = tobit(bxor(v_e, v_c)) +v_r = bxor(v_v, v_D) +v_a = v_r +v_o = bxor(v_p, v_P) +I32[arshift((v_A + 120), 2)] = tobit(v_o) +I32[arshift((v_A + 124), 2)] = tobit(v_r) +v_n = bxor(v_s, v_O) +v_e = v_n +v_r = bxor(v_d, v_w) +I32[arshift((v_A + 248), 2)] = tobit(v_r) +I32[arshift((v_A + 252), 2)] = tobit(v_e) +I32[arshift((v_A + 272), 2)] = tobit(bxor(v_l, v_C)) +I32[arshift((v_A + 276), 2)] = tobit(bxor(v_c, v_x)) +I32[arshift((v_A + 136), 2)] = tobit(bxor(v_b, v_M)) +I32[arshift((v_A + 140), 2)] = tobit(bxor(v_u, v_K)) +I32[arshift((v_A + 144), 2)] = tobit(bxor(v_b, v_h)) +I32[arshift((v_A + 148), 2)] = tobit(bxor(v_u, v_y)) +I32[arshift((v_A + 280), 2)] = tobit(bxor(v_l, v_w)) +I32[arshift((v_A + 284), 2)] = tobit(bxor(v_c, v_O)) +I32[arshift((v_A + 152), 2)] = tobit(bxor(v_b, v_P)) +I32[arshift((v_A + 156), 2)] = tobit(bxor(v_u, v_D)) +I32[arshift((v_A + 288), 2)] = tobit(bxor(v_l, v_d)) +I32[arshift((v_A + 292), 2)] = tobit(bxor(v_c, v_s)) +I32[arshift((v_A + 160), 2)] = tobit(bxor(v_b, v_p)) +I32[arshift((v_A + 164), 2)] = tobit(bxor(v_u, v_v)) +I32[arshift((v_A + 296), 2)] = tobit(bxor(v_l, v_k)) +I32[arshift((v_A + 300), 2)] = tobit(bxor(v_c, v_T)) +I32[arshift((v_A + 168), 2)] = tobit(bxor(v_b, v_S)) +I32[arshift((v_A + 172), 2)] = tobit(bxor(v_u, v_j)) +I32[arshift((v_A + 304), 2)] = tobit(bxor(v_l, v_Q)) +I32[arshift((v_A + 308), 2)] = tobit(bxor(v_c, v_m)) +I32[arshift((v_A + 176), 2)] = tobit(bxor(v_b, v_R)) +I32[arshift((v_A + 180), 2)] = tobit(bxor(v_u, v_I)) +I32[arshift((v_A + 312), 2)] = tobit(bxor(v_r, v_l)) +I32[arshift((v_A + 316), 2)] = tobit(bxor(v_e, v_c)) +I32[arshift((v_A + 184), 2)] = tobit(bxor(v_o, v_b)) +I32[arshift((v_A + 188), 2)] = tobit(bxor(v_u, v_a)) +end +end +end +B = tobit((v_t + 32)) +do return v_g end +end +end + +F.fY = function(v_A, v_r, v_e, v_t) +local v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_E, v_m, v_Q, v_S = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_E = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_o = tobit((B - 32)) +B = v_o +I32[arshift((v_o + 12), 2)] = tobit(0) +do +do +do +local t209 = (((tobit(v_e) % 4294967296) < (tobit(v_t) % 4294967296)) and 1 or 0) +if t209 ~= 0 then +v_a = (-20) +t209 = (((tobit((v_t - v_e)) % 4294967296) < (tobit(v_r) % 4294967296)) and 1 or 0) +end +local t210 = t209 +if t210 == 0 then +v_a = (-20) +v_s = I32[arshift((v_A + 324), 2)] +v_u = v_s +v_l = I32[arshift((v_A + 320), 2)] +local t211 = v_l +v_c = v_r +v_v = tobit((t211 + v_c)) +v_u = (((tobit(v_v) % 4294967296) < (tobit(v_c) % 4294967296)) and tobit((v_u + 1)) or v_u) +v_c = v_u +t210 = bor(bor(bor(band(((bor(0, v_s) == bor(0, v_u)) and 1 or 0), (((tobit(v_l) % 4294967296) > (tobit(v_v) % 4294967296)) and 1 or 0)), (((tobit(v_u) % 4294967296) < (tobit(v_s) % 4294967296)) and 1 or 0)), band(((15 == bor(0, v_u)) and 1 or 0), (((tobit(v_v) % 4294967296) > 4294967264) and 1 or 0))), (((tobit(v_u) % 4294967296) > 15) and 1 or 0)) +end +if (not (t210 ~= 0)) then +do +do +I32[arshift((v_A + 320), 2)] = tobit(v_v) +I32[arshift((v_A + 324), 2)] = tobit(v_c) +if (v_r ~= 0) then +do +do +v_s = tobit((v_A + 368)) +v_I = tobit((v_A + 352)) +while true do +do +do +v_u = tobit((U8[tobit((v_A + 367))] + 1)) +I8[tobit((v_A + 367))] = tobit(v_u) +if (bor(0, v_u) ~= band(255, v_u)) then +v_u = tobit((U8[tobit((v_A + 366))] + 1)) +I8[tobit((v_A + 366))] = tobit(v_u) +if (bor(0, v_u) ~= band(255, v_u)) then +v_u = tobit((U8[tobit((v_A + 365))] + 1)) +I8[tobit((v_A + 365))] = tobit(v_u) +if (bor(0, v_u) ~= band(255, v_u)) then +I8[tobit((v_A + 364))] = tobit((U8[tobit((v_A + 364))] + 1)) +end +end +end +v_a = F.fq(v_A, v_I, tobit((v_o + 16)), tobit((v_o + 12))) +if (v_a ~= 0) then +goto L157 +end +do +do +v_h = (((tobit(v_r) % 4294967296) < 16) and v_r or 16) +v_u = (((tobit(v_h) % 4294967296) > 1) and v_h or 1) +v_a = 0 +while true do +do +if not (I32[arshift((v_A + 384), 2)] ~= 0) then +v_c = tobit((v_A + v_a)) +I8[tobit((368 + v_c))] = tobit(bxor(U8[tobit((v_c + 368))], U8[tobit((v_e + v_a))])) +end +v_c = bxor(U8[tobit((v_e + v_a))], U8[tobit((tobit((v_o + 16)) + v_a))]) +I8[tobit((v_t + v_a))] = tobit(v_c) +if (1 == I32[arshift((v_A + 384), 2)]) then +v_v = tobit((v_A + v_a)) +I8[tobit((368 + v_v))] = tobit(bxor(v_c, U8[tobit((v_v + 368))])) +end +local t212 = bor(0, v_u) +v_a = tobit((v_a + 1)) +if not (t212 ~= bor(0, v_a)) then goto B159 end +end +do +end +::C159:: +end +end +::B159:: +end +do +do +do +v_E = v_s +v_k = tobit((v_A - (-64))) +v_u = U8[tobit((v_s + 15))] +local t213 = v_k +v_p = band((rshift(v_u, 1) % 4294967296), 120) +v_c = tobit((t213 + v_p)) +v_l = I32[arshift(v_c, 2)] +v_d = I32[arshift((v_c + 4), 2)] +v_y = tobit((v_A + 192)) +local t214 = v_y +v_b = lshift(band(15, v_u), 3) +v_c = tobit((t214 + v_b)) +v_u = I32[arshift((4 + v_c), 2)] +v_v = I32[arshift(v_c, 2)] +v_c = lshift(v_v, 28) +v_g = v_l +local t216 = v_g +v_a = tobit((v_b + v_k)) +v_l = I32[arshift((4 + v_a), 2)] +local t215 = lshift(band(15, v_l), 28) +v_b = I32[arshift(v_a, 2)] +v_g = bxor(t216, bor(t215, (rshift(v_b, 4) % 4294967296))) +v_c = bxor(bor((rshift(v_l, 4) % 4294967296), v_c), v_d) +v_a = tobit((v_p + v_y)) +v_l = I32[arshift(v_a, 2)] +v_p = I32[arshift((v_a + 4), 2)] +v_a = tobit((11104 + lshift(band(15, v_b), 3))) +v_b = bxor(bor(lshift(band(15, v_u), 28), (rshift(v_v, 4) % 4294967296)), v_l) +local t217 = (rshift(v_u, 4) % 4294967296) +v_a = lshift(I32[arshift(v_a, 2)], 16) +v_u = bxor(bxor(t217, v_a), v_p) +v_a = 14 +end +while true do +do +v_v = v_a +v_a = U8[tobit((v_a + v_E))] +v_w = band((rshift(v_a, 1) % 4294967296), 120) +v_l = tobit((v_w + v_k)) +v_m = I32[arshift(v_l, 2)] +v_Q = I32[arshift((v_l + 4), 2)] +v_C = lshift(band(15, v_a), 3) +v_a = tobit((v_C + v_y)) +v_l = I32[arshift(v_a, 2)] +v_d = I32[arshift((v_a + 4), 2)] +v_a = tobit((11104 + lshift(band(15, v_g), 3))) +v_p = lshift(I32[arshift(v_a, 2)], 16) +v_a = tobit((rshift(v_u, 4) % 4294967296)) +v_p = bxor(bxor(v_a, v_p), v_d) +v_l = bxor(v_l, bor(lshift(band(15, v_u), 28), (rshift(v_b, 4) % 4294967296))) +v_d = lshift(v_l, 28) +v_a = tobit((v_k + v_C)) +v_C = I32[arshift(v_a, 2)] +v_S = I32[arshift((v_a + 4), 2)] +local t218 = (rshift(v_c, 4) % 4294967296) +v_a = lshift(v_b, 28) +v_b = bxor(bor(t218, v_a), v_S) +local t220 = lshift(band(15, v_b), 28) +local t219 = bor(lshift(band(15, v_c), 28), (rshift(v_g, 4) % 4294967296)) +v_u = 0 +v_u = bxor(bor(t219, v_u), v_C) +v_g = bxor(bor(t220, (rshift(v_u, 4) % 4294967296)), v_m) +v_c = bxor(bor((rshift(v_b, 4) % 4294967296), v_d), v_Q) +v_a = tobit((v_y + v_w)) +v_d = I32[arshift(v_a, 2)] +v_w = I32[arshift((v_a + 4), 2)] +v_u = tobit((11104 + lshift(band(15, v_u), 3))) +v_a = lshift(I32[arshift(v_u, 2)], 16) +v_u = v_p +v_b = bxor(bor(lshift(band(15, v_u), 28), (rshift(v_l, 4) % 4294967296)), v_d) +v_u = bxor(bxor((rshift(v_u, 4) % 4294967296), v_a), v_w) +v_a = tobit((v_v - 1)) +if not (v_v ~= 0) then goto B160 end +end +do +end +::C160:: +end +end +::B160:: +end +I8[tobit((v_s + 15))] = tobit(v_g) +I8[tobit((v_s + 7))] = tobit(v_b) +v_a = v_c +I8[tobit((v_s + 14))] = tobit(bor(lshift(band(255, v_a), 24), (rshift(v_g, 8) % 4294967296))) +I8[tobit((v_s + 13))] = tobit(bor(lshift(band(65535, v_a), 16), (rshift(v_g, 16) % 4294967296))) +I8[tobit((v_s + 12))] = tobit(bor(lshift(band(16777215, v_a), 8), (rshift(v_g, 24) % 4294967296))) +I8[tobit((v_s + 11))] = tobit(v_a) +I8[tobit((v_s + 10))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_s + 9))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_s + 8))] = tobit((rshift(v_a, 24) % 4294967296)) +I8[tobit((v_s + 6))] = tobit(bor(lshift(band(255, v_u), 24), (rshift(v_b, 8) % 4294967296))) +I8[tobit((v_s + 5))] = tobit(bor(lshift(band(65535, v_u), 16), (rshift(v_b, 16) % 4294967296))) +I8[tobit((v_s + 4))] = tobit(bor(lshift(band(16777215, v_u), 8), (rshift(v_b, 24) % 4294967296))) +I8[tobit((v_s + 3))] = tobit(v_u) +I8[tobit((v_s + 2))] = tobit((rshift(v_u, 8) % 4294967296)) +I8[tobit((v_s + 1))] = tobit((rshift(v_u, 16) % 4294967296)) +I8[bor(0, v_s)] = tobit((rshift(v_u, 24) % 4294967296)) +v_t = tobit((v_t + v_h)) +v_e = tobit((v_e + v_h)) +v_r = tobit((v_r - v_h)) +if (not (v_r ~= 0)) then +goto B158 +end +end +end +::C158:: +end +end +::B158:: +end +end +end +v_a = 0 +end +end +end +end +::L157:: +end +B = tobit((v_o + 32)) +do return v_a end +end + +F.fG = function() +local v_A, v_r, v_e, v_t, v_o, v_a = 0, 0, 0, 0, 0, 0 +v_r = 0 +v_e = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_A = tobit((B - 384)) +B = v_A +F.fDA(tobit((v_A + 104))) +I8[tobit((v_A + 56))] = tobit(119) +I8[tobit((v_A + 57))] = tobit(116) +I8[tobit((v_A + 58))] = tobit(102) +I8[tobit((v_A + 59))] = tobit(103) +I8[tobit((v_A + 60))] = tobit(107) +I8[tobit((v_A + 61))] = tobit(57) +I8[tobit((v_A + 62))] = tobit(97) +I8[tobit((v_A + 63))] = tobit(105) +I8[tobit((v_A + 48))] = tobit(114) +I8[tobit((v_A + 49))] = tobit(49) +I8[tobit((v_A + 50))] = tobit(108) +I8[tobit((v_A + 51))] = tobit(120) +I8[tobit((v_A + 52))] = tobit(54) +I8[tobit((v_A + 53))] = tobit(104) +I8[tobit((v_A + 54))] = tobit(117) +I8[tobit((v_A + 55))] = tobit(55) +F.fz(tobit((v_A + 104)), tobit((v_A + 48)), 128) +v_r = bor(bor(bor(U8[13480], lshift(U8[13481], 8)), lshift(U8[13482], 16)), lshift(U8[13483], 24)) +I32[arshift((v_A + 8), 2)] = tobit(bor(bor(bor(U8[13476], lshift(U8[13477], 8)), lshift(U8[13478], 16)), lshift(U8[13479], 24))) +I32[arshift((v_A + 12), 2)] = tobit(v_r) +v_r = bor(bor(bor(U8[13488], lshift(U8[13489], 8)), lshift(U8[13490], 16)), lshift(U8[13491], 24)) +I32[arshift((v_A + 16), 2)] = tobit(bor(bor(bor(U8[13484], lshift(U8[13485], 8)), lshift(U8[13486], 16)), lshift(U8[13487], 24))) +I32[arshift((v_A + 20), 2)] = tobit(v_r) +v_r = bor(bor(bor(U8[13496], lshift(U8[13497], 8)), lshift(U8[13498], 16)), lshift(U8[13499], 24)) +I32[arshift((v_A + 24), 2)] = tobit(bor(bor(bor(U8[13492], lshift(U8[13493], 8)), lshift(U8[13494], 16)), lshift(U8[13495], 24))) +I32[arshift((v_A + 28), 2)] = tobit(v_r) +I8[tobit((v_A + 40))] = tobit(57) +I8[tobit((v_A + 41))] = tobit(107) +I8[tobit((v_A + 42))] = tobit(99) +I8[tobit((v_A + 43))] = tobit(56) +I8[tobit((v_A + 44))] = tobit(115) +I8[tobit((v_A + 45))] = tobit(108) +I8[tobit((v_A + 46))] = tobit(120) +I8[tobit((v_A + 47))] = tobit(117) +I8[tobit((v_A + 32))] = tobit(113) +I8[tobit((v_A + 33))] = tobit(51) +I8[tobit((v_A + 34))] = tobit(104) +I8[tobit((v_A + 35))] = tobit(48) +I8[tobit((v_A + 36))] = tobit(53) +I8[tobit((v_A + 37))] = tobit(102) +I8[tobit((v_A + 38))] = tobit(100) +I8[tobit((v_A + 39))] = tobit(118) +v_r = bor(bor(bor(U8[13472], lshift(U8[13473], 8)), lshift(U8[13474], 16)), lshift(U8[13475], 24)) +I32[arshift(v_A, 2)] = tobit(bor(bor(bor(U8[13468], lshift(U8[13469], 8)), lshift(U8[13470], 16)), lshift(U8[13471], 24))) +I32[arshift((v_A + 4), 2)] = tobit(v_r) +v_o = 32 +F.fR(tobit((v_A + 104)), 0, 32, tobit((v_A + 32)), v_A, tobit((v_A - (-64)))) +F.fhA(tobit((v_A + 104))) +do +do +do +v_e = U8[tobit((v_A + 95))] +local t221 = (((tobit(band((v_e - 1), 255)) % 4294967296) > 15) and 1 or 0) +if t221 == 0 then +v_r = 2 +v_o = 31 +t221 = (((tobit(v_e) % 4294967296) < 2) and 1 or 0) +end +if (not (t221 ~= 0)) then +do +v_o = 30 +while true do +do +if (bor(((bor(0, v_e) ~= U8[tobit((tobit((v_A - (-64))) + v_o))]) and 1 or 0), (((tobit(v_e) % 4294967296) <= (tobit(band(255, v_r)) % 4294967296)) and 1 or 0)) ~= 0) then +goto L161 +end +v_r = tobit((v_r + 1)) +v_o = tobit((v_o - 1)) +end +::C162:: +end +end +::B162:: +end +end +end +::L161:: +end +v_r = F.fm(tobit((v_o + 1))) +F.fKA(tobit((v_r + v_o)), 0, (((-1) ~= bor(0, v_o)) and 1 or 0)) +v_e = F.fTA(v_r, tobit((v_A - (-64))), v_o) +v_t = I32[7929] +v_a = F.fm(tobit((v_t + 17))) +v_o = I32[7928] +v_r = F.fKA(tobit((v_t + v_a)), 0, (((tobit(v_t) % 4294967296) < 4294967279) and 17 or 0)) +v_o = F.fTA(v_a, v_o, v_t) +v_t = bor(bor(bor(U8[tobit((v_e + 12))], lshift(U8[tobit((v_e + 13))], 8)), lshift(U8[tobit((v_e + 14))], 16)), lshift(U8[tobit((v_e + 15))], 24)) +v_a = bor(bor(bor(U8[tobit((v_e + 8))], lshift(U8[tobit((v_e + 9))], 8)), lshift(U8[tobit((v_e + 10))], 16)), lshift(U8[tobit((v_e + 11))], 24)) +I8[tobit((v_r + 8))] = tobit(v_a) +I8[tobit((v_r + 9))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_r + 10))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_r + 11))] = tobit((rshift(v_a, 24) % 4294967296)) +I8[tobit((v_r + 12))] = tobit(v_t) +I8[tobit((v_r + 13))] = tobit((rshift(v_t, 8) % 4294967296)) +I8[tobit((v_r + 14))] = tobit((rshift(v_t, 16) % 4294967296)) +I8[tobit((v_r + 15))] = tobit((rshift(v_t, 24) % 4294967296)) +v_t = bor(bor(bor(U8[tobit((v_e + 4))], lshift(U8[tobit((v_e + 5))], 8)), lshift(U8[tobit((v_e + 6))], 16)), lshift(U8[tobit((v_e + 7))], 24)) +v_a = bor(bor(bor(U8[bor(0, v_e)], lshift(U8[tobit((v_e + 1))], 8)), lshift(U8[tobit((v_e + 2))], 16)), lshift(U8[tobit((v_e + 3))], 24)) +I8[bor(0, v_r)] = tobit(v_a) +I8[tobit((v_r + 1))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_r + 2))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_r + 3))] = tobit((rshift(v_a, 24) % 4294967296)) +I8[tobit((v_r + 4))] = tobit(v_t) +I8[tobit((v_r + 5))] = tobit((rshift(v_t, 8) % 4294967296)) +I8[tobit((v_r + 6))] = tobit((rshift(v_t, 16) % 4294967296)) +I8[tobit((v_r + 7))] = tobit((rshift(v_t, 24) % 4294967296)) +F.fU(v_e) +B = tobit((v_A + 384)) +do return v_o end +end + +F.fN = function(v_A, v_r, v_e, v_n) +local v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_v, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_v = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +do +do +do +v_a = I32[arshift(v_A, 2)] +if (not ((tobit(v_a) % 4294967296) <= U32[arshift((v_A + 4), 2)])) then +do +if (v_e ~= 0) then +v_c = band(1, v_e) +if (1 ~= bor(0, v_e)) then +do +v_u = band((-2), v_e) +while true do +v_t = bxor(I32[arshift((12432 + lshift(bxor(U8[tobit((v_r + v_o))], band(255, v_t)), 2)), 2)], (rshift(v_t, 8) % 4294967296)) +v_t = bxor(I32[arshift((12432 + lshift(bxor(U8[tobit((bor(1, v_o) + v_r))], band(255, v_t)), 2)), 2)], (rshift(v_t, 8) % 4294967296)) +v_o = tobit((v_o + 2)) +v_u = tobit((v_u - 2)) +if not (v_u ~= 0) then goto B164 end +do +end +::C164:: +end +end +::B164:: +end +if (v_c ~= 0) then +v_t = bxor(I32[arshift((12432 + lshift(bxor(U8[tobit((v_r + v_o))], band(255, v_t)), 2)), 2)], (rshift(v_t, 8) % 4294967296)) +end +v_t = imul(v_t, 4097) +else +v_t = 0 +end +do +v_t = imul(bxor((rshift(v_t, 22) % 4294967296), v_t), 17) +v_t = imul(bxor((rshift(v_t, 9) % 4294967296), v_t), 1025) +v_t = imul(bxor((rshift(v_t, 2) % 4294967296), v_t), 129) +v_t = tobit(fmod((tobit(imul(bxor((rshift(v_t, 15) % 4294967296), (rshift(v_t, 3) % 4294967296)), (-1640531535))) % 4294967296), (tobit(v_a) % 4294967296))) +v_o = I32[arshift((v_A + 8), 2)] +v_A = tobit((lshift(v_t, 4) + v_o)) +v_w = I32[arshift((8 + v_A), 2)] +local t222 = bor(((not (v_w ~= 0)) and 1 or 0), ((I32[arshift((v_A + 4), 2)] ~= bor(0, v_e)) and 1 or 0)) +if t222 == 0 then +t222 = F.fOA(I32[arshift((v_o + lshift(v_t, 4)), 2)], v_r, v_e) +end +if (t222 ~= 0) then +do +local t223 = v_o +v_A = tobit(fmod((tobit((v_t + 1)) % 4294967296), (tobit(v_a) % 4294967296))) +v_p = I32[arshift((8 + tobit((t223 + lshift(v_A, 4)))), 2)] +local t224 = (not (v_p ~= 0)) +if not t224 then +v_u = tobit((v_o + lshift(v_A, 4))) +t224 = (I32[arshift((4 + v_u), 2)] ~= bor(0, v_e)) +end +if (t224 or (F.fOA(I32[arshift(v_u, 2)], v_r, v_e) ~= 0)) then +do +local t225 = v_o +v_u = tobit(fmod((tobit((v_A + 1)) % 4294967296), (tobit(v_a) % 4294967296))) +v_c = tobit((t225 + lshift(v_u, 4))) +v_d = I32[arshift((8 + v_c), 2)] +if ((bor(((not (v_d ~= 0)) and 1 or 0), ((I32[arshift((v_c + 4), 2)] ~= bor(0, v_e)) and 1 or 0)) ~= 0) or (F.fOA(I32[arshift((v_o + lshift(v_u, 4)), 2)], v_r, v_e) ~= 0)) then +do +local t226 = v_o +v_c = tobit(fmod((tobit((v_u + 1)) % 4294967296), (tobit(v_a) % 4294967296))) +v_h = I32[arshift((8 + tobit((t226 + lshift(v_c, 4)))), 2)] +local t227 = (not (v_h ~= 0)) +if not t227 then +v_s = tobit((v_o + lshift(v_c, 4))) +t227 = (I32[arshift((4 + v_s), 2)] ~= bor(0, v_e)) +end +if (t227 or (F.fOA(I32[arshift(v_s, 2)], v_r, v_e) ~= 0)) then +do +local t228 = v_o +v_s = tobit(fmod((tobit((v_c + 1)) % 4294967296), (tobit(v_a) % 4294967296))) +v_l = tobit((t228 + lshift(v_s, 4))) +v_k = I32[arshift((8 + v_l), 2)] +if ((bor(((not (v_k ~= 0)) and 1 or 0), ((I32[arshift((v_l + 4), 2)] ~= bor(0, v_e)) and 1 or 0)) ~= 0) or (F.fOA(I32[arshift((v_o + lshift(v_s, 4)), 2)], v_r, v_e) ~= 0)) then +do +local t229 = v_o +v_l = tobit(fmod((tobit((v_s + 1)) % 4294967296), (tobit(v_a) % 4294967296))) +v_C = I32[arshift((8 + tobit((t229 + lshift(v_l, 4)))), 2)] +local t230 = (not (v_C ~= 0)) +if not t230 then +v_v = tobit((v_o + lshift(v_l, 4))) +t230 = (I32[arshift((4 + v_v), 2)] ~= bor(0, v_e)) +end +if (t230 or (F.fOA(I32[arshift(v_v, 2)], v_r, v_e) ~= 0)) then +do +local t231 = v_o +v_v = tobit(fmod((tobit((v_l + 1)) % 4294967296), (tobit(v_a) % 4294967296))) +v_y = tobit((t231 + lshift(v_v, 4))) +v_I = I32[arshift((8 + v_y), 2)] +if ((bor(((not (v_I ~= 0)) and 1 or 0), ((I32[arshift((v_y + 4), 2)] ~= bor(0, v_e)) and 1 or 0)) ~= 0) or (F.fOA(I32[arshift((v_o + lshift(v_v, 4)), 2)], v_r, v_e) ~= 0)) then +do +local t232 = v_o +v_a = tobit(fmod((tobit((v_v + 1)) % 4294967296), (tobit(v_a) % 4294967296))) +v_y = I32[arshift((8 + tobit((t232 + lshift(v_a, 4)))), 2)] +local t233 = (not (v_y ~= 0)) +if not t233 then +v_o = tobit((v_o + lshift(v_a, 4))) +t233 = (I32[arshift((4 + v_o), 2)] ~= bor(0, v_e)) +end +if (t233 or (F.fOA(I32[arshift(v_o, 2)], v_r, v_e) ~= 0)) then +do +v_o = 0 +if (tobit((v_y + tobit((tobit((tobit((tobit((tobit((tobit((v_p + v_w)) + v_d)) + v_h)) + v_k)) + v_C)) + v_I)))) >= 8) then +goto L163 +end +do +v_e = bor(((not (v_w ~= 0)) and 1 or 0), ((not (v_p ~= 0)) and 1 or 0)) +v_p = bor(v_e, ((not (v_d ~= 0)) and 1 or 0)) +v_d = bor(v_p, ((not (v_h ~= 0)) and 1 or 0)) +v_h = bor(v_d, ((not (v_k ~= 0)) and 1 or 0)) +v_k = bor(v_h, ((not (v_C ~= 0)) and 1 or 0)) +v_r = bor(v_k, ((not (v_I ~= 0)) and 1 or 0)) +v_t = ((v_r ~= 0) and ((v_k ~= 0) and ((v_h ~= 0) and ((v_d ~= 0) and ((v_p ~= 0) and ((v_e ~= 0) and ((v_w ~= 0) and v_A or v_t) or v_u) or v_c) or v_s) or v_l) or v_v) or v_a) +local t234 = ((not (v_r ~= 0)) and 1 or 0) +if t234 ~= 0 then +t234 = v_y +end +if (t234 ~= 0) then +goto L163 +end +end +end +else +v_t = v_a +end +end +else +v_t = v_v +end +end +else +v_t = v_l +end +end +else +v_t = v_s +end +end +else +v_t = v_c +end +end +else +v_t = v_u +end +end +else +v_t = v_A +end +end +end +end +I32[arshift(v_n, 2)] = tobit(v_t) +v_o = 1 +end +end +end +end +::L163:: +end +do return v_o end +end + +F.fJ = function(v_A, v_r) +local v_e, v_n, v_t, v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v, v_g, v_p, v_d = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_e = 0 +v_n = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +v_g = 0 +v_p = 0 +v_d = 0 +do +do +do +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +v_n = bor(bor(bor(lshift(v_e, 24), band(lshift(v_e, 8), 16711680)), band((rshift(v_e, 8) % 4294967296), 65280)), (rshift(v_e, 24) % 4294967296)) +v_t = U8[bor(0, v_r)] +v_e = bor(bor(bor(U8[tobit((v_r + 3))], lshift(U8[tobit((v_r + 1))], 16)), lshift(v_t, 24)), lshift(U8[tobit((v_r + 2))], 8)) +local t235 = (-269488145) +v_a = band(252645135, bxor((rshift(v_n, 4) % 4294967296), v_e)) +v_r = bor(band(t235, bxor(lshift(v_a, 4), v_n)), band(269488144, v_e)) +v_o = band(268435455, bor(bor(bor(bor(bor(bor(bor(lshift(I32[arshift((1088 + band((rshift(v_r, 7) % 4294967296), 60)), 2)], 2), lshift(I32[arshift((1088 + band(lshift(v_r, 1), 60)), 2)], 3)), lshift(I32[arshift((1088 + band((rshift(v_r, 15) % 4294967296), 60)), 2)], 1)), I32[arshift((1088 + band((rshift(v_r, 23) % 4294967296), 60)), 2)]), lshift(I32[arshift((1088 + band((rshift(v_r, 2) % 4294967296), 60)), 2)], 7)), lshift(I32[arshift((1088 + band((rshift(v_r, 10) % 4294967296), 60)), 2)], 6)), lshift(I32[arshift((1088 + band((rshift(v_r, 18) % 4294967296), 60)), 2)], 5)), lshift(I32[arshift((1088 + band((rshift(v_r, 26) % 4294967296), 60)), 2)], 4))) +v_r = bxor(v_e, v_a) +v_n = band(268435455, bor(bor(bor(bor(bor(bor(bor(lshift(I32[arshift((1024 + band((rshift(v_r, 6) % 4294967296), 60)), 2)], 2), lshift(I32[arshift((1024 + lshift(band(15, v_r), 2)), 2)], 3)), lshift(I32[arshift((1024 + band((rshift(v_r, 14) % 4294967296), 60)), 2)], 1)), I32[arshift((1024 + band((rshift(v_r, 22) % 4294967296), 60)), 2)]), lshift(I32[arshift((1024 + band((rshift(v_r, 3) % 4294967296), 60)), 2)], 7)), lshift(I32[arshift((1024 + band((rshift(v_r, 11) % 4294967296), 60)), 2)], 6)), lshift(I32[arshift((1024 + band((rshift(v_r, 19) % 4294967296), 60)), 2)], 5)), lshift(I32[arshift((1024 + band((rshift(v_t, 3) % 4294967296), 28)), 2)], 4))) +end +while true do +if (bor(((not (band(lshift(1, v_c), 33027) ~= 0)) and 1 or 0), (((tobit(v_c) % 4294967296) > 15) and 1 or 0)) ~= 0) then +v_a = tobit((rshift(v_n, 26) % 4294967296)) +v_s = tobit((rshift(v_o, 26) % 4294967296)) +v_r = lshift(v_o, 2) +v_u = band(268435452, v_r) +v_e = lshift(v_n, 2) +v_t = band(268435452, v_e) +else +v_a = tobit((rshift(v_n, 27) % 4294967296)) +v_s = tobit((rshift(v_o, 27) % 4294967296)) +v_r = lshift(v_o, 1) +v_u = band(268435454, v_r) +v_e = lshift(v_n, 1) +v_t = band(268435454, v_e) +end +v_n = bor(v_t, v_a) +v_l = lshift(v_n, 10) +v_o = bor(v_u, v_s) +v_b = tobit((rshift(v_o, 3) % 4294967296)) +v_u = tobit((rshift(v_u, 14) % 4294967296)) +I32[arshift(v_A, 2)] = tobit(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(band((rshift(v_r, 24) % 4294967296), 1), band((rshift(v_r, 26) % 4294967296), 2)), band((rshift(v_r, 18) % 4294967296), 4)), band(8, v_b)), band((rshift(v_r, 10) % 4294967296), 16)), band((rshift(v_r, 5) % 4294967296), 32)), band(512, v_u)), band((rshift(v_r, 1) % 4294967296), 1024)), band(lshift(v_o, 6), 2048)), band((rshift(v_r, 4) % 4294967296), 4096)), band((rshift(v_r, 13) % 4294967296), 8192)), band(256, v_r)), band((rshift(v_e, 10) % 4294967296), 65536)), band(lshift(v_t, 2), 131072)), band(262144, v_l)), band((rshift(v_e, 1) % 4294967296), 1048576)), band(lshift(v_e, 9), 2097152)), band(lshift(v_e, 6), 16777216)), band(lshift(v_n, 18), 34078720)), band(lshift(v_e, 14), 134217728)), band(lshift(v_t, 4), 603979776)), band(lshift(v_a, 28), 268435456))) +v_a = band((rshift(v_r, 21) % 4294967296), 2) +v_v = band((rshift(v_r, 7) % 4294967296), 32) +v_g = band((rshift(v_r, 9) % 4294967296), 1024) +v_p = band((rshift(v_r, 2) % 4294967296), 8192) +v_d = band(512, v_r) +v_r = lshift(v_n, 15) +I32[arshift((v_A + 4), 2)] = tobit(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(bor(v_a, band(lshift(v_s, 2), 4)), band(17, v_b)), v_v), band(lshift(v_o, 7), 256)), v_g), band(2056, v_u)), band(lshift(v_o, 8), 4096)), v_p), v_d), band((rshift(v_e, 4) % 4294967296), 65536)), band((rshift(v_e, 6) % 4294967296), 262144)), band(lshift(v_t, 3), 524288)), band(lshift(v_e, 11), 1048576)), band(lshift(v_n, 16), 2097152)), band(lshift(v_t, 1), 16777216)), band((rshift(v_e, 2) % 4294967296), 33554432)), band(lshift(v_n, 22), 67108864)), band(134217728, v_l)), band(536870912, v_r)), band(lshift(v_e, 17), 268435456)), band(131072, v_r))) +v_A = tobit((v_A + 8)) +v_c = tobit((v_c + 1)) +if not (16 ~= bor(0, v_c)) then goto B165 end +do +end +::C165:: +end +end +::B165:: +end +end + +F.fW = function(v_A) + +if (v_A ~= 0) then +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +I8[tobit((v_A + 14))] = tobit(0) +I8[tobit((v_A + 15))] = tobit(0) +I8[tobit((v_A + 16))] = tobit(0) +I8[tobit((v_A + 17))] = tobit(0) +I8[tobit((v_A + 18))] = tobit(0) +I8[tobit((v_A + 19))] = tobit(0) +I8[tobit((v_A + 20))] = tobit(0) +I8[tobit((v_A + 21))] = tobit(0) +I8[tobit((v_A + 22))] = tobit(0) +I8[tobit((v_A + 23))] = tobit(0) +I8[tobit((v_A + 24))] = tobit(0) +I8[tobit((v_A + 25))] = tobit(0) +I8[tobit((v_A + 26))] = tobit(0) +I8[tobit((v_A + 27))] = tobit(0) +I8[tobit((v_A + 28))] = tobit(0) +I8[tobit((v_A + 29))] = tobit(0) +I8[tobit((v_A + 30))] = tobit(0) +I8[tobit((v_A + 31))] = tobit(0) +I8[tobit((v_A + 32))] = tobit(0) +I8[tobit((v_A + 33))] = tobit(0) +I8[tobit((v_A + 34))] = tobit(0) +I8[tobit((v_A + 35))] = tobit(0) +I8[tobit((v_A + 36))] = tobit(0) +I8[tobit((v_A + 37))] = tobit(0) +I8[tobit((v_A + 38))] = tobit(0) +I8[tobit((v_A + 39))] = tobit(0) +I8[tobit((v_A + 40))] = tobit(0) +I8[tobit((v_A + 41))] = tobit(0) +I8[tobit((v_A + 42))] = tobit(0) +I8[tobit((v_A + 43))] = tobit(0) +I8[tobit((v_A + 44))] = tobit(0) +I8[tobit((v_A + 45))] = tobit(0) +I8[tobit((v_A + 46))] = tobit(0) +I8[tobit((v_A + 47))] = tobit(0) +I8[tobit((v_A + 48))] = tobit(0) +I8[tobit((v_A + 49))] = tobit(0) +I8[tobit((v_A + 50))] = tobit(0) +I8[tobit((v_A + 51))] = tobit(0) +I8[tobit((v_A + 52))] = tobit(0) +I8[tobit((v_A + 53))] = tobit(0) +I8[tobit((v_A + 54))] = tobit(0) +I8[tobit((v_A + 55))] = tobit(0) +I8[tobit((v_A + 56))] = tobit(0) +I8[tobit((v_A + 57))] = tobit(0) +I8[tobit((v_A + 58))] = tobit(0) +I8[tobit((v_A + 59))] = tobit(0) +I8[tobit((v_A + 60))] = tobit(0) +I8[tobit((v_A + 61))] = tobit(0) +I8[tobit((v_A + 62))] = tobit(0) +I8[tobit((v_A + 63))] = tobit(0) +I8[tobit((v_A + 64))] = tobit(0) +I8[tobit((v_A + 65))] = tobit(0) +I8[tobit((v_A + 66))] = tobit(0) +I8[tobit((v_A + 67))] = tobit(0) +I8[tobit((v_A + 68))] = tobit(0) +I8[tobit((v_A + 69))] = tobit(0) +I8[tobit((v_A + 70))] = tobit(0) +I8[tobit((v_A + 71))] = tobit(0) +I8[tobit((v_A + 72))] = tobit(0) +I8[tobit((v_A + 73))] = tobit(0) +I8[tobit((v_A + 74))] = tobit(0) +I8[tobit((v_A + 75))] = tobit(0) +I8[tobit((v_A + 76))] = tobit(0) +I8[tobit((v_A + 77))] = tobit(0) +I8[tobit((v_A + 78))] = tobit(0) +I8[tobit((v_A + 79))] = tobit(0) +I8[tobit((v_A + 80))] = tobit(0) +I8[tobit((v_A + 81))] = tobit(0) +I8[tobit((v_A + 82))] = tobit(0) +I8[tobit((v_A + 83))] = tobit(0) +I8[tobit((v_A + 84))] = tobit(0) +I8[tobit((v_A + 85))] = tobit(0) +I8[tobit((v_A + 86))] = tobit(0) +I8[tobit((v_A + 87))] = tobit(0) +I8[tobit((v_A + 88))] = tobit(0) +I8[tobit((v_A + 89))] = tobit(0) +I8[tobit((v_A + 90))] = tobit(0) +I8[tobit((v_A + 91))] = tobit(0) +I8[tobit((v_A + 92))] = tobit(0) +I8[tobit((v_A + 93))] = tobit(0) +I8[tobit((v_A + 94))] = tobit(0) +I8[tobit((v_A + 95))] = tobit(0) +I8[tobit((v_A + 96))] = tobit(0) +I8[tobit((v_A + 97))] = tobit(0) +I8[tobit((v_A + 98))] = tobit(0) +I8[tobit((v_A + 99))] = tobit(0) +I8[tobit((v_A + 100))] = tobit(0) +I8[tobit((v_A + 101))] = tobit(0) +I8[tobit((v_A + 102))] = tobit(0) +I8[tobit((v_A + 103))] = tobit(0) +I8[tobit((v_A + 104))] = tobit(0) +I8[tobit((v_A + 105))] = tobit(0) +I8[tobit((v_A + 106))] = tobit(0) +I8[tobit((v_A + 107))] = tobit(0) +I8[tobit((v_A + 108))] = tobit(0) +I8[tobit((v_A + 109))] = tobit(0) +I8[tobit((v_A + 110))] = tobit(0) +I8[tobit((v_A + 111))] = tobit(0) +I8[tobit((v_A + 112))] = tobit(0) +I8[tobit((v_A + 113))] = tobit(0) +I8[tobit((v_A + 114))] = tobit(0) +I8[tobit((v_A + 115))] = tobit(0) +I8[tobit((v_A + 116))] = tobit(0) +I8[tobit((v_A + 117))] = tobit(0) +I8[tobit((v_A + 118))] = tobit(0) +I8[tobit((v_A + 119))] = tobit(0) +I8[tobit((v_A + 120))] = tobit(0) +I8[tobit((v_A + 121))] = tobit(0) +I8[tobit((v_A + 122))] = tobit(0) +I8[tobit((v_A + 123))] = tobit(0) +I8[tobit((v_A + 124))] = tobit(0) +I8[tobit((v_A + 125))] = tobit(0) +I8[tobit((v_A + 126))] = tobit(0) +I8[tobit((v_A + 127))] = tobit(0) +end +end + +F.fq = function(v_A, v_r, v_e, v_n) +local v_t, v_o, v_f, v_a, v_u = 0, 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_f = 0 +v_a = 0 +v_u = 0 +v_a = 16 +v_t = (-24832) +do +do +do +local t236 = (v_A ~= 0) +if t236 then +v_o = I32[arshift(v_A, 2)] +t236 = (not (bor(((not (v_o ~= 0)) and 1 or 0), ((not (v_n ~= 0)) and 1 or 0)) ~= 0)) +end +if t236 then +do +I32[arshift(v_n, 2)] = tobit(0) +v_f = I32[arshift((v_o + 24), 2)] +if (not (v_f ~= 0)) then +do return (-25472) end +end +do +do +v_u = I32[arshift((v_o + 4), 2)] +do +local sw169 = tobit((v_u - 1)) +if sw169 == 5 then goto K169_0 +elseif sw169 == 0 then goto K169_1 +else goto K169_2 end +::K169_0:: +do +goto L168 +end +::K169_1:: +do +goto S169 +end +::K169_2:: +do +goto L167 +end +end +::S169:: +v_t = (-25216) +if (16 ~= bor(0, v_f)) then +goto L166 +end +I32[arshift(v_n, 2)] = tobit(16) +do return bor(0, UA[I32[arshift((I32[arshift((v_o + 28), 2)] + 4), 2)]](I32[arshift((v_A + 60), 2)], I32[arshift((v_A + 8), 2)], v_r, v_e)) end +end +::L168:: +I32[arshift(v_n, 2)] = tobit(16) +do return F.fY(I32[arshift((v_A + 60), 2)], 16, v_r, v_e) end +end +::L167:: +do +local t237 = bor(I32[arshift((v_A + 36), 2)], fmod(16, (tobit(v_f) % 4294967296))) +if t237 ~= 0 then +t237 = ((bor(0, v_r) == bor(0, v_e)) and 1 or 0) +end +if (not (t237 ~= 0)) then +do +v_t = (-24704) +do +do +do +do +do +do +do +do +do +do +do +local sw173 = tobit((v_u - 2)) +if sw173 == 0 then goto K173_0 +elseif sw173 == 1 then goto K173_1 +elseif sw173 == 3 then goto K173_2 +elseif sw173 == 5 then goto K173_3 +else goto K173_4 end +::K173_0:: +do +do +do +do +do +do +do +do +do +local sw176 = I32[arshift((v_A + 8), 2)] +if sw176 == 0 then goto K176_0 +elseif sw176 == 1 then goto K176_1 +else goto K176_2 end +::K176_0:: +do +do +local t238 = v_f +v_t = I32[arshift((v_A + 36), 2)] +v_o = tobit((t238 - v_t)) +if (not (I32[arshift((v_A + 12), 2)] ~= 0)) then +goto L175 +end +end +if ((tobit(v_o) % 4294967296) >= 16) then +goto L171 +end +goto L174 +end +::K176_1:: +do +goto S176 +end +::K176_2:: +do +goto L174 +end +end +::S176:: +end +do +local t239 = v_f +v_t = I32[arshift((v_A + 36), 2)] +if ((tobit((t239 - v_t)) % 4294967296) <= 16) then +goto L174 +end +end +goto L171 +end +end +::L175:: +end +if ((tobit(v_o) % 4294967296) > 16) then +goto L171 +end +end +end +::L174:: +end +do +v_t = I32[arshift((v_A + 36), 2)] +if (v_t ~= 0) then +do +do +v_a = tobit((v_A + 20)) +local t240 = tobit((v_a + v_t)) +local t241 = v_r +v_o = tobit((v_f - v_t)) +F.fTA(t240, t241, v_o) +v_t = bor(0, UA[I32[arshift((I32[arshift((I32[arshift(v_A, 2)] + 28), 2)] + 8), 2)]](I32[arshift((v_A + 60), 2)], I32[arshift((v_A + 8), 2)], v_f, tobit((v_A + 40)), v_a, v_e)) +if (v_t ~= 0) then +goto L166 +end +end +I32[arshift(v_n, 2)] = tobit((v_f + I32[arshift(v_n, 2)])) +I32[arshift((v_A + 36), 2)] = tobit(0) +v_a = tobit((16 - v_o)) +v_e = tobit((v_e + v_f)) +v_r = tobit((v_r + v_o)) +end +end +end +v_t = 0 +if (not (v_a ~= 0)) then +goto L166 +end +do +v_o = tobit(fmod((tobit(v_a) % 4294967296), (tobit(v_f) % 4294967296))) +if not (v_o ~= 0) then +v_o = 0 +if not (I32[arshift((v_A + 8), 2)] ~= 0) then +v_o = ((I32[arshift((v_A + 12), 2)] ~= 0) and v_f or 0) +end +end +local t242 = tobit((v_A + 20)) +v_f = tobit((v_a - v_o)) +F.fTA(t242, tobit((v_f + v_r)), v_o) +I32[arshift((v_A + 36), 2)] = tobit((I32[arshift((v_A + 36), 2)] + v_o)) +if (not (v_f ~= 0)) then +goto L166 +end +end +v_t = bor(0, UA[I32[arshift((I32[arshift((I32[arshift(v_A, 2)] + 28), 2)] + 8), 2)]](I32[arshift((v_A + 60), 2)], I32[arshift((v_A + 8), 2)], v_f, tobit((v_A + 40)), v_r, v_e)) +if (v_t ~= 0) then +goto L166 +end +I32[arshift(v_n, 2)] = tobit((v_f + I32[arshift(v_n, 2)])) +goto L170 +end +::K173_1:: +do +v_t = bor(0, UA[I32[arshift((I32[arshift((v_o + 28), 2)] + 12), 2)]](I32[arshift((v_A + 60), 2)], I32[arshift((v_A + 8), 2)], 16, tobit((v_A + 36)), tobit((v_A + 40)), v_r, v_e)) +if (not (v_t ~= 0)) then +goto L172 +end +goto L166 +end +::K173_2:: +do +v_t = bor(0, UA[I32[arshift((I32[arshift((v_o + 28), 2)] + 16), 2)]](I32[arshift((v_A + 60), 2)], 16, tobit((v_A + 36)), tobit((v_A + 40)), tobit((v_A + 20)), v_r, v_e)) +if (not (v_t ~= 0)) then +goto L172 +end +goto L166 +end +::K173_3:: +do +goto S173 +end +::K173_4:: +do +goto L166 +end +end +::S173:: +end +v_t = bor(0, UA[I32[arshift((I32[arshift((v_o + 28), 2)] + 20), 2)]](I32[arshift((v_A + 60), 2)], 16, v_r, v_e)) +if (v_t ~= 0) then +goto L166 +end +end +end +::L172:: +end +I32[arshift(v_n, 2)] = tobit(16) +goto L170 +end +end +::L171:: +end +F.fTA(tobit((20 + tobit((v_A + v_t)))), v_r, 16) +I32[arshift((v_A + 36), 2)] = tobit((I32[arshift((v_A + 36), 2)] + 16)) +end +end +::L170:: +end +v_t = 0 +end +end +end +end +end +end +end +::L166:: +end +do return v_t end +end + +F.fV = function(v_A) +local v_r, v_e, v_t, v_o, v_a, v_u = 0, 0, 0, 0, 0, 0 +v_r = 0 +v_e = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +do +local t243 = (v_A ~= 0) +if not t243 then +v_A = I32[7932] +t243 = (v_A ~= 0) +end +if t243 then +do +v_t = 10653 +v_o = tobit((B - 32)) +I32[arshift((24 + v_o), 2)] = tobit(0) +I32[arshift((v_o + 28), 2)] = tobit(0) +I32[arshift((v_o + 16), 2)] = tobit(0) +I32[arshift((v_o + 20), 2)] = tobit(0) +I32[arshift((v_o + 8), 2)] = tobit(0) +I32[arshift((v_o + 12), 2)] = tobit(0) +I32[arshift(v_o, 2)] = tobit(0) +I32[arshift((v_o + 4), 2)] = tobit(0) +v_e = 0 +v_r = U8[10653] +if (v_r ~= 0) then +v_u = v_A +v_e = U8[10654] +if (v_e ~= 0) then +do +v_a = tobit((v_o + band((rshift(v_r, 3) % 4294967296), 28))) +I32[arshift(v_a, 2)] = tobit(bor(I32[arshift(v_a, 2)], lshift(1, v_r))) +while true do +v_r = band(31, v_e) +v_a = tobit((rshift(v_e, 3) % 4294967296)) +v_e = U8[tobit((v_t + 2))] +v_a = tobit((v_o + band(28, v_a))) +I32[arshift(v_a, 2)] = tobit(bor(I32[arshift(v_a, 2)], lshift(1, v_r))) +v_t = tobit((v_t + 1)) +if not (v_e ~= 0) then goto B177 end +do +end +::C177:: +end +end +::B177:: +v_r = v_A +do +v_e = U8[bor(0, v_u)] +if (v_e ~= 0) then +do +v_t = v_u +while true do +do +if (not (band((rshift(I32[arshift((v_o + band((rshift(v_e, 3) % 4294967296), 28)), 2)], v_e) % 4294967296), 1) ~= 0)) then +v_r = v_t +goto L178 +end +v_e = U8[tobit((v_t + 1))] +v_r = tobit((v_t + 1)) +v_t = v_r +if (not (v_e ~= 0)) then +goto B179 +end +end +::C179:: +end +end +::B179:: +end +end +::L178:: +v_e = tobit((v_r - v_u)) +else +do +v_e = v_A +while true do +v_t = v_e +v_e = tobit((v_e + 1)) +if not (bor(0, v_r) == U8[bor(0, v_t)]) then goto B180 end +do +end +::C180:: +end +end +::B180:: +v_e = tobit((v_t - v_u)) +end +end +v_e = tobit((v_e + v_A)) +if (not (U8[bor(0, v_e)] ~= 0)) then +I32[7932] = tobit(0) +do return 0 end +end +v_u = v_e +v_A = 10653 +v_o = tobit((B - 32)) +B = v_o +v_a = I8[10653] +do +do +do +if ((U8[10654] ~= 0) and (v_a ~= 0)) then +F.fKA(v_o, 0, 32) +v_r = U8[10653] +if (v_r ~= 0) then +do +while true do +v_t = tobit((v_o + band((rshift(v_r, 3) % 4294967296), 28))) +I32[arshift(v_t, 2)] = tobit(bor(I32[arshift(v_t, 2)], lshift(1, v_r))) +v_r = U8[tobit((v_A + 1))] +v_A = tobit((v_A + 1)) +if not (v_r ~= 0) then goto B182 end +do +end +::C182:: +end +end +::B182:: +end +v_t = v_e +v_r = U8[bor(0, v_e)] +if (v_r ~= 0) then +do +v_A = v_u +while true do +do +if (band((rshift(I32[arshift((v_o + band((rshift(v_r, 3) % 4294967296), 28)), 2)], v_r) % 4294967296), 1) ~= 0) then +v_t = v_A +goto L181 +end +v_r = U8[tobit((v_A + 1))] +v_t = tobit((v_A + 1)) +v_A = v_t +if (not (v_r ~= 0)) then +goto B183 +end +end +::C183:: +end +end +::B183:: +end +else +do +v_A = v_e +do +do +do +v_t = band(255, v_a) +if (v_t ~= 0) then +do +if (band(3, v_A) ~= 0) then +do +while true do +do +v_r = U8[bor(0, v_A)] +if (bor(((not (v_r ~= 0)) and 1 or 0), ((bor(0, v_r) == band(255, v_a)) and 1 or 0)) ~= 0) then +goto L184 +end +v_A = tobit((v_A + 1)) +if (not (band(3, v_A) ~= 0)) then +goto B185 +end +end +::C185:: +end +end +::B185:: +end +do +do +do +local t244 = (-1) +v_r = I32[arshift(v_A, 2)] +if (not (band(band(bxor(t244, v_r), (v_r - 16843009)), (-2139062144)) ~= 0)) then +do +do +v_t = imul(v_t, 16843009) +while true do +do +do +do +local t245 = (-1) +v_r = bxor(v_r, v_t) +if (band(band(bxor(t245, v_r), (v_r - 16843009)), (-2139062144)) ~= 0) then +goto L186 +end +end +v_r = I32[arshift((v_A + 4), 2)] +v_A = tobit((v_A + 4)) +if (band(band((v_r - 16843009), bxor((-1), v_r)), (-2139062144)) ~= 0) then +goto B187 +end +end +end +::C187:: +end +end +::B187:: +end +end +end +end +::L186:: +end +do +do +while true do +do +v_t = v_A +v_r = U8[bor(0, v_A)] +local t246 = v_r +if t246 ~= 0 then +v_A = tobit((v_t + 1)) +t246 = ((bor(0, v_r) ~= band(255, v_a)) and 1 or 0) +end +if not (t246 ~= 0) then goto B188 end +end +do +end +::C188:: +end +end +::B188:: +end +v_A = v_t +end +else +v_A = tobit((F.fpA(v_A) + v_A)) +end +end +end +::L184:: +end +v_t = v_A +end +end +end +end +::L181:: +end +B = tobit((v_o + 32)) +v_A = tobit((tobit((v_t - v_u)) + v_e)) +if (U8[bor(0, v_A)] ~= 0) then +I32[7932] = tobit((v_A + 1)) +I8[bor(0, v_A)] = tobit(0) +do return v_e end +end +I32[7932] = tobit(0) +end +end +end +do return v_e end +end + +F.fz = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u = 0, 0, 0, 0 +v_a = 0 +v_u = 0 +v_t = tobit((B - 288)) +B = v_t +F.fKA(tobit((v_t + 8)), 0, 280) +I32[arshift((v_A + 4), 2)] = tobit((v_A + 8)) +v_o = F.fx(tobit((v_t + 8)), v_r, v_e) +if (not (v_o ~= 0)) then +v_e = I32[arshift((v_t + 8), 2)] +I32[arshift(v_A, 2)] = tobit(v_e) +v_u = I32[arshift((v_t + 12), 2)] +v_a = tobit((v_u + lshift(v_e, 4))) +I32[arshift((v_A + 8), 2)] = tobit(I32[arshift(v_a, 2)]) +I32[arshift((v_A + 12), 2)] = tobit(I32[arshift((v_a + 4), 2)]) +I32[arshift((v_A + 16), 2)] = tobit(I32[arshift((v_a + 8), 2)]) +I32[arshift((v_A + 20), 2)] = tobit(I32[arshift((v_a + 12), 2)]) +v_A = tobit((v_A + 24)) +v_r = tobit((v_a - 16)) +if (bor(0, v_e) < 2) then +v_e = tobit((v_a + 16)) +else +do +while true do +v_a = I32[arshift(v_r, 2)] +I32[arshift(v_A, 2)] = tobit(bxor(bxor(bxor(I32[arshift((24224 + lshift(U8[tobit((22944 + band((rshift(v_a, 8) % 4294967296), 255)))], 2)), 2)], I32[arshift((23200 + lshift(U8[tobit((22944 + band(255, v_a)))], 2)), 2)]), I32[arshift((25248 + lshift(U8[tobit((22944 + band((rshift(v_a, 16) % 4294967296), 255)))], 2)), 2)]), I32[arshift((26272 + lshift(U8[tobit((22944 + tobit((rshift(v_a, 24) % 4294967296))))], 2)), 2)])) +v_a = I32[arshift((v_r + 4), 2)] +I32[arshift((v_A + 4), 2)] = tobit(bxor(bxor(bxor(I32[arshift((24224 + lshift(U8[tobit((22944 + band((rshift(v_a, 8) % 4294967296), 255)))], 2)), 2)], I32[arshift((23200 + lshift(U8[tobit((22944 + band(255, v_a)))], 2)), 2)]), I32[arshift((25248 + lshift(U8[tobit((22944 + band((rshift(v_a, 16) % 4294967296), 255)))], 2)), 2)]), I32[arshift((26272 + lshift(U8[tobit((22944 + tobit((rshift(v_a, 24) % 4294967296))))], 2)), 2)])) +v_a = I32[arshift((v_r + 8), 2)] +I32[arshift((v_A + 8), 2)] = tobit(bxor(bxor(bxor(I32[arshift((24224 + lshift(U8[tobit((22944 + band((rshift(v_a, 8) % 4294967296), 255)))], 2)), 2)], I32[arshift((23200 + lshift(U8[tobit((22944 + band(255, v_a)))], 2)), 2)]), I32[arshift((25248 + lshift(U8[tobit((22944 + band((rshift(v_a, 16) % 4294967296), 255)))], 2)), 2)]), I32[arshift((26272 + lshift(U8[tobit((22944 + tobit((rshift(v_a, 24) % 4294967296))))], 2)), 2)])) +v_a = I32[arshift((v_r + 12), 2)] +I32[arshift((v_A + 12), 2)] = tobit(bxor(bxor(bxor(I32[arshift((24224 + lshift(U8[tobit((22944 + band((rshift(v_a, 8) % 4294967296), 255)))], 2)), 2)], I32[arshift((23200 + lshift(U8[tobit((22944 + band(255, v_a)))], 2)), 2)]), I32[arshift((25248 + lshift(U8[tobit((22944 + band((rshift(v_a, 16) % 4294967296), 255)))], 2)), 2)]), I32[arshift((26272 + lshift(U8[tobit((22944 + tobit((rshift(v_a, 24) % 4294967296))))], 2)), 2)])) +v_r = tobit((v_r - 16)) +v_A = tobit((v_A + 16)) +v_a = ((bor(0, v_e) > 2) and 1 or 0) +v_e = tobit((v_e - 1)) +if not (v_a ~= 0) then goto B189 end +do +end +::C189:: +end +end +::B189:: +v_r = v_u +v_e = tobit((v_r + 32)) +end +I32[arshift(v_A, 2)] = tobit(I32[arshift(v_r, 2)]) +I32[arshift((v_A + 4), 2)] = tobit(I32[arshift((v_e - 28), 2)]) +I32[arshift((v_A + 8), 2)] = tobit(I32[arshift((v_e - 24), 2)]) +I32[arshift((v_A + 12), 2)] = tobit(I32[arshift((v_e - 20), 2)]) +end +do +v_r = 266 +v_A = tobit((v_t + 8)) +while true do +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +if not (v_r ~= 0) then goto B190 end +do +v_A = tobit((v_A + 14)) +v_r = tobit((v_r - 14)) +end +::C190:: +end +end +::B190:: +B = tobit((v_t + 288)) +do return v_o end +end + +F.fZ = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c = 0, 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +do +do +do +v_t = bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24)) +v_t = bor(bor(bor(lshift(v_t, 24), band(lshift(v_t, 8), 16711680)), band((rshift(v_t, 8) % 4294967296), 65280)), (rshift(v_t, 24) % 4294967296)) +local t248 = v_t +local t247 = (rshift(v_t, 4) % 4294967296) +v_r = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +v_r = bor(bor(bor(lshift(v_r, 24), band(lshift(v_r, 8), 16711680)), band((rshift(v_r, 8) % 4294967296), 65280)), (rshift(v_r, 24) % 4294967296)) +v_o = band(252645135, bxor(t247, v_r)) +v_t = bxor(t248, lshift(v_o, 4)) +v_o = bxor(v_o, v_r) +local t249 = v_o +v_r = bxor((rshift(v_t, 16) % 4294967296), band(65535, v_o)) +v_o = bxor(t249, v_r) +local t251 = v_o +local t250 = (rshift(v_o, 2) % 4294967296) +v_r = bxor(v_t, lshift(v_r, 16)) +v_t = band(858993459, bxor(t250, v_r)) +v_o = bxor(t251, lshift(v_t, 2)) +local t252 = (rshift(v_o, 8) % 4294967296) +v_r = bxor(v_r, v_t) +v_t = band(16711935, bxor(t252, v_r)) +v_o = F.fPA(bxor(lshift(v_t, 8), v_o), 1) +v_a = v_o +local t254 = v_a +local t253 = (-1431655766) +v_r = bxor(v_r, v_t) +v_o = band(t253, bxor(v_r, v_o)) +v_t = bxor(t254, v_o) +v_r = F.fPA(bxor(v_r, v_o), 1) +v_o = 1 +end +while true do +v_a = v_t +v_u = bxor(I32[arshift((v_A + 4), 2)], F.fPA(v_t, 28)) +v_c = v_r +v_r = bxor(I32[arshift(v_A, 2)], v_t) +v_r = bxor(bxor(bxor(bxor(bxor(bxor(bxor(bxor(I32[arshift((2176 + lshift(band(63, v_u), 2)), 2)], v_c), I32[arshift((1152 + lshift(band(63, v_r), 2)), 2)]), I32[arshift((1408 + band((rshift(v_r, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_r, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_r, 22) % 4294967296), 252)), 2)]), I32[arshift((2432 + band((rshift(v_u, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_u, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_u, 22) % 4294967296), 252)), 2)]) +v_t = bxor(v_r, I32[arshift((v_A + 8), 2)]) +v_a = bxor(bxor(bxor(bxor(v_a, I32[arshift((1152 + lshift(band(63, v_t), 2)), 2)]), I32[arshift((1408 + band((rshift(v_t, 6) % 4294967296), 252)), 2)]), I32[arshift((1664 + band((rshift(v_t, 14) % 4294967296), 252)), 2)]), I32[arshift((1920 + band((rshift(v_t, 22) % 4294967296), 252)), 2)]) +v_t = bxor(I32[arshift((v_A + 12), 2)], F.fPA(v_r, 28)) +v_t = bxor(bxor(bxor(bxor(v_a, I32[arshift((2176 + lshift(band(63, v_t), 2)), 2)]), I32[arshift((2432 + band((rshift(v_t, 6) % 4294967296), 252)), 2)]), I32[arshift((2688 + band((rshift(v_t, 14) % 4294967296), 252)), 2)]), I32[arshift((2944 + band((rshift(v_t, 22) % 4294967296), 252)), 2)]) +if not (8 ~= bor(0, v_o)) then goto B191 end +do +v_A = tobit((v_A + 16)) +v_o = tobit((v_o + 1)) +end +::C191:: +end +end +::B191:: +end +do +v_a = lshift(v_r, 31) +local t257 = v_a +v_o = v_r +local t256 = v_o +local t255 = (-1431655766) +v_A = F.fPA(v_t, 31) +v_r = band(t255, bxor(v_A, v_r)) +v_t = bor(t257, (rshift(bxor(t256, v_r), 1) % 4294967296)) +local t259 = v_t +local t258 = (rshift(v_t, 8) % 4294967296) +v_A = bxor(v_A, v_r) +v_r = band(16711935, bxor(t258, v_A)) +v_t = bxor(t259, lshift(v_r, 8)) +local t261 = v_t +local t260 = (rshift(v_t, 2) % 4294967296) +v_A = bxor(v_A, v_r) +v_r = band(858993459, bxor(t260, v_A)) +v_t = bxor(t261, lshift(v_r, 2)) +local t262 = band(65535, v_t) +v_A = bxor(v_A, v_r) +v_r = bxor(t262, (rshift(v_A, 16) % 4294967296)) +v_o = bxor(lshift(v_r, 16), v_A) +v_A = bxor(v_r, v_t) +local t263 = v_A +v_r = band(252645135, bxor((rshift(v_o, 4) % 4294967296), v_A)) +v_A = bxor(t263, v_r) +I8[tobit((v_e + 7))] = tobit(v_A) +I8[tobit((v_e + 6))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_e + 5))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[tobit((v_e + 4))] = tobit((rshift(v_A, 24) % 4294967296)) +v_A = bxor(v_o, lshift(v_r, 4)) +I8[tobit((v_e + 3))] = tobit(v_A) +I8[tobit((v_e + 2))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_e + 1))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[bor(0, v_e)] = tobit((rshift(v_A, 24) % 4294967296)) +do return 0 end +end +end + +F.fX = function(v_A, v_r, v_e, v_t, v_o, v_i) +local v_a, v_u = 0, 0 +v_a = 0 +v_u = 0 +v_u = (-50) +do +if (not (band(7, v_e) ~= 0)) then +if (1 == bor(0, v_r)) then +v_u = 0 +if (v_e ~= 0) then +do +v_r = U8[bor(0, v_t)] +while true do +I8[bor(0, v_i)] = tobit(bxor(U8[bor(0, v_o)], v_r)) +I8[tobit((v_i + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_o + 1))])) +I8[tobit((v_i + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_o + 2))])) +I8[tobit((v_i + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_o + 3))])) +I8[tobit((v_i + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_o + 4))])) +I8[tobit((v_i + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_o + 5))])) +I8[tobit((v_i + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_o + 6))])) +I8[tobit((v_i + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_o + 7))])) +F.fZ(v_A, v_i, v_i) +v_a = bor(bor(bor(U8[tobit((v_i + 4))], lshift(U8[tobit((v_i + 5))], 8)), lshift(U8[tobit((v_i + 6))], 16)), lshift(U8[tobit((v_i + 7))], 24)) +v_r = bor(bor(bor(U8[bor(0, v_i)], lshift(U8[tobit((v_i + 1))], 8)), lshift(U8[tobit((v_i + 2))], 16)), lshift(U8[tobit((v_i + 3))], 24)) +I8[bor(0, v_t)] = tobit(v_r) +I8[tobit((v_t + 1))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_r, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_a) +I8[tobit((v_t + 5))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_a, 24) % 4294967296)) +v_i = tobit((v_i + 8)) +v_o = tobit((v_o + 8)) +v_e = tobit((v_e - 8)) +if not (v_e ~= 0) then goto B193 end +do +end +::C193:: +end +end +::B193:: +end +else +v_u = 0 +if (not (v_e ~= 0)) then +goto L192 +end +do +while true do +v_a = bor(bor(bor(U8[tobit((v_o + 4))], lshift(U8[tobit((v_o + 5))], 8)), lshift(U8[tobit((v_o + 6))], 16)), lshift(U8[tobit((v_o + 7))], 24)) +v_r = bor(bor(bor(U8[bor(0, v_o)], lshift(U8[tobit((v_o + 1))], 8)), lshift(U8[tobit((v_o + 2))], 16)), lshift(U8[tobit((v_o + 3))], 24)) +F.fZ(v_A, v_o, v_i) +I8[bor(0, v_i)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_i)])) +I8[tobit((v_i + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_i + 1))])) +I8[tobit((v_i + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_i + 2))])) +I8[tobit((v_i + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_i + 3))])) +I8[tobit((v_i + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_i + 4))])) +I8[tobit((v_i + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_i + 5))])) +I8[tobit((v_i + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_i + 6))])) +I8[tobit((v_i + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_i + 7))])) +I8[bor(0, v_t)] = tobit(v_r) +I8[tobit((v_t + 1))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_r, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_a) +I8[tobit((v_t + 5))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_a, 24) % 4294967296)) +v_i = tobit((v_i + 8)) +v_o = tobit((v_o + 8)) +v_e = tobit((v_e - 8)) +if not (v_e ~= 0) then goto B194 end +do +end +::C194:: +end +end +::B194:: +end +end +end +::L192:: +do return v_u end +end + +F.f_ = function(v_A) + +if (v_A ~= 0) then +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +I8[tobit((v_A + 14))] = tobit(0) +I8[tobit((v_A + 15))] = tobit(0) +I8[tobit((v_A + 16))] = tobit(0) +I8[tobit((v_A + 17))] = tobit(0) +I8[tobit((v_A + 18))] = tobit(0) +I8[tobit((v_A + 19))] = tobit(0) +I8[tobit((v_A + 20))] = tobit(0) +I8[tobit((v_A + 21))] = tobit(0) +I8[tobit((v_A + 22))] = tobit(0) +I8[tobit((v_A + 23))] = tobit(0) +I8[tobit((v_A + 24))] = tobit(0) +I8[tobit((v_A + 25))] = tobit(0) +I8[tobit((v_A + 26))] = tobit(0) +I8[tobit((v_A + 27))] = tobit(0) +I8[tobit((v_A + 28))] = tobit(0) +I8[tobit((v_A + 29))] = tobit(0) +I8[tobit((v_A + 30))] = tobit(0) +I8[tobit((v_A + 31))] = tobit(0) +I8[tobit((v_A + 32))] = tobit(0) +I8[tobit((v_A + 33))] = tobit(0) +I8[tobit((v_A + 34))] = tobit(0) +I8[tobit((v_A + 35))] = tobit(0) +I8[tobit((v_A + 36))] = tobit(0) +I8[tobit((v_A + 37))] = tobit(0) +I8[tobit((v_A + 38))] = tobit(0) +I8[tobit((v_A + 39))] = tobit(0) +I8[tobit((v_A + 40))] = tobit(0) +I8[tobit((v_A + 41))] = tobit(0) +I8[tobit((v_A + 42))] = tobit(0) +I8[tobit((v_A + 43))] = tobit(0) +I8[tobit((v_A + 44))] = tobit(0) +I8[tobit((v_A + 45))] = tobit(0) +I8[tobit((v_A + 46))] = tobit(0) +I8[tobit((v_A + 47))] = tobit(0) +I8[tobit((v_A + 48))] = tobit(0) +I8[tobit((v_A + 49))] = tobit(0) +I8[tobit((v_A + 50))] = tobit(0) +I8[tobit((v_A + 51))] = tobit(0) +I8[tobit((v_A + 52))] = tobit(0) +I8[tobit((v_A + 53))] = tobit(0) +I8[tobit((v_A + 54))] = tobit(0) +I8[tobit((v_A + 55))] = tobit(0) +I8[tobit((v_A + 56))] = tobit(0) +I8[tobit((v_A + 57))] = tobit(0) +I8[tobit((v_A + 58))] = tobit(0) +I8[tobit((v_A + 59))] = tobit(0) +I8[tobit((v_A + 60))] = tobit(0) +I8[tobit((v_A + 61))] = tobit(0) +I8[tobit((v_A + 62))] = tobit(0) +I8[tobit((v_A + 63))] = tobit(0) +I8[tobit((v_A - (-64)))] = tobit(0) +I8[tobit((v_A + 65))] = tobit(0) +I8[tobit((v_A + 66))] = tobit(0) +I8[tobit((v_A + 67))] = tobit(0) +I8[tobit((v_A + 68))] = tobit(0) +I8[tobit((v_A + 69))] = tobit(0) +I8[tobit((v_A + 70))] = tobit(0) +I8[tobit((v_A + 71))] = tobit(0) +I8[tobit((v_A + 72))] = tobit(0) +I8[tobit((v_A + 73))] = tobit(0) +I8[tobit((v_A + 74))] = tobit(0) +I8[tobit((v_A + 75))] = tobit(0) +I8[tobit((v_A + 76))] = tobit(0) +I8[tobit((v_A + 77))] = tobit(0) +I8[tobit((v_A + 78))] = tobit(0) +I8[tobit((v_A + 79))] = tobit(0) +I8[tobit((v_A + 80))] = tobit(0) +I8[tobit((v_A + 81))] = tobit(0) +I8[tobit((v_A + 82))] = tobit(0) +I8[tobit((v_A + 83))] = tobit(0) +I8[tobit((v_A + 84))] = tobit(0) +I8[tobit((v_A + 85))] = tobit(0) +I8[tobit((v_A + 86))] = tobit(0) +I8[tobit((v_A + 87))] = tobit(0) +end +end + +F.fS_ = function(v_A, v_r, v_e) +local v_n, v_t, v_o, v_i, v_f, v_a, v_u, v_c, v_s = 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_n = 0 +v_t = 0 +v_o = 0 +v_i = 0 +v_f = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +do +v_t = v_r +if (v_r ~= 0) then +v_n = v_e +if (not (v_n ~= 0)) then +goto L204 +end +goto L203 +end +v_A = tobit(toint(((tobit(v_A) % 4294967296) / (tobit(v_e) % 4294967296)))) +Iv = 0 +goto L195 +end +::L204:: +if (not (v_A ~= 0)) then +goto L202 +end +goto L201 +end +::L203:: +if (not (band((v_n - 1), v_n) ~= 0)) then +goto L200 +end +v_f = tobit((tobit((clz32(v_n) + 33)) - clz32(v_t))) +v_a = tobit((0 - v_f)) +goto L198 +end +::L202:: +v_A = tobit(toint(((tobit(v_t) % 4294967296) / 0))) +Iv = 0 +goto L195 +end +::L201:: +v_n = tobit((32 - clz32(v_t))) +if ((tobit(v_n) % 4294967296) < 31) then +goto L199 +end +goto L197 +end +::L200:: +if (1 == bor(0, v_n)) then +goto L196 +end +v_n = ((v_n ~= 0) and tobit((31 - clz32(bxor((v_n - 1), v_n)))) or 32) +v_e = band(31, v_n) +if ((tobit(band(63, v_n)) % 4294967296) >= 32) then +v_t = 0 +v_A = tobit((rshift(v_r, v_e) % 4294967296)) +else +v_t = tobit((rshift(v_r, v_e) % 4294967296)) +v_A = bor(lshift(band((lshift(1, v_e) - 1), v_r), (32 - v_e)), (rshift(v_A, v_e) % 4294967296)) +end +Iv = v_t +goto L195 +end +::L199:: +v_f = tobit((v_n + 1)) +v_a = tobit((63 - v_n)) +end +::L198:: +do +v_n = v_r +v_t = band(63, v_f) +v_o = band(31, v_t) +if ((tobit(v_t) % 4294967296) >= 32) then +v_t = 0 +v_o = tobit((rshift(v_n, v_o) % 4294967296)) +else +v_t = tobit((rshift(v_n, v_o) % 4294967296)) +v_o = bor(lshift(band((lshift(1, v_o) - 1), v_n), (32 - v_o)), (rshift(v_A, v_o) % 4294967296)) +end +v_a = band(v_a, 63) +v_n = band(31, v_a) +if ((tobit(v_a) % 4294967296) >= 32) then +v_r = lshift(v_A, v_n) +v_A = 0 +else +v_r = bor(band((lshift(1, v_n) - 1), (rshift(v_A, (32 - v_n)) % 4294967296)), lshift(v_r, v_n)) +v_A = lshift(v_A, v_n) +end +if (v_f ~= 0) then +do +do +do +local t264 = (-1) +v_n = tobit((v_e - 1)) +v_a = ((t264 ~= bor(0, v_n)) and 0 or (-1)) +end +while true do +do +v_i = bor(lshift(v_o, 1), (rshift(v_r, 31) % 4294967296)) +v_u = v_i +local t267 = v_u +local t266 = v_e +local t265 = v_a +v_t = bor(lshift(v_t, 1), (rshift(v_o, 31) % 4294967296)) +v_i = arshift((t265 - tobit((v_t + (((tobit(v_n) % 4294967296) < (tobit(v_i) % 4294967296)) and 1 or 0)))), 31) +v_c = band(t266, v_i) +v_o = tobit((t267 - v_c)) +v_t = tobit((v_t - (((tobit(v_u) % 4294967296) < (tobit(v_c) % 4294967296)) and 1 or 0))) +v_r = bor(lshift(v_r, 1), (rshift(v_A, 31) % 4294967296)) +v_A = bor(v_s, lshift(v_A, 1)) +v_i = band(v_i, 1) +v_s = v_i +v_f = tobit((v_f - 1)) +if not (v_f ~= 0) then goto B205 end +end +do +end +::C205:: +end +end +::B205:: +end +end +end +Iv = bor(lshift(v_r, 1), (rshift(v_A, 31) % 4294967296)) +v_A = bor(v_i, lshift(v_A, 1)) +goto L195 +end +end +::L197:: +end +v_A = 0 +v_r = 0 +end +end +::L196:: +end +Iv = v_r +end +end +::L195:: +end +do return v_A end +end + +F.fAA = function(v_A) +local v_r = 0 +v_r = 0 +if (v_A ~= 0) then +v_r = I32[arshift((v_A + 60), 2)] +if (v_r ~= 0) then +UA[I32[arshift((I32[arshift((I32[arshift(v_A, 2)] + 28), 2)] + 36), 2)]](v_r) +end +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +I8[tobit((v_A + 14))] = tobit(0) +I8[tobit((v_A + 15))] = tobit(0) +I8[tobit((v_A + 16))] = tobit(0) +I8[tobit((v_A + 17))] = tobit(0) +I8[tobit((v_A + 18))] = tobit(0) +I8[tobit((v_A + 19))] = tobit(0) +I8[tobit((v_A + 20))] = tobit(0) +I8[tobit((v_A + 21))] = tobit(0) +I8[tobit((v_A + 22))] = tobit(0) +I8[tobit((v_A + 23))] = tobit(0) +I8[tobit((v_A + 24))] = tobit(0) +I8[tobit((v_A + 25))] = tobit(0) +I8[tobit((v_A + 26))] = tobit(0) +I8[tobit((v_A + 27))] = tobit(0) +I8[tobit((v_A + 28))] = tobit(0) +I8[tobit((v_A + 29))] = tobit(0) +I8[tobit((v_A + 30))] = tobit(0) +I8[tobit((v_A + 31))] = tobit(0) +I8[tobit((v_A + 32))] = tobit(0) +I8[tobit((v_A + 33))] = tobit(0) +I8[tobit((v_A + 34))] = tobit(0) +I8[tobit((v_A + 35))] = tobit(0) +I8[tobit((v_A + 36))] = tobit(0) +I8[tobit((v_A + 37))] = tobit(0) +I8[tobit((v_A + 38))] = tobit(0) +I8[tobit((v_A + 39))] = tobit(0) +I8[tobit((v_A + 40))] = tobit(0) +I8[tobit((v_A + 41))] = tobit(0) +I8[tobit((v_A + 42))] = tobit(0) +I8[tobit((v_A + 43))] = tobit(0) +I8[tobit((v_A + 44))] = tobit(0) +I8[tobit((v_A + 45))] = tobit(0) +I8[tobit((v_A + 46))] = tobit(0) +I8[tobit((v_A + 47))] = tobit(0) +I8[tobit((v_A + 48))] = tobit(0) +I8[tobit((v_A + 49))] = tobit(0) +I8[tobit((v_A + 50))] = tobit(0) +I8[tobit((v_A + 51))] = tobit(0) +I8[tobit((v_A + 52))] = tobit(0) +I8[tobit((v_A + 53))] = tobit(0) +I8[tobit((v_A + 54))] = tobit(0) +I8[tobit((v_A + 55))] = tobit(0) +I8[tobit((v_A + 56))] = tobit(0) +I8[tobit((v_A + 57))] = tobit(0) +I8[tobit((v_A + 58))] = tobit(0) +I8[tobit((v_A + 59))] = tobit(0) +I8[tobit((v_A + 60))] = tobit(0) +I8[tobit((v_A + 61))] = tobit(0) +I8[tobit((v_A + 62))] = tobit(0) +I8[tobit((v_A + 63))] = tobit(0) +end +end + +F.frA = function(v_A, v_r) +local v_e, v_n = 0, 0 +v_e = 0 +v_n = 0 +F.fJ(v_A, v_r) +v_r = I32[arshift(v_A, 2)] +v_e = I32[arshift((v_A + 4), 2)] +v_n = I32[arshift((v_A + 124), 2)] +I32[arshift(v_A, 2)] = tobit(I32[arshift((v_A + 120), 2)]) +I32[arshift((v_A + 4), 2)] = tobit(v_n) +I32[arshift((v_A + 120), 2)] = tobit(v_r) +I32[arshift((v_A + 124), 2)] = tobit(v_e) +v_r = I32[arshift((v_A + 8), 2)] +v_e = I32[arshift((v_A + 12), 2)] +v_n = I32[arshift((v_A + 116), 2)] +I32[arshift((v_A + 8), 2)] = tobit(I32[arshift((v_A + 112), 2)]) +I32[arshift((v_A + 12), 2)] = tobit(v_n) +I32[arshift((v_A + 112), 2)] = tobit(v_r) +I32[arshift((v_A + 116), 2)] = tobit(v_e) +v_r = I32[arshift((v_A + 104), 2)] +v_e = I32[arshift((v_A + 108), 2)] +v_n = I32[arshift((v_A + 20), 2)] +I32[arshift((v_A + 104), 2)] = tobit(I32[arshift((v_A + 16), 2)]) +I32[arshift((v_A + 108), 2)] = tobit(v_n) +I32[arshift((v_A + 16), 2)] = tobit(v_r) +I32[arshift((v_A + 20), 2)] = tobit(v_e) +v_r = I32[arshift((v_A + 24), 2)] +I32[arshift((v_A + 24), 2)] = tobit(I32[arshift((v_A + 96), 2)]) +I32[arshift((v_A + 96), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 100), 2)] +I32[arshift((v_A + 100), 2)] = tobit(I32[arshift((v_A + 28), 2)]) +I32[arshift((v_A + 28), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 88), 2)] +I32[arshift((v_A + 88), 2)] = tobit(I32[arshift((v_A + 32), 2)]) +I32[arshift((v_A + 32), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 92), 2)] +I32[arshift((v_A + 92), 2)] = tobit(I32[arshift((v_A + 36), 2)]) +I32[arshift((v_A + 36), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 80), 2)] +I32[arshift((v_A + 80), 2)] = tobit(I32[arshift((v_A + 40), 2)]) +I32[arshift((v_A + 40), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 84), 2)] +I32[arshift((v_A + 84), 2)] = tobit(I32[arshift((v_A + 44), 2)]) +I32[arshift((v_A + 44), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 72), 2)] +I32[arshift((v_A + 72), 2)] = tobit(I32[arshift((v_A + 48), 2)]) +I32[arshift((v_A + 48), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 76), 2)] +I32[arshift((v_A + 76), 2)] = tobit(I32[arshift((v_A + 52), 2)]) +I32[arshift((v_A + 52), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 64), 2)] +I32[arshift((v_A + 64), 2)] = tobit(I32[arshift((v_A + 56), 2)]) +I32[arshift((v_A + 56), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 68), 2)] +I32[arshift((v_A + 68), 2)] = tobit(I32[arshift((v_A + 60), 2)]) +I32[arshift((v_A + 60), 2)] = tobit(v_r) +do return 0 end +end + +F.feA = function(v_A, v_r, v_e, v_t) +local v_o, v_a, v_u, v_c = 0, 0, 0, 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_a = bor(bor(bor(U8[tobit((v_e + 4))], lshift(U8[tobit((v_e + 5))], 8)), lshift(U8[tobit((v_e + 6))], 16)), lshift(U8[tobit((v_e + 7))], 24)) +v_a = bor(bor(bor(lshift(v_a, 24), band(lshift(v_a, 8), 16711680)), band((rshift(v_a, 8) % 4294967296), 65280)), (rshift(v_a, 24) % 4294967296)) +v_e = bor(bor(bor(U8[bor(0, v_e)], lshift(U8[tobit((v_e + 1))], 8)), lshift(U8[tobit((v_e + 2))], 16)), lshift(U8[tobit((v_e + 3))], 24)) +v_u = bor(bor(bor(lshift(v_e, 24), band(lshift(v_e, 8), 16711680)), band((rshift(v_e, 8) % 4294967296), 65280)), (rshift(v_e, 24) % 4294967296)) +if (v_r ~= 0) then +do +v_r = 0 +v_e = tobit((v_A + 72)) +while true do +v_o = bxor(I32[arshift((lshift(v_r, 2) + v_A), 2)], v_u) +v_u = bxor((bxor((I32[arshift((1024 + tobit((v_e + band((rshift(v_o, 14) % 4294967296), 1020)))), 2)] + I32[arshift((v_e + band((rshift(v_o, 22) % 4294967296), 1020)), 2)]), I32[arshift((2048 + tobit((v_e + band((rshift(v_o, 6) % 4294967296), 1020)))), 2)]) + I32[arshift((3072 + tobit((v_e + lshift(band(255, v_o), 2)))), 2)]), v_a) +v_a = v_o +v_r = tobit((v_r + 1)) +if not (16 ~= bor(0, v_r)) then goto B206 end +do +end +::C206:: +end +end +::B206:: +v_e = bxor(I32[arshift((v_A + 64), 2)], v_u) +v_A = tobit((v_A + 68)) +else +do +v_e = 17 +v_c = tobit((v_A + 72)) +while true do +v_o = bxor(I32[arshift((lshift(v_e, 2) + v_A), 2)], v_u) +v_u = bxor((bxor((I32[arshift((1024 + tobit((band((rshift(v_o, 14) % 4294967296), 1020) + v_c))), 2)] + I32[arshift((band((rshift(v_o, 22) % 4294967296), 1020) + v_c), 2)]), I32[arshift((2048 + tobit((band((rshift(v_o, 6) % 4294967296), 1020) + v_c))), 2)]) + I32[arshift((3072 + tobit((lshift(band(255, v_o), 2) + v_c))), 2)]), v_a) +v_r = (((tobit(v_e) % 4294967296) > 2) and 1 or 0) +v_e = tobit((v_e - 1)) +v_a = v_o +if not (v_r ~= 0) then goto B207 end +do +end +::C207:: +end +end +::B207:: +v_e = bxor(I32[arshift((v_A + 4), 2)], v_u) +end +v_A = I32[arshift(v_A, 2)] +I8[tobit((v_t + 7))] = tobit(v_e) +I8[tobit((v_t + 6))] = tobit((rshift(v_e, 8) % 4294967296)) +I8[tobit((v_t + 5))] = tobit((rshift(v_e, 16) % 4294967296)) +I8[tobit((v_t + 4))] = tobit((rshift(v_e, 24) % 4294967296)) +v_A = bxor(v_A, v_o) +I8[tobit((v_t + 3))] = tobit(v_A) +I8[tobit((v_t + 2))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_t + 1))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[bor(0, v_t)] = tobit((rshift(v_A, 24) % 4294967296)) +do return 0 end +end + +F.fnA = function(v_A, v_r, v_e, v_t) +local v_o, v_a, v_u, v_c, v_s, v_l = 0, 0, 0, 0, 0, 0 +v_l = 0 +v_o = tobit((B - 400)) +B = v_o +v_l = tobit((v_r + 1)) +v_s = F.fKA(F.fm(v_l), 0, v_l) +F.fLA(tobit((v_o + 8))) +F.fF(tobit((v_o + 8)), 2, v_t, 256) +v_a = tobit((B - 16)) +B = v_a +I32[arshift((v_a + 12), 2)] = tobit(0) +v_l = tobit((v_o + 8)) +v_t = v_l +I32[arshift((352 + v_t), 2)] = tobit(0) +I32[arshift((v_t + 356), 2)] = tobit(0) +I32[arshift((v_t + 384), 2)] = tobit(0) +I32[arshift((v_t + 320), 2)] = tobit(0) +I32[arshift((v_t + 324), 2)] = tobit(0) +I32[arshift((v_t + 376), 2)] = tobit(0) +I32[arshift((v_t + 380), 2)] = tobit(0) +I32[arshift((v_t + 368), 2)] = tobit(0) +I32[arshift((v_t + 372), 2)] = tobit(0) +I32[arshift((v_t + 360), 2)] = tobit(0) +I32[arshift((v_t + 364), 2)] = tobit(0) +I32[arshift((v_t + 328), 2)] = tobit(0) +I32[arshift((v_t + 332), 2)] = tobit(0) +v_u = bor(bor(bor(U8[tobit((v_e + 4))], lshift(U8[tobit((v_e + 5))], 8)), lshift(U8[tobit((v_e + 6))], 16)), lshift(U8[tobit((v_e + 7))], 24)) +v_t = tobit((v_t + 352)) +v_c = bor(bor(bor(U8[bor(0, v_e)], lshift(U8[tobit((v_e + 1))], 8)), lshift(U8[tobit((v_e + 2))], 16)), lshift(U8[tobit((v_e + 3))], 24)) +I8[bor(0, v_t)] = tobit(v_c) +I8[tobit((v_t + 1))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_u) +I8[tobit((v_t + 5))] = tobit((rshift(v_u, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_u, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_u, 24) % 4294967296)) +v_e = bor(bor(bor(U8[tobit((v_e + 8))], lshift(U8[tobit((v_e + 9))], 8)), lshift(U8[tobit((v_e + 10))], 16)), lshift(U8[tobit((v_e + 11))], 24)) +I8[tobit((v_t + 8))] = tobit(v_e) +I8[tobit((v_t + 9))] = tobit((rshift(v_e, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_e, 16) % 4294967296)) +I8[tobit((v_t + 11))] = tobit((rshift(v_e, 24) % 4294967296)) +I8[tobit((v_l + 367))] = tobit(1) +if not (F.fq(v_l, v_t, tobit((v_l + 336)), tobit((v_a + 12))) ~= 0) then +I32[arshift((v_l + 328), 2)] = tobit(0) +I32[arshift((v_l + 332), 2)] = tobit(0) +end +B = tobit((v_a + 16)) +F.fY(tobit((v_o + 8)), v_r, v_A, v_s) +F.fyA(tobit((v_o + 8))) +B = tobit((v_o + 400)) +do return v_s end +end + +F.ftA = function(v_A) +local v_r, v_e, v_n, v_t, v_o, v_f, v_a = 0, 0, 0, 0, 0, 0, 0 +v_e = 0 +v_n = 0 +v_t = 0 +v_o = 0 +v_f = 0 +v_a = 0 +do +v_r = tobit((B - 16)) +B = v_r +v_o = I32[arshift(v_A, 2)] +I32[arshift((v_r + 4), 2)] = tobit(0) +v_f = 1 +v_n = lshift(v_o, 1) +I32[arshift(v_r, 2)] = tobit(v_n) +v_e = v_n +while true do +v_a = v_t +if not (v_e ~= 0) then goto B208 end +do +v_e = band(v_e, (v_e - 1)) +v_t = tobit((v_t + 1)) +end +::C208:: +end +end +::B208:: +do +do +do +local t268 = (1 == bor(0, v_a)) +if t268 then +v_e = F.fSA(v_n, 16) +I32[arshift((v_r + 8), 2)] = tobit(v_e) +t268 = (v_e ~= 0) +end +if t268 then +if (v_o ~= 0) then +do +v_n = 0 +while true do +do +v_e = tobit((I32[arshift((v_A + 8), 2)] + lshift(v_n, 4))) +if (I32[arshift((v_e + 8), 2)] ~= 0) then +v_f = I32[arshift((v_e + 12), 2)] +v_a = I32[arshift((v_e + 4), 2)] +v_o = I32[arshift(v_e, 2)] +do +do +while true do +do +if (F.fN(v_r, v_o, v_a, tobit((v_r + 12))) ~= 0) then +goto L211 +end +if (F.ftA(v_r) ~= 0) then +goto B212 +end +end +::C212:: +end +end +::B212:: +v_f = 1 +goto L209 +end +::L211:: +v_t = tobit((I32[arshift((v_r + 8), 2)] + lshift(I32[arshift((v_r + 12), 2)], 4))) +I32[arshift((v_t + 4), 2)] = tobit(v_a) +I32[arshift(v_t, 2)] = tobit(v_o) +I32[arshift((v_t + 12), 2)] = tobit(v_f) +if not (I32[arshift((v_t + 8), 2)] ~= 0) then +I32[arshift((v_t + 8), 2)] = tobit(1) +I32[arshift((v_r + 4), 2)] = tobit((I32[arshift((v_r + 4), 2)] + 1)) +end +I32[arshift(v_e, 2)] = tobit(0) +I32[arshift((v_e + 4), 2)] = tobit(0) +I32[arshift((v_e + 8), 2)] = tobit(0) +I32[arshift((v_e + 12), 2)] = tobit(0) +I32[arshift((v_A + 4), 2)] = tobit((I32[arshift((v_A + 4), 2)] - 1)) +v_o = I32[arshift(v_A, 2)] +end +v_n = tobit((v_n + 1)) +if (not ((tobit(v_n) % 4294967296) < (tobit(v_o) % 4294967296))) then +goto B210 +end +end +::C210:: +end +end +::B210:: +end +F.fU(I32[arshift((v_A + 8), 2)]) +I32[arshift((v_A + 8), 2)] = tobit(I32[arshift((v_r + 8), 2)]) +v_e = I32[arshift((v_r + 4), 2)] +I32[arshift(v_A, 2)] = tobit(I32[arshift(v_r, 2)]) +I32[arshift((v_A + 4), 2)] = tobit(v_e) +v_f = 0 +end +end +end +::L209:: +end +B = tobit((v_r + 16)) +do return v_f end +end + +F.foA = function(v_A, v_r, v_e, v_t) + +do +if (not ((tobit(v_r) % 4294967296) > 20)) then +do +local sw214 = tobit((v_r - 9)) +if sw214 == 0 then goto K214_0 +elseif sw214 == 1 then goto K214_1 +elseif sw214 == 2 then goto K214_2 +elseif sw214 == 3 then goto K214_3 +elseif sw214 == 4 then goto K214_4 +elseif sw214 == 5 then goto K214_5 +elseif sw214 == 6 then goto K214_6 +elseif sw214 == 7 then goto K214_7 +elseif sw214 == 8 then goto K214_8 +elseif sw214 == 9 then goto K214_9 +else goto K214_10 end +::K214_0:: +do +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +I32[arshift(v_A, 2)] = tobit(I32[arshift(v_r, 2)]) +do return end +end +::K214_1:: +do +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +v_r = I32[arshift(v_r, 2)] +I32[arshift(v_A, 2)] = tobit(v_r) +I32[arshift((v_A + 4), 2)] = tobit(arshift(v_r, 31)) +do return end +end +::K214_2:: +do +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +I32[arshift(v_A, 2)] = tobit(I32[arshift(v_r, 2)]) +I32[arshift((v_A + 4), 2)] = tobit(0) +do return end +end +::K214_3:: +do +v_r = band((I32[arshift(v_e, 2)] + 7), (-8)) +I32[arshift(v_e, 2)] = tobit((v_r + 8)) +v_e = I32[arshift((v_r + 4), 2)] +I32[arshift(v_A, 2)] = tobit(I32[arshift(v_r, 2)]) +I32[arshift((v_A + 4), 2)] = tobit(v_e) +do return end +end +::K214_4:: +do +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +v_r = I16[arshift(v_r, 1)] +I32[arshift(v_A, 2)] = tobit(v_r) +I32[arshift((v_A + 4), 2)] = tobit(arshift(v_r, 31)) +do return end +end +::K214_5:: +do +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +I32[arshift(v_A, 2)] = tobit(U16[arshift(v_r, 1)]) +I32[arshift((v_A + 4), 2)] = tobit(0) +do return end +end +::K214_6:: +do +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +v_r = I8[bor(0, v_r)] +I32[arshift(v_A, 2)] = tobit(v_r) +I32[arshift((v_A + 4), 2)] = tobit(arshift(v_r, 31)) +do return end +end +::K214_7:: +do +v_r = I32[arshift(v_e, 2)] +I32[arshift(v_e, 2)] = tobit((v_r + 4)) +I32[arshift(v_A, 2)] = tobit(U8[bor(0, v_r)]) +I32[arshift((v_A + 4), 2)] = tobit(0) +do return end +end +::K214_8:: +do +v_r = band((I32[arshift(v_e, 2)] + 7), (-8)) +I32[arshift(v_e, 2)] = tobit((v_r + 8)) +F64[arshift(v_A, 3)] = F64[arshift(v_r, 3)] +do return end +end +::K214_9:: +do +goto S214 +end +::K214_10:: +do +goto L213 +end +end +::S214:: +UA[bor(0, v_t)](v_A, v_e) +end +end +::L213:: +end + +F.fiA = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u = 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +do +if (not (band(32, U8[bor(0, v_A)]) ~= 0)) then +do +do +do +v_o = v_r +v_r = v_e +do +do +do +v_t = v_A +v_A = I32[arshift((v_t + 16), 2)] +if (not (v_A ~= 0)) then +v_A = U8[tobit((v_t + 74))] +I8[tobit((v_t + 74))] = tobit(bor((v_A - 1), v_A)) +v_A = I32[arshift(v_t, 2)] +if (band(8, v_A) ~= 0) then +I32[arshift(v_t, 2)] = tobit(bor(32, v_A)) +v_A = (-1) +else +I32[arshift((v_t + 4), 2)] = tobit(0) +I32[arshift((v_t + 8), 2)] = tobit(0) +v_A = I32[arshift((v_t + 44), 2)] +I32[arshift((v_t + 28), 2)] = tobit(v_A) +I32[arshift((v_t + 20), 2)] = tobit(v_A) +I32[arshift((v_t + 16), 2)] = tobit((v_A + I32[arshift((v_t + 48), 2)])) +v_A = 0 +end +if (v_A ~= 0) then +goto L216 +end +v_A = I32[arshift((v_t + 16), 2)] +end +do +local t269 = v_A +v_u = I32[arshift((v_t + 20), 2)] +if ((tobit((t269 - v_u)) % 4294967296) < (tobit(v_r) % 4294967296)) then +UA[I32[arshift((v_t + 36), 2)]](v_t, v_o, v_e) +goto L215 +end +end +do +do +do +if (I8[tobit((v_t + 75))] > (-1)) then +do +do +do +v_A = v_e +while true do +do +do +v_r = v_A +v_a = v_e +if (not (v_A ~= 0)) then +goto L217 +end +do +local t270 = v_o +v_A = tobit((v_r - 1)) +if (10 == U8[tobit((t270 + v_A))]) then +goto B218 +end +end +end +end +::C218:: +end +end +::B218:: +end +if ((tobit(UA[I32[arshift((v_t + 36), 2)]](v_t, v_o, v_r)) % 4294967296) < (tobit(v_r) % 4294967296)) then +goto L216 +end +v_o = tobit((v_r + v_o)) +v_u = I32[arshift((v_t + 20), 2)] +v_a = tobit((v_e - v_r)) +end +else +v_a = v_e +end +end +end +::L217:: +end +do +local t271 = v_u +local t272 = v_o +v_r = v_a +F.fTA(t271, t272, v_r) +I32[arshift((v_t + 20), 2)] = tobit((v_r + I32[arshift((v_t + 20), 2)])) +end +end +end +::L216:: +end +end +end +::L215:: +end +end +end +end + +F.ffA = function(v_A, v_r, v_e, v_t, v_o) +local v_f, v_a = 0, 0 +v_a = 0 +v_f = tobit((B - 208)) +B = v_f +I32[arshift((v_f + 204), 2)] = tobit(v_e) +F.fKA(tobit((v_f + 160)), 0, 40) +I32[arshift((v_f + 200), 2)] = tobit(I32[arshift((v_f + 204), 2)]) +if not (bor(0, F.fS(0, v_r, tobit((v_f + 200)), tobit((v_f + 80)), tobit((v_f + 160)), v_t, v_o)) < 0) then +v_e = I32[arshift(v_A, 2)] +if (I8[tobit((v_A + 74))] <= 0) then +I32[arshift(v_A, 2)] = tobit(band((-33), v_e)) +end +v_a = band(32, v_e) +if (I32[arshift((v_A + 48), 2)] ~= 0) then +F.fS(v_A, v_r, tobit((v_f + 200)), tobit((v_f + 80)), tobit((v_f + 160)), v_t, v_o) +else +I32[arshift((v_A + 48), 2)] = tobit(80) +I32[arshift((v_A + 16), 2)] = tobit((v_f + 80)) +I32[arshift((v_A + 28), 2)] = tobit(v_f) +I32[arshift((v_A + 20), 2)] = tobit(v_f) +v_e = I32[arshift((v_A + 44), 2)] +I32[arshift((v_A + 44), 2)] = tobit(v_f) +F.fS(v_A, v_r, tobit((v_f + 200)), tobit((v_f + 80)), tobit((v_f + 160)), v_t, v_o) +if (v_e ~= 0) then +UA[I32[arshift((v_A + 36), 2)]](v_A, 0, 0) +I32[arshift((v_A + 48), 2)] = tobit(0) +I32[arshift((v_A + 44), 2)] = tobit(v_e) +I32[arshift((v_A + 28), 2)] = tobit(0) +I32[arshift((v_A + 16), 2)] = tobit(0) +I32[arshift((v_A + 20), 2)] = tobit(0) +end +end +I32[arshift(v_A, 2)] = tobit(bor(I32[arshift(v_A, 2)], v_a)) +end +B = tobit((v_f + 208)) +end + +F.faA = function(v_A, v_r) + +if (not (v_A ~= 0)) then +do return 0 end +end +do +do +do +do +do +do +do +if (v_A ~= 0) then +do +if ((tobit(v_r) % 4294967296) <= 127) then +goto L220 +end +do +if (I32[arshift(I32[3419], 2)] ~= 0) then +do +if ((tobit(v_r) % 4294967296) <= 2047) then +I8[tobit((v_A + 1))] = tobit(bor(band(63, v_r), 128)) +I8[bor(0, v_A)] = tobit(bor((rshift(v_r, 6) % 4294967296), 192)) +v_A = 2 +goto L219 +end +do +local t273 = ((57344 ~= band((-8192), v_r)) and 1 or 0) +if t273 ~= 0 then +t273 = (((tobit(v_r) % 4294967296) >= 55296) and 1 or 0) +end +if (not (t273 ~= 0)) then +I8[tobit((v_A + 2))] = tobit(bor(band(63, v_r), 128)) +I8[bor(0, v_A)] = tobit(bor((rshift(v_r, 12) % 4294967296), 224)) +I8[tobit((v_A + 1))] = tobit(bor(band((rshift(v_r, 6) % 4294967296), 63), 128)) +v_A = 3 +goto L219 +end +end +if ((tobit((v_r - 65536)) % 4294967296) <= 1048575) then +I8[tobit((v_A + 3))] = tobit(bor(band(63, v_r), 128)) +I8[bor(0, v_A)] = tobit(bor((rshift(v_r, 18) % 4294967296), 240)) +I8[tobit((v_A + 2))] = tobit(bor(band((rshift(v_r, 6) % 4294967296), 63), 128)) +I8[tobit((v_A + 1))] = tobit(bor(band((rshift(v_r, 12) % 4294967296), 63), 128)) +v_A = 4 +goto L219 +end +end +else +if (57216 == band((-128), v_r)) then +goto L220 +end +end +end +I32[5596] = tobit(25) +v_A = (-1) +end +else +v_A = 1 +end +end +goto L219 +end +end +::L220:: +end +I8[bor(0, v_A)] = tobit(v_r) +v_A = 1 +end +end +::L219:: +end +do return v_A end +end + +F.fuA = function(v_A, v_r, v_e, v_n, v_t) +local v_o, v_a, v_u = 0, 0, 0 +v_a = 0 +v_u = 0 +v_o = tobit((B - 288)) +B = v_o +v_a = tobit((v_r + 1)) +v_a = F.fKA(F.fm(v_a), 0, v_a) +F.fDA(tobit((v_o + 8))) +F.fz(tobit((v_o + 8)), v_n, 256) +F.fR(tobit((v_o + 8)), 0, v_r, v_e, v_A, v_a) +F.fhA(tobit((v_o + 8))) +do +do +do +if (not (bor(band(15, v_r), (((tobit(v_r) % 4294967296) < 16) and 1 or 0)) ~= 0)) then +do +local t274 = v_a +v_A = tobit((v_r - 1)) +v_e = U8[tobit((t274 + v_A))] +if ((tobit(band((v_e - 1), 255)) % 4294967296) > 15) then +v_u = v_r +else +do +if (not ((tobit(v_r) % 4294967296) <= (tobit(v_e) % 4294967296))) then +do +v_r = 2 +if ((tobit(v_e) % 4294967296) < 2) then +v_u = v_A +else +do +do +do +while true do +do +do +do +local t276 = bor(0, v_e) +local t275 = v_a +v_A = tobit((v_A - 1)) +if (t276 ~= U8[tobit((t275 + v_A))]) then +goto L221 +end +end +if (not ((tobit(band(255, v_r)) % 4294967296) < (tobit(v_e) % 4294967296))) then +goto B222 +end +v_r = tobit((v_r + 1)) +end +end +::C222:: +end +end +::B222:: +end +v_u = v_A +end +end +end +end +end +end +end +end +end +end +::L221:: +end +if (v_t ~= 0) then +I32[arshift(v_t, 2)] = tobit(v_u) +end +v_A = F.fm(tobit((v_u + 1))) +F.fKA(tobit((v_A + v_u)), 0, (((-1) ~= bor(0, v_u)) and 1 or 0)) +v_A = F.fTA(v_A, v_a, v_u) +F.fU(v_a) +B = tobit((v_o + 288)) +do return v_A end +end + +F.fcA = function(v_A, v_r, v_e, v_n, v_t) +local v_o, v_a, v_u = 0, 0, 0 +v_a = 0 +v_u = 0 +v_o = tobit((B - 128)) +B = v_o +v_a = tobit((v_r + 1)) +v_a = F.fKA(F.fm(v_a), 0, v_a) +F.fUA(v_o) +F.frA(v_o, v_n) +F.fX(v_o, 0, v_r, v_e, v_A, v_a) +F.fW(v_o) +do +do +do +if (not (bor(band(7, v_r), (((tobit(v_r) % 4294967296) < 8) and 1 or 0)) ~= 0)) then +do +local t277 = v_a +v_A = tobit((v_r - 1)) +v_e = U8[tobit((t277 + v_A))] +if ((tobit(band((v_e - 1), 255)) % 4294967296) > 7) then +v_u = v_r +else +do +if (not ((tobit(v_r) % 4294967296) <= (tobit(v_e) % 4294967296))) then +do +v_r = 2 +if ((tobit(v_e) % 4294967296) < 2) then +v_u = v_A +else +do +do +do +while true do +do +do +do +local t279 = bor(0, v_e) +local t278 = v_a +v_A = tobit((v_A - 1)) +if (t279 ~= U8[tobit((t278 + v_A))]) then +goto L223 +end +end +if (not ((tobit(band(255, v_r)) % 4294967296) < (tobit(v_e) % 4294967296))) then +goto B224 +end +v_r = tobit((v_r + 1)) +end +end +::C224:: +end +end +::B224:: +end +v_u = v_A +end +end +end +end +end +end +end +end +end +end +::L223:: +end +if (v_t ~= 0) then +I32[arshift(v_t, 2)] = tobit(v_u) +end +v_A = F.fm(tobit((v_u + 1))) +F.fKA(tobit((v_A + v_u)), 0, (((-1) ~= bor(0, v_u)) and 1 or 0)) +v_A = F.fTA(v_A, v_a, v_u) +F.fU(v_a) +B = tobit((v_o + 128)) +do return v_A end +end + +F.fsA = function(v_A, v_r) +local v_e, v_t = 0, 0 +v_e = 0 +v_t = 0 +do +do +do +do +v_t = v_A +if (not (band(3, bxor(v_t, v_r)) ~= 0)) then +do +if (band(3, v_r) ~= 0) then +do +while true do +do +v_e = U8[bor(0, v_r)] +I8[bor(0, v_t)] = tobit(v_e) +if (not (v_e ~= 0)) then +goto L225 +end +v_t = tobit((v_t + 1)) +v_r = tobit((v_r + 1)) +if (not (band(3, v_r) ~= 0)) then +goto B226 +end +end +::C226:: +end +end +::B226:: +end +do +local t280 = (-1) +v_e = I32[arshift(v_r, 2)] +if (not (band(band(bxor(t280, v_e), (v_e - 16843009)), (-2139062144)) ~= 0)) then +do +while true do +I32[arshift(v_t, 2)] = tobit(v_e) +v_e = I32[arshift((v_r + 4), 2)] +v_t = tobit((v_t + 4)) +v_r = tobit((v_r + 4)) +if not (not (band(band((v_e - 16843009), bxor((-1), v_e)), (-2139062144)) ~= 0)) then goto B227 end +do +end +::C227:: +end +end +::B227:: +end +end +end +end +end +v_e = U8[bor(0, v_r)] +I8[bor(0, v_t)] = tobit(v_e) +if (v_e ~= 0) then +do +while true do +v_e = U8[tobit((v_r + 1))] +I8[tobit((v_t + 1))] = tobit(v_e) +v_t = tobit((v_t + 1)) +v_r = tobit((v_r + 1)) +if not (v_e ~= 0) then goto B228 end +do +end +::C228:: +end +end +::B228:: +end +end +end +::L225:: +end +do return v_A end +end + +F.flA = function(v_A, v_r) +local v_e = 0 +v_e = 0 +v_e = (-24832) +if (not (bor(((not (v_r ~= 0)) and 1 or 0), ((not (v_A ~= 0)) and 1 or 0)) ~= 0)) then +v_e = v_A +I32[arshift(v_e, 2)] = tobit(0) +I32[arshift((v_e + 4), 2)] = tobit(0) +I32[arshift((v_e + 56), 2)] = tobit(0) +I32[arshift((v_e + 60), 2)] = tobit(0) +I32[arshift((v_e + 48), 2)] = tobit(0) +I32[arshift((v_e + 52), 2)] = tobit(0) +I32[arshift((v_e + 40), 2)] = tobit(0) +I32[arshift((v_e + 44), 2)] = tobit(0) +I32[arshift((v_e + 32), 2)] = tobit(0) +I32[arshift((v_e + 36), 2)] = tobit(0) +I32[arshift((v_e + 24), 2)] = tobit(0) +I32[arshift((v_e + 28), 2)] = tobit(0) +I32[arshift((v_e + 16), 2)] = tobit(0) +I32[arshift((v_e + 20), 2)] = tobit(0) +I32[arshift((v_e + 8), 2)] = tobit(0) +I32[arshift((v_e + 12), 2)] = tobit(0) +v_e = bor(0, UA[I32[arshift((I32[arshift((v_r + 28), 2)] + 32), 2)]]()) +I32[arshift((v_A + 60), 2)] = tobit(v_e) +if (not (v_e ~= 0)) then +do return (-24960) end +end +I32[arshift(v_A, 2)] = tobit(v_r) +v_e = 0 +if (2 == I32[arshift((v_r + 4), 2)]) then +I32[arshift((v_A + 16), 2)] = tobit(50) +I32[arshift((v_A + 12), 2)] = tobit(51) +end +end +do return v_e end +end + +F.fbA = function(v_A) +local v_r, v_e, v_t, v_o, v_i = 0, 0, 0, 0, 0 +do +v_r = 0 +v_e = 0 +v_t = 0 +v_o = 0 +v_i = 0 +while true do +v_r = v_A +v_A = tobit((v_r + 1)) +v_e = I8[bor(0, v_r)] +if not (bor(((32 == bor(0, v_e)) and 1 or 0), (((tobit((v_e - 9)) % 4294967296) < 5) and 1 or 0)) ~= 0) then goto B229 end +do +end +::C229:: +end +end +::B229:: +do +do +v_e = I8[bor(0, v_r)] +do +local sw232 = tobit((v_e - 43)) +if sw232 == 0 then goto K232_0 +elseif sw232 == 2 then goto K232_1 +else goto K232_2 end +::K232_0:: +do +goto L231 +end +::K232_1:: +do +goto S232 +end +::K232_2:: +do +goto L230 +end +end +::S232:: +v_o = 1 +end +::L231:: +v_e = I8[bor(0, v_A)] +v_r = v_A +v_i = v_o +end +::L230:: +do +if (F.fRA(v_e) ~= 0) then +do +v_A = 0 +while true do +do +v_t = tobit((48 + tobit((v_A - I8[bor(0, v_r)])))) +if (not (F.fRA(I8[tobit((v_r + 1))]) ~= 0)) then +goto L233 +end +v_r = tobit((v_r + 1)) +v_A = imul(v_t, 10) +end +::C234:: +end +end +::B234:: +end +end +::L233:: +do return ((v_i ~= 0) and v_t or tobit((0 - v_t))) end +end + +F.fvA = function(v_A, v_r, v_e) +local v_n, v_t = 0, 0 +v_n = 0 +v_t = 0 +do +F.fJ(v_A, v_e) +F.fJ(tobit((v_r + 128)), tobit((v_e + 8))) +F.fJ(tobit((v_A + 256)), tobit((v_e + 16))) +v_e = 0 +while true do +v_n = lshift(v_e, 2) +v_t = tobit((v_n + v_r)) +I32[arshift(v_t, 2)] = tobit(I32[arshift((lshift((94 - v_e), 2) + v_A), 2)]) +I32[arshift((bor(4, v_n) + v_r), 2)] = tobit(I32[arshift((lshift((95 - v_e), 2) + v_A), 2)]) +v_n = tobit((v_A + v_n)) +I32[arshift((128 + v_n), 2)] = tobit(I32[arshift((lshift((62 - v_e), 2) + v_r), 2)]) +I32[arshift((v_n + 132), 2)] = tobit(I32[arshift((lshift((63 - v_e), 2) + v_r), 2)]) +I32[arshift((v_t + 256), 2)] = tobit(I32[arshift((lshift((30 - v_e), 2) + v_A), 2)]) +I32[arshift((v_t + 260), 2)] = tobit(I32[arshift((lshift((31 - v_e), 2) + v_A), 2)]) +v_n = (((tobit(v_e) % 4294967296) < 30) and 1 or 0) +v_e = tobit((v_e + 2)) +if not (v_n ~= 0) then goto B235 end +do +end +::C235:: +end +end +::B235:: +end + +F.fgA = function(v_A, v_r, v_e) +local v_t, v_o, v_f = 0, 0, 0 +v_f = 0 +v_o = tobit((B - 16)) +B = v_o +I32[arshift((v_o + 12), 2)] = tobit(v_e) +v_t = tobit((B - 160)) +B = v_t +F.fTA(tobit((v_t + 8)), 12288, 144) +I32[arshift((v_t + 52), 2)] = tobit(v_A) +I32[arshift((v_t + 28), 2)] = tobit(v_A) +v_f = tobit(((-2) - v_A)) +v_f = (((tobit(v_f) % 4294967296) < 2147483647) and v_f or 2147483647) +I32[arshift((v_t + 56), 2)] = tobit(v_f) +v_A = tobit((v_A + v_f)) +I32[arshift((v_t + 36), 2)] = tobit(v_A) +I32[arshift((v_t + 24), 2)] = tobit(v_A) +F.ffA(tobit((v_t + 8)), v_r, v_e, 0, 0) +if (v_f ~= 0) then +v_A = I32[arshift((v_t + 28), 2)] +I8[tobit((v_A - ((bor(0, v_A) == I32[arshift((v_t + 24), 2)]) and 1 or 0)))] = tobit(0) +end +B = tobit((v_t + 160)) +B = tobit((v_o + 16)) +end + +F.fpA = function(v_A) +local v_r, v_e, v_n = 0, 0, 0 +v_r = 0 +v_e = 0 +v_n = 0 +do +do +do +v_r = v_A +if (band(3, v_r) ~= 0) then +do +while true do +do +if (not (U8[bor(0, v_r)] ~= 0)) then +goto L236 +end +v_r = tobit((v_r + 1)) +if (not (band(3, v_r) ~= 0)) then +goto B237 +end +end +::C237:: +end +end +::B237:: +end +do +do +while true do +do +v_e = v_r +v_r = tobit((v_r + 4)) +local t281 = (-1) +v_n = I32[arshift(v_e, 2)] +if not (not (band(band(bxor(t281, v_n), (v_n - 16843009)), (-2139062144)) ~= 0)) then goto B238 end +end +do +end +::C238:: +end +end +::B238:: +end +if (not (band(255, v_n) ~= 0)) then +do return tobit((v_e - v_A)) end +end +do +while true do +v_n = U8[tobit((v_e + 1))] +v_r = tobit((v_e + 1)) +v_e = v_r +if not (v_n ~= 0) then goto B239 end +do +end +::C239:: +end +end +::B239:: +end +end +::L236:: +end +do return tobit((v_r - v_A)) end +end + +F.fdA = function(v_A, v_r, v_e) +local v_t, v_o, v_i = 0, 0, 0 +v_t = 0 +v_o = 0 +v_i = 0 +if ((tobit(v_r) % 4294967296) < 1) then +v_t = v_A +else +do +while true do +v_t = F.fS_(v_A, v_r, 10) +v_o = Iv +v_i = v_o +v_o = F.fCA(v_t, v_o, 10, 0) +v_e = tobit((v_e - 1)) +I8[bor(0, v_e)] = tobit(bor((v_A - v_o), 48)) +v_o = (((tobit(v_r) % 4294967296) > 9) and 1 or 0) +v_A = v_t +v_r = v_i +if not (v_o ~= 0) then goto B240 end +do +end +::C240:: +end +end +::B240:: +end +if (v_t ~= 0) then +do +while true do +v_A = tobit(toint(((tobit(v_t) % 4294967296) / 10))) +v_e = tobit((v_e - 1)) +I8[bor(0, v_e)] = tobit(bor((v_t - imul(v_A, 10)), 48)) +v_r = (((tobit(v_t) % 4294967296) > 9) and 1 or 0) +v_t = v_A +if not (v_r ~= 0) then goto B241 end +do +end +::C241:: +end +end +::B241:: +end +do return v_e end +end + +F.fhA = function(v_A) +local v_r = 0 +v_r = 0 +do +if (v_A ~= 0) then +do +v_r = 266 +while true do +do +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +if (not (v_r ~= 0)) then +goto L242 +end +v_A = tobit((v_A + 14)) +v_r = tobit((v_r - 14)) +end +::C243:: +end +end +::B243:: +end +end +::L242:: +end + +F.fkA = function(v_A, v_r) +local v_e, v_n, v_t = 0, 0, 0 +v_t = 0 +rf_s(v_A) +v_t = bor(0, rf_a(1)) +v_e = bor(0, rf_a(0)) +v_n = v_t +v_t = band((rshift(v_t, 20) % 4294967296), 2047) +if (2047 ~= bor(0, v_t)) then +if (not (v_t ~= 0)) then +v_t = v_r +if (0 == v_A) then +v_r = 0 +else +v_A = F.fkA((18446744073709552000 * v_A), v_r) +v_r = tobit((I32[arshift(v_r, 2)] + (-64))) +end +I32[arshift(v_t, 2)] = tobit(v_r) +do return v_A end +end +I32[arshift(v_r, 2)] = tobit((v_t - 1022)) +rf_u(0, bor(0, v_e)) +rf_u(1, bor(band((-2146435073), v_n), 1071644672)) +v_A = rf_c() +end +do return v_A end +end + +F.fyA = function(v_A) +local v_r = 0 +v_r = 0 +do +F.fAA(v_A) +v_r = 378 +while true do +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +if not (v_r ~= 0) then goto B244 end +do +v_A = tobit((v_A + 14)) +v_r = tobit((v_r - 14)) +end +::C244:: +end +end +::B244:: +end + +F.fwA = function(v_A, v_r, v_e) +local v_n, v_t = 0, 0 +v_n = 0 +v_t = 0 +if (not (v_e ~= 0)) then +do return 0 end +end +do +v_n = U8[bor(0, v_A)] +if (v_n ~= 0) then +do +while true do +do +v_t = U8[bor(0, v_r)] +if (not (v_t ~= 0)) then +goto L245 +end +v_e = tobit((v_e - 1)) +if (not (v_e ~= 0)) then +goto L245 +end +if (bor(0, v_n) ~= bor(0, v_t)) then +goto L245 +end +v_r = tobit((v_r + 1)) +v_n = U8[tobit((v_A + 1))] +v_A = tobit((v_A + 1)) +if (not (v_n ~= 0)) then +goto B246 +end +end +::C246:: +end +end +::B246:: +end +v_n = 0 +end +::L245:: +do return tobit((v_n - U8[bor(0, v_r)])) end +end + +F.fCA = function(v_A, v_r, v_e, v_n) +local v_t, v_o, v_i, v_f, v_a, v_u = 0, 0, 0, 0, 0, 0 +v_a = 0 +v_u = 0 +do +v_a = tobit((rshift(v_e, 16) % 4294967296)) +local t282 = v_a +v_u = tobit((rshift(v_A, 16) % 4294967296)) +v_f = imul(t282, v_u) +v_t = band(65535, v_e) +local t283 = v_t +v_o = band(65535, v_A) +v_i = imul(t283, v_o) +v_u = tobit((tobit((rshift(v_i, 16) % 4294967296)) + imul(v_u, v_t))) +v_a = tobit((band(65535, v_u) + imul(v_a, v_o))) +Iv = tobit((((tobit((imul(v_r, v_e) + v_f)) + imul(v_A, v_n)) + (rshift(v_u, 16) % 4294967296)) + (rshift(v_a, 16) % 4294967296))) +do return bor(band(65535, v_i), lshift(v_a, 16)) end +end +end + +F.fIA = function(v_A, v_r, v_e, v_n, v_t) +local v_o = 0 +do +v_o = tobit((B - 256)) +B = v_o +if (not (bor(band(73728, v_t), ((bor(0, v_e) <= bor(0, v_n)) and 1 or 0)) ~= 0)) then +do +do +local t284 = v_o +local t285 = band(255, v_r) +v_e = tobit((v_e - v_n)) +v_n = (((tobit(v_e) % 4294967296) < 256) and 1 or 0) +F.fKA(t284, t285, ((v_n ~= 0) and v_e or 256)) +if (not (v_n ~= 0)) then +do +while true do +F.fiA(v_A, v_o, 256) +v_e = tobit((v_e - 256)) +if not ((tobit(v_e) % 4294967296) > 255) then goto B247 end +do +end +::C247:: +end +end +::B247:: +end +end +F.fiA(v_A, v_o, v_e) +end +end +end +B = tobit((v_o + 256)) +end + +F.fBA = function(v_A, v_r) +local v_e, v_n, v_t = 0, 0, 0 +v_e = 0 +v_n = 0 +v_t = 0 +v_n = 10112 +do +do +do +do +v_e = I32[2529] +if (v_e ~= 0) then +do +do +while true do +do +do +do +v_t = v_n +local t286 = ((1 ~= I32[arshift((v_e + 4), 2)]) and 1 or 0) +if t286 == 0 then +t286 = bor(((I32[arshift(I32[arshift((v_e + 28), 2)], 2)] ~= bor(0, v_A)) and 1 or 0), ((I32[arshift((v_e + 8), 2)] ~= bor(0, v_r)) and 1 or 0)) +end +if (not (t286 ~= 0)) then +goto L248 +end +end +v_n = tobit((v_t + 8)) +v_e = I32[arshift((v_t + 12), 2)] +if (not (v_e ~= 0)) then +goto B249 +end +end +end +::C249:: +end +end +::B249:: +end +end +end +v_e = 0 +end +end +::L248:: +end +do return v_e end +end + +F.fEA = function(v_A, v_r, v_e) +local v_n, v_t = 0, 0 +v_n = 0 +v_t = 0 +do +v_t = (-24832) +if (v_A ~= 0) then +v_n = I32[arshift(v_A, 2)] +local t288 = (not (v_n ~= 0)) +local t287 = ((I32[arshift((v_n + 8), 2)] == bor(0, v_e)) and 1 or 0) +if t287 == 0 then +t287 = band(2, U8[tobit((v_n + 20))]) +end +if not (bor((t288 and 1 or 0), ((not (t287 ~= 0)) and 1 or 0)) ~= 0) then +I32[arshift((v_A + 8), 2)] = tobit(1) +I32[arshift((v_A + 4), 2)] = tobit(v_e) +v_t = bor(0, UA[I32[arshift((I32[arshift((v_n + 28), 2)] + 24), 2)]](I32[arshift((v_A + 60), 2)], v_r, v_e)) +end +end +do return v_t end +end +end + +F.fmA = function(v_A) +local v_r, v_n = 0, 0 +do +v_r = I32[3375] +local t289 = v_r +v_n = band((v_A + 3), (-4)) +v_A = tobit((t289 + v_n)) +local t290 +if ((((tobit(v_A) % 4294967296) <= (tobit(v_r) % 4294967296)) and (v_n ~= 0)) or (((tobit(v_A) % 4294967296) > (tobit(lshift(tobit(toint((16777216 / 65536))), 16)) % 4294967296)) and (not (bor(0, imp_f(bor(0, v_A))) ~= 0)))) then +I32[5596] = tobit(48) +t290 = (-1) +else +I32[3375] = tobit(v_A) +t290 = v_r +end +do return t290 end +end +end + +F.fQA = function(v_A) +local v_r, v_e, v_t = 0, 0, 0 +v_r = 0 +v_e = 0 +v_t = 0 +do +if (F.fRA(I8[I32[arshift(v_A, 2)]]) ~= 0) then +do +while true do +do +v_e = I32[arshift(v_A, 2)] +v_t = I8[bor(0, v_e)] +I32[arshift(v_A, 2)] = tobit((v_e + 1)) +v_r = tobit((tobit((v_r + v_t)) - 48)) +if (not (F.fRA(I8[tobit((v_e + 1))]) ~= 0)) then +goto L250 +end +v_r = imul(v_r, 10) +end +::C251:: +end +end +::B251:: +end +end +::L250:: +do return v_r end +end + +F.fSA = function(v_A, v_r) +local v_e, v_n = 0, 0 +v_e = 0 +v_n = 0 +v_e = 0 +if (v_A ~= 0) then +v_n = F.fCA(v_A, 0, v_r, 0) +v_e = v_n +if not ((tobit(bor(v_A, v_r)) % 4294967296) < 65536) then +v_e = ((Iv ~= 0) and (-1) or v_n) +end +end +v_r = v_e +v_A = F.fm(v_r) +if not (bor(((not (v_A ~= 0)) and 1 or 0), ((not (band(3, U8[tobit((v_A - 4))]) ~= 0)) and 1 or 0)) ~= 0) then +F.fKA(v_A, 0, v_r) +end +do return v_A end +end + +F.fOA = function(v_A, v_r, v_e) +local v_n, v_t, v_o = 0, 0, 0 +v_n = 0 +v_t = 0 +v_o = 0 +do +do +do +if (v_e ~= 0) then +do +do +do +while true do +do +do +do +v_n = U8[bor(0, v_A)] +local t291 = bor(0, v_n) +v_t = U8[bor(0, v_r)] +if (t291 == bor(0, v_t)) then +v_r = tobit((v_r + 1)) +v_A = tobit((v_A + 1)) +v_e = tobit((v_e - 1)) +if (v_e ~= 0) then +goto C253 +end +goto L252 +end +end +goto B253 +end +end +::C253:: +end +end +::B253:: +end +v_o = tobit((v_n - v_t)) +end +end +end +end +::L252:: +end +do return v_o end +end + +F.fxA = function() +local v_A, v_r = 0, 0 +v_r = 0 +v_A = tobit((F.fCA(I32[7934], I32[7935], 1284865837, 1481765933) + 1)) +v_r = Iv +v_r = (((tobit(v_A) % 4294967296) < 1) and tobit((v_r + 1)) or v_r) +I32[7934] = tobit(v_A) +I32[7935] = tobit(v_r) +do return tobit((rshift(v_r, 1) % 4294967296)) end +end + +F.fMA = function(v_A, v_r, v_e, v_n) +local v_t = 0 +v_t = 0 +v_t = (-13) +v_r = F.fBA(v_r, v_n) +if not (bor(((not (v_r ~= 0)) and 1 or 0), ((16 ~= I32[arshift((v_r + 24), 2)]) and 1 or 0)) ~= 0) then +F.fAA(v_A) +v_t = F.flA(v_A, v_r) +if not (v_t ~= 0) then +v_t = F.fEA(v_A, v_e, v_n) +end +end +do return v_t end +end + +F.fjA = function(v_A) + +I32[arshift((v_A + 8), 2)] = tobit(1732584193) +I32[arshift((v_A + 12), 2)] = tobit((-271733879)) +I32[arshift(v_A, 2)] = tobit(0) +I32[arshift((v_A + 4), 2)] = tobit(0) +I32[arshift((v_A + 16), 2)] = tobit((-1732584194)) +I32[arshift((v_A + 20), 2)] = tobit(271733878) +end + +F.fTA = function(v_A, v_r, v_e) +local v_t = 0 +v_t = 0 +if (v_e ~= 0) then +do +v_t = v_A +while true do +I8[bor(0, v_t)] = tobit(U8[bor(0, v_r)]) +v_t = tobit((v_t + 1)) +v_r = tobit((v_r + 1)) +v_e = tobit((v_e - 1)) +if not (v_e ~= 0) then goto B254 end +do +end +::C254:: +end +end +::B254:: +end +do return v_A end +end + +F.fKA = function(v_A, v_r, v_e) +local v_t = 0 +v_t = 0 +if (v_e ~= 0) then +do +v_t = v_A +while true do +I8[bor(0, v_t)] = tobit(v_r) +v_t = tobit((v_t + 1)) +v_e = tobit((v_e - 1)) +if not (v_e ~= 0) then goto B255 end +do +end +::C255:: +end +end +::B255:: +end +do return v_A end +end + +F.fPA = function(v_A, v_r) +local v_e = 0 +v_e = 0 +do +local t292 = (-1) +v_e = band(31, v_r) +local t295 = lshift(band((rshift(t292, v_e) % 4294967296), v_A), v_e) +v_e = v_A +local t294 = v_e +local t293 = (-1) +v_A = band((0 - v_r), 31) +do return bor(t295, (rshift(band(t294, lshift(t293, v_A)), v_A) % 4294967296)) end +end +end + +F.fRA = function(v_A) + +do return (((tobit((v_A - 48)) % 4294967296) < 10) and 1 or 0) end +end + +F.fDA = function(v_A) + +F.fKA(v_A, 0, 280) +end + +F.fUA = function(v_A) + +F.fKA(v_A, 0, 128) +end + +F.fLA = function(v_A) + +F.fKA(v_A, 0, 392) +end + +F.fHA = function(v_A) + +F.fKA(v_A, 0, 88) +end + +UA[1] = function(v_A, v_r, v_e, v_n) + +v_A = tobit(v_A) +v_e = tobit(v_e) +v_n = tobit(v_n) +v_r = tobit(v_r) +if (1 ~= bor(0, v_r)) then +F.fj(v_A, v_e, v_n) +else +F.fT(v_A, v_e, v_n) +end +do return 0 end +end +UA[2] = function(v_A, v_r, v_e, v_n, v_t, v_o) + +do +v_A = tobit(v_A) +local t296 = v_A +v_r = tobit(v_r) +local t297 = v_r +v_e = tobit(v_e) +local t298 = v_e +v_n = tobit(v_n) +local t299 = v_n +v_t = tobit(v_t) +local t300 = v_t +v_o = tobit(v_o) +do return bor(0, F.fR(t296, t297, t298, t299, t300, v_o)) end +end +end +UA[3] = function(v_A, v_r, v_e, v_t, v_o, v_a, v_u) +local v_c, v_s = 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_o = tobit(v_o) +v_a = tobit(v_a) +v_u = tobit(v_u) +v_c = 0 +v_s = 0 +v_t = tobit(v_t) +v_c = I32[arshift(v_t, 2)] +do +if (v_r ~= 0) then +if (not (v_e ~= 0)) then +goto L256 +end +do +while true do +v_e = tobit((v_e - 1)) +if not (v_c ~= 0) then +F.fT(v_A, v_o, v_o) +end +v_r = tobit((v_o + v_c)) +v_s = bxor(U8[bor(0, v_a)], U8[bor(0, v_r)]) +I8[bor(0, v_u)] = tobit(v_s) +I8[bor(0, v_r)] = tobit(v_s) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 15) +if not (v_e ~= 0) then goto B257 end +do +end +::C257:: +end +end +::B257:: +else +if (v_e ~= 0) then +do +while true do +v_e = tobit((v_e - 1)) +if not (v_c ~= 0) then +F.fT(v_A, v_o, v_o) +end +v_s = U8[bor(0, v_a)] +v_r = tobit((v_o + v_c)) +I8[bor(0, v_u)] = tobit(bxor(v_s, U8[bor(0, v_r)])) +I8[bor(0, v_r)] = tobit(v_s) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 15) +if not (v_e ~= 0) then goto B258 end +do +end +::C258:: +end +end +::B258:: +end +end +end +::L256:: +I32[arshift(v_t, 2)] = tobit(v_c) +do return 0 end +end +UA[4] = function(v_A, v_r, v_e, v_t, v_o, v_a, v_u) +local v_c, v_s, v_l, v_b = 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_t = tobit(v_t) +v_o = tobit(v_o) +v_a = tobit(v_a) +v_u = tobit(v_u) +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_e = tobit(v_e) +v_c = I32[arshift(v_e, 2)] +if (v_r ~= 0) then +do +while true do +do +v_r = tobit((v_r - 1)) +do +if (not (v_c ~= 0)) then +do +F.fT(v_A, v_t, v_o) +v_s = 16 +while true do +do +if (not (v_s ~= 0)) then +goto L260 +end +v_s = tobit((v_s - 1)) +v_b = tobit((v_s + v_t)) +v_l = tobit((U8[bor(0, v_b)] + 1)) +I8[bor(0, v_b)] = tobit(v_l) +if (bor(0, v_l) == band(255, v_l)) then +goto B261 +end +end +::C261:: +end +end +::B261:: +end +end +::L260:: +I8[bor(0, v_u)] = tobit(bxor(U8[tobit((v_o + v_c))], U8[bor(0, v_a)])) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 15) +if (not (v_r ~= 0)) then +goto B259 +end +end +::C259:: +end +end +::B259:: +end +I32[arshift(v_e, 2)] = tobit(v_c) +do return 0 end +end +UA[5] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t301 = v_A +v_r = tobit(v_r) +local t302 = v_r +v_e = tobit(v_e) +do return bor(0, F.fx(t301, t302, v_e)) end +end +end +UA[6] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t303 = v_A +v_r = tobit(v_r) +local t304 = v_r +v_e = tobit(v_e) +do return bor(0, F.fz(t303, t304, v_e)) end +end +end +UA[7] = function() +local v_A = 0 +v_A = F.fSA(1, 280) +if (v_A ~= 0) then +F.fDA(v_A) +end +do return bor(0, v_A) end +end +UA[8] = function(v_A) + +v_A = tobit(v_A) +F.fhA(v_A) +F.fU(v_A) +end +UA[9] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t305 = v_A +v_r = tobit(v_r) +local t306 = v_r +v_e = tobit(v_e) +do return bor(0, F.fF(t305, 2, t306, v_e)) end +end +end +UA[10] = function() +local v_A = 0 +v_A = F.fSA(1, 392) +if (v_A ~= 0) then +F.fLA(v_A) +end +do return bor(0, v_A) end +end +UA[11] = function(v_A) + +v_A = tobit(v_A) +F.fyA(v_A) +F.fU(v_A) +end +UA[12] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t307 = v_A +v_r = tobit(v_r) +local t308 = v_r +v_e = tobit(v_e) +do return bor(0, F.fMA(t307, 2, t308, v_e)) end +end +end +UA[13] = function() +local v_A, v_r = 0, 0 +v_r = 0 +v_A = F.fSA(1, 64) +if (v_A ~= 0) then +v_r = v_A +I32[arshift(v_r, 2)] = tobit(0) +I32[arshift((v_r + 4), 2)] = tobit(0) +I32[arshift((v_r + 56), 2)] = tobit(0) +I32[arshift((v_r + 60), 2)] = tobit(0) +I32[arshift((v_r + 48), 2)] = tobit(0) +I32[arshift((v_r + 52), 2)] = tobit(0) +I32[arshift((v_r + 40), 2)] = tobit(0) +I32[arshift((v_r + 44), 2)] = tobit(0) +I32[arshift((v_r + 32), 2)] = tobit(0) +I32[arshift((v_r + 36), 2)] = tobit(0) +I32[arshift((v_r + 24), 2)] = tobit(0) +I32[arshift((v_r + 28), 2)] = tobit(0) +I32[arshift((v_r + 16), 2)] = tobit(0) +I32[arshift((v_r + 20), 2)] = tobit(0) +I32[arshift((v_r + 8), 2)] = tobit(0) +I32[arshift((v_r + 12), 2)] = tobit(0) +end +do return bor(0, v_A) end +end +UA[14] = function(v_A) + +v_A = tobit(v_A) +F.fAA(v_A) +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +I8[tobit((v_A + 14))] = tobit(0) +I8[tobit((v_A + 15))] = tobit(0) +I8[tobit((v_A + 16))] = tobit(0) +I8[tobit((v_A + 17))] = tobit(0) +I8[tobit((v_A + 18))] = tobit(0) +I8[tobit((v_A + 19))] = tobit(0) +I8[tobit((v_A + 20))] = tobit(0) +I8[tobit((v_A + 21))] = tobit(0) +I8[tobit((v_A + 22))] = tobit(0) +I8[tobit((v_A + 23))] = tobit(0) +I8[tobit((v_A + 24))] = tobit(0) +I8[tobit((v_A + 25))] = tobit(0) +I8[tobit((v_A + 26))] = tobit(0) +I8[tobit((v_A + 27))] = tobit(0) +I8[tobit((v_A + 28))] = tobit(0) +I8[tobit((v_A + 29))] = tobit(0) +I8[tobit((v_A + 30))] = tobit(0) +I8[tobit((v_A + 31))] = tobit(0) +I8[tobit((v_A + 32))] = tobit(0) +I8[tobit((v_A + 33))] = tobit(0) +I8[tobit((v_A + 34))] = tobit(0) +I8[tobit((v_A + 35))] = tobit(0) +I8[tobit((v_A + 36))] = tobit(0) +I8[tobit((v_A + 37))] = tobit(0) +I8[tobit((v_A + 38))] = tobit(0) +I8[tobit((v_A + 39))] = tobit(0) +I8[tobit((v_A + 40))] = tobit(0) +I8[tobit((v_A + 41))] = tobit(0) +I8[tobit((v_A + 42))] = tobit(0) +I8[tobit((v_A + 43))] = tobit(0) +I8[tobit((v_A + 44))] = tobit(0) +I8[tobit((v_A + 45))] = tobit(0) +I8[tobit((v_A + 46))] = tobit(0) +I8[tobit((v_A + 47))] = tobit(0) +I8[tobit((v_A + 48))] = tobit(0) +I8[tobit((v_A + 49))] = tobit(0) +I8[tobit((v_A + 50))] = tobit(0) +I8[tobit((v_A + 51))] = tobit(0) +I8[tobit((v_A + 52))] = tobit(0) +I8[tobit((v_A + 53))] = tobit(0) +I8[tobit((v_A + 54))] = tobit(0) +I8[tobit((v_A + 55))] = tobit(0) +I8[tobit((v_A + 56))] = tobit(0) +I8[tobit((v_A + 57))] = tobit(0) +I8[tobit((v_A + 58))] = tobit(0) +I8[tobit((v_A + 59))] = tobit(0) +I8[tobit((v_A + 60))] = tobit(0) +I8[tobit((v_A + 61))] = tobit(0) +I8[tobit((v_A + 62))] = tobit(0) +I8[tobit((v_A + 63))] = tobit(0) +F.fU(v_A) +end +UA[15] = function(v_A, v_r, v_e, v_t) +local v_o, v_a, v_u, v_c, v_s, v_l, v_b, v_v = 0, 0, 0, 0, 0, 0, 0, 0 +v_r = tobit(v_r) +v_e = tobit(v_e) +v_t = tobit(v_t) +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_v = 0 +do +v_A = tobit(v_A) +v_o = I32[arshift((4 + v_A), 2)] +v_a = I32[arshift(v_A, 2)] +if (v_r ~= 0) then +do +do +v_c = tobit((v_A + 8)) +while true do +do +local t309 = v_c +v_a = band((v_a + 1), 255) +v_l = tobit((t309 + v_a)) +v_s = U8[bor(0, v_l)] +local t310 = v_c +v_o = band((v_s + v_o), 255) +v_b = tobit((t310 + v_o)) +v_v = U8[bor(0, v_b)] +I8[bor(0, v_l)] = tobit(v_v) +I8[bor(0, v_b)] = tobit(v_s) +I8[tobit((v_t + v_u))] = tobit(bxor(U8[tobit((band((v_s + v_v), 255) + v_c))], U8[tobit((v_e + v_u))])) +v_u = tobit((v_u + 1)) +if not (bor(0, v_u) ~= bor(0, v_r)) then goto B262 end +end +do +end +::C262:: +end +end +::B262:: +end +end +end +I32[arshift((v_A + 4), 2)] = tobit(v_o) +I32[arshift(v_A, 2)] = tobit(v_a) +do return 0 end +end +UA[16] = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s = 0, 0, 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +do +v_e = tobit(v_e) +if (band(7, v_e) ~= 0) then +v_A = (-24832) +else +do +do +do +v_s = tobit((rshift(v_e, 3) % 4294967296)) +v_e = 0 +I32[arshift(v_A, 2)] = tobit(0) +I32[arshift((v_A + 4), 2)] = tobit(0) +while true do +do +v_o = tobit((v_A + 8)) +I8[tobit((v_o + v_e))] = tobit(v_e) +v_t = bor(1, v_e) +I8[tobit((v_t + v_o))] = tobit(v_t) +v_t = bor(2, v_e) +I8[tobit((v_t + v_o))] = tobit(v_t) +v_t = bor(3, v_e) +I8[tobit((v_t + v_o))] = tobit(v_t) +v_t = bor(4, v_e) +I8[tobit((v_t + v_o))] = tobit(v_t) +v_t = bor(5, v_e) +I8[tobit((v_t + v_o))] = tobit(v_t) +v_t = bor(6, v_e) +I8[tobit((v_t + v_o))] = tobit(v_t) +v_t = v_o +local t311 = v_t +v_o = bor(7, v_e) +I8[tobit((t311 + v_o))] = tobit(v_o) +v_e = tobit((v_e + 8)) +if not (256 ~= bor(0, v_e)) then goto B263 end +end +do +end +::C263:: +end +end +::B263:: +end +do +do +v_A = tobit((v_A + 8)) +v_e = 0 +v_o = 0 +while true do +do +v_t = (((tobit(v_e) % 4294967296) < (tobit(v_s) % 4294967296)) and v_e or 0) +v_u = tobit((v_A + v_a)) +v_c = U8[bor(0, v_u)] +local t312 = v_A +v_o = band((U8[tobit((v_t + v_r))] + tobit((v_c + v_o))), 255) +v_e = tobit((t312 + v_o)) +I8[bor(0, v_u)] = tobit(U8[bor(0, v_e)]) +I8[bor(0, v_e)] = tobit(v_c) +v_e = tobit((v_t + 1)) +v_a = tobit((v_a + 1)) +if not (256 ~= bor(0, v_a)) then goto B264 end +end +do +end +::C264:: +end +end +::B264:: +end +v_A = 0 +end +end +end +do return bor(0, v_A) end +end +UA[17] = function() +local v_A = 0 +v_A = F.fSA(1, 264) +if (v_A ~= 0) then +F.fKA(v_A, 0, 264) +end +do return bor(0, v_A) end +end +UA[18] = function(v_A) +local v_r, v_e = 0, 0 +v_r = 0 +v_e = 0 +do +v_A = tobit(v_A) +v_r = v_A +if (v_r ~= 0) then +do +v_e = 252 +while true do +do +I8[bor(0, v_r)] = tobit(0) +I8[tobit((v_r + 1))] = tobit(0) +I8[tobit((v_r + 2))] = tobit(0) +I8[tobit((v_r + 3))] = tobit(0) +I8[tobit((v_r + 4))] = tobit(0) +I8[tobit((v_r + 5))] = tobit(0) +I8[tobit((v_r + 6))] = tobit(0) +I8[tobit((v_r + 7))] = tobit(0) +I8[tobit((v_r + 8))] = tobit(0) +I8[tobit((v_r + 9))] = tobit(0) +I8[tobit((v_r + 10))] = tobit(0) +I8[tobit((v_r + 11))] = tobit(0) +if (not (v_e ~= 0)) then +goto L265 +end +v_r = tobit((v_r + 12)) +v_e = tobit((v_e - 12)) +end +::C266:: +end +end +::B266:: +end +end +::L265:: +F.fU(v_A) +end +UA[19] = function(v_A, v_r, v_e, v_n) + +do +v_A = tobit(v_A) +local t313 = v_A +v_r = tobit(v_r) +local t314 = v_r +v_e = tobit(v_e) +local t315 = v_e +v_n = tobit(v_n) +do return bor(0, F.feA(t313, t314, t315, v_n)) end +end +end +UA[20] = function(v_A, v_r, v_e, v_t, v_o, v_i) +local v_a, v_u, v_c = 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_t = tobit(v_t) +v_o = tobit(v_o) +v_i = tobit(v_i) +v_a = 0 +v_u = 0 +v_c = 0 +v_c = (-24) +do +v_e = tobit(v_e) +if (not (band(7, v_e) ~= 0)) then +if (v_r ~= 0) then +v_c = 0 +if (not (v_e ~= 0)) then +goto L267 +end +do +v_a = U8[bor(0, v_t)] +while true do +I8[bor(0, v_i)] = tobit(bxor(U8[bor(0, v_o)], v_a)) +I8[tobit((v_i + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_o + 1))])) +I8[tobit((v_i + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_o + 2))])) +I8[tobit((v_i + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_o + 3))])) +I8[tobit((v_i + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_o + 4))])) +I8[tobit((v_i + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_o + 5))])) +I8[tobit((v_i + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_o + 6))])) +I8[tobit((v_i + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_o + 7))])) +F.feA(v_A, v_r, v_i, v_i) +v_u = bor(bor(bor(U8[tobit((v_i + 4))], lshift(U8[tobit((v_i + 5))], 8)), lshift(U8[tobit((v_i + 6))], 16)), lshift(U8[tobit((v_i + 7))], 24)) +v_a = bor(bor(bor(U8[bor(0, v_i)], lshift(U8[tobit((v_i + 1))], 8)), lshift(U8[tobit((v_i + 2))], 16)), lshift(U8[tobit((v_i + 3))], 24)) +I8[bor(0, v_t)] = tobit(v_a) +I8[tobit((v_t + 1))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_a, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_u) +I8[tobit((v_t + 5))] = tobit((rshift(v_u, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_u, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_u, 24) % 4294967296)) +v_i = tobit((v_i + 8)) +v_o = tobit((v_o + 8)) +v_e = tobit((v_e - 8)) +if not (v_e ~= 0) then goto B268 end +do +end +::C268:: +end +end +::B268:: +else +v_c = 0 +if (v_e ~= 0) then +do +while true do +v_a = bor(bor(bor(U8[tobit((v_o + 4))], lshift(U8[tobit((v_o + 5))], 8)), lshift(U8[tobit((v_o + 6))], 16)), lshift(U8[tobit((v_o + 7))], 24)) +v_r = bor(bor(bor(U8[bor(0, v_o)], lshift(U8[tobit((v_o + 1))], 8)), lshift(U8[tobit((v_o + 2))], 16)), lshift(U8[tobit((v_o + 3))], 24)) +F.feA(v_A, 0, v_o, v_i) +I8[bor(0, v_i)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_i)])) +I8[tobit((v_i + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_i + 1))])) +I8[tobit((v_i + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_i + 2))])) +I8[tobit((v_i + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_i + 3))])) +I8[tobit((v_i + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_i + 4))])) +I8[tobit((v_i + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_i + 5))])) +I8[tobit((v_i + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_i + 6))])) +I8[tobit((v_i + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_i + 7))])) +I8[bor(0, v_t)] = tobit(v_r) +I8[tobit((v_t + 1))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_r, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_a) +I8[tobit((v_t + 5))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_a, 24) % 4294967296)) +v_i = tobit((v_i + 8)) +v_o = tobit((v_o + 8)) +v_e = tobit((v_e - 8)) +if not (v_e ~= 0) then goto B269 end +do +end +::C269:: +end +end +::B269:: +end +end +end +end +::L267:: +do return bor(0, v_c) end +end +UA[21] = function(v_A, v_r, v_e, v_t, v_o, v_a, v_u) +local v_c, v_s = 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_o = tobit(v_o) +v_a = tobit(v_a) +v_u = tobit(v_u) +v_c = 0 +v_s = 0 +v_t = tobit(v_t) +v_c = I32[arshift(v_t, 2)] +do +if (v_r ~= 0) then +if (not (v_e ~= 0)) then +goto L270 +end +do +while true do +v_e = tobit((v_e - 1)) +if not (v_c ~= 0) then +F.feA(v_A, 1, v_o, v_o) +end +v_r = tobit((v_o + v_c)) +v_s = bxor(U8[bor(0, v_a)], U8[bor(0, v_r)]) +I8[bor(0, v_u)] = tobit(v_s) +I8[bor(0, v_r)] = tobit(v_s) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 7) +if not (v_e ~= 0) then goto B271 end +do +end +::C271:: +end +end +::B271:: +else +if (v_e ~= 0) then +do +while true do +v_e = tobit((v_e - 1)) +if not (v_c ~= 0) then +F.feA(v_A, 1, v_o, v_o) +end +v_s = U8[bor(0, v_a)] +v_r = tobit((v_o + v_c)) +I8[bor(0, v_u)] = tobit(bxor(v_s, U8[bor(0, v_r)])) +I8[bor(0, v_r)] = tobit(v_s) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 7) +if not (v_e ~= 0) then goto B272 end +do +end +::C272:: +end +end +::B272:: +end +end +end +::L270:: +I32[arshift(v_t, 2)] = tobit(v_c) +do return 0 end +end +UA[22] = function(v_A, v_r, v_e, v_t, v_o, v_a, v_u) +local v_c, v_s, v_l, v_b = 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_t = tobit(v_t) +v_o = tobit(v_o) +v_a = tobit(v_a) +v_u = tobit(v_u) +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_e = tobit(v_e) +v_c = I32[arshift(v_e, 2)] +if (v_r ~= 0) then +do +while true do +do +v_r = tobit((v_r - 1)) +do +if (not (v_c ~= 0)) then +do +F.feA(v_A, 1, v_t, v_o) +v_s = 8 +while true do +do +if (not (v_s ~= 0)) then +goto L274 +end +v_s = tobit((v_s - 1)) +v_b = tobit((v_s + v_t)) +v_l = tobit((U8[bor(0, v_b)] + 1)) +I8[bor(0, v_b)] = tobit(v_l) +if (bor(0, v_l) == band(255, v_l)) then +goto B275 +end +end +::C275:: +end +end +::B275:: +end +end +::L274:: +I8[bor(0, v_u)] = tobit(bxor(U8[tobit((v_o + v_c))], U8[bor(0, v_a)])) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 7) +if (not (v_r ~= 0)) then +goto B273 +end +end +::C273:: +end +end +::B273:: +end +I32[arshift(v_e, 2)] = tobit(v_c) +do return 0 end +end +UA[23] = function(v_A, v_r, v_e) +local v_n, v_t, v_o, v_a, v_u, v_c, v_s = 0, 0, 0, 0, 0, 0, 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +do +v_A = tobit(v_A) +v_n = v_A +v_r = tobit(v_r) +v_A = v_r +v_e = tobit(v_e) +if (bor(band(7, v_e), (((tobit((v_e - 32)) % 4294967296) > 416) and 1 or 0)) ~= 0) then +v_A = (-22) +else +do +do +do +F.fTA(tobit((v_n + 72)), 3200, 4096) +v_e = tobit((rshift(v_e, 3) % 4294967296)) +v_r = 0 +while true do +do +local t318 = (tobit(v_e) % 4294967296) +local t317 = (tobit(v_e) % 4294967296) +local t316 = (tobit(v_e) % 4294967296) +v_t = tobit((v_r + 1)) +v_a = ((t316 > (tobit(v_t) % 4294967296)) and v_t or 0) +v_t = tobit((v_a + 1)) +v_u = ((t317 > (tobit(v_t) % 4294967296)) and v_t or 0) +v_t = tobit((v_u + 1)) +v_t = ((t318 > (tobit(v_t) % 4294967296)) and v_t or 0) +v_s = lshift(v_o, 2) +I32[arshift((v_s + v_n), 2)] = tobit(bxor(I32[arshift((v_s + 7296), 2)], bor(U8[tobit((v_A + v_t))], lshift(bor(bor(U8[tobit((v_A + v_u))], lshift(U8[tobit((v_A + v_r))], 16)), lshift(U8[tobit((v_A + v_a))], 8)), 8)))) +v_r = tobit((v_t + 1)) +v_r = (((tobit(v_r) % 4294967296) < (tobit(v_e) % 4294967296)) and v_r or 0) +v_o = tobit((v_o + 1)) +if not (18 ~= bor(0, v_o)) then goto B276 end +end +do +end +::C276:: +end +end +::B276:: +end +do +v_e = 0 +v_a = tobit((v_n + 72)) +v_t = 0 +v_A = 0 +while true do +do +do +v_o = 0 +while true do +v_r = v_t +v_t = bxor(I32[arshift((lshift(v_o, 2) + v_n), 2)], v_A) +v_A = bxor(v_r, (bxor((I32[arshift((1024 + tobit((v_a + band((rshift(v_t, 14) % 4294967296), 1020)))), 2)] + I32[arshift((v_a + band((rshift(v_t, 22) % 4294967296), 1020)), 2)]), I32[arshift((2048 + tobit((v_a + band((rshift(v_t, 6) % 4294967296), 1020)))), 2)]) + I32[arshift((3072 + tobit((v_a + lshift(band(255, v_t), 2)))), 2)])) +v_o = tobit((v_o + 1)) +if not (16 ~= bor(0, v_o)) then goto B278 end +do +end +::C278:: +end +end +::B278:: +v_o = I32[arshift((v_n + 64), 2)] +v_u = lshift(v_e, 2) +v_r = bxor(I32[arshift((v_n + 68), 2)], v_t) +I32[arshift((v_u + v_n), 2)] = tobit(v_r) +v_t = bxor(v_A, v_o) +I32[arshift((bor(4, v_u) + v_n), 2)] = tobit(v_t) +v_o = (((tobit(v_e) % 4294967296) < 16) and 1 or 0) +v_e = tobit((v_e + 2)) +v_A = v_r +if (not (v_o ~= 0)) then +goto B277 +end +end +::C277:: +end +end +::B277:: +do +v_u = I32[arshift((v_n + 68), 2)] +v_s = I32[arshift((v_n + 64), 2)] +v_e = 0 +v_a = tobit((v_n + 72)) +while true do +do +do +v_o = 0 +while true do +v_A = v_t +v_t = bxor(I32[arshift((lshift(v_o, 2) + v_n), 2)], v_r) +v_r = bxor(v_A, (bxor((I32[arshift((1024 + tobit((v_a + band((rshift(v_t, 14) % 4294967296), 1020)))), 2)] + I32[arshift((v_a + band((rshift(v_t, 22) % 4294967296), 1020)), 2)]), I32[arshift((2048 + tobit((v_a + band((rshift(v_t, 6) % 4294967296), 1020)))), 2)]) + I32[arshift((3072 + tobit((v_a + lshift(band(255, v_t), 2)))), 2)])) +v_o = tobit((v_o + 1)) +if not (16 ~= bor(0, v_o)) then goto B280 end +do +end +::C280:: +end +end +::B280:: +v_A = bxor(v_t, v_u) +v_o = lshift(v_e, 2) +I32[arshift((v_o + v_a), 2)] = tobit(v_A) +v_t = bxor(v_r, v_s) +I32[arshift((v_a + bor(4, v_o)), 2)] = tobit(v_t) +v_o = (((tobit(v_e) % 4294967296) < 254) and 1 or 0) +v_e = tobit((v_e + 2)) +v_r = v_A +if (not (v_o ~= 0)) then +goto B279 +end +end +::C279:: +end +end +::B279:: +do +v_e = 0 +v_a = tobit((v_n + 72)) +v_c = tobit((v_n + 1096)) +while true do +do +do +v_o = 0 +while true do +v_r = v_t +v_t = bxor(I32[arshift((lshift(v_o, 2) + v_n), 2)], v_A) +v_A = bxor(v_r, (bxor((I32[arshift((1024 + tobit((v_a + band((rshift(v_t, 14) % 4294967296), 1020)))), 2)] + I32[arshift((v_a + band((rshift(v_t, 22) % 4294967296), 1020)), 2)]), I32[arshift((2048 + tobit((v_a + band((rshift(v_t, 6) % 4294967296), 1020)))), 2)]) + I32[arshift((3072 + tobit((v_a + lshift(band(255, v_t), 2)))), 2)])) +v_o = tobit((v_o + 1)) +if not (16 ~= bor(0, v_o)) then goto B282 end +do +end +::C282:: +end +end +::B282:: +v_r = bxor(v_t, v_u) +v_o = lshift(v_e, 2) +I32[arshift((v_o + v_c), 2)] = tobit(v_r) +v_t = bxor(v_A, v_s) +I32[arshift((v_c + bor(4, v_o)), 2)] = tobit(v_t) +v_o = (((tobit(v_e) % 4294967296) < 254) and 1 or 0) +v_e = tobit((v_e + 2)) +v_A = v_r +if (not (v_o ~= 0)) then +goto B281 +end +end +::C281:: +end +end +::B281:: +do +v_e = 0 +v_a = tobit((v_n + 72)) +v_c = tobit((v_n + 2120)) +while true do +do +do +v_o = 0 +while true do +v_A = v_t +v_t = bxor(I32[arshift((lshift(v_o, 2) + v_n), 2)], v_r) +v_r = bxor(v_A, (bxor((I32[arshift((1024 + tobit((v_a + band((rshift(v_t, 14) % 4294967296), 1020)))), 2)] + I32[arshift((v_a + band((rshift(v_t, 22) % 4294967296), 1020)), 2)]), I32[arshift((2048 + tobit((v_a + band((rshift(v_t, 6) % 4294967296), 1020)))), 2)]) + I32[arshift((3072 + tobit((v_a + lshift(band(255, v_t), 2)))), 2)])) +v_o = tobit((v_o + 1)) +if not (16 ~= bor(0, v_o)) then goto B284 end +do +end +::C284:: +end +end +::B284:: +v_A = bxor(v_t, v_u) +v_o = lshift(v_e, 2) +I32[arshift((v_o + v_c), 2)] = tobit(v_A) +v_t = bxor(v_r, v_s) +I32[arshift((v_c + bor(4, v_o)), 2)] = tobit(v_t) +v_o = (((tobit(v_e) % 4294967296) < 254) and 1 or 0) +v_e = tobit((v_e + 2)) +v_r = v_A +if (not (v_o ~= 0)) then +goto B283 +end +end +::C283:: +end +end +::B283:: +do +v_r = 0 +v_a = tobit((v_n + 72)) +v_c = tobit((v_n + 3144)) +while true do +do +do +v_o = 0 +while true do +v_e = v_t +v_t = bxor(I32[arshift((lshift(v_o, 2) + v_n), 2)], v_A) +v_A = bxor(v_e, (bxor((I32[arshift((1024 + tobit((v_a + band((rshift(v_t, 14) % 4294967296), 1020)))), 2)] + I32[arshift((v_a + band((rshift(v_t, 22) % 4294967296), 1020)), 2)]), I32[arshift((2048 + tobit((v_a + band((rshift(v_t, 6) % 4294967296), 1020)))), 2)]) + I32[arshift((3072 + tobit((v_a + lshift(band(255, v_t), 2)))), 2)])) +v_o = tobit((v_o + 1)) +if not (16 ~= bor(0, v_o)) then goto B286 end +do +end +::C286:: +end +end +::B286:: +v_e = bxor(v_t, v_u) +v_o = lshift(v_r, 2) +I32[arshift((v_o + v_c), 2)] = tobit(v_e) +v_t = bxor(v_A, v_s) +I32[arshift((v_c + bor(4, v_o)), 2)] = tobit(v_t) +v_o = (((tobit(v_r) % 4294967296) < 254) and 1 or 0) +v_r = tobit((v_r + 2)) +v_A = v_e +if (not (v_o ~= 0)) then +goto B285 +end +end +::C285:: +end +end +::B285:: +v_A = 0 +end +end +end +do return bor(0, v_A) end +end +UA[24] = function() +local v_A = 0 +v_A = F.fSA(1, 4168) +if (v_A ~= 0) then +F.fKA(v_A, 0, 4168) +end +do return bor(0, v_A) end +end +UA[25] = function(v_A) +local v_r, v_e = 0, 0 +v_r = 0 +v_e = 0 +do +v_A = tobit(v_A) +v_r = v_A +if (v_r ~= 0) then +do +v_e = 4160 +while true do +do +I8[bor(0, v_r)] = tobit(0) +I8[tobit((v_r + 1))] = tobit(0) +I8[tobit((v_r + 2))] = tobit(0) +I8[tobit((v_r + 3))] = tobit(0) +I8[tobit((v_r + 4))] = tobit(0) +I8[tobit((v_r + 5))] = tobit(0) +I8[tobit((v_r + 6))] = tobit(0) +I8[tobit((v_r + 7))] = tobit(0) +if (not (v_e ~= 0)) then +goto L287 +end +v_r = tobit((v_r + 8)) +v_e = tobit((v_e - 8)) +end +::C288:: +end +end +::B288:: +end +end +::L287:: +F.fU(v_A) +end +UA[26] = function(v_A, v_r, v_e, v_n) + +do +v_A = tobit(v_A) +local t319 = v_A +v_e = tobit(v_e) +local t320 = v_e +v_n = tobit(v_n) +do return bor(0, F.fL(t319, t320, v_n)) end +end +end +UA[27] = function(v_A, v_r, v_e, v_t, v_o, v_a) +local v_u, v_c, v_s = 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_t = tobit(v_t) +v_o = tobit(v_o) +v_a = tobit(v_a) +v_c = 0 +v_s = 0 +v_u = tobit((B - 16)) +B = v_u +v_s = (-38) +do +v_e = tobit(v_e) +if (not (band(15, v_e) ~= 0)) then +if (v_r ~= 0) then +v_s = 0 +if (not (v_e ~= 0)) then +goto L289 +end +do +while true do +I8[bor(0, v_a)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_o)])) +I8[tobit((v_a + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_o + 1))])) +I8[tobit((v_a + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_o + 2))])) +I8[tobit((v_a + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_o + 3))])) +I8[tobit((v_a + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_o + 4))])) +I8[tobit((v_a + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_o + 5))])) +I8[tobit((v_a + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_o + 6))])) +I8[tobit((v_a + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_o + 7))])) +I8[tobit((v_a + 8))] = tobit(bxor(U8[tobit((v_t + 8))], U8[tobit((v_o + 8))])) +I8[tobit((v_a + 9))] = tobit(bxor(U8[tobit((v_t + 9))], U8[tobit((v_o + 9))])) +I8[tobit((v_a + 10))] = tobit(bxor(U8[tobit((v_t + 10))], U8[tobit((v_o + 10))])) +I8[tobit((v_a + 11))] = tobit(bxor(U8[tobit((v_t + 11))], U8[tobit((v_o + 11))])) +I8[tobit((v_a + 12))] = tobit(bxor(U8[tobit((v_t + 12))], U8[tobit((v_o + 12))])) +I8[tobit((v_a + 13))] = tobit(bxor(U8[tobit((v_t + 13))], U8[tobit((v_o + 13))])) +I8[tobit((v_a + 14))] = tobit(bxor(U8[tobit((v_t + 14))], U8[tobit((v_o + 14))])) +I8[tobit((v_a + 15))] = tobit(bxor(U8[tobit((v_t + 15))], U8[tobit((v_o + 15))])) +F.fL(v_A, v_a, v_a) +v_r = bor(bor(bor(U8[tobit((v_a + 12))], lshift(U8[tobit((v_a + 13))], 8)), lshift(U8[tobit((v_a + 14))], 16)), lshift(U8[tobit((v_a + 15))], 24)) +v_c = bor(bor(bor(U8[tobit((v_a + 8))], lshift(U8[tobit((v_a + 9))], 8)), lshift(U8[tobit((v_a + 10))], 16)), lshift(U8[tobit((v_a + 11))], 24)) +I8[tobit((v_t + 8))] = tobit(v_c) +I8[tobit((v_t + 9))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 11))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 12))] = tobit(v_r) +I8[tobit((v_t + 13))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 14))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 15))] = tobit((rshift(v_r, 24) % 4294967296)) +v_r = bor(bor(bor(U8[tobit((v_a + 4))], lshift(U8[tobit((v_a + 5))], 8)), lshift(U8[tobit((v_a + 6))], 16)), lshift(U8[tobit((v_a + 7))], 24)) +v_c = bor(bor(bor(U8[bor(0, v_a)], lshift(U8[tobit((v_a + 1))], 8)), lshift(U8[tobit((v_a + 2))], 16)), lshift(U8[tobit((v_a + 3))], 24)) +I8[bor(0, v_t)] = tobit(v_c) +I8[tobit((v_t + 1))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_r) +I8[tobit((v_t + 5))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_r, 24) % 4294967296)) +v_a = tobit((v_a + 16)) +v_o = tobit((v_o + 16)) +v_e = tobit((v_e - 16)) +if not (v_e ~= 0) then goto B290 end +do +end +::C290:: +end +end +::B290:: +else +v_s = 0 +if (v_e ~= 0) then +do +while true do +v_r = bor(bor(bor(U8[tobit((v_o + 4))], lshift(U8[tobit((v_o + 5))], 8)), lshift(U8[tobit((v_o + 6))], 16)), lshift(U8[tobit((v_o + 7))], 24)) +I32[arshift(v_u, 2)] = tobit(bor(bor(bor(U8[bor(0, v_o)], lshift(U8[tobit((v_o + 1))], 8)), lshift(U8[tobit((v_o + 2))], 16)), lshift(U8[tobit((v_o + 3))], 24))) +I32[arshift((v_u + 4), 2)] = tobit(v_r) +v_r = bor(bor(bor(U8[tobit((v_o + 12))], lshift(U8[tobit((v_o + 13))], 8)), lshift(U8[tobit((v_o + 14))], 16)), lshift(U8[tobit((v_o + 15))], 24)) +I32[arshift((v_u + 8), 2)] = tobit(bor(bor(bor(U8[tobit((v_o + 8))], lshift(U8[tobit((v_o + 9))], 8)), lshift(U8[tobit((v_o + 10))], 16)), lshift(U8[tobit((v_o + 11))], 24))) +I32[arshift((v_u + 12), 2)] = tobit(v_r) +F.fL(v_A, v_o, v_a) +I8[bor(0, v_a)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_a)])) +I8[tobit((v_a + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_a + 1))])) +I8[tobit((v_a + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_a + 2))])) +I8[tobit((v_a + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_a + 3))])) +I8[tobit((v_a + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_a + 4))])) +I8[tobit((v_a + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_a + 5))])) +I8[tobit((v_a + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_a + 6))])) +I8[tobit((v_a + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_a + 7))])) +I8[tobit((v_a + 8))] = tobit(bxor(U8[tobit((v_t + 8))], U8[tobit((v_a + 8))])) +I8[tobit((v_a + 9))] = tobit(bxor(U8[tobit((v_t + 9))], U8[tobit((v_a + 9))])) +I8[tobit((v_a + 10))] = tobit(bxor(U8[tobit((v_t + 10))], U8[tobit((v_a + 10))])) +I8[tobit((v_a + 11))] = tobit(bxor(U8[tobit((v_t + 11))], U8[tobit((v_a + 11))])) +I8[tobit((v_a + 12))] = tobit(bxor(U8[tobit((v_t + 12))], U8[tobit((v_a + 12))])) +I8[tobit((v_a + 13))] = tobit(bxor(U8[tobit((v_t + 13))], U8[tobit((v_a + 13))])) +I8[tobit((v_a + 14))] = tobit(bxor(U8[tobit((v_t + 14))], U8[tobit((v_a + 14))])) +I8[tobit((v_a + 15))] = tobit(bxor(U8[tobit((v_t + 15))], U8[tobit((v_a + 15))])) +v_r = I32[arshift((v_u + 12), 2)] +v_c = I32[arshift((v_u + 8), 2)] +I8[tobit((v_t + 8))] = tobit(v_c) +I8[tobit((v_t + 9))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 10))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 11))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 12))] = tobit(v_r) +I8[tobit((v_t + 13))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 14))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 15))] = tobit((rshift(v_r, 24) % 4294967296)) +v_r = I32[arshift((v_u + 4), 2)] +v_c = I32[arshift(v_u, 2)] +I8[bor(0, v_t)] = tobit(v_c) +I8[tobit((v_t + 1))] = tobit((rshift(v_c, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_c, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_c, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_r) +I8[tobit((v_t + 5))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_r, 24) % 4294967296)) +v_a = tobit((v_a + 16)) +v_o = tobit((v_o + 16)) +v_e = tobit((v_e - 16)) +if not (v_e ~= 0) then goto B291 end +do +end +::C291:: +end +end +::B291:: +end +end +end +end +::L289:: +B = tobit((v_u + 16)) +do return bor(0, v_s) end +end +UA[28] = function(v_A, v_r, v_e, v_t, v_o, v_a, v_u) +local v_c, v_s = 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_o = tobit(v_o) +v_a = tobit(v_a) +v_u = tobit(v_u) +v_c = 0 +v_s = 0 +v_t = tobit(v_t) +v_c = I32[arshift(v_t, 2)] +do +if (v_r ~= 0) then +if (not (v_e ~= 0)) then +goto L292 +end +do +while true do +v_e = tobit((v_e - 1)) +if not (v_c ~= 0) then +F.fL(v_A, v_o, v_o) +end +v_r = tobit((v_o + v_c)) +v_s = bxor(U8[bor(0, v_a)], U8[bor(0, v_r)]) +I8[bor(0, v_u)] = tobit(v_s) +I8[bor(0, v_r)] = tobit(v_s) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 15) +if not (v_e ~= 0) then goto B293 end +do +end +::C293:: +end +end +::B293:: +else +if (v_e ~= 0) then +do +while true do +v_e = tobit((v_e - 1)) +if not (v_c ~= 0) then +F.fL(v_A, v_o, v_o) +end +v_s = U8[bor(0, v_a)] +v_r = tobit((v_o + v_c)) +I8[bor(0, v_u)] = tobit(bxor(v_s, U8[bor(0, v_r)])) +I8[bor(0, v_r)] = tobit(v_s) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 15) +if not (v_e ~= 0) then goto B294 end +do +end +::C294:: +end +end +::B294:: +end +end +end +::L292:: +I32[arshift(v_t, 2)] = tobit(v_c) +do return 0 end +end +UA[29] = function(v_A, v_r, v_e, v_t, v_o, v_a, v_u) +local v_c, v_s, v_l, v_b = 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_t = tobit(v_t) +v_o = tobit(v_o) +v_a = tobit(v_a) +v_u = tobit(v_u) +v_c = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_e = tobit(v_e) +v_c = I32[arshift(v_e, 2)] +if (v_r ~= 0) then +do +while true do +do +v_r = tobit((v_r - 1)) +do +if (not (v_c ~= 0)) then +do +F.fL(v_A, v_t, v_o) +v_s = 16 +while true do +do +if (not (v_s ~= 0)) then +goto L296 +end +v_s = tobit((v_s - 1)) +v_b = tobit((v_s + v_t)) +v_l = tobit((U8[bor(0, v_b)] + 1)) +I8[bor(0, v_b)] = tobit(v_l) +if (bor(0, v_l) == band(255, v_l)) then +goto B297 +end +end +::C297:: +end +end +::B297:: +end +end +::L296:: +I8[bor(0, v_u)] = tobit(bxor(U8[tobit((v_o + v_c))], U8[bor(0, v_a)])) +v_u = tobit((v_u + 1)) +v_a = tobit((v_a + 1)) +v_c = band((v_c + 1), 15) +if (not (v_r ~= 0)) then +goto B295 +end +end +::C295:: +end +end +::B295:: +end +I32[arshift(v_e, 2)] = tobit(v_c) +do return 0 end +end +UA[30] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t321 = v_A +v_r = tobit(v_r) +local t322 = v_r +v_e = tobit(v_e) +do return bor(0, F.fQ(t321, t322, v_e)) end +end +end +UA[31] = function(v_A, v_r, v_e) +local v_t, v_o, v_f, v_a = 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_f = 0 +v_a = 0 +do +v_t = tobit((B - 288)) +B = v_t +F.fKA(tobit((v_t + 8)), 0, 276) +v_o = F.fQ(tobit((v_t + 8)), v_r, v_e) +if (not (v_o ~= 0)) then +do +do +do +v_r = I32[arshift((v_t + 8), 2)] +I32[arshift(v_A, 2)] = tobit(v_r) +local t323 = tobit((v_t + 8)) +v_f = ((4 == bor(0, v_r)) and 1 or 0) +v_e = tobit((t323 + lshift(v_f, 6))) +I32[arshift((v_A + 4), 2)] = tobit(I32[arshift((v_e + 196), 2)]) +I32[arshift((v_A + 8), 2)] = tobit(I32[arshift((v_e + 200), 2)]) +I32[arshift((v_A + 12), 2)] = tobit(I32[arshift((v_e + 204), 2)]) +I32[arshift((v_A + 16), 2)] = tobit(I32[arshift((v_e + 208), 2)]) +v_r = tobit((v_A + 20)) +v_f = bor(lshift(v_f, 3), 22) +v_e = tobit((v_e + 188)) +v_A = 1 +end +while true do +do +I32[arshift(v_r, 2)] = tobit(I32[arshift(v_e, 2)]) +I32[arshift((v_r + 4), 2)] = tobit(I32[arshift((v_e + 4), 2)]) +v_e = tobit((v_e - 8)) +v_f = tobit((v_f - 1)) +v_r = tobit((v_r + 8)) +if (not (v_A ~= 0)) then +do +while true do +v_A = v_r +I32[arshift(v_A, 2)] = tobit(I32[arshift(v_e, 2)]) +I32[arshift((v_A + 4), 2)] = tobit(I32[arshift((v_e + 4), 2)]) +I32[arshift((v_A + 8), 2)] = tobit(I32[arshift((v_e - 8), 2)]) +I32[arshift((v_A + 12), 2)] = tobit(I32[arshift((v_e - 4), 2)]) +I32[arshift((v_A + 16), 2)] = tobit(I32[arshift((v_e - 16), 2)]) +I32[arshift((v_A + 20), 2)] = tobit(I32[arshift((v_e - 12), 2)]) +v_a = tobit((v_e - 24)) +I32[arshift((v_A + 24), 2)] = tobit(I32[arshift(v_a, 2)]) +I32[arshift((v_A + 28), 2)] = tobit(I32[arshift((v_e - 20), 2)]) +v_e = tobit((v_e - 32)) +v_r = tobit((v_A + 32)) +v_f = tobit((v_f - 4)) +if not (v_f ~= 0) then goto B299 end +do +end +::C299:: +end +end +::B299:: +I32[arshift((v_A + 32), 2)] = tobit(I32[arshift((v_a - 16), 2)]) +I32[arshift((v_A + 36), 2)] = tobit(I32[arshift((v_a - 12), 2)]) +I32[arshift((v_A + 40), 2)] = tobit(I32[arshift(v_e, 2)]) +I32[arshift((v_A + 44), 2)] = tobit(I32[arshift((v_a - 4), 2)]) +goto B298 +end +v_A = tobit((v_A - 1)) +end +::C298:: +end +end +::B298:: +end +end +end +do +v_A = 264 +v_e = tobit((v_t + 8)) +while true do +I8[bor(0, v_e)] = tobit(0) +I8[tobit((v_e + 1))] = tobit(0) +I8[tobit((v_e + 2))] = tobit(0) +I8[tobit((v_e + 3))] = tobit(0) +I8[tobit((v_e + 4))] = tobit(0) +I8[tobit((v_e + 5))] = tobit(0) +I8[tobit((v_e + 6))] = tobit(0) +I8[tobit((v_e + 7))] = tobit(0) +I8[tobit((v_e + 8))] = tobit(0) +I8[tobit((v_e + 9))] = tobit(0) +I8[tobit((v_e + 10))] = tobit(0) +I8[tobit((v_e + 11))] = tobit(0) +if not (v_A ~= 0) then goto B300 end +do +v_e = tobit((v_e + 12)) +v_A = tobit((v_A - 12)) +end +::C300:: +end +end +::B300:: +B = tobit((v_t + 288)) +do return bor(0, v_o) end +end +UA[32] = function() +local v_A = 0 +v_A = F.fSA(1, 276) +if (v_A ~= 0) then +F.fKA(v_A, 0, 276) +end +do return bor(0, v_A) end +end +UA[33] = function(v_A) +local v_r, v_e = 0, 0 +v_r = 0 +v_e = 0 +do +v_A = tobit(v_A) +v_r = v_A +if (v_r ~= 0) then +do +v_e = 264 +while true do +do +I8[bor(0, v_r)] = tobit(0) +I8[tobit((v_r + 1))] = tobit(0) +I8[tobit((v_r + 2))] = tobit(0) +I8[tobit((v_r + 3))] = tobit(0) +I8[tobit((v_r + 4))] = tobit(0) +I8[tobit((v_r + 5))] = tobit(0) +I8[tobit((v_r + 6))] = tobit(0) +I8[tobit((v_r + 7))] = tobit(0) +I8[tobit((v_r + 8))] = tobit(0) +I8[tobit((v_r + 9))] = tobit(0) +I8[tobit((v_r + 10))] = tobit(0) +I8[tobit((v_r + 11))] = tobit(0) +if (not (v_e ~= 0)) then +goto L301 +end +v_r = tobit((v_r + 12)) +v_e = tobit((v_e - 12)) +end +::C302:: +end +end +::B302:: +end +end +::L301:: +F.fU(v_A) +end +UA[34] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t324 = v_A +v_r = tobit(v_r) +local t325 = v_r +v_e = tobit(v_e) +do return bor(0, F.fF(t324, 5, t325, v_e)) end +end +end +UA[35] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t326 = v_A +v_r = tobit(v_r) +local t327 = v_r +v_e = tobit(v_e) +do return bor(0, F.fMA(t326, 5, t327, v_e)) end +end +end +UA[36] = function(v_A, v_r, v_e, v_n) + +do +v_A = tobit(v_A) +local t328 = v_A +v_e = tobit(v_e) +local t329 = v_e +v_n = tobit(v_n) +do return bor(0, F.fZ(t328, t329, v_n)) end +end +end +UA[37] = function(v_A, v_r, v_e, v_n, v_t, v_o) + +do +v_A = tobit(v_A) +local t330 = v_A +v_r = tobit(v_r) +local t331 = v_r +v_e = tobit(v_e) +local t332 = v_e +v_n = tobit(v_n) +local t333 = v_n +v_t = tobit(v_t) +local t334 = v_t +v_o = tobit(v_o) +do return bor(0, F.fX(t330, t331, t332, t333, t334, v_o)) end +end +end +UA[38] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t335 = v_A +v_r = tobit(v_r) +F.fJ(t335, v_r) +do return 0 end +end +end +UA[39] = function(v_A, v_r, v_e) + +do +v_A = tobit(v_A) +local t336 = v_A +v_r = tobit(v_r) +do return bor(0, F.frA(t336, v_r)) end +end +end +UA[40] = function() +local v_A = 0 +v_A = F.fSA(1, 128) +if (v_A ~= 0) then +F.fUA(v_A) +end +do return bor(0, v_A) end +end +UA[41] = function(v_A) + +v_A = tobit(v_A) +F.fW(v_A) +F.fU(v_A) +end +UA[42] = function(v_A, v_r, v_e, v_n) + +do +v_A = tobit(v_A) +local t337 = v_A +v_e = tobit(v_e) +local t338 = v_e +v_n = tobit(v_n) +do return bor(0, F.fH(t337, t338, v_n)) end +end +end +UA[43] = function(v_A, v_r, v_e, v_t, v_o, v_i) +local v_a, v_u = 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_t = tobit(v_t) +v_o = tobit(v_o) +v_i = tobit(v_i) +v_a = 0 +v_u = 0 +v_u = (-50) +do +v_e = tobit(v_e) +if (not (band(7, v_e) ~= 0)) then +if (1 == bor(0, v_r)) then +v_u = 0 +if (v_e ~= 0) then +do +v_r = U8[bor(0, v_t)] +while true do +I8[bor(0, v_i)] = tobit(bxor(U8[bor(0, v_o)], v_r)) +I8[tobit((v_i + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_o + 1))])) +I8[tobit((v_i + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_o + 2))])) +I8[tobit((v_i + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_o + 3))])) +I8[tobit((v_i + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_o + 4))])) +I8[tobit((v_i + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_o + 5))])) +I8[tobit((v_i + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_o + 6))])) +I8[tobit((v_i + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_o + 7))])) +F.fH(v_A, v_i, v_i) +v_a = bor(bor(bor(U8[tobit((v_i + 4))], lshift(U8[tobit((v_i + 5))], 8)), lshift(U8[tobit((v_i + 6))], 16)), lshift(U8[tobit((v_i + 7))], 24)) +v_r = bor(bor(bor(U8[bor(0, v_i)], lshift(U8[tobit((v_i + 1))], 8)), lshift(U8[tobit((v_i + 2))], 16)), lshift(U8[tobit((v_i + 3))], 24)) +I8[bor(0, v_t)] = tobit(v_r) +I8[tobit((v_t + 1))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_r, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_a) +I8[tobit((v_t + 5))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_a, 24) % 4294967296)) +v_i = tobit((v_i + 8)) +v_o = tobit((v_o + 8)) +v_e = tobit((v_e - 8)) +if not (v_e ~= 0) then goto B304 end +do +end +::C304:: +end +end +::B304:: +end +else +v_u = 0 +if (not (v_e ~= 0)) then +goto L303 +end +do +while true do +v_a = bor(bor(bor(U8[tobit((v_o + 4))], lshift(U8[tobit((v_o + 5))], 8)), lshift(U8[tobit((v_o + 6))], 16)), lshift(U8[tobit((v_o + 7))], 24)) +v_r = bor(bor(bor(U8[bor(0, v_o)], lshift(U8[tobit((v_o + 1))], 8)), lshift(U8[tobit((v_o + 2))], 16)), lshift(U8[tobit((v_o + 3))], 24)) +F.fH(v_A, v_o, v_i) +I8[bor(0, v_i)] = tobit(bxor(U8[bor(0, v_t)], U8[bor(0, v_i)])) +I8[tobit((v_i + 1))] = tobit(bxor(U8[tobit((v_t + 1))], U8[tobit((v_i + 1))])) +I8[tobit((v_i + 2))] = tobit(bxor(U8[tobit((v_t + 2))], U8[tobit((v_i + 2))])) +I8[tobit((v_i + 3))] = tobit(bxor(U8[tobit((v_t + 3))], U8[tobit((v_i + 3))])) +I8[tobit((v_i + 4))] = tobit(bxor(U8[tobit((v_t + 4))], U8[tobit((v_i + 4))])) +I8[tobit((v_i + 5))] = tobit(bxor(U8[tobit((v_t + 5))], U8[tobit((v_i + 5))])) +I8[tobit((v_i + 6))] = tobit(bxor(U8[tobit((v_t + 6))], U8[tobit((v_i + 6))])) +I8[tobit((v_i + 7))] = tobit(bxor(U8[tobit((v_t + 7))], U8[tobit((v_i + 7))])) +I8[bor(0, v_t)] = tobit(v_r) +I8[tobit((v_t + 1))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_t + 2))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_t + 3))] = tobit((rshift(v_r, 24) % 4294967296)) +I8[tobit((v_t + 4))] = tobit(v_a) +I8[tobit((v_t + 5))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_t + 6))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_t + 7))] = tobit((rshift(v_a, 24) % 4294967296)) +v_i = tobit((v_i + 8)) +v_o = tobit((v_o + 8)) +v_e = tobit((v_e - 8)) +if not (v_e ~= 0) then goto B305 end +do +end +::C305:: +end +end +::B305:: +end +end +end +::L303:: +do return bor(0, v_u) end +end +UA[44] = function(v_A, v_r, v_e) +local v_t, v_o, v_f, v_a, v_u, v_c = 0, 0, 0, 0, 0, 0 +v_e = tobit(v_e) +v_t = 0 +v_o = 0 +v_f = 0 +v_a = 0 +v_u = 0 +v_c = 0 +do +do +do +v_e = tobit((B - 384)) +B = v_e +v_A = tobit(v_A) +local t339 = v_A +v_r = tobit(v_r) +F.fJ(t339, v_r) +F.fJ(tobit((v_e + 128)), tobit((v_r + 8))) +v_r = 0 +end +while true do +v_t = lshift(v_r, 2) +v_f = I32[arshift((lshift((30 - v_r), 2) + v_A), 2)] +I32[arshift((v_t + v_e), 2)] = tobit(v_f) +v_a = bor(4, v_t) +v_u = I32[arshift((lshift((31 - v_r), 2) + v_A), 2)] +I32[arshift((v_a + v_e), 2)] = tobit(v_u) +v_o = tobit((v_A + v_t)) +I32[arshift((128 + v_o), 2)] = tobit(I32[arshift((lshift((62 - v_r), 2) + v_e), 2)]) +I32[arshift((v_o + 132), 2)] = tobit(I32[arshift((lshift((63 - v_r), 2) + v_e), 2)]) +v_c = tobit((v_t + 256)) +I32[arshift((v_c + v_A), 2)] = tobit(I32[arshift(v_o, 2)]) +v_t = tobit((v_t + 260)) +I32[arshift((v_t + v_A), 2)] = tobit(I32[arshift((v_A + v_a), 2)]) +I32[arshift((v_e + v_t), 2)] = tobit(v_u) +I32[arshift((v_e + v_c), 2)] = tobit(v_f) +v_t = (((tobit(v_r) % 4294967296) < 30) and 1 or 0) +v_r = tobit((v_r + 2)) +if not (v_t ~= 0) then goto B306 end +do +end +::C306:: +end +end +::B306:: +end +do +v_A = 372 +v_r = v_e +while true do +I8[bor(0, v_r)] = tobit(0) +I8[tobit((v_r + 1))] = tobit(0) +I8[tobit((v_r + 2))] = tobit(0) +I8[tobit((v_r + 3))] = tobit(0) +I8[tobit((v_r + 4))] = tobit(0) +I8[tobit((v_r + 5))] = tobit(0) +I8[tobit((v_r + 6))] = tobit(0) +I8[tobit((v_r + 7))] = tobit(0) +I8[tobit((v_r + 8))] = tobit(0) +I8[tobit((v_r + 9))] = tobit(0) +I8[tobit((v_r + 10))] = tobit(0) +I8[tobit((v_r + 11))] = tobit(0) +if not (v_A ~= 0) then goto B307 end +do +v_r = tobit((v_r + 12)) +v_A = tobit((v_A - 12)) +end +::C307:: +end +end +::B307:: +B = tobit((v_e + 384)) +do return 0 end +end +UA[45] = function(v_A, v_r, v_e) +local v_t, v_o, v_f, v_a, v_u, v_c = 0, 0, 0, 0, 0, 0 +v_A = tobit(v_A) +v_e = tobit(v_e) +v_t = 0 +v_o = 0 +v_f = 0 +v_a = 0 +v_u = 0 +v_c = 0 +do +do +do +v_e = tobit((B - 384)) +B = v_e +local t340 = v_e +v_r = tobit(v_r) +F.fJ(t340, v_r) +F.fJ(tobit((v_A + 128)), tobit((v_r + 8))) +v_r = 0 +end +while true do +v_t = lshift(v_r, 2) +v_f = I32[arshift((lshift((30 - v_r), 2) + v_e), 2)] +I32[arshift((v_t + v_A), 2)] = tobit(v_f) +v_a = bor(4, v_t) +v_u = I32[arshift((lshift((31 - v_r), 2) + v_e), 2)] +I32[arshift((v_a + v_A), 2)] = tobit(v_u) +v_o = tobit((v_e + v_t)) +I32[arshift((128 + v_o), 2)] = tobit(I32[arshift((lshift((62 - v_r), 2) + v_A), 2)]) +I32[arshift((v_o + 132), 2)] = tobit(I32[arshift((lshift((63 - v_r), 2) + v_A), 2)]) +v_c = tobit((v_t + 256)) +I32[arshift((v_c + v_e), 2)] = tobit(I32[arshift(v_o, 2)]) +v_t = tobit((v_t + 260)) +I32[arshift((v_t + v_e), 2)] = tobit(I32[arshift((v_e + v_a), 2)]) +I32[arshift((v_A + v_t), 2)] = tobit(v_u) +I32[arshift((v_A + v_c), 2)] = tobit(v_f) +v_t = (((tobit(v_r) % 4294967296) < 30) and 1 or 0) +v_r = tobit((v_r + 2)) +if not (v_t ~= 0) then goto B308 end +do +end +::C308:: +end +end +::B308:: +end +do +v_A = 372 +v_r = v_e +while true do +I8[bor(0, v_r)] = tobit(0) +I8[tobit((v_r + 1))] = tobit(0) +I8[tobit((v_r + 2))] = tobit(0) +I8[tobit((v_r + 3))] = tobit(0) +I8[tobit((v_r + 4))] = tobit(0) +I8[tobit((v_r + 5))] = tobit(0) +I8[tobit((v_r + 6))] = tobit(0) +I8[tobit((v_r + 7))] = tobit(0) +I8[tobit((v_r + 8))] = tobit(0) +I8[tobit((v_r + 9))] = tobit(0) +I8[tobit((v_r + 10))] = tobit(0) +I8[tobit((v_r + 11))] = tobit(0) +if not (v_A ~= 0) then goto B309 end +do +v_r = tobit((v_r + 12)) +v_A = tobit((v_A - 12)) +end +::C309:: +end +end +::B309:: +B = tobit((v_e + 384)) +do return 0 end +end +UA[46] = function() +local v_A = 0 +v_A = F.fSA(1, 384) +if (v_A ~= 0) then +F.fKA(v_A, 0, 384) +end +do return bor(0, v_A) end +end +UA[47] = function(v_A) +local v_r, v_e = 0, 0 +v_r = 0 +v_e = 0 +do +v_A = tobit(v_A) +v_r = v_A +if (v_r ~= 0) then +do +v_e = 372 +while true do +do +I8[bor(0, v_r)] = tobit(0) +I8[tobit((v_r + 1))] = tobit(0) +I8[tobit((v_r + 2))] = tobit(0) +I8[tobit((v_r + 3))] = tobit(0) +I8[tobit((v_r + 4))] = tobit(0) +I8[tobit((v_r + 5))] = tobit(0) +I8[tobit((v_r + 6))] = tobit(0) +I8[tobit((v_r + 7))] = tobit(0) +I8[tobit((v_r + 8))] = tobit(0) +I8[tobit((v_r + 9))] = tobit(0) +I8[tobit((v_r + 10))] = tobit(0) +I8[tobit((v_r + 11))] = tobit(0) +if (not (v_e ~= 0)) then +goto L310 +end +v_r = tobit((v_r + 12)) +v_e = tobit((v_e - 12)) +end +::C311:: +end +end +::B311:: +end +end +::L310:: +F.fU(v_A) +end +UA[48] = function(v_A, v_r, v_e) + +do +do +do +v_e = tobit(v_e) +v_e = tobit((B - 384)) +B = v_e +v_A = tobit(v_A) +local t341 = v_A +local t342 = v_e +v_r = tobit(v_r) +F.fvA(t341, t342, v_r) +v_r = 372 +v_A = v_e +end +while true do +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +if not (v_r ~= 0) then goto B312 end +do +v_A = tobit((v_A + 12)) +v_r = tobit((v_r - 12)) +end +::C312:: +end +end +::B312:: +end +B = tobit((v_e + 384)) +do return 0 end +end +UA[49] = function(v_A, v_r, v_e) + +do +do +do +v_e = tobit(v_e) +v_e = tobit((B - 384)) +B = v_e +local t343 = v_e +v_A = tobit(v_A) +local t344 = v_A +v_r = tobit(v_r) +F.fvA(t343, t344, v_r) +v_r = 372 +v_A = v_e +end +while true do +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +if not (v_r ~= 0) then goto B313 end +do +v_A = tobit((v_A + 12)) +v_r = tobit((v_r - 12)) +end +::C313:: +end +end +::B313:: +end +B = tobit((v_e + 384)) +do return 0 end +end +UA[50] = function(v_A, v_r, v_e) +local v_n, v_t, v_o, v_a, v_u = 0, 0, 0, 0, 0 +v_r = tobit(v_r) +v_n = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +do +v_A = tobit(v_A) +local t345 = (not (v_A ~= 0)) +v_e = tobit(v_e) +if (bor((t345 and 1 or 0), ((not (v_e ~= 0)) and 1 or 0)) ~= 0) then +v_A = (-24832) +else +do +do +local t346 = v_r +v_n = U8[tobit((tobit((v_A + v_r)) - 1))] +v_t = tobit((t346 - v_n)) +I32[arshift(v_e, 2)] = tobit(v_t) +v_e = bor(((not (v_n ~= 0)) and 1 or 0), (((tobit(v_r) % 4294967296) < (tobit(v_n) % 4294967296)) and 1 or 0)) +if (v_r ~= 0) then +do +do +v_a = band(3, v_r) +if ((tobit((v_r - 1)) % 4294967296) < 3) then +v_r = 0 +else +do +do +v_u = band((-4), v_r) +v_r = 0 +while true do +do +v_o = bor((((tobit(v_r) % 4294967296) < (tobit(v_t) % 4294967296)) and 0 or bxor(v_n, U8[tobit((v_A + v_r))])), v_e) +local t347 = v_o +v_e = bor(1, v_r) +v_o = bor(t347, (((tobit(v_e) % 4294967296) < (tobit(v_t) % 4294967296)) and 0 or bxor(v_n, U8[tobit((v_e + v_A))]))) +local t348 = v_o +v_e = bor(2, v_r) +v_o = bor(t348, (((tobit(v_e) % 4294967296) < (tobit(v_t) % 4294967296)) and 0 or bxor(v_n, U8[tobit((v_e + v_A))]))) +local t349 = v_o +v_e = bor(3, v_r) +v_e = bor(t349, (((tobit(v_e) % 4294967296) < (tobit(v_t) % 4294967296)) and 0 or bxor(v_n, U8[tobit((v_e + v_A))]))) +v_r = tobit((v_r + 4)) +v_u = tobit((v_u - 4)) +if not (v_u ~= 0) then goto B314 end +end +do +end +::C314:: +end +end +::B314:: +end +end +end +if (v_a ~= 0) then +do +while true do +v_e = bor((((tobit(v_r) % 4294967296) < (tobit(v_t) % 4294967296)) and 0 or bxor(v_n, U8[tobit((v_A + v_r))])), v_e) +v_r = tobit((v_r + 1)) +v_a = tobit((v_a - 1)) +if not (v_a ~= 0) then goto B315 end +do +end +::C315:: +end +end +::B315:: +end +end +end +end +v_A = ((band(255, v_e) ~= 0) and (-25088) or 0) +end +end +end +do return bor(0, v_A) end +end +UA[51] = function(v_A, v_r, v_e) +local v_t, v_o = 0, 0 +v_A = tobit(v_A) +v_t = 0 +v_o = 0 +do +do +do +v_r = tobit(v_r) +local t350 = v_r +v_e = tobit(v_e) +v_o = tobit((t350 - v_e)) +if (v_o ~= 0) then +do +v_r = 1 +v_t = v_e +while true do +do +I8[tobit((v_A + v_t))] = tobit(v_o) +v_t = band(255, v_r) +if ((tobit(v_t) % 4294967296) >= (tobit(v_o) % 4294967296)) then +goto L316 +end +v_r = tobit((v_r + 1)) +v_t = tobit((v_e + v_t)) +end +::C317:: +end +end +::B317:: +end +end +end +::L316:: +end +end +UA[52] = function(v_A, v_r, v_e, v_t, v_o, v_u) +local v_c, v_l, v_b, v_v, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_m, v_Q, v_S, v_O, v_x, v_M, v_j, v_T, v_K, v_P = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = v_r +v_e = tobit(v_e) +v_t = tobit(v_t) +v_o = tobit(v_o) +v_u = tobit(v_u) +v_l = 0 +v_b = 0 +v_v = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_m = 0 +v_Q = 0 +v_S = 0 +v_O = 0 +v_x = 0 +v_M = 0 +v_j = 0 +v_T = 0 +v_K = 0 +v_P = 0 +v_c = tobit((B - 560)) +B = v_c +I32[arshift((v_c + 44), 2)] = tobit(0) +rf_s(v_r) +v_k = bor(0, rf_a(1)) +rf_a(0) +if ((bor(0, v_k) < (-1)) or (bor(0, v_k) <= (-1))) then +v_O = 1 +v_x = 10511 +v_r = (-v_r) +rf_s(v_r) +v_k = bor(0, rf_a(1)) +rf_a(0) +else +if (band(2048, v_o) ~= 0) then +v_O = 1 +v_x = 10514 +else +v_O = band(1, v_o) +v_x = ((v_O ~= 0) and 10517 or 10512) +v_P = ((not (v_O ~= 0)) and 1 or 0) +end +end +do +do +do +if (2146435072 ~= band(2146435072, v_k)) then +do +v_Q = tobit((v_c + 16)) +do +do +do +do +do +v_r = F.fkA(v_r, tobit((v_c + 44))) +v_r = (v_r + v_r) +if (0 ~= v_r) then +v_l = I32[arshift((v_c + 44), 2)] +I32[arshift((v_c + 44), 2)] = tobit((v_l - 1)) +v_M = bor(32, v_u) +if (97 ~= bor(0, v_M)) then +goto L321 +end +goto L319 +end +v_M = bor(32, v_u) +if (97 == bor(0, v_M)) then +goto L319 +end +v_w = I32[arshift((v_c + 44), 2)] +v_h = ((bor(0, v_t) < 0) and 6 or v_t) +goto L320 +end +::L321:: +v_w = tobit((v_l - 29)) +I32[arshift((v_c + 44), 2)] = tobit(v_w) +v_r = (v_r * 268435456) +v_h = ((bor(0, v_t) < 0) and 6 or v_t) +end +::L320:: +do +v_I = ((bor(0, v_w) < 0) and tobit((v_c + 48)) or tobit((v_c + 336))) +v_b = v_I +while true do +v_l = ((band(((v_r < 4294967296) and 1 or 0), ((v_r >= 0) and 1 or 0)) ~= 0) and (tobit(bnot(bnot(v_r))) % 4294967296) or 0) +v_t = v_b +I32[arshift(v_t, 2)] = tobit(v_l) +v_b = tobit((v_b + 4)) +v_r = (1000000000 * (v_r - (tobit(v_l) % 4294967296))) +if not (0 ~= v_r) then goto B322 end +do +end +::C322:: +end +end +::B322:: +do +if (bor(0, v_w) < 1) then +v_t = v_w +v_l = v_b +v_v = v_I +else +do +do +v_v = v_I +v_t = v_w +while true do +do +do +do +v_y = ((bor(0, v_t) < 29) and v_t or 29) +local t351 = (tobit(v_v) % 4294967296) +v_l = tobit((v_b - 4)) +if (not (t351 > (tobit(v_l) % 4294967296))) then +do +do +do +v_d = v_y +v_t = 0 +v_k = 0 +while true do +do +v_m = v_l +v_K = I32[arshift(v_l, 2)] +v_C = band(31, v_d) +if ((tobit(band(63, v_d)) % 4294967296) >= 32) then +v_T = lshift(v_K, v_C) +v_C = 0 +else +v_T = band((lshift(1, v_C) - 1), (rshift(v_K, (32 - v_C)) % 4294967296)) +v_C = lshift(v_K, v_C) +end +v_T = tobit((v_k + v_T)) +v_C = tobit((v_C + v_t)) +v_k = v_C +v_t = F.fS_(v_k, (((tobit(v_t) % 4294967296) > (tobit(v_k) % 4294967296)) and tobit((v_T + 1)) or v_T), 1000000000) +v_C = F.fCA(v_t, Iv, 1000000000, 0) +I32[arshift(v_m, 2)] = tobit((v_k - v_C)) +local t352 = (tobit(v_v) % 4294967296) +v_l = tobit((v_l - 4)) +if not (t352 <= (tobit(v_l) % 4294967296)) then goto B324 end +end +do +v_k = 0 +end +::C324:: +end +end +::B324:: +end +if (v_t ~= 0) then +v_v = tobit((v_v - 4)) +I32[arshift(v_v, 2)] = tobit(v_t) +end +end +end +end +do +do +while true do +do +local t353 = (tobit(v_v) % 4294967296) +v_l = v_b +local t354 = (t353 < (tobit(v_l) % 4294967296)) +if t354 then +v_b = tobit((v_l - 4)) +t354 = (not (I32[arshift(v_b, 2)] ~= 0)) +end +if not t354 then goto B325 end +end +do +end +::C325:: +end +end +::B325:: +end +v_t = tobit((I32[arshift((v_c + 44), 2)] - v_y)) +I32[arshift((v_c + 44), 2)] = tobit(v_t) +v_b = v_l +if (not (bor(0, v_t) > 0)) then +goto B323 +end +end +end +::C323:: +end +end +::B323:: +end +end +end +do +v_b = tobit(toint((tobit((v_h + 25)) / 9))) +if (bor(0, v_t) <= (-1)) then +do +do +v_C = tobit((v_b + 1)) +v_j = ((102 == bor(0, v_M)) and 1 or 0) +while true do +do +do +v_m = ((bor(0, v_t) < (-9)) and 9 or tobit((0 - v_t))) +do +if ((tobit(v_l) % 4294967296) > (tobit(v_v) % 4294967296)) then +do +v_k = tobit((rshift(1000000000, v_m) % 4294967296)) +v_d = bxor(lshift((-1), v_m), (-1)) +v_t = 0 +v_b = v_v +while true do +v_y = v_t +v_t = I32[arshift(v_b, 2)] +I32[arshift(v_b, 2)] = tobit((v_y + tobit((rshift(v_t, v_m) % 4294967296)))) +v_t = imul(v_k, band(v_t, v_d)) +v_b = tobit((v_b + 4)) +if not ((tobit(v_b) % 4294967296) < (tobit(v_l) % 4294967296)) then goto B328 end +do +end +::C328:: +end +end +::B328:: +v_v = ((I32[arshift(v_v, 2)] ~= 0) and v_v or tobit((v_v + 4))) +if (not (v_t ~= 0)) then +goto L327 +end +I32[arshift(v_l, 2)] = tobit(v_t) +v_l = tobit((v_l + 4)) +else +v_v = ((I32[arshift(v_v, 2)] ~= 0) and v_v or tobit((v_v + 4))) +end +end +::L327:: +do +v_t = tobit((I32[arshift((v_c + 44), 2)] + v_m)) +I32[arshift((v_c + 44), 2)] = tobit(v_t) +local t356 = bor(0, v_C) +local t355 = v_l +v_b = ((v_j ~= 0) and v_I or v_v) +v_l = ((t356 < arshift((t355 - v_b), 2)) and tobit((v_b + lshift(v_C, 2))) or v_l) +if (not (bor(0, v_t) < 0)) then +goto B326 +end +end +end +end +::C326:: +end +end +::B326:: +end +end +end +v_b = 0 +do +do +do +local t357 = (((tobit(v_l) % 4294967296) <= (tobit(v_v) % 4294967296)) and 1 or 0) +if t357 == 0 then +v_b = imul(arshift((v_I - v_v), 2), 9) +v_d = I32[arshift(v_v, 2)] +t357 = (((tobit(v_d) % 4294967296) < 10) and 1 or 0) +end +if (not (t357 ~= 0)) then +do +v_t = 100 +while true do +do +v_b = tobit((v_b + 1)) +if ((tobit(v_t) % 4294967296) > (tobit(v_d) % 4294967296)) then +goto L329 +end +v_t = imul(v_t, 10) +end +::C330:: +end +end +::B330:: +end +end +end +::L329:: +end +do +v_t = tobit((tobit((v_h - ((102 == bor(0, v_M)) and 0 or v_b))) - band(((103 == bor(0, v_M)) and 1 or 0), ((0 ~= bor(0, v_h)) and 1 or 0)))) +if (bor(0, v_t) < tobit((imul(arshift((v_l - v_I), 2), 9) - 9))) then +do +v_k = tobit((v_t + 9216)) +v_d = tobit(toint((bor(0, v_k) / 9))) +v_y = tobit((tobit((lshift(v_d, 2) + ((bor(0, v_w) < 0) and bor((v_c + 48), 4) or tobit((v_c + 340))))) - 4096)) +v_t = 10 +do +v_d = tobit((v_k - imul(v_d, 9))) +if (not (bor(0, v_d) > 7)) then +do +v_t = 100 +while true do +do +v_d = tobit((v_d + 1)) +if (8 == bor(0, v_d)) then +goto L331 +end +v_t = imul(v_t, 10) +end +::C332:: +end +end +::B332:: +end +end +::L331:: +do +do +do +v_k = I32[arshift(v_y, 2)] +local t359 = v_k +local t358 = v_t +v_w = tobit(toint(((tobit(v_k) % 4294967296) / (tobit(v_t) % 4294967296)))) +v_C = tobit((t359 - imul(t358, v_w))) +v_d = tobit((v_y + 4)) +local t360 = ((bor(0, v_d) ~= bor(0, v_l)) and 1 or 0) +if t360 == 0 then +t360 = v_C +end +local t361 = t360 +if t361 ~= 0 then +v_r = ((bor(0, v_l) == bor(0, v_d)) and 1 or 1.5) +v_d = tobit((rshift(v_t, 1) % 4294967296)) +v_S = (((tobit(v_d) % 4294967296) > (tobit(v_C) % 4294967296)) and 0.5 or ((bor(0, v_d) == bor(0, v_C)) and v_r or 1.5)) +v_r = ((band(1, v_w) ~= 0) and 9007199254740994 or 9007199254740992) +if not (bor(((45 ~= U8[bor(0, v_x)]) and 1 or 0), v_P) ~= 0) then +v_S = (-v_S) +v_r = (-v_r) +end +v_d = tobit((v_k - v_C)) +I32[arshift(v_y, 2)] = tobit(v_d) +t361 = (((v_r + v_S) ~= v_r) and 1 or 0) +end +if (t361 ~= 0) then +v_t = tobit((v_t + v_d)) +I32[arshift(v_y, 2)] = tobit(v_t) +if ((tobit(v_t) % 4294967296) >= 1000000000) then +do +while true do +I32[arshift(v_y, 2)] = tobit(0) +v_y = tobit((v_y - 4)) +if ((tobit(v_y) % 4294967296) < (tobit(v_v) % 4294967296)) then +v_v = tobit((v_v - 4)) +I32[arshift(v_v, 2)] = tobit(0) +end +v_t = tobit((I32[arshift(v_y, 2)] + 1)) +I32[arshift(v_y, 2)] = tobit(v_t) +if not ((tobit(v_t) % 4294967296) > 999999999) then goto B334 end +do +end +::C334:: +end +end +::B334:: +end +v_b = imul(arshift((v_I - v_v), 2), 9) +v_d = I32[arshift(v_v, 2)] +if (not ((tobit(v_d) % 4294967296) < 10)) then +do +v_t = 100 +while true do +do +v_b = tobit((v_b + 1)) +if ((tobit(v_t) % 4294967296) > (tobit(v_d) % 4294967296)) then +goto L333 +end +v_t = imul(v_t, 10) +end +::C335:: +end +end +::B335:: +end +end +end +end +::L333:: +end +v_t = tobit((v_y + 4)) +v_l = (((tobit(v_t) % 4294967296) < (tobit(v_l) % 4294967296)) and v_t or v_l) +end +end +end +do +do +while true do +do +v_w = v_l +v_d = (((tobit(v_l) % 4294967296) <= (tobit(v_v) % 4294967296)) and 1 or 0) +local t362 = ((not (v_d ~= 0)) and 1 or 0) +if t362 ~= 0 then +v_l = tobit((v_w - 4)) +t362 = ((not (I32[arshift(v_l, 2)] ~= 0)) and 1 or 0) +end +if not (t362 ~= 0) then goto B336 end +end +do +end +::C336:: +end +end +::B336:: +end +do +if (103 == bor(0, v_M)) then +do +do +local t363 = v_h +if t363 == 0 then +t363 = 1 +end +v_l = t363 +v_t = band(((bor(0, v_l) > bor(0, v_b)) and 1 or 0), ((bor(0, v_b) > (-5)) and 1 or 0)) +v_h = tobit((((v_t ~= 0) and bxor((-1), v_b) or (-1)) + v_l)) +v_u = tobit((((v_t ~= 0) and (-1) or (-2)) + v_u)) +v_m = band(8, v_o) +if (not (v_m ~= 0)) then +do +do +v_l = (-9) +local t364 = ((not (v_d ~= 0)) and 1 or 0) +if t364 ~= 0 then +v_t = I32[arshift((v_w - 4), 2)] +t364 = v_t +end +local t365 = t364 +if t365 ~= 0 then +v_l = 0 +t365 = ((not (tobit(fmod((tobit(v_t) % 4294967296), 10)) ~= 0)) and 1 or 0) +end +if (t365 ~= 0) then +do +v_d = 0 +v_l = 100 +while true do +if not (not (tobit(fmod((tobit(v_t) % 4294967296), (tobit(v_l) % 4294967296))) ~= 0)) then goto B337 end +do +v_d = tobit((v_d + 1)) +v_l = imul(v_l, 10) +end +::C337:: +end +end +::B337:: +v_l = bxor((-1), v_d) +end +end +v_t = imul(arshift((v_w - v_I), 2), 9) +if (70 ~= band((-33), v_u)) then +v_m = 0 +v_t = tobit((tobit((tobit((v_t + v_b)) + v_l)) - 9)) +v_t = ((bor(0, v_t) > 0) and v_t or 0) +v_h = ((bor(0, v_t) > bor(0, v_h)) and v_h or v_t) +else +v_m = 0 +v_t = tobit((tobit((v_t + v_l)) - 9)) +v_t = ((bor(0, v_t) > 0) and v_t or 0) +v_h = ((bor(0, v_t) > bor(0, v_h)) and v_h or v_t) +end +end +end +end +end +else +v_m = band(8, v_o) +end +end +do +v_C = ((0 ~= bor(v_h, v_m)) and 1 or 0) +v_t = v_A +v_d = v_e +v_k = band((-33), v_u) +if (70 == bor(0, v_k)) then +v_u = ((bor(0, v_b) > 0) and v_b or 0) +else +do +do +local t366 = v_Q +v_l = arshift(v_b, 31) +v_l = F.fdA(bxor((v_l + v_b), v_l), 0, v_Q) +if (tobit((t366 - v_l)) <= 1) then +do +while true do +v_l = tobit((v_l - 1)) +I8[bor(0, v_l)] = tobit(48) +if not (tobit((v_Q - v_l)) < 2) then goto B338 end +do +end +::C338:: +end +end +::B338:: +end +end +v_j = tobit((v_l - 2)) +I8[bor(0, v_j)] = tobit(v_u) +I8[tobit((v_l - 1))] = tobit(((bor(0, v_b) < 0) and 45 or 43)) +v_u = tobit((v_Q - v_j)) +end +end +end +do +local t367 = v_t +local t368 = v_d +v_y = tobit((1 + tobit((v_u + tobit((v_C + tobit((v_h + v_O)))))))) +F.fIA(t367, 32, t368, v_y, v_o) +F.fiA(v_A, v_x, v_O) +F.fIA(v_A, 48, v_e, v_y, bxor(65536, v_o)) +end +do +do +do +do +do +do +do +do +do +do +if (70 == bor(0, v_k)) then +do +do +do +v_t = bor((v_c + 16), 8) +v_b = bor((v_c + 16), 9) +v_u = (((tobit(v_v) % 4294967296) > (tobit(v_I) % 4294967296)) and v_I or v_v) +v_v = v_u +while true do +do +do +v_l = F.fdA(I32[arshift(v_v, 2)], 0, v_b) +do +if (bor(0, v_u) == bor(0, v_v)) then +if (bor(0, v_l) == bor(0, v_b)) then +I8[tobit((v_c + 24))] = tobit(48) +v_l = v_t +end +else +if ((tobit((v_c + 16)) % 4294967296) >= (tobit(v_l) % 4294967296)) then +goto L343 +end +do +while true do +v_l = tobit((v_l - 1)) +I8[bor(0, v_l)] = tobit(48) +if not ((tobit((v_c + 16)) % 4294967296) < (tobit(v_l) % 4294967296)) then goto B344 end +do +end +::C344:: +end +end +::B344:: +end +end +::L343:: +do +F.fiA(v_A, v_l, tobit((v_b - v_l))) +local t369 = (tobit(v_I) % 4294967296) +v_v = tobit((v_v + 4)) +if (not (t369 >= (tobit(v_v) % 4294967296))) then +goto B342 +end +end +end +end +::C342:: +end +end +::B342:: +end +v_l = 0 +if (not (v_C ~= 0)) then +goto L340 +end +F.fiA(v_A, 10651, 1) +if (bor(((bor(0, v_h) < 1) and 1 or 0), (((tobit(v_v) % 4294967296) >= (tobit(v_w) % 4294967296)) and 1 or 0)) ~= 0) then +goto L341 +end +do +do +while true do +do +do +v_l = F.fdA(I32[arshift(v_v, 2)], 0, v_b) +if ((tobit(v_l) % 4294967296) > (tobit((v_c + 16)) % 4294967296)) then +do +while true do +v_l = tobit((v_l - 1)) +I8[bor(0, v_l)] = tobit(48) +if not ((tobit((v_c + 16)) % 4294967296) < (tobit(v_l) % 4294967296)) then goto B346 end +do +end +::C346:: +end +end +::B346:: +end +do +F.fiA(v_A, v_l, ((bor(0, v_h) < 9) and v_h or 9)) +v_l = tobit((v_h - 9)) +local t370 = (tobit(v_w) % 4294967296) +v_v = tobit((v_v + 4)) +if (t370 <= (tobit(v_v) % 4294967296)) then +goto L340 +end +end +v_t = ((bor(0, v_h) > 9) and 1 or 0) +v_h = v_l +if (not (v_t ~= 0)) then +goto B345 +end +end +end +::C345:: +end +end +::B345:: +end +goto L340 +end +end +end +do +do +do +if (not (bor(0, v_h) < 0)) then +do +do +v_u = (((tobit(v_v) % 4294967296) < (tobit(v_w) % 4294967296)) and v_w or tobit((v_v + 4))) +v_d = bor((v_c + 16), 9) +v_t = bor((v_c + 16), 8) +v_b = v_v +while true do +do +do +do +local t371 = bor(0, v_d) +v_l = F.fdA(I32[arshift(v_b, 2)], 0, v_d) +if (t371 == bor(0, v_l)) then +I8[tobit((v_c + 24))] = tobit(48) +v_l = v_t +end +end +do +if (bor(0, v_b) == bor(0, v_v)) then +F.fiA(v_A, v_l, 1) +v_l = tobit((v_l + 1)) +if not ((not (v_m ~= 0)) and (bor(0, v_h) <= 0)) then +F.fiA(v_A, 10651, 1) +end +else +if ((tobit((v_c + 16)) % 4294967296) >= (tobit(v_l) % 4294967296)) then +goto L349 +end +do +while true do +v_l = tobit((v_l - 1)) +I8[bor(0, v_l)] = tobit(48) +if not ((tobit((v_c + 16)) % 4294967296) < (tobit(v_l) % 4294967296)) then goto B350 end +do +end +::C350:: +end +end +::B350:: +end +end +::L349:: +do +local t372 = v_A +v_w = v_l +local t373 = v_w +v_l = tobit((v_d - v_l)) +F.fiA(t372, t373, ((bor(0, v_l) < bor(0, v_h)) and v_l or v_h)) +v_h = tobit((v_h - v_l)) +local t374 = (tobit(v_u) % 4294967296) +v_b = tobit((v_b + 4)) +if (t374 <= (tobit(v_b) % 4294967296)) then +goto L347 +end +end +if (not (bor(0, v_h) > (-1))) then +goto B348 +end +end +end +::C348:: +end +end +::B348:: +end +end +end +end +::L347:: +end +F.fIA(v_A, 48, tobit((v_h + 18)), 18, 0) +F.fiA(v_A, v_j, tobit((v_Q - v_j))) +goto L339 +end +end +::L341:: +end +v_l = v_h +end +end +::L340:: +end +F.fIA(v_A, 48, tobit((v_l + 9)), 9, 0) +end +end +::L339:: +end +goto L318 +end +end +::L319:: +end +do +v_h = band(32, v_u) +v_w = ((v_h ~= 0) and tobit((v_x + 9)) or v_x) +local t375 = ((not ((tobit(v_t) % 4294967296) > 11)) and 1 or 0) +if t375 ~= 0 then +v_l = tobit((12 - v_t)) +t375 = v_l +end +if (t375 ~= 0) then +do +v_S = 8 +while true do +v_S = (v_S * 16) +v_l = tobit((v_l - 1)) +if not (v_l ~= 0) then goto B351 end +do +end +::C351:: +end +end +::B351:: +v_r = ((45 ~= U8[bor(0, v_w)]) and ((v_r + v_S) - v_S) or (-(v_S + ((-v_r) - v_S)))) +end +end +do +do +do +local t376 = bor(0, v_Q) +v_l = I32[arshift((v_c + 44), 2)] +v_b = arshift(v_l, 31) +v_l = F.fdA(bxor(v_b, (v_l + v_b)), 0, v_Q) +if (t376 == bor(0, v_l)) then +I8[tobit((v_c + 15))] = tobit(48) +v_l = tobit((v_c + 15)) +end +v_d = bor(2, v_O) +v_b = I32[arshift((v_c + 44), 2)] +v_k = tobit((v_l - 2)) +I8[bor(0, v_k)] = tobit((v_u + 15)) +I8[tobit((v_l - 1))] = tobit(((bor(0, v_b) < 0) and 45 or 43)) +v_l = band(8, v_o) +v_v = tobit((v_c + 16)) +end +while true do +do +v_u = v_v +v_I = v_h +v_b = ((math.abs(v_r) < 2147483648) and bnot(bnot(v_r)) or (-2147483648)) +I8[bor(0, v_v)] = tobit(bor(v_I, U8[tobit((v_b + 12272))])) +v_r = (16 * (v_r - bor(0, v_b))) +local t377 = v_l +if t377 == 0 then +t377 = bor(((bor(0, v_t) > 0) and 1 or 0), ((0 ~= v_r) and 1 or 0)) +end +local t378 = (not (t377 ~= 0)) +v_v = tobit((v_u + 1)) +if not (bor((t378 and 1 or 0), ((1 ~= tobit((v_v - tobit((v_c + 16))))) and 1 or 0)) ~= 0) then +I8[tobit((v_u + 1))] = tobit(46) +v_v = tobit((v_u + 2)) +end +if not (0 ~= v_r) then goto B352 end +end +do +end +::C352:: +end +end +::B352:: +end +do +local t379 = v_A +local t380 = v_e +v_u = ((bor(((not (v_t ~= 0)) and 1 or 0), ((tobit((tobit((v_v - v_c)) - 18)) >= bor(0, v_t)) and 1 or 0)) ~= 0) and tobit((tobit((v_Q - tobit((v_k + tobit((v_c + 16)))))) + v_v)) or tobit((2 + tobit((tobit((v_t + v_Q)) - v_k))))) +v_y = tobit((v_u + v_d)) +F.fIA(t379, 32, t380, v_y, v_o) +F.fiA(v_A, v_w, v_d) +F.fIA(v_A, 48, v_e, v_y, bxor(65536, v_o)) +local t381 = v_A +local t382 = tobit((v_c + 16)) +v_t = tobit((v_v - tobit((v_c + 16)))) +F.fiA(t381, t382, v_t) +local t385 = v_A +local t384 = v_u +v_l = v_t +local t383 = v_l +v_t = tobit((v_Q - v_k)) +F.fIA(t385, 48, tobit((t384 - tobit((t383 + v_t)))), 0, 0) +F.fiA(v_A, v_k, v_t) +end +end +else +do +local t386 = v_A +local t387 = v_e +v_y = tobit((v_O + 3)) +F.fIA(t386, 32, t387, v_y, band((-65537), v_o)) +F.fiA(v_A, v_x, v_O) +v_t = band(32, v_u) +F.fiA(v_A, ((v_r ~= v_r) and ((v_t ~= 0) and 10588 or 10636) or ((v_t ~= 0) and 10613 or 10640)), 3) +end +end +end +end +::L318:: +end +F.fIA(v_A, 32, v_e, v_y, bxor(8192, v_o)) +B = tobit((v_c + 560)) +do return bor(0, ((bor(0, v_e) > bor(0, v_y)) and v_e or v_y)) end +end +UA[53] = function(v_A, v_r) +local v_e, v_n, v_t, v_o, v_f, v_a, v_s, v_l, v_b, v_g, v_p, v_d, v_h, v_k, v_y = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_A = tobit(v_A) +v_o = 0 +v_f = 0 +v_a = 0 +v_s = 0 +v_l = 0 +v_b = 0 +v_g = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_r = tobit(v_r) +v_o = v_r +v_r = band((I32[arshift(v_r, 2)] + 15), (-16)) +I32[arshift(v_o, 2)] = tobit((v_r + 16)) +v_t = v_A +v_A = v_r +v_p = I32[arshift(v_A, 2)] +v_r = I32[arshift((v_A + 4), 2)] +v_s = I32[arshift((v_A + 12), 2)] +v_n = v_s +v_e = tobit((B - 32)) +B = v_e +v_o = band(2147483647, v_s) +v_s = v_o +v_a = tobit((v_o - 1006698496)) +v_f = tobit((v_o - 1140785152)) +v_o = I32[arshift((v_A + 8), 2)] +v_g = v_o +do +do +do +if (bor(band(((bor(0, v_a) == bor(0, v_f)) and 1 or 0), (((tobit(v_o) % 4294967296) < (tobit(v_o) % 4294967296)) and 1 or 0)), (((tobit(v_a) % 4294967296) < (tobit(v_f) % 4294967296)) and 1 or 0)) ~= 0) then +do +do +v_s = v_o +v_o = bor(lshift(v_n, 4), (rshift(v_o, 28) % 4294967296)) +local t388 = lshift(v_s, 4) +v_A = v_r +v_s = bor(t388, (rshift(v_A, 28) % 4294967296)) +v_A = band(v_A, 268435455) +v_r = v_A +if (bor(band(((134217728 == bor(0, v_A)) and 1 or 0), (((tobit(v_p) % 4294967296) >= 1) and 1 or 0)), (((tobit(v_A) % 4294967296) > 134217728) and 1 or 0)) ~= 0) then +v_A = tobit((v_o + 1073741824)) +v_r = tobit((v_s + 1)) +v_A = (((tobit(v_r) % 4294967296) < 1) and tobit((v_A + 1)) or v_A) +v_a = v_r +goto L353 +end +end +v_a = v_s +v_A = tobit((v_o + 1073741824)) +if (bor(v_p, bxor(134217728, v_r)) ~= 0) then +goto L353 +end +do +v_o = v_A +v_r = band(1, v_s) +local t389 = (tobit(v_r) % 4294967296) +v_s = tobit((v_r + v_a)) +v_a = v_s +v_A = ((t389 > (tobit(v_a) % 4294967296)) and tobit((v_o + 1)) or v_o) +end +end +else +do +if (((band(((not (v_g ~= 0)) and 1 or 0), ((2147418112 == bor(0, v_s)) and 1 or 0)) ~= 0) and ((not (bor(v_r, v_p) ~= 0)) and 1 or 0) or (((tobit(v_s) % 4294967296) < 2147418112) and 1 or 0)) ~= 0) then +v_a = 0 +v_A = 2146435072 +if not ((tobit(v_s) % 4294967296) > 1140785151) then +v_A = 0 +v_k = tobit((rshift(v_s, 16) % 4294967296)) +if not ((tobit(v_k) % 4294967296) < 15249) then +v_a = v_p +v_A = v_r +v_f = bor(band(65535, v_n), 65536) +v_s = v_f +v_d = v_o +v_l = v_o +v_b = tobit((v_k - 15233)) +if (band(64, v_b) ~= 0) then +v_f = v_a +v_o = tobit((v_b + (-64))) +v_a = band(31, v_o) +if ((tobit(band(63, v_o)) % 4294967296) >= 32) then +v_A = lshift(v_f, v_a) +v_l = 0 +else +v_A = bor(band((lshift(1, v_a) - 1), (rshift(v_f, (32 - v_a)) % 4294967296)), lshift(v_A, v_a)) +v_l = lshift(v_f, v_a) +end +v_f = v_A +v_a = 0 +v_A = 0 +else +if (v_b ~= 0) then +v_g = v_b +v_o = v_b +v_h = band(31, v_o) +if ((tobit(band(63, v_o)) % 4294967296) >= 32) then +v_o = lshift(v_l, v_h) +v_l = 0 +else +v_o = bor(band((lshift(1, v_h) - 1), (rshift(v_l, (32 - v_h)) % 4294967296)), lshift(v_f, v_h)) +v_l = lshift(v_l, v_h) +end +v_f = v_o +v_y = v_l +v_l = v_A +v_h = v_a +v_o = tobit((64 - v_b)) +v_b = band(31, v_o) +if ((tobit(band(63, v_o)) % 4294967296) >= 32) then +v_o = 0 +v_l = tobit((rshift(v_l, v_b) % 4294967296)) +else +v_o = tobit((rshift(v_l, v_b) % 4294967296)) +v_l = bor(lshift(band((lshift(1, v_b) - 1), v_l), (32 - v_b)), (rshift(v_h, v_b) % 4294967296)) +end +v_l = bor(v_l, v_y) +v_f = bor(v_f, v_o) +v_b = band(31, v_g) +if ((tobit(band(63, v_g)) % 4294967296) >= 32) then +v_o = lshift(v_a, v_b) +v_a = 0 +else +v_o = bor(band((lshift(1, v_b) - 1), (rshift(v_a, (32 - v_b)) % 4294967296)), lshift(v_A, v_b)) +v_a = lshift(v_a, v_b) +end +v_A = v_o +end +end +I32[arshift((v_e + 16), 2)] = tobit(v_a) +I32[arshift((v_e + 20), 2)] = tobit(v_A) +I32[arshift((v_e + 24), 2)] = tobit(v_l) +I32[arshift((v_e + 28), 2)] = tobit(v_f) +v_o = tobit((15361 - v_k)) +if (band(64, v_o) ~= 0) then +v_r = v_d +v_A = tobit((v_o + (-64))) +v_f = band(31, v_A) +if ((tobit(band(63, v_A)) % 4294967296) >= 32) then +v_o = 0 +v_p = tobit((rshift(v_s, v_f) % 4294967296)) +else +v_o = tobit((rshift(v_s, v_f) % 4294967296)) +v_p = bor(lshift(band((lshift(1, v_f) - 1), v_s), (32 - v_f)), (rshift(v_r, v_f) % 4294967296)) +end +v_r = v_o +v_d = 0 +v_s = 0 +else +if (v_o ~= 0) then +v_A = v_s +v_a = v_d +v_f = tobit((64 - v_o)) +v_g = band(31, v_f) +if ((tobit(band(63, v_f)) % 4294967296) >= 32) then +v_A = lshift(v_a, v_g) +v_a = 0 +else +v_A = bor(band((lshift(1, v_g) - 1), (rshift(v_a, (32 - v_g)) % 4294967296)), lshift(v_A, v_g)) +v_a = lshift(v_a, v_g) +end +v_f = v_A +v_l = v_a +v_a = v_p +v_A = v_o +v_g = band(31, v_o) +if ((tobit(band(63, v_o)) % 4294967296) >= 32) then +v_o = 0 +v_r = tobit((rshift(v_r, v_g) % 4294967296)) +else +v_o = tobit((rshift(v_r, v_g) % 4294967296)) +v_r = bor(lshift(band((lshift(1, v_g) - 1), v_r), (32 - v_g)), (rshift(v_a, v_g) % 4294967296)) +end +v_p = bor(v_l, v_r) +v_r = bor(v_o, v_f) +v_o = v_d +v_f = band(31, v_A) +if ((tobit(band(63, v_A)) % 4294967296) >= 32) then +v_A = 0 +v_d = tobit((rshift(v_s, v_f) % 4294967296)) +else +v_A = tobit((rshift(v_s, v_f) % 4294967296)) +v_d = bor(lshift(band((lshift(1, v_f) - 1), v_s), (32 - v_f)), (rshift(v_o, v_f) % 4294967296)) +end +v_s = v_A +end +end +I32[arshift(v_e, 2)] = tobit(v_p) +I32[arshift((v_e + 4), 2)] = tobit(v_r) +I32[arshift((v_e + 8), 2)] = tobit(v_d) +I32[arshift((v_e + 12), 2)] = tobit(v_s) +v_f = I32[arshift((v_e + 4), 2)] +v_r = I32[arshift((v_e + 8), 2)] +v_a = bor(lshift(v_r, 4), (rshift(v_f, 28) % 4294967296)) +v_A = bor(lshift(I32[arshift((v_e + 12), 2)], 4), (rshift(v_r, 28) % 4294967296)) +v_f = band(v_f, 268435455) +v_s = v_f +local t390 = (134217728 == bor(0, v_f)) +v_r = bor(bor(I32[arshift(v_e, 2)], ((0 ~= bor(I32[arshift((v_e + 16), 2)], I32[arshift((v_e + 24), 2)])) and 1 or 0)), ((0 ~= bor(I32[arshift((v_e + 20), 2)], I32[arshift((v_e + 28), 2)])) and 1 or 0)) +if (bor(band((t390 and 1 or 0), (((tobit(v_r) % 4294967296) >= 1) and 1 or 0)), (((tobit(v_f) % 4294967296) > 134217728) and 1 or 0)) ~= 0) then +v_r = tobit((v_a + 1)) +v_A = (((tobit(v_r) % 4294967296) < 1) and tobit((v_A + 1)) or v_A) +v_a = v_r +else +if not (bor(v_r, bxor(134217728, v_s)) ~= 0) then +v_f = v_A +v_r = tobit((v_a + band(1, v_a))) +v_f = (((tobit(v_r) % 4294967296) < (tobit(v_a) % 4294967296)) and tobit((v_f + 1)) or v_f) +v_a = v_r +v_A = v_f +end +end +end +end +else +v_s = v_o +v_a = bor(lshift(v_s, 4), (rshift(v_r, 28) % 4294967296)) +v_o = bor(lshift(v_n, 4), (rshift(v_o, 28) % 4294967296)) +v_A = bor(band(524287, v_o), 2146959360) +end +end +end +end +end +::L353:: +end +B = tobit((v_e + 32)) +rf_u(0, bor(0, v_a)) +rf_u(1, bor(band((-2147483648), v_n), v_A)) +F64[arshift(v_t, 3)] = rf_c() +end +UA[54] = function(v_A, v_r, v_e) +local v_n, v_t = 0, 0 +v_r = tobit(v_r) +v_e = tobit(v_e) +v_t = 0 +do +v_A = tobit(v_A) +v_n = I32[arshift((20 + v_A), 2)] +local t392 = v_n +local t393 = v_r +local t391 = (tobit(v_e) % 4294967296) +v_t = tobit((I32[arshift((v_A + 16), 2)] - v_n)) +v_t = ((t391 < (tobit(v_t) % 4294967296)) and v_e or v_t) +F.fTA(t392, t393, v_t) +I32[arshift((v_A + 20), 2)] = tobit((v_t + I32[arshift((v_A + 20), 2)])) +do return bor(0, v_e) end +end +end +UA[55] = function(v_A, v_r, v_e, v_t, v_a, v_u, v_c) +local v_s, v_b, v_v, v_p, v_d, v_h, v_k, v_y, v_w, v_C, v_I, v_E = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_t = tobit(v_t) +v_a = tobit(v_a) +v_u = tobit(v_u) +v_c = tobit(v_c) +v_b = 0 +v_v = 0 +v_p = 0 +v_d = 0 +v_h = 0 +v_k = 0 +v_y = 0 +v_w = 0 +v_C = 0 +v_I = 0 +v_E = 0 +do +v_s = tobit((B - 528)) +B = v_s +v_k = (-3) +v_b = I32[7928] +if (not (bor(((not (v_b ~= 0)) and 1 or 0), ((not (U8[bor(0, v_b)] ~= 0)) and 1 or 0)) ~= 0)) then +do +if (I32[7931] ~= 0) then +do +do +v_k = (-1) +local t394 = ((not ((tobit(v_r) % 4294967296) < 256)) and 1 or 0) +if t394 ~= 0 then +I8[tobit((v_s + 480))] = tobit(0) +F.fTA(tobit((v_s + 224)), v_A, 256) +I8[tobit((v_s + 192))] = tobit(0) +v_b = F.fG() +v_y = F.fD(v_b) +F.fU(v_b) +v_b = v_y +v_v = bor(bor(bor(U8[tobit((v_b + 12))], lshift(U8[tobit((v_b + 13))], 8)), lshift(U8[tobit((v_b + 14))], 16)), lshift(U8[tobit((v_b + 15))], 24)) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_b + 8))], lshift(U8[tobit((v_b + 9))], 8)), lshift(U8[tobit((v_b + 10))], 16)), lshift(U8[tobit((v_b + 11))], 24))) +I32[arshift((v_s + 508), 2)] = tobit(v_v) +v_v = bor(bor(bor(U8[tobit((v_b + 4))], lshift(U8[tobit((v_b + 5))], 8)), lshift(U8[tobit((v_b + 6))], 16)), lshift(U8[tobit((v_b + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_b)], lshift(U8[tobit((v_b + 1))], 8)), lshift(U8[tobit((v_b + 2))], 16)), lshift(U8[tobit((v_b + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_v) +v_d = tobit((B - 288)) +B = v_d +v_v = F.fKA(F.fm(257), 0, 257) +F.fDA(tobit((v_d + 8))) +F.fz(tobit((v_d + 8)), v_b, 256) +F.fR(tobit((v_d + 8)), 0, 256, tobit((v_s + 496)), tobit((v_s + 224)), v_v) +F.fhA(tobit((v_d + 8))) +B = tobit((v_d + 288)) +t394 = v_v +end +if (t394 ~= 0) then +do +do +v_b = v_v +v_v = bor(bor(bor(U8[tobit((v_b + 8))], lshift(U8[tobit((v_b + 9))], 8)), lshift(U8[tobit((v_b + 10))], 16)), lshift(U8[tobit((v_b + 11))], 24)) +v_d = bor(bor(bor(U8[tobit((v_b + 12))], lshift(U8[tobit((v_b + 13))], 8)), lshift(U8[tobit((v_b + 14))], 16)), lshift(U8[tobit((v_b + 15))], 24)) +v_k = bor(bor(bor(U8[bor(0, v_b)], lshift(U8[tobit((v_b + 1))], 8)), lshift(U8[tobit((v_b + 2))], 16)), lshift(U8[tobit((v_b + 3))], 24)) +v_p = bor(bor(bor(U8[tobit((v_b + 4))], lshift(U8[tobit((v_b + 5))], 8)), lshift(U8[tobit((v_b + 6))], 16)), lshift(U8[tobit((v_b + 7))], 24)) +v_w = bor(bor(bor(U8[tobit((v_b + 20))], lshift(U8[tobit((v_b + 21))], 8)), lshift(U8[tobit((v_b + 22))], 16)), lshift(U8[tobit((v_b + 23))], 24)) +I32[arshift((v_s + 208), 2)] = tobit(bor(bor(bor(U8[tobit((v_b + 16))], lshift(U8[tobit((v_b + 17))], 8)), lshift(U8[tobit((v_b + 18))], 16)), lshift(U8[tobit((v_b + 19))], 24))) +I32[arshift((v_s + 212), 2)] = tobit(v_w) +I16[arshift((v_s + 216), 1)] = tobit(bor(U8[tobit((v_b + 24))], lshift(U8[tobit((v_b + 25))], 8))) +v_w = U8[tobit((v_b + 26))] +F.fTA(tobit((v_s - (-64))), tobit((v_b + 128)), 128) +F.fU(v_y) +F.fU(v_b) +I32[arshift((v_s + 48), 2)] = tobit(v_k) +I32[arshift((v_s + 52), 2)] = tobit(v_p) +I8[tobit((v_s + 56))] = tobit(0) +v_y = F.fbA(tobit((v_s + 48))) +I32[arshift((v_s + 48), 2)] = tobit(v_v) +I32[arshift((v_s + 52), 2)] = tobit(v_d) +v_E = F.fbA(tobit((v_s + 48))) +I16[arshift((v_s + 40), 1)] = tobit(U16[arshift((v_s + 216), 1)]) +I8[tobit((v_s + 42))] = tobit(0) +v_b = I32[arshift((v_s + 212), 2)] +I32[arshift((v_s + 32), 2)] = tobit(I32[arshift((v_s + 208), 2)]) +I32[arshift((v_s + 36), 2)] = tobit(v_b) +I32[arshift(v_s, 2)] = tobit(F.fbA(tobit((v_s + 32)))) +v_d = tobit((B - 16)) +B = v_d +I32[arshift((v_d + 12), 2)] = tobit(v_s) +v_b = tobit((B - 160)) +B = v_b +F.fTA(tobit((v_b + 8)), 12288, 144) +v_v = tobit((v_s + 32)) +I32[arshift((v_b + 52), 2)] = tobit(v_v) +I32[arshift((v_b + 28), 2)] = tobit(v_v) +v_k = tobit(((-2) - v_v)) +v_k = (((tobit(v_k) % 4294967296) < 11) and v_k or 11) +I32[arshift((v_b + 56), 2)] = tobit(v_k) +v_v = tobit((v_v + v_k)) +I32[arshift((v_b + 36), 2)] = tobit(v_v) +I32[arshift((v_b + 24), 2)] = tobit(v_v) +F.ffA(tobit((v_b + 8)), 10633, v_s, 52, 53) +if (v_k ~= 0) then +v_v = I32[arshift((v_b + 28), 2)] +I8[tobit((v_v - ((bor(0, v_v) == I32[arshift((v_b + 24), 2)]) and 1 or 0)))] = tobit(0) +end +B = tobit((v_b + 160)) +B = tobit((v_d + 16)) +v_k = (-2) +v_v = I32[7931] +v_d = tobit((v_s + 32)) +v_b = 0 +v_p = 10 +while true do +v_h = bxor(I32[arshift((12432 + lshift(bxor(U8[tobit((v_b + v_d))], band(255, v_h)), 2)), 2)], (rshift(v_h, 8) % 4294967296)) +v_h = bxor(I32[arshift((12432 + lshift(bxor(U8[tobit((v_d + bor(1, v_b)))], band(255, v_h)), 2)), 2)], (rshift(v_h, 8) % 4294967296)) +v_b = tobit((v_b + 2)) +v_p = tobit((v_p - 2)) +if not (v_p ~= 0) then goto B354 end +do +end +::C354:: +end +end +::B354:: +v_b = imul(v_h, 4097) +v_b = imul(bxor((rshift(v_b, 22) % 4294967296), v_b), 17) +v_b = imul(bxor((rshift(v_b, 9) % 4294967296), v_b), 1025) +v_b = imul(bxor((rshift(v_b, 2) % 4294967296), v_b), 129) +v_h = I32[arshift(v_v, 2)] +v_b = tobit(fmod((tobit(imul(bxor((rshift(v_b, 15) % 4294967296), (rshift(v_b, 3) % 4294967296)), (-1640531535))) % 4294967296), (tobit(v_h) % 4294967296))) +v_v = I32[arshift((v_v + 8), 2)] +do +do +do +do +v_p = tobit((lshift(v_b, 4) + v_v)) +local t397 = ((bor(((not (I32[arshift((8 + v_p), 2)] ~= 0)) and 1 or 0), ((10 ~= I32[arshift((v_p + 4), 2)]) and 1 or 0)) ~= 0) or (F.fOA(I32[arshift((v_v + lshift(v_b, 4)), 2)], v_d, 10) ~= 0)) +if t397 then +local t395 = v_v +v_b = tobit(fmod((tobit((v_b + 1)) % 4294967296), (tobit(v_h) % 4294967296))) +local t396 = (not (I32[arshift((8 + tobit((t395 + lshift(v_b, 4)))), 2)] ~= 0)) +if not t396 then +v_p = tobit((v_v + lshift(v_b, 4))) +t396 = (10 ~= I32[arshift((4 + v_p), 2)]) +end +t397 = (t396 or (F.fOA(I32[arshift(v_p, 2)], v_d, 10) ~= 0)) +end +local t399 = t397 +if t399 then +local t398 = v_v +v_b = tobit(fmod((tobit((v_b + 1)) % 4294967296), (tobit(v_h) % 4294967296))) +v_p = tobit((t398 + lshift(v_b, 4))) +t399 = ((bor(((not (I32[arshift((8 + v_p), 2)] ~= 0)) and 1 or 0), ((10 ~= I32[arshift((v_p + 4), 2)]) and 1 or 0)) ~= 0) or (F.fOA(I32[arshift((v_v + lshift(v_b, 4)), 2)], v_d, 10) ~= 0)) +end +local t402 = t399 +if t402 then +local t400 = v_v +v_b = tobit(fmod((tobit((v_b + 1)) % 4294967296), (tobit(v_h) % 4294967296))) +local t401 = (not (I32[arshift((8 + tobit((t400 + lshift(v_b, 4)))), 2)] ~= 0)) +if not t401 then +v_p = tobit((v_v + lshift(v_b, 4))) +t401 = (10 ~= I32[arshift((4 + v_p), 2)]) +end +t402 = (t401 or (F.fOA(I32[arshift(v_p, 2)], v_d, 10) ~= 0)) +end +local t404 = t402 +if t404 then +local t403 = v_v +v_b = tobit(fmod((tobit((v_b + 1)) % 4294967296), (tobit(v_h) % 4294967296))) +v_p = tobit((t403 + lshift(v_b, 4))) +t404 = ((bor(((not (I32[arshift((8 + v_p), 2)] ~= 0)) and 1 or 0), ((10 ~= I32[arshift((v_p + 4), 2)]) and 1 or 0)) ~= 0) or (F.fOA(I32[arshift((v_v + lshift(v_b, 4)), 2)], v_d, 10) ~= 0)) +end +local t407 = t404 +if t407 then +local t405 = v_v +v_b = tobit(fmod((tobit((v_b + 1)) % 4294967296), (tobit(v_h) % 4294967296))) +local t406 = (not (I32[arshift((8 + tobit((t405 + lshift(v_b, 4)))), 2)] ~= 0)) +if not t406 then +v_p = tobit((v_v + lshift(v_b, 4))) +t406 = (10 ~= I32[arshift((4 + v_p), 2)]) +end +t407 = (t406 or (F.fOA(I32[arshift(v_p, 2)], v_d, 10) ~= 0)) +end +local t409 = t407 +if t409 then +local t408 = v_v +v_b = tobit(fmod((tobit((v_b + 1)) % 4294967296), (tobit(v_h) % 4294967296))) +v_p = tobit((t408 + lshift(v_b, 4))) +t409 = ((bor(((not (I32[arshift((8 + v_p), 2)] ~= 0)) and 1 or 0), ((10 ~= I32[arshift((v_p + 4), 2)]) and 1 or 0)) ~= 0) or (F.fOA(I32[arshift((v_v + lshift(v_b, 4)), 2)], v_d, 10) ~= 0)) +end +if t409 then +do +do +v_p = 0 +local t410 = v_v +v_b = tobit(fmod((tobit((v_b + 1)) % 4294967296), (tobit(v_h) % 4294967296))) +if (not (I32[arshift((8 + tobit((t410 + lshift(v_b, 4)))), 2)] ~= 0)) then +goto L355 +end +end +v_h = tobit((v_v + lshift(v_b, 4))) +if (10 ~= I32[arshift((4 + v_h), 2)]) then +goto L355 +end +if (F.fOA(I32[arshift(v_h, 2)], v_d, 10) ~= 0) then +goto L355 +end +end +end +end +v_p = I32[arshift((12 + tobit((v_v + lshift(v_b, 4)))), 2)] +end +end +::L355:: +end +do +if (not (bor(((not (v_p ~= 0)) and 1 or 0), ((not (I32[arshift((v_p + 8), 2)] ~= 0)) and 1 or 0)) ~= 0)) then +do +do +if (v_a ~= 0) then +I32[arshift(v_a, 2)] = tobit(((1 == bor(0, v_w)) and 1 or 0)) +end +v_a = tobit((v_A + 128)) +v_b = F.fTA(v_a, tobit((v_s - (-64))), 128) +if (U8[tobit((v_s + 64))] ~= 0) then +v_A = tobit((v_r - 128)) +else +v_a = tobit((v_A + 256)) +v_A = F.fOA(tobit((v_s - (-64))), bor((v_s - (-64)), 1), 127) +v_a = ((v_A ~= 0) and v_b or v_a) +v_A = tobit((((v_A ~= 0) and (-128) or (-256)) + v_r)) +end +v_b = I32[arshift((v_p + 4), 2)] +v_v = I32[arshift((v_p + 8), 2)] +v_d = tobit((B - 48)) +B = v_d +v_C = F.fG() +v_I = F.fD(v_C) +v_r = v_I +v_h = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +I32[arshift((v_d + 24), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +I32[arshift((v_d + 28), 2)] = tobit(v_h) +v_h = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_d + 16), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_d + 20), 2)] = tobit(v_h) +v_p = F.fuA(v_b, v_v, tobit((v_d + 16)), v_r, tobit((v_d + 12))) +v_w = I32[7929] +local t411 = v_d +v_r = tobit((v_w + v_t)) +v_b = tobit((t411 - band((32 + v_r), (-16)))) +B = v_b +v_b = F.fKA(v_b, 0, tobit((v_r + 17))) +v_r = v_b +v_v = tobit((v_p + imul(v_E, 17))) +v_h = bor(bor(bor(U8[tobit((v_v + 12))], lshift(U8[tobit((v_v + 13))], 8)), lshift(U8[tobit((v_v + 14))], 16)), lshift(U8[tobit((v_v + 15))], 24)) +v_k = bor(bor(bor(U8[tobit((v_v + 8))], lshift(U8[tobit((v_v + 9))], 8)), lshift(U8[tobit((v_v + 10))], 16)), lshift(U8[tobit((v_v + 11))], 24)) +I8[tobit((v_r + 8))] = tobit(v_k) +I8[tobit((v_r + 9))] = tobit((rshift(v_k, 8) % 4294967296)) +I8[tobit((v_r + 10))] = tobit((rshift(v_k, 16) % 4294967296)) +I8[tobit((v_r + 11))] = tobit((rshift(v_k, 24) % 4294967296)) +I8[tobit((v_r + 12))] = tobit(v_h) +I8[tobit((v_r + 13))] = tobit((rshift(v_h, 8) % 4294967296)) +I8[tobit((v_r + 14))] = tobit((rshift(v_h, 16) % 4294967296)) +I8[tobit((v_r + 15))] = tobit((rshift(v_h, 24) % 4294967296)) +v_h = bor(bor(bor(U8[tobit((v_v + 4))], lshift(U8[tobit((v_v + 5))], 8)), lshift(U8[tobit((v_v + 6))], 16)), lshift(U8[tobit((v_v + 7))], 24)) +v_v = bor(bor(bor(U8[bor(0, v_v)], lshift(U8[tobit((v_v + 1))], 8)), lshift(U8[tobit((v_v + 2))], 16)), lshift(U8[tobit((v_v + 3))], 24)) +I8[bor(0, v_r)] = tobit(v_v) +I8[tobit((v_r + 1))] = tobit((rshift(v_v, 8) % 4294967296)) +I8[tobit((v_r + 2))] = tobit((rshift(v_v, 16) % 4294967296)) +I8[tobit((v_r + 3))] = tobit((rshift(v_v, 24) % 4294967296)) +I8[tobit((v_r + 4))] = tobit(v_h) +I8[tobit((v_r + 5))] = tobit((rshift(v_h, 8) % 4294967296)) +I8[tobit((v_r + 6))] = tobit((rshift(v_h, 16) % 4294967296)) +I8[tobit((v_r + 7))] = tobit((rshift(v_h, 24) % 4294967296)) +v_r = F.fTA(tobit((v_r + 16)), I32[7928], v_w) +if (v_t ~= 0) then +F.fTA(tobit((v_r + v_w)), v_e, v_t) +end +v_r = F.fD(v_b) +F.fU(v_C) +F.fU(v_I) +F.fU(v_p) +B = tobit((v_d + 48)) +end +do +do +do +do +do +do +if (bor(0, v_y) <= 31344422) then +if (bor(0, v_y) <= 29344483) then +if (21123123 == bor(0, v_y)) then +goto L361 +end +if (21132184 ~= bor(0, v_y)) then +goto L356 +end +I8[tobit((v_s + 16))] = tobit(0) +I32[arshift((v_s + 8), 2)] = tobit(0) +I32[arshift((v_s + 12), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 8), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 12), 2)] = tobit(v_e) +v_A = F.fcA(v_a, v_A, tobit((v_s + 8)), tobit((v_s + 8)), tobit((v_s + 28))) +I8[tobit((v_s + 512))] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(0) +I32[arshift((v_s + 508), 2)] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +v_e = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +I32[arshift((v_s + 508), 2)] = tobit(v_e) +I32[arshift(v_u, 2)] = tobit(F.fuA(v_A, I32[arshift((v_s + 28), 2)], tobit((v_s + 496)), v_r, v_c)) +F.fU(v_A) +goto L356 +end +if (29344484 == bor(0, v_y)) then +goto L358 +end +if (29859828 ~= bor(0, v_y)) then +goto L356 +end +I8[tobit((v_s + 512))] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(0) +I32[arshift((v_s + 508), 2)] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +v_e = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +I32[arshift((v_s + 508), 2)] = tobit(v_e) +v_A = F.fuA(v_a, v_A, tobit((v_s + 496)), v_r, tobit((v_s + 28))) +I8[tobit((v_s + 13))] = tobit(0) +I8[tobit((v_s + 14))] = tobit(0) +I8[tobit((v_s + 15))] = tobit(0) +I8[tobit((v_s + 16))] = tobit(0) +I8[tobit((v_s + 17))] = tobit(0) +I8[tobit((v_s + 18))] = tobit(0) +I8[tobit((v_s + 19))] = tobit(0) +I8[tobit((v_s + 20))] = tobit(0) +I32[arshift((v_s + 8), 2)] = tobit(0) +I32[arshift((v_s + 12), 2)] = tobit(0) +I32[arshift((v_s + 16), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 8), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 12), 2)] = tobit(v_e) +I32[arshift(v_u, 2)] = tobit(F.fnA(v_A, I32[arshift((v_s + 28), 2)], tobit((v_s + 8)), v_r)) +if (v_c ~= 0) then +I32[arshift(v_c, 2)] = tobit(I32[arshift((v_s + 28), 2)]) +end +F.fU(v_A) +goto L356 +end +if (bor(0, v_y) <= 34232880) then +if (31344423 == bor(0, v_y)) then +goto L357 +end +if (31932881 ~= bor(0, v_y)) then +goto L356 +end +I8[tobit((v_s + 512))] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(0) +I32[arshift((v_s + 508), 2)] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +v_e = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +I32[arshift((v_s + 508), 2)] = tobit(v_e) +v_A = F.fuA(v_a, v_A, tobit((v_s + 496)), v_r, tobit((v_s + 28))) +I8[tobit((v_s + 16))] = tobit(0) +I32[arshift((v_s + 8), 2)] = tobit(0) +I32[arshift((v_s + 12), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 8), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 12), 2)] = tobit(v_e) +I32[arshift(v_u, 2)] = tobit(F.fcA(v_A, I32[arshift((v_s + 28), 2)], tobit((v_s + 8)), tobit((v_s + 8)), v_c)) +F.fU(v_A) +goto L356 +end +if (34232881 == bor(0, v_y)) then +goto L359 +end +if (34941028 == bor(0, v_y)) then +goto L360 +end +if (94859123 ~= bor(0, v_y)) then +goto L356 +end +I8[tobit((v_s + 13))] = tobit(0) +I8[tobit((v_s + 14))] = tobit(0) +I8[tobit((v_s + 15))] = tobit(0) +I8[tobit((v_s + 16))] = tobit(0) +I8[tobit((v_s + 17))] = tobit(0) +I8[tobit((v_s + 18))] = tobit(0) +I8[tobit((v_s + 19))] = tobit(0) +I8[tobit((v_s + 20))] = tobit(0) +I32[arshift((v_s + 8), 2)] = tobit(0) +I32[arshift((v_s + 12), 2)] = tobit(0) +I32[arshift((v_s + 16), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 8), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 12), 2)] = tobit(v_e) +v_e = F.fnA(v_a, v_A, tobit((v_s + 8)), v_r) +I8[tobit((v_s + 512))] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(0) +I32[arshift((v_s + 508), 2)] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +v_t = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_t) +v_t = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +I32[arshift((v_s + 508), 2)] = tobit(v_t) +I32[arshift(v_u, 2)] = tobit(F.fuA(v_e, v_A, tobit((v_s + 496)), v_r, v_c)) +F.fU(v_e) +goto L356 +end +::L361:: +I8[tobit((v_s + 512))] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(0) +I32[arshift((v_s + 508), 2)] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +v_e = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +I32[arshift((v_s + 508), 2)] = tobit(v_e) +v_A = F.fuA(v_a, v_A, tobit((v_s + 496)), v_r, tobit((v_s + 8))) +I8[tobit((v_s + 512))] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(0) +I32[arshift((v_s + 508), 2)] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +v_e = bor(bor(bor(U8[tobit((v_r + 12))], lshift(U8[tobit((v_r + 13))], 8)), lshift(U8[tobit((v_r + 14))], 16)), lshift(U8[tobit((v_r + 15))], 24)) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +I32[arshift((v_s + 508), 2)] = tobit(v_e) +I32[arshift(v_u, 2)] = tobit(F.fuA(v_A, I32[arshift((v_s + 8), 2)], tobit((v_s + 496)), v_r, v_c)) +F.fU(v_A) +goto L356 +end +::L360:: +I8[tobit((v_s + 504))] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +v_t = bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(v_t) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +I32[arshift((v_s + 8), 2)] = tobit(v_t) +I32[arshift((v_s + 12), 2)] = tobit(v_e) +I8[tobit((v_s + 16))] = tobit(0) +v_A = F.fcA(v_a, v_A, tobit((v_s + 8)), tobit((v_s + 496)), tobit((v_s + 28))) +I8[tobit((v_s + 16))] = tobit(0) +v_e = I32[arshift((v_s + 500), 2)] +I32[arshift((v_s + 8), 2)] = tobit(I32[arshift((v_s + 496), 2)]) +I32[arshift((v_s + 12), 2)] = tobit(v_e) +I32[arshift(v_u, 2)] = tobit(F.fcA(v_A, I32[arshift((v_s + 28), 2)], tobit((v_s + 8)), tobit((v_s + 496)), v_c)) +F.fU(v_A) +goto L356 +end +::L359:: +I8[tobit((v_s + 501))] = tobit(0) +I8[tobit((v_s + 502))] = tobit(0) +I8[tobit((v_s + 503))] = tobit(0) +I8[tobit((v_s + 504))] = tobit(0) +I8[tobit((v_s + 505))] = tobit(0) +I8[tobit((v_s + 506))] = tobit(0) +I8[tobit((v_s + 507))] = tobit(0) +I8[tobit((v_s + 508))] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +v_e = F.fnA(v_a, v_A, tobit((v_s + 496)), v_r) +I8[tobit((v_s + 501))] = tobit(0) +I8[tobit((v_s + 502))] = tobit(0) +I8[tobit((v_s + 503))] = tobit(0) +I8[tobit((v_s + 504))] = tobit(0) +I8[tobit((v_s + 505))] = tobit(0) +I8[tobit((v_s + 506))] = tobit(0) +I8[tobit((v_s + 507))] = tobit(0) +I8[tobit((v_s + 508))] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +v_t = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_t) +I32[arshift(v_u, 2)] = tobit(F.fnA(v_e, v_A, tobit((v_s + 496)), v_r)) +if (v_c ~= 0) then +I32[arshift(v_c, 2)] = tobit(v_A) +end +F.fU(v_e) +goto L356 +end +::L358:: +I8[tobit((v_s + 501))] = tobit(0) +I8[tobit((v_s + 502))] = tobit(0) +I8[tobit((v_s + 503))] = tobit(0) +I8[tobit((v_s + 504))] = tobit(0) +I8[tobit((v_s + 505))] = tobit(0) +I8[tobit((v_s + 506))] = tobit(0) +I8[tobit((v_s + 507))] = tobit(0) +I8[tobit((v_s + 508))] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +v_e = F.fnA(v_a, v_A, tobit((v_s + 496)), v_r) +I8[tobit((v_s + 16))] = tobit(0) +I32[arshift((v_s + 8), 2)] = tobit(0) +I32[arshift((v_s + 12), 2)] = tobit(0) +v_t = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 8), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 12), 2)] = tobit(v_t) +I32[arshift(v_u, 2)] = tobit(F.fcA(v_e, v_A, tobit((v_s + 8)), tobit((v_s + 8)), v_c)) +F.fU(v_e) +goto L356 +end +::L357:: +I8[tobit((v_s + 16))] = tobit(0) +I32[arshift((v_s + 8), 2)] = tobit(0) +I32[arshift((v_s + 12), 2)] = tobit(0) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 8), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 12), 2)] = tobit(v_e) +v_A = F.fcA(v_a, v_A, tobit((v_s + 8)), tobit((v_s + 8)), tobit((v_s + 28))) +I8[tobit((v_s + 501))] = tobit(0) +I8[tobit((v_s + 502))] = tobit(0) +I8[tobit((v_s + 503))] = tobit(0) +I8[tobit((v_s + 504))] = tobit(0) +I8[tobit((v_s + 505))] = tobit(0) +I8[tobit((v_s + 506))] = tobit(0) +I8[tobit((v_s + 507))] = tobit(0) +I8[tobit((v_s + 508))] = tobit(0) +I32[arshift((v_s + 496), 2)] = tobit(0) +I32[arshift((v_s + 500), 2)] = tobit(0) +I32[arshift((v_s + 504), 2)] = tobit(bor(bor(bor(U8[tobit((v_r + 8))], lshift(U8[tobit((v_r + 9))], 8)), lshift(U8[tobit((v_r + 10))], 16)), lshift(U8[tobit((v_r + 11))], 24))) +v_e = bor(bor(bor(U8[tobit((v_r + 4))], lshift(U8[tobit((v_r + 5))], 8)), lshift(U8[tobit((v_r + 6))], 16)), lshift(U8[tobit((v_r + 7))], 24)) +I32[arshift((v_s + 496), 2)] = tobit(bor(bor(bor(U8[bor(0, v_r)], lshift(U8[tobit((v_r + 1))], 8)), lshift(U8[tobit((v_r + 2))], 16)), lshift(U8[tobit((v_r + 3))], 24))) +I32[arshift((v_s + 500), 2)] = tobit(v_e) +I32[arshift(v_u, 2)] = tobit(F.fnA(v_A, I32[arshift((v_s + 28), 2)], tobit((v_s + 496)), v_r)) +if (v_c ~= 0) then +I32[arshift(v_c, 2)] = tobit(I32[arshift((v_s + 28), 2)]) +end +F.fU(v_A) +end +::L356:: +F.fU(v_r) +v_k = ((I32[arshift(v_u, 2)] ~= 0) and 0 or (-1)) +end +end +end +end +end +end +end +else +v_k = (-2) +end +end +end +end +B = tobit((v_s + 528)) +do return bor(0, v_k) end +end +UA[56] = function(v_A, v_r, v_e) +local v_t, v_a, v_u, v_c = 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_a = 0 +v_u = 0 +v_c = 0 +do +v_t = tobit((B - 96)) +B = v_t +F.fKA(tobit((v_t + 8)), 0, 84) +v_a = v_t +I32[arshift((v_a + 8), 2)] = tobit(0) +I32[arshift((v_a + 12), 2)] = tobit(0) +I32[arshift((v_a + 72), 2)] = tobit(0) +I32[arshift((v_a + 76), 2)] = tobit(0) +I16[arshift((v_a + 62), 1)] = tobit(0) +I16[arshift((v_a + 64), 1)] = tobit(0) +I16[arshift((v_a + 66), 1)] = tobit(0) +I16[arshift((v_a + 68), 1)] = tobit(0) +I32[arshift((v_a + 56), 2)] = tobit(0) +I32[arshift((v_a + 60), 2)] = tobit(0) +I32[arshift((v_a + 48), 2)] = tobit(0) +I32[arshift((v_a + 52), 2)] = tobit(0) +I32[arshift((v_a + 40), 2)] = tobit(0) +I32[arshift((v_a + 44), 2)] = tobit(0) +I32[arshift((v_a + 32), 2)] = tobit(0) +I32[arshift((v_a + 36), 2)] = tobit(0) +I32[arshift((v_a + 24), 2)] = tobit(0) +I32[arshift((v_a + 28), 2)] = tobit(0) +I32[arshift((v_a + 16), 2)] = tobit(0) +I32[arshift((v_a + 20), 2)] = tobit(0) +I32[arshift((v_a + 80), 2)] = tobit(0) +I32[arshift((v_a + 84), 2)] = tobit(0) +I32[arshift((v_a + 88), 2)] = tobit(0) +v_a = tobit((v_a + 8)) +if (v_r ~= 0) then +do +do +while true do +do +local t412 = v_a +v_c = I32[arshift((v_a + 80), 2)] +local t414 = tobit((tobit((t412 + v_c)) - (-64))) +local t415 = v_A +local t413 = (tobit(v_r) % 4294967296) +v_u = tobit((16 - v_c)) +v_u = ((t413 > (tobit(v_u) % 4294967296)) and v_u or v_r) +F.fTA(t414, t415, v_u) +v_c = tobit((v_u + I32[arshift((v_a + 80), 2)])) +I32[arshift((v_a + 80), 2)] = tobit(v_c) +v_r = tobit((v_r - v_u)) +if (16 == bor(0, v_c)) then +I32[arshift((v_a + 80), 2)] = tobit(0) +F.fO(v_a) +end +v_A = tobit((v_A + v_u)) +if not (v_r ~= 0) then goto B362 end +end +do +end +::C362:: +end +end +::B362:: +end +end +end +do +v_A = tobit((v_t + 8)) +v_r = I32[arshift((80 + v_A), 2)] +if ((tobit(v_r) % 4294967296) <= 15) then +v_a = tobit((tobit((v_A + v_r)) - (-64))) +local t416 = v_a +v_r = tobit((16 - v_r)) +F.fKA(t416, v_r, v_r) +end +F.fO(v_A) +v_r = I32[arshift((v_A + 12), 2)] +I32[arshift((v_A + 72), 2)] = tobit(I32[arshift((v_A + 8), 2)]) +I32[arshift((v_A + 76), 2)] = tobit(v_r) +v_r = I32[arshift((v_A + 4), 2)] +I32[arshift((v_A + 64), 2)] = tobit(I32[arshift(v_A, 2)]) +I32[arshift((v_A + 68), 2)] = tobit(v_r) +F.fO(v_A) +v_r = bor(bor(bor(U8[tobit((v_A + 28))], lshift(U8[tobit((v_A + 29))], 8)), lshift(U8[tobit((v_A + 30))], 16)), lshift(U8[tobit((v_A + 31))], 24)) +v_a = bor(bor(bor(U8[tobit((v_A + 24))], lshift(U8[tobit((v_A + 25))], 8)), lshift(U8[tobit((v_A + 26))], 16)), lshift(U8[tobit((v_A + 27))], 24)) +I8[tobit((v_e + 8))] = tobit(v_a) +I8[tobit((v_e + 9))] = tobit((rshift(v_a, 8) % 4294967296)) +I8[tobit((v_e + 10))] = tobit((rshift(v_a, 16) % 4294967296)) +I8[tobit((v_e + 11))] = tobit((rshift(v_a, 24) % 4294967296)) +I8[tobit((v_e + 12))] = tobit(v_r) +I8[tobit((v_e + 13))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_e + 14))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_e + 15))] = tobit((rshift(v_r, 24) % 4294967296)) +v_r = bor(bor(bor(U8[tobit((v_A + 20))], lshift(U8[tobit((v_A + 21))], 8)), lshift(U8[tobit((v_A + 22))], 16)), lshift(U8[tobit((v_A + 23))], 24)) +v_A = bor(bor(bor(U8[tobit((v_A + 16))], lshift(U8[tobit((v_A + 17))], 8)), lshift(U8[tobit((v_A + 18))], 16)), lshift(U8[tobit((v_A + 19))], 24)) +I8[bor(0, v_e)] = tobit(v_A) +I8[tobit((v_e + 1))] = tobit((rshift(v_A, 8) % 4294967296)) +I8[tobit((v_e + 2))] = tobit((rshift(v_A, 16) % 4294967296)) +I8[tobit((v_e + 3))] = tobit((rshift(v_A, 24) % 4294967296)) +I8[tobit((v_e + 4))] = tobit(v_r) +I8[tobit((v_e + 5))] = tobit((rshift(v_r, 8) % 4294967296)) +I8[tobit((v_e + 6))] = tobit((rshift(v_r, 16) % 4294967296)) +I8[tobit((v_e + 7))] = tobit((rshift(v_r, 24) % 4294967296)) +v_A = tobit((v_t + 8)) +if (v_A ~= 0) then +I8[bor(0, v_A)] = tobit(0) +I8[tobit((v_A + 1))] = tobit(0) +I8[tobit((v_A + 2))] = tobit(0) +I8[tobit((v_A + 3))] = tobit(0) +I8[tobit((v_A + 4))] = tobit(0) +I8[tobit((v_A + 5))] = tobit(0) +I8[tobit((v_A + 6))] = tobit(0) +I8[tobit((v_A + 7))] = tobit(0) +I8[tobit((v_A + 8))] = tobit(0) +I8[tobit((v_A + 9))] = tobit(0) +I8[tobit((v_A + 10))] = tobit(0) +I8[tobit((v_A + 11))] = tobit(0) +I8[tobit((v_A + 12))] = tobit(0) +I8[tobit((v_A + 13))] = tobit(0) +I8[tobit((v_A + 14))] = tobit(0) +I8[tobit((v_A + 15))] = tobit(0) +I8[tobit((v_A + 16))] = tobit(0) +I8[tobit((v_A + 17))] = tobit(0) +I8[tobit((v_A + 18))] = tobit(0) +I8[tobit((v_A + 19))] = tobit(0) +I8[tobit((v_A + 20))] = tobit(0) +I8[tobit((v_A + 21))] = tobit(0) +I8[tobit((v_A + 22))] = tobit(0) +I8[tobit((v_A + 23))] = tobit(0) +I8[tobit((v_A + 24))] = tobit(0) +I8[tobit((v_A + 25))] = tobit(0) +I8[tobit((v_A + 26))] = tobit(0) +I8[tobit((v_A + 27))] = tobit(0) +I8[tobit((v_A + 28))] = tobit(0) +I8[tobit((v_A + 29))] = tobit(0) +I8[tobit((v_A + 30))] = tobit(0) +I8[tobit((v_A + 31))] = tobit(0) +I8[tobit((v_A + 32))] = tobit(0) +I8[tobit((v_A + 33))] = tobit(0) +I8[tobit((v_A + 34))] = tobit(0) +I8[tobit((v_A + 35))] = tobit(0) +I8[tobit((v_A + 36))] = tobit(0) +I8[tobit((v_A + 37))] = tobit(0) +I8[tobit((v_A + 38))] = tobit(0) +I8[tobit((v_A + 39))] = tobit(0) +I8[tobit((v_A + 40))] = tobit(0) +I8[tobit((v_A + 41))] = tobit(0) +I8[tobit((v_A + 42))] = tobit(0) +I8[tobit((v_A + 43))] = tobit(0) +I8[tobit((v_A + 44))] = tobit(0) +I8[tobit((v_A + 45))] = tobit(0) +I8[tobit((v_A + 46))] = tobit(0) +I8[tobit((v_A + 47))] = tobit(0) +I8[tobit((v_A + 48))] = tobit(0) +I8[tobit((v_A + 49))] = tobit(0) +I8[tobit((v_A + 50))] = tobit(0) +I8[tobit((v_A + 51))] = tobit(0) +I8[tobit((v_A + 52))] = tobit(0) +I8[tobit((v_A + 53))] = tobit(0) +I8[tobit((v_A + 54))] = tobit(0) +I8[tobit((v_A + 55))] = tobit(0) +I8[tobit((v_A + 56))] = tobit(0) +I8[tobit((v_A + 57))] = tobit(0) +I8[tobit((v_A + 58))] = tobit(0) +I8[tobit((v_A + 59))] = tobit(0) +I8[tobit((v_A + 60))] = tobit(0) +I8[tobit((v_A + 61))] = tobit(0) +I8[tobit((v_A + 62))] = tobit(0) +I8[tobit((v_A + 63))] = tobit(0) +I8[tobit((v_A + 64))] = tobit(0) +I8[tobit((v_A + 65))] = tobit(0) +I8[tobit((v_A + 66))] = tobit(0) +I8[tobit((v_A + 67))] = tobit(0) +I8[tobit((v_A + 68))] = tobit(0) +I8[tobit((v_A + 69))] = tobit(0) +I8[tobit((v_A + 70))] = tobit(0) +I8[tobit((v_A + 71))] = tobit(0) +I8[tobit((v_A + 72))] = tobit(0) +I8[tobit((v_A + 73))] = tobit(0) +I8[tobit((v_A + 74))] = tobit(0) +I8[tobit((v_A + 75))] = tobit(0) +I8[tobit((v_A + 76))] = tobit(0) +I8[tobit((v_A + 77))] = tobit(0) +I8[tobit((v_A + 78))] = tobit(0) +I8[tobit((v_A + 79))] = tobit(0) +I8[tobit((v_A + 80))] = tobit(0) +I8[tobit((v_A + 81))] = tobit(0) +I8[tobit((v_A + 82))] = tobit(0) +I8[tobit((v_A + 83))] = tobit(0) +end +B = tobit((v_t + 96)) +end +end +UA[57] = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s = 0, 0, 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +do +v_t = tobit((B - 96)) +B = v_t +F.fHA(tobit((v_t + 8))) +F.fjA(tobit((v_t + 8))) +v_u = tobit((v_t + 8)) +if (v_r ~= 0) then +do +do +v_o = I32[arshift(v_u, 2)] +v_a = tobit((v_o + v_r)) +I32[arshift(v_u, 2)] = tobit(v_a) +if ((tobit(v_o) % 4294967296) > (tobit(v_a) % 4294967296)) then +I32[arshift((v_u + 4), 2)] = tobit((I32[arshift((v_u + 4), 2)] + 1)) +end +v_a = 0 +v_o = band(v_o, 63) +if (v_o ~= 0) then +v_c = tobit((64 - v_o)) +if ((tobit(v_c) % 4294967296) > (tobit(v_r) % 4294967296)) then +v_a = v_o +else +local t417 = v_o +v_o = tobit((v_u + 24)) +F.fTA(tobit((t417 + v_o)), v_A, v_c) +F.fP(v_u, v_o) +v_r = tobit((v_r - v_c)) +v_A = tobit((v_A + v_c)) +end +end +if ((tobit(v_r) % 4294967296) >= 64) then +do +while true do +F.fP(v_u, v_A) +v_A = tobit((v_A - (-64))) +v_r = tobit((v_r + (-64))) +if not ((tobit(v_r) % 4294967296) > 63) then goto B363 end +do +end +::C363:: +end +end +::B363:: +end +end +if (v_r ~= 0) then +F.fTA(tobit((24 + tobit((v_u + v_a)))), v_A, v_r) +end +end +end +end +do +v_u = tobit((B - 16)) +B = v_u +v_o = tobit((v_t + 8)) +v_r = I32[arshift(v_o, 2)] +v_c = I32[arshift((v_o + 4), 2)] +I8[tobit((v_u + 15))] = tobit((rshift(v_c, 21) % 4294967296)) +I8[tobit((v_u + 14))] = tobit((rshift(v_c, 13) % 4294967296)) +I8[tobit((v_u + 13))] = tobit((rshift(v_c, 5) % 4294967296)) +I8[tobit((v_u + 11))] = tobit((rshift(v_r, 21) % 4294967296)) +I8[tobit((v_u + 10))] = tobit((rshift(v_r, 13) % 4294967296)) +I8[tobit((v_u + 9))] = tobit((rshift(v_r, 5) % 4294967296)) +I8[tobit((v_u + 8))] = tobit(lshift(v_r, 3)) +I8[tobit((v_u + 12))] = tobit(bor(lshift(v_c, 3), (rshift(v_r, 29) % 4294967296))) +v_A = band(63, v_r) +v_a = tobit(((((tobit(v_A) % 4294967296) < 56) and 56 or 120) - v_A)) +if (v_a ~= 0) then +do +do +v_r = tobit((v_r + v_a)) +I32[arshift(v_o, 2)] = tobit(v_r) +if ((tobit(v_r) % 4294967296) < (tobit(v_a) % 4294967296)) then +I32[arshift((v_o + 4), 2)] = tobit((v_c + 1)) +end +v_r = 0 +v_c = 11744 +if (v_A ~= 0) then +v_s = tobit((64 - v_A)) +if ((tobit(v_s) % 4294967296) > (tobit(v_a) % 4294967296)) then +v_r = v_A +else +local t418 = v_A +v_A = tobit((v_o + 24)) +F.fTA(tobit((t418 + v_A)), 11744, v_s) +F.fP(v_o, v_A) +v_a = tobit((v_a - v_s)) +v_c = tobit((v_s + 11744)) +end +end +if ((tobit(v_a) % 4294967296) >= 64) then +do +while true do +F.fP(v_o, v_c) +v_c = tobit((v_c - (-64))) +v_a = tobit((v_a + (-64))) +if not ((tobit(v_a) % 4294967296) > 63) then goto B364 end +do +end +::C364:: +end +end +::B364:: +end +end +if (v_a ~= 0) then +F.fTA(tobit((24 + tobit((v_r + v_o)))), v_c, v_a) +end +end +end +end +v_A = I32[arshift(v_o, 2)] +I32[arshift(v_o, 2)] = tobit((v_A + 8)) +if ((tobit(v_A) % 4294967296) >= 4294967288) then +I32[arshift((v_o + 4), 2)] = tobit((I32[arshift((v_o + 4), 2)] + 1)) +end +do +do +do +do +v_A = band(v_A, 63) +if (v_A ~= 0) then +do +if ((tobit(v_A) % 4294967296) <= 55) then +v_a = tobit((24 + tobit((v_A + v_o)))) +v_c = 8 +v_A = tobit((v_u + 8)) +else +do +do +local t419 = v_A +v_a = tobit((v_o + 24)) +local t420 = tobit((t419 + v_a)) +local t421 = tobit((v_u + 8)) +v_r = tobit((64 - v_A)) +F.fTA(t420, t421, v_r) +F.fP(v_o, v_a) +v_c = tobit((v_A - 56)) +if (not (v_c ~= 0)) then +goto L365 +end +end +v_A = tobit((v_r + tobit((v_u + 8)))) +end +end +end +else +v_a = tobit((v_o + 24)) +v_c = 8 +v_A = tobit((v_u + 8)) +end +end +F.fTA(v_a, v_A, v_c) +end +end +::L365:: +end +I8[bor(0, v_e)] = tobit(I32[arshift((v_o + 8), 2)]) +I8[tobit((v_e + 1))] = tobit((rshift(I32[arshift((v_o + 8), 2)], 8) % 4294967296)) +I8[tobit((v_e + 2))] = tobit(U16[arshift((v_o + 10), 1)]) +I8[tobit((v_e + 3))] = tobit(U8[tobit((v_o + 11))]) +I8[tobit((v_e + 4))] = tobit(I32[arshift((v_o + 12), 2)]) +I8[tobit((v_e + 5))] = tobit((rshift(I32[arshift((v_o + 12), 2)], 8) % 4294967296)) +I8[tobit((v_e + 6))] = tobit(U16[arshift((v_o + 14), 1)]) +I8[tobit((v_e + 7))] = tobit(U8[tobit((v_o + 15))]) +I8[tobit((v_e + 8))] = tobit(I32[arshift((v_o + 16), 2)]) +I8[tobit((v_e + 9))] = tobit((rshift(I32[arshift((v_o + 16), 2)], 8) % 4294967296)) +I8[tobit((v_e + 10))] = tobit(U16[arshift((v_o + 18), 1)]) +I8[tobit((v_e + 11))] = tobit(U8[tobit((v_o + 19))]) +I8[tobit((v_e + 12))] = tobit(I32[arshift((v_o + 20), 2)]) +I8[tobit((v_e + 13))] = tobit((rshift(I32[arshift((v_o + 20), 2)], 8) % 4294967296)) +I8[tobit((v_e + 14))] = tobit(U16[arshift((v_o + 22), 1)]) +I8[tobit((v_e + 15))] = tobit(U8[tobit((v_o + 23))]) +B = tobit((v_u + 16)) +F.f_(tobit((v_t + 8))) +B = tobit((v_t + 96)) +end +UA[58] = function(v_A, v_r, v_e) +local v_t, v_o, v_a, v_u, v_c, v_s = 0, 0, 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +v_s = 0 +do +v_t = tobit((B - 96)) +B = v_t +F.fHA(tobit((v_t + 8))) +F.fjA(tobit((v_t + 8))) +v_u = tobit((v_t + 8)) +if (v_r ~= 0) then +do +do +v_o = I32[arshift(v_u, 2)] +v_a = tobit((v_o + v_r)) +I32[arshift(v_u, 2)] = tobit(v_a) +if ((tobit(v_o) % 4294967296) > (tobit(v_a) % 4294967296)) then +I32[arshift((v_u + 4), 2)] = tobit((I32[arshift((v_u + 4), 2)] + 1)) +end +v_a = 0 +v_o = band(v_o, 63) +if (v_o ~= 0) then +v_c = tobit((64 - v_o)) +if ((tobit(v_c) % 4294967296) > (tobit(v_r) % 4294967296)) then +v_a = v_o +else +local t422 = v_o +v_s = tobit((v_u + 24)) +F.fTA(tobit((t422 + v_s)), v_A, v_c) +F.fM(v_u, v_s) +v_r = tobit((v_r - v_c)) +v_A = tobit((v_A + v_c)) +end +end +if ((tobit(v_r) % 4294967296) >= 64) then +do +while true do +F.fM(v_u, v_A) +v_A = tobit((v_A - (-64))) +v_r = tobit((v_r + (-64))) +if not ((tobit(v_r) % 4294967296) > 63) then goto B366 end +do +end +::C366:: +end +end +::B366:: +end +end +if (v_r ~= 0) then +F.fTA(tobit((24 + tobit((v_a + v_u)))), v_A, v_r) +end +end +end +end +do +v_A = tobit((v_t + 8)) +v_r = tobit((24 + v_A)) +v_o = I32[arshift(v_A, 2)] +local t423 = v_r +v_a = band(63, v_o) +I8[tobit((t423 + v_a))] = tobit(128) +v_u = tobit((v_a + 1)) +if ((tobit(v_a) % 4294967296) <= 55) then +F.fKA(tobit((24 + tobit((v_A + v_u)))), 0, tobit((55 - v_a))) +else +F.fKA(tobit((24 + tobit((v_A + v_u)))), 0, bxor(63, v_a)) +F.fM(v_A, v_r) +I32[arshift((v_r + 48), 2)] = tobit(0) +I32[arshift((v_r + 52), 2)] = tobit(0) +I32[arshift((v_r + 40), 2)] = tobit(0) +I32[arshift((v_r + 44), 2)] = tobit(0) +I32[arshift((v_r + 32), 2)] = tobit(0) +I32[arshift((v_r + 36), 2)] = tobit(0) +I32[arshift((v_r + 24), 2)] = tobit(0) +I32[arshift((v_r + 28), 2)] = tobit(0) +I32[arshift((v_r + 16), 2)] = tobit(0) +I32[arshift((v_r + 20), 2)] = tobit(0) +I32[arshift((v_r + 8), 2)] = tobit(0) +I32[arshift((v_r + 12), 2)] = tobit(0) +I32[arshift(v_r, 2)] = tobit(0) +I32[arshift((v_r + 4), 2)] = tobit(0) +v_o = I32[arshift(v_A, 2)] +end +I8[tobit((v_A + 83))] = tobit((rshift(v_o, 21) % 4294967296)) +I8[tobit((v_A + 82))] = tobit((rshift(v_o, 13) % 4294967296)) +I8[tobit((v_A + 81))] = tobit((rshift(v_o, 5) % 4294967296)) +I8[tobit((v_A + 80))] = tobit(lshift(v_o, 3)) +v_a = I32[arshift((v_A + 4), 2)] +I8[tobit((v_A + 87))] = tobit((rshift(v_a, 21) % 4294967296)) +I8[tobit((v_A + 86))] = tobit((rshift(v_a, 13) % 4294967296)) +I8[tobit((v_A + 85))] = tobit((rshift(v_a, 5) % 4294967296)) +I8[tobit((v_A + 84))] = tobit(bor(lshift(v_a, 3), (rshift(v_o, 29) % 4294967296))) +F.fM(v_A, v_r) +I8[bor(0, v_e)] = tobit(I32[arshift((v_A + 8), 2)]) +I8[tobit((v_e + 1))] = tobit((rshift(I32[arshift((v_A + 8), 2)], 8) % 4294967296)) +I8[tobit((v_e + 2))] = tobit(U16[arshift((v_A + 10), 1)]) +I8[tobit((v_e + 3))] = tobit(U8[tobit((v_A + 11))]) +I8[tobit((v_e + 4))] = tobit(I32[arshift((v_A + 12), 2)]) +I8[tobit((v_e + 5))] = tobit((rshift(I32[arshift((v_A + 12), 2)], 8) % 4294967296)) +I8[tobit((v_e + 6))] = tobit(U16[arshift((v_A + 14), 1)]) +I8[tobit((v_e + 7))] = tobit(U8[tobit((v_A + 15))]) +I8[tobit((v_e + 8))] = tobit(I32[arshift((v_A + 16), 2)]) +I8[tobit((v_e + 9))] = tobit((rshift(I32[arshift((v_A + 16), 2)], 8) % 4294967296)) +I8[tobit((v_e + 10))] = tobit(U16[arshift((v_A + 18), 1)]) +I8[tobit((v_e + 11))] = tobit(U8[tobit((v_A + 19))]) +I8[tobit((v_e + 12))] = tobit(I32[arshift((v_A + 20), 2)]) +I8[tobit((v_e + 13))] = tobit((rshift(I32[arshift((v_A + 20), 2)], 8) % 4294967296)) +I8[tobit((v_e + 14))] = tobit(U16[arshift((v_A + 22), 1)]) +I8[tobit((v_e + 15))] = tobit(U8[tobit((v_A + 23))]) +F.f_(tobit((v_t + 8))) +B = tobit((v_t + 96)) +end +end +UA[59] = function() +local v_A, v_r, v_e, v_t, v_o, v_a, v_u, v_c = 0, 0, 0, 0, 0, 0, 0, 0 +v_e = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +do +v_r = tobit((B - 480)) +v_A = v_r +B = v_A +if (not (I32[7936] ~= 0)) then +do +F.fDA(tobit((v_A + 200))) +I8[tobit((v_A + 168))] = tobit(118) +I8[tobit((v_A + 169))] = tobit(56) +I8[tobit((v_A + 170))] = tobit(48) +I8[tobit((v_A + 171))] = tobit(107) +I8[tobit((v_A + 172))] = tobit(103) +I8[tobit((v_A + 173))] = tobit(50) +I8[tobit((v_A + 174))] = tobit(104) +I8[tobit((v_A + 175))] = tobit(54) +I8[tobit((v_A + 160))] = tobit(120) +I8[tobit((v_A + 161))] = tobit(119) +I8[tobit((v_A + 162))] = tobit(110) +I8[tobit((v_A + 163))] = tobit(101) +I8[tobit((v_A + 164))] = tobit(49) +I8[tobit((v_A + 165))] = tobit(53) +I8[tobit((v_A + 166))] = tobit(116) +I8[tobit((v_A + 167))] = tobit(105) +F.fz(tobit((v_A + 200)), tobit((v_A + 160)), 128) +I8[tobit((v_A + 152))] = tobit(111) +I8[tobit((v_A + 153))] = tobit(100) +I8[tobit((v_A + 154))] = tobit(114) +I8[tobit((v_A + 155))] = tobit(104) +I8[tobit((v_A + 156))] = tobit(54) +I8[tobit((v_A + 157))] = tobit(115) +I8[tobit((v_A + 158))] = tobit(99) +I8[tobit((v_A + 159))] = tobit(101) +I8[tobit((v_A + 144))] = tobit(98) +I8[tobit((v_A + 145))] = tobit(106) +I8[tobit((v_A + 146))] = tobit(49) +I8[tobit((v_A + 147))] = tobit(113) +I8[tobit((v_A + 148))] = tobit(103) +I8[tobit((v_A + 149))] = tobit(121) +I8[tobit((v_A + 150))] = tobit(97) +I8[tobit((v_A + 151))] = tobit(50) +I8[tobit((v_A + 136))] = tobit(203) +I8[tobit((v_A + 137))] = tobit(57) +I8[tobit((v_A + 138))] = tobit(201) +I8[tobit((v_A + 139))] = tobit(73) +I8[tobit((v_A + 140))] = tobit(31) +I8[tobit((v_A + 141))] = tobit(230) +I8[tobit((v_A + 142))] = tobit(245) +I8[tobit((v_A + 143))] = tobit(193) +I8[tobit((v_A + 128))] = tobit(6) +I8[tobit((v_A + 129))] = tobit(118) +I8[tobit((v_A + 130))] = tobit(195) +I8[tobit((v_A + 131))] = tobit(164) +I8[tobit((v_A + 132))] = tobit(197) +I8[tobit((v_A + 133))] = tobit(116) +I8[tobit((v_A + 134))] = tobit(203) +I8[tobit((v_A + 135))] = tobit(88) +v_t = 16 +F.fR(tobit((v_A + 200)), 0, 16, tobit((v_A + 144)), tobit((v_A + 128)), tobit((v_A + 176))) +F.fhA(tobit((v_A + 200))) +do +do +do +v_e = U8[tobit((v_A + 191))] +local t424 = bor(bor((((tobit(v_e) % 4294967296) > 16) and 1 or 0), ((not (v_e ~= 0)) and 1 or 0)), ((16 == bor(0, v_e)) and 1 or 0)) +if t424 == 0 then +v_a = 2 +v_t = 15 +t424 = (((tobit(v_e) % 4294967296) < 2) and 1 or 0) +end +if (not (t424 ~= 0)) then +do +v_t = 14 +while true do +do +if (bor(((bor(0, v_e) ~= U8[tobit((tobit((v_A + 176)) + v_t))]) and 1 or 0), (((tobit(v_e) % 4294967296) <= (tobit(band(255, v_a)) % 4294967296)) and 1 or 0)) ~= 0) then +goto L367 +end +v_a = tobit((v_a + 1)) +v_t = tobit((v_t - 1)) +end +::C368:: +end +end +::B368:: +end +end +end +::L367:: +end +v_e = F.fm(tobit((v_t + 1))) +F.fKA(tobit((v_e + v_t)), 0, (((-1) ~= bor(0, v_t)) and 1 or 0)) +I32[7936] = tobit(F.fTA(v_e, tobit((v_A + 176)), v_t)) +end +end +end +do +if (not (I32[7937] ~= 0)) then +do +F.fDA(tobit((v_A + 200))) +I8[tobit((v_A + 120))] = tobit(100) +I8[tobit((v_A + 121))] = tobit(98) +I8[tobit((v_A + 122))] = tobit(111) +I8[tobit((v_A + 123))] = tobit(117) +I8[tobit((v_A + 124))] = tobit(116) +I8[tobit((v_A + 125))] = tobit(102) +I8[tobit((v_A + 126))] = tobit(101) +I8[tobit((v_A + 127))] = tobit(121) +I8[tobit((v_A + 112))] = tobit(115) +I8[tobit((v_A + 113))] = tobit(114) +I8[tobit((v_A + 114))] = tobit(50) +I8[tobit((v_A + 115))] = tobit(105) +I8[tobit((v_A + 116))] = tobit(54) +I8[tobit((v_A + 117))] = tobit(112) +I8[tobit((v_A + 118))] = tobit(120) +I8[tobit((v_A + 119))] = tobit(108) +F.fz(tobit((v_A + 200)), tobit((v_A + 112)), 128) +I8[tobit((v_A + 104))] = tobit(121) +I8[tobit((v_A + 105))] = tobit(110) +I8[tobit((v_A + 106))] = tobit(102) +I8[tobit((v_A + 107))] = tobit(48) +I8[tobit((v_A + 108))] = tobit(55) +I8[tobit((v_A + 109))] = tobit(118) +I8[tobit((v_A + 110))] = tobit(106) +I8[tobit((v_A + 111))] = tobit(115) +I8[tobit((v_A + 96))] = tobit(116) +I8[tobit((v_A + 97))] = tobit(109) +I8[tobit((v_A + 98))] = tobit(57) +I8[tobit((v_A + 99))] = tobit(101) +I8[tobit((v_A + 100))] = tobit(120) +I8[tobit((v_A + 101))] = tobit(51) +I8[tobit((v_A + 102))] = tobit(113) +I8[tobit((v_A + 103))] = tobit(56) +I8[tobit((v_A + 88))] = tobit(93) +I8[tobit((v_A + 89))] = tobit(17) +I8[tobit((v_A + 90))] = tobit(83) +I8[tobit((v_A + 91))] = tobit(151) +I8[tobit((v_A + 92))] = tobit(87) +I8[tobit((v_A + 93))] = tobit(139) +I8[tobit((v_A + 94))] = tobit(1) +I8[tobit((v_A + 95))] = tobit(37) +I8[tobit((v_A + 80))] = tobit(81) +I8[tobit((v_A + 81))] = tobit(185) +I8[tobit((v_A + 82))] = tobit(52) +I8[tobit((v_A + 83))] = tobit(215) +I8[tobit((v_A + 84))] = tobit(238) +I8[tobit((v_A + 85))] = tobit(253) +I8[tobit((v_A + 86))] = tobit(49) +I8[tobit((v_A + 87))] = tobit(203) +v_t = 16 +F.fR(tobit((v_A + 200)), 0, 16, tobit((v_A + 96)), tobit((v_A + 80)), tobit((v_A + 176))) +F.fhA(tobit((v_A + 200))) +do +do +do +v_e = U8[tobit((v_A + 191))] +local t425 = bor(bor((((tobit(v_e) % 4294967296) > 16) and 1 or 0), ((not (v_e ~= 0)) and 1 or 0)), ((16 == bor(0, v_e)) and 1 or 0)) +if t425 == 0 then +v_a = 2 +v_t = 15 +t425 = (((tobit(v_e) % 4294967296) < 2) and 1 or 0) +end +if (not (t425 ~= 0)) then +do +v_t = 14 +while true do +do +if (bor(((bor(0, v_e) ~= U8[tobit((tobit((v_A + 176)) + v_t))]) and 1 or 0), (((tobit(v_e) % 4294967296) <= (tobit(band(255, v_a)) % 4294967296)) and 1 or 0)) ~= 0) then +goto L369 +end +v_a = tobit((v_a + 1)) +v_t = tobit((v_t - 1)) +end +::C370:: +end +end +::B370:: +end +end +end +::L369:: +end +v_e = F.fm(tobit((v_t + 1))) +F.fKA(tobit((v_e + v_t)), 0, (((-1) ~= bor(0, v_t)) and 1 or 0)) +I32[7937] = tobit(F.fTA(v_e, tobit((v_A + 176)), v_t)) +end +end +end +do +v_a = 0 +v_e = I32[7938] +if (not (v_e ~= 0)) then +do +F.fDA(tobit((v_A + 200))) +I8[tobit((v_A + 72))] = tobit(53) +I8[tobit((v_A + 73))] = tobit(102) +I8[tobit((v_A + 74))] = tobit(55) +I8[tobit((v_A + 75))] = tobit(56) +I8[tobit((v_A + 76))] = tobit(121) +I8[tobit((v_A + 77))] = tobit(120) +I8[tobit((v_A + 78))] = tobit(97) +I8[tobit((v_A + 79))] = tobit(52) +I8[tobit((v_A + 64))] = tobit(100) +I8[tobit((v_A + 65))] = tobit(57) +I8[tobit((v_A + 66))] = tobit(107) +I8[tobit((v_A + 67))] = tobit(98) +I8[tobit((v_A + 68))] = tobit(114) +I8[tobit((v_A + 69))] = tobit(108) +I8[tobit((v_A + 70))] = tobit(112) +I8[tobit((v_A + 71))] = tobit(109) +F.fz(tobit((v_A + 200)), tobit((v_A - (-64))), 128) +I8[tobit((v_A + 56))] = tobit(56) +I8[tobit((v_A + 57))] = tobit(104) +I8[tobit((v_A + 58))] = tobit(97) +I8[tobit((v_A + 59))] = tobit(112) +I8[tobit((v_A + 60))] = tobit(103) +I8[tobit((v_A + 61))] = tobit(100) +I8[tobit((v_A + 62))] = tobit(98) +I8[tobit((v_A + 63))] = tobit(117) +I8[tobit((v_A + 48))] = tobit(111) +I8[tobit((v_A + 49))] = tobit(51) +I8[tobit((v_A + 50))] = tobit(57) +I8[tobit((v_A + 51))] = tobit(115) +I8[tobit((v_A + 52))] = tobit(120) +I8[tobit((v_A + 53))] = tobit(108) +I8[tobit((v_A + 54))] = tobit(49) +I8[tobit((v_A + 55))] = tobit(105) +I8[tobit((v_A + 40))] = tobit(162) +I8[tobit((v_A + 41))] = tobit(195) +I8[tobit((v_A + 42))] = tobit(242) +I8[tobit((v_A + 43))] = tobit(203) +I8[tobit((v_A + 44))] = tobit(143) +I8[tobit((v_A + 45))] = tobit(118) +I8[tobit((v_A + 46))] = tobit(228) +I8[tobit((v_A + 47))] = tobit(164) +I8[tobit((v_A + 32))] = tobit(203) +I8[tobit((v_A + 33))] = tobit(114) +I8[tobit((v_A + 34))] = tobit(130) +I8[tobit((v_A + 35))] = tobit(158) +I8[tobit((v_A + 36))] = tobit(29) +I8[tobit((v_A + 37))] = tobit(195) +I8[tobit((v_A + 38))] = tobit(182) +I8[tobit((v_A + 39))] = tobit(183) +v_t = 16 +F.fR(tobit((v_A + 200)), 0, 16, tobit((v_A + 48)), tobit((v_A + 32)), tobit((v_A + 176))) +F.fhA(tobit((v_A + 200))) +do +do +do +v_e = U8[tobit((v_A + 191))] +local t426 = bor(bor((((tobit(v_e) % 4294967296) > 16) and 1 or 0), ((not (v_e ~= 0)) and 1 or 0)), ((16 == bor(0, v_e)) and 1 or 0)) +if t426 == 0 then +v_o = 2 +v_t = 15 +t426 = (((tobit(v_e) % 4294967296) < 2) and 1 or 0) +end +if (not (t426 ~= 0)) then +do +v_t = 14 +while true do +do +if (bor(((bor(0, v_e) ~= U8[tobit((tobit((v_A + 176)) + v_t))]) and 1 or 0), (((tobit(v_e) % 4294967296) <= (tobit(band(255, v_o)) % 4294967296)) and 1 or 0)) ~= 0) then +goto L371 +end +v_o = tobit((v_o + 1)) +v_t = tobit((v_t - 1)) +end +::C372:: +end +end +::B372:: +end +end +end +::L371:: +end +v_e = F.fm(tobit((v_t + 1))) +F.fKA(tobit((v_e + v_t)), 0, (((-1) ~= bor(0, v_t)) and 1 or 0)) +I32[7938] = tobit(F.fTA(v_e, tobit((v_A + 176)), v_t)) +end +end +end +do +I8[tobit((v_A + 31))] = tobit(0) +I8[tobit((v_A + 29))] = tobit(105) +I8[tobit((v_A + 30))] = tobit(105) +I32[arshift((v_A + 16), 2)] = tobit(10560) +I32[arshift((v_A + 20), 2)] = tobit(v_e) +local t427 = bor(0, imp_b(14282, tobit((v_A + 29)), tobit((v_A + 16)))) +if t427 == 0 then +I8[tobit((v_A + 25))] = tobit(105) +I8[tobit((v_A + 26))] = tobit(105) +I8[tobit((v_A + 27))] = tobit(105) +I8[tobit((v_A + 28))] = tobit(0) +I32[arshift(v_A, 2)] = tobit(10617) +I32[arshift((v_A + 4), 2)] = tobit(10536) +I32[arshift((v_A + 8), 2)] = tobit(10548) +t427 = bor(0, imp_b(14337, tobit((v_A + 25)), bor(0, v_A))) +end +if (not (t427 ~= 0)) then +do +v_c = bor(0, imp_e(I32[7938])) +v_e = v_c +v_t = U8[bor(0, v_e)] +v_o = I32[7936] +do +do +do +local t428 = (not (v_t ~= 0)) +v_u = U8[bor(0, v_o)] +if (not (bor((t428 and 1 or 0), ((bor(0, v_u) ~= bor(0, v_t)) and 1 or 0)) ~= 0)) then +do +while true do +do +v_u = U8[tobit((v_o + 1))] +v_t = U8[tobit((v_e + 1))] +if (not (v_t ~= 0)) then +goto L373 +end +v_o = tobit((v_o + 1)) +v_e = tobit((v_e + 1)) +if (bor(0, v_t) ~= bor(0, v_u)) then +goto B374 +end +end +::C374:: +end +end +::B374:: +end +end +end +::L373:: +end +do +local t431 = (not (tobit((v_t - v_u)) ~= 0)) +if t431 then +F.fU(v_c) +v_t = bor(0, imp_c(10579, 10624)) +v_e = bor(0, imp_c(10579, 10592)) +local t429 = v_e +if t429 ~= 0 then +v_o = F.fpA(v_e) +local t430 = (((tobit(v_o) % 4294967296) < 6) and 1 or 0) +if t430 == 0 then +t430 = F.fwA(tobit((tobit((v_e + v_o)) - 6)), 10644, 6) +end +t429 = ((not (t430 ~= 0)) and 1 or 0) +end +t431 = (t429 ~= 0) +end +if t431 then +do +do +F.fU(v_e) +local t432 = v_r +v_e = I32[7937] +v_o = tobit((t432 - band((F.fpA(v_e) + 16), (-16)))) +B = v_o +end +do +do +do +do +do +do +v_e = F.fV(F.fsA(v_o, v_e)) +if (v_e ~= 0) then +do +if (not (v_t ~= 0)) then +do +while true do +do +if (not (F.fV(0) ~= 0)) then +goto L376 +end +end +::C377:: +end +end +::B377:: +end +do +do +while true do +do +do +do +v_u = F.fpA(v_t) +local t433 = (tobit(v_u) % 4294967296) +v_o = F.fpA(v_e) +local t434 = ((t433 < (tobit(v_o) % 4294967296)) and 1 or 0) +if t434 == 0 then +t434 = F.fwA(tobit((tobit((v_t + v_u)) - v_o)), v_e, v_o) +end +if (not (t434 ~= 0)) then +F.fU(v_t) +v_a = 1 +goto L375 +end +end +v_e = F.fV(0) +if (not (v_e ~= 0)) then +goto B378 +end +end +end +::C378:: +end +end +::B378:: +end +end +end +end +end +::L376:: +end +F.fU(v_t) +end +end +::L375:: +end +end +end +end +end +end +end +B = tobit((v_A + 480)) +do return bor(0, v_a) end +end +UA[60] = function(v_A, v_r, v_e, v_t) +local v_o = 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_t = tobit(v_t) +v_o = tobit((B - 32)) +B = v_o +v_A = bor(0, UA[bxor(31720, I32[7930])](v_A, v_r, v_e, v_t, 0, tobit((v_o + 28)), tobit((v_o + 24)))) +I8[tobit((v_o + 20))] = tobit(105) +I8[tobit((v_o + 21))] = tobit(105) +I8[tobit((v_o + 22))] = tobit(105) +I8[tobit((v_o + 23))] = tobit(0) +I32[arshift(v_o, 2)] = tobit(v_A) +I32[arshift((v_o + 4), 2)] = tobit(I32[arshift((v_o + 28), 2)]) +I32[arshift((v_o + 8), 2)] = tobit(I32[arshift((v_o + 24), 2)]) +imp_b(22353, tobit((v_o + 20)), bor(0, v_o)) +if not (v_A ~= 0) then +F.fU(I32[arshift((v_o + 28), 2)]) +end +B = tobit((v_o + 32)) +end + +local DATA = { + { 1028, "AQAAAAABAAABAQAAAAABAAEAAQAAAQEAAQEBAAAAAAEBAAABAAEAAQEBAAEAAAEBAQABAQABAQEBAQEBAAAAAAAAAAEAAAEAAAABAQABAAAAAQABAAEBAAABAQEBAAAAAQAAAQEAAQABAAEBAQEAAAEBAAEBAQEAAQEBAUAQABAAEAAAAAAEAEAQBBAAAAAQQBAAEEAAAAAAAAAQQAAEAAAABBBAEAQQABAEAAAQBBBAEAQAABAAAEAAAAAAAAQQQAAAEAAQABBAEAAAABAEAEAABABAAAQQABAEEEAQ" }, + { 1260, "QAAEEEAAABAAEAAQQBAEAAAABABAEAQAAAAEAAAQBBAAEAAAQAAAAEAABBAAEAAAQBAEAAAQABBAAAAAQAAAEAAABBBAAAQQAAAAEAAABABAEAAQAAAAAEAQBBBAAAQAQAAAEAAABBAAEAAQQBAAEAAAAABAEAQQABAEAAAQBABAEAAAQBAAAEAABAAAAAAQABAEEBAAACAAAEAgAEAAABBAQCAAAEAgEAAAABBAQCAAAEAAAEAAIBBAQAAAAEAAEAAAIBAAQAAAQAAgAAAAIBBAAAAAAAAAEABAABBAACAAQAAAAEBAABBAACAQAAAAEABAIBAAQCAAAAAAEEBAAABAQCAQQAAAAEBAAABAQCAAAAAgAEAAIBAAAAAQAEAgAEBAABBAQCAAAEAAEEAAABAAACAAAEAAAEAAIAAAACAQQAAAEAAAIBBAQCAAQEAAAABAIBBAQAAAQEAgAAAAABAAQCAQAAAAAEAAAAAAQCAQQEAAAEAAABAAQAAQQAAgAAAAAABAQCAAAAAgEABAABBAACABIIAAgSAAAIEgAACAAAAAgCCAAIEAgAABAIAAASAAAAAAAAAAIIAAACCAAIEggACBAAAAAAAAAIAAgAABAIAAAQAAAAAgAAAAAIAAASCAAIAAAAAAAIAAASAAAIAgAACBAIAAAQAAAIAgAACAAIAAACAAAIAggACBIIAAgQAAAIAAgAABAIAAACCAAIEggACB" }, + { 1821, "IIAAgCAAAIAAgACBAIAAAQAAAAEggACBIAAAgSAAAIAAAACBIIAAgQAAAAEAAAAAIAAAAQCAAAEgAACAIIAAgQCAAAEgAACAIAAAAACAAAEggACAAAAAAACAAAAgAACAIIAAIIAQgACAAIAAgAAAIIAQAAAAEAAgAAAAIAAQgCCAAIAgAACAIIAQgACAEIAAAACAAIAAgAAAEAAgAAAAIAAQgACAEAAgABAAIIAAgAAAAAAAAACAAIAAACCAEAAAABCAIAAQACAAAIAAAAAAAIAQACCAAAAAgBCAAAAQgCCAAAAAAAAAIIAQACAAEIAAABAAIIAAgAAAEIAAgBCAAIAAAAAAEIAAgACAIAAAACCAEIAggBAAIAAAAACAAAAAAACAIIAAAACAEIAAABAAIAAAgCAAEAAggACAIAAAgCAAEAAAgBAAAAAAAACAAIAggAAAAAAAgCAAEIAggBCAAIAQAAAAIAACACAEAggABAAAAAAACAAAAggABAIIIAAACCAEAgggBAAAIAAAAAAAAgAABAIAAAAAAAAEAgAgBAIIAAAACAAEAgggAAIAIAAACAAEAgAABAAAIAQACCAEAgAgAAAAIAQACAAAAggAAAIIIAQACCAAAgAAAAAAAAQACCAAAAAABAAIIAAAACAAAggABAIIAAQCACAEAgAgBAIAAAACACAAAAAABAAIAAQAACAAAAggBAIIAAACCCAAAAggBAIIAAACAAAEAgggBAAAIAQACCAAAAAAAAIAAAACCCAEAAAAAAIIIAAAACAEAAgAAAIAAAQACAAEAAgAAAIAIAAAAQAAAAEIAgAACAIAAQBCAAAIAAABAAAAAABAAAAIAgABCEAAAAgAAAEAAgABCEAAAQBCAAAIQgABCAAAAABAAAAAAgAACEAAAAhAAAAAAAABAEAAAQhCAAEIQgABAAIAAAhCAAEAQAAAAAAAAABCAAEIAgAAAAIAAABCAAEIAAAACAAAAQBCAAEAAAAAAAIAAABAAAAIAgABAEIAAQhAAAEAAgAAAEAAAAhCAAEIAgABCEAAAQAAAAAAAgAACEIAAQhCAAEIAAAAAEIAAQhCAAAIAgAAAAAAAAhAAAAAQgABCAAAAQACAAEAQAAACAAAAAAAAAAIQAABCAIAAQBACAIAAAACAggAAAAACAACCAACAAgAAAAACAICAAACAAgIAAIACAAACAgAAAgAAAIACAICCAgAAgAAAAIICAIAAAAAAAgIAAAAAAICCAACAAAAAgIAAAACCAgAAggIAgIACAIACAACAgAAAAIACAIACAgAAAAIAgIIAAIAAAAAAAgAAgIIAAAACAgAAgAIAgAAAAACAAACAggAAgAIAAAAAAACAAAIAAIACAICCAACAAgIAAAIAAIAAAAAAAAIAAIICAIACAAAAgAAAAAICAICCAgAAAAIAgIAAAICAAgAAAgAAAIICAIACAgCAAAAAAIICAICAAgAAAAIAAIIAAICAAAEAQEAAAAAAAABAAQEAQEEAAEBBAQBAAQAAAAAAAEAAAQAAAAEAQEEBAEBAAQAAAQEAAEEAAEBAAAAAQQAAAAEBAAAAAQAAQAEAAEABAEAAAQBAAAAAQEAAAEBBAQAAQQAAQAEAAABBAAAAQQAAQAAAAAABAQAAAQEAQAAAAABAAABAAQEAQEEAAAAAAABAQAEAQEAAAABAAAAAQAEAAAEAAEBAAABAAAEAQAEAAABAAQAAAQAAAAEBAABBAQBAAQEAQEEAAEAAAABAQQEAAEEAAABBAQAAAQEAQAABAEBBAQAAAAEAAEABAABAAAAAAQAAQAABAEAAAAAAAQAAQGmCzHRrLXfmNty/S+33xrQ7a/huJZ+JmpFkHy6mX8s8UeZoST3bJGz4vIBCBb8joXYIGljaU5XcaP+WKR+PZP0j3SVDVi2jnJYzYtx7koVgh2kVHu1WVrCOdUwnBNg8iojsNHF8IVgKBh5QcrvONu4sNx5jg4YOmCLDp5sPooesMF3FdcnSzG92i+veGBcYFXzJVXmlKtVqmKYSFdAFOhjajnKVbYQqyo0XMy0zuhBEa+GVKGT6XJ8ERTusyq8b2Ndxakr9jEYdBY+XM4ek4ebM7rWr1zPJGyBUzJ6d4aVKJhIjzuvuUtrG+i/xJMhKGbMCdhhkakh+2CsfEgygOxdXV2E77F1hekCIybciBtl64E+iSPFrJbT829tDzlC9IOCRAsuBCCEpErwyGlemx+eQmjGIZps6fZhnAxn8IjTq9KgUWpoL1TYKKcPlqMzUatsC+9u5Dt6E1DwO7qYKvt+HWXxoXYBrzk+WcpmiA5DghmG7oy0n29Fw6WEfb5eizvYdW/gcyDBhZ9EGkCmasFWYqrTTgZ3PzZy3/4bPQKbQiTX0DdIEgrQ0+oP25vA8UnJclMHexuZgNh51CX33uj2GlD+4ztMeba94GyXugbABLZPqcHEYJ9Awp5cXmMkahmvb/totVNsPuuyORNv7FI7H1H8bSyVMJtERYHMCb1erwTQ4779SjPeBygPZrNLLhlXqMvAD3TIRTlfC9Lb+9O5vcB5VQoyYBrGAKHWeXIsQP4ln2fMox/7+OmljvgiMtvfFnU8FWth/cgeUC+rUgWt+rU9MmCHI/1IezFTgt8APrtXXJ6gjG/KLlaHGttpF9/2qELVw/9+KMYyZ6xzVU+MsCdbachYyrtdo//hoBHwuJg9+hC4gyH9bLX8SlvT0S155FOaZUX4trxJjtKQl/tL2vLd4TN+y6RBE/ti6MbkztrKIO8BTHc2/p5+0LQf8StN2tuVmJGQrnGOreqg1ZNr0NGO0OAlx68vWzyOt5R1jvvi9o9kKxLyEriIiBzwDZCgXq1PHMOPaJHxz9GtwaizGCIvL3cXDr7+LXXqoR8Ciw/MoOXodG+11vOsGJniic7gT6i0t+AT/YE7xHzZqK3SZqJfFgV3lYAUc8yTdxQaIWUgreaG+rV39UJUx881nfsMr83roIk+e9MbQdZJfh6uLQ4lAF6zcSC7AGgir+C4V5s2ZCQeuQnwHZFjVaqm31mJQ8F4f1Na2aJbfSDFueUCdgMmg6nPlWJoGcgRQUpzTsotR7NKqRR7UgBRGxUpU5o/Vw/W5MabvHakYCsAdOaBtW+6CB/pG1dr7JbyFdkNKiFlY7a2+bnnLgU0/2RWhcVdLbBToY+fqZlHughqB4Vu6XB6S0Qps7UuCXXbIyYZxLCmbq1936dJuGDunGay7Y9xjKrs/xeaaWxSZFbhnrHCpQI2GSlMCXVAE1mgPjoY5JqYVD9lnUJb1uSPa9Y/95kHnNKh9TDo7+Y4LU3BXSXwhiDdTCbrcITG6YJjXsweAj9raAnJ77o+FBiXPKFwamuENX9ohuKgUgVTnLc3B1CqHIQHPlyu3n/sRH2OuPIWVzfaOrANDFDwBB8c8P+zAAIa9QyusnS1PFh6gyW9IQnc+ROR0fYvqXxzRzKUAUf1IoHl5Trc2sI3NHa1yKfd85pGYUSpDgPQDz7HyOxBHnWkmc044i8O6juhu4AyMbM+GDiLVE4IuW1PAw1Cb78ECvaQErgseXyXJHKweVavia+8H3ea3hAIk9kSrouzLj/P3B9yElUkcWsu5t0aUIfNhJ8YR1h6F9oIdLyan7yMfUvpOux67PodhdtmQwlj0sNkxEcYHO8I2RUyNztD3Ra6wiRDTaESUcRlKgIAlFDd5DoTnvjfcVVOMRDWd6yBmxkRX/FWNQRrx6PXOxgRPAmlJFnt5o/y+vvxlyy/up5uPBUecEXjhrFv6eoKXg6Gsyo+WhznH3f6Bj1OudxlKQ8d55nWiT6AJchmUnjJTC5qsxCcug4Vxnjq4pRTPPyl9C0KHqdO9/I9Kx02DyY5GWB5whkIpyNSthIT927+retmH8PqlUW844PIe6bRN3+xKP+MAe/dMsOlWmy+hSFYZQKYq2gPpc7uO5Uv26197yqEL25bKLYhFXBhByl1R93sEBWfYTCozBOWvWHrHv40A89jA6qQXHO1OaJwTAuentUU3qrLvIbM7qcsYmCrXKucboTzsq8ei2TK8L0ZuWkjoFC7WmUyWmhAs7QqPNXpnjH3uCHAGQtUm5mgX4d+mfeVqH09YpqIN/h3LeOXX5PtEYESaBYpiDUO1h/mx6Hf3paZulh4pYT1V2NyIhv/w4OblkbCGusKs81UMC5T5EjZjygxvG3v8utY6v/GNGHtKP5zPHzu2RRKXeO3ZOgUXRBC4BM+ILbi7kXqq6qjFU9s29BPy/pC9ELHtbtq7x07T2UFIc1Bnnke2MdNhYZqR0vkUGKBPfKhYs9GJo1boIOI/KO2x8HDJBV/knTLaQuKhEeFspJWAL9bCZ1IGa10sWIUAA6CIyqNQljq9VUMPvStHWFwPyOS8HIzQX6TjfHsX9bbOyJsWTfefGB07sun8oVAbjJ3zoSAB6aeUPgZVdjv6DWX2WGqp2mpwgYMxfyrBFrcyguALnpEnoQ0RcMFZ9X9yZ4eDtPbc9vNiFUQedpfZ0BDZ+NlNMTF2Dg+cZ74KD0g/23x5yE+FUo9sI8rn+Pm962D22haPen3QIGUHCZM9jQpaZT3IBVB99QCdi5r9LxoAKLUcSQI1Gr0IDO31LdDr2EAUC72OR5GRSSXdE8hFECIi78d/JVNr5G1ltPd9HBFL6Bm7Am8v4WXvQPQbax/BIXLMbMn65ZBOf1V5kcl2poKyqsleFAo9CkEU9qGLAr7bbbpYhTcaABpSNekwA5o7o2hJ6L+P0+MrYfoBuCMtbbW9Hp8Hs6q7F8305mjeM5CKmtANZ7+ILmF89mr1znui04SO/f6yR1WGG1LMWajJrKX4+p0+m46MkNb3ffnQWj7IHjKTvUK+5ez/tisVkBFJ5VIujo6U1WHjYMgt6lr/kuVltC8Z6hVWJoVoWMpqcwz2+GZVkoqpvklMT8cfvRefDEpkALo+P1wLycEXBW7gOMsKAVIFcGVIm3G5D8TwUjchg/H7sn5Bw8fBEGkeUdAF26IXetRXzLRwJvVj8G88mQ1EUE0eHslYJwqYKPo+N8bbGMfwrQSDp4y4QLRT2avFYHRyuCVI2vhkj4zYgskOyK5vu4OorKFmQ265owMct4o96ItRXgS0P2Ut5ViCH1k8PXM52+jSVT6SH2HJ/2dwx6NPvNBY0cKdP8umatubzo3/fj0YNwSqPjd66FM4RuZDWtu2xBVe8Y3LGdtO9RlJwTo0NzHDSnxo/8AzJIPObUL7Q9p+597Zpx9284Lz5Ggo14V2YgvE7skrVtRv3mUe+vWO3azLjk3eVkRzJfiJoAtMS70p61CaDsrasbMTHUSHPEueDdCEmrnUZK35ruhBlBj+0sYEGsa+u3KEdi9JT3Jw+HiWRZCRIYTEgpu7AzZKuqr1U5nr2RfqIbaiOm/vv7D5GRXgLydhsD38Ph7eGBNYANgRoP90bAfOPYErkV3zPw21zNrQoNxqx7wh0GAsF9eADy+V6B3JK7ovZlCRlVhLli/j/RYTqL93fI473T0wr2Jh8P5ZlN0jrPIVfJ1tLnZ/EZhJut6hN8di3kOaoTilV+RjlluRnBXtCCRVdWMTN4CyeGsC7nQBYK7SGKoEZ6pdHW2GX+3Cdyp4KEJLWYzRjLEAh9a6Iy+8AkloJlKEP5uHR09uRrfpKULD/KGoWnxaCiD2rfc/gY5V5vO4qFSf81PAV4RUPqDBqfEtQKgJ9DmDSeM+JpBhj93Bkxgw7UGqGEoehfw4Ib1wKpYYABifdww157mEWPqOCOU3cJTNBbCwlbuy7vetryQoX3863YdWc4J5AVviAF8Sz0KcjkkfJJ8X3LjhrmdTXK0W8Ea/Lie03hVVO21pfwI03w92MQPrU1e71Ae+OZhsdkUhaI8E1Fs58fVb8RO4VbOvyo2N8jG3TQymtcSgmOSjvoOZ+AAYEA3zjk6z/X60zd3wqsbLcVanmewXEI3o09AJ4LTvpu8mZ2OEdUVcw+/fhwt1nvEAMdrG4y3RZChIb6xbrK0bjZqL6tIV3lulLzSdqPGyMJJZe74D1N93o1GHQpz1cZN0EzbuzkpUEa6qegmlawE416+8NX6oZpRLWrijO9jIu6GmrjCicD2LiRDqgMepaTQ8py6YcCDTWrpm1AV5Y/WW2S6+aImKOE6OqeGlalL6WJV79PvL8fa91L3aW8EP1kK+ncVqeSAAYawh63mCZuT5T47Wv2Q6ZfXNJ7Zt/AsUYsrAjqs1ZZ9pn0B1j7P0SgtfXzPJZ8fm7jyrXK01lpM9Yhacawp4OalGeD9rLBHm/qT7Y3E0+jMVzsoKWbV+CguE3mRAV94VWB17UQOlveMXtPj1G0FFbpt9IglYaEDvfBkBRWe68OiV5A87BonlyoHOqmbbT8b9SFjHvtmnPUZ89wmKNkzdfX9VbGCNFYDuzy6ihF3USj42QrCZ1HMq1+SrcxRF+hNjtwwOGJYnTeR+SCTwpB66s57PvtkziFRMr5Pd37jtqhGPSnDaVPeSIDmE2QQCK6iJLJt3f0thWlmIQcJCkaas93ARWTP3mxYrsggHN33vltAjVgbfwHSzLvjtGt+aqLdRf9ZOkQKNT7VzbS8qM7qcruEZPquEmaNR288v2Pkm9KeXS9UG3fCrnBjTvaNDQ50VxNb53EWcvhdfVOvCMtAQMzitE5qRtI0hK8VASgEsOEdOpiVtJ+4Bkigbs6COz9vgqsgNUsdGgH4J3InsWAVYdw/k+creTq7vSVFNOE5iKBLec5Rt8kyL8m6H6B+yBzg9tHHvMMRAc/HquihSYeQGpq9T9TL3trQONoK1SrDOQNnNpHGfDH5jU8rseC3WZ73Orv1Q/8Z1fKcRdknLCKXvyr85hVx/JEPJRWUm2GT5frrnLbOWWSowtGouhJeB8G2DGoF42VQ0hBCpAPLDm7s4DvbmBa+oJhMZOl4MjKVH5/fktPgKzSg0x7ycYlBdAobjDSjSyBxvsXYMnbDjZ813y4vmZtHbwvmHfHjD1TaTOWR2Noez3lizm9+Ps1msRgWBR0s/cXSj4SZIvv2V/Mj9SN2MqYxNaiTAs3MVmKB8Ky163ValzYWbsxz0oiSYpbe0Em5gRuQUEwUVsZxvcfG5goUejIG0OFFmnvyw/1TqskAD6hi4r8lu/bSvTUFaRJxIgIEsnzPy7YrnHbNwD4RU9PjQBZgvas48K1HJZwgOLp2zkb3xaGvd2BgdSBO/suF2I3oirD5qnp+qvlMXMJIGYyK+wLkasMB+eHr1mn41JCg3lymLSUJP5/mCMIyYU63W+J3zuPfj1fmcsM6iGo/JNMIo4UuihkTRHNwAyI4CaTQMZ8pmPouCIlsTuzmIShFdxPQOM9mVL5sDOk0tymswN1QfMm11YQ/FwlHtdnVFpIb+3mJ" }, + { 7377, "AQIDCAkKCyYnJCUXFBUWG///Gv//////////////////////////BAUGBwwNDg8QERIT/xgZ/x8cHR7//////////////////////////wABAgM9Pj88/////xsYGRojICEi/////wgJCgsQERIT/////yckJSb/////DA0ODzo7ODkfHB0e/////wQFBgdBQkNAFBUWF/////8rKCkqFRYXFP////8SExARCwgJCg8MDQ4ZGhsYHR4fHBITEBH//////////wAAAAAAAAAAcIIs7LMnwOXkhVc16gyuQSPva5NFGaUh7Q5PTh1lkr2GuK+PfOsfzj4w3F9exQsapuE5ytVHXT3ZAVrWUVZsTYsNmmb7zLAtdBIrIPCxhJnfTMvCNH52BW23qTHRFwTXFFg6Yd4bERwyD5wWUxjyIv5Ez7LDtXqRJAjoqGD8aVCq0KB9oYlil1RbHpXg/2TSEMQASKP3dduKA+baCT/dlIdcgwLNSpAzc2f2851/v+JSm9gmyDfGO4GWb0sTvmMu6XmnjJ9uvI4p9fm2L/20WXiYBmrnRnG61CWrQoiijfpyB7lV+O6sCjZJKmg8OPGkQCjTe7vJQ8EV4630d8eAnuAFWNlnToHLyQuuatUYXYJG39YnijJLQtscnpw6yiV7DXFfH/jXPp18YLm+vIsWNE3DcpWrjrp6swK0raKs2JoXGjXM95lhWugkVkDhYwkzv5iXhWj87Arab1Nioy4IryiwdMK9NiI4ZB45LKYw5UT9iJ9lh2v0I0gQ0VHA+dKgVaFB+kMTxC+otjwrwf/IpSCJAJBH7+q3FQbNtRJ+uykPuAcEm5QhZubO7ec7/n/FpDexTJFujXYDLd6WJn3GXNPyTxk/3HkdUuvzbV77abLwMQzUz4zidalKV4QRRRv15A5zqvHdWRRsklTQeHDjSYBQp/Z3k4aDKsdb6e6PAT04QRZ22ZNg8nLCq5p1Blegkfe1yaKM0pD2B6cnjrJJ3kNc18c+9Y9nHxhury/ihQ1T8Jxl6qOunuyALWuoKzamxYZNM/1mWJY6CZUQeNhCzO8m5WEaPzuCttvUmOiLAusKLB2wb42IDhmHTgupDHkRfyLnWeHaPcgSBHRUMH60KFVoUL7QxDHLKq0PynD/MmkIYgAk0fu67UWBc22En+5Kwy7BAeYlSJm5s3v5zr/fcSnNbBNkm2OdwEu3pYlfsRf0vNNGzzdeR5T6/FuX/lqsPEwDNfMjuF1qktUhRFHGfTmD3Kp8d1YFG6QVNB4c+FIgFOm93eSh4Irx1nq740BPcCyzwORX6q4ja0Wl7U8dkoavfB8+3F4LpjnVXdlaUWyLmvuwdCvwhN/LNHZtqdEEFDreETKcU/L+z8N6JOhgaaqgoWJUHuBkEACjdYrmCd2Hg82Qc/adv1LYyMaBbxNj6aefvCn5L7R4Budx1KuIjXK5+Kw2KjzxQNO7QxWtd4CC7CflhTUMQe+TGSEOTmW9uI/rzjBfxRrhykc9AdZWTQ1mzC0SILGZTMJ+BbcxF9dYYRscDxYYIkSytZEIqPxQ0H2Jl1uV/9LESPfbA9o/lFwCSjNn83/imyY3O5ZLvi55jG6O9bb9WZhqRrolQqL6B1XuCkloOKQoe8nB4/THngIAAAABAAAAgAAAAKUp" }, + { 8632, "EAAAAKgpAAADAAAAAQAAAMAAAAClKQ==" }, + { 8664, "EAAAAKgpAAAEAAAAAQAAAAABAAClKQ==" }, + { 8696, "EAAAAKgpAAAFAAAAAgAAAIAAAAClKQAAEAAAAAAAAAAQAAAAqCkAAAYAAAACAAAAwAAAAKUpAAAQAAAAAAAAABAAAACoKQAABwAAAAIAAAAAAQAApSkAABAAAAAAAAAAEAAAAKgpAAAIAAAAAwAAAIAAAAClKQAAEAAAAAAAAAAQAAAAqCkAAAkAAAADAAAAwAAAAKUpAAAQAAAAAAAAABAAAACoKQAACgAAAAMAAAAAAQAApSkAABAAAAAAAAAAEAAAAKgpAAALAAAABQAAAIAAAAClKQAAEAAAAAAAAAAQAAAAqCkAAAwAAAAFAAAAwAAAAKUpAAAQAAAAAAAAABAAAACoKQAADQAAAAUAAAAAAQAApSkAABAAAAAAAAAAEAAAAKgpAAAOAAAABgAAAIAAAAClKQAADAAAAAEAAAAQAAAA0CkAAA8AAAAGAAAAwAAAAKUpAAAMAAAAAQAAABAAAADQKQAAEAAAAAYAAAAAAQAApSkAAAwAAAABAAAAEAAAANApAAArAAAACAAAAIAAAAClKQAADAAAAAEAAAAQAAAA+CkAACwAAAAIAAAAwAAAAKUpAAAMAAAAAQAAABAAAAD4KQAALQAAAAgAAAAAAQAApSkAAAwAAAABAAAAEAAAAPgpAAAqAAAABwAAAIAAAAClKQ==" }, + { 9208, "AQAAACAqAAAmAAAAAQAAAIAAAAClKQAACAAAAAIAAAAIAAAASCoAACcAAAACAAAAgAAAAKUpAAAIAAAAAgAAAAgAAABIKgAAKAAAAAMAAACAAAAApSkAAAgAAAACAAAACAAAAEgqAAApAAAABQAAAIAAAAClKQAACAAAAAIAAAAIAAAASCoAABEAAAABAAAAgAAAAKUpAAAQAAAAAAAAABAAAABwKgAAEgAAAAEAAADAAAAApSkAABAAAAAAAAAAEAAAAHAqAAATAAAAAQAAAAABAAClKQAAEAAAAAAAAAAQAAAAcCoAABQAAAACAAAAgAAAAKUpAAAQAAAAAAAAABAAAABwKgAAFQAAAAIAAADAAAAApSkAABAAAAAAAAAAEAAAAHAqAAAWAAAAAgAAAAABAAClKQAAEAAAAAAAAAAQAAAAcCoAABcAAAADAAAAgAAAAKUpAAAQAAAAAAAAABAAAABwKgAAGAAAAAMAAADAAAAApSkAABAAAAAAAAAAEAAAAHAqAAAZAAAAAwAAAAABAAClKQAAEAAAAAAAAAAQAAAAcCoAABoAAAAFAAAAgAAAAKUpAAAQAAAAAAAAABAAAABwKgAAGwAAAAUAAADAAAAApSkAABAAAAAAAAAAEAAAAHAqAAAcAAAABQAAAAABAAClKQAAEAAAAAAAAAAQAAAAcCoAAB0AAAAGAAAAgAAAAKUpAAAMAAAAAQAAABAAAACYKgAAHgAAAAYAAADAAAAApSkAAAwAAAABAAAAEAAAAJgqAAAfAAAABgAAAAABAAClKQAADAAAAAEAAAAQAAAAmCoAAC4AAAAIAAAAgAAAAKUpAAAMAAAAAQAAABAAAADAKgAALwAAAAgAAADAAAAApSkAAAwAAAABAAAAEAAAAMAqAAAwAAAACAAAAAABAAClKQAADAAAAAEAAAAQAAAAwCoAACAAAAABAAAAQAAAAKUpAAAIAAAAAAAAAAgAAADoKgAAIgAAAAEAAACAAAAApSkAAAgAAAAAAAAACAAAABArAAAkAAAAAQAAAMAAAAClKQAACAAAAAAAAAAIAAAAOCsAACEAAAACAAAAQAAAAKUpAAAIAAAAAAAAAAgAAADoKgAAIwAAAAIAAACAAAAApSkAAAgAAAAAAAAACAAAABArAAAlAAAAAgAAAMAAAAClKQAACAAAAAAAAAAIAAAAOCsAAAIAAACgIQAAAwAAAMAhAAAEAAAA4CEAAAUAAAAAIgAABgAAACAiAAAHAAAAQCIAAAgAAABgIgAACQAAAIAiAAAKAAAAoCIAAAsAAADAIgAADAAAAOAiAAANAAAAACMAAA4AAAAgIwAADwAAAEAjAAAQAAAAYCMAACsAAACAIwAALAAAAKAjAAAtAAAAwCMAACoAAADgIwAAJgAAAAAkAAAnAAAAICQAACgAAABAJAAAKQAAAGAkAAARAAAAgCQAABIAAACgJAAAEwAAAMAkAAAUAAAA4CQAABUAAAAAJQAAFgAAACAlAAAXAAAAQCUAABgAAABgJQAAGQAAAIAlAAAaAAAAoCUAABsAAADAJQAAHAAAAOAlAAAdAAAAACYAAB4AAAAgJgAAHwAAAEAmAAAuAAAAYCYAAC8AAACAJgAAMAAAAKAmAAAgAAAAwCYAACIAAADgJgAAJAAAAAAnAAAhAAAAICcAACMAAABAJwAAJQAAAGAn" }, + { 10496, "JTAyeAAtKyAgIDBYMHgALTBYKzBYIDBYLTB4KzB4IDB4AF8weCV4AG91dGVySGVpZ2h0AGlubmVySGVpZ2h0AG5hdmlnYXRvcgBmdW5jdGlvbgBsb2NhdGlvbgBuYW4AcHJvdG9jb2wAc2V0SW50ZXJ2YWwAaW5mAGNocm9tZQBob3N0bmFtZQAlZABOQU4ASU5GAGh0dHBzOgAuACwAKG51bGwpAAAAAgAAAAEAAAACAAAAAwAAAAQAAAAAAAAABQAAAAYAAAAHAAAACAAAAAI=" }, + { 10728, "CQAAAAkAAAAKAAAACwAAAAI=" }, + { 10768, "DAAAAAwAAAANAAAADgAAAAc=" }, + { 10804, "DwAAABAAAAAQAAAAEQAAABIAAAAGAAAAEwAAABQAAAAVAAAAFgAAAAAAAAAXAAAAFwAAABgAAAAZAAAABQAAABoAAAAbAAAAHAAAAB0AAAAAAAAAHgAAAB8AAAAgAAAAIQAAAAU=" }, + { 10928, "IgAAACIAAAAKAAAACwAAAAU=" }, + { 10968, "IwAAACMAAAANAAAADgAAAAMAAAAkAAAAJQ==" }, + { 11008, "JgAAACcAAAAoAAAAKQAAAAMAAAAqAAAAKw==" }, + { 11048, "LAAAAC0AAAAuAAAALwAAAAQAAAAqAAAAKw==" }, + { 11088, "MAAAADEAAAAuAAAALw==" }, + { 11112, "IBwAAAAAAABAOAAAAAAAAGAkAAAAAAAAgHAAAAAAAACgbAAAAAAAAMBIAAAAAAAA4FQAAAAAAAAA4QAAAAAAACD9AAAAAAAAQNkAAAAAAABgxQAAAAAAAICRAAAAAAAAoI0AAAAAAADAqQAAAAAAAOC1AAAAAAAAmC+KQpFEN3HP+8C1pdu16VvCVjnxEfFZpII/ktVeHKuYqgfYAVuDEr6FMSTDfQxVdF2+cv6x3oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBmcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxikuQ8mi2HwBPTZUoezwBhNipwXzwMdzjJiTK9m8TILKHptXPP3U4BZnQm8YihflEr5OxNbant5JoPv1jrsv7nqpaHmRFbIHP5TCEIkLIl8hgH9dmlqQMic1Psznv/eXA/8ZMLNIpbXR116SKqxWqsZPuDjSlqR9tnb8a+KcdATxRZ1wWWRxhyCGW89l5i2oAhtgJa2usLn2HEZhaTRAfg9VR6Mj3VGvOsNc+c66xeomLFMNboUohAnT3830QYFNUmrcN8hswav6JOF7CAy9sUp4iJWL42PobenL1f47AB058u+3DmZY0OSmd3L463VLCjFEULSP7R8a25mNM58RgxSA" }, + { 11808, "EQAKABEREQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAARAA8KERERAwoHAAEACQsLAAAJBgsAAAsABhEAAAARERE=" }, + { 11889, "CwAAAAAAAAAAEQAKChEREQAKAAACAAkLAAAACQALAAAL" }, + { 11947, "DA==" }, + { 11959, "DAAAAAAMAAAAAAkMAAAAAAAMAAAM" }, + { 12005, "Dg==" }, + { 12017, "DQAAAAQNAAAAAAkOAAAAAAAOAAAO" }, + { 12063, "EA==" }, + { 12075, "DwAAAAAPAAAAAAkQAAAAAAAQAAAQAAASAAAAEhIS" }, + { 12130, "EgAAABISEgAAAAAAAAk=" }, + { 12179, "Cw==" }, + { 12191, "CgAAAAAKAAAAAAkLAAAAAAALAAAL" }, + { 12237, "DA==" }, + { 12249, "DAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAwMTIzNDU2Nzg5QUJDREVG" }, + { 12324, "Ng==" }, + { 12363, "//////8=" }, + { 12436, "A4Nr8vdwO+H081ATH5eaxxwU8TXo56Em62TK1M9Y2YrM27J4OCjiazuriZnQz0NN00wovye/eKwkPBNeb8deEGxENeKYt2XxmzQOA3BQxNdz068lhyD/NoSjlMSgn4eaoxzsaFfvvHtUbNeJvwgdXbyLdq9IeCa8S/tNTt6OvSDdDdbSKf6GwSp97TPBGSfnwppMFTZpHAY16nf0EdZkqhJVD1jmpl9L5SU0uQ5B/m0NwpWf+THFjPqyrn6xSeMwssqIwkY52NFFurMjrt55961dEgVZrkIWWi0p5H4ROrp9klFIiWEBW4riaqlhhqB9YgXLj5b2m5yVdfBuvB17Qb+eELNLbUCgSO4rUqOK4YagCYp0VPraZ1d5sZVzRaLLcMbJOYQ1mSqHtvLYbNI4DG9RU/6bogPtmCFoH9PaJVHQWU6jJKoesCcpdULMTb+Wz87UZDs9hHc4vu+FHIL82x8Blynr8sc66HGsyAMVZhwAlg3u9GVd/ffmNg9ik8ZhYRCtk5Xj/YCWYJZyfQRcpn6HN1SKdGdHifcMta3LH+uuSHQZWrskClk4T/iyXIUssd/u3kUsvs1Gr9U/DVSYcQ7X84P6JKOQ+afIYhLDArYRQGlE5bM5V+YwUqXCDEH7wY8qCTV8eho2/xHo3ZvbPN4YsM4q6+DdKWiLL3g79oJ7uJ1wj0vNY4zIppFnrGxFZC8Ht5DcV6STXzxWt2MvCLTgRPpAExTpQ5B/G6j0tc+rd949X4SOLlwH5dwX/KiSFH/DYOCMk3PjD/iBCGsyVQvoWaf/Gwm0/JhiRtikcRjbJxrqL9RK+SxXIQvHM+vfxLCALTBD0D4zwLvMprVLoqU2IFBRxXBDUkYbsbki0WW6obqXTlLqhE3RgXZp7ZIoam752p6dqcmdHsI7dnoI73X5Yx2BCjMOgolY/MlyFbLK8X5APgIuUz2BRaHW5Y911WbkhyGVtJQiFt9mBirMOAWpp8rxWvfZ8tmcKxm9Vv8aPj0N7s1tHu1OBuzEJo3Dx6XmMTNWtiIw1d3Q27EXBNgyfPYswSzlL0JHFwt+VEkI/T+7/A5vqP+NBFoU6c6OF2qlfOOZ9W/gGp6dq+HT06hiuCFckegyXxKDwLR2SRS39SLmQwZy9UCFGQdkuQpZZzphq5PJMbiQSlpKey6Qnnit+2yMXqt/j93AjRqoMOMZK1sR7dgLAu5bYPAFP6okBrzB1vJPkcXxzPo31fDpadZzgpsigNKIIQO5espnc67J5BhcPRdITz6UI711b27zduwFAYIfVRKBnD7gavj0NGl7n8adiM/VngukJ7o3t3m5tNyLTUeMmE7E52qloC2+piNGTFLQFl9RU32tOAAAADkAAAA6AAAA0ivs2w1R0IOYbXveMjAFSEG0amTv5SF/gIvIAUBqpx0=" }, + { 13500, "IHxQ" }, + { 13676, "yHs=" }, +} + +local exports = {} +exports.g = function() + + +end +exports.h = function(v_A, v_r) +local v_e = 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = 0 +if not (I32[7931] ~= 0) then +v_e = F.fm(12) +I32[7931] = tobit(v_e) +I32[arshift(v_e, 2)] = tobit(64) +I32[arshift((v_e + 4), 2)] = tobit(0) +I32[arshift((v_e + 8), 2)] = tobit(F.fSA(64, 16)) +end +v_e = I32[7928] +if (v_e ~= 0) then +F.fU(v_e) +end +I32[7929] = tobit(v_r) +v_e = F.fm(tobit((v_r + 1))) +I32[7928] = tobit(v_e) +F.fKA(tobit((v_r + v_e)), 0, (((-1) ~= bor(0, v_r)) and 1 or 0)) +F.fTA(v_e, v_A, v_r) +I32[7930] = tobit(31711) +do return 0 end +end +exports.i = function(v_A, v_r, v_e) +local v_n, v_t, v_o, v_f = 0, 0, 0, 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_o = 0 +v_f = 0 +v_n = tobit((B - 16)) +B = v_n +v_o = I32[7931] +if not (v_o ~= 0) then +v_o = F.fm(12) +I32[7931] = tobit(v_o) +I32[arshift(v_o, 2)] = tobit(64) +I32[arshift((v_o + 4), 2)] = tobit(0) +I32[arshift((v_o + 8), 2)] = tobit(F.fSA(64, 16)) +end +v_t = F.fm(12) +v_f = F.fm(11) +I32[arshift(v_t, 2)] = tobit(v_f) +v_e = F.fsA(v_f, v_e) +v_f = F.fm(v_r) +I32[arshift((v_t + 4), 2)] = tobit(v_f) +F.fTA(v_f, v_A, v_r) +I32[arshift((v_t + 8), 2)] = tobit(v_r) +do +do +while true do +do +if (not (F.fN(v_o, v_e, 10, tobit((v_n + 12))) ~= 0)) then +if (not (F.ftA(v_o) ~= 0)) then +goto C380 +end +goto L379 +end +goto B380 +end +::C380:: +end +end +::B380:: +v_A = 0 +v_r = tobit((I32[arshift((v_o + 8), 2)] + lshift(I32[arshift((v_n + 12), 2)], 4))) +v_f = I32[arshift((v_r + 8), 2)] +if (1 == bor(0, v_f)) then +v_A = I32[arshift((v_r + 12), 2)] +end +I32[arshift((v_r + 4), 2)] = tobit(10) +I32[arshift(v_r, 2)] = tobit(v_e) +I32[arshift((v_r + 12), 2)] = tobit(v_t) +if not (v_f ~= 0) then +I32[arshift((v_r + 8), 2)] = tobit(1) +I32[arshift((v_o + 4), 2)] = tobit((I32[arshift((v_o + 4), 2)] + 1)) +end +if (v_A ~= 0) then +F.fU(I32[arshift(v_A, 2)]) +F.fU(I32[arshift((v_A + 4), 2)]) +F.fU(v_A) +end +end +::L379:: +B = tobit((v_n + 16)) +end +exports.j = function(v_A, v_r, v_e, v_n) + +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = tobit(v_e) +v_n = tobit(v_n) +UA[bor(0, imul(bxor(31760, I32[7940]), bor(0, UA[bxor(31756, I32[7939])]())))](v_A, v_r, v_e, v_n) +end +exports.k = function(v_A, v_r) +local v_e, v_n, v_t, v_o, v_a, v_u, v_c = 0, 0, 0, 0, 0, 0, 0 +v_r = tobit(v_r) +v_n = 0 +v_t = 0 +v_o = 0 +v_a = 0 +v_u = 0 +v_c = 0 +do +v_e = tobit((B - 304)) +B = v_e +v_A = tobit(v_A) +if (not (bor(((not (v_A ~= 0)) and 1 or 0), ((not (U8[bor(0, v_A)] ~= 0)) and 1 or 0)) ~= 0)) then +do +do +v_a = v_A +v_u = v_r +v_c = tobit((v_e + 288)) +if (v_r ~= 0) then +do +do +do +v_t = (-1) +while true do +do +v_t = bxor(U8[tobit((v_A + v_n))], v_t) +v_o = tobit((rshift(v_t, 1) % 4294967296)) +local t435 = band((0 - band(1, v_o)), (-306674912)) +v_t = tobit((rshift(bxor(v_o, band((0 - band(1, v_t)), (-306674912))), 1) % 4294967296)) +v_o = tobit((rshift(bxor(t435, v_t), 1) % 4294967296)) +local t436 = band((0 - band(1, v_o)), (-306674912)) +v_t = tobit((rshift(bxor(v_o, band((0 - band(1, v_t)), (-306674912))), 1) % 4294967296)) +v_o = tobit((rshift(bxor(t436, v_t), 1) % 4294967296)) +local t437 = band((0 - band(1, v_o)), (-306674912)) +v_t = tobit((rshift(bxor(v_o, band((0 - band(1, v_t)), (-306674912))), 1) % 4294967296)) +v_o = tobit((rshift(bxor(t437, v_t), 1) % 4294967296)) +v_t = bxor(band((0 - band(1, v_o)), (-306674912)), (rshift(bxor(v_o, band((0 - band(1, v_t)), (-306674912))), 1) % 4294967296)) +v_n = tobit((v_n + 1)) +if not (bor(0, v_n) ~= bor(0, v_r)) then goto B381 end +end +do +end +::C381:: +end +end +::B381:: +end +v_A = bxor((-1), v_t) +end +else +v_A = 0 +end +end +UA[I32[arshift((13456 + lshift(fmod((tobit(v_A) % 4294967296), 3), 2)), 2)]](v_a, v_u, v_c) +v_A = I32[arshift((13456 + lshift(fmod((tobit((rshift(v_A, 8) % 4294967296)) % 4294967296), 3), 2)), 2)] +UA[bor(0, v_A)](tobit((v_e + 288)), 16, tobit((v_e + 272))) +UA[bor(0, v_A)](tobit((v_e + 272)), 16, tobit((v_e + 256))) +v_n = F.fSA(33, 1) +I32[arshift((v_e + 240), 2)] = tobit(U8[tobit((v_e + 256))]) +F.fgA(v_n, 10496, tobit((v_e + 240))) +I32[arshift((v_e + 224), 2)] = tobit(U8[tobit((v_e + 257))]) +F.fgA(tobit((v_n + 2)), 10496, tobit((v_e + 224))) +I32[arshift((v_e + 208), 2)] = tobit(U8[tobit((v_e + 258))]) +F.fgA(tobit((v_n + 4)), 10496, tobit((v_e + 208))) +I32[arshift((v_e + 192), 2)] = tobit(U8[tobit((v_e + 259))]) +F.fgA(tobit((v_n + 6)), 10496, tobit((v_e + 192))) +I32[arshift((v_e + 176), 2)] = tobit(U8[tobit((v_e + 260))]) +F.fgA(tobit((v_n + 8)), 10496, tobit((v_e + 176))) +I32[arshift((v_e + 160), 2)] = tobit(U8[tobit((v_e + 261))]) +F.fgA(tobit((v_n + 10)), 10496, tobit((v_e + 160))) +I32[arshift((v_e + 144), 2)] = tobit(U8[tobit((v_e + 262))]) +F.fgA(tobit((v_n + 12)), 10496, tobit((v_e + 144))) +I32[arshift((v_e + 128), 2)] = tobit(U8[tobit((v_e + 263))]) +F.fgA(tobit((v_n + 14)), 10496, tobit((v_e + 128))) +I32[arshift((v_e + 112), 2)] = tobit(U8[tobit((v_e + 264))]) +F.fgA(tobit((v_n + 16)), 10496, tobit((v_e + 112))) +I32[arshift((v_e + 96), 2)] = tobit(U8[tobit((v_e + 265))]) +F.fgA(tobit((v_n + 18)), 10496, tobit((v_e + 96))) +I32[arshift((v_e + 80), 2)] = tobit(U8[tobit((v_e + 266))]) +F.fgA(tobit((v_n + 20)), 10496, tobit((v_e + 80))) +I32[arshift((v_e + 64), 2)] = tobit(U8[tobit((v_e + 267))]) +F.fgA(tobit((v_n + 22)), 10496, tobit((v_e - (-64)))) +I32[arshift((v_e + 48), 2)] = tobit(U8[tobit((v_e + 268))]) +F.fgA(tobit((v_n + 24)), 10496, tobit((v_e + 48))) +I32[arshift((v_e + 32), 2)] = tobit(U8[tobit((v_e + 269))]) +F.fgA(tobit((v_n + 26)), 10496, tobit((v_e + 32))) +I32[arshift((v_e + 16), 2)] = tobit(U8[tobit((v_e + 270))]) +F.fgA(tobit((v_n + 28)), 10496, tobit((v_e + 16))) +I32[arshift(v_e, 2)] = tobit(U8[tobit((v_e + 271))]) +F.fgA(tobit((v_n + 30)), 10496, v_e) +end +end +end +B = tobit((v_e + 304)) +do return bor(0, v_n) end +end +exports.l = function(v_A, v_r) +local v_e = 0 +v_A = tobit(v_A) +v_r = tobit(v_r) +v_e = 0 +v_A = tobit((B - 16)) +B = v_A +I8[tobit((v_A + 15))] = tobit(0) +imp_b(21962, tobit((v_A + 15)), 0) +v_r = tobit((B - 672)) +B = v_r +I32[7934] = tobit((bor(0, imp_d(0)) - 1)) +I32[7935] = tobit(0) +v_e = F.fxA() +I32[arshift((v_r + 464), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 464))) +I8[tobit((v_r + 636))] = tobit(0) +I32[arshift((v_r + 632), 2)] = tobit(1768515945) +I32[arshift((v_r + 448), 2)] = tobit(10601) +I32[arshift((v_r + 456), 2)] = tobit(10570) +I32[arshift((v_r + 460), 2)] = tobit(500) +I32[arshift((v_r + 452), 2)] = tobit((v_r + 640)) +imp_b(14872, tobit((v_r + 632)), tobit((v_r + 448))) +I8[tobit((v_r + 628))] = tobit(0) +I32[arshift((v_r + 624), 2)] = tobit(1768515945) +I32[arshift((v_r + 432), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 436), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 444), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 440), 2)] = tobit((v_r + 640)) +imp_b(15040, tobit((v_r + 624)), tobit((v_r + 432))) +v_e = F.fxA() +I32[arshift((v_r + 416), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 416))) +I8[tobit((v_r + 620))] = tobit(0) +I32[arshift((v_r + 616), 2)] = tobit(1768515945) +I32[arshift((v_r + 400), 2)] = tobit(10601) +I32[arshift((v_r + 408), 2)] = tobit(10570) +I32[arshift((v_r + 412), 2)] = tobit(500) +I32[arshift((v_r + 404), 2)] = tobit((v_r + 640)) +imp_b(15581, tobit((v_r + 616)), tobit((v_r + 400))) +I8[tobit((v_r + 612))] = tobit(0) +I32[arshift((v_r + 608), 2)] = tobit(1768515945) +I32[arshift((v_r + 384), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 388), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 396), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 392), 2)] = tobit((v_r + 640)) +imp_b(15749, tobit((v_r + 608)), tobit((v_r + 384))) +v_e = F.fxA() +I32[arshift((v_r + 368), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 368))) +I8[tobit((v_r + 604))] = tobit(0) +I32[arshift((v_r + 600), 2)] = tobit(1768515945) +I32[arshift((v_r + 352), 2)] = tobit(10601) +I32[arshift((v_r + 360), 2)] = tobit(10570) +I32[arshift((v_r + 364), 2)] = tobit(500) +I32[arshift((v_r + 356), 2)] = tobit((v_r + 640)) +imp_b(16290, tobit((v_r + 600)), tobit((v_r + 352))) +I8[tobit((v_r + 596))] = tobit(0) +I32[arshift((v_r + 592), 2)] = tobit(1768515945) +I32[arshift((v_r + 336), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 340), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 348), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 344), 2)] = tobit((v_r + 640)) +imp_b(16458, tobit((v_r + 592)), tobit((v_r + 336))) +v_e = F.fxA() +I32[arshift((v_r + 320), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 320))) +I8[tobit((v_r + 588))] = tobit(0) +I32[arshift((v_r + 584), 2)] = tobit(1768515945) +I32[arshift((v_r + 304), 2)] = tobit(10601) +I32[arshift((v_r + 312), 2)] = tobit(10570) +I32[arshift((v_r + 316), 2)] = tobit(500) +I32[arshift((v_r + 308), 2)] = tobit((v_r + 640)) +imp_b(16999, tobit((v_r + 584)), tobit((v_r + 304))) +I8[tobit((v_r + 580))] = tobit(0) +I32[arshift((v_r + 576), 2)] = tobit(1768515945) +I32[arshift((v_r + 288), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 292), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 300), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 296), 2)] = tobit((v_r + 640)) +imp_b(17167, tobit((v_r + 576)), tobit((v_r + 288))) +v_e = F.fxA() +I32[arshift((v_r + 272), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 272))) +I8[tobit((v_r + 572))] = tobit(0) +I32[arshift((v_r + 568), 2)] = tobit(1768515945) +I32[arshift((v_r + 256), 2)] = tobit(10601) +I32[arshift((v_r + 264), 2)] = tobit(10570) +I32[arshift((v_r + 268), 2)] = tobit(500) +I32[arshift((v_r + 260), 2)] = tobit((v_r + 640)) +imp_b(17708, tobit((v_r + 568)), tobit((v_r + 256))) +I8[tobit((v_r + 564))] = tobit(0) +I32[arshift((v_r + 560), 2)] = tobit(1768515945) +I32[arshift((v_r + 240), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 244), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 252), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 248), 2)] = tobit((v_r + 640)) +imp_b(17876, tobit((v_r + 560)), tobit((v_r + 240))) +v_e = F.fxA() +I32[arshift((v_r + 224), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 224))) +I8[tobit((v_r + 556))] = tobit(0) +I32[arshift((v_r + 552), 2)] = tobit(1768515945) +I32[arshift((v_r + 208), 2)] = tobit(10601) +I32[arshift((v_r + 216), 2)] = tobit(10570) +I32[arshift((v_r + 220), 2)] = tobit(500) +I32[arshift((v_r + 212), 2)] = tobit((v_r + 640)) +imp_b(18417, tobit((v_r + 552)), tobit((v_r + 208))) +I8[tobit((v_r + 548))] = tobit(0) +I32[arshift((v_r + 544), 2)] = tobit(1768515945) +I32[arshift((v_r + 192), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 196), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 204), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 200), 2)] = tobit((v_r + 640)) +imp_b(18585, tobit((v_r + 544)), tobit((v_r + 192))) +v_e = F.fxA() +I32[arshift((v_r + 176), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 176))) +I8[tobit((v_r + 540))] = tobit(0) +I32[arshift((v_r + 536), 2)] = tobit(1768515945) +I32[arshift((v_r + 160), 2)] = tobit(10601) +I32[arshift((v_r + 168), 2)] = tobit(10570) +I32[arshift((v_r + 172), 2)] = tobit(500) +I32[arshift((v_r + 164), 2)] = tobit((v_r + 640)) +imp_b(19126, tobit((v_r + 536)), tobit((v_r + 160))) +I8[tobit((v_r + 532))] = tobit(0) +I32[arshift((v_r + 528), 2)] = tobit(1768515945) +I32[arshift((v_r + 144), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 148), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 156), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 152), 2)] = tobit((v_r + 640)) +imp_b(19294, tobit((v_r + 528)), tobit((v_r + 144))) +v_e = F.fxA() +I32[arshift((v_r + 128), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 128))) +I8[tobit((v_r + 524))] = tobit(0) +I32[arshift((v_r + 520), 2)] = tobit(1768515945) +I32[arshift((v_r + 112), 2)] = tobit(10601) +I32[arshift((v_r + 120), 2)] = tobit(10570) +I32[arshift((v_r + 124), 2)] = tobit(500) +I32[arshift((v_r + 116), 2)] = tobit((v_r + 640)) +imp_b(19835, tobit((v_r + 520)), tobit((v_r + 112))) +I8[tobit((v_r + 516))] = tobit(0) +I32[arshift((v_r + 512), 2)] = tobit(1768515945) +I32[arshift((v_r + 96), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 100), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 108), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 104), 2)] = tobit((v_r + 640)) +imp_b(20003, tobit((v_r + 512)), tobit((v_r + 96))) +v_e = F.fxA() +I32[arshift((v_r + 80), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 80))) +I8[tobit((v_r + 508))] = tobit(0) +I32[arshift((v_r + 504), 2)] = tobit(1768515945) +I32[arshift((v_r + 64), 2)] = tobit(10601) +I32[arshift((v_r + 72), 2)] = tobit(10570) +I32[arshift((v_r + 76), 2)] = tobit(500) +I32[arshift((v_r + 68), 2)] = tobit((v_r + 640)) +imp_b(20544, tobit((v_r + 504)), tobit((v_r - (-64)))) +I8[tobit((v_r + 500))] = tobit(0) +I32[arshift((v_r + 496), 2)] = tobit(1768515945) +I32[arshift((v_r + 48), 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 52), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 60), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 56), 2)] = tobit((v_r + 640)) +imp_b(20712, tobit((v_r + 496)), tobit((v_r + 48))) +v_e = F.fxA() +I32[arshift((v_r + 32), 2)] = tobit(v_e) +F.fgA(tobit((v_r + 640)), 10530, tobit((v_r + 32))) +I8[tobit((v_r + 492))] = tobit(0) +I32[arshift((v_r + 488), 2)] = tobit(1768515945) +I32[arshift((v_r + 16), 2)] = tobit(10601) +I32[arshift((v_r + 24), 2)] = tobit(10570) +I32[arshift((v_r + 28), 2)] = tobit(500) +I32[arshift((v_r + 20), 2)] = tobit((v_r + 640)) +imp_b(21253, tobit((v_r + 488)), tobit((v_r + 16))) +I8[tobit((v_r + 484))] = tobit(0) +I32[arshift((v_r + 480), 2)] = tobit(1768515945) +I32[arshift(v_r, 2)] = tobit(imul(v_e, 27)) +I32[arshift((v_r + 4), 2)] = tobit(imul(v_e, 517)) +I32[arshift((v_r + 12), 2)] = tobit(imul(v_e, 197)) +I32[arshift((v_r + 8), 2)] = tobit((v_r + 640)) +imp_b(21421, tobit((v_r + 480)), bor(0, v_r)) +B = tobit((v_r + 672)) +I32[7939] = tobit(31799) +I32[7940] = tobit(31788) +B = tobit((v_A + 16)) +do return 0 end +end +exports.m = function() + +do return bor(0, B) end +end +exports.n = function(v_A) + +v_A = tobit(v_A) +B = v_A +end +exports.o = function(v_A) + +do +local t438 = B +v_A = tobit(v_A) +v_A = band((t438 - v_A), (-16)) +B = v_A +do return bor(0, v_A) end +end +end +exports.p = F.fm +exports.q = UA +return exports, DATA, function(v) B = v end, function() return B end +end diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/l10n/en.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/l10n/en.lua new file mode 100644 index 0000000..a0543f5 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/l10n/en.lua @@ -0,0 +1,52 @@ +return { + ["综合热度"] = "Overall popularity", + ["最畅销"] = "Best sellers", + ["收藏最多"] = "Most favorites", + ["分类库"] = "Library categories", + ["3天以内"] = "Within 3 days", + ["7天以内"] = "Within 7 days", + ["15天以内"] = "Within 15 days", + ["一个月以内"] = "Within a month", + ["20万以内"] = "Under 200k words", + ["20-30万"] = "200-300k words", + ["30-50万"] = "300-500k words", + ["50-100万"] = "500k-1m words", + ["100-200万"] = "1-2m words", + ["潇湘分类条件无效"] = "Invalid Xiaoxiang library filters.", + ["潇湘账号标识缺失"] = "Missing Xiaoxiang account ID.", + ["潇湘远端状态未更新,请稍后重试"] = "The remote Xiaoxiang state has not updated. Please retry later.", + ["切换潇湘账号会清除这台设备上潇湘的书架、阅读进度、笔记和缓存,包括尚未同步的记录。不会删除远端书架。确定继续?"] = "Switching Xiaoxiang accounts clears this device's Xiaoxiang shelf, progress, notes and cache, including unsynced records. Your remote shelf will not be deleted. Continue?", + ["完结"] = "Completed", + ["排行榜"] = "Rankings", + ["切换账号"] = "Switch account", + ["无法确认旧账号,请先退出旧账号再登录"] = "Cannot identify the previous account. Sign out before signing in again.", + ["200万以上"] = "Over 2 million words", + ["连载"] = "Ongoing", + ["字数"] = "Word count", + ["价格"] = "Price", + ["免费"] = "Free", + ["付费"] = "Paid", + ["潇湘扫码登录"] = "Xiaoxiang QR sign-in", + ["潇湘登录已失效,请点「重新登录」,用 QQ阅读或起点 App 扫码。也可在账号设置里粘贴 Cookie。"] = "Xiaoxiang sign-in has expired. Tap Sign in again and scan with QQReader or Qidian. You can also paste a Cookie in account settings.", + ["未登录 · 点此扫码"] = "Not signed in · tap to scan", + ["章节目录保存失败"] = "Failed to save chapter list", + ["按键盘 F12,点「网络」,刷新网页,复制请求标头里的整段 Cookie"] = "Press F12, open Network, refresh, and copy the entire Cookie request header", + ["用 QQ阅读或起点 App 扫一扫"] = "Scan with the QQ Reader or Qidian app", + ["畅销榜"] = "Bestsellers", + ["阅读榜"] = "Reading chart", + ["潇湘目录为空"] = "Xiaoxiang table of contents is empty", + ["潇湘章节内容为空"] = "Xiaoxiang chapter is empty", + ["潇湘章节解密失败"] = "Xiaoxiang chapter decryption failed", + ["潇湘账号"] = "Xiaoxiang account", + ["潇湘登录 Cookie"] = "Xiaoxiang login cookie", + ["确定退出潇湘账号?"] = "Sign out of Xiaoxiang?", + ["潇湘票榜"] = "Xiaoxiang Ticket Chart", + ["完结榜"] = "Completed", + ["收藏榜"] = "Favorites", + ["未登录潇湘"] = "Not signed in to Xiaoxiang", + ["缺少潇湘章节位置"] = "Missing Xiaoxiang chapter position", + ["书架同步"] = "Shelf sync", + ["搜索与发现"] = "Search and discover", + ["潇湘书院书架与在线阅读"] = "Xiaoxiang shelf and online reading", + ["进度同步"] = "Progress sync", +} diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/l10n/zh_TW.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/l10n/zh_TW.lua new file mode 100644 index 0000000..ecf4487 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/l10n/zh_TW.lua @@ -0,0 +1,52 @@ +return { + ["综合热度"] = "綜合熱度", + ["最畅销"] = "最暢銷", + ["收藏最多"] = "收藏最多", + ["分类库"] = "分類庫", + ["3天以内"] = "3天以內", + ["7天以内"] = "7天以內", + ["15天以内"] = "15天以內", + ["一个月以内"] = "一個月以內", + ["20万以内"] = "20萬以內", + ["20-30万"] = "20–30萬", + ["30-50万"] = "30–50萬", + ["50-100万"] = "50–100萬", + ["100-200万"] = "100–200萬", + ["潇湘分类条件无效"] = "瀟湘分類條件無效", + ["潇湘账号标识缺失"] = "瀟湘帳號識別碼缺失", + ["潇湘远端状态未更新,请稍后重试"] = "瀟湘遠端狀態尚未更新,請稍後重試", + ["切换潇湘账号会清除这台设备上潇湘的书架、阅读进度、笔记和缓存,包括尚未同步的记录。不会删除远端书架。确定继续?"] = "切換瀟湘帳號會清除這台裝置上瀟湘的書架、閱讀進度、筆記和快取,包括尚未同步的記錄。不會刪除遠端書架。確定繼續?", + ["完结"] = "完結", + ["排行榜"] = "排行榜", + ["切换账号"] = "切換帳號", + ["无法确认旧账号,请先退出旧账号再登录"] = "無法確認舊帳號,請先登出舊帳號再登入", + ["200万以上"] = "200 萬字以上", + ["连载"] = "連載", + ["字数"] = "字數", + ["价格"] = "價格", + ["免费"] = "免費", + ["付费"] = "付費", + ["潇湘扫码登录"] = "瀟湘掃碼登入", + ["潇湘登录已失效,请点「重新登录」,用 QQ阅读或起点 App 扫码。也可在账号设置里粘贴 Cookie。"] = "瀟湘登入已失效,請點「重新登入」,用 QQ閱讀或起點 App 掃碼。也可在帳號設定裡貼上 Cookie。", + ["未登录 · 点此扫码"] = "未登入 · 點此掃碼", + ["章节目录保存失败"] = "章節目錄儲存失敗", + ["按键盘 F12,点「网络」,刷新网页,复制请求标头里的整段 Cookie"] = "按鍵盤 F12,點「網路」,重新整理網頁,複製請求標頭裡的整段 Cookie", + ["用 QQ阅读或起点 App 扫一扫"] = "用 QQ閱讀或起點 App 掃一掃", + ["畅销榜"] = "暢銷榜", + ["阅读榜"] = "閱讀榜", + ["潇湘目录为空"] = "瀟湘目錄為空", + ["潇湘章节内容为空"] = "瀟湘章節內容為空", + ["潇湘章节解密失败"] = "瀟湘章節解密失敗", + ["潇湘账号"] = "潇湘帳號", + ["潇湘登录 Cookie"] = "潇湘登入 Cookie", + ["确定退出潇湘账号?"] = "確定登出潇湘帳號?", + ["潇湘票榜"] = "潇湘票榜", + ["完结榜"] = "完結榜", + ["收藏榜"] = "收藏榜", + ["未登录潇湘"] = "未登入瀟湘", + ["缺少潇湘章节位置"] = "缺少瀟湘章節位置", + ["书架同步"] = "書架同步", + ["搜索与发现"] = "搜尋與發現", + ["潇湘书院书架与在线阅读"] = "瀟湘書院書架與線上閱讀", + ["进度同步"] = "進度同步", +} diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/loadmeta.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/loadmeta.lua new file mode 100644 index 0000000..ae66d0a --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/loadmeta.lua @@ -0,0 +1,5 @@ +return function() + local copy = {} + for k, v in pairs(require("moonsource_xiaoxiang._meta")) do copy[k] = v end + return copy +end diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/mapper.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/mapper.lua new file mode 100644 index 0000000..92f1827 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/mapper.lua @@ -0,0 +1,195 @@ +--[[-- +潇湘书院数据映射(纯函数):新站 JSON、官网 SSR 与旧榜单 HTML → 领域对象。 + +@module koplugin.book.moonsource_xiaoxiang.mapper +--]] + +local JSON = require("json") +local Text = require("utils.text") +local _ = require("l10n").get("moonsource_xiaoxiang") + +local Mapper = {} + +local SOURCE_ID = "ext.xiaoxiang" + +--- 新站 JSON 的整数身份不能经过 Lua number;不匹配小数、指数或字符串里的转义引号。 +function Mapper.decode(raw) + local encoded = raw:gsub('("[%w_]+"%s*:%s*)(%d+)([,}%]%s])', function(key, value, tail) + return key .. (#value >= 16 and ('"' .. value .. '"') or value) .. tail + end) + local ok, data = pcall(JSON.decode, encoded) + if not ok or type(data) ~= "table" then return nil, _("响应无效") end + return data +end + +--- 电脑与移动官网共用的 SSR 容器,只取公开页面数据。 +function Mapper.state(html) + local raw = html:match(']-id="vite%-plugin%-ssr_pageContext"[^>]*>(.-)') + if not raw then return nil, _("响应无效") end + local data = Mapper.decode(raw) + local context = data and data.pageContext + local props = type(context) == "table" and context.pageProps + local page_data = type(props) == "table" and props.pageData + if type(page_data) ~= "table" then return nil, _("响应无效") end + return page_data +end + +--- 分类库、搜索与详情的公开字段有两套命名,身份始终保留字符串。 +function Mapper.books(rows) + if type(rows) ~= "table" then return nil, _("响应无效") end + local books = {} + for _idx, row in ipairs(rows) do + if type(row) ~= "table" then return nil, _("响应无效") end + local id, title = row.cbId or row.cbid, row.bookName or row.title + if type(id) ~= "string" or not id:match("^%d+$") or type(title) ~= "string" then + return nil, _("响应无效") + end + books[#books + 1] = { + source_id = SOURCE_ID, stable_id = id, title = Text.trim(title), + authors = Text.trim(row.authorName or row.author or ""), + category = row.cate2Name or row.catel2name or row.categoryShortName, + intro = Text.trim(row.intro or ""), words = tonumber(row.totalWords), + cover = "https://bookcover.yuewen.com/qdbimg/349573/c_" .. id .. "/180", + } + end + return books +end + +function Mapper.detail(html) + local data, err = Mapper.state(html) + if not data then return nil, err end + local detail = data.detailData or data.bookInfo or data + local books, reason = Mapper.books({ detail }) + return books and books[1], reason +end + +--- 手机站榜单 SSR 中按栏目名选当前榜单;兼容旧 HTML。 +---@param html string +---@param title string|nil +---@return Book[]|nil +---@return string|nil +function Mapper.rank(html, title) + if title and html:find('id="vite-plugin-ssr_pageContext"', 1, true) then + local data, err = Mapper.state(html) + if not data then return nil, err end + for _idx, section in ipairs(data) do + if type(section) ~= "table" then return nil, _("响应无效") end + local info = section.columnInfo + if type(info) == "table" and info.name == title then return Mapper.books(section.bookList) end + end + return nil, _("响应无效") + end + local out = {} + for id, item in html:gmatch(']*data%-bookid=.-(
') do + local title = item:match('class="book%-title"[^>]*>([^<]*)<') + if title then + local module = item:match('class="book%-module"[^>]*>(.-)

') or "" + local cover = item:match(']*>([^<]*)<') or "")), + cover = cover and (cover:gsub("^//", "https://")), + } + end + end + if #out == 0 then return nil, _("响应无效") end + return out +end + +--- 目录缓存格式版本。 +Mapper.TOC_VERSION = 1 + +--- 手机站目录页 → 目录。页面内嵌 SSR JSON,`"chapters":[` 之后是扁平对象:type 0 是卷,type 1 是章(price > 0 为 VIP)。 +---@param html string +---@return BookChapter[]|nil +---@return string|nil +function Mapper.toc(html) + local toc = {} + local rows + if html:find('id="vite-plugin-ssr_pageContext"', 1, true) then + local data, err = Mapper.state(html) + if not data then return nil, err end + rows = data.chapters or data.chapterListData + else + local raw = html:match('"chapters":%s*(%b[])') + rows = raw and Mapper.decode('{"rows":' .. raw .. "}") + rows = rows and rows.rows + end + if type(rows) ~= "table" then return nil, _("响应无效") end + for _idx, row in ipairs(rows) do + if type(row) ~= "table" or (row.type ~= 0 and row.type ~= 1) then return nil, _("响应无效") end + if row.type == 1 then + if type(row.ccid) ~= "string" or not row.ccid:match("^%d+$") or type(row.title) ~= "string" then + return nil, _("响应无效") + end + toc[#toc + 1] = { + idx = #toc + 1, + uid = row.ccid, + title = row.title, + vip = (tonumber(row.price) or 0) > 0 or nil, + } + end + end + if toc[1] then toc[1].toc_version = Mapper.TOC_VERSION end + return toc +end + +--- 章节接口回包 → 正文纯文本。没买的 VIP 章(价格 > 0 且 auth 不为真)只有 130 字预览,返回 nil, "unpaid"。 +--- 正文段落以 \r\n 分隔、每段前有全角缩进。 +---@param wire table +---@return string|nil text +---@return "unpaid"|"encrypted"|nil kind +---@return table|nil encrypted +function Mapper.content(wire) + local chapters = type(wire.data) == "table" and wire.data.chapterContents + local chapter = chapters and chapters[1] + if type(chapter) ~= "table" then return nil end + local price = tonumber(chapter.chapterPrice) + if not price then return nil end + if price > 0 and chapter.auth ~= true then return nil, "unpaid" end + if chapter.encrypt == true then return nil, "encrypted", chapter end + if type(chapter.chapterContent) ~= "string" then return nil end + local lines = {} + for line in chapter.chapterContent:gmatch("[^\r\n]+") do + line = Text.trim(line) + while line:sub(1, 3) == "\227\128\128" do line = Text.trim(line:sub(4)) end + if line ~= "" then lines[#lines + 1] = line end + end + if #lines == 0 then return nil end + return table.concat(lines, "\n") +end + +--- 书架行 → Book[]。封面按书 id 拼(书架接口不给)。 +---@param rows table[] +---@return Book[] +function Mapper.shelfList(rows) + local out = {} + for _idx, row in ipairs(rows) do + local id = tostring(row.bookid) + out[#out + 1] = { + source_id = SOURCE_ID, + stable_id = id, + title = Text.trim(row.title or ""), + authors = Text.trim(row.author or ""), + cover = "https://bookcover.yuewen.com/qdbimg/349573/c_" .. id .. "/180", + } + end + return out +end + +--- 书架行 → 书 id → 最近读到的章 id(ccid 为 "0" 表示没读过)。 +---@param rows table[] +---@return table +function Mapper.progress(rows) + local out = {} + for _idx, row in ipairs(rows) do + local ccid = tostring(row.ccid or "0") + if ccid ~= "0" then out[tostring(row.bookid)] = ccid end + end + return out +end + +return Mapper diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/setting.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/setting.lua new file mode 100644 index 0000000..0e28509 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/setting.lua @@ -0,0 +1,92 @@ +--[[-- +潇湘源设置:登录。 + +潇湘新站 www.xxsypro.com 使用阅文通行证:设备上展示 App 扫码,保留浏览器扩展与手动 Cookie 导入。 +拿到 Cookie 先用 personal 接口的 data.isLogin 校验,通过才保存。 + +@module koplugin.book.moonsource_xiaoxiang.setting +--]] + +local _ = require("l10n").get("moonsource_xiaoxiang") +local CookieLogin = require("source.cookie_login") + +local SOURCE_ID = "ext.xiaoxiang" +local Setting = {} + +---@return boolean +local function loggedIn() + return require("moonsource_xiaoxiang.client").cookie() ~= nil +end + +local function commit(cookie, account, cb, current) + if not account or type(account.id) ~= "string" or not account.id:match("^%d+$") then + cb(false, _("潇湘账号标识缺失")); return + end + return CookieLogin.commitAccount(SOURCE_ID, cookie, account.id, cb, current) +end + +---@type CookieLoginSpec +local SPEC = { + id = SOURCE_ID, + title = _("潇湘账号"), + cookie_title = _("潇湘登录 Cookie"), + cookie_hint = _("按键盘 F12,点「网络」,刷新网页,复制请求标头里的整段 Cookie"), + logout_text = _("确定退出潇湘账号?"), + loggedIn = loggedIn, + checkAsync = function(cookie, cb) + local Client = require("moonsource_xiaoxiang.client") + local previous = Client.cookie() + return Client.userAsync(cookie, function(info, err) + if Client.cookie() ~= previous then cb(false, _("账号已变化,请重新登录")); return end + cb(info ~= nil, err, info) + end) + end, + commit = commit, + clear = function(cfg) cfg.cookie, cfg.account_id = nil, nil end, +} + +---@return string, boolean +function Setting.rowStatus() + local on = loggedIn() + return on and _("已登录") or _("未登录 · 点此登录"), on +end + +Setting.parseCookie = CookieLogin.parse + +--- 浏览器扩展登录(features/cookie)。personal 接口一律 code 0,靠 data.isLogin 判登录。 +Setting.browser = { + domain = "www.xxsypro.com", + scope = "cookie", + login = "https://www.xxsypro.com/", + check = "https://www.xxsypro.com/api/user/auth/personal", + check_json = { path = "data.isLogin", ok = { 1 } }, + icon = "https://www.xxsypro.com/favicon.ico", + isAuthorized = function() return CookieLogin.authorized(SPEC) end, + apply = function(payload, cb) return CookieLogin.save(SPEC, CookieLogin.fromPayload(payload, "xxsypro.com"), cb) end, +} + +local function startQR() + require("ui/network/manager"):runWhenConnected(function() + require("moonsource_xiaoxiang.yuewen_qr"):new({ + app_id = "57", area_id = "5", return_url = "https://www.xxsypro.com/", + referer = "https://passport.yuewen.com/yuewen.html", + title = _("潇湘扫码登录"), caption = _("用 QQ阅读或起点 App 扫一扫"), + }, function(cookie) CookieLogin.verify(SPEC, cookie) end):start() + end) +end + +---@return table[] +function Setting.rows() + local rows = { + CookieLogin.accountRow(SPEC, { callback = startQR, off_text = _("未登录 · 点此扫码") }), + CookieLogin.browserRow(), + CookieLogin.pasteRow(SPEC), + } + if loggedIn() then rows[#rows + 1] = CookieLogin.logoutRow(SPEC) end + return rows +end + +--- 登录失效提示的「重新登录」直达入口(desktop.sync.promptLogin)。 +Setting.login = startQR + +return Setting diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/source.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/source.lua new file mode 100644 index 0000000..2b99d5c --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/source.lua @@ -0,0 +1,219 @@ +--[[-- +潇湘书院数据源。 + +分类、搜索、账号、正文、书架、进度走新站 JSON;详情、目录、旧榜单走电脑/移动官网 SSR(client.lua)。 +登录态是新站 Cookie(阅文通行证):App 扫码、浏览器扩展授权,或粘贴 Cookie(setting.lua)。 +书架双向同步(Shelf.syncAsync),进度按章:读书架行的 ccid,写 readingProcess/add。没买的 VIP 章开章给临时提示页,目录标「未购」。 + +@module moonsource_xiaoxiang +--]] + +local Client = require("moonsource_xiaoxiang.client") +local Mapper = require("moonsource_xiaoxiang.mapper") +local SourceBase = require("source.base") +local Browse = require("source.browse") +local Shelf = require("source.shelf") +local Toc = require("source.toc") +local _ = require("l10n").get("moonsource_xiaoxiang") + +local Xiaoxiang = {} + +-- 接口按 IP 限流,预取与整本缓存逐章间隔请求。 +local FETCH_INTERVAL = 1 + +---@return BookSourceMeta +function Xiaoxiang.meta() + return require("moonsource_xiaoxiang.loadmeta")() +end + +---@class XiaoxiangSource : SourceBase +local Source = setmetatable({ shelf_add = true }, { __index = SourceBase }) +Source.__index = Source + +---@return XiaoxiangSource +function Xiaoxiang.new() + local meta = Xiaoxiang.meta() + return setmetatable({ id = meta.id, name = meta.name, type = meta.type }, Source) +end + +--- 搜索 / 目录 / 榜单匿名可用,书架、进度和已购 VIP 章要登录 Cookie。 +---@return boolean +function Source:configured() + return Client.cookie() ~= nil +end + +--- 书架远端:Shelf.syncAsync 要的三个冒号方法。 +local Remote = {} + +function Remote:shelfSyncAsync(cb) return Client.shelfAsync(cb) end + +function Remote:addToShelfAsync(stable_id, cb) return Client.shelfAddAsync(stable_id, cb) end + +function Remote:removeFromShelfAsync(stable_id, cb) return Client.shelfRemoveAsync(stable_id, cb) end + +function Source:syncBooksAsync(opts, cb) + if not self:configured() then return SourceBase.skipped(cb, "xiaoxiang not logged in") end + return Shelf.syncAsync(self.id, Remote, Mapper.shelfList, opts, cb) +end + +--- 进度只到章:读书架行里这本书最近读到的章(ccid)。 +function Source:getProgressAsync(identity, cb) + if not self:configured() then return SourceBase.defer(cb, nil, _("未登录潇湘")) end + local cookie = Client.cookie() + local cancelled, job = false, nil + local pending = true + local initial = Client.shelfAsync(function(rows, err) + pending = false + if cancelled then return end + if Client.cookie() ~= cookie then cb(nil, _("账号已变化,请重新登录")); return end + if not rows then cb(nil, err); return end + local uid = Mapper.progress(rows)[tostring(identity.stable_id)] + if not uid then cb(nil, nil, { empty = true }); return end + job = self:loadTocAsync(identity, function(toc, reason) + if cancelled then return end + if Client.cookie() ~= cookie then cb(nil, _("账号已变化,请重新登录")); return end + if not toc or #toc == 0 then cb(nil, reason or _("潇湘目录为空")); return end + local idx = Toc.index(self.id, identity.stable_id, uid) + if not idx then cb(nil, nil, { empty = true }); return end + cb({ + chapter_idx = idx, + chapter_title = toc[idx].title, + fraction = (idx - 1) / #toc, + extra = { chapter_uid = uid, chapter_idx = idx }, + }) + end) + end) + if pending then job = initial end + return { cancel = function() + cancelled = true + if job and job.cancel then job.cancel() end + end } +end + +function Source:putProgressAsync(identity, pos, cb) + if not self:configured() then return SourceBase.defer(cb, nil, _("未登录潇湘")) end + local cookie = Client.cookie() + local cancelled, job = false, nil + local pending = true + local initial = self:loadTocAsync(identity, function(toc, err) + pending = false + if cancelled then return end + if Client.cookie() ~= cookie then cb(nil, _("账号已变化,请重新登录")); return end + if not toc then cb(nil, err); return end + local idx = tonumber(pos.chapter_idx) or tonumber(identity.chapter_idx) + local chapter = idx and toc[idx] + if not chapter then cb(nil, _("缺少潇湘章节位置")); return end + job = Client.progressAsync(identity.stable_id, chapter.uid, function(wire, perr) + if not cancelled then cb(wire and true, perr) end + end) + end) + if pending then job = initial end + return { cancel = function() + cancelled = true + if job and job.cancel then job.cancel() end + end } +end + +---@param keyword string +---@param cb fun(res: { data: Book[] }|nil, err: string|nil) +---@return { cancel: fun() }|nil +function Source:searchAsync(keyword, cb) + return Client.searchAsync(keyword, function(books, err) + if not books then + cb(nil, err) + return + end + cb({ data = books }) + end) +end + +-- 手机站 /rank/ 的榜单,顺序同网页。 +local RANKS = { + { id = "xxyuepiao", title = "潇湘票榜" }, + { id = "bestsales", title = "畅销榜" }, + { id = "finish", title = "完结榜" }, + { id = "reading", title = "阅读榜" }, + { id = "collections", title = "收藏榜" }, +} + +---@param opts { node?: string, limit?: integer } +---@param cb fun(res: { data: Book[], groups: StoreChipGroup[] }|nil, err: string|nil) +---@return { cancel: fun() } +function Source:browseAsync(opts, cb) + opts = opts or {} + local legacy = opts.node == "rank" + for _idx, row in ipairs(RANKS) do if row.id == opts.node then legacy = true end end + if not legacy then return require("moonsource_xiaoxiang.browse").run(opts, cb) end + local rank = RANKS[1] + for _idx, row in ipairs(RANKS) do + if row.id == opts.node then rank = row end + end + local chips = {} + for _idx, row in ipairs(RANKS) do chips[#chips + 1] = { id = row.id, title = _(row.title) } end + local groups = { Browse.group(chips, rank.id) } + groups[1].title = _("排行榜") + groups[1].chips[#groups[1].chips + 1] = { id = "cate:-1:-1:-1:-1:10:0:-1", title = _("分类库") } + return Client.rankAsync(rank.id, function(books, err) + if not books then cb(nil, err); return end + if opts.limit then for index = #books, opts.limit + 1, -1 do books[index] = nil end end + cb({ data = books, groups = groups }) + end, rank.title) +end + +function Source:getDetailAsync(identity, cb) + return Client.detailAsync(identity.stable_id, cb) +end + +--- 强制拉目录并写回;失败由调用方继续用旧缓存。 +---@param identity BookIdentity +---@param cb fun(toc: BookChapter[]|nil, err: string|nil) +---@return { cancel: fun() }|nil +local function fetchTocAsync(self, identity, cb) + return Client.chaptersAsync(identity.stable_id, function(toc, err) + if not toc then cb(nil, err); return end + if #toc == 0 then cb(nil, _("潇湘目录为空")); return end + if not Toc.put(self.id, identity.stable_id, toc) then cb(nil, _("章节目录保存失败")); return end + cb(toc) + end) +end + +---@param identity BookIdentity +---@param cb fun(toc: BookChapter[]|nil, err: string|nil) +---@param force boolean|nil 真=跳过缓存强制拉 +---@return { cancel: fun() }|nil +function Source:loadTocAsync(identity, cb, force) + if not force then + local cached = Toc.read(self.id, identity.stable_id) + if cached and #cached > 0 and cached[1].toc_version == Mapper.TOC_VERSION then + return SourceBase.defer(cb, cached) + end + end + return fetchTocAsync(self, identity, cb) +end + +Source.refreshTocAsync = fetchTocAsync + +function Source:openBookAsync(identity, opts, cb) + local Chapter = require("source.chapter") + local open = opts and opts.chapter_idx and Chapter.openAsync or Chapter.openWithUi + return open(self, identity, identity.book, opts, { + loadToc = function(ref, done) return self:loadTocAsync(ref, done) end, + fetchContent = Chapter.vipFetcher(self, Client.contentAsync, true), + }, cb) +end + +function Source:prefetchChaptersAsync(identity, toc, from_idx, count, cb) + local Chapter = require("source.chapter") + return Chapter.prefetchAsync(identity, identity.book, toc, from_idx, count, { + fetchContent = Chapter.vipFetcher(self, Client.contentAsync, false), + interval_seconds = FETCH_INTERVAL, + }, cb) +end + +function Source:cacheAllChaptersAsync(identity, on_progress, cb, range) + local Chapter = require("source.chapter") + return Chapter.cacheAllAsync(self, identity, Chapter.vipFetcher(self, Client.contentAsync, false), on_progress, cb, + FETCH_INTERVAL, range) +end + +return Xiaoxiang diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fock.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fock.lua new file mode 100644 index 0000000..0a78a88 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fock.lua @@ -0,0 +1,174 @@ +--[[-- +阅文系(起点 / QQ阅读 / 潇湘)Fock 章节解密的公共宿主。 + +三家网页端用同一段反盗版 wasm(经 wasm2js 成 asm.js)解密正文,只是各自一个构建:导出名、回调码、栈基址、 +宿主探测字符串不同。`tools/gen_fock.js` 把每个构建转译成 `source//fock_wasm.lua`,本模块提供它们共用的 +内存、导入函数与调用顺序(ctors + main,再 set_uid → set_key → decrypt,结果经导入 b 的回调码交回: +三个 int:状态、明文指针、明文长度),源只在 `YuewenFockBuild` 表里填自己那份差异。 + +解密要 16MB 内存且纯 Lua 解释执行,在主进程做会拖慢 UI、抬高 KOReader 内存峰值(设备上可被系统杀掉重启), +`Fock.jobAsync` 把它放进 fork 子进程,主进程只收结果;转译出的巨型函数会让 ARM 上的 LuaJIT 编译器段错误, +`decrypt` 期间关掉 JIT,完事开回来(之后的字形比对要靠它)。 + +@module moonsource_xiaoxiang.yuewen_fock +--]]-- + +local ffi = require("ffi") +local Job = require("workers.job") +local Text = require("utils.text") + +---@class YuewenFockBuild +---@field wasm string 转译产物模块名(`source..fock_wasm`) +---@field callback integer 导入 b 交回解密结果的回调码 +---@field stack integer set_stack 的栈基址 +---@field exports { ctors: string, main: string, set_uid: string, set_key: string, decrypt: string, stack_save: string, stack_restore: string, alloc: string, malloc: string } 导出名 +---@field probe fun(code: integer): integer 导入 b 收到非回调码(反调试 / 定时器探测)时的返回值 +---@field imports fun(env: YuewenFockEnv): table 构建特有的导入(宿主字符串探测 c / e / f) + +---@class YuewenFockEnv +---@field mem ffi.cdata* 线性内存 +---@field cstr fun(ptr: integer): string 读内存里的 C 字符串 +---@field malloc_str fun(s: string): integer 用导出 malloc 放一个 C 字符串,返回指针 + +local Fock = {} + +local MEM_SIZE = 16 * 1024 * 1024 + +local factories = {} + +--- `Fock.decrypt` 的本体,不碰 JIT 开关。 +---@param build YuewenFockBuild +---@return string|nil text +---@return string|nil err +local function run(build, content, chapter_id, keypool, version, uid) + local factory = factories[build.wasm] + if not factory then + factory = require(build.wasm) + factories[build.wasm] = factory + end + local names = build.exports + local mem = ffi.new("uint8_t[?]", MEM_SIZE) + local i32 = ffi.cast("int32_t*", mem) + local result, exp + + local function cstr(ptr) + local stop = ptr + while mem[stop] ~= 0 do stop = stop + 1 end + return ffi.string(mem + ptr, stop - ptr) + end + local function malloc_str(s) + local ptr = exp[names.malloc](#s + 1) + ffi.copy(mem + ptr, s, #s) + mem[ptr + #s] = 0 + return ptr + end + + local imp = build.imports({ mem = mem, cstr = cstr, malloc_str = malloc_str }) + imp.abort = function() error("fock abort") end + imp.d = function(ptr) + local now = os.time() + if ptr ~= 0 then i32[ptr / 4] = now end + return now + end + imp.b = function(code, _sig, argptr) + if code == build.callback then + local args = argptr / 4 + result = { i32[args], i32[args + 1], i32[args + 2] } + return 0 + end + return build.probe(code) + end + + local data, set_stack + exp, data, set_stack = factory({ mem = mem, imp = imp }) + for _idx, seg in ipairs(data) do + local bytes = Text.base64Decode(seg[2]) + ffi.copy(mem + seg[1], bytes, #bytes) + end + set_stack(build.stack) + + local function with_stack(fn) + local sp = exp[names.stack_save]() + local ok, err = pcall(fn) + exp[names.stack_restore](sp) + if not ok then error(err, 0) end + end + local function put_bytes(s) + local ptr = exp[names.alloc](#s) + ffi.copy(mem + ptr, s, #s) + return ptr + end + local function put_string(s) + local ptr = exp[names.alloc](#s + 1) + ffi.copy(mem + ptr, s, #s) + mem[ptr + #s] = 0 + return ptr + end + + local ok, err = pcall(function() + exp[names.ctors]() + exp[names.main](0, 0) + with_stack(function() + exp[names.set_uid](put_bytes(uid), #uid) + end) + local pool = Text.base64Decode(keypool) + with_stack(function() + exp[names.set_key](put_bytes(pool), #pool, put_string(version)) + end) + local cipher = Text.base64Decode(content) + local cid = tostring(chapter_id) + with_stack(function() + exp[names.decrypt](put_bytes(cipher), #cipher, put_bytes(cid), #cid) + end) + end) + if not ok then return nil, tostring(err) end + if not result then return nil, "no result" end + if result[1] ~= 0 then return nil, "code " .. result[1] end + return ffi.string(mem + result[2], result[3]) +end + +---@param build YuewenFockBuild +---@param content string base64 密文 +---@param chapter_id string|number +---@param keypool string base64 密钥池(fkp 里 onkeyfocus 的第一个参数) +---@param version string +---@param uid string 用户标识(ywguid / fuid) +---@return string|nil text +---@return string|nil err +function Fock.decrypt(build, content, chapter_id, keypool, version, uid) + local jit_was_on = jit.status() + jit.off() + local text, err = run(build, content, chapter_id, keypool, version, uid) + if jit_was_on then jit.on() end + return text, err +end + +--- 在子进程里跑 worker(解密 / 字体还原),结果 `{ text, err }` 经 cb(text, err) 交回主进程。 +---@param name string 任务名(日志) +---@param worker fun(temp_paths: string[]): { text: string|nil, err: string|nil } +---@param cb fun(text: string|nil, err: string|nil) +---@return BookJob +function Fock.jobAsync(name, worker, cb) + local Paths = require("utils.paths") + local temp_paths = { Paths.tmpname(".font"), Paths.tmpname(".font") } + local job + local function cleanup() + -- SIGKILL 后仍可能在内核里完成创建文件,等子进程退出再收尾。 + if job and job.pid and not require("ffi/util").isSubProcessDone(job.pid) then + require("ui/uimanager"):scheduleIn(job.poll, cleanup) + return + end + for _idx, path in ipairs(temp_paths) do os.remove(path) end + end + job = Job.run(function() return worker(temp_paths) end, { + name = name, + kind = "light", + timeout = 600, + on_done = function(res) cleanup(); cb(res.text, res.err) end, + on_failed = function(err) cleanup(); cb(nil, tostring(err)) end, + on_cancelled = cleanup, + }) + return job +end + +return Fock diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fonts.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fonts.lua new file mode 100644 index 0000000..428cf13 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fonts.lua @@ -0,0 +1,201 @@ +--[[-- +阅文系 VIP 章节的乱序字体还原(QQ阅读 / 起点共用)。 + +Fock 解出的 HTML 里,常用字码位被换成别的字,靠随章下发的 fixedFont 画回真字; +扩展 A 区的生僻码位再靠 randomFont + CSS 排序/伪元素还原。这里把 +`utils.glyph` 的字形识别和 `moonsource_xiaoxiang.yuewen_fonts.scramble` 的 HTML 解析拼起来。 + +字体是随章下发的,写临时文件给 FreeType 读;参考字签名会落盘缓存。 + +@module moonsource_xiaoxiang.yuewen_fonts +--]]-- + +local Text = require("utils.text") + +local FontRestore = {} + +local RARE_LIMIT, FIXED_LIMIT = 6763, 3755 + +--- 下载回来的字节是不是字体文件(TTF / OTF / TTC / WOFF 魔数)。CDN 的 HTML 错误页也会 200 回来, +--- 写进缓存会被当字体复用,一章章都解不出来。 +---@param bytes string|nil +---@return boolean +function FontRestore.looksLikeFont(bytes) + if type(bytes) ~= "string" or #bytes < 4 then return false end + local head = bytes:sub(1, 4) + return head == "\0\1\0\0" or head == "OTTO" or head == "true" or head == "ttcf" or head == "wOFF" +end + +local function writeTemp(bytes, path) + local file = assert(io.open(path, "wb")) + local ok, err = file:write(bytes) + local closed, close_err = file:close() + assert(ok, err) + assert(closed, close_err) +end + +local function randomFontBytes(font) + local parts = {} + for idx, byte in ipairs(font and font.data or {}) do parts[idx] = string.char(byte) end + return table.concat(parts) +end + +--- 乱序码位 / 互换字形 → 真字。 +---@param random_font table|nil fontResponse.randomFont({data={...}}) +---@param fixed_font string fixedFontTtf/woff2 下载下来的字节 +---@param rare integer[] 扩展 A 区码位 +---@param han integer[] 常用汉字码位 +---@param opts table { threshold=number, temp_paths=string[]|nil } +---@return table rare_map +---@return table han_map +local function recognize(random_font, fixed_font, rare, han, opts) + local rare_bytes = randomFontBytes(random_font) + local paths, labels, tasks = {}, {}, {} + local function cleanup() + for _idx, path in ipairs(paths) do os.remove(path) end + end + if #rare > 0 and #rare_bytes > 0 then + paths[#paths + 1] = opts.temp_paths and opts.temp_paths[1] or require("utils.paths").tmpname(".font") + writeTemp(rare_bytes, paths[#paths]) + labels[#labels + 1] = "rare" + tasks[#tasks + 1] = { + font_path = paths[#paths], codes = rare, limit = RARE_LIMIT, threshold = opts and opts.threshold, + } + end + if #han > 0 and fixed_font and #fixed_font > 0 then + paths[#paths + 1] = opts.temp_paths and opts.temp_paths[2] or require("utils.paths").tmpname(".font") + writeTemp(fixed_font, paths[#paths]) + labels[#labels + 1] = "han" + tasks[#tasks + 1] = { + font_path = paths[#paths], codes = han, limit = FIXED_LIMIT, threshold = opts and opts.threshold, + } + end + if #tasks == 0 then return {}, {} end + + local ref = require("fontlist").fontdir .. "/noto/NotoSansCJKsc-Regular.otf" + local ref_file, ref_err = io.open(ref, "rb") + if not ref_file then cleanup(); error(ref_err, 0) end + local ref_size = ref_file:seek("end") + ref_file:close() + -- 签名只取决于参考字体和算法参数;参考字体换了(大小变)自动重算。 + -- 兼容旧版缓存名(qqreader_glyph_v1_ / glyph_v1_),避免重新渲染 6763 个参考字。 + local cache_dir = require("utils.paths").cacheDir() + local cache = cache_dir .. "/yuewen_glyph_v1_" .. ref_size .. ".bin" + for _idx, legacy in ipairs({ "yuewen_glyph_v1_", "qqreader_glyph_v1_", "glyph_v1_" }) do + local path = cache_dir .. "/" .. legacy .. ref_size .. ".bin" + local f = io.open(path, "rb") + if f then + f:close() + cache = path + break + end + end + local ok, maps = pcall(require("utils.glyph").recognize, ref, cache, tasks) + cleanup() + if not ok then error(maps, 0) end + local rare_map, han_map = {}, {} + for idx, label in ipairs(labels) do + if label == "rare" then rare_map = maps[idx] else han_map = maps[idx] end + end + return rare_map, han_map +end + +local function utf8len(text) + return #Text.chars(text) +end + +local DECOY_SIMILARITY = 0.8 + +local chars = Text.chars + +--- 起点 cES=2 的正文会把同一章再追加一份改了几个字的诱饵副本。 +--- 前后两半段落字数一一对应、且逐字位置上 ≥80% 相同才丢后一半,避免把真实的对称段落误删。 +---@param paragraphs string[] +---@return string[] +local function dropDecoyHalf(paragraphs) + local n = #paragraphs + if n < 4 or n % 2 ~= 0 then return paragraphs end + local half = n / 2 + local same, total = 0, 0 + for i = 1, half do + local a, b = chars(paragraphs[i]), chars(paragraphs[i + half]) + if #a ~= #b then return paragraphs end + for k = 1, #a do + if a[k] == b[k] then same = same + 1 end + end + total = total + #a + end + if total == 0 or same / total < DECOY_SIMILARITY then return paragraphs end + for i = n, half + 1, -1 do paragraphs[i] = nil end + return paragraphs +end + +local fixConfusions + +--- 解出的 HTML 段落还原成纯文本。 +---@param plain string Fock 解出的正文 +---@param font table { css=string, randomFont=table|nil } +---@param fixed_font string|nil fixedFont 下载下来的字节;没有字体加密的章为 nil +---@param opts table|nil { dedupe=boolean, confusions=boolean, threshold=number, temp_paths=string[]|nil } +---@return string +function FontRestore.restore(plain, font, fixed_font, opts) + opts = opts or {} + local Scramble = require("moonsource_xiaoxiang.yuewen_fonts.scramble") + local paragraphs = Scramble.paragraphs(plain, font.css or "") + if #paragraphs == 0 then return plain end + if opts.dedupe then paragraphs = dropDecoyHalf(paragraphs) end + local rare, han = Scramble.codes(paragraphs) + local rare_map, han_map = {}, {} + if #rare + #han > 0 then + rare_map, han_map = recognize(font.randomFont, fixed_font, rare, han, opts) + end + local text = Scramble.text(paragraphs, rare_map, han_map) + if opts.confusions then text = fixConfusions(text) end + return text +end + +FontRestore.dropDecoyHalf = dropDecoyHalf + +-- 起点 fixedFont 里 于/干、责/贵 两组字形太近,16x16 相关度会把“关于/终于/负责” +-- 认成“关干/终干/负贵”。只修这些固定搭配;“对干部/在干活”这类保留干。 +local YU_PREFIX = { + ["关"] = true, ["终"] = true, ["对"] = true, ["等"] = true, ["至"] = true, + ["由"] = true, ["属"] = true, ["便"] = true, ["利"] = true, ["善"] = true, + ["敢"] = true, ["勇"] = true, ["难"] = true, ["易"] = true, ["在"] = true, + ["位"] = true, ["鉴"] = true, +} +local YU_KEEP_NEXT = { + ["部"] = true, ["活"] = true, ["事"] = true, ["劲"] = true, ["什"] = true, ["嘛"] = true, ["啥"] = true, + ["吗"] = true, ["吧"] = true, ["净"] = true, ["脆"] = true, ["燥"] = true, ["旱"] = true, ["扰"] = true, + ["预"] = true, ["练"] = true, ["掉"] = true, ["架"] = true, ["涸"] = true, +} +local ZE_PREFIX = { ["职"] = true, ["担"] = true, ["负"] = true, ["责"] = true, ["贵"] = true } +-- 少数整词在 fixedFont 里稳定认错(“泮”几乎只出现在“泮池”,不会误伤正文)。 +local TEXT_FIXES = { + ["同泮"] = "同伴", + ["泮随"] = "伴随", + ["聚干"] = "聚于", +} + +--- 修正两类固定形近字;只在起点字体层启用。 +--- Lua 的字符类是字节级,不能直接拿“部/活”做 [^...],这里按 UTF-8 单字扫描。 +---@param text string +---@return string +fixConfusions = function(text) + local list = Text.chars(text) + for i = 2, #list do + local ch, prev, nxt = list[i], list[i - 1], list[i + 1] + if ch == "干" and YU_PREFIX[prev] and not (nxt and YU_KEEP_NEXT[nxt]) then + list[i] = "于" + elseif ch == "贵" and (ZE_PREFIX[prev] or nxt == "任") then + list[i] = "责" + end + end + local fixed = table.concat(list) + for from, to in pairs(TEXT_FIXES) do fixed = fixed:gsub(from, to) end + return fixed +end + +FontRestore.fixConfusions = fixConfusions + +return FontRestore diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fonts/scramble.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fonts/scramble.lua new file mode 100644 index 0000000..0b69f04 --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_fonts/scramble.lua @@ -0,0 +1,162 @@ +--[[-- +QQ阅读正文乱序还原:Fock 解出的是带反爬样式的 HTML,真正的字序和字形要靠随章下发的 CSS 才能还原。 + +- 有 `pN` 类的段落,子元素 `` 按 `yXX{order:n}` 重排(网页是 flex 容器),每个元素再按 + `.pN yXX::first-letter{font-size:0}`(藏掉原字)与 `::before` / `::after` 的 `content`(字面量或 `attr(x)`)还原; +- `` 是 `font-size:0` 的占位,丢弃;`sy-1` 只是镜像显示,文字照留; +- 其余码位落在 CJK 扩展 A 的字,是 randomFont 画出来的真字,由 `glyph.lua` 认出,这里只负责替换。 + +@module moonsource_xiaoxiang.yuewen_fonts.scramble +--]]-- + +local Glyph = require("utils.glyph") + +local Scramble = {} + +local CHAR = require("utils.text").UTF8_CHAR + +local UNKNOWN = "□" +local LOW, HIGH = 0x3400, 0x4DBF + +local function expand(css) + return (css:gsub("TS%-1", "transform:scaleX(-1)"):gsub("::B", "::before"):gsub("::A", "::after") + :gsub("{O:", "{order:"):gsub("{C:", "{content:"):gsub("'''", "'\\''")) +end + +--- content 值:'x' / "x" 字面量或 attr(name)。 +local function contentOf(body, attrs) + local value = body:match("content:%s*(.-)%s*;?%s*$") + if not value then return nil end + local name = value:match("^attr%(([%w_-]+)%)$") + if name then return attrs[name] or "" end + return value:match("^'(.*)'$") or value:match('^"(.*)"$') or "" +end + +--- 解析 CSS:order[tag] 与 rules[class .. " " .. tag][self|first-letter|before|after] = body。 +local function parse(css) + local order, rules = {}, {} + for sel, body in expand(css):gmatch("([^{}]+){([^}]*)}") do + sel = sel:match("^%s*(.-)%s*$") + local tag, n = sel:match("^(y[%w_-]*)$"), body:match("^order:(%d+)") + if tag and n then + order[tag] = tonumber(n) + else + local key, pseudo = sel:match("^%.(p%d+ y[%w_-]*)::([%a-]+)$") + if not key then key, pseudo = sel:match("^%.(p%d+ y[%w_-]*)$"), "self" end + if key then + rules[key] = rules[key] or {} + rules[key][pseudo] = body + end + end + end + return order, rules +end + +local function attributes(raw) + local attrs = {} + for name, value in raw:gmatch('([%w_-]+)="([^"]*)"') do attrs[name] = value end + return attrs +end + +local function dropFirst(text) + return (text:gsub("^" .. CHAR, "", 1)) +end + +local function unescape(text) + return (text:gsub("<", "<"):gsub(">", ">"):gsub(""", '"'):gsub("'", "'"):gsub("&", "&")) +end + +local function scrambled(cls, children, order, rules) + for idx, child in ipairs(children) do child.idx = idx end + table.sort(children, function(a, b) + local oa, ob = order[a.tag] or math.huge, order[b.tag] or math.huge + if oa ~= ob then return oa < ob end + return a.idx < b.idx + end) + local out = {} + for _idx, child in ipairs(children) do + local rule = rules[cls .. " " .. child.tag] or {} + local attrs = attributes(child.attrs) + local text = child.text + if rule["first-letter"] and rule["first-letter"]:find("font%-size:%s*0") then text = dropFirst(text) end + out[#out + 1] = (rule.before and contentOf(rule.before, attrs) or "") .. text + .. (rule.after and contentOf(rule.after, attrs) or "") + end + return table.concat(out) +end + +--- 还原一章的段落文本(字形码位还没替换)。 +---@param html string Fock 明文 +---@param css string 章节下发的 CSS +---@return string[] paragraphs +function Scramble.paragraphs(html, css) + local order, rules = parse(css) + local paragraphs = {} + for open, body in html:gmatch("]*)>(.-)

") do + local cls = open:match('class="(p%d+)"') + local text + if cls then + local children = {} + for tag, attrs, inner in body:gmatch("<(y[%w_-]*)([^>]*)>(.-)") do + children[#children + 1] = { tag = tag, attrs = attrs, text = unescape(inner) } + end + text = scrambled(cls, children, order, rules) + else + text = body:gsub('.-', ""):gsub("<[^>]+>", "") + text = unescape(text) + end + if text ~= "" then paragraphs[#paragraphs + 1] = text end + end + return paragraphs +end + +local function isRare(code) + return (code >= LOW and code <= HIGH) or code == 0xF900 +end + +local function isHan(code) + return code >= 0x4E00 and code <= 0x9FA5 +end + +--- 文本里要查字体的码位(去重):rare 走 randomFont,han 走 fixedFont(该字体没有的码位原样保留)。 +---@param paragraphs string[] +---@return integer[] rare +---@return integer[] han +function Scramble.codes(paragraphs) + local seen, rare, han = {}, {}, {} + for _idx, text in ipairs(paragraphs) do + for ch in text:gmatch(CHAR) do + local code = Glyph.codepoint(ch) + if not seen[code] then + seen[code] = true + if isRare(code) then rare[#rare + 1] = code elseif isHan(code) then han[#han + 1] = code end + end + end + end + table.sort(rare) + table.sort(han) + return rare, han +end + +--- 把码位换成真字,认不出的写 □;返回全文(段落以换行连接)。 +---@param paragraphs string[] +---@param rare_map table randomFont 的识别结果 +---@param han_map table fixedFont 的识别结果 +---@return string +function Scramble.text(paragraphs, rare_map, han_map) + local out = {} + for idx, text in ipairs(paragraphs) do + out[idx] = (text:gsub(CHAR, function(ch) + local code = Glyph.codepoint(ch) + local real + if isRare(code) then real = rare_map[code] or false + elseif isHan(code) then real = han_map[code] + else return nil end + if real == nil then return nil end + return real or UNKNOWN + end)) + end + return table.concat(out, "\n") +end + +return Scramble diff --git a/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_qr.lua b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_qr.lua new file mode 100644 index 0000000..849b83f --- /dev/null +++ b/moonsource-xiaoxiang.koplugin/moonsource_xiaoxiang/yuewen_qr.lua @@ -0,0 +1,486 @@ +--[[-- +阅文 App 扫码登录(QQ阅读、起点、潇湘共用)。 + +阅文自己的码,用 QQ阅读或起点 App 扫,不是手机 QQ。 +GET /login/qrcode 拿 sessionKey,二维码内容是固定的 scanlogin URL。 +轮询 /login/qrcodelogin。scanStatus 5 时取 ywguid / ywkey;只有 302url 时跟跳收 Set-Cookie。 +拿到 Cookie 交给 on_cookie,由设置页走现有账号校验再保存。 + +@module koplugin.book.moonsource_xiaoxiang.yuewen_qr +--]] + +require("l10n").apply() +local JSON = require("json") +local Request = require("http.request") +local Text = require("utils.text") +local logger = require("utils.log") +local _ = require("gettext") + +local QRLogin = {} +QRLogin.__index = QRLogin + +local BASE = "https://ptlogin.yuewen.com" +local POLL_INTERVAL = 3 +local POLL_MAX = 40 +local DEADLINE = 180 +local MAX_HOPS = 5 +local UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 " + .. "(KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" + +local KEEP = { ywguid = true, ywkey = true, ywopenid = true } + +---@param value any +---@return string|nil +local function text(value) + if type(value) == "string" and value ~= "" then return value end + if type(value) == "number" then return tostring(value) end +end + +---@return table +function QRLogin:baseParams() + return { + appId = self.spec.app_id, + areaId = self.spec.area_id, + format = "json", + returnurl = self.spec.return_url, + target = "top", + ticket = self.spec.ticket or "0", + autotime = "14", + auto = "0", + } +end + +--- 二维码内容。和官方图里的 URL 同一组参数,顺序无所谓。 +---@param session_key string +---@return string +function QRLogin:scanUrl(session_key) + return BASE .. "/mobile/scanlogin?" .. Text.formEncode({ + sessionkey = session_key, + appid = self.spec.app_id, + areaid = self.spec.area_id, + bookId = "0", + chapterId = "0", + }) +end + +---@param jar table +---@return string +local function cookieHeader(jar) + local keys = {} + for key, value in pairs(jar) do + if KEEP[key] and value ~= "" then keys[#keys + 1] = key end + end + table.sort(keys) + local parts = {} + for i, key in ipairs(keys) do parts[i] = key .. "=" .. jar[key] end + return table.concat(parts, "; ") +end + +---@param jar table +---@param set_cookie string|table|nil +local function takeCookies(jar, set_cookie) + if type(set_cookie) == "table" then + for _key, value in pairs(set_cookie) do takeCookies(jar, value) end + return + end + if type(set_cookie) ~= "string" or set_cookie == "" then return end + for name, value in set_cookie:gmatch("([%w_]+)=([^;,]*)") do + name = name:lower() + value = value:match("^(.-)%s*$") + if KEEP[name] and value ~= "" then jar[name] = value end + end +end + +---@param data table|nil +---@param jar table +local function takeJson(data, jar) + if type(data) ~= "table" then return end + local value = data.ywGuid or data.ywguid + local guid = type(value) == "number" and string.format("%.0f", value) or text(value) + local key = text(data.ywKey or data.ywkey) + local openid = text(data.ywOpenId or data.ywopenid) + if guid then jar.ywguid = guid end + if key then jar.ywkey = key end + if openid then jar.ywopenid = openid end + if type(data.data) == "table" then takeJson(data.data, jar) end +end + +---@param jar table +---@return boolean +local function ready(jar) + return jar.ywguid ~= nil and jar.ywguid ~= "" and jar.ywkey ~= nil and jar.ywkey ~= "" +end + +---@class YuewenQRSpec +---@field app_id string +---@field area_id string +---@field return_url string +---@field referer string +---@field title string +---@field caption string +---@field ticket string|nil 非 0 时必须兑换本站 Web 会话 + +---@param spec YuewenQRSpec +---@param on_cookie fun(cookie: string) +function QRLogin.new(_class, spec, on_cookie) + local self = setmetatable({}, QRLogin) + self.spec = spec + self.on_cookie = on_cookie + self.generation = 0 + self.jar = {} + self.dialog = nil + self.retry_dialog = nil + self.busy = nil + self.job = nil + self.started = 0 + self.polls = 0 + self.session = nil + self.login_completed = false + self.scanned_notified = false + return self +end + +function QRLogin:toast(text_msg) + require("ui.themes.widgets.toast"):new{ text = tostring(text_msg), timeout = 2 }:show() +end + +function QRLogin:closeBusy() + if self.busy then + self.busy:close() + self.busy = nil + end +end + +function QRLogin:showBusy(text_msg) + self:closeBusy() + self.busy = require("ui.themes.widgets.progress_dialog"):new{ + title = self.spec.title, text = text_msg, dismissable = false, + } + self.busy:show() +end + +function QRLogin:_close_dialog() + if self.dialog then + local dialog = self.dialog + self.dialog = nil + dialog:close() + end +end + +function QRLogin:_close_retry() + if self.retry_dialog then + local dialog = self.retry_dialog + self.retry_dialog = nil + dialog:close() + end +end + +function QRLogin:_cancel_job() + if self.job and self.job.cancel then self.job.cancel() end + self.job = nil +end + +function QRLogin:cancel() + self.generation = self.generation + 1 + self.login_completed = false + self:_cancel_job() + self:_close_dialog() + self:_close_retry() + self:closeBusy() + self.jar = {} + self.session = nil + self.polls = 0 + self.scanned_notified = false +end + +---@param url string +---@param cb fun(res: table|nil, err: string|nil) +function QRLogin:_get(url, cb) + local headers = { + ["User-Agent"] = UA, + Accept = "application/json, text/javascript, */*", + Referer = self.spec.referer, + } + local host = url:match("^https://([^/?#]+)") + if host == self.spec.return_url:match("^https://([^/?#]+)") then + local cookie = cookieHeader(self.jar) + if cookie ~= "" then headers.Cookie = cookie end + end + local pending, gen = true, self.generation + local job = Request.request({ + url = url, + method = "GET", + headers = headers, + timeout = require("http.timeout").net(0.5), + allow_redirects = false, + }, function(res, err) + pending = false + if gen ~= self.generation then return end + self.job = nil + if err or not res then + cb(nil, err and tostring(err) or _("请求失败")) + return + end + local code = tonumber(res.code) + if not code or code < 200 or code >= 400 then + cb(nil, "HTTP " .. tostring(res.code)) + return + end + cb(res) + end) + if pending then self.job = job end +end + +---@param res table|nil +---@return table|nil +local function decode(res) + local body = res and res.body + if type(body) ~= "string" or body == "" then return nil end + local ok, wire = pcall(JSON.decode, body) + if not ok or type(wire) ~= "table" then return nil end + return wire +end + +function QRLogin:_expired() + return self.polls >= POLL_MAX or os.time() - self.started > DEADLINE +end + +---@param gen integer +---@param session string +function QRLogin:_later(gen, session) + require("ui/uimanager"):scheduleIn(POLL_INTERVAL, function() + self:_poll(gen, session) + end) +end + +---@param gen integer +function QRLogin:_show(gen, session) + if gen ~= self.generation then return end + self:closeBusy() + self.session = session + self.polls = 0 + local dialog + dialog = require("ui.themes.widgets.qr"):new{ + title = self.spec.title, + text = self:scanUrl(session), + caption = self.spec.caption, + close_callback = function() + if self.dialog == dialog then self.dialog = nil end + if gen == self.generation and not self.login_completed then + self:cancel() + self:toast(_("已取消登录")) + end + end, + } + self.dialog = dialog + dialog:show() + logger.info("[YuewenQR] 二维码已显示") + self:_later(gen, session) +end + +function QRLogin:start() + self:cancel() + local gen = self.generation + self.started = os.time() + self.jar = {} + self:showBusy(_("获取二维码中...")) + local params = self:baseParams() + self:_get(BASE .. "/login/qrcode?" .. Text.formEncode(params), function(res, err) + if gen ~= self.generation then return end + local wire = decode(res) + local session = wire and type(wire.data) == "table" and text(wire.data.sessionKey) + if not session or tonumber(wire.code) ~= 0 then + self:closeBusy() + logger.warn("[YuewenQR] 获取二维码失败:", err or (wire and wire.message)) + self:show_retry(_("获取二维码失败")) + return + end + self:_show(gen, session) + end) +end + +---@param gen integer +---@param jar table +function QRLogin:_done(gen, jar) + if gen ~= self.generation or self.login_completed then return end + if not ready(jar) then + self:show_retry(_("登录失败:未获取到登录态")) + return + end + self.login_completed = true + self.generation = self.generation + 1 + self:_cancel_job() + self:_close_dialog() + self:_close_retry() + self:closeBusy() + local cookie = cookieHeader(jar) + logger.info("[YuewenQR] 登录态已拿到") + if self.on_cookie then self.on_cookie(cookie) end +end + +---@param gen integer +---@param url string +---@param hop integer +function QRLogin:_follow(gen, url, hop) + if gen ~= self.generation then return end + local host = type(url) == "string" and url:match("^https://([^/?#]+)") + local target = self.spec.return_url:match("^https://([^/?#]+)") + if not host or (host ~= target and host ~= "ptlogin.yuewen.com" + and host ~= "passport.yuewen.com" and host ~= "passport.qidian.com" + and host ~= "login.book.qq.com") or hop > MAX_HOPS then + self:show_retry(_("登录失败:未获取到登录态")) + return + end + self:showBusy(_("正在完成登录...")) + self:_get(url, function(res, err) + if gen ~= self.generation then return end + if not res then + logger.warn("[YuewenQR] 跟跳失败:", err) + self:show_retry(_("登录失败:未获取到登录态")) + return + end + for _idx, value in ipairs(Request.headerAll(res, "Set-Cookie")) do takeCookies(self.jar, value) end + local location = Text.absoluteUrl(url, Request.header(res, "Location")) + if tonumber(res.code) >= 300 then + if not location then + self:show_retry(_("登录失败:未获取到登录态")); return + end + self:_follow(gen, location, hop + 1) + return + end + -- ticket=1 仍要求落到本站 host;本站实际上常常不 Set-Cookie ywkey(只有 abPolicies), + -- 不能把「见到 ywkey Set-Cookie」当成兑换成功条件,否则扫码永远失败。 + if ready(self.jar) and (self.spec.ticket ~= "1" or host == target) then + self:_done(gen, self.jar) + return + end + if not location then + self:show_retry(_("登录失败:未获取到登录态")) + return + end + self:_follow(gen, location, hop + 1) + end) +end + +---@param gen integer +---@param session string +---@param wire table +---@param res table +function QRLogin:_on_poll(gen, session, wire, res) + for _idx, value in ipairs(Request.headerAll(res, "Set-Cookie")) do takeCookies(self.jar, value) end + local data = type(wire.data) == "table" and wire.data or {} + takeJson(data, self.jar) + takeJson(wire, self.jar) + local status = tonumber(wire.scanStatus) + local code = tonumber(wire.code) + if code == -11033 then + self:show_retry(text(wire.message) or _("登录失败")) + return + end + if status == 5 and code == 0 then + local ticket = text(data.ticket) or text(wire.ticket) + local jump = text(data["302url"]) or text(wire["302url"]) + -- 起点 ticket=1:裸 302url(https://m.qidian.com/ 无 ticket)没用,改成本站 ticket 兑换。 + -- 若 302url 走 ptlogin 中转,照跟——那才是会带上完整跳转链的路径。 + if self.spec.ticket == "1" then + local target = self.spec.return_url:match("^https://([^/?#]+)") + local jump_host = jump and jump:match("^https://([^/?#]+)") + local bare_home = jump_host == target and not jump:find("ticket=", 1, true) + if ticket and (not jump or bare_home) then + jump = self.spec.return_url .. (self.spec.return_url:find("?", 1, true) and "&" or "?") + .. Text.formEncode({ + ticket = ticket, + ywguid = self.jar.ywguid or "", + ywOpenId = self.jar.ywopenid or "", + }) + elseif not jump then + self:show_retry(_("登录失败:未获取到登录态")) + return + end + self:_follow(gen, jump, 1) + return + end + if jump then + self:_follow(gen, jump, 1) + return + end + if ready(self.jar) then + self:_done(gen, self.jar) + return + end + self:show_retry(_("登录失败:未获取到登录态")) + return + end + if status == 3 then + logger.info("[YuewenQR] 手机取消,刷新二维码") + self.generation = self.generation + 1 + self:_close_dialog() + self:start() + return + end + if status == 4 or self:_expired() then + self:show_retry(_("二维码已过期")) + return + end + if status == 1 and not self.scanned_notified then + self.scanned_notified = true + self.polls = 0 + self.started = os.time() + self:toast(_("已扫码,请在手机上确认")) + end + self:_later(gen, session) +end + +---@param gen integer +---@param session string +function QRLogin:_poll(gen, session) + if gen ~= self.generation or session ~= self.session then return end + if self:_expired() then + self:show_retry(_("二维码已过期")) + return + end + self.polls = self.polls + 1 + local params = self:baseParams() + params.qrcode = session + self:_get(BASE .. "/login/qrcodelogin?" .. Text.formEncode(params), function(res, err) + if gen ~= self.generation or session ~= self.session then return end + local wire = decode(res) + if not wire then + if self.polls == 1 or self.polls % 5 == 0 then + logger.warn("[YuewenQR] 轮询失败:", err) + end + if self:_expired() then + self:show_retry(_("二维码已过期")) + return + end + self:_later(gen, session) + return + end + self:_on_poll(gen, session, wire, res) + end) +end + +function QRLogin:show_retry(msg) + self.generation = self.generation + 1 + self:_cancel_job() + self:_close_dialog() + self:_close_retry() + self:closeBusy() + local dialog + dialog = require("ui.themes.widgets.confirm"):new{ + text = tostring(msg), + ok_text = _("重新获取"), + ok_callback = function() + if self.retry_dialog == dialog then self.retry_dialog = nil end + self:start() + end, + cancel_callback = function() + if self.retry_dialog == dialog then self.retry_dialog = nil end + self:cancel() + end, + } + self.retry_dialog = dialog + dialog:show() +end + +return QRLogin diff --git a/tests/xiaoxiang/browse_spec.lua b/tests/xiaoxiang/browse_spec.lua new file mode 100644 index 0000000..61271ce --- /dev/null +++ b/tests/xiaoxiang/browse_spec.lua @@ -0,0 +1,82 @@ +--[[-- +潇湘动态分类、标签、完整分页及取消。 + +@module tests.moonsource_xiaoxiang.browse_spec +--]] +---@diagnostic disable: undefined-field, missing-fields, param-type-mismatch + +local A = require("support.assert") +local null = function() end +local JSON = require("support.json_stub") +package.loaded["json"] = { decode = function(wire) + if wire == "null" then return null end + return JSON.decode(wire) +end } +local calls, waiting, stopped, mode = {}, nil, false, "sync" +---@type {id: integer, name: string, labelClassList: {name?: string, tagInfoList?: (fun())|string|{tagId: integer, tagName: string}[]}[]}[] +local categories = { + { id = 0, name = "全部", labelClassList = {} }, + { id = 30013, name = "古代言情", labelClassList = { + { name = "全部标签", tagInfoList = null }, + { tagInfoList = { { tagId = 61000007, tagName = "女强" }, { tagId = 61000007, tagName = "女强" } } }, + } }, + { id = 30020, name = "现代言情", labelClassList = {} }, +} +local function reply(index, cb) + if mode == "error" and index == 2 then cb(nil, "网络失败"); return end + local rows = {} + for i = 1, 20 do rows[i] = { cbId = tostring((index - 1) * 20 + i), bookName = "书" } end + cb({ data = { categoryList = categories, bookList = rows, total = 100 } }) +end +package.loaded["moonsource_xiaoxiang.client"] = { + libraryAsync = function(params, index, cb) + calls[#calls + 1] = { params = params, index = index } + if mode == "waiting" and index == 2 then waiting = cb else reply(index, cb) end + return { cancel = function() stopped = true end } + end, +} +package.loaded["moonsource_xiaoxiang.browse"] = nil +local Library = require("moonsource_xiaoxiang.browse") +local result, err +Library.run({}, function(data, reason) result, err = data, reason end) +A.is_nil(err) +A.len(result.data, 60) +A.len(calls, 3) +A.eq(result.data[60].stable_id, "60") +A.eq(result.groups[1].title, "分类") +local chosen = result.groups[1].chips[2].id +A.eq(chosen, "cate:-1:-1:-1:-1:10:30013:-1") +Library.run({ node = chosen }, function(data) result = data end) +A.eq(result.groups[2].title, "标签") +A.len(result.groups[2].chips, 2, "重复标签不重复显示") +local tagged = result.groups[2].chips[2].id +Library.run({ node = tagged, limit = 20 }, function(data) result = data end) +A.eq(calls[#calls].params.tag, 61000007) +A.eq(result.groups[1].chips[3].id, "cate:-1:-1:-1:-1:10:30020:-1", "换分类清标签") +Library.run({ node = "cate:1:0:2:25:6:30013:-1", limit = 20 }, function(data) result = data end) +A.eq(calls[#calls].params.state, 1) +A.eq(calls[#calls].params.charge, 0) +A.eq(calls[#calls].params.words, 25) +A.len(result.data, 20) +for _idx, invalid in ipairs({ "invalid", function() end }) do + categories[2].labelClassList[1].tagInfoList = invalid + Library.run({ node = chosen }, function(data, reason) result, err = data, reason end) + A.is_nil(result, "未知函数和坏类型不能冒充 JSON null") + A.eq(err, "响应无效") +end +categories[2].labelClassList[1].tagInfoList = null +mode = "error" +Library.run({}, function(data, reason) result, err = data, reason end) +A.is_nil(result, "中间页失败不能伪装完整列表") +A.eq(err, "网络失败") +mode, stopped, result = "waiting", false, nil +local handle = Library.run({}, function(data) result = data end) +handle.cancel() +A.is_true(stopped, "同步第一页不能覆盖第二页取消句柄") +reply(2, waiting) +A.is_nil(result) +mode = "sync" +Library.run({ node = "cate:-1:-1:-1:-1:99:0:-1" }, function(data, reason) result, err = data, reason end) +require("support.stubs").flush() +A.is_nil(result) +A.eq(err, "潇湘分类条件无效") diff --git a/tests/xiaoxiang/changpei_xiaoxiang_spec.lua b/tests/xiaoxiang/changpei_xiaoxiang_spec.lua new file mode 100644 index 0000000..cf87738 --- /dev/null +++ b/tests/xiaoxiang/changpei_xiaoxiang_spec.lua @@ -0,0 +1,541 @@ +--[[-- +长佩 / 潇湘数据映射离线用例:搜索、目录、正文解密与未购识别。 + +@module tests.source.changpei_xiaoxiang_spec +--]] +---@diagnostic disable: undefined-field, missing-fields, param-type-mismatch + +package.preload["json"] = function() return require("support.json_stub") end +package.loaded["moonsource_xiaoxiang.mapper"] = nil + +local Aes = require("crypto.aes") +local Assert = require("support.assert") +local Text = require("utils.text") + +local Changpei = require("moonsource_changpei.mapper") +local Xiaoxiang = require("moonsource_xiaoxiang.mapper") + +local KEY, IV = "u0LRrbu$Enm84koA", "$h$b3!iGzsYnnshj" +local function seal(plain) return Text.base64Encode(Aes.cbc_encrypt(plain, KEY, IV)) end + +do + local books = Changpei.search({ data = { list = { + { novel_id = 7, novel_name = " 书 ", novel_author = "甲", novel_desc = "简介", novel_type = "架空", + novel_cover = "https://x/a.jpg?x-oss-process=style/small", novel_wordnumber = 1000 }, + { novel_id = 8, novel_name = "乙", novel_author = "丙", novel_desc = "", + novel_cover = "https://x/nocover.jpg?x", novel_type = "" }, + } } }) + Assert.len(books, 2) + Assert.eq(books[1].stable_id, "7") + Assert.eq(books[1].title, "书") + Assert.eq(books[1].cover, "https://x/a.jpg") + Assert.is_nil(books[2].cover) + Assert.is_nil(books[2].category) +end + +do + local toc = Changpei.toc({ data = { list = { + { type = "item", id = 1, name = "一", price = 0 }, + { type = "item", id = 2, name = "二" }, + { type = "item", id = 3, name = "三", price = 5 }, + { type = "more" }, + } } }) + Assert.len(toc, 3) + Assert.eq(toc[3].uid, "3") + Assert.is_nil(toc[2].vip) + Assert.is_true(toc[3].vip) + Assert.eq(toc[1].toc_version, Changpei.TOC_VERSION) +end + +do + local text = Changpei.content({ data = { chapterInfo = { chapterPrice = 0, content = seal("  第一段\r\n\r\n  第二段\n") } } }) + Assert.eq(text, "  第一段\n  第二段") + local _t, _e, kind = Changpei.content({ data = { chapterInfo = { chapterPrice = 9, isSub = false, content = "" } } }) + Assert.eq(kind, "unpaid") + local _t0, e0, kind0 = Changpei.content({ code = 200, msg = "操作成功", + data = { chapterInfo = { chapterPrice = "25", isSub = "0", content = "" } } }) + Assert.eq(kind0, "unpaid") + Assert.is_nil(e0) + local bought = Changpei.content({ data = { chapterInfo = { chapterPrice = 9, isSub = true, content = seal("正文") } } }) + Assert.eq(bought, "正文") + local _t2, _e2, verify = Changpei.content({ data = { check = 2, chapterInfo = { chapterPrice = 0, content = seal("乱码") } } }) + Assert.eq(verify, "verify") + local gated, _gated_err, gated_kind = Changpei.content({ data = { + check = 2, chapterInfo = { chapterPrice = 0, content = "not-aes" }, + } }) + Assert.is_nil(gated, "待验证内容即使形似正文也不能交付") + Assert.eq(gated_kind, "verify", "验证前不应尝试解密不可信载荷") + local none, err = Changpei.content({ msg = "访问异常" }) + Assert.is_nil(none) + Assert.eq(err, "访问异常") + local invalid, invalid_err = Changpei.content({ data = { + chapterInfo = { chapterPrice = 0, content = seal("\255\254\128bad") }, + } }) + Assert.is_nil(invalid) + Assert.eq(invalid_err, "长佩章节解密失败", "解密得到非法 UTF-8 不能当作正文缓存") + local control, control_err = Changpei.content({ data = { + chapterInfo = { chapterPrice = 0, content = seal("前文\0后文") }, + } }) + Assert.is_nil(control) + Assert.eq(control_err, "长佩章节解密失败") + Assert.eq(Changpei.content({ data = { + chapterInfo = { chapterPrice = 0, content = seal("中文🙂\t后文") }, + } }), "中文🙂\t后文", "合法正文保留 emoji 与制表符") +end + +do + local html = 'x"chapters":[{"type":0,"isVip":-1,"title":"正文"},' + .. '{"type":1,"ccid":"11","title":"第1章","price":0},' + .. '{"type":1,"ccid":"12","title":"第2章","price":10}],"other":{"a":1}' + local toc = Xiaoxiang.toc(html) + Assert.len(toc, 2) + Assert.eq(toc[2].uid, "12") + Assert.is_nil(toc[1].vip) + Assert.is_true(toc[2].vip) + local missing, err = Xiaoxiang.toc("") + Assert.is_nil(missing) + Assert.eq(err, "响应无效") +end + +do + local html = '
' + .. '
x
' + .. '

来日&有信

简介

' + .. '

千山茶客·连载中·21万字

' + .. '
' + .. '

乙

丙·完结

' + local books = Xiaoxiang.rank(html) + Assert.len(books, 2) + Assert.eq(books[1].stable_id, "25866531901067904") + Assert.eq(books[1].title, "来日&有信") + Assert.eq(books[1].authors, "千山茶客") + Assert.eq(books[1].cover, "https://bookcover.yuewen.com/a/90.webp") + Assert.eq(books[2].title, "乙") + Assert.is_nil(Xiaoxiang.rank("")) +end + +do + local function wire(chapter) return { data = { chapterContents = { chapter } } } end + Assert.eq(Xiaoxiang.content(wire({ chapterPrice = "0", auth = true, chapterContent = "\r\n\227\128\128甲\r\n\227\128\128\r\n\227\128\128乙" })), "甲\n乙") + local free, kind = Xiaoxiang.content(wire({ chapterPrice = "9", auth = false, chapterContent = "预览" })) + Assert.is_nil(free) + Assert.eq(kind, "unpaid") + Assert.eq(Xiaoxiang.content(wire({ chapterPrice = "9", auth = true, chapterContent = "全文" })), "全文") + Assert.is_nil((Xiaoxiang.content({ data = {} }))) + local cipher, ckind, chapter = Xiaoxiang.content(wire({ chapterPrice = "20", auth = true, encrypt = true, chapterContent = "9HHP" })) + Assert.is_nil(cipher) + Assert.eq(ckind, "encrypted") + Assert.eq(chapter.chapterContent, "9HHP") + + local rows = { { bookid = "35554414603847007", title = " 书 ", author = "甲", ccid = "35554414603847008", restype = 1 }, + { bookid = "2", title = "乙", author = "丙", ccid = "0" } } + local books = Xiaoxiang.shelfList(rows) + Assert.eq(books[1].stable_id, "35554414603847007") + Assert.eq(books[1].title, "书") + Assert.eq(books[1].cover, "https://bookcover.yuewen.com/qdbimg/349573/c_35554414603847007/180") + local progress = Xiaoxiang.progress(rows) + Assert.eq(progress["35554414603847007"], "35554414603847008") + Assert.is_nil(progress["2"]) +end + +do + local seen = {} + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { + get = function(url, opts, cb) + seen.url, seen.headers = url, opts.headers + seen.cookie = opts.jar and opts.jar:header(url) + cb(seen.reply) + return {} + end, + post = function(url, body, opts, cb) + seen.post_url, seen.body, seen.headers = url, body, opts.headers + seen.cookie = opts.jar and opts.jar:header(url) + cb(seen.reply) + return {} + end, + } + end + package.loaded["moonsource_xiaoxiang.client"] = nil + local Settings = require("utils.settings") + local cfg = Settings.getSource("ext.xiaoxiang") + cfg.cookie = "csrfToken=C1; ywKey=K" + Settings.saveSource("ext.xiaoxiang", cfg) + local Client = require("moonsource_xiaoxiang.client") + require("source.auth").reset() + + seen.reply = '{"code":0,"data":{"isLogin":0}}' + local err + Client.shelfRemoveAsync("35554414603847007", function(_wire, e) err = e end) + Assert.is_true(require("source.auth").expired("ext.xiaoxiang")) + Assert.is_nil(seen.post_url) + + seen.reply = '{"code":0,"data":{"isLogin":1,"user":{"guid":"42"}}}' + Client.userAsync("a=1", function(info) seen.info = info end) + Assert.eq(seen.info.isLogin, 1) + Assert.eq(seen.cookie, "a=1; csrfToken=moon") + Assert.matches(seen.url, "_csrfToken=moon") + + local replies = { '{"code":0,"data":{"isLogin":1,"user":{"guid":"42"}}}', '{"code":0,"msg":"ok","data":null}' } + package.loaded["source.auth"].reset() + seen.reply = nil + local n = 0 + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { + get = function(url, opts, cb) + seen.url = url + if url:find("/bookshelf/pc/page", 1, true) then + cb('{"code":0,"data":{"data":[],"pageCount":0}}') + else + n = n + 1 + cb(replies[1]) + end + return {} + end, + post = function(url, body, opts, cb) seen.post_url, seen.body = url, body; cb(replies[2]) return {} end, + } + end + package.loaded["moonsource_xiaoxiang.client"] = nil + Client = require("moonsource_xiaoxiang.client") + local ok + Client.shelfRemoveAsync("35554414603847007", function(wire) ok = wire ~= nil end) + Assert.is_true(ok) + Assert.matches(seen.post_url, "/bookshelf/delete%?_csrfToken=C1") + Assert.matches(seen.body, '"bookId":"35554414603847007"') + Assert.eq(n, 1) + -- 同一 Cookie AUTH_TTL 内不再每次先打个人接口(每章翻页报进度不再双倍请求) + Client.shelfRemoveAsync("35554414603847007", function(wire) ok = wire ~= nil end) + Assert.is_true(ok) + Assert.eq(n, 1, "校验结果复用") + cfg.cookie = "csrfToken=C2; ywKey=K2" + Settings.saveSource("ext.xiaoxiang", cfg) + Client.shelfRemoveAsync("35554414603847007", function(wire) ok = wire ~= nil end) + Assert.eq(n, 2, "换了 Cookie 重新校验") + Client.AUTH_TTL = 0 + Client.shelfRemoveAsync("35554414603847007", function(wire) ok = wire ~= nil end) + Assert.eq(n, 4, "过期后写入与回读分别重新校验") + Client.AUTH_TTL = 600 + + replies[2] = '{"code":0,"data":{"chapterContents":[{"ccid":35554414603847008,"chapterPrice":"0","auth":true,"chapterContent":"甲"}]}}' + local text + Client.contentAsync("35554414603847007", "35554414603847008", function(t) text = t end) + Assert.eq(text, "甲") + Assert.matches(seen.body, '"ccids":%["35554414603847008"%]') + + -- 加密章的字体下载回来是 HTML 错误页(CDN 200):不当字体去解,直接报解密失败 + local fkp = require("utils.text").base64Encode('window.onkeyfocus("pool", 3)') + replies[2] = '{"code":0,"data":{"chapterContents":[{"ccid":35554414603847008,"chapterPrice":"0","auth":true,' + .. '"encrypt":true,"font":true,"fkp":"' .. fkp .. '","chapterContent":"xx",' + .. '"fontResponse":{"fixedFontTtf":"https://cdn.test/f.ttf"}}]}}' + replies[1] = "Not Found" + cfg.cookie = "csrfToken=C1; ywKey=K; ywGuid=42" + Settings.saveSource("ext.xiaoxiang", cfg) + local fock_called = false + package.loaded["moonsource_xiaoxiang.fock"] = { chapterAsync = function() fock_called = true; return { cancel = function() end } end } + local ferr + text = nil + Client.contentAsync("35554414603847007", "35554414603847008", function(t, e) text, ferr = t, e end) + Assert.is_nil(text) + Assert.eq(ferr, "潇湘章节解密失败") + Assert.is_false(fock_called, "坏字体不进解密") + package.loaded["moonsource_xiaoxiang.fock"] = nil + cfg.cookie = nil + Settings.saveSource("ext.xiaoxiang", cfg) + package.loaded["moonsource_xiaoxiang.client"] = nil +end + +do + local CpSetting = require("moonsource_changpei.setting") + Assert.eq(CpSetting.parseCookie("Cookie: PHPSESSID=x; _c_n_=y\n"), "PHPSESSID=x; _c_n_=y") + Assert.eq(CpSetting.parseCookie(" "), "") + local Settings = require("utils.settings") + local Auth = require("source.auth") + local cfg = Settings.getSource("ext.changpei") + Auth.reset() + cfg.cookie = nil + Settings.saveSource("ext.changpei", cfg) + Assert.eq(#CpSetting.rows(), 4, "未登录:账号 + 浏览器 + 粘贴 + 章评") + cfg.cookie = "PHPSESSID=T1" + Settings.saveSource("ext.changpei", cfg) + Assert.eq(#CpSetting.rows(), 5, "已登录:账号 + 浏览器 + 粘贴 + 退出 + 章评") + Auth.expire("ext.changpei", "x") + Assert.eq(#CpSetting.rows(), 5, "失效后仍保留浏览器与粘贴入口") + cfg.cookie = nil + Settings.saveSource("ext.changpei", cfg) + Auth.reset() + + local XxSetting = require("moonsource_xiaoxiang.setting") + Assert.eq(XxSetting.parseCookie("Cookie: a=1; b=2\n"), "a=1; b=2") + Assert.eq(XxSetting.parseCookie("乱七八糟"), "") +end + +do + local seen, reply = {}, '{"code":9996,"msg":"请先登录","data":[]}' + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { get = function(_url, opts, cb) seen.headers = opts.headers; seen.cookie = opts.jar and opts.jar:header(_url); cb(reply) return {} end } + end + package.loaded["moonsource_changpei.client"] = nil + local Settings = require("utils.settings") + local cfg = Settings.getSource("ext.changpei") + cfg.cookie = "PHPSESSID=T1" + Settings.saveSource("ext.changpei", cfg) + local Client = require("moonsource_changpei.client") + local Auth = require("source.auth") + Auth.reset() + local err + Client.chaptersAsync("1", function(_wire, e) err = e end) + Assert.eq(seen.cookie, "PHPSESSID=T1") + Assert.eq(seen.headers.Client, "pc") + Assert.matches(err, "扫码登录") + Assert.is_true(Auth.expired("ext.changpei")) + cfg.cookie = nil + Settings.saveSource("ext.changpei", cfg) + Auth.reset() + Client.searchAsync("x", function() end) + Assert.is_nil(seen.cookie) + Assert.is_true(not Auth.expired("ext.changpei")) + package.preload["http.request"] = nil +end + +-- 书架 / 阅读历史 / 签名 POST +do + local Cp = require("moonsource_changpei.mapper") + local books = Cp.shelfList({ { id = 7, name = " 书 ", author = "甲", cover = "https://x/a.jpg?x-oss=1" } }) + Assert.eq(books[1].stable_id, "7") + Assert.eq(books[1].title, "书") + Assert.eq(books[1].cover, "https://x/a.jpg") + local hist = Cp.history({ data = { list = { { list = { + { novel_id = 9, latest_read_cid = 123 }, { novel_id = 8, latest_read_cid = 0 }, + } } } } }) + Assert.eq(hist["9"], "123") + Assert.is_nil(hist["8"]) + + local pages, posted = {}, {} + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { + get = function(url, _opts, cb) + if url:find("system/init", 1, true) then + cb('{"code":200,"data":{"timestamp":1792556196}}') + else + local n = tonumber(url:match("page=(%d+)")) + pages[#pages + 1] = n + cb(n == 1 and '{"code":200,"data":{"list":[{"type":"novel","id":5},{"type":"shelf","id":1}]}}' + or '{"code":200,"data":{"list":[]}}') + end + return {} + end, + post = function(url, body, opts, cb) + posted = { url = url, body = body, headers = opts.headers } + cb('{"code":200,"data":[]}') + return {} + end, + } + end + package.loaded["moonsource_changpei.client"] = nil + local Client = require("moonsource_changpei.client") + local rows + Client.shelfAsync(function(r) rows = r end) + Assert.len(pages, 2) + Assert.eq(pages[2], 2) + Assert.len(rows, 1) + local ok + Client.shelfAddAsync("5", function(wire) ok = wire ~= nil end) + Assert.is_true(ok) + Assert.eq(posted.body, '{"module":"novel","cid":5,"status":1}') + Assert.eq(posted.headers.Timestamp, "1792556196") + Client.shelfAddAsync("2125021", function() end) + Assert.eq(posted.headers["Rand-Str"], "4d427f47b607d1d06ecd0d3a11fbcf7d") + Client.shelfRemoveAsync("5", function() end) + Assert.eq(posted.body, '{"module":"novel","cid":5,"status":0}') + package.preload["http.request"] = nil +end + +-- 扫码登录:gRPC-web 帧与 protobuf 顶层字段 +local QRLogin = require("moonsource_changpei.qrlogin") + +do + Assert.eq(QRLogin.frame("Login"), "\0\0\0\0\7\10\5Login") +end + +do + local token = ("a"):rep(32) + local fields = QRLogin.decode("\0\0\0\0\37\10\32" .. token .. "\16\200\1") + Assert.eq(fields[1], token) + Assert.eq(fields[2], 200) + local poll = QRLogin.decode("\0\0\0\0\36\8\4\26\32" .. token) + Assert.eq(poll[1], 4) + Assert.eq(poll[3], token) + Assert.eq(next(QRLogin.decode("")), nil) + -- login_res(2){ status 1, web_data(4){ token(1) } } + local login = QRLogin.fields("\8\1\34\4\10\2tk") + Assert.eq(login[1], 1) + Assert.eq(QRLogin.fields(login[4])[1], "tk") +end + +do + local seen + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { get = function(_url, opts, cb) seen = opts.headers; seen.Cookie = opts.jar:header(_url); cb('{"code":200,"data":{}}') return {} end } + end + package.loaded["moonsource_changpei.client"] = nil + require("moonsource_changpei.client").userAsync("PHPSESSID=a; moon_token=TK", function() end) + Assert.eq(seen.token, "TK") + Assert.eq(seen.Cookie, "PHPSESSID=a") +end + + +-- token 过期(9996):用 refresh_token 换新 token 写回 Cookie 再重发;换不到才算登录失效 +do + local grpc_status, renew_calls, tokens = "0", 0, {} + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { + header = function(res, name) return res and res[name] end, + headerAll = function() return {} end, + get = function(_url, opts, cb) + tokens[#tokens + 1] = opts.headers.token + if opts.headers.token == "OLD" then cb('{"code":9996,"msg":"请先登录"}') else cb('{"code":200,"data":{}}') end + return {} + end, + post = function(url, body, opts, cb) + renew_calls = renew_calls + 1 + Assert.matches(url, "get_token") + Assert.eq(body, "\0\0\0\0\4\42\2RF") + Assert.eq(opts.headers.imei, "dev") + cb("\0\0\0\0\6\26\4NEW1", nil, { ["grpc-status"] = grpc_status }) + return {} + end, + } + end + package.loaded["moonsource_changpei.client"] = nil + local Client = require("moonsource_changpei.client") + local Auth = require("source.auth") + local settings = require("utils.settings") + settings.saveSource("ext.changpei", { cookie = "PHPSESSID=a; _c_n_=dev; moon_token=OLD; moon_refresh=RF" }) + Auth.reset() + + local wire + Client.historyAsync(function(w) wire = w end) + Assert.not_nil(wire) + Assert.eq(renew_calls, 1) + Assert.eq(tokens[#tokens], "NEW1") + Assert.matches(settings.getSource("ext.changpei").cookie, "moon_token=NEW1") + Assert.matches(settings.getSource("ext.changpei").cookie, "moon_refresh=RF") + Assert.is_false(Auth.expired("ext.changpei")) + + settings.saveSource("ext.changpei", { cookie = "PHPSESSID=a; _c_n_=dev; moon_token=OLD; moon_refresh=RF" }) + grpc_status = "16" + local failed + Client.historyAsync(function(w, err) failed = { w, err } end) + Assert.is_nil(failed[1]) + Assert.matches(failed[2], "moon%-cookie%-storage") + Assert.is_true(Auth.expired("ext.changpei")) + + settings.saveSource("ext.changpei", { cookie = "PHPSESSID=a; _c_n_=dev; moon_token=OLD" }) + Auth.reset() + renew_calls = 0 + Client.historyAsync(function() end) + Assert.eq(renew_calls, 0, "没有 refresh_token 不请求") + Assert.is_true(Auth.expired("ext.changpei")) + settings.saveSource("ext.changpei", {}) + Auth.reset() + package.preload["http.request"] = nil +end + +-- 书城榜单:rankingNav → 两行 chip,节点取榜单 + 子榜 +do + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { get = function(url, _opts, cb) + if url:find("rankingNav", 1, true) then + cb('{"code":200,"data":[{"name":"畅销榜","rank_id":1,"type":[{"name":"昨日","value":1},{"name":"30天","value":3}]},' + .. '{"name":"精品榜","rank_id":15,"url":"event/x","type":[]},' + .. '{"name":"人气榜","rank_id":3,"type":[{"name":"7天","value":2}]}]}') + else + cb('{"code":200,"data":{"count":1,"list":[{"novel_id":9,"novel_name":"榜书","novel_author":"甲"}]}}') + end + return {} + end } + end + package.loaded["moonsource_changpei.client"] = nil + package.loaded["moonsource_changpei.source"] = nil + local source = require("moonsource_changpei.source").new() + local res + source:browseAsync({ node = "1:3" }, function(r) res = r end) + Assert.eq(res.data[1].stable_id, "9") + Assert.len(res.groups[1].chips, 3) + Assert.eq(res.groups[1].active, "1:1") + Assert.eq(res.groups[2].active, "1:3") + package.preload["http.request"] = nil +end + +-- 长佩:分页没有页数上限,超过 50 页照样翻到空页 +do + local pages = {} + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { + get = function(url, _opts, cb) + if url:find("system/init", 1, true) then + cb('{"code":200,"data":{"timestamp":1792556196}}') + else + local n = tonumber(url:match("page=(%d+)")) + pages[#pages + 1] = n + cb(n > 60 and '{"code":200,"data":{"list":[]}}' + or ('{"code":200,"data":{"list":[{"type":"novel","id":%d}]}}'):format(n)) + end + return {} + end, + post = function(_url, _body, _opts, cb) cb('{"code":200,"data":[]}') return {} end, + } + end + package.loaded["moonsource_changpei.client"] = nil + local Deep = require("moonsource_changpei.client") + local rows, err + Deep.shelfAsync(function(r, e) rows, err = r, e end) + Assert.is_nil(err) + Assert.len(rows, 60) + Assert.len(pages, 61) + package.preload["http.request"] = nil +end + +-- 潇湘:分页没有页数上限,pageCount 多少就翻多少页 +do + local pages = 0 + package.loaded["http.request"] = nil + package.preload["http.request"] = function() + return { + get = function(url, _opts, cb) + if url:find("/bookshelf/pc/page", 1, true) then + pages = pages + 1 + cb('{"code":0,"data":{"pageCount":60,"data":[{"restype":1,"groupId":-100,"bookid":"1","title":"甲"}]}}') + else + cb('{"code":0,"data":{"isLogin":1,"user":{"guid":"42"}}}') + end + return {} + end, + post = function(_url, _body, _opts, cb) cb('{"code":0,"data":{"isLogin":1}}') return {} end, + } + end + local Settings = require("utils.settings") + local cfg = Settings.getSource("ext.xiaoxiang") + cfg.cookie = "csrfToken=C1; ywKey=K" + Settings.saveSource("ext.xiaoxiang", cfg) + package.loaded["moonsource_xiaoxiang.client"] = nil + local Deep = require("moonsource_xiaoxiang.client") + require("source.auth").reset() + local rows, err + Deep.shelfAsync(function(r, e) rows, err = r, e end) + Assert.is_nil(err) + Assert.len(rows, 60) + Assert.eq(pages, 60) + cfg.cookie = nil + Settings.saveSource("ext.xiaoxiang", cfg) + package.loaded["moonsource_xiaoxiang.client"] = nil + package.preload["http.request"] = nil +end diff --git a/tests/xiaoxiang/client_spec.lua b/tests/xiaoxiang/client_spec.lua new file mode 100644 index 0000000..b1f02ef --- /dev/null +++ b/tests/xiaoxiang/client_spec.lua @@ -0,0 +1,91 @@ +--[[-- +潇湘账号失效、换号竞态、写后确认和多阶段取消。 + +@module tests.moonsource_xiaoxiang.client_spec +--]] +---@diagnostic disable: undefined-field, missing-fields, param-type-mismatch + +local A = require("support.assert") +package.loaded["json"] = require("support.json_stub") +local cfg = { cookie = "csrfToken=x%26; ywguid=42" } +package.loaded["utils.settings"] = { getSource = function() return cfg end } +local network, pending, posts, cancelled, shelf = "sync", nil, 0, false, {} +local function json(value) return require("json").encode(value) end +package.loaded["http.request"] = { + get = function(url, opts, cb) + A.eq(opts.cache_ttl, 0) + if url:find("/user/auth/personal", 1, true) then + if network == "wait" then pending = cb + elseif network == "failure" then cb(nil, "timeout") + elseif network == "expired" then cb('{"code":0,"data":{"isLogin":0}}') + else cb('{"code":0,"data":{"isLogin":1,"user":{"guid":42}}}') end + else + if network == "shelf-wait" then pending = cb + else cb(json({ code = 0, data = { data = shelf, pageCount = 1 } })) end + end + return { cancel = function() cancelled = true end } + end, + post = function(url, _body, opts, cb) + posts = posts + 1 + A.matches(url, "_csrfToken=x%%2526") + A.eq(opts.cache_ttl, 0) + cb('{"code":0,"data":null}') + return { cancel = function() end } + end, +} +package.loaded["moonsource_xiaoxiang.client"] = nil +local C = require("moonsource_xiaoxiang.client") +local Auth = require("source.auth") +Auth.reset() +local info, err, result +C.userAsync(cfg.cookie, function(value) info = value end) +A.eq(info.id, "42") +network = "failure" +C.shelfAsync(function(value, reason) result, err = value, reason end) +A.is_nil(result) +A.eq(err, "timeout") +A.is_false(Auth.expired("ext.xiaoxiang"), "暂时网络失败保留登录") +network = "expired" +C.shelfAsync(function(value, reason) result, err = value, reason end) +A.is_true(Auth.expired("ext.xiaoxiang")) +A.eq(posts, 0) +Auth.reset() +network = "wait" +C.shelfAsync(function(value, reason) result, err = value, reason end) +cfg.cookie = "csrfToken=new; ywguid=43" +pending('{"code":0,"data":{"isLogin":0}}') +A.is_false(Auth.expired("ext.xiaoxiang"), "旧请求不能注销新账号") +A.eq(err, "账号已变化,请重新登录") +cfg.cookie = "csrfToken=x%26; ywguid=42" +network, cancelled, info = "wait", false, nil +local user = C.userAsync(cfg.cookie, function(value) info = value end) +user.cancel() +pending('{"code":0,"data":{"isLogin":1,"user":{"guid":42}}}') +A.is_nil(info) +A.is_true(cancelled) +network = "sync" +shelf = { { bookid = "123", ccid = "77", restype = 1, groupId = -100 } } +C.shelfAddAsync("123", function(value, reason) result, err = value, reason end) +A.is_true(result ~= nil) +C.shelfRemoveAsync("123", function(value, reason) result, err = value, reason end) +A.is_nil(result) +A.eq(err, "潇湘远端状态未更新,请稍后重试") +C.progressAsync("123", "77", function(value) result = value end) +A.is_true(result ~= nil) +C.progressAsync("123", "78", function(value, reason) result, err = value, reason end) +A.is_nil(result) +A.eq(err, "潇湘远端状态未更新,请稍后重试") +shelf = {} +C.shelfRemoveAsync("123", function(value) result = value end) +A.is_true(result ~= nil) +network, cancelled, result = "shelf-wait", false, nil +local writing = C.shelfRemoveAsync("123", function(value) result = value end) +writing.cancel() +A.is_true(cancelled, "同步 POST 后取消实际回读请求") +pending('{"code":0,"data":{"data":[],"pageCount":1}}') +A.is_nil(result) +network = "sync" +shelf = { { restype = 1, groupId = -100, title = "缺身份" } } +C.shelfAsync(function(value, reason) result, err = value, reason end) +A.is_nil(result) +A.eq(err, "响应无效", "坏书架行不能变成身份为 nil 的书") diff --git a/tests/xiaoxiang/content_spec.lua b/tests/xiaoxiang/content_spec.lua new file mode 100644 index 0000000..459e832 --- /dev/null +++ b/tests/xiaoxiang/content_spec.lua @@ -0,0 +1,57 @@ +--[[-- +正文归属、扫码 Cookie 大小写与取消后的迟到响应。 + +@module tests.moonsource_xiaoxiang.content_spec +--]] +---@diagnostic disable: undefined-field, missing-fields, param-type-mismatch + +local A = require("support.assert") +local JSON = require("support.json_stub") +package.loaded["json"] = JSON +local cfg, mode, post_cb, decrypt_cb, stopped = { cookie = "ywguid=42" }, "sync", nil, nil, false +package.loaded["utils.settings"] = { getSource = function() return cfg end } +local chapter = { ccid = "123", chapterPrice = 20, auth = true, encrypt = true, font = false, + chapterContent = "encrypted", fkp = require("utils.text").base64Encode('window.onkeyfocus("pool", 3)') } +package.loaded["http.request"] = { + post = function(_url, _body, _opts, cb) + post_cb = cb + if mode == "sync" then cb(JSON.encode({ code = 0, data = { chapterContents = { chapter } } })) end + return { cancel = function() end } + end, +} +package.loaded["moonsource_xiaoxiang.fock"] = { + chapterAsync = function(_chapter, _font, _id, _pool, _version, uid, cb) + A.eq(uid, "42", "官网同时接受 ywGuid 与扫码生成的小写 ywguid") + decrypt_cb = cb + local handle = {} + function handle:cancel() A.eq(self, handle); stopped = true end + return handle + end, +} +package.loaded["moonsource_xiaoxiang.client"] = nil +local C = require("moonsource_xiaoxiang.client") +local result, err +local handle = C.contentAsync("book", "123", function(text, reason) result, err = text, reason end) +handle.cancel() +A.is_true(stopped, "同步正文请求不能覆盖解密句柄") +decrypt_cb("迟到正文") +A.is_nil(result) +mode, result = "wait", nil +handle = C.contentAsync("book", "123", function(text) result = text end) +handle.cancel() +post_cb(JSON.encode({ code = 0, data = { chapterContents = { chapter } } })) +A.is_nil(result) +C.contentAsync("book", "123", function(text, reason) result, err = text, reason end) +cfg.cookie = "ywguid=43" +post_cb(JSON.encode({ code = 0, data = { chapterContents = { chapter } } })) +A.is_nil(result) +A.eq(err, "账号已变化,请重新登录") +mode, cfg.cookie = "sync", "ywguid=42" +chapter.ccid = "456" +C.contentAsync("book", "123", function(text, reason) result, err = text, reason end) +A.is_nil(result) +A.eq(err, "响应无效", "错误章节不能落入请求章节缓存") +chapter.ccid, chapter.auth = "123", false +C.contentAsync("book", "123", function(text, reason, kind) result, err = text, kind or reason end) +A.is_nil(result) +A.eq(err, "unpaid") diff --git a/tests/xiaoxiang/mapper_spec.lua b/tests/xiaoxiang/mapper_spec.lua new file mode 100644 index 0000000..27b7504 --- /dev/null +++ b/tests/xiaoxiang/mapper_spec.lua @@ -0,0 +1,54 @@ +--[[-- +潇湘新站结构、长整数身份及旧目录兼容。 + +@module tests.moonsource_xiaoxiang.mapper_spec +--]] + +local A = require("support.assert") +package.loaded["json"] = require("support.json_stub") +local M = require("moonsource_xiaoxiang.mapper") + +---@type {cbId: string, ccid: string, ratio: number, exp: number, text: string}|nil +local decoded = M.decode('{"cbId" : 27760376302677004, "ccid":35554414603847008,"ratio":1.5,"exp":12345678901234567e2,' + .. '"text":"{\\"cbId\\":27760376302677004}"}') +A.eq(decoded.cbId, "27760376302677004") +A.eq(decoded.ccid, "35554414603847008") +A.eq(decoded.ratio, 1.5) +A.eq(decoded.exp, 12345678901234567e2) +A.eq(decoded.text, '{"cbId":27760376302677004}') +A.is_nil(M.decode("not JSON")) + +local function page(data) + return '' +end +local book = M.detail(page('{"detailData":{"cbid":"27760376302677004","title":" 灯花笑 ","author":"千山茶客",' + .. '"intro":"简介","categoryShortName":"古代言情","totalWords":1200}}')) +A.eq(book.stable_id, "27760376302677004") +A.eq(book.title, "灯花笑") +A.eq(book.category, "古代言情") +A.eq(book.words, 1200) +A.is_nil(M.detail("维护")) +A.is_nil(M.books({ { title = "缺身份" } })) +A.len(M.books({}), 0) +local books = M.books({ { cbId = "123", bookName = "书", authorName = "作者", cate2Name = "分类" } }) +A.eq(books[1].authors, "作者") + +local toc = M.toc(page('{"chapters":[{"type":0,"title":"正文卷"},' + .. '{"type":1,"ccid":35554414603847008,"title":"第1章","price":0},' + .. '{"type":1,"ccid":"35554414603847009","title":"第2章","price":25}]}')) +A.len(toc, 2) +A.eq(toc[1].uid, "35554414603847008") +A.eq(toc[2].idx, 2) +A.is_nil(toc[1].vip) +A.is_true(toc[2].vip) +A.eq(toc[1].toc_version, 1) +A.is_nil(M.toc(page('{"chapters":[{"type":1,"title":"缺身份"}]}'))) +local legacy = M.toc('x"chapters":[{"type":0},{"type":1,"ccid":"42","title":"旧章","price":0}]') +A.eq(legacy[1].uid, "42") +A.len(M.toc(page('{"chapters":[]}')), 0) +local ranks = page('[{"columnInfo":{"name":"潇湘票榜"},"bookList":[]},' + .. '{"columnInfo":{"name":"收藏榜"},"bookList":[{"cbid":"123","title":"收藏书"}]}]') +A.len(M.rank(ranks, "潇湘票榜"), 0, "真实空榜单与坏页面分别处理") +A.eq(M.rank(ranks, "收藏榜")[1].title, "收藏书") +A.is_nil(M.rank(ranks, "不存在的榜单")) diff --git a/tests/xiaoxiang/progress_spec.lua b/tests/xiaoxiang/progress_spec.lua new file mode 100644 index 0000000..76580b0 --- /dev/null +++ b/tests/xiaoxiang/progress_spec.lua @@ -0,0 +1,58 @@ +--[[-- +进度编排保护同步取消句柄与目录返回前的账号变更。 + +@module tests.moonsource_xiaoxiang.progress_spec +--]] +---@diagnostic disable: undefined-field, missing-fields, param-type-mismatch + +local A = require("support.assert") +local cookie, delayed, toc_cb, write_cb, stopped, writes = "old", false, nil, nil, false, 0 +local toc = { { uid = "77", title = "第一章" }, { uid = "78", title = "第二章" } } +package.loaded["moonsource_xiaoxiang.client"] = { + cookie = function() return cookie end, + shelfAsync = function(cb) + cb({ { bookid = "123", ccid = "78" } }) + return { cancel = function() end } + end, + progressAsync = function(_book, _chapter, cb) + writes = writes + 1 + write_cb = cb + return { cancel = function() stopped = true end } + end, +} +package.loaded["source.toc"] = { index = function() return 2 end } +package.loaded["moonsource_xiaoxiang.source"] = nil +local source = require("moonsource_xiaoxiang.source").new() +function source:loadTocAsync(_identity, cb) + toc_cb = cb + if not delayed then cb(toc) end + return { cancel = function() stopped = true end } +end +local identity = { source_id = "ext.xiaoxiang", stable_id = "123" } +local result, err +source:getProgressAsync(identity, function(data) result = data end) +A.eq(result.chapter_idx, 2) +A.eq(result.fraction, 0.5) +delayed, stopped, result = true, false, nil +local handle = source:getProgressAsync(identity, function(data) result = data end) +handle.cancel() +A.is_true(stopped) +toc_cb(toc) +A.is_nil(result) +source:getProgressAsync(identity, function(data, reason) result, err = data, reason end) +cookie = "new" +toc_cb(toc) +A.is_nil(result) +A.eq(err, "账号已变化,请重新登录") +cookie, delayed, stopped = "old", false, false +handle = source:putProgressAsync(identity, { chapter_idx = 2 }, function(data) result = data end) +handle.cancel() +A.is_true(stopped) +write_cb({}) +A.is_nil(result) +delayed = true +source:putProgressAsync(identity, { chapter_idx = 2 }, function(data, reason) result, err = data, reason end) +cookie = "new" +toc_cb(toc) +A.eq(writes, 1, "不能把旧书进度推到新账号") +A.eq(err, "账号已变化,请重新登录") diff --git a/tests/xiaoxiang/setting_spec.lua b/tests/xiaoxiang/setting_spec.lua new file mode 100644 index 0000000..d545173 --- /dev/null +++ b/tests/xiaoxiang/setting_spec.lua @@ -0,0 +1,51 @@ +--[[-- 潇湘账号:续期不动同步状态,换号保留本地记录。 @module tests.moonsource_xiaoxiang.setting_spec --]] +---@diagnostic disable: undefined-field, missing-fields, param-type-mismatch +local Assert = require("support.assert") +local Theme = require("support.theme_stubs") +Theme.install() +local cfg, prepared = {}, 0 +package.preload["utils.settings"] = function() + return { getSource = function() return cfg end, saveSource = function() end } +end +package.preload["moonsource_xiaoxiang.client"] = function() + return { + cookie = function() return cfg.cookie end, + userAsync = function(cookie, cb) + Assert.is_true(cookie ~= "session=old") + cb({ id = cookie == "session=same" and "111" or "222" }) + return { cancel = function() end } + end, + } +end +package.preload["source.registry"] = function() + return { reload = function() end, invalidate = function() end, + resolve = function() return { capabilities = function() return { shelf_add = true } end } end } +end +package.preload["reader.session"] = function() return { current = function() return nil end } end +package.preload["book.books_db"] = function() + return { prepareAccountSync = function(id, shelf_add) + Assert.eq(id, "ext.xiaoxiang") + Assert.is_true(shelf_add) + Assert.eq(cfg.cookie, "session=old") + prepared = prepared + 1 + return true + end } +end +local Setting = require("moonsource_xiaoxiang.setting") +local function apply(value) + local ok + Setting.browser.apply({ cookies = { { name = "session", value = value, domain = ".xxsypro.com" } } }, + function(result) ok = result end) + Assert.is_true(ok) +end +cfg = { cookie = "session=old", account_id = "111" } +apply("same") +Assert.eq(prepared, 0) +cfg = { cookie = "session=old", account_id = "111" } +apply("new") +Assert.eq(prepared, 1) +Assert.eq(cfg.account_id, "222") +Assert.is_nil(Theme.last("confirm")) +cfg = { cookie = "session=old" } +apply("same") +Assert.eq(prepared, 2) diff --git a/tools/gen_fock.js b/tools/gen_fock.js new file mode 100644 index 0000000..3c29eb3 --- /dev/null +++ b/tools/gen_fock.js @@ -0,0 +1,666 @@ +#!/usr/bin/env node +/* + * 起点 Fock(wasm2js 产物)→ LuaJIT 转译器。开发期工具,运行时不用。 + * + * 用法:node tools/gen_fock.js <输出.lua> + * 依赖:npm i acorn(仅开发机)。 + * + * 只认 wasm2js 产出的 asm.js 子集:int32 运算、七种堆视图、labeled block / + * switch / for 循环、函数表 call_indirect。表达式里的赋值 / 逗号 / 三目 / 短路 + * 提成语句并按求值顺序落临时变量;break / continue 用 goto。 + */ +"use strict"; +const acorn = require("acorn"); +const fs = require("fs"); + +const [, , srcPath, outPath] = process.argv; +const src = fs.readFileSync(srcPath, "utf8"); +const a = src.indexOf("this.exports=function(A){"); +const e = src.search(/\}\(A\)\}\(\w+\)\},instantiate/); +if (a < 0 || e < 0) throw new Error("找不到 wasm2js 导出函数"); +const code = "(" + src.slice(a + "this.exports=".length, e + "}(A)}".length) + ")"; +const ast = acorn.parse(code, { ecmaVersion: 2020 }); +const outer = ast.body[0].expression; +const inner = outer.body.body.find((n) => n.type === "ReturnStatement").argument.callee; +const top = inner.body.body; + +// 变量名每个构建都不同:从模块头的 var 声明按位置推。顺序固定为 +// 七个堆视图、imul、abs、clz32、abort、导入 b..f、栈指针 B、一个恒 0 的全局 Iv。 +const HEAP_KIND = { Int8Array: "I8", Int16Array: "I16", Int32Array: "I32", Uint8Array: "U8", Uint16Array: "U16", Uint32Array: "U32", Float64Array: "F64" }; +const HEAP = {}; +const TOPVAR = { a: "rf_a", u: "rf_u", c: "rf_c", s: "rf_s" }; +let STACK_INIT = 0; +(function header() { + const decl = top.find((s) => s.type === "VariableDeclaration"); + const plain = []; + for (const d of decl.declarations) { + const init = d.init; + if (init && init.type === "NewExpression" && HEAP_KIND[init.callee.name]) HEAP[d.id.name] = HEAP_KIND[init.callee.name]; + else if (init && init.type === "MemberExpression" && init.object.type === "Identifier" && init.object.name === "A" && init.property.name !== "buffer") TOPVAR[d.id.name] = init.property.name === "abort" ? "abort" : "imp_" + init.property.name; + else if (init && init.type === "MemberExpression" && init.object.name === "Math") TOPVAR[d.id.name] = "math.abs"; + else if (init && init.type === "Identifier") plain.push(d.id.name); + else if (init && init.type === "Literal") plain.push(d); + } + const idents = plain.filter((x) => typeof x === "string"); + TOPVAR[idents[0]] = "imul"; + TOPVAR[idents[1]] = "clz32"; + const lits = plain.filter((x) => typeof x !== "string"); + TOPVAR[lits[0].id.name] = "B"; + STACK_INIT = lits[0].init.value; + TOPVAR[lits[1].id.name] = "Iv"; +})(); +const tableDecl = top.find((s) => s.type === "VariableDeclaration" && s.declarations.length === 2 && !s.declarations[0].init); +const TABLE = new Set(tableDecl.declarations.map((d) => d.id.name)); +const fnNames = new Set(top.filter((s) => s.type === "FunctionDeclaration").map((s) => s.id.name)); +const fnRef = (n) => "F.f" + n.replace(/\$/g, "S_"); + +let tmpCount = 0; +let labelCount = 0; + +function collectVars(fn) { + const names = new Set(fn.params.map((p) => p.name)); + const vars = new Set(); + (function walk(n) { + if (!n || typeof n.type !== "string") return; + if (n !== fn && (n.type === "FunctionExpression" || n.type === "FunctionDeclaration")) return; + if (n.type === "VariableDeclarator") vars.add(n.id.name); + for (const k of Object.keys(n)) { + const v = n[k]; + if (Array.isArray(v)) v.forEach(walk); + else if (v && typeof v.type === "string") walk(v); + } + })(fn.body); + for (const p of names) vars.delete(p); + return { params: [...names], vars: [...vars], all: new Set([...names, ...vars]) }; +} + +class Fn { + constructor(node) { + this.scope = collectVars(node); + this.node = node; + this.out = []; + this.targets = []; + } + + name(id) { + if (this.scope.all.has(id)) return "v_" + id; + if (HEAP[id]) throw new Error("heap view used as value: " + id); + if (TOPVAR[id]) return TOPVAR[id]; + if (TABLE.has(id)) return "UA"; + if (fnNames.has(id)) return fnRef(id); + throw new Error("unresolved identifier " + id); + } + + isHeap(id) { + return HEAP[id] && !this.scope.all.has(id); + } + + tmp() { + return "t" + ++tmpCount; + } + + push(s) { + this.out.push(s); + } + + // ---- 类型转换 ---- + num(r) { + return r.t === "b" ? `(${r.s} and 1 or 0)` : r.s; + } + + cond(r) { + return r.t === "b" ? r.s : `(${r.s} ~= 0)`; + } + + // 带小数的值(除法结果)转 int32 前先截断 + int(r) { + const s = this.num(r); + return r.frac ? `toint(${s})` : s; + } + + // 按顺序求值一组表达式;后面的操作数产生了语句时,把前面的结果落到临时变量里 + operands(nodes, discards) { + const res = []; + for (const node of nodes) { + const mark = this.out.length; + const r = this.emit(node); + if (this.out.length > mark) { + let at = mark; + for (const prev of res) { + if (!prev.lit && !prev.tmp) { + const t = this.tmp(); + this.out.splice(at++, 0, `local ${t} = ${prev.t === "b" ? prev.s : this.num(prev)}`); + prev.s = t; + prev.tmp = true; + prev.frac = prev.frac; + prev.call = false; + } + } + } + res.push(r); + } + return res; + } + + // ---- 表达式 ---- + emit(node, discard) { + switch (node.type) { + case "Literal": + if (typeof node.value !== "number") throw new Error("非数字字面量 " + node.raw); + return { s: String(node.value), t: "n", lit: true }; + case "Identifier": + if (node.name === "undefined") return { s: "nil", t: "u", lit: true }; + return { s: this.name(node.name), t: "n" }; + case "MemberExpression": + return this.member(node); + case "CallExpression": + return this.call(node); + case "UnaryExpression": + return this.unary(node); + case "BinaryExpression": + return this.binary(node); + case "LogicalExpression": + return this.logical(node, discard); + case "ConditionalExpression": + return this.conditional(node, discard); + case "AssignmentExpression": + return this.assign(node, discard); + case "UpdateExpression": + return this.update(node, discard); + case "SequenceExpression": + return this.sequence(node, discard); + default: + throw new Error("不支持的表达式 " + node.type); + } + } + + member(node) { + if (!node.computed) { + if (node.property.name === "byteLength") return { s: "16777216", t: "n" }; + throw new Error("非计算成员访问 " + code.slice(node.start, node.end)); + } + const idx = this.operands([node.property])[0]; + if (node.object.type === "Identifier" && this.isHeap(node.object.name)) { + return { s: `${HEAP[node.object.name]}[${this.int(idx)}]`, t: "n" }; + } + return { s: `${this.emit(node.object).s}[${this.int(idx)}]`, t: "n", call: false }; + } + + call(node) { + let callee; + const argNodes = node.arguments; + if (node.callee.type === "Identifier") { + const n = node.callee.name; + if (this.scope.all.has(n)) throw new Error("调用局部变量 " + n); + callee = this.name(n); + } else if (node.callee.type === "MemberExpression") { + const r = this.operands([node.callee.property, ...argNodes]); + const idx = this.int(r.shift()); + return { s: `${this.emit(node.callee.object).s}[${idx}](${r.map((x) => this.num(x)).join(", ")})`, t: "n", call: true }; + } else { + throw new Error("不支持的调用目标 " + node.callee.type); + } + const r = this.operands(argNodes); + return { s: `${callee}(${r.map((x) => this.num(x)).join(", ")})`, t: "n", call: true }; + } + + unary(node) { + const op = node.operator; + if (op === "void") { + this.flush(this.emit(node.argument, true)); + return { s: "nil", t: "u", lit: true }; + } + const r = this.emit(node.argument); + if (op === "!") return { s: `(not ${this.cond(r)})`, t: "b" }; + if (op === "-") return { s: `(-${this.num(r)})`, t: "n", frac: r.frac }; + if (op === "+") return { s: this.num(r), t: "n", frac: true }; + if (op === "~") return { s: `bnot(${this.int(r)})`, t: "n" }; + throw new Error("不支持的一元运算 " + op); + } + + binary(node) { + const [l, r] = this.operands([node.left, node.right]); + const op = node.operator; + const L = this.num(l); + const R = this.num(r); + switch (op) { + case "+": return { s: `(${L} + ${R})`, t: "n" }; + case "-": return { s: `(${L} - ${R})`, t: "n" }; + case "*": return { s: `(${L} * ${R})`, t: "n" }; + case "/": return { s: `(${L} / ${R})`, t: "n", frac: true }; + case "%": return { s: `fmod(${L}, ${R})`, t: "n" }; + case "|": + if (node.right.type === "Literal" && node.right.value === 0) return { s: `tobit(${this.int(l)})`, t: "n" }; + return { s: `bor(${this.int(l)}, ${this.int(r)})`, t: "n" }; + case "&": return { s: `band(${this.int(l)}, ${this.int(r)})`, t: "n" }; + case "^": return { s: `bxor(${this.int(l)}, ${this.int(r)})`, t: "n" }; + case "<<": return { s: `lshift(${this.int(l)}, ${this.int(r)})`, t: "n" }; + case ">>": return { s: `arshift(${this.int(l)}, ${this.int(r)})`, t: "n" }; + case ">>>": + if (node.right.type === "Literal" && node.right.value === 0) return { s: `(tobit(${this.int(l)}) % 4294967296)`, t: "n" }; + return { s: `(rshift(${this.int(l)}, ${this.int(r)}) % 4294967296)`, t: "n" }; + case "<": case "<=": case ">": case ">=": + return { s: `(${L} ${op} ${R})`, t: "b" }; + case "==": case "===": return { s: `(${L} == ${R})`, t: "b" }; + case "!=": case "!==": return { s: `(${L} ~= ${R})`, t: "b" }; + default: throw new Error("不支持的二元运算 " + op); + } + } + + // 子表达式落到独立缓冲,返回 [语句, 结果] + sub(fn) { + const saved = this.out; + this.out = []; + const r = fn(); + const stmts = this.out; + this.out = saved; + return [stmts, r]; + } + + // 条件上下文:返回 Lua 布尔表达式 + condOf(node) { + if (node.type === "LogicalExpression") { + const l = this.condOf(node.left); + const [stmts, rc] = this.sub(() => this.condOf(node.right)); + const and = node.operator === "&&"; + if (!stmts.length) return `(${l} ${and ? "and" : "or"} ${rc})`; + const t = this.tmp(); + this.push(`local ${t} = ${l}`); + this.push(`if ${and ? t : "not " + t} then`); + this.out.push(...stmts); + this.push(`${t} = ${rc}`); + this.push("end"); + return t; + } + return this.cond(this.emit(node)); + } + + logical(node, discard) { + const and = node.operator === "&&"; + if (discard) { + const l = this.condOf(node.left); + const [stmts] = this.sub(() => this.flush(this.emit(node.right, true))); + this.push(`if ${and ? l : "not " + l} then`); + this.out.push(...stmts); + this.push("end"); + return { s: "nil", t: "u" }; + } + const l = this.emit(node.left); + const t = this.tmp(); + this.push(`local ${t} = ${this.num(l)}`); + const [stmts, r] = this.sub(() => this.emit(node.right)); + this.push(`if ${t} ${and ? "~=" : "=="} 0 then`); + this.out.push(...stmts); + this.push(`${t} = ${this.num(r)}`); + this.push("end"); + return { s: t, t: "n", tmp: true }; + } + + conditional(node, discard) { + const c = this.condOf(node.test); + const [sa, ra] = this.sub(() => this.emit(node.consequent, discard)); + const [sb, rb] = this.sub(() => this.emit(node.alternate, discard)); + if (discard) { + this.push(`if ${c} then`); + this.out.push(...sa); + this.flush(ra); + this.push("else"); + this.out.push(...sb); + this.flush(rb); + this.push("end"); + return { s: "nil", t: "u" }; + } + if (!sa.length && !sb.length) return { s: `(${c} and ${this.num(ra)} or ${this.num(rb)})`, t: "n", frac: ra.frac || rb.frac }; + const t = this.tmp(); + this.push(`local ${t}`); + this.push(`if ${c} then`); + this.out.push(...sa); + this.push(`${t} = ${this.num(ra)}`); + this.push("else"); + this.out.push(...sb); + this.push(`${t} = ${this.num(rb)}`); + this.push("end"); + return { s: t, t: "n", tmp: true }; + } + + sequence(node, discard) { + const list = node.expressions; + for (let k = 0; k < list.length - 1; k++) this.flush(this.emit(list[k], true)); + return this.emit(list[list.length - 1], discard); + } + + // 表达式作为语句:只有调用有副作用 + flush(r) { + if (r && r.call) this.push(r.s); + } + + storeCoerce(view, s) { + return view === "F64" ? s : `tobit(${s})`; + } + + assign(node, discard) { + let op = node.operator; + const left = node.left; + let right = node.right; + if (op !== "=") { + if (left.type !== "Identifier") throw new Error("复合赋值目标不是变量"); + right = { type: "BinaryExpression", operator: op.slice(0, -1), left, right }; + } + if (left.type === "Identifier") { + const target = this.name(left.name); + const r = this.emit(right); + this.push(`${target} = ${this.num(r)}`); + return { s: target, t: "n", frac: r.frac }; + } + const isHeap = left.object.type === "Identifier" && this.isHeap(left.object.name); + const [idx, r] = this.operands([left.property, right]); + const lhsBase = isHeap ? HEAP[left.object.name] : this.emit(left.object).s; + const idxS = this.int(idx); + if (discard) { + this.push(`${lhsBase}[${idxS}] = ${isHeap ? this.storeCoerce(lhsBase, this.int(r)) : this.num(r)}`); + return { s: "nil", t: "u" }; + } + const t = this.tmp(); + const ti = this.tmp(); + this.push(`local ${ti} = ${idxS}`); + this.push(`local ${t} = ${this.num(r)}`); + this.push(`${lhsBase}[${ti}] = ${isHeap ? this.storeCoerce(lhsBase, t) : t}`); + return { s: t, t: "n", tmp: true }; + } + + update(node, discard) { + if (node.argument.type !== "Identifier") throw new Error("自增目标不是变量"); + const target = this.name(node.argument.name); + const delta = node.operator === "++" ? "+" : "-"; + if (discard || node.prefix) { + this.push(`${target} = ${target} ${delta} 1`); + return { s: target, t: "n" }; + } + const t = this.tmp(); + this.push(`local ${t} = ${target}`); + this.push(`${target} = ${target} ${delta} 1`); + return { s: t, t: "n", tmp: true }; + } + + // ---- 语句 ---- + stmt(node) { + const before = tmpCount; + const mark = this.out.length; + this.stmtInner(node); + if (tmpCount !== before) { + this.out.splice(mark, 0, "do"); + this.out.push("end"); + } + } + + stmts(list) { + for (const s of list) this.stmt(s); + } + + stmtInner(node) { + switch (node.type) { + case "EmptyStatement": + return; + case "ExpressionStatement": + this.flush(this.emit(node.expression, true)); + return; + case "VariableDeclaration": + for (const d of node.declarations) { + if (d.init) this.flush(this.emit({ type: "AssignmentExpression", operator: "=", left: d.id, right: d.init }, true)); + } + return; + case "BlockStatement": + this.stmts(node.body); + return; + case "ReturnStatement": { + if (!node.argument) { this.push("do return end"); return; } + const r = this.emit(node.argument); + this.push(r.t === "u" ? "do return end" : `do return ${this.num(r)} end`); + return; + } + case "IfStatement": + this.ifStmt(node); + return; + case "ForStatement": + this.loop(node, null); + return; + case "WhileStatement": + this.loop({ type: "ForStatement", init: null, test: node.test, update: null, body: node.body }, null); + return; + case "LabeledStatement": + this.labeled(node); + return; + case "BreakStatement": + this.jump(node.label ? node.label.name : null, "brk"); + return; + case "ContinueStatement": + this.jump(node.label ? node.label.name : null, "cont"); + return; + case "SwitchStatement": + this.switchStmt(node, null); + return; + default: + throw new Error("不支持的语句 " + node.type); + } + } + + ifStmt(node) { + const c = this.condOf(node.test); + this.push(`if ${c} then`); + this.stmt(node.consequent); + if (node.alternate) { + this.push("else"); + this.stmt(node.alternate); + } + this.push("end"); + } + + jump(label, kind) { + for (let k = this.targets.length - 1; k >= 0; k--) { + const t = this.targets[k]; + let to = null; + if (label) { + if (t.label === label) to = kind === "brk" ? t.brk : t.cont; + } else if (kind === "brk" ? t.loop || t.sw : t.loop) { + to = kind === "brk" ? t.brk : t.cont; + } + if (to) { + this.push(`goto ${to}`); + return; + } + } + throw new Error("找不到跳转目标 " + label + " " + kind); + } + + labeled(node) { + const label = node.label.name; + const body = node.body; + if (body.type === "ForStatement" || body.type === "WhileStatement") { + this.loop(body.type === "WhileStatement" + ? { type: "ForStatement", init: null, test: body.test, update: null, body: body.body } + : body, label); + } else if (body.type === "SwitchStatement") { + this.switchStmt(body, label); + } else { + const brk = "L" + ++labelCount; + this.targets.push({ label, brk }); + this.push("do"); + this.stmt(body); + this.push("end"); + this.targets.pop(); + this.push(`::${brk}::`); + } + } + + loop(node, label) { + const id = ++labelCount; + const t = { label, loop: true, brk: "B" + id, cont: "C" + id }; + this.push("do"); + if (node.init) this.stmt(node.init.type === "VariableDeclaration" ? node.init : { type: "ExpressionStatement", expression: node.init }); + this.push("while true do"); + if (node.test) { + const before = tmpCount; + const mark = this.out.length; + const c = this.condOf(node.test); + this.push(`if not ${c} then goto ${t.brk} end`); + if (tmpCount !== before) { + this.out.splice(mark, 0, "do"); + this.push("end"); + } + } + this.targets.push(t); + this.push("do"); + this.stmt(node.body); + this.push("end"); + this.targets.pop(); + this.push(`::${t.cont}::`); + if (node.update) this.stmt({ type: "ExpressionStatement", expression: node.update }); + this.push("end"); + this.push("end"); + this.push(`::${t.brk}::`); + } + + switchStmt(node, label) { + const id = ++labelCount; + const end = "S" + id; + const d = this.emit(node.discriminant); + const sv = "sw" + id; + this.push("do"); + this.push(`local ${sv} = ${this.int(d)}`); + const cases = node.cases; + let first = true; + let def = null; + cases.forEach((c, k) => { + if (!c.test) { def = k; return; } + const tv = this.emit(c.test); + this.push(`${first ? "if" : "elseif"} ${sv} == ${tv.s} then goto K${id}_${k}`); + first = false; + }); + if (first) this.push(`goto ${def === null ? end : "K" + id + "_" + def}`); + else this.push(`else goto ${def === null ? end : "K" + id + "_" + def} end`); + this.targets.push({ label, sw: true, brk: end }); + cases.forEach((c, k) => { + this.push(`::K${id}_${k}::`); + this.push("do"); + this.stmts(c.consequent); + this.push("end"); + }); + this.targets.pop(); + this.push("end"); + this.push(`::${end}::`); + } + + body() { + this.stmts(this.node.body.body); + return this.out; + } + + render(header) { + const body = this.body(); + const locals = this.scope.vars.length + ? `local ${this.scope.vars.map((v) => "v_" + v).join(", ")} = ${this.scope.vars.map(() => "0").join(", ")}` + : ""; + return `${header}(${this.scope.params.map((p) => "v_" + p).join(", ")})\n${locals}\n${body.join("\n")}\nend`; + } +} + +function fnSource(node, header) { + return new Fn(node).render(header); +} + +const lines = []; +lines.push("-- 由 tools/gen_fock.js 从起点 / QQ阅读的 Fock(wasm2js)转译生成,勿手改。"); +lines.push("-- 运行环境见 fock.lua;env = { mem = ffi uint8_t*, imp = { b, c, d, e, f, abort } }。"); +lines.push("local bit = require(\"bit\")"); +lines.push("local ffi = require(\"ffi\")"); +lines.push("local tobit, band, bor, bxor, bnot = bit.tobit, bit.band, bit.bor, bit.bxor, bit.bnot"); +lines.push("local lshift, rshift, arshift = bit.lshift, bit.rshift, bit.arshift"); +lines.push("local fmod = math.fmod"); +lines.push(""); +lines.push("local function toint(x)"); +lines.push(" return tobit(x >= 0 and math.floor(x) or -math.floor(-x))"); +lines.push("end"); +lines.push(""); +lines.push("local function imul(a, b)"); +lines.push(" a, b = tobit(a), tobit(b)"); +lines.push(" return tobit(band(a, 65535) * b + lshift(tobit(rshift(a, 16) * b), 16))"); +lines.push("end"); +lines.push(""); +lines.push("local function clz32(x)"); +lines.push(" x = tobit(x)"); +lines.push(" if x == 0 then return 32 end"); +lines.push(" if x < 0 then return 0 end"); +lines.push(" local n = 0"); +lines.push(" while x > 0 do x = lshift(x, 1); n = n + 1 end"); +lines.push(" return n"); +lines.push("end"); +lines.push(""); +lines.push("return function(env)"); +lines.push("local mem = env.mem"); +lines.push("local abort, imp_b, imp_c, imp_d, imp_e, imp_f = env.imp.abort, env.imp.b, env.imp.c, env.imp.d, env.imp.e, env.imp.f"); +lines.push("local I8, I16, I32 = ffi.cast(\"int8_t*\", mem), ffi.cast(\"int16_t*\", mem), ffi.cast(\"int32_t*\", mem)"); +lines.push("local U8, U16, U32 = ffi.cast(\"uint8_t*\", mem), ffi.cast(\"uint16_t*\", mem), ffi.cast(\"uint32_t*\", mem)"); +lines.push("local F64 = ffi.cast(\"double*\", mem)"); +lines.push(`local B, Iv = ${STACK_INIT}, 0`); +lines.push("local scratch = ffi.new(\"int32_t[4]\")"); +lines.push("local scratch_f = ffi.cast(\"double*\", scratch)"); +lines.push("local function rf_a(i) return scratch[i] end"); +lines.push("local function rf_u(i, v) scratch[i] = v end"); +lines.push("local function rf_c() return scratch_f[0] end"); +lines.push("local function rf_s(v) scratch_f[0] = v end"); +lines.push("local F = {}"); +lines.push("local UA = { [0] = false }"); +lines.push("local YA = UA"); +lines.push(""); + +for (const s of top) { + if (s.type === "FunctionDeclaration") { + lines.push(fnSource(s, fnRef(s.id.name) + " = function")); + lines.push(""); + } +} + +// 函数表 +let arrayNode = null; +(function find(n) { + if (!n || typeof n.type !== "string" || arrayNode) return; + if (n.type === "ArrayExpression") { arrayNode = n; return; } + for (const k of Object.keys(n)) { + const v = n[k]; + if (Array.isArray(v)) v.forEach(find); + else if (v && typeof v.type === "string") find(v); + } +})(tableDecl.declarations[1].init); +arrayNode.elements.forEach((el, k) => { + if (el === null || el.type === "Literal") return; + if (el.type === "Identifier") lines.push(`UA[${k}] = ${fnRef(el.name)}`); + else lines.push(fnSource(el, `UA[${k}] = function`)); +}); +lines.push(""); + +// 数据段 +const dataStmt = top.find((s) => s.type === "ExpressionStatement" && [].concat(s.expression.type === "SequenceExpression" ? s.expression.expressions : [s.expression]).every((c) => c.type === "CallExpression" && c.arguments.length === 3 && c.arguments[2].type === "Literal" && typeof c.arguments[2].value === "string")); +const calls = dataStmt.expression.type === "SequenceExpression" ? dataStmt.expression.expressions : [dataStmt.expression]; +lines.push("local DATA = {"); +for (const c of calls) { + const off = c.arguments[1].value; + const b64 = c.arguments[2].value; + lines.push(` { ${off}, "${b64}" },`); +} +lines.push("}"); +lines.push(""); + +// 导出 +const ret = top.find((s) => s.type === "ReturnStatement"); +lines.push("local exports = {}"); +for (const p of ret.argument.properties) { + const key = p.key.name; + if (p.value.type === "FunctionExpression") lines.push(fnSource(p.value, `exports.${key} = function`)); + else if (p.value.type === "Identifier" && TABLE.has(p.value.name)) lines.push(`exports.${key} = UA`); + else if (p.value.type === "Identifier") lines.push(`exports.${key} = ${fnRef(p.value.name)}`); + else throw new Error("不支持的导出 " + key); +} +lines.push("return exports, DATA, function(v) B = v end, function() return B end"); +lines.push("end"); +fs.writeFileSync(outPath, lines.join("\n") + "\n"); +console.log("generated", outPath, fs.statSync(outPath).size, "bytes");