Postrisc log

Execute: doomgeneric.postrisc

pid=39342 pagesize=4096

ELF file `doomgeneric.postrisc` size=608856

ELF header
e_ident 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
class2
data1
version1
osabi0
abiversion0
type3
machine0x1973
version1
entry398272
phoff64
shoff607768
flags0x50000000
ehsize64
phentsize56
phnum9
shentsize64
shnum17
shstrndx15
Section headers
idoffsetaddrsizealignlinkinfoentsizetypenameflags
00000000NULL
15685682484124DYNSYM.dynsym ALLOC
2592592288100GNU_HASH.gnu.hash ALLOC
3620620164104HASH.hash ALLOC
463663611000STRTAB.dynstr ALLOC
56406403043281024RELA.rela.dyn ALLOC
6310729660830356816000PROGBITS.text ALLOC EXECINSTR
733464046571210508016000PROGBITS.rodata ALLOC MERGE STRINGS
843972063632813048000PROGBITS.data.rel.ro WRITE ALLOC
944102463763224084016DYNAMIC.dynamic WRITE ALLOC
1044126463787211041000NOBITS.relro_padding WRITE ALLOC
11441264703408795208000PROGBITS.data WRITE ALLOC
125207847829282660808000NOBITS.bss WRITE ALLOC
135207840501001PROGBITS.comment MERGE STRINGS
14520840056496816222124SYMTAB.symtab
1557733601401000STRTAB.shstrtab
165774760302851000STRTAB.strtab
Program headers
idoffsetvaddrpaddrfileszmemszalignrwxtypesections
06464645045048r--phdr
1000310723107265536r--load.dynsym .gnu.hash .hash .dynstr .rela.dyn
231072966089660830356830356865536r-xload.text
333464046571246571210508010508065536r--load.rodata
44397206363286363281544264865536rw-load.data.rel.ro .dynamic .relro_padding
54412647034087034087952034560065536rw-load.data .bss
64410246376326376322402408rw-dynamic.dynamic
7439720636328636328154426481r--relro.data.rel.ro .dynamic .relro_padding
8000000rw-stack

mapped image: 0x00007f3890e69000

SECTION: 0 name=

SECTION: 1 name=.dynsym

SECTION: 2 name=.gnu.hash

SECTION: 3 name=.hash

SECTION: 4 name=.dynstr

SECTION: 5 name=.rela.dyn

RELA: 1268 relocs
offsetaddendvalueinfo
63632878330407
63633670396007
63634449361307
63636046690807
63636849307307
63638447788707
63639246797707
63640847432207
63641648964707
63643247855207
63644047626107
63645648530707
63646446946907
63648046691607
63648849308607
63650449362307
63651248532207
63652849161007
63653646581607
63655246798507
63656049362807
63657648363607
63658448533307
63660046692707
63660848592507
63662449161707
63663248277507
63664847381507
63665647114607
63667246997007
63668078673207
63668870455207
63669647244507
63670448969307
63672046804207
63672848130907
63674447245607
63675247385007
63676848131307
63677647447007
63679249362307
63680047631907
63681647538707
63682447972207
63684048417907
63684848596807
63686448044207
63687247973107
63688846691607
63689647003707
63693615417607
63694415422407
63695215441607
63696015443207
63696815478407
63697615523207
63698476681207
63699276681607
63700076682007
63700876682407
63701676682807
63702476683207
63703276683607
63704076684007
63712881887607
63715281887207
63717681886807
63720081886407
63729682422407
63739282468007
63744082454407
63748882453607
63751282454007
63756082454807
63760078108007
63760878180007
63761678244807
70398412145607
70403212153607
70404012193607
70404878345607
70419270396007
70420846686107
70421647421607
70422446787407
70423248858007
70424048510607
70424847849707
70425647426607
70426448960607
70427246686107
70428046866207
70428848516307
70429646792507
70430446576207
70431248863107
70432046940907
70432848523607
70457612145607
70462413361607
70463212193607
70464078677207
70478470455207
70480813630407
70481615566407
70482414878407
70483222862407
70484047997307
70485647007407
70487248284607
70488849168207
70490448708707
70492046595207
70493647684407
70495247385407
70496847008607
70498449168607
70500048132807
70501648892207
70503246874407
70504848604507
70506448419007
70508048970407
70509647685407
70514448800607
70515247010007
70517647998307
70518446596207
70520846816207
70521648606107
70524047054107
70524848134307
70527248709807
70528048971907
70530448184707
70531249012507
70533649379207
70534447545907
70536848710607
70537648711407
70540048049707
70540847166607
70543248286407
70544047246507
70546448709807
70547248421207
70549648184707
70550448050507
70552849379207
70553648185507
70556048710607
70556847686307
70559248049707
70560048287207
70562448286407
70563247863907
70565648709807
70566449169807
70568848184707
70569646702207
70572049379207
70572849380007
70575248710607
70576049213207
70578448049707
70579247448007
70581648286407
70582447183107
70616047353207
70616848217807
70617649413607
70618448543107
70619247193907
70620049320307
70620847353507
70621649414407
70622446642907
70623247734707
70624048760907
70624848893107
70625647388307
70626448801507
70627246723707
70628048461407
70628848463407
70629649261207
70630447797907
70631248220207
70632048371507
70632847355707
70633647633407
70634446645107
70635247057507
70636049415507
70636849082407
70637647921507
70638448802107
70639246888007
70640049417007
70640847357807
70641648000007
70642447635407
70643247389107
70644047261207
70644847263207
70645648804707
70646447464507
70647246725007
70648049084107
70648846817907
70649647578407
70650448465507
70651249419107
70652048304607
70652847265507
70653648306907
70654447923607
70655247735107
70656048222707
70656848222707
70657648222707
70658448222707
70659248222707
70660048222707
70660848222707
70661648222707
70662448222707
70663247465707
70664048223607
70664847637807
70665648894007
70666448309307
70667249085507
70668048467807
70668847580507
70669647736207
70670447390907
70671246726007
70672046955007
70672847393407
70673647737907
70674449087607
70675249263407
70676047194507
70676848312007
70677648469907
70678448225607
70679246957207
70680048227407
70680846729007
70681648001607
70682448003607
70683249090207
70684047395307
70684849093207
70685649420907
70686446731507
70687247740507
70688047467507
70688847268307
70689646959007
70690449423407
70691249424907
70692048005707
70692848657107
70693647639907
70694447925707
70695246890007
70696047583107
70696846819807
70697649265207
70698447742707
70699246647207
70700048895907
70700847641907
70701647799607
70702448898207
70703247927207
70704047928607
70704847360407
70705648545707
70706449321307
70707247931307
70708048548607
70708848761707
70709648314407
70710448007707
70711246821507
70712048373807
70712848229807
70713646824307
70714447469207
70715248376807
70716047471607
70716848900407
70717648231707
70718448233307
70719247934207
70720046891907
70720848378707
70721648009807
70722447059807
70723246649007
70724047585107
70724848659307
70725647062507
70726446733707
70727248763407
70728047397707
70728847473907
70729647064507
70730448902207
70731246893407
70732048905407
70732848472107
70733648806407
70734446736307
70735248908507
70736047801507
70736848316607
70737648808607
70738448081607
70739249266807
70740048011907
70740849271107
70741646826107
70742448318707
70743248083407
70744048083907
70744846738307
70745648235407
70746448766007
70747248915307
70748049095907
70748848319207
70749649426407
70750449271607
70751248012407
70752047269807
70752848551907
70753648382407
70754446961307
70755248661507
70756049272107
70756847744707
70757647587907
70758448662007
70759246738807
70760048810607
70760848552407
70761649272607
70762447643807
70763247126807
70764047127307
70764848012907
70765648013407
70766447478307
70767247198307
70768046650707
70768847399207
70769647588407
70770446651207
70771248662507
70772047937107
70772848013907
70773648915807
70774447127807
70775248235907
70776047937607
70776848319707
70777647270307
70778446826607
70779248552907
70780048014407
70780848473807
70781648663007
70782447588907
70783247067407
70784047198807
70784848553407
70785649273107
70786447938107
70787247128307
70788047478807
70788847938607
70789647939107
70790448474307
70791248553907
70792048084407
70792847270807
70793646827107
70794447128807
70795248554407
70796048663507
70796848916307
70797646739307
70798447067907
70799246827607
70800046961807
70800848664007
70801649323307
70802449273607
70803247068407
70804048664507
70804849323807
70805647803007
70806448236407
70807248916807
70808048554907
70808847644307
70809648236907
70810448665007
70811247803507
70812047399707
70812848474807
70813647745207
70814447589407
70815247271307
70816047939607
70816849274107
70817647362107
70818446739807
70819247804007
70820047940107
70820847804507
70821649426907
70822447400207
70823247400707
70824048084907
70824847068907
70825647940607
70826448766507
70827247271807
70828048475307
70828847479307
70829646895207
70830448475807
70831246895707
70832049274607
70832849275107
70833648811107
70834447069407
70835247129307
70836048665507
70836847069907
70837648237407
70838448085407
70839249324307
70840048555407
70840847272307
70841649275607
70842447745707
70843248767007
70844046896207
70844846962307
70845648666007
70846447746207
70847249427407
70848048382907
70848846896707
70849648085907
70856828481607
70860828137607
70864828192007
70868828206407
70876828222407
70888828177607
70892828137607
70896828192007
70900828206407
70908828361607
70916828177607
70920828483207
70924828137607
70928828192007
70932828206407
70940828382407
70968828177607
70972828483207
70976828486407
70980828137607
70984828192007
70988828206407
70996828416007
71004828188807
71008824908807
71016824912007
71024824915207
71028828177607
71040828483207
71044828486407
71048828137607
71052828192007
71056828206407
71060828452807
71064828452807
71068828177607
71072828483207
71076828486407
71080828137607
71084828192007
71088828206407
71092828216007
71096828286407
71100828177607
71104828483207
71112828486407
71116828486407
71120828137607
71124828137607
71128828192007
71132828206407
71136828248007
71140828248007
71144828177607
71148828137607
71152828192007
71156828206407
71160828312007
71164828177607
71168828483207
71172828483207
71176828137607
71180828192007
71184828206407
71188828515207
71192828216007
71196828299207
71200828177607
71204828483207
71208828486407
71328828489607
71360824819207
71480824814407
71488825036807
71492824105607
71516824811207
71520824105607
71548824108807
71552824108807
71556824145607
71560824145607
71564824145607
71568824145607
71572824145607
71576824145607
71580824145607
71584824145607
71588824225607
71592824240007
71604824814407
71612824787207
71616824105607
71632824811207
71636824105607
71680824108807
71684824108807
71688824145607
71692824145607
71696824145607
71700824145607
71704824145607
71708824145607
71712824145607
71716824145607
71720824225607
71724824260807
71736824814407
71744824787207
71748824105607
71764824811207
71768824105607
71816824108807
71820824108807
71824824518407
71828824518407
71832824518407
71836824518407
71840824518407
71844824518407
71848824518407
71852824518407
71856824518407
71860824518407
71864824518407
71868824518407
71872824563207
71876824225607
71880824595207
71884824225607
71888824225607
71892824225607
71896824225607
71900824225607
71904824225607
71908824606407
71932824814407
71940824787207
71944824105607
71976824566407
71980824571207
71984824571207
71988824571207
71992824590407
71996824571207
72000824571207
72004824571207
72008824571207
72012824571207
72016824571207
72020824571207
72024824571207
72028824571207
72032824571207
72036824571207
72040824571207
72044824571207
72048824590407
72052824571207
72056824571207
72060824571207
72064824571207
72068824571207
72072824571207
72076824571207
72080824571207
72084824571207
72088824571207
72092824571207
72116824422407
72120824422407
72136824108807
72140824108807
72144824145607
72148824145607
72152824145607
72156824145607
72160824145607
72164824145607
72168824145607
72172824145607
72176824145607
72180824145607
72184824145607
72188824145607
72192824225607
72196824475207
72200824225607
72204824481607
72208824225607
72212824225607
72216824406407
72220824225607
72228824814407
72240824787207
72244824105607
72300824108807
72304824108807
72308824145607
72312824145607
72316824145607
72320824145607
72324824145607
72328824145607
72332824145607
72336824145607
72340824145607
72344824145607
72348824145607
72352824145607
72356824633607
72360824638407
72364824225607
72368824225607
72372824657607
72376824225607
72380824225607
72384824676807
72388824225607
72392824225607
72400824814407
72408824787207
72412824105607
72440824822407
72476824108807
72480824108807
72484824145607
72488824145607
72492824145607
72496824145607
72500824145607
72504824145607
72508824145607
72512824145607
72516824225607
72520824283207
72524824283207
72528824304007
72536824814407
72544824787207
72548824105607
72572824811207
72576824105607
72620824108807
72624824108807
72628824145607
72632824145607
72636824145607
72640824145607
72644824145607
72648824145607
72652824145607
72656824145607
72660824225607
72664824225607
72668824332807
72676824814407
72684824787207
72692824105607
72704824811207
72712824105607
72752824108807
72756824108807
72760824145607
72764824145607
72768824145607
72772824145607
72776824145607
72780824145607
72784824145607
72788824145607
72792824225607
72796824225607
72800824350407
72808824814407
72816824787207
72824824105607
72860824108807
72864824145607
72868824225607
72872824225607
72876824364807
72884824814407
72896824787207
72908824105607
72960824108807
72964824108807
72968824145607
72972824145607
72976824145607
72980824145607
72984824145607
72988824145607
72992824145607
72996824145607
73000824225607
73004824225607
73008824388807
73016824814407
73024824787207
73032824105607
73044824822407
73076824108807
73080824108807
73084824145607
73088824145607
73092824145607
73096824145607
73100824145607
73104824145607
73108824145607
73112824145607
73116824225607
73120824225607
73124824388807
73132824814407
73140824787207
73148824105607
73192824108807
73196824108807
73200824145607
73204824145607
73208824225607
73212824704007
73228824814407
73236824787207
73244824105607
73256824108807
73260824108807
73264824899207
73268824145607
73272824145607
73276824145607
73280824899207
73284824145607
73288824145607
73292824145607
73296824899207
73300824145607
73304824145607
73308824145607
73312824225607
73316824260807
73320824260807
73324824315207
73332824814407
73336824787207
73340824105607
73376824822407
73380824108807
73384824108807
73392824904007
73396824145607
73400824145607
73404824145607
73408824145607
73412824145607
73416824904007
73420824145607
73424824145607
73428824145607
73432824145607
73436824145607
73440824225607
73444824326407
73452824315207
73460824814407
73464824787207
73468824105607
73488824822407
73548824108807
73552824108807
73556824894407
73560824145607
73564824145607
73568824145607
73572824145607
73576824145607
73580824899207
73584824145607
73588824225607
73592824382407
73596824225607
73600824382407
73604824225607
73608824382407
73612824814407
73620824787207
73636824105607
73652824822407
73656824108807
73660824145607
73664824145607
73668824145607
73672824145607
73676824145607
73680824145607
73684824225607
73688824225607
73692824225607
73696824768007
73704824814407
73712824787207
73724824774407
73756824108807
73760824108807
73764824145607
73768824145607
73772824145607
73776824145607
73780824145607
73784824145607
73788824145607
73792824145607
73796824225607
73800824225607
73804824283207
73808824225607
73812824283207
73816824304007
73824824814407
73832824787207
73836824105607
73852824811207
73856824105607
73916824787207
73948824091207
73960824814407
73968824936007
73972824939207
73984824974407
73988824108807
73992824920007
73996824976007
74000824993607
74004824998407
74008824998407
74012824998407
74016824571207
74020824571207
74024824571207
74028824571207
74032824571207
74036824571207
74040824571207
74044824571207
74056824960007
74088824787207
74096824819207
75986417796807
75989617809607
75992817830407
75996017857607
75999217891207
76001617992007
76002418006407
76004817992007
76005618057607
76008017992007
76008818164807
76011217992007
76012018328007
76014417992007
76015218558407
76017617992007
76018418635207
76020817992007
76021618662407
76024018699207
76024818708807
76027217992007
76028018737607
76030417992007
76031218803207
76034447193807
76036049949607
76036846997707
76040047537607
76043246696407
76046447750207
76049648557707
76052847382107
76056047074207
76059248815207
76062449127907
76065648816107
76068848014907
76072049280607
76075246967307
76078446968707
76081648241607
76084849433407
76088048674307
76091247075207
76094449128607
76097649282207
76100847129807
76104047751207
76107248321007
76110446741307
76113647491607
76116847805907
76120048322107
76123247200007
76126448095207
76129647492807
76132847646907
76136047131107
76139248096407
76142447648507
76145646653307
76148849129907
76152047590807
76155249130807
76158447365407
76161648383407
76164848918907
76168048097607
76171248016407
76174446969607
76177647941107
76180848768007
76184048017907
76187247494107
76190447403307
76193647649607
76196848534507
76200046742407
76203249309507
76206447124307
76209646651707
76212847748807
76216047942407
76219247484607
76222447362607
76225648666507
76228847495007
76232047650607
76235246743507
76238446906007
76241647591607
76244847272807
76248047592507
76251246654607
76254447132207
76257648559007
76260847651407
76264047593607
76267246970807
76270447201307
76273648675707
76276848099007
76280047202407
76283247404407
76286447366407
76289647407007
76292847752407
76296048920107
76299247133307
76302447204207
76305646744607
76308849131907
76312048676807
76315246971907
76318448811607
76321647485607
76324846830407
76328048476307
76331248384407
76334447323607
76337647134707
76340848278507
76344047627107
76347249283707
76350448323307
76353648099807
76356849427907
76360048917307
76363247746707
76366449429407
76369648555907
76372847644807
76376046828107
76379248921407
76382448817007
76385648101407
76388848324607
76392048104007
76395248477907
76398447136307
76401647807007
76404849132607
76408047652507
76411246973507
76414447948107
76417646907007
76420846908907
76424047138907
76427248480507
76430447495907
76433648678707
76436847809607
76440047273907
76443249434607
76446448560107
76449648769007
76452849135207
76456047140507
76459246832407
76462448819607
76465646975107
76468848327207
76472047811207
76475248821007
76478447753807
76481647812907
76484847949807
76488048822707
76491247497807
76494448679807
76497648770007
76500848771507
76504048824107
76507246910507
76510447814307
76513646976607
76516848482307
76520047205307
76523247367507
76526447207207
76529646833807
76532846978107
76536046655707
76539247815707
76542448561207
76545647209207
76548846657107
76552047594707
76555248328607
76558446835307
76561647755307
76564848483107
76568046979507
76571248562507
76574447210707
76577648563707
76580847499407
76584047951207
76587248564907
76590446658707
76593649436407
76596849325507
76600048385607
76603249327007
76606448242607
76609648681407
76612848386907
76616046659907
76619247655107
76622446836607
76625646662207
76628848244507
76632047952407
76635247656407
76638447409107
76641647275707
76644846664207
76648047211907
76651247658507
76654448924007
76657647817007
76716846839107
76717647076607
76720021820807
76723221836807
76726421840007
76729621851207
76732821864007
76736021867207
76739276718407
76740021883207
76743221888007
76746421888007
76749621888007
76752821888007
76755276737607
76756076741607
76756821907207
76760021912007
76763221912007
76766421912007
76769621912007
76772821912007
76775276754407
76776076758407
76776821924807
76780021934407
76783221950407
76786421958407
76789621966407
76796021980807
76802421990407
76804876737607
76805676778407
76806421993607
76809622019207
76812076737607
76812876808007
76813622028807
76816822052807
76819276811207
76820076815207
76820822056007
76824022062407
76830422073607
76836076804007
76836876822407
76837622084807
76840822097607
76844022097607
76847222097607
76850422097607
76853622097607
76856822097607
76859276737607
76860076839207
76860822104007
76864022118407
76867222118407
76870422118407
76873622118407
76876822118407
76880022118407
76882476737607
76883276862407
76884022131207
77076849297507
77080047833407
77083248349107
77086448023807
77089647419707
77092846682007
77096046682507
77099248700307
77102448024307
77105647112007
77108848947207
77112049351207
77115249154807
77118446847407
77121646683007
77124848349607
77128049155307
77131247155507
77134447371707
77137647970507
77140846683507
77144046991007
77147246991507
77150447231507
77153647971007
77156848024807
77160046684007
77163248025307
77166449298007
77169649450307
77172848399607
77176047522207
77179248025907
77182448947707
77185648781907
77188847615207
77192048969907
77195247833907
77198447766107
77201648263107
77204848124807
77208047112507
77211248782607
77214446847907
77217647447407
77220846848607
77224047372207
77227248574807
77230447319707
77233647320407
77236848497907
77240048026607
77243246849307
77246448125507
77249648700807
77252848701407
77256047971507
77259247232007
77262447522907
77265647615907
77268848948407
77272046684507
77275247834607
77278446935607
77281648350107
77284847616507
77288048027307
77844077297607
78107252797207
78288039616007
78288839628807
78289639609607

SECTION: 6 name=.text

SECTION: 7 name=.rodata

SECTION: 8 name=.data.rel.ro

SECTION: 9 name=.dynamic

_DYNAMIC offset=637632
tagvaluedescription
FLAGS_1134217728 PIE
DEBUG0
RELA640
RELASZ30432
RELAENT24
RELACOUNT1268
SYMTAB568
SYMENT24
STRTAB636
STRSZ1
GNU_HASH592
HASH620
INIT398368
FINI146720
NULL0

SECTION: 10 name=.relro_padding

SECTION: 11 name=.data

SECTION: 12 name=.bss

SECTION: 13 name=.comment

SECTION: 14 name=.symtab

Symtab: 2353 symbols
valuesizebindtypevisibltysectionname
00localfiledefaultABSdoomstat.c
00localfiledefaultABSp_user.c
00localfiledefaultABS__stdio_close.c
00localfiledefaultABSd_mode.c
00localfiledefaultABS_Exit.c
00localfiledefaultABSr_bsp.c
00localfiledefaultABS__stdio_write.c
00localfiledefaultABSexit.c
00localfiledefaultABS__stdio_seek.c
00localfiledefaultABSstrcmp.c
00localfiledefaultABSlseek.c
00localfiledefaultABSatoi.c
00localfiledefaultABSfprintf.c
00localfiledefaultABSdoomdef.c
00localfiledefaultABSp_tick.c
00localfiledefaultABSstrncasecmp.c
00localfiledefaultABSr_data.c
00localfiledefaultABSr_draw.c
00localfiledefaultABSr_main.c
00localfiledefaultABSr_plane.c
00localfiledefaultABSdstrings.c
00localfiledefaultABSr_segs.c
00localfiledefaultABSr_sky.c
00localfiledefaultABSd_event.c
00localfiledefaultABSr_things.c
00localfiledefaultABSsha1.c
00localfiledefaultABSsounds.c
00localfiledefaultABSd_net.c
00localfiledefaultABSp_plats.c
00localfiledefaultABSlibc.c
00localfiledefaultABSp_pspr.c
00localfiledefaultABSp_saveg.c
00localfiledefaultABSfwrite.c
00localfiledefaultABSf_finale.c
00localfiledefaultABSmemcpy.c
00localfiledefaultABSstrerror.c
00localfiledefaultABSputchar.c
00localfiledefaultABSp_setup.c
00localfiledefaultABS__lctrans.c
00localfiledefaultABSp_sight.c
00localfiledefaultABSp_spec.c
00localfiledefaultABSstatdump.c
00localfiledefaultABSp_switch.c
00localfiledefaultABSstrnlen.c
00localfiledefaultABSmemchr.c
00localfiledefaultABSwctomb.c
00localfiledefaultABSwcrtomb.c
00localfiledefaultABSmemset.c
00localfiledefaultABS__signbitl.c
00localfiledefaultABS__fpclassifyl.c
00localfiledefaultABSfrexpl.c
00localfiledefaultABSscalbn.c
00localfiledefaultABSstderr.c
00localfiledefaultABSp_telept.c
00localfiledefaultABS__stdout_write.c
00localfiledefaultABS__libc_start_main.c
00localfiledefaultABSdefsysinfo.c
00localfiledefaultABS__init_tls.c
00localfiledefaultABSdefault_attr.c
00localfiledefaultABSd_main.c
00localfiledefaultABSmmap.c
00localfiledefaultABSposix_spawn.c
00localfiledefaultABSd_loop.c
00localfiledefaultABSprintf.c
00localfiledefaultABSmprotect.c
00localfiledefaultABS__overflow.c
00localfiledefaultABSmunmap.c
00localfiledefaultABSfputs.c
00localfiledefaultABSScrt1.c
00localfiledefaultABSstrdup.c
00localfiledefaultABSstrlen.c
00localfiledefaultABSlite_malloc.c
00localfiledefaultABSpthread_setcancelstate.c
00localfiledefaultABSstdout.c
00localfiledefaultABSpipe.c
00localfiledefaultABSputs.c
00localfiledefaultABSpipe2.c
00localfiledefaultABSmemrchr.c
00localfiledefaultABSstrrchr.c
00localfiledefaultABStolower.c
00localfiledefaultABSstrcasecmp.c
00localfiledefaultABSw_wad.c
00localfiledefaultABSst_lib.c
00localfiledefaultABSd_items.c
00localfiledefaultABSst_stuff.c
00localfiledefaultABSd_iwad.c
00localfiledefaultABSs_sound.c
00localfiledefaultABS__syscall_cp.c
00localfiledefaultABStables.c
00localfiledefaultABSv_video.c
00localfiledefaultABSwi_stuff.c
00localfiledefaultABSw_checksum.c
00localfiledefaultABSw_file.c
00localfiledefaultABSw_main.c
00localfiledefaultABSp_mobj.c
00localfiledefaultABScalloc.c
00localfiledefaultABSreplaced.c
00localfiledefaultABSfree.c
00localfiledefaultABSfree.c
00localfiledefaultABSz_zone.c
00localfiledefaultABSw_file_stdc.c
00localfiledefaultABSi_input.c
00localfiledefaultABSmalloc.c
00localfiledefaultABSi_video.c
00localfiledefaultABSdoomgeneric.c
00localfiledefaultABSdoomgeneric_postrisc.c
00localfiledefaultABSclose.c
00localfiledefaultABSshgetc.c
00localfiledefaultABSfflush.c
00localfiledefaultABSfclose.c
00localfiledefaultABSofl_add.c
00localfiledefaultABS__stdio_read.c
00localfiledefaultABSmemio.c
00localfiledefaultABS__fdopen.c
00localfiledefaultABS__fmodeflags.c
00localfiledefaultABSstrchrnul.c
00localfiledefaultABSstrchr.c
00localfiledefaultABSfopen.c
00localfiledefaultABScopysignl.c
00localfiledefaultABSfloatscan.c
00localfiledefaultABS__uflow.c
00localfiledefaultABSfmodl.c
00localfiledefaultABS__toread.c
00localfiledefaultABSi_timer.c
00localfiledefaultABSvfscanf.c
00localfiledefaultABSposix_spawnattr_destroy.c
00localfiledefaultABSvsscanf.c
00localfiledefaultABSsscanf.c
00localfiledefaultABS_exit.c
00localfiledefaultABSexecve.c
00localfiledefaultABSi_sound.c
00localfiledefaultABSfread.c
00localfiledefaultABSm_misc.c
00localfiledefaultABSi_system.c
00localfiledefaultABSmremap.c
00localfiledefaultABSi_cdmus.c
00localfiledefaultABS__multi3.c
00localfiledefaultABSmbsinit.c
00localfiledefaultABSam_map.c
00localfiledefaultABSatof.c
00localfiledefaultABSinfo.c
00localfiledefaultABSstrtod.c
00localfiledefaultABSm_controls.c
00localfiledefaultABSi_endoom.c
00localfiledefaultABSi_joystick.c
00localfiledefaultABSm_fixed.c
00localfiledefaultABSintscan.c
00localfiledefaultABSm_menu.c
00localfiledefaultABSm_config.c
00localfiledefaultABSrealloc.c
00localfiledefaultABSrealloc.c
00localfiledefaultABSinternal.c
00localfiledefaultABSmbrtowc.c
00localfiledefaultABSi_scale.c
00localfiledefaultABSscalbnl.c
00localfiledefaultABSfabsl.c
00localfiledefaultABShu_stuff.c
00localfiledefaultABShu_lib.c
00localfiledefaultABSrename.c
00localfiledefaultABSremove.c
00localfiledefaultABSftell.c
00localfiledefaultABSposix_spawnattr_init.c
00localfiledefaultABSabort_lock.c
00localfiledefaultABSdummy.c
00localfiledefaultABSsigaddset.c
00localfiledefaultABS__lockfile.c
00localfiledefaultABSf_wipe.c
00localfiledefaultABStoupper.c
00localfiledefaultABSsyscall.c
00localfiledefaultABSsyscall_ret.c
00localfiledefaultABSsigprocmask.c
00localfiledefaultABS__errno_location.c
00localfiledefaultABSpthread_sigmask.c
00localfiledefaultABS__towrite.c
00localfiledefaultABSsigemptyset.c
00localfiledefaultABSp_enemy.c
00localfiledefaultABS__stdio_exit.c
00localfiledefaultABSposix_spawnattr_setsigmask.c
00localfiledefaultABSposix_spawnattr_setsigdefault.c
00localfiledefaultABSposix_spawnattr_setflags.c
00localfiledefaultABS__environ.c
00localfiledefaultABSofl.c
00localfiledefaultABSp_floor.c
00localfiledefaultABSp_inter.c
00localfiledefaultABSp_lights.c
00localfiledefaultABSp_map.c
00localfiledefaultABSp_maputl.c
00localfiledefaultABS__lock.c
00localfiledefaultABSp_ceilng.c
00localfiledefaultABSm_cheat.c
00localfiledefaultABSm_bbox.c
00localfiledefaultABSmkdir.c
00localfiledefaultABSfseek.c
00localfiledefaultABSstrncpy.c
00localfiledefaultABSstpncpy.c
00localfiledefaultABSstrstr.c
00localfiledefaultABSsystem.c
00localfiledefaultABSpthread_testcancel.c
00localfiledefaultABSmemcmp.c
00localfiledefaultABSstrncmp.c
00localfiledefaultABSm_random.c
00localfiledefaultABSsigaction.c
00localfiledefaultABSsigismember.c
00localfiledefaultABSwaitpid.c
00localfiledefaultABSsnprintf.c
00localfiledefaultABSvsnprintf.c
00localfiledefaultABSrestore.c
00localfiledefaultABSvfprintf.c
00localfiledefaultABSp_doors.c
00localfiledefaultABSread.c
00localfiledefaultABSblock.c
00localfiledefaultABSm_argv.c
00localfiledefaultABSg_game.c
9660816localfunchidden.textI_InitTimidityConfig
96624160localfunchidden.textAM_getIslope
9678464localfunchidden.textAM_saveScaleAndLoc
96848160localfunchidden.textAM_addMark
97008112localfunchidden.textAM_Stop
971202272localfunchidden.textAM_Responder
99392224localfuncdefault.textAM_minOutWindowScale
99616224localfuncdefault.textAM_restoreScaleAndLoc
99840704localfunchidden.textAM_Ticker
100544240localfuncdefault.textAM_changeWindowLoc
1007841616localfunchidden.textAM_Drawer
1024001408localfuncdefault.textAM_drawMline
103808432localfuncdefault.textAM_drawLineCharacter
10424048globalfuncprotected.textsnprintf
104288208globalfuncprotected.textvsnprintf
104496192localfuncdefault.textsn_write
104688480globalfuncprotected.textvfprintf
1051684112localfuncdefault.textprintf_core
109280480localfuncdefault.textpop_arg
109760176localfuncdefault.textpad
1099366000localfuncdefault.textfmt_fp
115936320localfunchidden.text__lockfile
116256112localfunchidden.text__unlockfile
11636816globalfuncprotected.text__syscall_postrisc
11638480globalfuncprotected.textsyscall
11646464localfunchidden.text__syscall_ret
11652816globalfuncprotected.text__errno_location
11652816localfunchidden.text___errno_location
116544128localfunchidden.text__towrite
11667216localfunchidden.text__towrite_needs_stdio_exit
116688512localfunchidden.text__stdio_exit_needed
116688512localfunchidden.text__stdio_exit
11720032localfunchidden.text__ofl_lock
11723232localfunchidden.text__ofl_unlock
117264336localfunchidden.text__lock
117600144localfunchidden.text__unlock
117744304localfunchidden.text__fwritex
118048144weakfuncprotected.textfwrite_unlocked
118048144globalfuncprotected.textfwrite
1181921296globalfuncprotected.textmemcpy
11948864globalfuncprotected.text__strerror_l
11948864weakfuncprotected.textstrerror_l
11955264globalfuncprotected.textstrerror
11961616localfunchidden.text__lctrans_impl
11961616localfuncdefault.textdummy
11963232localfunchidden.text__lctrans
11966448localfunchidden.text__lctrans_cur
11971248globalfuncprotected.textstrnlen
119760320globalfuncprotected.textmemchr
12008064globalfuncprotected.textwctomb
120144400globalfuncprotected.textwcrtomb
120544320globalfuncprotected.textmemset
12086448globalfuncprotected.text__signbitl
120912144globalfuncprotected.text__fpclassifyl
121056192globalfuncprotected.textfrexpl
121248192globalfuncprotected.textscalbn
12144016localfunchidden.text__aio_close
12144016localfuncdefault.textdummy
12145680localfunchidden.text__stdio_close
121536400localfunchidden.text__stdio_write
12193632localfunchidden.text__stdio_seek
12196864localfunchidden.text__lseek
12196864weakfuncprotected.textlseek
12203248globalfuncprotected.textfprintf
122080144localfunchidden.textD_PostEvent
122224112localfunchidden.textD_PopEvent
122336288localfunchidden.textD_FindWADByName
12262496localfuncdefault.textDirIsFile
12272032localfunchidden.textD_TryFindWADByName
122752672localfunchidden.textD_FindIWAD
123424128localfunchidden.textD_FindAllIWADs
12355280localfunchidden.textD_SaveGameIWADName
123632112localfunchidden.textD_SuggestIWADName
123744112localfunchidden.textD_SuggestGameName
12385632globalfuncprotected.textfree
123888528localfunchidden.text__libc_free
124416336localfuncdefault.textget_meta
1247521168localfuncdefault.textnontrivial_free
12592096globalfuncprotected.text__malloc_atfork
126016896localfunchidden.text__malloc_alloc_meta
126912864localfunchidden.text__libc_malloc_impl
1277762592localfuncdefault.textalloc_slot
130368496localfuncdefault.textenframe
130864464localfunchidden.text__malloc_allzerop
13132816localfuncdefault.textdummy
13132816localfunchidden.text__vm_wait
131344208weakfuncprotected.textmmap
131344208localfunchidden.text__mmap
13155280weakfuncprotected.textmprotect
13155280localfunchidden.text__mprotect
13163216localfuncdefault.textdummy
13164864localfunchidden.text__munmap
13164864weakfuncprotected.textmunmap
13171280globalfuncprotected.textstrdup
131792224globalfuncprotected.textstrlen
132016768localfuncdefault.text__simple_malloc
13278432localfunchidden.text__libc_malloc
13281632weakfuncprotected.textmalloc
13281632localfuncdefault.textdefault_malloc
132848192globalfuncprotected.textstrcasecmp
133040192weakfuncprotected.textstrcasecmp_l
133040192globalfuncprotected.text__strcasecmp_l
13323232globalfuncprotected.texttolower
13326432globalfuncprotected.text__tolower_l
13326432weakfuncprotected.texttolower_l
13329648globalfuncprotected.textstrrchr
13334480localfunchidden.text__memrchr
13334480weakfuncprotected.textmemrchr
133424192globalfuncprotected.textputs
133616112localfunchidden.text__stdout_write
13372864globalfuncprotected.textfputs
13372864weakfuncprotected.textfputs_unlocked
133792192globalfuncprotected.text__overflow
13398448globalfuncprotected.textprintf
134032224localfunchidden.textNetUpdate
134256368localfuncdefault.textBuildNewTic
134624272localfunchidden.textD_ReceiveTic
134896128localfunchidden.textD_StartGameLoop
13502464localfunchidden.textD_StartNetGame
13508848localfunchidden.textD_InitNetGame
13513616localfunchidden.textD_QuitNetGame
1351521136localfunchidden.textTryRunTics
13628816localfunchidden.textD_RegisterLoopCallbacks
136304112localfunchidden.textD_ProcessEvents
1364161136localfunchidden.textD_Display
13755248localfunchidden.textD_PageDrawer
137600352localfunchidden.textD_BindVariables
137952112localfunchidden.textD_GrabMouseCallback
13806480localfunchidden.textdoomgeneric_Tick
138144192localfunchidden.textD_DoomLoop
13833648localfunchidden.textD_PageTicker
13838432localfunchidden.textD_AdvanceDemo
138416656localfunchidden.textD_DoAdvanceDemo
13907248localfunchidden.textD_StartTitle
139120496localfunchidden.textD_IdentifyVersion
139616256localfunchidden.textD_SetGameDescription
13987216localfunchidden.textPrintDehackedBanners
139888128localfunchidden.textPrintGameVersion
1400165984localfunchidden.textD_DoomMain
146000128localfuncdefault.textD_Endoom
146128240globalfuncprotected.textstrncasecmp
14636832globalfuncprotected.text__strncasecmp_l
14636832weakfuncprotected.textstrncasecmp_l
146400208globalfuncprotected.textatoi
146608112globalfuncprotected.textstrcmp
14672016weakfuncprotected.text_fini
14672016localfunchidden.text__funcs_on_exit
14672016localfuncdefault.textdummy
14673680localfuncdefault.textlibc_exit_fini
14673680localfunchidden.text__libc_exit_fini
146816144globalfuncprotected.textexit
14696080globalfuncprotected.text_Exit
14704096localfunchidden.textD_ValidGameMode
147136240localfunchidden.textD_ValidEpisodeMap
147376192localfunchidden.textD_GetNumEpisodes
147568144localfunchidden.textD_ValidGameVersion
14771248localfunchidden.textD_IsEpisodeMap
14776048localfunchidden.textD_GameMissionString
147808304localfunchidden.textD_ConnectNetGame
148112672localfunchidden.textD_CheckNetGame
148784240localfuncdefault.textRunTic
149024176globalfuncprotected.textputchar
149200272localfuncdefault.textlocking_putc
149472304localfunchidden.textF_StartFinale
14977648localfunchidden.textF_Responder
149824208localfunchidden.textF_CastResponder
150032400localfunchidden.textF_Ticker
150432144localfunchidden.textF_StartCast
1505761072localfunchidden.textF_CastTicker
151648400localfunchidden.textF_TextWrite
152048368localfunchidden.textF_CastPrint
152416192localfunchidden.textF_CastDrawer
152608240localfunchidden.textF_DrawPatchCol
152848832localfunchidden.textF_BunnyScroll
153680224localfunchidden.textF_Drawer
15390432globalfuncprotected.texttoupper
15393632globalfuncprotected.text__toupper_l
15393632weakfuncprotected.texttoupper_l
153968208localfunchidden.textwipe_shittyColMajorXform
15417648localfunchidden.textwipe_initColorXForm
154224192localfunchidden.textwipe_doColorXForm
15441616localfunchidden.textwipe_exitColorXForm
154432352localfunchidden.textwipe_initMelt
154784448localfunchidden.textwipe_doMelt
15523248localfunchidden.textwipe_exitMelt
15528064localfunchidden.textwipe_StartScreen
15534480localfunchidden.textwipe_EndScreen
155424192localfunchidden.textwipe_ScreenWipe
15561648localfunchidden.textG_CmdChecksum
1556642496localfunchidden.textG_BuildTiccmd
158160624localfunchidden.textG_DoLoadLevel
1587841120localfunchidden.textG_Responder
1599041408localfunchidden.textG_Ticker
161312256localfunchidden.textG_DoReborn
16156896localfunchidden.textG_DoNewGame
161664208localfunchidden.textG_DoLoadGame
161872368localfunchidden.textG_DoSaveGame
162240800localfunchidden.textG_DoPlayDemo
163040944localfunchidden.textG_DoCompleted
16398464localfunchidden.textG_DoWorldDone
164048192localfunchidden.textG_ReadDemoTiccmd
164240368localfunchidden.textG_WriteDemoTiccmd
164608400localfunchidden.textG_InitPlayer
165008400localfunchidden.textG_PlayerReborn
165408144localfunchidden.textG_PlayerFinishLevel
165552656localfunchidden.textG_CheckSpot
166208208localfunchidden.textG_DeathMatchSpawnPlayer
16641632localfunchidden.textG_ScreenShot
16644832localfunchidden.textG_ExitLevel
16648096localfunchidden.textG_SecretExitLevel
166576176localfunchidden.textG_WorldDone
16675248localfunchidden.textG_LoadGame
166800544localfunchidden.textG_InitNew
16734448localfunchidden.textG_SaveGame
16739248localfunchidden.textG_DeferedInitNew
167440384localfunchidden.textG_CheckDemoStatus
167824192localfunchidden.textG_RecordDemo
168016112localfunchidden.textG_VanillaVersionCode
168128496localfunchidden.textG_BeginRecording
16862432localfunchidden.textG_DeferedPlayDemo
16865664localfunchidden.textG_TimeDemo
168720288globalfuncprotected.textfopen
16900848globalfuncprotected.textstrchr
169056352weakfuncprotected.textstrchrnul
169056352localfunchidden.text__strchrnul
169408176localfunchidden.text__fmodeflags
169584576weakfuncprotected.textfdopen
169584576localfunchidden.text__fdopen
170160288localfunchidden.text__stdio_read
17044848localfunchidden.text__ofl_add
17049616localfuncdefault.textdummy
17049616localfunchidden.text__unlist_locked_file
170512304globalfuncprotected.textfclose
170816528globalfuncprotected.textfflush
170816528weakfuncprotected.textfflush_unlocked
171344160localfunchidden.text__ftello_unlocked
171504208localfunchidden.text__ftello
171504208weakfuncprotected.textftello
171712208globalfuncprotected.textftell
17192096globalfuncprotected.textremove
17201664globalfuncprotected.textrename
17208016localfunchidden.textHUlib_init
17209632localfunchidden.textHUlib_clearTextLine
17212864localfunchidden.textHUlib_initTextLine
17219280localfunchidden.textHUlib_addCharToTextLine
17227280localfunchidden.textHUlib_delCharFromTextLine
172352336localfunchidden.textHUlib_drawTextLine
172688272localfunchidden.textHUlib_eraseTextLine
172960176localfunchidden.textHUlib_initSText
173136144localfunchidden.textHUlib_addLineToSText
173280368localfunchidden.textHUlib_addMessageToSText
173648128localfunchidden.textHUlib_drawSText
173776160localfunchidden.textHUlib_eraseSText
17393680localfunchidden.textHUlib_initIText
17401680localfunchidden.textHUlib_delCharFromIText
174096128localfunchidden.textHUlib_eraseLineFromIText
17422448localfunchidden.textHUlib_resetIText
174272128localfunchidden.textHUlib_addPrefixToIText
174400192localfunchidden.textHUlib_keyInIText
17459264localfunchidden.textHUlib_drawIText
17465680localfunchidden.textHUlib_eraseIText
174736112localfunchidden.textHU_Init
17484816localfunchidden.textHU_Stop
174864592localfunchidden.textHU_Start
17545680localfunchidden.textHU_Drawer
17553648localfunchidden.textHU_Erase
175584544localfunchidden.textHU_Ticker
17612896localfunchidden.textHU_queueChatChar
17622480localfunchidden.textHU_dequeueChatChar
1763041184localfunchidden.textHU_Responder
17748816localfunchidden.textI_CDMusInit
17750416localfunchidden.textI_CDMusPrintStartup
17752016localfunchidden.textI_CDMusPlay
17753616localfunchidden.textI_CDMusStop
17755216localfunchidden.textI_CDMusResume
17756832localfunchidden.textI_CDMusSetVolume
17760016localfunchidden.textI_CDMusFirstTrack
17761616localfunchidden.textI_CDMusLastTrack
17763216localfunchidden.textI_CDMusTrackLength
17764816localfunchidden.textI_Endoom
17766416localfunchidden.textI_ShutdownJoystick
17768016localfunchidden.textI_InitJoystick
17769616localfunchidden.textI_UpdateJoystick
177712224localfunchidden.textI_BindJoystickVariables
17793632localfunchidden.textI_InitScale
177968128localfuncdefault.textI_Scale1x
178096208localfuncdefault.textI_Scale2x
178304272localfuncdefault.textI_Scale3x
178576336localfuncdefault.textI_Scale4x
178912416localfuncdefault.textI_Scale5x
179328160localfunchidden.textI_ResetScaleTables
179488432localfuncdefault.textGenerateStretchTable
179920144localfuncdefault.textI_InitStretchTables
180064512localfuncdefault.textI_Stretch1x
1805761072localfuncdefault.textI_Stretch2x
1816481632localfuncdefault.textI_Stretch3x
1832802304localfuncdefault.textI_Stretch4x
185584768localfuncdefault.textI_Stretch5x
186352272localfuncdefault.textI_Squash1x
186624368localfuncdefault.textI_Squash2x
18699296localfuncdefault.textI_InitSquashTable
187088288localfuncdefault.textI_Squash3x
187376656localfuncdefault.textI_Squash4x
188032304localfuncdefault.textI_Squash5x
18833648localfunchidden.textI_InitSound
18838416localfunchidden.textI_ShutdownSound
18840016localfunchidden.textI_GetSfxLumpNum
18841616localfunchidden.textI_UpdateSound
18843216localfunchidden.textI_UpdateSoundParams
18844816localfunchidden.textI_StartSound
18846416localfunchidden.textI_StopSound
18848016localfunchidden.textI_SoundIsPlaying
18849616localfunchidden.textI_PrecacheSounds
18851216localfunchidden.textI_InitMusic
18852816localfunchidden.textI_ShutdownMusic
18854416localfunchidden.textI_SetMusicVolume
18856016localfunchidden.textI_PauseSong
18857616localfunchidden.textI_ResumeSong
18859216localfunchidden.textI_RegisterSong
18860816localfunchidden.textI_UnRegisterSong
18862416localfunchidden.textI_PlaySong
18864016localfunchidden.textI_StopSong
18865616localfunchidden.textI_MusicIsPlaying
188672176localfunchidden.textI_BindSoundVariables
18884848localfunchidden.textI_AtExit
18889616localfunchidden.textI_Tactile
188912176localfunchidden.textI_ZoneBase
18908896localfunchidden.textI_PrintBanner
18918464localfunchidden.textI_PrintDivider
189248192localfunchidden.textI_PrintStartupBanner
18944016localfunchidden.textI_ConsoleStdout
18945648localfunchidden.textI_Quit
189504512localfunchidden.textI_GetMemoryValue
190016768localfunchidden.textI_Error
190784672globalfuncprotected.textsystem
19145616weakfuncprotected.textpthread_testcancel
19145616localfunchidden.text__pthread_testcancel
19147216localfuncdefault.textdummy
19147216localfunchidden.text__testcancel
19148832localfunchidden.text__get_handler_set
191520432localfunchidden.text__libc_sigaction
191952176weakfuncprotected.textsigaction
191952176localfunchidden.text__sigaction
19212848localfunchidden.text__restore
19217648localfunchidden.text__restore_rt
19222448localfunchidden.text__block_all_sigs
19227248localfunchidden.text__block_app_sigs
19232048localfunchidden.text__restore_sigs
19236896globalfuncprotected.textsigaddset
19246464globalfuncprotected.textsigprocmask
192528128globalfuncprotected.textpthread_sigmask
19265632globalfuncprotected.textsigemptyset
19268832globalfuncprotected.textposix_spawnattr_init
192720192globalfuncprotected.textposix_spawnattr_setsigmask
192912192globalfuncprotected.textposix_spawnattr_setsigdefault
19310448globalfuncprotected.textposix_spawnattr_setflags
193152528globalfuncprotected.textposix_spawn
1936801440localfuncdefault.textchild
19512064weakfuncprotected.textpthread_setcancelstate
19512064localfunchidden.text__pthread_setcancelstate
195184352globalfuncprotected.textpipe2
19553664globalfuncprotected.textpipe
19560016localfunchidden.text__clone
19561616localfuncdefault.textdummy
19563280globalfuncprotected.textclose
19571248localfunchidden.text__syscall_cp_c
19571248localfuncdefault.textsccp
19576048localfunchidden.text__syscall_cp
19580864globalfuncprotected.textread
19587264globalfuncprotected.textwaitpid
19593664globalfuncprotected.textsigismember
19600064globalfuncprotected.textexecve
19606416globalfuncprotected.text_exit
19608016globalfuncprotected.textposix_spawnattr_destroy
19609632localfunchidden.textI_GetTicks
19612880localfunchidden.textI_GetTime
19620864localfunchidden.textI_GetTimeMS
19627232localfunchidden.textI_Sleep
19630416localfunchidden.textI_WaitVBL
19632016localfunchidden.textI_InitTimer
19633664localfunchidden.textmem_fopen_read
196400144localfunchidden.textmem_fread
19654496localfunchidden.textmem_fopen_write
196640256localfunchidden.textmem_fwrite
19689632localfunchidden.textmem_get_buf
19692848localfunchidden.textmem_fclose
19697616localfunchidden.textmem_ftell
196992144localfunchidden.textmem_fseek
197136128localfunchidden.textM_CheckParmWithArgs
197264112localfunchidden.textM_ParmExists
197376128localfunchidden.textM_CheckParm
19750416localfunchidden.textM_FindResponseFile
19752048localfunchidden.textM_GetExecutableName
19756864localfunchidden.textM_ClearBox
197632112localfunchidden.textM_AddToBox
197744272localfunchidden.textcht_CheckCheat
19801632localfunchidden.textcht_GetParam
19804832localfunchidden.textM_SetConfigFilenames
19808016localfunchidden.textM_SaveDefaults
19809616localfunchidden.textM_SaveDefaultsAlternate
198112240localfunchidden.textM_LoadDefaults
19835248localfunchidden.textM_BindVariable
198400176localfuncdefault.textGetDefaultForName
198576448localfunchidden.textM_SetVariable
19902480localfunchidden.textM_GetIntVariable
19910480localfunchidden.textM_GetStrVariable
19918480localfunchidden.textM_GetFloatVariable
199264112localfunchidden.textM_SetConfigDir
199376128localfunchidden.textM_GetSaveGameDir
19950448globalfuncprotected.textsscanf
19950448weakfuncprotected.text__isoc99_sscanf
199552144globalfuncprotected.textvsscanf
199552144weakfuncprotected.text__isoc99_vsscanf
199696112localfuncdefault.textstring_read
1998083600weakfuncprotected.text__isoc99_vfscanf
1998083600globalfuncprotected.textvfscanf
203408176localfunchidden.text__toread
20358416localfunchidden.text__toread_needs_stdio_exit
20360080localfunchidden.text__shlim
203680240localfunchidden.text__shgetc
20392080globalfuncprotected.text__uflow
2040004400localfunchidden.text__floatscan
2084001408localfuncdefault.texthexfloat
209808784localfuncdefault.textscanexp
21059216globalfuncprotected.textcopysignl
210608704globalfuncprotected.textfmodl
21131248globalfuncprotected.textfabsl
211360224globalfuncprotected.textscalbnl
211584448globalfuncprotected.textmbrtowc
21203232globalfuncprotected.textrealloc
2120641184localfunchidden.text__libc_realloc
21324816localfuncdefault.textdummy
213264144localfunchidden.text__mremap
213264144weakfuncprotected.textmremap
2134081968localfunchidden.text__intscan
215376144globalfuncprotected.text__multi3
21552048globalfuncprotected.textmbsinit
21556832globalfuncprotected.textatof
215600112globalfuncprotected.textstrtof
215712112globalfuncprotected.textstrtod
215824128globalfuncprotected.textstrtold
215952448localfunchidden.textM_BindBaseControls
216400160localfunchidden.textM_BindHereticControls
216560192localfunchidden.textM_BindHexenControls
216752352localfunchidden.textM_BindStrifeControls
217104240localfunchidden.textM_BindWeaponControls
217344208localfunchidden.textM_BindMapControls
217552416localfunchidden.textM_BindMenuControls
217968128localfunchidden.textM_BindChatControls
21809616localfunchidden.textM_ApplyPlatformDefaults
21811296localfunchidden.textFixedDiv
218208160localfunchidden.textM_NewGame
21836832localfunchidden.textM_Options
218400112localfunchidden.textM_LoadGame
218512128localfunchidden.textM_SaveGame
21864032localfunchidden.textM_ReadThis
218672160localfunchidden.textM_QuitDOOM
21883248localfunchidden.textM_DrawMainMenu
218880192localfunchidden.textM_Episode
21907248localfunchidden.textM_DrawEpisode
219120128localfunchidden.textM_ChooseSkill
21924896localfunchidden.textM_DrawNewGame
219344160localfunchidden.textM_EndGame
21950480localfunchidden.textM_ChangeMessages
21958480localfunchidden.textM_ChangeDetail
219664144localfunchidden.textM_SizeDisplay
21980896localfunchidden.textM_ChangeSensitivity
21990432localfunchidden.textM_Sound
219936256localfunchidden.textM_DrawOptions
22019296localfunchidden.textM_ReadThis2
220288240localfunchidden.textM_DrawReadThis1
22052832localfunchidden.textM_FinishReadThis
22056064localfunchidden.textM_DrawReadThis2
220624112localfunchidden.textM_SfxVol
220736112localfunchidden.textM_MusicVol
220848128localfunchidden.textM_DrawSound
22097664localfunchidden.textM_LoadSelect
221040144localfunchidden.textM_DrawLoad
221184128localfunchidden.textM_SaveSelect
221312224localfunchidden.textM_DrawSave
221536240localfunchidden.textM_ReadSaveStrings
221776160localfunchidden.textM_DrawSaveLoadBorder
221936224localfunchidden.textM_WriteText
22216016localfunchidden.textM_ClearMenus
22217664localfunchidden.textM_StartMessage
22224032localfunchidden.textM_SetupNextMenu
222272176localfunchidden.textM_StringWidth
22244880localfunchidden.textM_DoSave
222528112localfunchidden.textM_QuickSaveResponse
222640288localfunchidden.textM_QuickSave
22292880localfunchidden.textM_StartControlPanel
223008112localfunchidden.textM_QuickLoadResponse
223120192localfunchidden.textM_QuickLoad
223312208localfunchidden.textM_DrawThermo
22352064localfunchidden.textM_VerifyNightmare
22358464localfunchidden.textM_EndGameResponse
223648128localfunchidden.textM_QuitResponse
22377680localfunchidden.textM_DrawEmptyCell
22385680localfunchidden.textM_DrawSelCell
22393632localfunchidden.textM_StopMessage
223968112localfunchidden.textM_StringHeight
2240803696localfunchidden.textM_Responder
227776848localfunchidden.textM_Drawer
22862480localfunchidden.textM_Ticker
228704256localfunchidden.textM_Init
228960320weakfuncprotected.textfread_unlocked
228960320globalfuncprotected.textfread
22928032localfunchidden.textM_MakeDirectory
22931280localfunchidden.textM_FileExists
22939280localfunchidden.textM_FileLength
22947296localfunchidden.textM_WriteFile
229568208localfunchidden.textM_ReadFile
22977648localfunchidden.textM_TempFile
229824256localfunchidden.textM_StringJoin
230080144localfunchidden.textM_StrToInt
230224208localfunchidden.textM_ExtractFileBase
23043280localfunchidden.textM_ForceUppercase
230512128localfunchidden.textM_StrCaseStr
23064080localfunchidden.textM_StringDuplicate
230720320localfunchidden.textM_StringReplace
23104080localfunchidden.textM_StringCopy
23112096localfunchidden.textM_StringConcat
23121680localfunchidden.textM_StringStartsWith
23129680localfunchidden.textM_StringEndsWith
231376112localfunchidden.textM_vsnprintf
231488128localfunchidden.textM_snprintf
23161664globalfuncprotected.textmkdir
231680224localfunchidden.text__fseeko_unlocked
231904288weakfuncprotected.textfseeko
231904288localfunchidden.text__fseeko
23219232globalfuncprotected.textfseek
23222432globalfuncprotected.textstrncpy
232256336localfunchidden.text__stpncpy
232256336weakfuncprotected.textstpncpy
232592416globalfuncprotected.textstrstr
233008160localfuncdefault.textfourbyte_strstr
233168992localfuncdefault.texttwoway_strstr
23416096globalfuncprotected.textmemcmp
234256160globalfuncprotected.textstrncmp
23441648localfunchidden.textP_Random
23446448localfunchidden.textM_Random
23451232localfunchidden.textM_ClearRandom
234544576localfunchidden.textT_MoveCeiling
23512080localfunchidden.textP_RemoveActiveCeiling
235200560localfunchidden.textEV_DoCeiling
235760128localfunchidden.textP_ActivateInStasisCeiling
23588864localfunchidden.textP_AddActiveCeiling
235952144localfunchidden.textEV_CeilingCrushStop
236096656localfunchidden.textT_VerticalDoor
236752288localfunchidden.textEV_DoLockedDoor
237040528localfunchidden.textEV_DoDoor
237568784localfunchidden.textEV_VerticalDoor
238352112localfunchidden.textP_SpawnDoorCloseIn30
238464144localfunchidden.textP_SpawnDoorRaiseIn5Mins
238608304localfunchidden.textP_RecursiveSound
23891264localfunchidden.textP_NoiseAlert
238976128localfunchidden.textP_CheckMeleeRange
239104320localfunchidden.textP_CheckMissileRange
239424416localfunchidden.textP_Move
23984064localfunchidden.textP_TryWalk
239904672localfunchidden.textP_NewChaseDir
240576336localfunchidden.textP_LookForPlayers
240912144localfunchidden.textA_KeenDie
24105632localfunchidden.textA_Fall
241088368localfunchidden.textA_Look
241456800localfunchidden.textA_Chase
242256144localfunchidden.textA_FaceTarget
242400208localfunchidden.textA_PosAttack
242608224localfunchidden.textA_SPosAttack
242832208localfunchidden.textA_CPosAttack
243040112localfunchidden.textA_CPosRefire
243152112localfunchidden.textA_SpidRefire
24326464localfunchidden.textA_BspiAttack
243328176localfunchidden.textA_TroopAttack
243504144localfunchidden.textA_SargAttack
243648176localfunchidden.textA_HeadAttack
24382464localfunchidden.textA_CyberAttack
243888176localfunchidden.textA_BruisAttack
244064160localfunchidden.textA_SkelMissile
244224528localfunchidden.textA_Tracer
24475264localfunchidden.textA_SkelWhoosh
244816160localfunchidden.textA_SkelFist
244976208localfunchidden.textPIT_VileCheck
245184448localfunchidden.textA_VileChase
24563232localfunchidden.textA_VileStart
24566448localfunchidden.textA_StartFire
245712192localfunchidden.textA_Fire
24590448localfunchidden.textA_FireCrackle
245952112localfunchidden.textA_VileTarget
246064272localfunchidden.textA_VileAttack
24633648localfunchidden.textA_FatRaise
246384192localfunchidden.textA_FatAttack1
246576192localfunchidden.textA_FatAttack2
246768272localfunchidden.textA_FatAttack3
247040288localfunchidden.textA_SkullAttack
247328352localfunchidden.textA_PainShootSkull
24768064localfunchidden.textA_PainAttack
247744128localfunchidden.textA_PainDie
247872240localfunchidden.textA_Scream
24811232localfunchidden.textA_XScream
24814448localfunchidden.textA_Pain
24819232localfunchidden.textA_Explode
248224720localfunchidden.textA_BossDeath
24894448localfunchidden.textA_Hoof
24899248localfunchidden.textA_Metal
24904048localfunchidden.textA_BabyMetal
24908832localfunchidden.textA_OpenShotgun2
24912032localfunchidden.textA_LoadShotgun2
24915248localfunchidden.textA_CloseShotgun2
249200160localfunchidden.textA_BrainAwake
24936032localfunchidden.textA_BrainPain
249392208localfunchidden.textA_BrainScream
249600144localfunchidden.textA_BrainExplode
24974416localfunchidden.textA_BrainDie
249760176localfunchidden.textA_BrainSpit
24993648localfunchidden.textA_SpawnSound
249984384localfunchidden.textA_SpawnFly
25036880localfunchidden.textA_PlayerScream
250448448localfunchidden.textT_MovePlane
250896256localfunchidden.textT_MoveFloor
2511521200localfunchidden.textEV_DoFloor
252352480localfunchidden.textEV_BuildStairs
252832448localfunchidden.textP_GiveAmmo
253280352localfunchidden.textP_GiveWeapon
25363280localfunchidden.textP_GiveBody
25371264localfunchidden.textP_GiveArmor
25377664localfunchidden.textP_GiveCard
253840304localfunchidden.textP_GivePower
2541442192localfunchidden.textP_TouchSpecialThing
256336640localfunchidden.textP_KillMobj
256976944localfunchidden.textP_DamageMobj
257920128localfunchidden.textT_FireFlicker
258048112localfunchidden.textP_SpawnFireFlicker
258160128localfunchidden.textT_LightFlash
258288144localfunchidden.textP_SpawnLightFlash
258432128localfunchidden.textT_StrobeFlash
258560176localfunchidden.textP_SpawnStrobeFlash
258736144localfunchidden.textEV_StartLightStrobing
258880224localfunchidden.textEV_TurnTagLightsOff
259104240localfunchidden.textEV_LightTurnOn
259344160localfunchidden.textT_Glow
259504112localfunchidden.textP_SpawnGlowingLight
259616160localfunchidden.textPIT_StompThing
259776464localfunchidden.textP_TeleportMove
260240368localfunchidden.textPIT_CheckLine
260608240localfuncdefault.textSpechitOverrun
260848544localfunchidden.textPIT_CheckThing
261392592localfunchidden.textP_CheckPosition
261984480localfunchidden.textP_TryMove
262464128localfunchidden.textP_ThingHeightClip
262592288localfunchidden.textP_HitSlideLine
262880256localfunchidden.textPTR_SlideTraverse
263136656localfunchidden.textP_SlideMove
263792512localfunchidden.textPTR_AimTraverse
264304928localfunchidden.textPTR_ShootTraverse
265232192localfunchidden.textP_AimLineAttack
265424144localfunchidden.textP_LineAttack
265568144localfunchidden.textPTR_UseTraverse
26571296localfunchidden.textP_UseLines
265808176localfunchidden.textPIT_RadiusAttack
265984208localfunchidden.textP_RadiusAttack
266192352localfunchidden.textPIT_ChangeSector
266544176localfunchidden.textP_ChangeSector
26672048localfunchidden.textP_AproxDistance
266768192localfunchidden.textP_PointOnLineSide
266960304localfunchidden.textP_BoxOnLineSide
267264240localfunchidden.textP_PointOnDivlineSide
26750464localfunchidden.textP_MakeDivline
267568176localfunchidden.textP_InterceptVector
267744144localfunchidden.textP_LineOpening
267888288localfunchidden.textP_UnsetThingPosition
268176272localfunchidden.textP_SetThingPosition
268448256localfunchidden.textP_BlockLinesIterator
268704144localfunchidden.textP_BlockThingsIterator
268848448localfunchidden.textPIT_AddLineIntercepts
269296704localfuncdefault.textInterceptsOverrun
270000256localfunchidden.textPIT_AddThingIntercepts
270256208localfunchidden.textP_TraverseIntercepts
270464880localfunchidden.textP_PathTraverse
271344208localfunchidden.textP_SetMobjState
271552336localfunchidden.textP_RemoveMobj
271888144localfunchidden.textP_ExplodeMissile
272032960localfunchidden.textP_XYMovement
272992704localfunchidden.textP_ZMovement
273696384localfunchidden.textP_NightmareRespawn
274080592localfunchidden.textP_SpawnMobj
274672320localfunchidden.textP_MobjThinker
274992560localfunchidden.textP_RespawnSpecials
275552448localfunchidden.textP_SpawnPlayer
2760001152localfunchidden.textP_SpawnMapThing
277152144localfunchidden.textP_SpawnPuff
277296176localfunchidden.textP_SpawnBlood
277472160localfunchidden.textP_CheckMissileSpawn
27763248localfunchidden.textP_SubstNullMobj
277680352localfunchidden.textP_SpawnMissile
278032368localfunchidden.textP_SpawnPlayerMissile
278400608localfunchidden.textT_PlatRaise
27900896localfunchidden.textP_RemoveActivePlat
279104832localfunchidden.textEV_DoPlat
279936128localfunchidden.textP_ActivateInStasis
28006480localfunchidden.textP_AddActivePlat
280144128localfunchidden.textEV_StopPlat
280272240localfunchidden.textP_SetPsprite
28051296localfunchidden.textP_CalcSwing
280608128localfunchidden.textP_BringUpWeapon
280736480localfunchidden.textP_CheckAmmo
281216112localfunchidden.textP_FireWeapon
28132848localfunchidden.textP_DropWeapon
281376400localfunchidden.textA_WeaponReady
281776112localfunchidden.textA_ReFire
28188832localfunchidden.textA_CheckReload
281920144localfunchidden.textA_Lower
28206496localfunchidden.textA_Raise
28216064localfunchidden.textA_GunFlash
282224256localfunchidden.textA_Punch
282480384localfunchidden.textA_Saw
282864128localfunchidden.textA_FireMissile
282992128localfunchidden.textA_FireBFG
283120176localfunchidden.textA_FirePlasma
283296160localfunchidden.textP_BulletSlope
283456160localfunchidden.textP_GunShot
283616208localfunchidden.textA_FirePistol
283824336localfunchidden.textA_FireShotgun
284160368localfunchidden.textA_FireShotgun2
284528288localfunchidden.textA_FireCGun
28481616localfunchidden.textA_Light0
28483232localfunchidden.textA_Light1
28486432localfunchidden.textA_Light2
284896256localfunchidden.textA_BFGSpray
28515232localfunchidden.textA_BFGsound
28518448localfunchidden.textP_SetupPsprites
285232160localfunchidden.textP_MovePsprites
28539280localfunchidden.textP_TempSaveGameFile
285472128localfunchidden.textP_SaveGameFile
285600304localfunchidden.textP_WriteSaveGameHeader
285904128localfuncdefault.textsaveg_write8
286032272localfunchidden.textP_ReadSaveGameHeader
286304112localfuncdefault.textsaveg_read8
28641632localfunchidden.textP_ReadSaveGameEOF
28644832localfunchidden.textP_WriteSaveGameEOF
2864802432localfunchidden.textP_ArchivePlayers
2889122368localfunchidden.textP_UnArchivePlayers
291280624localfunchidden.textP_ArchiveWorld
291904656localfunchidden.textP_UnArchiveWorld
2925602080localfunchidden.textP_ArchiveThinkers
2946402160localfunchidden.textP_UnArchiveThinkers
2968002576localfunchidden.textP_ArchiveSpecials
299376480localfuncdefault.textsaveg_write_ceiling_t
2998563440localfunchidden.textP_UnArchiveSpecials
303296160localfuncdefault.textsaveg_write_thinker_t
303456176localfuncdefault.textsaveg_read_thinker_t
303632192localfunchidden.textP_LoadVertexes
303824176localfunchidden.textGetSectorAtNullAddress
304000672localfunchidden.textP_LoadSegs
304672208localfunchidden.textP_LoadSubsectors
304880336localfunchidden.textP_LoadSectors
305216400localfunchidden.textP_LoadNodes
305616288localfunchidden.textP_LoadThings
305904768localfunchidden.textP_LoadLineDefs
306672320localfunchidden.textP_LoadSideDefs
306992176localfunchidden.textP_LoadBlockMap
3071681008localfunchidden.textP_GroupLines
308176912localfunchidden.textP_SetupLevel
30908832localfunchidden.textP_Init
309120272localfunchidden.textP_DivlineSide
309392176localfunchidden.textP_InterceptVector2
309568608localfunchidden.textP_CrossSubsector
310176240localfunchidden.textP_CrossBSPNode
310416320localfunchidden.textP_CheckSight
310736320localfunchidden.textP_InitPicAnims
31105648localfunchidden.textgetSide
31110448localfunchidden.textgetSector
31115248localfunchidden.texttwoSided
31120064localfunchidden.textgetNextSector
311264160localfunchidden.textP_FindLowestFloorSurrounding
311424176localfunchidden.textP_FindHighestFloorSurrounding
311600320localfunchidden.textP_FindNextHighestFloor
311920176localfunchidden.textP_FindLowestCeilingSurrounding
312096176localfunchidden.textP_FindHighestCeilingSurrounding
312272112localfunchidden.textP_FindSectorFromLineTag
312384160localfunchidden.textP_FindMinSurroundingLight
3125441760localfunchidden.textP_CrossSpecialLine
314304176localfunchidden.textP_ShootSpecialLine
314480416localfunchidden.textP_PlayerInSpecialSector
314896624localfunchidden.textP_UpdateSpecials
315520736localfunchidden.textEV_DoDonut
316256944localfunchidden.textP_SpawnSpecials
317200224localfunchidden.textP_InitSwitchList
317424208localfunchidden.textP_StartButton
317632432localfunchidden.textP_ChangeSwitchTexture
3180641408localfunchidden.textP_UseSpecialLine
319472528localfunchidden.textEV_Teleport
32000032localfunchidden.textP_InitThinkers
32003248localfunchidden.textP_AddThinker
32008032localfunchidden.textP_RemoveThinker
32011216localfunchidden.textP_AllocateThinker
320128128localfunchidden.textP_RunThinkers
320256320localfunchidden.textP_Ticker
320576112localfunchidden.textP_Thrust
320688432localfunchidden.textP_CalcHeight
321120368localfunchidden.textP_MovePlayer
321488384localfunchidden.textP_DeathThink
321872928localfunchidden.textP_PlayerThink
32280032localfunchidden.textR_ClearDrawSegs
322832416localfunchidden.textR_ClipSolidWallSegment
323248192localfunchidden.textR_ClipPassWallSegment
32344080localfunchidden.textR_ClearClipSegs
323520400localfunchidden.textR_AddLine
323920464localfunchidden.textR_CheckBBox
324384304localfunchidden.textR_Subsector
324688176localfunchidden.textR_RenderBSPNode
324864160localfunchidden.textR_DrawColumnInCache
325024528localfunchidden.textR_GenerateComposite
325552624localfunchidden.textR_GenerateLookup
326176144localfunchidden.textR_GetColumn
3263201824localfunchidden.textR_InitTextures
328144176localfunchidden.textR_InitFlats
328320384localfunchidden.textR_InitSpriteLumps
32870448localfunchidden.textR_InitColormaps
32875296localfunchidden.textR_InitData
328848176localfunchidden.textR_FlatNumForName
329024144localfunchidden.textR_CheckTextureNumForName
32916864localfunchidden.textR_TextureNumForName
3292321024localfunchidden.textR_PrecacheLevel
330256256localfunchidden.textR_DrawColumn
330512288localfunchidden.textR_DrawColumnLow
330800288localfunchidden.textR_DrawFuzzColumn
331088352localfunchidden.textR_DrawFuzzColumnLow
331440256localfunchidden.textR_DrawTranslatedColumn
331696304localfunchidden.textR_DrawTranslatedColumnLow
332000224localfunchidden.textR_InitTranslationTables
332224288localfunchidden.textR_DrawSpan
332512336localfunchidden.textR_DrawSpanLow
332848192localfunchidden.textR_InitBuffer
333040864localfunchidden.textR_FillBackScreen
33390464localfunchidden.textR_VideoErase
333968304localfunchidden.textR_DrawViewBorder
334272144localfunchidden.textR_AddPointToBox
334416240localfunchidden.textR_PointOnSide
334656240localfunchidden.textR_PointOnSegSide
334896464localfunchidden.textR_PointToAngle
33536048localfunchidden.textR_PointToAngle2
335408144localfunchidden.textR_PointToDist
33555216localfunchidden.textR_InitPointToAngle
335568176localfunchidden.textR_ScaleFromGlobalAngle
33574416localfunchidden.textR_InitTables
335760432localfunchidden.textR_InitTextureMapping
336192176localfunchidden.textR_InitLightTables
33636832localfunchidden.textR_SetViewSize
336400864localfunchidden.textR_ExecuteSetViewSize
337264144localfunchidden.textR_Init
337408144localfunchidden.textR_PointInSubsector
337552272localfunchidden.textR_SetupFrame
33782496localfunchidden.textR_RenderPlayerView
33792016localfunchidden.textR_InitPlanes
337936496localfunchidden.textR_MapPlane
338432224localfunchidden.textR_ClearPlanes
338656240localfunchidden.textR_FindPlane
338896224localfunchidden.textR_CheckPlane
3391201024localfunchidden.textR_DrawPlanes
340144704localfunchidden.textR_RenderMaskedSegRange
3408481056localfunchidden.textR_RenderSegLoop
3419042752localfunchidden.textR_StoreWallRange
34465632localfunchidden.textR_InitSkyMap
344688400localfunchidden.textR_InstallSpriteLump
345088784localfunchidden.textR_InitSpriteDefs
34587248localfunchidden.textR_InitSprites
34592032localfunchidden.textR_ClearSprites
34595264localfunchidden.textR_NewVisSprite
346016288localfunchidden.textR_DrawMaskedColumn
346304448localfunchidden.textR_DrawVisSprite
346752960localfunchidden.textR_ProjectSprite
347712192localfunchidden.textR_AddSprites
347904592localfunchidden.textR_DrawPSprite
348496240localfunchidden.textR_DrawPlayerSprites
348736320localfunchidden.textR_SortVisSprites
3490561024localfunchidden.textR_DrawSprite
350080208localfunchidden.textR_DrawMasked
350288112localfunchidden.textSHA1_Init
350400384localfunchidden.textSHA1_Update
3507846000localfuncdefault.textTransform
356784800localfunchidden.textSHA1_Final
35758480localfunchidden.textSHA1_UpdateInt32
35766448localfunchidden.textSHA1_UpdateString
35771264localfunchidden.textStatCopy
35777616localfunchidden.textStatDump
35779232localfunchidden.textSTlib_init
35782448localfunchidden.textSTlib_initNum
357872432localfunchidden.textSTlib_drawNum
35830448localfunchidden.textSTlib_updateNum
35835264localfunchidden.textSTlib_initPercent
35841696localfunchidden.textSTlib_updatePercent
35851248localfunchidden.textSTlib_initMultIcon
358560288localfunchidden.textSTlib_updateMultIcon
35884848localfunchidden.textSTlib_initBinIcon
358896272localfunchidden.textSTlib_updateBinIcon
359168144localfunchidden.textST_refreshBackground
3593121616localfunchidden.textST_Responder
360928128localfunchidden.textST_calcPainOffset
3610561776localfunchidden.textST_updateFaceWidget
362832352localfunchidden.textST_updateWidgets
36318464localfunchidden.textST_Ticker
363248272localfunchidden.textST_doPaletteStuff
363520320localfunchidden.textST_drawWidgets
36384032localfunchidden.textST_doRefresh
36387232localfunchidden.textST_diffDraw
363904112localfunchidden.textST_Drawer
364016976localfunchidden.textST_loadGraphics
36499232localfunchidden.textST_loadData
365024928localfunchidden.textST_unloadGraphics
36595216localfunchidden.textST_unloadData
365968256localfunchidden.textST_initData
366224896localfunchidden.textST_createWidgets
367120304localfunchidden.textST_Start
36742464localfunchidden.textST_Stop
36748864localfunchidden.textST_Init
367552256localfunchidden.textS_Init
36780848localfunchidden.textS_SetSfxVolume
36785648localfunchidden.textS_SetMusicVolume
36790432localfunchidden.textS_Shutdown
367936224localfunchidden.textS_Start
368160128localfuncdefault.textS_StopChannel
368288304localfunchidden.textS_ChangeMusic
368592112localfunchidden.textS_StopSound
368704752localfunchidden.textS_StartSound
369456400localfuncdefault.textS_AdjustSoundParams
36985664localfunchidden.textS_PauseSound
36992064localfunchidden.textS_ResumeSound
369984288localfunchidden.textS_UpdateSounds
37027232localfunchidden.textS_StartMusic
370304112localfunchidden.textS_StopMusic
37041632localfunchidden.textS_MusicPlaying
37044864localfunchidden.textSlopeDiv
37051296localfunchidden.textV_MarkRect
370608288localfunchidden.textV_CopyRect
37089616localfunchidden.textV_SetPatchClipCallback
370912656localfunchidden.textV_DrawPatch
371568592localfunchidden.textV_DrawPatchFlipped
37216032localfunchidden.textV_DrawPatchDirect
372192432localfunchidden.textV_DrawTLPatch
372624384localfunchidden.textV_DrawXlaPatch
373008432localfunchidden.textV_DrawAltTLPatch
373440480localfunchidden.textV_DrawShadowedPatch
37392032localfunchidden.textV_LoadTintTable
37395232localfunchidden.textV_LoadXlaTable
373984224localfunchidden.textV_DrawBlock
374208112localfunchidden.textV_DrawFilledBox
37432064localfunchidden.textV_DrawHorizLine
37438496localfunchidden.textV_DrawVertLine
374480224localfunchidden.textV_DrawBox
37470432localfunchidden.textV_DrawRawScreen
37473616localfunchidden.textV_Init
37475216localfunchidden.textV_UseBuffer
37476832localfunchidden.textV_RestoreBuffer
374800496localfunchidden.textWritePCXfile
375296176localfunchidden.textV_ScreenShot
375472656localfunchidden.textV_DrawMouseSpeedBox
37612832localfunchidden.textWI_slamBackground
37616016localfunchidden.textWI_Responder
376176416localfunchidden.textWI_drawLF
376592176localfunchidden.textWI_drawEL
376768288localfunchidden.textWI_drawOnLnode
377056256localfunchidden.textWI_initAnimatedBack
377312400localfunchidden.textWI_updateAnimatedBack
377712176localfunchidden.textWI_drawAnimatedBack
377888320localfunchidden.textWI_drawNum
37820864localfunchidden.textWI_drawPercent
378272256localfunchidden.textWI_drawTime
37852816localfunchidden.textWI_End
3785441280localfunchidden.textWI_unloadData
37982448localfunchidden.textWI_initNoState
37987264localfunchidden.textWI_updateNoState
37993648localfunchidden.textWI_initShowNextLoc
37998496localfunchidden.textWI_updateShowNextLoc
380080432localfunchidden.textWI_drawShowNextLoc
38051232localfunchidden.textWI_drawNoState
380544144localfunchidden.textWI_fragSum
380688192localfunchidden.textWI_initDeathmatchStats
380880960localfunchidden.textWI_updateDeathmatchStats
381840736localfunchidden.textWI_drawDeathmatchStats
382576288localfunchidden.textWI_initNetgameStats
3828641584localfunchidden.textWI_updateNetgameStats
3844481008localfunchidden.textWI_drawNetgameStats
38545680localfunchidden.textWI_initStats
3855361168localfunchidden.textWI_updateStats
386704448localfunchidden.textWI_drawStats
387152192localfunchidden.textWI_checkForAccelerate
387344480localfunchidden.textWI_Ticker
3878241552localfunchidden.textWI_loadData
389376128localfunchidden.textWI_Drawer
389504256localfunchidden.textWI_initVariables
389760160localfunchidden.textWI_Start
389920320localfunchidden.textW_Checksum
39024048localfunchidden.textW_OpenFile
39028832localfunchidden.textW_CloseFile
39032048localfunchidden.textW_Read
390368208localfunchidden.textW_ParseCommandLine
39057680localfunchidden.textW_LumpNameHash
3906561056localfunchidden.textW_AddFile
39171216localfunchidden.textW_NumLumps
391728304localfunchidden.textW_CheckNumForName
39203264localfunchidden.textW_GetNumForName
39209664localfunchidden.textW_LumpLength
392160144localfunchidden.textW_ReadLump
392304256localfunchidden.textW_CacheLumpNum
39256080localfunchidden.textW_CacheLumpName
392640128localfunchidden.textW_ReleaseLumpNum
39276880localfunchidden.textW_ReleaseLumpName
392848304localfunchidden.textW_GenerateHashTable
393152192localfunchidden.textW_CheckCorrectIWAD
39334416localfuncdefault.textallzerop
393360368globalfuncprotected.textcalloc
39372896localfunchidden.textZ_ClearZone
393824112localfunchidden.textZ_Init
393936288localfunchidden.textZ_Free
394224432localfunchidden.textZ_Malloc
39465696localfunchidden.textZ_FreeTags
394752320localfunchidden.textZ_DumpHeap
395072448localfunchidden.textZ_FileDumpHeap
395520224localfunchidden.textZ_CheckHeap
395744112localfunchidden.textZ_ChangeTag2
39585664localfunchidden.textZ_ChangeUser
395920144localfunchidden.textZ_FreeMemory
39606432localfunchidden.textZ_ZoneSize
39609664localfunchidden.textW_StdC_Read
396160128localfuncdefault.textW_StdC_OpenFile
39628832localfuncdefault.textW_StdC_CloseFile
396320384localfunchidden.textI_GetEvent
39670416localfunchidden.textI_InitInput
396720464localfunchidden.textI_InitGraphics
39718432localfunchidden.textI_ShutdownGraphics
39721616localfunchidden.textI_StartFrame
39723216localfunchidden.textI_StartTic
39724816localfunchidden.textI_UpdateNoBlit
39726416localfunchidden.textI_FinishUpdate
39728032localfunchidden.textI_ReadScreen
397312192localfunchidden.textI_SetPalette
397504128localfunchidden.textI_GetPaletteIndex
39763216localfunchidden.textI_BeginRead
39764816localfunchidden.textI_EndRead
39766432localfunchidden.textI_SetWindowTitle
39769616localfunchidden.textI_GraphicsCheckCommandLine
39771216localfunchidden.textI_SetGrabMouseCallback
39772816localfunchidden.textI_EnableLoadingDisk
39774416localfunchidden.textI_BindVideoVariables
39776016localfunchidden.textI_DisplayFPSDots
39777616localfunchidden.textI_CheckIsScreensaver
39779264localfunchidden.textdoomgeneric_Create
39785648localfunchidden.textDG_Init
39790448localfunchidden.textDG_DrawFrame
39795248localfunchidden.textDG_SleepMs
39800016localfunchidden.textprint_current_time_with_ms
39801648localfunchidden.textDG_GetTicksMs
39806448localfunchidden.textDG_GetKey
39811248localfunchidden.textDG_SetWindowTitle
398160112localfunchidden.textmain
39827248globalfuncprotected.text_start
39832048localfunchidden.text_start_c
39836816weakfuncprotected.text_init
39836816localfuncdefault.textdummy
39838416localfunchidden.text__init_ssp
39838416localfuncdefault.textdummy1
398400672localfunchidden.text__init_libc
39907264localfunchidden.text__libc_start_init
39907264localfuncdefault.textlibc_start_init
39913664globalfuncprotected.text__libc_start_main
399200128localfunchidden.text__init_tp
399328144localfunchidden.text__copy_tls
399472704localfunchidden.text__init_tls
399472704localfuncdefault.textstatic_init_tls
4657120localnotypehidden.rodata__fini_array_start
4657120localnotypehidden.rodata__fini_array_end
4657120localnotypehidden.rodata__init_array_start
4657120localnotypehidden.rodata__init_array_end
46571220localobjectdefault.rodataAM_Stop.st_notify
46573220localobjectdefault.rodataAM_initVariables.st_notify
49454416localobjectdefault.rodataAM_drawPlayers.their_colors
49459216localobjectdefault.rodataxdigits
49468816localobjectdefault.rodatadecfloat.th
4948800localnotypedefault.rodata.LJTI1_0
4951040localnotypedefault.rodata.LJTI1_1
4951360localnotypedefault.rodata.LJTI2_0
49524832localobjectdefault.rodatadecfloat.p10s
495280464localobjectdefault.rodatastates
4957441960localobjectdefault.rodataerrmsgstr
497704264localobjectdefault.rodataerrmsgidx
49796896localobjecthidden.rodata__malloc_size_classes
49806427localobjectdefault.rodatasmall_cnt_tab
4980914localobjectdefault.rodatamed_cnt_tab
4980960localnotypedefault.rodata.LJTI1_0
4981120localnotypedefault.rodata.LJTI9_0
498140184localobjectdefault.rodata.L__const.D_DoomMain.name
49832460localobjectdefault.rodataSetMissionForPackName.packs
49838412localobjectdefault.rodata.Lswitch.table.D_SetGameDescription.rel
498396208localobjectdefault.rodatavalid_modes
49860480localobjectdefault.rodatavalid_versions
49868428localobjectdefault.rodata.Lswitch.table.D_IsEpisodeMap
49871236localobjectdefault.rodata.Lswitch.table.D_GameMissionString.rel
4987480localnotypedefault.rodata.LJTI5_0
4990840localnotypedefault.rodata.LJTI5_1
4991880localnotypedefault.rodata.LJTI11_0
4992040localnotypedefault.rodata.LJTI3_0
4992200localnotypedefault.rodata.LJTI4_0
4992600localnotypedefault.rodata.LJTI4_1
4992760localnotypedefault.rodata.LJTI9_0
4992920localnotypedefault.rodata.LJTI9_1
4993080localnotypedefault.rodata.LJTI17_0
4993400localnotypedefault.rodata.LJTI29_0
4993560localnotypedefault.rodata.LJTI30_0
49937272localobjectdefault.rodataweapon_order_table
49944424localobjectdefault.rodata.Lswitch.table.G_DoPlayDemo.rel
49946812localobjectdefault.rodata.Lswitch.table.G_InitNew.rel
4994800localnotypedefault.rodata.LJTI2_0
49949610localobjectdefault.rodatamem_dump_dos622
49950610localobjectdefault.rodatamem_dump_win98
49951610localobjectdefault.rodatamem_dump_dosbox
4995288localobjectdefault.rodataall_mask
4995368localobjectdefault.rodataapp_mask
4995440localnotypedefault.rodata.LJTI1_0
4995640localnotypedefault.rodata.LJTI6_0
499584512localobjectdefault.rodatascantokey
5000960localnotypedefault.rodata.LJTI0_0
5003280localnotypedefault.rodata.LJTI0_1
5003520localnotypedefault.rodata.LJTI0_2
5005760localnotypedefault.rodata.LJTI0_3
50060012localobjectdefault.rodata.Lswitch.table.__floatscan
50061212localobjectdefault.rodata.Lswitch.table.__floatscan.2
500624204localobjecthidden.rodata__fsmu8
500828257localobjectdefault.rodatatable
5010859localobjectdefault.rodata.L.str
5010968localobjectdefault.rodatadetailNames.rel
5011048localobjectdefault.rodatamsgNames.rel
501112256localobjectdefault.rodatarndtable
5013680localnotypedefault.rodata.LJTI0_0
5013920localnotypedefault.rodata.LJTI2_0
5014160localnotypedefault.rodata.LJTI0_0
5014320localnotypedefault.rodata.LJTI0_1
5014640localnotypedefault.rodata.LJTI2_0
5014960localnotypedefault.rodata.LJTI48_0
5015120localnotypedefault.rodata.LJTI2_0
5015640localnotypedefault.rodata.LJTI0_0
5015800localnotypedefault.rodata.LJTI5_0
5016040localnotypedefault.rodata.LJTI6_0
5017600localnotypedefault.rodata.LJTI7_0
5018520localnotypedefault.rodata.LJTI2_0
5018680localnotypedefault.rodata.LJTI2_0
5018880localnotypedefault.rodata.LJTI16_0
5019200localnotypedefault.rodata.LJTI12_0
5024800localnotypedefault.rodata.LJTI14_0
5025320localnotypedefault.rodata.LJTI17_0
5026000localnotypedefault.rodata.LJTI3_0
503160200localobjectdefault.rodatafuzzoffset
50336036localobjectdefault.rodata.L__const.S_Start.spmus
50339616384localobjecthidden.rodatafinetangent
51978040960localobjecthidden.rodatafinesine
5607408196localobjecthidden.rodatatantoangle
5689361280localobjecthidden.rodatagammatable
5702160localnotypedefault.rodata.LJTI24_0
5702520localnotypedefault.rodata.LJTI27_0
570288288localobjectdefault.rodatalnodes
57057616localobjectdefault.rodataNUMANIMS
57059248localobjectdefault.rodataunique_lumps
570640128localobjectdefault.rodatashiftxform
57076824localobjectdefault.rodata.L__const.__init_libc.pfd
6363288localobjecthidden.data.rel.ro__stdio_ofl_lockptr
6363368globalobjectprotected.data.rel.rostderr
636344336localobjectdefault.data.rel.roiwads
6366808localobjecthidden.data.rel.ro__bump_lockptr
6366888globalobjectprotected.data.rel.rostdout
636696240localobjectdefault.data.rel.rogameversions
63693648localobjectdefault.data.rel.rowipe_ScreenWipe.wipes
63698464localobjectdefault.data.rel.roweapon_keys
637048552localobjectdefault.data.rel.rointercepts_overrun
63760032localobjectdefault.data.rel.roanims
6376320localnotypehidden.dynamic_DYNAMIC
703408112localobjecthidden.dataplayer_arrow
703520256localobjecthidden.datacheat_player_arrow
70377648localobjecthidden.datatriangle_guy
70382448localobjecthidden.datathintriangle_guy
70387272localobjecthidden.datacheat_amap
7039444localobjectdefault.datafollowplayer
7039484localobjectdefault.dataAM_Start.lastlevel
7039524localobjectdefault.dataAM_Start.lastepisode
7039564localobjectdefault.datascale_mtof
703960232localobjecthidden.data__stderr_FILE
7041928localobjecthidden.data__stderr_used
7042004localobjecthidden.datagamemode
7042044localobjecthidden.datagameversion
70420864localobjecthidden.datadoom1_endmsg
70427264localobjecthidden.datadoom2_endmsg
704336216localobjecthidden.dataweaponinfo
704552232localobjecthidden.data__stdout_FILE
7047848localobjecthidden.data__stdout_used
7047924localobjecthidden.datashow_endoom
7047964localobjecthidden.datawipegamestate
7048004localobjectdefault.dataD_Display.oldgamestate
70480832localobjectdefault.datadoom_loop_interface
704840288localobjecthidden.datacastorder
705128704localobjectdefault.datatextscreens
7058324localobjecthidden.dataprecache
7058368localobjecthidden.dataforwardmove
7058448localobjecthidden.datasidemove
70585212localobjecthidden.dataangleturn
7058644localobjecthidden.datavanilla_savegame_limit
7058684localobjecthidden.datavanilla_demo_limit
705872160localobjecthidden.datapars
706032128localobjecthidden.datacpars
70616080localobjecthidden.datachat_macros
70624032localobjecthidden.dataplayer_names
706272360localobjecthidden.datamapnames
706632768localobjecthidden.datamapnames_commercial
7074001112localobjecthidden.datasprnames
70851238680localobjecthidden.datastates
74719212604localobjecthidden.datamobjinfo
7597964localobjectdefault.datajoystick_index
7598004localobjectdefault.datajoystick_y_axis
7598044localobjectdefault.datajoystick_strafe_axis
75980840localobjectdefault.datajoystick_physical_buttons
75984832localobjecthidden.datamode_scale_1x
75988032localobjecthidden.datamode_scale_2x
75991232localobjecthidden.datamode_scale_3x
75994432localobjecthidden.datamode_scale_4x
75997632localobjecthidden.datamode_scale_5x
76000832localobjecthidden.datamode_stretch_1x
76004032localobjecthidden.datamode_stretch_2x
76007232localobjecthidden.datamode_stretch_3x
76010432localobjecthidden.datamode_stretch_4x
76013632localobjecthidden.datamode_stretch_5x
76016832localobjecthidden.datamode_squash_1x
76020032localobjecthidden.datamode_squash_2x
76023232localobjecthidden.datamode_squash_3x
76026432localobjecthidden.datamode_squash_4x
76029632localobjecthidden.datamode_squash_5x
7603284localobjecthidden.datasnd_samplerate
7603324localobjecthidden.datasnd_cachesize
7603364localobjecthidden.datasnd_maxslicetime_ms
7603448localobjecthidden.datasnd_musiccmd
7603524localobjecthidden.datasnd_musicdevice
7603564localobjecthidden.datasnd_sfxdevice
7603608localobjectdefault.datados_mem_dump
7603682432localobjectdefault.datadoom_defaults_list
7628003808localobjectdefault.dataextra_defaults_list
7666084localobjecthidden.datakey_right
7666124localobjecthidden.datakey_left
7666164localobjecthidden.datakey_up
7666204localobjecthidden.datakey_down
7666244localobjecthidden.datakey_strafeleft
7666284localobjecthidden.datakey_straferight
7666324localobjecthidden.datakey_fire
7666364localobjecthidden.datakey_use
7666404localobjecthidden.datakey_strafe
7666444localobjecthidden.datakey_speed
7666484localobjecthidden.datakey_flyup
7666524localobjecthidden.datakey_flydown
7666564localobjecthidden.datakey_flycenter
7666604localobjecthidden.datakey_lookup
7666644localobjecthidden.datakey_lookdown
7666684localobjecthidden.datakey_lookcenter
7666724localobjecthidden.datakey_invleft
7666764localobjecthidden.datakey_invright
7666804localobjecthidden.datakey_useartifact
7666844localobjecthidden.datakey_jump
7666884localobjecthidden.datakey_arti_all
7666924localobjecthidden.datakey_arti_health
7666964localobjecthidden.datakey_arti_poisonbag
7667004localobjecthidden.datakey_arti_blastradius
7667044localobjecthidden.datakey_arti_teleport
7667084localobjecthidden.datakey_arti_teleportother
7667124localobjecthidden.datakey_arti_egg
7667164localobjecthidden.datakey_arti_invulnerability
7667204localobjecthidden.datakey_usehealth
7667244localobjecthidden.datakey_invquery
7667284localobjecthidden.datakey_mission
7667324localobjecthidden.datakey_invpop
7667364localobjecthidden.datakey_invkey
7667404localobjecthidden.datakey_invhome
7667444localobjecthidden.datakey_invend
7667484localobjecthidden.datakey_invuse
7667524localobjecthidden.datakey_invdrop
7667564localobjecthidden.datamousebstrafe
7667604localobjecthidden.datamousebforward
7667644localobjecthidden.datamousebjump
7667684localobjecthidden.datamousebstrafeleft
7667724localobjecthidden.datamousebstraferight
7667764localobjecthidden.datamousebbackward
7667804localobjecthidden.datamousebuse
7667844localobjecthidden.datamousebprevweapon
7667884localobjecthidden.datamousebnextweapon
7667924localobjecthidden.datakey_message_refresh
7667964localobjecthidden.datakey_pause
7668004localobjecthidden.datakey_demo_quit
7668044localobjecthidden.datakey_spy
7668084localobjecthidden.datakey_multi_msg
7668124localobjecthidden.datakey_weapon1
7668164localobjecthidden.datakey_weapon2
7668204localobjecthidden.datakey_weapon3
7668244localobjecthidden.datakey_weapon4
7668284localobjecthidden.datakey_weapon5
7668324localobjecthidden.datakey_weapon6
7668364localobjecthidden.datakey_weapon7
7668404localobjecthidden.datakey_weapon8
7668444localobjecthidden.datakey_map_north
7668484localobjecthidden.datakey_map_south
7668524localobjecthidden.datakey_map_east
7668564localobjecthidden.datakey_map_west
7668604localobjecthidden.datakey_map_zoomin
7668644localobjecthidden.datakey_map_zoomout
7668684localobjecthidden.datakey_map_toggle
7668724localobjecthidden.datakey_map_maxzoom
7668764localobjecthidden.datakey_map_follow
7668804localobjecthidden.datakey_map_grid
7668844localobjecthidden.datakey_map_mark
7668884localobjecthidden.datakey_map_clearmark
7668924localobjecthidden.datakey_menu_activate
7668964localobjecthidden.datakey_menu_up
7669004localobjecthidden.datakey_menu_down
7669044localobjecthidden.datakey_menu_left
7669084localobjecthidden.datakey_menu_right
7669124localobjecthidden.datakey_menu_back
7669164localobjecthidden.datakey_menu_forward
7669204localobjecthidden.datakey_menu_confirm
7669244localobjecthidden.datakey_menu_abort
7669284localobjecthidden.datakey_menu_help
7669324localobjecthidden.datakey_menu_save
7669364localobjecthidden.datakey_menu_load
7669404localobjecthidden.datakey_menu_volume
7669444localobjecthidden.datakey_menu_detail
7669484localobjecthidden.datakey_menu_qsave
7669524localobjecthidden.datakey_menu_endgame
7669564localobjecthidden.datakey_menu_messages
7669604localobjecthidden.datakey_menu_qload
7669644localobjecthidden.datakey_menu_quit
7669684localobjecthidden.datakey_menu_gamma
7669724localobjecthidden.datakey_menu_incscreen
7669764localobjecthidden.datakey_menu_decscreen
7669804localobjecthidden.datajoybstrafe
7669844localobjecthidden.datajoybuse
7669884localobjecthidden.datajoybspeed
7669924localobjecthidden.datajoybstrafeleft
7669964localobjecthidden.datajoybstraferight
7670004localobjecthidden.datajoybjump
7670044localobjecthidden.datajoybprevweapon
7670084localobjecthidden.datajoybnextweapon
7670124localobjecthidden.datajoybmenu
7670164localobjecthidden.datadclick_use
7670244localobjecthidden.datamouseSensitivity
7670284localobjecthidden.datashowMessages
7670324localobjecthidden.datascreenblocks
767036130localobjecthidden.datagammamsg
76716816localobjecthidden.dataskullName
767184192localobjecthidden.dataMainMenu
76737640localobjecthidden.dataMainDef
767416128localobjecthidden.dataEpisodeMenu
76754440localobjecthidden.dataEpiDef
767584160localobjecthidden.dataNewGameMenu
76774440localobjecthidden.dataNewDef
767784256localobjecthidden.dataOptionsMenu
76804040localobjecthidden.dataOptionsDef
76808032localobjecthidden.dataReadMenu1
76811240localobjecthidden.dataReadDef1
76815232localobjecthidden.dataReadMenu2
76818440localobjecthidden.dataReadDef2
768224128localobjecthidden.dataSoundMenu
76835240localobjecthidden.dataSoundDef
768392192localobjecthidden.dataLoadMenu
76858440localobjecthidden.dataLoadDef
768624192localobjecthidden.dataSaveMenu
76881640localobjecthidden.dataSaveDef
76885632localobjecthidden.dataquitsounds
76888832localobjecthidden.dataquitsounds2
76892036localobjecthidden.dataopposite
76895616localobjecthidden.datadiags
76897232localobjecthidden.dataxspeed
76900432localobjecthidden.datayspeed
7690364localobjecthidden.dataTRACEANGLE
76904016localobjecthidden.datamaxammo
76905616localobjecthidden.dataclipammo
769072644localobjecthidden.dataanimdefs
769716820localobjecthidden.dataalphSwitchList
770536192localobjecthidden.datacheckcoord
7707284localobjecthidden.datavalidcount
7707362176localobjecthidden.dataS_music
7729126976localobjecthidden.dataS_sfx
77988872localobjecthidden.datacheat_mus
77996072localobjecthidden.datacheat_god
78003272localobjecthidden.datacheat_ammo
78010472localobjecthidden.datacheat_ammonokey
78017672localobjecthidden.datacheat_noclip
78024872localobjecthidden.datacheat_commercial_noclip
780320504localobjecthidden.datacheat_powerup
78082472localobjecthidden.datacheat_choppers
78089672localobjecthidden.datacheat_clev
78096872localobjecthidden.datacheat_mypos
7810404localobjectdefault.dataST_calcPainOffset.oldhealth
7810444localobjectdefault.dataST_updateFaceWidget.lastattackdown
7810484localobjectdefault.datast_oldhealth
7810524localobjectdefault.dataST_updateWidgets.largeammo
7810564localobjecthidden.datasfxVolume
7810604localobjecthidden.datamusicVolume
7810644localobjecthidden.datasnd_channels
7810728localobjecthidden.datafinecosine
781080720localobjectdefault.dataepsd0animinfo
781800648localobjectdefault.dataepsd1animinfo
782448432localobjectdefault.dataepsd2animinfo
78288024localobjecthidden.datastdc_wad_file
7829044localobjecthidden.datavanilla_keyboard_mapping
7829084localobjecthidden.datafb_scaling
7829124localobjecthidden.datamouse_acceleration
7829164localobjecthidden.datamouse_threshold
7829204localobjecthidden.data__default_stacksize
7829244localobjecthidden.data__default_guardsize
7829284localobjecthidden.bssnet_client_connected
7829324localobjecthidden.bssdrone
7829364localobjecthidden.bssautomapactive
7829404localobjectdefault.bssm_x
7829444localobjectdefault.bssold_m_x
7829484localobjectdefault.bssm_y
7829524localobjectdefault.bssold_m_y
7829564localobjectdefault.bssm_w
7829604localobjectdefault.bssold_m_w
7829644localobjectdefault.bssm_h
7829684localobjectdefault.bssold_m_h
78297280localobjectdefault.bssmarkpoints
7830524localobjectdefault.bssmarkpointnum
7830561localobjectdefault.bssstopped
7830604localobjectdefault.bssAM_Responder.bigstate
78306420localobjectdefault.bssAM_Responder.buffer
7830844localobjectdefault.bssscale_ftom
7830884localobjectdefault.bssm_paninc.0
7830924localobjectdefault.bssm_paninc.1
7830964localobjectdefault.bssmtof_zoommul
7831004localobjectdefault.bssftom_zoommul
7831044localobjectdefault.bssf_oldloc.0
7831084localobjectdefault.bssf_oldloc.1
7831128localobjectdefault.bssplr
7831204localobjectdefault.bssgrid
7831244localobjectdefault.bsscheating
7831284localobjectdefault.bssamclock
7831321localobjectdefault.bssf_w
7831361localobjectdefault.bssf_h
7831404localobjectdefault.bssmin_scale_mtof
7831444localobjectdefault.bssmax_scale_mtof
7831484localobjectdefault.bssmin_y
7831524localobjectdefault.bssmin_x
7831564localobjectdefault.bssmax_y
7831604localobjectdefault.bssmax_x
7831644localobjectdefault.bssmax_h
7831688localobjectdefault.bssfb
78317680localobjectdefault.bssmarknums
7832564localobjectdefault.bssm_x2
7832604localobjectdefault.bssm_y2
7832644localobjectdefault.bssAM_drawMline.fl.2
7832684localobjectdefault.bssAM_drawMline.fl.3
7832724localobjectdefault.bssAM_drawFline.fuck
78327616localobjectdefault.bssAM_drawWalls.l
7832968localobjectdefault.bssdummy_file
7832968localobjecthidden.bss__stdin_used
7833044localobjectdefault.bssofl_lock
7833128localobjectdefault.bssofl_head
7833208weakobjectprotected.bssprogram_invocation_short_name
7833208globalobjectprotected.bss__progname
7833288globalobjectprotected.bss__progname_full
7833288weakobjectprotected.bssprogram_invocation_name
783336104localobjecthidden.bss__libc
7834408localobjecthidden.bss__hwcap
7834488localobjectdefault.bssbuf
7834564localobjecthidden.bssgamemission
7834648localobjecthidden.bssgamedescription
7834724localobjecthidden.bssmodifiedgame
7834761280localobjectdefault.bssevents
7847564localobjectdefault.bsseventhead
7847604localobjectdefault.bsseventtail
7847684localobjectdefault.bssnum_iwad_dirs
7847761024localobjectdefault.bssiwad_dirs
785800928localobjecthidden.bss__malloc_context
7867284localobjecthidden.bss__malloc_lock
7867324localobjectdefault.bsslock
7867368localobjectdefault.bss__simple_malloc.brk
7867448localobjectdefault.bss__simple_malloc.cur
7867528localobjectdefault.bss__simple_malloc.end
7867604localobjectdefault.bss__simple_malloc.mmap_step
7867641032localobjectdefault.bssbuf
7878004localobjecthidden.bsssingletics
7878044localobjecthidden.bssticdup
7878084localobjecthidden.bsslasttime
7878124localobjectdefault.bssskiptics
78781620480localobjectdefault.bssticdata
8082964localobjectdefault.bssrecvtic
8083004localobjectdefault.bssplayer_class
8083041localobjectdefault.bssnew_sync
8083084localobjectdefault.bssTryRunTics.oldentertics
8083124localobjecthidden.bssgametic
80831632localobjectdefault.bsslocal_playeringame
8083528localobjectdefault.bssloop_interface
8083604localobjecthidden.bssoffsetms
8083644localobjectdefault.bssmaketic
8083684localobjectdefault.bssframeon
8083724localobjectdefault.bssoldnettics
80837616localobjectdefault.bssframeskip
8083924localobjecthidden.bssmain_loop_started
8083964localobjecthidden.bssstoredemo
8084004localobjectdefault.bssD_Display.viewactivestate
8084044localobjectdefault.bssD_Display.menuactivestate
8084084localobjectdefault.bssD_Display.inhelpscreensstate
8084124localobjectdefault.bssD_Display.fullscreen
8084164localobjectdefault.bssD_Display.borderdrawcount
8084204localobjecthidden.bssadvancedemo
8084244localobjecthidden.bssbfgedition
8084284localobjecthidden.bsspagetic
8084328localobjecthidden.bsspagename
8084404localobjecthidden.bssdemosequence
8084444localobjecthidden.bssnomonsters
8084484localobjecthidden.bssrespawnparm
8084524localobjecthidden.bssfastparm
8084564localobjecthidden.bssdevparm
8084648localobjecthidden.bssiwadfile
8084728localobjecthidden.bsssavegamedir
8084804localobjecthidden.bssstartskill
8084844localobjecthidden.bssstartepisode
8084884localobjecthidden.bssstartmap
8084924localobjecthidden.bssautostart
8084964localobjecthidden.bssstartloadgame
8085001024localobjecthidden.bsswadfile
8095241024localobjecthidden.bssmapdir
810548128localobjecthidden.bsstitle
8106764localobjectdefault.bssexit.exit_lock
8106808localobjecthidden.bssnetcmds
81068880localobjectdefault.bssPlayerQuitGame.exitmsg
8107688localobjecthidden.bssfinaletext
8107768localobjecthidden.bssfinaleflat
8107844localobjecthidden.bssfinalestage
8107884localobjecthidden.bssfinalecount
8107924localobjecthidden.bsscastnum
8108008localobjecthidden.bsscaststate
8108084localobjecthidden.bsscasttics
8108124localobjecthidden.bsscastdeath
8108164localobjecthidden.bsscastframes
8108204localobjecthidden.bsscastonmelee
8108244localobjecthidden.bsscastattacking
8108284localobjectdefault.bssF_BunnyScroll.laststage
8108328localobjectdefault.bsswipe_scr
8108408localobjectdefault.bsswipe_scr_start
8108488localobjectdefault.bsswipe_scr_end
8108568localobjectdefault.bssy
8108641localobjectdefault.bssgo
8108724localobjecthidden.bsstestcontrols
810876512localobjecthidden.bssconsistancy
8113884localobjecthidden.bssconsoleplayer
8113921024localobjectdefault.bssgamekeydown
8124164localobjectdefault.bssjoyxmove
8124204localobjectdefault.bssturnheld
8124244localobjectdefault.bssjoyymove
8124284localobjectdefault.bssjoystrafemove
8124324localobjectdefault.bssdclicks
8124364localobjecthidden.bssgamestate
8124404localobjectdefault.bssnext_weapon
8124444localobjectdefault.bssdclickstate
8124484localobjectdefault.bssdclicktime
8124524localobjectdefault.bssdclickstate2
8124564localobjectdefault.bssdclicktime2
8124604localobjectdefault.bssdclicks2
8124644localobjecthidden.bssmousey
8124684localobjecthidden.bssmousex
8124724localobjecthidden.bsstestcontrols_mousespeed
8124764localobjecthidden.bsssendpause
8124804localobjecthidden.bsssendsave
8124844localobjectdefault.bsssavegameslot
8124884localobjecthidden.bsslowres_turn
8124922localobjectdefault.bssG_BuildTiccmd.carry
8124964localobjecthidden.bssgamemap
8125004localobjecthidden.bsslevelstarttic
81250416localobjecthidden.bssturbodetected
81252016localobjecthidden.bssplayeringame
8125361312localobjecthidden.bssplayers
8138484localobjecthidden.bssgameepisode
8138524localobjecthidden.bssgameskill
8138564localobjecthidden.bssdisplayplayer
8138604localobjecthidden.bssgameaction
8138644localobjecthidden.bsspaused
81386836localobjectdefault.bssmousearray
81390484localobjectdefault.bssjoyarray
8139884localobjecthidden.bsssingledemo
8139924localobjecthidden.bssdeathmatch
8139964localobjecthidden.bssdemoplayback
8140004localobjecthidden.bssdemorecording
81400480localobjectdefault.bssG_Ticker.turbomessage
8140844localobjecthidden.bssnetgame
8140884localobjecthidden.bssnetdemo
81409232localobjectdefault.bsssavedescription
8141244localobjecthidden.bssoldgamestate
8141284localobjecthidden.bssbodyqueslot
814136256localobjecthidden.bssbodyque
8143924localobjecthidden.bsssecretexit
814396200localobjecthidden.bsswminfo
8145964localobjecthidden.bsstotalkills
8146004localobjecthidden.bsstotalitems
8146044localobjecthidden.bsstotalsecret
8146084localobjecthidden.bssviewactive
814612256localobjecthidden.bsssavename
8148684localobjecthidden.bssd_skill
8148724localobjecthidden.bssd_episode
8148764localobjecthidden.bssd_map
8148804localobjecthidden.bssrespawnmonsters
8148844localobjecthidden.bssusergame
8148888localobjecthidden.bssdemo_p
8148964localobjecthidden.bsslongtics
8149048localobjecthidden.bssdemoend
8149128localobjecthidden.bssdemoname
8149208localobjecthidden.bssdemobuffer
8149288localobjecthidden.bssdefdemoname
8149364localobjecthidden.bssstarttime
8149404localobjecthidden.bssnodrawers
8149444localobjecthidden.bsstimingdemo
8149484localobjecthidden.bsstimelimit
81495216localobjectdefault.bssDemoVersionDescription.resultbuf
8149688localobjectdefault.bssdummy
814976504localobjecthidden.bsshu_font
8154801localobjectdefault.bssheadsupactive
8154888localobjectdefault.bssplr
8154964localobjectdefault.bssmessage_on
8155004localobjecthidden.bssmessage_dontfuckwithme
8155044localobjectdefault.bssmessage_nottobefuckedwith
8155084localobjecthidden.bsschat_on
815512472localobjectdefault.bssw_message
815984112localobjectdefault.bssw_title
816096136localobjectdefault.bssw_chat
816232544localobjectdefault.bssw_inputbuffer
8167764localobjectdefault.bssalways_off
8167804localobjectdefault.bssmessage_counter
8167844localobjectdefault.bsschat_dest
8167884localobjectdefault.bsshead
8167924localobjectdefault.bsstail
816796128localobjectdefault.bsschatchars
81692481localobjectdefault.bssHU_Responder.lastmessage
8170084localobjectdefault.bssHU_Responder.altdown
8170124localobjectdefault.bssHU_Responder.num_nobrainers
8170161localobjecthidden.bsschat_char
8170204localobjecthidden.bsscd_Error
8170244localobjectdefault.bssusejoystick
8170284localobjectdefault.bssjoystick_x_axis
8170324localobjectdefault.bssjoystick_x_invert
8170364localobjectdefault.bssjoystick_y_invert
8170404localobjectdefault.bssjoystick_strafe_invert
8170488localobjectdefault.bsssrc_buffer
8170568localobjectdefault.bssdest_buffer
8170644localobjectdefault.bssdest_pitch
8170728localobjectdefault.bssstretch_tables.0
8170808localobjectdefault.bssstretch_tables.1
8170888localobjectdefault.bsshalf_stretch_table
8170964localobjectdefault.bsssnd_sbport
8171004localobjectdefault.bsssnd_sbirq
8171044localobjectdefault.bsssnd_sbdma
8171084localobjectdefault.bsssnd_mport
8171128localobjectdefault.bssexit_funcs
8171201localobjectdefault.bssalready_quitting
8171241localobjectdefault.bssI_GetMemoryValue.firsttime
81712510localobjectdefault.bssmem_dump_custom
8171368localobjectdefault.bsshandler_set
8171441localobjectdefault.bssunmask_done
8171484localobjecthidden.bss__eintr_valid_flag
8171524localobjecthidden.bss__abort_lock
8171608weakobjectprotected.bss___environ
8171608weakobjectprotected.bss_environ
8171608weakobjectprotected.bssenviron
8171608globalobjectprotected.bss__environ
8171684localobjectdefault.bssbasetime
8171764localobjecthidden.bssmyargc
8171848localobjecthidden.bssmyargv
8171928localobjectdefault.bssdefault_main_config
8172008localobjectdefault.bssdefault_extra_config
8172088localobjecthidden.bssconfigdir
8172168localobjectdefault.bssdoom_defaults.2
8172248localobjectdefault.bssextra_defaults.2
8172324localobjectdefault.bssmbrtowc.internal_state
8172364localobjecthidden.bssmousebfire
8172404localobjecthidden.bsskey_prevweapon
8172444localobjecthidden.bsskey_nextweapon
8172484localobjecthidden.bsskey_menu_screenshot
8172524localobjecthidden.bssjoybfire
81725632localobjecthidden.bsskey_multi_msgplayer
8172884localobjecthidden.bssdetailLevel
817292240localobjecthidden.bsssavegamestrings
8175324localobjecthidden.bsssaveStringEnter
8175364localobjecthidden.bsssaveSlot
8175404localobjecthidden.bssquickSaveSlot
81754424localobjecthidden.bsssaveOldString
8175684localobjecthidden.bsssaveCharIndex
81757280localobjecthidden.bsstempstring
8176524localobjecthidden.bssinhelpscreens
8176564localobjecthidden.bssepi
8176604localobjecthidden.bssscreenSize
8176642localobjecthidden.bssitemOn
8176728localobjecthidden.bsscurrentMenu
817680160localobjecthidden.bssendstring
8178404localobjecthidden.bssmenuactive
8178444localobjecthidden.bssmessageLastMenuActive
8178484localobjecthidden.bssmessageToPrint
8178568localobjecthidden.bssmessageString
8178648localobjecthidden.bssmessageRoutine
8178724localobjecthidden.bssmessageNeedsInput
8178764localobjectdefault.bssM_Responder.joywait
8178804localobjectdefault.bssM_Responder.mousewait
8178844localobjectdefault.bssM_Responder.mousey
8178884localobjectdefault.bssM_Responder.lasty
8178924localobjectdefault.bssM_Responder.mousex
8178964localobjectdefault.bssM_Responder.lastx
8179002localobjectdefault.bssM_Drawer.x
8179022localobjectdefault.bssM_Drawer.y
8179042localobjecthidden.bsswhichSkull
8179062localobjecthidden.bssskullAnimCounter
8179084localobjecthidden.bssmessx
8179124localobjecthidden.bssmessy
8179164localobjecthidden.bssmain_e
8179204localobjecthidden.bssepisodes_e
8179244localobjecthidden.bssnewgame_e
8179284localobjecthidden.bssoptions_e
8179324localobjecthidden.bssread_e
8179364localobjecthidden.bssread_e2
8179404localobjecthidden.bsssound_e
8179444localobjecthidden.bssload_e
8179484localobjecthidden.bssrndindex
8179524localobjecthidden.bssprndindex
817960240localobjecthidden.bssactiveceilings
8182008localobjecthidden.bsssoundtarget
8182084localobjecthidden.bssviletryx
8182124localobjecthidden.bssviletryy
8182168localobjecthidden.bsscorpsehit
8182248localobjecthidden.bssvileobj
8182324localobjecthidden.bssbraintargeton
8182364localobjecthidden.bssnumbraintargets
818240256localobjecthidden.bssbraintargets
8184964localobjectdefault.bssA_BrainSpit.easy
8185048localobjecthidden.bsstmthing
8185124localobjecthidden.bsstmx
8185164localobjecthidden.bsstmy
8185204localobjecthidden.bsstmflags
81852416localobjecthidden.bsstmbbox
8185448localobjecthidden.bssceilingline
8185524localobjecthidden.bsstmdropoffz
8185564localobjecthidden.bsstmfloorz
8185604localobjecthidden.bsstmceilingz
8185644localobjecthidden.bssnumspechit
818568160localobjecthidden.bssspechit
8187284localobjecthidden.bssfloatok
8187324localobjecthidden.bsstmymove
8187364localobjecthidden.bsstmxmove
8187448localobjecthidden.bssslidemo
8187524localobjecthidden.bssbestslidefrac
8187564localobjecthidden.bsssecondslidefrac
8187608localobjecthidden.bssbestslideline
8187688localobjecthidden.bsssecondslideline
8187764localobjecthidden.bssattackrange
8187804localobjecthidden.bssshootz
8187848localobjecthidden.bssshootthing
8187924localobjecthidden.bssaimslope
8188008localobjecthidden.bsslinetarget
8188084localobjecthidden.bssla_damage
8188168localobjecthidden.bssusething
8188248localobjecthidden.bssbombspot
8188324localobjecthidden.bssbombdamage
8188408localobjecthidden.bssbombsource
8188484localobjecthidden.bssnofit
8188524localobjecthidden.bsscrushchange
8188564localobjectdefault.bssSpechitOverrun.baseaddr
8188644localobjecthidden.bssopenrange
8188684localobjecthidden.bssopentop
8188724localobjecthidden.bssopenbottom
8188764localobjecthidden.bsslowfloor
81888016localobjecthidden.bsstrace
8188964localobjecthidden.bssearlyout
8189048localobjecthidden.bssintercept_p
8189123024localobjecthidden.bssintercepts
8219364localobjecthidden.bssptflags
8219441280localobjecthidden.bssitemrespawnque
8232244localobjecthidden.bssiquehead
823228512localobjecthidden.bssitemrespawntime
8237404localobjecthidden.bssiquetail
823744224localobjectdefault.bssP_SubstNullMobj.dummy_mobj
8239684localobjecthidden.bsstest
823976240localobjecthidden.bssactiveplats
8242164localobjecthidden.bssswingx
8242204localobjecthidden.bssswingy
8242244localobjecthidden.bssbulletslope
8242328localobjectdefault.bssP_TempSaveGameFile.filename
8242408localobjectdefault.bssP_SaveGameFile.filename
8242488localobjectdefault.bssP_SaveGameFile.filename_size
8242568localobjecthidden.bsssave_stream
8242644localobjecthidden.bsssavegamelength
8242684localobjecthidden.bsssavegame_error
8242724localobjecthidden.bssspecials_e
8242804localobjecthidden.bssnumvertexes
8242888localobjecthidden.bssvertexes
8242961localobjectdefault.bssGetSectorAtNullAddress.null_sector_is_initialized
824304128localobjectdefault.bssGetSectorAtNullAddress.null_sector
8244324localobjecthidden.bssnumsegs
8244408localobjecthidden.bsssegs
8244488localobjecthidden.bsslines
8244568localobjecthidden.bsssides
8244644localobjecthidden.bssnumsides
8244684localobjecthidden.bssnumsubsectors
8244728localobjecthidden.bsssubsectors
8244804localobjecthidden.bssnumsectors
8244888localobjecthidden.bsssectors
8244964localobjecthidden.bssnumnodes
8245048localobjecthidden.bssnodes
8245124localobjecthidden.bssnumlines
8245208localobjecthidden.bssblockmaplump
8245288localobjecthidden.bssblockmap
8245364localobjecthidden.bssbmaporgx
8245404localobjecthidden.bssbmaporgy
8245444localobjecthidden.bssbmapwidth
8245484localobjecthidden.bssbmapheight
8245528localobjecthidden.bssblocklinks
8245604localobjectdefault.bsstotallines
824564100localobjecthidden.bssdeathmatchstarts
8246648localobjecthidden.bssdeathmatch_p
8246728localobjecthidden.bssrejectmatrix
82468040localobjecthidden.bssplayerstarts
82472016localobjecthidden.bssstrace
8247364localobjecthidden.bsst2x
8247404localobjecthidden.bsst2y
8247444localobjecthidden.bsssightzstart
8247484localobjecthidden.bssbottomslope
8247524localobjecthidden.bsstopslope
8247568localobjecthidden.bsssightcounts
824768640localobjecthidden.bssanims
8254088localobjecthidden.bsslastanim
8254164localobjecthidden.bsslevelTimer
8254204localobjecthidden.bsslevelTimeCount
8254242localobjecthidden.bssnumlinespecials
825432512localobjecthidden.bsslinespeciallist
8259441localobjectdefault.bssDonutOverrun.first
8259484localobjectdefault.bssDonutOverrun.tmp_s3_floorheight
8259524localobjectdefault.bssDonutOverrun.tmp_s3_floorpic
8259604localobjecthidden.bssnumswitches
825964400localobjecthidden.bssswitchlist
826368512localobjecthidden.bssbuttonlist
82688024localobjecthidden.bssthinkercap
8269044localobjecthidden.bssleveltime
8269084localobjecthidden.bssonground
82691216384localobjecthidden.bssdrawsegs
8432968localobjecthidden.bssds_p
843304256localobjecthidden.bsssolidsegs
8435608localobjecthidden.bssnewend
8435688localobjecthidden.bsscurline
8435768localobjecthidden.bssbacksector
8435848localobjecthidden.bssfrontsector
8435928localobjecthidden.bsssidedef
8436008localobjecthidden.bsslinedef
8436088localobjecthidden.bsstextures
8436168localobjecthidden.bsstexturecompositesize
8436248localobjecthidden.bsstexturecomposite
8436328localobjecthidden.bsstexturecolumnlump
8436408localobjecthidden.bsstexturecolumnofs
8436488localobjecthidden.bsstexturewidthmask
8436564localobjecthidden.bssnumtextures
8436648localobjecthidden.bsstextureheight
8436728localobjecthidden.bsstexturetranslation
8436804localobjecthidden.bssfirstflat
8436844localobjecthidden.bsslastflat
8436884localobjecthidden.bssnumflats
8436968localobjecthidden.bssflattranslation
8437044localobjecthidden.bssfirstspritelump
8437084localobjecthidden.bsslastspritelump
8437124localobjecthidden.bssnumspritelumps
8437208localobjecthidden.bssspritewidth
8437288localobjecthidden.bssspriteoffset
8437368localobjecthidden.bssspritetopoffset
8437448localobjecthidden.bsscolormaps
8437528localobjecthidden.bsstextures_hashtable
8437604localobjecthidden.bssflatmemory
8437644localobjecthidden.bsstexturememory
8437684localobjecthidden.bssspritememory
8437724localobjecthidden.bssfirstpatch
8437764localobjecthidden.bsslastpatch
8437804localobjecthidden.bssnumpatches
8437844localobjecthidden.bssdc_yh
8437884localobjecthidden.bssdc_yl
8437924localobjecthidden.bssdc_x
8438006656localobjecthidden.bssylookup
8504564480localobjecthidden.bsscolumnofs
8549364localobjecthidden.bssdc_iscale
8549404localobjecthidden.bssdc_texturemid
8549448localobjecthidden.bssdc_colormap
8549528localobjecthidden.bssdc_source
8549604localobjecthidden.bssfuzzpos
8549644localobjecthidden.bssviewheight
8549688localobjecthidden.bssdc_translation
8549768localobjecthidden.bsstranslationtables
8549844localobjecthidden.bssds_x2
8549884localobjecthidden.bssds_x1
8549924localobjecthidden.bssds_y
8549964localobjecthidden.bssds_xfrac
8550004localobjecthidden.bssds_yfrac
8550044localobjecthidden.bssds_xstep
8550084localobjecthidden.bssds_ystep
8550168localobjecthidden.bssds_colormap
8550248localobjecthidden.bssds_source
8550324localobjecthidden.bssviewwindowx
8550364localobjecthidden.bssviewwindowy
8550404localobjecthidden.bssscaledviewwidth
8550488localobjectdefault.bssbackground_buffer
8550568localobjecthidden.bssviewimage
8550644localobjecthidden.bssviewwidth
855068768localobjecthidden.bsstranslations
8558364localobjecthidden.bssdccount
8558404localobjecthidden.bssdscount
8558484localobjecthidden.bssviewx
8558524localobjecthidden.bssviewy
8558564localobjecthidden.bssviewangle
8558604localobjecthidden.bssprojection
8558644localobjecthidden.bssdetailshift
8558684localobjecthidden.bsscenterxfrac
85587216384localobjecthidden.bssviewangletox
8722561284localobjecthidden.bssxtoviewangle
8735404localobjecthidden.bsscenterx
8735444localobjecthidden.bssclipangle
87355216384localobjecthidden.bsszlight
8899364localobjecthidden.bsssetsizeneeded
8899404localobjecthidden.bsssetblocks
8899444localobjecthidden.bsssetdetail
8899484localobjecthidden.bsscentery
8899524localobjecthidden.bsscenteryfrac
8899608localobjecthidden.bssbasecolfunc
8899688localobjecthidden.bsscolfunc
8899768localobjecthidden.bssfuzzcolfunc
8899848localobjecthidden.bsstranscolfunc
8899928localobjecthidden.bssspanfunc
8900006144localobjecthidden.bssscalelight
8961444localobjecthidden.bssframecount
8961528localobjecthidden.bssviewplayer
8961604localobjecthidden.bssviewangleoffset
8961644localobjecthidden.bssextralight
8961684localobjecthidden.bssviewz
8961724localobjecthidden.bssviewsin
8961764localobjecthidden.bssviewcos
8961804localobjecthidden.bsssscount
8961848localobjecthidden.bssfixedcolormap
896192384localobjecthidden.bssscalelightfixed
8965764localobjecthidden.bsslinecount
8965804localobjecthidden.bssloopcount
8965844localobjecthidden.bssplaneheight
896588800localobjecthidden.bsscachedheight
897388800localobjecthidden.bssyslope
898188800localobjecthidden.bsscacheddistance
8989884localobjecthidden.bssbasexscale
898992800localobjecthidden.bsscachedxstep
8997924localobjecthidden.bssbaseyscale
899796800localobjecthidden.bsscachedystep
9005961280localobjecthidden.bssdistscale
9018808localobjecthidden.bssplanezlight
901888640localobjecthidden.bssfloorclip
902528640localobjecthidden.bssceilingclip
90316884992localobjecthidden.bssvisplanes
9881608localobjecthidden.bsslastvisplane
98816840960localobjecthidden.bssopenings
10291288localobjecthidden.bsslastopening
10291368localobjecthidden.bssfloorfunc
10291448localobjecthidden.bssceilingfunc
10291528localobjecthidden.bssfloorplane
10291608localobjecthidden.bssceilingplane
1029168800localobjecthidden.bssspanstart
1029968800localobjecthidden.bssspanstop
10307688localobjecthidden.bsswalllights
10307768localobjecthidden.bssmaskedtexturecol
10307844localobjecthidden.bssrw_scalestep
10307884localobjecthidden.bssrw_x
10307924localobjecthidden.bssrw_stopx
10307964localobjecthidden.bsstopfrac
10308004localobjecthidden.bssmarkceiling
10308044localobjecthidden.bssbottomfrac
10308084localobjecthidden.bssmarkfloor
10308124localobjecthidden.bsssegtextured
10308164localobjecthidden.bssrw_centerangle
10308204localobjecthidden.bssrw_offset
10308244localobjecthidden.bssrw_distance
10308284localobjecthidden.bssrw_scale
10308324localobjecthidden.bssmidtexture
10308364localobjecthidden.bssrw_midtexturemid
10308404localobjecthidden.bsstoptexture
10308444localobjecthidden.bsspixhigh
10308484localobjecthidden.bsspixhighstep
10308524localobjecthidden.bssrw_toptexturemid
10308564localobjecthidden.bssbottomtexture
10308604localobjecthidden.bsspixlow
10308644localobjecthidden.bsspixlowstep
10308684localobjecthidden.bssrw_bottomtexturemid
10308724localobjecthidden.bssmaskedtexture
10308764localobjecthidden.bsstopstep
10308804localobjecthidden.bssbottomstep
10308844localobjecthidden.bssrw_normalangle
10308884localobjecthidden.bssrw_angle1
10308924localobjecthidden.bssworldtop
10308964localobjecthidden.bssworldbottom
10309004localobjecthidden.bssworldhigh
10309044localobjecthidden.bssworldlow
10309084localobjecthidden.bssskytexturemid
10309124localobjecthidden.bssskyflatnum
10309164localobjecthidden.bssskytexture
10309204localobjecthidden.bssmaxframe
1030924812localobjecthidden.bsssprtemp
10317368localobjecthidden.bssspritename
10317444localobjecthidden.bssnumsprites
10317528localobjecthidden.bsssprites
1031760640localobjecthidden.bssnegonearray
103240010240localobjecthidden.bssvissprites
10426408localobjecthidden.bssvissprite_p
104264880localobjecthidden.bssoverflowsprite
10427284localobjecthidden.bsssprtopscreen
10427324localobjecthidden.bssspryscale
10427368localobjecthidden.bssmfloorclip
10427448localobjecthidden.bssmceilingclip
10427528localobjecthidden.bssspritelights
10427604localobjecthidden.bsspspritescale
10427644localobjecthidden.bsspspriteiscale
1042768640localobjecthidden.bssscreenheightarray
104340880localobjecthidden.bssvsprsortedhead
1043488640localobjectdefault.bsscliptop
1044128640localobjectdefault.bssclipbot
10447684localobjecthidden.bssnewvissprite
10447724localobjectdefault.bssnum_captured_stats
10447768localobjecthidden.bsssttminus
10447844localobjectdefault.bssst_statusbaron
10447928localobjecthidden.bssst_backing_screen
10448008localobjectdefault.bsssbar
10448088localobjectdefault.bssfaceback
10448164localobjectdefault.bssst_firsttime
10448248localobjectdefault.bssplyr
104483252localobjectdefault.bssST_Responder.buf
10448844localobjectdefault.bssST_calcPainOffset.lastcalc
10448884localobjectdefault.bssST_updateFaceWidget.priority
10448924localobjectdefault.bssst_faceindex
10448964localobjectdefault.bssst_facecount
104490036localobjectdefault.bssoldweaponsowned
10449364localobjectdefault.bssst_randomnumber
104494448localobjectdefault.bssw_ready
104499212localobjectdefault.bsskeyboxes
10450044localobjectdefault.bssst_notdeathmatch
10450084localobjectdefault.bssst_armson
10450124localobjectdefault.bssst_fragson
10450164localobjectdefault.bssst_fragscount
10450204localobjectdefault.bssst_msgcounter
10450244localobjectdefault.bssst_clock
10450284localobjectdefault.bssst_palette
10450324localobjectdefault.bsslu_palette
1045040192localobjectdefault.bssw_ammo
1045232192localobjectdefault.bssw_maxammo
104542456localobjectdefault.bssw_health
104548056localobjectdefault.bssw_armor
104553648localobjectdefault.bssw_armsbg
1045584288localobjectdefault.bssw_arms
104587248localobjectdefault.bssw_faces
1045920144localobjectdefault.bssw_keyboxes
104606448localobjectdefault.bssw_frags
104611280localobjectdefault.bsstallnum
10461928localobjectdefault.bsstallpercent
10462008localobjectdefault.bssarmsbg
104620896localobjectdefault.bssarms
1046304336localobjectdefault.bssfaces
104664048localobjectdefault.bsskeys
104668880localobjectdefault.bssshortnum
10467681localobjectdefault.bssst_stopped
10467768localobjectdefault.bsschannels
10467841localobjectdefault.bssmus_paused
10467884localobjectdefault.bsssnd_SfxVolume
10467928localobjectdefault.bssmus_playing
10468008localobjecthidden.bsstinttable
10468088localobjecthidden.bssxlatab
10468168localobjectdefault.bssdest_screen
104682416localobjecthidden.bssdirtybox
10468408localobjectdefault.bsspatchclip_callback
10468488localobjectdefault.bssbackground
10468568localobjectdefault.bsswbs
10468641localobjectdefault.bssNUMCMAPS
10468728localobjectdefault.bsslnames
10468808localobjectdefault.bssfinished
10468888localobjectdefault.bssentering
10468964localobjectdefault.bssbcnt
10469004localobjectdefault.bssstate
104690480localobjectdefault.bssnum
10469848localobjectdefault.bsswiminus
10469928localobjectdefault.bsspercent
10470008localobjectdefault.bsscolon
10470088localobjectdefault.bsssucks
10470161localobjectdefault.bssacceleratestage
10470204localobjectdefault.bsscnt
10470244localobjectdefault.bsssnl_pointeron
104703216localobjectdefault.bsssplat
104704824localobjectdefault.bssyah
10470728localobjectdefault.bssplrs
10470804localobjectdefault.bssdm_state
10470844localobjectdefault.bsscnt_pause
104708864localobjectdefault.bssdm_frags
104715216localobjectdefault.bssdm_totals
10471688localobjectdefault.bsstotal
10471768localobjectdefault.bsskillers
10471848localobjectdefault.bssvictims
104719232localobjectdefault.bssp
10472244localobjectdefault.bssme
10472328localobjectdefault.bssbstar
10472408localobjectdefault.bssstar
10472484localobjectdefault.bssng_state
104725216localobjectdefault.bsscnt_frags
104726816localobjectdefault.bsscnt_secret
104728416localobjectdefault.bsscnt_items
104730016localobjectdefault.bsscnt_kills
10473164localobjectdefault.bssdofrags
10473208localobjectdefault.bsskills
10473288localobjectdefault.bssitems
10473368localobjectdefault.bsssecret
10473448localobjectdefault.bssfrags
10473524localobjectdefault.bsssp_state
10473564localobjectdefault.bsscnt_par
10473604localobjectdefault.bsscnt_time
10473688localobjectdefault.bsssp_secret
10473768localobjectdefault.bsstimepatch
10473848localobjectdefault.bsspar
104739232localobjectdefault.bssbp
10474244localobjectdefault.bssnum_open_wadfiles
10474328localobjectdefault.bssopen_wadfiles
10474404localobjecthidden.bssnumlumps
10474488localobjecthidden.bsslumpinfo
10474568localobjectdefault.bsslumphash
10474644localobjecthidden.bss__malloc_replaced
10474684localobjecthidden.bss__aligned_alloc_replaced
10474728localobjecthidden.bssmainzone
10474804localobjectdefault.bssshiftdown
10474884localobjecthidden.bssusemouse
10474968localobjecthidden.bssI_VideoBuffer
10475044localobjecthidden.bssscreensaver_mode
10475084localobjecthidden.bssusegamma
104751252localobjectdefault.bsss_Fb
10475644localobjecthidden.bssscreenvisible
10475681024localobjecthidden.bsscolors
10485924localobjecthidden.bsspalette_changed
10486008localobjecthidden.bssDG_ScreenBuffer
10486088localobjecthidden.bss__sysinfo
10486164localobjecthidden.bss__thread_list_lock
104862448localobjectdefault.bssmain_tls
1048672336localobjectdefault.bssbuiltin_tls

SECTION: 15 name=.shstrtab

SECTION: 16 name=.strtab

second pass, disassemble with known names

SECTION: 6 name=.text

;I_InitTimidityConfig
	alloc 1
	retf 0
	nop 0
;AM_getIslope
	alloc 13
	ldwz %r4,%r1,4
	ldwz %r9,%r1,12
;AM_getIslope+16
	ldwz %r5,%r1,8
	ldwz %r6,%r1,0
	subws %r1,%r4,%r9
;AM_getIslope+32
	subws %r3,%r5,%r6
	ldi.l %r7,2147483647
;AM_getIslope+48
	ldi.l %r8,-2147483647
	bwne %r4,%r9,AM_getIslope+112
;AM_getIslope+64
	cmovwlt %r11,%r3,%r8,%r7
	stw %r11,%r2,4
	bweq %r5,%r6,AM_getIslope+144
;AM_getIslope+80
	mov2 %r11,%r12,%r1,%r3
	callr %r10,FixedDiv
	stw %r11,%r2,0
;AM_getIslope+96
	retf 0
	nop 0
	nop 0
;AM_getIslope+112
	mov2 %r11,%r12,%r3,%r1
	callr %r10,FixedDiv
	stw %r11,%r2,4
;AM_getIslope+128
	bwne %r5,%r6,AM_getIslope+80
	nop 0
	nop 0
;AM_getIslope+144
	cmovwlt %r11,%r1,%r8,%r7
	stw %r11,%r2,0
	retf 0
;AM_saveScaleAndLoc
	alloc 5
	ldwzr %r1,m_x
	ldwzr %r2,m_y
;AM_saveScaleAndLoc+16
	ldwzr %r3,m_w
	ldwzr %r4,m_h
	stwr %r1,old_m_x
;AM_saveScaleAndLoc+32
	stwr %r2,old_m_y
	stwr %r3,old_m_w
	stwr %r4,old_m_h
;AM_saveScaleAndLoc+48
	retf 0
	nop 0
	nop 0
;AM_addMark
	alloc 5
	ldwzr %r1,m_w
	ldwzr %r2,m_x
;AM_addMark+16
	srliw %r3,%r1,31
	addws %r1,%r1,%r3
	ldwzr %r3,markpointnum
;AM_addMark+32
	sraiw %r1,%r1,1
	ldwzr %r4,m_h
	addws %r1,%r1,%r2
;AM_addMark+48
	ldafr %r2,markpoints
	stwx.xuw %r1,%r2,%r3,3,0
	ldwzr %r1,m_y
;AM_addMark+64
	srliw %r2,%r4,31
	addws %r2,%r4,%r2
	sraiw %r2,%r2,1
;AM_addMark+80
	addws %r1,%r2,%r1
	ldafr %r2,markpoints+4
	stwx.xuw %r1,%r2,%r3,3,0
;AM_addMark+96
	addiws %r1,%r3,1
	addiwz %r2,%r3,1
	nop 2
;AM_addMark+112
	muli.l %r2,%r2,3435973837
	srli %r2,%r2,35
;AM_addMark+128
	mulwsi %r2,%r2,10
	subws %r1,%r1,%r2
	stwr %r1,markpointnum
;AM_addMark+144
	retf 0
	nop 0
	nop 0
;AM_Stop
	allocsp 10,32
	mov %r4,%gz
	ldafr %r1,.rodata+2941
;AM_Stop+16
	addi %r2,%sp,23
	ldi %r3,9
	nop 0
;AM_Stop+32
	mov %r5,%r4
	stw %r4,%sp,0
	mov2 %r7,%r8,%r2,%r3
;AM_Stop+48
	mov %r9,%r1
	callr %r6,snprintf
	mov %r9,%r2
;AM_Stop+64
	callr %r8,W_ReleaseLumpName
	addiws %r4,%r4,1
	bwltui %r5,9,AM_Stop+32
;AM_Stop+80
	stwr %gz,automapactive
	ldafr %r9,.rodata
	callr %r8,ST_Responder
;AM_Stop+96
	stbr %gz,stopped
	retf 32
	nop 0
;AM_Responder
	allocsp 21,32
	ldwzr %r3,automapactive
	ldwz %r2,%r1,0
;AM_Responder+16
	bweq %r3,%gz,AM_Responder+80
	bweqi %r2,1,AM_Responder+96
	bwne %r2,%gz,AM_Responder+1536
;AM_Responder+32
	ldwz %r2,%r1,4
	ldwzr %r3,key_map_east
	bwne %r2,%r3,AM_Responder+240
;AM_Responder+48
	ldwzr %r2,followplayer
	bwne %r2,%gz,AM_Responder+768
	ldwzr %r2,scale_ftom
;AM_Responder+64
	slliw %r2,%r2,2
	stwr %r2,m_paninc.0
	jmp AM_Responder+1664
;AM_Responder+80
	bweq %r2,%gz,AM_Responder+144
	mov %r1,%gz
	retf 32
;AM_Responder+96
	ldwz %r1,%r1,4
	ldwzr %r2,key_map_east
	bwne %r1,%r2,AM_Responder+288
;AM_Responder+112
	ldwzr %r1,followplayer
	bweq %r1,%gz,AM_Responder+320
	mov %r1,%gz
;AM_Responder+128
	retf 32
	nop 0
	nop 0
;AM_Responder+144
	ldwz %r1,%r1,4
	ldwzr %r2,key_map_toggle
	bwne %r1,%r2,AM_Responder+1536
;AM_Responder+160
	ldbzr %r1,stopped
	bbci %r1,0,AM_Responder+176
	callr %r20,AM_Stop
;AM_Responder+176
	ldwzr %r1,AM_Start.lastlevel
	ldwzr %r2,gamemap
	ldi %r6,1
;AM_Responder+192
	stbr %r6,stopped
	ldi %r5,20971520
	ldi %r4,11010048
;AM_Responder+208
	bwne %r1,%r2,AM_Responder+336
	ldwzr %r1,AM_Start.lastepisode
	ldwzr %r2,gameepisode
;AM_Responder+224
	bwne %r1,%r2,AM_Responder+336
	ldwzr %r19,scale_ftom
	jmp AM_Responder+1040
;AM_Responder+240
	ldwzr %r3,key_map_west
	bwne %r2,%r3,AM_Responder+640
	ldwzr %r2,followplayer
;AM_Responder+256
	bwne %r2,%gz,AM_Responder+768
	ldwzr %r2,scale_ftom
	slsubws %r2,%gz,%r2,2
;AM_Responder+272
	stwr %r2,m_paninc.0
	jmp AM_Responder+1664
	nop 0
;AM_Responder+288
	ldwzr %r2,key_map_west
	bwne %r1,%r2,AM_Responder+688
	ldwzr %r1,followplayer
;AM_Responder+304
	bwne %r1,%gz,AM_Responder+1536
	nop 0
	nop 0
;AM_Responder+320
	stwr %gz,m_paninc.0
	mov %r1,%gz
	retf 32
;AM_Responder+336
	mov %r1,%gz
	stbr %r6,f_w
	stbr %r6,f_h
;AM_Responder+352
	ldafr %r2,markpoints
	ldi %r3,-1
	nop 0
;AM_Responder+368
	stwx.xd %r3,%r1,%r2,0,0
	addi %r1,%r1,8
	bdnei %r1,80,AM_Responder+368
;AM_Responder+384
	stwr %gz,markpointnum
	ldi.l %r1,2147483647
;AM_Responder+400
	ldwzr %r2,numvertexes
	stwr %r1,min_y
	stwr %r1,min_x
;AM_Responder+416
	ldi.l %r3,-2147483647
	stwr %r3,max_y
;AM_Responder+432
	stwr %r3,max_x
	bwlti %r2,1,AM_Responder+848
	lddzr %r7,vertexes
;AM_Responder+448
	srliw %r2,%r2,0
	addi %r7,%r7,4
	ldafr %r8,min_x
;AM_Responder+464
	ldafr %r9,min_y
	ldafr %r10,max_y
	ldafr %r11,max_x
;AM_Responder+480
	mov2 %r12,%r13,%r1,%r3
	jmp AM_Responder+544
	nop 0
;AM_Responder+496
	mov2 %r15,%r16,%r9,%r13
	mov %r12,%r14
	nop 0
;AM_Responder+512
	stw %r14,%r15,0
	mov %r13,%r16
	nop 0
;AM_Responder+528
	addi %r2,%r2,-1
	addi %r7,%r7,8
	bdeq %r2,%gz,AM_Responder+720
;AM_Responder+544
	ldwz %r14,%r7,-4
	bwle %r1,%r14,AM_Responder+576
	mov2 %r15,%r16,%r8,%r3
;AM_Responder+560
	mov %r1,%r14
	jmp AM_Responder+592
	nop 0
;AM_Responder+576
	mov2 %r15,%r16,%r11,%r14
	bwle %r14,%r3,AM_Responder+608
	nop 0
;AM_Responder+592
	stw %r14,%r15,0
	mov %r3,%r16
	nop 0
;AM_Responder+608
	ldwz %r14,%r7,0
	bwlt %r14,%r12,AM_Responder+496
	mov2 %r15,%r16,%r10,%r14
;AM_Responder+624
	bwlt %r13,%r14,AM_Responder+512
	jmp AM_Responder+528
	nop 0
;AM_Responder+640
	ldwzr %r3,key_map_north
	bwne %r2,%r3,AM_Responder+736
	ldwzr %r2,followplayer
;AM_Responder+656
	bwne %r2,%gz,AM_Responder+768
	ldwzr %r2,scale_ftom
	slliw %r2,%r2,2
;AM_Responder+672
	jmp AM_Responder+1648
	nop 0
	nop 0
;AM_Responder+688
	ldwzr %r2,key_map_north
	bwne %r1,%r2,AM_Responder+800
	ldwzr %r1,followplayer
;AM_Responder+704
	bwne %r1,%gz,AM_Responder+1536
	jmp AM_Responder+832
	nop 0
;AM_Responder+720
	subws %r20,%r3,%r1
	subws %r1,%r13,%r12
	jmp AM_Responder+864
;AM_Responder+736
	ldwzr %r3,key_map_south
	bwne %r2,%r3,AM_Responder+1472
	ldwzr %r2,followplayer
;AM_Responder+752
	bweq %r2,%gz,AM_Responder+1632
	nop 0
	nop 0
;AM_Responder+768
	mov %r2,%gz
	ldwzr %r3,deathmatch
	bwne %r3,%gz,AM_Responder+1808
;AM_Responder+784
	jmp AM_Responder+1680
	nop 0
	nop 0
;AM_Responder+800
	ldwzr %r2,key_map_south
	bwne %r1,%r2,AM_Responder+1504
	ldwzr %r1,followplayer
;AM_Responder+816
	bwne %r1,%gz,AM_Responder+1536
	nop 0
	nop 0
;AM_Responder+832
	stwr %gz,m_paninc.1
	mov %r1,%gz
	retf 32
;AM_Responder+848
	ldi %r20,2
	mov %r1,%r20
	nop 0
;AM_Responder+864
	stwr %r1,max_h
	ldi %r19,20971520
	callr %r18,FixedDiv
;AM_Responder+880
	mov %r1,%r19
	ldwzr %r20,max_h
	ldi %r2,11010048
;AM_Responder+896
	mov %r19,%r2
	callr %r18,FixedDiv
	minsw %r1,%r1,%r19
;AM_Responder+912
	stwr %r1,min_scale_mtof
	ldi %r20,2097152
	mov %r19,%r2
;AM_Responder+928
	callr %r18,FixedDiv
	stwr %r19,max_scale_mtof
	ldwzr %r19,min_scale_mtof
;AM_Responder+944
	ldi %r20,45875
	callr %r18,FixedDiv
	ldwzr %r1,max_scale_mtof
;AM_Responder+960
	mov %r20,%r19
	stwr %r19,scale_mtof
	bwle %r19,%r1,AM_Responder+992
;AM_Responder+976
	ldwzr %r20,min_scale_mtof
	stwr %r20,scale_mtof
	nop 0
;AM_Responder+992
	ldi %r19,65536
	callr %r18,FixedDiv
	ldwzr %r1,gamemap
;AM_Responder+1008
	ldwzr %r2,gameepisode
	stwr %r19,scale_ftom
	stwr %r1,AM_Start.lastlevel
;AM_Responder+1024
	stwr %r2,AM_Start.lastepisode
	nop 0
	nop 0
;AM_Responder+1040
	lddzr %r1,I_VideoBuffer
	stwr %r6,automapactive
	stdr %r1,fb
;AM_Responder+1056
	ldi.l %r1,2147483647
	stwr %r1,f_oldloc.0
;AM_Responder+1072
	stwr %gz,amclock
	ldbzr %r1,f_w
	stwr %gz,m_paninc.1
;AM_Responder+1088
	stwr %gz,m_paninc.0
	ldi %r2,65536
	stwr %r2,ftom_zoommul
;AM_Responder+1104
	stwr %r2,mtof_zoommul
	cmovlsb %r1,%r1,%r5,%gz
	sraiw %r3,%r19,0
;AM_Responder+1120
	ldwsr %r5,consoleplayer
	ldbzr %r7,f_h
	mul %r1,%r1,%r3
;AM_Responder+1136
	srli %r2,%r1,16
	ldafr %r6,playeringame
	ldwzx.xd %r8,%r6,%r5,2,0
;AM_Responder+1152
	stwr %r2,m_w
	cmovlsb %r1,%r7,%r4,%gz
	mul %r1,%r1,%r3
;AM_Responder+1168
	srli %r3,%r1,16
	stwr %r3,m_h
	ldafr %r1,players
;AM_Responder+1184
	bweq %r8,%gz,AM_Responder+1424
	nop 0
	nop 0
;AM_Responder+1200
	ldi %r4,328
	muladd %r1,%r5,%r4,%r1
	stdr %r1,plr
;AM_Responder+1216
	lddz %r1,%r1,0
	ldwz %r4,%r1,24
	sraiw %r5,%r2,1
;AM_Responder+1232
	subws %r4,%r4,%r5
	stwr %r4,m_x
	ldwz %r1,%r1,28
;AM_Responder+1248
	sraiw %r4,%r3,1
	subws %r1,%r1,%r4
	stwr %r1,m_y
;AM_Responder+1264
	callr %r20,AM_changeWindowLoc
	ldwzr %r1,m_x
	ldwzr %r4,m_y
;AM_Responder+1280
	stwr %r1,old_m_x
	stwr %r4,old_m_y
	stwr %r2,old_m_w
;AM_Responder+1296
	stwr %r3,old_m_h
	ldafr %r20,AM_initVariables.st_notify
	callr %r19,ST_Responder
;AM_Responder+1312
	mov %r6,%gz
	ldafr %r7,marknums
	ldafr %r1,.rodata+2941
;AM_Responder+1328
	addi %r3,%sp,23
	ldi %r4,9
	ldi %r2,1
;AM_Responder+1344
	stw %r6,%sp,0
	mov2 %r18,%r19,%r3,%r4
	mov %r20,%r1
;AM_Responder+1360
	callr %r17,snprintf
	mov2 %r19,%r20,%r3,%r2
	callr %r18,W_CacheLumpName
;AM_Responder+1376
	std %r19,%r7,0
	addi %r6,%r6,1
	addi %r7,%r7,8
;AM_Responder+1392
	bdnei %r6,10,AM_Responder+1344
	stwr %gz,viewactive
	mov %r1,%r2
;AM_Responder+1408
	retf 32
	nop 0
	nop 0
;AM_Responder+1424
	mov %r5,%gz
	stdr %r1,plr
	nop 0
;AM_Responder+1440
	ldwz %r4,%r6,0
	bwne %r4,%gz,AM_Responder+1200
	addi %r5,%r5,1
;AM_Responder+1456
	addi %r6,%r6,4
	bdnei %r5,4,AM_Responder+1440
	jmp AM_Responder+1216
;AM_Responder+1472
	ldwzr %r3,key_map_zoomout
	bwne %r2,%r3,AM_Responder+1552
	ldi %r2,64250
;AM_Responder+1488
	stwr %r2,mtof_zoommul
	ldi %r2,66846
	jmp AM_Responder+1584
;AM_Responder+1504
	ldwzr %r2,key_map_zoomout
	bweq %r1,%r2,AM_Responder+1600
	ldwzr %r2,key_map_zoomin
;AM_Responder+1520
	bweq %r1,%r2,AM_Responder+1600
	nop 0
	nop 0
;AM_Responder+1536
	mov %r1,%gz
	retf 32
	nop 0
;AM_Responder+1552
	ldwzr %r3,key_map_zoomin
	bwne %r2,%r3,AM_Responder+1760
	ldi %r2,66846
;AM_Responder+1568
	stwr %r2,mtof_zoommul
	ldi %r2,64250
	nop 0
;AM_Responder+1584
	stwr %r2,ftom_zoommul
	jmp AM_Responder+1664
	nop 0
;AM_Responder+1600
	mov %r2,%gz
	ldi %r1,65536
	stwr %r1,mtof_zoommul
;AM_Responder+1616
	stwr %r1,ftom_zoommul
	mov %r1,%r2
	retf 32
;AM_Responder+1632
	ldwzr %r2,scale_ftom
	slsubws %r2,%gz,%r2,2
	nop 0
;AM_Responder+1648
	stwr %r2,m_paninc.1
	nop 0
	nop 0
;AM_Responder+1664
	ldi %r2,1
	ldwzr %r3,deathmatch
	bwne %r3,%gz,AM_Responder+1808
;AM_Responder+1680
	ldbs %r20,%r1,8
	ldafr %r19,cheat_amap
	callr %r18,cht_CheckCheat
;AM_Responder+1696
	bweq %r19,%gz,AM_Responder+1808
	ldwzr %r1,cheating
	addiws %r3,%r1,1
;AM_Responder+1712
	addiwz %r1,%r1,1
	muli.l %r1,%r1,2863311531
;AM_Responder+1728
	srli %r1,%r1,33
	mulwsi %r1,%r1,3
	subws %r1,%r3,%r1
;AM_Responder+1744
	stwr %r1,cheating
	mov %r1,%gz
	retf 32
;AM_Responder+1760
	ldwzr %r3,key_map_toggle
	bwne %r2,%r3,AM_Responder+1824
	stwr %gz,AM_Responder.bigstate
;AM_Responder+1776
	ldi %r2,1
	stwr %r2,viewactive
	callr %r20,AM_Stop
;AM_Responder+1792
	ldwzr %r3,deathmatch
	bweq %r3,%gz,AM_Responder+1680
	nop 0
;AM_Responder+1808
	mov %r1,%r2
	retf 32
	nop 0
;AM_Responder+1824
	ldwzr %r3,key_map_maxzoom
	bwne %r2,%r3,AM_Responder+1872
	ldwzr %r2,AM_Responder.bigstate
;AM_Responder+1840
	cmpweqi %r3,%r2,0
	stwr %r3,AM_Responder.bigstate
	bweq %r2,%gz,AM_Responder+2000
;AM_Responder+1856
	callr %r20,AM_restoreScaleAndLoc
	jmp AM_Responder+1664
	nop 0
;AM_Responder+1872
	ldwzr %r3,key_map_follow
	bwne %r2,%r3,AM_Responder+1952
	ldwzr %r3,followplayer
;AM_Responder+1888
	cmpweqi %r2,%r3,0
	stwr %r2,followplayer
	nop 2
;AM_Responder+1904
	ldi.l %r2,2147483647
	stwr %r2,f_oldloc.0
;AM_Responder+1920
	lddzr %r2,plr
	bweq %r3,%gz,AM_Responder+2144
	ldafr %r3,.rodata+8087
;AM_Responder+1936
	jmp AM_Responder+2256
	nop 0
	nop 0
;AM_Responder+1952
	ldwzr %r3,key_map_grid
	bwne %r2,%r3,AM_Responder+2064
	ldwzr %r3,grid
;AM_Responder+1968
	cmpweqi %r2,%r3,0
	stwr %r2,grid
	lddzr %r2,plr
;AM_Responder+1984
	bweq %r3,%gz,AM_Responder+2240
	ldafr %r3,.rodata+1140
	jmp AM_Responder+2256
;AM_Responder+2000
	ldwzr %r2,m_x
	ldwzr %r3,m_y
	ldwzr %r4,m_w
;AM_Responder+2016
	ldwzr %r5,m_h
	stwr %r2,old_m_x
	stwr %r3,old_m_y
;AM_Responder+2032
	stwr %r4,old_m_w
	stwr %r5,old_m_h
	callr %r20,AM_minOutWindowScale
;AM_Responder+2048
	jmp AM_Responder+1664
	nop 0
	nop 0
;AM_Responder+2064
	ldwzr %r3,key_map_mark
	bwne %r2,%r3,AM_Responder+2160
	ldwzr %r2,markpointnum
;AM_Responder+2080
	stw %r2,%sp,8
	ldafr %r3,.rodata+27856
	ldafr %r2,AM_Responder.buffer
;AM_Responder+2096
	ldafr %r20,.rodata+6634
	ldi %r19,20
	std %r3,%sp,0
;AM_Responder+2112
	mov %r18,%r2
	callr %r17,M_snprintf
	lddzr %r3,plr
;AM_Responder+2128
	std %r2,%r3,232
	callr %r20,AM_addMark
	jmp AM_Responder+1664
;AM_Responder+2144
	ldafr %r3,.rodata+12766
	jmp AM_Responder+2256
	nop 0
;AM_Responder+2160
	ldwzr %r3,key_map_clearmark
	bwne %r2,%r3,AM_Responder+768
	mov %r2,%gz
;AM_Responder+2176
	ldafr %r3,markpoints
	ldi %r4,-1
	nop 0
;AM_Responder+2192
	stwx.xd %r4,%r2,%r3,0,0
	addi %r2,%r2,8
	bdnei %r2,80,AM_Responder+2192
;AM_Responder+2208
	lddzr %r2,plr
	stwr %gz,markpointnum
	ldafr %r3,.rodata+6640
;AM_Responder+2224
	jmp AM_Responder+2256
	nop 0
	nop 0
;AM_Responder+2240
	ldafr %r3,.rodata+5903
	nop 0
	nop 0
;AM_Responder+2256
	std %r3,%r2,232
	jmp AM_Responder+1664
	nop 0
;AM_minOutWindowScale
	alloc 10
	ldwzr %r9,min_scale_mtof
	stwr %r9,scale_mtof
;AM_minOutWindowScale+16
	ldi %r8,65536
	callr %r7,FixedDiv
	ldwzr %r1,m_w
;AM_minOutWindowScale+32
	stwr %r8,scale_ftom
	srliw %r2,%r1,31
	ldwzr %r3,m_x
;AM_minOutWindowScale+48
	addws %r1,%r1,%r2
	sraiw %r1,%r1,1
	ldwzr %r2,m_h
;AM_minOutWindowScale+64
	addws %r1,%r3,%r1
	ldwzr %r3,m_y
	ldbzr %r4,f_w
;AM_minOutWindowScale+80
	srliw %r5,%r2,31
	addws %r2,%r2,%r5
	sraiw %r2,%r2,1
;AM_minOutWindowScale+96
	ldi %r5,20971520
	addws %r2,%r3,%r2
	cmovlsb %r3,%r4,%r5,%gz
;AM_minOutWindowScale+112
	ldbzr %r4,f_h
	sraiw %r5,%r8,0
	mul %r3,%r3,%r5
;AM_minOutWindowScale+128
	srli %r3,%r3,16
	ldi %r6,11010048
	stwr %r3,m_w
;AM_minOutWindowScale+144
	cmovlsb %r4,%r4,%r6,%gz
	mul %r4,%r4,%r5
	srli %r4,%r4,16
;AM_minOutWindowScale+160
	stwr %r4,m_h
	sraiw %r5,%r3,1
	subws %r1,%r1,%r5
;AM_minOutWindowScale+176
	stwr %r1,m_x
	sraiw %r5,%r4,1
	subws %r2,%r2,%r5
;AM_minOutWindowScale+192
	stwr %r2,m_y
	addws %r1,%r1,%r3
	stwr %r1,m_x2
;AM_minOutWindowScale+208
	addws %r1,%r2,%r4
	stwr %r1,m_y2
	retf 0
;AM_restoreScaleAndLoc
	alloc 8
	ldwzr %r7,old_m_w
	ldwzr %r1,old_m_h
;AM_restoreScaleAndLoc+16
	ldwzr %r2,followplayer
	stwr %r7,m_w
	stwr %r1,m_h
;AM_restoreScaleAndLoc+32
	bweq %r2,%gz,AM_restoreScaleAndLoc+112
	lddzr %r2,plr
	lddz %r3,%r2,0
;AM_restoreScaleAndLoc+48
	ldwz %r2,%r3,24
	srliw %r4,%r7,31
	addws %r4,%r7,%r4
;AM_restoreScaleAndLoc+64
	sraiw %r4,%r4,1
	subws %r2,%r2,%r4
	ldwz %r3,%r3,28
;AM_restoreScaleAndLoc+80
	srliw %r4,%r1,31
	addws %r4,%r1,%r4
	sraiw %r4,%r4,1
;AM_restoreScaleAndLoc+96
	subws %r3,%r3,%r4
	jmp AM_restoreScaleAndLoc+128
	nop 0
;AM_restoreScaleAndLoc+112
	ldwzr %r2,old_m_x
	ldwzr %r3,old_m_y
	nop 0
;AM_restoreScaleAndLoc+128
	stwr %r2,m_x
	stwr %r3,m_y
	ldbzr %r4,f_w
;AM_restoreScaleAndLoc+144
	addws %r2,%r2,%r7
	stwr %r2,m_x2
	addws %r1,%r3,%r1
;AM_restoreScaleAndLoc+160
	ldi %r2,20971520
	stwr %r1,m_y2
	cmovlsb %r6,%r4,%r2,%gz
;AM_restoreScaleAndLoc+176
	callr %r5,FixedDiv
	mov %r7,%r6
	stwr %r6,scale_mtof
;AM_restoreScaleAndLoc+192
	ldi %r6,65536
	callr %r5,FixedDiv
	stwr %r6,scale_ftom
;AM_restoreScaleAndLoc+208
	retf 0
	nop 0
	nop 0
;AM_Ticker
	alloc 11
	ldwzr %r1,automapactive
	bweq %r1,%gz,AM_Ticker+688
;AM_Ticker+16
	ldwzr %r1,amclock
	ldwzr %r2,followplayer
	addiws %r1,%r1,1
;AM_Ticker+32
	stwr %r1,amclock
	bweq %r2,%gz,AM_Ticker+304
	lddzr %r1,plr
;AM_Ticker+48
	lddz %r2,%r1,0
	ldwzr %r3,f_oldloc.0
	ldwz %r1,%r2,24
;AM_Ticker+64
	bwne %r3,%r1,AM_Ticker+96
	ldwzr %r3,f_oldloc.1
	ldwz %r2,%r2,28
;AM_Ticker+80
	bwne %r3,%r2,AM_Ticker+112
	jmp AM_Ticker+304
	nop 0
;AM_Ticker+96
	ldwz %r2,%r2,28
	nop 0
	nop 0
;AM_Ticker+112
	ldwsr %r3,scale_mtof
	sraiw %r4,%r1,0
	ldwsr %r5,scale_ftom
;AM_Ticker+128
	mul %r4,%r4,%r3
	slsrai %r4,%r4,16,32
	ldwzr %r6,m_w
;AM_Ticker+144
	andi.l %r4,%r4,281474976645120
	mul %r4,%r4,%r5
;AM_Ticker+160
	srli %r4,%r4,16
	srliw %r7,%r6,31
	addws %r7,%r6,%r7
;AM_Ticker+176
	sraiw %r7,%r7,1
	subws %r4,%r4,%r7
	stwr %r4,m_x
;AM_Ticker+192
	sraiw %r7,%r2,0
	mul %r3,%r7,%r3
	slsrai %r3,%r3,16,32
;AM_Ticker+208
	ldwzr %r7,m_h
	andi.l %r3,%r3,281474976645120
;AM_Ticker+224
	mul %r3,%r3,%r5
	srli %r3,%r3,16
	srliw %r5,%r7,31
;AM_Ticker+240
	addws %r5,%r7,%r5
	sraiw %r5,%r5,1
	subws %r3,%r3,%r5
;AM_Ticker+256
	stwr %r3,m_y
	addws %r4,%r4,%r6
	stwr %r4,m_x2
;AM_Ticker+272
	addws %r3,%r3,%r7
	stwr %r3,m_y2
	stwr %r1,f_oldloc.0
;AM_Ticker+288
	stwr %r2,f_oldloc.1
	nop 0
	nop 0
;AM_Ticker+304
	ldwzr %r1,ftom_zoommul
	bweqi.l %r1,65536,AM_Ticker+656
;AM_Ticker+320
	ldwsr %r1,scale_mtof
	ldwsr %r2,mtof_zoommul
	mul %r1,%r2,%r1
;AM_Ticker+336
	srli %r10,%r1,16
	stwr %r10,scale_mtof
	ldi %r9,65536
;AM_Ticker+352
	callr %r8,FixedDiv
	ldwzr %r1,scale_mtof
	ldwzr %r2,min_scale_mtof
;AM_Ticker+368
	stwr %r9,scale_ftom
	bwle %r2,%r1,AM_Ticker+400
	callr %r10,AM_minOutWindowScale
;AM_Ticker+384
	jmp AM_Ticker+656
	nop 0
	nop 0
;AM_Ticker+400
	ldwzr %r10,max_scale_mtof
	bwle %r1,%r10,AM_Ticker+448
	stwr %r10,scale_mtof
;AM_Ticker+416
	ldi %r9,65536
	callr %r8,FixedDiv
	ldwzr %r1,m_w
;AM_Ticker+432
	stwr %r9,scale_ftom
	jmp AM_Ticker+464
	nop 0
;AM_Ticker+448
	ldwzr %r1,m_w
	nop 0
	nop 0
;AM_Ticker+464
	srliw %r2,%r1,31
	ldwzr %r3,m_x
	addws %r1,%r1,%r2
;AM_Ticker+480
	sraiw %r1,%r1,1
	ldwzr %r2,m_h
	addws %r1,%r3,%r1
;AM_Ticker+496
	ldwzr %r3,m_y
	ldbzr %r4,f_w
	srliw %r5,%r2,31
;AM_Ticker+512
	addws %r2,%r2,%r5
	sraiw %r2,%r2,1
	ldi %r5,20971520
;AM_Ticker+528
	addws %r2,%r3,%r2
	cmovlsb %r3,%r4,%r5,%gz
	ldbzr %r4,f_h
;AM_Ticker+544
	sraiw %r5,%r9,0
	mul %r3,%r3,%r5
	srli %r3,%r3,16
;AM_Ticker+560
	ldi %r6,11010048
	stwr %r3,m_w
	cmovlsb %r4,%r4,%r6,%gz
;AM_Ticker+576
	mul %r4,%r4,%r5
	srli %r4,%r4,16
	stwr %r4,m_h
;AM_Ticker+592
	sraiw %r5,%r3,1
	subws %r1,%r1,%r5
	stwr %r1,m_x
;AM_Ticker+608
	sraiw %r5,%r4,1
	subws %r2,%r2,%r5
	stwr %r2,m_y
;AM_Ticker+624
	addws %r1,%r1,%r3
	stwr %r1,m_x2
	addws %r1,%r2,%r4
;AM_Ticker+640
	stwr %r1,m_y2
	nop 0
	nop 0
;AM_Ticker+656
	ldwzr %r1,m_paninc.0
	ldwzr %r2,m_paninc.1
	or %r1,%r1,%r2
;AM_Ticker+672
	bweq %r1,%gz,AM_Ticker+688
	callr %r10,AM_changeWindowLoc
	nop 0
;AM_Ticker+688
	retf 0
	nop 0
	nop 0
;AM_changeWindowLoc
	alloc 8
	ldwzr %r2,m_paninc.0
	ldwzr %r3,m_paninc.1
;AM_changeWindowLoc+16
	or %r1,%r2,%r3
	bweq %r1,%gz,AM_changeWindowLoc+48
	stwr %gz,followplayer
;AM_changeWindowLoc+32
	ldi.l %r1,2147483647
	stwr %r1,f_oldloc.0
;AM_changeWindowLoc+48
	ldwzr %r4,m_x
	ldwzr %r5,m_y
	ldwzr %r1,m_w
;AM_changeWindowLoc+64
	addws %r2,%r4,%r2
	stwr %r2,m_x
	addws %r3,%r5,%r3
;AM_changeWindowLoc+80
	srliw %r5,%r1,31
	ldwzr %r4,max_x
	addws %r5,%r1,%r5
;AM_changeWindowLoc+96
	sraiw %r5,%r5,1
	addws %r6,%r5,%r2
	stwr %r3,m_y
;AM_changeWindowLoc+112
	bwlt %r4,%r6,AM_changeWindowLoc+128
	ldwzr %r4,min_x
	bwle %r4,%r6,AM_changeWindowLoc+144
;AM_changeWindowLoc+128
	subws %r2,%r4,%r5
	stwr %r2,m_x
	nop 0
;AM_changeWindowLoc+144
	ldwzr %r4,m_h
	srliw %r6,%r4,31
	ldwzr %r5,max_y
;AM_changeWindowLoc+160
	addws %r6,%r4,%r6
	sraiw %r6,%r6,1
	addws %r7,%r6,%r3
;AM_changeWindowLoc+176
	bwlt %r5,%r7,AM_changeWindowLoc+192
	ldwzr %r5,min_y
	bwle %r5,%r7,AM_changeWindowLoc+208
;AM_changeWindowLoc+192
	subws %r3,%r5,%r6
	stwr %r3,m_y
	nop 0
;AM_changeWindowLoc+208
	addws %r1,%r2,%r1
	stwr %r1,m_x2
	addws %r1,%r3,%r4
;AM_changeWindowLoc+224
	stwr %r1,m_y2
	retf 0
	nop 0
;AM_Drawer
	allocsp 27,16
	ldwzr %r1,automapactive
	bweq %r1,%gz,AM_Drawer+1600
;AM_Drawer+16
	ldbzr %r1,f_w
	ldbzr %r2,f_h
	ldi %r6,320
;AM_Drawer+32
	ldi %r7,168
	lddzr %r24,fb
	cmovlsb %r1,%r1,%r6,%gz
;AM_Drawer+48
	cmovlsb %r2,%r2,%r7,%gz
	mul %r26,%r2,%r1
	mov %r25,%gz
;AM_Drawer+64
	callr %r23,memset
	ldwzr %r1,grid
	bweq %r1,%gz,AM_Drawer+432
;AM_Drawer+80
	ldwzr %r1,m_x
	ldwzr %r2,bmaporgx
	subws %r2,%r1,%r2
;AM_Drawer+96
	sraiw %r3,%r2,31
	srliw %r3,%r3,9
	addws %r3,%r2,%r3
;AM_Drawer+112
	andi.l %r3,%r3,-8388608
	subws %r3,%r2,%r3
;AM_Drawer+128
	subws %r2,%r1,%r3
	addiws.l %r4,%r2,8388608
;AM_Drawer+144
	ldwzr %r5,m_w
	ldwzr %r2,m_y
	ldwzr %r9,m_h
;AM_Drawer+160
	cmovweq %r8,%r3,%r1,%r4
	addws %r5,%r5,%r1
	stw %r2,%sp,4
;AM_Drawer+176
	addws %r4,%r9,%r2
	stw %r4,%sp,12
	bwle %r5,%r8,AM_Drawer+288
;AM_Drawer+192
	addi %r1,%sp,0
	ldi %r2,104
	nop 0
;AM_Drawer+208
	stw %r8,%sp,0
	stw %r8,%sp,8
	mov2 %r25,%r26,%r1,%r2
;AM_Drawer+224
	callr %r24,AM_drawMline
	addiws.l %r8,%r8,8388608
;AM_Drawer+240
	bwlt %r8,%r5,AM_Drawer+208
	ldwzr %r2,m_y
	ldwzr %r3,m_h
;AM_Drawer+256
	ldwzr %r1,m_x
	ldwzr %r5,m_w
	addws %r4,%r3,%r2
;AM_Drawer+272
	addws %r5,%r5,%r1
	nop 0
	nop 0
;AM_Drawer+288
	ldwzr %r3,bmaporgy
	subws %r3,%r2,%r3
	sraiw %r8,%r3,31
;AM_Drawer+304
	srliw %r8,%r8,9
	addws %r8,%r3,%r8
	nop 2
;AM_Drawer+320
	andi.l %r8,%r8,-8388608
	subws %r3,%r3,%r8
;AM_Drawer+336
	subws %r8,%r2,%r3
	addiws.l %r8,%r8,8388608
;AM_Drawer+352
	cmovweq %r8,%r3,%r2,%r8
	stw %r1,%sp,0
	stw %r5,%sp,8
;AM_Drawer+368
	bwle %r4,%r8,AM_Drawer+432
	addi %r1,%sp,0
	ldi %r2,104
;AM_Drawer+384
	stw %r8,%sp,4
	stw %r8,%sp,12
	mov2 %r25,%r26,%r1,%r2
;AM_Drawer+400
	callr %r24,AM_drawMline
	addiws.l %r8,%r8,8388608
;AM_Drawer+416
	bwlt %r8,%r4,AM_Drawer+384
	nop 0
	nop 0
;AM_Drawer+432
	ldwzr %r2,numlines
	ldi %r8,96
	bwlti %r2,1,AM_Drawer+832
;AM_Drawer+448
	mov2 %r3,%r4,%gz,%gz
	lddzr %r13,lines
	ldwzr %r14,cheating
;AM_Drawer+464
	ldi %r5,176
	ldi %r9,184
	ldi %r10,64
;AM_Drawer+480
	ldi %r11,231
	ldafr %r1,AM_drawWalls.l
	ldi %r12,99
;AM_Drawer+496
	jmp AM_Drawer+576
	nop 0
	nop 0
;AM_Drawer+512
	mov %r25,%r1
	callr %r24,AM_drawMline
	lddzr %r13,lines
;AM_Drawer+528
	ldwzr %r14,cheating
	ldwzr %r2,numlines
	nop 0
;AM_Drawer+544
	addi %r4,%r4,1
	sraiw %r15,%r2,0
	addi %r3,%r3,88
;AM_Drawer+560
	bdle %r15,%r4,AM_Drawer+832
	nop 0
	nop 0
;AM_Drawer+576
	lddzx.xd %r15,%r13,%r3,0,0
	ldwz %r16,%r15,0
	stwr %r16,AM_drawWalls.l
;AM_Drawer+592
	ldwz %r15,%r15,4
	stwr %r15,AM_drawWalls.l+4
	lddzx.xd %r15,%r13,%r3,0,8
;AM_Drawer+608
	ldwz %r16,%r15,0
	stwr %r16,AM_drawWalls.l+8
	ldwz %r15,%r15,4
;AM_Drawer+624
	stwr %r15,AM_drawWalls.l+12
	bweq %r14,%gz,AM_Drawer+752
	ldhzx.xd %r15,%r13,%r3,0,24
;AM_Drawer+640
	lddzx.xd %r16,%r13,%r3,0,64
	mov %r26,%r5
	bdeq %r16,%gz,AM_Drawer+512
;AM_Drawer+656
	ldhzx.xd %r17,%r13,%r3,0,26
	mov %r26,%r9
	bweqi %r17,39,AM_Drawer+512
;AM_Drawer+672
	mov %r26,%r5
	bbsi %r15,5,AM_Drawer+512
	lddzx.xd %r15,%r13,%r3,0,56
;AM_Drawer+688
	ldwz %r17,%r16,0
	ldwz %r18,%r15,0
	mov %r26,%r10
;AM_Drawer+704
	bwne %r17,%r18,AM_Drawer+512
	ldwz %r16,%r16,4
	ldwz %r15,%r15,4
;AM_Drawer+720
	cmpwne %r17,%r16,%r15
	cmovlsb %r26,%r17,%r11,%r8
	bwne %r14,%gz,AM_Drawer+512
;AM_Drawer+736
	bweq %r16,%r15,AM_Drawer+816
	jmp AM_Drawer+512
	nop 0
;AM_Drawer+752
	ldhzx.xd %r15,%r13,%r3,0,24
	bbsi %r15,8,AM_Drawer+800
	bbsi %r15,7,AM_Drawer+816
;AM_Drawer+768
	lddzr %r14,plr
	ldwz %r15,%r14,72
	mov2 %r14,%r26,%gz,%r12
;AM_Drawer+784
	bwne %r15,%gz,AM_Drawer+512
	jmp AM_Drawer+544
	nop 0
;AM_Drawer+800
	bbci %r15,7,AM_Drawer+640
	nop 0
	nop 0
;AM_Drawer+816
	mov %r14,%gz
	jmp AM_Drawer+544
	nop 0
;AM_Drawer+832
	ldwzr %r1,netgame
	lddzr %r3,plr
	bweq %r1,%gz,AM_Drawer+1056
;AM_Drawer+848
	mov %r4,%gz
	ldwzr %r12,deathmatch
	ldafr %r5,players
;AM_Drawer+864
	ldwzr %r13,singledemo
	ldafr %r9,playeringame
	ldi %r10,246
;AM_Drawer+880
	ldafr %r11,AM_drawPlayers.their_colors
	ldafr %r1,player_arrow
	ldi %r2,7
;AM_Drawer+896
	jmp AM_Drawer+944
	nop 0
	nop 0
;AM_Drawer+912
	mov %r13,%gz
	nop 0
	nop 0
;AM_Drawer+928
	addi %r4,%r4,4
	addi %r5,%r5,328
	bdeqi %r4,16,AM_Drawer+1136
;AM_Drawer+944
	bweq %r12,%gz,AM_Drawer+960
	bwne %r13,%gz,AM_Drawer+960
	bdne %r5,%r3,AM_Drawer+912
;AM_Drawer+960
	ldwzx.xd %r14,%r4,%r9,0,0
	bweq %r14,%gz,AM_Drawer+928
	ldwz %r3,%r5,64
;AM_Drawer+976
	mov %r24,%r10
	bwne %r3,%gz,AM_Drawer+992
	ldwzx.xd %r24,%r4,%r11,0,0
;AM_Drawer+992
	lddz %r3,%r5,0
	ldwz %r23,%r3,56
	ldwz %r25,%r3,24
;AM_Drawer+1008
	ldwz %r26,%r3,28
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%gz
;AM_Drawer+1024
	callr %r19,AM_drawLineCharacter
	ldwzr %r12,deathmatch
	ldwzr %r13,singledemo
;AM_Drawer+1040
	lddzr %r3,plr
	jmp AM_Drawer+928
	nop 0
;AM_Drawer+1056
	lddz %r1,%r3,0
	ldwzr %r2,cheating
	ldwz %r23,%r1,56
;AM_Drawer+1072
	ldwz %r25,%r1,24
	ldwz %r26,%r1,28
	bweq %r2,%gz,AM_Drawer+1104
;AM_Drawer+1088
	ldafr %r20,cheat_player_arrow
	ldi %r21,16
	jmp AM_Drawer+1120
;AM_Drawer+1104
	ldafr %r20,player_arrow
	ldi %r21,7
	nop 0
;AM_Drawer+1120
	ldi %r24,209
	mov %r22,%gz
	callr %r19,AM_drawLineCharacter
;AM_Drawer+1136
	ldwzr %r1,cheating
	bwnei %r1,2,AM_Drawer+1296
	ldwzr %r5,numsectors
;AM_Drawer+1152
	bwlti %r5,1,AM_Drawer+1296
	mov %r9,%gz
	ldafr %r1,thintriangle_guy
;AM_Drawer+1168
	ldi %r2,3
	ldi %r3,1048576
	ldi %r4,112
;AM_Drawer+1184
	jmp AM_Drawer+1216
	nop 0
	nop 0
;AM_Drawer+1200
	addi %r9,%r9,1
	sraiw %r10,%r5,0
	bdle %r10,%r9,AM_Drawer+1296
;AM_Drawer+1216
	lddzr %r10,sectors
	lddzx.xd %r10,%r10,%r9,7,96
	bdeq %r10,%gz,AM_Drawer+1200
;AM_Drawer+1232
	ldwz %r23,%r10,56
	ldwz %r25,%r10,24
	ldwz %r26,%r10,28
;AM_Drawer+1248
	mov2 %r20,%r21,%r1,%r2
	mov2 %r22,%r24,%r3,%r4
	callr %r19,AM_drawLineCharacter
;AM_Drawer+1264
	lddz %r10,%r10,40
	bdne %r10,%gz,AM_Drawer+1232
	ldwzr %r5,numsectors
;AM_Drawer+1280
	jmp AM_Drawer+1200
	nop 0
	nop 0
;AM_Drawer+1296
	ldbzr %r1,f_w
	ldbzr %r3,f_h
	lddzr %r4,fb
;AM_Drawer+1312
	ldi %r5,1
	ldi %r9,169
	mov %r2,%gz
;AM_Drawer+1328
	cmovlsb %r1,%r1,%r6,%gz
	cmovlsb %r3,%r3,%r9,%r5
	mul %r1,%r3,%r1
;AM_Drawer+1344
	srli %r1,%r1,1
	stbx.xd %r8,%r4,%r1,0,0
	ldafr %r3,markpoints
;AM_Drawer+1360
	ldafr %r4,markpoints+4
	ldi %r5,-5
	ldi %r8,315
;AM_Drawer+1376
	ldi %r9,-6
	ldi %r10,162
	ldafr %r11,marknums
;AM_Drawer+1392
	jmp AM_Drawer+1424
	nop 0
	nop 0
;AM_Drawer+1408
	addi %r2,%r2,8
	bdeqi %r2,80,AM_Drawer+1568
	nop 0
;AM_Drawer+1424
	ldwzx.xd %r12,%r2,%r3,0,0
	bweqi %r12,-1,AM_Drawer+1408
	ldwzr %r13,m_x
;AM_Drawer+1440
	ldwsr %r1,scale_mtof
	subws %r12,%r12,%r13
	mul %r12,%r1,%r12
;AM_Drawer+1456
	srli %r12,%r12,16
	sraiw %r24,%r12,16
	bwlt %r24,%gz,AM_Drawer+1408
;AM_Drawer+1472
	ldbzr %r12,f_w
	cmovlsb %r12,%r12,%r8,%r5
	bwlt %r12,%r24,AM_Drawer+1408
;AM_Drawer+1488
	ldbzr %r12,f_h
	ldwzx.xd %r13,%r2,%r4,0,0
	ldwzr %r14,m_y
;AM_Drawer+1504
	cmovlsb %r15,%r12,%r7,%gz
	subws %r13,%r13,%r14
	mul %r1,%r13,%r1
;AM_Drawer+1520
	srli %r1,%r1,16
	sraiw %r1,%r1,16
	subws %r25,%r15,%r1
;AM_Drawer+1536
	bwlt %r25,%gz,AM_Drawer+1408
	cmovlsb %r1,%r12,%r10,%r9
	bwlt %r1,%r25,AM_Drawer+1408
;AM_Drawer+1552
	lddzx.xd %r26,%r2,%r11,0,0
	callr %r23,V_DrawPatch
	jmp AM_Drawer+1408
;AM_Drawer+1568
	ldbzr %r1,f_w
	ldbzr %r2,f_h
	cmovlsb %r25,%r1,%r6,%gz
;AM_Drawer+1584
	cmovlsb %r26,%r2,%r7,%gz
	mov2 %r23,%r24,%gz,%gz
	callr %r22,V_MarkRect
;AM_Drawer+1600
	retf 16
	nop 0
	nop 0
;AM_drawMline
	allocsp 23,16
	ldwz %r4,%r1,4
	ldwzr %r5,m_y2
;AM_drawMline+16
	ldwzr %r7,m_y
	ldwz %r8,%r1,12
	cmpwlt %r6,%r5,%r4
;AM_drawMline+32
	cmpwlt %r3,%r4,%r7
	slliw %r9,%r3,2
	ldi %r3,8
;AM_drawMline+48
	cmpwlt %r5,%r5,%r8
	cmpwlt %r10,%r8,%r7
	slliw %r10,%r10,2
;AM_drawMline+64
	cmovlsb %r9,%r6,%r3,%r9
	cmovlsb %r10,%r5,%r3,%r10
	and %r5,%r10,%r9
;AM_drawMline+80
	bwne %r5,%gz,AM_drawMline+512
	ldwz %r5,%r1,0
	ldwzr %r6,m_x
;AM_drawMline+96
	bwle %r6,%r5,AM_drawMline+176
	ori %r11,%r9,1
	ldwz %r9,%r1,8
;AM_drawMline+112
	bwlt %r9,%r6,AM_drawMline+208
	nop 0
	nop 0
;AM_drawMline+128
	ldwzr %r1,m_x2
	cmpwlt %r1,%r1,%r9
	ori %r12,%r10,2
;AM_drawMline+144
	cmovlsb %r1,%r1,%r12,%r10
	and %r1,%r1,%r11
	bwne %r1,%gz,AM_drawMline+512
;AM_drawMline+160
	jmp AM_drawMline+224
	nop 0
	nop 0
;AM_drawMline+176
	ldwzr %r11,m_x2
	cmpwlt %r11,%r11,%r5
	ori %r12,%r9,2
;AM_drawMline+192
	cmovlsb %r11,%r11,%r12,%r9
	ldwz %r9,%r1,8
	bwle %r6,%r9,AM_drawMline+128
;AM_drawMline+208
	ori %r1,%r10,1
	and %r1,%r1,%r11
	bwne %r1,%gz,AM_drawMline+512
;AM_drawMline+224
	ldwsr %r10,scale_mtof
	ldbzr %r14,f_h
	subws %r1,%r5,%r6
;AM_drawMline+240
	mul %r1,%r10,%r1
	srli %r1,%r1,16
	ldi %r5,168
;AM_drawMline+256
	sraiw %r1,%r1,16
	cmovlsb %r5,%r14,%r5,%gz
	subws %r4,%r4,%r7
;AM_drawMline+272
	mul %r4,%r10,%r4
	srli %r4,%r4,16
	sraiw %r4,%r4,16
;AM_drawMline+288
	cmpwlti %r11,%r4,1
	subws %r4,%r5,%r4
	subws %r6,%r9,%r6
;AM_drawMline+304
	mul %r6,%r10,%r6
	srli %r6,%r6,16
	sraiw %r6,%r6,16
;AM_drawMline+320
	stwr %r6,AM_drawMline.fl.2
	subws %r7,%r8,%r7
	mul %r7,%r10,%r7
;AM_drawMline+336
	srli %r7,%r7,16
	sraiw %r8,%r7,16
	subws %r7,%r5,%r8
;AM_drawMline+352
	slliw %r9,%r11,2
	stwr %r7,AM_drawMline.fl.3
	cmovwlt %r9,%r4,%r3,%r9
;AM_drawMline+368
	bwlti %r1,0,AM_drawMline+416
	ldbzr %r10,f_w
	cmpwltui %r11,%r1,320
;AM_drawMline+384
	ori %r12,%r9,2
	cmovlsb %r9,%r11,%r9,%r12
	cmovlsb %r9,%r10,%r9,%r12
;AM_drawMline+400
	jmp AM_drawMline+432
	nop 0
	nop 0
;AM_drawMline+416
	ori %r9,%r9,1
	nop 0
	nop 0
;AM_drawMline+432
	cmpwlti %r8,%r8,1
	slliw %r8,%r8,2
	cmovwlt %r8,%r7,%r3,%r8
;AM_drawMline+448
	bwlti %r6,0,AM_drawMline+496
	ldbzr %r10,f_w
	cmpwltui %r11,%r6,320
;AM_drawMline+464
	ori %r12,%r8,2
	cmovlsb %r8,%r11,%r8,%r12
	cmovlsb %r11,%r10,%r8,%r12
;AM_drawMline+480
	and %r8,%r11,%r9
	bwne %r8,%gz,AM_drawMline+512
	jmp AM_drawMline+528
;AM_drawMline+496
	ori %r11,%r8,1
	and %r8,%r11,%r9
	bweq %r8,%gz,AM_drawMline+528
;AM_drawMline+512
	retf 16
	nop 0
	nop 0
;AM_drawMline+528
	ldbzr %r10,f_w
	ldi %r8,-1
	ldi %r13,319
;AM_drawMline+544
	ldi %r15,4
	addiws %r12,%r5,-1
	cmovlsb %r13,%r10,%r13,%r8
;AM_drawMline+560
	cmovlsb %r14,%r14,%gz,%r15
	jmp AM_drawMline+640
	nop 0
;AM_drawMline+576
	cmpwltui %r6,%r17,320
	ori %r7,%r18,2
	cmovlsb %r6,%r6,%r18,%r7
;AM_drawMline+592
	cmovlsb %r11,%r10,%r6,%r7
	nop 0
	nop 0
;AM_drawMline+608
	mov2 %r6,%r7,%r17,%r15
	mov %r15,%r4
	nop 0
;AM_drawMline+624
	and %r16,%r11,%r9
	mov %r4,%r15
	bwne %r16,%gz,AM_drawMline+512
;AM_drawMline+640
	or %r15,%r11,%r9
	bweq %r15,%gz,AM_drawMline+1056
	cmovweq %r16,%r9,%r11,%r9
;AM_drawMline+656
	bbsi %r16,3,AM_drawMline+736
	bbsi %r16,2,AM_drawMline+832
	bbsi %r16,1,AM_drawMline+976
;AM_drawMline+672
	mov %r17,%gz
	bbci %r16,0,AM_drawMline+768
	mov %r17,%gz
;AM_drawMline+688
	subws %r15,%r4,%r7
	subws %r18,%r6,%r1
	mulws %r15,%r15,%r1
;AM_drawMline+704
	divw %r15,%r15,%r18
	addws %r15,%r15,%r4
	bwgei %r15,0,AM_drawMline+880
;AM_drawMline+720
	jmp AM_drawMline+1024
	nop 0
	nop 0
;AM_drawMline+736
	subws %r15,%r4,%r7
	subws %r17,%r6,%r1
	mulws %r17,%r4,%r17
;AM_drawMline+752
	divw %r15,%r17,%r15
	addws %r17,%r15,%r1
	nop 0
;AM_drawMline+768
	mov %r15,%gz
	cmpwlti %r19,%r17,0
	mov %r18,%r14
;AM_drawMline+784
	bwne %r16,%r9,AM_drawMline+912
	nop 0
	nop 0
;AM_drawMline+800
	bbci %r19,0,AM_drawMline+944
	ori %r9,%r18,1
	mov %r1,%r17
;AM_drawMline+816
	jmp AM_drawMline+624
	nop 0
	nop 0
;AM_drawMline+832
	subws %r15,%r4,%r7
	subws %r17,%r6,%r1
	subws %r18,%r4,%r5
;AM_drawMline+848
	mulws %r17,%r18,%r17
	divw %r15,%r17,%r15
	addws %r17,%r15,%r1
;AM_drawMline+864
	mov %r15,%r12
	bwlti %r15,0,AM_drawMline+1024
	nop 0
;AM_drawMline+880
	cmpwle %r18,%r5,%r15
	slliw %r18,%r18,2
	cmpwlti %r19,%r17,0
;AM_drawMline+896
	bweq %r16,%r9,AM_drawMline+800
	nop 0
	nop 0
;AM_drawMline+912
	stwr %r17,AM_drawMline.fl.2
	stwr %r15,AM_drawMline.fl.3
	bbci %r19,0,AM_drawMline+576
;AM_drawMline+928
	ori %r11,%r18,1
	jmp AM_drawMline+608
	nop 0
;AM_drawMline+944
	cmpwltui %r1,%r17,320
	ori %r4,%r18,2
	cmovlsb %r1,%r1,%r18,%r4
;AM_drawMline+960
	cmovlsb %r9,%r10,%r1,%r4
	mov %r1,%r17
	jmp AM_drawMline+624
;AM_drawMline+976
	subws %r15,%r7,%r4
	subws %r17,%r6,%r1
	subws %r18,%r13,%r1
;AM_drawMline+992
	mulws %r15,%r15,%r18
	divw %r15,%r15,%r17
	addws %r15,%r15,%r4
;AM_drawMline+1008
	mov %r17,%r13
	bwgei %r15,0,AM_drawMline+880
	nop 0
;AM_drawMline+1024
	cmpwlti %r19,%r17,0
	mov %r18,%r3
	bweq %r16,%r9,AM_drawMline+800
;AM_drawMline+1040
	jmp AM_drawMline+912
	nop 0
	nop 0
;AM_drawMline+1056
	bwlt %r1,%gz,AM_drawMline+1360
	ldi %r3,320
	cmovlsb %r3,%r10,%r3,%gz
;AM_drawMline+1072
	bwleu %r3,%r1,AM_drawMline+1360
	bwlt %r4,%gz,AM_drawMline+1360
	bwleu %r5,%r4,AM_drawMline+1360
;AM_drawMline+1088
	bwleu %r3,%r6,AM_drawMline+1360
	bwleu %r5,%r7,AM_drawMline+1360
	subws %r9,%r6,%r1
;AM_drawMline+1104
	absdw %r10,%r1,%r6
	ldi %r12,1
	slliw %r5,%r10,1
;AM_drawMline+1120
	cmovwlt %r6,%r9,%r8,%r12
	subws %r13,%r7,%r4
	absdw %r11,%r4,%r7
;AM_drawMline+1136
	lddzr %r7,fb
	slliw %r9,%r11,1
	cmovwlt %r8,%r13,%r8,%r12
;AM_drawMline+1152
	mulws %r12,%r4,%r3
	addws %r12,%r12,%r1
	stbx.xuw %r2,%r7,%r12,0,0
;AM_drawMline+1168
	bwleu %r5,%r9,AM_drawMline+1264
	ldwzr %r11,AM_drawMline.fl.2
	bweq %r1,%r11,AM_drawMline+512
;AM_drawMline+1184
	subws %r11,%r9,%r10
	ldwzr %r10,AM_drawMline.fl.2
	nop 0
;AM_drawMline+1200
	cmovwlt %r12,%r11,%gz,%r8
	addws %r4,%r12,%r4
	cmovwlt %r12,%r11,%gz,%r5
;AM_drawMline+1216
	addws %r1,%r1,%r6
	addws %r11,%r11,%r9
	subws %r11,%r11,%r12
;AM_drawMline+1232
	mulws %r12,%r4,%r3
	addws %r12,%r12,%r1
	stbx.xw %r2,%r7,%r12,0,0
;AM_drawMline+1248
	bwne %r1,%r10,AM_drawMline+1200
	jmp AM_drawMline+512
	nop 0
;AM_drawMline+1264
	ldwzr %r10,AM_drawMline.fl.3
	bweq %r4,%r10,AM_drawMline+512
	subws %r11,%r5,%r11
;AM_drawMline+1280
	ldwzr %r10,AM_drawMline.fl.3
	nop 0
	nop 0
;AM_drawMline+1296
	cmovwlt %r12,%r11,%gz,%r6
	addws %r1,%r12,%r1
	cmovwlt %r12,%r11,%gz,%r9
;AM_drawMline+1312
	addws %r4,%r4,%r8
	addws %r11,%r11,%r5
	subws %r11,%r11,%r12
;AM_drawMline+1328
	mulws %r12,%r4,%r3
	addws %r12,%r12,%r1
	stbx.xw %r2,%r7,%r12,0,0
;AM_drawMline+1344
	bwne %r4,%r10,AM_drawMline+1296
	jmp AM_drawMline+512
	nop 0
;AM_drawMline+1360
	ldwzr %r1,AM_drawFline.fuck
	lddzr %r21,stderr
	addiws %r2,%r1,1
;AM_drawMline+1376
	stwr %r2,AM_drawFline.fuck
	ldafr %r22,.rodata+12165
	stw %r1,%sp,0
;AM_drawMline+1392
	callr %r20,fprintf
	retf 16
	nop 0
;AM_drawLineCharacter
	allocsp 21,16
	srliw %r8,%r3,0
	srliw %r9,%r4,19
;AM_drawLineCharacter+16
	ldafr %r10,finesine
	ldax.xuw %r10,%r10,%r9,2,0
	srliw %r11,%r2,0
;AM_drawLineCharacter+32
	addi %r12,%r1,8
	addi %r1,%sp,0
	jmp AM_drawLineCharacter+96
;AM_drawLineCharacter+48
	addws %r13,%r13,%r6
	stw %r13,%sp,8
	addws %r2,%r2,%r7
;AM_drawLineCharacter+64
	stw %r2,%sp,12
	mov2 %r19,%r20,%r1,%r5
	callr %r18,AM_drawMline
;AM_drawLineCharacter+80
	addi %r11,%r11,-1
	addi %r12,%r12,16
	bdeq %r11,%gz,AM_drawLineCharacter+416
;AM_drawLineCharacter+96
	ldwz %r13,%r12,-8
	ldwz %r2,%r12,-4
	bweq %r3,%gz,AM_drawLineCharacter+144
;AM_drawLineCharacter+112
	sraiw %r13,%r13,0
	mul %r13,%r13,%r8
	srli %r13,%r13,16
;AM_drawLineCharacter+128
	sraiw %r2,%r2,0
	mul %r2,%r2,%r8
	srli %r2,%r2,16
;AM_drawLineCharacter+144
	bweq %r4,%gz,AM_drawLineCharacter+240
	lddzr %r14,finecosine
	ldwsx.xd %r14,%r14,%r9,2,0
;AM_drawLineCharacter+160
	sraiw %r15,%r13,0
	ldws %r16,%r10,0
	mul %r13,%r14,%r15
;AM_drawLineCharacter+176
	srli %r13,%r13,16
	sraiw %r2,%r2,0
	mul %r17,%r16,%r2
;AM_drawLineCharacter+192
	srli %r17,%r17,16
	subws %r13,%r13,%r17
	mul %r15,%r16,%r15
;AM_drawLineCharacter+208
	srli %r15,%r15,16
	mul %r2,%r2,%r14
	srli %r2,%r2,16
;AM_drawLineCharacter+224
	addws %r2,%r15,%r2
	nop 0
	nop 0
;AM_drawLineCharacter+240
	addws %r13,%r13,%r6
	stw %r13,%sp,0
	addws %r2,%r2,%r7
;AM_drawLineCharacter+256
	stw %r2,%sp,4
	ldwz %r13,%r12,0
	ldwz %r2,%r12,4
;AM_drawLineCharacter+272
	bweq %r3,%gz,AM_drawLineCharacter+320
	sraiw %r13,%r13,0
	mul %r13,%r13,%r8
;AM_drawLineCharacter+288
	srli %r13,%r13,16
	sraiw %r2,%r2,0
	mul %r2,%r2,%r8
;AM_drawLineCharacter+304
	srli %r2,%r2,16
	nop 0
	nop 0
;AM_drawLineCharacter+320
	bweq %r4,%gz,AM_drawLineCharacter+48
	lddzr %r14,finecosine
	ldwsx.xd %r14,%r14,%r9,2,0
;AM_drawLineCharacter+336
	sraiw %r15,%r13,0
	ldws %r16,%r10,0
	mul %r13,%r14,%r15
;AM_drawLineCharacter+352
	srli %r13,%r13,16
	sraiw %r2,%r2,0
	mul %r17,%r16,%r2
;AM_drawLineCharacter+368
	srli %r17,%r17,16
	subws %r13,%r13,%r17
	mul %r15,%r16,%r15
;AM_drawLineCharacter+384
	srli %r15,%r15,16
	mul %r2,%r2,%r14
	srli %r2,%r2,16
;AM_drawLineCharacter+400
	addws %r2,%r15,%r2
	jmp AM_drawLineCharacter+48
	nop 0
;AM_drawLineCharacter+416
	retf 16
	nop 0
	nop 0
;snprintf
	allocsp 9,16
	addi %r8,%sp,16
	std %r8,%sp,8
;snprintf+16
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
	callr %r4,vsnprintf
;snprintf+32
	mov %r1,%r5
	retf 16
	nop 0
;vsnprintf
	allocsp 10,256
	addi %r5,%sp,254
	cmovdeq %r1,%r2,%r5,%r1
;vsnprintf+16
	std %r1,%sp,232
	maxui %r2,%r2,1
	addi %r2,%r2,-1
;vsnprintf+32
	std %r2,%sp,240
	stq %gz,%sp,64
	stq %gz,%sp,80
;vsnprintf+48
	stq %gz,%sp,128
	stq %gz,%sp,144
	std %gz,%sp,224
;vsnprintf+64
	stq %gz,%sp,208
	stq %gz,%sp,192
	stq %gz,%sp,176
;vsnprintf+80
	stq %gz,%sp,160
	stq %gz,%sp,112
	stq %gz,%sp,96
;vsnprintf+96
	stq %gz,%sp,48
	stq %gz,%sp,32
	stq %gz,%sp,16
;vsnprintf+112
	stq %gz,%sp,0
	ldar %r2,sn_write
	std %r2,%sp,72
;vsnprintf+128
	addi %r2,%sp,255
	std %r2,%sp,88
	ldi %r2,-1
;vsnprintf+144
	stw %r2,%sp,140
	stw %r2,%sp,144
	addi %r2,%sp,232
;vsnprintf+160
	std %r2,%sp,152
	stb %gz,%r1,0
	addi %r7,%sp,0
;vsnprintf+176
	mov2 %r8,%r9,%r3,%r4
	callr %r6,vfprintf
	mov %r1,%r7
;vsnprintf+192
	retf 256
	nop 0
	nop 0
;sn_write
	alloc 11
	lddz %r6,%r1,152
	lddz %r4,%r1,40
;sn_write+16
	lddz %r9,%r1,56
	lddz %r5,%r6,8
	sub %r4,%r4,%r9
;sn_write+32
	minu %r4,%r5,%r4
	lddz %r8,%r6,0
	bdeq %r4,%gz,sn_write+96
;sn_write+48
	mov %r10,%r4
	callr %r7,memcpy
	lddz %r5,%r6,0
;sn_write+64
	add %r8,%r5,%r4
	std %r8,%r6,0
	lddz %r5,%r6,8
;sn_write+80
	sub %r5,%r5,%r4
	std %r5,%r6,8
	nop 0
;sn_write+96
	minu %r4,%r5,%r3
	bdeq %r4,%gz,sn_write+160
	mov2 %r9,%r10,%r2,%r4
;sn_write+112
	callr %r7,memcpy
	lddz %r2,%r6,0
	add %r8,%r2,%r4
;sn_write+128
	std %r8,%r6,0
	lddz %r2,%r6,8
	sub %r2,%r2,%r4
;sn_write+144
	std %r2,%r6,8
	nop 0
	nop 0
;sn_write+160
	stb %gz,%r8,0
	lddz %r2,%r1,88
	std %r2,%r1,56
;sn_write+176
	std %r2,%r1,40
	mov %r1,%r3
	retf 0
;vfprintf
	allocsp 14,304
	mov %r4,%r1
	std %r3,%sp,296
;vfprintf+16
	std %gz,%sp,272
	stq %gz,%sp,256
	stq %gz,%sp,240
;vfprintf+32
	std %r3,%sp,288
	addi %r11,%sp,288
	addi %r12,%sp,80
;vfprintf+48
	addi %r13,%sp,240
	mov2 %r9,%r10,%gz,%r2
	callr %r8,printf_core
;vfprintf+64
	bwlt %r9,%gz,vfprintf+112
	ldwz %r1,%r4,140
	bwlt %r1,%gz,vfprintf+128
;vfprintf+80
	mov %r13,%r4
	callr %r12,__lockfile
	cmpweqi %r3,%r13,0
;vfprintf+96
	jmp vfprintf+144
	nop 0
	nop 0
;vfprintf+112
	ldi %r1,-1
	retf 304
	nop 0
;vfprintf+128
	ldi %r3,1
	nop 0
	nop 0
;vfprintf+144
	ldwz %r5,%r4,0
	andi %r1,%r5,-33
	stw %r1,%r4,0
;vfprintf+160
	lddz %r1,%r4,96
	bdeq %r1,%gz,vfprintf+192
	lddz %r1,%r4,32
;vfprintf+176
	mov2 %r6,%r7,%gz,%gz
	bdne %r1,%gz,vfprintf+304
	jmp vfprintf+240
;vfprintf+192
	lddz %r6,%r4,88
	addi %r1,%sp,0
	std %r1,%r4,88
;vfprintf+208
	ldi %r1,80
	std %r1,%r4,96
	std %gz,%r4,32
;vfprintf+224
	std %gz,%r4,56
	std %gz,%r4,40
	nop 0
;vfprintf+240
	mov %r13,%r4
	callr %r12,__towrite
	bweq %r13,%gz,vfprintf+288
;vfprintf+256
	ldi %r9,-1
	andi %r2,%r5,32
	bdne %r6,%gz,vfprintf+352
;vfprintf+272
	jmp vfprintf+416
	nop 0
	nop 0
;vfprintf+288
	mov %r7,%r6
	nop 0
	nop 0
;vfprintf+304
	addi %r11,%sp,288
	addi %r12,%sp,80
	addi %r13,%sp,240
;vfprintf+320
	mov2 %r9,%r10,%r4,%r2
	callr %r8,printf_core
	mov %r6,%r7
;vfprintf+336
	andi %r2,%r5,32
	bdeq %r6,%gz,vfprintf+416
	nop 0
;vfprintf+352
	mov2 %r11,%r12,%r4,%gz
	mov %r13,%gz
	callmi %r10,%r4,72
;vfprintf+368
	lddz %r1,%r4,40
	ldi %r5,-1
	cmovdeq %r9,%r1,%r5,%r9
;vfprintf+384
	std %r6,%r4,88
	std %gz,%r4,96
	std %gz,%r4,32
;vfprintf+400
	std %gz,%r4,56
	std %gz,%r4,40
	nop 0
;vfprintf+416
	ldwz %r5,%r4,0
	andi %r1,%r5,32
	ldi %r6,-1
;vfprintf+432
	cmovweq %r1,%r1,%r9,%r6
	or %r2,%r5,%r2
	stw %r2,%r4,0
;vfprintf+448
	bbsi %r3,0,vfprintf+464
	mov %r13,%r4
	callr %r12,__unlockfile
;vfprintf+464
	retf 304
	nop 0
	nop 0
;printf_core
	allocsp 37,320
	mov2 %r6,%r22,%r1,%gz
	mov2 %r1,%r30,%gz,%gz
;printf_core+16
	addi %r15,%sp,48
	addi %r16,%sp,47
	ldi %r14,75
;printf_core+32
	ldi %r12,-1
	ldi %r17,1
	ldi %r18,10
;printf_core+48
	ldi %r13,22
	ldi %r19,58
	ldafr %r20,.rodata+29503
;printf_core+64
	ldafr %r21,.rodata+40
	jmp printf_core+96
	nop 0
;printf_core+80
	bweq %r30,%gz,printf_core+352
	nop 0
	nop 0
;printf_core+96
	xori.l %r8,%r1,2147483647
	bwlt %r8,%r30,printf_core+4080
;printf_core+112
	mov %r7,%r2
	ldbz %r8,%r2,0
	addws %r1,%r30,%r1
;printf_core+128
	bweq %r8,%gz,printf_core+3888
	mov %r2,%r7
	andi %r8,%r8,255
;printf_core+144
	bweq %r8,%gz,printf_core+192
	nop 0
	nop 0
;printf_core+160
	bweqi %r8,37,printf_core+208
	addi %r9,%r2,1
	ldbz %r8,%r2,1
;printf_core+176
	mov %r2,%r9
	andi %r8,%r8,255
	bwne %r8,%gz,printf_core+160
;printf_core+192
	mov %r8,%r2
	jmp printf_core+288
	nop 0
;printf_core+208
	mov2 %r8,%r9,%r2,%r2
	nop 0
	nop 0
;printf_core+224
	ldbz %r2,%r9,1
	bwnei %r2,37,printf_core+272
	ldbz %r10,%r9,2
;printf_core+240
	addi %r2,%r9,2
	addi %r8,%r8,1
	mov %r9,%r2
;printf_core+256
	bweqi %r10,37,printf_core+224
	jmp printf_core+288
	nop 0
;printf_core+272
	mov %r2,%r9
	nop 0
	nop 0
;printf_core+288
	sub %r30,%r8,%r7
	xori.l %r23,%r1,2147483647
;printf_core+304
	srliw %r8,%r23,0
	bdlt %r8,%r30,printf_core+4080
	bdeq %r6,%gz,printf_core+80
;printf_core+320
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+80
	sraiw %r35,%r30,0
;printf_core+336
	mov2 %r34,%r36,%r7,%r6
	callr %r33,__fwritex
	jmp printf_core+80
;printf_core+352
	ldbs %r9,%r2,1
	addiws %r11,%r9,-48
	addi %r10,%r2,1
;printf_core+368
	bwgeui %r11,10,printf_core+576
	ldbz %r24,%r2,2
	mov %r8,%r12
;printf_core+384
	bwnei %r24,36,printf_core+416
	addi %r10,%r2,3
	ldbs %r9,%r2,3
;printf_core+400
	mov2 %r22,%r8,%r17,%r11
	nop 0
	nop 0
;printf_core+416
	addiws %r2,%r9,-32
	bwgeui %r2,32,printf_core+592
	nop 0
;printf_core+432
	sllw %r2,%r17,%r2
	andi %r11,%r2,75913
	bweq %r11,%gz,printf_core+832
;printf_core+448
	mov %r11,%gz
	addi %r24,%r10,1
	nop 0
;printf_core+464
	mov %r10,%r24
	ldbs %r9,%r24,0
	addiws %r24,%r9,-32
;printf_core+480
	or %r11,%r2,%r11
	bwgeui %r24,32,printf_core+512
	sllw %r2,%r17,%r24
;printf_core+496
	andi %r25,%r2,75913
	addi %r24,%r10,1
	bwne %r25,%gz,printf_core+464
;printf_core+512
	bwnei %r9,42,printf_core+608
	nop 0
	nop 0
;printf_core+528
	ldbs %r2,%r10,1
	addiws %r2,%r2,-48
	bwgeui %r2,10,printf_core+768
;printf_core+544
	ldbz %r9,%r10,2
	bwnei %r9,36,printf_core+768
	srliw %r2,%r2,0
;printf_core+560
	bdeq %r6,%gz,printf_core+880
	ldwzx.xd %r32,%r4,%r2,4,0
	jmp printf_core+896
;printf_core+576
	mov %r8,%r12
	addiws %r2,%r9,-32
	bwltui %r2,32,printf_core+432
;printf_core+592
	mov %r11,%gz
	bweqi %r9,42,printf_core+528
	nop 0
;printf_core+608
	mov %r32,%gz
	addiws %r25,%r9,-48
	bwgeui %r25,10,printf_core+928
;printf_core+624
	mov %r9,%r10
	jmp printf_core+720
	nop 0
;printf_core+640
	mov %r2,%r25
	mulwsi %r10,%r32,10
	nop 2
;printf_core+656
	xori.l %r24,%r10,2147483647
	ldbs %r25,%r9,1
;printf_core+672
	cmpwltu %r26,%r24,%r2
	addws %r27,%r10,%r2
	ldi %r28,-1
;printf_core+688
	addi %r10,%r9,1
	addiws %r25,%r25,-48
	cmovlsb %r32,%r26,%r28,%r27
;printf_core+704
	mov %r9,%r10
	bwgeui %r25,10,printf_core+864
	nop 0
;printf_core+720
	bwltui.l %r32,214748365,printf_core+640
	ldbs %r2,%r9,1
;printf_core+736
	addi %r9,%r9,1
	addiws %r25,%r2,-48
	ldi %r32,-1
;printf_core+752
	bwltui %r25,10,printf_core+720
	jmp printf_core+4080
	nop 0
;printf_core+768
	bwne %r22,%gz,printf_core+4064
	addi %r10,%r10,1
	bdeq %r6,%gz,printf_core+848
;printf_core+784
	lddz %r2,%r3,0
	mov %r22,%gz
	algnup %r2,%r2,0,2
;printf_core+800
	addi %r9,%r2,4
	std %r9,%r3,0
	ldwz %r32,%r2,0
;printf_core+816
	bwgei %r32,0,printf_core+928
	jmp printf_core+912
	nop 0
;printf_core+832
	mov %r11,%gz
	bweqi %r9,42,printf_core+528
	jmp printf_core+608
;printf_core+848
	mov2 %r22,%r32,%gz,%gz
	jmp printf_core+928
	nop 0
;printf_core+864
	bwleu %r2,%r24,printf_core+928
	jmp printf_core+4080
	nop 0
;printf_core+880
	mov %r32,%gz
	stwx.xd %r18,%r5,%r2,2,0
	nop 0
;printf_core+896
	addi %r10,%r10,3
	mov %r22,%r17
	bwgei %r32,0,printf_core+928
;printf_core+912
	ori %r11,%r11,8192
	subfiws %r32,%r32,0
	nop 0
;printf_core+928
	ldbz %r2,%r10,0
	bwnei %r2,46,printf_core+1008
	ldbs %r2,%r10,1
;printf_core+944
	bwnei %r2,42,printf_core+1024
	ldbs %r2,%r10,2
	addiws %r2,%r2,-48
;printf_core+960
	bwgeui %r2,10,printf_core+1152
	ldbz %r9,%r10,3
	bwnei %r9,36,printf_core+1152
;printf_core+976
	srliw %r2,%r2,0
	bdeq %r6,%gz,printf_core+1280
	ldwzx.xd %r9,%r4,%r2,4,0
;printf_core+992
	addi %r10,%r10,4
	cmpwgti %r24,%r9,-1
	jmp printf_core+1312
;printf_core+1008
	mov2 %r24,%r9,%gz,%r12
	jmp printf_core+1312
	nop 0
;printf_core+1024
	addiws %r2,%r2,-48
	addi %r10,%r10,1
	bwgeui %r2,10,printf_core+1216
;printf_core+1040
	mov %r24,%gz
	jmp printf_core+1088
	nop 0
;printf_core+1056
	ldbs %r2,%r10,1
	addi %r25,%r10,1
	addiws %r2,%r2,-48
;printf_core+1072
	mov2 %r24,%r10,%r9,%r25
	bwgeui %r2,10,printf_core+1232
	nop 0
;printf_core+1088
	mov %r9,%r12
	bwgeui.l %r24,214748365,printf_core+1056
;printf_core+1104
	mulwsi %r9,%r24,10
	xori.l %r24,%r9,2147483647
;printf_core+1120
	cmpwltu %r24,%r24,%r2
	addws %r2,%r9,%r2
	cmovlsb %r9,%r24,%r12,%r2
;printf_core+1136
	jmp printf_core+1056
	nop 0
	nop 0
;printf_core+1152
	bwne %r22,%gz,printf_core+4064
	addi %r10,%r10,2
	bdeq %r6,%gz,printf_core+1264
;printf_core+1168
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r9,%r2,4
;printf_core+1184
	std %r9,%r3,0
	ldwz %r9,%r2,0
	cmpwgti %r24,%r9,-1
;printf_core+1200
	jmp printf_core+1312
	nop 0
	nop 0
;printf_core+1216
	mov %r9,%gz
	jmp printf_core+1248
	nop 0
;printf_core+1232
	mov %r10,%r25
	nop 0
	nop 0
;printf_core+1248
	mov %r24,%r17
	jmp printf_core+1312
	nop 0
;printf_core+1264
	mov %r9,%gz
	jmp printf_core+1296
	nop 0
;printf_core+1280
	mov %r9,%gz
	stwx.xd %r18,%r5,%r2,2,0
	addi %r10,%r10,4
;printf_core+1296
	cmpwgti %r24,%gz,-1
	nop 0
	nop 0
;printf_core+1312
	mov2 %r35,%r2,%gz,%r10
	nop 0
	nop 0
;printf_core+1328
	ldbs %r25,%r2,0
	addiws %r26,%r25,-123
	nop 2
;printf_core+1344
	bwltui.l %r26,4294967238,printf_core+4064
	mov %r10,%r35
;printf_core+1360
	sraiw %r26,%r25,0
	srliw %r25,%r35,0
	muladd %r26,%r25,%r19,%r26
;printf_core+1376
	ldbzx.xd %r35,%r26,%r20,0,0
	addiws %r26,%r35,-1
	addi %r2,%r2,1
;printf_core+1392
	bwltui %r26,8,printf_core+1328
	bweqi %r35,27,printf_core+1440
	bweq %r35,%gz,printf_core+4064
;printf_core+1408
	bwlt %r8,%gz,printf_core+1472
	srliw %r8,%r8,0
	bdeq %r6,%gz,printf_core+1648
;printf_core+1424
	ldqx.xd %r8,%r4,%r8,4,0
	stq %r8,%sp,48
	jmp printf_core+1504
;printf_core+1440
	bwgei %r8,0,printf_core+4064
	mov %r30,%gz
	bdne %r6,%gz,printf_core+1504
;printf_core+1456
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+1472
	bdeq %r6,%gz,printf_core+4000
	addi %r34,%sp,48
	mov %r36,%r3
;printf_core+1488
	callr %r33,pop_arg
	nop 0
	nop 0
;printf_core+1504
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+4096
	ldbz %r8,%r2,-1
;printf_core+1520
	slsrai %r26,%r8,56,56
	andi %r8,%r8,15
	cmpweqi %r8,%r8,3
;printf_core+1536
	andi %r27,%r26,-45
	cmovlsb %r8,%r8,%r27,%r26
	cmovweq %r35,%r10,%r26,%r8
;printf_core+1552
	andi %r8,%r11,8192
	andi %r26,%r11,-65537
	addiws %r27,%r35,-65
;printf_core+1568
	cmovweq %r8,%r8,%r11,%r26
	bwgeui %r27,56,printf_core+1712
	addiwz %r11,%r35,-65
;printf_core+1584
	ldafr %r27,.rodata+29168
	jmpt %r27,%r11
	nop 0
;printf_core+1600
	cmpwlti %r7,%r9,0
	and %r7,%r24,%r7
	bbsi %r7,0,printf_core+4080
;printf_core+1616
	ldq %r31,%sp,48
	mov2 %r30,%r33,%r6,%r9
	mov2 %r34,%r36,%r8,%r10
;printf_core+1632
	callr %r29,fmt_fp
	bwle %gz,%r30,printf_core+96
	jmp printf_core+4080
;printf_core+1648
	mov %r30,%gz
	stwx.xd %r35,%r5,%r8,2,0
	jmp printf_core+96
;printf_core+1664
	lddz %r11,%sp,48
	bdlti %r11,0,printf_core+2624
	bbsi %r8,11,printf_core+2656
;printf_core+1680
	ldafr %r7,.rodata+40
	ldafr %r10,.rodata+42
	andi %r25,%r8,1
;printf_core+1696
	cmovlsb %r10,%r8,%r7,%r10
	jmp printf_core+2672
	nop 0
;printf_core+1712
	mov2 %r25,%r11,%gz,%r15
	jmp printf_core+1872
	nop 0
;printf_core+1728
	lddz %r7,%sp,48
	ldafr %r8,.rodata+27868
	cmovdeq %r7,%r7,%r8,%r7
;printf_core+1744
	jmp printf_core+1792
	nop 0
	nop 0
;printf_core+1760
	callr %r35,__errno_location
	ldwz %r36,%r36,0
	callr %r35,strerror
;printf_core+1776
	mov %r7,%r36
	nop 0
	nop 0
;printf_core+1792
	ldi.l %r8,2147483647
	minuw %r8,%r9,%r8
;printf_core+1808
	srliw %r36,%r8,0
	mov %r35,%r7
	callr %r34,strnlen
;printf_core+1824
	add %r11,%r7,%r35
	bwgei %r9,0,printf_core+1856
	ldbz %r8,%r11,0
;printf_core+1840
	bwne %r8,%gz,printf_core+4080
	nop 0
	nop 0
;printf_core+1856
	mov2 %r25,%r8,%gz,%r26
	mov %r9,%r35
	nop 0
;printf_core+1872
	mov %r10,%r21
	jmp printf_core+2944
	nop 0
;printf_core+1888
	lddz %r10,%sp,48
	mov %r7,%r15
	bdeq %r10,%gz,printf_core+1968
;printf_core+1904
	mov %r11,%r15
	nop 0
	nop 0
;printf_core+1920
	mov %r25,%r10
	andi %r7,%r10,7
	ori %r10,%r7,48
;printf_core+1936
	addi %r7,%r11,-1
	stb %r10,%r11,-1
	srli %r10,%r25,3
;printf_core+1952
	mov %r11,%r7
	bdgeui %r25,8,printf_core+1920
	nop 0
;printf_core+1968
	ldafr %r10,.rodata+40
	bbci %r8,3,printf_core+2304
	sraiw %r25,%r9,0
;printf_core+1984
	sub %r11,%r15,%r7
	bdlt %r11,%r25,printf_core+2304
	mov %r25,%gz
;printf_core+2000
	addiws %r9,%r11,1
	jmp printf_core+2784
	nop 0
;printf_core+2016
	andi %r7,%r10,255
	mov %r30,%gz
	bwgeui %r7,8,printf_core+96
;printf_core+2032
	ldafr %r7,.rodata+29392
	jmpt %r7,%r25
	nop 0
;printf_core+2048
	lddz %r7,%sp,48
	mov %r30,%gz
	sraiw %r8,%r1,0
;printf_core+2064
	std %r8,%r7,0
	jmp printf_core+96
	nop 0
;printf_core+2080
	mov %r25,%gz
	ldafr %r10,.rodata+40
	lddz %r11,%sp,48
;printf_core+2096
	jmp printf_core+2672
	nop 0
	nop 0
;printf_core+2112
	lddz %r7,%sp,48
	bdeq %r7,%gz,printf_core+2896
	stw %r7,%sp,16
;printf_core+2128
	stw %gz,%sp,20
	addi %r11,%sp,16
	std %r11,%sp,48
;printf_core+2144
	ldi %r10,-1
	jmp printf_core+2352
	nop 0
;printf_core+2160
	ldbz %r7,%sp,48
	jmp printf_core+2912
	nop 0
;printf_core+2176
	ldi %r7,16
	maxuw %r9,%r9,%r7
	ori %r8,%r8,8
;printf_core+2192
	ldi %r35,120
	nop 0
	nop 0
;printf_core+2208
	lddz %r25,%sp,48
	ldafr %r10,.rodata+40
	bdeq %r25,%gz,printf_core+2320
;printf_core+2224
	andi %r11,%r35,32
	mov %r7,%r15
	nop 0
;printf_core+2240
	mov %r26,%r25
	andi %r25,%r25,15
	ldafr %r27,xdigits
;printf_core+2256
	ldbzx.xd %r25,%r25,%r27,0,0
	or %r25,%r25,%r11
	stb %r25,%r7,-1
;printf_core+2272
	addi %r7,%r7,-1
	srli %r25,%r26,4
	bdgeui %r26,16,printf_core+2240
;printf_core+2288
	bbsi %r8,3,printf_core+2592
	nop 0
	nop 0
;printf_core+2304
	mov %r25,%gz
	jmp printf_core+2784
	nop 0
;printf_core+2320
	mov2 %r25,%r7,%gz,%r15
	jmp printf_core+2784
	nop 0
;printf_core+2336
	bweq %r9,%gz,printf_core+3696
	lddz %r11,%sp,48
	sraiw %r10,%r9,0
;printf_core+2352
	mov2 %r7,%r23,%gz,%r11
	nop 0
	nop 0
;printf_core+2368
	ldwz %r36,%r23,0
	bweq %r36,%gz,printf_core+2432
	addi %r35,%sp,12
;printf_core+2384
	callr %r34,wctomb
	bwlt %r35,%gz,printf_core+4096
	srliw %r9,%r35,0
;printf_core+2400
	sub %r24,%r10,%r7
	bdltu %r24,%r9,printf_core+2432
	add %r7,%r7,%r9
;printf_core+2416
	addi %r23,%r23,4
	bdltu %r7,%r10,printf_core+2368
	nop 0
;printf_core+2432
	bdgeui.l %r7,2147483648,printf_core+4080
	mov %r9,%r32
;printf_core+2448
	ldi %r33,32
	mov2 %r32,%r34,%r6,%r9
	mov2 %r35,%r36,%r7,%r8
;printf_core+2464
	callr %r31,pad
	bdeq %r7,%gz,printf_core+3728
	mov %r23,%gz
;printf_core+2480
	jmp printf_core+2512
	nop 0
	nop 0
;printf_core+2496
	addi %r11,%r11,4
	bdleu %r7,%r23,printf_core+3744
	nop 0
;printf_core+2512
	ldwz %r36,%r11,0
	bweq %r36,%gz,printf_core+3744
	addi %r35,%sp,12
;printf_core+2528
	callr %r34,wctomb
	ldax.xw %r23,%r23,%r35,0,0
	bdltu %r7,%r23,printf_core+3744
;printf_core+2544
	ldbz %r10,%r6,0
	bbsi %r10,5,printf_core+2496
	sraiw %r35,%r35,0
;printf_core+2560
	addi %r34,%sp,12
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+2576
	jmp printf_core+2496
	nop 0
	nop 0
;printf_core+2592
	sraiw %r10,%r35,4
	ldafr %r11,.rodata+40
	ldax.xw %r10,%r11,%r10,0,0
;printf_core+2608
	ldi %r25,2
	jmp printf_core+2784
	nop 0
;printf_core+2624
	subfi %r11,%r11,0
	std %r11,%sp,48
	ldi %r25,1
;printf_core+2640
	ldafr %r10,.rodata+40
	jmp printf_core+2672
	nop 0
;printf_core+2656
	ldi %r25,1
	ldafr %r10,.rodata+41
	nop 0
;printf_core+2672
	bdltui %r11,10,printf_core+2736
	mov %r26,%r15
	nop 0
;printf_core+2688
	mov %r27,%r11
	divui %r11,%r11,10
	mulsubf %r7,%r11,%r18,%r27
;printf_core+2704
	ori %r28,%r7,48
	addi %r7,%r26,-1
	stb %r28,%r26,-1
;printf_core+2720
	mov %r26,%r7
	bdgeui %r27,100,printf_core+2688
	jmp printf_core+2752
;printf_core+2736
	mov %r7,%r15
	nop 0
	nop 0
;printf_core+2752
	bdeq %r11,%gz,printf_core+2784
	ori %r11,%r11,48
	addi %r26,%r7,-1
;printf_core+2768
	stb %r11,%r7,-1
	mov %r7,%r26
	nop 0
;printf_core+2784
	cmpwlti %r11,%r9,0
	and %r11,%r24,%r11
	bbsi %r11,0,printf_core+4080
;printf_core+2800
	lddz %r11,%sp,48
	andi %r26,%r8,-65537
	cmovlsb %r8,%r24,%r26,%r8
;printf_core+2816
	bdne %r11,%gz,printf_core+2848
	bwne %r9,%gz,printf_core+2848
	mov2 %r9,%r11,%gz,%r15
;printf_core+2832
	mov %r7,%r15
	jmp printf_core+2944
	nop 0
;printf_core+2848
	cmpdeqi %r11,%r11,0
	sraiw %r24,%r9,0
	sub %r26,%r15,%r7
;printf_core+2864
	add %r11,%r26,%r11
	cmpdlt %r24,%r11,%r24
	cmovlsb %r9,%r24,%r9,%r11
;printf_core+2880
	mov %r11,%r15
	jmp printf_core+2944
	nop 0
;printf_core+2896
	mov %r7,%gz
	nop 0
	nop 0
;printf_core+2912
	mov %r25,%gz
	stb %r7,%sp,47
	ldi %r9,1
;printf_core+2928
	mov2 %r11,%r8,%r15,%r26
	mov2 %r10,%r7,%r21,%r16
	nop 0
;printf_core+2944
	sraiw %r24,%r9,0
	sub %r11,%r11,%r7
	cmpdlt %r24,%r24,%r11
;printf_core+2960
	cmovlsb %r24,%r24,%r11,%r9
	xori.l %r9,%r25,2147483647
;printf_core+2976
	bwlt %r9,%r24,printf_core+4080
	addws %r9,%r24,%r25
	maxsw %r30,%r32,%r9
;printf_core+2992
	bwlt %r23,%r30,printf_core+4080
	andi %r23,%r8,73728
	bwne %r23,%gz,printf_core+3088
;printf_core+3008
	bwle %r32,%r9,printf_core+3088
	subws %r26,%r30,%r9
	ldi %r8,256
;printf_core+3024
	minuw %r8,%r26,%r8
	srliw %r36,%r8,0
	addi %r34,%sp,64
;printf_core+3040
	ldi %r35,32
	callr %r33,memset
	bwgeui %r26,256,printf_core+3520
;printf_core+3056
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3088
	srliw %r35,%r26,0
;printf_core+3072
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3088
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3120
	srliw %r35,%r25,0
;printf_core+3104
	mov2 %r34,%r36,%r10,%r6
	callr %r33,__fwritex
	nop 0
;printf_core+3120
	bwnei.l %r23,65536,printf_core+3216
	bwle %r32,%r9,printf_core+3216
;printf_core+3136
	subws %r10,%r30,%r9
	ldi %r8,256
	minuw %r8,%r10,%r8
;printf_core+3152
	srliw %r36,%r8,0
	addi %r34,%sp,64
	ldi %r35,48
;printf_core+3168
	callr %r33,memset
	bwgeui %r10,256,printf_core+3584
	nop 0
;printf_core+3184
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3216
	srliw %r35,%r10,0
;printf_core+3200
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3216
	bwle %r24,%r11,printf_core+3296
	subws %r10,%r24,%r11
	ldi %r8,256
;printf_core+3232
	minuw %r8,%r10,%r8
	srliw %r36,%r8,0
	addi %r34,%sp,64
;printf_core+3248
	ldi %r35,48
	callr %r33,memset
	bwgeui %r10,256,printf_core+3456
;printf_core+3264
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3296
	srliw %r35,%r10,0
;printf_core+3280
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3296
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3328
	mov2 %r34,%r35,%r7,%r11
;printf_core+3312
	mov %r36,%r6
	callr %r33,__fwritex
	nop 0
;printf_core+3328
	bwnei.l %r23,8192,printf_core+96
	bwle %r32,%r9,printf_core+96
;printf_core+3344
	subws %r8,%r30,%r9
	ldi %r7,256
	minuw %r7,%r8,%r7
;printf_core+3360
	srliw %r36,%r7,0
	addi %r34,%sp,64
	ldi %r35,32
;printf_core+3376
	callr %r33,memset
	bwgeui %r8,256,printf_core+3648
	nop 0
;printf_core+3392
	ldbz %r7,%r6,0
	bbsi %r7,5,printf_core+96
	srliw %r35,%r8,0
;printf_core+3408
	addi %r34,%sp,64
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3424
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3440
	addiws %r10,%r10,-256
	bwltui %r10,256,printf_core+3264
	nop 0
;printf_core+3456
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3440
	addi %r34,%sp,64
;printf_core+3472
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3488
	jmp printf_core+3440
	nop 0
	nop 0
;printf_core+3504
	addiws %r26,%r26,-256
	bwltui %r26,256,printf_core+3056
	nop 0
;printf_core+3520
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3504
	addi %r34,%sp,64
;printf_core+3536
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3552
	jmp printf_core+3504
	nop 0
	nop 0
;printf_core+3568
	addiws %r10,%r10,-256
	bwltui %r10,256,printf_core+3184
	nop 0
;printf_core+3584
	ldbz %r8,%r6,0
	bbsi %r8,5,printf_core+3568
	addi %r34,%sp,64
;printf_core+3600
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3616
	jmp printf_core+3568
	nop 0
	nop 0
;printf_core+3632
	addiws %r8,%r8,-256
	bwltui %r8,256,printf_core+3392
	nop 0
;printf_core+3648
	ldbz %r7,%r6,0
	bbsi %r7,5,printf_core+3632
	addi %r34,%sp,64
;printf_core+3664
	ldi %r35,256
	mov %r36,%r6
	callr %r33,__fwritex
;printf_core+3680
	jmp printf_core+3632
	nop 0
	nop 0
;printf_core+3696
	ldi %r33,32
	mov2 %r34,%r32,%r32,%r6
	mov2 %r9,%r35,%r34,%gz
;printf_core+3712
	mov %r36,%r8
	callr %r31,pad
	nop 0
;printf_core+3728
	mov %r7,%gz
	nop 0
	nop 0
;printf_core+3744
	xori %r36,%r8,8192
	ldi %r33,32
	mov2 %r32,%r34,%r6,%r9
;printf_core+3760
	mov %r35,%r7
	callr %r31,pad
	maxsw %r30,%r9,%r7
;printf_core+3776
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3792
	lddz %r7,%sp,48
	mov %r30,%gz
	stw %r1,%r7,0
;printf_core+3808
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3824
	lddz %r7,%sp,48
	mov %r30,%gz
	sth %r1,%r7,0
;printf_core+3840
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3856
	lddz %r7,%sp,48
	mov %r30,%gz
	stb %r1,%r7,0
;printf_core+3872
	jmp printf_core+96
	nop 0
	nop 0
;printf_core+3888
	bdeq %r6,%gz,printf_core+3920
	nop 0
	nop 0
;printf_core+3904
	retf 320
	nop 0
	nop 0
;printf_core+3920
	bweq %r22,%gz,printf_core+4000
	ldi %r1,1
	addi %r2,%r4,16
;printf_core+3936
	ldi %r6,4
	mov %r7,%r1
	nop 0
;printf_core+3952
	ldwzx.xd %r35,%r5,%r6,0,0
	bweq %r35,%gz,printf_core+4016
	mov2 %r34,%r36,%r2,%r3
;printf_core+3968
	callr %r33,pop_arg
	addi %r7,%r7,1
	addi %r6,%r6,4
;printf_core+3984
	addi %r2,%r2,16
	bdnei %r7,10,printf_core+3952
	jmp printf_core+3904
;printf_core+4000
	mov %r1,%gz
	retf 320
	nop 0
;printf_core+4016
	bdgeui %r7,10,printf_core+3904
	nop 0
	nop 0
;printf_core+4032
	ldwzx.xd %r2,%r5,%r6,0,0
	bwne %r2,%gz,printf_core+4064
	addi %r6,%r6,4
;printf_core+4048
	bdnei %r6,40,printf_core+4032
	jmp printf_core+3904
	nop 0
;printf_core+4064
	mov %r14,%r13
	nop 0
	nop 0
;printf_core+4080
	callr %r35,__errno_location
	stw %r14,%r36,0
	nop 0
;printf_core+4096
	mov %r1,%r12
	retf 320
	nop 0
;pop_arg
	alloc 5
	addiws %r4,%r2,-9
	bwgeui %r4,18,pop_arg+368
;pop_arg+16
	addiwz %r2,%r2,-9
	ldafr %r4,.rodata+29424
	jmpt %r4,%r2
;pop_arg+32
	lddz %r2,%r3,0
	algnup %r2,%r2,0,3
	addi %r4,%r2,8
;pop_arg+48
	std %r4,%r3,0
	lddz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+64
	retf 0
	nop 0
	nop 0
;pop_arg+80
	lddz %r2,%r3,0
	algnup %r2,%r2,0,3
	addi %r4,%r2,8
;pop_arg+96
	std %r4,%r3,0
	lddz %r2,%r2,0
	fextsd2sq %r2,%r2
;pop_arg+112
	jmp pop_arg+352
	nop 0
	nop 0
;pop_arg+128
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+144
	std %r4,%r3,0
	ldbs %r2,%r2,0
	std %r2,%r1,0
;pop_arg+160
	retf 0
	nop 0
	nop 0
;pop_arg+176
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+192
	std %r4,%r3,0
	ldwz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+208
	retf 0
	nop 0
	nop 0
;pop_arg+224
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+240
	std %r4,%r3,0
	ldhs %r2,%r2,0
	std %r2,%r1,0
;pop_arg+256
	retf 0
	nop 0
	nop 0
;pop_arg+272
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+288
	std %r4,%r3,0
	ldbz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+304
	retf 0
	nop 0
	nop 0
;pop_arg+320
	lddz %r2,%r3,0
	algnup %r2,%r2,0,4
	addi %r4,%r2,16
;pop_arg+336
	std %r4,%r3,0
	ldq %r2,%r2,0
	nop 0
;pop_arg+352
	stq %r2,%r1,0
	nop 0
	nop 0
;pop_arg+368
	retf 0
	nop 0
	nop 0
;pop_arg+384
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+400
	std %r4,%r3,0
	ldhz %r2,%r2,0
	std %r2,%r1,0
;pop_arg+416
	retf 0
	nop 0
	nop 0
;pop_arg+432
	lddz %r2,%r3,0
	algnup %r2,%r2,0,2
	addi %r4,%r2,4
;pop_arg+448
	std %r4,%r3,0
	ldws %r2,%r2,0
	std %r2,%r1,0
;pop_arg+464
	retf 0
	nop 0
	nop 0
;pad
	allocsp 10,256
	bwle %r3,%r4,pad+160
	andi %r5,%r5,73728
;pad+16
	bwne %r5,%gz,pad+160
	subws %r5,%r3,%r4
	ldi %r3,256
;pad+32
	minuw %r3,%r5,%r3
	srliw %r9,%r3,0
	addi %r7,%sp,0
;pad+48
	mov %r8,%r2
	callr %r6,memset
	bwltui %r5,256,pad+128
;pad+64
	addi %r2,%sp,0
	ldi %r3,256
	jmp pad+96
;pad+80
	addiws %r5,%r5,-256
	bwltui %r5,256,pad+128
	nop 0
;pad+96
	ldbz %r4,%r1,0
	bbsi %r4,5,pad+80
	mov2 %r7,%r8,%r2,%r3
;pad+112
	mov %r9,%r1
	callr %r6,__fwritex
	jmp pad+80
;pad+128
	ldbz %r2,%r1,0
	bbsi %r2,5,pad+160
	srliw %r8,%r5,0
;pad+144
	addi %r7,%sp,0
	mov %r9,%r1
	callr %r6,__fwritex
;pad+160
	retf 256
	nop 0
	nop 0
;fmt_fp
	allocsp 35,320
	mov2 %r8,%r9,%r2,%r1
	cmpweqi %r1,%r7,5
;fmt_fp+16
	ldi %r2,126
	ldi %r7,1842
	mov %r10,%fp
;fmt_fp+32
	cmovlsb %r12,%r1,%r7,%r2
	algnup %r1,%r12,2,4
	sub %r13,%sp,%r1
;fmt_fp+48
	addi %fp,%sp,320
	mov %sp,%r13
	stw %gz,%fp,-260
;fmt_fp+64
	mov %r34,%r8
	callr %r33,__signbitl
	ldi %r11,1
;fmt_fp+80
	bweq %r34,%gz,fmt_fp+112
	mov %r16,%gz
	fnegsq %r8,%r8
;fmt_fp+96
	ldafr %r2,.rodata+4239
	jmp fmt_fp+176
	nop 0
;fmt_fp+112
	bbsi %r5,11,fmt_fp+160
	andi %r11,%r5,1
	ldafr %r1,.rodata+4245
;fmt_fp+128
	ldafr %r2,.rodata+4240
	cmpweqi %r16,%r11,0
	cmovlsb %r2,%r5,%r2,%r1
;fmt_fp+144
	jmp fmt_fp+176
	nop 0
	nop 0
;fmt_fp+160
	mov %r16,%gz
	ldafr %r2,.rodata+4242
	nop 0
;fmt_fp+176
	mov %r34,%r8
	callr %r33,__fpclassifyl
	bwlti %r34,2,fmt_fp+304
;fmt_fp+192
	addi %r7,%fp,-297
	addi %r34,%fp,-260
	mov %r33,%r8
;fmt_fp+208
	callr %r32,frexpl
	faddsq %r17,%r33,%r33
	ldi %r1,-1
;fmt_fp+224
	bfsqoeq %r17,%gz,fmt_fp+800
	ldwz %r14,%fp,-260
	addiws %r8,%r14,-1
;fmt_fp+240
	ori %r15,%r6,32
	stw %r8,%fp,-260
	bweqi %r15,97,fmt_fp+816
;fmt_fp+256
	ldqr %r18,.rodata+28912
	ldi %r8,6
	cmovwlt %r8,%r4,%r8,%r4
;fmt_fp+272
	fmulsq %r17,%r17,%r18
	addiws %r19,%r14,-29
	stw %r19,%fp,-260
;fmt_fp+288
	jmp fmt_fp+928
	nop 0
	nop 0
;fmt_fp+304
	addiws %r12,%r11,3
	bbsi %r5,13,fmt_fp+464
	bwleu %r3,%r12,fmt_fp+464
;fmt_fp+320
	subws %r13,%r3,%r12
	ldi %r1,256
	minuw %r1,%r13,%r1
;fmt_fp+336
	srliw %r34,%r1,0
	addi %r32,%fp,-256
	ldi %r33,32
;fmt_fp+352
	callr %r31,memset
	bwltui %r13,256,fmt_fp+432
	addi %r1,%fp,-256
;fmt_fp+368
	ldi %r4,256
	jmp fmt_fp+400
	nop 0
;fmt_fp+384
	addiws %r13,%r13,-256
	bwltui %r13,256,fmt_fp+432
	nop 0
;fmt_fp+400
	ldbz %r7,%r9,0
	bbsi %r7,5,fmt_fp+384
	mov2 %r32,%r33,%r1,%r4
;fmt_fp+416
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+384
;fmt_fp+432
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+464
	srliw %r33,%r13,0
;fmt_fp+448
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+464
	ldwz %r1,%r9,0
	bbci %r1,5,fmt_fp+512
	bbci %r1,5,fmt_fp+544
;fmt_fp+480
	andi %r1,%r5,73728
	bweqi.l %r1,8192,fmt_fp+624
;fmt_fp+496
	jmp fmt_fp+768
	nop 0
	nop 0
;fmt_fp+512
	srliw %r33,%r11,0
	mov2 %r32,%r34,%r2,%r9
	callr %r31,__fwritex
;fmt_fp+528
	ldwz %r1,%r9,0
	bbsi %r1,5,fmt_fp+480
	nop 0
;fmt_fp+544
	andi %r1,%r6,32
	ldafr %r2,.rodata+9660
	ldafr %r4,.rodata+12781
;fmt_fp+560
	ldafr %r6,.rodata+22864
	ldafr %r7,.rodata+22256
	cmovweq %r2,%r1,%r4,%r2
;fmt_fp+576
	fcmpsquo %r4,%r8,%r8
	cmovweq %r1,%r1,%r7,%r6
	cmovlsb %r32,%r4,%r1,%r2
;fmt_fp+592
	ldi %r33,3
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+608
	andi %r1,%r5,73728
	bwnei.l %r1,8192,fmt_fp+768
;fmt_fp+624
	bwleu %r3,%r12,fmt_fp+768
	subws %r5,%r3,%r12
	ldi %r1,256
;fmt_fp+640
	minuw %r1,%r5,%r1
	srliw %r34,%r1,0
	addi %r32,%fp,-256
;fmt_fp+656
	ldi %r33,32
	callr %r31,memset
	bwltui %r5,256,fmt_fp+736
;fmt_fp+672
	addi %r1,%fp,-256
	ldi %r2,256
	jmp fmt_fp+704
;fmt_fp+688
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+736
	nop 0
;fmt_fp+704
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+688
	mov2 %r32,%r33,%r1,%r2
;fmt_fp+720
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+688
;fmt_fp+736
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+768
	srliw %r33,%r5,0
;fmt_fp+752
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+768
	maxuw %r1,%r3,%r12
	nop 0
	nop 0
;fmt_fp+784
	mov %sp,%fp
	mov %fp,%r10
	retf 0
;fmt_fp+800
	ori %r15,%r6,32
	bwnei %r15,97,fmt_fp+912
	nop 0
;fmt_fp+816
	andi %r13,%r6,32
	ldi %r8,9
	cmovweq %r8,%r13,%gz,%r8
;fmt_fp+832
	add %r8,%r2,%r8
	bwgeui %r4,28,fmt_fp+2112
	ldi %r2,112
;fmt_fp+848
	slsubws %r34,%r2,%r4,2
	ldi.l %r33,4607182418800017408
;fmt_fp+864
	callr %r32,scalbn
	ldbz %r2,%r8,0
	bwnei %r2,45,fmt_fp+2096
;fmt_fp+880
	fnegsq %r2,%r17
	fextsd2sq %r12,%r33
	fsubsq %r2,%r2,%r12
;fmt_fp+896
	fnaddsq %r17,%r2,%r12
	jmp fmt_fp+2112
	nop 0
;fmt_fp+912
	ldi %r8,6
	cmovwlt %r8,%r4,%r8,%r4
	ldwz %r19,%fp,-260
;fmt_fp+928
	ldax.xd.l %r4,%r13,%r12,2,-456
	andi %r14,%r5,8
;fmt_fp+944
	cmovwlt %r13,%r19,%r13,%r4
	ldqr %r4,.rodata+28928
	mov %r18,%r13
;fmt_fp+960
	fcvtsq2uw %r12,%r17,0
	stw %r12,%r18,0
	fcvtuw2sq %r12,%r12,0
;fmt_fp+976
	fsubsq %r12,%r17,%r12
	fmulsq %r17,%r12,%r4
	addi %r18,%r18,4
;fmt_fp+992
	bfsqune %r17,%gz,fmt_fp+960
	ldi.l %r4,1000000000
;fmt_fp+1008
	bwlti %r19,1,fmt_fp+1216
	ldi %r20,29
	mov %r12,%r13
;fmt_fp+1024
	jmp fmt_fp+1072
	nop 0
	nop 0
;fmt_fp+1040
	ldwz %r18,%fp,-260
	subws %r19,%r18,%r19
	stw %r19,%fp,-260
;fmt_fp+1056
	mov %r18,%r17
	bwle %r19,%gz,fmt_fp+1232
	nop 0
;fmt_fp+1072
	addi %r17,%r18,-4
	minuw %r19,%r19,%r20
	bdltu %r17,%r12,fmt_fp+1184
;fmt_fp+1088
	mov %r21,%gz
	srliw %r22,%r19,0
	nop 0
;fmt_fp+1104
	ldwz %r23,%r17,0
	sll %r23,%r23,%r22
	ldax.xuw %r23,%r23,%r21,0,0
;fmt_fp+1120
	divui.l %r21,%r23,1000000000
	mulsubf %r24,%r21,%r4,%r23
;fmt_fp+1136
	stw %r24,%r17,0
	addi %r17,%r17,-4
	bdleu %r12,%r17,fmt_fp+1104
;fmt_fp+1152
	bdltui.l %r23,1000000000,fmt_fp+1184
	addi %r17,%r12,-4
;fmt_fp+1168
	stw %r21,%r12,-4
	mov %r12,%r17
	nop 0
;fmt_fp+1184
	mov %r17,%r18
	bdleu %r18,%r12,fmt_fp+1040
	ldwz %r21,%r17,-4
;fmt_fp+1200
	addi %r18,%r17,-4
	bweq %r21,%gz,fmt_fp+1184
	jmp fmt_fp+1040
;fmt_fp+1216
	mov2 %r17,%r12,%r18,%r13
	nop 0
	nop 0
;fmt_fp+1232
	cmpweqi %r18,%r15,102
	bwlti %r19,0,fmt_fp+1824
	nop 0
;fmt_fp+1248
	mov %r4,%gz
	bdleu %r17,%r12,fmt_fp+1312
	ldwz %r19,%r12,0
;fmt_fp+1264
	sub %r4,%r13,%r12
	srli %r4,%r4,2
	mulwsi %r4,%r4,9
;fmt_fp+1280
	bwltui %r19,10,fmt_fp+1312
	ldi %r20,10
	nop 0
;fmt_fp+1296
	mulwsi %r20,%r20,10
	addiws %r4,%r4,1
	bwleu %r20,%r19,fmt_fp+1296
;fmt_fp+1312
	cmovlsb %r18,%r18,%gz,%r4
	subws %r18,%r8,%r18
	cmpweqi %r19,%r15,103
;fmt_fp+1328
	cmpwnei %r20,%r8,0
	and %r19,%r20,%r19
	subws %r18,%r18,%r19
;fmt_fp+1344
	sub %r19,%r17,%r13
	srai %r19,%r19,2
	muli %r19,%r19,9
;fmt_fp+1360
	addi %r19,%r19,-9
	bdle %r19,%r18,fmt_fp+3472
	addiws %r18,%r18,147456
;fmt_fp+1376
	muli.l %r19,%r18,954437177
	srli %r20,%r19,63
;fmt_fp+1392
	srai %r19,%r19,33
	addws %r19,%r19,%r20
	ldax.xw %r24,%r13,%r19,2,4
;fmt_fp+1408
	mulwsi %r20,%r19,9
	subws %r21,%r18,%r20
	nop 2
;fmt_fp+1424
	ldax.xw.l %r18,%r13,%r19,2,-65532
	ldi %r20,10
;fmt_fp+1440
	bwgei %r21,8,fmt_fp+1488
	nop 0
	nop 0
;fmt_fp+1456
	mov %r22,%r21
	addiws %r21,%r21,1
	mulwsi %r20,%r20,10
;fmt_fp+1472
	bwlti %r22,7,fmt_fp+1456
	nop 0
	nop 0
;fmt_fp+1488
	ldwz %r21,%r18,0
	divuw %r23,%r21,%r20
	mulws %r22,%r23,%r20
;fmt_fp+1504
	subws %r22,%r21,%r22
	addi %r25,%r24,-65532
	bwne %r22,%gz,fmt_fp+1536
;fmt_fp+1520
	bdeq %r25,%r17,fmt_fp+3456
	nop 0
	nop 0
;fmt_fp+1536
	bbsi %r23,0,fmt_fp+1584
	ldqr %r23,.rodata+29008
	nop 2
;fmt_fp+1552
	bwnei.l %r20,1000000000,fmt_fp+1600
	bdleu %r18,%r12,fmt_fp+1600
;fmt_fp+1568
	ldwz %r24,%r24,-65540
	bbci %r24,0,fmt_fp+1600
	nop 0
;fmt_fp+1584
	ldqr %r23,.rodata+29088
	nop 0
	nop 0
;fmt_fp+1600
	cmpdeq %r24,%r25,%r17
	srliw %r25,%r20,1
	ldafr %r26,.rodata+29504
;fmt_fp+1616
	cmpweq %r27,%r22,%r25
	sladd %r24,%r26,%r24,4
	ldafr %r26,.rodata+28944
;fmt_fp+1632
	cmpwltu %r25,%r22,%r25
	cmovlsb %r24,%r27,%r24,%r26
	ldafr %r26,.rodata+28992
;fmt_fp+1648
	cmovlsb %r24,%r25,%r26,%r24
	ldq %r24,%r24,0
	bbsi %r16,0,fmt_fp+1696
;fmt_fp+1664
	ldbz %r16,%r2,0
	bwnei %r16,45,fmt_fp+1696
	fnegsq %r23,%r23
;fmt_fp+1680
	fnegsq %r24,%r24
	nop 0
	nop 0
;fmt_fp+1696
	subws %r16,%r21,%r22
	faddsq %r21,%r23,%r24
	stw %r16,%r18,0
;fmt_fp+1712
	bfsqoeq %r21,%r23,fmt_fp+3456
	addws %r4,%r16,%r20
	stw %r4,%r18,0
;fmt_fp+1728
	bwltui.l %r4,1000000000,fmt_fp+3408
	nop 2
;fmt_fp+1744
	ldax.xd.l %r4,%r13,%r19,2,-65536
	jmp fmt_fp+1792
;fmt_fp+1760
	ldwz %r16,%r4,0
	addiws %r16,%r16,1
	stw %r16,%r4,0
;fmt_fp+1776
	addi %r4,%r4,-4
	bwltui.l %r16,1000000000,fmt_fp+3392
;fmt_fp+1792
	stw %gz,%r4,4
	bdleu %r12,%r4,fmt_fp+1760
	addi %r16,%r12,-4
;fmt_fp+1808
	stw %gz,%r12,-4
	mov %r12,%r16
	jmp fmt_fp+1760
;fmt_fp+1824
	addiwz %r20,%r8,45
	muli.l %r20,%r20,954437177
;fmt_fp+1840
	srli %r20,%r20,33
	addiwz %r20,%r20,1
	ldi %r21,9
;fmt_fp+1856
	ldi %r22,-1
	jmp fmt_fp+1952
	nop 0
;fmt_fp+1872
	ldwz %r23,%r12,0
	cmpweqi %r23,%r23,0
	slli %r24,%r23,2
;fmt_fp+1888
	add %r12,%r12,%r24
	cmovlsb %r23,%r18,%r13,%r12
	sub %r24,%r17,%r23
;fmt_fp+1904
	ldwz %r25,%fp,-260
	srai %r24,%r24,2
	cmpdlt %r24,%r20,%r24
;fmt_fp+1920
	sladd %r23,%r23,%r20,2
	cmovlsb %r17,%r24,%r23,%r17
	addws %r19,%r25,%r19
;fmt_fp+1936
	stw %r19,%fp,-260
	bwle %gz,%r19,fmt_fp+1248
	nop 0
;fmt_fp+1952
	subfiws %r19,%r19,0
	minuw %r19,%r19,%r21
	bdleu %r17,%r12,fmt_fp+1872
;fmt_fp+1968
	mov %r23,%gz
	sllw %r24,%r22,%r19
	xori %r24,%r24,-1
;fmt_fp+1984
	srlw %r25,%r4,%r19
	mov %r26,%r12
	nop 0
;fmt_fp+2000
	ldwz %r27,%r26,0
	and %r28,%r27,%r24
	srlw %r27,%r27,%r19
;fmt_fp+2016
	addws %r23,%r27,%r23
	stw %r23,%r26,0
	addi %r26,%r26,4
;fmt_fp+2032
	mulws %r23,%r28,%r25
	bdltu %r26,%r17,fmt_fp+2000
	ldwz %r24,%r12,0
;fmt_fp+2048
	cmpweqi %r24,%r24,0
	slli %r24,%r24,2
	bweq %r23,%gz,fmt_fp+1888
;fmt_fp+2064
	addi %r25,%r17,4
	stw %r23,%r17,0
	mov %r17,%r25
;fmt_fp+2080
	jmp fmt_fp+1888
	nop 0
	nop 0
;fmt_fp+2096
	fextsd2sq %r2,%r33
	faddsq %r12,%r17,%r2
	fsubsq %r17,%r12,%r2
;fmt_fp+2112
	ldwz %r2,%fp,-260
	absdw %r15,%r2,%gz
	srliw %r14,%r15,0
;fmt_fp+2128
	addi %r12,%fp,-309
	bwltui %r15,10,fmt_fp+2224
	ldi %r15,11
;fmt_fp+2144
	ldi %r16,10
	nop 0
	nop 0
;fmt_fp+2160
	mov %r18,%r14
	divui %r14,%r14,10
	mulsubf %r19,%r14,%r16,%r18
;fmt_fp+2176
	ori %r19,%r19,48
	stbx.xd %r19,%r12,%r15,0,0
	addi %r15,%r15,-1
;fmt_fp+2192
	bdgeui %r18,100,fmt_fp+2160
	addi %r15,%r15,1
	bdne %r14,%gz,fmt_fp+2240
;fmt_fp+2208
	jmp fmt_fp+2272
	nop 0
	nop 0
;fmt_fp+2224
	ldi %r15,12
	bdeq %r14,%gz,fmt_fp+2272
	nop 0
;fmt_fp+2240
	ori %r14,%r14,48
	addi %r16,%r15,-1
	stbx.xd %r14,%r15,%r12,0,-1
;fmt_fp+2256
	mov %r15,%r16
	nop 0
	nop 0
;fmt_fp+2272
	add %r12,%r12,%r15
	bdnei %r15,12,fmt_fp+2304
	addi %r14,%r12,-1
;fmt_fp+2288
	ldi %r15,48
	stb %r15,%r12,-1
	mov %r12,%r14
;fmt_fp+2304
	ldi %r15,43
	ldi %r16,45
	ori %r14,%r11,2
;fmt_fp+2320
	cmovwlt %r2,%r2,%r16,%r15
	stb %r2,%r12,-1
	addiws %r6,%r6,15
;fmt_fp+2336
	addi %r2,%r12,-2
	stb %r6,%r12,-2
	cmpwlti %r6,%r4,1
;fmt_fp+2352
	andi %r11,%r5,8
	cmpweqi %r11,%r11,0
	and %r6,%r6,%r11
;fmt_fp+2368
	addi %r11,%fp,-297
	ldafr %r15,xdigits
	ldqr %r16,.rodata+29104
;fmt_fp+2384
	ldi %r18,1
	ldi %r19,46
	mov %r12,%r11
;fmt_fp+2400
	jmp fmt_fp+2432
	nop 0
	nop 0
;fmt_fp+2416
	bfsqoeq %r17,%gz,fmt_fp+2528
	nop 0
	nop 0
;fmt_fp+2432
	fcvtsq2iw %r21,%r17,0
	ldbzx.xw %r22,%r15,%r21,0,0
	mov %r20,%r12
;fmt_fp+2448
	or %r22,%r22,%r13
	addi %r12,%r12,1
	stb %r22,%r20,0
;fmt_fp+2464
	fcvtiw2sq %r21,%r21,0
	fsubsq %r17,%r17,%r21
	addsub %r21,%r20,%r18,%r11
;fmt_fp+2480
	fmulsq %r17,%r17,%r16
	bdnei %r21,1,fmt_fp+2416
	fcmpsqoeq %r21,%r17,%gz
;fmt_fp+2496
	and %r21,%r21,%r6
	bbsi %r21,0,fmt_fp+2416
	addi %r12,%r20,2
;fmt_fp+2512
	stb %r19,%r20,1
	jmp fmt_fp+2416
	nop 0
;fmt_fp+2528
	sub %r6,%r7,%r2
	ldax.xuw %r11,%r6,%r14,0,0
	sraiw %r7,%r4,0
;fmt_fp+2544
	subfi.l %r11,%r11,2147483645
	bdlt %r11,%r7,fmt_fp+784
;fmt_fp+2560
	bweq %r4,%gz,fmt_fp+2608
	addi %r1,%fp,-297
	sub %r1,%r12,%r1
;fmt_fp+2576
	addi %r1,%r1,-2
	bdle %r7,%r1,fmt_fp+2608
	addws %r1,%r4,%r6
;fmt_fp+2592
	addiws %r13,%r1,2
	jmp fmt_fp+2624
	nop 0
;fmt_fp+2608
	addi %r1,%fp,-297
	sub %r1,%r6,%r1
	add %r13,%r1,%r12
;fmt_fp+2624
	andi %r11,%r5,73728
	addws %r7,%r13,%r14
	bwne %r11,%gz,fmt_fp+2784
;fmt_fp+2640
	bwle %r3,%r7,fmt_fp+2784
	subws %r15,%r3,%r7
	ldi %r1,256
;fmt_fp+2656
	minuw %r1,%r15,%r1
	srliw %r34,%r1,0
	addi %r32,%fp,-256
;fmt_fp+2672
	ldi %r33,32
	callr %r31,memset
	bwltui %r15,256,fmt_fp+2752
;fmt_fp+2688
	addi %r1,%fp,-256
	ldi %r4,256
	jmp fmt_fp+2720
;fmt_fp+2704
	addiws %r15,%r15,-256
	bwltui %r15,256,fmt_fp+2752
	nop 0
;fmt_fp+2720
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+2704
	mov2 %r32,%r33,%r1,%r4
;fmt_fp+2736
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+2704
;fmt_fp+2752
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+2784
	srliw %r33,%r15,0
;fmt_fp+2768
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+2784
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+2816
	srliw %r33,%r14,0
;fmt_fp+2800
	mov2 %r32,%r34,%r8,%r9
	callr %r31,__fwritex
	nop 0
;fmt_fp+2816
	bwnei.l %r11,65536,fmt_fp+2976
	bwle %r3,%r7,fmt_fp+2976
;fmt_fp+2832
	subws %r8,%r3,%r7
	ldi %r1,256
	minuw %r1,%r8,%r1
;fmt_fp+2848
	srliw %r34,%r1,0
	addi %r32,%fp,-256
	ldi %r33,48
;fmt_fp+2864
	callr %r31,memset
	bwltui %r8,256,fmt_fp+2944
	addi %r1,%fp,-256
;fmt_fp+2880
	ldi %r4,256
	jmp fmt_fp+2912
	nop 0
;fmt_fp+2896
	addiws %r8,%r8,-256
	bwltui %r8,256,fmt_fp+2944
	nop 0
;fmt_fp+2912
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+2896
	mov2 %r32,%r33,%r1,%r4
;fmt_fp+2928
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+2896
;fmt_fp+2944
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+2976
	srliw %r33,%r8,0
;fmt_fp+2960
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+2976
	ldbz %r4,%r9,0
	addi %r1,%fp,-297
	sub %r1,%r12,%r1
;fmt_fp+2992
	bbsi %r4,5,fmt_fp+3024
	addi %r32,%fp,-297
	mov2 %r33,%r34,%r1,%r9
;fmt_fp+3008
	callr %r31,__fwritex
	nop 0
	nop 0
;fmt_fp+3024
	add %r1,%r1,%r6
	subws %r8,%r13,%r1
	bwlti %r8,1,fmt_fp+3184
;fmt_fp+3040
	ldi %r1,256
	minuw %r1,%r8,%r1
	srliw %r34,%r1,0
;fmt_fp+3056
	addi %r32,%fp,-256
	ldi %r33,48
	callr %r31,memset
;fmt_fp+3072
	bwltui %r8,256,fmt_fp+3152
	addi %r1,%fp,-256
	ldi %r4,256
;fmt_fp+3088
	jmp fmt_fp+3120
	nop 0
	nop 0
;fmt_fp+3104
	addiws %r8,%r8,-256
	bwltui %r8,256,fmt_fp+3152
	nop 0
;fmt_fp+3120
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+3104
	mov2 %r32,%r33,%r1,%r4
;fmt_fp+3136
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+3104
;fmt_fp+3152
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+3184
	srliw %r33,%r8,0
;fmt_fp+3168
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+3184
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+3216
	mov2 %r32,%r33,%r2,%r6
;fmt_fp+3200
	mov %r34,%r9
	callr %r31,__fwritex
	nop 0
;fmt_fp+3216
	bwnei.l %r11,8192,fmt_fp+3376
	bwle %r3,%r7,fmt_fp+3376
;fmt_fp+3232
	subws %r5,%r3,%r7
	ldi %r1,256
	minuw %r1,%r5,%r1
;fmt_fp+3248
	srliw %r34,%r1,0
	addi %r32,%fp,-256
	ldi %r33,32
;fmt_fp+3264
	callr %r31,memset
	bwltui %r5,256,fmt_fp+3344
	addi %r1,%fp,-256
;fmt_fp+3280
	ldi %r2,256
	jmp fmt_fp+3312
	nop 0
;fmt_fp+3296
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+3344
	nop 0
;fmt_fp+3312
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+3296
	mov2 %r32,%r33,%r1,%r2
;fmt_fp+3328
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+3296
;fmt_fp+3344
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+3376
	srliw %r33,%r5,0
;fmt_fp+3360
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+3376
	maxsw %r1,%r3,%r7
	jmp fmt_fp+784
	nop 0
;fmt_fp+3392
	addi %r18,%r4,4
	nop 0
	nop 0
;fmt_fp+3408
	ldwz %r16,%r12,0
	sub %r4,%r13,%r12
	srli %r4,%r4,2
;fmt_fp+3424
	mulwsi %r4,%r4,9
	bwltui %r16,10,fmt_fp+3456
	ldi %r19,10
;fmt_fp+3440
	mulwsi %r19,%r19,10
	addiws %r4,%r4,1
	bwleu %r19,%r16,fmt_fp+3440
;fmt_fp+3456
	addi %r16,%r18,4
	minu %r17,%r17,%r16
	nop 0
;fmt_fp+3472
	sub %r19,%r17,%r13
	nop 0
	nop 0
;fmt_fp+3488
	mov2 %r16,%r18,%r17,%r19
	bdleu %r17,%r12,fmt_fp+3520
	ldwz %r20,%r16,-4
;fmt_fp+3504
	addi %r17,%r16,-4
	addi %r19,%r18,-4
	bweq %r20,%gz,fmt_fp+3488
;fmt_fp+3520
	bwnei %r15,103,fmt_fp+3792
	ldi %r15,1
	cmovweq %r8,%r8,%r15,%r8
;fmt_fp+3536
	cmpwlt %r15,%r4,%r8
	cmpwgti %r17,%r4,-5
	and %r15,%r15,%r17
;fmt_fp+3552
	ldi %r17,-2
	ldi %r19,-1
	xori %r20,%r4,-1
;fmt_fp+3568
	cmovlsb %r17,%r15,%r19,%r17
	addws %r6,%r17,%r6
	cmovlsb %r15,%r15,%r20,%r19
;fmt_fp+3584
	addws %r8,%r15,%r8
	bbsi %r5,3,fmt_fp+3792
	ldi %r15,9
;fmt_fp+3600
	bdleu %r16,%r12,fmt_fp+3696
	ldwz %r14,%r16,-4
	bweq %r14,%gz,fmt_fp+3696
;fmt_fp+3616
	mulwsi.l %r15,%r14,-858993459
	srpiw %r17,%r15,%r15,1
;fmt_fp+3632
	mov %r15,%gz
	bwgeui.l %r17,429496730,fmt_fp+3696
;fmt_fp+3648
	mov %r15,%gz
	ldi %r17,10
	nop 0
;fmt_fp+3664
	mulwsi %r17,%r17,10
	moduw %r19,%r14,%r17
	addiws %r15,%r15,1
;fmt_fp+3680
	bweq %r19,%gz,fmt_fp+3664
	srliw %r15,%r15,0
	nop 0
;fmt_fp+3696
	andi %r19,%r6,-33
	sraiw %r14,%r8,0
	srai %r17,%r18,2
;fmt_fp+3712
	muli %r17,%r17,9
	bwnei %r19,70,fmt_fp+3744
	sub %r15,%r17,%r15
;fmt_fp+3728
	jmp fmt_fp+3760
	nop 0
	nop 0
;fmt_fp+3744
	sraiw %r18,%r4,0
	addsub %r15,%r18,%r17,%r15
	nop 0
;fmt_fp+3760
	addi %r15,%r15,-9
	maxsi %r15,%r15,0
	cmpdlt %r17,%r14,%r15
;fmt_fp+3776
	mov %r14,%gz
	cmovlsb %r8,%r17,%r8,%r15
	nop 0
;fmt_fp+3792
	or %r18,%r8,%r14
	ldi.l %r15,2147483645
;fmt_fp+3808
	ldi.l %r17,2147483646
	cmovweq %r15,%r18,%r17,%r15
;fmt_fp+3824
	bwlt %r15,%r8,fmt_fp+784
	cmpwnei %r15,%r18,0
	addws %r15,%r8,%r15
;fmt_fp+3840
	andi %r19,%r6,-33
	addiws %r15,%r15,1
	bwnei %r19,70,fmt_fp+3888
;fmt_fp+3856
	xori.l %r6,%r15,2147483647
	bwlt %r6,%r4,fmt_fp+784
;fmt_fp+3872
	maxsw %r4,%r4,%gz
	jmp fmt_fp+4144
	nop 0
;fmt_fp+3888
	absdw %r17,%r4,%gz
	srliw %r20,%r17,0
	bwltui %r17,10,fmt_fp+3968
;fmt_fp+3904
	ldi %r21,10
	mov %r22,%r7
	nop 0
;fmt_fp+3920
	mov %r23,%r20
	divui %r20,%r20,10
	mulsubf %r17,%r20,%r21,%r23
;fmt_fp+3936
	ori %r24,%r17,48
	addi %r17,%r22,-1
	stb %r24,%r22,-1
;fmt_fp+3952
	mov %r22,%r17
	bdgeui %r23,100,fmt_fp+3920
	jmp fmt_fp+3984
;fmt_fp+3968
	mov %r17,%r7
	nop 0
	nop 0
;fmt_fp+3984
	bdeq %r20,%gz,fmt_fp+4016
	ori %r20,%r20,48
	addi %r21,%r17,-1
;fmt_fp+4000
	stb %r20,%r17,-1
	mov %r17,%r21
	nop 0
;fmt_fp+4016
	sub %r21,%r7,%r17
	bdgei %r21,2,fmt_fp+4064
	ldi %r22,48
;fmt_fp+4032
	addi %r20,%r17,-1
	addi %r21,%r21,1
	stb %r22,%r17,-1
;fmt_fp+4048
	mov %r17,%r20
	bdlti %r21,2,fmt_fp+4032
	jmp fmt_fp+4080
;fmt_fp+4064
	mov %r20,%r17
	nop 0
	nop 0
;fmt_fp+4080
	ldi %r17,43
	ldi %r21,45
	cmovwlt %r4,%r4,%r21,%r17
;fmt_fp+4096
	stb %r4,%r20,-1
	ldi %r4,-2
	subsub %r4,%r7,%r20,%r4
;fmt_fp+4112
	xori.l %r17,%r15,2147483647
	srliw %r17,%r17,0
;fmt_fp+4128
	stb %r6,%r20,-2
	bdlt %r17,%r4,fmt_fp+784
	addi %r6,%r20,-2
;fmt_fp+4144
	addws %r4,%r4,%r15
	xori.l %r15,%r11,2147483647
;fmt_fp+4160
	bwlt %r15,%r4,fmt_fp+784
	andi %r17,%r5,73728
	addws %r15,%r4,%r11
;fmt_fp+4176
	bwne %r17,%gz,fmt_fp+4336
	bwle %r3,%r15,fmt_fp+4336
	subws %r20,%r3,%r15
;fmt_fp+4192
	ldi %r1,256
	minuw %r1,%r20,%r1
	srliw %r34,%r1,0
;fmt_fp+4208
	addi %r32,%fp,-256
	ldi %r33,32
	callr %r31,memset
;fmt_fp+4224
	bwltui %r20,256,fmt_fp+4304
	addi %r1,%fp,-256
	ldi %r4,256
;fmt_fp+4240
	jmp fmt_fp+4272
	nop 0
	nop 0
;fmt_fp+4256
	addiws %r20,%r20,-256
	bwltui %r20,256,fmt_fp+4304
	nop 0
;fmt_fp+4272
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+4256
	mov2 %r32,%r33,%r1,%r4
;fmt_fp+4288
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+4256
;fmt_fp+4304
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4336
	srliw %r33,%r20,0
;fmt_fp+4320
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+4336
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4368
	srliw %r33,%r11,0
;fmt_fp+4352
	mov2 %r32,%r34,%r2,%r9
	callr %r31,__fwritex
	nop 0
;fmt_fp+4368
	bwnei.l %r17,65536,fmt_fp+4528
	bwle %r3,%r15,fmt_fp+4528
;fmt_fp+4384
	subws %r5,%r3,%r15
	ldi %r1,256
	minuw %r1,%r5,%r1
;fmt_fp+4400
	srliw %r34,%r1,0
	addi %r32,%fp,-256
	ldi %r33,48
;fmt_fp+4416
	callr %r31,memset
	bwltui %r5,256,fmt_fp+4496
	addi %r1,%fp,-256
;fmt_fp+4432
	ldi %r2,256
	jmp fmt_fp+4464
	nop 0
;fmt_fp+4448
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+4496
	nop 0
;fmt_fp+4464
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+4448
	mov2 %r32,%r33,%r1,%r2
;fmt_fp+4480
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+4448
;fmt_fp+4496
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4528
	srliw %r33,%r5,0
;fmt_fp+4512
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+4528
	bwnei %r19,70,fmt_fp+4912
	minu %r11,%r12,%r13
	addi %r2,%fp,-288
;fmt_fp+4544
	ldi %r12,9
	ldi %r14,8
	ldi %r4,10
;fmt_fp+4560
	addi %r5,%fp,-297
	ldi %r6,48
	mov %r7,%r11
;fmt_fp+4576
	jmp fmt_fp+4608
	nop 0
	nop 0
;fmt_fp+4592
	addi %r7,%r7,4
	bdltu %r13,%r7,fmt_fp+5456
	nop 0
;fmt_fp+4608
	ldwz %r1,%r7,0
	bdltui %r1,10,fmt_fp+4688
	mov %r19,%r14
;fmt_fp+4624
	mov %r20,%r1
	divui %r1,%r1,10
	mulsubf %r21,%r1,%r4,%r20
;fmt_fp+4640
	ori %r21,%r21,48
	stbx.xd %r21,%r5,%r19,0,0
	addi %r19,%r19,-1
;fmt_fp+4656
	bdgeui %r20,100,fmt_fp+4624
	addi %r19,%r19,1
	bdne %r1,%gz,fmt_fp+4704
;fmt_fp+4672
	jmp fmt_fp+4736
	nop 0
	nop 0
;fmt_fp+4688
	mov %r19,%r12
	bdeq %r1,%gz,fmt_fp+4736
	nop 0
;fmt_fp+4704
	ori %r1,%r1,48
	addi %r20,%r19,-1
	stbx.xd %r1,%r19,%r5,0,-1
;fmt_fp+4720
	mov %r19,%r20
	nop 0
	nop 0
;fmt_fp+4736
	add %r1,%r5,%r19
	bdeq %r7,%r11,fmt_fp+4784
	bdlti %r19,1,fmt_fp+4816
;fmt_fp+4752
	addi %r32,%r1,-1
	stb %r6,%r1,-1
	mov %r1,%r32
;fmt_fp+4768
	bdltu %r5,%r32,fmt_fp+4752
	jmp fmt_fp+4832
	nop 0
;fmt_fp+4784
	bdnei %r19,9,fmt_fp+4880
	addi %r32,%r1,-1
	stb %r6,%r1,-1
;fmt_fp+4800
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4592
	jmp fmt_fp+4848
;fmt_fp+4816
	mov %r32,%r1
	nop 0
	nop 0
;fmt_fp+4832
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4592
	nop 0
;fmt_fp+4848
	sub %r33,%r2,%r32
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+4864
	jmp fmt_fp+4592
	nop 0
	nop 0
;fmt_fp+4880
	mov %r32,%r1
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+4592
;fmt_fp+4896
	jmp fmt_fp+4848
	nop 0
	nop 0
;fmt_fp+4912
	bwlt %r8,%gz,fmt_fp+5392
	cmpdltu %r1,%r12,%r16
	addi %r2,%r12,4
;fmt_fp+4928
	cmovlsb %r11,%r1,%r16,%r2
	addi %r13,%fp,-288
	ldi %r16,9
;fmt_fp+4944
	ldi %r18,8
	ldi %r19,10
	addi %r20,%fp,-297
;fmt_fp+4960
	ldi %r21,48
	ldi %r1,1
	ldafr %r2,.rodata+5911
;fmt_fp+4976
	mov %r22,%r12
	nop 0
	nop 0
;fmt_fp+4992
	ldwz %r4,%r22,0
	bdltui %r4,10,fmt_fp+5072
	mov %r5,%r18
;fmt_fp+5008
	mov %r23,%r4
	divui %r4,%r4,10
	mulsubf %r24,%r4,%r19,%r23
;fmt_fp+5024
	ori %r24,%r24,48
	stbx.xd %r24,%r20,%r5,0,0
	addi %r5,%r5,-1
;fmt_fp+5040
	bdgeui %r23,100,fmt_fp+5008
	addi %r5,%r5,1
	bdne %r4,%gz,fmt_fp+5088
;fmt_fp+5056
	jmp fmt_fp+5120
	nop 0
	nop 0
;fmt_fp+5072
	mov %r5,%r16
	bdeq %r4,%gz,fmt_fp+5120
	nop 0
;fmt_fp+5088
	ori %r4,%r4,48
	addi %r23,%r5,-1
	stbx.xd %r4,%r5,%r20,0,-1
;fmt_fp+5104
	mov %r5,%r23
	nop 0
	nop 0
;fmt_fp+5120
	add %r4,%r20,%r5
	bdnei %r5,9,fmt_fp+5152
	addi %r5,%r4,-1
;fmt_fp+5136
	stb %r21,%r4,-1
	mov %r4,%r5
	nop 0
;fmt_fp+5152
	bdeq %r22,%r12,fmt_fp+5200
	bdleu %r4,%r20,fmt_fp+5296
	nop 0
;fmt_fp+5168
	addi %r32,%r4,-1
	stb %r21,%r4,-1
	mov %r4,%r32
;fmt_fp+5184
	bdltu %r20,%r32,fmt_fp+5168
	jmp fmt_fp+5312
	nop 0
;fmt_fp+5200
	ldbz %r5,%r9,0
	bbsi %r5,5,fmt_fp+5232
	mov2 %r32,%r33,%r4,%r1
;fmt_fp+5216
	mov %r34,%r9
	callr %r31,__fwritex
	nop 0
;fmt_fp+5232
	addi %r32,%r4,1
	bwne %r14,%gz,fmt_fp+5248
	bwlti %r8,1,fmt_fp+5312
;fmt_fp+5248
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+5312
	mov2 %r5,%r32,%r32,%r2
;fmt_fp+5264
	mov2 %r33,%r34,%r1,%r9
	callr %r31,__fwritex
	mov %r32,%r5
;fmt_fp+5280
	jmp fmt_fp+5312
	nop 0
	nop 0
;fmt_fp+5296
	mov %r32,%r4
	nop 0
	nop 0
;fmt_fp+5312
	ldbz %r4,%r9,0
	sub %r5,%r13,%r32
	bbsi %r4,5,fmt_fp+5360
;fmt_fp+5328
	srliw %r4,%r8,0
	mins %r33,%r5,%r4
	mov %r34,%r9
;fmt_fp+5344
	callr %r31,__fwritex
	nop 0
	nop 0
;fmt_fp+5360
	addi %r22,%r22,4
	subws %r8,%r8,%r5
	bdleu %r11,%r22,fmt_fp+5392
;fmt_fp+5376
	bwgei %r8,0,fmt_fp+4992
	nop 0
	nop 0
;fmt_fp+5392
	addiws %r32,%r8,18
	ldi %r31,48
	ldi %r33,18
;fmt_fp+5408
	mov2 %r30,%r34,%r9,%gz
	callr %r29,pad
	ldbz %r1,%r9,0
;fmt_fp+5424
	bbsi %r1,5,fmt_fp+5824
	sub %r33,%r7,%r6
	mov2 %r32,%r34,%r6,%r9
;fmt_fp+5440
	callr %r31,__fwritex
	jmp fmt_fp+5824
	nop 0
;fmt_fp+5456
	bweq %r18,%gz,fmt_fp+5504
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+5504
;fmt_fp+5472
	ldafr %r32,.rodata+5911
	ldi %r33,1
	mov %r34,%r9
;fmt_fp+5488
	callr %r31,__fwritex
	nop 0
	nop 0
;fmt_fp+5504
	bdleu %r16,%r7,fmt_fp+5792
	bwlti %r8,1,fmt_fp+5792
	ldi %r11,9
;fmt_fp+5520
	ldwz %r13,%r7,0
	mov %r12,%r8
	bdltui %r13,10,fmt_fp+5744
;fmt_fp+5536
	mov %r8,%r2
	nop 0
	nop 0
;fmt_fp+5552
	mov %r14,%r13
	divui %r13,%r13,10
	mulsubf %r1,%r13,%r4,%r14
;fmt_fp+5568
	ori %r18,%r1,48
	addi %r1,%r8,-1
	stb %r18,%r8,-1
;fmt_fp+5584
	mov %r8,%r1
	bdgeui %r14,100,fmt_fp+5552
	bdeq %r13,%gz,fmt_fp+5632
;fmt_fp+5600
	ori %r8,%r13,48
	addi %r13,%r1,-1
	stb %r8,%r1,-1
;fmt_fp+5616
	mov %r1,%r13
	nop 0
	nop 0
;fmt_fp+5632
	bdleu %r1,%r5,fmt_fp+5760
	nop 0
	nop 0
;fmt_fp+5648
	addi %r32,%r1,-1
	stb %r6,%r1,-1
	mov %r1,%r32
;fmt_fp+5664
	bdltu %r5,%r32,fmt_fp+5648
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+5712
;fmt_fp+5680
	minsw %r1,%r12,%r11
	srliw %r33,%r1,0
	mov %r34,%r9
;fmt_fp+5696
	callr %r31,__fwritex
	nop 0
	nop 0
;fmt_fp+5712
	addi %r7,%r7,4
	addiws %r8,%r12,-9
	bdleu %r16,%r7,fmt_fp+5792
;fmt_fp+5728
	bwgei %r12,10,fmt_fp+5520
	jmp fmt_fp+5792
	nop 0
;fmt_fp+5744
	mov %r1,%r2
	bdne %r13,%gz,fmt_fp+5600
	jmp fmt_fp+5632
;fmt_fp+5760
	mov %r32,%r1
	ldbz %r1,%r9,0
	bbci %r1,5,fmt_fp+5680
;fmt_fp+5776
	jmp fmt_fp+5712
	nop 0
	nop 0
;fmt_fp+5792
	addiws %r32,%r8,9
	ldi %r31,48
	ldi %r33,9
;fmt_fp+5808
	mov2 %r30,%r34,%r9,%gz
	callr %r29,pad
	nop 0
;fmt_fp+5824
	bwnei.l %r17,8192,fmt_fp+5984
	bwle %r3,%r15,fmt_fp+5984
;fmt_fp+5840
	subws %r5,%r3,%r15
	ldi %r1,256
	minuw %r1,%r5,%r1
;fmt_fp+5856
	srliw %r34,%r1,0
	addi %r32,%fp,-256
	ldi %r33,32
;fmt_fp+5872
	callr %r31,memset
	bwltui %r5,256,fmt_fp+5952
	addi %r1,%fp,-256
;fmt_fp+5888
	ldi %r2,256
	jmp fmt_fp+5920
	nop 0
;fmt_fp+5904
	addiws %r5,%r5,-256
	bwltui %r5,256,fmt_fp+5952
	nop 0
;fmt_fp+5920
	ldbz %r4,%r9,0
	bbsi %r4,5,fmt_fp+5904
	mov2 %r32,%r33,%r1,%r2
;fmt_fp+5936
	mov %r34,%r9
	callr %r31,__fwritex
	jmp fmt_fp+5904
;fmt_fp+5952
	ldbz %r1,%r9,0
	bbsi %r1,5,fmt_fp+5984
	srliw %r33,%r5,0
;fmt_fp+5968
	addi %r32,%fp,-256
	mov %r34,%r9
	callr %r31,__fwritex
;fmt_fp+5984
	maxsw %r1,%r3,%r15
	jmp fmt_fp+784
	nop 0
;__lockfile
	alloc 17
	mov %r2,%r1
	ldwz %r1,%r1,140
;__lockfile+16
	ldwz %r3,%tp,48
	andi.l %r4,%r1,-1073741825
;__lockfile+32
	mov %r1,%gz
	bweq %r4,%r3,__lockfile+112
	addi %r2,%r2,140
;__lockfile+48
	fence.seq_cst
	mov %r4,%r3
	casw.relaxed %r4,%r2,%gz
;__lockfile+64
	ldi %r1,1
	bweq %r4,%gz,__lockfile+112
	nop 2
;__lockfile+80
	ori.l %r7,%r3,1073741824
	fence.seq_cst
;__lockfile+96
	mov %r5,%r7
	casw.relaxed %r5,%r2,%gz
	bwne %r5,%gz,__lockfile+128
;__lockfile+112
	retf 0
	nop 0
	nop 0
;__lockfile+128
	ldi %r3,202
	ldi %r4,128
	jmp __lockfile+176
;__lockfile+144
	fence.seq_cst
	mov %r5,%r7
	casw.relaxed %r5,%r2,%gz
;__lockfile+160
	bweq %r5,%gz,__lockfile+112
	nop 0
	nop 0
;__lockfile+176
	bbsi %r5,30,__lockfile+224
	ori.l %r6,%r5,1073741824
;__lockfile+192
	fence.seq_cst
	mov %r8,%r6
	casw.relaxed %r8,%r2,%r5
;__lockfile+208
	bwne %r8,%r5,__lockfile+144
	jmp __lockfile+240
	nop 0
;__lockfile+224
	mov %r6,%r5
	nop 0
	nop 0
;__lockfile+240
	sraiw %r5,%r6,0
	mov2 %r10,%r11,%r3,%r2
	mov2 %r12,%r13,%r4,%r5
;__lockfile+256
	mov2 %r14,%r15,%gz,%gz
	mov %r16,%gz
	callr %r9,__syscall_postrisc
;__lockfile+272
	bdnei %r10,-38,__lockfile+144
	mov2 %r10,%r11,%r3,%r2
	mov2 %r12,%r13,%gz,%r5
;__lockfile+288
	mov2 %r14,%r15,%gz,%gz
	mov %r16,%gz
	callr %r9,__syscall_postrisc
;__lockfile+304
	jmp __lockfile+144
	nop 0
	nop 0
;__unlockfile
	alloc 11
	addi %r1,%r1,140
	fence.seq_cst
;__unlockfile+16
	swapw.relaxed %r2,%r1,%gz
	bbci %r2,30,__unlockfile+96
	ldi %r4,202
;__unlockfile+32
	ldi %r6,129
	ldi %r7,1
	mov2 %r5,%r8,%r1,%gz
;__unlockfile+48
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
	bdnei %r4,-38,__unlockfile+96
;__unlockfile+64
	ldi %r4,202
	ldi %r6,1
	mov2 %r5,%r7,%r1,%r6
;__unlockfile+80
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
	callr %r3,__syscall_postrisc
;__unlockfile+96
	retf 0
	nop 0
	nop 0
;__syscall_postrisc
	alloc 2
	syscall
	retf 0
;syscall
	allocsp 11,16
	addi %r2,%sp,47
	andi %r2,%r2,-8
;syscall+16
	addi %r2,%r2,23
	andi %r2,%r2,-8
	addi %r2,%r2,8
;syscall+32
	std %r2,%sp,8
	mov %r4,%r1
	callr %r3,__syscall_postrisc
;syscall+48
	mov %r10,%r1
	callr %r9,__syscall_ret
	mov %r1,%r10
;syscall+64
	retf 16
	nop 0
	nop 0
;__syscall_ret
	alloc 5
	ldi %r2,-4095
	bdltu %r1,%r2,__syscall_ret+48
;__syscall_ret+16
	subfiws %r2,%r1,0
	callr %r3,__errno_location
	stw %r2,%r4,0
;__syscall_ret+32
	ldi %r1,-1
	nop 0
	nop 0
;__syscall_ret+48
	retf 0
	nop 0
	nop 0
;__errno_location
	alloc 2
	addi %r1,%tp,52
	retf 0
;__towrite
	alloc 5
	ldwz %r2,%r1,136
	addiws %r3,%r2,-1
;__towrite+16
	or %r2,%r3,%r2
	stw %r2,%r1,136
	ldwz %r2,%r1,0
;__towrite+32
	bbsi %r2,3,__towrite+96
	std %gz,%r1,16
	std %gz,%r1,8
;__towrite+48
	lddz %r3,%r1,88
	std %r3,%r1,56
	std %r3,%r1,40
;__towrite+64
	lddz %r4,%r1,96
	add %r3,%r3,%r4
	std %r3,%r1,32
;__towrite+80
	mov %r1,%gz
	retf 0
	nop 0
;__towrite+96
	ori %r2,%r2,32
	stw %r2,%r1,0
	ldi %r1,-1
;__towrite+112
	retf 0
	nop 0
	nop 0
;__towrite_needs_stdio_exit
	alloc 2
	callr %r1,__stdio_exit_needed
	retf 0
;__stdio_exit_needed
	alloc 9
	callr %r7,__ofl_lock
	lddz %r1,%r8,0
;__stdio_exit_needed+16
	bdeq %r1,%gz,__stdio_exit_needed+160
	ldi %r2,1
	jmp __stdio_exit_needed+48
;__stdio_exit_needed+32
	lddz %r1,%r1,112
	bdeq %r1,%gz,__stdio_exit_needed+160
	nop 0
;__stdio_exit_needed+48
	ldwz %r3,%r1,140
	bwlt %r3,%gz,__stdio_exit_needed+80
	mov %r8,%r1
;__stdio_exit_needed+64
	callr %r7,__lockfile
	nop 0
	nop 0
;__stdio_exit_needed+80
	lddz %r3,%r1,40
	lddz %r4,%r1,56
	bdeq %r3,%r4,__stdio_exit_needed+112
;__stdio_exit_needed+96
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit_needed+112
	lddz %r3,%r1,8
	lddz %r4,%r1,16
	bdeq %r3,%r4,__stdio_exit_needed+32
;__stdio_exit_needed+128
	sub %r7,%r3,%r4
	mov2 %r6,%r8,%r1,%r2
	callmi %r5,%r1,80
;__stdio_exit_needed+144
	jmp __stdio_exit_needed+32
	nop 0
	nop 0
;__stdio_exit_needed+160
	lddzr %r1,dummy_file
	bdeq %r1,%gz,__stdio_exit_needed+272
	ldwz %r2,%r1,140
;__stdio_exit_needed+176
	bwlt %r2,%gz,__stdio_exit_needed+192
	mov %r8,%r1
	callr %r7,__lockfile
;__stdio_exit_needed+192
	lddz %r2,%r1,40
	lddz %r3,%r1,56
	bdeq %r2,%r3,__stdio_exit_needed+224
;__stdio_exit_needed+208
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit_needed+224
	lddz %r2,%r1,8
	lddz %r3,%r1,16
	bdeq %r2,%r3,__stdio_exit_needed+272
;__stdio_exit_needed+240
	sub %r7,%r2,%r3
	ldi %r8,1
	mov %r6,%r1
;__stdio_exit_needed+256
	callmi %r5,%r1,80
	nop 0
	nop 0
;__stdio_exit_needed+272
	lddzr %r1,__stdout_used
	bdeq %r1,%gz,__stdio_exit_needed+384
	ldwz %r2,%r1,140
;__stdio_exit_needed+288
	bwlt %r2,%gz,__stdio_exit_needed+304
	mov %r8,%r1
	callr %r7,__lockfile
;__stdio_exit_needed+304
	lddz %r2,%r1,40
	lddz %r3,%r1,56
	bdeq %r2,%r3,__stdio_exit_needed+336
;__stdio_exit_needed+320
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit_needed+336
	lddz %r2,%r1,8
	lddz %r3,%r1,16
	bdeq %r2,%r3,__stdio_exit_needed+384
;__stdio_exit_needed+352
	sub %r7,%r2,%r3
	ldi %r8,1
	mov %r6,%r1
;__stdio_exit_needed+368
	callmi %r5,%r1,80
	nop 0
	nop 0
;__stdio_exit_needed+384
	lddzr %r1,__stderr_used
	bdeq %r1,%gz,__stdio_exit_needed+496
	ldwz %r2,%r1,140
;__stdio_exit_needed+400
	bwlt %r2,%gz,__stdio_exit_needed+416
	mov %r8,%r1
	callr %r7,__lockfile
;__stdio_exit_needed+416
	lddz %r2,%r1,40
	lddz %r3,%r1,56
	bdeq %r2,%r3,__stdio_exit_needed+448
;__stdio_exit_needed+432
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callmi %r5,%r1,72
;__stdio_exit_needed+448
	lddz %r2,%r1,8
	lddz %r3,%r1,16
	bdeq %r2,%r3,__stdio_exit_needed+496
;__stdio_exit_needed+464
	sub %r7,%r2,%r3
	ldi %r8,1
	mov %r6,%r1
;__stdio_exit_needed+480
	callmi %r5,%r1,80
	nop 0
	nop 0
;__stdio_exit_needed+496
	retf 0
	nop 0
	nop 0
;__ofl_lock
	alloc 4
	ldafr %r3,ofl_lock
	callr %r2,__lock
;__ofl_lock+16
	ldafr %r1,ofl_head
	retf 0
	nop 0
;__ofl_unlock
	alloc 3
	ldafr %r2,ofl_lock
	callr %r1,__unlock
;__ofl_unlock+16
	retf 0
	nop 0
	nop 0
;__lock
	alloc 15
	ldbsr %r3,__libc+3
	bweq %r3,%gz,__lock+80
;__lock+16
	fence.seq_cst
	ldi.l %r2,-2147483647
;__lock+32
	casw.relaxed %r2,%r1,%gz
	cmpweqi %r4,%r2,0
	bwlti %r3,0,__lock+64
;__lock+48
	bbsi %r4,0,__lock+80
	jmp __lock+96
	nop 0
;__lock+64
	stbr %gz,__libc+3
	bbci %r4,0,__lock+96
	nop 0
;__lock+80
	retf 0
	nop 0
	nop 0
;__lock+96
	mov %r3,%gz
	nop 0
	nop 0
;__lock+112
	addiws.l %r4,%r2,2147483647
	cmovwlt %r5,%r2,%r4,%r2
;__lock+128
	addiws.l %r2,%r5,-2147483647
	fence.seq_cst
;__lock+144
	casw.relaxed %r2,%r1,%r5
	bweq %r2,%r5,__lock+80
	mov %r4,%r3
;__lock+160
	addiws %r3,%r3,1
	bwltui %r4,9,__lock+112
	fence.seq_cst
;__lock+176
	ldi %r2,1
	ldaddw.relaxed %r2,%r1,%r2
	addiws %r6,%r2,1
;__lock+192
	ldi %r2,202
	ldi %r3,128
	jmp __lock+256
;__lock+208
	addiws.l %r6,%r6,2147483647
	nop 0
;__lock+224
	mov %r4,%r6
	ori.l %r6,%r6,-2147483648
;__lock+240
	fence.seq_cst
	casw.relaxed %r6,%r1,%r4
	bweq %r6,%r4,__lock+80
;__lock+256
	bwgei %r6,0,__lock+224
	sraiw %r4,%r6,0
	mov2 %r8,%r9,%r2,%r1
;__lock+272
	mov2 %r10,%r11,%r3,%r4
	mov2 %r12,%r13,%gz,%gz
	mov %r14,%gz
;__lock+288
	callr %r7,__syscall_postrisc
	bdnei %r8,-38,__lock+208
	mov2 %r8,%r9,%r2,%r1
;__lock+304
	mov2 %r10,%r11,%gz,%r4
	mov2 %r12,%r13,%gz,%gz
	mov %r14,%gz
;__lock+320
	callr %r7,__syscall_postrisc
	jmp __lock+208
	nop 0
;__unlock
	alloc 11
	ldwz %r2,%r1,0
	bwlti %r2,0,__unlock+32
;__unlock+16
	retf 0
	nop 0
	nop 0
;__unlock+32
	fence.seq_cst
	ldi.l %r2,2147483647
;__unlock+48
	ldaddw.relaxed %r2,%r1,%r2
	bweqi.l %r2,-2147483647,__unlock+16
;__unlock+64
	ldi %r4,202
	ldi %r6,129
	ldi %r7,1
;__unlock+80
	mov2 %r5,%r8,%r1,%gz
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
;__unlock+96
	bdnei %r4,-38,__unlock+16
	ldi %r4,202
	ldi %r6,1
;__unlock+112
	mov2 %r5,%r7,%r1,%r6
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
;__unlock+128
	callr %r3,__syscall_postrisc
	retf 0
	nop 0
;__fwritex
	alloc 11
	lddz %r4,%r3,32
	bdeq %r4,%gz,__fwritex+192
;__fwritex+16
	lddz %r8,%r3,40
	sub %r4,%r4,%r8
	bdleu %r2,%r4,__fwritex+64
;__fwritex+32
	mov2 %r8,%r9,%r3,%r1
	mov %r10,%r2
	callmi %r7,%r3,72
;__fwritex+48
	mov %r1,%r8
	retf 0
	nop 0
;__fwritex+64
	ldwz %r4,%r3,144
	bwlt %r4,%gz,__fwritex+128
	bdeq %r2,%gz,__fwritex+128
;__fwritex+80
	mov %r6,%gz
	add %r4,%r1,%r2
	nop 0
;__fwritex+96
	ldbzx.xd %r5,%r4,%r6,0,-1
	bweqi %r5,10,__fwritex+256
	ldax.xd %r5,%r6,%r2,0,-1
;__fwritex+112
	addi %r6,%r6,-1
	bdne %r5,%gz,__fwritex+96
	nop 0
;__fwritex+128
	mov %r4,%gz
	nop 0
	nop 0
;__fwritex+144
	mov2 %r9,%r10,%r1,%r2
	callr %r7,memcpy
	lddz %r1,%r3,40
;__fwritex+160
	add %r1,%r1,%r2
	std %r1,%r3,40
	add %r8,%r4,%r2
;__fwritex+176
	mov %r1,%r8
	retf 0
	nop 0
;__fwritex+192
	mov %r10,%r3
	callr %r9,__towrite
	mov %r8,%gz
;__fwritex+208
	bweq %r10,%gz,__fwritex+240
	nop 0
	nop 0
;__fwritex+224
	mov %r1,%r8
	retf 0
	nop 0
;__fwritex+240
	lddz %r4,%r3,32
	jmp __fwritex+16
	nop 0
;__fwritex+256
	add %r4,%r2,%r6
	mov2 %r8,%r9,%r3,%r1
	mov %r10,%r4
;__fwritex+272
	callmi %r7,%r3,72
	bdltu %r8,%r4,__fwritex+224
	addadd %r1,%r2,%r6,%r1
;__fwritex+288
	subfi %r2,%r6,0
	lddz %r8,%r3,40
	jmp __fwritex+144
;fwrite_unlocked
	alloc 10
	ldwz %r5,%r4,140
	mov %r7,%r1
;fwrite_unlocked+16
	mul %r1,%r3,%r2
	bwlti %r5,0,fwrite_unlocked+112
	mov %r9,%r4
;fwrite_unlocked+32
	callr %r8,__lockfile
	mov2 %r5,%r8,%r9,%r1
	mov %r9,%r4
;fwrite_unlocked+48
	callr %r6,__fwritex
	bweq %r5,%gz,fwrite_unlocked+80
	mov %r9,%r4
;fwrite_unlocked+64
	callr %r8,__unlockfile
	nop 0
	nop 0
;fwrite_unlocked+80
	bdne %r7,%r1,fwrite_unlocked+128
	nop 0
	nop 0
;fwrite_unlocked+96
	cmovdeq %r1,%r2,%gz,%r3
	retf 0
	nop 0
;fwrite_unlocked+112
	mov2 %r8,%r9,%r1,%r4
	callr %r6,__fwritex
	bdeq %r7,%r1,fwrite_unlocked+96
;fwrite_unlocked+128
	divu %r1,%r7,%r2
	retf 0
	nop 0
;memcpy
	alloc 10
	bmnone %r2,3,memcpy+896
	bdeq %r3,%gz,memcpy+720
;memcpy+16
	addi %r5,%r2,1
	mov %r4,%r1
	nop 0
;memcpy+32
	ldbz %r7,%r2,0
	mov %r6,%r3
	addi %r2,%r2,1
;memcpy+48
	stb %r7,%r4,0
	addi %r4,%r4,1
	addi %r3,%r3,-1
;memcpy+64
	bmnone %r5,3,memcpy+80
	addi %r5,%r5,1
	bdnei %r6,1,memcpy+32
;memcpy+80
	bmnone %r4,3,memcpy+736
	nop 0
	nop 0
;memcpy+96
	bdltui %r3,32,memcpy+560
	andi %r6,%r4,3
	ldwz %r5,%r2,0
;memcpy+112
	bdeqi %r6,3,memcpy+992
	bdnei %r6,2,memcpy+1136
	stb %r5,%r4,0
;memcpy+128
	srliw %r6,%r5,8
	stb %r6,%r4,1
	addi %r4,%r4,2
;memcpy+144
	addi %r3,%r3,-2
	addi %r2,%r2,16
	nop 0
;memcpy+160
	ldwz %r6,%r2,-12
	srpiw %r7,%r6,%r5,16
	ldwz %r8,%r2,-8
;memcpy+176
	ldwz %r9,%r2,-4
	ldwz %r5,%r2,0
	stw %r7,%r4,0
;memcpy+192
	srpiw %r6,%r8,%r6,16
	stw %r6,%r4,4
	srpiw %r6,%r9,%r8,16
;memcpy+208
	stw %r6,%r4,8
	srpiw %r6,%r5,%r9,16
	stw %r6,%r4,12
;memcpy+224
	addi %r4,%r4,16
	addi %r3,%r3,-16
	addi %r2,%r2,16
;memcpy+240
	bdgeui %r3,18,memcpy+160
	addi %r2,%r2,-14
	bdltui %r3,16,memcpy+576
;memcpy+256
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	ldbz %r7,%r2,2
;memcpy+272
	stb %r5,%r4,0
	stb %r6,%r4,1
	ldbz %r5,%r2,3
;memcpy+288
	stb %r7,%r4,2
	ldbz %r6,%r2,4
	ldbz %r7,%r2,5
;memcpy+304
	stb %r5,%r4,3
	ldbz %r5,%r2,6
	stb %r6,%r4,4
;memcpy+320
	stb %r7,%r4,5
	ldbz %r6,%r2,7
	stb %r5,%r4,6
;memcpy+336
	ldbz %r5,%r2,8
	ldbz %r7,%r2,9
	stb %r6,%r4,7
;memcpy+352
	ldbz %r6,%r2,10
	stb %r5,%r4,8
	stb %r7,%r4,9
;memcpy+368
	ldbz %r5,%r2,11
	stb %r6,%r4,10
	ldbz %r6,%r2,12
;memcpy+384
	ldbz %r7,%r2,13
	stb %r5,%r4,11
	ldbz %r5,%r2,14
;memcpy+400
	stb %r6,%r4,12
	stb %r7,%r4,13
	ldbz %r6,%r2,15
;memcpy+416
	stb %r5,%r4,14
	addi %r2,%r2,16
	addi %r5,%r4,16
;memcpy+432
	stb %r6,%r4,15
	mov %r4,%r5
	bbci %r3,3,memcpy+592
;memcpy+448
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	ldbz %r7,%r2,2
;memcpy+464
	stb %r5,%r4,0
	stb %r6,%r4,1
	ldbz %r5,%r2,3
;memcpy+480
	stb %r7,%r4,2
	ldbz %r6,%r2,4
	ldbz %r7,%r2,5
;memcpy+496
	stb %r5,%r4,3
	ldbz %r5,%r2,6
	stb %r6,%r4,4
;memcpy+512
	stb %r7,%r4,5
	ldbz %r6,%r2,7
	stb %r5,%r4,6
;memcpy+528
	addi %r2,%r2,8
	addi %r5,%r4,8
	stb %r6,%r4,7
;memcpy+544
	mov %r4,%r5
	bbci %r3,2,memcpy+832
	jmp memcpy+608
;memcpy+560
	bdgeui %r3,16,memcpy+256
	nop 0
	nop 0
;memcpy+576
	bbsi %r3,3,memcpy+448
	nop 0
	nop 0
;memcpy+592
	bbci %r3,2,memcpy+832
	nop 0
	nop 0
;memcpy+608
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	ldbz %r7,%r2,2
;memcpy+624
	stb %r5,%r4,0
	stb %r6,%r4,1
	ldbz %r5,%r2,3
;memcpy+640
	stb %r7,%r4,2
	addi %r2,%r2,4
	addi %r6,%r4,4
;memcpy+656
	stb %r5,%r4,3
	mov %r4,%r6
	bbci %r3,1,memcpy+848
;memcpy+672
	ldbz %r5,%r2,0
	ldbz %r6,%r2,1
	stb %r5,%r4,0
;memcpy+688
	addi %r2,%r2,2
	addi %r5,%r4,2
	stb %r6,%r4,1
;memcpy+704
	mov %r4,%r5
	bbsi %r3,0,memcpy+864
	jmp memcpy+880
;memcpy+720
	mov %r4,%r1
	bmany %r4,3,memcpy+96
	nop 0
;memcpy+736
	bdltui %r3,16,memcpy+816
	nop 0
	nop 0
;memcpy+752
	ldwz %r5,%r2,0
	ldwz %r6,%r2,4
	ldwz %r7,%r2,8
;memcpy+768
	ldwz %r8,%r2,12
	stw %r5,%r4,0
	stw %r6,%r4,4
;memcpy+784
	stw %r7,%r4,8
	stw %r8,%r4,12
	addi %r2,%r2,16
;memcpy+800
	addi %r3,%r3,-16
	addi %r4,%r4,16
	bdgeui %r3,16,memcpy+752
;memcpy+816
	bdgeui %r3,8,memcpy+912
	bbsi %r3,2,memcpy+960
	nop 0
;memcpy+832
	bbsi %r3,1,memcpy+672
	nop 0
	nop 0
;memcpy+848
	bbci %r3,0,memcpy+880
	nop 0
	nop 0
;memcpy+864
	ldbz %r2,%r2,0
	stb %r2,%r4,0
	nop 0
;memcpy+880
	retf 0
	nop 0
	nop 0
;memcpy+896
	mov %r4,%r1
	bmany %r4,3,memcpy+96
	jmp memcpy+736
;memcpy+912
	ldwz %r5,%r2,0
	ldwz %r6,%r2,4
	stw %r5,%r4,0
;memcpy+928
	stw %r6,%r4,4
	addi %r4,%r4,8
	addi %r2,%r2,8
;memcpy+944
	bbci %r3,2,memcpy+832
	nop 0
	nop 0
;memcpy+960
	ldwz %r5,%r2,0
	stw %r5,%r4,0
	addi %r4,%r4,4
;memcpy+976
	addi %r2,%r2,4
	bbci %r3,1,memcpy+848
	jmp memcpy+672
;memcpy+992
	stb %r5,%r4,0
	addi %r4,%r4,1
	addi %r3,%r3,-1
;memcpy+1008
	addi %r2,%r2,16
	nop 0
	nop 0
;memcpy+1024
	ldwz %r6,%r2,-12
	srpiw %r7,%r6,%r5,8
	ldwz %r8,%r2,-8
;memcpy+1040
	ldwz %r9,%r2,-4
	ldwz %r5,%r2,0
	stw %r7,%r4,0
;memcpy+1056
	srpiw %r6,%r8,%r6,8
	stw %r6,%r4,4
	srpiw %r6,%r9,%r8,8
;memcpy+1072
	stw %r6,%r4,8
	srpiw %r6,%r5,%r9,8
	stw %r6,%r4,12
;memcpy+1088
	addi %r4,%r4,16
	addi %r3,%r3,-16
	addi %r2,%r2,16
;memcpy+1104
	bdgeui %r3,19,memcpy+1024
	addi %r2,%r2,-15
	bdltui %r3,16,memcpy+576
;memcpy+1120
	jmp memcpy+256
	nop 0
	nop 0
;memcpy+1136
	stb %r5,%r4,0
	srliw %r6,%r5,8
	stb %r6,%r4,1
;memcpy+1152
	srliw %r6,%r5,16
	stb %r6,%r4,2
	addi %r4,%r4,3
;memcpy+1168
	addi %r3,%r3,-3
	addi %r2,%r2,16
	nop 0
;memcpy+1184
	ldwz %r6,%r2,-12
	srpiw %r7,%r6,%r5,24
	ldwz %r8,%r2,-8
;memcpy+1200
	ldwz %r9,%r2,-4
	ldwz %r5,%r2,0
	stw %r7,%r4,0
;memcpy+1216
	srpiw %r6,%r8,%r6,24
	stw %r6,%r4,4
	srpiw %r6,%r9,%r8,24
;memcpy+1232
	stw %r6,%r4,8
	srpiw %r6,%r5,%r9,24
	stw %r6,%r4,12
;memcpy+1248
	addi %r4,%r4,16
	addi %r3,%r3,-16
	addi %r2,%r2,16
;memcpy+1264
	bdgeui %r3,17,memcpy+1184
	addi %r2,%r2,-13
	bdltui %r3,16,memcpy+576
;memcpy+1280
	jmp memcpy+256
	nop 0
	nop 0
;__strerror_l
	alloc 7
	cmpwgtui %r3,%r1,131
	cmovlsb %r1,%r3,%gz,%r1
;__strerror_l+16
	ldafr %r3,errmsgidx
	ldhzx.xuw %r1,%r3,%r1,1,0
	ldafr %r3,errmsgstr
;__strerror_l+32
	add %r5,%r1,%r3
	lddz %r6,%r2,40
	callr %r4,__lctrans
;__strerror_l+48
	mov %r1,%r5
	retf 0
	nop 0
;strerror
	alloc 7
	cmpwgtui %r2,%r1,131
	cmovlsb %r1,%r2,%gz,%r1
;strerror+16
	ldafr %r2,errmsgidx
	ldhzx.xuw %r1,%r2,%r1,1,0
	lddz %r2,%tp,168
;strerror+32
	ldafr %r3,errmsgstr
	add %r5,%r1,%r3
	lddz %r6,%r2,40
;strerror+48
	callr %r4,__lctrans
	mov %r1,%r5
	retf 0
;__lctrans_impl
	alloc 2
	retf 0
	nop 0
;__lctrans
	alloc 6
	mov2 %r4,%r5,%r1,%r2
	callr %r3,__lctrans_impl
;__lctrans+16
	mov %r1,%r4
	retf 0
	nop 0
;__lctrans_cur
	alloc 6
	lddz %r2,%tp,168
	lddz %r5,%r2,40
;__lctrans_cur+16
	mov %r4,%r1
	callr %r3,__lctrans_impl
	mov %r1,%r4
;__lctrans_cur+32
	retf 0
	nop 0
	nop 0
;strnlen
	alloc 7
	mov2 %r4,%r5,%r1,%gz
	mov %r6,%r2
;strnlen+16
	callr %r3,memchr
	sub %r1,%r4,%r1
	cmovdeq %r1,%r4,%r2,%r1
;strnlen+32
	retf 0
	nop 0
	nop 0
;memchr
	alloc 8
	andi %r2,%r2,255
	cmpdnei %r5,%r3,0
;memchr+16
	bmnone %r1,7,memchr+80
	bdeq %r3,%gz,memchr+80
	addi %r6,%r1,1
;memchr+32
	ldbz %r5,%r1,0
	mov %r4,%r3
	bweq %r5,%r2,memchr+224
;memchr+48
	addi %r1,%r1,1
	addi %r3,%r4,-1
	cmpdnei %r5,%r4,1
;memchr+64
	bmnone %r6,7,memchr+80
	addi %r6,%r6,1
	bdnei %r4,1,memchr+32
;memchr+80
	bbci %r5,0,memchr+256
	ldbz %r4,%r1,0
	bweq %r4,%r2,memchr+208
;memchr+96
	bdltui %r3,8,memchr+208
	srliw %r4,%r2,0
	nop 2
;memchr+112
	muli.l %r4,%r4,72340172838076673
	nop 2
;memchr+128
	ldi.l %r5,-9187201950435737472
	nop 0
;memchr+144
	lddz %r6,%r1,0
	xor %r6,%r6,%r4
	nop 2
;memchr+160
	subfi.l %r7,%r6,72340172838076672
	or %r6,%r7,%r6
;memchr+176
	and %r6,%r6,%r5
	bdne %r6,%r5,memchr+288
	addi %r3,%r3,-8
;memchr+192
	addi %r1,%r1,8
	bdgeui %r3,8,memchr+144
	nop 0
;memchr+208
	mov %r4,%r3
	bdeq %r3,%gz,memchr+256
	nop 0
;memchr+224
	ldbz %r3,%r1,0
	bweq %r3,%r2,memchr+272
	nop 0
;memchr+240
	addi %r4,%r4,-1
	addi %r1,%r1,1
	bdne %r4,%gz,memchr+224
;memchr+256
	mov %r1,%gz
	nop 0
	nop 0
;memchr+272
	retf 0
	nop 0
	nop 0
;memchr+288
	mov %r4,%r3
	ldbz %r3,%r1,0
	bwne %r3,%r2,memchr+240
;memchr+304
	jmp memchr+272
	nop 0
	nop 0
;wctomb
	alloc 7
	bdeq %r1,%gz,wctomb+48
	mov2 %r4,%r5,%r1,%r2
;wctomb+16
	mov %r6,%gz
	callr %r3,wcrtomb
	mov %r1,%r4
;wctomb+32
	retf 0
	nop 0
	nop 0
;wctomb+48
	mov %r1,%gz
	retf 0
	nop 0
;wcrtomb
	alloc 7
	ldi %r3,1
	bdeq %r1,%gz,wcrtomb+320
;wcrtomb+16
	bwgeui %r2,128,wcrtomb+48
	nop 0
	nop 0
;wcrtomb+32
	stb %r2,%r1,0
	mov %r1,%r3
	retf 0
;wcrtomb+48
	lddz %r4,%tp,168
	lddz %r4,%r4,0
	bdeq %r4,%gz,wcrtomb+128
;wcrtomb+64
	bwgeui.l %r2,2048,wcrtomb+160
	srliw %r3,%r2,6
;wcrtomb+80
	ori %r3,%r3,192
	stb %r3,%r1,0
	andi %r2,%r2,63
;wcrtomb+96
	ori %r2,%r2,128
	stb %r2,%r1,1
	ldi %r1,2
;wcrtomb+112
	retf 0
	nop 0
	nop 0
;wcrtomb+128
	andi %r4,%r2,-128
	bwnei.l %r4,57216,wcrtomb+288
;wcrtomb+144
	jmp wcrtomb+32
	nop 0
	nop 0
;wcrtomb+160
	bwltui.l %r2,55296,wcrtomb+336
	andi %r3,%r2,-8192
;wcrtomb+176
	bweqi.l %r3,57344,wcrtomb+336
	addiws %r3,%r2,-65536
;wcrtomb+192
	bwgeui.l %r3,1048576,wcrtomb+288
	srliw %r3,%r2,18
;wcrtomb+208
	ori %r3,%r3,240
	stb %r3,%r1,0
	slsrli %r3,%r2,46,58
;wcrtomb+224
	ori %r3,%r3,128
	stb %r3,%r1,1
	slsrli %r3,%r2,52,58
;wcrtomb+240
	ori %r3,%r3,128
	stb %r3,%r1,2
	andi %r2,%r2,63
;wcrtomb+256
	ori %r2,%r2,128
	stb %r2,%r1,3
	ldi %r1,4
;wcrtomb+272
	retf 0
	nop 0
	nop 0
;wcrtomb+288
	callr %r5,__errno_location
	ldi %r1,84
	stw %r1,%r6,0
;wcrtomb+304
	ldi %r3,-1
	nop 0
	nop 0
;wcrtomb+320
	mov %r1,%r3
	retf 0
	nop 0
;wcrtomb+336
	srliw %r3,%r2,12
	ori %r3,%r3,224
	stb %r3,%r1,0
;wcrtomb+352
	slsrli %r3,%r2,52,58
	ori %r3,%r3,128
	stb %r3,%r1,1
;wcrtomb+368
	andi %r2,%r2,63
	ori %r2,%r2,128
	stb %r2,%r1,2
;wcrtomb+384
	ldi %r1,3
	retf 0
	nop 0
;memset
	alloc 7
	bdeq %r3,%gz,memset+304
	stb %r2,%r1,0
;memset+16
	stbx.xd %r2,%r1,%r3,0,-1
	bdltui %r3,3,memset+304
	add %r4,%r1,%r3
;memset+32
	stb %r2,%r1,1
	stb %r2,%r1,2
	stb %r2,%r4,-2
;memset+48
	stb %r2,%r4,-3
	bdltui %r3,7,memset+304
	stb %r2,%r1,3
;memset+64
	stb %r2,%r4,-4
	bdltui %r3,9,memset+304
	subfi %r4,%r1,0
;memset+80
	andi %r5,%r4,3
	add %r4,%r1,%r5
	sub %r3,%r3,%r5
;memset+96
	andi %r3,%r3,-4
	andi %r2,%r2,255
	nop 2
;memset+112
	mulwsi.l %r2,%r2,16843009
	stwx.xd %r2,%r1,%r5,0,0
;memset+128
	stwx.xd %r2,%r4,%r3,0,-4
	bdltui %r3,9,memset+304
	addadd %r5,%r1,%r5,%r3
;memset+144
	stw %r2,%r4,4
	stw %r2,%r4,8
	stw %r2,%r5,-12
;memset+160
	stw %r2,%r5,-8
	bdltui %r3,25,memset+304
	stw %r2,%r4,12
;memset+176
	stw %r2,%r4,16
	stw %r2,%r4,20
	stw %r2,%r4,24
;memset+192
	stw %r2,%r5,-28
	stw %r2,%r5,-24
	stw %r2,%r5,-20
;memset+208
	andi %r6,%r4,4
	ori %r6,%r6,24
	sub %r3,%r3,%r6
;memset+224
	stw %r2,%r5,-16
	bdltui %r3,32,memset+304
	srliw %r2,%r2,0
;memset+240
	muli.l %r2,%r2,4294967297
	add %r4,%r4,%r6
;memset+256
	std %r2,%r4,0
	std %r2,%r4,8
	std %r2,%r4,16
;memset+272
	std %r2,%r4,24
	addi %r3,%r3,-32
	addi %r4,%r4,32
;memset+288
	bdgeui %r3,32,memset+256
	nop 0
	nop 0
;memset+304
	retf 0
	nop 0
	nop 0
;__signbitl
	allocsp 2,16
	stq %r1,%sp,0
	addi %r1,%sp,0
;__signbitl+16
	ori %r1,%r1,14
	ldhz %r1,%r1,0
	srliw %r1,%r1,15
;__signbitl+32
	retf 16
	nop 0
	nop 0
;__fpclassifyl
	allocsp 4,16
	stq %r1,%sp,0
	addi %r1,%sp,0
;__fpclassifyl+16
	ori %r3,%r1,14
	ldhz %r2,%r3,0
	andi %r2,%r2,32767
;__fpclassifyl+32
	sth %gz,%r3,0
	bweqi.l %r2,32767,__fpclassifyl+96
;__fpclassifyl+48
	bwne %r2,%gz,__fpclassifyl+128
	lddz %r2,%sp,0
	ori %r1,%r1,8
;__fpclassifyl+64
	lddz %r1,%r1,0
	or %r1,%r1,%r2
	ldi %r2,3
;__fpclassifyl+80
	ldi %r3,2
	cmovdeq %r1,%r1,%r3,%r2
	retf 16
;__fpclassifyl+96
	lddz %r2,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;__fpclassifyl+112
	or %r1,%r1,%r2
	cmpdeqi %r1,%r1,0
	retf 16
;__fpclassifyl+128
	ldi %r1,4
	retf 16
	nop 0
;frexpl
	allocsp 8,16
	stq %r1,%sp,0
	addi %r3,%sp,0
;frexpl+16
	ori %r3,%r3,14
	ldhz %r4,%r3,0
	andi %r4,%r4,32767
;frexpl+32
	bweqi.l %r4,32767,frexpl+160
	bwne %r4,%gz,frexpl+112
;frexpl+48
	bfsqoeq %r1,%gz,frexpl+176
	ldqr %r3,.rodata+29040
	fmulsq %r6,%r1,%r3
;frexpl+64
	mov %r7,%r2
	callr %r5,frexpl
	ldwz %r3,%r2,0
;frexpl+80
	mov %r1,%r6
	addiws %r3,%r3,-120
	stw %r3,%r2,0
;frexpl+96
	retf 16
	nop 0
	nop 0
;frexpl+112
	addiws %r1,%r4,-16382
	stw %r1,%r2,0
	ldhz %r1,%r3,0
;frexpl+128
	andi %r1,%r1,32768
	sth %r1,%r3,0
	ldhz %r1,%r3,0
;frexpl+144
	ori %r1,%r1,16382
	sth %r1,%r3,0
	ldq %r1,%sp,0
;frexpl+160
	retf 16
	nop 0
	nop 0
;frexpl+176
	stw %gz,%r2,0
	retf 16
	nop 0
;scalbn
	alloc 4
	bwlti.l %r2,1024,scalbn+64
;scalbn+16
	ldi.l %r3,9214364837600034816
	fmulsd %r1,%r1,%r3
;scalbn+32
	bwltui %r2,2047,scalbn+128
	fmulsd %r1,%r1,%r3
	ldi %r3,3069
;scalbn+48
	minuw %r2,%r2,%r3
	addiws %r2,%r2,-2046
	jmp scalbn+160
;scalbn+64
	bwgei %r2,-1022,scalbn+160
	ldi.l %r3,243194379878006784
;scalbn+80
	fmulsd %r1,%r1,%r3
	bwgeui.l %r2,1099511625785,scalbn+144
;scalbn+96
	fmulsd %r1,%r1,%r3
	ldi %r3,-2960
	maxuw %r2,%r2,%r3
;scalbn+112
	addiws %r2,%r2,1938
	jmp scalbn+160
	nop 0
;scalbn+128
	addiws %r2,%r2,-1023
	jmp scalbn+160
	nop 0
;scalbn+144
	addiws %r2,%r2,969
	nop 0
	nop 0
;scalbn+160
	addiws %r2,%r2,1023
	slli %r2,%r2,52
	fmulsd %r1,%r1,%r2
;scalbn+176
	retf 0
	nop 0
	nop 0
;__aio_close
	alloc 2
	retf 0
	nop 0
;__stdio_close
	alloc 10
	ldwz %r9,%r1,120
	callr %r8,__aio_close
;__stdio_close+16
	sraiw %r4,%r9,0
	ldi %r3,3
	mov2 %r5,%r6,%gz,%gz
;__stdio_close+32
	mov2 %r7,%r8,%gz,%gz
	mov %r9,%gz
	callr %r2,__syscall_postrisc
;__stdio_close+48
	mov %r9,%r3
	callr %r8,__syscall_ret
	mov %r1,%r9
;__stdio_close+64
	retf 0
	nop 0
	nop 0
;__stdio_write
	allocsp 23,32
	lddz %r4,%r1,56
	std %r4,%sp,0
;__stdio_write+16
	lddz %r5,%r1,40
	sub %r4,%r5,%r4
	std %r4,%sp,8
;__stdio_write+32
	std %r2,%sp,16
	std %r3,%sp,24
	add %r7,%r4,%r3
;__stdio_write+48
	ldws %r17,%r1,120
	ldi %r16,20
	addi %r4,%sp,0
;__stdio_write+64
	ldi %r2,2
	mov2 %r18,%r19,%r4,%r2
	mov2 %r20,%r21,%gz,%gz
;__stdio_write+80
	mov %r22,%gz
	callr %r15,__syscall_postrisc
	mov %r22,%r16
;__stdio_write+96
	callr %r21,__syscall_ret
	bdeq %r22,%r7,__stdio_write+272
	ldi %r8,8
;__stdio_write+112
	ldi %r9,24
	ldi %r5,20
	nop 0
;__stdio_write+128
	bdlti %r22,0,__stdio_write+336
	lddz %r6,%r4,8
	cmpdltu %r10,%r6,%r22
;__stdio_write+144
	lddzx.xd %r11,%r4,%r10,4,0
	cmovlsb %r6,%r10,%r6,%gz
	sub %r12,%r22,%r6
;__stdio_write+160
	add %r6,%r11,%r12
	stdx.xd %r6,%r4,%r10,4,0
	cmovlsb %r11,%r10,%r9,%r8
;__stdio_write+176
	lddzx.xd %r13,%r4,%r11,0,0
	sub %r7,%r7,%r22
	sladd %r6,%r4,%r10,4
;__stdio_write+192
	subws %r14,%r2,%r10
	sub %r12,%r13,%r12
	stdx.xd %r12,%r4,%r11,0,0
;__stdio_write+208
	ldws %r17,%r1,120
	subws %r19,%r2,%r10
	mov2 %r16,%r18,%r5,%r6
;__stdio_write+224
	mov2 %r20,%r21,%gz,%gz
	mov %r22,%gz
	callr %r15,__syscall_postrisc
;__stdio_write+240
	mov %r22,%r16
	callr %r21,__syscall_ret
	mov2 %r2,%r4,%r14,%r6
;__stdio_write+256
	bdne %r22,%r7,__stdio_write+128
	nop 0
	nop 0
;__stdio_write+272
	lddz %r2,%r1,88
	lddz %r4,%r1,96
	add %r4,%r2,%r4
;__stdio_write+288
	std %r4,%r1,32
	std %r2,%r1,56
	std %r2,%r1,40
;__stdio_write+304
	mov %r1,%r3
	nop 0
	nop 0
;__stdio_write+320
	retf 32
	nop 0
	nop 0
;__stdio_write+336
	std %gz,%r1,32
	std %gz,%r1,56
	std %gz,%r1,40
;__stdio_write+352
	ldwz %r5,%r1,0
	ori %r5,%r5,32
	stw %r5,%r1,0
;__stdio_write+368
	mov %r1,%gz
	bweqi %r2,2,__stdio_write+320
	lddz %r1,%r4,8
;__stdio_write+384
	sub %r1,%r3,%r1
	retf 32
	nop 0
;__stdio_seek
	alloc 8
	ldwz %r5,%r1,120
	mov2 %r6,%r7,%r2,%r3
;__stdio_seek+16
	callr %r4,__lseek
	mov %r1,%r5
	retf 0
;__lseek
	alloc 12
	sraiw %r6,%r1,0
	sraiw %r8,%r3,0
;__lseek+16
	ldi %r5,8
	mov2 %r7,%r9,%r2,%gz
	mov2 %r10,%r11,%gz,%gz
;__lseek+32
	callr %r4,__syscall_postrisc
	mov %r11,%r5
	callr %r10,__syscall_ret
;__lseek+48
	mov %r1,%r11
	retf 0
	nop 0
;fprintf
	allocsp 7,16
	addi %r6,%sp,16
	std %r6,%sp,8
;fprintf+16
	mov2 %r4,%r5,%r1,%r2
	callr %r3,vfprintf
	mov %r1,%r4
;fprintf+32
	retf 16
	nop 0
	nop 0
;D_PostEvent
	alloc 6
	ldwzr %r2,eventhead
	ldwz %r3,%r1,16
;D_PostEvent+16
	sraiw %r4,%r2,0
	muli %r4,%r4,20
	ldafr %r5,events+16
;D_PostEvent+32
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r3,%r1,12
	ldafr %r5,events+12
;D_PostEvent+48
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r3,%r1,8
	ldafr %r5,events+8
;D_PostEvent+64
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r3,%r1,4
	ldafr %r5,events+4
;D_PostEvent+80
	stwx.xd %r3,%r4,%r5,0,0
	ldwz %r1,%r1,0
	ldafr %r3,events
;D_PostEvent+96
	stwx.xd %r1,%r4,%r3,0,0
	addiws %r1,%r2,1
	sraiw %r2,%r1,31
;D_PostEvent+112
	srliw %r2,%r2,26
	addws %r2,%r1,%r2
	andi %r2,%r2,-64
;D_PostEvent+128
	subws %r1,%r1,%r2
	stwr %r1,eventhead
	retf 0
;D_PopEvent
	alloc 5
	ldwzr %r2,eventtail
	ldwzr %r3,eventhead
;D_PopEvent+16
	mov %r1,%gz
	bweq %r2,%r3,D_PopEvent+96
	sraiw %r1,%r2,0
;D_PopEvent+32
	ldafr %r3,events
	ldi %r4,20
	muladd %r1,%r1,%r4,%r3
;D_PopEvent+48
	addiws %r2,%r2,1
	sraiw %r3,%r2,31
	srliw %r3,%r3,26
;D_PopEvent+64
	addws %r3,%r2,%r3
	andi %r3,%r3,-64
	subws %r2,%r2,%r3
;D_PopEvent+80
	stwr %r2,eventtail
	nop 0
	nop 0
;D_PopEvent+96
	retf 0
	nop 0
	nop 0
;D_FindWADByName
	allocsp 10,32
	mov %r9,%r1
	callr %r8,M_FileExists
;D_FindWADByName+16
	bweq %r9,%gz,D_FindWADByName+32
	retf 32
	nop 0
;D_FindWADByName+32
	ldwzr %r2,num_iwad_dirs
	bwgei %r2,128,D_FindWADByName+80
	ldafr %r3,iwad_dirs
;D_FindWADByName+48
	ldafr %r4,.rodata+5911
	stdx.xw %r4,%r3,%r2,3,0
	addiws %r3,%r2,1
;D_FindWADByName+64
	stwr %r3,num_iwad_dirs
	bwlt %r2,%gz,D_FindWADByName+224
	nop 0
;D_FindWADByName+80
	mov %r4,%gz
	ldafr %r5,iwad_dirs
	ldafr %r6,.rodata+5432
;D_FindWADByName+96
	lddz %r2,%r5,0
	mov2 %r8,%r9,%r2,%r1
	callr %r7,DirIsFile
;D_FindWADByName+112
	bweq %r8,%gz,D_FindWADByName+144
	mov %r9,%r2
	callr %r8,M_FileExists
;D_FindWADByName+128
	lddz %r2,%r5,0
	bwne %r9,%gz,D_FindWADByName+256
	nop 0
;D_FindWADByName+144
	std %gz,%sp,16
	std %r1,%sp,8
	std %r6,%sp,0
;D_FindWADByName+160
	mov %r9,%r2
	callr %r8,M_StringJoin
	mov %r2,%r9
;D_FindWADByName+176
	callr %r8,M_FileExists
	bwne %r9,%gz,D_FindWADByName+240
	mov %r9,%r2
;D_FindWADByName+192
	callr %r8,free
	ldwsr %r2,num_iwad_dirs
	addi %r4,%r4,1
;D_FindWADByName+208
	addi %r5,%r5,8
	bdlt %r4,%r2,D_FindWADByName+96
	nop 0
;D_FindWADByName+224
	mov %r1,%gz
	retf 32
	nop 0
;D_FindWADByName+240
	mov %r1,%r2
	retf 32
	nop 0
;D_FindWADByName+256
	mov %r9,%r2
	callr %r8,strdup
	mov %r1,%r9
;D_FindWADByName+272
	retf 32
	nop 0
	nop 0
;DirIsFile
	alloc 8
	mov %r7,%r1
	callr %r6,strlen
;DirIsFile+16
	mov2 %r3,%r7,%r7,%r2
	callr %r6,strlen
	addi %r4,%r7,1
;DirIsFile+32
	bdltu %r3,%r4,DirIsFile+80
	sub %r3,%r3,%r7
	ldbzx.xd %r4,%r1,%r3,0,-1
;DirIsFile+48
	bwnei %r4,47,DirIsFile+80
	add %r6,%r1,%r3
	mov %r7,%r2
;DirIsFile+64
	callr %r5,strcasecmp
	cmpweqi %r1,%r6,0
	retf 0
;DirIsFile+80
	mov %r1,%gz
	retf 0
	nop 0
;D_TryFindWADByName
	alloc 4
	mov %r3,%r1
	callr %r2,D_FindWADByName
;D_TryFindWADByName+16
	cmovdeq %r1,%r3,%r1,%r3
	retf 0
	nop 0
;D_FindIWAD
	allocsp 17,32
	ldafr %r15,.rodata+23929
	ldi %r16,1
;D_FindIWAD+16
	callr %r14,M_CheckParmWithArgs
	bweq %r15,%gz,D_FindIWAD+224
	lddzr %r3,myargv
;D_FindIWAD+32
	lddzx.xw %r3,%r3,%r15,3,8
	mov %r16,%r3
	callr %r15,D_FindWADByName
;D_FindIWAD+48
	mov %r4,%r16
	bdne %r16,%gz,D_FindIWAD+80
	ldafr %r16,.rodata+27875
;D_FindIWAD+64
	std %r3,%sp,0
	callr %r15,I_Error
	nop 0
;D_FindIWAD+80
	ldi %r16,47
	mov %r15,%r4
	callr %r14,strrchr
;D_FindIWAD+96
	addi %r3,%r15,1
	mov %r6,%gz
	cmovdeq %r3,%r15,%r4,%r3
;D_FindIWAD+112
	ldafr %r7,iwads
	ldafr %r8,iwads+8
	ldi %r11,9
;D_FindIWAD+128
	jmp D_FindIWAD+160
	nop 0
	nop 0
;D_FindIWAD+144
	addi %r6,%r6,24
	bdeqi %r6,336,D_FindIWAD+624
	nop 0
;D_FindIWAD+160
	ldwzx.xd %r9,%r6,%r8,0,0
	bbc %r1,%r9,D_FindIWAD+144
	add %r5,%r6,%r7
;D_FindIWAD+176
	lddz %r16,%r5,0
	mov %r15,%r3
	callr %r14,strcasecmp
;D_FindIWAD+192
	bwne %r15,%gz,D_FindIWAD+144
	stw %r9,%r2,0
	mov %r1,%r4
;D_FindIWAD+208
	retf 32
	nop 0
	nop 0
;D_FindIWAD+224
	ldafr %r16,.rodata+5446
	callr %r15,puts
	ldwzr %r3,num_iwad_dirs
;D_FindIWAD+240
	ldafr %r7,iwad_dirs
	bwgei %r3,128,D_FindIWAD+288
	ldafr %r4,.rodata+5911
;D_FindIWAD+256
	stdx.xw %r4,%r7,%r3,3,0
	addiws %r4,%r3,1
	stwr %r4,num_iwad_dirs
;D_FindIWAD+272
	bwlt %r3,%gz,D_FindIWAD+640
	nop 0
	nop 0
;D_FindIWAD+288
	mov %r8,%gz
	ldafr %r9,iwads
	ldafr %r10,iwads+8
;D_FindIWAD+304
	ldafr %r3,.rodata+6658
	ldafr %r12,.rodata+5432
	jmp D_FindIWAD+352
;D_FindIWAD+320
	ldwsr %r5,num_iwad_dirs
	addi %r8,%r8,1
	mov %r4,%gz
;D_FindIWAD+336
	bdle %r5,%r8,D_FindIWAD+656
	nop 0
	nop 0
;D_FindIWAD+352
	mov %r13,%gz
	lddzx.xd %r5,%r7,%r8,3,0
	jmp D_FindIWAD+416
;D_FindIWAD+368
	mov %r16,%r5
	callr %r15,strdup
	mov %r4,%r16
;D_FindIWAD+384
	bdne %r4,%gz,D_FindIWAD+624
	nop 0
	nop 0
;D_FindIWAD+400
	addi %r13,%r13,24
	bdeqi %r13,336,D_FindIWAD+320
	nop 0
;D_FindIWAD+416
	ldwzx.xd %r11,%r13,%r10,0,0
	bbc %r1,%r11,D_FindIWAD+400
	add %r4,%r13,%r9
;D_FindIWAD+432
	lddz %r4,%r4,0
	mov2 %r15,%r16,%r5,%r4
	callr %r14,DirIsFile
;D_FindIWAD+448
	bweq %r15,%gz,D_FindIWAD+480
	mov %r16,%r5
	callr %r15,M_FileExists
;D_FindIWAD+464
	bwne %r16,%gz,D_FindIWAD+368
	nop 0
	nop 0
;D_FindIWAD+480
	ldbz %r6,%r5,0
	bwnei %r6,46,D_FindIWAD+512
	ldbz %r6,%r5,1
;D_FindIWAD+496
	bweq %r6,%gz,D_FindIWAD+608
	nop 0
	nop 0
;D_FindIWAD+512
	std %gz,%sp,16
	std %r4,%sp,8
	std %r12,%sp,0
;D_FindIWAD+528
	mov %r16,%r5
	callr %r15,M_StringJoin
	nop 0
;D_FindIWAD+544
	mov %r4,%r16
	std %r16,%sp,0
	mov %r16,%r3
;D_FindIWAD+560
	callr %r15,printf
	mov %r16,%r4
	callr %r15,M_FileExists
;D_FindIWAD+576
	bwne %r16,%gz,D_FindIWAD+384
	mov %r16,%r4
	callr %r15,free
;D_FindIWAD+592
	jmp D_FindIWAD+400
	nop 0
	nop 0
;D_FindIWAD+608
	mov %r16,%r4
	callr %r15,strdup
	jmp D_FindIWAD+544
;D_FindIWAD+624
	stw %r11,%r2,0
	mov %r1,%r4
	retf 32
;D_FindIWAD+640
	mov %r1,%gz
	retf 32
	nop 0
;D_FindIWAD+656
	mov %r1,%r4
	retf 32
	nop 0
;D_FindAllIWADs
	alloc 11
	ldi %r10,120
	callr %r9,malloc
;D_FindAllIWADs+16
	mov2 %r2,%r5,%r10,%gz
	mov %r4,%gz
	ldafr %r6,iwads
;D_FindAllIWADs+32
	ldafr %r7,iwads+8
	jmp D_FindAllIWADs+64
	nop 0
;D_FindAllIWADs+48
	addi %r5,%r5,24
	bdeqi %r5,336,D_FindAllIWADs+112
	nop 0
;D_FindAllIWADs+64
	ldwzx.xd %r3,%r5,%r7,0,0
	bbc %r1,%r3,D_FindAllIWADs+48
	add %r8,%r5,%r6
;D_FindAllIWADs+80
	lddz %r10,%r8,0
	callr %r9,D_FindWADByName
	bdeq %r10,%gz,D_FindAllIWADs+48
;D_FindAllIWADs+96
	stdx.xw %r8,%r2,%r4,3,0
	addiws %r4,%r4,1
	jmp D_FindAllIWADs+48
;D_FindAllIWADs+112
	stdx.xw %gz,%r2,%r4,3,0
	mov %r1,%r2
	retf 0
;D_SaveGameIWADName
	alloc 6
	mov2 %r2,%r3,%r1,%gz
	ldafr %r4,iwads+8
;D_SaveGameIWADName+16
	ldafr %r1,.rodata+19583
	nop 0
	nop 0
;D_SaveGameIWADName+32
	ldwzx.xd %r5,%r3,%r4,0,0
	bweq %r2,%r5,D_SaveGameIWADName+64
	addi %r3,%r3,24
;D_SaveGameIWADName+48
	bdnei %r3,336,D_SaveGameIWADName+32
	retf 0
	nop 0
;D_SaveGameIWADName+64
	ldafr %r1,iwads
	lddzx.xd %r1,%r3,%r1,0,0
	retf 0
;D_SuggestIWADName
	alloc 8
	mov %r4,%gz
	ldafr %r5,iwads+8
;D_SuggestIWADName+16
	ldafr %r6,iwads+12
	ldafr %r3,.rodata+19583
	jmp D_SuggestIWADName+48
;D_SuggestIWADName+32
	addi %r4,%r4,24
	bdeqi %r4,336,D_SuggestIWADName+96
	nop 0
;D_SuggestIWADName+48
	ldwzx.xd %r7,%r4,%r5,0,0
	bwne %r7,%r1,D_SuggestIWADName+32
	ldwzx.xd %r7,%r4,%r6,0,0
;D_SuggestIWADName+64
	bwne %r7,%r2,D_SuggestIWADName+32
	ldafr %r1,iwads
	lddzx.xd %r1,%r4,%r1,0,0
;D_SuggestIWADName+80
	retf 0
	nop 0
	nop 0
;D_SuggestIWADName+96
	mov %r1,%r3
	retf 0
	nop 0
;D_SuggestGameName
	alloc 8
	mov %r4,%gz
	ldafr %r5,iwads+8
;D_SuggestGameName+16
	ldafr %r6,iwads+12
	ldafr %r3,.rodata+15583
	jmp D_SuggestGameName+48
;D_SuggestGameName+32
	addi %r4,%r4,24
	bdeqi %r4,336,D_SuggestGameName+96
	nop 0
;D_SuggestGameName+48
	ldwzx.xd %r7,%r4,%r5,0,0
	bwne %r7,%r1,D_SuggestGameName+32
	bweqi %r2,4,D_SuggestGameName+80
;D_SuggestGameName+64
	ldwzx.xd %r7,%r4,%r6,0,0
	bwne %r7,%r2,D_SuggestGameName+32
	nop 0
;D_SuggestGameName+80
	ldafr %r1,iwads+16
	lddzx.xd %r1,%r4,%r1,0,0
	retf 0
;D_SuggestGameName+96
	mov %r1,%r3
	retf 0
	nop 0
;free
	alloc 4
	mov %r3,%r1
	callr %r2,__libc_free
;free+16
	retf 0
	nop 0
	nop 0
;__libc_free
	allocsp 12,16
	bdeq %r1,%gz,__libc_free+368
	mov %r11,%r1
;__libc_free+16
	callr %r10,get_meta
	ldbz %r5,%r1,-3
	lddz %r3,%r11,32
;__libc_free+32
	andi %r2,%r5,31
	bdltui.l %r3,4096,__libc_free+80
;__libc_free+48
	andi %r4,%r3,31
	bdne %r4,%gz,__libc_free+80
	andi %r4,%r3,-4096
;__libc_free+64
	addi %r4,%r4,-16
	jmp __libc_free+112
	nop 0
;__libc_free+80
	srli %r4,%r3,5
	andi %r4,%r4,126
	ldafr %r6,__malloc_size_classes
;__libc_free+96
	ldhzx.xd %r4,%r4,%r6,0,0
	slli %r4,%r4,4
	nop 0
;__libc_free+112
	lddz %r6,%r11,16
	srliw %r7,%r2,0
	muladd %r6,%r4,%r7,%r6
;__libc_free+128
	ldax.xd %r7,%r6,%r4,0,16
	ldax.xd %r4,%r6,%r4,0,12
	srliw %r6,%r5,5
;__libc_free+144
	bwltui %r5,160,__libc_free+192
	bwnei %r6,5,__libc_free+512
	ldwz %r5,%r7,-8
;__libc_free+160
	bwltui %r5,5,__libc_free+512
	ldbz %r6,%r7,-9
	bwne %r6,%gz,__libc_free+512
;__libc_free+176
	srliw %r6,%r5,0
	nop 0
	nop 0
;__libc_free+192
	sub %r5,%r4,%r1
	bdltu %r5,%r6,__libc_free+512
	sub %r5,%r4,%r6
;__libc_free+208
	ldbz %r5,%r5,0
	bwne %r5,%gz,__libc_free+512
	ldbz %r4,%r4,0
;__libc_free+224
	bwne %r4,%gz,__libc_free+512
	ldi %r4,1
	sllw %r4,%r4,%r2
;__libc_free+240
	andi %r3,%r3,31
	ldi %r5,2
	sllw %r3,%r5,%r3
;__libc_free+256
	addiws %r3,%r3,-1
	ldi %r5,255
	stb %r5,%r1,-3
;__libc_free+272
	sth %gz,%r1,-2
	addi %r1,%r11,28
	nop 0
;__libc_free+288
	ldwz %r5,%r11,28
	ldwz %r6,%r11,24
	or %r7,%r6,%r5
;__libc_free+304
	and %r6,%r7,%r4
	bwne %r6,%gz,__libc_free+512
	ldbzr %r6,__libc+3
;__libc_free+320
	andi %r6,%r6,255
	bweq %r5,%gz,__libc_free+384
	addws %r7,%r7,%r4
;__libc_free+336
	bweq %r7,%r3,__libc_free+384
	addws %r7,%r5,%r4
	bweq %r6,%gz,__libc_free+496
;__libc_free+352
	fence.seq_cst
	casw.relaxed %r7,%r1,%r5
	bwne %r7,%r5,__libc_free+288
;__libc_free+368
	retf 16
	nop 0
	nop 0
;__libc_free+384
	bweq %r6,%gz,__libc_free+416
	ldafr %r1,__malloc_lock
	mov2 %r3,%r11,%r11,%r1
;__libc_free+400
	callr %r10,__lock
	mov %r11,%r3
	nop 0
;__libc_free+416
	addi %r9,%sp,0
	mov2 %r10,%r11,%r11,%r2
	callr %r8,nontrivial_free
;__libc_free+432
	ldafr %r11,__malloc_lock
	callr %r10,__unlock
	lddz %r1,%sp,8
;__libc_free+448
	bdeq %r1,%gz,__libc_free+368
	callr %r10,__errno_location
	mov %r2,%r11
;__libc_free+464
	ldwz %r3,%r11,0
	lddz %r10,%sp,0
	mov %r11,%r1
;__libc_free+480
	callr %r9,__munmap
	stw %r3,%r2,0
	retf 16
;__libc_free+496
	stw %r7,%r11,28
	retf 16
	nop 0
;__libc_free+512
	halt
	nop 0
	nop 0
;get_meta
	alloc 7
	bmany %r1,15,get_meta+320
	ldbz %r3,%r1,-4
;get_meta+16
	ldhz %r2,%r1,-2
	ldbz %r4,%r1,-3
	bweq %r3,%gz,get_meta+64
;get_meta+32
	bwne %r2,%gz,get_meta+320
	ldwz %r2,%r1,-8
	nop 2
;get_meta+48
	bwlti.l %r2,65536,get_meta+320
	nop 0
;get_meta+64
	slliw %r3,%r2,4
	sub %r3,%r1,%r3
	lddz %r1,%r3,-16
;get_meta+80
	lddz %r5,%r1,16
	addi %r3,%r3,-16
	bdne %r5,%r3,get_meta+320
;get_meta+96
	lddz %r3,%r1,32
	andi %r4,%r4,31
	andi %r5,%r3,31
;get_meta+112
	bwltu %r5,%r4,get_meta+320
	ldwz %r6,%r1,24
	ldi %r5,1
;get_meta+128
	sllw %r5,%r5,%r4
	and %r6,%r6,%r5
	bwne %r6,%gz,get_meta+320
;get_meta+144
	ldwz %r6,%r1,28
	and %r5,%r6,%r5
	bwne %r5,%gz,get_meta+320
;get_meta+160
	andi %r5,%r1,-4096
	lddz %r5,%r5,0
	lddzr %r6,__malloc_context
;get_meta+176
	bdne %r5,%r6,get_meta+320
	slsrli %r5,%r3,52,58
	bdgeui %r5,48,get_meta+240
;get_meta+192
	ldafr %r6,__malloc_size_classes
	ldhzx.xd %r5,%r6,%r5,1,0
	mulws %r6,%r5,%r4
;get_meta+208
	bwltu %r2,%r6,get_meta+320
	addiws %r4,%r4,1
	mulws %r4,%r4,%r5
;get_meta+224
	bwltu %r2,%r4,get_meta+256
	jmp get_meta+320
	nop 0
;get_meta+240
	bdnei %r5,63,get_meta+320
	nop 0
	nop 0
;get_meta+256
	bdltui.l %r3,4096,get_meta+304
	srliw %r2,%r2,0
;get_meta+272
	srli %r3,%r3,4
	andi.l %r3,%r3,1152921504606846720
;get_meta+288
	addi %r3,%r3,-1
	bdltu %r3,%r2,get_meta+320
	nop 0
;get_meta+304
	retf 0
	nop 0
	nop 0
;get_meta+320
	halt
	nop 0
	nop 0
;nontrivial_free
	allocsp 16,48
	lddz %r9,%r2,32
	ldwz %r5,%r2,28
;nontrivial_free+16
	ldwz %r7,%r2,24
	ldi %r4,1
	sllw %r3,%r4,%r3
;nontrivial_free+32
	slsrli %r6,%r9,52,58
	or %r7,%r7,%r5
	bbci %r9,5,nontrivial_free+368
;nontrivial_free+48
	addws %r8,%r7,%r3
	andi %r10,%r9,31
	ldi %r5,2
;nontrivial_free+64
	sllw %r10,%r5,%r10
	addiws %r10,%r10,-1
	bwne %r8,%r10,nontrivial_free+368
;nontrivial_free+80
	bwgeui %r6,48,nontrivial_free+272
	andi %r8,%r9,31
	ldafr %r10,__malloc_size_classes
;nontrivial_free+96
	bdltui.l %r9,4096,nontrivial_free+144
	bdne %r8,%gz,nontrivial_free+144
;nontrivial_free+112
	andi %r11,%r9,-4096
	addi %r11,%r11,-16
	nop 2
;nontrivial_free+128
	bdgeui.l %r9,4096,nontrivial_free+176
	jmp nontrivial_free+272
;nontrivial_free+144
	srli %r11,%r9,5
	andi %r11,%r11,126
	ldhzx.xd %r11,%r11,%r10,0,0
;nontrivial_free+160
	slli %r11,%r11,4
	bdltui.l %r9,4096,nontrivial_free+272
;nontrivial_free+176
	ldhzx.xuw %r9,%r10,%r6,1,0
	slli %r9,%r9,4
	bdltu %r11,%r9,nontrivial_free+272
;nontrivial_free+192
	lddz %r9,%r2,8
	bdne %r9,%r2,nontrivial_free+272
	addiws %r9,%r6,-7
;nontrivial_free+208
	bwgeui %r9,32,nontrivial_free+272
	ldafr %r10,__malloc_context+880
	ldbzx.xuw %r9,%r10,%r9,0,0
;nontrivial_free+224
	bwltui %r9,100,nontrivial_free+272
	srliw %r9,%r6,0
	ldafr %r10,__malloc_context+464
;nontrivial_free+240
	lddzx.xd %r9,%r10,%r9,3,0
	muli %r10,%r8,9
	addi %r10,%r10,9
;nontrivial_free+256
	bdltu %r9,%r10,nontrivial_free+368
	bdgeui %r8,19,nontrivial_free+368
	nop 0
;nontrivial_free+272
	lddz %r7,%r2,8
	bdeq %r7,%gz,nontrivial_free+624
	bwgeui %r6,48,nontrivial_free+1152
;nontrivial_free+288
	ldafr %r8,__malloc_context+80
	ldax.xuw %r3,%r8,%r6,3,0
	lddzx.xuw %r6,%r8,%r6,3,0
;nontrivial_free+304
	bdeq %r7,%r2,nontrivial_free+464
	lddz %r8,%r2,0
	std %r7,%r8,8
;nontrivial_free+320
	lddz %r7,%r2,0
	lddz %r8,%r2,8
	std %r7,%r8,0
;nontrivial_free+336
	lddz %r7,%r3,0
	bdne %r7,%r2,nontrivial_free+496
	lddz %r7,%r2,8
;nontrivial_free+352
	jmp nontrivial_free+480
	nop 0
	nop 0
;nontrivial_free+368
	bwne %r7,%gz,nontrivial_free+1120
	bwgeui %r6,48,nontrivial_free+1152
	ldafr %r5,__malloc_context+80
;nontrivial_free+384
	ldax.xuw %r4,%r5,%r6,3,0
	lddzx.xuw %r5,%r5,%r6,3,0
	bdeq %r5,%r2,nontrivial_free+1120
;nontrivial_free+400
	lddz %r6,%r2,8
	bdne %r6,%gz,nontrivial_free+1152
	lddz %r6,%r2,0
;nontrivial_free+416
	bdne %r6,%gz,nontrivial_free+1152
	bdeq %r5,%gz,nontrivial_free+1088
	std %r5,%r2,8
;nontrivial_free+432
	lddz %r4,%r5,0
	std %r4,%r2,0
	std %r2,%r4,8
;nontrivial_free+448
	lddz %r4,%r2,8
	jmp nontrivial_free+1104
	nop 0
;nontrivial_free+464
	mov %r7,%gz
	nop 0
	nop 0
;nontrivial_free+480
	std %r7,%r3,0
	nop 0
	nop 0
;nontrivial_free+496
	std %gz,%r2,8
	std %gz,%r2,0
	bdne %r6,%r2,nontrivial_free+624
;nontrivial_free+512
	lddz %r3,%r3,0
	bdeq %r3,%gz,nontrivial_free+624
	ldwz %r6,%r3,24
;nontrivial_free+528
	bwne %r6,%gz,nontrivial_free+1152
	lddz %r6,%r3,16
	ldbz %r6,%r6,8
;nontrivial_free+544
	andi %r6,%r6,31
	sllw %r5,%r5,%r6
	subfiws %r6,%r5,0
;nontrivial_free+560
	addi %r8,%r3,28
	nop 0
	nop 0
;nontrivial_free+576
	ldwz %r7,%r3,28
	and %r9,%r7,%r6
	fence.seq_cst
;nontrivial_free+592
	casw.relaxed %r9,%r8,%r7
	bwne %r9,%r7,nontrivial_free+576
	addiws %r5,%r5,-1
;nontrivial_free+608
	and %r5,%r7,%r5
	stw %r5,%r3,24
	nop 0
;nontrivial_free+624
	std %gz,%r1,8
	std %gz,%r1,0
	lddz %r5,%r2,32
;nontrivial_free+640
	slsrli %r3,%r5,52,58
	bwgeui %r3,48,nontrivial_free+688
	ldafr %r6,__malloc_context+464
;nontrivial_free+656
	lddzx.xuw %r7,%r6,%r3,3,0
	orni %r5,%r5,-32
	add %r5,%r7,%r5
;nontrivial_free+672
	stdx.xuw %r5,%r6,%r3,3,0
	lddz %r5,%r2,32
	nop 0
;nontrivial_free+688
	bdgeui.l %r5,4096,nontrivial_free+768
	lddz %r3,%r2,16
;nontrivial_free+704
	mov %r15,%r3
	callr %r14,get_meta
	ldbz %r3,%r3,-3
;nontrivial_free+720
	lddz %r4,%r2,16
	mov %r14,%r15
	andi %r15,%r3,31
;nontrivial_free+736
	std %gz,%r4,0
	mov %r13,%r1
	callr %r12,nontrivial_free
;nontrivial_free+752
	jmp nontrivial_free+896
	nop 0
	nop 0
;nontrivial_free+768
	ldbzr %r5,__malloc_context+912
	bweqi %r5,255,nontrivial_free+800
	addiws %r4,%r5,1
;nontrivial_free+784
	jmp nontrivial_free+832
	nop 0
	nop 0
;nontrivial_free+800
	mov %r5,%gz
	ldafr %r6,__malloc_context+848
	nop 0
;nontrivial_free+816
	stbx.xd %gz,%r5,%r6,0,0
	addi %r5,%r5,1
	bdnei %r5,32,nontrivial_free+816
;nontrivial_free+832
	addiws %r3,%r3,-7
	stbr %r4,__malloc_context+912
	bwgeui %r3,32,nontrivial_free+864
;nontrivial_free+848
	ldafr %r5,__malloc_context+848
	stbx.xuw %r4,%r5,%r3,0,0
	nop 0
;nontrivial_free+864
	lddz %r3,%r2,16
	std %r3,%r1,0
	lddz %r3,%r2,32
;nontrivial_free+880
	andi %r3,%r3,-4096
	std %r3,%r1,8
	nop 0
;nontrivial_free+896
	stq %gz,%sp,0
	std %gz,%sp,32
	stq %gz,%sp,16
;nontrivial_free+912
	addi %r1,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;nontrivial_free+928
	std %r1,%r2,8
	lddz %r1,%sp,32
	std %r1,%r2,32
;nontrivial_free+944
	lddz %r1,%sp,24
	std %r1,%r2,24
	lddz %r1,%sp,16
;nontrivial_free+960
	std %r1,%r2,16
	lddz %r1,%sp,0
	std %r1,%r2,0
;nontrivial_free+976
	lddz %r1,%r2,8
	bdne %r1,%gz,nontrivial_free+1152
	lddz %r1,%r2,0
;nontrivial_free+992
	bdne %r1,%gz,nontrivial_free+1152
	lddzr %r1,__malloc_context+16
	bdeq %r1,%gz,nontrivial_free+1056
;nontrivial_free+1008
	std %r1,%r2,8
	lddz %r1,%r1,0
	std %r1,%r2,0
;nontrivial_free+1024
	std %r2,%r1,8
	lddz %r1,%r2,8
	std %r2,%r1,0
;nontrivial_free+1040
	retf 48
	nop 0
	nop 0
;nontrivial_free+1056
	std %r2,%r2,8
	std %r2,%r2,0
	ldafr %r1,__malloc_context+16
;nontrivial_free+1072
	std %r2,%r1,0
	retf 48
	nop 0
;nontrivial_free+1088
	std %r2,%r2,8
	std %r2,%r2,0
	nop 0
;nontrivial_free+1104
	std %r2,%r4,0
	nop 0
	nop 0
;nontrivial_free+1120
	fence.seq_cst
	addi %r2,%r2,28
	ldorw.relaxed %r2,%r2,%r3
;nontrivial_free+1136
	std %gz,%r1,0
	std %gz,%r1,8
	retf 48
;nontrivial_free+1152
	halt
	nop 0
	nop 0
;__malloc_atfork
	alloc 4
	bwlti %r1,0,__malloc_atfork+32
	bweq %r1,%gz,__malloc_atfork+64
;__malloc_atfork+16
	stwr %gz,__malloc_lock
	retf 0
	nop 0
;__malloc_atfork+32
	ldbzr %r1,__libc+3
	bweq %r1,%gz,__malloc_atfork+80
	ldafr %r3,__malloc_lock
;__malloc_atfork+48
	callr %r2,__lock
	retf 0
	nop 0
;__malloc_atfork+64
	ldafr %r3,__malloc_lock
	callr %r2,__unlock
	nop 0
;__malloc_atfork+80
	retf 0
	nop 0
	nop 0
;__malloc_alloc_meta
	allocsp 14,16
	ldwzr %r1,__malloc_context+8
	bweq %r1,%gz,__malloc_alloc_meta+96
;__malloc_alloc_meta+16
	lddzr %r1,__malloc_context+16
	bdeq %r1,%gz,__malloc_alloc_meta+240
	nop 0
;__malloc_alloc_meta+32
	lddz %r2,%r1,8
	bdeq %r2,%r1,__malloc_alloc_meta+272
	lddz %r3,%r1,0
;__malloc_alloc_meta+48
	std %r2,%r3,8
	lddz %r2,%r1,0
	lddz %r3,%r1,8
;__malloc_alloc_meta+64
	std %r2,%r3,0
	lddzr %r2,__malloc_context+16
	bdne %r2,%r1,__malloc_alloc_meta+864
;__malloc_alloc_meta+80
	lddz %r2,%r1,8
	stdr %r2,__malloc_context+16
	jmp __malloc_alloc_meta+864
;__malloc_alloc_meta+96
	mov %r4,%gz
	addi %r1,%sp,8
	nop 2
;__malloc_alloc_meta+112
	muli.l %r2,%r1,1103515245
	std %r2,%sp,8
;__malloc_alloc_meta+128
	lddzr %r3,__libc+8
	ldi %r2,8
	jmp __malloc_alloc_meta+192
;__malloc_alloc_meta+144
	lddzx.xd %r3,%r3,%r4,0,8
	addi %r12,%r3,8
	mov2 %r11,%r13,%r1,%r2
;__malloc_alloc_meta+160
	callr %r10,memcpy
	lddzr %r3,__libc+8
	nop 0
;__malloc_alloc_meta+176
	addi %r4,%r4,16
	nop 0
	nop 0
;__malloc_alloc_meta+192
	lddzx.xd %r5,%r3,%r4,0,0
	bdeqi %r5,25,__malloc_alloc_meta+144
	bdne %r5,%gz,__malloc_alloc_meta+176
;__malloc_alloc_meta+208
	lddz %r1,%sp,8
	stdr %r1,__malloc_context
	ldi %r1,1
;__malloc_alloc_meta+224
	stwr %r1,__malloc_context+8
	lddzr %r1,__malloc_context+16
	bdne %r1,%gz,__malloc_alloc_meta+32
;__malloc_alloc_meta+240
	lddzr %r2,__malloc_context+32
	bdeq %r2,%gz,__malloc_alloc_meta+288
	lddzr %r1,__malloc_context+24
;__malloc_alloc_meta+256
	addi %r2,%r2,-1
	jmp __malloc_alloc_meta+848
	nop 0
;__malloc_alloc_meta+272
	stdr %gz,__malloc_context+16
	jmp __malloc_alloc_meta+864
	nop 0
;__malloc_alloc_meta+288
	lddzr %r1,__malloc_context+40
	bdne %r1,%gz,__malloc_alloc_meta+544
	lddzr %r2,__malloc_context+920
;__malloc_alloc_meta+304
	bdeqi %r2,-1,__malloc_alloc_meta+544
	bdeq %r2,%gz,__malloc_alloc_meta+368
	addi %r1,%r2,4096
;__malloc_alloc_meta+320
	ldi %r7,12
	mov2 %r8,%r9,%r1,%gz
	mov2 %r10,%r11,%gz,%gz
;__malloc_alloc_meta+336
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
	bdeq %r7,%r1,__malloc_alloc_meta+496
;__malloc_alloc_meta+352
	jmp __malloc_alloc_meta+528
	nop 0
	nop 0
;__malloc_alloc_meta+368
	ldi %r2,12
	mov2 %r7,%r8,%r2,%gz
	mov2 %r9,%r10,%gz,%gz
;__malloc_alloc_meta+384
	mov2 %r11,%r12,%gz,%gz
	mov %r13,%gz
	callr %r6,__syscall_postrisc
;__malloc_alloc_meta+400
	subfi %r1,%r7,0
	andi %r1,%r1,4095
	add %r3,%r1,%r7
;__malloc_alloc_meta+416
	stdr %r3,__malloc_context+920
	ldax.xd.l %r1,%r1,%r7,0,8192
;__malloc_alloc_meta+432
	mov2 %r7,%r8,%r2,%r1
	mov2 %r9,%r10,%gz,%gz
	mov2 %r11,%r12,%gz,%gz
;__malloc_alloc_meta+448
	mov %r13,%gz
	callr %r6,__syscall_postrisc
	bdne %r7,%r1,__malloc_alloc_meta+528
;__malloc_alloc_meta+464
	lddzr %r8,__malloc_context+920
	ldi %r9,4096
	ldi %r11,50
;__malloc_alloc_meta+480
	ldi %r12,-1
	mov2 %r10,%r13,%gz,%gz
	callr %r7,mmap
;__malloc_alloc_meta+496
	stdr %r1,__malloc_context+920
	addi %r2,%r1,-4096
	ldi %r1,1
;__malloc_alloc_meta+512
	stdr %r1,__malloc_context+40
	jmp __malloc_alloc_meta+736
	nop 0
;__malloc_alloc_meta+528
	ldi %r1,-1
	stdr %r1,__malloc_context+920
	lddzr %r1,__malloc_context+40
;__malloc_alloc_meta+544
	bdeq %r1,%gz,__malloc_alloc_meta+576
	lddzr %r2,__malloc_context+72
	nop 2
;__malloc_alloc_meta+560
	bmany.l %r2,4095,__malloc_alloc_meta+736
	jmp __malloc_alloc_meta+688
;__malloc_alloc_meta+576
	lddzr %r2,__malloc_context+48
	ldi %r1,8192
	sll %r9,%r1,%r2
;__malloc_alloc_meta+592
	ldi %r11,34
	ldi %r12,-1
	mov2 %r8,%r10,%gz,%gz
;__malloc_alloc_meta+608
	mov %r13,%gz
	callr %r7,mmap
	mov %r1,%gz
;__malloc_alloc_meta+624
	bdeqi %r8,-1,__malloc_alloc_meta+880
	ldi %r1,2
	sll %r1,%r1,%r2
;__malloc_alloc_meta+640
	addi %r2,%r8,4096
	stdr %r2,__malloc_context+72
	addi %r1,%r1,-1
;__malloc_alloc_meta+656
	stdr %r1,__malloc_context+40
	lddzr %r1,__malloc_context+48
	addi %r1,%r1,1
;__malloc_alloc_meta+672
	stdr %r1,__malloc_context+48
	bmany.l %r2,4095,__malloc_alloc_meta+736
;__malloc_alloc_meta+688
	ldi %r12,4096
	ldi %r13,3
	mov %r11,%r2
;__malloc_alloc_meta+704
	callr %r10,mprotect
	bweq %r11,%gz,__malloc_alloc_meta+736
	callr %r12,__errno_location
;__malloc_alloc_meta+720
	ldwz %r3,%r13,0
	mov %r1,%gz
	bwnei %r3,38,__malloc_alloc_meta+880
;__malloc_alloc_meta+736
	lddzr %r1,__malloc_context+40
	addi %r1,%r1,-1
	stdr %r1,__malloc_context+40
;__malloc_alloc_meta+752
	addi %r1,%r2,4096
	stdr %r1,__malloc_context+72
	lddzr %r1,__malloc_context+64
;__malloc_alloc_meta+768
	bdeq %r1,%gz,__malloc_alloc_meta+784
	std %r2,%r1,8
	jmp __malloc_alloc_meta+800
;__malloc_alloc_meta+784
	stdr %r2,__malloc_context+56
	nop 0
	nop 0
;__malloc_alloc_meta+800
	stdr %r2,__malloc_context+64
	lddzr %r1,__malloc_context
	std %r1,%r2,0
;__malloc_alloc_meta+816
	lddzr %r1,__malloc_context+64
	ldi %r2,101
	stw %r2,%r1,16
;__malloc_alloc_meta+832
	lddzr %r1,__malloc_context+64
	addi %r1,%r1,24
	ldi %r2,100
;__malloc_alloc_meta+848
	stdr %r2,__malloc_context+32
	addi %r2,%r1,40
	stdr %r2,__malloc_context+24
;__malloc_alloc_meta+864
	std %gz,%r1,8
	std %gz,%r1,0
	nop 0
;__malloc_alloc_meta+880
	retf 16
	nop 0
	nop 0
;__libc_malloc_impl
	alloc 15
	ldi.l %r2,9223372036854771711
;__libc_malloc_impl+16
	bdltu %r1,%r2,__libc_malloc_impl+64
	callr %r13,__errno_location
	mov %r11,%gz
;__libc_malloc_impl+32
	ldi %r1,12
	stw %r1,%r14,0
	mov %r1,%r11
;__libc_malloc_impl+48
	retf 0
	nop 0
	nop 0
;__libc_malloc_impl+64
	bdltui.l %r1,131052,__libc_malloc_impl+176
	addi %r2,%r1,20
;__libc_malloc_impl+80
	ldi %r11,3
	ldi %r12,34
	ldi %r13,-1
;__libc_malloc_impl+96
	mov2 %r9,%r10,%gz,%r2
	mov %r14,%gz
	callr %r8,mmap
;__libc_malloc_impl+112
	mov %r11,%gz
	bdeqi %r9,-1,__libc_malloc_impl+784
	ldbzr %r3,__libc+3
;__libc_malloc_impl+128
	bweq %r3,%gz,__libc_malloc_impl+144
	ldafr %r14,__malloc_lock
	callr %r13,__lock
;__libc_malloc_impl+144
	ldbzr %r3,__malloc_context+912
	bweqi %r3,255,__libc_malloc_impl+624
	addiws %r3,%r3,1
;__libc_malloc_impl+160
	jmp __libc_malloc_impl+656
	nop 0
	nop 0
;__libc_malloc_impl+176
	addi %r2,%r1,3
	srli %r2,%r2,4
	bdltui %r1,157,__libc_malloc_impl+336
;__libc_malloc_impl+192
	addiws %r3,%r2,1
	srliw %r4,%r3,1
	srliw %r3,%r3,2
;__libc_malloc_impl+208
	or %r3,%r4,%r3
	srliw %r4,%r3,2
	or %r3,%r4,%r3
;__libc_malloc_impl+224
	srliw %r4,%r3,4
	or %r3,%r4,%r3
	srliw %r4,%r3,8
;__libc_malloc_impl+240
	or %r3,%r4,%r3
	addiws %r3,%r3,1
	cnttz %r3,%r3,31
;__libc_malloc_impl+256
	ldi %r4,124
	slxor %r3,%r4,%r3,2
	subfiws %r4,%r3,121
;__libc_malloc_impl+272
	ldafr %r5,__malloc_size_classes
	ldhzx.xw %r4,%r5,%r4,1,0
	cmpdltu %r4,%r2,%r4
;__libc_malloc_impl+288
	ldi %r6,122
	ldi %r7,120
	cmovlsb %r4,%r4,%r7,%r6
;__libc_malloc_impl+304
	subws %r3,%r4,%r3
	ldhzx.xw %r4,%r5,%r3,1,0
	cmpdleu %r2,%r4,%r2
;__libc_malloc_impl+320
	or %r2,%r3,%r2
	nop 0
	nop 0
;__libc_malloc_impl+336
	ldbzr %r3,__libc+3
	bweq %r3,%gz,__libc_malloc_impl+368
	ldafr %r14,__malloc_lock
;__libc_malloc_impl+352
	callr %r13,__lock
	nop 0
	nop 0
;__libc_malloc_impl+368
	ldafr %r4,__malloc_context+80
	lddzx.xw %r11,%r4,%r2,3,0
	bdne %r11,%gz,__libc_malloc_impl+512
;__libc_malloc_impl+384
	bweqi %r2,6,__libc_malloc_impl+512
	addiws %r3,%r2,-4
	bwgeui %r3,28,__libc_malloc_impl+512
;__libc_malloc_impl+400
	bbsi %r2,0,__libc_malloc_impl+528
	sraiw %r3,%r2,0
	ldafr %r5,__malloc_context+464
;__libc_malloc_impl+416
	lddzx.xd %r3,%r5,%r3,3,0
	bdne %r3,%gz,__libc_malloc_impl+528
	ori %r3,%r2,1
;__libc_malloc_impl+432
	lddzx.xuw %r6,%r4,%r3,3,0
	lddzx.xuw %r5,%r5,%r3,3,0
	bdeq %r6,%gz,__libc_malloc_impl+480
;__libc_malloc_impl+448
	ldwz %r7,%r6,24
	bwne %r7,%gz,__libc_malloc_impl+496
	ldwz %r6,%r6,28
;__libc_malloc_impl+464
	bwne %r6,%gz,__libc_malloc_impl+496
	nop 0
	nop 0
;__libc_malloc_impl+480
	addi %r5,%r5,3
	nop 0
	nop 0
;__libc_malloc_impl+496
	cmpdltui %r5,%r5,13
	cmovlsb %r2,%r5,%r3,%r2
	lddzx.xuw %r11,%r4,%r2,3,0
;__libc_malloc_impl+512
	bdeq %r11,%gz,__libc_malloc_impl+528
	ldwz %r3,%r11,24
	jmp __libc_malloc_impl+544
;__libc_malloc_impl+528
	mov2 %r11,%r3,%gz,%gz
	nop 0
	nop 0
;__libc_malloc_impl+544
	subfiws %r5,%r3,0
	and %r5,%r3,%r5
	bweq %r5,%gz,__libc_malloc_impl+592
;__libc_malloc_impl+560
	subws %r2,%r3,%r5
	stw %r2,%r11,24
	cnttz %r12,%r3,31
;__libc_malloc_impl+576
	jmp __libc_malloc_impl+752
	nop 0
	nop 0
;__libc_malloc_impl+592
	mov2 %r13,%r14,%r2,%r1
	callr %r12,alloc_slot
	bwlti %r13,0,__libc_malloc_impl+832
;__libc_malloc_impl+608
	mov %r12,%r13
	lddzx.xw %r11,%r4,%r2,3,0
	jmp __libc_malloc_impl+752
;__libc_malloc_impl+624
	mov %r4,%gz
	ldafr %r5,__malloc_context+848
	ldi %r3,1
;__libc_malloc_impl+640
	stbx.xd %gz,%r4,%r5,0,0
	addi %r4,%r4,1
	bdnei %r4,32,__libc_malloc_impl+640
;__libc_malloc_impl+656
	stbr %r3,__malloc_context+912
	callr %r13,__malloc_alloc_meta
	bdeq %r14,%gz,__libc_malloc_impl+800
;__libc_malloc_impl+672
	mov %r11,%r14
	std %r9,%r11,16
	std %r11,%r9,0
;__libc_malloc_impl+688
	addi %r2,%r1,4115
	andi %r2,%r2,-4096
	ori %r2,%r2,4064
;__libc_malloc_impl+704
	std %r2,%r11,32
	stw %gz,%r11,28
	stw %gz,%r11,24
;__libc_malloc_impl+720
	ldwzr %r2,__malloc_context+12
	mov %r12,%gz
	addiws %r2,%r2,1
;__libc_malloc_impl+736
	stwr %r2,__malloc_context+12
	nop 0
	nop 0
;__libc_malloc_impl+752
	ldwzr %r2,__malloc_context+12
	ldafr %r14,__malloc_lock
	callr %r13,__unlock
;__libc_malloc_impl+768
	mov2 %r13,%r14,%r1,%r2
	callr %r10,enframe
	nop 0
;__libc_malloc_impl+784
	mov %r1,%r11
	retf 0
	nop 0
;__libc_malloc_impl+800
	ldafr %r14,__malloc_lock
	callr %r13,__unlock
	mov2 %r13,%r14,%r9,%r2
;__libc_malloc_impl+816
	callr %r12,__munmap
	mov2 %r11,%r1,%gz,%gz
	retf 0
;__libc_malloc_impl+832
	ldafr %r14,__malloc_lock
	callr %r13,__unlock
	mov2 %r11,%r1,%gz,%gz
;__libc_malloc_impl+848
	retf 0
	nop 0
	nop 0
;alloc_slot
	allocsp 28,48
	ldafr %r9,__malloc_context+80
	ldax.xw %r5,%r9,%r1,3,0
;alloc_slot+16
	lddzx.xw %r3,%r9,%r1,3,0
	bdeq %r3,%gz,alloc_slot+560
	ldwz %r4,%r3,24
;alloc_slot+32
	bwne %r4,%gz,alloc_slot+512
	ldwz %r6,%r3,28
	lddz %r4,%r3,8
;alloc_slot+48
	bweq %r6,%gz,alloc_slot+64
	std %r4,%r5,0
	jmp alloc_slot+192
;alloc_slot+64
	bdeq %r4,%r3,alloc_slot+128
	lddz %r6,%r3,0
	std %r4,%r6,8
;alloc_slot+80
	lddz %r4,%r3,0
	lddz %r6,%r3,8
	std %r4,%r6,0
;alloc_slot+96
	lddz %r4,%r5,0
	bdne %r4,%r3,alloc_slot+160
	lddz %r4,%r3,8
;alloc_slot+112
	jmp alloc_slot+144
	nop 0
	nop 0
;alloc_slot+128
	mov %r4,%gz
	nop 0
	nop 0
;alloc_slot+144
	std %r4,%r5,0
	nop 0
	nop 0
;alloc_slot+160
	std %gz,%r3,8
	std %gz,%r3,0
	lddz %r4,%r5,0
;alloc_slot+176
	bdeq %r4,%gz,alloc_slot+560
	nop 0
	nop 0
;alloc_slot+192
	ldwz %r3,%r4,28
	lddz %r7,%r4,32
	ldi %r6,2
;alloc_slot+208
	bbci %r7,5,alloc_slot+256
	andi %r7,%r7,31
	sllw %r7,%r6,%r7
;alloc_slot+224
	addiws %r7,%r7,-1
	bwne %r3,%r7,alloc_slot+256
	lddz %r4,%r4,8
;alloc_slot+240
	std %r4,%r5,0
	ldwz %r3,%r4,28
	nop 0
;alloc_slot+256
	lddz %r7,%r4,16
	ldbz %r8,%r7,8
	andi %r10,%r8,31
;alloc_slot+272
	sllw %r11,%r6,%r10
	addiws %r11,%r11,-1
	and %r3,%r11,%r3
;alloc_slot+288
	bweq %r3,%gz,alloc_slot+336
	nop 0
	nop 0
;alloc_slot+304
	mov %r3,%r4
	ldwz %r4,%r3,24
	bweq %r4,%gz,alloc_slot+368
;alloc_slot+320
	jmp alloc_slot+2576
	nop 0
	nop 0
;alloc_slot+336
	lddz %r3,%r4,8
	bdeq %r3,%r4,alloc_slot+1680
	std %r3,%r5,0
;alloc_slot+352
	ldwz %r4,%r3,24
	bwne %r4,%gz,alloc_slot+2576
	nop 0
;alloc_slot+368
	lddz %r4,%r3,16
	ldbz %r4,%r4,8
	andi %r4,%r4,31
;alloc_slot+384
	sllw %r4,%r6,%r4
	subfiws %r6,%r4,0
	addi %r8,%r3,28
;alloc_slot+400
	ldwz %r7,%r3,28
	and %r10,%r7,%r6
	fence.seq_cst
;alloc_slot+416
	casw.relaxed %r10,%r8,%r7
	bwne %r10,%r7,alloc_slot+400
	addiws %r4,%r4,-1
;alloc_slot+432
	and %r4,%r7,%r4
	stw %r4,%r3,24
	bweq %r4,%gz,alloc_slot+2576
;alloc_slot+448
	ldwz %r6,%r3,32
	slsrli %r6,%r6,52,58
	addiws %r6,%r6,-7
;alloc_slot+464
	bwgeui %r6,32,alloc_slot+512
	ldafr %r7,__malloc_context+880
	ldbzx.xuw %r8,%r7,%r6,0,0
;alloc_slot+480
	bweq %r8,%gz,alloc_slot+512
	srliw %r6,%r6,0
	addiws %r8,%r8,-1
;alloc_slot+496
	stbx.xd %r8,%r6,%r7,0,0
	nop 0
	nop 0
;alloc_slot+512
	subfiws %r6,%r4,0
	and %r6,%r4,%r6
	subws %r7,%r4,%r6
;alloc_slot+528
	stw %r7,%r3,24
	bweq %r6,%gz,alloc_slot+560
	cnttz %r1,%r4,31
;alloc_slot+544
	retf 48
	nop 0
	nop 0
;alloc_slot+560
	sraiw %r6,%r1,0
	ldafr %r14,__malloc_size_classes
	ldhzx.xd %r7,%r14,%r6,1,0
;alloc_slot+576
	callr %r26,__malloc_alloc_meta
	ldi %r4,-1
	bdeq %r27,%gz,alloc_slot+2416
;alloc_slot+592
	mov %r3,%r27
	slli %r8,%r7,4
	ldafr %r7,__malloc_context+464
;alloc_slot+608
	lddzx.xd %r12,%r7,%r6,3,0
	ldi %r11,1
	bwgei %r1,9,alloc_slot+736
;alloc_slot+624
	mov2 %r17,%r19,%gz,%gz
	ldi %r10,3
	ldafr %r13,small_cnt_tab
;alloc_slot+640
	ldi %r16,1
	nop 0
	nop 0
;alloc_slot+656
	mov %r15,%r19
	muladd %r18,%r6,%r10,%r19
	ldbzx.xd %r18,%r18,%r13,0,0
;alloc_slot+672
	slli %r18,%r18,2
	bdleu %r18,%r12,alloc_slot+704
	mov2 %r20,%r17,%r17,%r16
;alloc_slot+688
	mov %r19,%r16
	bbci %r20,0,alloc_slot+656
	nop 0
;alloc_slot+704
	cmpdleu %r16,%r18,%r12
	ldi %r17,2
	cmovlsb %r15,%r16,%r15,%r17
;alloc_slot+720
	muladd %r10,%r6,%r10,%r15
	ldbzx.xd %r13,%r10,%r13,0,0
	jmp alloc_slot+848
;alloc_slot+736
	andi %r10,%r1,3
	ldafr %r13,med_cnt_tab
	ldbzx.xd %r10,%r10,%r13,0,0
;alloc_slot+752
	bbsi %r10,0,alloc_slot+816
	nop 0
	nop 0
;alloc_slot+768
	mov %r13,%r10
	slliw %r10,%r10,2
	bdleu %r10,%r12,alloc_slot+800
;alloc_slot+784
	srliw %r10,%r13,1
	bbci %r13,1,alloc_slot+768
	jmp alloc_slot+816
;alloc_slot+800
	mov %r10,%r13
	nop 0
	nop 0
;alloc_slot+816
	mov %r13,%r10
	srliw %r10,%r10,0
	mul %r15,%r8,%r10
;alloc_slot+832
	srliw %r10,%r13,1
	bdgeui.l %r15,1048576,alloc_slot+816
;alloc_slot+848
	cmpwltui %r15,%r1,24
	ldi %r10,2
	cmpweqi %r16,%r13,1
;alloc_slot+864
	cmovlsb %r15,%r15,%r10,%r11
	cmovlsb %r13,%r16,%r15,%r13
	srliw %r15,%r13,0
;alloc_slot+880
	mul %r15,%r8,%r15
	bdltui %r15,2033,alloc_slot+1008
	addiws %r9,%r1,-7
;alloc_slot+896
	bwgeui %r9,32,alloc_slot+1296
	ldafr %r16,__malloc_context+880
	ldbzx.xuw %r17,%r16,%r9,0,0
;alloc_slot+912
	ldafr %r4,__malloc_context+848
	ldbzx.xuw %r18,%r4,%r9,0,0
	cmpwgtui %r4,%r17,99
;alloc_slot+928
	bweq %r18,%gz,alloc_slot+992
	ldbzr %r14,__malloc_context+912
	subws %r18,%r14,%r18
;alloc_slot+944
	bwgei %r18,10,alloc_slot+1488
	cmpwltui %r14,%r17,99
	addiws %r17,%r17,1
;alloc_slot+960
	ldi %r18,-106
	srliw %r9,%r9,0
	cmovlsb %r14,%r14,%r17,%r18
;alloc_slot+976
	stbx.xd %r14,%r9,%r16,0,0
	nop 0
	nop 0
;alloc_slot+992
	mov %r9,%r4
	jmp alloc_slot+1312
	nop 0
;alloc_slot+1008
	ori %r27,%r15,12
	srli %r1,%r15,4
	bdltui %r27,157,alloc_slot+1152
;alloc_slot+1024
	addiws %r2,%r1,1
	srliw %r11,%r2,1
	srliw %r2,%r2,2
;alloc_slot+1040
	or %r2,%r11,%r2
	srliw %r11,%r2,2
	or %r2,%r11,%r2
;alloc_slot+1056
	srliw %r11,%r2,4
	or %r2,%r11,%r2
	srliw %r11,%r2,8
;alloc_slot+1072
	or %r2,%r11,%r2
	addiws %r2,%r2,1
	cnttz %r2,%r2,31
;alloc_slot+1088
	ldi %r11,124
	slxor %r2,%r11,%r2,2
	subfiws %r11,%r2,121
;alloc_slot+1104
	ldhzx.xw %r11,%r14,%r11,1,0
	cmpdltu %r11,%r1,%r11
	ldi %r12,122
;alloc_slot+1120
	ldi %r15,120
	cmovlsb %r11,%r11,%r15,%r12
	subws %r2,%r11,%r2
;alloc_slot+1136
	ldhzx.xw %r11,%r14,%r2,1,0
	cmpdleu %r1,%r11,%r1
	or %r1,%r2,%r1
;alloc_slot+1152
	mov %r26,%r1
	callr %r25,alloc_slot
	bwlti %r26,0,alloc_slot+1344
;alloc_slot+1168
	ldhzx.xw %r2,%r14,%r1,1,0
	ldi %r4,-4
	lddzx.xw %r24,%r9,%r1,3,0
;alloc_slot+1184
	sladdws %r1,%r4,%r2,4
	ldwzr %r27,__malloc_context+12
	mov2 %r25,%r26,%r26,%r1
;alloc_slot+1200
	callr %r23,enframe
	lddz %r1,%r3,32
	mov %r22,%r24
;alloc_slot+1216
	andi %r1,%r1,4095
	std %r1,%r3,32
	ldbz %r1,%r24,-3
;alloc_slot+1232
	andi %r1,%r1,31
	ori %r1,%r1,192
	stb %r1,%r24,-3
;alloc_slot+1248
	addiwz %r1,%r13,1
	ldi %r2,12
	nop 0
;alloc_slot+1264
	stbx.xd %gz,%r22,%r2,0,0
	addi %r1,%r1,-1
	add %r2,%r2,%r8
;alloc_slot+1280
	bdne %r1,%gz,alloc_slot+1264
	mov %r9,%r13
	jmp alloc_slot+2128
;alloc_slot+1296
	mov2 %r4,%r9,%gz,%gz
	nop 0
	nop 0
;alloc_slot+1312
	ldbzr %r14,__malloc_context+912
	andi %r16,%r14,255
	bweqi %r16,255,alloc_slot+1504
;alloc_slot+1328
	addiws %r14,%r14,1
	jmp alloc_slot+1536
	nop 0
;alloc_slot+1344
	stq %gz,%sp,0
	std %gz,%sp,32
	stq %gz,%sp,16
;alloc_slot+1360
	addi %r1,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;alloc_slot+1376
	std %r1,%r3,8
	lddz %r1,%sp,32
	std %r1,%r3,32
;alloc_slot+1392
	lddz %r1,%sp,24
	std %r1,%r3,24
	lddz %r1,%sp,16
;alloc_slot+1408
	std %r1,%r3,16
	lddz %r1,%sp,0
	std %r1,%r3,0
;alloc_slot+1424
	lddz %r1,%r3,8
	bdne %r1,%gz,alloc_slot+2576
	lddz %r1,%r3,0
;alloc_slot+1440
	bdne %r1,%gz,alloc_slot+2576
	lddzr %r1,__malloc_context+16
	bdeq %r1,%gz,alloc_slot+2544
;alloc_slot+1456
	std %r1,%r3,8
	lddz %r1,%r1,0
	std %r1,%r3,0
;alloc_slot+1472
	std %r3,%r1,8
	lddz %r1,%r3,8
	jmp alloc_slot+2560
;alloc_slot+1488
	mov %r9,%r4
	andi %r16,%r14,255
	bwnei %r16,255,alloc_slot+1328
;alloc_slot+1504
	mov %r16,%gz
	ldafr %r17,__malloc_context+848
	ldi %r14,1
;alloc_slot+1520
	stbx.xd %gz,%r16,%r17,0,0
	addi %r16,%r16,1
	bdnei %r16,32,alloc_slot+1520
;alloc_slot+1536
	stbr %r14,__malloc_context+912
	bwgei %r1,32,alloc_slot+1584
	andi %r14,%r1,1
;alloc_slot+1552
	bwne %r14,%gz,alloc_slot+1584
	ori %r14,%r1,1
	lddzx.xw %r14,%r7,%r14,3,0
;alloc_slot+1568
	add %r12,%r14,%r12
	nop 0
	nop 0
;alloc_slot+1584
	slliw %r14,%r13,2
	cmpdleu %r14,%r14,%r12
	or %r9,%r14,%r9
;alloc_slot+1600
	bbci %r9,0,alloc_slot+1616
	mov %r9,%r13
	jmp alloc_slot+1904
;alloc_slot+1616
	andi %r1,%r1,3
	bwnei %r1,1,alloc_slot+1648
	mov %r9,%r10
;alloc_slot+1632
	bdgeui.l %r15,32769,alloc_slot+1904
	nop 0
;alloc_slot+1648
	bwnei %r1,2,alloc_slot+1840
	bdltui.l %r15,16385,alloc_slot+1840
;alloc_slot+1664
	ldi %r9,3
	jmp alloc_slot+1904
	nop 0
;alloc_slot+1680
	lddz %r3,%r4,32
	srli %r11,%r3,5
	andi %r11,%r11,126
;alloc_slot+1696
	ldafr %r12,__malloc_size_classes
	ldhzx.xd %r12,%r11,%r12,0,0
	addiws %r11,%r10,2
;alloc_slot+1712
	slliw %r10,%r12,4
	mulws %r13,%r10,%r11
	ldi %r15,-1
;alloc_slot+1728
	addiws %r14,%r13,16
	sladdws %r12,%r15,%r12,4
	nop 0
;alloc_slot+1744
	mov %r13,%r11
	addws %r11,%r12,%r14
	xor %r15,%r11,%r14
;alloc_slot+1760
	addws %r14,%r14,%r10
	addiws %r11,%r13,1
	nop 2
;alloc_slot+1776
	bwlti.l %r15,4096,alloc_slot+1744
	andi %r3,%r3,31
;alloc_slot+1792
	addiws %r3,%r3,1
	minuw %r3,%r13,%r3
	addiws %r3,%r3,-1
;alloc_slot+1808
	andi %r3,%r3,31
	andi %r8,%r8,224
	or %r3,%r3,%r8
;alloc_slot+1824
	stb %r3,%r7,8
	jmp alloc_slot+304
	nop 0
;alloc_slot+1840
	cmpdgtui %r9,%r15,32768
	ldi %r14,3
	cmovlsb %r9,%r9,%r14,%r13
;alloc_slot+1856
	cmovweq %r9,%r1,%r9,%r13
	bwne %r1,%gz,alloc_slot+1904
	nop 2
;alloc_slot+1872
	bdgeui.l %r15,32769,alloc_slot+1904
	cmpdgtui %r1,%r15,8192
;alloc_slot+1888
	ldi %r9,5
	cmovlsb %r9,%r1,%r9,%r13
	nop 0
;alloc_slot+1904
	srliw %r1,%r9,0
	mul %r1,%r8,%r1
	subfi %r13,%r1,4080
;alloc_slot+1920
	andi %r13,%r13,4080
	ldax.xd %r1,%r1,%r13,0,16
	bwne %r4,%gz,alloc_slot+2016
;alloc_slot+1936
	bwgei %r9,8,alloc_slot+2016
	subfi %r4,%r2,4076
	andi %r4,%r4,4095
;alloc_slot+1952
	ldax.xd %r2,%r2,%r4,0,20
	addi %r4,%r8,16
	bdleu %r4,%r2,alloc_slot+1984
;alloc_slot+1968
	mov2 %r9,%r1,%r11,%r2
	jmp alloc_slot+2016
	nop 0
;alloc_slot+1984
	bdltui.l %r2,16384,alloc_slot+2016
	slliw %r4,%r9,1
;alloc_slot+2000
	bdltu %r12,%r4,alloc_slot+1968
	nop 0
	nop 0
;alloc_slot+2016
	ldi %r24,3
	ldi %r25,34
	ldi %r4,-1
;alloc_slot+2032
	mov2 %r22,%r23,%gz,%r1
	mov2 %r26,%r27,%r4,%gz
	callr %r21,mmap
;alloc_slot+2048
	bdeqi %r22,-1,alloc_slot+2432
	lddz %r2,%r3,32
	andi %r1,%r1,-4096
;alloc_slot+2064
	andi %r2,%r2,4095
	or %r1,%r2,%r1
	std %r1,%r3,32
;alloc_slot+2080
	ldwzr %r1,__malloc_context+12
	addiws %r1,%r1,1
	stwr %r1,__malloc_context+12
;alloc_slot+2096
	ldi %r1,4080
	divu %r1,%r1,%r8
	minsw %r1,%r9,%r1
;alloc_slot+2112
	maxsw %r13,%r1,%r11
	nop 0
	nop 0
;alloc_slot+2128
	sladd %r1,%r7,%r6,3
	lddz %r2,%r1,0
	ldax.xuw %r2,%r2,%r9,0,0
;alloc_slot+2144
	addiws %r4,%r13,-1
	std %r2,%r1,0
	sllw %r1,%r10,%r4
;alloc_slot+2160
	addiws %r1,%r1,-1
	stw %r1,%r3,24
	ldwz %r1,%r3,24
;alloc_slot+2176
	addiws %r2,%r9,-1
	sllw %r7,%r10,%r2
	xori %r1,%r1,-1
;alloc_slot+2192
	addws %r1,%r7,%r1
	stw %r1,%r3,28
	std %r22,%r3,16
;alloc_slot+2208
	std %r3,%r22,0
	lddz %r1,%r3,16
	ldbz %r7,%r1,8
;alloc_slot+2224
	andi %r4,%r4,31
	andi %r7,%r7,224
	or %r4,%r7,%r4
;alloc_slot+2240
	stb %r4,%r1,8
	lddz %r1,%r3,32
	andi %r2,%r2,31
;alloc_slot+2256
	andi %r1,%r1,-4096
	slli %r4,%r6,6
	andi %r4,%r4,4032
;alloc_slot+2272
	or %r2,%r4,%r2
	or %r1,%r2,%r1
	ori %r1,%r1,32
;alloc_slot+2288
	std %r1,%r3,32
	ldwz %r1,%r3,24
	addiws %r1,%r1,-1
;alloc_slot+2304
	stw %r1,%r3,24
	lddz %r1,%r3,8
	bdne %r1,%gz,alloc_slot+2576
;alloc_slot+2320
	lddz %r1,%r3,0
	bdne %r1,%gz,alloc_slot+2576
	lddz %r1,%r5,0
;alloc_slot+2336
	bdeq %r1,%gz,alloc_slot+2384
	std %r1,%r3,8
	lddz %r1,%r1,0
;alloc_slot+2352
	std %r1,%r3,0
	std %r3,%r1,8
	lddz %r5,%r3,8
;alloc_slot+2368
	jmp alloc_slot+2400
	nop 0
	nop 0
;alloc_slot+2384
	std %r3,%r3,8
	std %r3,%r3,0
	nop 0
;alloc_slot+2400
	mov %r4,%gz
	std %r3,%r5,0
	nop 0
;alloc_slot+2416
	mov %r1,%r4
	retf 48
	nop 0
;alloc_slot+2432
	stq %gz,%sp,0
	std %gz,%sp,32
	stq %gz,%sp,16
;alloc_slot+2448
	addi %r1,%sp,0
	ori %r1,%r1,8
	lddz %r1,%r1,0
;alloc_slot+2464
	std %r1,%r3,8
	lddz %r1,%sp,32
	std %r1,%r3,32
;alloc_slot+2480
	lddz %r1,%sp,24
	std %r1,%r3,24
	lddz %r1,%sp,16
;alloc_slot+2496
	std %r1,%r3,16
	lddz %r1,%sp,0
	std %r1,%r3,0
;alloc_slot+2512
	lddz %r1,%r3,8
	bdne %r1,%gz,alloc_slot+2576
	lddz %r1,%r3,0
;alloc_slot+2528
	bdne %r1,%gz,alloc_slot+2576
	lddzr %r1,__malloc_context+16
	bdne %r1,%gz,alloc_slot+1456
;alloc_slot+2544
	std %r3,%r3,8
	std %r3,%r3,0
	ldafr %r1,__malloc_context+16
;alloc_slot+2560
	std %r3,%r1,0
	mov %r1,%r4
	retf 48
;alloc_slot+2576
	halt
	nop 0
	nop 0
;enframe
	alloc 12
	lddz %r5,%r1,32
	nop 2
;enframe+16
	bdltui.l %r5,4096,enframe+64
	andi %r6,%r5,31
;enframe+32
	bdne %r6,%gz,enframe+64
	andi %r5,%r5,-4096
	addi %r5,%r5,-16
;enframe+48
	jmp enframe+96
	nop 0
	nop 0
;enframe+64
	srli %r5,%r5,5
	andi %r5,%r5,126
	ldafr %r6,__malloc_size_classes
;enframe+80
	ldhzx.xd %r5,%r5,%r6,0,0
	slli %r5,%r5,4
	nop 0
;enframe+96
	lddz %r7,%r1,16
	sraiw %r6,%r2,0
	mul %r8,%r5,%r6
;enframe+112
	ldax.xd %r6,%r7,%r8,0,16
	ldbzx.xd %r8,%r7,%r8,0,13
	bweq %r8,%gz,enframe+144
;enframe+128
	ldhz %r4,%r6,-2
	addiws %r4,%r4,1
	nop 0
;enframe+144
	ldbz %r8,%r6,-4
	bwne %r8,%gz,enframe+480
	sub %r8,%r5,%r3
;enframe+160
	addi %r10,%r8,-4
	srli %r9,%r10,4
	andi %r11,%r4,255
;enframe+176
	andi %r8,%r4,255
	bdleu %r11,%r9,enframe+272
	srli %r4,%r10,5
;enframe+192
	or %r4,%r9,%r4
	srli %r10,%r4,2
	or %r4,%r10,%r4
;enframe+208
	srli %r10,%r4,4
	or %r4,%r10,%r4
	and %r4,%r8,%r4
;enframe+224
	srliw %r8,%r4,0
	cmpdltu %r8,%r9,%r8
	xori %r10,%r9,-1
;enframe+240
	cmovlsb %r8,%r8,%r10,%gz
	addws %r10,%r8,%r4
	bdltu %r9,%r10,enframe+480
;enframe+256
	addws %r8,%r8,%r4
	nop 0
	nop 0
;enframe+272
	mov %r4,%r6
	bweq %r8,%gz,enframe+320
	sth %r8,%r6,-2
;enframe+288
	ldi %r4,224
	stb %r4,%r6,-3
	ldax.xw %r4,%r6,%r8,4,0
;enframe+304
	stbx.xw %gz,%r6,%r8,4,-4
	lddz %r7,%r1,16
	nop 0
;enframe+320
	add %r8,%r6,%r5
	ldax.xd %r5,%r6,%r5,0,-4
	sub %r1,%r4,%r7
;enframe+336
	addi %r1,%r1,-16
	srli %r1,%r1,4
	sth %r1,%r4,-2
;enframe+352
	add %r1,%r3,%r4
	ldi %r3,-4
	addsub %r1,%r8,%r3,%r1
;enframe+368
	stb %r2,%r4,-3
	bweq %r1,%gz,enframe+432
	slsub %r2,%gz,%r1,32
;enframe+384
	srai %r2,%r2,32
	stbx.xd %gz,%r5,%r2,0,0
	bwlti %r1,5,enframe+448
;enframe+400
	stw %r1,%r8,-8
	stb %gz,%r8,-9
	ldi %r1,5
;enframe+416
	jmp enframe+448
	nop 0
	nop 0
;enframe+432
	mov %r1,%gz
	nop 0
	nop 0
;enframe+448
	ldbz %r2,%r4,-3
	andi %r2,%r2,31
	slor %r1,%r2,%r1,5
;enframe+464
	stb %r1,%r4,-3
	mov %r1,%r4
	retf 0
;enframe+480
	halt
	nop 0
	nop 0
;__malloc_allzerop
	alloc 8
	bmany %r1,15,__malloc_allzerop+448
	ldbz %r3,%r1,-4
;__malloc_allzerop+16
	ldhz %r2,%r1,-2
	ldbz %r4,%r1,-3
	bweq %r3,%gz,__malloc_allzerop+64
;__malloc_allzerop+32
	bwne %r2,%gz,__malloc_allzerop+448
	ldwz %r2,%r1,-8
	nop 2
;__malloc_allzerop+48
	bwlti.l %r2,65536,__malloc_allzerop+448
	nop 0
;__malloc_allzerop+64
	slliw %r3,%r2,4
	sub %r1,%r1,%r3
	lddz %r6,%r1,-16
;__malloc_allzerop+80
	lddz %r3,%r6,16
	addi %r1,%r1,-16
	bdne %r3,%r1,__malloc_allzerop+448
;__malloc_allzerop+96
	lddz %r3,%r6,32
	andi %r5,%r4,31
	andi %r1,%r3,31
;__malloc_allzerop+112
	bwltu %r1,%r5,__malloc_allzerop+448
	ldwz %r7,%r6,24
	ldi %r1,1
;__malloc_allzerop+128
	sllw %r4,%r1,%r5
	and %r7,%r7,%r4
	bwne %r7,%gz,__malloc_allzerop+448
;__malloc_allzerop+144
	ldwz %r7,%r6,28
	and %r4,%r7,%r4
	bwne %r4,%gz,__malloc_allzerop+448
;__malloc_allzerop+160
	andi %r4,%r6,-4096
	lddz %r4,%r4,0
	lddzr %r6,__malloc_context
;__malloc_allzerop+176
	bdne %r4,%r6,__malloc_allzerop+448
	slsrli %r4,%r3,52,58
	bdgeui %r4,48,__malloc_allzerop+240
;__malloc_allzerop+192
	ldafr %r6,__malloc_size_classes
	ldhzx.xd %r6,%r6,%r4,1,0
	mulws %r7,%r6,%r5
;__malloc_allzerop+208
	bwltu %r2,%r7,__malloc_allzerop+448
	addiws %r5,%r5,1
	mulws %r5,%r5,%r6
;__malloc_allzerop+224
	bwltu %r2,%r5,__malloc_allzerop+256
	jmp __malloc_allzerop+448
	nop 0
;__malloc_allzerop+240
	bdnei %r4,63,__malloc_allzerop+448
	nop 0
	nop 0
;__malloc_allzerop+256
	bdltui.l %r3,4096,__malloc_allzerop+304
	srliw %r2,%r2,0
;__malloc_allzerop+272
	srli %r5,%r3,4
	andi.l %r5,%r5,1152921504606846720
;__malloc_allzerop+288
	addi %r5,%r5,-1
	bdltu %r5,%r2,__malloc_allzerop+448
	nop 0
;__malloc_allzerop+304
	bmall.l %r3,3072,__malloc_allzerop+432
	nop 2
;__malloc_allzerop+320
	bdltui.l %r3,4096,__malloc_allzerop+384
	andi %r1,%r3,31
;__malloc_allzerop+336
	bdne %r1,%gz,__malloc_allzerop+384
	ldafr %r1,__malloc_size_classes
	ldhzx.xd %r1,%r1,%r4,1,0
;__malloc_allzerop+352
	andi %r2,%r3,-4096
	addi %r2,%r2,-16
	slli %r1,%r1,4
;__malloc_allzerop+368
	jmp __malloc_allzerop+416
	nop 0
	nop 0
;__malloc_allzerop+384
	ldafr %r1,__malloc_size_classes
	ldhzx.xd %r1,%r1,%r4,1,0
	slli %r1,%r1,4
;__malloc_allzerop+400
	mov %r2,%r1
	nop 0
	nop 0
;__malloc_allzerop+416
	cmpdltu %r1,%r2,%r1
	nop 0
	nop 0
;__malloc_allzerop+432
	retf 0
	nop 0
	nop 0
;__malloc_allzerop+448
	halt
	nop 0
	nop 0
;dummy
	alloc 1
	retf 0
	nop 0
;mmap
	alloc 16
	bmnone.l %r6,4095,mmap+32
;mmap+16
	callr %r14,__errno_location
	ldi %r1,22
	jmp mmap+64
;mmap+32
	ldi.l %r7,9223372036854775807
	bdltu %r2,%r7,mmap+80
;mmap+48
	callr %r14,__errno_location
	ldi %r1,12
	nop 0
;mmap+64
	stw %r1,%r15,0
	ldi %r1,-1
	retf 0
;mmap+80
	bbsi %r4,4,mmap+96
	ldi %r7,-12
	jmp mmap+112
;mmap+96
	callr %r15,dummy
	ldi %r7,-1
	nop 0
;mmap+112
	sraiw %r12,%r3,0
	sraiw %r13,%r4,0
	sraiw %r14,%r5,0
;mmap+128
	ldi %r9,9
	mov2 %r10,%r11,%r1,%r2
	mov %r15,%r6
;mmap+144
	callr %r8,__syscall_postrisc
	andi %r2,%r4,32
	ldi %r3,-1
;mmap+160
	cmpdnei %r4,%r9,-1
	cmovweq %r2,%r2,%r3,%r7
	cmovlsb %r2,%r4,%r9,%r2
;mmap+176
	cmovdeq %r15,%r1,%r2,%r9
	callr %r14,__syscall_ret
	mov %r1,%r15
;mmap+192
	retf 0
	nop 0
	nop 0
;mprotect
	alloc 12
	andi %r6,%r1,-4096
	add %r1,%r1,%r2
;mprotect+16
	algnup %r1,%r1,0,12
	sub %r7,%r1,%r6
	sraiw %r8,%r3,0
;mprotect+32
	ldi %r5,10
	mov2 %r9,%r10,%gz,%gz
	mov %r11,%gz
;mprotect+48
	callr %r4,__syscall_postrisc
	mov %r11,%r5
	callr %r10,__syscall_ret
;mprotect+64
	mov %r1,%r11
	retf 0
	nop 0
;dummy
	alloc 1
	retf 0
	nop 0
;__munmap
	alloc 11
	callr %r10,dummy
	ldi %r4,11
;__munmap+16
	mov2 %r5,%r6,%r1,%r2
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
;__munmap+32
	callr %r3,__syscall_postrisc
	mov %r10,%r4
	callr %r9,__syscall_ret
;__munmap+48
	mov %r1,%r10
	retf 0
	nop 0
;strdup
	alloc 7
	mov %r6,%r1
	callr %r5,strlen
;strdup+16
	addi %r2,%r6,1
	mov %r6,%r2
	callr %r5,malloc
;strdup+32
	bdeq %r6,%gz,strdup+64
	mov2 %r4,%r5,%r6,%r1
	mov %r6,%r2
;strdup+48
	callr %r3,memcpy
	mov %r1,%r4
	retf 0
;strdup+64
	mov %r1,%gz
	retf 0
	nop 0
;strlen
	alloc 7
	mov %r2,%r1
	bmnone %r1,7,strlen+80
;strlen+16
	ldbz %r2,%r1,0
	bweq %r2,%gz,strlen+208
	addi %r2,%r1,1
;strlen+32
	mov %r3,%r1
	nop 0
	nop 0
;strlen+48
	addi %r3,%r3,1
	bmnone %r3,7,strlen+80
	ldbz %r4,%r2,0
;strlen+64
	addi %r2,%r2,1
	bwne %r4,%gz,strlen+48
	jmp strlen+192
;strlen+80
	addi %r5,%r2,-1
	ldi.l %r4,-9187201950435737472
;strlen+96
	lddz %r6,%r2,0
	mov %r3,%r5
	nop 2
;strlen+112
	subfi.l %r5,%r6,72340172838076672
	or %r5,%r5,%r6
;strlen+128
	and %r6,%r5,%r4
	addi %r2,%r2,8
	addi %r5,%r3,8
;strlen+144
	bdeq %r6,%r4,strlen+96
	ldi %r4,-8
	nop 0
;strlen+160
	ldbzx.xd %r5,%r2,%r4,0,0
	addi %r3,%r3,1
	addi %r4,%r4,1
;strlen+176
	bwne %r5,%gz,strlen+160
	nop 0
	nop 0
;strlen+192
	sub %r1,%r3,%r1
	retf 0
	nop 0
;strlen+208
	sub %r1,%r1,%r1
	retf 0
	nop 0
;__simple_malloc
	allocsp 17,16
	bdlti %r1,0,__simple_malloc+128
	maxui %r3,%r1,1
;__simple_malloc+16
	minui %r1,%r3,16
	ldi %r4,1
	nop 0
;__simple_malloc+32
	mov %r2,%r4
	slli %r4,%r4,1
	bdltu %r2,%r1,__simple_malloc+32
;__simple_malloc+48
	ldafr %r16,lock
	callr %r15,__lock
	lddzr %r4,__simple_malloc.cur
;__simple_malloc+64
	subfi %r5,%r4,0
	lddzr %r1,__simple_malloc.end
	addi %r2,%r2,-1
;__simple_malloc+80
	and %r2,%r2,%r5
	add %r11,%r2,%r4
	subsub %r2,%r1,%r2,%r4
;__simple_malloc+96
	stdr %r11,__simple_malloc.cur
	bdleu %r3,%r2,__simple_malloc+672
	bdeq %r11,%gz,__simple_malloc+160
;__simple_malloc+112
	lddzr %r4,__simple_malloc.brk
	bdeq %r4,%r1,__simple_malloc+240
	jmp __simple_malloc+480
;__simple_malloc+128
	callr %r15,__errno_location
	mov %r11,%gz
	ldi %r1,12
;__simple_malloc+144
	stw %r1,%r16,0
	mov %r1,%r11
	retf 16
;__simple_malloc+160
	ldi %r10,12
	mov2 %r11,%r12,%gz,%gz
	mov2 %r13,%r14,%gz,%gz
;__simple_malloc+176
	mov2 %r15,%r16,%gz,%gz
	callr %r9,__syscall_postrisc
	subfi %r1,%r10,0
;__simple_malloc+192
	andi %r1,%r1,4095
	add %r1,%r1,%r10
	stdr %r1,__simple_malloc.brk
;__simple_malloc+208
	stdr %r1,__simple_malloc.end
	stdr %r1,__simple_malloc.cur
	mov %r4,%r1
;__simple_malloc+224
	bdne %r4,%r1,__simple_malloc+480
	nop 0
	nop 0
;__simple_malloc+240
	ldi %r5,4095
	addsub %r2,%r3,%r5,%r2
	andi %r2,%r2,-4096
;__simple_malloc+256
	xori %r4,%r4,-1
	bdleu %r4,%r2,__simple_malloc+480
	lddzr %r4,__libc+8
;__simple_malloc+272
	add %r11,%r1,%r2
	bdleu %r4,%r1,__simple_malloc+336
	nop 2
;__simple_malloc+288
	cmpdgtui.l %r5,%r4,8388608
	nop 2
;__simple_malloc+304
	addi.l %r4,%r4,-8388608
	cmovlsb %r4,%r5,%r4,%gz
;__simple_malloc+320
	bdltu %r4,%r11,__simple_malloc+480
	nop 0
	nop 0
;__simple_malloc+336
	addi %r4,%sp,8
	bdleu %r4,%r1,__simple_malloc+400
	nop 2
;__simple_malloc+352
	cmpdgtui.l %r1,%r4,8388608
	nop 2
;__simple_malloc+368
	addi.l %r4,%sp,-8388600
	cmovlsb %r1,%r1,%r4,%gz
;__simple_malloc+384
	bdltu %r1,%r11,__simple_malloc+480
	nop 0
	nop 0
;__simple_malloc+400
	ldi %r10,12
	mov2 %r12,%r13,%gz,%gz
	mov2 %r14,%r15,%gz,%gz
;__simple_malloc+416
	mov %r16,%gz
	callr %r9,__syscall_postrisc
	lddzr %r1,__simple_malloc.brk
;__simple_malloc+432
	add %r1,%r1,%r2
	bdne %r10,%r1,__simple_malloc+480
	lddzr %r1,__simple_malloc.end
;__simple_malloc+448
	add %r1,%r1,%r2
	stdr %r1,__simple_malloc.end
	stdr %r1,__simple_malloc.brk
;__simple_malloc+464
	lddzr %r11,__simple_malloc.cur
	jmp __simple_malloc+672
	nop 0
;__simple_malloc+480
	addi %r1,%r3,4095
	andi %r1,%r1,-4096
	sub %r2,%r1,%r3
;__simple_malloc+496
	srli %r4,%r1,3
	bdleu %r2,%r4,__simple_malloc+704
	ldwzr %r2,__simple_malloc.mmap_step
;__simple_malloc+512
	srliw %r4,%r2,1
	ldi %r5,4096
	lddzr %r7,__simple_malloc.end
;__simple_malloc+528
	lddzr %r8,__simple_malloc.cur
	sllw %r4,%r5,%r4
	sraiw %r5,%r4,0
;__simple_malloc+544
	sub %r6,%r5,%r3
	sub %r7,%r7,%r8
	cmpdltu %r4,%r7,%r6
;__simple_malloc+560
	bdleu %r5,%r1,__simple_malloc+608
	bdleu %r6,%r7,__simple_malloc+608
	ldi %r4,1
;__simple_malloc+576
	bwgeui %r2,12,__simple_malloc+592
	addiws %r1,%r2,1
	stwr %r1,__simple_malloc.mmap_step
;__simple_malloc+592
	mov %r1,%r5
	nop 0
	nop 0
;__simple_malloc+608
	ldi %r13,3
	ldi %r14,34
	ldi %r15,-1
;__simple_malloc+624
	mov2 %r11,%r12,%gz,%r1
	mov %r16,%gz
	callr %r10,mmap
;__simple_malloc+640
	bbci %r4,0,__simple_malloc+736
	bdeqi %r11,-1,__simple_malloc+736
	add %r1,%r1,%r11
;__simple_malloc+656
	stdr %r1,__simple_malloc.end
	nop 0
	nop 0
;__simple_malloc+672
	add %r1,%r11,%r3
	stdr %r1,__simple_malloc.cur
	ldafr %r16,lock
;__simple_malloc+688
	callr %r15,__unlock
	mov %r1,%r11
	retf 16
;__simple_malloc+704
	ldi %r13,3
	ldi %r14,34
	ldi %r15,-1
;__simple_malloc+720
	mov2 %r11,%r12,%gz,%r1
	mov %r16,%gz
	callr %r10,mmap
;__simple_malloc+736
	ldafr %r16,lock
	callr %r15,__unlock
	cmpdeqi %r1,%r11,-1
;__simple_malloc+752
	cmovlsb %r11,%r1,%gz,%r11
	mov %r1,%r11
	retf 16
;__libc_malloc
	alloc 4
	mov %r3,%r1
	callr %r2,__libc_malloc_impl
;__libc_malloc+16
	mov %r1,%r3
	retf 0
	nop 0
;malloc
	alloc 4
	mov %r3,%r1
	callr %r2,__libc_malloc_impl
;malloc+16
	mov %r1,%r3
	retf 0
	nop 0
;strcasecmp
	alloc 7
	ldbz %r3,%r1,0
	bweq %r3,%gz,strcasecmp+128
;strcasecmp+16
	addi %r4,%r1,1
	jmp strcasecmp+64
	nop 0
;strcasecmp+32
	ldbz %r3,%r4,0
	addi %r2,%r2,1
	addi %r4,%r4,1
;strcasecmp+48
	bweq %r3,%gz,strcasecmp+128
	nop 0
	nop 0
;strcasecmp+64
	ldbz %r1,%r2,0
	bweq %r1,%gz,strcasecmp+144
	andi %r6,%r3,255
;strcasecmp+80
	bweq %r6,%r1,strcasecmp+32
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp+96
	ldbz %r6,%r2,0
	callr %r5,tolower
	bweq %r1,%r6,strcasecmp+32
;strcasecmp+112
	ldbz %r3,%r4,-1
	jmp strcasecmp+144
	nop 0
;strcasecmp+128
	mov %r3,%gz
	nop 0
	nop 0
;strcasecmp+144
	andi %r6,%r3,255
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp+160
	ldbz %r6,%r2,0
	callr %r5,tolower
	subws %r1,%r1,%r6
;strcasecmp+176
	retf 0
	nop 0
	nop 0
;strcasecmp_l
	alloc 7
	ldbz %r3,%r1,0
	bweq %r3,%gz,strcasecmp_l+128
;strcasecmp_l+16
	addi %r4,%r1,1
	jmp strcasecmp_l+64
	nop 0
;strcasecmp_l+32
	ldbz %r3,%r4,0
	addi %r2,%r2,1
	addi %r4,%r4,1
;strcasecmp_l+48
	bweq %r3,%gz,strcasecmp_l+128
	nop 0
	nop 0
;strcasecmp_l+64
	ldbz %r1,%r2,0
	bweq %r1,%gz,strcasecmp_l+144
	andi %r6,%r3,255
;strcasecmp_l+80
	bweq %r6,%r1,strcasecmp_l+32
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp_l+96
	ldbz %r6,%r2,0
	callr %r5,tolower
	bweq %r1,%r6,strcasecmp_l+32
;strcasecmp_l+112
	ldbz %r3,%r4,-1
	jmp strcasecmp_l+144
	nop 0
;strcasecmp_l+128
	mov %r3,%gz
	nop 0
	nop 0
;strcasecmp_l+144
	andi %r6,%r3,255
	callr %r5,tolower
	mov %r1,%r6
;strcasecmp_l+160
	ldbz %r6,%r2,0
	callr %r5,tolower
	subws %r1,%r1,%r6
;strcasecmp_l+176
	retf 0
	nop 0
	nop 0
;tolower
	alloc 4
	addiws %r2,%r1,-65
	cmpwltui %r2,%r2,26
;tolower+16
	ori %r3,%r1,32
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;__tolower_l
	alloc 4
	addiws %r2,%r1,-65
	cmpwltui %r2,%r2,26
;__tolower_l+16
	ori %r3,%r1,32
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;strrchr
	alloc 7
	mov %r6,%r1
	callr %r5,strlen
;strrchr+16
	addi %r6,%r6,1
	mov2 %r4,%r5,%r1,%r2
	callr %r3,__memrchr
;strrchr+32
	mov %r1,%r4
	retf 0
	nop 0
;__memrchr
	alloc 6
	andi %r2,%r2,255
	nop 0
;__memrchr+16
	bdeq %r3,%gz,__memrchr+64
	ldbzx.xd %r5,%r1,%r3,0,-1
	addi %r4,%r3,-1
;__memrchr+32
	mov %r3,%r4
	bwne %r5,%r2,__memrchr+16
	add %r1,%r1,%r4
;__memrchr+48
	retf 0
	nop 0
	nop 0
;__memrchr+64
	mov %r1,%gz
	retf 0
	nop 0
;puts
	alloc 8
	ldwzr %r4,__stdout_FILE+140
	ldi %r3,1
;puts+16
	mov %r2,%r3
	bwlt %r4,%gz,puts+48
	ldafr %r7,__stdout_FILE
;puts+32
	callr %r6,__lockfile
	cmpweqi %r2,%r7,0
	nop 0
;puts+48
	ldafr %r7,__stdout_FILE
	mov %r6,%r1
	callr %r5,fputs
;puts+64
	bwlt %r6,%gz,puts+160
	ldwzr %r1,__stdout_FILE+144
	bweqi %r1,10,puts+128
;puts+80
	lddzr %r1,__stdout_FILE+40
	lddzr %r3,__stdout_FILE+32
	bdeq %r1,%r3,puts+128
;puts+96
	mov %r3,%gz
	addi %r4,%r1,1
	stdr %r4,__stdout_FILE+40
;puts+112
	ldi %r4,10
	stb %r4,%r1,0
	jmp puts+160
;puts+128
	ldafr %r6,__stdout_FILE
	ldi %r7,10
	callr %r5,__overflow
;puts+144
	cmpwlti %r3,%r6,0
	nop 0
	nop 0
;puts+160
	bbsi %r2,0,puts+176
	ldafr %r7,__stdout_FILE
	callr %r6,__unlockfile
;puts+176
	slsrai %r1,%r3,63,63
	retf 0
	nop 0
;__stdout_write
	allocsp 13,16
	ldar %r4,__stdio_write
	std %r4,%r1,72
;__stdout_write+16
	ldbz %r4,%r1,0
	bbsi %r4,6,__stdout_write+80
	ldws %r7,%r1,120
;__stdout_write+32
	ldi %r6,16
	ldi %r8,21523
	addi %r9,%sp,8
;__stdout_write+48
	mov2 %r10,%r11,%gz,%gz
	mov %r12,%gz
	callr %r5,__syscall_postrisc
;__stdout_write+64
	bdeq %r6,%gz,__stdout_write+80
	ldi %r4,-1
	stw %r4,%r1,144
;__stdout_write+80
	mov2 %r10,%r11,%r1,%r2
	mov %r12,%r3
	callr %r9,__stdio_write
;__stdout_write+96
	mov %r1,%r10
	retf 16
	nop 0
;fputs
	alloc 9
	mov %r8,%r1
	callr %r7,strlen
;fputs+16
	mov %r3,%r8
	ldi %r6,1
	mov2 %r5,%r7,%r1,%r8
;fputs+32
	mov %r8,%r2
	callr %r4,fwrite_unlocked
	cmpdne %r1,%r5,%r3
;fputs+48
	slsrai %r1,%r1,63,63
	retf 0
	nop 0
;__overflow
	allocsp 11,16
	stb %r2,%sp,15
	lddz %r4,%r1,32
;__overflow+16
	bdeq %r4,%gz,__overflow+96
	lddz %r3,%r1,40
	bdeq %r3,%r4,__overflow+48
;__overflow+32
	ldwz %r5,%r1,144
	andi %r6,%r2,255
	bwne %r5,%r6,__overflow+128
;__overflow+48
	addi %r9,%sp,15
	ldi %r10,1
	mov %r8,%r1
;__overflow+64
	callmi %r7,%r1,72
	bdnei %r8,1,__overflow+112
	ldbz %r1,%sp,15
;__overflow+80
	retf 16
	nop 0
	nop 0
;__overflow+96
	mov %r10,%r1
	callr %r9,__towrite
	bweq %r10,%gz,__overflow+160
;__overflow+112
	ldi %r1,-1
	retf 16
	nop 0
;__overflow+128
	addi %r5,%r3,1
	std %r5,%r1,40
	stb %r2,%r3,0
;__overflow+144
	mov %r1,%r6
	retf 16
	nop 0
;__overflow+160
	lddz %r4,%r1,32
	lddz %r3,%r1,40
	bdne %r3,%r4,__overflow+32
;__overflow+176
	jmp __overflow+48
	nop 0
	nop 0
;printf
	allocsp 6,16
	addi %r5,%sp,16
	std %r5,%sp,8
;printf+16
	ldafr %r3,__stdout_FILE
	mov %r4,%r1
	callr %r2,vfprintf
;printf+32
	mov %r1,%r3
	retf 16
	nop 0
;NetUpdate
	alloc 8
	ldwzr %r1,singletics
	bweq %r1,%gz,NetUpdate+32
;NetUpdate+16
	retf 0
	nop 0
	nop 0
;NetUpdate+32
	callr %r6,I_GetTimeMS
	ldbzr %r1,new_sync
	bbsi %r1,0,NetUpdate+80
;NetUpdate+48
	ldwzr %r1,offsetms
	sraiw %r2,%r1,31
	srliw %r2,%r2,16
;NetUpdate+64
	addws %r1,%r1,%r2
	sraiw %r1,%r1,16
	addws %r7,%r1,%r7
;NetUpdate+80
	mulwsi %r1,%r7,35
	muli.l %r1,%r1,274877907
;NetUpdate+96
	ldwzr %r2,ticdup
	srli %r3,%r1,63
	srai %r1,%r1,38
;NetUpdate+112
	addws %r1,%r1,%r3
	divw %r3,%r1,%r2
	ldwzr %r2,lasttime
;NetUpdate+128
	ldwzr %r1,skiptics
	subws %r2,%r3,%r2
	cmpwle %r4,%r1,%r2
;NetUpdate+144
	subws %r5,%r1,%r2
	stwr %r3,lasttime
	cmovlsb %r3,%r4,%gz,%r5
;NetUpdate+160
	stwr %r3,skiptics
	bwlt %r2,%r1,NetUpdate+16
	subws %r2,%r2,%r1
;NetUpdate+176
	bwlti %r2,1,NetUpdate+16
	mov %r3,%gz
	nop 0
;NetUpdate+192
	callr %r6,BuildNewTic
	bweq %r7,%gz,NetUpdate+16
	addiws %r3,%r3,1
;NetUpdate+208
	bwlt %r3,%r2,NetUpdate+192
	jmp NetUpdate+16
	nop 0
;BuildNewTic
	allocsp 11,16
	ldwzr %r1,gametic
	ldwzr %r2,ticdup
;BuildNewTic+16
	divw %r2,%r1,%r2
	callr %r10,I_StartTic
	lddzr %r1,loop_interface
;BuildNewTic+32
	callmi %r10,%r1,0
	lddzr %r1,loop_interface
	callmi %r10,%r1,24
;BuildNewTic+48
	ldwzr %r1,drone
	bweq %r1,%gz,BuildNewTic+80
	mov %r1,%gz
;BuildNewTic+64
	retf 16
	nop 0
	nop 0
;BuildNewTic+80
	ldbzr %r1,new_sync
	bbci %r1,0,BuildNewTic+128
	ldwzr %r10,maketic
;BuildNewTic+96
	subws %r1,%r10,%r2
	bwlti %r1,5,BuildNewTic+192
	mov %r1,%gz
;BuildNewTic+112
	retf 16
	nop 0
	nop 0
;BuildNewTic+128
	ldwzr %r3,net_client_connected
	ldwzr %r10,maketic
	subws %r1,%r10,%r2
;BuildNewTic+144
	bweq %r3,%gz,BuildNewTic+176
	bwlti %r1,9,BuildNewTic+192
	mov %r1,%gz
;BuildNewTic+160
	retf 16
	nop 0
	nop 0
;BuildNewTic+176
	bwlti %r1,3,BuildNewTic+192
	mov %r1,%gz
	retf 16
;BuildNewTic+192
	stq %gz,%sp,0
	lddzr %r2,loop_interface
	addi %r1,%sp,0
;BuildNewTic+208
	mov %r9,%r1
	callmi %r8,%r2,8
	ldwzr %r2,maketic
;BuildNewTic+224
	sraiw %r3,%r2,31
	srliw %r3,%r3,25
	addws %r3,%r2,%r3
;BuildNewTic+240
	andi %r3,%r3,-128
	subws %r3,%r2,%r3
	muli %r3,%r3,160
;BuildNewTic+256
	ldafr %r4,ticdata
	ldwz %r5,%sp,0
	ori %r6,%r1,4
;BuildNewTic+272
	ldwz %r6,%r6,0
	ori %r7,%r1,8
	ldwz %r7,%r7,0
;BuildNewTic+288
	ori %r1,%r1,12
	ldwz %r1,%r1,0
	stwx.xd %r5,%r3,%r4,0,0
;BuildNewTic+304
	ldafr %r4,ticdata+4
	stwx.xd %r6,%r3,%r4,0,0
	ldafr %r4,ticdata+8
;BuildNewTic+320
	stwx.xd %r7,%r3,%r4,0,0
	ldafr %r4,ticdata+12
	stwx.xd %r1,%r3,%r4,0,0
;BuildNewTic+336
	ldafr %r4,ticdata+128
	ldi %r1,1
	stwx.xd %r1,%r3,%r4,0,0
;BuildNewTic+352
	addiws %r2,%r2,1
	stwr %r2,maketic
	retf 16
;D_ReceiveTic
	alloc 12
	or %r4,%r1,%r2
	ldwzr %r3,drone
;D_ReceiveTic+16
	bdne %r4,%gz,D_ReceiveTic+64
	bweq %r3,%gz,D_ReceiveTic+48
	ldafr %r11,.rodata+5491
;D_ReceiveTic+32
	callr %r10,I_Error
	nop 0
	nop 0
;D_ReceiveTic+48
	ldafr %r11,.rodata+18401
	callr %r10,puts
	retf 0
;D_ReceiveTic+64
	ldwzr %r4,recvtic
	mov %r5,%gz
	sraiw %r6,%r4,31
;D_ReceiveTic+80
	srliw %r6,%r6,25
	addws %r6,%r4,%r6
	andi %r6,%r6,-128
;D_ReceiveTic+96
	subws %r7,%r4,%r6
	ldafr %r6,ticdata
	ldi %r8,160
;D_ReceiveTic+112
	muladd %r6,%r7,%r8,%r6
	ldafr %r9,ticdata+128
	muladd %r7,%r7,%r8,%r9
;D_ReceiveTic+128
	jmp D_ReceiveTic+176
	nop 0
	nop 0
;D_ReceiveTic+144
	addi %r5,%r5,1
	addi %r2,%r2,4
	addi %r1,%r1,16
;D_ReceiveTic+160
	addi %r6,%r6,16
	addi %r7,%r7,4
	bdeqi %r5,8,D_ReceiveTic+256
;D_ReceiveTic+176
	or %r8,%r3,%r5
	bweq %r8,%gz,D_ReceiveTic+144
	ldwz %r8,%r1,12
;D_ReceiveTic+192
	stw %r8,%r6,12
	ldwz %r8,%r1,8
	stw %r8,%r6,8
;D_ReceiveTic+208
	ldwz %r8,%r1,4
	stw %r8,%r6,4
	ldwz %r8,%r1,0
;D_ReceiveTic+224
	stw %r8,%r6,0
	ldwz %r8,%r2,0
	stw %r8,%r7,0
;D_ReceiveTic+240
	jmp D_ReceiveTic+144
	nop 0
	nop 0
;D_ReceiveTic+256
	addiws %r1,%r4,1
	stwr %r1,recvtic
	retf 0
;D_StartGameLoop
	alloc 6
	callr %r4,I_GetTimeMS
	ldbzr %r1,new_sync
;D_StartGameLoop+16
	bbsi %r1,0,D_StartGameLoop+64
	ldwzr %r1,offsetms
	sraiw %r2,%r1,31
;D_StartGameLoop+32
	srliw %r2,%r2,16
	addws %r1,%r1,%r2
	sraiw %r1,%r1,16
;D_StartGameLoop+48
	addws %r5,%r1,%r5
	nop 0
	nop 0
;D_StartGameLoop+64
	mulwsi %r1,%r5,35
	muli.l %r1,%r1,274877907
;D_StartGameLoop+80
	ldwzr %r2,ticdup
	srli %r3,%r1,63
	srai %r1,%r1,38
;D_StartGameLoop+96
	addws %r1,%r1,%r3
	divw %r1,%r1,%r2
	stwr %r1,lasttime
;D_StartGameLoop+112
	retf 0
	nop 0
	nop 0
;D_StartNetGame
	alloc 4
	stw %gz,%r1,64
	ldi %r2,1
;D_StartNetGame+16
	stw %r2,%r1,60
	ldwzr %r3,player_class
	stw %r3,%r1,68
;D_StartNetGame+32
	stw %gz,%r1,44
	stw %r2,%r1,4
	stw %r2,%r1,0
;D_StartNetGame+48
	stwr %r2,ticdup
	stbr %r2,new_sync
	retf 0
;D_InitNetGame
	alloc 5
	ldar %r3,D_QuitNetGame
	ldi %r4,1
;D_InitNetGame+16
	callr %r2,I_AtExit
	ldwz %r1,%r1,64
	stwr %r1,player_class
;D_InitNetGame+32
	mov %r1,%gz
	retf 0
	nop 0
;D_QuitNetGame
	alloc 1
	retf 0
	nop 0
;TryRunTics
	alloc 18
	callr %r16,I_GetTime
	ldwzr %r1,ticdup
;TryRunTics+16
	divw %r4,%r17,%r1
	ldwzr %r1,singletics
	ldwzr %r3,TryRunTics.oldentertics
;TryRunTics+32
	stwr %r4,TryRunTics.oldentertics
	bweq %r1,%gz,TryRunTics+64
	callr %r16,BuildNewTic
;TryRunTics+48
	jmp TryRunTics+80
	nop 0
	nop 0
;TryRunTics+64
	callr %r17,NetUpdate
	nop 0
	nop 0
;TryRunTics+80
	ldwzr %r1,gametic
	ldwzr %r2,ticdup
	ldwzr %r6,maketic
;TryRunTics+96
	divw %r1,%r1,%r2
	ldbzr %r7,new_sync
	subws %r2,%r6,%r1
;TryRunTics+112
	ldi %r1,1
	ldafr %r5,local_playeringame
	bbci %r7,0,TryRunTics+352
;TryRunTics+128
	subws %r3,%r4,%r3
	addiws %r7,%r2,-1
	cmpwlt %r7,%r3,%r7
;TryRunTics+144
	ldwzr %r8,net_client_connected
	addiws %r9,%r3,1
	minsw %r2,%r3,%r2
;TryRunTics+160
	cmovlsb %r2,%r7,%r9,%r2
	ldi %r3,1
	maxsw %r2,%r2,%r3
;TryRunTics+176
	bweq %r8,%gz,TryRunTics+352
	ldwzr %r7,frameon
	mov %r8,%gz
;TryRunTics+192
	addiws %r7,%r7,1
	stwr %r7,frameon
	nop 0
;TryRunTics+208
	ldwzx.xd %r9,%r8,%r5,0,0
	bwne %r9,%gz,TryRunTics+240
	addi %r8,%r8,4
;TryRunTics+224
	bdnei %r8,32,TryRunTics+208
	jmp TryRunTics+352
	nop 0
;TryRunTics+240
	bdeq %r8,%gz,TryRunTics+352
	ldwzr %r8,recvtic
	bwlt %r8,%r6,TryRunTics+272
;TryRunTics+256
	ldwzr %r9,lasttime
	addiws %r9,%r9,-1
	stwr %r9,lasttime
;TryRunTics+272
	ldwzr %r9,oldnettics
	cmpwlt %r8,%r8,%r9
	andi %r7,%r7,3
;TryRunTics+288
	ldafr %r9,frameskip
	stwx.xuw %r8,%r9,%r7,2,0
	ldwzr %r7,frameskip
;TryRunTics+304
	stwr %r6,oldnettics
	bweq %r7,%gz,TryRunTics+352
	ldwzr %r7,frameskip+4
;TryRunTics+320
	bweq %r7,%gz,TryRunTics+352
	ldwzr %r7,frameskip+8
	bweq %r7,%gz,TryRunTics+352
;TryRunTics+336
	ldwzr %r7,frameskip+12
	bweq %r7,%gz,TryRunTics+352
	stwr %r3,skiptics
;TryRunTics+352
	maxsw %r7,%r2,%r1
	ldafr %r2,.rodata+1223
	nop 0
;TryRunTics+368
	ldwzr %r8,net_client_connected
	mov %r3,%r1
	bweq %r8,%gz,TryRunTics+464
;TryRunTics+384
	mov2 %r3,%r9,%gz,%gz
	jmp TryRunTics+416
	nop 0
;TryRunTics+400
	addi %r3,%r3,4
	mov %r9,%r8
	bdeqi %r3,32,TryRunTics+448
;TryRunTics+416
	mov %r8,%r1
	bwne %r9,%gz,TryRunTics+400
	ldwzx.xd %r8,%r3,%r5,0,0
;TryRunTics+432
	cmpwnei %r8,%r8,0
	jmp TryRunTics+400
	nop 0
;TryRunTics+448
	xori %r3,%r8,1
	nop 0
	nop 0
;TryRunTics+464
	ldwzr %r8,drone
	bweq %r8,%gz,TryRunTics+480
	bbsi %r3,0,TryRunTics+512
;TryRunTics+480
	ldwzr %r3,gametic
	ldwzr %r8,ticdup
	divw %r3,%r3,%r8
;TryRunTics+496
	addws %r3,%r3,%r7
	bwle %r3,%r6,TryRunTics+608
	nop 0
;TryRunTics+512
	callr %r17,NetUpdate
	ldwzr %r3,gametic
	ldwzr %r8,ticdup
;TryRunTics+528
	ldwzr %r6,maketic
	divw %r3,%r3,%r8
	bwle %r3,%r6,TryRunTics+560
;TryRunTics+544
	mov %r17,%r2
	callr %r16,I_Error
	nop 0
;TryRunTics+560
	callr %r16,I_GetTime
	ldwzr %r3,ticdup
	divw %r3,%r17,%r3
;TryRunTics+576
	bwlt %r4,%r3,TryRunTics+1120
	mov %r17,%r1
	callr %r16,I_Sleep
;TryRunTics+592
	jmp TryRunTics+368
	nop 0
	nop 0
;TryRunTics+608
	ldi %r8,1
	ldafr %r9,ticdata
	ldi %r10,160
;TryRunTics+624
	ldafr %r1,.rodata+2291
	jmp TryRunTics+656
	nop 0
;TryRunTics+640
	addiws %r7,%r7,-1
	callr %r17,NetUpdate
	bweq %r7,%gz,TryRunTics+1120
;TryRunTics+656
	ldwzr %r11,net_client_connected
	mov %r2,%r8
	bweq %r11,%gz,TryRunTics+752
;TryRunTics+672
	mov2 %r2,%r4,%gz,%gz
	jmp TryRunTics+704
	nop 0
;TryRunTics+688
	addi %r2,%r2,4
	mov %r4,%r3
	bdeqi %r2,32,TryRunTics+736
;TryRunTics+704
	mov %r3,%r8
	bwne %r4,%gz,TryRunTics+688
	ldwzx.xd %r3,%r2,%r5,0,0
;TryRunTics+720
	cmpwnei %r3,%r3,0
	jmp TryRunTics+688
	nop 0
;TryRunTics+736
	xori %r2,%r3,1
	nop 0
	nop 0
;TryRunTics+752
	ldwzr %r3,drone
	bweq %r3,%gz,TryRunTics+768
	bbsi %r2,0,TryRunTics+1120
;TryRunTics+768
	ldwzr %r4,gametic
	ldwzr %r12,ticdup
	divw %r2,%r4,%r12
;TryRunTics+784
	sraiw %r3,%r2,31
	srliw %r3,%r3,25
	addws %r3,%r2,%r3
;TryRunTics+800
	andi %r3,%r3,-128
	subws %r2,%r2,%r3
	muladd %r2,%r2,%r10,%r9
;TryRunTics+816
	addi %r3,%r2,128
	bweq %r11,%gz,TryRunTics+1072
	nop 0
;TryRunTics+832
	bwlti %r12,1,TryRunTics+640
	mov %r11,%gz
	jmp TryRunTics+864
;TryRunTics+848
	ldwzr %r12,ticdup
	addiws %r11,%r11,1
	bwle %r12,%r11,TryRunTics+640
;TryRunTics+864
	divw %r4,%r4,%r12
	bwle %r4,%r6,TryRunTics+896
	mov %r17,%r1
;TryRunTics+880
	callr %r16,I_Error
	nop 0
	nop 0
;TryRunTics+896
	ldwz %r4,%r3,28
	ldwz %r12,%r3,24
	ldwz %r13,%r3,20
;TryRunTics+912
	ldwz %r14,%r3,16
	stwr %r4,local_playeringame+28
	stwr %r12,local_playeringame+24
;TryRunTics+928
	stwr %r13,local_playeringame+20
	stwr %r14,local_playeringame+16
	ldwz %r4,%r3,12
;TryRunTics+944
	ldwz %r12,%r3,8
	ldwz %r13,%r3,4
	ldwz %r14,%r3,0
;TryRunTics+960
	stwr %r4,local_playeringame+12
	stwr %r12,local_playeringame+8
	stwr %r13,local_playeringame+4
;TryRunTics+976
	stwr %r14,local_playeringame
	lddzr %r4,loop_interface
	mov2 %r16,%r17,%r2,%r3
;TryRunTics+992
	callmi %r15,%r4,16
	ldwzr %r4,gametic
	mov %r12,%gz
;TryRunTics+1008
	addiws %r4,%r4,1
	stwr %r4,gametic
	jmp TryRunTics+1040
;TryRunTics+1024
	addi %r12,%r12,16
	bdeqi %r12,128,TryRunTics+848
	nop 0
;TryRunTics+1040
	stbx.xd %gz,%r2,%r12,0,4
	ldbsx.xd %r13,%r2,%r12,0,5
	bwgei %r13,0,TryRunTics+1024
;TryRunTics+1056
	add %r13,%r2,%r12
	stb %gz,%r13,5
	jmp TryRunTics+1024
;TryRunTics+1072
	mov %r11,%gz
	jmp TryRunTics+1104
	nop 0
;TryRunTics+1088
	addi %r11,%r11,4
	bdeqi %r11,32,TryRunTics+832
	nop 0
;TryRunTics+1104
	bdeq %r11,%gz,TryRunTics+1088
	stwx.xd %gz,%r3,%r11,0,0
	jmp TryRunTics+1088
;TryRunTics+1120
	retf 0
	nop 0
	nop 0
;D_RegisterLoopCallbacks
	alloc 2
	stdr %r1,loop_interface
	retf 0
;D_ProcessEvents
	alloc 4
	ldwzr %r1,storedemo
	bweq %r1,%gz,D_ProcessEvents+32
;D_ProcessEvents+16
	retf 0
	nop 0
	nop 0
;D_ProcessEvents+32
	callr %r2,D_PopEvent
	bdeq %r3,%gz,D_ProcessEvents+16
	mov %r1,%r3
;D_ProcessEvents+48
	jmp D_ProcessEvents+80
	nop 0
	nop 0
;D_ProcessEvents+64
	callr %r2,D_PopEvent
	mov %r1,%r3
	bdeq %r3,%gz,D_ProcessEvents+16
;D_ProcessEvents+80
	mov %r3,%r1
	callr %r2,M_Responder
	bwne %r3,%gz,D_ProcessEvents+64
;D_ProcessEvents+96
	mov %r3,%r1
	callr %r2,G_Responder
	jmp D_ProcessEvents+64
;D_Display
	alloc 15
	ldwzr %r1,nodrawers
	bwne %r1,%gz,D_Display+1104
;D_Display+16
	ldwzr %r1,setsizeneeded
	bweq %r1,%gz,D_Display+64
	callr %r14,R_ExecuteSetViewSize
;D_Display+32
	ldi %r1,-1
	stwr %r1,D_Display.oldgamestate
	ldi %r1,3
;D_Display+48
	stwr %r1,D_Display.borderdrawcount
	nop 0
	nop 0
;D_Display+64
	ldwzr %r4,gamestate
	ldwzr %r5,wipegamestate
	mov %r1,%r4
;D_Display+80
	bweq %r4,%r5,D_Display+112
	ldi %r13,320
	ldi %r14,200
;D_Display+96
	mov2 %r11,%r12,%gz,%gz
	callr %r10,wipe_StartScreen
	ldwzr %r1,gamestate
;D_Display+112
	bwne %r1,%gz,D_Display+144
	ldwzr %r2,gametic
	bweq %r2,%gz,D_Display+144
;D_Display+128
	callr %r14,HU_Erase
	ldwzr %r1,gamestate
	nop 0
;D_Display+144
	bwgeui %r1,4,D_Display+416
	srliw %r1,%r1,0
	ldafr %r2,.rodata+32384
;D_Display+160
	jmpt %r2,%r1
	nop 0
	nop 0
;D_Display+176
	ldwzr %r1,gametic
	bweq %r1,%gz,D_Display+416
	ldwzr %r1,automapactive
;D_Display+192
	bweq %r1,%gz,D_Display+208
	callr %r14,AM_Drawer
	nop 0
;D_Display+208
	ldwzr %r1,viewheight
	ldi %r2,1
	bwne %r4,%r5,D_Display+256
;D_Display+224
	bweqi %r1,200,D_Display+1120
	ldwzr %r6,D_Display.fullscreen
	mov %r3,%gz
;D_Display+240
	bweq %r6,%gz,D_Display+272
	nop 0
	nop 0
;D_Display+256
	mov %r3,%r2
	nop 0
	nop 0
;D_Display+272
	ldwzr %r6,inhelpscreens
	ldwzr %r7,D_Display.inhelpscreensstate
	cmovweq %r2,%r6,%r2,%r3
;D_Display+288
	cmovweq %r14,%r7,%r3,%r2
	cmpweqi %r13,%r1,200
	callr %r12,ST_Drawer
;D_Display+304
	ldwzr %r1,viewheight
	cmpweqi %r1,%r1,200
	stwr %r1,D_Display.fullscreen
;D_Display+320
	jmp D_Display+416
	nop 0
	nop 0
;D_Display+336
	callr %r14,F_Drawer
	jmp D_Display+416
	nop 0
;D_Display+352
	lddzr %r13,pagename
	ldi %r14,8
	callr %r12,W_CacheLumpName
;D_Display+368
	mov2 %r14,%r12,%r13,%gz
	mov %r13,%gz
	callr %r11,V_DrawPatch
;D_Display+384
	jmp D_Display+416
	nop 0
	nop 0
;D_Display+400
	callr %r14,WI_Drawer
	nop 0
	nop 0
;D_Display+416
	callr %r14,I_UpdateNoBlit
	ldwzr %r1,gamestate
	ldwzr %r2,gametic
;D_Display+432
	bwne %r1,%gz,D_Display+496
	ldwzr %r3,automapactive
	bwne %r3,%gz,D_Display+496
;D_Display+448
	bweq %r2,%gz,D_Display+496
	ldwsr %r1,displayplayer
	ldafr %r2,players
;D_Display+464
	ldi %r3,328
	muladd %r14,%r1,%r3,%r2
	callr %r13,R_RenderPlayerView
;D_Display+480
	ldwzr %r1,gamestate
	ldwzr %r2,gametic
	nop 0
;D_Display+496
	bwne %r1,%gz,D_Display+528
	bweq %r2,%gz,D_Display+528
	callr %r14,HU_Drawer
;D_Display+512
	ldwzr %r1,gamestate
	nop 0
	nop 0
;D_Display+528
	ldwzr %r2,D_Display.oldgamestate
	bweq %r1,%gz,D_Display+592
	bweq %r1,%r2,D_Display+592
;D_Display+544
	ldafr %r13,.rodata+27930
	ldi %r14,8
	callr %r12,W_CacheLumpName
;D_Display+560
	mov %r14,%r13
	callr %r13,I_SetPalette
	ldwzr %r1,gamestate
;D_Display+576
	ldwzr %r2,D_Display.oldgamestate
	nop 0
	nop 0
;D_Display+592
	bwne %r1,%gz,D_Display+624
	bweq %r2,%gz,D_Display+624
	stwr %gz,D_Display.viewactivestate
;D_Display+608
	callr %r14,R_FillBackScreen
	ldwzr %r1,gamestate
	nop 0
;D_Display+624
	bwne %r1,%gz,D_Display+752
	ldwzr %r1,automapactive
	bwne %r1,%gz,D_Display+752
;D_Display+640
	ldwzr %r1,scaledviewwidth
	bweqi %r1,320,D_Display+752
	ldwzr %r1,menuactive
;D_Display+656
	bwne %r1,%gz,D_Display+704
	ldwzr %r1,D_Display.menuactivestate
	bwne %r1,%gz,D_Display+704
;D_Display+672
	ldwzr %r1,D_Display.viewactivestate
	bweq %r1,%gz,D_Display+704
	ldwzr %r1,D_Display.borderdrawcount
;D_Display+688
	bwne %r1,%gz,D_Display+720
	jmp D_Display+752
	nop 0
;D_Display+704
	ldi %r1,3
	stwr %r1,D_Display.borderdrawcount
	nop 0
;D_Display+720
	callr %r14,R_DrawViewBorder
	ldwzr %r1,D_Display.borderdrawcount
	addiws %r1,%r1,-1
;D_Display+736
	stwr %r1,D_Display.borderdrawcount
	nop 0
	nop 0
;D_Display+752
	ldwzr %r1,testcontrols
	bweq %r1,%gz,D_Display+784
	ldwzr %r14,testcontrols_mousespeed
;D_Display+768
	callr %r13,V_DrawMouseSpeedBox
	nop 0
	nop 0
;D_Display+784
	ldwzr %r1,menuactive
	stwr %r1,D_Display.menuactivestate
	ldwzr %r1,viewactive
;D_Display+800
	ldwzr %r2,inhelpscreens
	ldwzr %r3,gamestate
	ldwzr %r6,paused
;D_Display+816
	stwr %r1,D_Display.viewactivestate
	stwr %r2,D_Display.inhelpscreensstate
	stwr %r3,wipegamestate
;D_Display+832
	stwr %r3,D_Display.oldgamestate
	bweq %r6,%gz,D_Display+944
	ldwzr %r1,viewwindowy
;D_Display+848
	ldwzr %r2,automapactive
	ldwzr %r3,scaledviewwidth
	addiws %r1,%r1,4
;D_Display+864
	ldi %r6,4
	cmovweq %r1,%r2,%r1,%r6
	ldwzr %r2,viewwindowx
;D_Display+880
	addiws %r3,%r3,-68
	srliw %r6,%r3,31
	addws %r3,%r3,%r6
;D_Display+896
	sraiw %r3,%r3,1
	addws %r2,%r3,%r2
	ldafr %r13,.rodata+23944
;D_Display+912
	ldi %r14,8
	callr %r12,W_CacheLumpName
	mov2 %r14,%r12,%r13,%r2
;D_Display+928
	mov %r13,%r1
	callr %r11,V_DrawPatchDirect
	nop 0
;D_Display+944
	callr %r14,M_Drawer
	callr %r14,NetUpdate
	bwne %r4,%r5,D_Display+976
;D_Display+960
	callr %r14,I_FinishUpdate
	retf 0
	nop 0
;D_Display+976
	ldi %r1,320
	ldi %r2,200
	mov2 %r11,%r12,%gz,%gz
;D_Display+992
	mov2 %r13,%r14,%r1,%r2
	callr %r10,wipe_EndScreen
	callr %r13,I_GetTime
;D_Display+1008
	addiws %r7,%r14,-1
	ldi %r3,1
	nop 0
;D_Display+1024
	callr %r13,I_GetTime
	mov %r4,%r14
	subws %r5,%r14,%r7
;D_Display+1040
	mov %r14,%r3
	callr %r13,I_Sleep
	bwlti %r5,1,D_Display+1024
;D_Display+1056
	mov2 %r9,%r10,%r3,%gz
	mov2 %r11,%r12,%gz,%r1
	mov2 %r13,%r14,%r2,%r5
;D_Display+1072
	callr %r8,wipe_ScreenWipe
	callr %r14,I_UpdateNoBlit
	callr %r14,M_Drawer
;D_Display+1088
	callr %r14,I_FinishUpdate
	mov %r7,%r4
	bweq %r9,%gz,D_Display+1024
;D_Display+1104
	retf 0
	nop 0
	nop 0
;D_Display+1120
	mov %r3,%gz
	jmp D_Display+272
	nop 0
;D_PageDrawer
	alloc 5
	lddzr %r3,pagename
	ldi %r4,8
;D_PageDrawer+16
	callr %r2,W_CacheLumpName
	mov2 %r4,%r2,%r3,%gz
	mov %r3,%gz
;D_PageDrawer+32
	callr %r1,V_DrawPatch
	retf 0
	nop 0
;D_BindVariables
	allocsp 11,32
	callr %r10,M_ApplyPlatformDefaults
	callr %r10,I_BindVideoVariables
;D_BindVariables+16
	callr %r10,I_BindJoystickVariables
	callr %r10,I_BindSoundVariables
	callr %r10,M_BindBaseControls
;D_BindVariables+32
	callr %r10,M_BindWeaponControls
	callr %r10,M_BindMapControls
	callr %r10,M_BindMenuControls
;D_BindVariables+48
	ldi %r10,4
	callr %r9,M_BindChatControls
	ldi %r1,103
;D_BindVariables+64
	stwr %r1,key_multi_msgplayer
	ldi %r1,105
	stwr %r1,key_multi_msgplayer+4
;D_BindVariables+80
	ldi %r1,98
	stwr %r1,key_multi_msgplayer+8
	ldi %r1,114
;D_BindVariables+96
	stwr %r1,key_multi_msgplayer+12
	ldafr %r9,.rodata+4265
	ldafr %r10,mouseSensitivity
;D_BindVariables+112
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+9664
	ldafr %r10,sfxVolume
;D_BindVariables+128
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+1252
	ldafr %r10,musicVolume
;D_BindVariables+144
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+8109
	ldafr %r10,showMessages
;D_BindVariables+160
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+19633
	ldafr %r10,screenblocks
;D_BindVariables+176
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+27383
	ldafr %r10,detailLevel
;D_BindVariables+192
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+5531
	ldafr %r10,snd_channels
;D_BindVariables+208
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+17073
	ldafr %r10,vanilla_savegame_limit
;D_BindVariables+224
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+10559
	ldafr %r10,vanilla_demo_limit
;D_BindVariables+240
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+7524
	ldafr %r10,show_endoom
;D_BindVariables+256
	callr %r8,M_BindVariable
	mov %r6,%gz
	ldafr %r1,chat_macros
;D_BindVariables+272
	ldafr %r2,.rodata+27395
	addi %r3,%sp,20
	ldi %r4,12
;D_BindVariables+288
	stw %r6,%sp,0
	mov2 %r8,%r9,%r3,%r4
	mov %r10,%r2
;D_BindVariables+304
	callr %r7,M_snprintf
	mov2 %r9,%r10,%r3,%r1
	callr %r8,M_BindVariable
;D_BindVariables+320
	addi %r6,%r6,1
	addi %r1,%r1,8
	bdnei %r6,10,D_BindVariables+288
;D_BindVariables+336
	retf 32
	nop 0
	nop 0
;D_GrabMouseCallback
	alloc 4
	ldwzr %r1,drone
	bweq %r1,%gz,D_GrabMouseCallback+32
;D_GrabMouseCallback+16
	mov %r1,%gz
	retf 0
	nop 0
;D_GrabMouseCallback+32
	ldwzr %r1,menuactive
	ldwzr %r2,paused
	or %r1,%r1,%r2
;D_GrabMouseCallback+48
	bweq %r1,%gz,D_GrabMouseCallback+64
	mov %r1,%gz
	retf 0
;D_GrabMouseCallback+64
	ldwzr %r1,gamestate
	ldwzr %r2,demoplayback
	ldwzr %r3,advancedemo
;D_GrabMouseCallback+80
	or %r1,%r1,%r2
	or %r1,%r1,%r3
	cmpweqi %r1,%r1,0
;D_GrabMouseCallback+96
	retf 0
	nop 0
	nop 0
;doomgeneric_Tick
	alloc 5
	callr %r4,I_StartFrame
	callr %r4,TryRunTics
;doomgeneric_Tick+16
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
	ldafr %r2,players
;doomgeneric_Tick+32
	lddzx.xd %r4,%r1,%r2,0,0
	callr %r3,S_UpdateSounds
	ldwzr %r1,screenvisible
;doomgeneric_Tick+48
	bweq %r1,%gz,doomgeneric_Tick+64
	callr %r4,D_Display
	nop 0
;doomgeneric_Tick+64
	retf 0
	nop 0
	nop 0
;D_DoomLoop
	alloc 5
	ldwzr %r2,bfgedition
	ldwzr %r1,demorecording
;D_DoomLoop+16
	bweq %r2,%gz,D_DoomLoop+64
	bwne %r1,%gz,D_DoomLoop+48
	ldwzr %r1,gameaction
;D_DoomLoop+32
	bweqi %r1,5,D_DoomLoop+48
	ldwzr %r1,netgame
	bweq %r1,%gz,D_DoomLoop+80
;D_DoomLoop+48
	ldafr %r4,.rodata+7536
	callr %r3,puts
	ldwzr %r1,demorecording
;D_DoomLoop+64
	bweq %r1,%gz,D_DoomLoop+80
	callr %r4,G_BeginRecording
	nop 0
;D_DoomLoop+80
	ldi %r1,1
	stwr %r1,main_loop_started
	callr %r4,TryRunTics
;D_DoomLoop+96
	lddzr %r4,gamedescription
	callr %r3,I_SetWindowTitle
	callr %r4,I_GraphicsCheckCommandLine
;D_DoomLoop+112
	ldar %r4,D_GrabMouseCallback
	callr %r3,I_SetGrabMouseCallback
	callr %r4,I_InitGraphics
;D_DoomLoop+128
	callr %r4,I_EnableLoadingDisk
	callr %r4,V_RestoreBuffer
	callr %r4,R_ExecuteSetViewSize
;D_DoomLoop+144
	callr %r4,D_StartGameLoop
	ldwzr %r1,testcontrols
	bweq %r1,%gz,D_DoomLoop+176
;D_DoomLoop+160
	ldwzr %r1,gamestate
	stwr %r1,wipegamestate
	nop 0
;D_DoomLoop+176
	callr %r4,doomgeneric_Tick
	retf 0
	nop 0
;D_PageTicker
	alloc 3
	ldwzr %r1,pagetic
	addiws %r2,%r1,-1
;D_PageTicker+16
	stwr %r2,pagetic
	bwle %r1,%gz,D_PageTicker+32
	retf 0
;D_PageTicker+32
	ldi %r1,1
	stwr %r1,advancedemo
	retf 0
;D_AdvanceDemo
	alloc 2
	ldi %r1,1
	stwr %r1,advancedemo
;D_AdvanceDemo+16
	retf 0
	nop 0
	nop 0
;D_DoAdvanceDemo
	alloc 8
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
;D_DoAdvanceDemo+16
	ldafr %r2,players+8
	stwx.xd %gz,%r1,%r2,0,0
	stwr %gz,advancedemo
;D_DoAdvanceDemo+32
	stwr %gz,usergame
	ldwzr %r1,gameversion
	ldwzr %r2,demosequence
;D_DoAdvanceDemo+48
	stwr %gz,paused
	stwr %gz,gameaction
	andi %r3,%r1,-2
;D_DoAdvanceDemo+64
	addiws %r1,%r2,1
	sraiw %r2,%r1,0
	bwnei %r3,6,D_DoAdvanceDemo+128
;D_DoAdvanceDemo+80
	muli.l %r2,%r2,-1840700269
	srli %r2,%r2,32
;D_DoAdvanceDemo+96
	addws %r2,%r2,%r1
	srliw %r3,%r2,31
	sraiw %r2,%r2,2
;D_DoAdvanceDemo+112
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,7
	jmp D_DoAdvanceDemo+160
;D_DoAdvanceDemo+128
	muli.l %r2,%r2,715827883
	srli %r3,%r2,63
;D_DoAdvanceDemo+144
	srli %r2,%r2,32
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,6
;D_DoAdvanceDemo+160
	subws %r1,%r1,%r2
	stwr %r1,demosequence
	bwgeui %r1,7,D_DoAdvanceDemo+528
;D_DoAdvanceDemo+176
	srliw %r1,%r1,0
	ldafr %r2,.rodata+32400
	jmpt %r2,%r1
;D_DoAdvanceDemo+192
	ldwzr %r1,gamemode
	cmpweqi %r2,%r1,2
	ldi %r3,170
;D_DoAdvanceDemo+208
	ldi %r4,385
	cmovlsb %r2,%r2,%r4,%r3
	stwr %r2,pagetic
;D_DoAdvanceDemo+224
	ldi %r2,3
	stwr %r2,gamestate
	ldafr %r2,.rodata+12207
;D_DoAdvanceDemo+240
	stdr %r2,pagename
	bweqi %r1,2,D_DoAdvanceDemo+320
	ldi %r7,29
;D_DoAdvanceDemo+256
	jmp D_DoAdvanceDemo+336
	nop 0
	nop 0
;D_DoAdvanceDemo+272
	ldwzr %r1,gamemode
	ldi %r2,3
	stwr %r2,gamestate
;D_DoAdvanceDemo+288
	bwnei %r1,2,D_DoAdvanceDemo+624
	ldi %r1,385
	stwr %r1,pagetic
;D_DoAdvanceDemo+304
	ldafr %r1,.rodata+12207
	stdr %r1,pagename
	nop 0
;D_DoAdvanceDemo+320
	ldi %r7,66
	nop 0
	nop 0
;D_DoAdvanceDemo+336
	callr %r6,S_StartMusic
	ldwzr %r1,bfgedition
	bwne %r1,%gz,D_DoAdvanceDemo+544
;D_DoAdvanceDemo+352
	jmp D_DoAdvanceDemo+592
	nop 0
	nop 0
;D_DoAdvanceDemo+368
	ldi %r1,200
	stwr %r1,pagetic
	ldi %r1,3
;D_DoAdvanceDemo+384
	stwr %r1,gamestate
	nop 0
	nop 0
;D_DoAdvanceDemo+400
	ldafr %r1,.rodata+10578
	nop 0
	nop 0
;D_DoAdvanceDemo+416
	stdr %r1,pagename
	ldwzr %r1,bfgedition
	bwne %r1,%gz,D_DoAdvanceDemo+544
;D_DoAdvanceDemo+432
	jmp D_DoAdvanceDemo+592
	nop 0
	nop 0
;D_DoAdvanceDemo+448
	ldafr %r7,.rodata+12845
	jmp D_DoAdvanceDemo+512
	nop 0
;D_DoAdvanceDemo+464
	ldafr %r7,.rodata+20226
	jmp D_DoAdvanceDemo+512
	nop 0
;D_DoAdvanceDemo+480
	ldafr %r7,.rodata+27938
	jmp D_DoAdvanceDemo+512
	nop 0
;D_DoAdvanceDemo+496
	ldafr %r7,.rodata+20232
	nop 0
	nop 0
;D_DoAdvanceDemo+512
	callr %r6,G_DeferedPlayDemo
	nop 0
	nop 0
;D_DoAdvanceDemo+528
	ldwzr %r1,bfgedition
	bweq %r1,%gz,D_DoAdvanceDemo+592
	nop 0
;D_DoAdvanceDemo+544
	lddzr %r6,pagename
	ldafr %r7,.rodata+12207
	callr %r5,strcasecmp
;D_DoAdvanceDemo+560
	bwne %r6,%gz,D_DoAdvanceDemo+592
	ldafr %r7,.rodata+2306
	callr %r6,W_CheckNumForName
;D_DoAdvanceDemo+576
	bwlti %r7,0,D_DoAdvanceDemo+608
	nop 0
	nop 0
;D_DoAdvanceDemo+592
	retf 0
	nop 0
	nop 0
;D_DoAdvanceDemo+608
	ldafr %r1,.rodata+14684
	stdr %r1,pagename
	retf 0
;D_DoAdvanceDemo+624
	ldi %r2,200
	stwr %r2,pagetic
	bweqi %r1,3,D_DoAdvanceDemo+400
;D_DoAdvanceDemo+640
	ldafr %r1,.rodata+11065
	jmp D_DoAdvanceDemo+416
	nop 0
;D_StartTitle
	alloc 2
	stwr %gz,gameaction
	ldi %r1,-1
;D_StartTitle+16
	stwr %r1,demosequence
	ldi %r1,1
	stwr %r1,advancedemo
;D_StartTitle+32
	retf 0
	nop 0
	nop 0
;D_IdentifyVersion
	allocsp 11,16
	ldwzr %r1,gamemission
	bwnei %r1,9,D_IdentifyVersion+144
;D_IdentifyVersion+16
	ldwzr %r2,numlumps
	bweq %r2,%gz,D_IdentifyVersion+128
	lddzr %r1,lumpinfo
;D_IdentifyVersion+32
	srliw %r6,%r2,0
	ldafr %r2,.rodata+17096
	ldi %r3,8
;D_IdentifyVersion+48
	ldafr %r4,.rodata+3766
	nop 0
	nop 0
;D_IdentifyVersion+64
	mov2 %r8,%r9,%r1,%r2
	mov %r10,%r3
	callr %r7,strncasecmp
;D_IdentifyVersion+80
	bweq %r8,%gz,D_IdentifyVersion+384
	mov2 %r8,%r9,%r1,%r4
	mov %r10,%r3
;D_IdentifyVersion+96
	callr %r7,strncasecmp
	bweq %r8,%gz,D_IdentifyVersion+400
	addi %r6,%r6,-1
;D_IdentifyVersion+112
	addi %r1,%r1,40
	bdne %r6,%gz,D_IdentifyVersion+64
	nop 0
;D_IdentifyVersion+128
	ldafr %r10,.rodata+17942
	callr %r9,I_Error
	ldwzr %r1,gamemission
;D_IdentifyVersion+144
	andi %r1,%r1,-5
	bweq %r1,%gz,D_IdentifyVersion+416
	nop 0
;D_IdentifyVersion+160
	ldi %r1,2
	stwr %r1,gamemode
	ldafr %r9,.rodata+4283
;D_IdentifyVersion+176
	ldi %r10,1
	callr %r8,M_CheckParmWithArgs
	bwlti %r9,1,D_IdentifyVersion+336
;D_IdentifyVersion+192
	lddzr %r1,myargv
	mov %r3,%gz
	lddzx.xuw %r1,%r1,%r9,3,8
;D_IdentifyVersion+208
	ldafr %r4,SetMissionForPackName.packs
	nop 0
	nop 0
;D_IdentifyVersion+224
	add %r10,%r3,%r4
	mov %r9,%r1
	callr %r8,strcasecmp
;D_IdentifyVersion+240
	bweq %r9,%gz,D_IdentifyVersion+352
	addi %r3,%r3,20
	bdnei %r3,60,D_IdentifyVersion+224
;D_IdentifyVersion+256
	ldafr %r10,.rodata+9689
	callr %r9,puts
	mov %r5,%gz
;D_IdentifyVersion+272
	ldafr %r2,.rodata+22276
	nop 0
	nop 0
;D_IdentifyVersion+288
	add %r3,%r5,%r4
	std %r3,%sp,0
	mov %r10,%r2
;D_IdentifyVersion+304
	callr %r9,printf
	addi %r5,%r5,20
	bdnei %r5,60,D_IdentifyVersion+288
;D_IdentifyVersion+320
	ldafr %r10,.rodata+14700
	std %r1,%sp,0
	callr %r9,I_Error
;D_IdentifyVersion+336
	retf 16
	nop 0
	nop 0
;D_IdentifyVersion+352
	ldafr %r1,SetMissionForPackName.packs+16
	ldwzx.xd %r1,%r3,%r1,0,0
	stwr %r1,gamemission
;D_IdentifyVersion+368
	retf 16
	nop 0
	nop 0
;D_IdentifyVersion+384
	ldi %r1,1
	stwr %r1,gamemission
	jmp D_IdentifyVersion+160
;D_IdentifyVersion+400
	stwr %gz,gamemission
	nop 0
	nop 0
;D_IdentifyVersion+416
	ldafr %r10,.rodata+19646
	callr %r9,W_CheckNumForName
	bwlti %r10,1,D_IdentifyVersion+448
;D_IdentifyVersion+432
	ldi %r1,3
	stwr %r1,gamemode
	retf 16
;D_IdentifyVersion+448
	ldafr %r10,.rodata+21309
	callr %r9,W_CheckNumForName
	bwlti %r10,1,D_IdentifyVersion+480
;D_IdentifyVersion+464
	ldi %r1,1
	stwr %r1,gamemode
	retf 16
;D_IdentifyVersion+480
	stwr %gz,gamemode
	retf 16
	nop 0
;D_SetGameDescription
	alloc 7
	ldafr %r6,.rodata+21314
	callr %r5,W_CheckNumForName
;D_SetGameDescription+16
	mov %r1,%r6
	ldafr %r6,.rodata+14693
	callr %r5,W_CheckNumForName
;D_SetGameDescription+32
	ldwzr %r2,gamemission
	ldafr %r3,.rodata+27407
	stdr %r3,gamedescription
;D_SetGameDescription+48
	bweqi %r2,4,D_SetGameDescription+112
	cmpweqi %r3,%r2,5
	ldi %r4,1
;D_SetGameDescription+64
	cmovlsb %r2,%r3,%r4,%r2
	bweq %r2,%gz,D_SetGameDescription+112
	bwlt %r1,%gz,D_SetGameDescription+160
;D_SetGameDescription+80
	ldafr %r1,.rodata+25898
	ldafr %r2,.rodata+2273
	cmovwlt %r1,%r6,%r2,%r1
;D_SetGameDescription+96
	jmp D_SetGameDescription+224
	nop 0
	nop 0
;D_SetGameDescription+112
	bwlti %r1,0,D_SetGameDescription+128
	ldafr %r1,.rodata+17924
	jmp D_SetGameDescription+224
;D_SetGameDescription+128
	ldwzr %r1,gamemode
	bweq %r1,%gz,D_SetGameDescription+208
	bweqi %r1,3,D_SetGameDescription+192
;D_SetGameDescription+144
	bwnei %r1,1,D_SetGameDescription+240
	ldafr %r1,.rodata+22260
	jmp D_SetGameDescription+224
;D_SetGameDescription+160
	addiws %r1,%r2,-1
	bwgeui %r1,3,D_SetGameDescription+240
	ldafr %r2,.Lswitch.table.D_SetGameDescription.rel
;D_SetGameDescription+176
	ldwsx.xuw %r1,%r2,%r1,2,0
	add %r1,%r1,%r2
	jmp D_SetGameDescription+224
;D_SetGameDescription+192
	ldafr %r1,.rodata+5913
	jmp D_SetGameDescription+224
	nop 0
;D_SetGameDescription+208
	ldafr %r1,.rodata+8123
	nop 0
	nop 0
;D_SetGameDescription+224
	stdr %r1,gamedescription
	nop 0
	nop 0
;D_SetGameDescription+240
	retf 0
	nop 0
	nop 0
;PrintDehackedBanners
	alloc 1
	retf 0
	nop 0
;PrintGameVersion
	allocsp 8,16
	ldwzr %r1,gameversion
	bwnei %r1,1,PrintGameVersion+32
;PrintGameVersion+16
	ldafr %r1,.rodata+6733
	jmp PrintGameVersion+96
	nop 0
;PrintGameVersion+32
	mov %r3,%gz
	ldafr %r2,gameversions+40
	nop 0
;PrintGameVersion+48
	addi %r4,%r3,24
	bdeqi %r4,216,PrintGameVersion+112
	ldwzx.xd %r5,%r3,%r2,0,0
;PrintGameVersion+64
	mov %r3,%r4
	bwne %r5,%r1,PrintGameVersion+48
	ldafr %r1,gameversions
;PrintGameVersion+80
	lddzx.xd %r1,%r4,%r1,0,0
	nop 0
	nop 0
;PrintGameVersion+96
	ldafr %r7,.rodata+6679
	std %r1,%sp,0
	callr %r6,printf
;PrintGameVersion+112
	retf 16
	nop 0
	nop 0
;D_DoomMain
	allocsp 15,480
	ldar %r13,D_Endoom
	mov %r14,%gz
;D_DoomMain+16
	callr %r12,I_AtExit
	ldafr %r14,.rodata+23952
	callr %r13,I_PrintBanner
;D_DoomMain+32
	ldafr %r14,.rodata+3783
	callr %r13,puts
	callr %r14,Z_Init
;D_DoomMain+48
	ldafr %r14,.rodata+5544
	callr %r13,M_CheckParm
	stwr %r14,nomonsters
;D_DoomMain+64
	ldafr %r14,.rodata+21323
	callr %r13,M_CheckParm
	stwr %r14,respawnparm
;D_DoomMain+80
	ldafr %r14,.rodata+6727
	callr %r13,M_CheckParm
	stwr %r14,fastparm
;D_DoomMain+96
	ldafr %r14,.rodata+25923
	callr %r13,M_CheckParm
	stwr %r14,devparm
;D_DoomMain+112
	callr %r13,I_DisplayFPSDots
	ldafr %r14,.rodata+23969
	callr %r13,M_CheckParm
;D_DoomMain+128
	bweq %r14,%gz,D_DoomMain+144
	ldi %r1,1
	stwr %r1,deathmatch
;D_DoomMain+144
	ldafr %r14,.rodata+25932
	callr %r13,M_CheckParm
	ldi %r5,2
;D_DoomMain+160
	bweq %r14,%gz,D_DoomMain+176
	stwr %r5,deathmatch
	nop 0
;D_DoomMain+176
	ldwzr %r1,devparm
	bweq %r1,%gz,D_DoomMain+208
	ldafr %r14,.rodata+155
;D_DoomMain+192
	callr %r13,puts
	nop 0
	nop 0
;D_DoomMain+208
	mov %r14,%gz
	callr %r13,M_SetConfigDir
	ldafr %r14,.rodata+19651
;D_DoomMain+224
	callr %r13,M_CheckParm
	bweq %r14,%gz,D_DoomMain+496
	ldwzr %r1,myargc
;D_DoomMain+240
	addiws %r1,%r1,-1
	bwle %r1,%r14,D_DoomMain+272
	lddzr %r1,myargv
;D_DoomMain+256
	lddzx.xw %r14,%r1,%r14,3,8
	callr %r13,atoi
	jmp D_DoomMain+288
;D_DoomMain+272
	ldi %r14,200
	nop 0
	nop 0
;D_DoomMain+288
	ldi %r1,10
	maxsw %r1,%r14,%r1
	ldi %r2,400
;D_DoomMain+304
	minsw %r2,%r1,%r2
	ldafr %r14,.rodata+11071
	stw %r2,%sp,0
;D_DoomMain+320
	callr %r13,printf
	ldwzr %r1,forwardmove
	mulws %r1,%r1,%r2
;D_DoomMain+336
	muli.l %r1,%r1,1374389535
	srli %r3,%r1,63
;D_DoomMain+352
	srai %r1,%r1,37
	addws %r1,%r1,%r3
	stwr %r1,forwardmove
;D_DoomMain+368
	ldwzr %r1,forwardmove+4
	ldwzr %r3,sidemove
	mulws %r1,%r1,%r2
;D_DoomMain+384
	muli.l %r1,%r1,1374389535
	srli %r4,%r1,63
;D_DoomMain+400
	mulws %r3,%r3,%r2
	muli.l %r3,%r3,1374389535
;D_DoomMain+416
	srli %r6,%r3,63
	srai %r3,%r3,37
	addws %r3,%r3,%r6
;D_DoomMain+432
	stwr %r3,sidemove
	ldwzr %r3,sidemove+4
	srai %r1,%r1,37
;D_DoomMain+448
	addws %r1,%r1,%r4
	stwr %r1,forwardmove+4
	mulws %r1,%r3,%r2
;D_DoomMain+464
	muli.l %r1,%r1,1374389535
	srli %r2,%r1,63
;D_DoomMain+480
	srai %r1,%r1,37
	addws %r1,%r1,%r2
	stwr %r1,sidemove+4
;D_DoomMain+496
	ldafr %r14,.rodata+176
	callr %r13,puts
	callr %r14,V_Init
;D_DoomMain+512
	ldafr %r14,.rodata+14747
	callr %r13,puts
	ldafr %r13,.rodata+18455
;D_DoomMain+528
	ldafr %r14,.rodata+27944
	callr %r12,M_SetConfigFilenames
	callr %r14,D_BindVariables
;D_DoomMain+544
	callr %r14,M_LoadDefaults
	ldar %r13,M_SaveDefaults
	mov %r14,%gz
;D_DoomMain+560
	callr %r12,I_AtExit
	ldafr %r1,gamemission
	ldi %r13,63
;D_DoomMain+576
	mov %r14,%r1
	callr %r12,D_FindIWAD
	stdr %r13,iwadfile
;D_DoomMain+592
	bdne %r13,%gz,D_DoomMain+608
	ldafr %r14,.rodata+8637
	callr %r13,I_Error
;D_DoomMain+608
	stwr %gz,modifiedgame
	ldafr %r14,.rodata+11102
	callr %r13,puts
;D_DoomMain+624
	lddzr %r2,iwadfile
	ldafr %r14,.rodata+1265
	std %r2,%sp,0
;D_DoomMain+640
	callr %r13,printf
	mov %r14,%r2
	callr %r13,W_AddFile
;D_DoomMain+656
	mov %r14,%gz
	callr %r13,W_CheckCorrectIWAD
	callr %r14,D_IdentifyVersion
;D_DoomMain+672
	ldafr %r13,.rodata+17121
	ldi %r2,1
	mov %r14,%r2
;D_DoomMain+688
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+880
	lddzr %r3,myargv
;D_DoomMain+704
	mov %r9,%gz
	ldafr %r8,.rodata+6733
	sraiw %r6,%r13,0
;D_DoomMain+720
	lddzx.xw %r3,%r3,%r13,3,8
	ldafr %r7,gameversions+8
	nop 0
;D_DoomMain+736
	lddzx.xd %r14,%r9,%r7,0,0
	mov %r13,%r3
	callr %r12,strcmp
;D_DoomMain+752
	bweq %r13,%gz,D_DoomMain+912
	addi %r9,%r9,24
	bdnei %r9,216,D_DoomMain+736
;D_DoomMain+768
	ldafr %r14,.rodata+20308
	callr %r13,puts
	mov %r9,%gz
;D_DoomMain+784
	ldafr %r3,.rodata+27964
	ldafr %r10,gameversions+24
	nop 0
;D_DoomMain+800
	lddzx.xd %r4,%r9,%r7,0,0
	std %r8,%sp,8
	std %r4,%sp,0
;D_DoomMain+816
	mov %r14,%r3
	callr %r13,printf
	lddzx.xd %r8,%r9,%r10,0,0
;D_DoomMain+832
	addi %r9,%r9,24
	bdnei %r9,216,D_DoomMain+800
	lddzr %r3,myargv
;D_DoomMain+848
	lddzx.xd %r3,%r3,%r6,3,8
	ldafr %r14,.rodata+21349
	std %r3,%sp,0
;D_DoomMain+864
	callr %r13,I_Error
	jmp D_DoomMain+1040
	nop 0
;D_DoomMain+880
	ldwzr %r3,gamemission
	bweqi %r3,5,D_DoomMain+928
	bwnei %r3,4,D_DoomMain+944
;D_DoomMain+896
	ldi %r3,9
	jmp D_DoomMain+1024
	nop 0
;D_DoomMain+912
	ldafr %r3,gameversions+16
	ldwzx.xd %r3,%r9,%r3,0,0
	jmp D_DoomMain+1024
;D_DoomMain+928
	ldi %r3,5
	jmp D_DoomMain+1024
	nop 0
;D_DoomMain+944
	ldwzr %r4,gamemode
	bwgeui %r4,2,D_DoomMain+976
	nop 0
;D_DoomMain+960
	ldi %r3,4
	jmp D_DoomMain+1024
	nop 0
;D_DoomMain+976
	bweqi %r4,2,D_DoomMain+1008
	bwnei %r4,3,D_DoomMain+1040
	ldi %r3,6
;D_DoomMain+992
	jmp D_DoomMain+1024
	nop 0
	nop 0
;D_DoomMain+1008
	bweqi %r3,1,D_DoomMain+960
	ldi %r3,7
	nop 0
;D_DoomMain+1024
	stwr %r3,gameversion
	nop 0
	nop 0
;D_DoomMain+1040
	ldwzr %r4,gameversion
	ldwzr %r3,gamemode
	bwgeui %r4,6,D_DoomMain+1264
;D_DoomMain+1056
	bwnei %r3,3,D_DoomMain+1264
	ldafr %r1,gamemode
	nop 0
;D_DoomMain+1072
	stw %r2,%r1,0
	nop 0
	nop 0
;D_DoomMain+1088
	ldafr %r14,.rodata+2315
	callr %r13,W_CheckNumForName
	bwlt %r14,%gz,D_DoomMain+1120
;D_DoomMain+1104
	ldafr %r14,.rodata+2344
	callr %r13,puts
	stwr %r2,bfgedition
;D_DoomMain+1120
	callr %r13,W_ParseCommandLine
	stwr %r14,modifiedgame
	ldafr %r13,.rodata+25942
;D_DoomMain+1136
	ldi %r14,1
	callr %r12,M_CheckParmWithArgs
	bwne %r13,%gz,D_DoomMain+1184
;D_DoomMain+1152
	ldafr %r13,.rodata+17102
	ldi %r14,1
	callr %r12,M_CheckParmWithArgs
;D_DoomMain+1168
	bweq %r13,%gz,D_DoomMain+1440
	nop 0
	nop 0
;D_DoomMain+1184
	lddzr %r1,myargv
	addiws %r3,%r13,1
	lddzx.xw %r13,%r1,%r3,3,0
;D_DoomMain+1200
	ldafr %r14,.rodata+11090
	callr %r12,M_StringEndsWith
	lddzr %r1,myargv
;D_DoomMain+1216
	mov %r2,%r13
	lddzx.xw %r13,%r1,%r3,3,0
	addi %r1,%sp,224
;D_DoomMain+1232
	bweq %r2,%gz,D_DoomMain+1296
	addi %r12,%sp,224
	ldi %r14,256
;D_DoomMain+1248
	callr %r11,M_StringCopy
	jmp D_DoomMain+1328
	nop 0
;D_DoomMain+1264
	bwgeui %r4,7,D_DoomMain+1088
	bwnei %r3,2,D_DoomMain+1088
	ldwzr %r3,gamemission
;D_DoomMain+1280
	andi %r3,%r3,-2
	bweqi %r3,2,D_DoomMain+1072
	jmp D_DoomMain+1088
;D_DoomMain+1296
	ldafr %r14,.rodata+11095
	addi %r12,%sp,224
	ldi %r2,256
;D_DoomMain+1312
	std %r13,%sp,0
	mov %r13,%r2
	callr %r11,snprintf
;D_DoomMain+1328
	ldafr %r14,.rodata+1265
	std %r1,%sp,0
	callr %r13,printf
;D_DoomMain+1344
	mov %r14,%r1
	callr %r13,W_AddFile
	bdeq %r14,%gz,D_DoomMain+1392
;D_DoomMain+1360
	ldwzr %r2,numlumps
	lddzr %r3,lumpinfo
	addiwz %r2,%r2,-1
;D_DoomMain+1376
	ldi %r4,40
	muladd %r13,%r2,%r4,%r3
	jmp D_DoomMain+1408
;D_DoomMain+1392
	lddzr %r2,myargv
	lddzx.xd %r13,%r2,%r3,3,0
	nop 0
;D_DoomMain+1408
	addi %r12,%sp,215
	ldi %r14,9
	callr %r11,M_StringCopy
;D_DoomMain+1424
	ldafr %r14,.rodata+20238
	std %r1,%sp,0
	callr %r13,printf
;D_DoomMain+1440
	ldar %r13,G_CheckDemoStatus
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+1456
	callr %r12,I_AtExit
	callr %r14,W_GenerateHashTable
	callr %r14,D_SetGameDescription
;D_DoomMain+1472
	ldwzr %r14,gamemission
	callr %r13,D_SaveGameIWADName
	callr %r13,M_GetSaveGameDir
;D_DoomMain+1488
	ldwzr %r2,modifiedgame
	stdr %r14,savegamedir
	bweq %r2,%gz,D_DoomMain+4688
;D_DoomMain+1504
	ldafr %r2,.L__const.D_DoomMain.name+180
	ldbz %r2,%r2,1
	ldbzr %r3,.L__const.D_DoomMain.name+180
;D_DoomMain+1520
	ldbzr %r4,.L__const.D_DoomMain.name+183
	ldbzr %r6,.L__const.D_DoomMain.name+182
	ldafr %r7,.L__const.D_DoomMain.name+176
;D_DoomMain+1536
	ldbz %r8,%r7,1
	ldbzr %r9,.L__const.D_DoomMain.name+176
	ldbz %r10,%r7,3
;D_DoomMain+1552
	ldbz %r7,%r7,2
	slli %r4,%r4,24
	slor %r2,%r3,%r2,8
;D_DoomMain+1568
	slor %r3,%r4,%r6,16
	slli %r4,%r10,24
	or %r2,%r3,%r2
;D_DoomMain+1584
	slor %r3,%r9,%r8,8
	slor %r4,%r4,%r7,16
	or %r3,%r4,%r3
;D_DoomMain+1600
	slor %r2,%r3,%r2,32
	std %r2,%sp,192
	ldafr %r2,.L__const.D_DoomMain.name+160
;D_DoomMain+1616
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+160
	ldbz %r6,%r2,2
;D_DoomMain+1632
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+1648
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+1664
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+1680
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+1696
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+1712
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+1728
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+168
	ldbz %r4,%r3,1
;D_DoomMain+1744
	ldbzr %r6,.L__const.D_DoomMain.name+168
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+1760
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+1776
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+174
;D_DoomMain+1792
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+175
;D_DoomMain+1808
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+172
	ldbz %r7,%r7,1
;D_DoomMain+1824
	ldbzr %r8,.L__const.D_DoomMain.name+172
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+1840
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+1856
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+1872
	stq %r2,%sp,176
	ldafr %r2,.L__const.D_DoomMain.name+144
	ldbz %r3,%r2,1
;D_DoomMain+1888
	ldbzr %r4,.L__const.D_DoomMain.name+144
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+1904
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+1920
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+1936
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+1952
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+1968
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+1984
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
;D_DoomMain+2000
	ldafr %r3,.L__const.D_DoomMain.name+152
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+152
;D_DoomMain+2016
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
;D_DoomMain+2032
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
;D_DoomMain+2048
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+158
	or %r3,%r3,%r4
;D_DoomMain+2064
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+159
	sllqi %r6,%r6,16
;D_DoomMain+2080
	ldafr %r7,.L__const.D_DoomMain.name+156
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+156
;D_DoomMain+2096
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
;D_DoomMain+2112
	or %r6,%r6,%r8
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
;D_DoomMain+2128
	or %r3,%r4,%r3
	or %r2,%r3,%r2
	stq %r2,%sp,160
;D_DoomMain+2144
	ldafr %r2,.L__const.D_DoomMain.name+128
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+128
;D_DoomMain+2160
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
;D_DoomMain+2176
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
;D_DoomMain+2192
	or %r4,%r6,%r4
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
;D_DoomMain+2208
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
;D_DoomMain+2224
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+2240
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
	or %r2,%r2,%r4
;D_DoomMain+2256
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+136
;D_DoomMain+2272
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+136
	ldbz %r7,%r3,2
;D_DoomMain+2288
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+2304
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
;D_DoomMain+2320
	ldbzr %r6,.L__const.D_DoomMain.name+142
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
;D_DoomMain+2336
	ldbzr %r4,.L__const.D_DoomMain.name+143
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+140
;D_DoomMain+2352
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+140
	sllqi %r4,%r4,24
;D_DoomMain+2368
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
;D_DoomMain+2384
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
;D_DoomMain+2400
	or %r2,%r3,%r2
	stq %r2,%sp,144
	ldafr %r2,.L__const.D_DoomMain.name+112
;D_DoomMain+2416
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+112
	ldbz %r6,%r2,2
;D_DoomMain+2432
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+2448
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+2464
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+2480
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+2496
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+2512
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+2528
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+120
	ldbz %r4,%r3,1
;D_DoomMain+2544
	ldbzr %r6,.L__const.D_DoomMain.name+120
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+2560
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+2576
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+126
;D_DoomMain+2592
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+127
;D_DoomMain+2608
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+124
	ldbz %r7,%r7,1
;D_DoomMain+2624
	ldbzr %r8,.L__const.D_DoomMain.name+124
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+2640
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+2656
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+2672
	stq %r2,%sp,128
	ldafr %r2,.L__const.D_DoomMain.name+96
	ldbz %r3,%r2,1
;D_DoomMain+2688
	ldbzr %r4,.L__const.D_DoomMain.name+96
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+2704
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+2720
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+2736
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+2752
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+2768
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+2784
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
;D_DoomMain+2800
	ldafr %r3,.L__const.D_DoomMain.name+104
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+104
;D_DoomMain+2816
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
;D_DoomMain+2832
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
;D_DoomMain+2848
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+110
	or %r3,%r3,%r4
;D_DoomMain+2864
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+111
	sllqi %r6,%r6,16
;D_DoomMain+2880
	ldafr %r7,.L__const.D_DoomMain.name+108
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+108
;D_DoomMain+2896
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
;D_DoomMain+2912
	or %r6,%r6,%r8
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
;D_DoomMain+2928
	or %r3,%r4,%r3
	or %r2,%r3,%r2
	stq %r2,%sp,112
;D_DoomMain+2944
	ldafr %r2,.L__const.D_DoomMain.name+80
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+80
;D_DoomMain+2960
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
;D_DoomMain+2976
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
;D_DoomMain+2992
	or %r4,%r6,%r4
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
;D_DoomMain+3008
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
;D_DoomMain+3024
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+3040
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
	or %r2,%r2,%r4
;D_DoomMain+3056
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+88
;D_DoomMain+3072
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+88
	ldbz %r7,%r3,2
;D_DoomMain+3088
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+3104
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
;D_DoomMain+3120
	ldbzr %r6,.L__const.D_DoomMain.name+94
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
;D_DoomMain+3136
	ldbzr %r4,.L__const.D_DoomMain.name+95
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+92
;D_DoomMain+3152
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+92
	sllqi %r4,%r4,24
;D_DoomMain+3168
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
;D_DoomMain+3184
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
;D_DoomMain+3200
	or %r2,%r3,%r2
	stq %r2,%sp,96
	ldafr %r2,.L__const.D_DoomMain.name+64
;D_DoomMain+3216
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+64
	ldbz %r6,%r2,2
;D_DoomMain+3232
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+3248
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+3264
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+3280
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+3296
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+3312
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+3328
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+72
	ldbz %r4,%r3,1
;D_DoomMain+3344
	ldbzr %r6,.L__const.D_DoomMain.name+72
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+3360
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+3376
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+78
;D_DoomMain+3392
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+79
;D_DoomMain+3408
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+76
	ldbz %r7,%r7,1
;D_DoomMain+3424
	ldbzr %r8,.L__const.D_DoomMain.name+76
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+3440
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+3456
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+3472
	stq %r2,%sp,80
	ldafr %r2,.L__const.D_DoomMain.name+48
	ldbz %r3,%r2,1
;D_DoomMain+3488
	ldbzr %r4,.L__const.D_DoomMain.name+48
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+3504
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+3520
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+3536
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+3552
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+3568
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+3584
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
;D_DoomMain+3600
	ldafr %r3,.L__const.D_DoomMain.name+56
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+56
;D_DoomMain+3616
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
;D_DoomMain+3632
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
;D_DoomMain+3648
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+62
	or %r3,%r3,%r4
;D_DoomMain+3664
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+63
	sllqi %r6,%r6,16
;D_DoomMain+3680
	ldafr %r7,.L__const.D_DoomMain.name+60
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+60
;D_DoomMain+3696
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
;D_DoomMain+3712
	or %r6,%r6,%r8
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
;D_DoomMain+3728
	or %r3,%r4,%r3
	or %r2,%r3,%r2
	stq %r2,%sp,64
;D_DoomMain+3744
	ldafr %r2,.L__const.D_DoomMain.name+32
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+32
;D_DoomMain+3760
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
;D_DoomMain+3776
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
;D_DoomMain+3792
	or %r4,%r6,%r4
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
;D_DoomMain+3808
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
;D_DoomMain+3824
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+3840
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
	or %r2,%r2,%r4
;D_DoomMain+3856
	sllqi %r2,%r2,32
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+40
;D_DoomMain+3872
	ldbz %r4,%r3,1
	ldbzr %r6,.L__const.D_DoomMain.name+40
	ldbz %r7,%r3,2
;D_DoomMain+3888
	ldbz %r3,%r3,3
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+3904
	sllqi %r6,%r7,16
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
;D_DoomMain+3920
	ldbzr %r6,.L__const.D_DoomMain.name+46
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
;D_DoomMain+3936
	ldbzr %r4,.L__const.D_DoomMain.name+47
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+44
;D_DoomMain+3952
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+44
	sllqi %r4,%r4,24
;D_DoomMain+3968
	or %r4,%r4,%r6
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
;D_DoomMain+3984
	or %r4,%r4,%r6
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
;D_DoomMain+4000
	or %r2,%r3,%r2
	stq %r2,%sp,48
	ldafr %r2,.L__const.D_DoomMain.name+16
;D_DoomMain+4016
	ldbz %r3,%r2,1
	ldbzr %r4,.L__const.D_DoomMain.name+16
	ldbz %r6,%r2,2
;D_DoomMain+4032
	ldbz %r7,%r2,3
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
;D_DoomMain+4048
	sllqi %r4,%r6,16
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
;D_DoomMain+4064
	or %r3,%r4,%r3
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
;D_DoomMain+4080
	ldbz %r7,%r2,6
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
;D_DoomMain+4096
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+4112
	or %r2,%r2,%r6
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
;D_DoomMain+4128
	or %r2,%r2,%r3
	ldafr %r3,.L__const.D_DoomMain.name+24
	ldbz %r4,%r3,1
;D_DoomMain+4144
	ldbzr %r6,.L__const.D_DoomMain.name+24
	ldbz %r7,%r3,2
	ldbz %r3,%r3,3
;D_DoomMain+4160
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
;D_DoomMain+4176
	sllqi %r3,%r3,24
	or %r3,%r3,%r6
	ldbzr %r6,.L__const.D_DoomMain.name+30
;D_DoomMain+4192
	or %r3,%r3,%r4
	sllqi %r3,%r3,0
	ldbzr %r4,.L__const.D_DoomMain.name+31
;D_DoomMain+4208
	sllqi %r6,%r6,16
	ldafr %r7,.L__const.D_DoomMain.name+28
	ldbz %r7,%r7,1
;D_DoomMain+4224
	ldbzr %r8,.L__const.D_DoomMain.name+28
	sllqi %r4,%r4,24
	or %r4,%r4,%r6
;D_DoomMain+4240
	sllqi %r6,%r7,8
	or %r6,%r6,%r8
	or %r4,%r4,%r6
;D_DoomMain+4256
	sllqi %r4,%r4,32
	or %r3,%r4,%r3
	or %r2,%r3,%r2
;D_DoomMain+4272
	stq %r2,%sp,32
	ldafr %r2,.L__const.D_DoomMain.name
	ldbz %r3,%r2,1
;D_DoomMain+4288
	ldbzr %r4,.L__const.D_DoomMain.name
	ldbz %r6,%r2,2
	ldbz %r7,%r2,3
;D_DoomMain+4304
	sllqi %r3,%r3,8
	or %r3,%r3,%r4
	sllqi %r4,%r6,16
;D_DoomMain+4320
	sllqi %r6,%r7,24
	or %r4,%r6,%r4
	or %r3,%r4,%r3
;D_DoomMain+4336
	ldbz %r4,%r2,5
	ldbz %r6,%r2,4
	ldbz %r7,%r2,6
;D_DoomMain+4352
	ldbz %r2,%r2,7
	sllqi %r4,%r4,8
	or %r4,%r4,%r6
;D_DoomMain+4368
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
	or %r2,%r2,%r6
;D_DoomMain+4384
	or %r2,%r2,%r4
	sllqi %r2,%r2,32
	or %r3,%r2,%r3
;D_DoomMain+4400
	ldafr %r2,.L__const.D_DoomMain.name+8
	ldbz %r4,%r2,1
	ldbzr %r6,.L__const.D_DoomMain.name+8
;D_DoomMain+4416
	ldbz %r7,%r2,2
	ldbz %r2,%r2,3
	sllqi %r4,%r4,8
;D_DoomMain+4432
	or %r4,%r4,%r6
	sllqi %r6,%r7,16
	sllqi %r2,%r2,24
;D_DoomMain+4448
	ldbzr %r7,.L__const.D_DoomMain.name+14
	ldbzr %r8,.L__const.D_DoomMain.name+15
	or %r2,%r2,%r6
;D_DoomMain+4464
	or %r2,%r2,%r4
	sllqi %r4,%r7,16
	sllqi %r6,%r8,24
;D_DoomMain+4480
	ldafr %r7,.L__const.D_DoomMain.name+12
	ldbz %r7,%r7,1
	ldbzr %r8,.L__const.D_DoomMain.name+12
;D_DoomMain+4496
	or %r4,%r6,%r4
	sllqi %r6,%r2,0
	sllqi %r2,%r7,8
;D_DoomMain+4512
	or %r2,%r2,%r8
	or %r4,%r4,%r2
	ldwzr %r2,gamemode
;D_DoomMain+4528
	sllqi %r4,%r4,32
	or %r4,%r4,%r6
	or %r3,%r4,%r3
;D_DoomMain+4544
	stq %r3,%sp,16
	bweq %r2,%gz,D_DoomMain+4576
	bweqi %r2,1,D_DoomMain+4608
;D_DoomMain+4560
	jmp D_DoomMain+4688
	nop 0
	nop 0
;D_DoomMain+4576
	ldafr %r14,.rodata+27415
	callr %r13,I_Error
	ldwzr %r2,gamemode
;D_DoomMain+4592
	bwnei %r2,1,D_DoomMain+4688
	nop 0
	nop 0
;D_DoomMain+4608
	mov %r4,%gz
	addi %r6,%sp,16
	ldafr %r2,.rodata+118
;D_DoomMain+4624
	jmp D_DoomMain+4656
	nop 0
	nop 0
;D_DoomMain+4640
	addi %r4,%r4,8
	bdeqi %r4,184,D_DoomMain+4688
	nop 0
;D_DoomMain+4656
	add %r14,%r6,%r4
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+4640
;D_DoomMain+4672
	mov %r14,%r2
	callr %r13,I_Error
	jmp D_DoomMain+4640
;D_DoomMain+4688
	ldafr %r14,.rodata+17112
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+4720
;D_DoomMain+4704
	ldafr %r14,.rodata+3771
	callr %r13,W_CheckNumForName
	bwlt %r14,%gz,D_DoomMain+4736
;D_DoomMain+4720
	callr %r14,I_PrintDivider
	ldafr %r14,.rodata+14026
	callr %r13,puts
;D_DoomMain+4736
	lddzr %r14,gamedescription
	callr %r13,I_PrintStartupBanner
	ldafr %r14,.rodata+21314
;D_DoomMain+4752
	callr %r13,W_CheckNumForName
	bwlt %r14,%gz,D_DoomMain+4800
	ldafr %r14,.rodata+14693
;D_DoomMain+4768
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+4800
	ldafr %r14,.rodata+22977
;D_DoomMain+4784
	callr %r13,puts
	callr %r14,I_PrintDivider
	nop 0
;D_DoomMain+4800
	ldafr %r14,.rodata+2386
	callr %r13,puts
	callr %r14,I_CheckIsScreensaver
;D_DoomMain+4816
	callr %r14,I_InitTimer
	callr %r14,I_InitJoystick
	mov %r14,%r1
;D_DoomMain+4832
	callr %r13,I_InitSound
	callr %r14,I_InitMusic
	callr %r14,D_ConnectNetGame
;D_DoomMain+4848
	stwr %r5,startskill
	stwr %r1,startepisode
	stwr %r1,startmap
;D_DoomMain+4864
	stwr %gz,autostart
	ldafr %r13,.rodata+19658
	mov %r14,%r1
;D_DoomMain+4880
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+4928
	lddzr %r2,myargv
;D_DoomMain+4896
	lddzx.xw %r2,%r2,%r13,3,8
	ldbs %r2,%r2,0
	addiws %r2,%r2,-49
;D_DoomMain+4912
	stwr %r2,startskill
	stwr %r1,autostart
	nop 0
;D_DoomMain+4928
	ldafr %r13,.rodata+8749
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+4944
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+4992
	lddzr %r2,myargv
;D_DoomMain+4960
	lddzx.xw %r2,%r2,%r13,3,8
	ldbs %r2,%r2,0
	addiws %r2,%r2,-48
;D_DoomMain+4976
	stwr %r2,startepisode
	stwr %r1,startmap
	stwr %r1,autostart
;D_DoomMain+4992
	stwr %gz,timelimit
	ldafr %r13,.rodata+21332
	ldi %r14,1
;D_DoomMain+5008
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5040
	lddzr %r1,myargv
;D_DoomMain+5024
	lddzx.xw %r14,%r1,%r13,3,8
	callr %r13,atoi
	stwr %r14,timelimit
;D_DoomMain+5040
	ldafr %r14,.rodata+3778
	callr %r13,M_CheckParm
	bweq %r14,%gz,D_DoomMain+5072
;D_DoomMain+5056
	ldi %r1,20
	stwr %r1,timelimit
	nop 0
;D_DoomMain+5072
	ldafr %r13,.rodata+2324
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5088
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5216
	ldwzr %r3,gamemode
;D_DoomMain+5104
	lddzr %r2,myargv
	lddzx.xw %r14,%r2,%r13,3,8
	bwnei %r3,2,D_DoomMain+5136
;D_DoomMain+5120
	callr %r13,atoi
	jmp D_DoomMain+5200
	nop 0
;D_DoomMain+5136
	ldbs %r3,%r14,0
	ldwzr %r4,myargc
	addiws %r5,%r3,-48
;D_DoomMain+5152
	addiws %r3,%r13,2
	stwr %r5,startepisode
	mov %r14,%r1
;D_DoomMain+5168
	bwle %r4,%r3,D_DoomMain+5200
	lddzx.xw %r2,%r2,%r3,3,0
	ldbs %r2,%r2,0
;D_DoomMain+5184
	addiws %r14,%r2,-48
	nop 0
	nop 0
;D_DoomMain+5200
	stwr %r14,startmap
	stwr %r1,autostart
	nop 0
;D_DoomMain+5216
	ldafr %r14,.rodata+19665
	callr %r13,M_CheckParm
	bwlti %r14,1,D_DoomMain+5264
;D_DoomMain+5232
	ldi %r1,1
	stwr %r1,startepisode
	stwr %r1,startmap
;D_DoomMain+5248
	stwr %r1,autostart
	stwr %r1,testcontrols
	nop 0
;D_DoomMain+5264
	ldafr %r13,.rodata+21339
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5280
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5312
	lddzr %r2,myargv
;D_DoomMain+5296
	lddzx.xw %r14,%r2,%r13,3,8
	callr %r13,atoi
	jmp D_DoomMain+5328
;D_DoomMain+5312
	ldi %r14,-1
	nop 0
	nop 0
;D_DoomMain+5328
	stwr %r14,startloadgame
	ldafr %r14,.rodata+1277
	callr %r13,puts
;D_DoomMain+5344
	callr %r14,M_Init
	ldafr %r14,.rodata+4289
	callr %r13,printf
;D_DoomMain+5360
	callr %r14,R_Init
	ldafr %r14,.rodata+2420
	callr %r13,puts
;D_DoomMain+5376
	callr %r14,P_Init
	ldafr %r14,.rodata+17972
	callr %r13,puts
;D_DoomMain+5392
	ldwzr %r2,sfxVolume
	ldwzr %r3,musicVolume
	slliw %r13,%r2,3
;D_DoomMain+5408
	slliw %r14,%r3,3
	callr %r12,S_Init
	ldafr %r14,.rodata+20262
;D_DoomMain+5424
	callr %r13,puts
	callr %r14,D_CheckNetGame
	ldwzr %r2,gameversion
;D_DoomMain+5440
	bwnei %r2,1,D_DoomMain+5456
	ldafr %r2,.rodata+6733
	jmp D_DoomMain+5520
;D_DoomMain+5456
	mov %r4,%gz
	ldafr %r3,gameversions+40
	nop 0
;D_DoomMain+5472
	addi %r5,%r4,24
	bdeqi %r5,216,D_DoomMain+5536
	ldwzx.xd %r6,%r4,%r3,0,0
;D_DoomMain+5488
	mov %r4,%r5
	bwne %r6,%r2,D_DoomMain+5472
	ldafr %r2,gameversions
;D_DoomMain+5504
	lddzx.xd %r2,%r5,%r2,0,0
	nop 0
	nop 0
;D_DoomMain+5520
	ldafr %r14,.rodata+6679
	std %r2,%sp,0
	callr %r13,printf
;D_DoomMain+5536
	ldafr %r14,.rodata+202
	callr %r13,puts
	callr %r14,HU_Init
;D_DoomMain+5552
	ldafr %r14,.rodata+9714
	callr %r13,puts
	callr %r14,ST_Init
;D_DoomMain+5568
	ldwzr %r2,gamemode
	bwnei %r2,2,D_DoomMain+5600
	ldafr %r14,.rodata+19679
;D_DoomMain+5584
	callr %r13,W_CheckNumForName
	bwgei %r14,0,D_DoomMain+5600
	stwr %r1,storedemo
;D_DoomMain+5600
	ldafr %r13,.rodata+25952
	ldi %r14,1
	callr %r12,M_CheckParmWithArgs
;D_DoomMain+5616
	bweq %r13,%gz,D_DoomMain+5648
	ldar %r13,StatDump
	ldi %r14,1
;D_DoomMain+5632
	callr %r12,I_AtExit
	ldafr %r14,.rodata+4330
	callr %r13,puts
;D_DoomMain+5648
	ldafr %r13,.rodata+3024
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5664
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5696
	lddzr %r2,myargv
;D_DoomMain+5680
	lddzx.xw %r14,%r2,%r13,3,8
	callr %r13,G_RecordDemo
	stwr %r1,autostart
;D_DoomMain+5696
	ldafr %r13,.rodata+25942
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5712
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5760
	stwr %r1,singledemo
;D_DoomMain+5728
	addi %r14,%sp,215
	callr %r13,G_DeferedPlayDemo
	callr %r14,D_DoomLoop
;D_DoomMain+5744
	retf 480
	nop 0
	nop 0
;D_DoomMain+5760
	ldafr %r13,.rodata+17102
	ldi %r1,1
	mov %r14,%r1
;D_DoomMain+5776
	callr %r12,M_CheckParmWithArgs
	bweq %r13,%gz,D_DoomMain+5808
	addi %r14,%sp,215
;D_DoomMain+5792
	callr %r13,G_TimeDemo
	callr %r14,D_DoomLoop
	retf 480
;D_DoomMain+5808
	ldwzr %r14,startloadgame
	bwlt %r14,%gz,D_DoomMain+5872
	callr %r13,P_SaveGameFile
;D_DoomMain+5824
	mov %r13,%r14
	addi %r2,%sp,224
	ldi %r14,256
;D_DoomMain+5840
	mov %r12,%r2
	callr %r11,M_StringCopy
	mov %r14,%r2
;D_DoomMain+5856
	callr %r13,G_LoadGame
	nop 0
	nop 0
;D_DoomMain+5872
	ldwzr %r2,gameaction
	bweqi %r2,3,D_DoomMain+5968
	ldwzr %r2,autostart
;D_DoomMain+5888
	ldwzr %r3,netgame
	or %r2,%r2,%r3
	bweq %r2,%gz,D_DoomMain+5936
;D_DoomMain+5904
	ldwzr %r12,startskill
	ldwzr %r13,startepisode
	ldwzr %r14,startmap
;D_DoomMain+5920
	callr %r11,G_InitNew
	callr %r14,D_DoomLoop
	retf 480
;D_DoomMain+5936
	stwr %gz,gameaction
	ldi %r2,-1
	stwr %r2,demosequence
;D_DoomMain+5952
	stwr %r1,advancedemo
	nop 0
	nop 0
;D_DoomMain+5968
	callr %r14,D_DoomLoop
	retf 480
	nop 0
;D_Endoom
	alloc 5
	ldwzr %r1,show_endoom
	bweq %r1,%gz,D_Endoom+64
;D_Endoom+16
	ldwzr %r1,main_loop_started
	bweq %r1,%gz,D_Endoom+64
	ldwzr %r1,screensaver_mode
;D_Endoom+32
	bwne %r1,%gz,D_Endoom+64
	ldafr %r4,.rodata+19665
	callr %r3,M_CheckParm
;D_Endoom+48
	bwlti %r4,1,D_Endoom+80
	nop 0
	nop 0
;D_Endoom+64
	retf 0
	nop 0
	nop 0
;D_Endoom+80
	ldafr %r3,.rodata+22281
	ldi %r4,1
	callr %r2,W_CacheLumpName
;D_Endoom+96
	mov %r4,%r3
	callr %r3,I_Endoom
	mov %r4,%gz
;D_Endoom+112
	callr %r3,exit
	nop 0
	nop 0
;strncasecmp
	alloc 9
	bdeq %r3,%gz,strncasecmp+224
	ldbz %r6,%r1,0
;strncasecmp+16
	bweq %r6,%gz,strncasecmp+160
	addi %r5,%r3,-1
	addi %r4,%r1,1
;strncasecmp+32
	jmp strncasecmp+80
	nop 0
	nop 0
;strncasecmp+48
	ldbz %r6,%r4,0
	addi %r5,%r5,-1
	addi %r2,%r2,1
;strncasecmp+64
	addi %r4,%r4,1
	bweq %r6,%gz,strncasecmp+160
	nop 0
;strncasecmp+80
	ldbz %r1,%r2,0
	bweq %r1,%gz,strncasecmp+176
	cmpdnei %r3,%r5,0
;strncasecmp+96
	bbci %r3,0,strncasecmp+176
	andi %r8,%r6,255
	bweq %r8,%r1,strncasecmp+48
;strncasecmp+112
	callr %r7,tolower
	mov %r1,%r8
	ldbz %r8,%r2,0
;strncasecmp+128
	callr %r7,tolower
	bweq %r1,%r8,strncasecmp+48
	ldbz %r6,%r4,-1
;strncasecmp+144
	jmp strncasecmp+176
	nop 0
	nop 0
;strncasecmp+160
	mov %r6,%gz
	nop 0
	nop 0
;strncasecmp+176
	andi %r8,%r6,255
	callr %r7,tolower
	mov %r1,%r8
;strncasecmp+192
	ldbz %r8,%r2,0
	callr %r7,tolower
	subws %r1,%r1,%r8
;strncasecmp+208
	retf 0
	nop 0
	nop 0
;strncasecmp+224
	mov %r1,%gz
	retf 0
	nop 0
;__strncasecmp_l
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;__strncasecmp_l+16
	callr %r4,strncasecmp
	mov %r1,%r5
	retf 0
;atoi
	alloc 6
	nop 0
	nop 0
;atoi+16
	ldbs %r3,%r1,0
	andi %r2,%r3,255
	addi %r1,%r1,1
;atoi+32
	bweqi %r2,32,atoi+16
	addiws %r4,%r3,-14
	nop 2
;atoi+48
	bwgeui.l %r4,1099511627771,atoi+16
	bweqi %r2,43,atoi+80
;atoi+64
	bwnei %r2,45,atoi+112
	mov %r2,%gz
	jmp atoi+96
;atoi+80
	ldi %r2,1
	nop 0
	nop 0
;atoi+96
	ldbs %r3,%r1,0
	jmp atoi+128
	nop 0
;atoi+112
	addi %r1,%r1,-1
	ldi %r2,1
	nop 0
;atoi+128
	addiws %r3,%r3,-48
	mov %r4,%gz
	bwgeui %r3,10,atoi+192
;atoi+144
	mov %r4,%gz
	addi %r1,%r1,1
	nop 0
;atoi+160
	ldbs %r5,%r1,0
	mulwsi %r4,%r4,10
	subws %r4,%r4,%r3
;atoi+176
	addiws %r3,%r5,-48
	addi %r1,%r1,1
	bwltui %r3,10,atoi+160
;atoi+192
	subfiws %r1,%r4,0
	cmovlsb %r1,%r2,%r1,%r4
	retf 0
;strcmp
	alloc 6
	ldbz %r3,%r1,0
	ldbz %r4,%r2,0
;strcmp+16
	bweq %r3,%gz,strcmp+96
	andi %r5,%r4,255
	bwne %r3,%r5,strcmp+96
;strcmp+32
	addi %r2,%r2,1
	addi %r1,%r1,1
	nop 0
;strcmp+48
	ldbz %r3,%r1,0
	ldbz %r4,%r2,0
	bweq %r3,%gz,strcmp+96
;strcmp+64
	addi %r2,%r2,1
	andi %r5,%r4,255
	addi %r1,%r1,1
;strcmp+80
	bweq %r3,%r5,strcmp+48
	nop 0
	nop 0
;strcmp+96
	andi %r1,%r4,255
	subws %r1,%r3,%r1
	retf 0
;_fini
	alloc 1
	retf 0
	nop 0
;libc_exit_fini
	alloc 5
	ldafr %r2,.rodata
	ldafr %r1,.rodata
;libc_exit_fini+16
	bdleu %r1,%r2,libc_exit_fini+64
	nop 0
	nop 0
;libc_exit_fini+32
	addi %r3,%r1,-8
	callmi %r4,%r1,-8
	mov %r1,%r3
;libc_exit_fini+48
	bdltu %r2,%r3,libc_exit_fini+32
	nop 0
	nop 0
;libc_exit_fini+64
	callr %r4,_fini
	retf 0
	nop 0
;exit
	alloc 13
	ldwz %r3,%tp,48
	fence.seq_cst
;exit+16
	ldafr %r4,exit.exit_lock
	mov %r2,%r3
	casw.relaxed %r2,%r4,%gz
;exit+32
	bweq %r2,%r3,exit+128
	cmpweqi %r2,%r2,0
	bbsi %r2,0,exit+96
;exit+48
	ldi %r1,34
	nop 0
	nop 0
;exit+64
	mov2 %r6,%r7,%r1,%gz
	mov2 %r8,%r9,%gz,%gz
	mov2 %r10,%r11,%gz,%gz
;exit+80
	mov %r12,%gz
	callr %r5,__syscall_postrisc
	jmp exit+64
;exit+96
	callr %r12,_fini
	callr %r12,libc_exit_fini
	callr %r12,__stdio_exit_needed
;exit+112
	mov %r12,%r1
	callr %r11,_Exit
	nop 0
;exit+128
	halt
	nop 0
	nop 0
;_Exit
	alloc 11
	sraiw %r1,%r1,0
	ldi %r4,231
;_Exit+16
	mov2 %r5,%r6,%r1,%gz
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
;_Exit+32
	callr %r3,__syscall_postrisc
	ldi %r2,60
	nop 0
;_Exit+48
	mov2 %r4,%r5,%r2,%r1
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
;_Exit+64
	mov %r10,%gz
	callr %r3,__syscall_postrisc
	jmp _Exit+48
;D_ValidGameMode
	alloc 8
	mov %r4,%gz
	ldafr %r5,valid_modes+4
;D_ValidGameMode+16
	ldafr %r6,valid_modes
	ldi %r3,1
	jmp D_ValidGameMode+48
;D_ValidGameMode+32
	addi %r4,%r4,16
	bdeqi %r4,208,D_ValidGameMode+80
	nop 0
;D_ValidGameMode+48
	ldwzx.xd %r7,%r4,%r5,0,0
	bwne %r7,%r2,D_ValidGameMode+32
	ldwzx.xd %r7,%r4,%r6,0,0
;D_ValidGameMode+64
	bwne %r7,%r1,D_ValidGameMode+32
	mov %r1,%r3
	retf 0
;D_ValidGameMode+80
	mov %r3,%gz
	mov %r1,%r3
	retf 0
;D_ValidEpisodeMap
	alloc 9
	bwnei %r1,6,D_ValidEpisodeMap+80
	bwnei %r2,3,D_ValidEpisodeMap+48
;D_ValidEpisodeMap+16
	bwnei %r3,6,D_ValidEpisodeMap+48
	addiws %r1,%r4,-1
	cmpwltui %r1,%r1,3
;D_ValidEpisodeMap+32
	retf 0
	nop 0
	nop 0
;D_ValidEpisodeMap+48
	bwnei %r2,1,D_ValidEpisodeMap+80
	bwnei %r3,4,D_ValidEpisodeMap+80
	cmpweqi %r1,%r4,1
;D_ValidEpisodeMap+64
	retf 0
	nop 0
	nop 0
;D_ValidEpisodeMap+80
	mov %r5,%gz
	ldafr %r6,valid_modes
	ldafr %r7,valid_modes+4
;D_ValidEpisodeMap+96
	jmp D_ValidEpisodeMap+128
	nop 0
	nop 0
;D_ValidEpisodeMap+112
	addi %r5,%r5,16
	bdeqi %r5,208,D_ValidEpisodeMap+208
	nop 0
;D_ValidEpisodeMap+128
	ldwzx.xd %r8,%r5,%r6,0,0
	bwne %r1,%r8,D_ValidEpisodeMap+112
	ldwzx.xd %r8,%r5,%r7,0,0
;D_ValidEpisodeMap+144
	bwne %r2,%r8,D_ValidEpisodeMap+112
	bwlti %r3,1,D_ValidEpisodeMap+208
	bwlti %r4,1,D_ValidEpisodeMap+208
;D_ValidEpisodeMap+160
	ldafr %r1,valid_modes+8
	ldwzx.xd %r2,%r5,%r1,0,0
	mov %r1,%gz
;D_ValidEpisodeMap+176
	bwlt %r2,%r3,D_ValidEpisodeMap+224
	ldafr %r1,valid_modes+12
	ldwzx.xd %r1,%r5,%r1,0,0
;D_ValidEpisodeMap+192
	cmpwle %r1,%r4,%r1
	retf 0
	nop 0
;D_ValidEpisodeMap+208
	mov %r1,%gz
	nop 0
	nop 0
;D_ValidEpisodeMap+224
	retf 0
	nop 0
	nop 0
;D_GetNumEpisodes
	alloc 12
	ldi %r3,1
	cmpweqi %r4,%r2,1
;D_GetNumEpisodes+16
	cmpweqi %r5,%r2,3
	ldafr %r6,valid_modes
	ldafr %r7,valid_modes+4
;D_GetNumEpisodes+32
	ldafr %r8,valid_modes+8
	ldafr %r9,valid_modes+12
	bwnei %r1,6,D_GetNumEpisodes+80
;D_GetNumEpisodes+48
	cmpweqi %r10,%r3,6
	and %r10,%r5,%r10
	bbsi %r10,0,D_GetNumEpisodes+160
;D_GetNumEpisodes+64
	cmpweqi %r10,%r3,4
	and %r10,%r4,%r10
	bbsi %r10,0,D_GetNumEpisodes+160
;D_GetNumEpisodes+80
	mov %r10,%gz
	jmp D_GetNumEpisodes+112
	nop 0
;D_GetNumEpisodes+96
	addi %r10,%r10,16
	bdeqi %r10,208,D_GetNumEpisodes+176
	nop 0
;D_GetNumEpisodes+112
	ldwzx.xd %r11,%r10,%r6,0,0
	bwne %r1,%r11,D_GetNumEpisodes+96
	ldwzx.xd %r11,%r10,%r7,0,0
;D_GetNumEpisodes+128
	bwne %r2,%r11,D_GetNumEpisodes+96
	ldwzx.xd %r11,%r10,%r8,0,0
	bwlt %r11,%r3,D_GetNumEpisodes+176
;D_GetNumEpisodes+144
	ldwzx.xd %r10,%r10,%r9,0,0
	bwlti %r10,1,D_GetNumEpisodes+176
	nop 0
;D_GetNumEpisodes+160
	addiws %r3,%r3,1
	bweqi %r1,6,D_GetNumEpisodes+48
	jmp D_GetNumEpisodes+80
;D_GetNumEpisodes+176
	addiws %r1,%r3,-1
	retf 0
	nop 0
;D_ValidGameVersion
	alloc 8
	andi %r3,%r1,-3
	cmpweqi %r3,%r3,1
;D_ValidGameVersion+16
	cmpweqi %r4,%r1,2
	andi %r5,%r1,-2
	cmovlsb %r1,%r3,%gz,%r1
;D_ValidGameVersion+32
	cmpweqi %r5,%r5,4
	cmovlsb %r1,%r4,%gz,%r1
	mov %r3,%gz
;D_ValidGameVersion+48
	cmovlsb %r4,%r5,%gz,%r1
	ldafr %r5,valid_versions
	ldafr %r6,valid_versions+4
;D_ValidGameVersion+64
	ldi %r1,1
	jmp D_ValidGameVersion+96
	nop 0
;D_ValidGameVersion+80
	addi %r3,%r3,8
	bdeqi %r3,80,D_ValidGameVersion+128
	nop 0
;D_ValidGameVersion+96
	ldwzx.xd %r7,%r3,%r5,0,0
	bwne %r7,%r4,D_ValidGameVersion+80
	ldwzx.xd %r7,%r3,%r6,0,0
;D_ValidGameVersion+112
	bwne %r7,%r2,D_ValidGameVersion+80
	retf 0
	nop 0
;D_ValidGameVersion+128
	mov %r1,%gz
	retf 0
	nop 0
;D_IsEpisodeMap
	alloc 3
	mov %r2,%gz
	bwgeui %r1,7,D_IsEpisodeMap+32
;D_IsEpisodeMap+16
	ldafr %r2,.Lswitch.table.D_IsEpisodeMap
	ldwzx.xuw %r2,%r2,%r1,2,0
	nop 0
;D_IsEpisodeMap+32
	mov %r1,%r2
	retf 0
	nop 0
;D_GameMissionString
	alloc 3
	bwgeui %r1,9,D_GameMissionString+32
	ldafr %r2,.Lswitch.table.D_GameMissionString.rel
;D_GameMissionString+16
	ldwsx.xuw %r1,%r2,%r1,2,0
	add %r1,%r1,%r2
	retf 0
;D_GameMissionString+32
	ldafr %r1,.rodata+17998
	retf 0
	nop 0
;D_ConnectNetGame
	allocsp 6,80
	ldi %r1,4
	stw %r1,%sp,28
;D_ConnectNetGame+16
	stw %gz,%sp,24
	ldafr %r5,.rodata+27471
	callr %r4,M_CheckParm
;D_ConnectNetGame+32
	ldi %r2,1
	bwlti %r5,1,D_ConnectNetGame+80
	nop 2
;D_ConnectNetGame+48
	ldi.l %r1,1073741824
	stwr %r1,viewangleoffset
;D_ConnectNetGame+64
	stw %r2,%sp,24
	nop 0
	nop 0
;D_ConnectNetGame+80
	ldafr %r5,.rodata+9740
	callr %r4,M_CheckParm
	bwlti %r5,1,D_ConnectNetGame+128
;D_ConnectNetGame+96
	ldi.l %r1,-1073741824
	stwr %r1,viewangleoffset
;D_ConnectNetGame+112
	stw %r2,%sp,24
	nop 0
	nop 0
;D_ConnectNetGame+128
	ldwzr %r1,gamemode
	ldwzr %r3,gamemission
	stw %r1,%sp,12
;D_ConnectNetGame+144
	stw %r3,%sp,16
	ldafr %r5,.rodata+3024
	callr %r4,M_CheckParm
;D_ConnectNetGame+160
	bwlti %r5,1,D_ConnectNetGame+192
	ldafr %r5,.rodata+27477
	callr %r4,M_CheckParm
;D_ConnectNetGame+176
	cmpweqi %r1,%r5,0
	jmp D_ConnectNetGame+208
	nop 0
;D_ConnectNetGame+192
	mov %r1,%gz
	nop 0
	nop 0
;D_ConnectNetGame+208
	stw %r1,%sp,20
	addi %r5,%sp,36
	callr %r4,W_Checksum
;D_ConnectNetGame+224
	ldafr %r5,.rodata+21314
	callr %r4,W_CheckNumForName
	xori %r1,%r5,-1
;D_ConnectNetGame+240
	srliw %r1,%r1,31
	stw %r1,%sp,32
	addi %r5,%sp,12
;D_ConnectNetGame+256
	callr %r4,D_InitNetGame
	stwr %r5,netgame
	ldafr %r5,.rodata+10612
;D_ConnectNetGame+272
	callr %r4,M_CheckParm
	bwlti %r5,1,D_ConnectNetGame+288
	stwr %r2,netgame
;D_ConnectNetGame+288
	retf 80
	nop 0
	nop 0
;D_CheckNetGame
	allocsp 9,128
	ldwzr %r1,netgame
	bweq %r1,%gz,D_CheckNetGame+32
;D_CheckNetGame+16
	ldi %r1,1
	stwr %r1,autostart
	nop 0
;D_CheckNetGame+32
	ldafr %r8,doom_loop_interface
	callr %r7,D_RegisterLoopCallbacks
	ldwzr %r1,deathmatch
;D_CheckNetGame+48
	ldwzr %r2,startepisode
	stw %r1,%sp,36
	stw %r2,%sp,40
;D_CheckNetGame+64
	ldwzr %r1,startmap
	ldwzr %r2,startskill
	ldwzr %r3,startloadgame
;D_CheckNetGame+80
	ldwzr %r4,gameversion
	stw %r1,%sp,56
	stw %r2,%sp,60
;D_CheckNetGame+96
	stw %r3,%sp,80
	stw %r4,%sp,64
	ldwzr %r1,nomonsters
;D_CheckNetGame+112
	ldwzr %r2,fastparm
	ldwzr %r3,respawnparm
	ldwzr %r4,timelimit
;D_CheckNetGame+128
	stw %r1,%sp,44
	stw %r2,%sp,48
	stw %r3,%sp,52
;D_CheckNetGame+144
	stw %r4,%sp,76
	ldafr %r8,.rodata+3024
	callr %r7,M_CheckParm
;D_CheckNetGame+160
	bwlti %r8,1,D_CheckNetGame+192
	ldafr %r8,.rodata+27477
	callr %r7,M_CheckParm
;D_CheckNetGame+176
	cmpweqi %r1,%r8,0
	jmp D_CheckNetGame+208
	nop 0
;D_CheckNetGame+192
	mov %r1,%gz
	nop 0
	nop 0
;D_CheckNetGame+208
	stw %r1,%sp,68
	addi %r7,%sp,28
	mov %r8,%gz
;D_CheckNetGame+224
	callr %r6,D_StartNetGame
	ldwz %r1,%sp,36
	ldwz %r2,%sp,40
;D_CheckNetGame+240
	ldwz %r3,%sp,56
	stwr %r1,deathmatch
	stwr %r2,startepisode
;D_CheckNetGame+256
	stwr %r3,startmap
	ldwz %r1,%sp,60
	ldwz %r2,%sp,80
;D_CheckNetGame+272
	ldwz %r3,%sp,68
	ldwz %r4,%sp,44
	stwr %r1,startskill
;D_CheckNetGame+288
	stwr %r2,startloadgame
	stwr %r3,lowres_turn
	stwr %r4,nomonsters
;D_CheckNetGame+304
	ldwz %r1,%sp,48
	ldwz %r2,%sp,52
	ldwz %r4,%sp,76
;D_CheckNetGame+320
	ldwz %r5,%sp,92
	stwr %r1,fastparm
	stwr %r2,respawnparm
;D_CheckNetGame+336
	stwr %r4,timelimit
	stwr %r5,consoleplayer
	bweq %r3,%gz,D_CheckNetGame+368
;D_CheckNetGame+352
	ldafr %r8,.rodata+27974
	callr %r7,puts
	nop 0
;D_CheckNetGame+368
	mov %r1,%gz
	ldwz %r2,%sp,88
	ldafr %r3,playeringame
;D_CheckNetGame+384
	cmpdltu %r4,%r1,%r2
	stw %r4,%r3,0
	addi %r1,%r1,1
;D_CheckNetGame+400
	addi %r3,%r3,4
	bdnei %r1,4,D_CheckNetGame+384
	ldwzr %r1,startskill
;D_CheckNetGame+416
	ldwzr %r2,deathmatch
	ldwzr %r3,startmap
	ldwzr %r4,startepisode
;D_CheckNetGame+432
	stw %r4,%sp,12
	stw %r3,%sp,8
	stw %r2,%sp,4
;D_CheckNetGame+448
	ldafr %r8,.rodata+12855
	stw %r1,%sp,0
	callr %r7,printf
;D_CheckNetGame+464
	ldwzr %r1,consoleplayer
	addiws %r1,%r1,1
	ldwz %r2,%sp,88
;D_CheckNetGame+480
	stw %r2,%sp,8
	stw %r2,%sp,4
	ldafr %r8,.rodata+14177
;D_CheckNetGame+496
	stw %r1,%sp,0
	callr %r7,printf
	ldwzr %r1,timelimit
;D_CheckNetGame+512
	bwlti %r1,1,D_CheckNetGame+656
	ldwzr %r2,deathmatch
	bweq %r2,%gz,D_CheckNetGame+656
;D_CheckNetGame+528
	bwnei %r1,20,D_CheckNetGame+576
	ldafr %r8,.rodata+3778
	callr %r7,M_CheckParm
;D_CheckNetGame+544
	bweq %r8,%gz,D_CheckNetGame+560
	ldafr %r8,.rodata+14205
	jmp D_CheckNetGame+640
;D_CheckNetGame+560
	ldwzr %r1,timelimit
	nop 0
	nop 0
;D_CheckNetGame+576
	ldafr %r8,.rodata+12216
	stw %r1,%sp,0
	callr %r7,printf
;D_CheckNetGame+592
	ldwzr %r1,timelimit
	ldafr %r8,.rodata+5911
	bwlti %r1,2,D_CheckNetGame+640
;D_CheckNetGame+608
	ldi %r1,115
	mov2 %r2,%r8,%r8,%r1
	callr %r7,putchar
;D_CheckNetGame+624
	mov %r8,%r2
	nop 0
	nop 0
;D_CheckNetGame+640
	callr %r7,puts
	nop 0
	nop 0
;D_CheckNetGame+656
	retf 128
	nop 0
	nop 0
;RunTic
	alloc 16
	mov %r7,%gz
	ldafr %r8,playeringame
;RunTic+16
	ldafr %r3,PlayerQuitGame.exitmsg
	ldafr %r4,.rodata+5931
	ldi %r5,80
;RunTic+32
	ldafr %r9,players+232
	jmp RunTic+80
	nop 0
;RunTic+48
	addi %r7,%r7,1
	addi %r8,%r8,4
	addi %r2,%r2,4
;RunTic+64
	bdeqi %r7,4,RunTic+192
	nop 0
	nop 0
;RunTic+80
	ldwzr %r6,demoplayback
	bwne %r6,%gz,RunTic+48
	ldwz %r6,%r8,0
;RunTic+96
	bweq %r6,%gz,RunTic+48
	ldwz %r6,%r2,0
	bwne %r6,%gz,RunTic+48
;RunTic+112
	mov2 %r13,%r14,%r3,%r4
	mov %r15,%r5
	callr %r12,M_StringCopy
;RunTic+128
	ldbzr %r6,PlayerQuitGame.exitmsg+7
	addws %r6,%r6,%r7
	ldwsr %r10,consoleplayer
;RunTic+144
	ldwzr %r11,demorecording
	stbr %r6,PlayerQuitGame.exitmsg+7
	stw %gz,%r8,0
;RunTic+160
	muli %r6,%r10,328
	stdx.xd %r3,%r6,%r9,0,0
	bweq %r11,%gz,RunTic+48
;RunTic+176
	callr %r14,G_CheckDemoStatus
	jmp RunTic+48
	nop 0
;RunTic+192
	ldwzr %r2,advancedemo
	stdr %r1,netcmds
	bweq %r2,%gz,RunTic+224
;RunTic+208
	callr %r15,D_DoAdvanceDemo
	nop 0
	nop 0
;RunTic+224
	callr %r15,G_Ticker
	retf 0
	nop 0
;putchar
	alloc 7
	ldwzr %r2,__stdout_FILE+140
	bwlt %r2,%gz,putchar+48
;putchar+16
	bweq %r2,%gz,putchar+112
	ldwz %r3,%tp,48
	nop 2
;putchar+32
	andi.l %r2,%r2,1073741823
	bwne %r2,%r3,putchar+112
;putchar+48
	ldwzr %r2,__stdout_FILE+144
	andi %r6,%r1,255
	bweq %r6,%r2,putchar+144
;putchar+64
	lddzr %r2,__stdout_FILE+40
	lddzr %r3,__stdout_FILE+32
	bdeq %r2,%r3,putchar+144
;putchar+80
	addi %r3,%r2,1
	stdr %r3,__stdout_FILE+40
	stb %r1,%r2,0
;putchar+96
	mov %r1,%r6
	retf 0
	nop 0
;putchar+112
	mov %r6,%r1
	callr %r5,locking_putc
	mov %r1,%r6
;putchar+128
	retf 0
	nop 0
	nop 0
;putchar+144
	ldafr %r5,__stdout_FILE
	callr %r4,__overflow
	mov2 %r6,%r1,%r5,%r5
;putchar+160
	retf 0
	nop 0
	nop 0
;locking_putc
	alloc 14
	fence.seq_cst
	nop 2
;locking_putc+16
	ldi.l %r4,1073741823
	ldafr %r3,__stdout_FILE+140
;locking_putc+32
	casw.relaxed %r4,%r3,%gz
	mov %r2,%r1
	bweq %r4,%gz,locking_putc+64
;locking_putc+48
	ldafr %r13,__stdout_FILE
	callr %r12,__lockfile
	nop 0
;locking_putc+64
	ldwzr %r4,__stdout_FILE+144
	andi %r1,%r2,255
	bweq %r1,%r4,locking_putc+128
;locking_putc+80
	lddzr %r4,__stdout_FILE+40
	lddzr %r5,__stdout_FILE+32
	bdeq %r4,%r5,locking_putc+128
;locking_putc+96
	addi %r5,%r4,1
	stdr %r5,__stdout_FILE+40
	stb %r2,%r4,0
;locking_putc+112
	jmp locking_putc+160
	nop 0
	nop 0
;locking_putc+128
	ldafr %r12,__stdout_FILE
	mov %r13,%r1
	callr %r11,__overflow
;locking_putc+144
	mov %r1,%r12
	nop 0
	nop 0
;locking_putc+160
	fence.seq_cst
	swapw.relaxed %r2,%r3,%gz
	bbci %r2,30,locking_putc+256
;locking_putc+176
	ldi %r7,202
	ldafr %r8,__stdout_FILE+140
	ldi %r9,129
;locking_putc+192
	ldi %r10,1
	mov2 %r11,%r12,%gz,%gz
	mov %r13,%gz
;locking_putc+208
	callr %r6,__syscall_postrisc
	bdnei %r7,-38,locking_putc+256
	ldi %r7,202
;locking_putc+224
	ldafr %r8,__stdout_FILE+140
	ldi %r9,1
	mov2 %r10,%r11,%r9,%gz
;locking_putc+240
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
	nop 0
;locking_putc+256
	retf 0
	nop 0
	nop 0
;F_StartFinale
	alloc 17
	ldwzr %r1,gamemission
	stwr %gz,gameaction
;F_StartFinale+16
	ldi %r2,2
	stwr %r2,gamestate
	stwr %gz,viewactive
;F_StartFinale+32
	andi %r1,%r1,-5
	ldi %r2,65
	ldi %r3,31
;F_StartFinale+48
	stwr %gz,automapactive
	cmovweq %r15,%r1,%r3,%r2
	ldi %r1,1
;F_StartFinale+64
	mov %r16,%r1
	callr %r14,S_ChangeMusic
	ldwzr %r3,gamemission
;F_StartFinale+80
	mov %r2,%gz
	cmpweqi %r4,%r3,5
	cmpweqi %r5,%r3,4
;F_StartFinale+96
	cmovlsb %r3,%r4,%r1,%r3
	ldwzr %r1,gameversion
	cmovlsb %r3,%r5,%gz,%r3
;F_StartFinale+112
	ldwzr %r4,gameepisode
	ldwzr %r5,gamemap
	ldafr %r6,textscreens
;F_StartFinale+128
	ldafr %r7,textscreens+8
	ldi %r8,5
	ldafr %r9,textscreens+4
;F_StartFinale+144
	ldafr %r10,textscreens+24
	ldafr %r11,textscreens+16
	jmp F_StartFinale+176
;F_StartFinale+160
	addi %r2,%r2,32
	bdeqi %r2,704,F_StartFinale+288
	nop 0
;F_StartFinale+176
	ldwzx.xd %r12,%r2,%r6,0,0
	bwnei %r1,9,F_StartFinale+208
	bwne %r12,%gz,F_StartFinale+208
;F_StartFinale+192
	stwx.xd %r8,%r2,%r7,0,0
	nop 0
	nop 0
;F_StartFinale+208
	bwne %r3,%r12,F_StartFinale+160
	bwne %r3,%gz,F_StartFinale+240
	ldwzx.xd %r12,%r2,%r9,0,0
;F_StartFinale+224
	bwne %r4,%r12,F_StartFinale+160
	nop 0
	nop 0
;F_StartFinale+240
	ldwzx.xd %r12,%r2,%r7,0,0
	bwne %r5,%r12,F_StartFinale+160
	lddzx.xd %r12,%r2,%r10,0,0
;F_StartFinale+256
	lddzx.xd %r13,%r2,%r11,0,0
	stdr %r12,finaletext
	stdr %r13,finaleflat
;F_StartFinale+272
	jmp F_StartFinale+160
	nop 0
	nop 0
;F_StartFinale+288
	stwr %gz,finalestage
	stwr %gz,finalecount
	retf 0
;F_Responder
	alloc 5
	ldwzr %r2,finalestage
	mov2 %r4,%r1,%r1,%gz
;F_Responder+16
	bwnei %r2,2,F_Responder+32
	callr %r3,F_CastResponder
	mov %r1,%r4
;F_Responder+32
	retf 0
	nop 0
	nop 0
;F_CastResponder
	alloc 11
	ldwz %r2,%r1,0
	mov %r1,%gz
;F_CastResponder+16
	bweq %r2,%gz,F_CastResponder+48
	nop 0
	nop 0
;F_CastResponder+32
	retf 0
	nop 0
	nop 0
;F_CastResponder+48
	ldwzr %r1,castdeath
	bweq %r1,%gz,F_CastResponder+80
	ldi %r1,1
;F_CastResponder+64
	retf 0
	nop 0
	nop 0
;F_CastResponder+80
	ldwsr %r1,castnum
	ldafr %r2,castorder+8
	ldwzx.xd %r1,%r2,%r1,4,0
;F_CastResponder+96
	muli %r2,%r1,92
	ldafr %r1,mobjinfo+48
	ldwsx.xd %r3,%r2,%r1,0,0
;F_CastResponder+112
	ldi %r1,1
	stwr %r1,castdeath
	muli %r4,%r3,40
;F_CastResponder+128
	ldafr %r5,states
	ldi %r6,40
	ldafr %r7,states+8
;F_CastResponder+144
	ldwzx.xd %r4,%r4,%r7,0,0
	muladd %r3,%r3,%r6,%r5
	ldafr %r5,mobjinfo+56
;F_CastResponder+160
	ldwzx.xd %r10,%r2,%r5,0,0
	stdr %r3,caststate
	stwr %r4,casttics
;F_CastResponder+176
	stwr %gz,castframes
	stwr %gz,castattacking
	bweq %r10,%gz,F_CastResponder+32
;F_CastResponder+192
	mov %r9,%gz
	callr %r8,S_StartSound
	retf 0
;F_Ticker
	alloc 8
	ldwzr %r2,gamemode
	ldwzr %r1,finalecount
;F_Ticker+16
	bwnei %r2,2,F_Ticker+256
	bwltui %r1,51,F_Ticker+256
	ldi %r2,17
;F_Ticker+32
	ldafr %r3,players
	nop 0
	nop 0
;F_Ticker+48
	ldbzx.xd %r4,%r2,%r3,0,0
	bwne %r4,%gz,F_Ticker+80
	addi %r2,%r2,328
;F_Ticker+64
	bdnei.l %r2,1329,F_Ticker+48
	jmp F_Ticker+256
;F_Ticker+80
	ldwzr %r2,gamemap
	bwnei %r2,30,F_Ticker+240
	ldwzr %r1,castorder+8
;F_Ticker+96
	muli %r1,%r1,92
	ldafr %r2,mobjinfo+12
	ldwsx.xd %r1,%r1,%r2,0,0
;F_Ticker+112
	ldi %r2,-1
	stwr %r2,wipegamestate
	muli %r2,%r1,40
;F_Ticker+128
	ldafr %r3,states+8
	ldwzx.xd %r2,%r2,%r3,0,0
	stwr %gz,castnum
;F_Ticker+144
	ldafr %r3,states
	ldi %r4,40
	muladd %r1,%r1,%r4,%r3
;F_Ticker+160
	stdr %r1,caststate
	stwr %r2,casttics
	stwr %gz,castdeath
;F_Ticker+176
	ldi %r1,2
	stwr %r1,finalestage
	stwr %gz,castframes
;F_Ticker+192
	stwr %gz,castonmelee
	stwr %gz,castattacking
	ldi %r6,63
;F_Ticker+208
	ldi %r7,1
	callr %r5,S_ChangeMusic
	ldwzr %r1,finalecount
;F_Ticker+224
	jmp F_Ticker+256
	nop 0
	nop 0
;F_Ticker+240
	ldi %r2,8
	stwr %r2,gameaction
	nop 0
;F_Ticker+256
	ldwzr %r2,finalestage
	addiws %r1,%r1,1
	stwr %r1,finalecount
;F_Ticker+272
	bwnei %r2,2,F_Ticker+288
	callr %r7,F_CastTicker
	retf 0
;F_Ticker+288
	bwne %r2,%gz,F_Ticker+384
	ldwzr %r2,gamemode
	bweqi %r2,2,F_Ticker+384
;F_Ticker+304
	srliw %r2,%r1,0
	lddzr %r7,finaletext
	callr %r6,strlen
;F_Ticker+320
	muli %r1,%r7,3
	addi %r1,%r1,250
	bdleu %r2,%r1,F_Ticker+384
;F_Ticker+336
	ldwzr %r1,gameepisode
	stwr %gz,finalecount
	ldi %r2,1
;F_Ticker+352
	stwr %r2,finalestage
	ldi %r2,-1
	stwr %r2,wipegamestate
;F_Ticker+368
	bwnei %r1,3,F_Ticker+384
	ldi %r7,30
	callr %r6,S_StartMusic
;F_Ticker+384
	retf 0
	nop 0
	nop 0
;F_StartCast
	alloc 8
	ldwzr %r1,castorder+8
	muli %r1,%r1,92
;F_StartCast+16
	ldafr %r2,mobjinfo+12
	ldwsx.xd %r1,%r1,%r2,0,0
	ldi %r2,-1
;F_StartCast+32
	stwr %r2,wipegamestate
	muli %r2,%r1,40
	ldafr %r3,states+8
;F_StartCast+48
	ldwzx.xd %r2,%r2,%r3,0,0
	stwr %gz,castnum
	ldafr %r3,states
;F_StartCast+64
	ldi %r4,40
	muladd %r1,%r1,%r4,%r3
	stdr %r1,caststate
;F_StartCast+80
	stwr %r2,casttics
	stwr %gz,castdeath
	ldi %r1,2
;F_StartCast+96
	stwr %r1,finalestage
	stwr %gz,castframes
	stwr %gz,castonmelee
;F_StartCast+112
	stwr %gz,castattacking
	ldi %r6,63
	ldi %r7,1
;F_StartCast+128
	callr %r5,S_ChangeMusic
	retf 0
	nop 0
;F_CastTicker
	alloc 14
	ldwzr %r1,casttics
	addiws %r2,%r1,-1
;F_CastTicker+16
	stwr %r2,casttics
	bwgei %r1,2,F_CastTicker+912
	lddzr %r2,caststate
;F_CastTicker+32
	ldwz %r1,%r2,8
	bweqi %r1,-1,F_CastTicker+160
	ldwz %r1,%r2,24
;F_CastTicker+48
	bweq %r1,%gz,F_CastTicker+160
	ldafr %r3,states+6160
	bdeq %r2,%r3,F_CastTicker+336
;F_CastTicker+64
	ldwzr %r4,castframes
	sraiw %r5,%r1,0
	ldafr %r2,states
;F_CastTicker+80
	ldi %r3,40
	muladd %r5,%r5,%r3,%r2
	stdr %r5,caststate
;F_CastTicker+96
	addiws %r4,%r4,1
	stwr %r4,castframes
	bwgei %r1,454,F_CastTicker+352
;F_CastTicker+112
	bwlti %r1,256,F_CastTicker+432
	addiws %r5,%r1,-336
	bwgeui %r5,84,F_CastTicker+992
;F_CastTicker+128
	addiwz %r1,%r1,-336
	ldafr %r5,.rodata+33036
	jmpt %r5,%r1
;F_CastTicker+144
	ldi %r13,56
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+160
	ldwzr %r1,castnum
	addiws %r1,%r1,1
	ldafr %r2,castorder
;F_CastTicker+176
	lddzx.xw %r2,%r2,%r1,4,0
	stwr %r1,castnum
	stwr %gz,castdeath
;F_CastTicker+192
	bdne %r2,%gz,F_CastTicker+208
	mov %r1,%gz
	stwr %gz,castnum
;F_CastTicker+208
	ldafr %r2,castorder+8
	ldwzx.xw %r3,%r2,%r1,4,0
	muli %r4,%r3,92
;F_CastTicker+224
	ldafr %r5,mobjinfo+16
	ldwzx.xd %r13,%r4,%r5,0,0
	bweq %r13,%gz,F_CastTicker+272
;F_CastTicker+240
	mov %r12,%gz
	callr %r11,S_StartSound
	ldwzr %r1,castnum
;F_CastTicker+256
	ldwzx.xw %r3,%r2,%r1,4,0
	nop 0
	nop 0
;F_CastTicker+272
	muli %r2,%r3,92
	ldafr %r3,mobjinfo+12
	ldwsx.xd %r3,%r2,%r3,0,0
;F_CastTicker+288
	ldwzr %r4,castattacking
	ldafr %r2,states
	ldi %r5,40
;F_CastTicker+304
	muladd %r2,%r3,%r5,%r2
	stdr %r2,caststate
	stwr %gz,castframes
;F_CastTicker+320
	bwne %r4,%gz,F_CastTicker+784
	jmp F_CastTicker+880
	nop 0
;F_CastTicker+336
	ldwzr %r1,castnum
	jmp F_CastTicker+816
	nop 0
;F_CastTicker+352
	bwlti %r1,616,F_CastTicker+400
	addiws %r5,%r1,-685
	bwgeui %r5,26,F_CastTicker+464
;F_CastTicker+368
	addiwz %r1,%r1,-685
	ldafr %r5,.rodata+33372
	jmpt %r5,%r1
;F_CastTicker+384
	ldi %r13,14
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+400
	bwgei %r1,538,F_CastTicker+496
	bweqi %r1,454,F_CastTicker+1008
	bweqi %r1,486,F_CastTicker+1024
;F_CastTicker+416
	bweqi %r1,505,F_CastTicker+528
	jmp F_CastTicker+560
	nop 0
;F_CastTicker+432
	bweqi %r1,154,F_CastTicker+960
	bweqi %r1,185,F_CastTicker+944
	bweqi %r1,218,F_CastTicker+480
;F_CastTicker+448
	jmp F_CastTicker+560
	nop 0
	nop 0
;F_CastTicker+464
	addiws %r5,%r1,-616
	bwgeui %r5,2,F_CastTicker+976
	nop 0
;F_CastTicker+480
	ldi %r13,2
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+496
	bweqi %r1,538,F_CastTicker+528
	bweqi %r1,567,F_CastTicker+528
	bwnei %r1,590,F_CastTicker+560
;F_CastTicker+512
	ldi %r13,51
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+528
	ldi %r13,16
	nop 0
	nop 0
;F_CastTicker+544
	mov %r12,%gz
	callr %r11,S_StartSound
	ldwzr %r4,castframes
;F_CastTicker+560
	ldafr %r5,castorder+8
	bwnei %r4,12,F_CastTicker+720
	ldwsr %r4,castnum
;F_CastTicker+576
	ldwzr %r1,castonmelee
	ldwzx.xd %r4,%r5,%r4,4,0
	ldi %r6,44
;F_CastTicker+592
	srliw %r4,%r4,0
	cmovweq %r8,%r1,%r6,%r3
	ldi %r7,92
;F_CastTicker+608
	muladd %r9,%r4,%r7,%r8
	ldafr %r8,mobjinfo
	ldwsx.xd %r9,%r9,%r8,0,0
;F_CastTicker+624
	ldi %r10,1
	stwr %r10,castattacking
	muladd %r10,%r9,%r3,%r2
;F_CastTicker+640
	stdr %r10,caststate
	xori %r10,%r1,1
	stwr %r10,castonmelee
;F_CastTicker+656
	bdne %r9,%gz,F_CastTicker+704
	cmpweqi %r1,%r1,1
	cmovlsb %r1,%r1,%r6,%r3
;F_CastTicker+672
	muladd %r1,%r4,%r7,%r1
	ldwsx.xd %r1,%r1,%r8,0,0
	muladd %r1,%r1,%r3,%r2
;F_CastTicker+688
	stdr %r1,caststate
	nop 0
	nop 0
;F_CastTicker+704
	ldwzr %r1,castnum
	jmp F_CastTicker+752
	nop 0
;F_CastTicker+720
	ldwzr %r1,castattacking
	bweq %r1,%gz,F_CastTicker+928
	ldwzr %r1,castnum
;F_CastTicker+736
	bweqi %r4,24,F_CastTicker+816
	nop 0
	nop 0
;F_CastTicker+752
	ldwzx.xw %r3,%r5,%r1,4,0
	lddzr %r2,caststate
	muli %r3,%r3,92
;F_CastTicker+768
	ldafr %r4,mobjinfo+12
	ldwsx.xd %r3,%r3,%r4,0,0
	nop 0
;F_CastTicker+784
	ldafr %r4,states
	ldi %r5,40
	muladd %r3,%r3,%r5,%r4
;F_CastTicker+800
	bdne %r2,%r3,F_CastTicker+880
	nop 0
	nop 0
;F_CastTicker+816
	ldafr %r2,castorder+8
	ldwzx.xw %r1,%r2,%r1,4,0
	muli %r1,%r1,92
;F_CastTicker+832
	ldafr %r2,mobjinfo+12
	ldwsx.xd %r1,%r1,%r2,0,0
	stwr %gz,castattacking
;F_CastTicker+848
	stwr %gz,castframes
	ldafr %r2,states
	ldi %r3,40
;F_CastTicker+864
	muladd %r2,%r1,%r3,%r2
	stdr %r2,caststate
	nop 0
;F_CastTicker+880
	ldwz %r1,%r2,8
	cmpweqi %r2,%r1,-1
	ldi %r3,15
;F_CastTicker+896
	cmovlsb %r1,%r2,%r3,%r1
	stwr %r1,casttics
	nop 0
;F_CastTicker+912
	retf 0
	nop 0
	nop 0
;F_CastTicker+928
	lddzr %r2,caststate
	jmp F_CastTicker+880
	nop 0
;F_CastTicker+944
	ldi %r13,1
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+960
	ldi %r13,4
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+976
	bwnei %r1,648,F_CastTicker+560
	ldi %r13,8
	jmp F_CastTicker+544
;F_CastTicker+992
	bwnei %r1,256,F_CastTicker+560
	ldi %r13,54
	jmp F_CastTicker+544
;F_CastTicker+1008
	ldi %r13,55
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+1024
	ldi %r13,52
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+1040
	ldi %r13,53
	jmp F_CastTicker+544
	nop 0
;F_CastTicker+1056
	ldi %r13,107
	jmp F_CastTicker+544
	nop 0
;F_TextWrite
	alloc 13
	lddzr %r11,finaleflat
	ldi %r12,8
;F_TextWrite+16
	callr %r10,W_CacheLumpName
	mov2 %r1,%r4,%r11,%gz
	lddzr %r2,I_VideoBuffer
;F_TextWrite+32
	ldi %r3,64
	nop 0
	nop 0
;F_TextWrite+48
	mov2 %r5,%r6,%gz,%r4
	slliw %r4,%r4,6
	andi %r4,%r4,4032
;F_TextWrite+64
	ldax.xuw %r4,%r1,%r4,0,0
	nop 0
	nop 0
;F_TextWrite+80
	mov2 %r7,%r10,%r5,%r2
	mov2 %r11,%r12,%r4,%r3
	callr %r9,memcpy
;F_TextWrite+96
	addi %r2,%r2,64
	addiws %r5,%r5,1
	bwltui %r7,4,F_TextWrite+80
;F_TextWrite+112
	addiws %r4,%r6,1
	bwltui %r6,199,F_TextWrite+48
	ldi %r11,320
;F_TextWrite+128
	ldi %r12,200
	mov2 %r9,%r10,%gz,%gz
	callr %r8,V_MarkRect
;F_TextWrite+144
	ldwzr %r1,finalecount
	bwgei %r1,13,F_TextWrite+176
	nop 0
;F_TextWrite+160
	retf 0
	nop 0
	nop 0
;F_TextWrite+176
	addiwz %r1,%r1,-10
	muli.l %r1,%r1,2863311531
;F_TextWrite+192
	srli %r3,%r1,33
	ldi %r4,10
	lddzr %r5,finaletext
;F_TextWrite+208
	ldafr %r6,hu_font
	mov2 %r1,%r10,%r4,%r4
	jmp F_TextWrite+272
;F_TextWrite+224
	addiws %r1,%r1,11
	mov %r7,%r4
	nop 0
;F_TextWrite+240
	addiws %r3,%r3,-1
	addi %r5,%r5,1
	mov %r10,%r7
;F_TextWrite+256
	bweq %r3,%gz,F_TextWrite+160
	nop 0
	nop 0
;F_TextWrite+272
	ldbz %r2,%r5,0
	bweqi %r2,10,F_TextWrite+224
	bweq %r2,%gz,F_TextWrite+160
;F_TextWrite+288
	slsrai %r12,%r2,56,56
	callr %r11,toupper
	addiws %r2,%r12,-97
;F_TextWrite+304
	bwgeui.l %r2,1099511627712,F_TextWrite+336
	addiws %r7,%r10,4
;F_TextWrite+320
	jmp F_TextWrite+240
	nop 0
	nop 0
;F_TextWrite+336
	addiws %r2,%r12,-33
	lddzx.xuw %r12,%r6,%r2,3,0
	ldbs %r2,%r12,1
;F_TextWrite+352
	ldbz %r7,%r12,0
	slor %r2,%r7,%r2,8
	addws %r7,%r10,%r2
;F_TextWrite+368
	bwgei %r7,321,F_TextWrite+160
	mov %r11,%r1
	callr %r9,V_DrawPatch
;F_TextWrite+384
	jmp F_TextWrite+240
	nop 0
	nop 0
;F_CastPrint
	alloc 12
	bdeq %r1,%gz,F_CastPrint+352
	ldbz %r2,%r1,0
;F_CastPrint+16
	ldafr %r4,hu_font
	bweq %r2,%gz,F_CastPrint+192
	mov %r3,%gz
;F_CastPrint+32
	addi %r5,%r1,1
	ldi %r6,4
	jmp F_CastPrint+80
;F_CastPrint+48
	ldbz %r2,%r5,0
	addws %r3,%r3,%r7
	addi %r5,%r5,1
;F_CastPrint+64
	bweq %r2,%gz,F_CastPrint+144
	nop 0
	nop 0
;F_CastPrint+80
	slsrai %r11,%r2,56,56
	callr %r10,toupper
	addiws %r2,%r11,-97
;F_CastPrint+96
	mov %r7,%r6
	bwltui.l %r2,1099511627712,F_CastPrint+48
;F_CastPrint+112
	addiws %r2,%r11,-33
	lddzx.xuw %r2,%r4,%r2,3,0
	ldbs %r7,%r2,1
;F_CastPrint+128
	ldbz %r2,%r2,0
	slor %r7,%r2,%r7,8
	jmp F_CastPrint+48
;F_CastPrint+144
	srliw %r2,%r3,31
	addws %r2,%r3,%r2
	sraiw %r2,%r2,1
;F_CastPrint+160
	subfiws %r2,%r2,160
	ldbz %r3,%r1,0
	bwne %r3,%gz,F_CastPrint+208
;F_CastPrint+176
	jmp F_CastPrint+352
	nop 0
	nop 0
;F_CastPrint+192
	ldi %r2,160
	ldbz %r3,%r1,0
	bweq %r3,%gz,F_CastPrint+352
;F_CastPrint+208
	addi %r5,%r1,1
	ldi %r6,4
	ldi %r1,180
;F_CastPrint+224
	jmp F_CastPrint+272
	nop 0
	nop 0
;F_CastPrint+240
	ldbz %r3,%r5,0
	addws %r2,%r2,%r7
	addi %r5,%r5,1
;F_CastPrint+256
	bweq %r3,%gz,F_CastPrint+352
	nop 0
	nop 0
;F_CastPrint+272
	slsrai %r11,%r3,56,56
	callr %r10,toupper
	addiws %r3,%r11,-97
;F_CastPrint+288
	mov %r7,%r6
	bwltui.l %r3,1099511627712,F_CastPrint+240
;F_CastPrint+304
	addiws %r3,%r11,-33
	lddzx.xuw %r11,%r4,%r3,3,0
	ldbs %r3,%r11,1
;F_CastPrint+320
	ldbz %r7,%r11,0
	slor %r7,%r7,%r3,8
	mov2 %r9,%r10,%r2,%r1
;F_CastPrint+336
	callr %r8,V_DrawPatch
	jmp F_CastPrint+240
	nop 0
;F_CastPrint+352
	retf 0
	nop 0
	nop 0
;F_CastDrawer
	alloc 10
	ldafr %r8,.rodata+12918
	ldi %r1,8
;F_CastDrawer+16
	mov %r9,%r1
	callr %r7,W_CacheLumpName
	mov2 %r9,%r7,%r8,%gz
;F_CastDrawer+32
	mov %r8,%gz
	callr %r6,V_DrawPatch
	ldwsr %r2,castnum
;F_CastDrawer+48
	ldafr %r3,castorder
	lddzx.xd %r9,%r3,%r2,4,0
	callr %r8,F_CastPrint
;F_CastDrawer+64
	lddzr %r2,caststate
	lddzr %r3,sprites
	ldwz %r4,%r2,0
;F_CastDrawer+80
	ldwz %r2,%r2,4
	lddzx.xd %r3,%r3,%r4,4,8
	andi %r2,%r2,32767
;F_CastDrawer+96
	muli %r2,%r2,28
	ldhsx.xd %r4,%r3,%r2,0,4
	ldwzr %r5,firstspritelump
;F_CastDrawer+112
	ldbzx.xd %r2,%r3,%r2,0,20
	addws %r8,%r5,%r4
	mov %r9,%r1
;F_CastDrawer+128
	callr %r7,W_CacheLumpNum
	mov %r9,%r8
	ldi %r7,160
;F_CastDrawer+144
	ldi %r8,170
	bweq %r2,%gz,F_CastDrawer+176
	callr %r6,V_DrawPatchFlipped
;F_CastDrawer+160
	retf 0
	nop 0
	nop 0
;F_CastDrawer+176
	callr %r6,V_DrawPatch
	retf 0
	nop 0
;F_DrawPatchCol
	alloc 8
	ldbzx.xw %r4,%r2,%r3,2,9
	ldbzx.xw %r5,%r2,%r3,2,8
;F_DrawPatchCol+16
	ldbsx.xw %r6,%r2,%r3,2,11
	ldbzx.xw %r3,%r2,%r3,2,10
	lddzr %r7,I_VideoBuffer
;F_DrawPatchCol+32
	slli %r6,%r6,24
	slor %r4,%r5,%r4,8
	slor %r3,%r6,%r3,16
;F_DrawPatchCol+48
	or %r3,%r3,%r4
	ldax.xw %r1,%r7,%r1,0,0
	ldbzx.xd %r5,%r2,%r3,0,0
;F_DrawPatchCol+64
	bweqi %r5,255,F_DrawPatchCol+224
	add %r3,%r2,%r3
	ldi %r2,320
;F_DrawPatchCol+80
	jmp F_DrawPatchCol+144
	nop 0
	nop 0
;F_DrawPatchCol+96
	mov %r4,%gz
	nop 0
	nop 0
;F_DrawPatchCol+112
	ldax.xd %r6,%r3,%r4,0,4
	ldbzx.xd %r5,%r3,%r4,0,4
	mov %r3,%r6
;F_DrawPatchCol+128
	bweqi %r5,255,F_DrawPatchCol+224
	nop 0
	nop 0
;F_DrawPatchCol+144
	ldbz %r4,%r3,1
	bweq %r4,%gz,F_DrawPatchCol+96
	andi %r5,%r5,255
;F_DrawPatchCol+160
	muladd %r5,%r5,%r2,%r1
	addi %r6,%r3,3
	nop 0
;F_DrawPatchCol+176
	ldbz %r7,%r6,0
	addiws %r4,%r4,-1
	addi %r6,%r6,1
;F_DrawPatchCol+192
	stb %r7,%r5,0
	addi %r5,%r5,320
	bwne %r4,%gz,F_DrawPatchCol+176
;F_DrawPatchCol+208
	ldbz %r4,%r3,1
	jmp F_DrawPatchCol+112
	nop 0
;F_DrawPatchCol+224
	retf 0
	nop 0
	nop 0
;F_BunnyScroll
	allocsp 20,32
	ldafr %r18,.rodata+22288
	ldi %r2,5
;F_BunnyScroll+16
	mov %r19,%r2
	callr %r17,W_CacheLumpName
	mov %r1,%r18
;F_BunnyScroll+32
	ldafr %r18,.rodata+7765
	mov %r19,%r2
	callr %r17,W_CacheLumpName
;F_BunnyScroll+48
	mov %r2,%r18
	ldi %r3,320
	ldi %r19,200
;F_BunnyScroll+64
	mov2 %r16,%r17,%gz,%gz
	mov %r18,%r3
	callr %r15,V_MarkRect
;F_BunnyScroll+80
	ldwzr %r5,finalecount
	mov %r4,%gz
	addiws %r5,%r5,-230
;F_BunnyScroll+96
	srliw %r6,%r5,31
	addws %r5,%r5,%r6
	sraiw %r5,%r5,1
;F_BunnyScroll+112
	subfiws %r5,%r5,0
	minsw %r5,%r5,%gz
	ldi %r6,-320
;F_BunnyScroll+128
	maxsw %r8,%r5,%r6
	addi %r5,%r2,8
	addi %r6,%r1,8
;F_BunnyScroll+144
	sraiw %r7,%r8,0
	addiwz %r8,%r8,320
	jmp F_BunnyScroll+176
;F_BunnyScroll+160
	addi %r4,%r4,1
	bdeqi %r4,320,F_BunnyScroll+592
	nop 0
;F_BunnyScroll+176
	add %r9,%r4,%r8
	bdgeui %r9,320,F_BunnyScroll+384
	ldbzx.xd %r10,%r6,%r9,2,1
;F_BunnyScroll+192
	ldbzx.xd %r11,%r6,%r9,2,0
	ldbsx.xd %r12,%r6,%r9,2,3
	ldbzx.xd %r9,%r6,%r9,2,2
;F_BunnyScroll+208
	slli %r12,%r12,24
	slor %r10,%r11,%r10,8
	slor %r9,%r12,%r9,16
;F_BunnyScroll+224
	or %r9,%r9,%r10
	ldbzx.xd %r12,%r1,%r9,0,0
	bweqi %r12,255,F_BunnyScroll+160
;F_BunnyScroll+240
	add %r10,%r1,%r9
	lddzr %r9,I_VideoBuffer
	jmp F_BunnyScroll+304
;F_BunnyScroll+256
	mov %r11,%gz
	nop 0
	nop 0
;F_BunnyScroll+272
	ldax.xd %r13,%r10,%r11,0,4
	ldbzx.xd %r12,%r10,%r11,0,4
	mov %r10,%r13
;F_BunnyScroll+288
	bweqi %r12,255,F_BunnyScroll+160
	nop 0
	nop 0
;F_BunnyScroll+304
	ldbz %r11,%r10,1
	bweq %r11,%gz,F_BunnyScroll+256
	andi %r12,%r12,255
;F_BunnyScroll+320
	addi %r13,%r10,3
	muladd %r12,%r12,%r3,%r9
	nop 0
;F_BunnyScroll+336
	ldbz %r14,%r13,0
	addiws %r11,%r11,-1
	addi %r13,%r13,1
;F_BunnyScroll+352
	stbx.xd %r14,%r12,%r4,0,0
	addi %r12,%r12,320
	bwne %r11,%gz,F_BunnyScroll+336
;F_BunnyScroll+368
	ldbz %r11,%r10,1
	jmp F_BunnyScroll+272
	nop 0
;F_BunnyScroll+384
	add %r9,%r4,%r7
	ldbzx.xd %r10,%r5,%r9,2,1
	ldbzx.xd %r11,%r5,%r9,2,0
;F_BunnyScroll+400
	ldbsx.xd %r12,%r5,%r9,2,3
	ldbzx.xd %r9,%r5,%r9,2,2
	slli %r12,%r12,24
;F_BunnyScroll+416
	slor %r10,%r11,%r10,8
	slor %r9,%r12,%r9,16
	or %r9,%r9,%r10
;F_BunnyScroll+432
	ldbzx.xd %r12,%r2,%r9,0,0
	bweqi %r12,255,F_BunnyScroll+160
	add %r10,%r2,%r9
;F_BunnyScroll+448
	lddzr %r9,I_VideoBuffer
	jmp F_BunnyScroll+512
	nop 0
;F_BunnyScroll+464
	mov %r11,%gz
	nop 0
	nop 0
;F_BunnyScroll+480
	ldax.xd %r13,%r10,%r11,0,4
	ldbzx.xd %r12,%r10,%r11,0,4
	mov %r10,%r13
;F_BunnyScroll+496
	bweqi %r12,255,F_BunnyScroll+160
	nop 0
	nop 0
;F_BunnyScroll+512
	ldbz %r11,%r10,1
	bweq %r11,%gz,F_BunnyScroll+464
	andi %r12,%r12,255
;F_BunnyScroll+528
	addi %r13,%r10,3
	muladd %r12,%r12,%r3,%r9
	nop 0
;F_BunnyScroll+544
	ldbz %r14,%r13,0
	addiws %r11,%r11,-1
	addi %r13,%r13,1
;F_BunnyScroll+560
	stbx.xd %r14,%r12,%r4,0,0
	addi %r12,%r12,320
	bwne %r11,%gz,F_BunnyScroll+544
;F_BunnyScroll+576
	ldbz %r11,%r10,1
	jmp F_BunnyScroll+480
	nop 0
;F_BunnyScroll+592
	ldwzr %r1,finalecount
	bwltui %r1,1130,F_BunnyScroll+816
	bwgeui %r1,1180,F_BunnyScroll+656
;F_BunnyScroll+608
	ldafr %r18,.rodata+21381
	ldi %r19,8
	callr %r17,W_CacheLumpName
;F_BunnyScroll+624
	mov %r19,%r18
	ldi %r17,108
	ldi %r18,68
;F_BunnyScroll+640
	callr %r16,V_DrawPatch
	stwr %gz,F_BunnyScroll.laststage
	retf 32
;F_BunnyScroll+656
	addiwz %r1,%r1,-1180
	ldwzr %r3,F_BunnyScroll.laststage
	nop 2
;F_BunnyScroll+672
	muli.l %r1,%r1,3435973837
	srli %r1,%r1,34
;F_BunnyScroll+688
	ldi %r2,6
	minuw %r2,%r1,%r2
	bwle %r2,%r3,F_BunnyScroll+736
;F_BunnyScroll+704
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;F_BunnyScroll+720
	stwr %r2,F_BunnyScroll.laststage
	nop 0
	nop 0
;F_BunnyScroll+736
	ldafr %r19,.rodata+20343
	addi %r1,%sp,22
	ldi %r18,10
;F_BunnyScroll+752
	stw %r2,%sp,0
	mov %r17,%r1
	callr %r16,snprintf
;F_BunnyScroll+768
	ldi %r19,8
	mov %r18,%r1
	callr %r17,W_CacheLumpName
;F_BunnyScroll+784
	mov %r19,%r18
	ldi %r17,108
	ldi %r18,68
;F_BunnyScroll+800
	callr %r16,V_DrawPatch
	nop 0
	nop 0
;F_BunnyScroll+816
	retf 32
	nop 0
	nop 0
;F_Drawer
	alloc 8
	ldwzr %r1,finalestage
	bweq %r1,%gz,F_Drawer+128
;F_Drawer+16
	bweqi %r1,1,F_Drawer+48
	bwnei %r1,2,F_Drawer+208
	callr %r7,F_CastDrawer
;F_Drawer+32
	retf 0
	nop 0
	nop 0
;F_Drawer+48
	ldwzr %r1,gameepisode
	addiws %r2,%r1,-1
	bwgeui %r2,4,F_Drawer+208
;F_Drawer+64
	addiwz %r1,%r1,-1
	ldafr %r2,.rodata+33476
	ldafr %r6,.rodata+2458
;F_Drawer+80
	jmpt %r2,%r1
	nop 0
	nop 0
;F_Drawer+96
	ldwzr %r1,gamemode
	cmpweqi %r1,%r1,3
	ldafr %r2,.rodata+11065
;F_Drawer+112
	ldafr %r3,.rodata+10578
	cmovlsb %r6,%r1,%r3,%r2
	jmp F_Drawer+176
;F_Drawer+128
	callr %r7,F_TextWrite
	retf 0
	nop 0
;F_Drawer+144
	callr %r7,F_BunnyScroll
	retf 0
	nop 0
;F_Drawer+160
	ldafr %r6,.rodata+3828
	nop 0
	nop 0
;F_Drawer+176
	ldi %r7,8
	callr %r5,W_CacheLumpName
	mov2 %r7,%r5,%r6,%gz
;F_Drawer+192
	mov %r6,%gz
	callr %r4,V_DrawPatch
	nop 0
;F_Drawer+208
	retf 0
	nop 0
	nop 0
;toupper
	alloc 4
	addiws %r2,%r1,-97
	cmpwltui %r2,%r2,26
;toupper+16
	andi %r3,%r1,95
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;__toupper_l
	alloc 4
	addiws %r2,%r1,-97
	cmpwltui %r2,%r2,26
;__toupper_l+16
	andi %r3,%r1,95
	cmovlsb %r1,%r2,%r3,%r1
	retf 0
;wipe_shittyColMajorXform
	alloc 20
	mulws %r4,%r2,%r3
	slliw %r5,%r4,1
;wipe_shittyColMajorXform+16
	ldi %r18,1
	mov2 %r17,%r19,%r5,%gz
	callr %r16,Z_Malloc
;wipe_shittyColMajorXform+32
	mov %r4,%r17
	bwlti %r3,1,wipe_shittyColMajorXform+176
	mov %r6,%gz
;wipe_shittyColMajorXform+48
	srliw %r3,%r3,0
	srliw %r7,%r2,0
	slli %r8,%r7,1
;wipe_shittyColMajorXform+64
	slli %r9,%r3,1
	mov2 %r10,%r11,%r4,%r1
	jmp wipe_shittyColMajorXform+112
;wipe_shittyColMajorXform+80
	addi %r6,%r6,1
	add %r11,%r11,%r8
	addi %r10,%r10,2
;wipe_shittyColMajorXform+96
	bdeq %r6,%r3,wipe_shittyColMajorXform+176
	nop 0
	nop 0
;wipe_shittyColMajorXform+112
	bwlti %r2,1,wipe_shittyColMajorXform+80
	mov2 %r12,%r13,%r7,%r10
	mov %r14,%r11
;wipe_shittyColMajorXform+128
	ldhz %r15,%r14,0
	sth %r15,%r13,0
	addi %r14,%r14,2
;wipe_shittyColMajorXform+144
	addi %r12,%r12,-1
	add %r13,%r13,%r9
	bdne %r12,%gz,wipe_shittyColMajorXform+128
;wipe_shittyColMajorXform+160
	jmp wipe_shittyColMajorXform+80
	nop 0
	nop 0
;wipe_shittyColMajorXform+176
	sraiw %r19,%r5,0
	mov2 %r17,%r18,%r1,%r4
	callr %r16,memcpy
;wipe_shittyColMajorXform+192
	mov %r19,%r4
	callr %r18,Z_Free
	retf 0
;wipe_initColorXForm
	alloc 7
	lddzr %r4,wipe_scr
	lddzr %r5,wipe_scr_start
;wipe_initColorXForm+16
	mulws %r6,%r2,%r1
	callr %r3,memcpy
	mov %r1,%gz
;wipe_initColorXForm+32
	retf 0
	nop 0
	nop 0
;wipe_doColorXForm
	alloc 9
	mulws %r1,%r2,%r1
	bweq %r1,%gz,wipe_doColorXForm+176
;wipe_doColorXForm+16
	mov %r6,%gz
	lddzr %r2,wipe_scr
	lddzr %r4,wipe_scr_end
;wipe_doColorXForm+32
	ldi %r5,1
	jmp wipe_doColorXForm+112
	nop 0
;wipe_doColorXForm+48
	subws %r6,%r8,%r3
	cmpwlt %r8,%r6,%r7
	nop 0
;wipe_doColorXForm+64
	cmovlsb %r6,%r8,%r7,%r6
	stb %r6,%r2,0
	mov %r6,%r5
;wipe_doColorXForm+80
	addi %r2,%r2,1
	addi %r1,%r1,-1
	addi %r4,%r4,1
;wipe_doColorXForm+96
	bdeq %r1,%gz,wipe_doColorXForm+160
	nop 0
	nop 0
;wipe_doColorXForm+112
	ldbz %r8,%r2,0
	ldbz %r7,%r4,0
	bweq %r8,%r7,wipe_doColorXForm+80
;wipe_doColorXForm+128
	bwltu %r7,%r8,wipe_doColorXForm+48
	bwleu %r7,%r8,wipe_doColorXForm+80
	addws %r6,%r3,%r8
;wipe_doColorXForm+144
	cmpwlt %r8,%r7,%r6
	jmp wipe_doColorXForm+64
	nop 0
;wipe_doColorXForm+160
	cmpweqi %r1,%r6,0
	retf 0
	nop 0
;wipe_doColorXForm+176
	ldi %r1,1
	retf 0
	nop 0
;wipe_exitColorXForm
	alloc 2
	mov %r1,%gz
	retf 0
;wipe_initMelt
	alloc 13
	lddzr %r10,wipe_scr
	lddzr %r3,wipe_scr_start
;wipe_initMelt+16
	mulws %r12,%r2,%r1
	mov %r11,%r3
	callr %r9,memcpy
;wipe_initMelt+32
	srliw %r4,%r1,31
	addws %r4,%r1,%r4
	sraiw %r4,%r4,1
;wipe_initMelt+48
	mov2 %r10,%r11,%r3,%r4
	mov %r12,%r2
	callr %r9,wipe_shittyColMajorXform
;wipe_initMelt+64
	lddzr %r10,wipe_scr_end
	mov2 %r11,%r12,%r4,%r2
	callr %r9,wipe_shittyColMajorXform
;wipe_initMelt+80
	slliw %r10,%r1,2
	ldi %r11,1
	mov %r12,%gz
;wipe_initMelt+96
	callr %r9,Z_Malloc
	stdr %r10,y
	callr %r11,M_Random
;wipe_initMelt+112
	sraiw %r2,%r12,31
	srliw %r2,%r2,28
	lddzr %r3,y
;wipe_initMelt+128
	addws %r2,%r12,%r2
	andi %r2,%r2,-16
	subws %r2,%r2,%r12
;wipe_initMelt+144
	stw %r2,%r3,0
	bwlti %r1,2,wipe_initMelt+336
	mov %r2,%gz
;wipe_initMelt+160
	ldi %r3,-4
	ldax.xuw %r3,%r3,%r1,2,0
	ldi %r4,-15
;wipe_initMelt+176
	jmp wipe_initMelt+224
	nop 0
	nop 0
;wipe_initMelt+192
	add %r5,%r5,%r2
	stw %r1,%r5,4
	nop 0
;wipe_initMelt+208
	addi %r2,%r2,4
	bdeq %r3,%r2,wipe_initMelt+336
	nop 0
;wipe_initMelt+224
	callr %r11,M_Random
	mov %r1,%gz
	sraiw %r6,%r12,0
;wipe_initMelt+240
	lddzr %r5,y
	muli.l %r6,%r6,1431655766
;wipe_initMelt+256
	srli %r7,%r6,63
	srli %r6,%r6,32
	ldwzx.xd %r8,%r5,%r2,0,0
;wipe_initMelt+272
	addws %r6,%r6,%r7
	mulwsi %r6,%r6,3
	subws %r6,%r12,%r6
;wipe_initMelt+288
	addws %r6,%r6,%r8
	addiws %r6,%r6,-1
	stwx.xd %r6,%r5,%r2,0,4
;wipe_initMelt+304
	bwlt %gz,%r6,wipe_initMelt+192
	mov %r1,%r4
	bweqi %r6,-16,wipe_initMelt+192
;wipe_initMelt+320
	jmp wipe_initMelt+208
	nop 0
	nop 0
;wipe_initMelt+336
	mov %r1,%gz
	retf 0
	nop 0
;wipe_doMelt
	alloc 24
	bweq %r3,%gz,wipe_doMelt+416
	srliw %r4,%r1,31
;wipe_doMelt+16
	addws %r4,%r1,%r4
	sraiw %r5,%r4,1
	lddzr %r6,y
;wipe_doMelt+32
	lddzr %r7,wipe_scr_end
	lddzr %r8,wipe_scr
	lddzr %r9,wipe_scr_start
;wipe_doMelt+48
	srliw %r10,%r5,0
	sraiw %r11,%r2,0
	slli %r12,%r10,1
;wipe_doMelt+64
	ldi %r4,1
	ldi %r13,8
	jmp wipe_doMelt+96
;wipe_doMelt+80
	addiws %r3,%r3,-1
	bweq %r3,%gz,wipe_doMelt+432
	nop 0
;wipe_doMelt+96
	bwlti %r1,2,wipe_doMelt+80
	mov2 %r14,%r15,%gz,%gz
	mov %r16,%r8
;wipe_doMelt+112
	jmp wipe_doMelt+176
	nop 0
	nop 0
;wipe_doMelt+128
	mov %r4,%gz
	addiws %r18,%r18,1
	stw %r18,%r17,0
;wipe_doMelt+144
	addi %r15,%r15,1
	addiws %r14,%r14,1
	addi %r16,%r16,2
;wipe_doMelt+160
	bdeq %r15,%r10,wipe_doMelt+80
	nop 0
	nop 0
;wipe_doMelt+176
	ldwzx.xd %r18,%r6,%r15,2,0
	sladd %r17,%r6,%r15,2
	bwlti %r18,0,wipe_doMelt+128
;wipe_doMelt+192
	bwle %r2,%r18,wipe_doMelt+144
	cmpwltui %r4,%r18,16
	addiws %r19,%r18,1
;wipe_doMelt+208
	cmovlsb %r4,%r4,%r19,%r13
	addws %r19,%r4,%r18
	cmpwltu %r19,%r19,%r2
;wipe_doMelt+224
	subws %r20,%r2,%r18
	cmovlsb %r19,%r19,%r4,%r20
	mul %r4,%r15,%r11
;wipe_doMelt+240
	bweq %r19,%gz,wipe_doMelt+320
	mulws %r20,%r18,%r5
	sladd %r21,%r7,%r4,1
;wipe_doMelt+256
	ldax.xuw %r21,%r21,%r18,1,0
	addws %r20,%r14,%r20
	ldax.xuw %r20,%r8,%r20,1,0
;wipe_doMelt+272
	mov %r22,%r19
	nop 0
	nop 0
;wipe_doMelt+288
	ldhz %r23,%r21,0
	addi %r21,%r21,2
	sth %r23,%r20,0
;wipe_doMelt+304
	addiws %r22,%r22,-1
	add %r20,%r20,%r12
	bwne %r22,%gz,wipe_doMelt+288
;wipe_doMelt+320
	addws %r19,%r19,%r18
	subws %r18,%r2,%r19
	stw %r19,%r17,0
;wipe_doMelt+336
	bweq %r18,%gz,wipe_doMelt+400
	mulws %r19,%r19,%r5
	sladd %r17,%r9,%r4,1
;wipe_doMelt+352
	sladd %r4,%r16,%r19,1
	nop 0
	nop 0
;wipe_doMelt+368
	ldhz %r19,%r17,0
	addi %r17,%r17,2
	sth %r19,%r4,0
;wipe_doMelt+384
	addiws %r18,%r18,-1
	add %r4,%r4,%r12
	bwne %r18,%gz,wipe_doMelt+368
;wipe_doMelt+400
	mov %r4,%gz
	jmp wipe_doMelt+144
	nop 0
;wipe_doMelt+416
	ldi %r4,1
	nop 0
	nop 0
;wipe_doMelt+432
	mov %r1,%r4
	retf 0
	nop 0
;wipe_exitMelt
	alloc 4
	lddzr %r3,y
	callr %r2,Z_Free
;wipe_exitMelt+16
	lddzr %r3,wipe_scr_start
	callr %r2,Z_Free
	lddzr %r3,wipe_scr_end
;wipe_exitMelt+32
	callr %r2,Z_Free
	mov %r1,%gz
	retf 0
;wipe_StartScreen
	alloc 6
	ldi %r3,64000
	ldi %r4,1
;wipe_StartScreen+16
	mov %r5,%gz
	callr %r2,Z_Malloc
	stdr %r3,wipe_scr_start
;wipe_StartScreen+32
	mov %r5,%r3
	callr %r4,I_ReadScreen
	mov %r1,%gz
;wipe_StartScreen+48
	retf 0
	nop 0
	nop 0
;wipe_EndScreen
	alloc 11
	ldi %r8,64000
	ldi %r9,1
;wipe_EndScreen+16
	mov %r10,%gz
	callr %r7,Z_Malloc
	stdr %r8,wipe_scr_end
;wipe_EndScreen+32
	mov %r10,%r8
	callr %r9,I_ReadScreen
	lddzr %r10,wipe_scr_start
;wipe_EndScreen+48
	mov2 %r6,%r7,%r1,%r2
	mov2 %r8,%r9,%r3,%r4
	callr %r5,V_DrawBlock
;wipe_EndScreen+64
	mov %r1,%gz
	retf 0
	nop 0
;wipe_ScreenWipe
	alloc 12
	ldbzr %r2,go
	bbci %r2,0,wipe_ScreenWipe+32
;wipe_ScreenWipe+16
	mulwsi %r2,%r1,3
	jmp wipe_ScreenWipe+96
	nop 0
;wipe_ScreenWipe+32
	lddzr %r2,I_VideoBuffer
	ldi %r3,1
	stbr %r3,go
;wipe_ScreenWipe+48
	stdr %r2,wipe_scr
	mulwsi %r2,%r1,3
	ldafr %r1,wipe_ScreenWipe.wipes
;wipe_ScreenWipe+64
	ldax.xw %r1,%r1,%r2,3,0
	mov2 %r9,%r10,%r4,%r5
	mov %r11,%r6
;wipe_ScreenWipe+80
	callmi %r8,%r1,0
	nop 0
	nop 0
;wipe_ScreenWipe+96
	mov2 %r8,%r9,%gz,%gz
	mov2 %r10,%r11,%r4,%r5
	callr %r7,V_MarkRect
;wipe_ScreenWipe+112
	ldafr %r1,wipe_ScreenWipe.wipes+8
	ldax.xw %r1,%r1,%r2,3,0
	mov2 %r9,%r10,%r4,%r5
;wipe_ScreenWipe+128
	mov %r11,%r6
	callmi %r8,%r1,0
	bweq %r9,%gz,wipe_ScreenWipe+176
;wipe_ScreenWipe+144
	stbr %gz,go
	ldafr %r1,wipe_ScreenWipe.wipes+16
	ldax.xw %r1,%r1,%r2,3,0
;wipe_ScreenWipe+160
	mov2 %r9,%r10,%r4,%r5
	mov %r11,%r6
	callmi %r8,%r1,0
;wipe_ScreenWipe+176
	ldbzr %r1,go
	xori %r1,%r1,1
	retf 0
;G_CmdChecksum
	alloc 5
	mov2 %r3,%r2,%gz,%gz
	nop 0
;G_CmdChecksum+16
	ldwzx.xd %r4,%r1,%r3,0,0
	addi %r3,%r3,4
	addws %r2,%r4,%r2
;G_CmdChecksum+32
	bdnei %r3,12,G_CmdChecksum+16
	mov %r1,%r2
	retf 0
;G_BuildTiccmd
	alloc 21
	stw %gz,%r1,12
	stw %gz,%r1,8
;G_BuildTiccmd+16
	stw %gz,%r1,4
	stw %gz,%r1,0
	ldwsr %r3,consoleplayer
;G_BuildTiccmd+32
	sraiw %r4,%r2,31
	srliw %r4,%r4,25
	addws %r4,%r2,%r4
;G_BuildTiccmd+48
	andi %r4,%r4,-128
	subws %r2,%r2,%r4
	sladd %r2,%r2,%r3,7
;G_BuildTiccmd+64
	ldafr %r3,consistancy
	ldbzx.xd %r2,%r2,%r3,0,0
	stb %r2,%r1,6
;G_BuildTiccmd+80
	ldwsr %r2,key_strafe
	ldafr %r8,gamekeydown
	ldwzx.xd %r2,%r8,%r2,2,0
;G_BuildTiccmd+96
	ldi %r6,1
	ldafr %r4,mousearray+4
	mov %r3,%r6
;G_BuildTiccmd+112
	bwne %r2,%gz,G_BuildTiccmd+144
	ldwsr %r2,mousebstrafe
	ldwzx.xd %r2,%r4,%r2,2,0
;G_BuildTiccmd+128
	mov %r3,%r6
	bweq %r2,%gz,G_BuildTiccmd+2352
	nop 0
;G_BuildTiccmd+144
	ldwzr %r5,key_speed
	bwgei %r5,256,G_BuildTiccmd+192
	nop 0
;G_BuildTiccmd+160
	ldwzr %r2,joybspeed
	bwgei %r2,20,G_BuildTiccmd+192
	ldwzx.xw %r5,%r8,%r5,2,0
;G_BuildTiccmd+176
	bweq %r5,%gz,G_BuildTiccmd+256
	nop 0
	nop 0
;G_BuildTiccmd+192
	ldwzr %r7,joyxmove
	bwne %r7,%gz,G_BuildTiccmd+288
	nop 0
;G_BuildTiccmd+208
	ldwsr %r2,key_right
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+288
;G_BuildTiccmd+224
	ldwsr %r2,key_left
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+288
;G_BuildTiccmd+240
	stwr %gz,turnheld
	jmp G_BuildTiccmd+320
	nop 0
;G_BuildTiccmd+256
	ldafr %r5,joyarray+4
	ldwzx.xw %r2,%r5,%r2,2,0
	cmpwnei %r6,%r2,0
;G_BuildTiccmd+272
	ldwzr %r7,joyxmove
	bweq %r7,%gz,G_BuildTiccmd+208
	nop 0
;G_BuildTiccmd+288
	ldwzr %r2,ticdup
	ldwzr %r5,turnheld
	addws %r2,%r5,%r2
;G_BuildTiccmd+304
	stwr %r2,turnheld
	mov %r9,%r6
	bwgei %r2,6,G_BuildTiccmd+336
;G_BuildTiccmd+320
	ldi %r9,2
	nop 0
	nop 0
;G_BuildTiccmd+336
	ldwsr %r2,key_right
	ldwzx.xd %r5,%r8,%r2,2,0
	ldafr %r2,sidemove
;G_BuildTiccmd+352
	bbci %r3,0,G_BuildTiccmd+384
	bweq %r5,%gz,G_BuildTiccmd+416
	ldwzx.xd %r5,%r2,%r6,2,0
;G_BuildTiccmd+368
	jmp G_BuildTiccmd+432
	nop 0
	nop 0
;G_BuildTiccmd+384
	ldafr %r11,angleturn
	bweq %r5,%gz,G_BuildTiccmd+496
	ldhzx.xd %r5,%r11,%r9,2,0
;G_BuildTiccmd+400
	subfiws %r10,%r5,0
	sth %r10,%r1,2
	jmp G_BuildTiccmd+512
;G_BuildTiccmd+416
	mov %r5,%gz
	nop 0
	nop 0
;G_BuildTiccmd+432
	ldwsr %r9,key_left
	ldwzx.xd %r9,%r8,%r9,2,0
	bweq %r9,%gz,G_BuildTiccmd+464
;G_BuildTiccmd+448
	ldwzx.xd %r9,%r2,%r6,2,0
	subws %r5,%r5,%r9
	nop 0
;G_BuildTiccmd+464
	bwlti %r7,1,G_BuildTiccmd+592
	ldwzx.xd %r7,%r2,%r6,2,0
	addws %r5,%r7,%r5
;G_BuildTiccmd+480
	jmp G_BuildTiccmd+640
	nop 0
	nop 0
;G_BuildTiccmd+496
	mov %r10,%gz
	nop 0
	nop 0
;G_BuildTiccmd+512
	ldwsr %r5,key_left
	ldwzx.xd %r5,%r8,%r5,2,0
	bweq %r5,%gz,G_BuildTiccmd+544
;G_BuildTiccmd+528
	ldhzx.xd %r5,%r11,%r9,2,0
	addws %r10,%r10,%r5
	sth %r10,%r1,2
;G_BuildTiccmd+544
	bwlti %r7,1,G_BuildTiccmd+624
	ldhzx.xd %r7,%r11,%r9,2,0
	mov %r5,%gz
;G_BuildTiccmd+560
	subws %r7,%r10,%r7
	nop 0
	nop 0
;G_BuildTiccmd+576
	sth %r7,%r1,2
	jmp G_BuildTiccmd+640
	nop 0
;G_BuildTiccmd+592
	bwgei %r7,0,G_BuildTiccmd+640
	ldwzx.xd %r7,%r2,%r6,2,0
	subws %r5,%r5,%r7
;G_BuildTiccmd+608
	jmp G_BuildTiccmd+640
	nop 0
	nop 0
;G_BuildTiccmd+624
	mov %r5,%gz
	bwlti %r7,0,G_BuildTiccmd+2464
	nop 0
;G_BuildTiccmd+640
	ldwsr %r7,key_up
	ldwzx.xd %r7,%r8,%r7,2,0
	ldafr %r9,forwardmove
;G_BuildTiccmd+656
	bweq %r7,%gz,G_BuildTiccmd+672
	ldwzx.xd %r7,%r9,%r6,2,0
	jmp G_BuildTiccmd+688
;G_BuildTiccmd+672
	mov %r7,%gz
	nop 0
	nop 0
;G_BuildTiccmd+688
	ldwsr %r10,key_down
	ldwzx.xd %r10,%r8,%r10,2,0
	bweq %r10,%gz,G_BuildTiccmd+720
;G_BuildTiccmd+704
	ldwzx.xd %r10,%r9,%r6,2,0
	subws %r7,%r7,%r10
	nop 0
;G_BuildTiccmd+720
	ldwzr %r10,joyymove
	bwlti %r10,0,G_BuildTiccmd+752
	bweq %r10,%gz,G_BuildTiccmd+768
;G_BuildTiccmd+736
	ldwzx.xd %r10,%r9,%r6,2,0
	subws %r7,%r7,%r10
	jmp G_BuildTiccmd+768
;G_BuildTiccmd+752
	ldwzx.xd %r10,%r9,%r6,2,0
	addws %r7,%r10,%r7
	nop 0
;G_BuildTiccmd+768
	ldwsr %r10,key_strafeleft
	ldwzx.xd %r10,%r8,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+816
;G_BuildTiccmd+784
	ldwsr %r10,joybstrafeleft
	ldafr %r11,joyarray+4
	ldwzx.xd %r10,%r11,%r10,2,0
;G_BuildTiccmd+800
	bweq %r10,%gz,G_BuildTiccmd+2400
	nop 0
	nop 0
;G_BuildTiccmd+816
	ldwzx.xd %r10,%r2,%r6,2,0
	subws %r5,%r5,%r10
	nop 0
;G_BuildTiccmd+832
	ldwsr %r10,key_straferight
	ldwzx.xd %r10,%r8,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+880
;G_BuildTiccmd+848
	ldwsr %r10,joybstraferight
	ldafr %r11,joyarray+4
	ldwzx.xd %r10,%r11,%r10,2,0
;G_BuildTiccmd+864
	bweq %r10,%gz,G_BuildTiccmd+2432
	nop 0
	nop 0
;G_BuildTiccmd+880
	ldwzx.xd %r2,%r2,%r6,2,0
	addws %r5,%r2,%r5
	nop 0
;G_BuildTiccmd+896
	callr %r19,HU_dequeueChatChar
	stb %r20,%r1,4
	ldwsr %r2,key_fire
;G_BuildTiccmd+912
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+960
	ldwsr %r2,mousebfire
;G_BuildTiccmd+928
	ldwzx.xd %r2,%r4,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+960
	ldwsr %r2,joybfire
;G_BuildTiccmd+944
	ldafr %r10,joyarray+4
	ldwzx.xd %r2,%r10,%r2,2,0
	bweq %r2,%gz,G_BuildTiccmd+976
;G_BuildTiccmd+960
	ldbz %r2,%r1,5
	ori %r2,%r2,1
	stb %r2,%r1,5
;G_BuildTiccmd+976
	ldwsr %r2,key_use
	ldwzx.xd %r2,%r8,%r2,2,0
	bwne %r2,%gz,G_BuildTiccmd+1040
;G_BuildTiccmd+992
	ldwsr %r2,joybuse
	ldafr %r10,joyarray+4
	ldwzx.xd %r2,%r10,%r2,2,0
;G_BuildTiccmd+1008
	bwne %r2,%gz,G_BuildTiccmd+1040
	ldwsr %r2,mousebuse
	ldwzx.xd %r2,%r4,%r2,2,0
;G_BuildTiccmd+1024
	bweq %r2,%gz,G_BuildTiccmd+1072
	nop 0
	nop 0
;G_BuildTiccmd+1040
	ldbz %r2,%r1,5
	ori %r2,%r2,2
	stb %r2,%r1,5
;G_BuildTiccmd+1056
	stwr %gz,dclicks
	nop 0
	nop 0
;G_BuildTiccmd+1072
	ldwzr %r2,gamestate
	bwne %r2,%gz,G_BuildTiccmd+1232
	ldwzr %r10,next_weapon
;G_BuildTiccmd+1088
	bweq %r10,%gz,G_BuildTiccmd+1232
	ldwsr %r2,consoleplayer
	muli %r8,%r2,328
;G_BuildTiccmd+1104
	ldafr %r11,players+128
	ldwzx.xd %r8,%r8,%r11,0,0
	ldafr %r11,players
;G_BuildTiccmd+1120
	ldi %r12,328
	muladd %r2,%r2,%r12,%r11
	bwnei %r8,10,G_BuildTiccmd+1152
;G_BuildTiccmd+1136
	ldwz %r8,%r2,124
	nop 0
	nop 0
;G_BuildTiccmd+1152
	mov %r11,%gz
	addiwz %r12,%r10,9
	ldafr %r13,weapon_order_table
;G_BuildTiccmd+1168
	ldwz %r14,%r13,0
	bweq %r14,%r8,G_BuildTiccmd+1296
	addi %r11,%r11,-1
;G_BuildTiccmd+1184
	addi %r12,%r12,1
	addi %r13,%r13,8
	bdnei %r11,-9,G_BuildTiccmd+1168
;G_BuildTiccmd+1200
	addiwz %r10,%r10,9
	addi %r8,%r10,9
	modui %r11,%r8,9
;G_BuildTiccmd+1216
	ldi %r8,9
	jmp G_BuildTiccmd+1344
	nop 0
;G_BuildTiccmd+1232
	mov %r2,%gz
	ldafr %r10,weapon_keys
	nop 0
;G_BuildTiccmd+1248
	lddz %r11,%r10,0
	ldws %r11,%r11,0
	ldwzx.xd %r11,%r8,%r11,2,0
;G_BuildTiccmd+1264
	bwne %r11,%gz,G_BuildTiccmd+1520
	addi %r2,%r2,1
	addi %r10,%r10,8
;G_BuildTiccmd+1280
	bdnei %r2,8,G_BuildTiccmd+1248
	jmp G_BuildTiccmd+1552
	nop 0
;G_BuildTiccmd+1296
	addiwz %r10,%r10,9
	divui %r8,%r12,9
	ldi %r12,9
;G_BuildTiccmd+1312
	mulsubf %r12,%r8,%r12,%r10
	subfi %r8,%r11,0
	bdeq %r12,%gz,G_BuildTiccmd+1504
;G_BuildTiccmd+1328
	sub %r11,%r12,%r11
	nop 0
	nop 0
;G_BuildTiccmd+1344
	ldwzr %r12,gamemission
	andi %r13,%r12,-5
	ldwzr %r14,gamemode
;G_BuildTiccmd+1360
	addi %r15,%r2,132
	ldafr %r16,weapon_order_table
	jmp G_BuildTiccmd+1392
;G_BuildTiccmd+1376
	add %r11,%r11,%r10
	modui %r11,%r11,9
	bdeq %r11,%r8,G_BuildTiccmd+1504
;G_BuildTiccmd+1392
	ldwzx.xd %r17,%r16,%r11,3,0
	bwnei %r17,8,G_BuildTiccmd+1408
	bweq %r13,%gz,G_BuildTiccmd+1376
;G_BuildTiccmd+1408
	addiws %r18,%r17,-5
	bwgeui %r18,2,G_BuildTiccmd+1440
	bwne %r12,%gz,G_BuildTiccmd+1440
;G_BuildTiccmd+1424
	bweq %r14,%gz,G_BuildTiccmd+1376
	nop 0
	nop 0
;G_BuildTiccmd+1440
	ldwzx.xuw %r18,%r15,%r17,2,0
	bweq %r18,%gz,G_BuildTiccmd+1376
	bwne %r17,%gz,G_BuildTiccmd+1488
;G_BuildTiccmd+1456
	ldwz %r17,%r2,160
	bweq %r17,%gz,G_BuildTiccmd+1488
	ldwz %r17,%r2,60
;G_BuildTiccmd+1472
	bweq %r17,%gz,G_BuildTiccmd+1376
	nop 0
	nop 0
;G_BuildTiccmd+1488
	mov %r8,%r11
	nop 0
	nop 0
;G_BuildTiccmd+1504
	ldafr %r2,weapon_order_table+4
	ldbzx.xd %r2,%r2,%r8,3,0
	nop 0
;G_BuildTiccmd+1520
	ldbz %r8,%r1,5
	slor %r2,%r8,%r2,3
	ori %r2,%r2,4
;G_BuildTiccmd+1536
	stb %r2,%r1,5
	nop 0
	nop 0
;G_BuildTiccmd+1552
	ldwsr %r2,mousebforward
	ldwzx.xd %r2,%r4,%r2,2,0
	stwr %gz,next_weapon
;G_BuildTiccmd+1568
	bweq %r2,%gz,G_BuildTiccmd+1584
	ldwzx.xd %r8,%r9,%r6,2,0
	addws %r7,%r8,%r7
;G_BuildTiccmd+1584
	ldwsr %r8,mousebbackward
	ldwzx.xd %r8,%r4,%r8,2,0
	bweq %r8,%gz,G_BuildTiccmd+1616
;G_BuildTiccmd+1600
	ldwzx.xd %r6,%r9,%r6,2,0
	subws %r7,%r7,%r6
	nop 0
;G_BuildTiccmd+1616
	ldwzr %r6,dclick_use
	bweq %r6,%gz,G_BuildTiccmd+2016
	ldwzr %r8,dclickstate
;G_BuildTiccmd+1632
	ldwzr %r6,dclicktime
	bweq %r2,%r8,G_BuildTiccmd+1712
	bwlti %r6,2,G_BuildTiccmd+1712
;G_BuildTiccmd+1648
	stwr %r2,dclickstate
	ldwzr %r6,dclicks
	bweq %r2,%gz,G_BuildTiccmd+1680
;G_BuildTiccmd+1664
	addiws %r6,%r6,1
	stwr %r6,dclicks
	nop 0
;G_BuildTiccmd+1680
	bwnei %r6,2,G_BuildTiccmd+1760
	ldbz %r2,%r1,5
	ori %r2,%r2,2
;G_BuildTiccmd+1696
	stb %r2,%r1,5
	ldafr %r2,dclicks
	jmp G_BuildTiccmd+1776
;G_BuildTiccmd+1712
	ldwzr %r2,ticdup
	addws %r2,%r2,%r6
	stwr %r2,dclicktime
;G_BuildTiccmd+1728
	bwlti %r2,21,G_BuildTiccmd+1792
	stwr %gz,dclicks
	ldafr %r2,dclickstate
;G_BuildTiccmd+1744
	jmp G_BuildTiccmd+1776
	nop 0
	nop 0
;G_BuildTiccmd+1760
	ldafr %r2,dclicktime
	nop 0
	nop 0
;G_BuildTiccmd+1776
	stw %gz,%r2,0
	nop 0
	nop 0
;G_BuildTiccmd+1792
	ldwsr %r2,mousebstrafe
	ldwzx.xd %r2,%r4,%r2,2,0
	bweq %r2,%gz,G_BuildTiccmd+1824
;G_BuildTiccmd+1808
	ldi %r2,1
	jmp G_BuildTiccmd+1856
	nop 0
;G_BuildTiccmd+1824
	ldwsr %r2,joybstrafe
	ldafr %r4,joyarray+4
	ldwzx.xd %r2,%r4,%r2,2,0
;G_BuildTiccmd+1840
	cmpwnei %r2,%r2,0
	nop 0
	nop 0
;G_BuildTiccmd+1856
	ldwzr %r6,dclickstate2
	ldwzr %r4,dclicktime2
	bweq %r6,%r2,G_BuildTiccmd+1936
;G_BuildTiccmd+1872
	bwlti %r4,2,G_BuildTiccmd+1936
	stwr %r2,dclickstate2
	ldwzr %r4,dclicks2
;G_BuildTiccmd+1888
	bbci %r2,0,G_BuildTiccmd+1904
	addiws %r4,%r4,1
	stwr %r4,dclicks2
;G_BuildTiccmd+1904
	bwnei %r4,2,G_BuildTiccmd+1984
	ldbz %r2,%r1,5
	ori %r2,%r2,2
;G_BuildTiccmd+1920
	stb %r2,%r1,5
	ldafr %r2,dclicks2
	jmp G_BuildTiccmd+2000
;G_BuildTiccmd+1936
	ldwzr %r2,ticdup
	addws %r2,%r2,%r4
	stwr %r2,dclicktime2
;G_BuildTiccmd+1952
	bwlti %r2,21,G_BuildTiccmd+2016
	stwr %gz,dclicks2
	ldafr %r2,dclickstate2
;G_BuildTiccmd+1968
	jmp G_BuildTiccmd+2000
	nop 0
	nop 0
;G_BuildTiccmd+1984
	ldafr %r2,dclicktime2
	nop 0
	nop 0
;G_BuildTiccmd+2000
	stw %gz,%r2,0
	nop 0
	nop 0
;G_BuildTiccmd+2016
	ldwzr %r2,mousey
	ldwzr %r4,mousex
	bbci %r3,0,G_BuildTiccmd+2064
;G_BuildTiccmd+2032
	sladdws %r5,%r5,%r4,1
	addws %r2,%r2,%r7
	bwne %r4,%gz,G_BuildTiccmd+2112
;G_BuildTiccmd+2048
	jmp G_BuildTiccmd+2096
	nop 0
	nop 0
;G_BuildTiccmd+2064
	ldhz %r3,%r1,2
	slsubws %r3,%r3,%r4,3
	sth %r3,%r1,2
;G_BuildTiccmd+2080
	addws %r2,%r2,%r7
	bwne %r4,%gz,G_BuildTiccmd+2112
	nop 0
;G_BuildTiccmd+2096
	stwr %gz,testcontrols_mousespeed
	nop 0
	nop 0
;G_BuildTiccmd+2112
	ldwzr %r3,forwardmove+4
	stwr %gz,mousey
	stwr %gz,mousex
;G_BuildTiccmd+2128
	cmpwlt %r4,%r3,%r2
	ldbz %r6,%r1,0
	subfiws %r7,%r3,0
;G_BuildTiccmd+2144
	maxsw %r2,%r2,%r7
	cmovlsb %r2,%r4,%r3,%r2
	addws %r2,%r2,%r6
;G_BuildTiccmd+2160
	stb %r2,%r1,0
	ldbz %r2,%r1,1
	cmpwlt %r4,%r3,%r5
;G_BuildTiccmd+2176
	maxsw %r5,%r5,%r7
	cmovlsb %r3,%r4,%r3,%r5
	addws %r2,%r3,%r2
;G_BuildTiccmd+2192
	stb %r2,%r1,1
	ldwzr %r2,sendpause
	bweq %r2,%gz,G_BuildTiccmd+2224
;G_BuildTiccmd+2208
	stwr %gz,sendpause
	ldi %r2,129
	stb %r2,%r1,5
;G_BuildTiccmd+2224
	ldwzr %r2,sendsave
	bweq %r2,%gz,G_BuildTiccmd+2272
	ldbzr %r2,savegameslot
;G_BuildTiccmd+2240
	ldi %r3,130
	stwr %gz,sendsave
	slor %r2,%r3,%r2,2
;G_BuildTiccmd+2256
	stb %r2,%r1,5
	nop 0
	nop 0
;G_BuildTiccmd+2272
	ldwzr %r2,lowres_turn
	bweq %r2,%gz,G_BuildTiccmd+2336
	ldhz %r2,%r1,2
;G_BuildTiccmd+2288
	ldhzr %r3,G_BuildTiccmd.carry
	addws %r2,%r3,%r2
	addiws %r3,%r2,128
;G_BuildTiccmd+2304
	andi %r3,%r3,-256
	sth %r3,%r1,2
	subws %r1,%r2,%r3
;G_BuildTiccmd+2320
	sthr %r1,G_BuildTiccmd.carry
	nop 0
	nop 0
;G_BuildTiccmd+2336
	retf 0
	nop 0
	nop 0
;G_BuildTiccmd+2352
	ldwsr %r2,joybstrafe
	ldafr %r3,joyarray+4
	ldwzx.xd %r2,%r3,%r2,2,0
;G_BuildTiccmd+2368
	cmpwnei %r3,%r2,0
	ldwzr %r5,key_speed
	bwlti %r5,256,G_BuildTiccmd+160
;G_BuildTiccmd+2384
	jmp G_BuildTiccmd+192
	nop 0
	nop 0
;G_BuildTiccmd+2400
	ldwsr %r10,mousebstrafeleft
	ldwzx.xd %r10,%r4,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+816
;G_BuildTiccmd+2416
	ldwzr %r10,joystrafemove
	bwgei %r10,0,G_BuildTiccmd+832
	jmp G_BuildTiccmd+816
;G_BuildTiccmd+2432
	ldwsr %r10,mousebstraferight
	ldwzx.xd %r10,%r4,%r10,2,0
	bwne %r10,%gz,G_BuildTiccmd+880
;G_BuildTiccmd+2448
	ldwzr %r10,joystrafemove
	bwlti %r10,1,G_BuildTiccmd+896
	jmp G_BuildTiccmd+880
;G_BuildTiccmd+2464
	ldhzx.xd %r7,%r11,%r9,2,0
	mov %r5,%gz
	addws %r7,%r10,%r7
;G_BuildTiccmd+2480
	jmp G_BuildTiccmd+576
	nop 0
	nop 0
;G_DoLoadLevel
	alloc 11
	ldafr %r10,.rodata+28417
	callr %r9,R_FlatNumForName
;G_DoLoadLevel+16
	ldwzr %r1,gamemode
	stwr %r10,skyflatnum
	bwnei %r1,2,G_DoLoadLevel+112
;G_DoLoadLevel+32
	ldwzr %r1,gameversion
	andi %r1,%r1,-2
	bwnei %r1,8,G_DoLoadLevel+112
;G_DoLoadLevel+48
	ldwzr %r1,gamemap
	cmpwlti %r2,%r1,21
	ldafr %r3,.rodata+3041
;G_DoLoadLevel+64
	ldafr %r4,.rodata+7771
	cmpwlti %r1,%r1,12
	cmovlsb %r2,%r2,%r4,%r3
;G_DoLoadLevel+80
	ldafr %r3,.rodata+8928
	cmovlsb %r10,%r1,%r3,%r2
	callr %r9,R_TextureNumForName
;G_DoLoadLevel+96
	stwr %r10,skytexture
	nop 0
	nop 0
;G_DoLoadLevel+112
	ldwzr %r1,gametic
	ldwzr %r2,wipegamestate
	stwr %r1,levelstarttic
;G_DoLoadLevel+128
	bwne %r2,%gz,G_DoLoadLevel+144
	ldi %r1,-1
	stwr %r1,wipegamestate
;G_DoLoadLevel+144
	mov %r1,%gz
	stwr %gz,gamestate
	stwr %gz,turbodetected
;G_DoLoadLevel+160
	stwr %gz,turbodetected+4
	stwr %gz,turbodetected+8
	stwr %gz,turbodetected+12
;G_DoLoadLevel+176
	ldafr %r2,players+108
	ldafr %r3,playeringame
	ldi %r4,2
;G_DoLoadLevel+192
	jmp G_DoLoadLevel+256
	nop 0
	nop 0
;G_DoLoadLevel+208
	stw %gz,%r2,12
	stw %gz,%r2,8
	stw %gz,%r2,4
;G_DoLoadLevel+224
	stw %gz,%r2,0
	addi %r1,%r1,4
	addi %r2,%r2,328
;G_DoLoadLevel+240
	bdeqi %r1,16,G_DoLoadLevel+288
	nop 0
	nop 0
;G_DoLoadLevel+256
	ldwzx.xd %r5,%r1,%r3,0,0
	bweq %r5,%gz,G_DoLoadLevel+208
	ldwz %r5,%r2,-100
;G_DoLoadLevel+272
	bwnei %r5,1,G_DoLoadLevel+208
	stw %r4,%r2,-100
	jmp G_DoLoadLevel+208
;G_DoLoadLevel+288
	ldwzr %r7,gameepisode
	ldwzr %r8,gamemap
	ldwzr %r10,gameskill
;G_DoLoadLevel+304
	mov %r9,%gz
	callr %r6,P_SetupLevel
	ldwzr %r1,consoleplayer
;G_DoLoadLevel+320
	stwr %r1,displayplayer
	stwr %gz,gameaction
	callr %r10,Z_CheckHeap
;G_DoLoadLevel+336
	ldafr %r8,gamekeydown
	ldi %r10,1024
	mov %r9,%gz
;G_DoLoadLevel+352
	callr %r7,memset
	stwr %gz,joystrafemove
	stwr %gz,joyymove
;G_DoLoadLevel+368
	stwr %gz,joyxmove
	stwr %gz,mousey
	stwr %gz,mousex
;G_DoLoadLevel+384
	stwr %gz,paused
	stwr %gz,sendsave
	stwr %gz,sendpause
;G_DoLoadLevel+400
	stwr %gz,mousearray
	stwr %gz,mousearray+4
	stwr %gz,mousearray+8
;G_DoLoadLevel+416
	stwr %gz,mousearray+12
	stwr %gz,mousearray+16
	stwr %gz,mousearray+20
;G_DoLoadLevel+432
	stwr %gz,mousearray+24
	stwr %gz,mousearray+28
	stwr %gz,mousearray+32
;G_DoLoadLevel+448
	stwr %gz,joyarray+80
	stwr %gz,joyarray+76
	stwr %gz,joyarray+72
;G_DoLoadLevel+464
	stwr %gz,joyarray+68
	stwr %gz,joyarray+64
	stwr %gz,joyarray+60
;G_DoLoadLevel+480
	stwr %gz,joyarray+56
	stwr %gz,joyarray+52
	stwr %gz,joyarray+48
;G_DoLoadLevel+496
	stwr %gz,joyarray+44
	stwr %gz,joyarray+40
	stwr %gz,joyarray+36
;G_DoLoadLevel+512
	stwr %gz,joyarray+32
	stwr %gz,joyarray+28
	stwr %gz,joyarray+24
;G_DoLoadLevel+528
	stwr %gz,joyarray+20
	stwr %gz,joyarray+16
	ldwzr %r1,testcontrols
;G_DoLoadLevel+544
	stwr %gz,joyarray+12
	stwr %gz,joyarray+8
	stwr %gz,joyarray+4
;G_DoLoadLevel+560
	stwr %gz,joyarray
	bweq %r1,%gz,G_DoLoadLevel+608
	ldwsr %r1,consoleplayer
;G_DoLoadLevel+576
	muli %r1,%r1,328
	ldafr %r2,.rodata+3046
	ldafr %r3,players+232
;G_DoLoadLevel+592
	stdx.xd %r2,%r1,%r3,0,0
	nop 0
	nop 0
;G_DoLoadLevel+608
	retf 0
	nop 0
	nop 0
;G_Responder
	alloc 13
	ldwzr %r2,gamestate
	bwne %r2,%gz,G_Responder+64
;G_Responder+16
	ldwz %r3,%r1,0
	bwne %r3,%gz,G_Responder+64
	ldwz %r3,%r1,4
;G_Responder+32
	ldwzr %r4,key_spy
	bwne %r3,%r4,G_Responder+64
	ldwzr %r3,singledemo
;G_Responder+48
	bwne %r3,%gz,G_Responder+928
	ldwzr %r3,deathmatch
	bweq %r3,%gz,G_Responder+928
;G_Responder+64
	ldwzr %r3,gameaction
	ldwzr %r4,singledemo
	or %r3,%r3,%r4
;G_Responder+80
	bwne %r3,%gz,G_Responder+112
	bweqi %r2,3,G_Responder+336
	ldwzr %r3,demoplayback
;G_Responder+96
	bwne %r3,%gz,G_Responder+336
	nop 0
	nop 0
;G_Responder+112
	bweq %r2,%gz,G_Responder+256
	bwnei %r2,2,G_Responder+144
	nop 0
;G_Responder+128
	mov %r12,%r1
	callr %r11,F_Responder
	bwne %r12,%gz,G_Responder+1088
;G_Responder+144
	ldwzr %r3,testcontrols
	ldwz %r2,%r1,0
	bweq %r3,%gz,G_Responder+192
;G_Responder+160
	bwnei %r2,2,G_Responder+192
	ldwz %r2,%r1,8
	absdw %r2,%r2,%gz
;G_Responder+176
	stwr %r2,testcontrols_mousespeed
	ldwz %r2,%r1,0
	nop 0
;G_Responder+192
	bwgeui %r2,4,G_Responder+912
	srliw %r2,%r2,0
	ldafr %r3,.rodata+33492
;G_Responder+208
	jmpt %r3,%r2
	nop 0
	nop 0
;G_Responder+224
	ldwz %r1,%r1,4
	ldwzr %r2,key_prevweapon
	bwne %r1,%r2,G_Responder+992
;G_Responder+240
	ldi %r2,-1
	jmp G_Responder+1008
	nop 0
;G_Responder+256
	mov %r12,%r1
	callr %r11,HU_Responder
	ldi %r2,1
;G_Responder+272
	bwne %r12,%gz,G_Responder+320
	mov %r12,%r1
	callr %r11,ST_Responder
;G_Responder+288
	bwne %r12,%gz,G_Responder+320
	mov %r12,%r1
	callr %r11,AM_Responder
;G_Responder+304
	bweq %r12,%gz,G_Responder+1104
	nop 0
	nop 0
;G_Responder+320
	mov %r1,%r2
	retf 0
	nop 0
;G_Responder+336
	ldwz %r2,%r1,0
	bweq %r2,%gz,G_Responder+384
	bweqi %r2,3,G_Responder+368
;G_Responder+352
	bwnei %r2,2,G_Responder+912
	nop 0
	nop 0
;G_Responder+368
	ldwz %r1,%r1,4
	bweq %r1,%gz,G_Responder+912
	nop 0
;G_Responder+384
	callr %r12,M_StartControlPanel
	jmp G_Responder+1088
	nop 0
;G_Responder+400
	mov %r2,%gz
	ldwz %r3,%r1,4
	ldwzr %r4,mousebprevweapon
;G_Responder+416
	ldwzr %r5,mousebnextweapon
	ldafr %r6,mousearray+4
	ldi %r7,1
;G_Responder+432
	ldi %r8,-1
	jmp G_Responder+496
	nop 0
;G_Responder+448
	stwr %r10,next_weapon
	nop 0
	nop 0
;G_Responder+464
	cmpwnei %r9,%r9,0
	stw %r9,%r6,0
	addi %r2,%r2,1
;G_Responder+480
	addi %r6,%r6,4
	bdeqi %r2,8,G_Responder+560
	nop 0
;G_Responder+496
	ldwz %r10,%r6,0
	sllw %r9,%r7,%r2
	and %r9,%r9,%r3
;G_Responder+512
	bwne %r10,%gz,G_Responder+464
	bweq %r9,%gz,G_Responder+464
	mov %r10,%r8
;G_Responder+528
	bdeq %r4,%r2,G_Responder+448
	mov %r10,%r7
	bdeq %r5,%r2,G_Responder+448
;G_Responder+544
	jmp G_Responder+464
	nop 0
	nop 0
;G_Responder+560
	ldwzr %r2,mouseSensitivity
	ldwz %r3,%r1,8
	addiws %r2,%r2,5
;G_Responder+576
	mulws %r3,%r2,%r3
	muli.l %r3,%r3,1717986919
;G_Responder+592
	srli %r4,%r3,63
	srai %r3,%r3,34
	addws %r3,%r3,%r4
;G_Responder+608
	stwr %r3,mousex
	ldwz %r1,%r1,12
	mulws %r1,%r1,%r2
;G_Responder+624
	muli.l %r1,%r1,1717986919
	srli %r2,%r1,63
;G_Responder+640
	srai %r1,%r1,34
	addws %r1,%r1,%r2
	stwr %r1,mousey
;G_Responder+656
	jmp G_Responder+1088
	nop 0
	nop 0
;G_Responder+672
	mov %r2,%gz
	ldwz %r3,%r1,4
	ldwzr %r4,joybprevweapon
;G_Responder+688
	ldwzr %r5,joybnextweapon
	ldafr %r6,joyarray+4
	ldi %r7,1
;G_Responder+704
	ldi %r8,-1
	jmp G_Responder+768
	nop 0
;G_Responder+720
	stwr %r10,next_weapon
	nop 0
	nop 0
;G_Responder+736
	cmpwnei %r9,%r9,0
	stw %r9,%r6,0
	addi %r2,%r2,1
;G_Responder+752
	addi %r6,%r6,4
	bdeqi %r2,20,G_Responder+832
	nop 0
;G_Responder+768
	ldwz %r10,%r6,0
	sllw %r9,%r7,%r2
	and %r9,%r9,%r3
;G_Responder+784
	bwne %r10,%gz,G_Responder+736
	bweq %r9,%gz,G_Responder+736
	mov %r10,%r8
;G_Responder+800
	bdeq %r4,%r2,G_Responder+720
	mov %r10,%r7
	bdeq %r5,%r2,G_Responder+720
;G_Responder+816
	jmp G_Responder+736
	nop 0
	nop 0
;G_Responder+832
	ldwz %r2,%r1,8
	stwr %r2,joyxmove
	ldwz %r2,%r1,12
;G_Responder+848
	stwr %r2,joyymove
	ldwz %r1,%r1,16
	stwr %r1,joystrafemove
;G_Responder+864
	jmp G_Responder+1088
	nop 0
	nop 0
;G_Responder+880
	ldwz %r1,%r1,4
	bwgei %r1,256,G_Responder+912
	ldafr %r3,gamekeydown
;G_Responder+896
	stwx.xw %gz,%r3,%r1,2,0
	nop 0
	nop 0
;G_Responder+912
	mov %r1,%gz
	retf 0
	nop 0
;G_Responder+928
	ldwzr %r1,consoleplayer
	ldwzr %r2,displayplayer
	ldafr %r3,playeringame
;G_Responder+944
	addiws %r2,%r2,1
	cmpweqi %r4,%r2,4
	cmovlsb %r2,%r4,%gz,%r2
;G_Responder+960
	ldwzx.xw %r4,%r3,%r2,2,0
	bwne %r4,%gz,G_Responder+976
	bwne %r2,%r1,G_Responder+944
;G_Responder+976
	stwr %r2,displayplayer
	jmp G_Responder+1088
	nop 0
;G_Responder+992
	ldwzr %r2,key_nextweapon
	bwne %r1,%r2,G_Responder+1024
	ldi %r2,1
;G_Responder+1008
	stwr %r2,next_weapon
	nop 0
	nop 0
;G_Responder+1024
	ldwzr %r2,key_pause
	bwne %r1,%r2,G_Responder+1056
	ldi %r1,1
;G_Responder+1040
	stwr %r1,sendpause
	retf 0
	nop 0
;G_Responder+1056
	bwgei %r1,256,G_Responder+1088
	ldafr %r3,gamekeydown
	ldi %r2,1
;G_Responder+1072
	stwx.xw %r2,%r3,%r1,2,0
	mov %r1,%r2
	retf 0
;G_Responder+1088
	ldi %r2,1
	mov %r1,%r2
	retf 0
;G_Responder+1104
	ldwzr %r2,gamestate
	bweqi %r2,2,G_Responder+128
	jmp G_Responder+144
;G_Ticker
	allocsp 28,16
	mov %r1,%gz
	ldafr %r3,playeringame
;G_Ticker+16
	ldafr %r4,players+8
	jmp G_Ticker+64
	nop 0
;G_Ticker+32
	addi %r1,%r1,1
	addi %r3,%r3,4
	addi %r4,%r4,328
;G_Ticker+48
	bdeqi %r1,4,G_Ticker+112
	nop 0
	nop 0
;G_Ticker+64
	ldwz %r2,%r3,0
	bweq %r2,%gz,G_Ticker+32
	ldwz %r2,%r4,0
;G_Ticker+80
	bwnei %r2,2,G_Ticker+32
	mov %r27,%r1
	callr %r26,G_DoReborn
;G_Ticker+96
	jmp G_Ticker+32
	nop 0
	nop 0
;G_Ticker+112
	ldafr %r3,.rodata+33508
	ldi %r7,1
	ldafr %r1,.rodata+10060
;G_Ticker+128
	ldafr %r4,.rodata+8154
	ldafr %r8,players+232
	jmp G_Ticker+160
;G_Ticker+144
	callr %r27,G_DoPlayDemo
	nop 0
	nop 0
;G_Ticker+160
	ldwzr %r2,gameaction
	bdgeui %r2,10,G_Ticker+160
	jmpt %r3,%r2
;G_Ticker+176
	callr %r27,G_DoLoadLevel
	jmp G_Ticker+160
	nop 0
;G_Ticker+192
	callr %r27,G_DoLoadGame
	jmp G_Ticker+160
	nop 0
;G_Ticker+208
	callr %r27,G_DoSaveGame
	jmp G_Ticker+160
	nop 0
;G_Ticker+224
	ldwzr %r2,wminfo+12
	stwr %gz,gamestate
	addiws %r2,%r2,1
;G_Ticker+240
	stwr %r2,gamemap
	callr %r27,G_DoLoadLevel
	stwr %gz,gameaction
;G_Ticker+256
	stwr %r7,viewactive
	jmp G_Ticker+160
	nop 0
;G_Ticker+272
	stwr %gz,demoplayback
	stwr %gz,netdemo
	stwr %gz,netgame
;G_Ticker+288
	stwr %gz,deathmatch
	stwr %gz,playeringame+12
	stwr %gz,playeringame+8
;G_Ticker+304
	stwr %gz,playeringame+4
	stwr %gz,respawnparm
	stwr %gz,fastparm
;G_Ticker+320
	stwr %gz,nomonsters
	stwr %gz,consoleplayer
	ldwzr %r25,d_skill
;G_Ticker+336
	ldwzr %r26,d_episode
	ldwzr %r27,d_map
	callr %r24,G_InitNew
;G_Ticker+352
	stwr %gz,gameaction
	jmp G_Ticker+160
	nop 0
;G_Ticker+368
	callr %r27,G_DoCompleted
	jmp G_Ticker+160
	nop 0
;G_Ticker+384
	callr %r27,F_StartFinale
	jmp G_Ticker+160
	nop 0
;G_Ticker+400
	mov %r27,%r1
	callr %r26,V_ScreenShot
	ldwsr %r2,consoleplayer
;G_Ticker+416
	muli %r2,%r2,328
	stdx.xd %r4,%r2,%r8,0,0
	stwr %gz,gameaction
;G_Ticker+432
	jmp G_Ticker+160
	nop 0
	nop 0
;G_Ticker+448
	ldwzr %r1,gametic
	ldwzr %r2,ticdup
	mov2 %r9,%r10,%gz,%gz
;G_Ticker+464
	mov %r11,%gz
	divw %r1,%r1,%r2
	sraiw %r2,%r1,31
;G_Ticker+480
	srliw %r2,%r2,25
	addws %r2,%r1,%r2
	andi %r2,%r2,-128
;G_Ticker+496
	subws %r1,%r1,%r2
	ldafr %r2,consistancy
	ldax.xw %r12,%r2,%r1,0,0
;G_Ticker+512
	ldafr %r13,player_names
	ldafr %r14,turbodetected
	ldafr %r15,playeringame
;G_Ticker+528
	ldafr %r16,players+12
	ldafr %r17,players+24
	ldafr %r18,players+20
;G_Ticker+544
	ldafr %r19,players+16
	ldafr %r1,G_Ticker.turbomessage
	ldafr %r2,.rodata+26881
;G_Ticker+560
	ldi %r3,80
	ldafr %r20,players+18
	ldafr %r4,.rodata+6846
;G_Ticker+576
	ldafr %r21,players
	ldafr %r22,rndindex
	jmp G_Ticker+672
;G_Ticker+592
	lddzx.xd %r5,%r9,%r21,0,0
	addi %r6,%r5,24
	cmovdeq %r5,%r5,%r22,%r6
;G_Ticker+608
	ldwz %r5,%r5,0
	stb %r5,%r12,0
	nop 0
;G_Ticker+624
	addi %r11,%r11,1
	addi %r12,%r12,128
	addi %r13,%r13,8
;G_Ticker+640
	addi %r14,%r14,4
	addi %r10,%r10,16
	addi %r9,%r9,328
;G_Ticker+656
	addi %r15,%r15,4
	bdeqi.l %r9,1312,G_Ticker+1024
;G_Ticker+672
	ldwz %r5,%r15,0
	bweq %r5,%gz,G_Ticker+624
	lddzr %r5,netcmds
;G_Ticker+688
	ldwzx.xd %r6,%r5,%r10,0,12
	stwx.xd %r6,%r9,%r17,0,0
	ldwzx.xd %r6,%r5,%r10,0,8
;G_Ticker+704
	stwx.xd %r6,%r9,%r18,0,0
	ldwzx.xd %r6,%r5,%r10,0,4
	stwx.xd %r6,%r9,%r19,0,0
;G_Ticker+720
	ldwzx.xd %r6,%r5,%r10,0,0
	ldwzr %r23,demoplayback
	add %r5,%r9,%r16
;G_Ticker+736
	stwx.xd %r6,%r9,%r16,0,0
	bweq %r23,%gz,G_Ticker+768
	mov %r27,%r5
;G_Ticker+752
	callr %r26,G_ReadDemoTiccmd
	nop 0
	nop 0
;G_Ticker+768
	ldwzr %r6,demorecording
	bweq %r6,%gz,G_Ticker+800
	mov %r27,%r5
;G_Ticker+784
	callr %r26,G_WriteDemoTiccmd
	nop 0
	nop 0
;G_Ticker+800
	ldbs %r5,%r5,0
	bwlti %r5,51,G_Ticker+816
	stw %r7,%r14,0
;G_Ticker+816
	ldwzr %r5,gametic
	andi %r6,%r5,31
	bwne %r6,%gz,G_Ticker+928
;G_Ticker+832
	sraiw %r5,%r5,5
	srliw %r6,%r5,30
	addws %r6,%r5,%r6
;G_Ticker+848
	andi %r6,%r6,-4
	subwz %r5,%r5,%r6
	bdne %r11,%r5,G_Ticker+928
;G_Ticker+864
	ldwz %r5,%r14,0
	bweq %r5,%gz,G_Ticker+928
	lddz %r5,%r13,0
;G_Ticker+880
	std %r5,%sp,0
	mov2 %r25,%r26,%r1,%r3
	mov %r27,%r2
;G_Ticker+896
	callr %r24,M_snprintf
	ldwsr %r5,consoleplayer
	muli %r5,%r5,328
;G_Ticker+912
	stdx.xd %r1,%r5,%r8,0,0
	stw %gz,%r14,0
	nop 0
;G_Ticker+928
	ldwzr %r5,netgame
	bweq %r5,%gz,G_Ticker+624
	ldwzr %r5,netdemo
;G_Ticker+944
	bwne %r5,%gz,G_Ticker+624
	ldwzr %r5,gametic
	ldwzr %r6,ticdup
;G_Ticker+960
	modw %r6,%r5,%r6
	bwne %r6,%gz,G_Ticker+624
	bwlti %r5,129,G_Ticker+592
;G_Ticker+976
	ldbz %r5,%r12,0
	ldbzx.xd %r6,%r9,%r20,0,0
	bweq %r5,%r6,G_Ticker+592
;G_Ticker+992
	stw %r5,%sp,4
	stw %r6,%sp,0
	mov %r27,%r4
;G_Ticker+1008
	callr %r26,I_Error
	jmp G_Ticker+592
	nop 0
;G_Ticker+1024
	mov %r5,%gz
	ldafr %r6,players+17
	ldafr %r7,playeringame
;G_Ticker+1040
	ldafr %r1,savedescription
	ldafr %r2,.rodata+3068
	ldi %r3,32
;G_Ticker+1056
	ldi %r8,4
	jmp G_Ticker+1120
	nop 0
;G_Ticker+1072
	ldbzr %r9,savedescription
	bweq %r9,%gz,G_Ticker+1216
	nop 0
;G_Ticker+1088
	slsrli %r4,%r4,59,61
	stwr %r4,savegameslot
	stwr %r8,gameaction
;G_Ticker+1104
	addi %r5,%r5,4
	addi %r6,%r6,328
	bdeqi %r5,16,G_Ticker+1248
;G_Ticker+1120
	ldwzx.xd %r4,%r5,%r7,0,0
	bweq %r4,%gz,G_Ticker+1104
	ldbs %r4,%r6,0
;G_Ticker+1136
	bwgei %r4,0,G_Ticker+1104
	andi %r9,%r4,3
	bweqi %r9,2,G_Ticker+1072
;G_Ticker+1152
	bwnei %r9,1,G_Ticker+1104
	ldwzr %r4,paused
	xori %r9,%r4,1
;G_Ticker+1168
	stwr %r9,paused
	bwnei %r4,1,G_Ticker+1200
	callr %r27,S_ResumeSound
;G_Ticker+1184
	jmp G_Ticker+1104
	nop 0
	nop 0
;G_Ticker+1200
	callr %r27,S_PauseSound
	jmp G_Ticker+1104
	nop 0
;G_Ticker+1216
	mov2 %r25,%r26,%r1,%r2
	mov %r27,%r3
	callr %r24,M_StringCopy
;G_Ticker+1232
	ldbz %r4,%r6,0
	jmp G_Ticker+1088
	nop 0
;G_Ticker+1248
	ldwzr %r2,oldgamestate
	ldwzr %r1,gamestate
	bwnei %r2,1,G_Ticker+1280
;G_Ticker+1264
	bweqi %r1,1,G_Ticker+1280
	callr %r27,WI_End
	ldwzr %r1,gamestate
;G_Ticker+1280
	stwr %r1,oldgamestate
	bwgeui %r1,4,G_Ticker+1376
	srliw %r1,%r1,0
;G_Ticker+1296
	ldafr %r2,.rodata+33548
	jmpt %r2,%r1
	nop 0
;G_Ticker+1312
	callr %r27,P_Ticker
	callr %r27,ST_Ticker
	callr %r27,AM_Ticker
;G_Ticker+1328
	callr %r27,HU_Ticker
	retf 16
	nop 0
;G_Ticker+1344
	callr %r27,F_Ticker
	retf 16
	nop 0
;G_Ticker+1360
	callr %r27,D_PageTicker
	nop 0
	nop 0
;G_Ticker+1376
	retf 16
	nop 0
	nop 0
;G_Ticker+1392
	callr %r27,WI_Ticker
	retf 16
	nop 0
;G_DoReborn
	alloc 9
	ldwzr %r2,netgame
	bweq %r2,%gz,G_DoReborn+80
;G_DoReborn+16
	sraiw %r3,%r1,0
	muli %r2,%r3,328
	ldafr %r4,players
;G_DoReborn+32
	lddzx.xd %r2,%r2,%r4,0,0
	std %gz,%r2,192
	ldwzr %r2,deathmatch
;G_DoReborn+48
	bweq %r2,%gz,G_DoReborn+96
	mov %r8,%r1
	callr %r7,G_DeathMatchSpawnPlayer
;G_DoReborn+64
	retf 0
	nop 0
	nop 0
;G_DoReborn+80
	ldi %r1,1
	stwr %r1,gameaction
	retf 0
;G_DoReborn+96
	ldafr %r2,playerstarts
	ldi %r4,10
	muladd %r3,%r3,%r4,%r2
;G_DoReborn+112
	mov2 %r7,%r8,%r1,%r3
	callr %r6,G_CheckSpot
	bwne %r7,%gz,G_DoReborn+176
;G_DoReborn+128
	mov %r5,%gz
	nop 0
	nop 0
;G_DoReborn+144
	mov2 %r7,%r8,%r1,%r2
	callr %r6,G_CheckSpot
	bwne %r7,%gz,G_DoReborn+192
;G_DoReborn+160
	addi %r5,%r5,1
	addi %r2,%r2,10
	bdnei %r5,4,G_DoReborn+144
;G_DoReborn+176
	mov %r8,%r3
	callr %r7,P_SpawnPlayer
	retf 0
;G_DoReborn+192
	addiws %r1,%r1,1
	stb %r1,%r2,6
	srliw %r1,%r1,8
;G_DoReborn+208
	stb %r1,%r2,7
	mov %r8,%r2
	callr %r7,P_SpawnPlayer
;G_DoReborn+224
	addiws %r1,%r5,1
	srliw %r3,%r1,8
	stb %r3,%r2,7
;G_DoReborn+240
	stb %r1,%r2,6
	retf 0
	nop 0
;G_DoNewGame
	alloc 5
	stwr %gz,demoplayback
	stwr %gz,netdemo
;G_DoNewGame+16
	stwr %gz,netgame
	stwr %gz,deathmatch
	stwr %gz,playeringame+12
;G_DoNewGame+32
	stwr %gz,playeringame+8
	stwr %gz,playeringame+4
	stwr %gz,respawnparm
;G_DoNewGame+48
	stwr %gz,fastparm
	stwr %gz,nomonsters
	stwr %gz,consoleplayer
;G_DoNewGame+64
	ldwzr %r2,d_skill
	ldwzr %r3,d_episode
	ldwzr %r4,d_map
;G_DoNewGame+80
	callr %r1,G_InitNew
	stwr %gz,gameaction
	retf 0
;G_DoLoadGame
	alloc 7
	stwr %gz,gameaction
	ldafr %r5,savename
;G_DoLoadGame+16
	ldafr %r6,.rodata+12248
	callr %r4,fopen
	stdr %r5,save_stream
;G_DoLoadGame+32
	bdeq %r5,%gz,G_DoLoadGame+176
	stwr %gz,savegame_error
	callr %r5,P_ReadSaveGameHeader
;G_DoLoadGame+48
	bweq %r6,%gz,G_DoLoadGame+192
	ldwzr %r2,leveltime
	ldwzr %r4,gameskill
;G_DoLoadGame+64
	ldwzr %r5,gameepisode
	ldwzr %r6,gamemap
	callr %r3,G_InitNew
;G_DoLoadGame+80
	stwr %r2,leveltime
	callr %r6,P_UnArchivePlayers
	callr %r6,P_UnArchiveWorld
;G_DoLoadGame+96
	callr %r6,P_UnArchiveThinkers
	callr %r6,P_UnArchiveSpecials
	callr %r5,P_ReadSaveGameEOF
;G_DoLoadGame+112
	bwne %r6,%gz,G_DoLoadGame+128
	ldafr %r6,.rodata+4837
	callr %r5,I_Error
;G_DoLoadGame+128
	lddzr %r6,save_stream
	callr %r5,fclose
	ldwzr %r1,setsizeneeded
;G_DoLoadGame+144
	bweq %r1,%gz,G_DoLoadGame+160
	callr %r6,R_ExecuteSetViewSize
	nop 0
;G_DoLoadGame+160
	callr %r6,R_FillBackScreen
	nop 0
	nop 0
;G_DoLoadGame+176
	retf 0
	nop 0
	nop 0
;G_DoLoadGame+192
	lddzr %r6,save_stream
	callr %r5,fclose
	retf 0
;G_DoSaveGame
	allocsp 9,16
	callr %r7,P_TempSaveGameFile
	mov %r1,%r8
;G_DoSaveGame+16
	ldwzr %r8,savegameslot
	callr %r7,P_SaveGameFile
	mov %r2,%r8
;G_DoSaveGame+32
	ldafr %r8,.rodata+3835
	mov %r7,%r1
	callr %r6,fopen
;G_DoSaveGame+48
	mov %r3,%gz
	stdr %r7,save_stream
	bdne %r7,%gz,G_DoSaveGame+128
;G_DoSaveGame+64
	ldafr %r8,.rodata+16453
	callr %r7,M_TempFile
	mov %r3,%r8
;G_DoSaveGame+80
	ldafr %r8,.rodata+3835
	mov %r7,%r3
	callr %r6,fopen
;G_DoSaveGame+96
	stdr %r7,save_stream
	bdne %r7,%gz,G_DoSaveGame+128
	std %r3,%sp,8
;G_DoSaveGame+112
	ldafr %r8,.rodata+3114
	std %r1,%sp,0
	callr %r7,I_Error
;G_DoSaveGame+128
	stwr %gz,savegame_error
	ldafr %r8,savedescription
	callr %r7,P_WriteSaveGameHeader
;G_DoSaveGame+144
	callr %r8,P_ArchivePlayers
	callr %r8,P_ArchiveWorld
	callr %r8,P_ArchiveThinkers
;G_DoSaveGame+160
	callr %r8,P_ArchiveSpecials
	callr %r8,P_WriteSaveGameEOF
	ldwzr %r4,vanilla_savegame_limit
;G_DoSaveGame+176
	bweq %r4,%gz,G_DoSaveGame+224
	lddzr %r8,save_stream
	callr %r7,ftell
;G_DoSaveGame+192
	bdlti.l %r8,180225,G_DoSaveGame+224
	ldafr %r8,.rodata+25031
;G_DoSaveGame+208
	callr %r7,I_Error
	nop 0
	nop 0
;G_DoSaveGame+224
	lddzr %r8,save_stream
	callr %r7,fclose
	bdeq %r3,%gz,G_DoSaveGame+272
;G_DoSaveGame+240
	std %r3,%sp,8
	ldafr %r8,.rodata+11537
	std %r1,%sp,0
;G_DoSaveGame+256
	callr %r7,I_Error
	nop 0
	nop 0
;G_DoSaveGame+272
	mov %r8,%r2
	callr %r7,remove
	mov2 %r7,%r8,%r1,%r2
;G_DoSaveGame+288
	callr %r6,rename
	stwr %gz,gameaction
	ldafr %r6,savedescription
;G_DoSaveGame+304
	ldafr %r7,.rodata+6226
	ldi %r8,32
	callr %r5,M_StringCopy
;G_DoSaveGame+320
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
	ldafr %r2,.rodata+1504
;G_DoSaveGame+336
	ldafr %r3,players+232
	stdx.xd %r2,%r1,%r3,0,0
	callr %r8,R_FillBackScreen
;G_DoSaveGame+352
	retf 16
	nop 0
	nop 0
;G_DoPlayDemo
	allocsp 12,16
	stwr %gz,gameaction
	lddzr %r10,defdemoname
;G_DoPlayDemo+16
	ldi %r1,1
	mov %r11,%r1
	callr %r9,W_CacheLumpName
;G_DoPlayDemo+32
	ldwzr %r2,gameversion
	stdr %r10,demobuffer
	addi %r3,%r10,1
;G_DoPlayDemo+48
	stdr %r3,demo_p
	ldbz %r4,%r10,0
	bdgeui %r2,4,G_DoPlayDemo+176
;G_DoPlayDemo+64
	ldafr %r5,.rodata+33564
	ldi %r3,106
	jmpt %r5,%r2
;G_DoPlayDemo+80
	ldafr %r11,.rodata+7776
	callr %r10,I_Error
	bweq %r3,%r4,G_DoPlayDemo+160
;G_DoPlayDemo+96
	jmp G_DoPlayDemo+192
	nop 0
	nop 0
;G_DoPlayDemo+112
	ldi %r3,107
	bweq %r3,%r4,G_DoPlayDemo+160
	jmp G_DoPlayDemo+192
;G_DoPlayDemo+128
	ldi %r3,108
	nop 0
	nop 0
;G_DoPlayDemo+144
	bwne %r3,%r4,G_DoPlayDemo+192
	nop 0
	nop 0
;G_DoPlayDemo+160
	stwr %gz,longtics
	jmp G_DoPlayDemo+480
	nop 0
;G_DoPlayDemo+176
	ldi %r3,109
	bweq %r3,%r4,G_DoPlayDemo+160
	nop 0
;G_DoPlayDemo+192
	bwnei %r4,111,G_DoPlayDemo+208
	stwr %r1,longtics
	jmp G_DoPlayDemo+480
;G_DoPlayDemo+208
	ldwzr %r2,gameversion
	bdgeui %r2,4,G_DoPlayDemo+288
	ldafr %r3,.rodata+33580
;G_DoPlayDemo+224
	ldi %r5,106
	jmpt %r3,%r2
	nop 0
;G_DoPlayDemo+240
	ldafr %r11,.rodata+7776
	callr %r10,I_Error
	jmp G_DoPlayDemo+304
;G_DoPlayDemo+256
	ldi %r5,107
	jmp G_DoPlayDemo+304
	nop 0
;G_DoPlayDemo+272
	ldi %r5,108
	jmp G_DoPlayDemo+304
	nop 0
;G_DoPlayDemo+288
	ldi %r5,109
	nop 0
	nop 0
;G_DoPlayDemo+304
	addiws %r2,%r4,-104
	andi %r3,%r2,255
	bwgeui %r3,6,G_DoPlayDemo+352
;G_DoPlayDemo+320
	andi %r2,%r2,255
	ldafr %r3,.Lswitch.table.G_DoPlayDemo.rel
	ldwsx.xd %r2,%r3,%r2,2,0
;G_DoPlayDemo+336
	add %r2,%r2,%r3
	jmp G_DoPlayDemo+448
	nop 0
;G_DoPlayDemo+352
	bwgeui %r4,5,G_DoPlayDemo+368
	ldafr %r2,.rodata+25097
	jmp G_DoPlayDemo+448
;G_DoPlayDemo+368
	andi %r2,%r4,255
	mulwsi %r2,%r2,41
	srliw %r2,%r2,12
;G_DoPlayDemo+384
	mulwsi %r3,%r2,100
	subws %r3,%r4,%r3
	andi %r3,%r3,255
;G_DoPlayDemo+400
	stw %r2,%sp,0
	ldafr %r2,DemoVersionDescription.resultbuf
	ldafr %r11,.rodata+12251
;G_DoPlayDemo+416
	ldi %r10,16
	stw %r3,%sp,4
	mov %r9,%r2
;G_DoPlayDemo+432
	callr %r8,M_snprintf
	nop 0
	nop 0
;G_DoPlayDemo+448
	std %r2,%sp,8
	stw %r5,%sp,4
	ldafr %r11,.rodata+13281
;G_DoPlayDemo+464
	stw %r4,%sp,0
	callr %r10,printf
	nop 0
;G_DoPlayDemo+480
	lddzr %r5,demo_p
	addi %r2,%r5,1
	stdr %r2,demo_p
;G_DoPlayDemo+496
	ldbz %r9,%r5,0
	addi %r2,%r5,2
	stdr %r2,demo_p
;G_DoPlayDemo+512
	ldbz %r2,%r5,1
	addi %r3,%r5,3
	stdr %r3,demo_p
;G_DoPlayDemo+528
	ldbz %r3,%r5,2
	addi %r4,%r5,4
	stdr %r4,demo_p
;G_DoPlayDemo+544
	ldbz %r4,%r5,3
	stwr %r4,deathmatch
	addi %r4,%r5,5
;G_DoPlayDemo+560
	stdr %r4,demo_p
	ldbz %r4,%r5,4
	stwr %r4,respawnparm
;G_DoPlayDemo+576
	addi %r4,%r5,6
	stdr %r4,demo_p
	ldbz %r4,%r5,5
;G_DoPlayDemo+592
	stwr %r4,fastparm
	addi %r4,%r5,7
	stdr %r4,demo_p
;G_DoPlayDemo+608
	ldbz %r4,%r5,6
	stwr %r4,nomonsters
	addi %r4,%r5,8
;G_DoPlayDemo+624
	stdr %r4,demo_p
	ldbz %r6,%r5,7
	mov %r4,%gz
;G_DoPlayDemo+640
	stwr %r6,consoleplayer
	addi %r5,%r5,9
	ldafr %r6,playeringame
;G_DoPlayDemo+656
	stdr %r5,demo_p
	ldbz %r7,%r5,-1
	stwx.xd %r7,%r4,%r6,0,0
;G_DoPlayDemo+672
	addi %r4,%r4,4
	addi %r5,%r5,1
	bdnei %r4,16,G_DoPlayDemo+656
;G_DoPlayDemo+688
	ldwzr %r4,playeringame+4
	bwne %r4,%gz,G_DoPlayDemo+736
	ldafr %r11,.rodata+10612
;G_DoPlayDemo+704
	callr %r10,M_CheckParm
	bwlt %gz,%r11,G_DoPlayDemo+736
	ldafr %r11,.rodata+1516
;G_DoPlayDemo+720
	callr %r10,M_CheckParm
	bwlti %r11,1,G_DoPlayDemo+752
	nop 0
;G_DoPlayDemo+736
	stwr %r1,netgame
	stwr %r1,netdemo
	nop 0
;G_DoPlayDemo+752
	stwr %gz,precache
	mov2 %r10,%r11,%r2,%r3
	callr %r8,G_InitNew
;G_DoPlayDemo+768
	stwr %r1,precache
	callr %r10,I_GetTime
	stwr %r11,starttime
;G_DoPlayDemo+784
	stwr %gz,usergame
	stwr %r1,demoplayback
	retf 16
;G_DoCompleted
	alloc 13
	mov %r1,%gz
	stwr %gz,gameaction
;G_DoCompleted+16
	ldafr %r3,players+260
	ldafr %r2,playeringame
	jmp G_DoCompleted+48
;G_DoCompleted+32
	addi %r1,%r1,4
	addi %r3,%r3,328
	bdeqi %r1,16,G_DoCompleted+128
;G_DoCompleted+48
	ldwzx.xd %r4,%r1,%r2,0,0
	bweq %r4,%gz,G_DoCompleted+32
	std %gz,%r3,-164
;G_DoCompleted+64
	std %gz,%r3,-172
	std %gz,%r3,-180
	std %gz,%r3,-188
;G_DoCompleted+80
	std %gz,%r3,-196
	std %gz,%r3,-204
	lddz %r4,%r3,-260
;G_DoCompleted+96
	ldwz %r5,%r4,160
	andi %r5,%r5,-262145
	stw %r5,%r4,160
;G_DoCompleted+112
	std %gz,%r3,-4
	std %gz,%r3,-20
	jmp G_DoCompleted+32
;G_DoCompleted+128
	ldwzr %r1,automapactive
	bweq %r1,%gz,G_DoCompleted+144
	callr %r12,AM_Stop
;G_DoCompleted+144
	ldwzr %r1,gamemode
	bwnei %r1,2,G_DoCompleted+176
	ldwzr %r3,gamemap
;G_DoCompleted+160
	cmpwnei %r7,%r3,9
	jmp G_DoCompleted+352
	nop 0
;G_DoCompleted+176
	ldwzr %r4,gameversion
	ldi %r7,1
	ldwzr %r3,gamemap
;G_DoCompleted+192
	bwnei %r4,9,G_DoCompleted+224
	bweqi %r3,5,G_DoCompleted+480
	bweqi %r3,8,G_DoCompleted+480
;G_DoCompleted+208
	bweqi %r3,9,G_DoCompleted+288
	jmp G_DoCompleted+352
	nop 0
;G_DoCompleted+224
	bweqi %r3,8,G_DoCompleted+480
	bwnei %r3,9,G_DoCompleted+352
	ldi %r3,320
;G_DoCompleted+240
	ldafr %r4,players
	ldi %r5,1
	nop 0
;G_DoCompleted+256
	stwx.xd %r5,%r3,%r4,0,0
	addi %r3,%r3,328
	nop 2
;G_DoCompleted+272
	bdnei.l %r3,1632,G_DoCompleted+256
	nop 0
;G_DoCompleted+288
	ldi %r4,320
	ldafr %r5,players
	ldi %r6,1
;G_DoCompleted+304
	ldi %r3,9
	nop 0
	nop 0
;G_DoCompleted+320
	stwx.xd %r6,%r4,%r5,0,0
	addi %r4,%r4,328
	nop 2
;G_DoCompleted+336
	bdnei.l %r4,1632,G_DoCompleted+320
	mov %r7,%gz
;G_DoCompleted+352
	ldwzr %r4,consoleplayer
	sraiw %r5,%r4,0
	muli %r5,%r5,328
;G_DoCompleted+368
	ldafr %r6,players+320
	ldwzx.xd %r6,%r5,%r6,0,0
	ldwzr %r5,gameepisode
;G_DoCompleted+384
	stwr %r6,wminfo+4
	addiws %r8,%r5,-1
	stwr %r8,wminfo
;G_DoCompleted+400
	addiws %r6,%r3,-1
	stwr %r6,wminfo+8
	ldwzr %r9,secretexit
;G_DoCompleted+416
	bwnei %r1,2,G_DoCompleted+448
	bweq %r9,%gz,G_DoCompleted+528
	bweqi %r3,15,G_DoCompleted+560
;G_DoCompleted+432
	bwnei %r3,31,G_DoCompleted+592
	ldi %r7,31
	jmp G_DoCompleted+576
;G_DoCompleted+448
	cmpwnei %r10,%r9,0
	or %r7,%r10,%r7
	bbci %r7,0,G_DoCompleted+496
;G_DoCompleted+464
	ldi %r7,8
	cmovweq %r7,%r9,%r3,%r7
	jmp G_DoCompleted+576
;G_DoCompleted+480
	ldi %r1,7
	stwr %r1,gameaction
	retf 0
;G_DoCompleted+496
	bwgeui %r8,4,G_DoCompleted+592
	ldafr %r7,.rodata+29024
	ldwzx.xuw %r7,%r7,%r8,2,0
;G_DoCompleted+512
	jmp G_DoCompleted+576
	nop 0
	nop 0
;G_DoCompleted+528
	addiws %r7,%r3,-31
	cmpwltui %r7,%r7,2
	ldi %r8,15
;G_DoCompleted+544
	cmovlsb %r7,%r7,%r8,%r3
	jmp G_DoCompleted+576
	nop 0
;G_DoCompleted+560
	ldi %r7,30
	nop 0
	nop 0
;G_DoCompleted+576
	stwr %r7,wminfo+12
	nop 0
	nop 0
;G_DoCompleted+592
	ldwzr %r7,totalkills
	ldwzr %r8,totalitems
	ldwzr %r9,totalsecret
;G_DoCompleted+608
	stwr %r7,wminfo+16
	stwr %r8,wminfo+20
	stwr %r9,wminfo+24
;G_DoCompleted+624
	stwr %gz,wminfo+28
	bwnei %r1,2,G_DoCompleted+656
	ldafr %r1,cpars
;G_DoCompleted+640
	ldax.xw %r1,%r1,%r6,2,0
	jmp G_DoCompleted+720
	nop 0
;G_DoCompleted+656
	bwgei %r5,4,G_DoCompleted+704
	sraiw %r1,%r5,0
	sraiw %r3,%r3,0
;G_DoCompleted+672
	slli %r3,%r3,2
	muli %r1,%r1,40
	ldafr %r5,pars
;G_DoCompleted+688
	addadd %r1,%r1,%r3,%r5
	jmp G_DoCompleted+720
	nop 0
;G_DoCompleted+704
	ldafr %r1,cpars
	ldax.xw %r1,%r1,%r3,2,0
	nop 0
;G_DoCompleted+720
	ldwz %r3,%r1,0
	mov %r1,%gz
	mulwsi %r3,%r3,35
;G_DoCompleted+736
	stwr %r3,wminfo+32
	stwr %r4,wminfo+36
	ldafr %r3,players+224
;G_DoCompleted+752
	ldafr %r4,wminfo+60
	ldwzr %r5,leveltime
	nop 0
;G_DoCompleted+768
	ldwzx.xd %r6,%r1,%r2,0,0
	ldwz %r7,%r3,-8
	ldwz %r8,%r3,-4
;G_DoCompleted+784
	ldwz %r9,%r3,0
	stw %r6,%r4,-20
	stw %r7,%r4,-16
;G_DoCompleted+800
	stw %r8,%r4,-12
	stw %r9,%r4,-8
	stw %r5,%r4,-4
;G_DoCompleted+816
	ldwz %r6,%r3,-116
	ldwz %r7,%r3,-112
	ldwz %r8,%r3,-108
;G_DoCompleted+832
	ldwz %r9,%r3,-104
	stw %r6,%r4,0
	stw %r7,%r4,4
;G_DoCompleted+848
	stw %r8,%r4,8
	stw %r9,%r4,12
	addi %r3,%r3,328
;G_DoCompleted+864
	addi %r1,%r1,4
	addi %r4,%r4,40
	bdnei %r1,16,G_DoCompleted+768
;G_DoCompleted+880
	ldi %r1,1
	stwr %r1,gamestate
	stwr %gz,viewactive
;G_DoCompleted+896
	stwr %gz,automapactive
	ldafr %r1,wminfo
	mov %r12,%r1
;G_DoCompleted+912
	callr %r11,StatCopy
	mov %r12,%r1
	callr %r11,WI_Start
;G_DoCompleted+928
	retf 0
	nop 0
	nop 0
;G_DoWorldDone
	alloc 3
	ldwzr %r1,wminfo+12
	stwr %gz,gamestate
;G_DoWorldDone+16
	addiws %r1,%r1,1
	stwr %r1,gamemap
	callr %r2,G_DoLoadLevel
;G_DoWorldDone+32
	stwr %gz,gameaction
	ldi %r1,1
	stwr %r1,viewactive
;G_DoWorldDone+48
	retf 0
	nop 0
	nop 0
;G_ReadDemoTiccmd
	alloc 8
	lddzr %r2,demo_p
	ldbz %r3,%r2,0
;G_ReadDemoTiccmd+16
	bwnei %r3,128,G_ReadDemoTiccmd+32
	callr %r6,G_CheckDemoStatus
	retf 0
;G_ReadDemoTiccmd+32
	addi %r3,%r2,1
	stdr %r3,demo_p
	ldbz %r3,%r2,0
;G_ReadDemoTiccmd+48
	stb %r3,%r1,0
	addi %r3,%r2,2
	stdr %r3,demo_p
;G_ReadDemoTiccmd+64
	ldbz %r3,%r2,1
	stb %r3,%r1,1
	ldwzr %r5,longtics
;G_ReadDemoTiccmd+80
	addi %r3,%r2,3
	stdr %r3,demo_p
	ldbz %r4,%r2,2
;G_ReadDemoTiccmd+96
	bweq %r5,%gz,G_ReadDemoTiccmd+144
	sth %r4,%r1,2
	addi %r3,%r2,4
;G_ReadDemoTiccmd+112
	stdr %r3,demo_p
	ldbz %r2,%r2,3
	slor %r2,%r4,%r2,8
;G_ReadDemoTiccmd+128
	jmp G_ReadDemoTiccmd+160
	nop 0
	nop 0
;G_ReadDemoTiccmd+144
	slliw %r2,%r4,8
	nop 0
	nop 0
;G_ReadDemoTiccmd+160
	sth %r2,%r1,2
	addi %r2,%r3,1
	stdr %r2,demo_p
;G_ReadDemoTiccmd+176
	ldbz %r2,%r3,0
	stb %r2,%r1,5
	retf 0
;G_WriteDemoTiccmd
	alloc 10
	ldwsr %r2,key_demo_quit
	ldafr %r3,gamekeydown
;G_WriteDemoTiccmd+16
	ldwzx.xd %r2,%r3,%r2,2,0
	bweq %r2,%gz,G_WriteDemoTiccmd+32
	callr %r8,G_CheckDemoStatus
;G_WriteDemoTiccmd+32
	lddzr %r2,demo_p
	ldbz %r3,%r1,0
	addi %r4,%r2,1
;G_WriteDemoTiccmd+48
	stdr %r4,demo_p
	stb %r3,%r2,0
	lddzr %r3,demo_p
;G_WriteDemoTiccmd+64
	ldbz %r4,%r1,1
	addi %r5,%r3,1
	stdr %r5,demo_p
;G_WriteDemoTiccmd+80
	stb %r4,%r3,0
	ldwzr %r4,longtics
	ldhz %r3,%r1,2
;G_WriteDemoTiccmd+96
	bweq %r4,%gz,G_WriteDemoTiccmd+144
	lddzr %r4,demo_p
	addi %r5,%r4,1
;G_WriteDemoTiccmd+112
	stdr %r5,demo_p
	stb %r3,%r4,0
	ldbz %r3,%r1,3
;G_WriteDemoTiccmd+128
	jmp G_WriteDemoTiccmd+160
	nop 0
	nop 0
;G_WriteDemoTiccmd+144
	srliw %r3,%r3,8
	nop 0
	nop 0
;G_WriteDemoTiccmd+160
	lddzr %r4,demo_p
	addi %r5,%r4,1
	stdr %r5,demo_p
;G_WriteDemoTiccmd+176
	stb %r3,%r4,0
	ldbz %r3,%r1,5
	lddzr %r4,demo_p
;G_WriteDemoTiccmd+192
	stb %r3,%r4,0
	lddzr %r3,demoend
	addi %r4,%r3,-16
;G_WriteDemoTiccmd+208
	stdr %r2,demo_p
	bdleu %r2,%r4,G_WriteDemoTiccmd+352
	ldwzr %r2,vanilla_demo_limit
;G_WriteDemoTiccmd+224
	bweq %r2,%gz,G_WriteDemoTiccmd+240
	callr %r8,G_CheckDemoStatus
	retf 0
;G_WriteDemoTiccmd+240
	lddzr %r2,demobuffer
	sub %r4,%r3,%r2
	slliw %r7,%r4,1
;G_WriteDemoTiccmd+256
	ldi %r8,1
	mov %r9,%gz
	callr %r6,Z_Malloc
;G_WriteDemoTiccmd+272
	lddzr %r3,demo_p
	lddzr %r8,demobuffer
	mov %r2,%r7
;G_WriteDemoTiccmd+288
	sub %r3,%r3,%r8
	add %r5,%r7,%r3
	sraiw %r9,%r4,0
;G_WriteDemoTiccmd+304
	callr %r6,memcpy
	lddzr %r9,demobuffer
	callr %r8,Z_Free
;G_WriteDemoTiccmd+320
	stdr %r2,demobuffer
	stdr %r5,demo_p
	ldax.xw %r2,%r2,%r4,1,0
;G_WriteDemoTiccmd+336
	stdr %r2,demoend
	nop 0
	nop 0
;G_WriteDemoTiccmd+352
	mov %r9,%r1
	callr %r8,G_ReadDemoTiccmd
	retf 0
;G_InitPlayer
	allocsp 15,16
	sraiw %r1,%r1,0
	ldafr %r2,players
;G_InitPlayer+16
	ldi %r14,328
	muladd %r12,%r1,%r14,%r2
	muli %r2,%r1,328
;G_InitPlayer+32
	ldafr %r3,players+108
	ldwzx.xd %r1,%r2,%r3,0,4
	ldwzx.xd %r4,%r2,%r3,0,0
;G_InitPlayer+48
	ldwzx.xd %r5,%r2,%r3,0,8
	ldwzx.xd %r6,%r2,%r3,0,12
	sllqi %r1,%r1,32
;G_InitPlayer+64
	or %r1,%r1,%r4
	sllqi %r4,%r5,0
	sllqi %r5,%r6,32
;G_InitPlayer+80
	or %r4,%r5,%r4
	or %r1,%r4,%r1
	stq %r1,%sp,0
;G_InitPlayer+96
	ldafr %r4,players+216
	lddzx.xd %r5,%r2,%r4,0,0
	ldafr %r6,players+224
;G_InitPlayer+112
	ldwzx.xd %r7,%r2,%r6,0,0
	mov %r13,%gz
	callr %r11,memset
;G_InitPlayer+128
	ldwz %r1,%sp,0
	addi %r8,%sp,0
	ori %r9,%r8,4
;G_InitPlayer+144
	ldwz %r9,%r9,0
	ori %r10,%r8,8
	ldwz %r10,%r10,0
;G_InitPlayer+160
	ori %r8,%r8,12
	ldwz %r8,%r8,0
	stwx.xd %r1,%r2,%r3,0,0
;G_InitPlayer+176
	ldafr %r1,players+112
	stwx.xd %r9,%r2,%r1,0,0
	ldafr %r1,players+116
;G_InitPlayer+192
	stwx.xd %r10,%r2,%r1,0,0
	ldafr %r1,players+120
	stwx.xd %r8,%r2,%r1,0,0
;G_InitPlayer+208
	stdx.xd %r5,%r2,%r4,0,0
	stwx.xd %r7,%r2,%r6,0,0
	ldafr %r1,players+200
;G_InitPlayer+224
	ldi.l %r3,4294967297
	stdx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+240
	ldafr %r1,players+44
	ldi %r3,100
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+256
	ldafr %r1,players+128
	ldi %r3,1
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+272
	ldafr %r1,players+124
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+132
;G_InitPlayer+288
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+136
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+304
	ldafr %r1,players+168
	ldi %r3,50
	stwx.xd %r3,%r2,%r1,0,0
;G_InitPlayer+320
	ldwzr %r1,maxammo+12
	ldafr %r3,players+196
	ldwzr %r4,maxammo+8
;G_InitPlayer+336
	ldwzr %r5,maxammo+4
	ldwzr %r6,maxammo
	stwx.xd %r1,%r2,%r3,0,0
;G_InitPlayer+352
	ldafr %r1,players+192
	stwx.xd %r4,%r2,%r1,0,0
	ldafr %r1,players+188
;G_InitPlayer+368
	stwx.xd %r5,%r2,%r1,0,0
	ldafr %r1,players+184
	stwx.xd %r6,%r2,%r1,0,0
;G_InitPlayer+384
	retf 16
	nop 0
	nop 0
;G_PlayerReborn
	allocsp 15,16
	sraiw %r1,%r1,0
	ldafr %r2,players
;G_PlayerReborn+16
	ldi %r14,328
	muladd %r12,%r1,%r14,%r2
	muli %r2,%r1,328
;G_PlayerReborn+32
	ldafr %r3,players+108
	ldwzx.xd %r1,%r2,%r3,0,4
	ldwzx.xd %r4,%r2,%r3,0,0
;G_PlayerReborn+48
	ldwzx.xd %r5,%r2,%r3,0,8
	ldwzx.xd %r6,%r2,%r3,0,12
	sllqi %r1,%r1,32
;G_PlayerReborn+64
	or %r1,%r1,%r4
	sllqi %r4,%r5,0
	sllqi %r5,%r6,32
;G_PlayerReborn+80
	or %r4,%r5,%r4
	or %r1,%r4,%r1
	stq %r1,%sp,0
;G_PlayerReborn+96
	ldafr %r4,players+216
	lddzx.xd %r5,%r2,%r4,0,0
	ldafr %r6,players+224
;G_PlayerReborn+112
	ldwzx.xd %r7,%r2,%r6,0,0
	mov %r13,%gz
	callr %r11,memset
;G_PlayerReborn+128
	ldwz %r1,%sp,0
	addi %r8,%sp,0
	ori %r9,%r8,4
;G_PlayerReborn+144
	ldwz %r9,%r9,0
	ori %r10,%r8,8
	ldwz %r10,%r10,0
;G_PlayerReborn+160
	ori %r8,%r8,12
	ldwz %r8,%r8,0
	stwx.xd %r1,%r2,%r3,0,0
;G_PlayerReborn+176
	ldafr %r1,players+112
	stwx.xd %r9,%r2,%r1,0,0
	ldafr %r1,players+116
;G_PlayerReborn+192
	stwx.xd %r10,%r2,%r1,0,0
	ldafr %r1,players+120
	stwx.xd %r8,%r2,%r1,0,0
;G_PlayerReborn+208
	stdx.xd %r5,%r2,%r4,0,0
	stwx.xd %r7,%r2,%r6,0,0
	ldafr %r1,players+200
;G_PlayerReborn+224
	ldi.l %r3,4294967297
	stdx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+240
	ldafr %r1,players+44
	ldi %r3,100
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+256
	ldafr %r1,players+128
	ldi %r3,1
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+272
	ldafr %r1,players+124
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+132
;G_PlayerReborn+288
	stwx.xd %r3,%r2,%r1,0,0
	ldafr %r1,players+136
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+304
	ldafr %r1,players+168
	ldi %r3,50
	stwx.xd %r3,%r2,%r1,0,0
;G_PlayerReborn+320
	ldwzr %r1,maxammo+12
	ldafr %r3,players+196
	ldwzr %r4,maxammo+8
;G_PlayerReborn+336
	ldwzr %r5,maxammo+4
	ldwzr %r6,maxammo
	stwx.xd %r1,%r2,%r3,0,0
;G_PlayerReborn+352
	ldafr %r1,players+192
	stwx.xd %r4,%r2,%r1,0,0
	ldafr %r1,players+188
;G_PlayerReborn+368
	stwx.xd %r5,%r2,%r1,0,0
	ldafr %r1,players+184
	stwx.xd %r6,%r2,%r1,0,0
;G_PlayerReborn+384
	retf 16
	nop 0
	nop 0
;G_PlayerFinishLevel
	alloc 4
	sraiw %r1,%r1,0
	muli %r1,%r1,328
;G_PlayerFinishLevel+16
	ldafr %r2,players
	ldafr %r3,players+96
	stdx.xd %gz,%r1,%r3,0,0
;G_PlayerFinishLevel+32
	ldafr %r3,players+88
	stdx.xd %gz,%r1,%r3,0,0
	ldafr %r3,players+80
;G_PlayerFinishLevel+48
	stdx.xd %gz,%r1,%r3,0,0
	ldafr %r3,players+72
	stdx.xd %gz,%r1,%r3,0,0
;G_PlayerFinishLevel+64
	ldafr %r3,players+64
	stdx.xd %gz,%r1,%r3,0,0
	ldafr %r3,players+56
;G_PlayerFinishLevel+80
	stdx.xd %gz,%r1,%r3,0,0
	lddzx.xd %r2,%r1,%r2,0,0
	ldwz %r3,%r2,160
;G_PlayerFinishLevel+96
	andi %r3,%r3,-262145
	stw %r3,%r2,160
	ldafr %r2,players+256
;G_PlayerFinishLevel+112
	stdx.xd %gz,%r1,%r2,0,0
	ldafr %r2,players+240
	stdx.xd %gz,%r1,%r2,0,0
;G_PlayerFinishLevel+128
	retf 0
	nop 0
	nop 0
;G_CheckSpot
	allocsp 14,16
	mov %r3,%r1
	sraiw %r6,%r1,0
;G_CheckSpot+16
	ldafr %r5,players
	muli %r1,%r6,328
	lddzx.xd %r11,%r1,%r5,0,0
;G_CheckSpot+32
	bdeq %r11,%gz,G_CheckSpot+416
	ldbz %r1,%r2,0
	ldbz %r3,%r2,1
;G_CheckSpot+48
	ldbz %r4,%r2,3
	ldbz %r7,%r2,2
	slliw %r3,%r3,24
;G_CheckSpot+64
	slliw %r4,%r4,24
	slor %r3,%r3,%r1,16
	slor %r1,%r4,%r7,16
;G_CheckSpot+80
	mov2 %r12,%r13,%r3,%r1
	callr %r10,P_CheckPosition
	bweq %r11,%gz,G_CheckSpot+528
;G_CheckSpot+96
	ldwzr %r4,bodyqueslot
	ldi %r7,328
	muladd %r6,%r6,%r7,%r5
;G_CheckSpot+112
	ldafr %r5,bodyque
	bwlti %r4,32,G_CheckSpot+144
	andi %r4,%r4,31
;G_CheckSpot+128
	lddzx.xuw %r13,%r5,%r4,3,0
	callr %r12,P_RemoveMobj
	ldwzr %r4,bodyqueslot
;G_CheckSpot+144
	lddz %r6,%r6,0
	sraiw %r7,%r4,31
	srliw %r7,%r7,27
;G_CheckSpot+160
	addws %r7,%r4,%r7
	andi %r7,%r7,-32
	subws %r7,%r4,%r7
;G_CheckSpot+176
	stdx.xw %r6,%r5,%r7,3,0
	addiws %r4,%r4,1
	stwr %r4,bodyqueslot
;G_CheckSpot+192
	mov2 %r12,%r13,%r3,%r1
	callr %r11,R_PointInSubsector
	ldbs %r4,%r2,5
;G_CheckSpot+208
	ldbz %r2,%r2,4
	slor %r2,%r2,%r4,8
	mulwsi %r2,%r2,11651
;G_CheckSpot+224
	srliw %r4,%r2,31
	sraiw %r2,%r2,19
	addws %r4,%r2,%r4
;G_CheckSpot+240
	andi.l %r2,%r4,4194303
	slliw %r4,%r4,10
;G_CheckSpot+256
	bwgeui %r2,8,G_CheckSpot+608
	ldafr %r5,.rodata+33596
	jmpt %r5,%r2
;G_CheckSpot+272
	lddzr %r2,finecosine
	ldwzx.xw %r2,%r2,%r4,2,0
	ldafr %r5,finesine
;G_CheckSpot+288
	ldwzx.xw %r4,%r5,%r4,2,0
	nop 0
	nop 0
;G_CheckSpot+304
	mulwsi %r2,%r2,20
	lddz %r5,%r12,0
	addws %r10,%r2,%r3
;G_CheckSpot+320
	mulwsi %r2,%r4,20
	addws %r11,%r2,%r1
	ldwz %r12,%r5,0
;G_CheckSpot+336
	ldi %r13,39
	callr %r9,P_SpawnMobj
	ldwsr %r1,consoleplayer
;G_CheckSpot+352
	muli %r1,%r1,328
	ldafr %r2,players+28
	ldwzx.xd %r2,%r1,%r2,0,0
;G_CheckSpot+368
	ldi %r1,1
	bweqi %r2,1,G_CheckSpot+400
	ldi %r13,35
;G_CheckSpot+384
	mov %r12,%r10
	callr %r11,S_StartSound
	nop 0
;G_CheckSpot+400
	retf 16
	nop 0
	nop 0
;G_CheckSpot+416
	ldi %r1,1
	bwlti %r3,1,G_CheckSpot+400
	ldbz %r4,%r2,1
;G_CheckSpot+432
	ldbz %r6,%r2,0
	slliw %r4,%r4,24
	slor %r4,%r4,%r6,16
;G_CheckSpot+448
	srliw %r3,%r3,0
	jmp G_CheckSpot+480
	nop 0
;G_CheckSpot+464
	addi %r3,%r3,-1
	addi %r5,%r5,328
	bdeq %r3,%gz,G_CheckSpot+400
;G_CheckSpot+480
	lddz %r6,%r5,0
	ldwz %r7,%r6,24
	bwne %r7,%r4,G_CheckSpot+464
;G_CheckSpot+496
	ldbz %r7,%r2,3
	ldbz %r8,%r2,2
	ldwz %r6,%r6,28
;G_CheckSpot+512
	slliw %r7,%r7,24
	slor %r7,%r7,%r8,16
	bwne %r6,%r7,G_CheckSpot+464
;G_CheckSpot+528
	mov %r1,%gz
	retf 16
	nop 0
;G_CheckSpot+544
	ldwzr %r2,finetangent+8192
	ldwzr %r4,finetangent
	jmp G_CheckSpot+304
;G_CheckSpot+560
	ldwzr %r2,finesine+4096
	ldwzr %r4,finetangent+12288
	jmp G_CheckSpot+304
;G_CheckSpot+576
	ldwzr %r2,finetangent+12288
	ldwzr %r4,finetangent+4096
	jmp G_CheckSpot+304
;G_CheckSpot+592
	ldwzr %r2,finesine
	ldwzr %r4,finetangent+8192
	jmp G_CheckSpot+304
;G_CheckSpot+608
	ldafr %r13,.rodata+19685
	stw %r4,%sp,0
	mov %r4,%r12
;G_CheckSpot+624
	callr %r12,I_Error
	mov2 %r12,%r2,%r4,%gz
	mov %r4,%gz
;G_CheckSpot+640
	jmp G_CheckSpot+304
	nop 0
	nop 0
;G_DeathMatchSpawnPlayer
	allocsp 11,16
	lddzr %r2,deathmatch_p
	ldafr %r4,deathmatchstarts
;G_DeathMatchSpawnPlayer+16
	sub %r2,%r2,%r4
	srli %r2,%r2,1
	nop 2
;G_DeathMatchSpawnPlayer+32
	mulwsi.l %r5,%r2,-858993459
	bwgei %r5,4,G_DeathMatchSpawnPlayer+64
;G_DeathMatchSpawnPlayer+48
	ldafr %r10,.rodata+3077
	stw %r5,%sp,0
	callr %r9,I_Error
;G_DeathMatchSpawnPlayer+64
	mov %r2,%gz
	ldi %r6,10
	nop 0
;G_DeathMatchSpawnPlayer+80
	mov %r7,%r2
	callr %r9,P_Random
	modw %r2,%r10,%r5
;G_DeathMatchSpawnPlayer+96
	sraiw %r2,%r2,0
	muladd %r2,%r2,%r6,%r4
	mov2 %r9,%r10,%r1,%r2
;G_DeathMatchSpawnPlayer+112
	callr %r8,G_CheckSpot
	bwne %r9,%gz,G_DeathMatchSpawnPlayer+160
	addiws %r2,%r7,1
;G_DeathMatchSpawnPlayer+128
	bwltui %r7,19,G_DeathMatchSpawnPlayer+80
	sraiw %r1,%r1,0
	ldafr %r2,playerstarts
;G_DeathMatchSpawnPlayer+144
	muladd %r2,%r1,%r6,%r2
	jmp G_DeathMatchSpawnPlayer+192
	nop 0
;G_DeathMatchSpawnPlayer+160
	addiws %r1,%r1,1
	stb %r1,%r2,6
	srliw %r1,%r1,8
;G_DeathMatchSpawnPlayer+176
	stb %r1,%r2,7
	nop 0
	nop 0
;G_DeathMatchSpawnPlayer+192
	mov %r10,%r2
	callr %r9,P_SpawnPlayer
	retf 16
;G_ScreenShot
	alloc 2
	ldi %r1,9
	stwr %r1,gameaction
;G_ScreenShot+16
	retf 0
	nop 0
	nop 0
;G_ExitLevel
	alloc 2
	stwr %gz,secretexit
	ldi %r1,6
;G_ExitLevel+16
	stwr %r1,gameaction
	retf 0
	nop 0
;G_SecretExitLevel
	alloc 4
	ldwzr %r1,gamemode
	bwnei %r1,2,G_SecretExitLevel+32
;G_SecretExitLevel+16
	ldafr %r3,.rodata+26894
	callr %r2,W_CheckNumForName
	bwlt %r3,%gz,G_SecretExitLevel+80
;G_SecretExitLevel+32
	ldi %r1,1
	nop 0
	nop 0
;G_SecretExitLevel+48
	stwr %r1,secretexit
	ldi %r1,6
	stwr %r1,gameaction
;G_SecretExitLevel+64
	retf 0
	nop 0
	nop 0
;G_SecretExitLevel+80
	mov %r1,%gz
	jmp G_SecretExitLevel+48
	nop 0
;G_WorldDone
	alloc 6
	ldwzr %r1,secretexit
	ldi %r2,8
;G_WorldDone+16
	stwr %r2,gameaction
	ldi %r2,1
	bweq %r1,%gz,G_WorldDone+64
;G_WorldDone+32
	ldwsr %r3,consoleplayer
	muli %r3,%r3,328
	ldafr %r4,players+320
;G_WorldDone+48
	stwx.xd %r2,%r3,%r4,0,0
	nop 0
	nop 0
;G_WorldDone+64
	ldwzr %r3,gamemode
	bwnei %r3,2,G_WorldDone+160
	ldwzr %r3,gamemap
;G_WorldDone+80
	bwgeui %r3,32,G_WorldDone+160
	sllw %r2,%r2,%r3
	nop 2
;G_WorldDone+96
	andi.l %r3,%r2,1074792512
	bwne %r3,%gz,G_WorldDone+144
;G_WorldDone+112
	andi.l %r2,%r2,-2147450880
	bweq %r2,%gz,G_WorldDone+160
;G_WorldDone+128
	bweq %r1,%gz,G_WorldDone+160
	nop 0
	nop 0
;G_WorldDone+144
	callr %r5,F_StartFinale
	nop 0
	nop 0
;G_WorldDone+160
	retf 0
	nop 0
	nop 0
;G_LoadGame
	alloc 6
	ldafr %r3,savename
	ldi %r5,256
;G_LoadGame+16
	mov %r4,%r1
	callr %r2,M_StringCopy
	ldi %r1,3
;G_LoadGame+32
	stwr %r1,gameaction
	retf 0
	nop 0
;G_InitNew
	alloc 17
	ldwzr %r4,paused
	bweq %r4,%gz,G_InitNew+32
;G_InitNew+16
	stwr %gz,paused
	callr %r16,S_ResumeSound
	nop 0
;G_InitNew+32
	ldwzr %r4,gameversion
	ldi %r5,4
	cmpwgtui %r6,%r4,5
;G_InitNew+48
	cmovweq %r7,%r2,%r5,%r2
	ldi %r4,1
	ldwzr %r10,gamemode
;G_InitNew+64
	maxsw %r2,%r2,%r4
	ldi %r8,3
	minsw %r2,%r2,%r8
;G_InitNew+80
	cmovlsb %r6,%r6,%r7,%r2
	cmpwgti %r7,%r6,1
	cmovweq %r8,%r10,%r4,%r6
;G_InitNew+96
	maxsw %r9,%r3,%r4
	cmpwnei %r2,%r10,2
	ldi %r10,9
;G_InitNew+112
	cmpwgti %r3,%r3,9
	cmovlsb %r10,%r2,%r10,%r9
	callr %r16,M_ClearRandom
;G_InitNew+128
	ldwzr %r2,respawnparm
	ldwzr %r11,fastparm
	cmpwgti %r12,%r1,3
;G_InitNew+144
	cmpwnei %r2,%r2,0
	or %r2,%r12,%r2
	stwr %r2,respawnmonsters
;G_InitNew+160
	bwne %r11,%gz,G_InitNew+192
	ldwzr %r2,gameskill
	bwlti %r1,4,G_InitNew+480
;G_InitNew+176
	bweqi %r2,4,G_InitNew+480
	nop 0
	nop 0
;G_InitNew+192
	mov %r11,%gz
	ldafr %r12,states+19088
	ldi %r2,1310720
;G_InitNew+208
	ldwzx.xd %r13,%r11,%r12,0,0
	sraiw %r13,%r13,1
	stwx.xd %r13,%r11,%r12,0,0
;G_InitNew+224
	addi %r11,%r11,40
	bdnei %r11,520,G_InitNew+208
	mov %r11,%r2
;G_InitNew+240
	stwr %r2,mobjinfo+1532
	stwr %r11,mobjinfo+3004
	stwr %r11,mobjinfo+2912
;G_InitNew+256
	minsw %r5,%r1,%r5
	cmovlsb %r2,%r7,%r8,%r6
	cmovlsb %r1,%r3,%r10,%r9
;G_InitNew+272
	ldi %r3,8
	ldafr %r6,players
	ldi %r7,2
;G_InitNew+288
	stwx.xd %r7,%r3,%r6,0,0
	addi %r3,%r3,328
	nop 2
;G_InitNew+304
	bdnei.l %r3,1320,G_InitNew+288
	stwr %r4,usergame
;G_InitNew+320
	stwr %gz,paused
	stwr %gz,demoplayback
	stwr %gz,automapactive
;G_InitNew+336
	ldwzr %r3,gamemode
	stwr %r2,gameepisode
	stwr %r1,gamemap
;G_InitNew+352
	stwr %r5,gameskill
	stwr %r4,viewactive
	bwnei %r3,2,G_InitNew+400
;G_InitNew+368
	bwltui %r1,12,G_InitNew+432
	cmpwltui %r1,%r1,21
	ldafr %r2,.rodata+3041
;G_InitNew+384
	ldafr %r3,.rodata+7771
	cmovlsb %r16,%r1,%r3,%r2
	jmp G_InitNew+448
;G_InitNew+400
	addiws %r1,%r2,-2
	bwgeui %r1,3,G_InitNew+432
	ldafr %r2,.Lswitch.table.G_InitNew.rel
;G_InitNew+416
	ldwsx.xuw %r1,%r2,%r1,2,0
	add %r16,%r1,%r2
	jmp G_InitNew+448
;G_InitNew+432
	ldafr %r16,.rodata+8928
	nop 0
	nop 0
;G_InitNew+448
	callr %r15,R_TextureNumForName
	stwr %r16,skytexture
	callr %r16,G_DoLoadLevel
;G_InitNew+464
	retf 0
	nop 0
	nop 0
;G_InitNew+480
	bwgei %r1,4,G_InitNew+256
	bwnei %r2,4,G_InitNew+256
	mov %r12,%gz
;G_InitNew+496
	ldafr %r13,states+19088
	ldi %r11,655360
	ldi %r2,983040
;G_InitNew+512
	ldwzx.xd %r14,%r12,%r13,0,0
	slliw %r14,%r14,1
	stwx.xd %r14,%r12,%r13,0,0
;G_InitNew+528
	addi %r12,%r12,40
	bdnei %r12,520,G_InitNew+512
	jmp G_InitNew+240
;G_SaveGame
	alloc 7
	stwr %r1,savegameslot
	ldafr %r4,savedescription
;G_SaveGame+16
	ldi %r6,32
	mov %r5,%r2
	callr %r3,M_StringCopy
;G_SaveGame+32
	ldi %r1,1
	stwr %r1,sendsave
	retf 0
;G_DeferedInitNew
	alloc 4
	stwr %r1,d_skill
	stwr %r2,d_episode
;G_DeferedInitNew+16
	stwr %r3,d_map
	ldi %r1,2
	stwr %r1,gameaction
;G_DeferedInitNew+32
	retf 0
	nop 0
	nop 0
;G_CheckDemoStatus
	allocsp 9,16
	ldwzr %r1,timingdemo
	bweq %r1,%gz,G_CheckDemoStatus+128
;G_CheckDemoStatus+16
	callr %r7,I_GetTime
	ldwzr %r1,starttime
	ldwzr %r2,gametic
;G_CheckDemoStatus+32
	subws %r1,%r8,%r1
	fcvtiw2ss %r3,%r2,0
	nop 2
;G_CheckDemoStatus+48
	ldi.l %r4,1108082688
	fmulss %r3,%r3,%r4
;G_CheckDemoStatus+64
	fcvtiw2ss %r4,%r1,0
	fdivss %r3,%r3,%r4
	stwr %gz,timingdemo
;G_CheckDemoStatus+80
	stwr %gz,demoplayback
	fextss2sd %r3,%r3
	stw %r1,%sp,4
;G_CheckDemoStatus+96
	stw %r2,%sp,0
	ldafr %r8,.rodata+25055
	std %r3,%sp,8
;G_CheckDemoStatus+112
	callr %r7,I_Error
	nop 0
	nop 0
;G_CheckDemoStatus+128
	ldwzr %r1,demoplayback
	bweq %r1,%gz,G_CheckDemoStatus+240
	lddzr %r8,defdemoname
;G_CheckDemoStatus+144
	callr %r7,W_ReleaseLumpName
	stwr %gz,demoplayback
	stwr %gz,netdemo
;G_CheckDemoStatus+160
	stwr %gz,netgame
	stwr %gz,deathmatch
	stwr %gz,playeringame+12
;G_CheckDemoStatus+176
	stwr %gz,playeringame+8
	stwr %gz,playeringame+4
	ldwzr %r1,singledemo
;G_CheckDemoStatus+192
	stwr %gz,respawnparm
	stwr %gz,fastparm
	stwr %gz,nomonsters
;G_CheckDemoStatus+208
	stwr %gz,consoleplayer
	bweq %r1,%gz,G_CheckDemoStatus+368
	callr %r8,I_Quit
;G_CheckDemoStatus+224
	ldi %r1,1
	retf 16
	nop 0
;G_CheckDemoStatus+240
	ldwzr %r1,demorecording
	bweq %r1,%gz,G_CheckDemoStatus+352
	lddzr %r1,demo_p
;G_CheckDemoStatus+256
	addi %r2,%r1,1
	stdr %r2,demo_p
	ldi %r2,128
;G_CheckDemoStatus+272
	stb %r2,%r1,0
	lddzr %r7,demobuffer
	lddzr %r1,demo_p
;G_CheckDemoStatus+288
	lddzr %r6,demoname
	sub %r8,%r1,%r7
	callr %r5,M_WriteFile
;G_CheckDemoStatus+304
	lddzr %r8,demobuffer
	callr %r7,Z_Free
	stwr %gz,demorecording
;G_CheckDemoStatus+320
	lddzr %r1,demoname
	ldafr %r8,.rodata+20842
	std %r1,%sp,0
;G_CheckDemoStatus+336
	callr %r7,I_Error
	nop 0
	nop 0
;G_CheckDemoStatus+352
	mov %r1,%gz
	retf 16
	nop 0
;G_CheckDemoStatus+368
	callr %r8,D_AdvanceDemo
	ldi %r1,1
	retf 16
;G_RecordDemo
	allocsp 8,16
	stwr %gz,usergame
	mov %r7,%r1
;G_RecordDemo+16
	callr %r6,strlen
	addi %r2,%r7,5
	ldi %r3,1
;G_RecordDemo+32
	mov2 %r5,%r6,%r2,%r3
	mov %r7,%gz
	callr %r4,Z_Malloc
;G_RecordDemo+48
	stdr %r5,demoname
	ldafr %r7,.rodata+11095
	std %r1,%sp,0
;G_RecordDemo+64
	mov %r6,%r2
	callr %r4,M_snprintf
	ldafr %r6,.rodata+14279
;G_RecordDemo+80
	mov %r7,%r3
	callr %r5,M_CheckParmWithArgs
	bweq %r6,%gz,G_RecordDemo+128
;G_RecordDemo+96
	lddzr %r1,myargv
	lddzx.xw %r7,%r1,%r6,3,8
	callr %r6,atoi
;G_RecordDemo+112
	slliw %r2,%r7,10
	jmp G_RecordDemo+144
	nop 0
;G_RecordDemo+128
	ldi %r2,131072
	nop 0
	nop 0
;G_RecordDemo+144
	mov2 %r5,%r6,%r2,%r3
	mov %r7,%gz
	callr %r4,Z_Malloc
;G_RecordDemo+160
	stdr %r5,demobuffer
	ldax.xw %r1,%r5,%r2,0,0
	stdr %r1,demoend
;G_RecordDemo+176
	stwr %r3,demorecording
	retf 16
	nop 0
;G_VanillaVersionCode
	alloc 6
	ldwzr %r2,gameversion
	bdgeui %r2,4,G_VanillaVersionCode+80
;G_VanillaVersionCode+16
	ldafr %r3,.rodata+33628
	ldi %r1,106
	jmpt %r3,%r2
;G_VanillaVersionCode+32
	ldafr %r5,.rodata+7776
	callr %r4,I_Error
	retf 0
;G_VanillaVersionCode+48
	ldi %r1,107
	retf 0
	nop 0
;G_VanillaVersionCode+64
	ldi %r1,108
	retf 0
	nop 0
;G_VanillaVersionCode+80
	ldi %r1,109
	nop 0
	nop 0
;G_VanillaVersionCode+96
	retf 0
	nop 0
	nop 0
;G_BeginRecording
	alloc 8
	ldafr %r7,.rodata+27477
	callr %r6,M_CheckParm
;G_BeginRecording+16
	cmpweqi %r2,%r7,0
	lddzr %r1,demobuffer
	cmpwnei %r3,%r7,0
;G_BeginRecording+32
	stwr %r3,longtics
	stwr %r2,lowres_turn
	stdr %r1,demo_p
;G_BeginRecording+48
	bweq %r7,%gz,G_BeginRecording+80
	addi %r2,%r1,1
	stdr %r2,demo_p
;G_BeginRecording+64
	ldi %r2,111
	jmp G_BeginRecording+208
	nop 0
;G_BeginRecording+80
	ldwzr %r3,gameversion
	bdgeui %r3,4,G_BeginRecording+176
	ldafr %r4,.rodata+33644
;G_BeginRecording+96
	ldi %r2,106
	jmpt %r4,%r3
	nop 0
;G_BeginRecording+112
	ldafr %r7,.rodata+7776
	callr %r6,I_Error
	lddzr %r1,demo_p
;G_BeginRecording+128
	jmp G_BeginRecording+192
	nop 0
	nop 0
;G_BeginRecording+144
	ldi %r2,107
	jmp G_BeginRecording+192
	nop 0
;G_BeginRecording+160
	ldi %r2,108
	jmp G_BeginRecording+192
	nop 0
;G_BeginRecording+176
	ldi %r2,109
	nop 0
	nop 0
;G_BeginRecording+192
	addi %r3,%r1,1
	stdr %r3,demo_p
	nop 0
;G_BeginRecording+208
	stb %r2,%r1,0
	lddzr %r1,demo_p
	ldwzr %r2,gameskill
;G_BeginRecording+224
	addi %r3,%r1,1
	stdr %r3,demo_p
	stb %r2,%r1,0
;G_BeginRecording+240
	lddzr %r1,demo_p
	ldwzr %r2,gameepisode
	addi %r3,%r1,1
;G_BeginRecording+256
	stdr %r3,demo_p
	stb %r2,%r1,0
	lddzr %r1,demo_p
;G_BeginRecording+272
	ldwzr %r2,gamemap
	addi %r3,%r1,1
	stdr %r3,demo_p
;G_BeginRecording+288
	stb %r2,%r1,0
	lddzr %r1,demo_p
	ldwzr %r2,deathmatch
;G_BeginRecording+304
	addi %r3,%r1,1
	stdr %r3,demo_p
	stb %r2,%r1,0
;G_BeginRecording+320
	lddzr %r1,demo_p
	ldwzr %r2,respawnparm
	addi %r3,%r1,1
;G_BeginRecording+336
	stdr %r3,demo_p
	stb %r2,%r1,0
	lddzr %r1,demo_p
;G_BeginRecording+352
	ldwzr %r2,fastparm
	addi %r3,%r1,1
	stdr %r3,demo_p
;G_BeginRecording+368
	stb %r2,%r1,0
	lddzr %r1,demo_p
	ldwzr %r2,nomonsters
;G_BeginRecording+384
	addi %r3,%r1,1
	stdr %r3,demo_p
	stb %r2,%r1,0
;G_BeginRecording+400
	lddzr %r2,demo_p
	ldwzr %r3,consoleplayer
	mov %r1,%gz
;G_BeginRecording+416
	addi %r4,%r2,1
	stdr %r4,demo_p
	stb %r3,%r2,0
;G_BeginRecording+432
	ldafr %r2,playeringame
	nop 0
	nop 0
;G_BeginRecording+448
	lddzr %r3,demo_p
	ldwzx.xd %r4,%r1,%r2,0,0
	addi %r5,%r3,1
;G_BeginRecording+464
	stdr %r5,demo_p
	addi %r1,%r1,4
	stb %r4,%r3,0
;G_BeginRecording+480
	bdnei %r1,16,G_BeginRecording+448
	retf 0
	nop 0
;G_DeferedPlayDemo
	alloc 2
	stdr %r1,defdemoname
	ldi %r1,5
;G_DeferedPlayDemo+16
	stwr %r1,gameaction
	retf 0
	nop 0
;G_TimeDemo
	alloc 5
	ldafr %r4,.rodata+4850
	callr %r3,M_CheckParm
;G_TimeDemo+16
	stwr %r4,nodrawers
	ldi %r2,1
	stwr %r2,timingdemo
;G_TimeDemo+32
	stwr %r2,singletics
	stdr %r1,defdemoname
	ldi %r1,5
;G_TimeDemo+48
	stwr %r1,gameaction
	retf 0
	nop 0
;fopen
	alloc 13
	ldbs %r12,%r2,0
	ldafr %r11,.rodata+27487
;fopen+16
	callr %r10,strchr
	bdeq %r11,%gz,fopen+192
	mov %r12,%r2
;fopen+32
	callr %r11,__fmodeflags
	mov %r3,%r12
	ori %r4,%r12,32768
;fopen+48
	sraiw %r8,%r4,0
	ldi %r6,2
	ldi %r9,438
;fopen+64
	mov2 %r7,%r10,%r1,%gz
	mov2 %r11,%r12,%gz,%gz
	callr %r5,__syscall_postrisc
;fopen+80
	mov %r12,%r6
	callr %r11,__syscall_ret
	mov %r11,%gz
;fopen+96
	bwlt %r12,%gz,fopen+176
	mov %r1,%r12
	bbci %r3,19,fopen+160
;fopen+112
	andi.l %r7,%r1,2147483647
	ldi %r6,72
;fopen+128
	ldi %r8,2
	ldi %r9,1
	mov2 %r10,%r11,%gz,%gz
;fopen+144
	mov %r12,%gz
	callr %r5,__syscall_postrisc
	nop 0
;fopen+160
	mov2 %r11,%r12,%r1,%r2
	callr %r10,fdopen
	bdeq %r11,%gz,fopen+224
;fopen+176
	mov %r1,%r11
	retf 0
	nop 0
;fopen+192
	callr %r11,__errno_location
	mov %r11,%gz
	ldi %r1,22
;fopen+208
	stw %r1,%r12,0
	mov %r1,%r11
	retf 0
;fopen+224
	andi.l %r7,%r1,2147483647
	ldi %r6,3
;fopen+240
	mov2 %r8,%r9,%gz,%gz
	mov2 %r10,%r11,%gz,%gz
	mov %r12,%gz
;fopen+256
	callr %r5,__syscall_postrisc
	mov %r11,%gz
	mov %r1,%r11
;fopen+272
	retf 0
	nop 0
	nop 0
;strchr
	alloc 6
	mov2 %r4,%r5,%r1,%r2
	callr %r3,strchrnul
;strchr+16
	ldbz %r1,%r4,0
	andi %r2,%r2,255
	cmpweq %r1,%r1,%r2
;strchr+32
	cmovlsb %r1,%r1,%r4,%gz
	retf 0
	nop 0
;strchrnul
	alloc 10
	andi %r2,%r2,255
	bweq %r2,%gz,strchrnul+240
;strchrnul+16
	bmnone %r1,7,strchrnul+80
	addi %r3,%r1,1
	nop 0
;strchrnul+32
	ldbz %r5,%r1,0
	bweq %r5,%gz,strchrnul+336
	bweq %r5,%r2,strchrnul+336
;strchrnul+48
	mov %r4,%r3
	addi %r1,%r1,1
	addi %r3,%r3,1
;strchrnul+64
	bmany %r4,7,strchrnul+32
	nop 0
	nop 0
;strchrnul+80
	lddz %r4,%r1,0
	subfi.l %r3,%r4,72340172838076672
;strchrnul+96
	or %r5,%r3,%r4
	ldi.l %r3,-9187201950435737472
;strchrnul+112
	and %r5,%r5,%r3
	bdne %r5,%r3,strchrnul+272
	srliw %r5,%r2,0
;strchrnul+128
	muli.l %r5,%r5,72340172838076673
	nop 0
;strchrnul+144
	xor %r4,%r4,%r5
	subfi.l %r6,%r4,72340172838076672
;strchrnul+160
	or %r4,%r6,%r4
	and %r4,%r4,%r3
	bdne %r4,%r3,strchrnul+272
;strchrnul+176
	lddz %r4,%r1,8
	addi %r6,%r1,8
	nop 2
;strchrnul+192
	subfi.l %r1,%r4,72340172838076672
	or %r1,%r1,%r4
;strchrnul+208
	and %r7,%r1,%r3
	mov %r1,%r6
	bdeq %r7,%r3,strchrnul+144
;strchrnul+224
	jmp strchrnul+288
	nop 0
	nop 0
;strchrnul+240
	mov %r9,%r1
	callr %r8,strlen
	add %r1,%r1,%r9
;strchrnul+256
	retf 0
	nop 0
	nop 0
;strchrnul+272
	mov %r6,%r1
	nop 0
	nop 0
;strchrnul+288
	addi %r1,%r6,-1
	nop 0
	nop 0
;strchrnul+304
	ldbz %r3,%r1,1
	addi %r1,%r1,1
	bweq %r3,%gz,strchrnul+336
;strchrnul+320
	bwne %r3,%r2,strchrnul+304
	nop 0
	nop 0
;strchrnul+336
	retf 0
	nop 0
	nop 0
;__fmodeflags
	alloc 8
	ldi %r7,43
	mov %r6,%r1
;__fmodeflags+16
	callr %r5,strchr
	bdeq %r6,%gz,__fmodeflags+48
	ldi %r3,2
;__fmodeflags+32
	jmp __fmodeflags+64
	nop 0
	nop 0
;__fmodeflags+48
	ldbz %r2,%r1,0
	cmpwnei %r3,%r2,114
	nop 0
;__fmodeflags+64
	ldi %r7,120
	mov %r6,%r1
	callr %r5,strchr
;__fmodeflags+80
	ori %r2,%r3,128
	cmovdeq %r3,%r6,%r3,%r2
	ldi %r7,101
;__fmodeflags+96
	mov %r6,%r1
	callr %r5,strchr
	ldbz %r1,%r1,0
;__fmodeflags+112
	ori %r2,%r3,524288
	cmovdeq %r2,%r6,%r3,%r2
	cmpweqi %r3,%r1,114
;__fmodeflags+128
	ori %r4,%r2,64
	cmovlsb %r2,%r3,%r2,%r4
	cmpweqi %r3,%r1,119
;__fmodeflags+144
	ori %r4,%r2,512
	cmovlsb %r2,%r3,%r4,%r2
	cmpweqi %r1,%r1,97
;__fmodeflags+160
	ori %r3,%r2,1024
	cmovlsb %r1,%r1,%r3,%r2
	retf 0
;fdopen
	allocsp 15,16
	ldbs %r14,%r2,0
	ldafr %r13,.rodata+27487
;fdopen+16
	callr %r12,strchr
	bdeq %r13,%gz,fdopen+320
	ldi %r14,1264
;fdopen+32
	callr %r13,malloc
	bdeq %r14,%gz,fdopen+352
	mov %r3,%r14
;fdopen+48
	ldi %r14,232
	mov2 %r12,%r13,%r3,%gz
	callr %r11,memset
;fdopen+64
	ldi %r14,43
	mov %r13,%r2
	callr %r12,strchr
;fdopen+80
	bdne %r13,%gz,fdopen+128
	ldbz %r4,%r2,0
	cmpweqi %r4,%r4,114
;fdopen+96
	ldi %r5,4
	ldi %r6,8
	cmovlsb %r4,%r4,%r6,%r5
;fdopen+112
	stw %r4,%r3,0
	nop 0
	nop 0
;fdopen+128
	ldi %r14,101
	mov %r13,%r2
	callr %r12,strchr
;fdopen+144
	sraiw %r4,%r1,0
	bdeq %r13,%gz,fdopen+192
	ldi %r8,72
;fdopen+160
	ldi %r10,2
	ldi %r11,1
	mov2 %r9,%r12,%r4,%gz
;fdopen+176
	mov2 %r13,%r14,%gz,%gz
	callr %r7,__syscall_postrisc
	nop 0
;fdopen+192
	ldbz %r2,%r2,0
	bwnei %r2,97,fdopen+368
	ldi %r8,72
;fdopen+208
	ldi %r10,3
	mov2 %r9,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
;fdopen+224
	mov %r14,%gz
	callr %r7,__syscall_postrisc
	bbsi %r8,10,fdopen+288
;fdopen+240
	sraiw %r2,%r8,0
	ori %r11,%r2,1024
	ldi %r8,72
;fdopen+256
	ldi %r10,4
	mov2 %r9,%r12,%r4,%gz
	mov2 %r13,%r14,%gz,%gz
;fdopen+272
	callr %r7,__syscall_postrisc
	nop 0
	nop 0
;fdopen+288
	ldwz %r2,%r3,0
	ori %r5,%r2,128
	stw %r5,%r3,0
;fdopen+304
	jmp fdopen+384
	nop 0
	nop 0
;fdopen+320
	callr %r13,__errno_location
	mov %r1,%gz
	ldi %r2,22
;fdopen+336
	stw %r2,%r14,0
	retf 16
	nop 0
;fdopen+352
	mov %r1,%gz
	retf 16
	nop 0
;fdopen+368
	ldwz %r5,%r3,0
	nop 0
	nop 0
;fdopen+384
	stw %r1,%r3,120
	addi %r1,%r3,240
	std %r1,%r3,88
;fdopen+400
	ldi %r1,1024
	std %r1,%r3,96
	ldi %r2,-1
;fdopen+416
	stw %r2,%r3,144
	bbsi %r5,3,fdopen+480
	ldi %r8,16
;fdopen+432
	ldi %r10,21523
	addi %r11,%sp,8
	mov2 %r9,%r12,%r4,%gz
;fdopen+448
	mov2 %r13,%r14,%gz,%gz
	callr %r7,__syscall_postrisc
	bdne %r8,%gz,fdopen+480
;fdopen+464
	ldi %r1,10
	stw %r1,%r3,144
	nop 0
;fdopen+480
	ldar %r1,__stdio_read
	std %r1,%r3,64
	ldar %r1,__stdio_write
;fdopen+496
	std %r1,%r3,72
	ldar %r1,__stdio_seek
	std %r1,%r3,80
;fdopen+512
	ldar %r1,__stdio_close
	std %r1,%r3,24
	ldbzr %r1,__libc+1
;fdopen+528
	bwne %r1,%gz,fdopen+544
	stw %r2,%r3,140
	nop 0
;fdopen+544
	mov %r14,%r3
	callr %r13,__ofl_add
	mov %r1,%r14
;fdopen+560
	retf 16
	nop 0
	nop 0
;__stdio_read
	allocsp 14,32
	std %r2,%sp,0
	lddz %r10,%r1,96
;__stdio_read+16
	cmpdnei %r4,%r10,0
	sub %r4,%r3,%r4
	std %r4,%sp,8
;__stdio_read+32
	lddz %r9,%r1,88
	std %r9,%sp,16
	std %r10,%sp,24
;__stdio_read+48
	ldws %r8,%r1,120
	bdeq %r4,%gz,__stdio_read+80
	ldi %r7,19
;__stdio_read+64
	addi %r9,%sp,0
	ldi %r10,2
	jmp __stdio_read+96
;__stdio_read+80
	mov %r7,%gz
	nop 0
	nop 0
;__stdio_read+96
	mov2 %r11,%r12,%gz,%gz
	mov %r13,%gz
	callr %r6,__syscall_postrisc
;__stdio_read+112
	mov %r13,%r7
	callr %r12,__syscall_ret
	bdle %r13,%gz,__stdio_read+240
;__stdio_read+128
	lddz %r5,%sp,8
	bdleu %r13,%r5,__stdio_read+224
	lddz %r4,%r1,88
;__stdio_read+144
	sub %r5,%r13,%r5
	std %r4,%r1,8
	add %r5,%r4,%r5
;__stdio_read+160
	std %r5,%r1,16
	lddz %r5,%r1,96
	bdeq %r5,%gz,__stdio_read+208
;__stdio_read+176
	addi %r5,%r4,1
	std %r5,%r1,8
	ldbz %r1,%r4,0
;__stdio_read+192
	stbx.xd %r1,%r2,%r3,0,-1
	nop 0
	nop 0
;__stdio_read+208
	mov %r13,%r3
	nop 0
	nop 0
;__stdio_read+224
	mov %r1,%r13
	retf 32
	nop 0
;__stdio_read+240
	ldwz %r2,%r1,0
	ldi %r3,32
	ldi %r4,16
;__stdio_read+256
	cmovdeq %r3,%r13,%r4,%r3
	or %r2,%r2,%r3
	stw %r2,%r1,0
;__stdio_read+272
	mov2 %r13,%r1,%gz,%gz
	retf 32
	nop 0
;__ofl_add
	alloc 5
	callr %r3,__ofl_lock
	lddz %r2,%r4,0
;__ofl_add+16
	std %r2,%r1,112
	bdeq %r2,%gz,__ofl_add+32
	std %r1,%r2,104
;__ofl_add+32
	std %r1,%r4,0
	callr %r4,__ofl_unlock
	retf 0
;dummy
	alloc 1
	retf 0
	nop 0
;fclose
	alloc 8
	ldwz %r2,%r1,140
	bwlt %r2,%gz,fclose+48
;fclose+16
	mov %r7,%r1
	callr %r6,__lockfile
	cmpweqi %r4,%r7,0
;fclose+32
	jmp fclose+64
	nop 0
	nop 0
;fclose+48
	ldi %r4,1
	nop 0
	nop 0
;fclose+64
	mov %r7,%r1
	callr %r6,fflush
	mov2 %r2,%r7,%r7,%r1
;fclose+80
	callmi %r6,%r1,24
	mov %r3,%r7
	bbci %r4,0,fclose+128
;fclose+96
	ldwz %r4,%r1,0
	bbci %r4,0,fclose+160
	nop 0
;fclose+112
	or %r1,%r3,%r2
	retf 0
	nop 0
;fclose+128
	mov %r7,%r1
	callr %r6,__unlockfile
	ldwz %r4,%r1,0
;fclose+144
	bbsi %r4,0,fclose+112
	nop 0
	nop 0
;fclose+160
	mov %r7,%r1
	callr %r6,dummy
	callr %r6,__ofl_lock
;fclose+176
	lddz %r5,%r1,104
	lddz %r4,%r1,112
	bdeq %r5,%gz,fclose+208
;fclose+192
	std %r4,%r5,112
	nop 0
	nop 0
;fclose+208
	bdeq %r4,%gz,fclose+224
	lddz %r5,%r1,104
	std %r5,%r4,104
;fclose+224
	lddz %r4,%r7,0
	bdne %r4,%r1,fclose+256
	lddz %r4,%r1,112
;fclose+240
	std %r4,%r7,0
	nop 0
	nop 0
;fclose+256
	callr %r7,__ofl_unlock
	lddz %r7,%r1,168
	callr %r6,free
;fclose+272
	mov %r7,%r1
	callr %r6,free
	or %r1,%r3,%r2
;fclose+288
	retf 0
	nop 0
	nop 0
;fflush
	alloc 11
	bdeq %r1,%gz,fflush+48
	mov %r2,%r1
;fflush+16
	ldwz %r1,%r1,140
	bwlt %r1,%gz,fflush+272
	mov %r10,%r2
;fflush+32
	callr %r9,__lockfile
	cmpweqi %r3,%r10,0
	jmp fflush+288
;fflush+48
	lddzr %r1,__stdout_used
	bdeq %r1,%gz,fflush+480
	lddzr %r10,__stdout_used
;fflush+64
	callr %r9,fflush
	mov %r1,%r10
	lddzr %r2,__stderr_used
;fflush+80
	bdeq %r2,%gz,fflush+112
	nop 0
	nop 0
;fflush+96
	lddzr %r10,__stderr_used
	callr %r9,fflush
	or %r1,%r10,%r1
;fflush+112
	callr %r9,__ofl_lock
	lddz %r2,%r10,0
	bdeq %r2,%gz,fflush+256
;fflush+128
	ldi %r4,1
	jmp fflush+160
	nop 0
;fflush+144
	lddz %r2,%r2,112
	bdeq %r2,%gz,fflush+256
	nop 0
;fflush+160
	ldwz %r3,%r2,140
	mov %r5,%r4
	bwlt %r3,%gz,fflush+192
;fflush+176
	mov %r10,%r2
	callr %r9,__lockfile
	cmpweqi %r5,%r10,0
;fflush+192
	lddz %r3,%r2,40
	lddz %r6,%r2,56
	bdeq %r3,%r6,fflush+224
;fflush+208
	mov %r10,%r2
	callr %r9,fflush
	or %r1,%r10,%r1
;fflush+224
	bbsi %r5,0,fflush+144
	mov %r10,%r2
	callr %r9,__unlockfile
;fflush+240
	jmp fflush+144
	nop 0
	nop 0
;fflush+256
	callr %r10,__ofl_unlock
	retf 0
	nop 0
;fflush+272
	ldi %r3,1
	nop 0
	nop 0
;fflush+288
	lddz %r1,%r2,40
	lddz %r4,%r2,56
	bdeq %r1,%r4,fflush+336
;fflush+304
	mov2 %r8,%r9,%r2,%gz
	mov %r10,%gz
	callmi %r7,%r2,72
;fflush+320
	lddz %r1,%r2,40
	bdeq %r1,%gz,fflush+448
	nop 0
;fflush+336
	lddz %r1,%r2,8
	lddz %r4,%r2,16
	bdeq %r1,%r4,fflush+384
;fflush+352
	sub %r9,%r1,%r4
	ldi %r10,1
	mov %r8,%r2
;fflush+368
	callmi %r7,%r2,80
	nop 0
	nop 0
;fflush+384
	mov %r1,%gz
	std %gz,%r2,32
	std %gz,%r2,56
;fflush+400
	std %gz,%r2,40
	std %gz,%r2,16
	std %gz,%r2,8
;fflush+416
	bbsi %r3,0,fflush+464
	mov %r10,%r2
	callr %r9,__unlockfile
;fflush+432
	mov %r1,%gz
	retf 0
	nop 0
;fflush+448
	ldi %r1,-1
	bbci %r3,0,fflush+512
	nop 0
;fflush+464
	retf 0
	nop 0
	nop 0
;fflush+480
	mov %r1,%gz
	lddzr %r2,__stderr_used
	bdne %r2,%gz,fflush+96
;fflush+496
	jmp fflush+112
	nop 0
	nop 0
;fflush+512
	mov %r10,%r2
	callr %r9,__unlockfile
	retf 0
;__ftello_unlocked
	alloc 10
	ldbz %r3,%r1,0
	lddz %r2,%r1,80
;__ftello_unlocked+16
	bbsi %r3,7,__ftello_unlocked+32
	ldi %r9,1
	jmp __ftello_unlocked+64
;__ftello_unlocked+32
	lddz %r3,%r1,40
	lddz %r4,%r1,56
	cmpdeq %r3,%r3,%r4
;__ftello_unlocked+48
	ldi %r4,2
	ldi %r5,1
	cmovlsb %r9,%r3,%r5,%r4
;__ftello_unlocked+64
	mov2 %r7,%r8,%r1,%gz
	callri %r6,%r2,%gz
	bdlt %r7,%gz,__ftello_unlocked+144
;__ftello_unlocked+80
	lddz %r2,%r1,16
	bdeq %r2,%gz,__ftello_unlocked+112
	ldi %r3,8
;__ftello_unlocked+96
	jmp __ftello_unlocked+128
	nop 0
	nop 0
;__ftello_unlocked+112
	lddz %r2,%r1,56
	bdeq %r2,%gz,__ftello_unlocked+144
	ldi %r3,40
;__ftello_unlocked+128
	lddzx.xd %r1,%r1,%r3,0,0
	sub %r2,%r7,%r2
	add %r7,%r2,%r1
;__ftello_unlocked+144
	mov %r1,%r7
	retf 0
	nop 0
;__ftello
	alloc 11
	ldwz %r4,%r1,140
	ldi %r2,1
;__ftello+16
	mov %r3,%r2
	bwlt %r4,%gz,__ftello+48
	mov %r10,%r1
;__ftello+32
	callr %r9,__lockfile
	cmpweqi %r3,%r10,0
	nop 0
;__ftello+48
	ldbz %r5,%r1,0
	lddz %r4,%r1,80
	bbci %r5,7,__ftello+96
;__ftello+64
	lddz %r2,%r1,40
	lddz %r5,%r1,56
	cmpdeq %r2,%r2,%r5
;__ftello+80
	ldi %r5,2
	ldi %r6,1
	cmovlsb %r2,%r2,%r6,%r5
;__ftello+96
	mov2 %r8,%r9,%r1,%gz
	mov %r10,%r2
	callri %r7,%r4,%gz
;__ftello+112
	bdlt %r8,%gz,__ftello+176
	lddz %r2,%r1,16
	bdeq %r2,%gz,__ftello+144
;__ftello+128
	ldi %r4,8
	jmp __ftello+160
	nop 0
;__ftello+144
	lddz %r2,%r1,56
	bdeq %r2,%gz,__ftello+176
	ldi %r4,40
;__ftello+160
	lddzx.xd %r4,%r1,%r4,0,0
	sub %r2,%r8,%r2
	add %r8,%r2,%r4
;__ftello+176
	bbsi %r3,0,__ftello+192
	mov %r10,%r1
	callr %r9,__unlockfile
;__ftello+192
	mov %r1,%r8
	retf 0
	nop 0
;ftell
	alloc 11
	ldwz %r4,%r1,140
	ldi %r2,1
;ftell+16
	mov %r3,%r2
	bwlt %r4,%gz,ftell+48
	mov %r10,%r1
;ftell+32
	callr %r9,__lockfile
	cmpweqi %r3,%r10,0
	nop 0
;ftell+48
	ldbz %r5,%r1,0
	lddz %r4,%r1,80
	bbci %r5,7,ftell+96
;ftell+64
	lddz %r2,%r1,40
	lddz %r5,%r1,56
	cmpdeq %r2,%r2,%r5
;ftell+80
	ldi %r5,2
	ldi %r6,1
	cmovlsb %r2,%r2,%r6,%r5
;ftell+96
	mov2 %r8,%r9,%r1,%gz
	mov %r10,%r2
	callri %r7,%r4,%gz
;ftell+112
	bdlt %r8,%gz,ftell+176
	lddz %r2,%r1,16
	bdeq %r2,%gz,ftell+144
;ftell+128
	ldi %r4,8
	jmp ftell+160
	nop 0
;ftell+144
	lddz %r2,%r1,56
	bdeq %r2,%gz,ftell+176
	ldi %r4,40
;ftell+160
	lddzx.xd %r4,%r1,%r4,0,0
	sub %r2,%r8,%r2
	add %r8,%r2,%r4
;ftell+176
	bbsi %r3,0,ftell+192
	mov %r10,%r1
	callr %r9,__unlockfile
;ftell+192
	mov %r1,%r8
	retf 0
	nop 0
;remove
	alloc 10
	ldi %r3,87
	mov2 %r4,%r5,%r1,%gz
;remove+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;remove+32
	bwnei %r3,-21,remove+64
	ldi %r3,84
	mov2 %r4,%r5,%r1,%gz
;remove+48
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;remove+64
	sraiw %r9,%r3,0
	callr %r8,__syscall_ret
	mov %r1,%r9
;remove+80
	retf 0
	nop 0
	nop 0
;rename
	alloc 11
	ldi %r4,82
	mov2 %r5,%r6,%r1,%r2
;rename+16
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
;rename+32
	mov %r10,%r4
	callr %r9,__syscall_ret
	mov %r1,%r10
;rename+48
	retf 0
	nop 0
	nop 0
;HUlib_init
	alloc 1
	retf 0
	nop 0
;HUlib_clearTextLine
	alloc 3
	ldi.l %r2,4294967296
;HUlib_clearTextLine+16
	std %r2,%r1,104
	stb %gz,%r1,20
	retf 0
;HUlib_initTextLine
	alloc 6
	stw %r2,%r1,0
	stw %r3,%r1,4
;HUlib_initTextLine+16
	std %r4,%r1,8
	stw %r5,%r1,16
	nop 2
;HUlib_initTextLine+32
	ldi.l %r2,4294967296
	std %r2,%r1,104
;HUlib_initTextLine+48
	stb %gz,%r1,20
	retf 0
	nop 0
;HUlib_addCharToTextLine
	alloc 5
	ldwz %r4,%r1,104
	mov %r3,%gz
;HUlib_addCharToTextLine+16
	bweqi %r4,80,HUlib_addCharToTextLine+64
	addiws %r3,%r4,1
	stw %r3,%r1,104
;HUlib_addCharToTextLine+32
	stbx.xw %r2,%r1,%r4,0,20
	ldws %r2,%r1,104
	stbx.xd %gz,%r1,%r2,0,20
;HUlib_addCharToTextLine+48
	ldi %r2,4
	stw %r2,%r1,108
	ldi %r3,1
;HUlib_addCharToTextLine+64
	mov %r1,%r3
	retf 0
	nop 0
;HUlib_delCharFromTextLine
	alloc 3
	ldwz %r2,%r1,104
	bweq %r2,%gz,HUlib_delCharFromTextLine+64
;HUlib_delCharFromTextLine+16
	addiws %r2,%r2,-1
	stw %r2,%r1,104
	stbx.xw %gz,%r1,%r2,0,20
;HUlib_delCharFromTextLine+32
	ldi %r2,4
	stw %r2,%r1,108
	ldi %r1,1
;HUlib_delCharFromTextLine+48
	retf 0
	nop 0
	nop 0
;HUlib_delCharFromTextLine+64
	mov %r1,%gz
	retf 0
	nop 0
;HUlib_drawTextLine
	alloc 12
	ldwz %r4,%r1,104
	ldwz %r9,%r1,0
;HUlib_drawTextLine+16
	bwlti %r4,1,HUlib_drawTextLine+208
	mov %r5,%gz
	addi %r6,%r1,20
;HUlib_drawTextLine+32
	jmp HUlib_drawTextLine+96
	nop 0
	nop 0
;HUlib_drawTextLine+48
	addiws %r3,%r9,4
	bwgei %r9,316,HUlib_drawTextLine+224
	nop 0
;HUlib_drawTextLine+64
	addi %r5,%r5,1
	sraiw %r7,%r4,0
	mov %r9,%r3
;HUlib_drawTextLine+80
	bdle %r7,%r5,HUlib_drawTextLine+224
	nop 0
	nop 0
;HUlib_drawTextLine+96
	ldbsx.xd %r11,%r6,%r5,0,0
	callr %r10,toupper
	andi %r3,%r11,255
;HUlib_drawTextLine+112
	bweqi %r3,32,HUlib_drawTextLine+48
	ldwz %r7,%r1,16
	bwlt %r3,%r7,HUlib_drawTextLine+48
;HUlib_drawTextLine+128
	bwgeui %r3,96,HUlib_drawTextLine+48
	lddz %r4,%r1,8
	subws %r3,%r3,%r7
;HUlib_drawTextLine+144
	lddzx.xw %r11,%r4,%r3,3,0
	ldbs %r3,%r11,1
	ldbz %r4,%r11,0
;HUlib_drawTextLine+160
	slor %r3,%r4,%r3,8
	addws %r3,%r9,%r3
	bwgei %r3,321,HUlib_drawTextLine+320
;HUlib_drawTextLine+176
	ldwz %r10,%r1,4
	callr %r8,V_DrawPatchDirect
	ldwz %r4,%r1,104
;HUlib_drawTextLine+192
	jmp HUlib_drawTextLine+64
	nop 0
	nop 0
;HUlib_drawTextLine+208
	mov %r3,%r9
	nop 0
	nop 0
;HUlib_drawTextLine+224
	bweq %r2,%gz,HUlib_drawTextLine+304
	nop 0
	nop 0
;HUlib_drawTextLine+240
	ldwz %r2,%r1,16
	lddz %r4,%r1,8
	subfiws %r2,%r2,95
;HUlib_drawTextLine+256
	lddzx.xw %r11,%r4,%r2,3,0
	ldbs %r2,%r11,1
	ldbz %r4,%r11,0
;HUlib_drawTextLine+272
	slor %r2,%r4,%r2,8
	addws %r2,%r3,%r2
	bwgei %r2,321,HUlib_drawTextLine+304
;HUlib_drawTextLine+288
	ldwz %r10,%r1,4
	mov %r9,%r3
	callr %r8,V_DrawPatchDirect
;HUlib_drawTextLine+304
	retf 0
	nop 0
	nop 0
;HUlib_drawTextLine+320
	mov %r3,%r9
	bwne %r2,%gz,HUlib_drawTextLine+240
	jmp HUlib_drawTextLine+304
;HUlib_eraseTextLine
	alloc 11
	ldwzr %r2,automapactive
	bwne %r2,%gz,HUlib_eraseTextLine+224
;HUlib_eraseTextLine+16
	ldwzr %r2,viewwindowx
	bweq %r2,%gz,HUlib_eraseTextLine+224
	ldwz %r2,%r1,108
;HUlib_eraseTextLine+32
	bweq %r2,%gz,HUlib_eraseTextLine+224
	lddz %r2,%r1,8
	lddz %r2,%r2,0
;HUlib_eraseTextLine+48
	ldbs %r3,%r2,3
	ldbz %r2,%r2,2
	slor %r2,%r2,%r3,8
;HUlib_eraseTextLine+64
	bwlt %r2,%gz,HUlib_eraseTextLine+224
	ldwz %r5,%r1,4
	addiws %r6,%r2,1
;HUlib_eraseTextLine+80
	mulwsi %r2,%r5,320
	ldi %r3,320
	jmp HUlib_eraseTextLine+144
;HUlib_eraseTextLine+96
	mov2 %r9,%r10,%r2,%r3
	nop 0
	nop 0
;HUlib_eraseTextLine+112
	callr %r8,R_VideoErase
	ldwz %r4,%r1,4
	addiws %r5,%r5,1
;HUlib_eraseTextLine+128
	addws %r4,%r6,%r4
	addiws %r2,%r2,320
	bwle %r4,%r5,HUlib_eraseTextLine+224
;HUlib_eraseTextLine+144
	ldwzr %r4,viewwindowy
	bwlt %r5,%r4,HUlib_eraseTextLine+96
	ldwzr %r7,viewheight
;HUlib_eraseTextLine+160
	addws %r4,%r7,%r4
	bwle %r4,%r5,HUlib_eraseTextLine+96
	ldwzr %r10,viewwindowx
;HUlib_eraseTextLine+176
	mov %r9,%r2
	callr %r8,R_VideoErase
	ldwzr %r10,viewwindowx
;HUlib_eraseTextLine+192
	ldwzr %r4,viewwidth
	addws %r7,%r10,%r2
	addws %r9,%r7,%r4
;HUlib_eraseTextLine+208
	jmp HUlib_eraseTextLine+112
	nop 0
	nop 0
;HUlib_eraseTextLine+224
	ldwz %r2,%r1,108
	bweq %r2,%gz,HUlib_eraseTextLine+256
	addiws %r2,%r2,-1
;HUlib_eraseTextLine+240
	stw %r2,%r1,108
	nop 0
	nop 0
;HUlib_eraseTextLine+256
	retf 0
	nop 0
	nop 0
;HUlib_initSText
	alloc 11
	stw %r4,%r1,448
	std %r7,%r1,456
;HUlib_initSText+16
	ldi %r7,1
	stw %r7,%r1,464
	stw %gz,%r1,452
;HUlib_initSText+32
	bwlti %r4,1,HUlib_initSText+160
	mov %r7,%gz
	srliw %r4,%r4,0
;HUlib_initSText+48
	ldi.l %r8,4294967296
	nop 0
;HUlib_initSText+64
	lddz %r9,%r5,0
	ldbs %r10,%r9,3
	ldbz %r9,%r9,2
;HUlib_initSText+80
	slliw %r10,%r10,8
	nor %r9,%r10,%r9
	mulws %r9,%r7,%r9
;HUlib_initSText+96
	addws %r9,%r9,%r3
	stw %r2,%r1,0
	stw %r9,%r1,4
;HUlib_initSText+112
	std %r5,%r1,8
	stw %r6,%r1,16
	std %r8,%r1,104
;HUlib_initSText+128
	stb %gz,%r1,20
	addi %r7,%r7,1
	addi %r1,%r1,112
;HUlib_initSText+144
	bdne %r4,%r7,HUlib_initSText+64
	nop 0
	nop 0
;HUlib_initSText+160
	retf 0
	nop 0
	nop 0
;HUlib_addLineToSText
	alloc 5
	ldwz %r3,%r1,452
	ldwz %r2,%r1,448
;HUlib_addLineToSText+16
	addiws %r3,%r3,1
	cmpweq %r4,%r3,%r2
	cmovlsb %r3,%r4,%gz,%r3
;HUlib_addLineToSText+32
	stw %r3,%r1,452
	sraiw %r3,%r3,0
	muli %r3,%r3,112
;HUlib_addLineToSText+48
	ldi.l %r4,4294967296
	stdx.xd %r4,%r1,%r3,0,104
;HUlib_addLineToSText+64
	stbx.xd %gz,%r1,%r3,0,20
	bwlti %r2,1,HUlib_addLineToSText+128
	srliw %r2,%r2,0
;HUlib_addLineToSText+80
	addi %r1,%r1,108
	ldi %r3,4
	nop 0
;HUlib_addLineToSText+96
	stw %r3,%r1,0
	addi %r2,%r2,-1
	addi %r1,%r1,112
;HUlib_addLineToSText+112
	bdne %r2,%gz,HUlib_addLineToSText+96
	nop 0
	nop 0
;HUlib_addLineToSText+128
	retf 0
	nop 0
	nop 0
;HUlib_addMessageToSText
	alloc 10
	ldwz %r4,%r1,452
	ldwz %r5,%r1,448
;HUlib_addMessageToSText+16
	addiws %r4,%r4,1
	cmpweq %r6,%r4,%r5
	cmovlsb %r4,%r6,%gz,%r4
;HUlib_addMessageToSText+32
	stw %r4,%r1,452
	sraiw %r4,%r4,0
	muli %r4,%r4,112
;HUlib_addMessageToSText+48
	ldi.l %r6,4294967296
	stdx.xd %r6,%r1,%r4,0,104
;HUlib_addMessageToSText+64
	stbx.xd %gz,%r1,%r4,0,20
	ldi %r4,4
	bwlti %r5,1,HUlib_addMessageToSText+128
;HUlib_addMessageToSText+80
	srliw %r5,%r5,0
	addi %r6,%r1,108
	nop 0
;HUlib_addMessageToSText+96
	stw %r4,%r6,0
	addi %r5,%r5,-1
	addi %r6,%r6,112
;HUlib_addMessageToSText+112
	bdne %r5,%gz,HUlib_addMessageToSText+96
	nop 0
	nop 0
;HUlib_addMessageToSText+128
	ldi %r5,112
	bdeq %r2,%gz,HUlib_addMessageToSText+240
	ldbz %r6,%r2,0
;HUlib_addMessageToSText+144
	bweq %r6,%gz,HUlib_addMessageToSText+240
	addi %r2,%r2,1
	jmp HUlib_addMessageToSText+176
;HUlib_addMessageToSText+160
	ldbz %r6,%r2,0
	addi %r2,%r2,1
	bweq %r6,%gz,HUlib_addMessageToSText+240
;HUlib_addMessageToSText+176
	ldws %r8,%r1,452
	muli %r7,%r8,112
	ldwzx.xd %r7,%r1,%r7,0,104
;HUlib_addMessageToSText+192
	bweqi %r7,80,HUlib_addMessageToSText+160
	muladd %r8,%r8,%r5,%r1
	addiws %r9,%r7,1
;HUlib_addMessageToSText+208
	stw %r9,%r8,104
	stbx.xw %r6,%r8,%r7,0,20
	ldws %r6,%r8,104
;HUlib_addMessageToSText+224
	stbx.xd %gz,%r8,%r6,0,20
	stw %r4,%r8,108
	jmp HUlib_addMessageToSText+160
;HUlib_addMessageToSText+240
	ldbz %r6,%r3,0
	bweq %r6,%gz,HUlib_addMessageToSText+352
	addi %r2,%r3,1
;HUlib_addMessageToSText+256
	jmp HUlib_addMessageToSText+288
	nop 0
	nop 0
;HUlib_addMessageToSText+272
	ldbz %r6,%r2,0
	addi %r2,%r2,1
	bweq %r6,%gz,HUlib_addMessageToSText+352
;HUlib_addMessageToSText+288
	ldws %r7,%r1,452
	muli %r3,%r7,112
	ldwzx.xd %r3,%r1,%r3,0,104
;HUlib_addMessageToSText+304
	bweqi %r3,80,HUlib_addMessageToSText+272
	muladd %r7,%r7,%r5,%r1
	addiws %r8,%r3,1
;HUlib_addMessageToSText+320
	stw %r8,%r7,104
	stbx.xw %r6,%r7,%r3,0,20
	ldws %r3,%r7,104
;HUlib_addMessageToSText+336
	stbx.xd %gz,%r7,%r3,0,20
	stw %r4,%r7,108
	jmp HUlib_addMessageToSText+272
;HUlib_addMessageToSText+352
	retf 0
	nop 0
	nop 0
;HUlib_drawSText
	alloc 10
	lddz %r2,%r1,456
	ldwz %r2,%r2,0
;HUlib_drawSText+16
	bweq %r2,%gz,HUlib_drawSText+112
	ldwz %r2,%r1,448
	bwlti %r2,1,HUlib_drawSText+112
;HUlib_drawSText+32
	mov %r3,%gz
	ldi %r4,112
	nop 0
;HUlib_drawSText+48
	ldwz %r5,%r1,452
	subws %r5,%r5,%r3
	sraiw %r6,%r5,31
;HUlib_drawSText+64
	and %r2,%r6,%r2
	addws %r2,%r2,%r5
	muladd %r8,%r2,%r4,%r1
;HUlib_drawSText+80
	mov %r9,%gz
	callr %r7,HUlib_drawTextLine
	ldwz %r2,%r1,448
;HUlib_drawSText+96
	addiws %r3,%r3,1
	bwlt %r3,%r2,HUlib_drawSText+48
	nop 0
;HUlib_drawSText+112
	retf 0
	nop 0
	nop 0
;HUlib_eraseSText
	alloc 8
	ldwz %r2,%r1,448
	bwlti %r2,1,HUlib_eraseSText+128
;HUlib_eraseSText+16
	mov %r4,%gz
	ldi %r5,4
	mov %r2,%r1
;HUlib_eraseSText+32
	jmp HUlib_eraseSText+80
	nop 0
	nop 0
;HUlib_eraseSText+48
	mov %r7,%r2
	callr %r6,HUlib_eraseTextLine
	ldws %r3,%r1,448
;HUlib_eraseSText+64
	addi %r4,%r4,1
	addi %r2,%r2,112
	bdle %r3,%r4,HUlib_eraseSText+128
;HUlib_eraseSText+80
	ldwz %r3,%r1,464
	bweq %r3,%gz,HUlib_eraseSText+48
	lddz %r3,%r1,456
;HUlib_eraseSText+96
	ldwz %r3,%r3,0
	bwne %r3,%gz,HUlib_eraseSText+48
	stw %r5,%r2,108
;HUlib_eraseSText+112
	jmp HUlib_eraseSText+48
	nop 0
	nop 0
;HUlib_eraseSText+128
	lddz %r2,%r1,456
	ldwz %r2,%r2,0
	stw %r2,%r1,464
;HUlib_eraseSText+144
	retf 0
	nop 0
	nop 0
;HUlib_initIText
	alloc 7
	stw %gz,%r1,112
	std %r6,%r1,120
;HUlib_initIText+16
	ldi %r6,1
	stw %r6,%r1,128
	stw %r2,%r1,0
;HUlib_initIText+32
	stw %r3,%r1,4
	std %r4,%r1,8
	stw %r5,%r1,16
;HUlib_initIText+48
	ldi.l %r2,4294967296
	std %r2,%r1,104
;HUlib_initIText+64
	stb %gz,%r1,20
	retf 0
	nop 0
;HUlib_delCharFromIText
	alloc 4
	ldwz %r2,%r1,104
	bweq %r2,%gz,HUlib_delCharFromIText+64
;HUlib_delCharFromIText+16
	ldwz %r3,%r1,112
	bweq %r2,%r3,HUlib_delCharFromIText+64
	addiws %r2,%r2,-1
;HUlib_delCharFromIText+32
	stw %r2,%r1,104
	stbx.xw %gz,%r1,%r2,0,20
	ldi %r2,4
;HUlib_delCharFromIText+48
	stw %r2,%r1,108
	nop 0
	nop 0
;HUlib_delCharFromIText+64
	retf 0
	nop 0
	nop 0
;HUlib_eraseLineFromIText
	alloc 6
	ldwz %r4,%r1,112
	ldwz %r5,%r1,104
;HUlib_eraseLineFromIText+16
	bweq %r4,%r5,HUlib_eraseLineFromIText+112
	addi %r2,%r1,20
	ldi %r3,4
;HUlib_eraseLineFromIText+32
	jmp HUlib_eraseLineFromIText+96
	nop 0
	nop 0
;HUlib_eraseLineFromIText+48
	addiws %r4,%r5,-1
	stw %r4,%r1,104
	stbx.xw %gz,%r2,%r4,0,0
;HUlib_eraseLineFromIText+64
	stw %r3,%r1,108
	ldwz %r4,%r1,112
	ldwz %r5,%r1,104
;HUlib_eraseLineFromIText+80
	bweq %r4,%r5,HUlib_eraseLineFromIText+112
	nop 0
	nop 0
;HUlib_eraseLineFromIText+96
	bwne %r5,%gz,HUlib_eraseLineFromIText+48
	mov %r5,%gz
	bwne %r4,%r5,HUlib_eraseLineFromIText+96
;HUlib_eraseLineFromIText+112
	retf 0
	nop 0
	nop 0
;HUlib_resetIText
	alloc 3
	stw %gz,%r1,112
	nop 2
;HUlib_resetIText+16
	ldi.l %r2,4294967296
	std %r2,%r1,104
;HUlib_resetIText+32
	stb %gz,%r1,20
	retf 0
	nop 0
;HUlib_addPrefixToIText
	alloc 8
	ldbz %r4,%r2,0
	bweq %r4,%gz,HUlib_addPrefixToIText+112
;HUlib_addPrefixToIText+16
	addi %r3,%r1,20
	addi %r2,%r2,1
	ldi %r5,4
;HUlib_addPrefixToIText+32
	jmp HUlib_addPrefixToIText+64
	nop 0
	nop 0
;HUlib_addPrefixToIText+48
	ldbz %r4,%r2,0
	addi %r2,%r2,1
	bweq %r4,%gz,HUlib_addPrefixToIText+112
;HUlib_addPrefixToIText+64
	ldwz %r6,%r1,104
	bweqi %r6,80,HUlib_addPrefixToIText+48
	addiws %r7,%r6,1
;HUlib_addPrefixToIText+80
	stw %r7,%r1,104
	stbx.xw %r4,%r3,%r6,0,0
	ldws %r4,%r1,104
;HUlib_addPrefixToIText+96
	stbx.xd %gz,%r3,%r4,0,0
	stw %r5,%r1,108
	jmp HUlib_addPrefixToIText+48
;HUlib_addPrefixToIText+112
	ldwz %r2,%r1,104
	stw %r2,%r1,112
	retf 0
;HUlib_keyInIText
	alloc 6
	mov %r5,%r2
	callr %r4,toupper
;HUlib_keyInIText+16
	andi %r2,%r5,224
	addiws %r2,%r2,-32
	bwgeui %r2,64,HUlib_keyInIText+80
;HUlib_keyInIText+32
	ldwz %r2,%r1,104
	bweqi %r2,80,HUlib_keyInIText+160
	addiws %r3,%r2,1
;HUlib_keyInIText+48
	stw %r3,%r1,104
	stbx.xw %r5,%r1,%r2,0,20
	ldwz %r2,%r1,104
;HUlib_keyInIText+64
	jmp HUlib_keyInIText+144
	nop 0
	nop 0
;HUlib_keyInIText+80
	andi %r3,%r5,255
	bweqi %r3,13,HUlib_keyInIText+160
	mov %r2,%gz
;HUlib_keyInIText+96
	bwnei %r3,127,HUlib_keyInIText+176
	ldwz %r2,%r1,104
	bweq %r2,%gz,HUlib_keyInIText+160
;HUlib_keyInIText+112
	ldwz %r3,%r1,112
	bweq %r2,%r3,HUlib_keyInIText+160
	addiws %r2,%r2,-1
;HUlib_keyInIText+128
	stw %r2,%r1,104
	nop 0
	nop 0
;HUlib_keyInIText+144
	stbx.xw %gz,%r1,%r2,0,20
	ldi %r2,4
	stw %r2,%r1,108
;HUlib_keyInIText+160
	ldi %r2,1
	nop 0
	nop 0
;HUlib_keyInIText+176
	mov %r1,%r2
	retf 0
	nop 0
;HUlib_drawIText
	alloc 6
	lddz %r2,%r1,120
	ldwz %r2,%r2,0
;HUlib_drawIText+16
	bweq %r2,%gz,HUlib_drawIText+48
	ldi %r5,1
	mov %r4,%r1
;HUlib_drawIText+32
	callr %r3,HUlib_drawTextLine
	nop 0
	nop 0
;HUlib_drawIText+48
	retf 0
	nop 0
	nop 0
;HUlib_eraseIText
	alloc 5
	ldwz %r2,%r1,128
	bweq %r2,%gz,HUlib_eraseIText+48
;HUlib_eraseIText+16
	lddz %r2,%r1,120
	ldwz %r2,%r2,0
	bwne %r2,%gz,HUlib_eraseIText+48
;HUlib_eraseIText+32
	ldi %r2,4
	stw %r2,%r1,108
	nop 0
;HUlib_eraseIText+48
	mov %r4,%r1
	callr %r3,HUlib_eraseTextLine
	lddz %r2,%r1,120
;HUlib_eraseIText+64
	ldwz %r2,%r2,0
	stw %r2,%r1,128
	retf 0
;HU_Init
	allocsp 13,32
	mov %r6,%gz
	ldi %r5,33
;HU_Init+16
	ldafr %r1,.rodata+23394
	addi %r2,%sp,23
	ldi %r3,9
;HU_Init+32
	ldi %r4,1
	ldafr %r7,hu_font
	nop 0
;HU_Init+48
	addiws %r8,%r5,1
	stw %r5,%sp,0
	mov2 %r10,%r11,%r2,%r3
;HU_Init+64
	mov %r12,%r1
	callr %r9,snprintf
	mov2 %r11,%r12,%r2,%r4
;HU_Init+80
	callr %r10,W_CacheLumpName
	stdx.xd %r11,%r6,%r7,0,0
	addi %r6,%r6,8
;HU_Init+96
	mov %r5,%r8
	bdnei %r6,504,HU_Init+48
	retf 32
;HU_Stop
	alloc 1
	stbr %gz,headsupactive
	retf 0
;HU_Start
	alloc 14
	ldbzr %r1,headsupactive
	bbci %r1,0,HU_Start+32
;HU_Start+16
	stbr %gz,headsupactive
	nop 0
	nop 0
;HU_Start+32
	ldwsr %r1,consoleplayer
	ldafr %r2,players
	ldi %r3,328
;HU_Start+48
	muladd %r1,%r1,%r3,%r2
	stdr %r1,plr
	stwr %gz,message_on
;HU_Start+64
	ldafr %r13,message_on
	stwr %gz,message_dontfuckwithme
	stwr %gz,message_nottobefuckedwith
;HU_Start+80
	stwr %gz,chat_on
	ldafr %r7,w_message
	ldafr %r2,hu_font
;HU_Start+96
	ldi %r1,1
	ldi %r3,33
	mov2 %r8,%r9,%gz,%gz
;HU_Start+112
	mov2 %r10,%r11,%r1,%r2
	mov %r12,%r3
	callr %r6,HUlib_initSText
;HU_Start+128
	lddzr %r4,hu_font
	ldbs %r5,%r4,3
	ldbz %r4,%r4,2
;HU_Start+144
	slor %r4,%r4,%r5,8
	subfiws %r11,%r4,167
	ldafr %r9,w_title
;HU_Start+160
	mov2 %r10,%r12,%gz,%r2
	mov %r13,%r3
	callr %r8,HUlib_initTextLine
;HU_Start+176
	ldwzr %r2,gamemission
	cmpweqi %r3,%r2,5
	cmpweqi %r4,%r2,4
;HU_Start+192
	cmovlsb %r2,%r3,%r1,%r2
	cmovlsb %r2,%r4,%gz,%r2
	bwgeui %r2,4,HU_Start+560
;HU_Start+208
	srliw %r2,%r2,0
	ldafr %r3,.rodata+33768
	jmpt %r3,%r2
;HU_Start+224
	ldwzr %r2,gameepisode
	ldwzr %r3,gamemap
	mulwsi %r2,%r2,9
;HU_Start+240
	addws %r2,%r2,%r3
	addiws %r2,%r2,-10
	ldafr %r3,mapnames
;HU_Start+256
	lddzx.xw %r2,%r3,%r2,3,0
	ldwzr %r3,gameversion
	bweqi %r3,9,HU_Start+352
;HU_Start+272
	jmp HU_Start+368
	nop 0
	nop 0
;HU_Start+288
	ldwsr %r2,gamemap
	ldafr %r3,mapnames_commercial+504
	jmp HU_Start+336
;HU_Start+304
	ldwsr %r2,gamemap
	ldafr %r3,mapnames_commercial+248
	jmp HU_Start+336
;HU_Start+320
	ldwsr %r2,gamemap
	ldafr %r3,mapnames+352
	nop 0
;HU_Start+336
	lddzx.xd %r2,%r3,%r2,3,0
	ldwzr %r3,gameversion
	bwnei %r3,9,HU_Start+368
;HU_Start+352
	ldwsr %r2,gamemap
	ldafr %r3,player_names+24
	lddzx.xd %r2,%r3,%r2,3,0
;HU_Start+368
	ldbz %r3,%r2,0
	bweq %r3,%gz,HU_Start+432
	addi %r4,%r2,1
;HU_Start+384
	ldafr %r2,w_title
	nop 0
	nop 0
;HU_Start+400
	slsrai %r13,%r3,56,56
	mov %r12,%r2
	callr %r11,HUlib_addCharToTextLine
;HU_Start+416
	ldbz %r3,%r4,0
	addi %r4,%r4,1
	bwne %r3,%gz,HU_Start+400
;HU_Start+432
	lddzr %r2,hu_font
	ldbs %r3,%r2,3
	ldbz %r2,%r2,2
;HU_Start+448
	ldafr %r11,hu_font
	slor %r2,%r2,%r3,8
	addiws %r10,%r2,1
;HU_Start+464
	ldafr %r8,w_chat
	ldafr %r13,chat_on
	ldi %r12,33
;HU_Start+480
	mov %r9,%gz
	callr %r7,HUlib_initIText
	mov %r4,%gz
;HU_Start+496
	ldafr %r5,w_inputbuffer
	ldafr %r2,always_off
	nop 0
;HU_Start+512
	add %r8,%r4,%r5
	mov2 %r9,%r10,%gz,%gz
	mov2 %r11,%r12,%gz,%gz
;HU_Start+528
	mov %r13,%r2
	callr %r7,HUlib_initIText
	addi %r4,%r4,136
;HU_Start+544
	bdnei %r4,544,HU_Start+512
	stbr %r1,headsupactive
	retf 0
;HU_Start+560
	ldafr %r2,.rodata+9057
	ldwzr %r3,gameversion
	bweqi %r3,9,HU_Start+352
;HU_Start+576
	jmp HU_Start+368
	nop 0
	nop 0
;HU_Drawer
	alloc 5
	ldafr %r4,w_message
	callr %r3,HUlib_drawSText
;HU_Drawer+16
	ldafr %r4,w_chat
	callr %r3,HUlib_drawIText
	ldwzr %r1,automapactive
;HU_Drawer+32
	bweq %r1,%gz,HU_Drawer+64
	ldafr %r3,w_title
	mov %r4,%gz
;HU_Drawer+48
	callr %r2,HUlib_drawTextLine
	nop 0
	nop 0
;HU_Drawer+64
	retf 0
	nop 0
	nop 0
;HU_Erase
	alloc 3
	ldafr %r2,w_message
	callr %r1,HUlib_eraseSText
;HU_Erase+16
	ldafr %r2,w_chat
	callr %r1,HUlib_eraseIText
	ldafr %r2,w_title
;HU_Erase+32
	callr %r1,HUlib_eraseTextLine
	retf 0
	nop 0
;HU_Ticker
	alloc 22
	ldwzr %r1,message_counter
	bweq %r1,%gz,HU_Ticker+48
;HU_Ticker+16
	addiws %r1,%r1,-1
	stwr %r1,message_counter
	bwne %r1,%gz,HU_Ticker+48
;HU_Ticker+32
	stwr %gz,message_on
	stwr %gz,message_nottobefuckedwith
	nop 0
;HU_Ticker+48
	ldwzr %r2,showMessages
	ldwzr %r1,message_dontfuckwithme
	or %r2,%r2,%r1
;HU_Ticker+64
	bweq %r2,%gz,HU_Ticker+176
	lddzr %r2,plr
	lddz %r21,%r2,232
;HU_Ticker+80
	bdeq %r21,%gz,HU_Ticker+176
	ldwzr %r2,message_nottobefuckedwith
	cmpwnei %r1,%r1,0
;HU_Ticker+96
	cmpweqi %r2,%r2,0
	or %r1,%r2,%r1
	bbci %r1,0,HU_Ticker+176
;HU_Ticker+112
	ldafr %r19,w_message
	mov %r20,%gz
	callr %r18,HUlib_addMessageToSText
;HU_Ticker+128
	lddzr %r1,plr
	std %gz,%r1,232
	ldwzr %r1,message_dontfuckwithme
;HU_Ticker+144
	ldi %r2,1
	stwr %r2,message_on
	ldi %r2,140
;HU_Ticker+160
	stwr %r2,message_counter
	stwr %r1,message_nottobefuckedwith
	stwr %gz,message_dontfuckwithme
;HU_Ticker+176
	ldwzr %r1,netgame
	bweq %r1,%gz,HU_Ticker+528
	mov2 %r5,%r6,%gz,%gz
;HU_Ticker+192
	ldafr %r7,player_names
	ldafr %r8,playeringame
	ldafr %r9,players+16
;HU_Ticker+208
	ldafr %r10,chat_dest
	ldafr %r11,w_inputbuffer
	ldafr %r12,w_inputbuffer+104
;HU_Ticker+224
	ldafr %r13,w_inputbuffer+20
	ldafr %r1,w_message
	ldi %r14,1
;HU_Ticker+240
	ldi %r15,140
	ldi %r16,87
	ldi %r17,108
;HU_Ticker+256
	jmp HU_Ticker+336
	nop 0
	nop 0
;HU_Ticker+272
	stbx.xd %r3,%r6,%r10,0,0
	nop 0
	nop 0
;HU_Ticker+288
	stb %gz,%r9,0
	nop 0
	nop 0
;HU_Ticker+304
	addi %r6,%r6,1
	addi %r7,%r7,8
	addi %r5,%r5,136
;HU_Ticker+320
	addi %r8,%r8,4
	addi %r9,%r9,328
	bdeqi %r5,544,HU_Ticker+528
;HU_Ticker+336
	ldwz %r2,%r8,0
	bweq %r2,%gz,HU_Ticker+304
	ldwzr %r2,consoleplayer
;HU_Ticker+352
	bdeq %r6,%r2,HU_Ticker+304
	ldbz %r3,%r9,0
	bweq %r3,%gz,HU_Ticker+304
;HU_Ticker+368
	slsrai %r2,%r3,56,56
	bwlti %r2,6,HU_Ticker+272
	add %r2,%r5,%r11
;HU_Ticker+384
	mov2 %r20,%r21,%r2,%r3
	callr %r19,HUlib_keyInIText
	bwnei %r3,13,HU_Ticker+288
;HU_Ticker+400
	bweq %r20,%gz,HU_Ticker+288
	ldwzx.xd %r3,%r5,%r12,0,0
	bweq %r3,%gz,HU_Ticker+512
;HU_Ticker+416
	ldbsx.xd %r3,%r6,%r10,0,0
	bweqi %r3,5,HU_Ticker+448
	ldwzr %r4,consoleplayer
;HU_Ticker+432
	addiws %r4,%r4,1
	bwne %r4,%r3,HU_Ticker+512
	nop 0
;HU_Ticker+448
	lddz %r20,%r7,0
	add %r21,%r5,%r13
	mov %r19,%r1
;HU_Ticker+464
	callr %r18,HUlib_addMessageToSText
	ldwzr %r3,gamemode
	stwr %r14,message_nottobefuckedwith
;HU_Ticker+480
	stwr %r14,message_on
	cmpweqi %r3,%r3,2
	stwr %r15,message_counter
;HU_Ticker+496
	cmovlsb %r21,%r3,%r17,%r16
	mov %r20,%gz
	callr %r19,S_StartSound
;HU_Ticker+512
	mov %r21,%r2
	callr %r20,HUlib_resetIText
	jmp HU_Ticker+288
;HU_Ticker+528
	retf 0
	nop 0
	nop 0
;HU_queueChatChar
	alloc 5
	ldwzr %r2,head
	ldwzr %r4,tail
;HU_queueChatChar+16
	addiws %r3,%r2,1
	andi %r3,%r3,127
	bwne %r3,%r4,HU_queueChatChar+64
;HU_queueChatChar+32
	lddzr %r1,plr
	ldafr %r2,.rodata+18095
	std %r2,%r1,232
;HU_queueChatChar+48
	retf 0
	nop 0
	nop 0
;HU_queueChatChar+64
	ldafr %r4,chatchars
	stbx.xw %r1,%r4,%r2,0,0
	stwr %r3,head
;HU_queueChatChar+80
	retf 0
	nop 0
	nop 0
;HU_dequeueChatChar
	alloc 4
	ldwzr %r3,head
	ldwzr %r2,tail
;HU_dequeueChatChar+16
	mov %r1,%gz
	bweq %r3,%r2,HU_dequeueChatChar+64
	ldafr %r1,chatchars
;HU_dequeueChatChar+32
	ldbzx.xw %r1,%r1,%r2,0,0
	addiws %r2,%r2,1
	andi %r2,%r2,127
;HU_dequeueChatChar+48
	stwr %r2,tail
	nop 0
	nop 0
;HU_dequeueChatChar+64
	slsrai %r1,%r1,56,56
	retf 0
	nop 0
;HU_Responder
	alloc 19
	mov2 %r4,%r3,%gz,%gz
	ldafr %r2,playeringame
;HU_Responder+16
	ldwzx.xd %r5,%r4,%r2,0,0
	addi %r4,%r4,4
	addws %r3,%r5,%r3
;HU_Responder+32
	bdnei %r4,16,HU_Responder+16
	ldwz %r4,%r1,4
	bweqi %r4,182,HU_Responder+96
;HU_Responder+48
	bwnei %r4,184,HU_Responder+80
	ldwz %r2,%r1,0
	mov %r1,%gz
;HU_Responder+64
	cmpweqi %r2,%r2,0
	stwr %r2,HU_Responder.altdown
	retf 0
;HU_Responder+80
	ldwz %r5,%r1,0
	bweq %r5,%gz,HU_Responder+112
	nop 0
;HU_Responder+96
	mov %r1,%gz
	retf 0
	nop 0
;HU_Responder+112
	ldwzr %r5,chat_on
	bweq %r5,%gz,HU_Responder+224
	ldwzr %r2,HU_Responder.altdown
;HU_Responder+128
	bweq %r2,%gz,HU_Responder+272
	addiws %r3,%r4,-48
	andi %r1,%r3,255
;HU_Responder+144
	bwgeui %r1,10,HU_Responder+96
	ldwzr %r1,head
	ldwzr %r2,tail
;HU_Responder+160
	andi %r3,%r3,255
	ldafr %r4,chat_macros
	addiws %r5,%r1,1
;HU_Responder+176
	andi %r8,%r5,127
	lddzx.xd %r9,%r4,%r3,3,0
	ldafr %r5,chatchars
;HU_Responder+192
	ldi %r6,13
	ldafr %r7,.rodata+18095
	bwne %r8,%r2,HU_Responder+480
;HU_Responder+208
	lddzr %r8,plr
	std %r7,%r8,232
	jmp HU_Responder+496
;HU_Responder+224
	ldwzr %r5,key_message_refresh
	bwne %r4,%r5,HU_Responder+368
	ldi %r1,1
;HU_Responder+240
	stwr %r1,message_on
	ldi %r2,140
	stwr %r2,message_counter
;HU_Responder+256
	retf 0
	nop 0
	nop 0
;HU_Responder+272
	ldwz %r3,%r1,8
	andi %r2,%r3,255
	ldafr %r17,w_chat
;HU_Responder+288
	mov %r18,%r2
	callr %r16,HUlib_keyInIText
	mov %r1,%r17
;HU_Responder+304
	bweq %r17,%gz,HU_Responder+736
	ldwzr %r4,head
	ldwzr %r6,tail
;HU_Responder+320
	addiws %r5,%r4,1
	andi %r5,%r5,127
	bwne %r5,%r6,HU_Responder+720
;HU_Responder+336
	lddzr %r3,plr
	ldafr %r4,.rodata+18095
	std %r4,%r3,232
;HU_Responder+352
	jmp HU_Responder+736
	nop 0
	nop 0
;HU_Responder+368
	ldwzr %r4,netgame
	bweq %r4,%gz,HU_Responder+96
	ldwz %r4,%r1,8
;HU_Responder+384
	ldwzr %r1,key_multi_msg
	bwne %r4,%r1,HU_Responder+848
	ldi %r1,1
;HU_Responder+400
	stwr %r1,chat_on
	ldafr %r18,w_chat
	callr %r17,HUlib_resetIText
;HU_Responder+416
	ldwzr %r2,head
	ldwzr %r4,tail
	addiws %r3,%r2,1
;HU_Responder+432
	andi %r3,%r3,127
	bwne %r3,%r4,HU_Responder+1072
	nop 0
;HU_Responder+448
	lddzr %r2,plr
	ldafr %r3,.rodata+18095
	std %r3,%r2,232
;HU_Responder+464
	retf 0
	nop 0
	nop 0
;HU_Responder+480
	stbx.xw %r6,%r5,%r1,0,0
	stwr %r8,head
	mov %r1,%r8
;HU_Responder+496
	ldbz %r10,%r9,0
	bweq %r10,%gz,HU_Responder+592
	lddzr %r8,plr
;HU_Responder+512
	addi %r9,%r9,1
	jmp HU_Responder+560
	nop 0
;HU_Responder+528
	stbx.xw %r10,%r5,%r1,0,0
	stwr %r11,head
	mov %r1,%r11
;HU_Responder+544
	ldbz %r10,%r9,0
	addi %r9,%r9,1
	bweq %r10,%gz,HU_Responder+592
;HU_Responder+560
	addiws %r11,%r1,1
	andi %r11,%r11,127
	bwne %r11,%r2,HU_Responder+528
;HU_Responder+576
	std %r7,%r8,232
	jmp HU_Responder+544
	nop 0
;HU_Responder+592
	addiws %r8,%r1,1
	andi %r8,%r8,127
	sladd %r3,%r4,%r3,3
;HU_Responder+608
	bwne %r8,%r2,HU_Responder+640
	lddzr %r1,plr
	std %r7,%r1,232
;HU_Responder+624
	jmp HU_Responder+656
	nop 0
	nop 0
;HU_Responder+640
	stbx.xw %r6,%r5,%r1,0,0
	stwr %r8,head
	nop 0
;HU_Responder+656
	stwr %gz,chat_on
	lddz %r17,%r3,0
	ldafr %r1,HU_Responder.lastmessage
;HU_Responder+672
	ldi %r18,81
	mov %r16,%r1
	callr %r15,M_StringCopy
;HU_Responder+688
	lddzr %r2,plr
	std %r1,%r2,232
	ldi %r1,1
;HU_Responder+704
	retf 0
	nop 0
	nop 0
;HU_Responder+720
	ldafr %r6,chatchars
	stbx.xw %r3,%r6,%r4,0,0
	stwr %r5,head
;HU_Responder+736
	bweqi %r2,27,HU_Responder+816
	bwnei %r2,13,HU_Responder+832
	ldwzr %r2,w_chat+104
;HU_Responder+752
	stwr %gz,chat_on
	bweq %r2,%gz,HU_Responder+832
	ldafr %r2,HU_Responder.lastmessage
;HU_Responder+768
	ldafr %r17,w_chat+20
	ldi %r18,81
	mov %r16,%r2
;HU_Responder+784
	callr %r15,M_StringCopy
	lddzr %r3,plr
	std %r2,%r3,232
;HU_Responder+800
	retf 0
	nop 0
	nop 0
;HU_Responder+816
	stwr %gz,chat_on
	nop 0
	nop 0
;HU_Responder+832
	retf 0
	nop 0
	nop 0
;HU_Responder+848
	bwlti %r3,3,HU_Responder+96
	mov %r3,%gz
	ldwzr %r13,HU_Responder.num_nobrainers
;HU_Responder+864
	ldwzr %r5,consoleplayer
	lddzr %r6,plr
	ldafr %r7,key_multi_msgplayer
;HU_Responder+880
	ldafr %r8,.rodata+26976
	ldafr %r9,.rodata+13646
	ldafr %r10,.rodata+23404
;HU_Responder+896
	ldafr %r11,.rodata+6253
	ldafr %r12,.rodata+23423
	jmp HU_Responder+960
;HU_Responder+912
	mov %r14,%r13
	nop 0
	nop 0
;HU_Responder+928
	mov %r1,%gz
	addi %r3,%r3,1
	addi %r2,%r2,4
;HU_Responder+944
	addi %r7,%r7,4
	mov %r13,%r14
	bdeqi %r3,4,HU_Responder+832
;HU_Responder+960
	ldwz %r1,%r7,0
	bwne %r4,%r1,HU_Responder+912
	ldwz %r1,%r2,0
;HU_Responder+976
	bweq %r1,%gz,HU_Responder+992
	bdne %r5,%r3,HU_Responder+1104
	nop 0
;HU_Responder+992
	bdne %r5,%r3,HU_Responder+912
	addiws %r14,%r13,1
	stwr %r14,HU_Responder.num_nobrainers
;HU_Responder+1008
	mov %r1,%r8
	bwlti %r13,2,HU_Responder+1056
	mov %r1,%r9
;HU_Responder+1024
	bwltui %r13,5,HU_Responder+1056
	mov %r1,%r10
	bwltui %r13,8,HU_Responder+1056
;HU_Responder+1040
	cmpwltui %r1,%r13,31
	cmovlsb %r1,%r1,%r12,%r11
	nop 0
;HU_Responder+1056
	std %r1,%r6,232
	jmp HU_Responder+928
	nop 0
;HU_Responder+1072
	ldafr %r4,chatchars
	ldi %r5,5
	stbx.xw %r5,%r4,%r2,0,0
;HU_Responder+1088
	stwr %r3,head
	retf 0
	nop 0
;HU_Responder+1104
	ldi %r1,1
	stwr %r1,chat_on
	ldafr %r18,w_chat
;HU_Responder+1120
	callr %r17,HUlib_resetIText
	ldwzr %r2,head
	ldwzr %r5,tail
;HU_Responder+1136
	addiws %r4,%r2,1
	andi %r4,%r4,127
	bweq %r4,%r5,HU_Responder+448
;HU_Responder+1152
	addiws %r3,%r3,1
	ldafr %r5,chatchars
	stbx.xw %r3,%r5,%r2,0,0
;HU_Responder+1168
	stwr %r4,head
	retf 0
	nop 0
;I_CDMusInit
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusPrintStartup
	alloc 1
	retf 0
	nop 0
;I_CDMusPlay
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusStop
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusResume
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusSetVolume
	alloc 2
	stwr %gz,cd_Error
	mov %r1,%gz
;I_CDMusSetVolume+16
	retf 0
	nop 0
	nop 0
;I_CDMusFirstTrack
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusLastTrack
	alloc 2
	mov %r1,%gz
	retf 0
;I_CDMusTrackLength
	alloc 2
	mov %r1,%gz
	retf 0
;I_Endoom
	alloc 1
	retf 0
	nop 0
;I_ShutdownJoystick
	alloc 1
	retf 0
	nop 0
;I_InitJoystick
	alloc 1
	retf 0
	nop 0
;I_UpdateJoystick
	alloc 1
	retf 0
	nop 0
;I_BindJoystickVariables
	allocsp 11,48
	ldafr %r9,.rodata+13699
	ldafr %r10,usejoystick
;I_BindJoystickVariables+16
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+28567
	ldafr %r10,joystick_index
;I_BindJoystickVariables+32
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+23461
	ldafr %r10,joystick_x_axis
;I_BindJoystickVariables+48
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+28582
	ldafr %r10,joystick_y_axis
;I_BindJoystickVariables+64
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+10736
	ldafr %r10,joystick_strafe_axis
;I_BindJoystickVariables+80
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+11755
	ldafr %r10,joystick_x_invert
;I_BindJoystickVariables+96
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+19847
	ldafr %r10,joystick_y_invert
;I_BindJoystickVariables+112
	callr %r8,M_BindVariable
	ldafr %r9,.rodata+2569
	ldafr %r10,joystick_strafe_invert
;I_BindJoystickVariables+128
	callr %r8,M_BindVariable
	mov %r6,%gz
	ldafr %r1,joystick_physical_buttons
;I_BindJoystickVariables+144
	ldafr %r2,.rodata+3916
	addi %r3,%sp,16
	ldi %r4,32
;I_BindJoystickVariables+160
	stw %r6,%sp,0
	mov2 %r8,%r9,%r3,%r4
	mov %r10,%r2
;I_BindJoystickVariables+176
	callr %r7,M_snprintf
	mov2 %r9,%r10,%r3,%r1
	callr %r8,M_BindVariable
;I_BindJoystickVariables+192
	addi %r6,%r6,1
	addi %r1,%r1,4
	bdnei %r6,10,I_BindJoystickVariables+160
;I_BindJoystickVariables+208
	retf 48
	nop 0
	nop 0
;I_InitScale
	alloc 4
	stdr %r1,src_buffer
	stdr %r2,dest_buffer
;I_InitScale+16
	stwr %r3,dest_pitch
	retf 0
	nop 0
;I_Scale1x
	alloc 15
	bwle %r4,%r2,I_Scale1x+112
	ldwzr %r8,dest_pitch
;I_Scale1x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r8,%r2
	lddzr %r9,src_buffer
;I_Scale1x+32
	sraiw %r10,%r1,0
	addadd %r7,%r5,%r6,%r10
	mulwsi %r5,%r2,320
;I_Scale1x+48
	addadd %r6,%r9,%r5,%r10
	subws %r5,%r3,%r1
	sraiw %r3,%r8,0
;I_Scale1x+64
	mov2 %r12,%r13,%r7,%r6
	mov %r14,%r5
	callr %r11,memcpy
;I_Scale1x+80
	add %r7,%r7,%r3
	addiws %r2,%r2,1
	addi %r6,%r6,320
;I_Scale1x+96
	bwlt %r2,%r4,I_Scale1x+64
	nop 0
	nop 0
;I_Scale1x+112
	ldi %r1,1
	retf 0
	nop 0
;I_Scale2x
	alloc 13
	bwle %r4,%r2,I_Scale2x+192
	ldwzr %r8,dest_pitch
;I_Scale2x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r8,%r2
	addws %r6,%r6,%r1
;I_Scale2x+32
	ldax.xw %r5,%r5,%r6,1,0
	lddzr %r7,src_buffer
	sraiw %r6,%r8,0
;I_Scale2x+48
	mulwsi %r9,%r2,320
	sraiw %r10,%r1,0
	addadd %r7,%r7,%r9,%r10
;I_Scale2x+64
	slliw %r8,%r8,1
	sraiw %r8,%r8,0
	jmp I_Scale2x+112
;I_Scale2x+80
	add %r5,%r5,%r8
	addiws %r2,%r2,1
	addi %r7,%r7,320
;I_Scale2x+96
	bwle %r4,%r2,I_Scale2x+192
	nop 0
	nop 0
;I_Scale2x+112
	bwle %r3,%r1,I_Scale2x+80
	mov2 %r9,%r11,%gz,%r5
	mov %r10,%r1
;I_Scale2x+128
	ldbzx.xd %r12,%r7,%r9,0,0
	stb %r12,%r11,0
	stb %r12,%r11,1
;I_Scale2x+144
	ldbzx.xd %r12,%r7,%r9,0,0
	stbx.xd %r12,%r11,%r6,0,0
	stbx.xd %r12,%r11,%r6,0,1
;I_Scale2x+160
	addi %r11,%r11,2
	addiws %r10,%r10,1
	addi %r9,%r9,1
;I_Scale2x+176
	bwlt %r10,%r3,I_Scale2x+128
	jmp I_Scale2x+80
	nop 0
;I_Scale2x+192
	ldi %r1,1
	retf 0
	nop 0
;I_Scale3x
	alloc 14
	bwle %r4,%r2,I_Scale3x+256
	ldwzr %r9,dest_pitch
;I_Scale3x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r9,%r2
	addws %r6,%r6,%r1
;I_Scale3x+32
	mulwsi %r6,%r6,3
	ldax.xw %r5,%r5,%r6,0,0
	lddzr %r6,src_buffer
;I_Scale3x+48
	sraiw %r8,%r9,0
	mulwsi %r7,%r2,320
	sraiw %r10,%r1,0
;I_Scale3x+64
	addadd %r6,%r6,%r7,%r10
	mulwsi %r7,%r9,3
	addi %r8,%r8,1
;I_Scale3x+80
	ldi %r10,2
	ldax.xw %r9,%r10,%r9,1,0
	jmp I_Scale3x+128
;I_Scale3x+96
	add %r5,%r5,%r7
	addiws %r2,%r2,1
	addi %r6,%r6,320
;I_Scale3x+112
	bwle %r4,%r2,I_Scale3x+256
	nop 0
	nop 0
;I_Scale3x+128
	bwle %r3,%r1,I_Scale3x+96
	mov2 %r10,%r12,%gz,%r5
	mov %r11,%r1
;I_Scale3x+144
	ldbzx.xd %r13,%r6,%r10,0,0
	stb %r13,%r12,0
	stb %r13,%r12,1
;I_Scale3x+160
	ldbzx.xd %r13,%r6,%r10,0,0
	stb %r13,%r12,2
	stbx.xd %r13,%r12,%r8,0,-1
;I_Scale3x+176
	ldbzx.xd %r13,%r6,%r10,0,0
	stbx.xd %r13,%r12,%r8,0,0
	stbx.xd %r13,%r12,%r8,0,1
;I_Scale3x+192
	ldbzx.xd %r13,%r6,%r10,0,0
	stbx.xd %r13,%r12,%r9,0,-2
	stbx.xd %r13,%r12,%r9,0,-1
;I_Scale3x+208
	ldbzx.xd %r13,%r6,%r10,0,0
	stbx.xd %r13,%r12,%r9,0,0
	addi %r12,%r12,3
;I_Scale3x+224
	addiws %r11,%r11,1
	addi %r10,%r10,1
	bwlt %r11,%r3,I_Scale3x+144
;I_Scale3x+240
	jmp I_Scale3x+96
	nop 0
	nop 0
;I_Scale3x+256
	ldi %r1,1
	retf 0
	nop 0
;I_Scale4x
	alloc 15
	bwle %r4,%r2,I_Scale4x+320
	ldwzr %r7,dest_pitch
;I_Scale4x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r7,%r2
	addws %r6,%r6,%r1
;I_Scale4x+32
	ldax.xw %r5,%r5,%r6,2,0
	mulwsi %r10,%r7,3
	slliw %r6,%r7,1
;I_Scale4x+48
	sraiw %r9,%r6,0
	lddzr %r6,src_buffer
	sraiw %r8,%r7,0
;I_Scale4x+64
	mulwsi %r11,%r2,320
	sraiw %r12,%r1,0
	addadd %r6,%r6,%r11,%r12
;I_Scale4x+80
	slliw %r7,%r7,2
	sraiw %r7,%r7,0
	addi %r8,%r8,1
;I_Scale4x+96
	ori %r9,%r9,1
	addi %r10,%r10,3
	jmp I_Scale4x+144
;I_Scale4x+112
	add %r5,%r5,%r7
	addiws %r2,%r2,1
	addi %r6,%r6,320
;I_Scale4x+128
	bwle %r4,%r2,I_Scale4x+320
	nop 0
	nop 0
;I_Scale4x+144
	bwle %r3,%r1,I_Scale4x+112
	mov2 %r11,%r13,%gz,%r5
	mov %r12,%r1
;I_Scale4x+160
	ldbzx.xd %r14,%r6,%r11,0,0
	stb %r14,%r13,0
	stb %r14,%r13,1
;I_Scale4x+176
	ldbzx.xd %r14,%r6,%r11,0,0
	stb %r14,%r13,2
	stb %r14,%r13,3
;I_Scale4x+192
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r8,0,-1
	stbx.xd %r14,%r13,%r8,0,0
;I_Scale4x+208
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r8,0,1
	stbx.xd %r14,%r13,%r8,0,2
;I_Scale4x+224
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r9,0,-1
	stbx.xd %r14,%r13,%r9,0,0
;I_Scale4x+240
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r9,0,1
	stbx.xd %r14,%r13,%r9,0,2
;I_Scale4x+256
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r10,0,-3
	stbx.xd %r14,%r13,%r10,0,-2
;I_Scale4x+272
	ldbzx.xd %r14,%r6,%r11,0,0
	stbx.xd %r14,%r13,%r10,0,-1
	stbx.xd %r14,%r13,%r10,0,0
;I_Scale4x+288
	addi %r13,%r13,4
	addiws %r12,%r12,1
	addi %r11,%r11,1
;I_Scale4x+304
	bwlt %r12,%r3,I_Scale4x+160
	jmp I_Scale4x+112
	nop 0
;I_Scale4x+320
	ldi %r1,1
	retf 0
	nop 0
;I_Scale5x
	alloc 16
	bwle %r4,%r2,I_Scale5x+400
	ldwzr %r11,dest_pitch
;I_Scale5x+16
	lddzr %r5,dest_buffer
	mulws %r6,%r11,%r2
	addws %r6,%r6,%r1
;I_Scale5x+32
	mulwsi %r6,%r6,5
	ldax.xw %r5,%r5,%r6,0,0
	mulwsi %r6,%r11,3
;I_Scale5x+48
	slliw %r7,%r11,1
	sraiw %r7,%r7,0
	lddzr %r9,src_buffer
;I_Scale5x+64
	sraiw %r8,%r11,0
	mulwsi %r10,%r2,320
	sraiw %r12,%r1,0
;I_Scale5x+80
	addadd %r9,%r9,%r10,%r12
	mulwsi %r10,%r11,5
	ldi %r12,4
;I_Scale5x+96
	ldax.xw %r11,%r12,%r11,2,0
	jmp I_Scale5x+144
	nop 0
;I_Scale5x+112
	add %r5,%r5,%r10
	addiws %r2,%r2,1
	addi %r9,%r9,320
;I_Scale5x+128
	bwle %r4,%r2,I_Scale5x+400
	nop 0
	nop 0
;I_Scale5x+144
	bwle %r3,%r1,I_Scale5x+112
	mov2 %r12,%r14,%gz,%r5
	mov %r13,%r1
;I_Scale5x+160
	ldbzx.xd %r15,%r9,%r12,0,0
	stb %r15,%r14,0
	stb %r15,%r14,1
;I_Scale5x+176
	ldbzx.xd %r15,%r9,%r12,0,0
	stb %r15,%r14,2
	stb %r15,%r14,3
;I_Scale5x+192
	ldbzx.xd %r15,%r9,%r12,0,0
	stb %r15,%r14,4
	stbx.xd %r15,%r14,%r8,0,0
;I_Scale5x+208
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r8,0,1
	stbx.xd %r15,%r14,%r8,0,2
;I_Scale5x+224
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r8,0,3
	stbx.xd %r15,%r14,%r8,0,4
;I_Scale5x+240
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r7,0,0
	stbx.xd %r15,%r14,%r7,0,1
;I_Scale5x+256
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r7,0,2
	stbx.xd %r15,%r14,%r7,0,3
;I_Scale5x+272
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r7,0,4
	stbx.xd %r15,%r14,%r6,0,0
;I_Scale5x+288
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r6,0,1
	stbx.xd %r15,%r14,%r6,0,2
;I_Scale5x+304
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r6,0,3
	stbx.xd %r15,%r14,%r6,0,4
;I_Scale5x+320
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r11,0,-4
	stbx.xd %r15,%r14,%r11,0,-3
;I_Scale5x+336
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r11,0,-2
	stbx.xd %r15,%r14,%r11,0,-1
;I_Scale5x+352
	ldbzx.xd %r15,%r9,%r12,0,0
	stbx.xd %r15,%r14,%r11,0,0
	addi %r14,%r14,5
;I_Scale5x+368
	addiws %r13,%r13,1
	addi %r12,%r12,1
	bwlt %r13,%r3,I_Scale5x+160
;I_Scale5x+384
	jmp I_Scale5x+112
	nop 0
	nop 0
;I_Scale5x+400
	ldi %r1,1
	retf 0
	nop 0
;I_ResetScaleTables
	alloc 5
	lddzr %r4,stretch_tables.0
	bdeq %r4,%gz,I_ResetScaleTables+96
;I_ResetScaleTables+16
	callr %r3,Z_Free
	lddzr %r4,stretch_tables.1
	callr %r3,Z_Free
;I_ResetScaleTables+32
	ldafr %r4,.rodata+15152
	callr %r3,puts
	ldi %r4,20
;I_ResetScaleTables+48
	mov %r3,%r1
	callr %r2,GenerateStretchTable
	stdr %r3,stretch_tables.0
;I_ResetScaleTables+64
	ldi %r4,40
	mov %r3,%r1
	callr %r2,GenerateStretchTable
;I_ResetScaleTables+80
	stdr %r3,stretch_tables.1
	nop 0
	nop 0
;I_ResetScaleTables+96
	lddzr %r4,half_stretch_table
	bdeq %r4,%gz,I_ResetScaleTables+144
	callr %r3,Z_Free
;I_ResetScaleTables+112
	ldafr %r4,.rodata+9086
	callr %r3,puts
	ldi %r4,50
;I_ResetScaleTables+128
	mov %r3,%r1
	callr %r2,GenerateStretchTable
	stdr %r3,half_stretch_table
;I_ResetScaleTables+144
	retf 0
	nop 0
	nop 0
;GenerateStretchTable
	alloc 25
	ldi %r22,65536
	ldi %r23,1
;GenerateStretchTable+16
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov %r3,%gz
;GenerateStretchTable+32
	subfiws %r4,%r2,100
	addi %r5,%r1,2
	ldi %r6,3
;GenerateStretchTable+48
	ldi.l %r7,2147483647
	jmp GenerateStretchTable+80
;GenerateStretchTable+64
	addi %r3,%r3,1
	bdeqi %r3,256,GenerateStretchTable+416
	nop 0
;GenerateStretchTable+80
	mov %r8,%gz
	muladd %r9,%r3,%r6,%r1
	sladd %r10,%r22,%r3,8
;GenerateStretchTable+96
	jmp GenerateStretchTable+144
	nop 0
	nop 0
;GenerateStretchTable+112
	mov %r12,%r11
	nop 0
	nop 0
;GenerateStretchTable+128
	stbx.xd %r12,%r10,%r8,0,0
	addi %r8,%r8,1
	bdeqi %r8,256,GenerateStretchTable+64
;GenerateStretchTable+144
	muli %r14,%r8,3
	ldbz %r13,%r9,0
	ldbzx.xd %r15,%r1,%r14,0,0
;GenerateStretchTable+160
	mov2 %r11,%r12,%gz,%gz
	mulws %r13,%r2,%r13
	mulws %r15,%r4,%r15
;GenerateStretchTable+176
	addwz %r13,%r15,%r13
	ldbz %r15,%r9,1
	ldbzx.xd %r16,%r1,%r14,0,1
;GenerateStretchTable+192
	muli.l %r13,%r13,1374389535
	srli %r13,%r13,37
;GenerateStretchTable+208
	mulws %r15,%r2,%r15
	mulws %r16,%r4,%r16
	addwz %r15,%r16,%r15
;GenerateStretchTable+224
	ldbz %r16,%r9,2
	ldbzx.xd %r17,%r1,%r14,0,2
	nop 2
;GenerateStretchTable+240
	muli.l %r14,%r15,1374389535
	srli %r14,%r14,37
;GenerateStretchTable+256
	mulws %r15,%r2,%r16
	mulws %r16,%r4,%r17
	addwz %r15,%r16,%r15
;GenerateStretchTable+272
	muli.l %r15,%r15,1374389535
	srli %r15,%r15,37
;GenerateStretchTable+288
	mov2 %r16,%r17,%r5,%r7
	nop 0
	nop 0
;GenerateStretchTable+304
	ldbz %r18,%r16,-2
	ldbz %r19,%r16,-1
	subws %r18,%r13,%r18
;GenerateStretchTable+320
	mulws %r18,%r18,%r18
	ldbz %r20,%r16,0
	subws %r19,%r14,%r19
;GenerateStretchTable+336
	mulws %r19,%r19,%r19
	addws %r18,%r19,%r18
	subws %r19,%r15,%r20
;GenerateStretchTable+352
	mulws %r19,%r19,%r19
	addws %r18,%r18,%r19
	bweq %r18,%gz,GenerateStretchTable+112
;GenerateStretchTable+368
	cmpwlt %r19,%r18,%r17
	cmovlsb %r12,%r19,%r11,%r12
	minsw %r17,%r18,%r17
;GenerateStretchTable+384
	addi %r11,%r11,1
	addi %r16,%r16,3
	bdnei %r11,256,GenerateStretchTable+304
;GenerateStretchTable+400
	jmp GenerateStretchTable+128
	nop 0
	nop 0
;GenerateStretchTable+416
	mov %r1,%r22
	retf 0
	nop 0
;I_InitStretchTables
	alloc 6
	lddzr %r2,stretch_tables.0
	bdeq %r2,%gz,I_InitStretchTables+32
;I_InitStretchTables+16
	retf 0
	nop 0
	nop 0
;I_InitStretchTables+32
	ldafr %r5,.rodata+3260
	callr %r4,printf
	lddzr %r2,stdout
;I_InitStretchTables+48
	mov %r5,%r2
	callr %r4,fflush
	ldi %r5,20
;I_InitStretchTables+64
	mov %r4,%r1
	callr %r3,GenerateStretchTable
	stdr %r4,stretch_tables.0
;I_InitStretchTables+80
	ldafr %r5,.rodata+11773
	callr %r4,printf
	mov %r5,%r2
;I_InitStretchTables+96
	callr %r4,fflush
	ldi %r5,40
	mov %r4,%r1
;I_InitStretchTables+112
	callr %r3,GenerateStretchTable
	stdr %r4,stretch_tables.1
	ldi %r5,10
;I_InitStretchTables+128
	callr %r4,putchar
	retf 0
	nop 0
;I_Stretch1x
	alloc 22
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch1x+16
	bwne %r2,%gz,I_Stretch1x+496
	bwnei %r3,320,I_Stretch1x+496
	bwnei %r4,200,I_Stretch1x+496
;I_Stretch1x+32
	mov %r5,%gz
	lddzr %r4,dest_buffer
	ldwsr %r6,dest_pitch
;I_Stretch1x+48
	lddzr %r2,src_buffer
	lddzr %r7,stretch_tables.0
	lddzr %r8,stretch_tables.1
;I_Stretch1x+64
	add %r9,%r4,%r6
	muli %r10,%r6,6
	sladd %r11,%r4,%r6,1
;I_Stretch1x+80
	ldi %r1,3
	muladd %r12,%r6,%r1,%r4
	sladd %r13,%r4,%r6,2
;I_Stretch1x+96
	ldi %r3,320
	ldi %r1,1
	nop 0
;I_Stretch1x+112
	mov2 %r14,%r19,%r5,%r4
	mov2 %r20,%r21,%r2,%r3
	callr %r18,memcpy
;I_Stretch1x+128
	mov2 %r5,%r15,%gz,%gz
	add %r4,%r4,%r6
	nop 0
;I_Stretch1x+144
	ldbzx.xd %r16,%r2,%r5,0,0
	ldbzx.xd.l %r17,%r2,%r5,0,320
;I_Stretch1x+160
	slor %r16,%r17,%r16,8
	ldbzx.xd %r16,%r7,%r16,0,0
	mov %r17,%r15
;I_Stretch1x+176
	stbx.xd %r16,%r9,%r5,0,0
	addiws %r15,%r15,1
	addi %r5,%r5,1
;I_Stretch1x+192
	bwltui %r17,319,I_Stretch1x+144
	mov2 %r5,%r15,%gz,%gz
	add %r4,%r4,%r6
;I_Stretch1x+208
	ldbzx.xd.l %r16,%r2,%r5,0,320
	nop 2
;I_Stretch1x+224
	ldbzx.xd.l %r17,%r2,%r5,0,640
	slor %r16,%r17,%r16,8
;I_Stretch1x+240
	ldbzx.xd %r16,%r8,%r16,0,0
	mov %r17,%r15
	stbx.xd %r16,%r11,%r5,0,0
;I_Stretch1x+256
	addiws %r15,%r15,1
	addi %r5,%r5,1
	bwltui %r17,319,I_Stretch1x+208
;I_Stretch1x+272
	mov2 %r5,%r15,%gz,%gz
	add %r4,%r4,%r6
	nop 0
;I_Stretch1x+288
	ldbzx.xd.l %r16,%r2,%r5,0,960
	nop 2
;I_Stretch1x+304
	ldbzx.xd.l %r17,%r2,%r5,0,640
	slor %r16,%r17,%r16,8
;I_Stretch1x+320
	ldbzx.xd %r16,%r8,%r16,0,0
	mov %r17,%r15
	stbx.xd %r16,%r12,%r5,0,0
;I_Stretch1x+336
	addiws %r15,%r15,1
	addi %r5,%r5,1
	bwltui %r17,319,I_Stretch1x+288
;I_Stretch1x+352
	mov2 %r15,%r16,%gz,%gz
	add %r5,%r4,%r6
	addi %r20,%r2,1280
;I_Stretch1x+368
	ldbzx.xd.l %r4,%r2,%r15,0,1280
	nop 2
;I_Stretch1x+384
	ldbzx.xd.l %r17,%r2,%r15,0,960
	slor %r4,%r17,%r4,8
;I_Stretch1x+400
	ldbzx.xd %r4,%r7,%r4,0,0
	mov %r17,%r16
	stbx.xd %r4,%r13,%r15,0,0
;I_Stretch1x+416
	addiws %r16,%r16,1
	addi %r15,%r15,1
	bwltui %r17,319,I_Stretch1x+368
;I_Stretch1x+432
	add %r19,%r5,%r6
	mov %r21,%r3
	callr %r18,memcpy
;I_Stretch1x+448
	addadd %r4,%r5,%r6,%r6
	addi %r2,%r2,1600
	addiws %r5,%r14,5
;I_Stretch1x+464
	add %r9,%r9,%r10
	add %r11,%r11,%r10
	add %r12,%r12,%r10
;I_Stretch1x+480
	add %r13,%r13,%r10
	bwltui %r14,195,I_Stretch1x+112
	nop 0
;I_Stretch1x+496
	retf 0
	nop 0
	nop 0
;I_Stretch2x
	alloc 15
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch2x+16
	bwne %r2,%gz,I_Stretch2x+1056
	bwnei %r3,320,I_Stretch2x+1056
	bwnei %r4,200,I_Stretch2x+1056
;I_Stretch2x+32
	mov %r9,%gz
	lddzr %r2,src_buffer
	lddzr %r8,dest_buffer
;I_Stretch2x+48
	ldi %r3,320
	ldi %r4,640
	ldi %r5,960
;I_Stretch2x+64
	ldi %r6,1280
	ldi %r1,1
	nop 0
;I_Stretch2x+80
	mov2 %r11,%r7,%gz,%r9
	mov2 %r9,%r10,%r2,%r8
	nop 0
;I_Stretch2x+96
	ldbz %r12,%r9,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+112
	stb %r12,%r10,1
	addi %r10,%r10,2
	addi %r9,%r9,1
;I_Stretch2x+128
	addiws %r11,%r11,1
	bwltui %r13,319,I_Stretch2x+96
	ldwsr %r9,dest_pitch
;I_Stretch2x+144
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r2
	mov %r10,%r8
;I_Stretch2x+160
	ldbz %r12,%r9,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+176
	stb %r12,%r10,1
	addi %r10,%r10,2
	addi %r9,%r9,1
;I_Stretch2x+192
	addiws %r11,%r11,1
	bwltui %r13,319,I_Stretch2x+160
	ldwsr %r9,dest_pitch
;I_Stretch2x+208
	mov %r12,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.1
;I_Stretch2x+224
	mov2 %r10,%r11,%r8,%r2
	nop 0
	nop 0
;I_Stretch2x+240
	ldbz %r13,%r11,0
	ldbz %r14,%r11,320
	slor %r13,%r14,%r13,8
;I_Stretch2x+256
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r12
	stb %r13,%r10,0
;I_Stretch2x+272
	stb %r13,%r10,1
	addi %r10,%r10,2
	addi %r11,%r11,1
;I_Stretch2x+288
	addiws %r12,%r12,1
	bwltui %r14,319,I_Stretch2x+240
	ldwsr %r9,dest_pitch
;I_Stretch2x+304
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r3
	mov %r10,%r8
;I_Stretch2x+320
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+336
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+352
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+320
	ldwsr %r9,dest_pitch
;I_Stretch2x+368
	mov %r11,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.0
;I_Stretch2x+384
	mov2 %r10,%r12,%r4,%r8
	nop 0
	nop 0
;I_Stretch2x+400
	ldbzx.xd %r13,%r2,%r10,0,0
	ldbzx.xd.l %r14,%r2,%r10,0,-320
;I_Stretch2x+416
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r11
;I_Stretch2x+432
	stb %r13,%r12,0
	stb %r13,%r12,1
	addiws %r11,%r11,1
;I_Stretch2x+448
	addi %r10,%r10,1
	addi %r12,%r12,2
	bwltui %r14,319,I_Stretch2x+400
;I_Stretch2x+464
	ldwsr %r9,dest_pitch
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r4
;I_Stretch2x+480
	mov %r10,%r8
	nop 0
	nop 0
;I_Stretch2x+496
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+512
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+528
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+496
	ldwsr %r9,dest_pitch
;I_Stretch2x+544
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r4
	mov %r10,%r8
;I_Stretch2x+560
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+576
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+592
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+560
	ldwsr %r9,dest_pitch
;I_Stretch2x+608
	mov %r11,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.0
;I_Stretch2x+624
	mov2 %r10,%r12,%r4,%r8
	nop 0
	nop 0
;I_Stretch2x+640
	ldbzx.xd %r13,%r2,%r10,0,0
	ldbzx.xd.l %r14,%r2,%r10,0,320
;I_Stretch2x+656
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r11
;I_Stretch2x+672
	stb %r13,%r12,0
	stb %r13,%r12,1
	addiws %r11,%r11,1
;I_Stretch2x+688
	addi %r10,%r10,1
	addi %r12,%r12,2
	bwltui %r14,319,I_Stretch2x+640
;I_Stretch2x+704
	ldwsr %r9,dest_pitch
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r5
;I_Stretch2x+720
	mov %r10,%r8
	nop 0
	nop 0
;I_Stretch2x+736
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+752
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+768
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+736
	ldwsr %r9,dest_pitch
;I_Stretch2x+784
	mov %r11,%gz
	add %r8,%r8,%r9
	lddzr %r9,stretch_tables.1
;I_Stretch2x+800
	mov2 %r10,%r12,%r6,%r8
	nop 0
	nop 0
;I_Stretch2x+816
	ldbzx.xd %r13,%r2,%r10,0,0
	ldbzx.xd.l %r14,%r2,%r10,0,-320
;I_Stretch2x+832
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r9,%r13,0,0
	mov %r14,%r11
;I_Stretch2x+848
	stb %r13,%r12,0
	stb %r13,%r12,1
	addiws %r11,%r11,1
;I_Stretch2x+864
	addi %r10,%r10,1
	addi %r12,%r12,2
	bwltui %r14,319,I_Stretch2x+816
;I_Stretch2x+880
	ldwsr %r9,dest_pitch
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r6
;I_Stretch2x+896
	mov %r10,%r8
	nop 0
	nop 0
;I_Stretch2x+912
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+928
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+944
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+912
	ldwsr %r9,dest_pitch
;I_Stretch2x+960
	add %r8,%r8,%r9
	mov2 %r11,%r9,%gz,%r6
	mov %r10,%r8
;I_Stretch2x+976
	ldbzx.xd %r12,%r2,%r9,0,0
	mov %r13,%r11
	stb %r12,%r10,0
;I_Stretch2x+992
	stb %r12,%r10,1
	addi %r10,%r10,2
	addiws %r11,%r11,1
;I_Stretch2x+1008
	addi %r9,%r9,1
	bwltui %r13,319,I_Stretch2x+976
	ldwsr %r9,dest_pitch
;I_Stretch2x+1024
	add %r8,%r8,%r9
	addi %r2,%r2,1600
	addiws %r9,%r7,5
;I_Stretch2x+1040
	bwltui %r7,195,I_Stretch2x+80
	nop 0
	nop 0
;I_Stretch2x+1056
	retf 0
	nop 0
	nop 0
;I_Stretch3x
	alloc 13
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch3x+16
	bwne %r2,%gz,I_Stretch3x+1616
	bwnei %r3,320,I_Stretch3x+1616
	bwnei %r4,200,I_Stretch3x+1616
;I_Stretch3x+32
	mov %r7,%gz
	lddzr %r1,src_buffer
	lddzr %r6,dest_buffer
;I_Stretch3x+48
	ldi %r2,320
	ldi %r3,640
	ldi %r4,960
;I_Stretch3x+64
	mov2 %r9,%r5,%gz,%r7
	mov2 %r7,%r8,%r1,%r6
	nop 0
;I_Stretch3x+80
	ldbz %r10,%r7,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+96
	ldbz %r10,%r7,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+112
	addi %r8,%r8,3
	addi %r7,%r7,1
	addiws %r9,%r9,1
;I_Stretch3x+128
	bwltui %r11,319,I_Stretch3x+80
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+144
	mov2 %r9,%r7,%gz,%r1
	mov %r8,%r6
	nop 0
;I_Stretch3x+160
	ldbz %r10,%r7,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+176
	ldbz %r10,%r7,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+192
	addi %r8,%r8,3
	addi %r7,%r7,1
	addiws %r9,%r9,1
;I_Stretch3x+208
	bwltui %r11,319,I_Stretch3x+160
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+224
	mov2 %r9,%r7,%gz,%r1
	mov %r8,%r6
	nop 0
;I_Stretch3x+240
	ldbz %r10,%r7,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+256
	ldbz %r10,%r7,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+272
	addi %r8,%r8,3
	addi %r7,%r7,1
	addiws %r9,%r9,1
;I_Stretch3x+288
	bwltui %r11,319,I_Stretch3x+240
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+304
	add %r6,%r6,%r7
	lddzr %r7,stretch_tables.1
	mov2 %r8,%r9,%r2,%r6
;I_Stretch3x+320
	ldbzx.xd %r11,%r1,%r8,0,0
	ldbzx.xd.l %r12,%r1,%r8,0,-320
;I_Stretch3x+336
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r7,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+352
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+368
	addiws %r10,%r10,1
	addi %r8,%r8,1
	addi %r9,%r9,3
;I_Stretch3x+384
	bwltui %r12,319,I_Stretch3x+320
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+400
	mov2 %r9,%r7,%gz,%r2
	mov %r8,%r6
	nop 0
;I_Stretch3x+416
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+432
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+448
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+464
	bwltui %r11,319,I_Stretch3x+416
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+480
	mov2 %r9,%r7,%gz,%r2
	mov %r8,%r6
	nop 0
;I_Stretch3x+496
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+512
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+528
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+544
	bwltui %r11,319,I_Stretch3x+496
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+560
	mov2 %r9,%r7,%gz,%r2
	mov %r8,%r6
	nop 0
;I_Stretch3x+576
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+592
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+608
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+624
	bwltui %r11,319,I_Stretch3x+576
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+640
	add %r6,%r6,%r7
	lddzr %r7,stretch_tables.0
	mov2 %r8,%r9,%r2,%r6
;I_Stretch3x+656
	ldbzx.xd %r11,%r1,%r8,0,0
	ldbzx.xd.l %r12,%r1,%r8,0,320
;I_Stretch3x+672
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r7,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+688
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+704
	addiws %r10,%r10,1
	addi %r8,%r8,1
	addi %r9,%r9,3
;I_Stretch3x+720
	bwltui %r12,319,I_Stretch3x+656
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+736
	mov2 %r9,%r7,%gz,%r3
	mov %r8,%r6
	nop 0
;I_Stretch3x+752
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+768
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+784
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+800
	bwltui %r11,319,I_Stretch3x+752
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+816
	mov2 %r9,%r7,%gz,%r3
	mov %r8,%r6
	nop 0
;I_Stretch3x+832
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+848
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+864
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+880
	bwltui %r11,319,I_Stretch3x+832
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+896
	add %r6,%r6,%r7
	lddzr %r7,stretch_tables.0
	mov2 %r8,%r9,%r4,%r6
;I_Stretch3x+912
	ldbzx.xd %r11,%r1,%r8,0,0
	ldbzx.xd.l %r12,%r1,%r8,0,-320
;I_Stretch3x+928
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r7,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+944
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+960
	addiws %r10,%r10,1
	addi %r8,%r8,1
	addi %r9,%r9,3
;I_Stretch3x+976
	bwltui %r12,319,I_Stretch3x+912
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+992
	mov2 %r9,%r7,%gz,%r4
	mov %r8,%r6
	nop 0
;I_Stretch3x+1008
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1024
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1040
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1056
	bwltui %r11,319,I_Stretch3x+1008
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1072
	mov2 %r9,%r7,%gz,%r4
	mov %r8,%r6
	nop 0
;I_Stretch3x+1088
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1104
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1120
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1136
	bwltui %r11,319,I_Stretch3x+1088
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1152
	mov2 %r9,%r7,%gz,%r4
	mov %r8,%r6
	nop 0
;I_Stretch3x+1168
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1184
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1200
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1216
	bwltui %r11,319,I_Stretch3x+1168
	ldwsr %r7,dest_pitch
	mov %r10,%gz
;I_Stretch3x+1232
	add %r6,%r6,%r7
	ldi %r7,960
	lddzr %r8,stretch_tables.1
;I_Stretch3x+1248
	mov %r9,%r6
	nop 0
	nop 0
;I_Stretch3x+1264
	ldbzx.xd %r11,%r1,%r7,0,0
	ldbzx.xd.l %r12,%r1,%r7,0,320
;I_Stretch3x+1280
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r8,%r11,0,0
	mov %r12,%r10
;I_Stretch3x+1296
	stb %r11,%r9,0
	stb %r11,%r9,1
	stb %r11,%r9,2
;I_Stretch3x+1312
	addiws %r10,%r10,1
	addi %r7,%r7,1
	addi %r9,%r9,3
;I_Stretch3x+1328
	bwltui %r12,319,I_Stretch3x+1264
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1344
	mov %r9,%gz
	ldi %r7,1280
	mov %r8,%r6
;I_Stretch3x+1360
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1376
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1392
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1408
	bwltui %r11,319,I_Stretch3x+1360
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1424
	mov %r9,%gz
	ldi %r7,1280
	mov %r8,%r6
;I_Stretch3x+1440
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1456
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1472
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1488
	bwltui %r11,319,I_Stretch3x+1440
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1504
	mov %r9,%gz
	ldi %r7,1280
	mov %r8,%r6
;I_Stretch3x+1520
	ldbzx.xd %r10,%r1,%r7,0,0
	stb %r10,%r8,0
	stb %r10,%r8,1
;I_Stretch3x+1536
	ldbzx.xd %r10,%r1,%r7,0,0
	mov %r11,%r9
	stb %r10,%r8,2
;I_Stretch3x+1552
	addi %r8,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch3x+1568
	bwltui %r11,319,I_Stretch3x+1520
	ldwsr %r7,dest_pitch
	add %r6,%r6,%r7
;I_Stretch3x+1584
	addi %r1,%r1,1600
	addiws %r7,%r5,5
	bwltui %r5,195,I_Stretch3x+64
;I_Stretch3x+1600
	ldi %r1,1
	nop 0
	nop 0
;I_Stretch3x+1616
	retf 0
	nop 0
	nop 0
;I_Stretch4x
	alloc 12
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch4x+16
	bwne %r2,%gz,I_Stretch4x+2288
	bwnei %r3,320,I_Stretch4x+2288
	bwnei %r4,200,I_Stretch4x+2288
;I_Stretch4x+32
	mov %r6,%gz
	lddzr %r1,src_buffer
	lddzr %r5,dest_buffer
;I_Stretch4x+48
	ldi %r2,320
	ldi %r3,640
	nop 0
;I_Stretch4x+64
	mov2 %r8,%r4,%gz,%r6
	mov2 %r6,%r7,%r1,%r5
	nop 0
;I_Stretch4x+80
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+96
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+112
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+128
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+80
	ldwsr %r6,dest_pitch
;I_Stretch4x+144
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r1
	mov %r7,%r5
;I_Stretch4x+160
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+176
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+192
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+208
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+160
	ldwsr %r6,dest_pitch
;I_Stretch4x+224
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r1
	mov %r7,%r5
;I_Stretch4x+240
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+256
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+272
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+288
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+240
	ldwsr %r6,dest_pitch
;I_Stretch4x+304
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r1
	mov %r7,%r5
;I_Stretch4x+320
	ldbz %r9,%r6,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+336
	ldbz %r9,%r6,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+352
	stb %r9,%r7,3
	addi %r7,%r7,4
	addi %r6,%r6,1
;I_Stretch4x+368
	addiws %r8,%r8,1
	bwltui %r10,319,I_Stretch4x+320
	ldwsr %r6,dest_pitch
;I_Stretch4x+384
	mov %r9,%gz
	add %r5,%r5,%r6
	lddzr %r6,stretch_tables.0
;I_Stretch4x+400
	mov2 %r7,%r8,%r2,%r5
	nop 0
	nop 0
;I_Stretch4x+416
	ldbzx.xd %r10,%r1,%r7,0,0
	ldbzx.xd.l %r11,%r1,%r7,0,-320
;I_Stretch4x+432
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r6,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+448
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+464
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch4x+480
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+416
	ldwsr %r6,dest_pitch
;I_Stretch4x+496
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+512
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+528
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+544
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+560
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+512
	ldwsr %r6,dest_pitch
;I_Stretch4x+576
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+592
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+608
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+624
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+640
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+592
	ldwsr %r6,dest_pitch
;I_Stretch4x+656
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+672
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+688
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+704
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+720
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+672
	ldwsr %r6,dest_pitch
;I_Stretch4x+736
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r2
	mov %r7,%r5
;I_Stretch4x+752
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+768
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+784
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+800
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+752
	ldwsr %r6,dest_pitch
;I_Stretch4x+816
	mov %r9,%gz
	add %r5,%r5,%r6
	lddzr %r6,stretch_tables.1
;I_Stretch4x+832
	mov2 %r7,%r8,%r3,%r5
	nop 0
	nop 0
;I_Stretch4x+848
	ldbzx.xd %r10,%r1,%r7,0,0
	ldbzx.xd.l %r11,%r1,%r7,0,-320
;I_Stretch4x+864
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r6,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+880
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+896
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r7,%r7,1
;I_Stretch4x+912
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+848
	ldwsr %r6,dest_pitch
;I_Stretch4x+928
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r3
	mov %r7,%r5
;I_Stretch4x+944
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+960
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+976
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+992
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+944
	ldwsr %r6,dest_pitch
;I_Stretch4x+1008
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r3
	mov %r7,%r5
;I_Stretch4x+1024
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1040
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1056
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1072
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1024
	ldwsr %r6,dest_pitch
;I_Stretch4x+1088
	add %r5,%r5,%r6
	mov2 %r8,%r6,%gz,%r3
	mov %r7,%r5
;I_Stretch4x+1104
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1120
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1136
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1152
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1104
	ldwsr %r6,dest_pitch
;I_Stretch4x+1168
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,640
;I_Stretch4x+1184
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1200
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1216
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1232
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1248
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1200
	ldwsr %r6,dest_pitch
;I_Stretch4x+1264
	mov %r9,%gz
	add %r5,%r5,%r6
	ldi %r6,640
;I_Stretch4x+1280
	lddzr %r7,stretch_tables.1
	mov %r8,%r5
	nop 0
;I_Stretch4x+1296
	ldbzx.xd %r10,%r1,%r6,0,0
	ldbzx.xd.l %r11,%r1,%r6,0,320
;I_Stretch4x+1312
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r7,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+1328
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+1344
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r6,%r6,1
;I_Stretch4x+1360
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+1296
	ldwsr %r6,dest_pitch
;I_Stretch4x+1376
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1392
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1408
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1424
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1440
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1456
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1408
	ldwsr %r6,dest_pitch
;I_Stretch4x+1472
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1488
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1504
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1520
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1536
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1552
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1504
	ldwsr %r6,dest_pitch
;I_Stretch4x+1568
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1584
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1600
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1616
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1632
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1648
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1600
	ldwsr %r6,dest_pitch
;I_Stretch4x+1664
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,960
;I_Stretch4x+1680
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1696
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1712
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1728
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1744
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1696
	ldwsr %r6,dest_pitch
;I_Stretch4x+1760
	mov %r9,%gz
	add %r5,%r5,%r6
	ldi %r6,960
;I_Stretch4x+1776
	lddzr %r7,stretch_tables.0
	mov %r8,%r5
	nop 0
;I_Stretch4x+1792
	ldbzx.xd %r10,%r1,%r6,0,0
	ldbzx.xd.l %r11,%r1,%r6,0,320
;I_Stretch4x+1808
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r7,%r10,0,0
	mov %r11,%r9
;I_Stretch4x+1824
	stb %r10,%r8,0
	stb %r10,%r8,1
	stb %r10,%r8,2
;I_Stretch4x+1840
	stb %r10,%r8,3
	addiws %r9,%r9,1
	addi %r6,%r6,1
;I_Stretch4x+1856
	addi %r8,%r8,4
	bwltui %r11,319,I_Stretch4x+1792
	ldwsr %r6,dest_pitch
;I_Stretch4x+1872
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+1888
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+1904
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+1920
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+1936
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+1952
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+1904
	ldwsr %r6,dest_pitch
;I_Stretch4x+1968
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+1984
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+2000
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+2016
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+2032
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+2048
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+2000
	ldwsr %r6,dest_pitch
;I_Stretch4x+2064
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+2080
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+2096
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+2112
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+2128
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+2144
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+2096
	ldwsr %r6,dest_pitch
;I_Stretch4x+2160
	add %r5,%r5,%r6
	mov %r8,%gz
	ldi %r6,1280
;I_Stretch4x+2176
	mov %r7,%r5
	nop 0
	nop 0
;I_Stretch4x+2192
	ldbzx.xd %r9,%r1,%r6,0,0
	stb %r9,%r7,0
	stb %r9,%r7,1
;I_Stretch4x+2208
	ldbzx.xd %r9,%r1,%r6,0,0
	mov %r10,%r8
	stb %r9,%r7,2
;I_Stretch4x+2224
	stb %r9,%r7,3
	addi %r7,%r7,4
	addiws %r8,%r8,1
;I_Stretch4x+2240
	addi %r6,%r6,1
	bwltui %r10,319,I_Stretch4x+2192
	ldwsr %r6,dest_pitch
;I_Stretch4x+2256
	add %r5,%r5,%r6
	addi %r1,%r1,1600
	addiws %r6,%r4,5
;I_Stretch4x+2272
	bwltui %r4,195,I_Stretch4x+64
	ldi %r1,1
	nop 0
;I_Stretch4x+2288
	retf 0
	nop 0
	nop 0
;I_Stretch5x
	alloc 19
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Stretch5x+16
	bwne %r2,%gz,I_Stretch5x+752
	bwnei %r3,320,I_Stretch5x+752
	bwnei %r4,200,I_Stretch5x+752
;I_Stretch5x+32
	ldwsr %r1,dest_pitch
	mov %r9,%gz
	lddzr %r2,src_buffer
;I_Stretch5x+48
	lddzr %r4,dest_buffer
	slli %r3,%r1,1
	muli %r5,%r1,3
;I_Stretch5x+64
	slli %r6,%r1,2
	muli %r7,%r1,5
	nop 0
;I_Stretch5x+80
	mov2 %r11,%r8,%gz,%r9
	mov2 %r9,%r10,%r2,%r4
	nop 0
;I_Stretch5x+96
	ldbz %r12,%r9,0
	stb %r12,%r10,0
	stb %r12,%r10,1
;I_Stretch5x+112
	ldbz %r12,%r9,0
	stb %r12,%r10,2
	stb %r12,%r10,3
;I_Stretch5x+128
	ldbz %r12,%r9,0
	mov %r13,%r11
	stb %r12,%r10,4
;I_Stretch5x+144
	addi %r10,%r10,5
	addi %r9,%r9,1
	addiws %r11,%r11,1
;I_Stretch5x+160
	bwltui %r13,319,I_Stretch5x+96
	mov %r11,%gz
	add %r9,%r4,%r1
;I_Stretch5x+176
	mov2 %r10,%r12,%r1,%r2
	nop 0
	nop 0
;I_Stretch5x+192
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+208
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+224
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+240
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+256
	bwltui %r14,319,I_Stretch5x+192
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+272
	mov2 %r10,%r12,%r3,%r2
	nop 0
	nop 0
;I_Stretch5x+288
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+304
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+320
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+336
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+352
	bwltui %r14,319,I_Stretch5x+288
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+368
	mov2 %r10,%r12,%r5,%r2
	nop 0
	nop 0
;I_Stretch5x+384
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+400
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+416
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+432
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+448
	bwltui %r14,319,I_Stretch5x+384
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+464
	mov2 %r10,%r12,%r6,%r2
	nop 0
	nop 0
;I_Stretch5x+480
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+496
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+512
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+528
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+544
	bwltui %r14,319,I_Stretch5x+480
	mov %r11,%gz
	add %r9,%r9,%r1
;I_Stretch5x+560
	mov2 %r10,%r12,%r7,%r2
	nop 0
	nop 0
;I_Stretch5x+576
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,0
	stbx.xd %r13,%r4,%r10,0,1
;I_Stretch5x+592
	ldbz %r13,%r12,0
	stbx.xd %r13,%r4,%r10,0,2
	stbx.xd %r13,%r4,%r10,0,3
;I_Stretch5x+608
	ldbz %r13,%r12,0
	mov %r14,%r11
	stbx.xd %r13,%r4,%r10,0,4
;I_Stretch5x+624
	addi %r12,%r12,1
	addiws %r11,%r11,1
	addi %r10,%r10,5
;I_Stretch5x+640
	bwltui %r14,319,I_Stretch5x+576
	add %r4,%r9,%r1
	addi %r2,%r2,320
;I_Stretch5x+656
	addiws %r9,%r8,1
	bwltui %r8,199,I_Stretch5x+80
	ldafr %r18,.rodata+1691
;I_Stretch5x+672
	callr %r17,M_CheckParm
	ldi %r1,1
	bwlti %r18,1,I_Stretch5x+752
;I_Stretch5x+688
	lddzr %r2,dest_buffer
	ldwzr %r3,dest_pitch
	mov %r4,%gz
;I_Stretch5x+704
	ldax.xw %r2,%r2,%r3,1,0
	mulwsi %r5,%r3,3
	ldi %r3,1600
;I_Stretch5x+720
	mov2 %r6,%r16,%r4,%r2
	mov2 %r17,%r18,%gz,%r3
	callr %r15,memset
;I_Stretch5x+736
	add %r2,%r2,%r5
	addiws %r4,%r4,3
	bwltui %r6,1195,I_Stretch5x+720
;I_Stretch5x+752
	retf 0
	nop 0
	nop 0
;I_Squash1x
	alloc 13
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash1x+16
	bwne %r2,%gz,I_Squash1x+256
	bwnei %r3,320,I_Squash1x+256
	bwnei %r4,200,I_Squash1x+256
;I_Squash1x+32
	mov %r8,%gz
	lddzr %r1,src_buffer
	lddzr %r2,dest_buffer
;I_Squash1x+48
	lddzr %r3,stretch_tables.0
	lddzr %r4,stretch_tables.1
	ldwsr %r5,dest_pitch
;I_Squash1x+64
	addi %r6,%r1,2
	ldi %r1,1
	nop 0
;I_Squash1x+80
	mov2 %r9,%r7,%gz,%r8
	mov2 %r8,%r10,%r6,%r2
	nop 0
;I_Squash1x+96
	ldbz %r11,%r8,-1
	ldbz %r12,%r8,-2
	slor %r11,%r12,%r11,8
;I_Squash1x+112
	ldbzx.xd %r11,%r3,%r11,0,0
	stb %r11,%r10,0
	ldbz %r11,%r8,0
;I_Squash1x+128
	ldbz %r12,%r8,-1
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r4,%r11,0,0
;I_Squash1x+144
	stb %r11,%r10,1
	ldbz %r11,%r8,0
	ldbz %r12,%r8,1
;I_Squash1x+160
	slor %r11,%r12,%r11,8
	ldbzx.xd %r11,%r4,%r11,0,0
	stb %r11,%r10,2
;I_Squash1x+176
	ldbz %r11,%r8,1
	ldbz %r12,%r8,2
	slor %r11,%r12,%r11,8
;I_Squash1x+192
	ldbzx.xd %r11,%r3,%r11,0,0
	mov %r12,%r9
	stb %r11,%r10,3
;I_Squash1x+208
	addiws %r9,%r9,5
	addi %r8,%r8,5
	addi %r10,%r10,4
;I_Squash1x+224
	bwltui %r12,315,I_Squash1x+96
	add %r2,%r2,%r5
	addiws %r8,%r7,1
;I_Squash1x+240
	addi %r6,%r6,320
	bwltui %r7,199,I_Squash1x+80
	nop 0
;I_Squash1x+256
	retf 0
	nop 0
	nop 0
;I_Squash2x
	alloc 14
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash2x+16
	bwne %r2,%gz,I_Squash2x+352
	bwnei %r3,320,I_Squash2x+352
	bwnei %r4,200,I_Squash2x+352
;I_Squash2x+32
	ldwzr %r1,dest_pitch
	mov %r9,%gz
	lddzr %r2,src_buffer
;I_Squash2x+48
	lddzr %r7,dest_buffer
	sraiw %r3,%r1,0
	lddzr %r4,stretch_tables.1
;I_Squash2x+64
	lddzr %r5,stretch_tables.0
	slliw %r1,%r1,1
	sraiw %r6,%r1,0
;I_Squash2x+80
	addi %r7,%r7,7
	ldi %r1,1
	nop 0
;I_Squash2x+96
	mov2 %r10,%r8,%gz,%r9
	mov2 %r9,%r11,%r7,%r2
	nop 0
;I_Squash2x+112
	ldbz %r12,%r11,0
	stbx.xd %r12,%r9,%r3,0,-7
	stb %r12,%r9,-7
;I_Squash2x+128
	ldbz %r12,%r11,1
	ldbz %r13,%r11,0
	slor %r12,%r13,%r12,8
;I_Squash2x+144
	ldbzx.xd %r12,%r4,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-6
	stb %r12,%r9,-6
;I_Squash2x+160
	ldbz %r12,%r11,1
	stbx.xd %r12,%r9,%r3,0,-5
	stb %r12,%r9,-5
;I_Squash2x+176
	ldbz %r12,%r11,1
	ldbz %r13,%r11,2
	slor %r12,%r13,%r12,8
;I_Squash2x+192
	ldbzx.xd %r12,%r5,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-4
	stb %r12,%r9,-4
;I_Squash2x+208
	ldbz %r12,%r11,3
	ldbz %r13,%r11,2
	slor %r12,%r13,%r12,8
;I_Squash2x+224
	ldbzx.xd %r12,%r5,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-3
	stb %r12,%r9,-3
;I_Squash2x+240
	ldbz %r12,%r11,3
	stbx.xd %r12,%r9,%r3,0,-2
	stb %r12,%r9,-2
;I_Squash2x+256
	ldbz %r12,%r11,3
	ldbz %r13,%r11,4
	slor %r12,%r13,%r12,8
;I_Squash2x+272
	ldbzx.xd %r12,%r4,%r12,0,0
	stbx.xd %r12,%r9,%r3,0,-1
	stb %r12,%r9,-1
;I_Squash2x+288
	ldbz %r12,%r11,4
	mov %r13,%r10
	stbx.xd %r12,%r9,%r3,0,0
;I_Squash2x+304
	stb %r12,%r9,0
	addiws %r10,%r10,5
	addi %r11,%r11,5
;I_Squash2x+320
	addi %r9,%r9,8
	bwltui %r13,315,I_Squash2x+112
	addi %r2,%r2,320
;I_Squash2x+336
	addiws %r9,%r8,1
	add %r7,%r7,%r6
	bwltui %r8,199,I_Squash2x+96
;I_Squash2x+352
	retf 0
	nop 0
	nop 0
;I_InitSquashTable
	alloc 6
	lddzr %r2,half_stretch_table
	bdeq %r2,%gz,I_InitSquashTable+32
;I_InitSquashTable+16
	retf 0
	nop 0
	nop 0
;I_InitSquashTable+32
	ldafr %r5,.rodata+27049
	callr %r4,printf
	lddzr %r5,stdout
;I_InitSquashTable+48
	callr %r4,fflush
	ldi %r5,50
	mov %r4,%r1
;I_InitSquashTable+64
	callr %r3,GenerateStretchTable
	stdr %r4,half_stretch_table
	ldi %r5,10
;I_InitSquashTable+80
	callr %r4,putchar
	retf 0
	nop 0
;I_Squash3x
	alloc 14
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash3x+16
	bwne %r2,%gz,I_Squash3x+272
	bwnei %r3,320,I_Squash3x+272
	bwnei %r4,200,I_Squash3x+272
;I_Squash3x+32
	ldwzr %r1,dest_pitch
	mov %r9,%gz
	lddzr %r2,src_buffer
;I_Squash3x+48
	lddzr %r7,dest_buffer
	sraiw %r3,%r1,0
	slliw %r4,%r1,1
;I_Squash3x+64
	sraiw %r4,%r4,0
	lddzr %r5,half_stretch_table
	mulwsi %r6,%r1,3
;I_Squash3x+80
	addi %r7,%r7,4
	ldi %r1,1
	nop 0
;I_Squash3x+96
	mov2 %r11,%r8,%gz,%r9
	mov2 %r9,%r10,%r7,%r2
	nop 0
;I_Squash3x+112
	ldbz %r12,%r10,0
	stbx.xd %r12,%r9,%r4,0,-4
	stbx.xd %r12,%r9,%r3,0,-4
;I_Squash3x+128
	stb %r12,%r9,-4
	stbx.xd %r12,%r9,%r4,0,-3
	stbx.xd %r12,%r9,%r3,0,-3
;I_Squash3x+144
	stb %r12,%r9,-3
	ldbz %r12,%r10,0
	ldbz %r13,%r10,1
;I_Squash3x+160
	slor %r12,%r13,%r12,8
	ldbzx.xd %r12,%r5,%r12,0,0
	stbx.xd %r12,%r9,%r4,0,-2
;I_Squash3x+176
	stbx.xd %r12,%r9,%r3,0,-2
	stb %r12,%r9,-2
	ldbz %r12,%r10,1
;I_Squash3x+192
	mov %r13,%r11
	stbx.xd %r12,%r9,%r4,0,-1
	stbx.xd %r12,%r9,%r3,0,-1
;I_Squash3x+208
	stb %r12,%r9,-1
	stbx.xd %r12,%r9,%r4,0,0
	stbx.xd %r12,%r9,%r3,0,0
;I_Squash3x+224
	stb %r12,%r9,0
	addiws %r11,%r11,2
	addi %r10,%r10,2
;I_Squash3x+240
	addi %r9,%r9,5
	bwltui %r13,318,I_Squash3x+112
	addi %r2,%r2,320
;I_Squash3x+256
	addiws %r9,%r8,1
	add %r7,%r7,%r6
	bwltui %r8,199,I_Squash3x+96
;I_Squash3x+272
	retf 0
	nop 0
	nop 0
;I_Squash4x
	alloc 15
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash4x+16
	bwne %r2,%gz,I_Squash4x+640
	bwnei %r3,320,I_Squash4x+640
	bwnei %r4,200,I_Squash4x+640
;I_Squash4x+32
	ldwzr %r1,dest_pitch
	mov %r10,%gz
	lddzr %r2,src_buffer
;I_Squash4x+48
	lddzr %r3,dest_buffer
	sraiw %r6,%r1,0
	mulwsi %r8,%r1,3
;I_Squash4x+64
	lddzr %r4,stretch_tables.0
	lddzr %r5,stretch_tables.1
	addi %r6,%r6,15
;I_Squash4x+80
	ldi %r7,15
	ldax.xw %r7,%r7,%r1,1,0
	addi %r8,%r8,7
;I_Squash4x+96
	ldi %r1,1
	nop 0
	nop 0
;I_Squash4x+112
	mov2 %r12,%r9,%gz,%r10
	mov2 %r11,%r10,%r3,%r2
	nop 0
;I_Squash4x+128
	ldbz %r13,%r10,0
	stbx.xd %r13,%r11,%r8,0,-7
	stbx.xd %r13,%r11,%r7,0,-15
;I_Squash4x+144
	stbx.xd %r13,%r11,%r6,0,-15
	stb %r13,%r11,0
	stbx.xd %r13,%r11,%r8,0,-6
;I_Squash4x+160
	stbx.xd %r13,%r11,%r7,0,-14
	stbx.xd %r13,%r11,%r6,0,-14
	stb %r13,%r11,1
;I_Squash4x+176
	stbx.xd %r13,%r11,%r8,0,-5
	stbx.xd %r13,%r11,%r7,0,-13
	stbx.xd %r13,%r11,%r6,0,-13
;I_Squash4x+192
	stb %r13,%r11,2
	ldbz %r13,%r10,0
	ldbz %r14,%r10,1
;I_Squash4x+208
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r4,%r13,0,0
	stbx.xd %r13,%r11,%r8,0,-4
;I_Squash4x+224
	stbx.xd %r13,%r11,%r7,0,-12
	stbx.xd %r13,%r11,%r6,0,-12
	stb %r13,%r11,3
;I_Squash4x+240
	ldbz %r13,%r10,1
	stbx.xd %r13,%r11,%r8,0,-3
	stbx.xd %r13,%r11,%r7,0,-11
;I_Squash4x+256
	stbx.xd %r13,%r11,%r6,0,-11
	stb %r13,%r11,4
	stbx.xd %r13,%r11,%r8,0,-2
;I_Squash4x+272
	stbx.xd %r13,%r11,%r7,0,-10
	stbx.xd %r13,%r11,%r6,0,-10
	stb %r13,%r11,5
;I_Squash4x+288
	ldbz %r13,%r10,1
	ldbz %r14,%r10,2
	slor %r13,%r14,%r13,8
;I_Squash4x+304
	ldbzx.xd %r13,%r5,%r13,0,0
	stbx.xd %r13,%r11,%r8,0,-1
	stbx.xd %r13,%r11,%r7,0,-9
;I_Squash4x+320
	stbx.xd %r13,%r11,%r6,0,-9
	stb %r13,%r11,6
	ldbz %r13,%r10,2
;I_Squash4x+336
	stbx.xd %r13,%r11,%r8,0,0
	stbx.xd %r13,%r11,%r7,0,-8
	stbx.xd %r13,%r11,%r6,0,-8
;I_Squash4x+352
	stb %r13,%r11,7
	stbx.xd %r13,%r11,%r8,0,1
	stbx.xd %r13,%r11,%r7,0,-7
;I_Squash4x+368
	stbx.xd %r13,%r11,%r6,0,-7
	stb %r13,%r11,8
	ldbz %r13,%r10,3
;I_Squash4x+384
	ldbz %r14,%r10,2
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r5,%r13,0,0
;I_Squash4x+400
	stbx.xd %r13,%r11,%r8,0,2
	stbx.xd %r13,%r11,%r7,0,-6
	stbx.xd %r13,%r11,%r6,0,-6
;I_Squash4x+416
	stb %r13,%r11,9
	ldbz %r13,%r10,3
	stbx.xd %r13,%r11,%r8,0,3
;I_Squash4x+432
	stbx.xd %r13,%r11,%r7,0,-5
	stbx.xd %r13,%r11,%r6,0,-5
	stb %r13,%r11,10
;I_Squash4x+448
	stbx.xd %r13,%r11,%r8,0,4
	stbx.xd %r13,%r11,%r7,0,-4
	stbx.xd %r13,%r11,%r6,0,-4
;I_Squash4x+464
	stb %r13,%r11,11
	ldbz %r13,%r10,4
	ldbz %r14,%r10,3
;I_Squash4x+480
	slor %r13,%r14,%r13,8
	ldbzx.xd %r13,%r4,%r13,0,0
	stbx.xd %r13,%r11,%r8,0,5
;I_Squash4x+496
	stbx.xd %r13,%r11,%r7,0,-3
	stbx.xd %r13,%r11,%r6,0,-3
	stb %r13,%r11,12
;I_Squash4x+512
	ldbz %r13,%r10,4
	mov %r14,%r12
	stbx.xd %r13,%r11,%r8,0,6
;I_Squash4x+528
	stbx.xd %r13,%r11,%r7,0,-2
	stbx.xd %r13,%r11,%r6,0,-2
	stb %r13,%r11,13
;I_Squash4x+544
	stbx.xd %r13,%r11,%r8,0,7
	stbx.xd %r13,%r11,%r7,0,-1
	stbx.xd %r13,%r11,%r6,0,-1
;I_Squash4x+560
	stb %r13,%r11,14
	stbx.xd %r13,%r11,%r8,0,8
	stbx.xd %r13,%r11,%r7,0,0
;I_Squash4x+576
	stbx.xd %r13,%r11,%r6,0,0
	stb %r13,%r11,15
	addi %r11,%r11,16
;I_Squash4x+592
	addiws %r12,%r12,5
	addi %r10,%r10,5
	bwltui %r14,315,I_Squash4x+128
;I_Squash4x+608
	ldwzr %r10,dest_pitch
	ldax.xw %r3,%r3,%r10,2,0
	addi %r2,%r2,320
;I_Squash4x+624
	addiws %r10,%r9,1
	bwltui %r9,199,I_Squash4x+112
	nop 0
;I_Squash4x+640
	retf 0
	nop 0
	nop 0
;I_Squash5x
	alloc 15
	or %r2,%r2,%r1
	mov %r1,%gz
;I_Squash5x+16
	bwne %r2,%gz,I_Squash5x+288
	bwnei %r3,320,I_Squash5x+288
	bwnei %r4,200,I_Squash5x+288
;I_Squash5x+32
	ldwzr %r1,dest_pitch
	mov %r10,%gz
	lddzr %r2,src_buffer
;I_Squash5x+48
	lddzr %r3,dest_buffer
	sraiw %r6,%r1,0
	mulwsi %r4,%r1,3
;I_Squash5x+64
	slliw %r5,%r1,2
	sraiw %r7,%r5,0
	mulwsi %r5,%r1,5
;I_Squash5x+80
	addi %r6,%r6,3
	ori %r7,%r7,1
	ldi %r8,3
;I_Squash5x+96
	ldax.xw %r8,%r8,%r1,1,0
	ldi %r1,1
	nop 0
;I_Squash5x+112
	mov2 %r11,%r9,%gz,%r10
	mov2 %r10,%r12,%r3,%r2
	nop 0
;I_Squash5x+128
	ldbz %r13,%r12,0
	mov %r14,%r11
	addi %r12,%r12,1
;I_Squash5x+144
	stbx.xd %r13,%r10,%r7,0,-1
	stbx.xd %r13,%r10,%r4,0,0
	stbx.xd %r13,%r10,%r8,0,-3
;I_Squash5x+160
	stbx.xd %r13,%r10,%r6,0,-3
	stb %r13,%r10,0
	stbx.xd %r13,%r10,%r7,0,0
;I_Squash5x+176
	stbx.xd %r13,%r10,%r4,0,1
	stbx.xd %r13,%r10,%r8,0,-2
	stbx.xd %r13,%r10,%r6,0,-2
;I_Squash5x+192
	stb %r13,%r10,1
	stbx.xd %r13,%r10,%r7,0,1
	stbx.xd %r13,%r10,%r4,0,2
;I_Squash5x+208
	stbx.xd %r13,%r10,%r8,0,-1
	stbx.xd %r13,%r10,%r6,0,-1
	stb %r13,%r10,2
;I_Squash5x+224
	stbx.xd %r13,%r10,%r7,0,2
	stbx.xd %r13,%r10,%r4,0,3
	stbx.xd %r13,%r10,%r8,0,0
;I_Squash5x+240
	stbx.xd %r13,%r10,%r6,0,0
	stb %r13,%r10,3
	addi %r10,%r10,4
;I_Squash5x+256
	addiws %r11,%r11,1
	bwltui %r14,319,I_Squash5x+128
	add %r3,%r3,%r5
;I_Squash5x+272
	addi %r2,%r2,320
	addiws %r10,%r9,1
	bwltui %r9,199,I_Squash5x+112
;I_Squash5x+288
	retf 0
	nop 0
	nop 0
;I_InitSound
	alloc 3
	ldafr %r2,.rodata+12338
	callr %r1,M_CheckParm
;I_InitSound+16
	ldafr %r2,.rodata+3943
	callr %r1,M_CheckParm
	ldafr %r2,.rodata+10187
;I_InitSound+32
	callr %r1,M_CheckParm
	retf 0
	nop 0
;I_ShutdownSound
	alloc 1
	retf 0
	nop 0
;I_GetSfxLumpNum
	alloc 2
	mov %r1,%gz
	retf 0
;I_UpdateSound
	alloc 1
	retf 0
	nop 0
;I_UpdateSoundParams
	alloc 1
	retf 0
	nop 0
;I_StartSound
	alloc 2
	mov %r1,%gz
	retf 0
;I_StopSound
	alloc 1
	retf 0
	nop 0
;I_SoundIsPlaying
	alloc 2
	mov %r1,%gz
	retf 0
;I_PrecacheSounds
	alloc 1
	retf 0
	nop 0
;I_InitMusic
	alloc 1
	retf 0
	nop 0
;I_ShutdownMusic
	alloc 1
	retf 0
	nop 0
;I_SetMusicVolume
	alloc 1
	retf 0
	nop 0
;I_PauseSong
	alloc 1
	retf 0
	nop 0
;I_ResumeSong
	alloc 1
	retf 0
	nop 0
;I_RegisterSong
	alloc 2
	mov %r1,%gz
	retf 0
;I_UnRegisterSong
	alloc 1
	retf 0
	nop 0
;I_PlaySong
	alloc 1
	retf 0
	nop 0
;I_StopSong
	alloc 1
	retf 0
	nop 0
;I_MusicIsPlaying
	alloc 2
	mov %r1,%gz
	retf 0
;I_BindSoundVariables
	alloc 4
	ldafr %r2,.rodata+805
	ldafr %r3,snd_musicdevice
;I_BindSoundVariables+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+11776
	ldafr %r3,snd_sfxdevice
;I_BindSoundVariables+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13712
	ldafr %r3,snd_sbport
;I_BindSoundVariables+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9134
	ldafr %r3,snd_sbirq
;I_BindSoundVariables+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7914
	ldafr %r3,snd_sbdma
;I_BindSoundVariables+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+20953
	ldafr %r3,snd_mport
;I_BindSoundVariables+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2592
	ldafr %r3,snd_maxslicetime_ms
;I_BindSoundVariables+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19051
	ldafr %r3,snd_musiccmd
;I_BindSoundVariables+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22404
	ldafr %r3,snd_samplerate
;I_BindSoundVariables+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9144
	ldafr %r3,snd_cachesize
;I_BindSoundVariables+160
	callr %r1,M_BindVariable
	retf 0
	nop 0
;I_AtExit
	alloc 6
	ldi %r5,24
	callr %r4,malloc
;I_AtExit+16
	lddzr %r3,exit_funcs
	std %r1,%r5,0
	stw %r2,%r5,8
;I_AtExit+32
	std %r3,%r5,16
	stdr %r5,exit_funcs
	retf 0
;I_Tactile
	alloc 1
	retf 0
	nop 0
;I_ZoneBase
	allocsp 8,16
	ldafr %r6,.rodata+16667
	ldi %r7,1
;I_ZoneBase+16
	callr %r5,M_CheckParmWithArgs
	bwlti %r6,1,I_ZoneBase+64
	lddzr %r2,myargv
;I_ZoneBase+32
	lddzx.xuw %r7,%r2,%r6,3,8
	callr %r6,atoi
	mov %r2,%r7
;I_ZoneBase+48
	jmp I_ZoneBase+80
	nop 0
	nop 0
;I_ZoneBase+64
	ldi %r2,6
	nop 0
	nop 0
;I_ZoneBase+80
	slliw %r4,%r2,20
	sraiw %r7,%r4,0
	callr %r6,malloc
;I_ZoneBase+96
	bdeq %r7,%gz,I_ZoneBase+144
	mov %r3,%r7
	stw %r4,%r1,0
;I_ZoneBase+112
	stw %r4,%sp,8
	ldafr %r7,.rodata+3308
	std %r3,%sp,0
;I_ZoneBase+128
	callr %r6,printf
	mov %r1,%r3
	retf 16
;I_ZoneBase+144
	addiws %r2,%r2,-1
	stw %r4,%r1,0
	ldafr %r7,.rodata+20970
;I_ZoneBase+160
	stw %r2,%sp,0
	callr %r6,I_Error
	nop 0
;I_PrintBanner
	alloc 8
	mov %r7,%r1
	callr %r6,strlen
;I_PrintBanner+16
	srli %r2,%r7,1
	subfiws %r4,%r2,35
	bwlti %r4,1,I_PrintBanner+80
;I_PrintBanner+32
	mov %r5,%gz
	ldi %r2,32
	nop 0
;I_PrintBanner+48
	mov %r7,%r2
	callr %r6,putchar
	addiws %r5,%r5,1
;I_PrintBanner+64
	bwlt %r5,%r4,I_PrintBanner+48
	nop 0
	nop 0
;I_PrintBanner+80
	mov %r7,%r1
	callr %r6,puts
	retf 0
;I_PrintDivider
	alloc 6
	mov %r2,%gz
	ldi %r1,61
;I_PrintDivider+16
	mov2 %r3,%r5,%r2,%r1
	callr %r4,putchar
	addiws %r2,%r2,1
;I_PrintDivider+32
	bwltui %r3,74,I_PrintDivider+16
	ldi %r5,10
	callr %r4,putchar
;I_PrintDivider+48
	retf 0
	nop 0
	nop 0
;I_PrintStartupBanner
	alloc 7
	mov %r3,%gz
	ldi %r2,61
;I_PrintStartupBanner+16
	mov2 %r4,%r6,%r3,%r2
	callr %r5,putchar
	addiws %r3,%r3,1
;I_PrintStartupBanner+32
	bwltui %r4,74,I_PrintStartupBanner+16
	ldi %r6,10
	callr %r5,putchar
;I_PrintStartupBanner+48
	mov %r6,%r1
	callr %r5,I_PrintBanner
	mov %r2,%gz
;I_PrintStartupBanner+64
	ldi %r1,61
	nop 0
	nop 0
;I_PrintStartupBanner+80
	mov2 %r3,%r6,%r2,%r1
	callr %r5,putchar
	addiws %r2,%r2,1
;I_PrintStartupBanner+96
	bwltui %r3,74,I_PrintStartupBanner+80
	ldi %r6,10
	callr %r5,putchar
;I_PrintStartupBanner+112
	ldafr %r6,.rodata+25252
	callr %r5,puts
	mov %r2,%gz
;I_PrintStartupBanner+128
	ldi %r1,61
	nop 0
	nop 0
;I_PrintStartupBanner+144
	mov2 %r3,%r6,%r2,%r1
	callr %r5,putchar
	addiws %r2,%r2,1
;I_PrintStartupBanner+160
	bwltui %r3,74,I_PrintStartupBanner+144
	ldi %r6,10
	callr %r5,putchar
;I_PrintStartupBanner+176
	retf 0
	nop 0
	nop 0
;I_ConsoleStdout
	alloc 2
	mov %r1,%gz
	retf 0
;I_Quit
	alloc 4
	lddzr %r2,exit_funcs
	bdeq %r2,%gz,I_Quit+32
;I_Quit+16
	callmi %r3,%r2,0
	lddz %r2,%r2,16
	bdne %r2,%gz,I_Quit+16
;I_Quit+32
	retf 0
	nop 0
	nop 0
;I_GetMemoryValue
	allocsp 14,16
	ldbzr %r4,I_GetMemoryValue.firsttime
	bbsi %r4,0,I_GetMemoryValue+320
;I_GetMemoryValue+16
	ldi %r4,1
	stbr %r4,I_GetMemoryValue.firsttime
	ldafr %r12,.rodata+9158
;I_GetMemoryValue+32
	ldi %r13,1
	callr %r11,M_CheckParmWithArgs
	bwlti %r12,1,I_GetMemoryValue+320
;I_GetMemoryValue+48
	mov %r4,%r12
	lddzr %r5,myargv
	lddzx.xuw %r5,%r5,%r12,3,8
;I_GetMemoryValue+64
	ldafr %r13,.rodata+6281
	mov %r12,%r5
	callr %r11,strcasecmp
;I_GetMemoryValue+80
	bwne %r12,%gz,I_GetMemoryValue+96
	ldafr %r6,mem_dump_dos622
	stdr %r6,dos_mem_dump
;I_GetMemoryValue+96
	ldafr %r13,.rodata+16671
	mov %r12,%r5
	callr %r11,strcasecmp
;I_GetMemoryValue+112
	bweq %r12,%gz,I_GetMemoryValue+272
	ldafr %r13,.rodata+20963
	mov %r12,%r5
;I_GetMemoryValue+128
	callr %r11,strcasecmp
	bweq %r12,%gz,I_GetMemoryValue+288
	srliw %r4,%r4,0
;I_GetMemoryValue+144
	ldi %r6,8
	mov %r5,%gz
	sladd %r7,%r6,%r4,3
;I_GetMemoryValue+160
	addi %r8,%r4,1
	ldafr %r6,mem_dump_custom
	addi %r4,%sp,12
;I_GetMemoryValue+176
	ldwzr %r10,myargc
	bwle %r10,%r8,I_GetMemoryValue+304
	mov %r9,%r5
;I_GetMemoryValue+192
	lddzr %r5,myargv
	lddzx.xd %r12,%r5,%r7,0,0
	ldbz %r5,%r12,0
;I_GetMemoryValue+208
	bweqi %r5,45,I_GetMemoryValue+304
	mov %r13,%r4
	callr %r11,M_StrToInt
;I_GetMemoryValue+224
	ldwz %r5,%sp,12
	stbx.xd %r5,%r9,%r6,0,0
	addi %r5,%r9,2
;I_GetMemoryValue+240
	addi %r7,%r7,8
	addi %r8,%r8,1
	bdltui %r9,8,I_GetMemoryValue+176
;I_GetMemoryValue+256
	jmp I_GetMemoryValue+304
	nop 0
	nop 0
;I_GetMemoryValue+272
	ldafr %r6,mem_dump_win98
	jmp I_GetMemoryValue+304
	nop 0
;I_GetMemoryValue+288
	ldafr %r6,mem_dump_dosbox
	nop 0
	nop 0
;I_GetMemoryValue+304
	stdr %r6,dos_mem_dump
	nop 0
	nop 0
;I_GetMemoryValue+320
	bweqi %r3,4,I_GetMemoryValue+416
	bweqi %r3,2,I_GetMemoryValue+368
	mov %r4,%gz
;I_GetMemoryValue+336
	bwnei %r3,1,I_GetMemoryValue+496
	lddzr %r3,dos_mem_dump
	ldbzx.xuw %r1,%r3,%r1,0,0
;I_GetMemoryValue+352
	stb %r1,%r2,0
	jmp I_GetMemoryValue+480
	nop 0
;I_GetMemoryValue+368
	lddzr %r3,dos_mem_dump
	ldbzx.xuw %r4,%r3,%r1,0,0
	addiws %r1,%r1,1
;I_GetMemoryValue+384
	ldbzx.xuw %r1,%r3,%r1,0,0
	slor %r1,%r4,%r1,8
	sth %r1,%r2,0
;I_GetMemoryValue+400
	jmp I_GetMemoryValue+480
	nop 0
	nop 0
;I_GetMemoryValue+416
	lddzr %r3,dos_mem_dump
	ldbzx.xuw %r4,%r3,%r1,0,0
	addiws %r5,%r1,1
;I_GetMemoryValue+432
	ldbzx.xuw %r5,%r3,%r5,0,0
	addiws %r6,%r1,2
	ldbzx.xuw %r6,%r3,%r6,0,0
;I_GetMemoryValue+448
	addiws %r1,%r1,3
	ldbzx.xuw %r1,%r3,%r1,0,0
	slor %r3,%r4,%r5,8
;I_GetMemoryValue+464
	slor %r3,%r3,%r6,16
	slor %r1,%r3,%r1,24
	stw %r1,%r2,0
;I_GetMemoryValue+480
	ldi %r4,1
	nop 0
	nop 0
;I_GetMemoryValue+496
	mov %r1,%r4
	retf 16
	nop 0
;I_Error
	allocsp 16,544
	ldbzr %r2,already_quitting
	bbci %r2,0,I_Error+64
;I_Error+16
	lddzr %r2,stderr
	ldafr %r12,.rodata+13723
	ldi %r13,45
;I_Error+32
	ldi %r14,1
	mov %r15,%r2
	callr %r11,fwrite_unlocked
;I_Error+48
	jmp I_Error+80
	nop 0
	nop 0
;I_Error+64
	ldi %r2,1
	stbr %r2,already_quitting
	lddzr %r2,stderr
;I_Error+80
	addi %r3,%sp,544
	std %r3,%sp,24
	mov2 %r13,%r14,%r2,%r1
;I_Error+96
	mov %r15,%r3
	callr %r12,vfprintf
	ldafr %r12,.rodata+19064
;I_Error+112
	ldi %r13,2
	ldi %r14,1
	mov %r15,%r2
;I_Error+128
	callr %r11,fwrite_unlocked
	mov %r15,%r2
	callr %r14,fflush
;I_Error+144
	std %r3,%sp,24
	stq %gz,%sp,528
	stq %gz,%sp,512
;I_Error+160
	stq %gz,%sp,496
	stq %gz,%sp,480
	stq %gz,%sp,464
;I_Error+176
	stq %gz,%sp,448
	stq %gz,%sp,432
	stq %gz,%sp,416
;I_Error+192
	stq %gz,%sp,400
	stq %gz,%sp,384
	stq %gz,%sp,368
;I_Error+208
	stq %gz,%sp,352
	stq %gz,%sp,336
	stq %gz,%sp,320
;I_Error+224
	stq %gz,%sp,304
	stq %gz,%sp,288
	stq %gz,%sp,272
;I_Error+240
	stq %gz,%sp,256
	stq %gz,%sp,240
	stq %gz,%sp,224
;I_Error+256
	stq %gz,%sp,208
	stq %gz,%sp,192
	stq %gz,%sp,176
;I_Error+272
	stq %gz,%sp,160
	stq %gz,%sp,144
	stq %gz,%sp,128
;I_Error+288
	stq %gz,%sp,112
	stq %gz,%sp,96
	stq %gz,%sp,80
;I_Error+304
	stq %gz,%sp,64
	stq %gz,%sp,48
	stq %gz,%sp,32
;I_Error+320
	lddz %r15,%sp,24
	addi %r12,%sp,32
	ldi %r13,512
;I_Error+336
	mov %r14,%r1
	callr %r11,M_vsnprintf
	lddzr %r2,exit_funcs
;I_Error+352
	bdne %r2,%gz,I_Error+608
	nop 0
	nop 0
;I_Error+368
	ldafr %r15,.rodata+27536
	callr %r14,M_ParmExists
	bwne %r15,%gz,I_Error+576
;I_Error+384
	ldafr %r15,.rodata+15201
	callr %r14,system
	bwne %r15,%gz,I_Error+576
;I_Error+400
	addi %r2,%sp,32
	mov %r15,%r2
	callr %r14,strlen
;I_Error+416
	ldi %r1,3
	sladd %r15,%r1,%r15,1
	callr %r14,malloc
;I_Error+432
	ldbz %r6,%sp,32
	mov %r1,%r15
	ldi %r5,34
;I_Error+448
	stb %r5,%r15,0
	mov %r9,%r15
	bwne %r6,%gz,I_Error+640
;I_Error+464
	stb %r5,%r9,1
	stb %gz,%r9,2
	mov %r15,%r1
;I_Error+480
	callr %r14,strlen
	addi %r2,%r15,34
	mov %r15,%r2
;I_Error+496
	callr %r14,malloc
	mov %r3,%r15
	std %r1,%sp,8
;I_Error+512
	ldafr %r4,.rodata+16677
	ldafr %r15,.rodata+22419
	std %r4,%sp,0
;I_Error+528
	mov2 %r13,%r14,%r3,%r2
	callr %r12,M_snprintf
	mov %r15,%r3
;I_Error+544
	callr %r14,system
	mov %r15,%r3
	callr %r14,free
;I_Error+560
	mov %r15,%r1
	callr %r14,free
	nop 0
;I_Error+576
	ldi %r15,1
	callr %r14,exit
	nop 0
;I_Error+592
	lddz %r2,%r2,16
	bdeq %r2,%gz,I_Error+368
	nop 0
;I_Error+608
	ldwz %r1,%r2,8
	bweq %r1,%gz,I_Error+592
	callmi %r15,%r2,0
;I_Error+624
	jmp I_Error+592
	nop 0
	nop 0
;I_Error+640
	addi %r10,%r1,1
	ori %r7,%r2,1
	ldafr %r2,.rodata+21963
;I_Error+656
	ldi %r3,5
	ldi %r8,92
	mov %r9,%r1
;I_Error+672
	jmp I_Error+720
	nop 0
	nop 0
;I_Error+688
	mov %r9,%r10
	stb %r6,%r10,0
	ldbz %r6,%r7,0
;I_Error+704
	addi %r10,%r10,1
	addi %r7,%r7,1
	bweq %r6,%gz,I_Error+464
;I_Error+720
	slsrai %r14,%r6,56,56
	mov2 %r13,%r15,%r2,%r3
	callr %r12,memchr
;I_Error+736
	bdeq %r13,%gz,I_Error+688
	stb %r8,%r9,1
	addi %r10,%r9,2
;I_Error+752
	ldbz %r6,%r7,-1
	jmp I_Error+688
	nop 0
;system
	allocsp 12,1104
	std %gz,%sp,832
	std %gz,%sp,824
;system+16
	std %gz,%sp,816
	std %gz,%sp,808
	std %gz,%sp,800
;system+32
	std %gz,%sp,792
	std %gz,%sp,784
	std %gz,%sp,776
;system+48
	std %gz,%sp,768
	std %gz,%sp,760
	std %gz,%sp,752
;system+64
	std %gz,%sp,744
	std %gz,%sp,736
	std %gz,%sp,728
;system+80
	std %gz,%sp,720
	std %gz,%sp,712
	std %gz,%sp,704
;system+96
	std %gz,%sp,696
	ldi %r2,1
	std %r2,%sp,688
;system+112
	ldi %r4,-1
	stw %r4,%sp,380
	callr %r11,pthread_testcancel
;system+128
	bdeq %r1,%gz,system+512
	ldi %r9,2
	addi %r2,%sp,688
;system+144
	addi %r11,%sp,536
	mov %r10,%r2
	callr %r8,sigaction
;system+160
	ldi %r9,3
	addi %r11,%sp,384
	mov %r10,%r2
;system+176
	callr %r8,sigaction
	addi %r2,%sp,696
	ldi %r11,17
;system+192
	mov %r10,%r2
	callr %r9,sigaddset
	addi %r11,%sp,968
;system+208
	mov2 %r9,%r10,%gz,%r2
	callr %r8,sigprocmask
	addi %r11,%sp,840
;system+224
	callr %r10,sigemptyset
	lddz %r2,%sp,536
	bdeqi %r2,1,system+256
;system+240
	addi %r10,%sp,840
	ldi %r11,2
	callr %r9,sigaddset
;system+256
	lddz %r2,%sp,384
	bdeqi %r2,1,system+288
	addi %r10,%sp,840
;system+272
	ldi %r11,3
	callr %r9,sigaddset
	nop 0
;system+288
	addi %r2,%sp,40
	mov %r11,%r2
	callr %r10,posix_spawnattr_init
;system+304
	addi %r11,%sp,968
	mov %r10,%r2
	callr %r9,posix_spawnattr_setsigmask
;system+320
	addi %r11,%sp,840
	mov %r10,%r2
	callr %r9,posix_spawnattr_setsigdefault
;system+336
	ldi %r11,12
	mov %r10,%r2
	callr %r9,posix_spawnattr_setflags
;system+352
	ldafr %r3,.rodata+16701
	std %r3,%sp,8
	ldafr %r3,.rodata+25530
;system+368
	std %r3,%sp,16
	std %r1,%sp,24
	std %gz,%sp,32
;system+384
	lddzr %r11,___environ
	ldafr %r7,.rodata+16693
	addi %r6,%sp,1100
;system+400
	addi %r10,%sp,8
	mov2 %r8,%r9,%gz,%r2
	callr %r5,posix_spawn
;system+416
	mov %r11,%r2
	callr %r10,posix_spawnattr_destroy
	bweq %r6,%gz,system+528
;system+432
	ldi %r1,2
	addi %r10,%sp,536
	mov2 %r9,%r11,%r1,%gz
;system+448
	callr %r8,sigaction
	ldi %r9,3
	addi %r10,%sp,384
;system+464
	mov %r11,%gz
	callr %r8,sigaction
	addi %r10,%sp,968
;system+480
	mov2 %r9,%r11,%r1,%gz
	callr %r8,sigprocmask
	callr %r10,__errno_location
;system+496
	stw %r6,%r11,0
	mov %r2,%r4
	nop 0
;system+512
	mov %r1,%r2
	retf 1104
	nop 0
;system+528
	addi %r1,%sp,380
	nop 0
	nop 0
;system+544
	ldwz %r9,%sp,1100
	mov2 %r10,%r11,%r1,%gz
	callr %r8,waitpid
;system+560
	bwgei %r9,0,system+592
	callr %r10,__errno_location
	ldwz %r2,%r11,0
;system+576
	bweqi %r2,4,system+544
	nop 0
	nop 0
;system+592
	ldi %r1,2
	addi %r10,%sp,536
	mov2 %r9,%r11,%r1,%gz
;system+608
	callr %r8,sigaction
	ldi %r9,3
	addi %r10,%sp,384
;system+624
	mov %r11,%gz
	callr %r8,sigaction
	addi %r10,%sp,968
;system+640
	mov2 %r9,%r11,%r1,%gz
	callr %r8,sigprocmask
	ldwz %r1,%sp,380
;system+656
	retf 1104
	nop 0
	nop 0
;pthread_testcancel
	alloc 2
	callr %r1,dummy
	retf 0
;dummy
	alloc 1
	retf 0
	nop 0
;__get_handler_set
	alloc 6
	ldafr %r4,handler_set
	ldi %r5,8
;__get_handler_set+16
	mov %r3,%r1
	callr %r2,memcpy
	retf 0
;__libc_sigaction
	allocsp 15,80
	bdeq %r2,%gz,__libc_sigaction+192
	lddz %r4,%r2,0
;__libc_sigaction+16
	bdltui %r4,2,__libc_sigaction+208
	addiws %r4,%r1,-1
	srli %r5,%r4,3
;__libc_sigaction+32
	andi.l %r5,%r5,2305843009213693944
	ldafr %r6,handler_set
;__libc_sigaction+48
	add %r5,%r5,%r6
	andi %r4,%r4,63
	ldi %r6,1
;__libc_sigaction+64
	sll %r4,%r6,%r4
	fence.seq_cst
	ldord.relaxed %r4,%r5,%r4
;__libc_sigaction+80
	ldbzr %r4,__libc+1
	bwne %r4,%gz,__libc_sigaction+160
	ldbzr %r4,unmask_done
;__libc_sigaction+96
	bbsi %r4,0,__libc_sigaction+160
	ldi.l %r4,12884901888
;__libc_sigaction+112
	std %r4,%sp,8
	ldi %r8,14
	ldi %r4,1
;__libc_sigaction+128
	addi %r10,%sp,8
	ldi %r12,8
	mov2 %r9,%r11,%r4,%gz
;__libc_sigaction+144
	mov2 %r13,%r14,%gz,%gz
	callr %r7,__syscall_postrisc
	stbr %r4,unmask_done
;__libc_sigaction+160
	ldwz %r4,%r2,136
	bbsi %r4,28,__libc_sigaction+224
	ldafr %r5,__eintr_valid_flag
;__libc_sigaction+176
	staw.seq_cst %r6,%r5
	jmp __libc_sigaction+224
	nop 0
;__libc_sigaction+192
	mov %r10,%gz
	jmp __libc_sigaction+304
	nop 0
;__libc_sigaction+208
	ldwz %r4,%r2,136
	nop 0
	nop 0
;__libc_sigaction+224
	lddz %r5,%r2,0
	std %r5,%sp,48
	nop 2
;__libc_sigaction+240
	ori.l %r4,%r4,67108864
	sraiw %r4,%r4,0
;__libc_sigaction+256
	std %r4,%sp,56
	ldar %r4,__restore_rt
	std %r4,%sp,64
;__libc_sigaction+272
	addi %r12,%sp,72
	addi %r13,%r2,8
	ldi %r14,8
;__libc_sigaction+288
	callr %r11,memcpy
	addi %r10,%sp,48
	nop 0
;__libc_sigaction+304
	addi %r2,%sp,16
	sraiw %r9,%r1,0
	cmovdeq %r11,%r3,%gz,%r2
;__libc_sigaction+320
	ldi %r8,13
	ldi %r12,8
	mov2 %r13,%r14,%gz,%gz
;__libc_sigaction+336
	callr %r7,__syscall_postrisc
	bdeq %r3,%gz,__libc_sigaction+400
	srliw %r1,%r8,0
;__libc_sigaction+352
	bdne %r1,%gz,__libc_sigaction+400
	lddz %r1,%sp,16
	lddz %r2,%sp,24
;__libc_sigaction+368
	std %r1,%r3,0
	stw %r2,%r3,136
	addi %r12,%r3,8
;__libc_sigaction+384
	addi %r13,%sp,40
	ldi %r14,8
	callr %r11,memcpy
;__libc_sigaction+400
	sraiw %r14,%r8,0
	callr %r13,__syscall_ret
	mov %r1,%r14
;__libc_sigaction+416
	retf 80
	nop 0
	nop 0
;sigaction
	allocsp 10,16
	addiws %r4,%r1,-32
	bwltui %r4,3,sigaction+112
;sigaction+16
	addiws %r4,%r1,-65
	bwltui.l %r4,1099511627712,sigaction+112
;sigaction+32
	bwnei %r1,6,sigaction+144
	addi %r4,%sp,8
	mov %r9,%r4
;sigaction+48
	callr %r8,__block_all_sigs
	ldafr %r5,__abort_lock
	mov %r9,%r5
;sigaction+64
	callr %r8,__lock
	ldi %r7,6
	mov2 %r8,%r9,%r2,%r3
;sigaction+80
	callr %r6,__libc_sigaction
	mov2 %r1,%r9,%r7,%r5
	callr %r8,__unlock
;sigaction+96
	mov %r9,%r4
	callr %r8,__restore_sigs
	retf 16
;sigaction+112
	callr %r8,__errno_location
	ldi %r1,22
	stw %r1,%r9,0
;sigaction+128
	ldi %r1,-1
	retf 16
	nop 0
;sigaction+144
	mov2 %r7,%r8,%r1,%r2
	mov %r9,%r3
	callr %r6,__libc_sigaction
;sigaction+160
	mov %r1,%r7
	retf 16
	nop 0
;__restore
	alloc 9
	ldi %r2,15
	mov2 %r3,%r4,%gz,%gz
;__restore+16
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
	callr %r1,__syscall_postrisc
;__restore+32
	retf 0
	nop 0
	nop 0
;__restore_rt
	alloc 9
	ldi %r2,15
	mov2 %r3,%r4,%gz,%gz
;__restore_rt+16
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
	callr %r1,__syscall_postrisc
;__restore_rt+32
	retf 0
	nop 0
	nop 0
;__block_all_sigs
	alloc 10
	ldafr %r5,all_mask
	ldi %r3,14
;__block_all_sigs+16
	ldi %r7,8
	mov2 %r4,%r6,%gz,%r1
	mov2 %r8,%r9,%gz,%gz
;__block_all_sigs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;__block_app_sigs
	alloc 10
	ldafr %r5,app_mask
	ldi %r3,14
;__block_app_sigs+16
	ldi %r7,8
	mov2 %r4,%r6,%gz,%r1
	mov2 %r8,%r9,%gz,%gz
;__block_app_sigs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;__restore_sigs
	alloc 10
	ldi %r3,14
	ldi %r4,2
;__restore_sigs+16
	ldi %r7,8
	mov2 %r5,%r6,%r1,%gz
	mov2 %r8,%r9,%gz,%gz
;__restore_sigs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;sigaddset
	alloc 8
	addiws %r3,%r2,-1
	bwgeui %r3,64,sigaddset+64
;sigaddset+16
	addiws %r2,%r2,-32
	bwltui %r2,3,sigaddset+64
	lddz %r4,%r1,0
;sigaddset+32
	ldi %r5,1
	sll %r3,%r5,%r3
	or %r3,%r4,%r3
;sigaddset+48
	std %r3,%r1,0
	mov %r1,%gz
	retf 0
;sigaddset+64
	callr %r6,__errno_location
	ldi %r1,22
	stw %r1,%r7,0
;sigaddset+80
	ldi %r1,-1
	retf 0
	nop 0
;sigprocmask
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;sigprocmask+16
	callr %r4,pthread_sigmask
	bweq %r5,%gz,sigprocmask+48
	callr %r6,__errno_location
;sigprocmask+32
	stw %r5,%r7,0
	ldi %r1,-1
	retf 0
;sigprocmask+48
	mov %r1,%gz
	retf 0
	nop 0
;pthread_sigmask
	alloc 12
	bwltui %r1,3,pthread_sigmask+32
	bdeq %r2,%gz,pthread_sigmask+32
;pthread_sigmask+16
	ldi %r1,22
	retf 0
	nop 0
;pthread_sigmask+32
	sraiw %r6,%r1,0
	ldi %r5,14
	ldi %r9,8
;pthread_sigmask+48
	mov2 %r7,%r8,%r2,%r3
	mov2 %r10,%r11,%gz,%gz
	callr %r4,__syscall_postrisc
;pthread_sigmask+64
	subfiws %r1,%r5,0
	bdeq %r3,%gz,pthread_sigmask+112
	bwne %r5,%gz,pthread_sigmask+112
;pthread_sigmask+80
	lddz %r2,%r3,0
	mov %r1,%gz
	nop 2
;pthread_sigmask+96
	andi.l %r2,%r2,-15032385537
	std %r2,%r3,0
;pthread_sigmask+112
	retf 0
	nop 0
	nop 0
;sigemptyset
	alloc 2
	std %gz,%r1,0
	mov %r1,%gz
;sigemptyset+16
	retf 0
	nop 0
	nop 0
;posix_spawnattr_init
	alloc 6
	ldi %r5,336
	mov2 %r3,%r4,%r1,%gz
;posix_spawnattr_init+16
	callr %r2,memset
	mov %r1,%gz
	retf 0
;posix_spawnattr_setsigmask
	alloc 7
	lddz %r3,%r2,120
	lddz %r4,%r2,112
;posix_spawnattr_setsigmask+16
	lddz %r5,%r2,104
	lddz %r6,%r2,96
	std %r3,%r1,256
;posix_spawnattr_setsigmask+32
	std %r4,%r1,248
	std %r5,%r1,240
	std %r6,%r1,232
;posix_spawnattr_setsigmask+48
	lddz %r3,%r2,88
	lddz %r4,%r2,80
	lddz %r5,%r2,72
;posix_spawnattr_setsigmask+64
	lddz %r6,%r2,64
	std %r3,%r1,224
	std %r4,%r1,216
;posix_spawnattr_setsigmask+80
	std %r5,%r1,208
	std %r6,%r1,200
	lddz %r3,%r2,56
;posix_spawnattr_setsigmask+96
	lddz %r4,%r2,48
	lddz %r5,%r2,40
	lddz %r6,%r2,32
;posix_spawnattr_setsigmask+112
	std %r3,%r1,192
	std %r4,%r1,184
	std %r5,%r1,176
;posix_spawnattr_setsigmask+128
	std %r6,%r1,168
	lddz %r3,%r2,24
	lddz %r4,%r2,16
;posix_spawnattr_setsigmask+144
	lddz %r5,%r2,8
	lddz %r2,%r2,0
	std %r3,%r1,160
;posix_spawnattr_setsigmask+160
	std %r4,%r1,152
	std %r5,%r1,144
	std %r2,%r1,136
;posix_spawnattr_setsigmask+176
	mov %r1,%gz
	retf 0
	nop 0
;posix_spawnattr_setsigdefault
	alloc 7
	lddz %r3,%r2,120
	lddz %r4,%r2,112
;posix_spawnattr_setsigdefault+16
	lddz %r5,%r2,104
	lddz %r6,%r2,96
	std %r3,%r1,128
;posix_spawnattr_setsigdefault+32
	std %r4,%r1,120
	std %r5,%r1,112
	std %r6,%r1,104
;posix_spawnattr_setsigdefault+48
	lddz %r3,%r2,88
	lddz %r4,%r2,80
	lddz %r5,%r2,72
;posix_spawnattr_setsigdefault+64
	lddz %r6,%r2,64
	std %r3,%r1,96
	std %r4,%r1,88
;posix_spawnattr_setsigdefault+80
	std %r5,%r1,80
	std %r6,%r1,72
	lddz %r3,%r2,56
;posix_spawnattr_setsigdefault+96
	lddz %r4,%r2,48
	lddz %r5,%r2,40
	lddz %r6,%r2,32
;posix_spawnattr_setsigdefault+112
	std %r3,%r1,64
	std %r4,%r1,56
	std %r5,%r1,48
;posix_spawnattr_setsigdefault+128
	std %r6,%r1,40
	lddz %r3,%r2,24
	lddz %r4,%r2,16
;posix_spawnattr_setsigdefault+144
	lddz %r5,%r2,8
	lddz %r2,%r2,0
	std %r3,%r1,32
;posix_spawnattr_setsigdefault+160
	std %r4,%r1,24
	std %r5,%r1,16
	std %r2,%r1,8
;posix_spawnattr_setsigdefault+176
	mov %r1,%gz
	retf 0
	nop 0
;posix_spawnattr_setflags
	alloc 4
	bwgeui %r2,256,posix_spawnattr_setflags+32
	stw %r2,%r1,0
;posix_spawnattr_setflags+16
	mov %r1,%gz
	retf 0
	nop 0
;posix_spawnattr_setflags+32
	ldi %r1,22
	retf 0
	nop 0
;posix_spawn
	allocsp 12,5680
	stw %gz,%sp,556
	ldi %r10,1
;posix_spawn+16
	addi %r11,%sp,552
	callr %r9,pthread_setcancelstate
	std %r2,%sp,512
;posix_spawn+32
	std %r3,%sp,520
	bdne %r4,%gz,posix_spawn+160
	stq %gz,%sp,352
;posix_spawn+48
	stq %gz,%sp,336
	stq %gz,%sp,320
	stq %gz,%sp,304
;posix_spawn+64
	stq %gz,%sp,288
	stq %gz,%sp,272
	stq %gz,%sp,256
;posix_spawn+80
	stq %gz,%sp,240
	stq %gz,%sp,224
	stq %gz,%sp,208
;posix_spawn+96
	stq %gz,%sp,192
	stq %gz,%sp,176
	stq %gz,%sp,160
;posix_spawn+112
	stq %gz,%sp,144
	stq %gz,%sp,128
	stq %gz,%sp,112
;posix_spawn+128
	stq %gz,%sp,96
	stq %gz,%sp,80
	stq %gz,%sp,64
;posix_spawn+144
	stq %gz,%sp,48
	stq %gz,%sp,32
	addi %r4,%sp,32
;posix_spawn+160
	std %r4,%sp,528
	std %r5,%sp,536
	std %r6,%sp,544
;posix_spawn+176
	ldi %r2,-1
	std %r2,%sp,16
	std %r2,%sp,24
;posix_spawn+192
	addi %r2,%sp,384
	addi %r10,%sp,16
	mov2 %r9,%r11,%gz,%r2
;posix_spawn+208
	callr %r8,pthread_sigmask
	ldafr %r11,__abort_lock
	callr %r10,__lock
;posix_spawn+224
	addi %r4,%sp,376
	ldi %r11,524288
	mov %r10,%r4
;posix_spawn+240
	callr %r9,pipe2
	bweq %r10,%gz,posix_spawn+288
	ldafr %r11,__abort_lock
;posix_spawn+256
	callr %r10,__unlock
	callr %r10,__errno_location
	ldwz %r1,%r11,0
;posix_spawn+272
	stw %r1,%sp,556
	jmp posix_spawn+480
	nop 0
;posix_spawn+288
	addi %r9,%sp,5680
	ldar %r8,child
	ldi %r10,16657
;posix_spawn+304
	mov %r11,%r4
	callr %r7,__clone
	mov %r3,%r8
;posix_spawn+320
	ori %r4,%r4,4
	ldwz %r11,%r4,0
	callr %r10,close
;posix_spawn+336
	ldafr %r11,__abort_lock
	callr %r10,__unlock
	bwlti %r8,1,posix_spawn+416
;posix_spawn+352
	ldwz %r9,%sp,376
	addi %r10,%sp,556
	ldi %r11,4
;posix_spawn+368
	callr %r8,read
	bdnei %r9,4,posix_spawn+432
	stw %gz,%sp,12
;posix_spawn+384
	addi %r10,%sp,12
	mov2 %r9,%r11,%r3,%gz
	callr %r8,waitpid
;posix_spawn+400
	jmp posix_spawn+448
	nop 0
	nop 0
;posix_spawn+416
	subfiws %r4,%r3,0
	stw %r4,%sp,556
	jmp posix_spawn+448
;posix_spawn+432
	stw %gz,%sp,556
	nop 0
	nop 0
;posix_spawn+448
	ldwz %r11,%sp,376
	callr %r10,close
	bdeq %r1,%gz,posix_spawn+480
;posix_spawn+464
	ldwz %r4,%sp,556
	bwne %r4,%gz,posix_spawn+480
	stw %r3,%r1,0
;posix_spawn+480
	ldi %r9,2
	mov2 %r10,%r11,%r2,%gz
	callr %r8,pthread_sigmask
;posix_spawn+496
	ldwz %r10,%sp,552
	mov %r11,%gz
	callr %r9,pthread_setcancelstate
;posix_spawn+512
	ldwz %r1,%sp,556
	retf 5680
	nop 0
;child
	allocsp 25,288
	std %gz,%sp,272
	stq %gz,%sp,256
;child+16
	stq %gz,%sp,240
	stq %gz,%sp,224
	stq %gz,%sp,208
;child+32
	stq %gz,%sp,192
	stq %gz,%sp,176
	stq %gz,%sp,160
;child+48
	stq %gz,%sp,144
	stq %gz,%sp,128
	ldwz %r12,%r1,4
;child+64
	lddz %r7,%r1,144
	lddz %r13,%r1,152
	ldwz %r24,%r1,0
;child+80
	callr %r23,close
	addi %r2,%sp,0
	mov %r24,%r2
;child+96
	callr %r23,__get_handler_set
	addi %r3,%r13,8
	ldi %r8,1
;child+112
	addi %r4,%sp,128
	mov %r6,%r8
	jmp child+208
;child+128
	mov2 %r23,%r24,%r3,%r5
	callr %r22,sigismember
	mov %r6,%gz
;child+144
	bweq %r23,%gz,child+224
	nop 0
	nop 0
;child+160
	std %r6,%sp,128
	mov2 %r22,%r23,%r5,%r4
	mov %r24,%gz
;child+176
	callr %r21,__libc_sigaction
	nop 0
	nop 0
;child+192
	addiws %r6,%r5,1
	bwgeui %r5,64,child+304
	nop 0
;child+208
	ldbz %r9,%r13,0
	mov %r5,%r6
	bbsi %r9,2,child+128
;child+224
	mov2 %r23,%r24,%r2,%r5
	callr %r22,sigismember
	bweq %r23,%gz,child+192
;child+240
	addiws %r9,%r5,-32
	mov %r6,%r8
	bwltui %r9,3,child+160
;child+256
	mov2 %r22,%r23,%r5,%gz
	mov %r24,%r4
	callr %r21,__libc_sigaction
;child+272
	lddz %r9,%sp,128
	mov %r6,%gz
	bdnei %r9,1,child+160
;child+288
	jmp child+192
	nop 0
	nop 0
;child+304
	ldwz %r2,%r13,0
	bbci %r2,7,child+352
	ldi %r18,112
;child+320
	mov2 %r19,%r20,%gz,%gz
	mov2 %r21,%r22,%gz,%gz
	mov2 %r23,%r24,%gz,%gz
;child+336
	callr %r17,__syscall_postrisc
	bwlt %r18,%gz,child+1296
	ldwz %r2,%r13,0
;child+352
	bbci %r2,1,child+400
	ldws %r20,%r13,4
	ldi %r18,109
;child+368
	mov2 %r19,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
;child+384
	callr %r17,__syscall_postrisc
	bwne %r18,%gz,child+1296
	ldwz %r2,%r13,0
;child+400
	bbsi %r2,0,child+1168
	nop 0
	nop 0
;child+416
	bdeq %r7,%gz,child+432
	lddz %r2,%r7,8
	bdne %r2,%gz,child+576
;child+432
	sraiw %r19,%r12,0
	ldi %r18,72
	ldi %r20,2
;child+448
	ldi %r21,1
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
;child+464
	callr %r17,__syscall_postrisc
	ldwz %r2,%r13,0
	andi %r2,%r2,8
;child+480
	addi %r3,%r13,136
	addi %r4,%r1,8
	cmovweq %r23,%r2,%r4,%r3
;child+496
	ldi %r22,2
	mov %r24,%gz
	callr %r21,pthread_sigmask
;child+512
	lddz %r2,%r13,272
	ldar %r3,execve
	cmovdeq %r2,%r2,%r3,%r2
;child+528
	lddz %r22,%r1,136
	lddz %r23,%r1,160
	lddz %r24,%r1,168
;child+544
	callri %r21,%r2,%gz
	callr %r23,__errno_location
	ldwz %r1,%r24,0
;child+560
	stw %r1,%sp,284
	bwne %r1,%gz,child+1328
	jmp child+1408
;child+576
	mov %r14,%r2
	lddz %r2,%r2,0
	bdne %r2,%gz,child+576
;child+592
	ldi %r2,32
	ldi %r3,3
	ldafr %r16,.rodata+33832
;child+608
	ldi %r15,-9
	ldi %r4,72
	ldi %r5,1
;child+624
	ldi %r6,2
	ldi %r7,33
	ldi %r8,80
;child+640
	ldi %r9,81
	jmp child+720
	nop 0
;child+656
	ldws %r19,%r14,20
	nop 0
	nop 0
;child+672
	mov2 %r18,%r20,%r3,%gz
	mov2 %r21,%r22,%gz,%gz
	mov2 %r23,%r24,%gz,%gz
;child+688
	callr %r17,__syscall_postrisc
	nop 0
	nop 0
;child+704
	lddz %r14,%r14,8
	bdeq %r14,%gz,child+432
	nop 0
;child+720
	ldwz %r10,%r14,20
	bwne %r10,%r12,child+816
	sraiw %r11,%r12,0
;child+736
	mov2 %r18,%r19,%r2,%r11
	mov2 %r20,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
;child+752
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	mov %r10,%r18
;child+768
	bwlt %r18,%gz,child+1312
	mov2 %r18,%r19,%r3,%r11
	mov2 %r20,%r21,%gz,%gz
;child+784
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
	callr %r17,__syscall_postrisc
;child+800
	mov %r12,%r10
	nop 0
	nop 0
;child+816
	ldwz %r10,%r14,16
	addiws %r11,%r10,-1
	bwgeui %r11,5,child+704
;child+832
	addiwz %r10,%r10,-1
	jmpt %r16,%r10
	nop 0
;child+848
	ldwz %r10,%r14,24
	bweq %r10,%r12,child+1424
	ldwz %r11,%r14,20
;child+864
	sraiw %r19,%r10,0
	bwne %r10,%r11,child+1152
	mov2 %r18,%r10,%r4,%r19
;child+880
	mov2 %r20,%r21,%r5,%gz
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
;child+896
	callr %r17,__syscall_postrisc
	sraiw %r11,%r18,0
	andi %r21,%r11,-2
;child+912
	mov2 %r18,%r19,%r4,%r10
	mov %r20,%r6
	jmp child+1120
;child+928
	ldws %r19,%r14,20
	mov %r18,%r9
	jmp child+1088
;child+944
	ldws %r10,%r14,28
	addi %r19,%r14,36
	ori %r20,%r10,32768
;child+960
	ldwz %r21,%r14,32
	mov2 %r18,%r22,%r6,%gz
	mov2 %r23,%r24,%gz,%gz
;child+976
	callr %r17,__syscall_postrisc
	mov %r10,%r18
	stw %r18,%sp,284
;child+992
	bwlt %r18,%gz,child+1312
	ldwz %r11,%r14,20
	bweq %r11,%r10,child+704
;child+1008
	andi.l %r10,%r10,2147483647
	sraiw %r20,%r11,0
;child+1024
	mov2 %r18,%r19,%r7,%r10
	mov2 %r21,%r22,%gz,%gz
	mov2 %r23,%r24,%gz,%gz
;child+1040
	callr %r17,__syscall_postrisc
	mov %r19,%r10
	stw %r18,%sp,284
;child+1056
	bwle %gz,%r18,child+672
	jmp child+1296
	nop 0
;child+1072
	addi %r19,%r14,36
	mov %r18,%r8
	nop 0
;child+1088
	mov %r20,%gz
	nop 0
	nop 0
;child+1104
	mov %r21,%gz
	nop 0
	nop 0
;child+1120
	mov2 %r22,%r23,%gz,%gz
	mov %r24,%gz
	callr %r17,__syscall_postrisc
;child+1136
	stw %r18,%sp,284
	bwle %gz,%r18,child+704
	jmp child+1296
;child+1152
	sraiw %r20,%r11,0
	mov %r18,%r7
	jmp child+1104
;child+1168
	ldi %r18,104
	mov2 %r19,%r20,%gz,%gz
	mov2 %r21,%r22,%gz,%gz
;child+1184
	mov2 %r23,%r24,%gz,%gz
	callr %r17,__syscall_postrisc
	mov %r19,%r18
;child+1200
	ldi %r18,106
	mov2 %r20,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
;child+1216
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	bwne %r18,%gz,child+1296
;child+1232
	ldi %r18,102
	mov2 %r19,%r20,%gz,%gz
	mov2 %r21,%r22,%gz,%gz
;child+1248
	mov2 %r23,%r24,%gz,%gz
	callr %r17,__syscall_postrisc
	mov %r19,%r18
;child+1264
	ldi %r18,105
	mov2 %r20,%r21,%gz,%gz
	mov2 %r22,%r23,%gz,%gz
;child+1280
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	bweq %r18,%gz,child+416
;child+1296
	mov %r10,%r18
	nop 0
	nop 0
;child+1312
	subfiws %r1,%r10,0
	stw %r1,%sp,284
	nop 0
;child+1328
	sraiw %r1,%r12,0
	ldi %r2,1
	addi %r3,%sp,284
;child+1344
	ldi %r4,4
	nop 0
	nop 0
;child+1360
	mov2 %r18,%r19,%r2,%r1
	mov2 %r20,%r21,%r3,%r4
	mov2 %r22,%r23,%gz,%gz
;child+1376
	mov %r24,%gz
	callr %r17,__syscall_postrisc
	bwgei %r18,0,child+1408
;child+1392
	bwnei %r18,-32,child+1360
	nop 0
	nop 0
;child+1408
	ldi %r24,127
	callr %r23,_exit
	nop 0
;child+1424
	mov %r10,%r15
	jmp child+1312
	nop 0
;pthread_setcancelstate
	alloc 4
	bwltui %r1,3,pthread_setcancelstate+32
	ldi %r1,22
;pthread_setcancelstate+16
	retf 0
	nop 0
	nop 0
;pthread_setcancelstate+32
	bdeq %r2,%gz,pthread_setcancelstate+48
	ldbz %r3,%tp,64
	stw %r3,%r2,0
;pthread_setcancelstate+48
	stb %r1,%tp,64
	mov %r1,%gz
	retf 0
;pipe2
	alloc 14
	bweq %r2,%gz,pipe2+80
	sraiw %r9,%r2,0
;pipe2+16
	ldi %r7,293
	mov2 %r8,%r10,%r1,%gz
	mov2 %r11,%r12,%gz,%gz
;pipe2+32
	mov %r13,%gz
	callr %r6,__syscall_postrisc
	bwnei %r7,-38,pipe2+112
;pipe2+48
	andi %r3,%r2,-526337
	bweq %r3,%gz,pipe2+144
	ldi %r13,-22
;pipe2+64
	jmp pipe2+128
	nop 0
	nop 0
;pipe2+80
	mov %r13,%r1
	callr %r12,pipe
	mov %r1,%r13
;pipe2+96
	retf 0
	nop 0
	nop 0
;pipe2+112
	sraiw %r13,%r7,0
	nop 0
	nop 0
;pipe2+128
	callr %r12,__syscall_ret
	mov %r1,%r13
	retf 0
;pipe2+144
	mov %r13,%r1
	callr %r12,pipe
	bweq %r13,%gz,pipe2+176
;pipe2+160
	mov %r1,%r13
	retf 0
	nop 0
;pipe2+176
	bwltui.l %r2,524288,pipe2+256
	ldws %r8,%r1,0
;pipe2+192
	ldi %r3,72
	ldi %r4,2
	ldi %r5,1
;pipe2+208
	mov2 %r7,%r9,%r3,%r4
	mov2 %r10,%r11,%r5,%gz
	mov2 %r12,%r13,%gz,%gz
;pipe2+224
	callr %r6,__syscall_postrisc
	ldws %r8,%r1,4
	mov2 %r7,%r9,%r3,%r4
;pipe2+240
	mov2 %r10,%r11,%r5,%gz
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
;pipe2+256
	mov %r13,%gz
	bbci %r2,11,pipe2+160
	ldws %r8,%r1,0
;pipe2+272
	ldi %r2,72
	ldi %r3,4
	ldi %r4,2048
;pipe2+288
	mov2 %r7,%r9,%r2,%r3
	mov2 %r10,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
;pipe2+304
	callr %r6,__syscall_postrisc
	ldws %r8,%r1,4
	mov2 %r7,%r9,%r2,%r3
;pipe2+320
	mov2 %r10,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
	callr %r6,__syscall_postrisc
;pipe2+336
	mov %r13,%gz
	mov %r1,%r13
	retf 0
;pipe
	alloc 10
	ldi %r3,22
	mov2 %r4,%r5,%r1,%gz
;pipe+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;pipe+32
	mov %r9,%r3
	callr %r8,__syscall_ret
	mov %r1,%r9
;pipe+48
	retf 0
	nop 0
	nop 0
;__clone
	halt
	retf 0
	nop 0
;dummy
	alloc 2
	retf 0
	nop 0
;close
	alloc 11
	mov %r10,%r1
	callr %r9,__aio_close
;close+16
	sraiw %r5,%r10,0
	ldi %r4,3
	mov2 %r6,%r7,%gz,%gz
;close+32
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
	callr %r3,__syscall_cp
;close+48
	cmpweqi %r1,%r4,-4
	sraiw %r2,%r4,0
	cmovlsb %r10,%r1,%gz,%r2
;close+64
	callr %r9,__syscall_ret
	mov %r1,%r10
	retf 0
;__syscall_cp_c
	alloc 16
	mov2 %r9,%r10,%r1,%r2
	mov2 %r11,%r12,%r3,%r4
;__syscall_cp_c+16
	mov2 %r13,%r14,%r5,%r6
	mov %r15,%r7
	callr %r8,__syscall_postrisc
;__syscall_cp_c+32
	mov %r1,%r9
	retf 0
	nop 0
;__syscall_cp
	alloc 16
	mov2 %r9,%r10,%r1,%r2
	mov2 %r11,%r12,%r3,%r4
;__syscall_cp+16
	mov2 %r13,%r14,%r5,%r6
	mov %r15,%r7
	callr %r8,__syscall_cp_c
;__syscall_cp+32
	mov %r1,%r9
	retf 0
	nop 0
;read
	alloc 12
	sraiw %r6,%r1,0
	mov2 %r5,%r7,%gz,%r2
;read+16
	mov2 %r8,%r9,%r3,%gz
	mov2 %r10,%r11,%gz,%gz
	callr %r4,__syscall_cp
;read+32
	mov %r11,%r5
	callr %r10,__syscall_ret
	mov %r1,%r11
;read+48
	retf 0
	nop 0
	nop 0
;waitpid
	alloc 12
	sraiw %r6,%r1,0
	sraiw %r8,%r3,0
;waitpid+16
	ldi %r5,61
	mov2 %r7,%r9,%r2,%gz
	mov2 %r10,%r11,%gz,%gz
;waitpid+32
	callr %r4,__syscall_cp
	mov %r11,%r5
	callr %r10,__syscall_ret
;waitpid+48
	mov %r1,%r11
	retf 0
	nop 0
;sigismember
	alloc 4
	addiws %r3,%r2,-1
	mov2 %r2,%r1,%r1,%gz
;sigismember+16
	bwgeui %r3,64,sigismember+48
	lddz %r1,%r2,0
	srl %r1,%r1,%r3
;sigismember+32
	andi %r1,%r1,1
	nop 0
	nop 0
;sigismember+48
	retf 0
	nop 0
	nop 0
;execve
	alloc 12
	ldi %r5,59
	mov2 %r6,%r7,%r1,%r2
;execve+16
	mov2 %r8,%r9,%r3,%gz
	mov2 %r10,%r11,%gz,%gz
	callr %r4,__syscall_postrisc
;execve+32
	mov %r11,%r5
	callr %r10,__syscall_ret
	mov %r1,%r11
;execve+48
	retf 0
	nop 0
	nop 0
;_exit
	alloc 4
	mov %r3,%r1
	callr %r2,_Exit
;posix_spawnattr_destroy
	alloc 2
	mov %r1,%gz
	retf 0
;I_GetTicks
	alloc 4
	callr %r2,DG_GetTicksMs
	mov %r1,%r3
;I_GetTicks+16
	retf 0
	nop 0
	nop 0
;I_GetTime
	alloc 4
	callr %r2,DG_GetTicksMs
	ldwzr %r1,basetime
;I_GetTime+16
	bwne %r1,%gz,I_GetTime+32
	stwr %r3,basetime
	mov %r1,%r3
;I_GetTime+32
	subws %r1,%r3,%r1
	mulwzi %r1,%r1,35
	nop 2
;I_GetTime+48
	muli.l %r1,%r1,274877907
	srli %r1,%r1,38
;I_GetTime+64
	retf 0
	nop 0
	nop 0
;I_GetTimeMS
	alloc 4
	callr %r2,DG_GetTicksMs
	ldwzr %r1,basetime
;I_GetTimeMS+16
	bweq %r1,%gz,I_GetTimeMS+32
	subws %r1,%r3,%r1
	retf 0
;I_GetTimeMS+32
	stwr %r3,basetime
	mov %r1,%r3
	subws %r1,%r3,%r1
;I_GetTimeMS+48
	retf 0
	nop 0
	nop 0
;I_Sleep
	alloc 4
	mov %r3,%r1
	callr %r2,DG_SleepMs
;I_Sleep+16
	retf 0
	nop 0
	nop 0
;I_WaitVBL
	alloc 1
	retf 0
	nop 0
;I_InitTimer
	alloc 1
	retf 0
	nop 0
;mem_fopen_read
	alloc 7
	ldi %r4,32
	ldi %r5,1
;mem_fopen_read+16
	mov %r6,%gz
	callr %r3,Z_Malloc
	std %r1,%r4,0
;mem_fopen_read+32
	std %r2,%r4,8
	std %gz,%r4,24
	mov %r1,%r4
;mem_fopen_read+48
	retf 0
	nop 0
	nop 0
;mem_fread
	alloc 12
	ldwz %r5,%r4,28
	bweq %r5,%gz,mem_fread+48
;mem_fread+16
	ldafr %r11,.rodata+7924
	callr %r10,puts
	ldi %r1,-1
;mem_fread+32
	retf 0
	nop 0
	nop 0
;mem_fread+48
	lddz %r7,%r4,8
	ldwz %r6,%r4,24
	mul %r5,%r3,%r2
;mem_fread+64
	sub %r7,%r7,%r6
	bdleu %r5,%r7,mem_fread+96
	divu %r3,%r7,%r2
;mem_fread+80
	mul %r5,%r3,%r2
	nop 0
	nop 0
;mem_fread+96
	lddz %r2,%r4,0
	add %r10,%r2,%r6
	mov2 %r9,%r11,%r1,%r5
;mem_fread+112
	callr %r8,memcpy
	ldwz %r1,%r4,24
	addws %r1,%r1,%r5
;mem_fread+128
	stw %r1,%r4,24
	mov %r1,%r3
	retf 0
;mem_fopen_write
	alloc 8
	ldi %r5,32
	ldi %r3,1
;mem_fopen_write+16
	mov2 %r6,%r7,%r3,%gz
	callr %r4,Z_Malloc
	mov %r1,%r5
;mem_fopen_write+32
	ldi %r2,1024
	std %r2,%r5,16
	ldi %r5,1024
;mem_fopen_write+48
	mov2 %r6,%r7,%r3,%gz
	callr %r4,Z_Malloc
	std %r5,%r1,0
;mem_fopen_write+64
	std %gz,%r1,8
	ldi.l %r2,4294967296
;mem_fopen_write+80
	std %r2,%r1,24
	retf 0
	nop 0
;mem_fwrite
	alloc 14
	ldwz %r5,%r4,28
	bwnei %r5,1,mem_fwrite+144
;mem_fwrite+16
	lddz %r8,%r4,16
	ldwz %r7,%r4,24
	mul %r2,%r3,%r2
;mem_fwrite+32
	sub %r5,%r8,%r7
	bdleu %r2,%r5,mem_fwrite+160
	ldi %r5,1
;mem_fwrite+48
	slliw %r11,%r8,1
	mov2 %r12,%r13,%r5,%gz
	callr %r10,Z_Malloc
;mem_fwrite+64
	mov %r6,%r11
	lddz %r12,%r4,0
	lddz %r13,%r4,16
;mem_fwrite+80
	callr %r10,memcpy
	lddz %r13,%r4,0
	callr %r12,Z_Free
;mem_fwrite+96
	std %r6,%r4,0
	lddz %r9,%r4,16
	slli %r8,%r9,1
;mem_fwrite+112
	std %r8,%r4,16
	ldwz %r7,%r4,24
	slsubf %r9,%r7,%r9,1
;mem_fwrite+128
	bdltu %r9,%r2,mem_fwrite+48
	jmp mem_fwrite+176
	nop 0
;mem_fwrite+144
	ldi %r1,-1
	retf 0
	nop 0
;mem_fwrite+160
	lddz %r6,%r4,0
	nop 0
	nop 0
;mem_fwrite+176
	add %r11,%r6,%r7
	mov2 %r12,%r13,%r1,%r2
	callr %r10,memcpy
;mem_fwrite+192
	ldwz %r1,%r4,24
	addws %r5,%r1,%r2
	stw %r5,%r4,24
;mem_fwrite+208
	lddz %r5,%r4,8
	addwz %r1,%r1,%r2
	bdleu %r1,%r5,mem_fwrite+240
;mem_fwrite+224
	std %r1,%r4,8
	nop 0
	nop 0
;mem_fwrite+240
	mov %r1,%r3
	retf 0
	nop 0
;mem_get_buf
	alloc 5
	lddz %r4,%r1,0
	std %r4,%r2,0
;mem_get_buf+16
	lddz %r1,%r1,8
	std %r1,%r3,0
	retf 0
;mem_fclose
	alloc 5
	ldwz %r2,%r1,28
	bwnei %r2,1,mem_fclose+32
;mem_fclose+16
	lddz %r4,%r1,0
	callr %r3,Z_Free
	nop 0
;mem_fclose+32
	mov %r4,%r1
	callr %r3,Z_Free
	retf 0
;mem_ftell
	alloc 2
	ldwz %r1,%r1,24
	retf 0
;mem_fseek
	allocsp 8,16
	mov %r4,%r1
	ldi %r1,-1
;mem_fseek+16
	bweqi %r3,2,mem_fseek+64
	bweqi %r3,1,mem_fseek+48
	bweq %r3,%gz,mem_fseek+80
;mem_fseek+32
	retf 16
	nop 0
	nop 0
;mem_fseek+48
	ldwz %r3,%r4,24
	addws %r2,%r3,%r2
	jmp mem_fseek+80
;mem_fseek+64
	lddz %r3,%r4,8
	add %r2,%r3,%r2
	nop 0
;mem_fseek+80
	lddz %r3,%r4,8
	srliw %r5,%r2,0
	bdleu %r3,%r5,mem_fseek+112
;mem_fseek+96
	mov %r1,%gz
	stw %r2,%r4,24
	retf 16
;mem_fseek+112
	ldafr %r7,.rodata+8300
	stw %r2,%sp,0
	callr %r6,printf
;mem_fseek+128
	retf 16
	nop 0
	nop 0
;M_CheckParmWithArgs
	alloc 9
	ldwzr %r3,myargc
	subws %r3,%r3,%r2
;M_CheckParmWithArgs+16
	bwlti %r3,2,M_CheckParmWithArgs+96
	mov %r2,%r1
	lddzr %r1,myargv
;M_CheckParmWithArgs+32
	srliw %r4,%r3,0
	addi %r5,%r1,8
	ldi %r1,1
;M_CheckParmWithArgs+48
	lddz %r8,%r5,0
	mov %r7,%r2
	callr %r6,strcasecmp
;M_CheckParmWithArgs+64
	bweq %r7,%gz,M_CheckParmWithArgs+112
	addi %r1,%r1,1
	addi %r5,%r5,8
;M_CheckParmWithArgs+80
	bdne %r4,%r1,M_CheckParmWithArgs+48
	nop 0
	nop 0
;M_CheckParmWithArgs+96
	mov %r1,%gz
	nop 0
	nop 0
;M_CheckParmWithArgs+112
	retf 0
	nop 0
	nop 0
;M_ParmExists
	alloc 9
	ldwzr %r3,myargc
	mov2 %r2,%r1,%r1,%gz
;M_ParmExists+16
	bwlti %r3,2,M_ParmExists+96
	lddzr %r1,myargv
	srliw %r3,%r3,0
;M_ParmExists+32
	addi %r5,%r3,-2
	addi %r3,%r1,8
	nop 0
;M_ParmExists+48
	mov %r4,%r5
	lddz %r8,%r3,0
	mov %r7,%r2
;M_ParmExists+64
	callr %r6,strcasecmp
	cmpweqi %r1,%r7,0
	bweq %r7,%gz,M_ParmExists+96
;M_ParmExists+80
	addi %r5,%r4,-1
	addi %r3,%r3,8
	bdne %r4,%gz,M_ParmExists+48
;M_ParmExists+96
	retf 0
	nop 0
	nop 0
;M_CheckParm
	alloc 9
	ldwzr %r3,myargc
	bwlti %r3,2,M_CheckParm+96
;M_CheckParm+16
	mov %r2,%r1
	lddzr %r1,myargv
	srliw %r4,%r3,0
;M_CheckParm+32
	addi %r5,%r1,8
	ldi %r1,1
	nop 0
;M_CheckParm+48
	lddz %r8,%r5,0
	mov %r7,%r2
	callr %r6,strcasecmp
;M_CheckParm+64
	bweq %r7,%gz,M_CheckParm+112
	addi %r1,%r1,1
	addi %r5,%r5,8
;M_CheckParm+80
	bdne %r4,%r1,M_CheckParm+48
	nop 0
	nop 0
;M_CheckParm+96
	mov %r1,%gz
	nop 0
	nop 0
;M_CheckParm+112
	retf 0
	nop 0
	nop 0
;M_FindResponseFile
	alloc 1
	retf 0
	nop 0
;M_GetExecutableName
	alloc 6
	lddzr %r1,myargv
	lddz %r1,%r1,0
;M_GetExecutableName+16
	ldi %r5,47
	mov %r4,%r1
	callr %r3,strrchr
;M_GetExecutableName+32
	addi %r2,%r4,1
	cmovdeq %r1,%r4,%r1,%r2
	retf 0
;M_ClearBox
	alloc 3
	ldi.l %r2,-2147483648
;M_ClearBox+16
	stw %r2,%r1,12
	stw %r2,%r1,0
	nop 2
;M_ClearBox+32
	ldi.l %r2,2147483647
	stw %r2,%r1,8
;M_ClearBox+48
	stw %r2,%r1,4
	retf 0
	nop 0
;M_AddToBox
	alloc 5
	ldwz %r4,%r1,8
	bwle %r4,%r2,M_AddToBox+32
;M_AddToBox+16
	stw %r2,%r1,8
	jmp M_AddToBox+48
	nop 0
;M_AddToBox+32
	ldwz %r4,%r1,12
	bwle %r2,%r4,M_AddToBox+48
	stw %r2,%r1,12
;M_AddToBox+48
	ldwz %r2,%r1,4
	bwle %r2,%r3,M_AddToBox+80
	stw %r3,%r1,4
;M_AddToBox+64
	retf 0
	nop 0
	nop 0
;M_AddToBox+80
	ldwz %r2,%r1,0
	bwle %r3,%r2,M_AddToBox+96
	stw %r3,%r1,0
;M_AddToBox+96
	retf 0
	nop 0
	nop 0
;cht_CheckCheat
	alloc 8
	ldwz %r5,%r1,40
	bwlti %r5,1,cht_CheckCheat+48
;cht_CheckCheat+16
	mov %r7,%r1
	callr %r6,strlen
	lddz %r3,%r1,32
;cht_CheckCheat+32
	bdleu %r3,%r7,cht_CheckCheat+48
	mov %r1,%gz
	retf 0
;cht_CheckCheat+48
	lddz %r4,%r1,48
	mov %r7,%r1
	callr %r6,strlen
;cht_CheckCheat+64
	bdleu %r7,%r4,cht_CheckCheat+128
	ldbzx.xd %r3,%r1,%r4,0,0
	andi %r2,%r2,255
;cht_CheckCheat+80
	cmpweq %r2,%r2,%r3
	addi %r4,%r4,1
	mov %r3,%gz
;cht_CheckCheat+96
	cmovlsb %r4,%r2,%r4,%gz
	std %r4,%r1,48
	stw %gz,%r1,56
;cht_CheckCheat+112
	jmp cht_CheckCheat+176
	nop 0
	nop 0
;cht_CheckCheat+128
	ldwz %r3,%r1,56
	bwle %r5,%r3,cht_CheckCheat+176
	stbx.xw %r2,%r1,%r3,0,60
;cht_CheckCheat+144
	ldwz %r2,%r1,56
	addiws %r3,%r2,1
	stw %r3,%r1,56
;cht_CheckCheat+160
	lddz %r4,%r1,48
	nop 0
	nop 0
;cht_CheckCheat+176
	mov %r7,%r1
	callr %r6,strlen
	bdleu %r7,%r4,cht_CheckCheat+208
;cht_CheckCheat+192
	mov %r1,%gz
	retf 0
	nop 0
;cht_CheckCheat+208
	ldwz %r2,%r1,40
	bwle %r2,%r3,cht_CheckCheat+240
	mov %r1,%gz
;cht_CheckCheat+224
	retf 0
	nop 0
	nop 0
;cht_CheckCheat+240
	stw %gz,%r1,56
	std %gz,%r1,48
	ldi %r1,1
;cht_CheckCheat+256
	retf 0
	nop 0
	nop 0
;cht_GetParam
	alloc 7
	addi %r5,%r1,60
	ldws %r6,%r1,40
;cht_GetParam+16
	mov %r4,%r2
	callr %r3,memcpy
	retf 0
;M_SetConfigFilenames
	alloc 3
	stdr %r1,default_main_config
	stdr %r2,default_extra_config
;M_SetConfigFilenames+16
	retf 0
	nop 0
	nop 0
;M_SaveDefaults
	alloc 1
	retf 0
	nop 0
;M_SaveDefaultsAlternate
	alloc 1
	retf 0
	nop 0
;M_LoadDefaults
	allocsp 5,16
	ldafr %r3,.rodata+17490
	ldi %r4,1
;M_LoadDefaults+16
	callr %r2,M_CheckParmWithArgs
	bweq %r3,%gz,M_LoadDefaults+80
	lddzr %r1,myargv
;M_LoadDefaults+32
	lddzx.xw %r1,%r1,%r3,3,8
	stdr %r1,doom_defaults.2
	ldafr %r4,.rodata+21012
;M_LoadDefaults+48
	std %r1,%sp,0
	callr %r3,printf
	lddzr %r4,doom_defaults.2
;M_LoadDefaults+64
	jmp M_LoadDefaults+112
	nop 0
	nop 0
;M_LoadDefaults+80
	lddzr %r4,configdir
	lddzr %r1,default_main_config
	std %gz,%sp,8
;M_LoadDefaults+96
	std %r1,%sp,0
	callr %r3,M_StringJoin
	stdr %r4,doom_defaults.2
;M_LoadDefaults+112
	ldafr %r1,.rodata+25533
	std %r4,%sp,0
	mov %r4,%r1
;M_LoadDefaults+128
	callr %r3,printf
	ldafr %r3,.rodata+25554
	ldi %r4,1
;M_LoadDefaults+144
	callr %r2,M_CheckParmWithArgs
	bweq %r3,%gz,M_LoadDefaults+192
	lddzr %r1,myargv
;M_LoadDefaults+160
	lddzx.xw %r1,%r1,%r3,3,8
	stdr %r1,extra_defaults.2
	ldafr %r4,.rodata+9166
;M_LoadDefaults+176
	std %r1,%sp,0
	callr %r3,printf
	retf 16
;M_LoadDefaults+192
	lddzr %r4,configdir
	lddzr %r1,default_extra_config
	std %gz,%sp,8
;M_LoadDefaults+208
	std %r1,%sp,0
	callr %r3,M_StringJoin
	stdr %r4,extra_defaults.2
;M_LoadDefaults+224
	retf 16
	nop 0
	nop 0
;M_BindVariable
	alloc 5
	mov %r4,%r1
	callr %r3,GetDefaultForName
;M_BindVariable+16
	std %r2,%r4,8
	ldi %r1,1
	stw %r1,%r4,28
;M_BindVariable+32
	retf 0
	nop 0
	nop 0
;GetDefaultForName
	allocsp 8,16
	mov %r3,%gz
	ldafr %r4,doom_defaults_list
;GetDefaultForName+16
	lddzx.xd %r7,%r3,%r4,0,0
	mov %r6,%r1
	callr %r5,strcmp
;GetDefaultForName+32
	bweq %r6,%gz,GetDefaultForName+160
	addi %r3,%r3,32
	nop 2
;GetDefaultForName+48
	bdnei.l %r3,2432,GetDefaultForName+16
	mov %r3,%gz
;GetDefaultForName+64
	ldafr %r4,extra_defaults_list
	nop 0
	nop 0
;GetDefaultForName+80
	lddzx.xd %r7,%r3,%r4,0,0
	mov %r6,%r1
	callr %r5,strcmp
;GetDefaultForName+96
	bweq %r6,%gz,GetDefaultForName+160
	addi %r3,%r3,32
	nop 2
;GetDefaultForName+112
	bdnei.l %r3,3808,GetDefaultForName+80
	ldafr %r7,.rodata+1744
;GetDefaultForName+128
	std %r1,%sp,0
	callr %r6,I_Error
	mov %r1,%gz
;GetDefaultForName+144
	retf 16
	nop 0
	nop 0
;GetDefaultForName+160
	add %r1,%r3,%r4
	retf 16
	nop 0
;M_SetVariable
	allocsp 8,32
	mov %r7,%r1
	callr %r6,GetDefaultForName
;M_SetVariable+16
	bdeq %r7,%gz,M_SetVariable+128
	ldwz %r1,%r7,28
	bweq %r1,%gz,M_SetVariable+128
;M_SetVariable+32
	ldwz %r3,%r7,16
	ldi %r1,1
	bdgeui %r3,5,M_SetVariable+320
;M_SetVariable+48
	ldafr %r4,.rodata+33852
	jmpt %r4,%r3
	nop 0
;M_SetVariable+64
	mov %r3,%r7
	ldbz %r4,%r2,0
	bwnei %r4,48,M_SetVariable+144
;M_SetVariable+80
	ldbz %r4,%r2,1
	bwnei %r4,120,M_SetVariable+144
	addi %r6,%r2,2
;M_SetVariable+96
	addi %r2,%sp,24
	ldafr %r7,.rodata+5051
	std %r2,%sp,0
;M_SetVariable+112
	jmp M_SetVariable+176
	nop 0
	nop 0
;M_SetVariable+128
	mov %r1,%gz
	retf 32
	nop 0
;M_SetVariable+144
	addi %r4,%sp,24
	ldafr %r7,.rodata+18175
	std %r4,%sp,0
;M_SetVariable+160
	mov %r6,%r2
	nop 0
	nop 0
;M_SetVariable+176
	callr %r5,sscanf
	ldwz %r2,%sp,24
	jmp M_SetVariable+432
;M_SetVariable+192
	mov %r3,%r7
	ldbz %r4,%r2,0
	bwnei %r4,48,M_SetVariable+336
;M_SetVariable+208
	ldbz %r4,%r2,1
	bwnei %r4,120,M_SetVariable+336
	addi %r6,%r2,2
;M_SetVariable+224
	addi %r2,%sp,28
	ldafr %r7,.rodata+5051
	std %r2,%sp,0
;M_SetVariable+240
	jmp M_SetVariable+368
	nop 0
	nop 0
;M_SetVariable+256
	mov2 %r3,%r7,%r7,%r2
	callr %r6,strdup
	lddz %r2,%r3,8
;M_SetVariable+272
	std %r7,%r2,0
	retf 32
	nop 0
;M_SetVariable+288
	mov2 %r3,%r7,%r7,%r2
	callr %r6,atof
	lddz %r2,%r3,8
;M_SetVariable+304
	fcvtsd2ss %r3,%r7,0
	stw %r3,%r2,0
	nop 0
;M_SetVariable+320
	retf 32
	nop 0
	nop 0
;M_SetVariable+336
	addi %r4,%sp,28
	ldafr %r7,.rodata+18175
	std %r4,%sp,0
;M_SetVariable+352
	mov %r6,%r2
	nop 0
	nop 0
;M_SetVariable+368
	callr %r5,sscanf
	ldwz %r4,%sp,28
	mov %r2,%gz
;M_SetVariable+384
	stw %r4,%r3,20
	bwgeui %r4,128,M_SetVariable+416
	ldafr %r2,scantokey
;M_SetVariable+400
	ldwzx.xuw %r2,%r2,%r4,2,0
	nop 0
	nop 0
;M_SetVariable+416
	stw %r2,%r3,24
	nop 0
	nop 0
;M_SetVariable+432
	lddz %r3,%r3,8
	stw %r2,%r3,0
	retf 32
;M_GetIntVariable
	alloc 4
	mov %r3,%r1
	callr %r2,GetDefaultForName
;M_GetIntVariable+16
	bdeq %r3,%gz,M_GetIntVariable+64
	ldwz %r1,%r3,28
	bweq %r1,%gz,M_GetIntVariable+64
;M_GetIntVariable+32
	ldwz %r1,%r3,16
	bwgeui %r1,2,M_GetIntVariable+64
	lddz %r1,%r3,8
;M_GetIntVariable+48
	ldwz %r1,%r1,0
	retf 0
	nop 0
;M_GetIntVariable+64
	mov %r1,%gz
	retf 0
	nop 0
;M_GetStrVariable
	alloc 4
	mov %r3,%r1
	callr %r2,GetDefaultForName
;M_GetStrVariable+16
	bdeq %r3,%gz,M_GetStrVariable+64
	ldwz %r1,%r3,28
	bweq %r1,%gz,M_GetStrVariable+64
;M_GetStrVariable+32
	ldwz %r1,%r3,16
	bwnei %r1,2,M_GetStrVariable+64
	lddz %r1,%r3,8
;M_GetStrVariable+48
	lddz %r1,%r1,0
	retf 0
	nop 0
;M_GetStrVariable+64
	mov %r1,%gz
	retf 0
	nop 0
;M_GetFloatVariable
	alloc 4
	mov %r3,%r1
	callr %r2,GetDefaultForName
;M_GetFloatVariable+16
	bdeq %r3,%gz,M_GetFloatVariable+64
	ldwz %r1,%r3,28
	bweq %r1,%gz,M_GetFloatVariable+64
;M_GetFloatVariable+32
	ldwz %r1,%r3,16
	bwnei %r1,3,M_GetFloatVariable+64
	lddz %r1,%r3,8
;M_GetFloatVariable+48
	ldwz %r1,%r1,0
	retf 0
	nop 0
;M_GetFloatVariable+64
	mov %r1,%gz
	retf 0
	nop 0
;M_SetConfigDir
	allocsp 4,16
	mov %r3,%r1
	bdne %r1,%gz,M_SetConfigDir+48
;M_SetConfigDir+16
	ldi %r3,2
	callr %r2,malloc
	ldi %r1,46
;M_SetConfigDir+32
	stb %r1,%r3,0
	stb %gz,%r3,1
	nop 0
;M_SetConfigDir+48
	stdr %r3,configdir
	ldbz %r1,%r3,0
	bweq %r1,%gz,M_SetConfigDir+96
;M_SetConfigDir+64
	ldafr %r1,.rodata+4992
	std %r3,%sp,0
	mov %r3,%r1
;M_SetConfigDir+80
	callr %r2,printf
	lddzr %r3,configdir
	nop 0
;M_SetConfigDir+96
	callr %r2,M_MakeDirectory
	retf 16
	nop 0
;M_GetSaveGameDir
	allocsp 4,32
	lddzr %r3,configdir
	ldbz %r1,%r3,0
;M_GetSaveGameDir+16
	bweq %r1,%gz,M_GetSaveGameDir+96
	std %gz,%sp,16
	ldafr %r1,.rodata+3950
;M_GetSaveGameDir+32
	std %r1,%sp,8
	ldafr %r1,.rodata+5432
	std %r1,%sp,0
;M_GetSaveGameDir+48
	callr %r2,M_StringJoin
	mov %r1,%r3
	callr %r2,M_MakeDirectory
;M_GetSaveGameDir+64
	ldafr %r3,.rodata+28598
	std %r1,%sp,0
	callr %r2,printf
;M_GetSaveGameDir+80
	retf 32
	nop 0
	nop 0
;M_GetSaveGameDir+96
	ldafr %r3,.rodata+6226
	callr %r2,strdup
	mov %r1,%r3
;M_GetSaveGameDir+112
	retf 32
	nop 0
	nop 0
;sscanf
	allocsp 7,16
	addi %r6,%sp,16
	std %r6,%sp,8
;sscanf+16
	mov2 %r4,%r5,%r1,%r2
	callr %r3,vsscanf
	mov %r1,%r4
;sscanf+32
	retf 16
	nop 0
	nop 0
;vsscanf
	allocsp 9,240
	stq %gz,%sp,64
	stq %gz,%sp,80
;vsscanf+16
	stq %gz,%sp,128
	stq %gz,%sp,144
	std %gz,%sp,224
;vsscanf+32
	stq %gz,%sp,208
	stq %gz,%sp,192
	stq %gz,%sp,176
;vsscanf+48
	stq %gz,%sp,160
	stq %gz,%sp,112
	stq %gz,%sp,96
;vsscanf+64
	stq %gz,%sp,48
	stq %gz,%sp,32
	stq %gz,%sp,16
;vsscanf+80
	stq %gz,%sp,0
	ldar %r4,string_read
	std %r4,%sp,64
;vsscanf+96
	std %r1,%sp,88
	ldi %r4,-1
	stw %r4,%sp,140
;vsscanf+112
	std %r1,%sp,152
	addi %r6,%sp,0
	mov2 %r7,%r8,%r2,%r3
;vsscanf+128
	callr %r5,__isoc99_vfscanf
	mov %r1,%r6
	retf 240
;string_read
	alloc 11
	lddz %r4,%r1,152
	addi %r5,%r3,256
;string_read+16
	mov2 %r8,%r9,%r4,%gz
	mov %r10,%r5
	callr %r7,memchr
;string_read+32
	sub %r6,%r8,%r4
	cmovdeq %r5,%r8,%r5,%r6
	minu %r3,%r5,%r3
;string_read+48
	mov2 %r8,%r9,%r2,%r4
	mov %r10,%r3
	callr %r7,memcpy
;string_read+64
	add %r2,%r4,%r3
	std %r2,%r1,8
	add %r2,%r4,%r5
;string_read+80
	std %r2,%r1,16
	std %r2,%r1,152
	mov %r1,%r3
;string_read+96
	retf 0
	nop 0
	nop 0
;__isoc99_vfscanf
	allocsp 40,304
	mov %r15,%r1
	std %r3,%sp,280
;__isoc99_vfscanf+16
	ldwz %r1,%r1,140
	bwlt %r1,%gz,__isoc99_vfscanf+64
	mov %r39,%r15
;__isoc99_vfscanf+32
	callr %r38,__lockfile
	cmpweqi %r16,%r39,0
	lddz %r1,%r15,8
;__isoc99_vfscanf+48
	bdne %r1,%gz,__isoc99_vfscanf+112
	jmp __isoc99_vfscanf+80
	nop 0
;__isoc99_vfscanf+64
	ldi %r16,1
	lddz %r1,%r15,8
	bdne %r1,%gz,__isoc99_vfscanf+112
;__isoc99_vfscanf+80
	mov %r39,%r15
	callr %r38,__toread
	lddz %r1,%r15,8
;__isoc99_vfscanf+96
	bdeq %r1,%gz,__isoc99_vfscanf+3440
	nop 0
	nop 0
;__isoc99_vfscanf+112
	ldbz %r3,%r2,0
	bweq %r3,%gz,__isoc99_vfscanf+3376
	mov2 %r19,%r1,%gz,%gz
;__isoc99_vfscanf+128
	addi %r17,%sp,16
	ldi %r18,3
	ldafr %r20,.rodata+34384
;__isoc99_vfscanf+144
	ldi %r4,1
	ldi %r21,16
	ldafr %r22,.rodata+34640
;__isoc99_vfscanf+160
	ldi %r10,-1
	ldafr %r23,.rodata+34864
	addi %r5,%sp,15
;__isoc99_vfscanf+176
	ldi %r6,257
	ldi %r24,31
	addi %r7,%sp,272
;__isoc99_vfscanf+192
	addi %r8,%sp,8
	addi %r9,%sp,7
	ldi %r25,2
;__isoc99_vfscanf+208
	jmp __isoc99_vfscanf+272
	nop 0
	nop 0
;__isoc99_vfscanf+224
	lddz %r13,%r15,200
	lddz %r14,%r15,88
	add %r13,%r13,%r19
;__isoc99_vfscanf+240
	addsub %r19,%r13,%r3,%r14
	nop 0
	nop 0
;__isoc99_vfscanf+256
	ldbz %r3,%r2,1
	addi %r2,%r2,1
	bweq %r3,%gz,__isoc99_vfscanf+3520
;__isoc99_vfscanf+272
	andi %r3,%r3,255
	bweqi %r3,32,__isoc99_vfscanf+512
	addiws %r13,%r3,-14
;__isoc99_vfscanf+288
	bwgeui.l %r13,4294967291,__isoc99_vfscanf+512
	bwnei %r3,37,__isoc99_vfscanf+320
;__isoc99_vfscanf+304
	ldbz %r3,%r2,1
	bweqi %r3,42,__isoc99_vfscanf+704
	bwnei %r3,37,__isoc99_vfscanf+720
;__isoc99_vfscanf+320
	mov2 %r38,%r39,%r15,%gz
	callr %r37,__shlim
	ldbz %r3,%r2,0
;__isoc99_vfscanf+336
	bweqi %r3,37,__isoc99_vfscanf+432
	lddz %r3,%r15,8
	lddz %r13,%r15,184
;__isoc99_vfscanf+352
	bdeq %r3,%r13,__isoc99_vfscanf+848
	addi %r13,%r3,1
	std %r13,%r15,8
;__isoc99_vfscanf+368
	ldbz %r39,%r3,0
	ldbz %r3,%r2,0
	bweq %r39,%r3,__isoc99_vfscanf+880
;__isoc99_vfscanf+384
	jmp __isoc99_vfscanf+3392
	nop 0
	nop 0
;__isoc99_vfscanf+400
	mov %r39,%r15
	callr %r38,__shgetc
	addiws %r3,%r39,-9
;__isoc99_vfscanf+416
	bwgeui %r3,5,__isoc99_vfscanf+480
	nop 0
	nop 0
;__isoc99_vfscanf+432
	lddz %r3,%r15,8
	lddz %r13,%r15,184
	bdeq %r3,%r13,__isoc99_vfscanf+400
;__isoc99_vfscanf+448
	addi %r13,%r3,1
	std %r13,%r15,8
	ldbz %r39,%r3,0
;__isoc99_vfscanf+464
	addiws %r3,%r39,-9
	bwltui %r3,5,__isoc99_vfscanf+432
	nop 0
;__isoc99_vfscanf+480
	bweqi %r39,32,__isoc99_vfscanf+432
	addi %r2,%r2,1
	ldbz %r3,%r2,0
;__isoc99_vfscanf+496
	bweq %r39,%r3,__isoc99_vfscanf+880
	jmp __isoc99_vfscanf+3392
	nop 0
;__isoc99_vfscanf+512
	addi %r2,%r2,-1
	nop 0
	nop 0
;__isoc99_vfscanf+528
	ldbz %r3,%r2,2
	addi %r2,%r2,1
	bweqi %r3,32,__isoc99_vfscanf+528
;__isoc99_vfscanf+544
	addiws %r3,%r3,-14
	bwgeui.l %r3,1099511627771,__isoc99_vfscanf+528
;__isoc99_vfscanf+560
	mov2 %r38,%r39,%r15,%gz
	callr %r37,__shlim
	jmp __isoc99_vfscanf+608
;__isoc99_vfscanf+576
	mov %r39,%r15
	callr %r38,__shgetc
	addiws %r3,%r39,-9
;__isoc99_vfscanf+592
	bwgeui %r3,5,__isoc99_vfscanf+656
	nop 0
	nop 0
;__isoc99_vfscanf+608
	lddz %r3,%r15,8
	lddz %r13,%r15,184
	bdeq %r3,%r13,__isoc99_vfscanf+576
;__isoc99_vfscanf+624
	addi %r13,%r3,1
	std %r13,%r15,8
	ldbz %r39,%r3,0
;__isoc99_vfscanf+640
	addiws %r3,%r39,-9
	bwltui %r3,5,__isoc99_vfscanf+608
	nop 0
;__isoc99_vfscanf+656
	bweqi %r39,32,__isoc99_vfscanf+608
	lddz %r13,%r15,192
	lddz %r3,%r15,8
;__isoc99_vfscanf+672
	bdlt %r13,%gz,__isoc99_vfscanf+224
	addi %r3,%r3,-1
	std %r3,%r15,8
;__isoc99_vfscanf+688
	jmp __isoc99_vfscanf+224
	nop 0
	nop 0
;__isoc99_vfscanf+704
	mov %r27,%gz
	addi %r13,%r2,2
	jmp __isoc99_vfscanf+944
;__isoc99_vfscanf+720
	addiws %r3,%r3,-48
	bwgeui %r3,10,__isoc99_vfscanf+912
	ldbz %r13,%r2,2
;__isoc99_vfscanf+736
	bwnei %r13,36,__isoc99_vfscanf+912
	lddz %r13,%sp,280
	std %r13,%sp,296
;__isoc99_vfscanf+752
	std %r13,%sp,288
	bwltui %r3,2,__isoc99_vfscanf+800
	nop 0
;__isoc99_vfscanf+768
	lddz %r13,%sp,288
	algnup %r13,%r13,0,3
	addi %r13,%r13,8
;__isoc99_vfscanf+784
	addiws %r3,%r3,-1
	std %r13,%sp,288
	bwgeui %r3,2,__isoc99_vfscanf+768
;__isoc99_vfscanf+800
	lddz %r3,%sp,288
	algnup %r3,%r3,0,3
	addi %r13,%r3,8
;__isoc99_vfscanf+816
	std %r13,%sp,288
	lddz %r27,%r3,0
	addi %r13,%r2,3
;__isoc99_vfscanf+832
	jmp __isoc99_vfscanf+944
	nop 0
	nop 0
;__isoc99_vfscanf+848
	mov %r39,%r15
	callr %r38,__shgetc
	ldbz %r3,%r2,0
;__isoc99_vfscanf+864
	bwne %r39,%r3,__isoc99_vfscanf+3392
	nop 0
	nop 0
;__isoc99_vfscanf+880
	lddz %r3,%r15,200
	lddz %r13,%r15,8
	lddz %r14,%r15,88
;__isoc99_vfscanf+896
	add %r3,%r3,%r19
	addsub %r19,%r3,%r13,%r14
	jmp __isoc99_vfscanf+256
;__isoc99_vfscanf+912
	lddz %r3,%sp,280
	addi %r13,%r2,1
	algnup %r2,%r3,0,3
;__isoc99_vfscanf+928
	addi %r3,%r2,8
	std %r3,%sp,280
	lddz %r27,%r2,0
;__isoc99_vfscanf+944
	ldbz %r2,%r13,0
	mov %r30,%gz
	addiws %r3,%r2,-48
;__isoc99_vfscanf+960
	bwgeui %r3,10,__isoc99_vfscanf+1072
	nop 0
	nop 0
;__isoc99_vfscanf+976
	mulwsi %r3,%r30,10
	addws %r14,%r3,%r2
	ldbz %r2,%r13,1
;__isoc99_vfscanf+992
	addi %r3,%r13,1
	addiws %r26,%r2,-48
	addiws %r30,%r14,-48
;__isoc99_vfscanf+1008
	mov %r13,%r3
	bwltui %r26,10,__isoc99_vfscanf+976
	cmpdnei %r26,%r27,0
;__isoc99_vfscanf+1024
	bwnei %r2,109,__isoc99_vfscanf+1088
	nop 0
	nop 0
;__isoc99_vfscanf+1040
	mov2 %r12,%r11,%gz,%gz
	addi %r13,%r3,1
	ldbz %r2,%r3,1
;__isoc99_vfscanf+1056
	mov2 %r3,%r28,%r13,%r26
	jmp __isoc99_vfscanf+1104
	nop 0
;__isoc99_vfscanf+1072
	mov %r3,%r13
	cmpdnei %r26,%r27,0
	bweqi %r2,109,__isoc99_vfscanf+1040
;__isoc99_vfscanf+1088
	mov %r28,%gz
	nop 0
	nop 0
;__isoc99_vfscanf+1104
	andi %r2,%r2,255
	addiws %r13,%r2,-65
	bwgeui %r13,58,__isoc99_vfscanf+3472
;__isoc99_vfscanf+1120
	addiwz %r14,%r2,-65
	addi %r2,%r3,1
	mov %r13,%r18
;__isoc99_vfscanf+1136
	jmpt %r20,%r14
	nop 0
	nop 0
;__isoc99_vfscanf+1152
	mov2 %r13,%r2,%gz,%r3
	nop 0
	nop 0
;__isoc99_vfscanf+1168
	ldbz %r3,%r2,0
	andi %r14,%r3,47
	cmpweqi %r14,%r14,3
;__isoc99_vfscanf+1184
	ori %r29,%r3,32
	cmovlsb %r29,%r14,%r29,%r3
	cmovlsb %r14,%r14,%r4,%r13
;__isoc99_vfscanf+1200
	bweqi %r29,91,__isoc99_vfscanf+1440
	bweqi %r29,110,__isoc99_vfscanf+1232
	bwnei %r29,99,__isoc99_vfscanf+1280
;__isoc99_vfscanf+1216
	ldi %r3,1
	maxsw %r30,%r30,%r3
	jmp __isoc99_vfscanf+1440
;__isoc99_vfscanf+1232
	bdeq %r27,%gz,__isoc99_vfscanf+256
	addiws %r3,%r14,2
	bwgeui %r3,6,__isoc99_vfscanf+256
;__isoc99_vfscanf+1248
	addiwz %r3,%r14,2
	ldafr %r13,.rodata+34616
	jmpt %r13,%r3
;__isoc99_vfscanf+1264
	std %r19,%r27,0
	jmp __isoc99_vfscanf+256
	nop 0
;__isoc99_vfscanf+1280
	mov2 %r38,%r39,%r15,%gz
	callr %r37,__shlim
	jmp __isoc99_vfscanf+1328
;__isoc99_vfscanf+1296
	mov %r39,%r15
	callr %r38,__shgetc
	addiws %r3,%r39,-9
;__isoc99_vfscanf+1312
	bwgeui %r3,5,__isoc99_vfscanf+1376
	nop 0
	nop 0
;__isoc99_vfscanf+1328
	lddz %r3,%r15,8
	lddz %r13,%r15,184
	bdeq %r3,%r13,__isoc99_vfscanf+1296
;__isoc99_vfscanf+1344
	addi %r13,%r3,1
	std %r13,%r15,8
	ldbz %r39,%r3,0
;__isoc99_vfscanf+1360
	addiws %r3,%r39,-9
	bwltui %r3,5,__isoc99_vfscanf+1328
	nop 0
;__isoc99_vfscanf+1376
	bweqi %r39,32,__isoc99_vfscanf+1328
	lddz %r13,%r15,192
	lddz %r3,%r15,8
;__isoc99_vfscanf+1392
	bdlt %r13,%gz,__isoc99_vfscanf+1408
	addi %r3,%r3,-1
	std %r3,%r15,8
;__isoc99_vfscanf+1408
	lddz %r13,%r15,200
	lddz %r31,%r15,88
	add %r13,%r13,%r19
;__isoc99_vfscanf+1424
	addsub %r19,%r13,%r3,%r31
	nop 0
	nop 0
;__isoc99_vfscanf+1440
	sraiw %r13,%r30,0
	mov2 %r38,%r39,%r15,%r13
	callr %r37,__shlim
;__isoc99_vfscanf+1456
	lddz %r3,%r15,8
	lddz %r31,%r15,184
	bdeq %r3,%r31,__isoc99_vfscanf+1488
;__isoc99_vfscanf+1472
	addi %r3,%r3,1
	std %r3,%r15,8
	jmp __isoc99_vfscanf+1504
;__isoc99_vfscanf+1488
	mov %r39,%r15
	callr %r38,__shgetc
	bwlt %r39,%gz,__isoc99_vfscanf+3472
;__isoc99_vfscanf+1504
	lddz %r3,%r15,192
	bdlt %r3,%gz,__isoc99_vfscanf+1536
	lddz %r3,%r15,8
;__isoc99_vfscanf+1520
	addi %r3,%r3,-1
	std %r3,%r15,8
	nop 0
;__isoc99_vfscanf+1536
	addiws %r3,%r29,-65
	bwgeui %r3,56,__isoc99_vfscanf+3328
	addiwz %r3,%r29,-65
;__isoc99_vfscanf+1552
	mov %r37,%r21
	jmpt %r22,%r3
	nop 0
;__isoc99_vfscanf+1568
	mov2 %r37,%r38,%r15,%r14
	mov %r39,%gz
	callr %r36,__floatscan
;__isoc99_vfscanf+1584
	lddz %r3,%r15,8
	lddz %r13,%r15,88
	lddz %r29,%r15,200
;__isoc99_vfscanf+1600
	sub %r3,%r13,%r3
	bdeq %r29,%r3,__isoc99_vfscanf+3488
	bdeq %r27,%gz,__isoc99_vfscanf+3328
;__isoc99_vfscanf+1616
	bweqi %r14,2,__isoc99_vfscanf+2256
	bweqi %r14,1,__isoc99_vfscanf+2240
	bwne %r14,%gz,__isoc99_vfscanf+3328
;__isoc99_vfscanf+1632
	fcvtsq2ss %r3,%r37,0
	stw %r3,%r27,0
	jmp __isoc99_vfscanf+3328
;__isoc99_vfscanf+1648
	ori %r3,%r29,16
	bwnei %r3,115,__isoc99_vfscanf+2272
	mov2 %r37,%r38,%r5,%r10
;__isoc99_vfscanf+1664
	mov %r39,%r6
	callr %r36,memset
	stb %gz,%sp,15
;__isoc99_vfscanf+1680
	bwnei %r29,115,__isoc99_vfscanf+1728
	stb %gz,%sp,25
	stb %gz,%sp,26
;__isoc99_vfscanf+1696
	stb %gz,%sp,27
	stb %gz,%sp,28
	stb %gz,%sp,29
;__isoc99_vfscanf+1712
	stb %gz,%sp,48
	nop 0
	nop 0
;__isoc99_vfscanf+1728
	cmpwnei %r31,%r29,99
	addiws %r3,%r30,1
	cmovlsb %r3,%r31,%r24,%r3
;__isoc99_vfscanf+1744
	srliw %r11,%r3,0
	bwnei %r14,1,__isoc99_vfscanf+2048
	mov %r39,%r27
;__isoc99_vfscanf+1760
	bweq %r28,%gz,__isoc99_vfscanf+1792
	slli %r39,%r11,2
	callr %r38,malloc
;__isoc99_vfscanf+1776
	bdeq %r39,%gz,__isoc99_vfscanf+3552
	nop 0
	nop 0
;__isoc99_vfscanf+1792
	mov %r30,%gz
	stw %gz,%sp,272
	stw %gz,%sp,276
;__isoc99_vfscanf+1808
	mov %r14,%r39
	jmp __isoc99_vfscanf+1888
	nop 0
;__isoc99_vfscanf+1824
	mov %r39,%r15
	callr %r38,__shgetc
	ldbzx.xw %r3,%r5,%r39,0,1
;__isoc99_vfscanf+1840
	bweq %r3,%gz,__isoc99_vfscanf+2704
	nop 0
	nop 0
;__isoc99_vfscanf+1856
	stb %r39,%sp,7
	mov2 %r36,%r37,%r8,%r9
	mov2 %r38,%r39,%r4,%r7
;__isoc99_vfscanf+1872
	callr %r35,mbrtowc
	bdnei %r36,-2,__isoc99_vfscanf+1936
	nop 0
;__isoc99_vfscanf+1888
	lddz %r3,%r15,8
	lddz %r12,%r15,184
	bdeq %r3,%r12,__isoc99_vfscanf+1824
;__isoc99_vfscanf+1904
	addi %r12,%r3,1
	std %r12,%r15,8
	ldbz %r39,%r3,0
;__isoc99_vfscanf+1920
	ldbzx.xw %r3,%r5,%r39,0,1
	bwne %r3,%gz,__isoc99_vfscanf+1856
	jmp __isoc99_vfscanf+2704
;__isoc99_vfscanf+1936
	bdeqi %r36,-1,__isoc99_vfscanf+3456
	bdeq %r14,%gz,__isoc99_vfscanf+1968
	ldwz %r3,%sp,8
;__isoc99_vfscanf+1952
	addi %r12,%r30,1
	stwx.xd %r3,%r14,%r30,2,0
	mov %r30,%r12
;__isoc99_vfscanf+1968
	bweq %r28,%gz,__isoc99_vfscanf+1888
	bdne %r30,%r11,__isoc99_vfscanf+1888
	slor %r11,%r4,%r11,1
;__isoc99_vfscanf+1984
	slli %r39,%r11,2
	mov %r38,%r14
	callr %r37,realloc
;__isoc99_vfscanf+2000
	mov %r39,%r38
	bdne %r38,%gz,__isoc99_vfscanf+1808
	jmp __isoc99_vfscanf+3584
;__isoc99_vfscanf+2016
	ldi %r37,10
	jmp __isoc99_vfscanf+2400
	nop 0
;__isoc99_vfscanf+2032
	ldi %r13,1
	jmp __isoc99_vfscanf+1168
	nop 0
;__isoc99_vfscanf+2048
	bweq %r28,%gz,__isoc99_vfscanf+2736
	mov %r39,%r11
	callr %r38,malloc
;__isoc99_vfscanf+2064
	bdeq %r39,%gz,__isoc99_vfscanf+3552
	mov %r12,%gz
	nop 0
;__isoc99_vfscanf+2080
	mov2 %r14,%r30,%r39,%r12
	jmp __isoc99_vfscanf+2160
	nop 0
;__isoc99_vfscanf+2096
	mov %r39,%r15
	callr %r38,__shgetc
	ldbzx.xw %r3,%r5,%r39,0,1
;__isoc99_vfscanf+2112
	bweq %r3,%gz,__isoc99_vfscanf+2640
	nop 0
	nop 0
;__isoc99_vfscanf+2128
	addi %r12,%r30,1
	stbx.xd %r39,%r14,%r30,0,0
	mov %r30,%r12
;__isoc99_vfscanf+2144
	bdeq %r11,%r12,__isoc99_vfscanf+2208
	nop 0
	nop 0
;__isoc99_vfscanf+2160
	lddz %r3,%r15,8
	lddz %r12,%r15,184
	bdeq %r3,%r12,__isoc99_vfscanf+2096
;__isoc99_vfscanf+2176
	addi %r12,%r3,1
	std %r12,%r15,8
	ldbz %r39,%r3,0
;__isoc99_vfscanf+2192
	ldbzx.xw %r3,%r5,%r39,0,1
	bwne %r3,%gz,__isoc99_vfscanf+2128
	jmp __isoc99_vfscanf+2640
;__isoc99_vfscanf+2208
	slor %r11,%r4,%r11,1
	mov2 %r38,%r39,%r14,%r11
	callr %r37,realloc
;__isoc99_vfscanf+2224
	mov %r39,%r38
	bdne %r38,%gz,__isoc99_vfscanf+2080
	jmp __isoc99_vfscanf+3568
;__isoc99_vfscanf+2240
	fcvtsq2sd %r3,%r37,0
	std %r3,%r27,0
	jmp __isoc99_vfscanf+3328
;__isoc99_vfscanf+2256
	stq %r37,%r27,0
	jmp __isoc99_vfscanf+3328
	nop 0
;__isoc99_vfscanf+2272
	ldbz %r32,%r2,1
	addi %r3,%r2,1
	cmpweqi %r38,%r32,94
;__isoc99_vfscanf+2288
	addi %r31,%r2,2
	cmovlsb %r33,%r38,%r25,%r4
	cmovlsb %r31,%r38,%r31,%r3
;__isoc99_vfscanf+2304
	mov2 %r37,%r39,%r5,%r6
	callr %r36,memset
	ldbzx.xd %r2,%r2,%r33,0,0
;__isoc99_vfscanf+2320
	stb %gz,%sp,15
	cmpwnei %r3,%r32,94
	bweqi %r2,45,__isoc99_vfscanf+3120
;__isoc99_vfscanf+2336
	bwnei %r2,93,__isoc99_vfscanf+3136
	addi %r31,%r31,1
	stb %r3,%sp,109
;__isoc99_vfscanf+2352
	jmp __isoc99_vfscanf+3136
	nop 0
	nop 0
;__isoc99_vfscanf+2368
	ldi %r37,8
	jmp __isoc99_vfscanf+2400
	nop 0
;__isoc99_vfscanf+2384
	mov %r37,%gz
	nop 0
	nop 0
;__isoc99_vfscanf+2400
	mov2 %r36,%r38,%r15,%gz
	mov %r39,%r10
	callr %r35,__intscan
;__isoc99_vfscanf+2416
	lddz %r3,%r15,8
	lddz %r13,%r15,88
	lddz %r30,%r15,200
;__isoc99_vfscanf+2432
	sub %r3,%r13,%r3
	bdeq %r30,%r3,__isoc99_vfscanf+3488
	bwnei %r29,112,__isoc99_vfscanf+2480
;__isoc99_vfscanf+2448
	bdeq %r27,%gz,__isoc99_vfscanf+2480
	nop 0
	nop 0
;__isoc99_vfscanf+2464
	std %r36,%r27,0
	jmp __isoc99_vfscanf+3328
	nop 0
;__isoc99_vfscanf+2480
	bdeq %r27,%gz,__isoc99_vfscanf+3328
	addiws %r3,%r14,2
	bwgeui %r3,6,__isoc99_vfscanf+3328
;__isoc99_vfscanf+2496
	addiwz %r3,%r14,2
	jmpt %r23,%r3
	nop 0
;__isoc99_vfscanf+2512
	stb %r36,%r27,0
	jmp __isoc99_vfscanf+3328
	nop 0
;__isoc99_vfscanf+2528
	ldbz %r13,%r3,1
	cmpweqi %r13,%r13,108
	addi %r3,%r3,2
;__isoc99_vfscanf+2544
	ldi %r14,1
	ldi %r29,3
	cmovlsb %r2,%r13,%r3,%r2
;__isoc99_vfscanf+2560
	cmovlsb %r13,%r13,%r29,%r14
	jmp __isoc99_vfscanf+1168
	nop 0
;__isoc99_vfscanf+2576
	mov %r13,%r25
	jmp __isoc99_vfscanf+1168
	nop 0
;__isoc99_vfscanf+2592
	ldbz %r13,%r3,1
	cmpweqi %r13,%r13,104
	addi %r3,%r3,2
;__isoc99_vfscanf+2608
	ldi %r14,-2
	cmovlsb %r2,%r13,%r3,%r2
	cmovlsb %r13,%r13,%r14,%r10
;__isoc99_vfscanf+2624
	jmp __isoc99_vfscanf+1168
	nop 0
	nop 0
;__isoc99_vfscanf+2640
	mov2 %r11,%r12,%gz,%r14
	jmp __isoc99_vfscanf+2960
	nop 0
;__isoc99_vfscanf+2656
	stw %r19,%r27,0
	jmp __isoc99_vfscanf+256
	nop 0
;__isoc99_vfscanf+2672
	stb %r19,%r27,0
	jmp __isoc99_vfscanf+256
	nop 0
;__isoc99_vfscanf+2688
	sth %r19,%r27,0
	jmp __isoc99_vfscanf+256
	nop 0
;__isoc99_vfscanf+2704
	mov %r39,%r7
	callr %r38,mbsinit
	mov2 %r12,%r11,%gz,%r14
;__isoc99_vfscanf+2720
	bwne %r39,%gz,__isoc99_vfscanf+2960
	jmp __isoc99_vfscanf+3456
	nop 0
;__isoc99_vfscanf+2736
	bdeq %r27,%gz,__isoc99_vfscanf+2896
	mov %r30,%gz
	jmp __isoc99_vfscanf+2800
;__isoc99_vfscanf+2752
	mov %r39,%r15
	callr %r38,__shgetc
	ldbzx.xw %r3,%r5,%r39,0,1
;__isoc99_vfscanf+2768
	bweq %r3,%gz,__isoc99_vfscanf+2848
	nop 0
	nop 0
;__isoc99_vfscanf+2784
	addi %r3,%r30,1
	stbx.xd %r39,%r27,%r30,0,0
	mov %r30,%r3
;__isoc99_vfscanf+2800
	lddz %r3,%r15,8
	lddz %r11,%r15,184
	bdeq %r3,%r11,__isoc99_vfscanf+2752
;__isoc99_vfscanf+2816
	addi %r11,%r3,1
	std %r11,%r15,8
	ldbz %r39,%r3,0
;__isoc99_vfscanf+2832
	ldbzx.xw %r3,%r5,%r39,0,1
	bwne %r3,%gz,__isoc99_vfscanf+2784
	nop 0
;__isoc99_vfscanf+2848
	mov2 %r11,%r14,%gz,%r27
	mov %r12,%r27
	jmp __isoc99_vfscanf+2960
;__isoc99_vfscanf+2864
	mov %r39,%r15
	callr %r38,__shgetc
	ldbzx.xw %r3,%r5,%r39,0,1
;__isoc99_vfscanf+2880
	bweq %r3,%gz,__isoc99_vfscanf+2944
	nop 0
	nop 0
;__isoc99_vfscanf+2896
	lddz %r3,%r15,8
	lddz %r11,%r15,184
	bdeq %r3,%r11,__isoc99_vfscanf+2864
;__isoc99_vfscanf+2912
	addi %r11,%r3,1
	std %r11,%r15,8
	ldbz %r39,%r3,0
;__isoc99_vfscanf+2928
	ldbzx.xw %r3,%r5,%r39,0,1
	bwne %r3,%gz,__isoc99_vfscanf+2896
	nop 0
;__isoc99_vfscanf+2944
	mov2 %r14,%r12,%gz,%gz
	mov2 %r11,%r30,%gz,%gz
	nop 0
;__isoc99_vfscanf+2960
	lddz %r32,%r15,192
	lddz %r3,%r15,8
	bdlt %r32,%gz,__isoc99_vfscanf+2992
;__isoc99_vfscanf+2976
	addi %r3,%r3,-1
	std %r3,%r15,8
	nop 0
;__isoc99_vfscanf+2992
	lddz %r32,%r15,88
	lddz %r33,%r15,200
	sub %r3,%r3,%r32
;__isoc99_vfscanf+3008
	add %r3,%r3,%r33
	bdeq %r3,%gz,__isoc99_vfscanf+3488
	cmpdeq %r3,%r3,%r13
;__isoc99_vfscanf+3024
	or %r3,%r31,%r3
	bbci %r3,0,__isoc99_vfscanf+3488
	bweq %r28,%gz,__isoc99_vfscanf+3056
;__isoc99_vfscanf+3040
	std %r14,%r27,0
	nop 0
	nop 0
;__isoc99_vfscanf+3056
	bweqi %r29,99,__isoc99_vfscanf+3328
	bdeq %r11,%gz,__isoc99_vfscanf+3072
	stwx.xd %gz,%r11,%r30,2,0
;__isoc99_vfscanf+3072
	bdeq %r12,%gz,__isoc99_vfscanf+3312
	stbx.xd %gz,%r12,%r30,0,0
	jmp __isoc99_vfscanf+3328
;__isoc99_vfscanf+3088
	stw %r36,%r27,0
	jmp __isoc99_vfscanf+3328
	nop 0
;__isoc99_vfscanf+3104
	sth %r36,%r27,0
	jmp __isoc99_vfscanf+3328
	nop 0
;__isoc99_vfscanf+3120
	addi %r31,%r31,1
	stb %r3,%sp,61
	nop 0
;__isoc99_vfscanf+3136
	mov %r2,%r31
	jmp __isoc99_vfscanf+3184
	nop 0
;__isoc99_vfscanf+3152
	mov %r31,%r32
	nop 0
	nop 0
;__isoc99_vfscanf+3168
	andi %r31,%r31,255
	stbx.xd %r3,%r31,%r5,0,1
	addi %r2,%r2,1
;__isoc99_vfscanf+3184
	ldbz %r31,%r2,0
	bweqi %r31,45,__isoc99_vfscanf+3216
	bweq %r31,%gz,__isoc99_vfscanf+3472
;__isoc99_vfscanf+3200
	bwnei %r31,93,__isoc99_vfscanf+3168
	jmp __isoc99_vfscanf+1728
	nop 0
;__isoc99_vfscanf+3216
	ldbz %r32,%r2,1
	ldi %r31,45
	bweq %r32,%gz,__isoc99_vfscanf+3168
;__isoc99_vfscanf+3232
	bweqi %r32,93,__isoc99_vfscanf+3168
	ldbz %r31,%r2,-1
	addi %r2,%r2,1
;__isoc99_vfscanf+3248
	bwleu %r32,%r31,__isoc99_vfscanf+3152
	srliw %r32,%r31,0
	nop 0
;__isoc99_vfscanf+3264
	ldbz %r31,%r2,0
	addi %r33,%r32,1
	andi %r34,%r31,255
;__isoc99_vfscanf+3280
	stbx.xd %r3,%r17,%r32,0,0
	mov %r32,%r33
	bdltu %r33,%r34,__isoc99_vfscanf+3264
;__isoc99_vfscanf+3296
	jmp __isoc99_vfscanf+3168
	nop 0
	nop 0
;__isoc99_vfscanf+3312
	mov %r12,%gz
	nop 0
	nop 0
;__isoc99_vfscanf+3328
	lddz %r3,%r15,200
	lddz %r13,%r15,8
	lddz %r14,%r15,88
;__isoc99_vfscanf+3344
	add %r3,%r3,%r19
	addsub %r19,%r3,%r13,%r14
	addws %r1,%r1,%r26
;__isoc99_vfscanf+3360
	jmp __isoc99_vfscanf+256
	nop 0
	nop 0
;__isoc99_vfscanf+3376
	mov %r1,%gz
	jmp __isoc99_vfscanf+3520
	nop 0
;__isoc99_vfscanf+3392
	lddz %r2,%r15,192
	bdlt %r2,%gz,__isoc99_vfscanf+3424
	lddz %r2,%r15,8
;__isoc99_vfscanf+3408
	addi %r2,%r2,-1
	std %r2,%r15,8
	nop 0
;__isoc99_vfscanf+3424
	bwgei %r39,0,__isoc99_vfscanf+3520
	bwne %r1,%gz,__isoc99_vfscanf+3520
	nop 0
;__isoc99_vfscanf+3440
	ldi %r1,-1
	jmp __isoc99_vfscanf+3520
	nop 0
;__isoc99_vfscanf+3456
	mov2 %r12,%r11,%gz,%r14
	nop 0
	nop 0
;__isoc99_vfscanf+3472
	cmovweq %r1,%r1,%r10,%r1
	nop 0
	nop 0
;__isoc99_vfscanf+3488
	bweq %r28,%gz,__isoc99_vfscanf+3520
	mov %r39,%r12
	callr %r38,free
;__isoc99_vfscanf+3504
	mov %r39,%r11
	callr %r38,free
	nop 0
;__isoc99_vfscanf+3520
	bbsi %r16,0,__isoc99_vfscanf+3536
	mov %r39,%r15
	callr %r38,__unlockfile
;__isoc99_vfscanf+3536
	retf 304
	nop 0
	nop 0
;__isoc99_vfscanf+3552
	mov2 %r12,%r11,%gz,%gz
	mov %r28,%r4
	jmp __isoc99_vfscanf+3472
;__isoc99_vfscanf+3568
	mov2 %r11,%r12,%gz,%r14
	mov %r28,%r4
	jmp __isoc99_vfscanf+3472
;__isoc99_vfscanf+3584
	mov2 %r12,%r11,%gz,%r14
	mov %r28,%r4
	jmp __isoc99_vfscanf+3472
;__toread
	alloc 9
	ldwz %r2,%r1,136
	addiws %r3,%r2,-1
;__toread+16
	or %r2,%r3,%r2
	stw %r2,%r1,136
	lddz %r2,%r1,40
;__toread+32
	lddz %r3,%r1,56
	bdeq %r2,%r3,__toread+64
	mov2 %r6,%r7,%r1,%gz
;__toread+48
	mov %r8,%gz
	callmi %r5,%r1,72
	nop 0
;__toread+64
	std %gz,%r1,32
	std %gz,%r1,56
	std %gz,%r1,40
;__toread+80
	ldwz %r2,%r1,0
	bbsi %r2,2,__toread+144
	lddz %r3,%r1,88
;__toread+96
	lddz %r4,%r1,96
	add %r3,%r3,%r4
	std %r3,%r1,16
;__toread+112
	std %r3,%r1,8
	slliw %r1,%r2,27
	sraiw %r1,%r1,31
;__toread+128
	retf 0
	nop 0
	nop 0
;__toread+144
	ori %r2,%r2,32
	stw %r2,%r1,0
	ldi %r1,-1
;__toread+160
	retf 0
	nop 0
	nop 0
;__toread_needs_stdio_exit
	alloc 2
	callr %r1,__stdio_exit_needed
	retf 0
;__shlim
	alloc 6
	std %r2,%r1,192
	lddz %r3,%r1,88
;__shlim+16
	lddz %r4,%r1,8
	sub %r3,%r3,%r4
	std %r3,%r1,200
;__shlim+32
	lddz %r3,%r1,16
	sub %r5,%r3,%r4
	cmpdlt %r5,%r2,%r5
;__shlim+48
	add %r4,%r4,%r2
	cmovlsb %r4,%r5,%r4,%r3
	cmovdeq %r2,%r2,%r3,%r4
;__shlim+64
	std %r2,%r1,184
	retf 0
	nop 0
;__shgetc
	alloc 10
	lddz %r3,%r1,200
	lddz %r2,%r1,8
;__shgetc+16
	lddz %r4,%r1,88
	lddz %r5,%r1,192
	sub %r6,%r2,%r4
;__shgetc+32
	add %r3,%r6,%r3
	bdeq %r5,%gz,__shgetc+48
	bdle %r5,%r3,__shgetc+192
;__shgetc+48
	mov %r9,%r1
	callr %r8,__uflow
	bwlti %r9,0,__shgetc+176
;__shgetc+64
	lddz %r4,%r1,16
	lddz %r2,%r1,8
	lddz %r5,%r1,192
;__shgetc+80
	sub %r6,%r4,%r2
	ldi %r7,1
	subsub %r7,%r5,%r3,%r7
;__shgetc+96
	cmpdlt %r6,%r7,%r6
	add %r7,%r2,%r7
	cmovlsb %r6,%r6,%r7,%r4
;__shgetc+112
	cmovdeq %r4,%r5,%r4,%r6
	std %r4,%r1,184
	lddz %r4,%r1,88
;__shgetc+128
	addi %r3,%r3,1
	addsub %r3,%r3,%r4,%r2
	std %r3,%r1,200
;__shgetc+144
	bdltu %r4,%r2,__shgetc+160
	stb %r9,%r2,-1
	nop 0
;__shgetc+160
	mov %r1,%r9
	retf 0
	nop 0
;__shgetc+176
	lddz %r4,%r1,88
	lddz %r2,%r1,8
	nop 0
;__shgetc+192
	addsub %r3,%r3,%r4,%r2
	std %r3,%r1,200
	std %r2,%r1,184
;__shgetc+208
	ldi %r9,-1
	std %r9,%r1,192
	mov %r1,%r9
;__shgetc+224
	retf 0
	nop 0
	nop 0
;__uflow
	allocsp 6,16
	mov2 %r3,%r5,%r1,%r1
	callr %r4,__toread
;__uflow+16
	ldi %r1,-1
	bweq %r5,%gz,__uflow+48
	nop 0
;__uflow+32
	retf 16
	nop 0
	nop 0
;__uflow+48
	addi %r4,%sp,15
	ldi %r5,1
	callmi %r2,%r3,64
;__uflow+64
	bdnei %r3,1,__uflow+32
	ldbz %r1,%sp,15
	retf 16
;__floatscan
	allocsp 27,8192
	mov2 %r22,%r1,%r1,%gz
	bwgeui %r2,3,__floatscan+4384
;__floatscan+16
	ldi %r1,6
	srlw %r1,%r1,%r2
	andi %r6,%r1,1
;__floatscan+32
	ldafr %r1,.Lswitch.table.__floatscan
	ldwzx.xuw %r23,%r1,%r2,2,0
	ldafr %r1,.Lswitch.table.__floatscan.2
;__floatscan+48
	ldwzx.xuw %r2,%r1,%r2,2,0
	nop 0
	nop 0
;__floatscan+64
	lddz %r1,%r22,8
	lddz %r4,%r22,184
	bdeq %r1,%r4,__floatscan+112
;__floatscan+80
	addi %r4,%r1,1
	std %r4,%r22,8
	ldbz %r26,%r1,0
;__floatscan+96
	addiws %r1,%r26,-9
	bwltui %r1,5,__floatscan+64
	jmp __floatscan+144
;__floatscan+112
	mov %r26,%r22
	callr %r25,__shgetc
	addiws %r1,%r26,-9
;__floatscan+128
	bwltui %r1,5,__floatscan+64
	nop 0
	nop 0
;__floatscan+144
	bweqi %r26,32,__floatscan+64
	bweqi %r26,45,__floatscan+160
	bwnei %r26,43,__floatscan+224
;__floatscan+160
	lddz %r4,%r22,8
	lddz %r5,%r22,184
	cmpweqi %r1,%r26,45
;__floatscan+176
	ldi %r7,1
	ldi %r8,-1
	cmovlsb %r1,%r1,%r8,%r7
;__floatscan+192
	bdeq %r4,%r5,__floatscan+240
	addi %r5,%r4,1
	std %r5,%r22,8
;__floatscan+208
	ldbz %r26,%r4,0
	jmp __floatscan+256
	nop 0
;__floatscan+224
	ldi %r1,1
	jmp __floatscan+256
	nop 0
;__floatscan+240
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+256
	andi %r5,%r26,-33
	mov %r4,%gz
	bwnei %r5,73,__floatscan+384
;__floatscan+272
	mov %r7,%gz
	ldafr %r5,.rodata+21124
	jmp __floatscan+336
;__floatscan+288
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+304
	ldbsx.xd %r8,%r7,%r5,0,0
	addi %r4,%r7,1
	ori %r9,%r26,32
;__floatscan+320
	mov %r7,%r4
	bwne %r9,%r8,__floatscan+384
	nop 0
;__floatscan+336
	bdeqi %r7,7,__floatscan+464
	lddz %r4,%r22,8
	lddz %r8,%r22,184
;__floatscan+352
	bdeq %r4,%r8,__floatscan+288
	addi %r8,%r4,1
	std %r8,%r22,8
;__floatscan+368
	ldbz %r26,%r4,0
	jmp __floatscan+304
	nop 0
;__floatscan+384
	bdeqi %r4,3,__floatscan+416
	bdeqi %r4,8,__floatscan+464
	bweq %r3,%gz,__floatscan+544
;__floatscan+400
	bdltui %r4,4,__floatscan+544
	bdeqi %r4,8,__floatscan+464
	nop 0
;__floatscan+416
	lddz %r2,%r22,192
	bdlt %r2,%gz,__floatscan+448
	lddz %r5,%r22,8
;__floatscan+432
	addi %r5,%r5,-1
	std %r5,%r22,8
	nop 0
;__floatscan+448
	bweq %r3,%gz,__floatscan+464
	bdgeui %r4,4,__floatscan+512
	nop 0
;__floatscan+464
	fcvtiw2ss %r1,%r1,0
	ldi.l %r2,2139095040
;__floatscan+480
	fmulss %r1,%r1,%r2
	fextss2sq %r1,%r1
	retf 8192
;__floatscan+496
	addi %r4,%r4,-1
	bdltui %r4,4,__floatscan+464
	nop 0
;__floatscan+512
	bdlt %r2,%gz,__floatscan+496
	lddz %r3,%r22,8
	addi %r3,%r3,-1
;__floatscan+528
	std %r3,%r22,8
	jmp __floatscan+496
	nop 0
;__floatscan+544
	bdne %r4,%gz,__floatscan+688
	andi %r5,%r26,-33
	mov %r4,%gz
;__floatscan+560
	bwnei %r5,78,__floatscan+688
	mov %r7,%gz
	ldafr %r5,.rodata+22865
;__floatscan+576
	jmp __floatscan+640
	nop 0
	nop 0
;__floatscan+592
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+608
	ldbsx.xd %r8,%r7,%r5,0,0
	addi %r4,%r7,1
	ori %r9,%r26,32
;__floatscan+624
	mov %r7,%r4
	bwne %r9,%r8,__floatscan+688
	nop 0
;__floatscan+640
	bdeqi %r7,2,__floatscan+704
	lddz %r4,%r22,8
	lddz %r8,%r22,184
;__floatscan+656
	bdeq %r4,%r8,__floatscan+592
	addi %r8,%r4,1
	std %r8,%r22,8
;__floatscan+672
	ldbz %r26,%r4,0
	jmp __floatscan+608
	nop 0
;__floatscan+688
	bdeq %r4,%gz,__floatscan+752
	bdnei %r4,3,__floatscan+800
	nop 0
;__floatscan+704
	lddz %r1,%r22,8
	lddz %r2,%r22,184
	bdeq %r1,%r2,__floatscan+832
;__floatscan+720
	addi %r2,%r1,1
	std %r2,%r22,8
	ldbz %r26,%r1,0
;__floatscan+736
	jmp __floatscan+848
	nop 0
	nop 0
;__floatscan+752
	bwnei %r26,48,__floatscan+1232
	lddz %r4,%r22,8
	lddz %r5,%r22,184
;__floatscan+768
	bdeq %r4,%r5,__floatscan+1136
	addi %r5,%r4,1
	std %r5,%r22,8
;__floatscan+784
	ldbz %r4,%r4,0
	jmp __floatscan+1152
	nop 0
;__floatscan+800
	lddz %r1,%r22,192
	bdlt %r1,%gz,__floatscan+2080
	lddz %r1,%r22,8
;__floatscan+816
	addi %r1,%r1,-1
	std %r1,%r22,8
	jmp __floatscan+2080
;__floatscan+832
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+848
	bwnei %r26,40,__floatscan+1088
	ldi %r2,-1
	jmp __floatscan+880
;__floatscan+864
	addi %r2,%r2,-1
	nop 0
	nop 0
;__floatscan+880
	lddz %r1,%r22,8
	lddz %r4,%r22,184
	bdeq %r1,%r4,__floatscan+928
;__floatscan+896
	addi %r4,%r1,1
	std %r4,%r22,8
	ldbz %r26,%r1,0
;__floatscan+912
	addiws %r1,%r26,-48
	bwgeui %r1,10,__floatscan+960
	jmp __floatscan+864
;__floatscan+928
	mov %r26,%r22
	callr %r25,__shgetc
	addiws %r1,%r26,-48
;__floatscan+944
	bwltui %r1,10,__floatscan+864
	nop 0
	nop 0
;__floatscan+960
	addiws %r1,%r26,-65
	bwltui %r1,26,__floatscan+864
	bweqi %r26,95,__floatscan+864
;__floatscan+976
	addiws %r1,%r26,-97
	bwltui %r1,26,__floatscan+864
	ldqr %r1,.rodata+29152
;__floatscan+992
	bweqi %r26,41,__floatscan+4384
	lddz %r4,%r22,192
	bdlt %r4,%gz,__floatscan+1024
;__floatscan+1008
	lddz %r5,%r22,8
	addi %r5,%r5,-1
	std %r5,%r22,8
;__floatscan+1024
	bweq %r3,%gz,__floatscan+2080
	bdne %r2,%gz,__floatscan+1056
	jmp __floatscan+4384
;__floatscan+1040
	addi %r2,%r2,1
	bdeq %r2,%gz,__floatscan+4384
	nop 0
;__floatscan+1056
	bdlt %r4,%gz,__floatscan+1040
	lddz %r3,%r22,8
	addi %r3,%r3,-1
;__floatscan+1072
	std %r3,%r22,8
	jmp __floatscan+1040
	nop 0
;__floatscan+1088
	lddz %r2,%r22,192
	ldqr %r1,.rodata+29152
	bdlt %r2,%gz,__floatscan+4384
;__floatscan+1104
	lddz %r2,%r22,8
	addi %r2,%r2,-1
	std %r2,%r22,8
;__floatscan+1120
	retf 8192
	nop 0
	nop 0
;__floatscan+1136
	mov2 %r5,%r26,%r26,%r22
	callr %r25,__shgetc
	mov2 %r4,%r26,%r26,%r5
;__floatscan+1152
	andi %r4,%r4,-33
	bwnei %r4,88,__floatscan+1200
	mov2 %r24,%r25,%r2,%r1
;__floatscan+1168
	mov %r26,%r3
	callr %r21,hexfloat
	mov %r1,%r22
;__floatscan+1184
	retf 8192
	nop 0
	nop 0
;__floatscan+1200
	lddz %r4,%r22,192
	bdlt %r4,%gz,__floatscan+1232
	lddz %r4,%r22,8
;__floatscan+1216
	addi %r4,%r4,-1
	std %r4,%r22,8
	nop 0
;__floatscan+1232
	mov %r13,%gz
	subfiws %r8,%r2,0
	subws %r7,%r8,%r23
;__floatscan+1248
	ldi %r5,1
	bweqi %r26,48,__floatscan+1296
	jmp __floatscan+1344
;__floatscan+1264
	addi %r9,%r4,1
	std %r9,%r22,8
	ldbz %r26,%r4,0
;__floatscan+1280
	mov %r13,%r5
	bwnei %r26,48,__floatscan+1344
	nop 0
;__floatscan+1296
	lddz %r4,%r22,8
	lddz %r9,%r22,184
	bdne %r4,%r9,__floatscan+1264
;__floatscan+1312
	mov %r26,%r22
	callr %r25,__shgetc
	mov %r13,%r5
;__floatscan+1328
	bweqi %r26,48,__floatscan+1296
	nop 0
	nop 0
;__floatscan+1344
	bwnei %r26,46,__floatscan+1392
	lddz %r4,%r22,8
	lddz %r5,%r22,184
;__floatscan+1360
	bdeq %r4,%r5,__floatscan+1408
	addi %r5,%r4,1
	std %r5,%r22,8
;__floatscan+1376
	ldbz %r26,%r4,0
	jmp __floatscan+1424
	nop 0
;__floatscan+1392
	mov2 %r5,%r14,%gz,%gz
	jmp __floatscan+1568
	nop 0
;__floatscan+1408
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+1424
	mov %r5,%gz
	bwnei %r26,48,__floatscan+1552
	ldi %r13,1
;__floatscan+1440
	jmp __floatscan+1488
	nop 0
	nop 0
;__floatscan+1456
	mov %r26,%r22
	callr %r25,__shgetc
	addi %r5,%r5,-1
;__floatscan+1472
	bwnei %r26,48,__floatscan+1536
	nop 0
	nop 0
;__floatscan+1488
	lddz %r4,%r22,8
	lddz %r9,%r22,184
	bdeq %r4,%r9,__floatscan+1456
;__floatscan+1504
	addi %r9,%r4,1
	std %r9,%r22,8
	ldbz %r26,%r4,0
;__floatscan+1520
	addi %r5,%r5,-1
	bweqi %r26,48,__floatscan+1488
	nop 0
;__floatscan+1536
	mov %r14,%r13
	jmp __floatscan+1568
	nop 0
;__floatscan+1552
	ldi %r14,1
	nop 0
	nop 0
;__floatscan+1568
	stw %gz,%sp,0
	addiws %r4,%r26,-48
	bweqi %r26,46,__floatscan+1616
;__floatscan+1584
	bwltui %r4,10,__floatscan+1616
	mov2 %r12,%r10,%gz,%gz
	mov2 %r9,%r11,%gz,%gz
;__floatscan+1600
	jmp __floatscan+1904
	nop 0
	nop 0
;__floatscan+1616
	mov2 %r11,%r9,%gz,%gz
	mov2 %r10,%r12,%gz,%gz
	cmpweqi %r18,%r26,46
;__floatscan+1632
	ldi %r15,1
	addi %r16,%sp,0
	ldi %r17,18396
;__floatscan+1648
	bbci %r18,0,__floatscan+1680
	bwne %r14,%gz,__floatscan+2016
	mov2 %r5,%r14,%r12,%r15
;__floatscan+1664
	jmp __floatscan+1808
	nop 0
	nop 0
;__floatscan+1680
	addi %r12,%r12,1
	bwgei.l %r9,2045,__floatscan+1776
;__floatscan+1696
	ldax.xw %r13,%r16,%r9,2,0
	bweq %r11,%gz,__floatscan+1728
	ldwz %r4,%r13,0
;__floatscan+1712
	mulwsi %r4,%r4,10
	addws %r4,%r26,%r4
	addiws %r4,%r4,-48
;__floatscan+1728
	cmpweqi %r18,%r26,48
	cmovlsb %r10,%r18,%r10,%r12
	stw %r4,%r13,0
;__floatscan+1744
	addiws %r4,%r11,1
	cmpweqi %r11,%r4,9
	addws %r9,%r9,%r11
;__floatscan+1760
	cmovlsb %r11,%r11,%gz,%r4
	mov %r13,%r15
	jmp __floatscan+1808
;__floatscan+1776
	bweqi %r26,48,__floatscan+1808
	ldwz %r4,%sp,8176
	ori %r4,%r4,1
;__floatscan+1792
	stw %r4,%sp,8176
	mov %r10,%r17
	nop 0
;__floatscan+1808
	lddz %r4,%r22,8
	lddz %r18,%r22,184
	bdeq %r4,%r18,__floatscan+1856
;__floatscan+1824
	addi %r18,%r4,1
	std %r18,%r22,8
	ldbz %r26,%r4,0
;__floatscan+1840
	jmp __floatscan+1872
	nop 0
	nop 0
;__floatscan+1856
	mov %r26,%r22
	callr %r25,__shgetc
	nop 0
;__floatscan+1872
	addiws %r4,%r26,-48
	cmpweqi %r18,%r26,46
	bweqi %r26,46,__floatscan+1648
;__floatscan+1888
	bwltui %r4,10,__floatscan+1648
	nop 0
	nop 0
;__floatscan+1904
	cmovweq %r5,%r14,%r12,%r5
	bweq %r13,%gz,__floatscan+2000
	andi %r4,%r26,-33
;__floatscan+1920
	bwnei %r4,69,__floatscan+2000
	mov2 %r25,%r26,%r22,%r3
	callr %r24,scanexp
;__floatscan+1936
	ldi.l %r4,-9223372036854775808
	bdne %r25,%r4,__floatscan+2144
;__floatscan+1952
	bweq %r3,%gz,__floatscan+2096
	lddz %r3,%r22,192
	bdlt %r3,%gz,__floatscan+2128
;__floatscan+1968
	lddz %r3,%r22,8
	mov %r25,%gz
	addi %r3,%r3,-1
;__floatscan+1984
	std %r3,%r22,8
	jmp __floatscan+2144
	nop 0
;__floatscan+2000
	cmpweqi %r3,%r13,0
	bwle %gz,%r26,__floatscan+2032
	jmp __floatscan+2064
;__floatscan+2016
	cmpweqi %r3,%r13,0
	nop 0
	nop 0
;__floatscan+2032
	lddz %r4,%r22,192
	bdlt %r4,%gz,__floatscan+2064
	lddz %r4,%r22,8
;__floatscan+2048
	addi %r4,%r4,-1
	std %r4,%r22,8
	nop 0
;__floatscan+2064
	bbci %r3,0,__floatscan+2160
	nop 0
	nop 0
;__floatscan+2080
	callr %r25,__errno_location
	ldi %r1,22
	stw %r1,%r26,0
;__floatscan+2096
	mov2 %r25,%r26,%r22,%gz
	callr %r24,__shlim
	mov %r1,%gz
;__floatscan+2112
	retf 8192
	nop 0
	nop 0
;__floatscan+2128
	mov %r25,%gz
	nop 0
	nop 0
;__floatscan+2144
	add %r5,%r25,%r5
	nop 0
	nop 0
;__floatscan+2160
	ldwz %r3,%sp,0
	bweq %r3,%gz,__floatscan+2256
	bdgei %r12,10,__floatscan+2224
;__floatscan+2176
	bdne %r5,%r12,__floatscan+2224
	srlw %r4,%r3,%r23
	cmpweqi %r4,%r4,0
;__floatscan+2192
	or %r4,%r6,%r4
	bbci %r4,0,__floatscan+2224
	fcvtiw2sq %r1,%r1,0
;__floatscan+2208
	fcvtuw2sq %r2,%r3,0
	fmulsq %r1,%r1,%r2
	retf 8192
;__floatscan+2224
	srliw %r3,%r8,1
	bdle %r5,%r3,__floatscan+2288
	callr %r25,__errno_location
;__floatscan+2240
	ldqr %r2,.rodata+29120
	jmp __floatscan+2320
	nop 0
;__floatscan+2256
	fcvtiw2sd %r1,%r1,0
	fmergesd %r1,%r1,%gz,%gz
	fextsd2sq %r1,%r1
;__floatscan+2272
	retf 8192
	nop 0
	nop 0
;__floatscan+2288
	addiws %r3,%r2,-226
	bdle %r3,%r5,__floatscan+2352
	callr %r25,__errno_location
;__floatscan+2304
	ldqr %r2,.rodata+28960
	nop 0
	nop 0
;__floatscan+2320
	ldi %r3,34
	stw %r3,%r26,0
	fcvtiw2sq %r1,%r1,0
;__floatscan+2336
	fmulsq %r1,%r1,%r2
	fmulsq %r1,%r1,%r2
	retf 8192
;__floatscan+2352
	addi %r3,%sp,0
	bweq %r11,%gz,__floatscan+2432
	bwgei %r11,9,__floatscan+2416
;__floatscan+2368
	ldax.xw %r4,%r3,%r9,2,0
	ldwzx.xw %r6,%r3,%r9,2,0
	nop 0
;__floatscan+2384
	mov %r8,%r11
	mulwsi %r6,%r6,10
	addiws %r11,%r11,1
;__floatscan+2400
	bwlti %r8,8,__floatscan+2384
	stw %r6,%r4,0
	nop 0
;__floatscan+2416
	addiws %r9,%r9,1
	nop 0
	nop 0
;__floatscan+2432
	bwgei %r10,9,__floatscan+2592
	bdgei %r5,18,__floatscan+2592
	bwlt %r5,%r10,__floatscan+2592
;__floatscan+2448
	bdnei %r5,9,__floatscan+2480
	ldwz %r2,%sp,0
	fcvtiw2sq %r1,%r1,0
;__floatscan+2464
	fcvtuw2sq %r2,%r2,0
	fmulsq %r1,%r1,%r2
	retf 8192
;__floatscan+2480
	bdgei %r5,9,__floatscan+2544
	ldwz %r2,%sp,0
	subfi %r3,%r5,8
;__floatscan+2496
	ldafr %r4,decfloat.p10s
	ldwzx.xuw %r3,%r4,%r3,2,0
	fcvtiw2sq %r1,%r1,0
;__floatscan+2512
	fcvtuw2sq %r2,%r2,0
	fmulsq %r1,%r1,%r2
	fcvtiw2sq %r2,%r3,0
;__floatscan+2528
	fdivsq %r1,%r1,%r2
	retf 8192
	nop 0
;__floatscan+2544
	mulwsi %r4,%r5,-3
	addws %r4,%r23,%r4
	addiws %r6,%r4,27
;__floatscan+2560
	ldwz %r4,%sp,0
	bwgei %r6,31,__floatscan+3328
	srlw %r6,%r4,%r6
;__floatscan+2576
	bweq %r6,%gz,__floatscan+3328
	nop 0
	nop 0
;__floatscan+2592
	sraiw %r4,%r9,0
	ldi.l %r8,4294967296
;__floatscan+2608
	addi %r6,%r4,1
	sladd %r8,%r8,%r4,32
	ldax.xw %r4,%r3,%r9,2,-4
;__floatscan+2624
	ldwz %r9,%r4,0
	addi %r6,%r6,-1
	nop 2
;__floatscan+2640
	addi.l %r8,%r8,-4294967296
	addi %r4,%r4,-4
;__floatscan+2656
	bweq %r9,%gz,__floatscan+2624
	sraiw %r4,%r5,0
	nop 2
;__floatscan+2672
	muli.l %r4,%r4,954437177
	srli %r9,%r4,63
;__floatscan+2688
	srai %r4,%r4,33
	addws %r4,%r4,%r9
	mulwsi %r4,%r4,9
;__floatscan+2704
	subws %r9,%r5,%r4
	ldi.l %r4,1000000000
;__floatscan+2720
	bweq %r9,%gz,__floatscan+2928
	addiws %r10,%r9,9
	cmovdlt %r10,%r5,%r10,%r9
;__floatscan+2736
	bdeq %r6,%gz,__floatscan+2944
	subfiws %r9,%r10,8
	ldafr %r11,decfloat.p10s
;__floatscan+2752
	ldwzx.xw %r11,%r11,%r9,2,0
	mov2 %r12,%r15,%gz,%gz
	mov %r9,%gz
;__floatscan+2768
	divw %r13,%r4,%r11
	srliw %r14,%r6,0
	nop 0
;__floatscan+2784
	ldwz %r16,%r3,0
	divuw %r17,%r16,%r11
	mulws %r18,%r17,%r11
;__floatscan+2800
	subws %r16,%r16,%r18
	addws %r15,%r17,%r15
	stw %r15,%r3,0
;__floatscan+2816
	srliw %r17,%r9,0
	cmpdeq %r17,%r12,%r17
	cmpweqi %r15,%r15,0
;__floatscan+2832
	and %r17,%r17,%r15
	addiws %r15,%r9,1
	andi %r18,%r15,2047
;__floatscan+2848
	addiws %r19,%r5,-9
	mulws %r15,%r16,%r13
	cmovlsb %r5,%r17,%r19,%r5
;__floatscan+2864
	cmovlsb %r9,%r17,%r18,%r9
	addi %r12,%r12,1
	addi %r3,%r3,4
;__floatscan+2880
	bdne %r14,%r12,__floatscan+2784
	bweq %r15,%gz,__floatscan+2960
	addiws %r6,%r6,1
;__floatscan+2896
	srai %r3,%r8,30
	addi %r8,%sp,0
	stwx.xd %r15,%r8,%r3,0,0
;__floatscan+2912
	jmp __floatscan+2960
	nop 0
	nop 0
;__floatscan+2928
	mov %r9,%gz
	jmp __floatscan+2976
	nop 0
;__floatscan+2944
	mov2 %r9,%r6,%gz,%gz
	nop 0
	nop 0
;__floatscan+2960
	subws %r3,%r5,%r10
	addiws %r5,%r3,9
	nop 0
;__floatscan+2976
	mov %r3,%gz
	addi %r8,%sp,0
	nop 0
;__floatscan+2992
	ldax.xw %r10,%r8,%r9,2,0
	jmp __floatscan+3024
	nop 0
;__floatscan+3008
	addiws %r3,%r3,-29
	mov %r6,%r12
	bwne %r11,%gz,__floatscan+3216
;__floatscan+3024
	bwlti %r5,36,__floatscan+3056
	bwnei %r5,36,__floatscan+3408
	ldwz %r11,%r10,0
;__floatscan+3040
	bwgeui.l %r11,10384593,__floatscan+3408
	nop 0
;__floatscan+3056
	mov %r11,%gz
	addiws %r15,%r6,2047
	jmp __floatscan+3152
;__floatscan+3072
	divui.l %r11,%r16,1000000000
	mulsubf %r16,%r11,%r4,%r16
;__floatscan+3088
	addiws %r6,%r12,-1
	andi %r13,%r6,2047
	cmpweq %r6,%r14,%r9
;__floatscan+3104
	cmovdeq %r17,%r16,%r14,%r12
	cmpwne %r18,%r14,%r13
	cmovlsb %r6,%r6,%r12,%r17
;__floatscan+3120
	stw %r16,%r15,0
	cmovlsb %r6,%r18,%r12,%r6
	addiws %r15,%r14,-1
;__floatscan+3136
	bweq %r14,%r9,__floatscan+3008
	nop 0
	nop 0
;__floatscan+3152
	andi %r14,%r15,2047
	ldax.xuw %r15,%r8,%r14,2,0
	ldwzx.xuw %r12,%r8,%r14,2,0
;__floatscan+3168
	srliw %r11,%r11,0
	sladd %r16,%r11,%r12,29
	mov %r12,%r6
;__floatscan+3184
	bdgeui.l %r16,1000000001,__floatscan+3072
	mov %r11,%gz
;__floatscan+3200
	jmp __floatscan+3088
	nop 0
	nop 0
;__floatscan+3216
	addiws %r6,%r9,-1
	andi %r9,%r6,2047
	bwne %r9,%r12,__floatscan+3280
;__floatscan+3232
	ldwzx.xuw %r6,%r8,%r13,2,0
	addiws %r10,%r12,2046
	andi %r10,%r10,2047
;__floatscan+3248
	ldwzx.xuw %r12,%r8,%r10,2,0
	or %r6,%r12,%r6
	stwx.xuw %r6,%r8,%r10,2,0
;__floatscan+3264
	jmp __floatscan+3296
	nop 0
	nop 0
;__floatscan+3280
	mov %r13,%r12
	nop 0
	nop 0
;__floatscan+3296
	addiws %r5,%r5,9
	stwx.xuw %r11,%r8,%r9,2,0
	mov %r6,%r13
;__floatscan+3312
	jmp __floatscan+2992
	nop 0
	nop 0
;__floatscan+3328
	ldi.l %r2,-42949672960
	sladd %r2,%r2,%r5,32
;__floatscan+3344
	srai %r2,%r2,30
	ldafr %r3,decfloat.p10s
	ldwzx.xd %r2,%r2,%r3,0,0
;__floatscan+3360
	fcvtiw2sq %r1,%r1,0
	fcvtuw2sq %r3,%r4,0
	fmulsq %r1,%r1,%r3
;__floatscan+3376
	fcvtiw2sq %r2,%r2,0
	fmulsq %r1,%r1,%r2
	retf 8192
;__floatscan+3392
	stwx.xuw %r14,%r8,%r6,2,0
	mov %r6,%r11
	nop 0
;__floatscan+3408
	addiws %r10,%r6,1
	andi %r11,%r10,2047
	addiws %r10,%r6,-1
;__floatscan+3424
	andi %r10,%r10,2047
	ldax.xuw %r12,%r8,%r10,2,0
	nop 0
;__floatscan+3440
	cmpwgti %r10,%r5,45
	ldi %r13,1
	ldi %r14,9
;__floatscan+3456
	cmovlsb %r13,%r10,%r14,%r13
	jmp __floatscan+3504
	nop 0
;__floatscan+3472
	bweqi %r5,36,__floatscan+3744
	nop 0
	nop 0
;__floatscan+3488
	addws %r3,%r13,%r3
	mov %r9,%r6
	bwne %r10,%r6,__floatscan+3584
;__floatscan+3504
	mov2 %r14,%r10,%gz,%r9
	ldafr %r9,decfloat.th
	nop 0
;__floatscan+3520
	addws %r15,%r10,%r14
	andi %r15,%r15,2047
	bweq %r15,%r6,__floatscan+3472
;__floatscan+3536
	ldwzx.xuw %r15,%r8,%r15,2,0
	ldwz %r16,%r9,0
	bwltu %r15,%r16,__floatscan+3472
;__floatscan+3552
	bwltu %r16,%r15,__floatscan+3488
	addi %r14,%r14,1
	addi %r9,%r9,4
;__floatscan+3568
	bdnei %r14,4,__floatscan+3520
	jmp __floatscan+3472
	nop 0
;__floatscan+3584
	mov %r14,%gz
	ldi %r9,-1
	sllw %r9,%r9,%r13
;__floatscan+3600
	xori %r15,%r9,-1
	srlw %r16,%r4,%r13
	mov %r9,%r10
;__floatscan+3616
	ldwzx.xw %r17,%r8,%r10,2,0
	and %r18,%r17,%r15
	srlw %r17,%r17,%r13
;__floatscan+3632
	addws %r14,%r17,%r14
	stwx.xw %r14,%r8,%r10,2,0
	cmpweq %r17,%r10,%r9
;__floatscan+3648
	cmpweqi %r14,%r14,0
	and %r17,%r17,%r14
	addiws %r14,%r9,1
;__floatscan+3664
	andi %r19,%r14,2047
	addiws %r20,%r5,-9
	addiws %r10,%r10,1
;__floatscan+3680
	andi %r10,%r10,2047
	mulws %r14,%r18,%r16
	cmovlsb %r5,%r17,%r20,%r5
;__floatscan+3696
	cmovlsb %r9,%r17,%r19,%r9
	bwne %r10,%r6,__floatscan+3616
	bweq %r14,%gz,__floatscan+3440
;__floatscan+3712
	bwne %r11,%r9,__floatscan+3392
	ldwz %r10,%r12,0
	ori %r10,%r10,1
;__floatscan+3728
	stw %r10,%r12,0
	jmp __floatscan+3440
	nop 0
;__floatscan+3744
	mov2 %r11,%r4,%gz,%gz
	ldqr %r5,.rodata+28928
	jmp __floatscan+3792
;__floatscan+3760
	ldwzx.xuw %r11,%r8,%r11,2,0
	fcvtuw2sq %r11,%r11,0
	fmaddsq %r4,%r4,%r5,%r11
;__floatscan+3776
	addiws %r11,%r9,1
	bwgeui %r9,3,__floatscan+3840
	nop 0
;__floatscan+3792
	mov %r9,%r11
	addws %r11,%r11,%r10
	andi %r11,%r11,2047
;__floatscan+3808
	bwne %r11,%r6,__floatscan+3760
	addiws %r6,%r6,1
	andi %r6,%r6,2047
;__floatscan+3824
	stwx.xuw %gz,%r8,%r6,2,-4
	jmp __floatscan+3760
	nop 0
;__floatscan+3840
	addiws %r13,%r3,113
	subws %r11,%r13,%r2
	cmpwlt %r9,%r11,%r23
;__floatscan+3856
	maxsw %r2,%r11,%gz
	fcvtiw2sq %r5,%r1,0
	cmovlsb %r12,%r9,%r2,%r23
;__floatscan+3872
	fmulsq %r2,%r4,%r5
	bwgeui %r12,113,__floatscan+3984
	subfiws %r26,%r12,225
;__floatscan+3888
	ldi.l %r4,4607182418800017408
	mov %r25,%r4
;__floatscan+3904
	callr %r24,scalbn
	fextsd2sq %r25,%r25
	mov %r26,%r2
;__floatscan+3920
	callr %r24,copysignl
	mov %r5,%r25
	subfiws %r26,%r12,113
;__floatscan+3936
	mov %r25,%r4
	callr %r24,scalbn
	fextsd2sq %r26,%r25
;__floatscan+3952
	mov %r25,%r2
	callr %r24,fmodl
	mov %r4,%r25
;__floatscan+3968
	fsubsq %r2,%r2,%r25
	faddsq %r2,%r5,%r2
	jmp __floatscan+4000
;__floatscan+3984
	mov2 %r4,%r5,%gz,%gz
	nop 0
	nop 0
;__floatscan+4000
	addiws %r14,%r10,4
	andi %r14,%r14,2047
	bweq %r14,%r6,__floatscan+4224
;__floatscan+4016
	ldwzx.xuw %r8,%r8,%r14,2,0
	bwgeui.l %r8,500000000,__floatscan+4096
;__floatscan+4032
	bwne %r8,%gz,__floatscan+4064
	addiws %r8,%r10,5
	andi %r8,%r8,2047
;__floatscan+4048
	bweq %r8,%r6,__floatscan+4192
	nop 0
	nop 0
;__floatscan+4064
	fcvtiw2sd %r1,%r1,0
	ldi.l %r6,4598175219545276416
;__floatscan+4080
	jmp __floatscan+4176
	nop 0
	nop 0
;__floatscan+4096
	bwnei.l %r8,500000000,__floatscan+4144
	addiws %r8,%r10,5
;__floatscan+4112
	andi %r8,%r8,2047
	fcvtiw2sd %r1,%r1,0
	bwne %r8,%r6,__floatscan+4160
;__floatscan+4128
	ldi.l %r6,4602678819172646912
	jmp __floatscan+4176
;__floatscan+4144
	fcvtiw2sd %r1,%r1,0
	nop 0
	nop 0
;__floatscan+4160
	ldi.l %r6,4604930618986332160
	nop 0
;__floatscan+4176
	fmulsd %r1,%r1,%r6
	fextsd2sq %r1,%r1
	faddsq %r4,%r4,%r1
;__floatscan+4192
	bwgeui %r12,112,__floatscan+4224
	ldqr %r1,.rodata+29072
	mov2 %r25,%r26,%r4,%r1
;__floatscan+4208
	callr %r24,fmodl
	bfsqune %r25,%gz,__floatscan+4224
	faddsq %r4,%r4,%r1
;__floatscan+4224
	faddsq %r1,%r2,%r4
	andi.l %r2,%r13,2147483647
;__floatscan+4240
	addiws %r6,%r7,-2
	fsubsq %r1,%r1,%r5
	bwle %r2,%r6,__floatscan+4368
;__floatscan+4256
	mov %r26,%r1
	callr %r25,fabsl
	ldqr %r2,.rodata+29008
;__floatscan+4272
	ldqr %r5,.rodata+28992
	fcmpsqole %r6,%r2,%r26
	fmulsq %r5,%r1,%r5
;__floatscan+4288
	addws %r3,%r3,%r6
	addiws %r8,%r3,110
	cmovlsb %r1,%r6,%r5,%r1
;__floatscan+4304
	bwlt %r7,%r8,__floatscan+4352
	fcmpsqult %r2,%r26,%r2
	cmpwne %r5,%r12,%r11
;__floatscan+4320
	or %r2,%r5,%r2
	and %r2,%r9,%r2
	fcmpsqune %r4,%r4,%gz
;__floatscan+4336
	and %r2,%r2,%r4
	bbci %r2,0,__floatscan+4368
	nop 0
;__floatscan+4352
	callr %r25,__errno_location
	ldi %r2,34
	stw %r2,%r26,0
;__floatscan+4368
	mov2 %r25,%r26,%r1,%r3
	callr %r24,scalbnl
	mov %r1,%r25
;__floatscan+4384
	retf 8192
	nop 0
	nop 0
;hexfloat
	alloc 23
	lddz %r6,%r1,8
	lddz %r7,%r1,184
;hexfloat+16
	bdeq %r6,%r7,hexfloat+48
	addi %r7,%r6,1
	std %r7,%r1,8
;hexfloat+32
	ldbz %r22,%r6,0
	jmp hexfloat+64
	nop 0
;hexfloat+48
	mov %r22,%r1
	callr %r21,__shgetc
	nop 0
;hexfloat+64
	mov %r13,%gz
	ldi %r7,1
	bweqi %r22,48,hexfloat+128
;hexfloat+80
	jmp hexfloat+176
	nop 0
	nop 0
;hexfloat+96
	mov %r22,%r1
	callr %r21,__shgetc
	mov %r13,%r7
;hexfloat+112
	bwnei %r22,48,hexfloat+176
	nop 0
	nop 0
;hexfloat+128
	lddz %r6,%r1,8
	lddz %r8,%r1,184
	bdeq %r6,%r8,hexfloat+96
;hexfloat+144
	addi %r8,%r6,1
	std %r8,%r1,8
	ldbz %r22,%r6,0
;hexfloat+160
	mov %r13,%r7
	bweqi %r22,48,hexfloat+128
	nop 0
;hexfloat+176
	bwnei %r22,46,hexfloat+224
	lddz %r6,%r1,8
	lddz %r7,%r1,184
;hexfloat+192
	bdeq %r6,%r7,hexfloat+240
	addi %r7,%r6,1
	std %r7,%r1,8
;hexfloat+208
	ldbz %r22,%r6,0
	jmp hexfloat+256
	nop 0
;hexfloat+224
	mov2 %r9,%r10,%gz,%gz
	jmp hexfloat+384
	nop 0
;hexfloat+240
	mov %r22,%r1
	callr %r21,__shgetc
	nop 0
;hexfloat+256
	mov %r10,%gz
	ldi %r9,1
	bweqi %r22,48,hexfloat+320
;hexfloat+272
	jmp hexfloat+384
	nop 0
	nop 0
;hexfloat+288
	mov %r22,%r1
	callr %r21,__shgetc
	addi %r10,%r10,-1
;hexfloat+304
	bwnei %r22,48,hexfloat+368
	nop 0
	nop 0
;hexfloat+320
	lddz %r6,%r1,8
	lddz %r7,%r1,184
	bdeq %r6,%r7,hexfloat+288
;hexfloat+336
	addi %r7,%r6,1
	std %r7,%r1,8
	ldbz %r22,%r6,0
;hexfloat+352
	addi %r10,%r10,-1
	bweqi %r22,48,hexfloat+320
	nop 0
;hexfloat+368
	mov %r13,%r9
	nop 0
	nop 0
;hexfloat+384
	mov2 %r8,%r7,%gz,%gz
	mov2 %r14,%r12,%gz,%gz
	ldqr %r15,.rodata+29072
;hexfloat+400
	ldi %r16,1
	ldqr %r17,.rodata+28848
	ldqr %r11,.rodata+28992
;hexfloat+416
	jmp hexfloat+448
	nop 0
	nop 0
;hexfloat+432
	addi %r18,%r6,1
	std %r18,%r1,8
	ldbz %r22,%r6,0
;hexfloat+448
	addiws %r6,%r22,-48
	mov %r18,%r22
	bwltui %r6,10,hexfloat+528
;hexfloat+464
	ori %r18,%r22,32
	bweqi %r22,46,hexfloat+496
	addiws %r19,%r18,-97
;hexfloat+480
	bwgeui %r19,6,hexfloat+672
	nop 0
	nop 0
;hexfloat+496
	bwnei %r22,46,hexfloat+528
	bwne %r9,%gz,hexfloat+672
	mov2 %r9,%r10,%r16,%r12
;hexfloat+512
	jmp hexfloat+640
	nop 0
	nop 0
;hexfloat+528
	cmpwgti %r13,%r22,57
	addiws %r18,%r18,-87
	cmovlsb %r6,%r13,%r18,%r6
;hexfloat+544
	bdgei %r12,8,hexfloat+560
	sladdws %r8,%r6,%r8,4
	jmp hexfloat+624
;hexfloat+560
	bdgeui %r12,29,hexfloat+592
	fcvtiw2sq %r6,%r6,0
	fmulsq %r15,%r15,%r17
;hexfloat+576
	fmaddsq %r7,%r6,%r15,%r7
	jmp hexfloat+624
	nop 0
;hexfloat+592
	cmpweqi %r6,%r6,0
	cmpwnei %r13,%r14,0
	or %r6,%r6,%r13
;hexfloat+608
	fmaddsq %r13,%r15,%r11,%r7
	cmovlsb %r7,%r6,%r7,%r13
	cmovlsb %r14,%r6,%r14,%r16
;hexfloat+624
	addi %r12,%r12,1
	mov %r13,%r16
	nop 0
;hexfloat+640
	lddz %r6,%r1,8
	lddz %r18,%r1,184
	bdne %r6,%r18,hexfloat+432
;hexfloat+656
	mov %r22,%r1
	callr %r21,__shgetc
	jmp hexfloat+448
;hexfloat+672
	bweq %r13,%gz,hexfloat+784
	bdgei %r12,8,hexfloat+704
	addi %r6,%r12,-8
;hexfloat+688
	addi %r6,%r6,1
	slliw %r8,%r8,4
	bdne %r6,%gz,hexfloat+688
;hexfloat+704
	andi %r6,%r22,-33
	bwnei %r6,80,hexfloat+848
	mov2 %r21,%r22,%r1,%r5
;hexfloat+720
	callr %r20,scanexp
	ldi.l %r6,-9223372036854775808
;hexfloat+736
	bdne %r21,%r6,hexfloat+896
	bweq %r5,%gz,hexfloat+1232
	lddz %r5,%r1,192
;hexfloat+752
	bdgei %r5,0,hexfloat+864
	nop 0
	nop 0
;hexfloat+768
	mov %r21,%gz
	jmp hexfloat+896
	nop 0
;hexfloat+784
	lddz %r2,%r1,192
	bdlt %r2,%gz,hexfloat+1008
	lddz %r2,%r1,8
;hexfloat+800
	addi %r3,%r2,-1
	std %r3,%r1,8
	bweq %r5,%gz,hexfloat+1024
;hexfloat+816
	addi %r3,%r2,-2
	std %r3,%r1,8
	bweq %r9,%gz,hexfloat+1040
;hexfloat+832
	addi %r2,%r2,-3
	std %r2,%r1,8
	jmp hexfloat+1040
;hexfloat+848
	lddz %r5,%r1,192
	bdlt %r5,%gz,hexfloat+768
	nop 0
;hexfloat+864
	lddz %r5,%r1,8
	mov %r21,%gz
	addi %r5,%r5,-1
;hexfloat+880
	std %r5,%r1,8
	nop 0
	nop 0
;hexfloat+896
	cmovweq %r1,%r9,%r12,%r10
	ldax.xd %r1,%r21,%r1,2,-32
	bweq %r8,%gz,hexfloat+1040
;hexfloat+912
	subfiwz %r5,%r3,0
	bdle %r1,%r5,hexfloat+944
	callr %r21,__errno_location
;hexfloat+928
	ldqr %r1,.rodata+29120
	jmp hexfloat+976
	nop 0
;hexfloat+944
	addiws %r5,%r3,-226
	bdle %r5,%r1,hexfloat+1072
	callr %r21,__errno_location
;hexfloat+960
	ldqr %r1,.rodata+28960
	nop 0
	nop 0
;hexfloat+976
	ldi %r2,34
	stw %r2,%r22,0
	fcvtiw2sq %r2,%r4,0
;hexfloat+992
	fmulsq %r2,%r2,%r1
	fmulsq %r1,%r2,%r1
	retf 0
;hexfloat+1008
	bwne %r5,%gz,hexfloat+1040
	nop 0
	nop 0
;hexfloat+1024
	mov2 %r21,%r22,%r1,%gz
	callr %r20,__shlim
	nop 0
;hexfloat+1040
	fcvtiw2sd %r1,%r4,0
	fmergesd %r1,%r1,%gz,%gz
	fextsd2sq %r1,%r1
;hexfloat+1056
	retf 0
	nop 0
	nop 0
;hexfloat+1072
	bwlt %r8,%gz,hexfloat+1136
	ldqr %r5,.rodata+28896
	nop 0
;hexfloat+1088
	fcmpsqole %r6,%r11,%r7
	faddsq %r9,%r7,%r5
	slliw %r10,%r8,1
;hexfloat+1104
	slor %r8,%r6,%r8,1
	cmovlsb %r6,%r6,%r9,%r7
	faddsq %r7,%r7,%r6
;hexfloat+1120
	addi %r1,%r1,-1
	bwgei %r10,0,hexfloat+1088
	nop 0
;hexfloat+1136
	subfiws %r3,%r3,32
	ldax.xuw %r3,%r1,%r3,0,0
	srliw %r5,%r2,0
;hexfloat+1152
	cmpdlt %r5,%r3,%r5
	maxsw %r3,%r3,%gz
	cmovlsb %r5,%r5,%r3,%r2
;hexfloat+1168
	bwgeui %r5,113,hexfloat+1264
	subfiws %r22,%r5,144
	nop 2
;hexfloat+1184
	ldi.l %r21,4607182418800017408
	callr %r20,scalbn
;hexfloat+1200
	fextsd2sq %r21,%r21
	fcvtiw2sq %r2,%r4,0
	mov %r22,%r2
;hexfloat+1216
	callr %r20,copysignl
	jmp hexfloat+1280
	nop 0
;hexfloat+1232
	mov2 %r21,%r22,%r1,%gz
	callr %r20,__shlim
	mov %r1,%gz
;hexfloat+1248
	retf 0
	nop 0
	nop 0
;hexfloat+1264
	mov %r21,%gz
	fcvtiw2sq %r2,%r4,0
	nop 0
;hexfloat+1280
	cmpwltui %r3,%r5,32
	fcmpsqune %r4,%r7,%gz
	and %r3,%r3,%r4
;hexfloat+1296
	andi %r4,%r8,1
	or %r5,%r3,%r8
	cmovlsb %r3,%r3,%gz,%r7
;hexfloat+1312
	cmovlsb %r3,%r4,%r7,%r3
	fcvtuw2sq %r4,%r5,0
	fmaddsq %r4,%r2,%r4,%r21
;hexfloat+1328
	fmaddsq %r2,%r2,%r3,%r4
	fsubsq %r21,%r2,%r21
	bfsqune %r21,%gz,hexfloat+1376
;hexfloat+1344
	mov %r3,%r21
	callr %r21,__errno_location
	mov %r21,%r3
;hexfloat+1360
	ldi %r2,34
	stw %r2,%r22,0
	nop 0
;hexfloat+1376
	mov %r22,%r1
	callr %r20,scalbnl
	mov %r1,%r21
;hexfloat+1392
	retf 0
	nop 0
	nop 0
;scanexp
	alloc 9
	mov %r5,%r1
	lddz %r1,%r1,8
;scanexp+16
	lddz %r3,%r5,184
	bdeq %r1,%r3,scanexp+64
	addi %r3,%r1,1
;scanexp+32
	std %r3,%r5,8
	ldbz %r4,%r1,0
	bwnei %r4,43,scanexp+96
;scanexp+48
	jmp scanexp+112
	nop 0
	nop 0
;scanexp+64
	mov %r8,%r5
	callr %r7,__shgetc
	mov %r4,%r8
;scanexp+80
	bweqi %r4,43,scanexp+112
	nop 0
	nop 0
;scanexp+96
	bwnei %r4,45,scanexp+160
	nop 0
	nop 0
;scanexp+112
	lddz %r1,%r5,8
	lddz %r3,%r5,184
	bdeq %r1,%r3,scanexp+192
;scanexp+128
	addi %r3,%r1,1
	std %r3,%r5,8
	ldbz %r3,%r1,0
;scanexp+144
	jmp scanexp+208
	nop 0
	nop 0
;scanexp+160
	mov %r6,%gz
	addiws %r1,%r4,-58
	mov %r3,%r4
;scanexp+176
	jmp scanexp+272
	nop 0
	nop 0
;scanexp+192
	mov %r8,%r5
	callr %r7,__shgetc
	mov %r3,%r8
;scanexp+208
	cmpweqi %r6,%r4,45
	addiws %r1,%r3,-58
	bweq %r2,%gz,scanexp+272
;scanexp+224
	bwgeui.l %r1,1099511627766,scanexp+272
	lddz %r1,%r5,192
;scanexp+240
	bdlt %r1,%gz,scanexp+288
	lddz %r1,%r5,8
	addi %r1,%r1,-1
;scanexp+256
	std %r1,%r5,8
	jmp scanexp+288
	nop 0
;scanexp+272
	bwgeui.l %r1,4294967286,scanexp+336
	nop 0
;scanexp+288
	lddz %r2,%r5,192
	ldi.l %r1,-9223372036854775808
;scanexp+304
	bdlt %r2,%gz,scanexp+768
	lddz %r2,%r5,8
	addi %r2,%r2,-1
;scanexp+320
	std %r2,%r5,8
	retf 0
	nop 0
;scanexp+336
	addiws %r1,%r3,-48
	mov %r2,%gz
	bwgeui %r1,10,scanexp+720
;scanexp+352
	mov %r2,%gz
	nop 0
	nop 0
;scanexp+368
	lddz %r1,%r5,8
	lddz %r4,%r5,184
	bdeq %r1,%r4,scanexp+416
;scanexp+384
	addi %r4,%r1,1
	std %r4,%r5,8
	ldbz %r8,%r1,0
;scanexp+400
	jmp scanexp+432
	nop 0
	nop 0
;scanexp+416
	mov %r8,%r5
	callr %r7,__shgetc
	nop 0
;scanexp+432
	mulwsi %r1,%r2,10
	addws %r2,%r3,%r1
	addiws %r1,%r8,-48
;scanexp+448
	addiws %r2,%r2,-48
	bwgeui %r1,10,scanexp+480
	mov %r3,%r8
;scanexp+464
	bwlti.l %r2,214748364,scanexp+368
	nop 0
;scanexp+480
	sraiw %r2,%r2,0
	bwgeui %r1,10,scanexp+720
	nop 2
;scanexp+496
	ldi.l %r3,92233720368547758
	nop 0
;scanexp+512
	muli %r1,%r2,10
	ldax.xuw %r2,%r1,%r8,0,-48
	lddz %r1,%r5,8
;scanexp+528
	lddz %r4,%r5,184
	bdeq %r1,%r4,scanexp+576
	addi %r4,%r1,1
;scanexp+544
	std %r4,%r5,8
	ldbz %r8,%r1,0
	addiws %r1,%r8,-48
;scanexp+560
	bwltui %r1,10,scanexp+608
	jmp scanexp+624
	nop 0
;scanexp+576
	mov %r8,%r5
	callr %r7,__shgetc
	addiws %r1,%r8,-48
;scanexp+592
	bwgeui %r1,10,scanexp+624
	nop 0
	nop 0
;scanexp+608
	bdlt %r2,%r3,scanexp+512
	nop 0
	nop 0
;scanexp+624
	bwltui %r1,10,scanexp+672
	jmp scanexp+720
	nop 0
;scanexp+640
	mov %r8,%r5
	callr %r7,__shgetc
	addiws %r1,%r8,-48
;scanexp+656
	bwgeui %r1,10,scanexp+720
	nop 0
	nop 0
;scanexp+672
	lddz %r1,%r5,8
	lddz %r3,%r5,184
	bdeq %r1,%r3,scanexp+640
;scanexp+688
	addi %r3,%r1,1
	std %r3,%r5,8
	ldbz %r8,%r1,0
;scanexp+704
	addiws %r1,%r8,-48
	bwltui %r1,10,scanexp+672
	nop 0
;scanexp+720
	lddz %r1,%r5,192
	bdlt %r1,%gz,scanexp+752
	lddz %r1,%r5,8
;scanexp+736
	addi %r1,%r1,-1
	std %r1,%r5,8
	nop 0
;scanexp+752
	subfi %r1,%r2,0
	cmovlsb %r1,%r6,%r1,%r2
	nop 0
;scanexp+768
	retf 0
	nop 0
	nop 0
;copysignl
	alloc 3
	fmergesq %r1,%r2,%r1,%r1
	retf 0
;fmodl
	allocsp 15,32
	stq %r1,%sp,16
	stq %r2,%sp,0
;fmodl+16
	addi %r8,%sp,16
	ori %r4,%r8,14
	ldhz %r10,%r4,0
;fmodl+32
	addi %r6,%sp,0
	ori %r9,%r6,14
	ldhz %r7,%r9,0
;fmodl+48
	ldhz %r5,%r4,0
	bfsqune %r2,%gz,fmodl+80
	nop 0
;fmodl+64
	fmulsq %r1,%r1,%r2
	fdivsq %r1,%r1,%r1
	retf 32
;fmodl+80
	mov %r14,%r2
	callr %r13,__fpclassifyl
	bweq %r14,%gz,fmodl+64
;fmodl+96
	andi %r3,%r10,32767
	bweqi.l %r3,32767,fmodl+64
;fmodl+112
	andi %r7,%r7,32767
	sth %r3,%r4,0
	sth %r7,%r9,0
;fmodl+128
	ldq %r2,%sp,16
	ldq %r10,%sp,0
	bfsqole %r2,%r10,fmodl+416
;fmodl+144
	bwne %r3,%gz,fmodl+192
	ldq %r2,%sp,16
	ldqr %r3,.rodata+29040
;fmodl+160
	fmulsq %r2,%r2,%r3
	stq %r2,%sp,16
	ldhz %r2,%r4,0
;fmodl+176
	addiws %r3,%r2,-120
	nop 0
	nop 0
;fmodl+192
	bwne %r7,%gz,fmodl+240
	ldq %r2,%sp,0
	ldqr %r7,.rodata+29040
;fmodl+208
	fmulsq %r2,%r2,%r7
	stq %r2,%sp,0
	ldhz %r2,%r9,0
;fmodl+224
	addiws %r7,%r2,-120
	nop 0
	nop 0
;fmodl+240
	ori %r2,%r8,8
	lddz %r8,%r2,0
	ori %r6,%r6,8
;fmodl+256
	lddz %r6,%r6,0
	andi.l %r8,%r8,281474976710655
;fmodl+272
	ori.l %r9,%r8,281474976710656
	nop 2
;fmodl+288
	andi.l %r6,%r6,281474976710655
	nop 2
;fmodl+304
	ori.l %r10,%r6,281474976710656
	lddz %r6,%sp,16
;fmodl+320
	lddz %r8,%sp,0
	bwlt %r7,%r3,fmodl+368
	jmp fmodl+464
;fmodl+336
	srpi %r9,%r9,%r6,63
	nop 0
	nop 0
;fmodl+352
	addiws %r3,%r3,-1
	slli %r6,%r6,1
	bwle %r3,%r7,fmodl+448
;fmodl+368
	sub %r11,%r9,%r10
	cmpdltu %r12,%r6,%r8
	sub %r11,%r11,%r12
;fmodl+384
	bdlt %r11,%gz,fmodl+336
	sub %r6,%r6,%r8
	or %r9,%r11,%r6
;fmodl+400
	bdeq %r9,%gz,fmodl+512
	srpi %r9,%r11,%r6,63
	jmp fmodl+352
;fmodl+416
	ldq %r2,%sp,16
	ldq %r3,%sp,0
	bfsqoeq %r2,%r3,fmodl+512
;fmodl+432
	retf 32
	nop 0
	nop 0
;fmodl+448
	mov %r3,%r7
	nop 0
	nop 0
;fmodl+464
	sub %r7,%r9,%r10
	cmpdltu %r10,%r6,%r8
	sub %r7,%r7,%r10
;fmodl+480
	bdlt %r7,%gz,fmodl+528
	sub %r6,%r6,%r8
	or %r8,%r7,%r6
;fmodl+496
	bdne %r8,%gz,fmodl+544
	nop 0
	nop 0
;fmodl+512
	fmulsq %r1,%r1,%gz
	retf 32
	nop 0
;fmodl+528
	mov %r7,%r9
	nop 0
	nop 0
;fmodl+544
	ldi.l %r1,281474976710655
	bdltu %r1,%r7,fmodl+608
;fmodl+560
	ldi.l %r1,281474976710656
	nop 0
;fmodl+576
	srpi %r7,%r7,%r6,63
	slli %r6,%r6,1
	addiws %r3,%r3,-1
;fmodl+592
	bdltu %r7,%r1,fmodl+576
	nop 0
	nop 0
;fmodl+608
	andi %r1,%r5,-32768
	std %r7,%r2,0
	std %r6,%sp,16
;fmodl+624
	bwle %r3,%gz,fmodl+656
	or %r1,%r1,%r3
	sth %r1,%r4,0
;fmodl+640
	ldq %r1,%sp,16
	retf 32
	nop 0
;fmodl+656
	addiws %r2,%r3,120
	or %r1,%r2,%r1
	sth %r1,%r4,0
;fmodl+672
	ldq %r1,%sp,16
	ldqr %r2,.rodata+29136
	fmulsq %r1,%r1,%r2
;fmodl+688
	stq %r1,%sp,16
	ldq %r1,%sp,16
	retf 32
;fabsl
	allocsp 3,16
	stq %r1,%sp,0
	addi %r1,%sp,0
;fabsl+16
	ori %r1,%r1,14
	ldhz %r2,%r1,0
	andi %r2,%r2,32767
;fabsl+32
	sth %r2,%r1,0
	ldq %r1,%sp,0
	retf 16
;scalbnl
	allocsp 4,16
	bwlti.l %r2,16384,scalbnl+80
;scalbnl+16
	ldqr %r3,.rodata+28864
	fmulsq %r1,%r1,%r3
	nop 2
;scalbnl+32
	bwltui.l %r2,32767,scalbnl+144
	fmulsq %r1,%r1,%r3
;scalbnl+48
	ldi %r3,49149
	minuw %r2,%r2,%r3
	addiws %r2,%r2,-32766
;scalbnl+64
	jmp scalbnl+176
	nop 0
	nop 0
;scalbnl+80
	bwgei.l %r2,-16382,scalbnl+176
	ldqr %r3,.rodata+29056
;scalbnl+96
	fmulsq %r1,%r1,%r3
	bwgeui.l %r2,1099511595125,scalbnl+160
;scalbnl+112
	fmulsq %r1,%r1,%r3
	ldi %r3,-48920
	maxuw %r2,%r2,%r3
;scalbnl+128
	addiws %r2,%r2,32538
	jmp scalbnl+176
	nop 0
;scalbnl+144
	addiws %r2,%r2,-16383
	jmp scalbnl+176
	nop 0
;scalbnl+160
	addiws %r2,%r2,16269
	nop 0
	nop 0
;scalbnl+176
	ldqr %r3,.rodata+29072
	stq %r3,%sp,0
	addiws %r2,%r2,16383
;scalbnl+192
	addi %r3,%sp,0
	ori %r3,%r3,14
	sth %r2,%r3,0
;scalbnl+208
	ldq %r2,%sp,0
	fmulsq %r1,%r1,%r2
	retf 16
;mbrtowc
	alloc 14
	ldafr %r6,mbrtowc.internal_state
	cmovdeq %r4,%r4,%r6,%r4
;mbrtowc+16
	ldwz %r6,%r4,0
	bdeq %r2,%gz,mbrtowc+176
	mov %r5,%r1
;mbrtowc+32
	ldi %r1,-2
	bdeq %r3,%gz,mbrtowc+224
	bweq %r6,%gz,mbrtowc+240
;mbrtowc+48
	mov %r7,%r3
	nop 0
	nop 0
;mbrtowc+64
	ldbz %r8,%r2,0
	srliw %r9,%r8,3
	addiws %r10,%r9,-16
;mbrtowc+80
	sraiw %r11,%r6,26
	addws %r9,%r11,%r9
	or %r9,%r10,%r9
;mbrtowc+96
	bwgeui %r9,8,mbrtowc+192
	addi %r7,%r7,-1
	addi %r2,%r2,1
;mbrtowc+112
	andi %r8,%r8,255
	addiws %r8,%r8,-128
	slor %r6,%r8,%r6,6
;mbrtowc+128
	bwle %gz,%r6,mbrtowc+384
	bdeq %r7,%gz,mbrtowc+368
	ldbs %r8,%r2,0
;mbrtowc+144
	addi %r7,%r7,-1
	addi %r2,%r2,1
	bwlti %r8,-64,mbrtowc+112
;mbrtowc+160
	jmp mbrtowc+192
	nop 0
	nop 0
;mbrtowc+176
	bweq %r6,%gz,mbrtowc+288
	nop 0
	nop 0
;mbrtowc+192
	stw %gz,%r4,0
	callr %r12,__errno_location
	ldi %r1,84
;mbrtowc+208
	stw %r1,%r13,0
	ldi %r1,-1
	nop 0
;mbrtowc+224
	retf 0
	nop 0
	nop 0
;mbrtowc+240
	ldbz %r7,%r2,0
	slsrai %r6,%r7,56,56
	bwlt %r6,%gz,mbrtowc+304
;mbrtowc+256
	bdeq %r5,%gz,mbrtowc+272
	stw %r7,%r5,0
	nop 0
;mbrtowc+272
	cmpwnei %r1,%r6,0
	retf 0
	nop 0
;mbrtowc+288
	mov %r1,%gz
	retf 0
	nop 0
;mbrtowc+304
	lddz %r8,%tp,168
	lddz %r8,%r8,0
	bdeq %r8,%gz,mbrtowc+416
;mbrtowc+320
	addiws %r6,%r7,-194
	bwgeui %r6,51,mbrtowc+192
	ldafr %r8,__fsmu8
;mbrtowc+336
	addi %r7,%r3,-1
	ldwzx.xuw %r6,%r8,%r6,2,0
	bdeq %r7,%gz,mbrtowc+368
;mbrtowc+352
	addi %r2,%r2,1
	jmp mbrtowc+64
	nop 0
;mbrtowc+368
	stw %r6,%r4,0
	retf 0
	nop 0
;mbrtowc+384
	stw %gz,%r4,0
	bdeq %r5,%gz,mbrtowc+400
	stw %r6,%r5,0
;mbrtowc+400
	sub %r1,%r3,%r7
	retf 0
	nop 0
;mbrtowc+416
	ldi %r1,1
	bdeq %r5,%gz,mbrtowc+224
	andi %r2,%r6,57343
;mbrtowc+432
	stw %r2,%r5,0
	retf 0
	nop 0
;realloc
	alloc 6
	mov2 %r4,%r5,%r1,%r2
	callr %r3,__libc_realloc
;realloc+16
	mov %r1,%r4
	retf 0
	nop 0
;__libc_realloc
	alloc 18
	bdeq %r1,%gz,__libc_realloc+64
	nop 2
;__libc_realloc+16
	ldi.l %r3,9223372036854771711
	bdltu %r2,%r3,__libc_realloc+96
;__libc_realloc+32
	callr %r16,__errno_location
	mov %r1,%gz
	ldi %r2,12
;__libc_realloc+48
	stw %r2,%r17,0
	retf 0
	nop 0
;__libc_realloc+64
	mov %r17,%r2
	callr %r16,__libc_malloc_impl
	mov %r1,%r17
;__libc_realloc+80
	retf 0
	nop 0
	nop 0
;__libc_realloc+96
	bmany %r1,15,__libc_realloc+1168
	ldbz %r3,%r1,-4
	ldhz %r7,%r1,-2
;__libc_realloc+112
	ldbz %r6,%r1,-3
	bweq %r3,%gz,__libc_realloc+144
	bwne %r7,%gz,__libc_realloc+1168
;__libc_realloc+128
	ldwz %r7,%r1,-8
	bwlti.l %r7,65536,__libc_realloc+1168
;__libc_realloc+144
	slliw %r3,%r7,4
	sub %r3,%r1,%r3
	lddz %r5,%r3,-16
;__libc_realloc+160
	lddz %r14,%r5,16
	addi %r3,%r3,-16
	bdne %r14,%r3,__libc_realloc+1168
;__libc_realloc+176
	lddz %r4,%r5,32
	andi %r8,%r6,31
	andi %r3,%r4,31
;__libc_realloc+192
	bwltu %r3,%r8,__libc_realloc+1168
	ldwz %r9,%r5,24
	ldi %r3,1
;__libc_realloc+208
	sllw %r3,%r3,%r8
	and %r9,%r9,%r3
	bwne %r9,%gz,__libc_realloc+1168
;__libc_realloc+224
	ldwz %r9,%r5,28
	and %r3,%r9,%r3
	bwne %r3,%gz,__libc_realloc+1168
;__libc_realloc+240
	andi %r3,%r5,-4096
	lddz %r3,%r3,0
	lddzr %r9,__malloc_context
;__libc_realloc+256
	bdne %r3,%r9,__libc_realloc+1168
	slsrli %r9,%r4,52,58
	ldafr %r3,__malloc_size_classes
;__libc_realloc+272
	bdgeui %r9,48,__libc_realloc+320
	ldhzx.xd %r10,%r3,%r9,1,0
	mulws %r11,%r10,%r8
;__libc_realloc+288
	bwltu %r7,%r11,__libc_realloc+1168
	addiws %r11,%r8,1
	mulws %r10,%r11,%r10
;__libc_realloc+304
	bwltu %r7,%r10,__libc_realloc+336
	jmp __libc_realloc+1168
	nop 0
;__libc_realloc+320
	bdnei %r9,63,__libc_realloc+1168
	nop 0
	nop 0
;__libc_realloc+336
	bdltui.l %r4,4096,__libc_realloc+384
	srliw %r7,%r7,0
;__libc_realloc+352
	srli %r10,%r4,4
	andi.l %r10,%r10,1152921504606846720
;__libc_realloc+368
	addi %r10,%r10,-1
	bdltu %r10,%r7,__libc_realloc+1168
	bmnone %r4,31,__libc_realloc+1056
;__libc_realloc+384
	ldhzx.xd %r7,%r3,%r9,1,0
	slli %r10,%r7,4
	nop 0
;__libc_realloc+400
	srliw %r7,%r8,0
	mul %r8,%r10,%r7
	ldax.xd %r9,%r14,%r8,0,16
;__libc_realloc+416
	muladd %r7,%r10,%r7,%r14
	ldax.xd %r7,%r7,%r10,0,16
	ldax.xd %r8,%r9,%r10,0,-4
;__libc_realloc+432
	srliw %r11,%r6,5
	bwltui %r6,160,__libc_realloc+480
	bwnei %r11,5,__libc_realloc+1168
;__libc_realloc+448
	ldwz %r6,%r7,-8
	bwltui %r6,5,__libc_realloc+1168
	ldbz %r10,%r7,-9
;__libc_realloc+464
	bwne %r10,%gz,__libc_realloc+1168
	srliw %r11,%r6,0
	nop 0
;__libc_realloc+480
	sub %r10,%r8,%r1
	bdltu %r10,%r11,__libc_realloc+1168
	sub %r6,%r8,%r11
;__libc_realloc+496
	ldbz %r11,%r6,0
	bwne %r11,%gz,__libc_realloc+1168
	ldbz %r11,%r8,0
;__libc_realloc+512
	bwne %r11,%gz,__libc_realloc+1168
	bdgeui.l %r2,131052,__libc_realloc+768
;__libc_realloc+528
	bdltu %r10,%r2,__libc_realloc+768
	addi %r5,%r2,3
	srli %r5,%r5,4
;__libc_realloc+544
	bdltui %r2,157,__libc_realloc+688
	addiws %r9,%r5,1
	srliw %r10,%r9,1
;__libc_realloc+560
	srliw %r9,%r9,2
	or %r9,%r10,%r9
	srliw %r10,%r9,2
;__libc_realloc+576
	or %r9,%r10,%r9
	srliw %r10,%r9,4
	or %r9,%r10,%r9
;__libc_realloc+592
	srliw %r10,%r9,8
	or %r9,%r10,%r9
	addiws %r9,%r9,1
;__libc_realloc+608
	cnttz %r9,%r9,31
	ldi %r10,124
	slxor %r9,%r10,%r9,2
;__libc_realloc+624
	subfiws %r10,%r9,121
	ldhzx.xw %r10,%r3,%r10,1,0
	cmpdltu %r10,%r5,%r10
;__libc_realloc+640
	ldi %r11,122
	ldi %r12,120
	cmovlsb %r10,%r10,%r12,%r11
;__libc_realloc+656
	subws %r9,%r10,%r9
	ldhzx.xw %r3,%r3,%r9,1,0
	cmpdleu %r3,%r3,%r5
;__libc_realloc+672
	or %r5,%r9,%r3
	nop 0
	nop 0
;__libc_realloc+688
	addiws %r3,%r5,1
	slsrli %r4,%r4,52,58
	bwlt %r3,%r4,__libc_realloc+976
;__libc_realloc+704
	subsub %r2,%r8,%r2,%r1
	bweq %r2,%gz,__libc_realloc+1072
	slsub %r3,%gz,%r2,32
;__libc_realloc+720
	srai %r3,%r3,32
	stbx.xd %gz,%r8,%r3,0,0
	bwlti %r2,5,__libc_realloc+1088
;__libc_realloc+736
	stw %r2,%r7,-8
	stb %gz,%r7,-9
	ldi %r2,5
;__libc_realloc+752
	jmp __libc_realloc+1088
	nop 0
	nop 0
;__libc_realloc+768
	bdltui.l %r2,131052,__libc_realloc+976
	slsrli %r3,%r4,52,58
;__libc_realloc+784
	bwltui %r3,48,__libc_realloc+976
	bwnei %r3,63,__libc_realloc+1168
	sub %r7,%r1,%r9
;__libc_realloc+800
	ldax.xd.l %r3,%r2,%r7,0,4115
	andi %r3,%r3,-4096
;__libc_realloc+816
	andi %r15,%r4,-4096
	bdeq %r15,%r3,__libc_realloc+848
	ldi %r17,1
;__libc_realloc+832
	mov %r16,%r3
	callr %r13,__mremap
	nop 0
;__libc_realloc+848
	bdeqi %r14,-1,__libc_realloc+976
	std %r14,%r5,16
	lddz %r1,%r5,32
;__libc_realloc+864
	andi %r1,%r1,4095
	or %r1,%r1,%r3
	std %r1,%r5,32
;__libc_realloc+880
	add %r5,%r14,%r7
	ldax.xd %r1,%r14,%r7,0,16
	ldax.xd %r4,%r14,%r3,0,-4
;__libc_realloc+896
	stbx.xd %gz,%r14,%r3,0,-4
	ldax.xd %r5,%r5,%r2,0,16
	add %r2,%r14,%r3
;__libc_realloc+912
	ldi %r3,-4
	addsub %r3,%r2,%r3,%r5
	mov %r5,%gz
;__libc_realloc+928
	bweq %r3,%gz,__libc_realloc+1136
	slsub %r5,%gz,%r3,32
	srai %r5,%r5,32
;__libc_realloc+944
	stbx.xd %gz,%r4,%r5,0,0
	bwlti %r3,5,__libc_realloc+1120
	stw %r3,%r2,-8
;__libc_realloc+960
	stb %gz,%r2,-9
	ldi %r5,5
	jmp __libc_realloc+1136
;__libc_realloc+976
	mov %r17,%r2
	callr %r16,__libc_malloc_impl
	bdeq %r17,%gz,__libc_realloc+1040
;__libc_realloc+992
	sub %r3,%r6,%r1
	minu %r2,%r2,%r3
	mov2 %r15,%r16,%r17,%r1
;__libc_realloc+1008
	mov2 %r3,%r17,%r17,%r2
	callr %r14,memcpy
	mov %r17,%r1
;__libc_realloc+1024
	callr %r16,__libc_free
	mov %r1,%r3
	retf 0
;__libc_realloc+1040
	mov %r1,%gz
	retf 0
	nop 0
;__libc_realloc+1056
	andi %r7,%r4,-4096
	addi %r10,%r7,-16
	jmp __libc_realloc+400
;__libc_realloc+1072
	mov %r2,%gz
	nop 0
	nop 0
;__libc_realloc+1088
	ldbz %r3,%r1,-3
	andi %r3,%r3,31
	slor %r2,%r3,%r2,5
;__libc_realloc+1104
	stb %r2,%r1,-3
	retf 0
	nop 0
;__libc_realloc+1120
	mov %r5,%r3
	nop 0
	nop 0
;__libc_realloc+1136
	ldbz %r2,%r1,-3
	andi %r2,%r2,31
	slor %r2,%r2,%r5,5
;__libc_realloc+1152
	stb %r2,%r1,-3
	retf 0
	nop 0
;__libc_realloc+1168
	halt
	nop 0
	nop 0
;dummy
	alloc 1
	retf 0
	nop 0
;__mremap
	allocsp 14,16
	ldi.l %r5,9223372036854775807
;__mremap+16
	bdltu %r3,%r5,__mremap+48
	callr %r12,__errno_location
	ldi %r1,12
;__mremap+32
	stw %r1,%r13,0
	ldi %r1,-1
	retf 16
;__mremap+48
	mov %r12,%gz
	bbci %r4,1,__mremap+96
	callr %r13,dummy
;__mremap+64
	addi %r5,%sp,16
	ori %r5,%r5,8
	std %r5,%sp,8
;__mremap+80
	lddz %r12,%sp,16
	nop 0
	nop 0
;__mremap+96
	sraiw %r11,%r4,0
	ldi %r7,25
	mov2 %r8,%r9,%r1,%r2
;__mremap+112
	mov2 %r10,%r13,%r3,%gz
	callr %r6,__syscall_postrisc
	mov %r13,%r7
;__mremap+128
	callr %r12,__syscall_ret
	mov %r1,%r13
	retf 16
;__intscan
	alloc 17
	bwgeui %r2,37,__intscan+416
	bwnei %r2,1,__intscan+64
;__intscan+16
	jmp __intscan+416
	nop 0
	nop 0
;__intscan+32
	mov %r16,%r1
	callr %r15,__shgetc
	addiws %r5,%r16,-9
;__intscan+48
	bwgeui %r5,5,__intscan+112
	nop 0
	nop 0
;__intscan+64
	lddz %r5,%r1,8
	lddz %r6,%r1,184
	bdeq %r5,%r6,__intscan+32
;__intscan+80
	addi %r6,%r5,1
	std %r6,%r1,8
	ldbz %r16,%r5,0
;__intscan+96
	addiws %r5,%r16,-9
	bwltui %r5,5,__intscan+64
	nop 0
;__intscan+112
	bweqi %r16,32,__intscan+64
	bweqi %r16,45,__intscan+128
	bwnei %r16,43,__intscan+176
;__intscan+128
	lddz %r5,%r1,8
	lddz %r7,%r1,184
	cmpweqi %r6,%r16,45
;__intscan+144
	slsrai %r6,%r6,63,63
	bdeq %r5,%r7,__intscan+192
	addi %r7,%r5,1
;__intscan+160
	std %r7,%r1,8
	ldbz %r16,%r5,0
	jmp __intscan+208
;__intscan+176
	mov %r6,%gz
	jmp __intscan+208
	nop 0
;__intscan+192
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+208
	cmpwnei %r5,%r2,0
	cmpwnei %r7,%r2,16
	and %r5,%r5,%r7
;__intscan+224
	bbsi %r5,0,__intscan+336
	bwnei %r16,48,__intscan+336
	lddz %r5,%r1,8
;__intscan+240
	lddz %r7,%r1,184
	bdeq %r5,%r7,__intscan+448
	addi %r7,%r5,1
;__intscan+256
	std %r7,%r1,8
	ldbz %r16,%r5,0
	andi %r5,%r16,-33
;__intscan+272
	bwnei %r5,88,__intscan+480
	nop 0
	nop 0
;__intscan+288
	lddz %r2,%r1,8
	lddz %r5,%r1,184
	bdeq %r2,%r5,__intscan+800
;__intscan+304
	addi %r5,%r2,1
	std %r5,%r1,8
	ldbz %r16,%r2,0
;__intscan+320
	jmp __intscan+816
	nop 0
	nop 0
;__intscan+336
	ldafr %r3,table+1
	ldbzx.xw %r3,%r3,%r16,0,0
	ldi %r5,10
;__intscan+352
	cmovweq %r2,%r2,%r5,%r2
	bwltu %r3,%r2,__intscan+496
	lddz %r2,%r1,192
;__intscan+368
	bdlt %r2,%gz,__intscan+400
	lddz %r2,%r1,8
	addi %r2,%r2,-1
;__intscan+384
	std %r2,%r1,8
	nop 0
	nop 0
;__intscan+400
	mov2 %r15,%r16,%r1,%gz
	callr %r14,__shlim
	nop 0
;__intscan+416
	callr %r15,__errno_location
	ldi %r1,22
	stw %r1,%r16,0
;__intscan+432
	mov %r1,%gz
	retf 0
	nop 0
;__intscan+448
	mov %r16,%r1
	callr %r15,__shgetc
	andi %r5,%r16,-33
;__intscan+464
	bweqi %r5,88,__intscan+288
	nop 0
	nop 0
;__intscan+480
	bweq %r2,%gz,__intscan+912
	nop 0
	nop 0
;__intscan+496
	bwnei %r2,10,__intscan+928
	addiws %r3,%r16,-48
	bwgeui %r3,10,__intscan+640
;__intscan+512
	mov %r5,%gz
	nop 0
	nop 0
;__intscan+528
	lddz %r2,%r1,8
	lddz %r7,%r1,184
	bdeq %r2,%r7,__intscan+576
;__intscan+544
	addi %r7,%r2,1
	std %r7,%r1,8
	ldbz %r16,%r2,0
;__intscan+560
	jmp __intscan+592
	nop 0
	nop 0
;__intscan+576
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+592
	mulwsi %r2,%r5,10
	addws %r5,%r2,%r3
	addiws %r3,%r16,-48
;__intscan+608
	bwgeui %r3,10,__intscan+624
	bwltui.l %r5,429496729,__intscan+528
;__intscan+624
	srliw %r7,%r5,0
	bwltui %r3,10,__intscan+656
	jmp __intscan+1632
;__intscan+640
	mov %r7,%gz
	bwgeui %r3,10,__intscan+1632
	nop 0
;__intscan+656
	srliw %r8,%r3,0
	muli %r9,%r7,10
	nop 2
;__intscan+672
	ldi.l %r5,1844674407370955162
	ldi %r2,10
;__intscan+688
	lddz %r3,%r1,8
	lddz %r7,%r1,184
	bdeq %r3,%r7,__intscan+736
;__intscan+704
	addi %r7,%r3,1
	std %r7,%r1,8
	ldbz %r16,%r3,0
;__intscan+720
	jmp __intscan+752
	nop 0
	nop 0
;__intscan+736
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+752
	addiws %r3,%r16,-48
	add %r7,%r9,%r8
	bwgeui %r3,10,__intscan+1600
;__intscan+768
	bdleu %r5,%r7,__intscan+1600
	muli %r9,%r7,10
	srliw %r8,%r3,0
;__intscan+784
	xori %r3,%r8,-1
	bdleu %r9,%r3,__intscan+688
	jmp __intscan+1616
;__intscan+800
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+816
	ldafr %r2,table+1
	ldbzx.xw %r2,%r2,%r16,0,0
	bwltui %r2,16,__intscan+896
;__intscan+832
	lddz %r2,%r1,192
	bdlt %r2,%gz,__intscan+1920
	lddz %r2,%r1,8
;__intscan+848
	addi %r4,%r2,-1
	std %r4,%r1,8
	bweq %r3,%gz,__intscan+1936
;__intscan+864
	addi %r2,%r2,-2
	std %r2,%r1,8
	mov %r1,%gz
;__intscan+880
	retf 0
	nop 0
	nop 0
;__intscan+896
	ldi %r2,16
	jmp __intscan+928
	nop 0
;__intscan+912
	ldi %r2,8
	nop 0
	nop 0
;__intscan+928
	addiws %r3,%r2,-1
	and %r3,%r2,%r3
	bwne %r3,%gz,__intscan+1248
;__intscan+944
	ldafr %r5,table+1
	ldbzx.xw %r8,%r5,%r16,0,0
	mulwsi %r3,%r2,23
;__intscan+960
	srliw %r3,%r3,5
	andi %r3,%r3,7
	ldafr %r7,.L.str
;__intscan+976
	ldbsx.xd %r9,%r3,%r7,0,0
	mov %r7,%gz
	bwleu %r2,%r8,__intscan+1104
;__intscan+992
	lddz %r3,%r1,8
	lddz %r10,%r1,184
	bdeq %r3,%r10,__intscan+1040
;__intscan+1008
	addi %r10,%r3,1
	std %r10,%r1,8
	ldbz %r16,%r3,0
;__intscan+1024
	jmp __intscan+1056
	nop 0
	nop 0
;__intscan+1040
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1056
	sllw %r3,%r7,%r9
	or %r7,%r8,%r3
	ldbzx.xw %r8,%r5,%r16,0,0
;__intscan+1072
	bwleu %r2,%r8,__intscan+1088
	bwltui.l %r3,134217728,__intscan+992
;__intscan+1088
	srliw %r7,%r7,0
	nop 0
	nop 0
;__intscan+1104
	bwleu %r2,%r8,__intscan+1616
	ldi %r3,-1
	srl %r10,%r3,%r9
;__intscan+1120
	bdltu %r10,%r7,__intscan+1616
	srliw %r9,%r9,0
	nop 0
;__intscan+1136
	lddz %r3,%r1,8
	lddz %r11,%r1,184
	bdeq %r3,%r11,__intscan+1184
;__intscan+1152
	addi %r11,%r3,1
	std %r11,%r1,8
	ldbz %r16,%r3,0
;__intscan+1168
	jmp __intscan+1200
	nop 0
	nop 0
;__intscan+1184
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1200
	andi %r3,%r8,255
	ldbzx.xw %r8,%r5,%r16,0,0
	sll %r7,%r7,%r9
;__intscan+1216
	or %r7,%r7,%r3
	bwleu %r2,%r8,__intscan+1616
	bdleu %r7,%r10,__intscan+1136
;__intscan+1232
	jmp __intscan+1616
	nop 0
	nop 0
;__intscan+1248
	ldafr %r8,table+1
	ldbzx.xw %r9,%r8,%r16,0,0
	bwleu %r2,%r9,__intscan+1392
;__intscan+1264
	mov %r5,%gz
	nop 0
	nop 0
;__intscan+1280
	lddz %r3,%r1,8
	lddz %r7,%r1,184
	bdeq %r3,%r7,__intscan+1328
;__intscan+1296
	addi %r7,%r3,1
	std %r7,%r1,8
	ldbz %r16,%r3,0
;__intscan+1312
	jmp __intscan+1344
	nop 0
	nop 0
;__intscan+1328
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1344
	mulws %r3,%r5,%r2
	addws %r5,%r9,%r3
	ldbzx.xw %r9,%r8,%r16,0,0
;__intscan+1360
	bwleu %r2,%r9,__intscan+1376
	bwltui.l %r5,119304647,__intscan+1280
;__intscan+1376
	srliw %r7,%r5,0
	bwltu %r9,%r2,__intscan+1408
	jmp __intscan+1616
;__intscan+1392
	mov %r7,%gz
	bwleu %r2,%r9,__intscan+1616
	nop 0
;__intscan+1408
	mov %r12,%r16
	srliw %r10,%r2,0
	ldi %r11,255
;__intscan+1424
	srli %r3,%r10,0
	nop 0
	nop 0
;__intscan+1440
	mul %r13,%r7,%r10
	nand %r5,%r9,%r11
	bdltu %r5,%r13,__intscan+1584
;__intscan+1456
	lddz %r5,%r1,8
	lddz %r7,%r1,184
	bdeq %r5,%r7,__intscan+1504
;__intscan+1472
	addi %r7,%r5,1
	std %r7,%r1,8
	ldbz %r16,%r5,0
;__intscan+1488
	jmp __intscan+1520
	nop 0
	nop 0
;__intscan+1504
	mov %r16,%r1
	callr %r15,__shgetc
	nop 0
;__intscan+1520
	andi %r5,%r9,255
	ldbzx.xw %r9,%r8,%r16,0,0
	add %r7,%r13,%r5
;__intscan+1536
	bwleu %r2,%r9,__intscan+1616
	mov %r12,%r16
	srli %r16,%r7,0
;__intscan+1552
	mov %r15,%r3
	callr %r14,__multi3
	srlqi %r5,%r15,0
;__intscan+1568
	bdeq %r5,%gz,__intscan+1440
	nop 0
	nop 0
;__intscan+1584
	mov %r16,%r12
	jmp __intscan+1616
	nop 0
;__intscan+1600
	bwgeui %r3,10,__intscan+1632
	nop 0
	nop 0
;__intscan+1616
	ldafr %r5,table+1
	ldbzx.xw %r3,%r5,%r16,0,0
	bwltu %r3,%r2,__intscan+1744
;__intscan+1632
	lddz %r2,%r1,192
	bdlt %r2,%gz,__intscan+1664
	nop 0
;__intscan+1648
	lddz %r2,%r1,8
	addi %r2,%r2,-1
	std %r2,%r1,8
;__intscan+1664
	bdleu %r4,%r7,__intscan+1840
	nop 0
	nop 0
;__intscan+1680
	sraiw %r1,%r6,0
	xor %r2,%r7,%r1
	sub %r4,%r2,%r1
;__intscan+1696
	mov %r1,%r4
	retf 0
	nop 0
;__intscan+1712
	mov %r16,%r1
	callr %r15,__shgetc
	ldbzx.xw %r3,%r5,%r16,0,0
;__intscan+1728
	bwleu %r2,%r3,__intscan+1792
	nop 0
	nop 0
;__intscan+1744
	lddz %r3,%r1,8
	lddz %r7,%r1,184
	bdeq %r3,%r7,__intscan+1712
;__intscan+1760
	addi %r7,%r3,1
	std %r7,%r1,8
	ldbz %r16,%r3,0
;__intscan+1776
	ldbzx.xw %r3,%r5,%r16,0,0
	bwltu %r3,%r2,__intscan+1744
	nop 0
;__intscan+1792
	callr %r15,__errno_location
	ldi %r2,34
	andi %r3,%r4,1
;__intscan+1808
	stw %r2,%r16,0
	cmovlsb %r6,%r3,%gz,%r6
	mov %r7,%r4
;__intscan+1824
	lddz %r2,%r1,192
	bdle %gz,%r2,__intscan+1648
	jmp __intscan+1664
;__intscan+1840
	bbsi %r4,0,__intscan+1888
	bwne %r6,%gz,__intscan+1888
	callr %r15,__errno_location
;__intscan+1856
	ldi %r1,34
	stw %r1,%r16,0
	addi %r1,%r4,-1
;__intscan+1872
	retf 0
	nop 0
	nop 0
;__intscan+1888
	bdleu %r7,%r4,__intscan+1680
	callr %r15,__errno_location
	ldi %r1,34
;__intscan+1904
	stw %r1,%r16,0
	mov %r1,%r4
	retf 0
;__intscan+1920
	mov %r4,%gz
	bwne %r3,%gz,__intscan+1696
	nop 0
;__intscan+1936
	mov2 %r15,%r16,%r1,%gz
	callr %r14,__shlim
	mov %r1,%gz
;__intscan+1952
	retf 0
	nop 0
	nop 0
;__multi3
	alloc 10
	srliw %r3,%r1,0
	srliw %r4,%r2,0
;__multi3+16
	mul %r5,%r4,%r3
	srli %r6,%r5,32
	srli %r7,%r1,32
;__multi3+32
	muladd %r4,%r4,%r7,%r6
	srli %r6,%r2,32
	mul %r3,%r6,%r3
;__multi3+48
	ldax.xuw %r3,%r3,%r4,0,0
	srlqi %r8,%r1,0
	srlqi %r9,%r2,0
;__multi3+64
	srliw %r5,%r5,0
	srli %r4,%r4,32
	slor %r5,%r5,%r3,32
;__multi3+80
	srli %r3,%r3,32
	mul %r6,%r6,%r7
	srli %r5,%r5,0
;__multi3+96
	mul %r2,%r8,%r2
	mul %r1,%r9,%r1
	addadd %r1,%r1,%r2,%r6
;__multi3+112
	addadd %r1,%r1,%r4,%r3
	sllqi %r1,%r1,0
	or %r1,%r1,%r5
;__multi3+128
	retf 0
	nop 0
	nop 0
;mbsinit
	alloc 2
	bdeq %r1,%gz,mbsinit+32
	ldwz %r1,%r1,0
;mbsinit+16
	cmpweqi %r1,%r1,0
	retf 0
	nop 0
;mbsinit+32
	ldi %r1,1
	retf 0
	nop 0
;atof
	alloc 5
	mov2 %r3,%r4,%r1,%gz
	callr %r2,strtod
;atof+16
	mov %r1,%r3
	retf 0
	nop 0
;strtof
	allocsp 10,240
	std %r1,%sp,16
	std %r1,%sp,96
;strtof+16
	ldi %r3,-1
	std %r3,%sp,24
	addi %r3,%sp,8
;strtof+32
	mov2 %r8,%r9,%r3,%gz
	callr %r7,__shlim
	ldi %r9,1
;strtof+48
	mov2 %r7,%r8,%r3,%gz
	callr %r6,__floatscan
	bdeq %r2,%gz,strtof+96
;strtof+64
	lddz %r3,%sp,16
	lddz %r4,%sp,96
	lddz %r5,%sp,208
;strtof+80
	sub %r3,%r3,%r4
	addadd %r1,%r1,%r5,%r3
	std %r1,%r2,0
;strtof+96
	fcvtsq2ss %r1,%r7,0
	retf 240
	nop 0
;strtod
	allocsp 10,240
	std %r1,%sp,16
	std %r1,%sp,96
;strtod+16
	ldi %r3,-1
	std %r3,%sp,24
	addi %r3,%sp,8
;strtod+32
	mov2 %r8,%r9,%r3,%gz
	callr %r7,__shlim
	ldi %r8,1
;strtod+48
	mov2 %r7,%r9,%r3,%r8
	callr %r6,__floatscan
	bdeq %r2,%gz,strtod+96
;strtod+64
	lddz %r3,%sp,16
	lddz %r4,%sp,96
	lddz %r5,%sp,208
;strtod+80
	sub %r3,%r3,%r4
	addadd %r1,%r1,%r5,%r3
	std %r1,%r2,0
;strtod+96
	fcvtsq2sd %r1,%r7,0
	retf 240
	nop 0
;strtold
	allocsp 10,240
	std %r1,%sp,16
	std %r1,%sp,96
;strtold+16
	ldi %r3,-1
	std %r3,%sp,24
	addi %r3,%sp,8
;strtold+32
	mov2 %r8,%r9,%r3,%gz
	callr %r7,__shlim
	ldi %r8,2
;strtold+48
	ldi %r9,1
	mov %r7,%r3
	callr %r6,__floatscan
;strtold+64
	bdeq %r2,%gz,strtold+112
	lddz %r3,%sp,16
	lddz %r4,%sp,96
;strtold+80
	lddz %r5,%sp,208
	sub %r3,%r3,%r4
	addadd %r1,%r1,%r5,%r3
;strtold+96
	std %r1,%r2,0
	nop 0
	nop 0
;strtold+112
	mov %r1,%r7
	retf 240
	nop 0
;M_BindBaseControls
	alloc 4
	ldafr %r2,.rodata+5030
	ldafr %r3,key_right
;M_BindBaseControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22440
	ldafr %r3,key_left
;M_BindBaseControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25567
	ldafr %r3,key_up
;M_BindBaseControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22449
	ldafr %r3,key_down
;M_BindBaseControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+14437
	ldafr %r3,key_strafeleft
;M_BindBaseControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27094
	ldafr %r3,key_straferight
;M_BindBaseControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25587
	ldafr %r3,key_fire
;M_BindBaseControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10196
	ldafr %r3,key_use
;M_BindBaseControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25596
	ldafr %r3,key_strafe
;M_BindBaseControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7942
	ldafr %r3,key_speed
;M_BindBaseControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+23477
	ldafr %r3,mousebfire
;M_BindBaseControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+15264
	ldafr %r3,mousebstrafe
;M_BindBaseControls+192
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+14452
	ldafr %r3,mousebforward
;M_BindBaseControls+208
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21968
	ldafr %r3,joybfire
;M_BindBaseControls+224
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+14467
	ldafr %r3,joybstrafe
;M_BindBaseControls+240
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9229
	ldafr %r3,joybuse
;M_BindBaseControls+256
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+8321
	ldafr %r3,joybspeed
;M_BindBaseControls+272
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3358
	ldafr %r3,joybmenu
;M_BindBaseControls+288
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+4023
	ldafr %r3,joybstrafeleft
;M_BindBaseControls+304
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13769
	ldafr %r3,joybstraferight
;M_BindBaseControls+320
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19093
	ldafr %r3,mousebstrafeleft
;M_BindBaseControls+336
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9247
	ldafr %r3,mousebstraferight
;M_BindBaseControls+352
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21075
	ldafr %r3,mousebuse
;M_BindBaseControls+368
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12384
	ldafr %r3,mousebbackward
;M_BindBaseControls+384
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19889
	ldafr %r3,dclick_use
;M_BindBaseControls+400
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21978
	ldafr %r3,key_pause
;M_BindBaseControls+416
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+910
	ldafr %r3,key_message_refresh
;M_BindBaseControls+432
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindHereticControls
	alloc 4
	ldafr %r2,.rodata+16704
	ldafr %r3,key_flyup
;M_BindHereticControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+28622
	ldafr %r3,key_flydown
;M_BindHereticControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21031
	ldafr %r3,key_flycenter
;M_BindHereticControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+5040
	ldafr %r3,key_lookup
;M_BindHereticControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+25574
	ldafr %r3,key_lookdown
;M_BindHereticControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27110
	ldafr %r3,key_lookcenter
;M_BindHereticControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+17509
	ldafr %r3,key_invleft
;M_BindHereticControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6288
	ldafr %r3,key_invright
;M_BindHereticControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10757
	ldafr %r3,key_useartifact
;M_BindHereticControls+144
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindHexenControls
	alloc 4
	ldafr %r2,.rodata+3975
	ldafr %r3,key_jump
;M_BindHexenControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3984
	ldafr %r3,mousebjump
;M_BindHexenControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10784
	ldafr %r3,joybjump
;M_BindHexenControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+18144
	ldafr %r3,key_arti_all
;M_BindHexenControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27558
	ldafr %r3,key_arti_health
;M_BindHexenControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+16714
	ldafr %r3,key_arti_poisonbag
;M_BindHexenControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21102
	ldafr %r3,key_arti_blastradius
;M_BindHexenControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+18157
	ldafr %r3,key_arti_teleport
;M_BindHexenControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+887
	ldafr %r3,key_arti_teleportother
;M_BindHexenControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10839
	ldafr %r3,key_arti_egg
;M_BindHexenControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2654
	ldafr %r3,key_arti_invulnerability
;M_BindHexenControls+176
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindStrifeControls
	alloc 8
	ldi %r1,47
	stwr %r1,key_message_refresh
;M_BindStrifeControls+16
	ldi %r1,97
	stwr %r1,key_jump
	ldafr %r7,key_jump
;M_BindStrifeControls+32
	ldi %r1,201
	stwr %r1,key_lookup
	ldafr %r1,key_lookup
;M_BindStrifeControls+48
	ldi %r2,209
	stwr %r2,key_lookdown
	ldafr %r2,key_lookdown
;M_BindStrifeControls+64
	ldi %r3,210
	stwr %r3,key_invleft
	ldafr %r3,key_invleft
;M_BindStrifeControls+80
	ldi %r4,211
	stwr %r4,key_invright
	ldafr %r4,key_invright
;M_BindStrifeControls+96
	ldafr %r6,.rodata+3975
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+10773
;M_BindStrifeControls+112
	mov %r7,%r1
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+821
;M_BindStrifeControls+128
	mov %r7,%r2
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+15240
;M_BindStrifeControls+144
	mov %r7,%r3
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+9216
;M_BindStrifeControls+160
	mov %r7,%r4
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+3961
;M_BindStrifeControls+176
	ldafr %r7,key_usehealth
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+5586
;M_BindStrifeControls+192
	ldafr %r7,key_invquery
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+11800
;M_BindStrifeControls+208
	ldafr %r7,key_mission
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+17498
;M_BindStrifeControls+224
	ldafr %r7,key_invpop
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+1701
;M_BindStrifeControls+240
	ldafr %r7,key_invkey
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+9204
;M_BindStrifeControls+256
	ldafr %r7,key_invhome
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+12347
;M_BindStrifeControls+272
	ldafr %r7,key_invend
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+5599
;M_BindStrifeControls+288
	ldafr %r7,key_invuse
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+15252
;M_BindStrifeControls+304
	ldafr %r7,key_invdrop
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+3984
;M_BindStrifeControls+320
	ldafr %r7,mousebjump
	callr %r5,M_BindVariable
	ldafr %r6,.rodata+10784
;M_BindStrifeControls+336
	ldafr %r7,joybjump
	callr %r5,M_BindVariable
	retf 0
;M_BindWeaponControls
	alloc 4
	ldafr %r2,.rodata+4083
	ldafr %r3,key_weapon1
;M_BindWeaponControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19913
	ldafr %r3,key_weapon2
;M_BindWeaponControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6395
	ldafr %r3,key_weapon3
;M_BindWeaponControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19925
	ldafr %r3,key_weapon4
;M_BindWeaponControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9282
	ldafr %r3,key_weapon5
;M_BindWeaponControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13800
	ldafr %r3,key_weapon6
;M_BindWeaponControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19937
	ldafr %r3,key_weapon7
;M_BindWeaponControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+875
	ldafr %r3,key_weapon8
;M_BindWeaponControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+28652
	ldafr %r3,key_prevweapon
;M_BindWeaponControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+27543
	ldafr %r3,key_nextweapon
;M_BindWeaponControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3377
	ldafr %r3,joybprevweapon
;M_BindWeaponControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+5677
	ldafr %r3,joybnextweapon
;M_BindWeaponControls+192
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7027
	ldafr %r3,mousebprevweapon
;M_BindWeaponControls+208
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+28634
	ldafr %r3,mousebnextweapon
;M_BindWeaponControls+224
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindMapControls
	alloc 4
	ldafr %r2,.rodata+4069
	ldafr %r3,key_map_north
;M_BindMapControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+845
	ldafr %r3,key_map_south
;M_BindMapControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12445
	ldafr %r3,key_map_east
;M_BindMapControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19900
	ldafr %r3,key_map_west
;M_BindMapControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6380
	ldafr %r3,key_map_zoomin
;M_BindMapControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+859
	ldafr %r3,key_map_zoomout
;M_BindMapControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2626
	ldafr %r3,key_map_toggle
;M_BindMapControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+10235
	ldafr %r3,key_map_maxzoom
;M_BindMapControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+17574
	ldafr %r3,key_map_follow
;M_BindMapControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2641
	ldafr %r3,key_map_grid
;M_BindMapControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+11841
	ldafr %r3,key_map_mark
;M_BindMapControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19119
	ldafr %r3,key_map_clearmark
;M_BindMapControls+192
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindMenuControls
	alloc 4
	ldafr %r2,.rodata+25640
	ldafr %r3,key_menu_activate
;M_BindMenuControls+16
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+5693
	ldafr %r3,key_menu_up
;M_BindMenuControls+32
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+2612
	ldafr %r3,key_menu_down
;M_BindMenuControls+48
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22484
	ldafr %r3,key_menu_left
;M_BindMenuControls+64
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+4039
	ldafr %r3,key_menu_right
;M_BindMenuControls+80
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+17560
	ldafr %r3,key_menu_back
;M_BindMenuControls+96
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12400
	ldafr %r3,key_menu_forward
;M_BindMenuControls+112
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22498
	ldafr %r3,key_menu_confirm
;M_BindMenuControls+128
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+11826
	ldafr %r3,key_menu_abort
;M_BindMenuControls+144
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12417
	ldafr %r3,key_menu_help
;M_BindMenuControls+160
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+13786
	ldafr %r3,key_menu_save
;M_BindMenuControls+176
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22515
	ldafr %r3,key_menu_load
;M_BindMenuControls+192
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+9266
	ldafr %r3,key_menu_volume
;M_BindMenuControls+208
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21086
	ldafr %r3,key_menu_detail
;M_BindMenuControls+224
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+21988
	ldafr %r3,key_menu_qsave
;M_BindMenuControls+240
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22003
	ldafr %r3,key_menu_endgame
;M_BindMenuControls+256
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+22529
	ldafr %r3,key_menu_messages
;M_BindMenuControls+272
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+3393
	ldafr %r3,key_menu_qload
;M_BindMenuControls+288
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+12431
	ldafr %r3,key_menu_quit
;M_BindMenuControls+304
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+4054
	ldafr %r3,key_menu_gamma
;M_BindMenuControls+320
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6341
	ldafr %r3,key_menu_incscreen
;M_BindMenuControls+336
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+7963
	ldafr %r3,key_menu_decscreen
;M_BindMenuControls+352
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+6360
	ldafr %r3,key_menu_screenshot
;M_BindMenuControls+368
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+16733
	ldafr %r3,key_demo_quit
;M_BindMenuControls+384
	callr %r1,M_BindVariable
	ldafr %r2,.rodata+19111
	ldafr %r3,key_spy
;M_BindMenuControls+400
	callr %r1,M_BindVariable
	retf 0
	nop 0
;M_BindChatControls
	allocsp 12,48
	ldafr %r10,.rodata+13812
	ldafr %r11,key_multi_msg
;M_BindChatControls+16
	callr %r9,M_BindVariable
	bweq %r1,%gz,M_BindChatControls+112
	mov %r6,%gz
;M_BindChatControls+32
	srliw %r7,%r1,0
	ldafr %r1,key_multi_msgplayer
	ldafr %r2,.rodata+10894
;M_BindChatControls+48
	addi %r3,%sp,16
	ldi %r4,32
	nop 0
;M_BindChatControls+64
	addi %r6,%r6,1
	stw %r6,%sp,0
	mov2 %r9,%r10,%r3,%r4
;M_BindChatControls+80
	mov %r11,%r2
	callr %r8,M_snprintf
	mov2 %r10,%r11,%r3,%r1
;M_BindChatControls+96
	callr %r9,M_BindVariable
	addi %r1,%r1,4
	bdne %r7,%r6,M_BindChatControls+64
;M_BindChatControls+112
	retf 48
	nop 0
	nop 0
;M_ApplyPlatformDefaults
	alloc 1
	retf 0
	nop 0
;FixedDiv
	alloc 5
	absdw %r3,%r1,%gz
	srliw %r3,%r3,14
;FixedDiv+16
	absdw %r4,%r2,%gz
	bwleu %r4,%r3,FixedDiv+64
	sraiw %r1,%r1,0
;FixedDiv+32
	slli %r1,%r1,16
	sraiw %r2,%r2,0
	div %r1,%r1,%r2
;FixedDiv+48
	retf 0
	nop 0
	nop 0
;FixedDiv+64
	xor %r1,%r2,%r1
	sraiw %r1,%r1,31
	nop 2
;FixedDiv+80
	xori.l %r1,%r1,2147483647
	retf 0
;M_NewGame
	alloc 3
	ldwzr %r1,netgame
	bweq %r1,%gz,M_NewGame+80
;M_NewGame+16
	ldwzr %r1,demoplayback
	bwne %r1,%gz,M_NewGame+80
	ldwzr %r1,menuactive
;M_NewGame+32
	stwr %r1,messageLastMenuActive
	ldi %r1,1
	stwr %r1,messageToPrint
;M_NewGame+48
	ldafr %r2,.rodata+5116
	stdr %r2,messageString
	stdr %gz,messageRoutine
;M_NewGame+64
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
	retf 0
;M_NewGame+80
	ldwzr %r1,gamemode
	bweqi %r1,2,M_NewGame+128
	ldwzr %r1,gameversion
;M_NewGame+96
	bweqi %r1,9,M_NewGame+128
	ldhzr %r1,EpiDef+36
	ldafr %r2,EpiDef
;M_NewGame+112
	jmp M_NewGame+144
	nop 0
	nop 0
;M_NewGame+128
	ldhzr %r1,NewDef+36
	ldafr %r2,NewDef
	nop 0
;M_NewGame+144
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_Options
	alloc 3
	ldhzr %r1,OptionsDef+36
	ldafr %r2,OptionsDef
;M_Options+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_LoadGame
	alloc 4
	ldwzr %r1,netgame
	bweq %r1,%gz,M_LoadGame+80
;M_LoadGame+16
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
	ldi %r1,1
;M_LoadGame+32
	stwr %r1,messageToPrint
	ldafr %r2,.rodata+5063
	stdr %r2,messageString
;M_LoadGame+48
	stdr %gz,messageRoutine
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
;M_LoadGame+64
	retf 0
	nop 0
	nop 0
;M_LoadGame+80
	ldhzr %r1,LoadDef+36
	ldafr %r2,LoadDef
	stdr %r2,currentMenu
;M_LoadGame+96
	sthr %r1,itemOn
	callr %r3,M_ReadSaveStrings
	retf 0
;M_SaveGame
	alloc 4
	ldwzr %r1,usergame
	bweq %r1,%gz,M_SaveGame+32
;M_SaveGame+16
	ldwzr %r1,gamestate
	bweq %r1,%gz,M_SaveGame+96
	retf 0
;M_SaveGame+32
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
	ldi %r1,1
;M_SaveGame+48
	stwr %r1,messageToPrint
	ldafr %r2,.rodata+13826
	stdr %r2,messageString
;M_SaveGame+64
	stdr %gz,messageRoutine
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
;M_SaveGame+80
	retf 0
	nop 0
	nop 0
;M_SaveGame+96
	ldhzr %r1,SaveDef+36
	ldafr %r2,SaveDef
	stdr %r2,currentMenu
;M_SaveGame+112
	sthr %r1,itemOn
	callr %r3,M_ReadSaveStrings
	retf 0
;M_ReadThis
	alloc 3
	ldhzr %r1,ReadDef1+36
	ldafr %r2,ReadDef1
;M_ReadThis+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_QuitDOOM
	allocsp 9,16
	ldwzr %r1,gamemission
	ldwzr %r2,gametic
;M_QuitDOOM+16
	andi %r1,%r1,-5
	ldafr %r3,doom2_endmsg
	ldafr %r4,doom1_endmsg
;M_QuitDOOM+32
	cmovweq %r1,%r1,%r4,%r3
	sraiw %r3,%r2,31
	srliw %r3,%r3,29
;M_QuitDOOM+48
	addws %r3,%r2,%r3
	andi %r3,%r3,-8
	subws %r2,%r2,%r3
;M_QuitDOOM+64
	lddzx.xw %r2,%r1,%r2,3,0
	ldafr %r1,endstring
	ldafr %r8,.rodata+7145
;M_QuitDOOM+80
	ldi %r7,160
	std %r2,%sp,0
	mov %r6,%r1
;M_QuitDOOM+96
	callr %r5,snprintf
	ldwzr %r2,menuactive
	stwr %r2,messageLastMenuActive
;M_QuitDOOM+112
	ldi %r2,1
	stwr %r2,messageToPrint
	stdr %r1,messageString
;M_QuitDOOM+128
	ldar %r1,M_QuitResponse
	stdr %r1,messageRoutine
	stwr %r2,messageNeedsInput
;M_QuitDOOM+144
	stwr %r2,menuactive
	retf 16
	nop 0
;M_DrawMainMenu
	alloc 5
	ldafr %r3,.rodata+22025
	ldi %r4,8
;M_DrawMainMenu+16
	callr %r2,W_CacheLumpName
	mov %r4,%r3
	ldi %r2,94
;M_DrawMainMenu+32
	ldi %r3,2
	callr %r1,V_DrawPatchDirect
	retf 0
;M_Episode
	alloc 8
	ldwzr %r2,gamemode
	bweq %r1,%gz,M_Episode+80
;M_Episode+16
	bwne %r2,%gz,M_Episode+80
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
;M_Episode+32
	ldi %r1,1
	stwr %r1,messageToPrint
	ldafr %r2,.rodata+3416
;M_Episode+48
	stdr %r2,messageString
	stdr %gz,messageRoutine
	stwr %gz,messageNeedsInput
;M_Episode+64
	stwr %r1,menuactive
	ldafr %r1,ReadDef1
	jmp M_Episode+112
;M_Episode+80
	bwlti %r1,3,M_Episode+96
	bweqi %r2,1,M_Episode+144
	nop 0
;M_Episode+96
	stwr %r1,epi
	ldafr %r1,NewDef
	nop 0
;M_Episode+112
	ldhz %r2,%r1,36
	stdr %r1,currentMenu
	sthr %r2,itemOn
;M_Episode+128
	retf 0
	nop 0
	nop 0
;M_Episode+144
	lddzr %r7,stderr
	ldafr %r4,.rodata+10251
	ldi %r5,45
;M_Episode+160
	ldi %r6,1
	callr %r3,fwrite_unlocked
	mov %r1,%gz
;M_Episode+176
	jmp M_Episode+96
	nop 0
	nop 0
;M_DrawEpisode
	alloc 5
	ldafr %r3,.rodata+4147
	ldi %r4,8
;M_DrawEpisode+16
	callr %r2,W_CacheLumpName
	mov %r4,%r3
	ldi %r2,54
;M_DrawEpisode+32
	ldi %r3,38
	callr %r1,V_DrawPatchDirect
	retf 0
;M_ChooseSkill
	alloc 7
	bwnei %r1,4,M_ChooseSkill+80
	ldwzr %r1,menuactive
;M_ChooseSkill+16
	stwr %r1,messageLastMenuActive
	ldi %r1,1
	stwr %r1,messageToPrint
;M_ChooseSkill+32
	ldafr %r2,.rodata+7073
	stdr %r2,messageString
	ldar %r2,M_VerifyNightmare
;M_ChooseSkill+48
	stdr %r2,messageRoutine
	stwr %r1,messageNeedsInput
	stwr %r1,menuactive
;M_ChooseSkill+64
	retf 0
	nop 0
	nop 0
;M_ChooseSkill+80
	ldwzr %r2,epi
	addiws %r5,%r2,1
	ldi %r6,1
;M_ChooseSkill+96
	mov %r4,%r1
	callr %r3,G_DeferedInitNew
	stwr %gz,menuactive
;M_ChooseSkill+112
	retf 0
	nop 0
	nop 0
;M_DrawNewGame
	alloc 6
	ldafr %r4,.rodata+17589
	ldi %r1,8
;M_DrawNewGame+16
	mov %r5,%r1
	callr %r3,W_CacheLumpName
	mov %r5,%r4
;M_DrawNewGame+32
	ldi %r3,96
	ldi %r4,14
	callr %r2,V_DrawPatchDirect
;M_DrawNewGame+48
	ldafr %r4,.rodata+3408
	mov %r5,%r1
	callr %r3,W_CacheLumpName
;M_DrawNewGame+64
	mov %r5,%r4
	ldi %r3,54
	ldi %r4,38
;M_DrawNewGame+80
	callr %r2,V_DrawPatchDirect
	retf 0
	nop 0
;M_EndGame
	alloc 6
	ldwzr %r1,usergame
	bweq %r1,%gz,M_EndGame+80
;M_EndGame+16
	ldwzr %r1,menuactive
	ldwzr %r2,netgame
	stwr %r1,messageLastMenuActive
;M_EndGame+32
	ldi %r1,1
	stwr %r1,messageToPrint
	bweq %r2,%gz,M_EndGame+112
;M_EndGame+48
	ldafr %r2,.rodata+16755
	stdr %r2,messageString
	stdr %gz,messageRoutine
;M_EndGame+64
	stwr %gz,messageNeedsInput
	stwr %r1,menuactive
	retf 0
;M_EndGame+80
	ldi %r5,34
	mov %r4,%gz
	callr %r3,S_StartSound
;M_EndGame+96
	retf 0
	nop 0
	nop 0
;M_EndGame+112
	ldafr %r2,.rodata+25658
	stdr %r2,messageString
	ldar %r2,M_EndGameResponse
;M_EndGame+128
	stdr %r2,messageRoutine
	stwr %r1,messageNeedsInput
	stwr %r1,menuactive
;M_EndGame+144
	retf 0
	nop 0
	nop 0
;M_ChangeMessages
	alloc 5
	ldwzr %r1,showMessages
	ldwsr %r2,consoleplayer
;M_ChangeMessages+16
	subfiws %r3,%r1,1
	stwr %r3,showMessages
	cmpweqi %r1,%r1,1
;M_ChangeMessages+32
	ldafr %r3,.rodata+21132
	ldafr %r4,.rodata+23549
	muli %r2,%r2,328
;M_ChangeMessages+48
	cmovlsb %r1,%r1,%r4,%r3
	ldafr %r3,players+232
	stdx.xd %r1,%r2,%r3,0,0
;M_ChangeMessages+64
	ldi %r1,1
	stwr %r1,message_dontfuckwithme
	retf 0
;M_ChangeDetail
	alloc 8
	ldwzr %r1,detailLevel
	subfiws %r7,%r1,1
;M_ChangeDetail+16
	stwr %r7,detailLevel
	ldwzr %r6,screenblocks
	callr %r5,R_SetViewSize
;M_ChangeDetail+32
	ldwzr %r1,detailLevel
	ldwsr %r2,consoleplayer
	ldafr %r3,.rodata+5182
;M_ChangeDetail+48
	ldafr %r4,.rodata+3508
	muli %r2,%r2,328
	cmovweq %r1,%r1,%r4,%r3
;M_ChangeDetail+64
	ldafr %r3,players+232
	stdx.xd %r1,%r2,%r3,0,0
	retf 0
;M_SizeDisplay
	alloc 5
	bweq %r1,%gz,M_SizeDisplay+64
	bwnei %r1,1,M_SizeDisplay+112
;M_SizeDisplay+16
	ldwzr %r1,screenSize
	ldwzr %r3,screenblocks
	bwgei %r1,8,M_SizeDisplay+128
;M_SizeDisplay+32
	addiws %r3,%r3,1
	stwr %r3,screenblocks
	addiws %r1,%r1,1
;M_SizeDisplay+48
	jmp M_SizeDisplay+96
	nop 0
	nop 0
;M_SizeDisplay+64
	ldwzr %r1,screenSize
	ldwzr %r3,screenblocks
	bwlti %r1,1,M_SizeDisplay+128
;M_SizeDisplay+80
	addiws %r3,%r3,-1
	stwr %r3,screenblocks
	addiws %r1,%r1,-1
;M_SizeDisplay+96
	stwr %r1,screenSize
	jmp M_SizeDisplay+128
	nop 0
;M_SizeDisplay+112
	ldwzr %r3,screenblocks
	nop 0
	nop 0
;M_SizeDisplay+128
	ldwzr %r4,detailLevel
	callr %r2,R_SetViewSize
	retf 0
;M_ChangeSensitivity
	alloc 2
	bweqi %r1,1,M_ChangeSensitivity+48
	bwne %r1,%gz,M_ChangeSensitivity+80
;M_ChangeSensitivity+16
	ldwzr %r1,mouseSensitivity
	bweq %r1,%gz,M_ChangeSensitivity+80
	addiws %r1,%r1,-1
;M_ChangeSensitivity+32
	jmp M_ChangeSensitivity+64
	nop 0
	nop 0
;M_ChangeSensitivity+48
	ldwzr %r1,mouseSensitivity
	bwgei %r1,9,M_ChangeSensitivity+80
	addiws %r1,%r1,1
;M_ChangeSensitivity+64
	stwr %r1,mouseSensitivity
	nop 0
	nop 0
;M_ChangeSensitivity+80
	retf 0
	nop 0
	nop 0
;M_Sound
	alloc 3
	ldhzr %r1,SoundDef+36
	ldafr %r2,SoundDef
;M_Sound+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_DrawOptions
	alloc 12
	ldafr %r10,.rodata+2688
	ldi %r1,8
;M_DrawOptions+16
	mov %r11,%r1
	callr %r9,W_CacheLumpName
	mov %r11,%r10
;M_DrawOptions+32
	ldi %r9,108
	ldi %r10,15
	callr %r8,V_DrawPatchDirect
;M_DrawOptions+48
	ldwsr %r2,detailLevel
	ldhsr %r3,OptionsDef+32
	ldhsr %r4,OptionsDef+34
;M_DrawOptions+64
	ldafr %r5,detailNames.rel
	ldwsx.xd %r6,%r5,%r2,2,0
	addiws %r2,%r3,175
;M_DrawOptions+80
	addiws %r3,%r4,32
	add %r10,%r6,%r5
	mov %r11,%r1
;M_DrawOptions+96
	callr %r9,W_CacheLumpName
	mov2 %r11,%r9,%r10,%r2
	mov %r10,%r3
;M_DrawOptions+112
	callr %r8,V_DrawPatchDirect
	ldwsr %r2,showMessages
	ldhsr %r3,OptionsDef+32
;M_DrawOptions+128
	ldhsr %r4,OptionsDef+34
	ldafr %r5,msgNames.rel
	ldwsx.xd %r6,%r5,%r2,2,0
;M_DrawOptions+144
	addiws %r2,%r3,120
	addiws %r3,%r4,16
	add %r10,%r6,%r5
;M_DrawOptions+160
	mov %r11,%r1
	callr %r9,W_CacheLumpName
	mov2 %r11,%r9,%r10,%r2
;M_DrawOptions+176
	mov %r10,%r3
	callr %r8,V_DrawPatchDirect
	ldhsr %r1,OptionsDef+34
;M_DrawOptions+192
	ldhsr %r8,OptionsDef+32
	addiws %r9,%r1,96
	ldwzr %r11,mouseSensitivity
;M_DrawOptions+208
	ldi %r10,10
	callr %r7,M_DrawThermo
	ldhsr %r1,OptionsDef+34
;M_DrawOptions+224
	ldhsr %r8,OptionsDef+32
	addiws %r9,%r1,64
	ldwzr %r11,screenSize
;M_DrawOptions+240
	ldi %r10,9
	callr %r7,M_DrawThermo
	retf 0
;M_ReadThis2
	alloc 5
	ldwzr %r1,gameversion
	ldwzr %r2,gamemode
;M_ReadThis2+16
	cmpwltui %r1,%r1,5
	cmpwnei %r2,%r2,2
	and %r1,%r1,%r2
;M_ReadThis2+32
	ldafr %r2,MainDef
	ldafr %r3,ReadDef2
	cmovlsb %r2,%r1,%r3,%r2
;M_ReadThis2+48
	ldafr %r3,MainDef+36
	ldafr %r4,ReadDef2+36
	stdr %r2,currentMenu
;M_ReadThis2+64
	cmovlsb %r1,%r1,%r4,%r3
	ldhz %r1,%r1,0
	sthr %r1,itemOn
;M_ReadThis2+80
	retf 0
	nop 0
	nop 0
;M_DrawReadThis1
	alloc 12
	ldwzr %r1,gameversion
	ldi %r4,1
;M_DrawReadThis1+16
	stwr %r4,inhelpscreens
	ldi %r2,175
	ldi %r3,330
;M_DrawReadThis1+32
	bwgeui %r1,10,M_DrawReadThis1+176
	sllw %r1,%r4,%r1
	andi %r4,%r1,62
;M_DrawReadThis1+48
	bweq %r4,%gz,M_DrawReadThis1+128
	ldwzr %r1,gamemode
	cmpweqi %r1,%r1,2
;M_DrawReadThis1+64
	ldafr %r2,.rodata+11065
	ldafr %r3,.rodata+22020
	ldi %r4,280
;M_DrawReadThis1+80
	ldi %r5,330
	ldi %r6,185
	ldi %r7,165
;M_DrawReadThis1+96
	cmovlsb %r10,%r1,%r3,%r2
	cmovlsb %r3,%r1,%r5,%r4
	cmovlsb %r2,%r1,%r7,%r6
;M_DrawReadThis1+112
	jmp M_DrawReadThis1+192
	nop 0
	nop 0
;M_DrawReadThis1+128
	andi %r4,%r1,384
	bwne %r4,%gz,M_DrawReadThis1+160
	andi %r1,%r1,576
;M_DrawReadThis1+144
	bweq %r1,%gz,M_DrawReadThis1+176
	ldafr %r10,.rodata+8409
	jmp M_DrawReadThis1+192
;M_DrawReadThis1+160
	ldafr %r10,.rodata+22020
	jmp M_DrawReadThis1+192
	nop 0
;M_DrawReadThis1+176
	ldafr %r11,.rodata+12487
	callr %r10,I_Error
	ldafr %r10,.rodata+10578
;M_DrawReadThis1+192
	ldi %r11,8
	callr %r9,W_CacheLumpName
	mov2 %r11,%r9,%r10,%gz
;M_DrawReadThis1+208
	mov %r10,%gz
	callr %r8,V_DrawPatchDirect
	sthr %r3,ReadDef1+32
;M_DrawReadThis1+224
	sthr %r2,ReadDef1+34
	retf 0
	nop 0
;M_FinishReadThis
	alloc 3
	ldhzr %r1,MainDef+36
	ldafr %r2,MainDef
;M_FinishReadThis+16
	stdr %r2,currentMenu
	sthr %r1,itemOn
	retf 0
;M_DrawReadThis2
	alloc 6
	ldi %r1,1
	stwr %r1,inhelpscreens
;M_DrawReadThis2+16
	ldafr %r4,.rodata+8409
	ldi %r5,8
	callr %r3,W_CacheLumpName
;M_DrawReadThis2+32
	mov2 %r5,%r3,%r4,%gz
	mov %r4,%gz
	callr %r2,V_DrawPatchDirect
;M_DrawReadThis2+48
	retf 0
	nop 0
	nop 0
;M_SfxVol
	alloc 5
	ldwzr %r2,sfxVolume
	bweqi %r1,1,M_SfxVol+48
;M_SfxVol+16
	bwne %r1,%gz,M_SfxVol+96
	bweq %r2,%gz,M_SfxVol+80
	ldi %r1,-1
;M_SfxVol+32
	jmp M_SfxVol+64
	nop 0
	nop 0
;M_SfxVol+48
	bwgei %r2,15,M_SfxVol+96
	ldi %r1,1
	nop 0
;M_SfxVol+64
	addws %r2,%r2,%r1
	stwr %r2,sfxVolume
	jmp M_SfxVol+96
;M_SfxVol+80
	mov %r2,%gz
	nop 0
	nop 0
;M_SfxVol+96
	slliw %r4,%r2,3
	callr %r3,S_SetSfxVolume
	retf 0
;M_MusicVol
	alloc 5
	ldwzr %r2,musicVolume
	bweqi %r1,1,M_MusicVol+48
;M_MusicVol+16
	bwne %r1,%gz,M_MusicVol+96
	bweq %r2,%gz,M_MusicVol+80
	ldi %r1,-1
;M_MusicVol+32
	jmp M_MusicVol+64
	nop 0
	nop 0
;M_MusicVol+48
	bwgei %r2,15,M_MusicVol+96
	ldi %r1,1
	nop 0
;M_MusicVol+64
	addws %r2,%r2,%r1
	stwr %r2,musicVolume
	jmp M_MusicVol+96
;M_MusicVol+80
	mov %r2,%gz
	nop 0
	nop 0
;M_MusicVol+96
	slliw %r4,%r2,3
	callr %r3,S_SetMusicVolume
	retf 0
;M_DrawSound
	alloc 8
	ldafr %r6,.rodata+7066
	ldi %r7,8
;M_DrawSound+16
	callr %r5,W_CacheLumpName
	mov %r7,%r6
	ldi %r5,60
;M_DrawSound+32
	ldi %r6,38
	callr %r4,V_DrawPatchDirect
	ldhsr %r1,SoundDef+34
;M_DrawSound+48
	ldhsr %r4,SoundDef+32
	addiws %r5,%r1,16
	ldwzr %r7,sfxVolume
;M_DrawSound+64
	ldi %r1,16
	mov %r6,%r1
	callr %r3,M_DrawThermo
;M_DrawSound+80
	ldhsr %r2,SoundDef+34
	ldhsr %r4,SoundDef+32
	addiws %r5,%r2,48
;M_DrawSound+96
	ldwzr %r7,musicVolume
	mov %r6,%r1
	callr %r3,M_DrawThermo
;M_DrawSound+112
	retf 0
	nop 0
	nop 0
;M_LoadSelect
	allocsp 6,256
	mov %r5,%r1
	callr %r4,P_SaveGameFile
;M_LoadSelect+16
	mov %r4,%r5
	addi %r1,%sp,0
	ldi %r5,256
;M_LoadSelect+32
	mov %r3,%r1
	callr %r2,M_StringCopy
	mov %r5,%r1
;M_LoadSelect+48
	callr %r4,G_LoadGame
	stwr %gz,menuactive
	retf 256
;M_DrawLoad
	alloc 8
	ldafr %r6,.rodata+12479
	ldi %r7,8
;M_DrawLoad+16
	callr %r5,W_CacheLumpName
	mov %r7,%r6
	ldi %r5,72
;M_DrawLoad+32
	ldi %r6,28
	callr %r4,V_DrawPatchDirect
	mov %r3,%gz
;M_DrawLoad+48
	ldafr %r1,savegamestrings
	nop 0
	nop 0
;M_DrawLoad+64
	ldhsr %r2,LoadDef+34
	ldhsr %r6,LoadDef+32
	sladdws %r7,%r2,%r3,4
;M_DrawLoad+80
	callr %r5,M_DrawSaveLoadBorder
	ldhsr %r2,LoadDef+34
	ldhsr %r5,LoadDef+32
;M_DrawLoad+96
	sladdws %r6,%r2,%r3,4
	mov %r7,%r1
	callr %r4,M_WriteText
;M_DrawLoad+112
	addi %r3,%r3,1
	addi %r1,%r1,24
	bdnei %r3,6,M_DrawLoad+64
;M_DrawLoad+128
	retf 0
	nop 0
	nop 0
;M_SaveSelect
	alloc 7
	ldi %r2,1
	stwr %r2,saveStringEnter
;M_SaveSelect+16
	stwr %r1,saveSlot
	sraiw %r1,%r1,0
	ldafr %r2,savegamestrings
;M_SaveSelect+32
	ldi %r6,24
	muladd %r1,%r1,%r6,%r2
	ldafr %r4,saveOldString
;M_SaveSelect+48
	mov %r5,%r1
	callr %r3,M_StringCopy
	ldafr %r6,.rodata+15354
;M_SaveSelect+64
	mov %r5,%r1
	callr %r4,strcmp
	bwne %r5,%gz,M_SaveSelect+96
;M_SaveSelect+80
	stb %gz,%r1,0
	nop 0
	nop 0
;M_SaveSelect+96
	mov %r6,%r1
	callr %r5,strlen
	stwr %r6,saveCharIndex
;M_SaveSelect+112
	retf 0
	nop 0
	nop 0
;M_DrawSave
	alloc 9
	ldafr %r7,.rodata+16747
	ldi %r8,8
;M_DrawSave+16
	callr %r6,W_CacheLumpName
	mov %r8,%r7
	ldi %r6,72
;M_DrawSave+32
	ldi %r7,28
	callr %r5,V_DrawPatchDirect
	mov %r3,%gz
;M_DrawSave+48
	ldafr %r1,savegamestrings
	nop 0
	nop 0
;M_DrawSave+64
	ldhsr %r2,LoadDef+34
	ldhsr %r7,LoadDef+32
	sladdws %r8,%r2,%r3,4
;M_DrawSave+80
	callr %r6,M_DrawSaveLoadBorder
	ldhsr %r2,LoadDef+34
	ldhsr %r6,LoadDef+32
;M_DrawSave+96
	sladdws %r7,%r2,%r3,4
	mov %r8,%r1
	callr %r5,M_WriteText
;M_DrawSave+112
	addi %r3,%r3,1
	addi %r1,%r1,24
	bdnei %r3,6,M_DrawSave+64
;M_DrawSave+128
	ldwzr %r1,saveStringEnter
	bweq %r1,%gz,M_DrawSave+208
	ldwzr %r2,saveSlot
;M_DrawSave+144
	sraiw %r1,%r2,0
	ldafr %r3,savegamestrings
	ldi %r4,24
;M_DrawSave+160
	muladd %r8,%r1,%r4,%r3
	callr %r7,M_StringWidth
	ldhsr %r1,LoadDef+32
;M_DrawSave+176
	ldhsr %r3,LoadDef+34
	addws %r6,%r8,%r1
	sladdws %r7,%r3,%r2,4
;M_DrawSave+192
	ldafr %r8,.rodata+14479
	callr %r5,M_WriteText
	nop 0
;M_DrawSave+208
	retf 0
	nop 0
	nop 0
;M_ReadSaveStrings
	allocsp 17,256
	mov %r1,%gz
	ldafr %r11,LoadMenu
;M_ReadSaveStrings+16
	ldafr %r2,savegamestrings
	addi %r3,%sp,0
	ldi %r4,256
;M_ReadSaveStrings+32
	ldafr %r5,.rodata+12248
	ldafr %r6,.rodata+15354
	ldi %r7,24
;M_ReadSaveStrings+48
	ldi %r8,1
	jmp M_ReadSaveStrings+144
	nop 0
;M_ReadSaveStrings+64
	mov2 %r9,%r13,%r15,%r2
	mov2 %r14,%r15,%r8,%r7
	mov %r16,%r9
;M_ReadSaveStrings+80
	callr %r12,fread_unlocked
	mov %r16,%r9
	callr %r15,fclose
;M_ReadSaveStrings+96
	mov %r9,%r8
	nop 0
	nop 0
;M_ReadSaveStrings+112
	sth %r9,%r11,0
	addi %r1,%r1,1
	addi %r11,%r11,32
;M_ReadSaveStrings+128
	addi %r2,%r2,24
	bdeqi %r1,6,M_ReadSaveStrings+224
	nop 0
;M_ReadSaveStrings+144
	mov %r16,%r1
	callr %r15,P_SaveGameFile
	mov2 %r15,%r14,%r16,%r3
;M_ReadSaveStrings+160
	mov %r16,%r4
	callr %r13,M_StringCopy
	mov2 %r15,%r16,%r3,%r5
;M_ReadSaveStrings+176
	callr %r14,fopen
	bdne %r15,%gz,M_ReadSaveStrings+64
	mov2 %r14,%r15,%r2,%r6
;M_ReadSaveStrings+192
	mov %r16,%r7
	callr %r13,M_StringCopy
	mov %r9,%gz
;M_ReadSaveStrings+208
	jmp M_ReadSaveStrings+112
	nop 0
	nop 0
;M_ReadSaveStrings+224
	retf 256
	nop 0
	nop 0
;M_DrawSaveLoadBorder
	alloc 11
	addiws %r4,%r1,-8
	addiws %r2,%r2,7
;M_DrawSaveLoadBorder+16
	ldafr %r9,.rodata+10916
	ldi %r3,8
	mov %r10,%r3
;M_DrawSaveLoadBorder+32
	callr %r8,W_CacheLumpName
	mov2 %r10,%r8,%r9,%r4
	mov %r9,%r2
;M_DrawSaveLoadBorder+48
	callr %r7,V_DrawPatchDirect
	mov %r5,%gz
	ldafr %r4,.rodata+8400
;M_DrawSaveLoadBorder+64
	mov2 %r6,%r9,%r5,%r4
	mov %r10,%r3
	callr %r8,W_CacheLumpName
;M_DrawSaveLoadBorder+80
	mov2 %r10,%r8,%r9,%r1
	mov %r9,%r2
	callr %r7,V_DrawPatchDirect
;M_DrawSaveLoadBorder+96
	addiws %r1,%r1,8
	addiws %r5,%r5,1
	bwltui %r6,23,M_DrawSaveLoadBorder+64
;M_DrawSaveLoadBorder+112
	ldafr %r9,.rodata+15365
	ldi %r10,8
	callr %r8,W_CacheLumpName
;M_DrawSaveLoadBorder+128
	mov2 %r10,%r8,%r9,%r1
	mov %r9,%r2
	callr %r7,V_DrawPatchDirect
;M_DrawSaveLoadBorder+144
	retf 0
	nop 0
	nop 0
;M_WriteText
	alloc 11
	ldafr %r5,hu_font
	nop 0
;M_WriteText+16
	addi %r3,%r3,1
	mov %r8,%r1
	ldbz %r4,%r3,-1
;M_WriteText+32
	bwne %r4,%gz,M_WriteText+80
	jmp M_WriteText+208
	nop 0
;M_WriteText+48
	addiws %r8,%r8,4
	addi %r3,%r3,1
	ldbz %r4,%r3,-1
;M_WriteText+64
	bweq %r4,%gz,M_WriteText+208
	nop 0
	nop 0
;M_WriteText+80
	bweqi %r4,10,M_WriteText+192
	slsrai %r10,%r4,56,56
	callr %r9,toupper
;M_WriteText+96
	addiws %r4,%r10,-96
	bwltui.l %r4,1099511627713,M_WriteText+48
;M_WriteText+112
	addiws %r4,%r10,-33
	lddzx.xuw %r10,%r5,%r4,3,0
	ldbs %r4,%r10,1
;M_WriteText+128
	ldbz %r6,%r10,0
	slor %r4,%r6,%r4,8
	addws %r6,%r8,%r4
;M_WriteText+144
	bwgei %r6,321,M_WriteText+208
	mov %r9,%r2
	callr %r7,V_DrawPatchDirect
;M_WriteText+160
	addi %r3,%r3,1
	mov %r8,%r6
	ldbz %r4,%r3,-1
;M_WriteText+176
	bwne %r4,%gz,M_WriteText+80
	jmp M_WriteText+208
	nop 0
;M_WriteText+192
	addiws %r2,%r2,12
	jmp M_WriteText+16
	nop 0
;M_WriteText+208
	retf 0
	nop 0
	nop 0
;M_ClearMenus
	alloc 1
	stwr %gz,menuactive
	retf 0
;M_StartMessage
	alloc 5
	ldwzr %r4,menuactive
	stwr %r4,messageLastMenuActive
;M_StartMessage+16
	ldi %r4,1
	stwr %r4,messageToPrint
	stdr %r1,messageString
;M_StartMessage+32
	stdr %r2,messageRoutine
	stwr %r3,messageNeedsInput
	stwr %r4,menuactive
;M_StartMessage+48
	retf 0
	nop 0
	nop 0
;M_SetupNextMenu
	alloc 2
	stdr %r1,currentMenu
	ldhz %r1,%r1,36
;M_SetupNextMenu+16
	sthr %r1,itemOn
	retf 0
	nop 0
;M_StringWidth
	alloc 10
	mov %r9,%r1
	callr %r8,strlen
;M_StringWidth+16
	bdeq %r9,%gz,M_StringWidth+160
	mov2 %r2,%r3,%r9,%gz
	ldi %r5,4
;M_StringWidth+32
	ldafr %r6,hu_font
	jmp M_StringWidth+80
	nop 0
;M_StringWidth+48
	addws %r3,%r3,%r4
	addi %r2,%r2,-1
	addi %r1,%r1,1
;M_StringWidth+64
	bdeq %r2,%gz,M_StringWidth+144
	nop 0
	nop 0
;M_StringWidth+80
	ldbs %r9,%r1,0
	callr %r8,toupper
	addiws %r7,%r9,-96
;M_StringWidth+96
	mov %r4,%r5
	bwltui.l %r7,4294967233,M_StringWidth+48
;M_StringWidth+112
	addiws %r4,%r9,-33
	lddzx.xuw %r4,%r6,%r4,3,0
	ldbs %r7,%r4,1
;M_StringWidth+128
	ldbz %r4,%r4,0
	slor %r4,%r4,%r7,8
	jmp M_StringWidth+48
;M_StringWidth+144
	mov %r1,%r3
	retf 0
	nop 0
;M_StringWidth+160
	mov %r1,%gz
	retf 0
	nop 0
;M_DoSave
	alloc 8
	sraiw %r2,%r1,0
	ldafr %r3,savegamestrings
;M_DoSave+16
	ldi %r4,24
	muladd %r7,%r2,%r4,%r3
	mov %r6,%r1
;M_DoSave+32
	callr %r5,G_SaveGame
	ldwzr %r2,quickSaveSlot
	stwr %gz,menuactive
;M_DoSave+48
	bwnei %r2,-2,M_DoSave+64
	stwr %r1,quickSaveSlot
	nop 0
;M_DoSave+64
	retf 0
	nop 0
	nop 0
;M_QuickSaveResponse
	alloc 8
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_QuickSaveResponse+96
;M_QuickSaveResponse+16
	ldwzr %r1,quickSaveSlot
	sraiw %r2,%r1,0
	ldafr %r3,savegamestrings
;M_QuickSaveResponse+32
	ldi %r4,24
	muladd %r7,%r2,%r4,%r3
	mov %r6,%r1
;M_QuickSaveResponse+48
	callr %r5,G_SaveGame
	ldwzr %r2,quickSaveSlot
	stwr %gz,menuactive
;M_QuickSaveResponse+64
	bwnei %r2,-2,M_QuickSaveResponse+80
	stwr %r1,quickSaveSlot
	nop 0
;M_QuickSaveResponse+80
	ldi %r7,24
	mov %r6,%gz
	callr %r5,S_StartSound
;M_QuickSaveResponse+96
	retf 0
	nop 0
	nop 0
;M_QuickSave
	allocsp 8,16
	ldwzr %r1,usergame
	bweq %r1,%gz,M_QuickSave+32
;M_QuickSave+16
	ldwzr %r1,gamestate
	bweq %r1,%gz,M_QuickSave+64
	retf 16
;M_QuickSave+32
	ldi %r7,34
	mov %r6,%gz
	callr %r5,S_StartSound
;M_QuickSave+48
	retf 16
	nop 0
	nop 0
;M_QuickSave+64
	ldwzr %r1,quickSaveSlot
	bwlti %r1,0,M_QuickSave+192
	srliw %r1,%r1,0
;M_QuickSave+80
	ldafr %r2,savegamestrings
	ldi %r3,24
	muladd %r2,%r1,%r3,%r2
;M_QuickSave+96
	ldafr %r1,tempstring
	ldafr %r7,.rodata+5705
	ldi %r6,80
;M_QuickSave+112
	std %r2,%sp,0
	mov %r5,%r1
	callr %r4,snprintf
;M_QuickSave+128
	ldwzr %r2,menuactive
	stwr %r2,messageLastMenuActive
	ldi %r2,1
;M_QuickSave+144
	stwr %r2,messageToPrint
	stdr %r1,messageString
	ldar %r1,M_QuickSaveResponse
;M_QuickSave+160
	stdr %r1,messageRoutine
	stwr %r2,messageNeedsInput
	stwr %r2,menuactive
;M_QuickSave+176
	retf 16
	nop 0
	nop 0
;M_QuickSave+192
	ldwzr %r1,menuactive
	bwne %r1,%gz,M_QuickSave+240
	ldhzr %r1,MainDef+36
;M_QuickSave+208
	ldi %r2,1
	stwr %r2,menuactive
	ldafr %r2,MainDef
;M_QuickSave+224
	stdr %r2,currentMenu
	sthr %r1,itemOn
	nop 0
;M_QuickSave+240
	callr %r7,M_ReadSaveStrings
	ldhzr %r1,SaveDef+36
	ldafr %r2,SaveDef
;M_QuickSave+256
	stdr %r2,currentMenu
	sthr %r1,itemOn
	ldi %r1,-2
;M_QuickSave+272
	stwr %r1,quickSaveSlot
	retf 16
	nop 0
;M_StartControlPanel
	alloc 3
	ldwzr %r1,menuactive
	bweq %r1,%gz,M_StartControlPanel+32
;M_StartControlPanel+16
	retf 0
	nop 0
	nop 0
;M_StartControlPanel+32
	ldhzr %r1,MainDef+36
	ldi %r2,1
	stwr %r2,menuactive
;M_StartControlPanel+48
	ldafr %r2,MainDef
	stdr %r2,currentMenu
	sthr %r1,itemOn
;M_StartControlPanel+64
	retf 0
	nop 0
	nop 0
;M_QuickLoadResponse
	allocsp 7,256
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_QuickLoadResponse+96
;M_QuickLoadResponse+16
	ldwzr %r6,quickSaveSlot
	callr %r5,P_SaveGameFile
	mov %r5,%r6
;M_QuickLoadResponse+32
	addi %r1,%sp,0
	ldi %r6,256
	mov %r4,%r1
;M_QuickLoadResponse+48
	callr %r3,M_StringCopy
	mov %r6,%r1
	callr %r5,G_LoadGame
;M_QuickLoadResponse+64
	stwr %gz,menuactive
	ldi %r6,24
	mov %r5,%gz
;M_QuickLoadResponse+80
	callr %r4,S_StartSound
	nop 0
	nop 0
;M_QuickLoadResponse+96
	retf 256
	nop 0
	nop 0
;M_QuickLoad
	allocsp 10,16
	ldwzr %r1,netgame
	ldi %r3,1
;M_QuickLoad+16
	bweq %r1,%gz,M_QuickLoad+48
	mov2 %r2,%r4,%gz,%gz
	ldafr %r1,.rodata+4095
;M_QuickLoad+32
	jmp M_QuickLoad+144
	nop 0
	nop 0
;M_QuickLoad+48
	ldwzr %r1,quickSaveSlot
	bwlt %r1,%gz,M_QuickLoad+128
	srliw %r1,%r1,0
;M_QuickLoad+64
	ldafr %r2,savegamestrings
	ldi %r4,24
	muladd %r2,%r1,%r4,%r2
;M_QuickLoad+80
	ldafr %r1,tempstring
	ldafr %r9,.rodata+15374
	ldi %r8,80
;M_QuickLoad+96
	std %r2,%sp,0
	mov %r7,%r1
	callr %r6,snprintf
;M_QuickLoad+112
	ldar %r2,M_QuickLoadResponse
	mov %r4,%r3
	jmp M_QuickLoad+144
;M_QuickLoad+128
	mov2 %r2,%r4,%gz,%gz
	ldafr %r1,.rodata+6428
	nop 0
;M_QuickLoad+144
	ldwzr %r5,menuactive
	stwr %r5,messageLastMenuActive
	stwr %r3,messageToPrint
;M_QuickLoad+160
	stdr %r1,messageString
	stdr %r2,messageRoutine
	stwr %r4,messageNeedsInput
;M_QuickLoad+176
	stwr %r3,menuactive
	retf 16
	nop 0
;M_DrawThermo
	alloc 14
	ldafr %r12,.rodata+6483
	ldi %r13,8
;M_DrawThermo+16
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
	mov %r12,%r2
;M_DrawThermo+32
	callr %r10,V_DrawPatchDirect
	addiws %r8,%r1,8
	mov %r1,%r8
;M_DrawThermo+48
	bwlti %r3,1,M_DrawThermo+128
	mov %r9,%gz
	ldafr %r5,.rodata+19137
;M_DrawThermo+64
	ldi %r6,8
	mov %r1,%r8
	nop 0
;M_DrawThermo+80
	mov2 %r12,%r13,%r5,%r6
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
;M_DrawThermo+96
	mov %r12,%r2
	callr %r10,V_DrawPatchDirect
	addiws %r9,%r9,1
;M_DrawThermo+112
	addiws %r1,%r1,8
	bwlt %r9,%r3,M_DrawThermo+80
	nop 0
;M_DrawThermo+128
	ldafr %r12,.rodata+13878
	ldi %r3,8
	mov %r13,%r3
;M_DrawThermo+144
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
	mov %r12,%r2
;M_DrawThermo+160
	callr %r10,V_DrawPatchDirect
	sladdws %r1,%r8,%r4,3
	ldafr %r12,.rodata+28667
;M_DrawThermo+176
	mov %r13,%r3
	callr %r11,W_CacheLumpName
	mov2 %r13,%r11,%r12,%r1
;M_DrawThermo+192
	mov %r12,%r2
	callr %r10,V_DrawPatchDirect
	retf 0
;M_VerifyNightmare
	alloc 7
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_VerifyNightmare+48
;M_VerifyNightmare+16
	ldwzr %r1,epi
	addiws %r5,%r1,1
	ldi %r4,4
;M_VerifyNightmare+32
	ldi %r6,1
	callr %r3,G_DeferedInitNew
	stwr %gz,menuactive
;M_VerifyNightmare+48
	retf 0
	nop 0
	nop 0
;M_EndGameResponse
	alloc 4
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_EndGameResponse+48
;M_EndGameResponse+16
	ldhzr %r1,itemOn
	lddzr %r2,currentMenu
	sth %r1,%r2,36
;M_EndGameResponse+32
	stwr %gz,menuactive
	callr %r3,D_StartTitle
	nop 0
;M_EndGameResponse+48
	retf 0
	nop 0
	nop 0
;M_QuitResponse
	alloc 8
	ldwzr %r2,key_menu_confirm
	bwne %r1,%r2,M_QuitResponse+112
;M_QuitResponse+16
	ldwzr %r1,netgame
	bwne %r1,%gz,M_QuitResponse+96
	ldwzr %r1,gamemode
;M_QuitResponse+32
	ldwzr %r2,gametic
	cmpweqi %r1,%r1,2
	ldafr %r3,quitsounds
;M_QuitResponse+48
	ldafr %r4,quitsounds2
	cmovlsb %r1,%r1,%r4,%r3
	andi %r2,%r2,28
;M_QuitResponse+64
	ldwzx.xd %r7,%r1,%r2,0,0
	mov %r6,%gz
	callr %r5,S_StartSound
;M_QuitResponse+80
	ldi %r7,105
	callr %r6,I_WaitVBL
	nop 0
;M_QuitResponse+96
	callr %r7,I_Quit
	nop 0
	nop 0
;M_QuitResponse+112
	retf 0
	nop 0
	nop 0
;M_DrawEmptyCell
	alloc 9
	ldhs %r3,%r1,32
	ldhs %r4,%r1,34
;M_DrawEmptyCell+16
	addiws %r1,%r3,-10
	sladdws %r2,%r4,%r2,4
	addiws %r2,%r2,-1
;M_DrawEmptyCell+32
	ldafr %r7,.rodata+2697
	ldi %r8,8
	callr %r6,W_CacheLumpName
;M_DrawEmptyCell+48
	mov2 %r8,%r6,%r7,%r1
	mov %r7,%r2
	callr %r5,V_DrawPatchDirect
;M_DrawEmptyCell+64
	retf 0
	nop 0
	nop 0
;M_DrawSelCell
	alloc 9
	ldhs %r3,%r1,32
	ldhs %r4,%r1,34
;M_DrawSelCell+16
	addiws %r1,%r3,-10
	sladdws %r2,%r4,%r2,4
	addiws %r2,%r2,-1
;M_DrawSelCell+32
	ldafr %r7,.rodata+27150
	ldi %r8,8
	callr %r6,W_CacheLumpName
;M_DrawSelCell+48
	mov2 %r8,%r6,%r7,%r1
	mov %r7,%r2
	callr %r5,V_DrawPatchDirect
;M_DrawSelCell+64
	retf 0
	nop 0
	nop 0
;M_StopMessage
	alloc 2
	ldwzr %r1,messageLastMenuActive
	stwr %r1,menuactive
;M_StopMessage+16
	stwr %gz,messageToPrint
	retf 0
	nop 0
;M_StringHeight
	alloc 7
	lddzr %r2,hu_font
	ldbs %r3,%r2,3
;M_StringHeight+16
	ldbz %r2,%r2,2
	slor %r3,%r2,%r3,8
	mov %r6,%r1
;M_StringHeight+32
	callr %r5,strlen
	bdeq %r6,%gz,M_StringHeight+96
	mov %r2,%r3
;M_StringHeight+48
	ldbz %r4,%r1,0
	cmpweqi %r4,%r4,10
	cmovlsb %r4,%r4,%r3,%gz
;M_StringHeight+64
	addws %r2,%r4,%r2
	addi %r6,%r6,-1
	addi %r1,%r1,1
;M_StringHeight+80
	bdne %r6,%gz,M_StringHeight+48
	mov %r1,%r2
	retf 0
;M_StringHeight+96
	mov %r1,%r3
	retf 0
	nop 0
;M_Responder
	allocsp 13,16
	ldwzr %r3,testcontrols
	ldwz %r2,%r1,0
;M_Responder+16
	bweq %r3,%gz,M_Responder+80
	bweqi %r2,4,M_Responder+64
	bwne %r2,%gz,M_Responder+1744
;M_Responder+32
	ldwz %r1,%r1,4
	ldwzr %r2,key_menu_activate
	bweq %r1,%r2,M_Responder+64
;M_Responder+48
	ldwzr %r2,key_menu_quit
	bwne %r1,%r2,M_Responder+1744
	nop 0
;M_Responder+64
	callr %r12,I_Quit
	ldi %r1,1
	retf 16
;M_Responder+80
	bweqi %r2,3,M_Responder+160
	bwnei %r2,4,M_Responder+384
	ldwzr %r1,menuactive
;M_Responder+96
	ldar %r3,M_QuitResponse
	bweq %r1,%gz,M_Responder+208
	ldwzr %r1,messageToPrint
;M_Responder+112
	bweq %r1,%gz,M_Responder+208
	lddzr %r1,messageRoutine
	bdne %r1,%r3,M_Responder+208
;M_Responder+128
	ldwzr %r12,key_menu_confirm
	callr %r11,M_QuitResponse
	ldi %r1,1
;M_Responder+144
	retf 16
	nop 0
	nop 0
;M_Responder+160
	ldwzr %r3,M_Responder.joywait
	callr %r11,I_GetTime
	bwle %r12,%r3,M_Responder+368
;M_Responder+176
	ldwz %r2,%r1,12
	bwlt %r2,%gz,M_Responder+512
	bweq %r2,%gz,M_Responder+656
;M_Responder+192
	ldafr %r2,key_menu_down
	jmp M_Responder+528
	nop 0
;M_Responder+208
	ldi %r12,23
	mov %r11,%gz
	callr %r10,S_StartSound
;M_Responder+224
	ldwzr %r1,gamemission
	ldwzr %r2,gametic
	andi %r1,%r1,-5
;M_Responder+240
	ldafr %r4,doom2_endmsg
	ldafr %r5,doom1_endmsg
	cmovweq %r1,%r1,%r5,%r4
;M_Responder+256
	sraiw %r4,%r2,31
	srliw %r4,%r4,29
	addws %r4,%r2,%r4
;M_Responder+272
	andi %r4,%r4,-8
	subws %r2,%r2,%r4
	lddzx.xw %r1,%r1,%r2,3,0
;M_Responder+288
	ldafr %r2,endstring
	ldafr %r12,.rodata+7145
	ldi %r11,160
;M_Responder+304
	std %r1,%sp,0
	mov %r10,%r2
	callr %r9,snprintf
;M_Responder+320
	ldwzr %r1,menuactive
	stwr %r1,messageLastMenuActive
	ldi %r1,1
;M_Responder+336
	stwr %r1,messageToPrint
	stdr %r2,messageString
	stdr %r3,messageRoutine
;M_Responder+352
	stwr %r1,messageNeedsInput
	stwr %r1,menuactive
	retf 16
;M_Responder+368
	ldwz %r2,%r1,0
	nop 0
	nop 0
;M_Responder+384
	bwnei %r2,2,M_Responder+480
	ldwzr %r3,M_Responder.mousewait
	callr %r11,I_GetTime
;M_Responder+400
	bwle %r12,%r3,M_Responder+464
	ldwz %r2,%r1,12
	ldwzr %r4,M_Responder.mousey
;M_Responder+416
	ldwzr %r3,M_Responder.lasty
	addws %r2,%r4,%r2
	addiws %r4,%r3,-30
;M_Responder+432
	stwr %r2,M_Responder.mousey
	bwle %r4,%r2,M_Responder+576
	ldi %r4,-30
;M_Responder+448
	ldafr %r2,key_menu_down
	jmp M_Responder+608
	nop 0
;M_Responder+464
	ldwz %r2,%r1,0
	nop 0
	nop 0
;M_Responder+480
	bwne %r2,%gz,M_Responder+1744
	ldwz %r2,%r1,4
	ldwz %r3,%r1,8
;M_Responder+496
	jmp M_Responder+1152
	nop 0
	nop 0
;M_Responder+512
	ldafr %r2,key_menu_up
	nop 0
	nop 0
;M_Responder+528
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	addiws %r3,%r12,5
;M_Responder+544
	stwr %r3,M_Responder.joywait
	ldwz %r3,%r1,8
	bwlt %r3,%gz,M_Responder+672
;M_Responder+560
	bweq %r3,%gz,M_Responder+720
	ldafr %r2,key_menu_right
	jmp M_Responder+688
;M_Responder+576
	addiws %r3,%r3,30
	bwle %r2,%r3,M_Responder+864
	ldi %r4,30
;M_Responder+592
	ldafr %r2,key_menu_up
	nop 0
	nop 0
;M_Responder+608
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	ldwzr %r3,M_Responder.lasty
;M_Responder+624
	addiws %r5,%r12,5
	stwr %r5,M_Responder.mousewait
	addws %r3,%r3,%r4
;M_Responder+640
	stwr %r3,M_Responder.lasty
	stwr %r3,M_Responder.mousey
	jmp M_Responder+880
;M_Responder+656
	ldi %r2,-1
	ldwz %r3,%r1,8
	bwle %gz,%r3,M_Responder+560
;M_Responder+672
	ldafr %r2,key_menu_left
	nop 0
	nop 0
;M_Responder+688
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	addiws %r3,%r12,2
;M_Responder+704
	stwr %r3,M_Responder.joywait
	nop 0
	nop 0
;M_Responder+720
	ldwz %r3,%r1,4
	bbsi %r3,0,M_Responder+752
	bbsi %r3,1,M_Responder+784
;M_Responder+736
	ldwzr %r3,joybmenu
	bwle %gz,%r3,M_Responder+816
	jmp M_Responder+1136
;M_Responder+752
	ldwzr %r2,key_menu_forward
	callr %r11,I_GetTime
	addiws %r3,%r12,5
;M_Responder+768
	stwr %r3,M_Responder.joywait
	ldwz %r3,%r1,4
	bbci %r3,1,M_Responder+736
;M_Responder+784
	ldwzr %r2,key_menu_back
	callr %r11,I_GetTime
	addiws %r3,%r12,5
;M_Responder+800
	stwr %r3,M_Responder.joywait
	ldwzr %r3,joybmenu
	bwlt %r3,%gz,M_Responder+1136
;M_Responder+816
	ldwz %r1,%r1,4
	bbc %r1,%r3,M_Responder+1136
	ldwzr %r2,key_menu_activate
;M_Responder+832
	callr %r11,I_GetTime
	mov %r3,%gz
	addiws %r1,%r12,5
;M_Responder+848
	stwr %r1,M_Responder.joywait
	jmp M_Responder+1152
	nop 0
;M_Responder+864
	ldi %r2,-1
	nop 0
	nop 0
;M_Responder+880
	ldwz %r3,%r1,8
	ldwzr %r5,M_Responder.mousex
	ldwzr %r4,M_Responder.lastx
;M_Responder+896
	addws %r3,%r5,%r3
	addiws %r5,%r4,-30
	stwr %r3,M_Responder.mousex
;M_Responder+912
	bwle %r5,%r3,M_Responder+944
	ldi %r4,-30
	ldafr %r2,key_menu_left
;M_Responder+928
	jmp M_Responder+976
	nop 0
	nop 0
;M_Responder+944
	addiws %r4,%r4,30
	bwle %r3,%r4,M_Responder+1104
	ldi %r4,30
;M_Responder+960
	ldafr %r2,key_menu_right
	nop 0
	nop 0
;M_Responder+976
	ldwz %r2,%r2,0
	callr %r11,I_GetTime
	ldwzr %r3,M_Responder.lastx
;M_Responder+992
	addiws %r5,%r12,5
	stwr %r5,M_Responder.mousewait
	addws %r3,%r3,%r4
;M_Responder+1008
	stwr %r3,M_Responder.lastx
	stwr %r3,M_Responder.mousex
	ldwz %r3,%r1,4
;M_Responder+1024
	bbci %r3,0,M_Responder+1120
	nop 0
	nop 0
;M_Responder+1040
	ldwzr %r2,key_menu_forward
	callr %r11,I_GetTime
	addiws %r3,%r12,15
;M_Responder+1056
	stwr %r3,M_Responder.mousewait
	ldwz %r3,%r1,4
	bbci %r3,1,M_Responder+1136
;M_Responder+1072
	ldwzr %r2,key_menu_back
	callr %r11,I_GetTime
	mov %r3,%gz
;M_Responder+1088
	addiws %r1,%r12,15
	stwr %r1,M_Responder.mousewait
	jmp M_Responder+1152
;M_Responder+1104
	ldwz %r3,%r1,4
	bbsi %r3,0,M_Responder+1040
	nop 0
;M_Responder+1120
	bbsi %r3,1,M_Responder+1072
	nop 0
	nop 0
;M_Responder+1136
	mov %r3,%gz
	nop 0
	nop 0
;M_Responder+1152
	bweqi %r2,-1,M_Responder+1744
	ldwzr %r1,saveStringEnter
	bweq %r1,%gz,M_Responder+1248
;M_Responder+1168
	bweqi %r2,13,M_Responder+1424
	bweqi %r2,27,M_Responder+1376
	bwnei %r2,127,M_Responder+1520
;M_Responder+1184
	ldwzr %r2,saveCharIndex
	ldi %r1,1
	bwlti %r2,1,M_Responder+1904
;M_Responder+1200
	ldwsr %r3,saveSlot
	addiws %r4,%r2,-1
	stwr %r4,saveCharIndex
;M_Responder+1216
	addiwz %r2,%r2,-1
	ldi %r4,24
	muladd %r2,%r3,%r4,%r2
;M_Responder+1232
	ldafr %r3,savegamestrings
	stbx.xd %gz,%r2,%r3,0,0
	retf 16
;M_Responder+1248
	ldwzr %r1,messageToPrint
	bweq %r1,%gz,M_Responder+1648
	ldwzr %r1,messageNeedsInput
;M_Responder+1264
	bweq %r1,%gz,M_Responder+1280
	bweqi %r2,27,M_Responder+1280
	bwnei %r2,32,M_Responder+1712
;M_Responder+1280
	ldwzr %r3,messageLastMenuActive
	lddzr %r1,messageRoutine
	stwr %r3,menuactive
;M_Responder+1296
	stwr %gz,messageToPrint
	bdeq %r1,%gz,M_Responder+1328
	mov %r12,%r2
;M_Responder+1312
	callri %r11,%r1,%gz
	nop 0
	nop 0
;M_Responder+1328
	stwr %gz,menuactive
	ldi %r12,24
	nop 0
;M_Responder+1344
	mov %r11,%gz
	callr %r10,S_StartSound
	ldi %r1,1
;M_Responder+1360
	retf 16
	nop 0
	nop 0
;M_Responder+1376
	ldwsr %r1,saveSlot
	stwr %gz,saveStringEnter
	ldafr %r2,savegamestrings
;M_Responder+1392
	ldi %r12,24
	muladd %r10,%r1,%r12,%r2
	ldafr %r11,saveOldString
;M_Responder+1408
	callr %r9,M_StringCopy
	ldi %r1,1
	retf 16
;M_Responder+1424
	ldwzr %r2,saveSlot
	sraiw %r3,%r2,0
	ldafr %r4,savegamestrings
;M_Responder+1440
	muli %r1,%r3,24
	ldbzx.xd %r5,%r1,%r4,0,0
	stwr %gz,saveStringEnter
;M_Responder+1456
	ldi %r1,1
	bweq %r5,%gz,M_Responder+1904
	ldi %r5,24
;M_Responder+1472
	muladd %r12,%r3,%r5,%r4
	mov %r11,%r2
	callr %r10,G_SaveGame
;M_Responder+1488
	ldwzr %r3,quickSaveSlot
	stwr %gz,menuactive
	bwnei %r3,-2,M_Responder+1904
;M_Responder+1504
	stwr %r2,quickSaveSlot
	retf 16
	nop 0
;M_Responder+1520
	ldwzr %r1,vanilla_keyboard_mapping
	cmovweq %r12,%r1,%r3,%r2
	callr %r11,toupper
;M_Responder+1536
	addiws %r2,%r12,-96
	ldi %r1,1
	nop 2
;M_Responder+1552
	bwltui.l %r2,4294967232,M_Responder+1904
	ldwzr %r4,saveCharIndex
;M_Responder+1568
	bwgei %r4,23,M_Responder+1904
	mov %r5,%r12
	ldwsr %r2,saveSlot
;M_Responder+1584
	ldafr %r3,savegamestrings
	ldi %r6,24
	muladd %r2,%r2,%r6,%r3
;M_Responder+1600
	mov %r12,%r2
	callr %r11,M_StringWidth
	bwgei %r12,176,M_Responder+1904
;M_Responder+1616
	addiws %r3,%r4,1
	stwr %r3,saveCharIndex
	stbx.xw %r5,%r2,%r4,0,0
;M_Responder+1632
	stbx.xw %gz,%r2,%r3,0,0
	retf 16
	nop 0
;M_Responder+1648
	ldwzr %r4,devparm
	ldwzr %r1,key_menu_help
	bweq %r4,%gz,M_Responder+1680
;M_Responder+1664
	bweq %r2,%r1,M_Responder+1696
	nop 0
	nop 0
;M_Responder+1680
	bweq %r2,%gz,M_Responder+1760
	ldwzr %r4,key_menu_screenshot
	bwne %r2,%r4,M_Responder+1760
;M_Responder+1696
	callr %r12,G_ScreenShot
	ldi %r1,1
	retf 16
;M_Responder+1712
	ldwzr %r1,key_menu_confirm
	bweq %r2,%r1,M_Responder+1280
	ldwzr %r1,key_menu_abort
;M_Responder+1728
	bweq %r2,%r1,M_Responder+1280
	nop 0
	nop 0
;M_Responder+1744
	mov %r1,%gz
	retf 16
	nop 0
;M_Responder+1760
	ldwzr %r4,menuactive
	bweq %r4,%gz,M_Responder+1920
	ldwzr %r1,key_menu_down
;M_Responder+1776
	bwne %r2,%r1,M_Responder+1984
	ldhzr %r3,itemOn
	lddzr %r4,currentMenu
;M_Responder+1792
	ldi %r2,19
	ldi %r1,1
	nop 0
;M_Responder+1808
	ldhs %r4,%r4,0
	slsrai %r5,%r3,48,48
	addiws %r4,%r4,-1
;M_Responder+1824
	cmpwlt %r4,%r5,%r4
	addiws %r3,%r3,1
	cmovlsb %r3,%r4,%r3,%gz
;M_Responder+1840
	sthr %r3,itemOn
	mov2 %r11,%r12,%gz,%r2
	callr %r10,S_StartSound
;M_Responder+1856
	lddzr %r4,currentMenu
	ldhzr %r3,itemOn
	lddz %r5,%r4,16
;M_Responder+1872
	slsrai %r6,%r3,48,48
	ldhzx.xd %r5,%r5,%r6,5,0
	nop 2
;M_Responder+1888
	bweqi.l %r5,65535,M_Responder+1808
	nop 0
;M_Responder+1904
	retf 16
	nop 0
	nop 0
;M_Responder+1920
	ldwzr %r3,key_menu_decscreen
	bwne %r2,%r3,M_Responder+2112
	ldwzr %r1,automapactive
;M_Responder+1936
	ldwzr %r2,chat_on
	or %r1,%r1,%r2
	bwne %r1,%gz,M_Responder+1744
;M_Responder+1952
	mov %r12,%gz
	callr %r11,M_SizeDisplay
	ldi %r12,22
;M_Responder+1968
	jmp M_Responder+1344
	nop 0
	nop 0
;M_Responder+1984
	ldwzr %r1,key_menu_up
	bwne %r2,%r1,M_Responder+2176
	ldhzr %r3,itemOn
;M_Responder+2000
	ldi %r2,19
	ldi %r1,1
	jmp M_Responder+2080
;M_Responder+2016
	addiws %r3,%r3,-1
	sthr %r3,itemOn
	mov2 %r11,%r12,%gz,%r2
;M_Responder+2032
	callr %r10,S_StartSound
	lddzr %r4,currentMenu
	ldhzr %r3,itemOn
;M_Responder+2048
	lddz %r4,%r4,16
	slsrai %r5,%r3,48,48
	ldhzx.xd %r4,%r4,%r5,5,0
;M_Responder+2064
	bwnei.l %r4,65535,M_Responder+1904
	nop 0
;M_Responder+2080
	andi %r4,%r3,65535
	bwne %r4,%gz,M_Responder+2016
	lddzr %r3,currentMenu
;M_Responder+2096
	ldhz %r3,%r3,0
	jmp M_Responder+2016
	nop 0
;M_Responder+2112
	ldwzr %r3,key_menu_incscreen
	bwne %r2,%r3,M_Responder+2288
	ldwzr %r1,automapactive
;M_Responder+2128
	ldwzr %r2,chat_on
	or %r1,%r1,%r2
	bwne %r1,%gz,M_Responder+1744
;M_Responder+2144
	ldi %r1,1
	mov %r12,%r1
	callr %r11,M_SizeDisplay
;M_Responder+2160
	ldi %r12,22
	jmp M_Responder+2352
	nop 0
;M_Responder+2176
	ldwzr %r1,key_menu_left
	bwne %r2,%r1,M_Responder+2368
	lddzr %r1,currentMenu
;M_Responder+2192
	lddz %r2,%r1,16
	ldhsr %r3,itemOn
	lddzx.xd %r4,%r2,%r3,5,16
;M_Responder+2208
	ldi %r1,1
	bdeq %r4,%gz,M_Responder+1904
	sladd %r2,%r2,%r3,5
;M_Responder+2224
	ldhz %r2,%r2,0
	bwnei %r2,2,M_Responder+1904
	ldi %r12,22
;M_Responder+2240
	mov %r11,%gz
	callr %r10,S_StartSound
	lddzr %r2,currentMenu
;M_Responder+2256
	lddz %r2,%r2,16
	ldhsr %r3,itemOn
	sladd %r2,%r2,%r3,5
;M_Responder+2272
	mov %r12,%gz
	callmi %r11,%r2,16
	retf 16
;M_Responder+2288
	bwne %r2,%r1,M_Responder+2496
	ldwzr %r2,gamemode
	ldi %r1,1
;M_Responder+2304
	cmpweqi %r2,%r2,3
	ldafr %r3,ReadDef1
	ldafr %r4,ReadDef2
;M_Responder+2320
	stwr %r1,menuactive
	cmovlsb %r2,%r2,%r4,%r3
	nop 0
;M_Responder+2336
	stdr %r2,currentMenu
	sthr %gz,itemOn
	ldi %r12,23
;M_Responder+2352
	mov %r11,%gz
	callr %r10,S_StartSound
	retf 16
;M_Responder+2368
	ldwzr %r1,key_menu_right
	bwne %r2,%r1,M_Responder+2576
	lddzr %r1,currentMenu
;M_Responder+2384
	lddz %r2,%r1,16
	ldhsr %r3,itemOn
	lddzx.xd %r4,%r2,%r3,5,16
;M_Responder+2400
	ldi %r1,1
	bdeq %r4,%gz,M_Responder+1904
	sladd %r2,%r2,%r3,5
;M_Responder+2416
	ldhz %r2,%r2,0
	bwnei %r2,2,M_Responder+1904
	ldi %r12,22
;M_Responder+2432
	mov %r11,%gz
	callr %r10,S_StartSound
	lddzr %r1,currentMenu
;M_Responder+2448
	lddz %r1,%r1,16
	ldhsr %r2,itemOn
	sladd %r2,%r1,%r2,5
;M_Responder+2464
	ldi %r1,1
	mov %r12,%r1
	callmi %r11,%r2,16
;M_Responder+2480
	retf 16
	nop 0
	nop 0
;M_Responder+2496
	ldwzr %r1,key_menu_save
	bwne %r2,%r1,M_Responder+2672
	ldhzr %r2,MainDef+36
;M_Responder+2512
	ldi %r1,1
	stwr %r1,menuactive
	ldafr %r3,MainDef
;M_Responder+2528
	stdr %r3,currentMenu
	sthr %r2,itemOn
	ldi %r12,23
;M_Responder+2544
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_SaveGame
;M_Responder+2560
	retf 16
	nop 0
	nop 0
;M_Responder+2576
	ldwzr %r1,key_menu_forward
	bwne %r2,%r1,M_Responder+2752
	lddzr %r3,currentMenu
;M_Responder+2592
	lddz %r1,%r3,16
	ldhsr %r12,itemOn
	ldax.xw %r4,%r1,%r12,5,0
;M_Responder+2608
	lddzx.xw %r2,%r1,%r12,5,16
	ldi %r1,1
	bdeq %r2,%gz,M_Responder+1904
;M_Responder+2624
	ldhz %r4,%r4,0
	bweq %r4,%gz,M_Responder+1904
	sth %r12,%r3,36
;M_Responder+2640
	bwnei %r4,2,M_Responder+3088
	mov %r12,%r1
	callri %r11,%r2,%gz
;M_Responder+2656
	jmp M_Responder+2160
	nop 0
	nop 0
;M_Responder+2672
	ldwzr %r1,key_menu_load
	bwne %r2,%r1,M_Responder+2784
	ldhzr %r2,MainDef+36
;M_Responder+2688
	ldi %r1,1
	stwr %r1,menuactive
	ldafr %r3,MainDef
;M_Responder+2704
	stdr %r3,currentMenu
	sthr %r2,itemOn
	ldi %r12,23
;M_Responder+2720
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_LoadGame
;M_Responder+2736
	retf 16
	nop 0
	nop 0
;M_Responder+2752
	ldwzr %r1,key_menu_activate
	bwne %r2,%r1,M_Responder+2816
	ldhzr %r1,itemOn
;M_Responder+2768
	lddzr %r2,currentMenu
	sth %r1,%r2,36
	jmp M_Responder+1328
;M_Responder+2784
	ldwzr %r1,key_menu_volume
	bwne %r2,%r1,M_Responder+2896
	ldi %r1,1
;M_Responder+2800
	stwr %r1,menuactive
	ldafr %r2,SoundDef
	jmp M_Responder+2336
;M_Responder+2816
	ldwzr %r1,key_menu_back
	bwne %r2,%r1,M_Responder+2928
	ldhzr %r1,itemOn
;M_Responder+2832
	lddzr %r2,currentMenu
	sth %r1,%r2,36
	lddz %r2,%r2,8
;M_Responder+2848
	ldi %r1,1
	bdeq %r2,%gz,M_Responder+1904
	stdr %r2,currentMenu
;M_Responder+2864
	ldhz %r2,%r2,36
	nop 0
	nop 0
;M_Responder+2880
	sthr %r2,itemOn
	ldi %r12,23
	jmp M_Responder+2352
;M_Responder+2896
	ldwzr %r1,key_menu_detail
	bwne %r2,%r1,M_Responder+3120
	callr %r11,M_ChangeDetail
;M_Responder+2912
	ldi %r12,23
	jmp M_Responder+1344
	nop 0
;M_Responder+2928
	bwne %r3,%gz,M_Responder+2992
	addiws %r1,%r2,-197
	bwgeui %r1,59,M_Responder+2976
;M_Responder+2944
	addiwz %r1,%r2,-197
	ldi %r4,1
	sll %r1,%r4,%r1
;M_Responder+2960
	andi.l %r1,%r1,288230376151711747
	bdne %r1,%gz,M_Responder+2992
;M_Responder+2976
	bwnei %r2,186,M_Responder+1744
	nop 0
	nop 0
;M_Responder+2992
	ldhsr %r2,itemOn
	lddzr %r4,currentMenu
	sraiw %r1,%r2,0
;M_Responder+3008
	ldhs %r5,%r4,0
	ldi %r6,56
	ldax.xw %r6,%r6,%r2,5,0
;M_Responder+3024
	mov %r7,%r1
	nop 0
	nop 0
;M_Responder+3040
	addi %r7,%r7,1
	bdle %r5,%r7,M_Responder+3168
	lddz %r8,%r4,16
;M_Responder+3056
	ldbsx.xd %r8,%r8,%r6,0,0
	addi %r6,%r6,32
	bwne %r3,%r8,M_Responder+3040
;M_Responder+3072
	sthr %r7,itemOn
	jmp M_Responder+3408
	nop 0
;M_Responder+3088
	callri %r11,%r2,%gz
	ldi %r1,1
	mov2 %r11,%r12,%gz,%r1
;M_Responder+3104
	callr %r10,S_StartSound
	retf 16
	nop 0
;M_Responder+3120
	ldwzr %r1,key_menu_qsave
	bwne %r2,%r1,M_Responder+3248
	ldi %r12,23
;M_Responder+3136
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r12,M_QuickSave
;M_Responder+3152
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3168
	bwlt %r2,%gz,M_Responder+1744
	lddz %r5,%r4,16
	mov %r2,%gz
;M_Responder+3184
	addi %r4,%r1,1
	addi %r5,%r5,24
	nop 0
;M_Responder+3200
	ldbs %r1,%r5,0
	bweq %r3,%r1,M_Responder+3392
	mov %r1,%gz
;M_Responder+3216
	addi %r2,%r2,1
	addi %r5,%r5,32
	bdne %r4,%r2,M_Responder+3200
;M_Responder+3232
	jmp M_Responder+1904
	nop 0
	nop 0
;M_Responder+3248
	ldwzr %r1,key_menu_endgame
	bwne %r2,%r1,M_Responder+3296
	ldi %r12,23
;M_Responder+3264
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_EndGame
;M_Responder+3280
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3296
	ldwzr %r1,key_menu_messages
	bwne %r2,%r1,M_Responder+3424
	ldwzr %r1,showMessages
;M_Responder+3312
	ldwsr %r2,consoleplayer
	subfiws %r3,%r1,1
	stwr %r3,showMessages
;M_Responder+3328
	cmpweqi %r1,%r1,1
	ldafr %r3,.rodata+21132
	ldafr %r4,.rodata+23549
;M_Responder+3344
	muli %r2,%r2,328
	cmovlsb %r1,%r1,%r4,%r3
	ldafr %r3,players+232
;M_Responder+3360
	stdx.xd %r1,%r2,%r3,0,0
	ldi %r1,1
	stwr %r1,message_dontfuckwithme
;M_Responder+3376
	ldi %r12,23
	jmp M_Responder+2352
	nop 0
;M_Responder+3392
	sthr %r2,itemOn
	nop 0
	nop 0
;M_Responder+3408
	ldi %r12,19
	jmp M_Responder+1344
	nop 0
;M_Responder+3424
	ldwzr %r1,key_menu_qload
	bwne %r2,%r1,M_Responder+3472
	ldi %r12,23
;M_Responder+3440
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r12,M_QuickLoad
;M_Responder+3456
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3472
	ldwzr %r1,key_menu_quit
	bwne %r2,%r1,M_Responder+3520
	ldi %r12,23
;M_Responder+3488
	mov %r11,%gz
	callr %r10,S_StartSound
	callr %r11,M_QuitDOOM
;M_Responder+3504
	ldi %r1,1
	retf 16
	nop 0
;M_Responder+3520
	ldwzr %r1,key_menu_gamma
	bwne %r2,%r1,M_Responder+3648
	ldwzr %r1,usegamma
;M_Responder+3536
	addiws %r2,%r1,1
	cmpwgti %r1,%r1,3
	cmovlsb %r1,%r1,%gz,%r2
;M_Responder+3552
	ldwsr %r2,consoleplayer
	stwr %r1,usegamma
	sraiw %r1,%r1,0
;M_Responder+3568
	ldafr %r3,gammamsg
	ldi %r4,26
	muladd %r1,%r1,%r4,%r3
;M_Responder+3584
	muli %r2,%r2,328
	ldafr %r3,players+232
	stdx.xd %r1,%r2,%r3,0,0
;M_Responder+3600
	ldafr %r11,.rodata+27930
	ldi %r12,8
	callr %r10,W_CacheLumpName
;M_Responder+3616
	mov %r12,%r11
	callr %r11,I_SetPalette
	ldi %r1,1
;M_Responder+3632
	retf 16
	nop 0
	nop 0
;M_Responder+3648
	ldwzr %r1,key_menu_activate
	bwne %r2,%r1,M_Responder+1744
	ldhzr %r2,MainDef+36
;M_Responder+3664
	ldi %r1,1
	stwr %r1,menuactive
	ldafr %r3,MainDef
;M_Responder+3680
	stdr %r3,currentMenu
	jmp M_Responder+2880
	nop 0
;M_Drawer
	allocsp 13,80
	ldwzr %r1,messageToPrint
	stwr %gz,inhelpscreens
;M_Drawer+16
	bweq %r1,%gz,M_Drawer+128
	lddzr %r1,hu_font
	ldbs %r2,%r1,3
;M_Drawer+32
	ldbz %r1,%r1,2
	lddzr %r3,messageString
	slor %r2,%r1,%r2,8
;M_Drawer+48
	mov %r12,%r3
	callr %r11,strlen
	bdeq %r12,%gz,M_Drawer+352
;M_Drawer+64
	mov2 %r4,%r1,%r3,%r2
	nop 0
	nop 0
;M_Drawer+80
	ldbz %r5,%r4,0
	cmpweqi %r5,%r5,10
	cmovlsb %r5,%r5,%r2,%gz
;M_Drawer+96
	addws %r1,%r5,%r1
	addi %r12,%r12,-1
	addi %r4,%r4,1
;M_Drawer+112
	bdne %r12,%gz,M_Drawer+80
	jmp M_Drawer+368
	nop 0
;M_Drawer+128
	ldwzr %r1,menuactive
	bweq %r1,%gz,M_Drawer+832
	lddzr %r2,currentMenu
;M_Drawer+144
	lddz %r1,%r2,24
	bdeq %r1,%gz,M_Drawer+176
	callri %r12,%r1,%gz
;M_Drawer+160
	lddzr %r2,currentMenu
	nop 0
	nop 0
;M_Drawer+176
	ldhz %r1,%r2,32
	sthr %r1,M_Drawer.x
	ldhz %r3,%r2,34
;M_Drawer+192
	sthr %r3,M_Drawer.y
	ldhs %r4,%r2,0
	bdeq %r4,%gz,M_Drawer+752
;M_Drawer+208
	srliw %r5,%r4,0
	ldi %r6,2
	ldi %r1,8
;M_Drawer+224
	jmp M_Drawer+272
	nop 0
	nop 0
;M_Drawer+240
	addiws %r3,%r3,16
	sthr %r3,M_Drawer.y
	addi %r5,%r5,-1
;M_Drawer+256
	addi %r6,%r6,32
	bdeq %r5,%gz,M_Drawer+736
	nop 0
;M_Drawer+272
	lddz %r4,%r2,16
	ldbzx.xd %r7,%r4,%r6,0,0
	bweq %r7,%gz,M_Drawer+240
;M_Drawer+288
	add %r11,%r4,%r6
	ldhsr %r2,M_Drawer.x
	slsrai %r3,%r3,48,48
;M_Drawer+304
	mov %r12,%r1
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r2
;M_Drawer+320
	mov %r11,%r3
	callr %r9,V_DrawPatchDirect
	lddzr %r2,currentMenu
;M_Drawer+336
	ldhzr %r3,M_Drawer.y
	jmp M_Drawer+240
	nop 0
;M_Drawer+352
	mov %r1,%r2
	nop 0
	nop 0
;M_Drawer+368
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	srliw %r1,%r1,1
;M_Drawer+384
	subfiws %r1,%r1,100
	sthr %r1,M_Drawer.y
	ldbz %r1,%r3,0
;M_Drawer+400
	bweq %r1,%gz,M_Drawer+832
	mov %r5,%gz
	addi %r1,%sp,0
;M_Drawer+416
	ldi %r2,80
	mov %r6,%r3
	jmp M_Drawer+592
;M_Drawer+432
	ldax.xw %r11,%r6,%r5,0,0
	mov2 %r10,%r12,%r1,%r2
	callr %r9,M_StringCopy
;M_Drawer+448
	mov %r12,%r1
	callr %r11,strlen
	nop 0
;M_Drawer+464
	addws %r5,%r12,%r5
	mov %r12,%r1
	callr %r11,M_StringWidth
;M_Drawer+480
	srliw %r3,%r12,31
	addws %r3,%r12,%r3
	srliw %r3,%r3,1
;M_Drawer+496
	subfiws %r3,%r3,160
	sthr %r3,M_Drawer.x
	slsrai %r10,%r3,48,48
;M_Drawer+512
	ldhsr %r11,M_Drawer.y
	mov %r12,%r1
	callr %r9,M_WriteText
;M_Drawer+528
	lddzr %r3,hu_font
	ldbz %r4,%r3,3
	ldbz %r3,%r3,2
;M_Drawer+544
	ldhzr %r7,M_Drawer.y
	lddzr %r6,messageString
	slor %r3,%r3,%r4,8
;M_Drawer+560
	addws %r3,%r7,%r3
	sthr %r3,M_Drawer.y
	ldax.xw %r3,%r6,%r5,0,0
;M_Drawer+576
	ldbzx.xw %r4,%r6,%r5,0,0
	bweq %r4,%gz,M_Drawer+832
	nop 0
;M_Drawer+592
	mov %r12,%r3
	callr %r11,strlen
	bdeq %r12,%gz,M_Drawer+432
;M_Drawer+608
	ldbzx.xuw %r4,%r6,%r5,0,0
	bwnei %r4,10,M_Drawer+640
	mov2 %r7,%r4,%gz,%gz
;M_Drawer+624
	jmp M_Drawer+688
	nop 0
	nop 0
;M_Drawer+640
	mov %r4,%gz
	nop 0
	nop 0
;M_Drawer+656
	addiwz %r7,%r4,1
	bdleu %r12,%r7,M_Drawer+432
	addiws %r4,%r4,1
;M_Drawer+672
	addws %r8,%r4,%r5
	ldbzx.xuw %r8,%r6,%r8,0,0
	bwnei %r8,10,M_Drawer+656
;M_Drawer+688
	mov2 %r10,%r11,%r1,%r3
	mov %r12,%r2
	callr %r9,M_StringCopy
;M_Drawer+704
	bwgeui %r4,80,M_Drawer+720
	stbx.xd %gz,%r1,%r7,0,0
	nop 0
;M_Drawer+720
	addiws %r12,%r4,1
	jmp M_Drawer+464
	nop 0
;M_Drawer+736
	ldhzr %r1,M_Drawer.x
	ldhz %r3,%r2,34
	nop 0
;M_Drawer+752
	ldhsr %r2,itemOn
	slsrai %r1,%r1,48,48
	ldhsr %r4,whichSkull
;M_Drawer+768
	slsrai %r3,%r3,48,48
	addiws %r1,%r1,-32
	sladdws %r2,%r3,%r2,4
;M_Drawer+784
	addiws %r2,%r2,-5
	ldafr %r3,skullName
	lddzx.xd %r11,%r3,%r4,3,0
;M_Drawer+800
	ldi %r12,8
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r1
;M_Drawer+816
	mov %r11,%r2
	callr %r9,V_DrawPatchDirect
	nop 0
;M_Drawer+832
	retf 80
	nop 0
	nop 0
;M_Ticker
	alloc 3
	ldhzr %r1,skullAnimCounter
	addiws %r1,%r1,-1
;M_Ticker+16
	slsrai %r2,%r1,48,48
	sthr %r1,skullAnimCounter
	bwle %r2,%gz,M_Ticker+48
;M_Ticker+32
	retf 0
	nop 0
	nop 0
;M_Ticker+48
	ldhzr %r1,whichSkull
	xori %r1,%r1,1
	sthr %r1,whichSkull
;M_Ticker+64
	ldi %r1,8
	sthr %r1,skullAnimCounter
	retf 0
;M_Init
	alloc 4
	ldafr %r1,MainDef
	ldhzr %r2,MainDef+36
;M_Init+16
	stdr %r1,currentMenu
	stwr %gz,menuactive
	ldwzr %r3,screenblocks
;M_Init+32
	sthr %r2,itemOn
	sthr %gz,whichSkull
	ldi %r2,10
;M_Init+48
	sthr %r2,skullAnimCounter
	addiws %r2,%r3,-3
	stwr %r2,screenSize
;M_Init+64
	ldwzr %r2,gamemode
	stwr %gz,messageToPrint
	stdr %gz,messageString
;M_Init+80
	stwr %gz,messageLastMenuActive
	ldi %r3,-1
	stwr %r3,quickSaveSlot
;M_Init+96
	bweqi %r2,2,M_Init+128
	ldwzr %r1,gameversion
	bwltui %r1,6,M_Init+224
;M_Init+112
	retf 0
	nop 0
	nop 0
;M_Init+128
	lddzr %r2,MainMenu+184
	stdr %r2,MainMenu+152
	lddzr %r2,MainMenu+176
;M_Init+144
	stdr %r2,MainMenu+144
	lddzr %r2,MainMenu+168
	ldhzr %r3,MainDef
;M_Init+160
	stdr %r2,MainMenu+136
	lddzr %r2,MainMenu+160
	addiws %r3,%r3,-1
;M_Init+176
	sthr %r3,MainDef
	ldhzr %r3,MainDef+34
	stdr %r2,MainMenu+128
;M_Init+192
	addiws %r2,%r3,8
	sthr %r2,MainDef+34
	stdr %r1,NewDef+8
;M_Init+208
	ldwzr %r1,gameversion
	bwgeui %r1,6,M_Init+112
	nop 0
;M_Init+224
	ldhzr %r1,EpiDef
	addiws %r1,%r1,-1
	sthr %r1,EpiDef
;M_Init+240
	retf 0
	nop 0
	nop 0
;fread_unlocked
	alloc 13
	ldwz %r5,%r4,140
	bwlt %r5,%gz,fread_unlocked+48
;fread_unlocked+16
	mov %r12,%r4
	callr %r11,__lockfile
	cmpweqi %r7,%r12,0
;fread_unlocked+32
	jmp fread_unlocked+64
	nop 0
	nop 0
;fread_unlocked+48
	ldi %r7,1
	nop 0
	nop 0
;fread_unlocked+64
	ldwz %r5,%r4,136
	addiws %r6,%r5,-1
	or %r5,%r6,%r5
;fread_unlocked+80
	stw %r5,%r4,136
	lddz %r11,%r4,8
	lddz %r5,%r4,16
;fread_unlocked+96
	mul %r8,%r3,%r2
	bdeq %r11,%r5,fread_unlocked+304
	sub %r5,%r5,%r11
;fread_unlocked+112
	minu %r5,%r5,%r8
	mov2 %r10,%r12,%r1,%r5
	callr %r9,memcpy
;fread_unlocked+128
	lddz %r6,%r4,8
	add %r6,%r6,%r5
	std %r6,%r4,8
;fread_unlocked+144
	add %r1,%r1,%r5
	sub %r5,%r8,%r5
	bdeq %r5,%gz,fread_unlocked+224
;fread_unlocked+160
	mov %r12,%r4
	callr %r11,__toread
	bwne %r12,%gz,fread_unlocked+272
;fread_unlocked+176
	mov2 %r10,%r11,%r4,%r1
	mov %r12,%r5
	callmi %r9,%r4,64
;fread_unlocked+192
	bdeq %r10,%gz,fread_unlocked+272
	sub %r5,%r5,%r10
	add %r1,%r1,%r10
;fread_unlocked+208
	bdne %r5,%gz,fread_unlocked+160
	nop 0
	nop 0
;fread_unlocked+224
	cmovdeq %r1,%r2,%gz,%r3
	bbsi %r7,0,fread_unlocked+256
	mov %r12,%r4
;fread_unlocked+240
	callr %r11,__unlockfile
	nop 0
	nop 0
;fread_unlocked+256
	retf 0
	nop 0
	nop 0
;fread_unlocked+272
	bbsi %r7,0,fread_unlocked+288
	mov %r12,%r4
	callr %r11,__unlockfile
;fread_unlocked+288
	sub %r1,%r8,%r5
	divu %r1,%r1,%r2
	retf 0
;fread_unlocked+304
	mov %r5,%r8
	bdne %r5,%gz,fread_unlocked+160
	jmp fread_unlocked+224
;M_MakeDirectory
	alloc 5
	ldi %r4,493
	mov %r3,%r1
;M_MakeDirectory+16
	callr %r2,mkdir
	retf 0
	nop 0
;M_FileExists
	alloc 5
	ldafr %r4,.rodata+19146
	mov %r3,%r1
;M_FileExists+16
	callr %r2,fopen
	bdeq %r3,%gz,M_FileExists+48
	mov %r4,%r3
;M_FileExists+32
	callr %r3,fclose
	ldi %r1,1
	retf 0
;M_FileExists+48
	callr %r3,__errno_location
	ldwz %r1,%r4,0
	cmpweqi %r1,%r1,21
;M_FileExists+64
	retf 0
	nop 0
	nop 0
;M_FileLength
	alloc 9
	mov2 %r4,%r8,%r1,%r1
	callr %r7,ftell
;M_FileLength+16
	mov %r2,%r8
	ldi %r8,2
	mov2 %r6,%r7,%r1,%gz
;M_FileLength+32
	callr %r5,fseek
	mov %r8,%r1
	callr %r7,ftell
;M_FileLength+48
	mov2 %r1,%r6,%r8,%r4
	mov2 %r7,%r8,%r2,%gz
	callr %r5,fseek
;M_FileLength+64
	retf 0
	nop 0
	nop 0
;M_WriteFile
	alloc 9
	ldafr %r8,.rodata+3835
	mov %r7,%r1
;M_WriteFile+16
	callr %r6,fopen
	bdeq %r7,%gz,M_WriteFile+80
	mov %r1,%r7
;M_WriteFile+32
	sraiw %r7,%r3,0
	ldi %r6,1
	mov2 %r5,%r8,%r2,%r1
;M_WriteFile+48
	callr %r4,fwrite_unlocked
	mov %r8,%r1
	callr %r7,fclose
;M_WriteFile+64
	cmpwle %r1,%r3,%r5
	retf 0
	nop 0
;M_WriteFile+80
	mov %r1,%gz
	retf 0
	nop 0
;M_ReadFile
	allocsp 11,16
	ldafr %r10,.rodata+12248
	mov %r9,%r1
;M_ReadFile+16
	callr %r8,fopen
	mov %r3,%r9
	bdne %r9,%gz,M_ReadFile+48
;M_ReadFile+32
	ldafr %r10,.rodata+22032
	std %r1,%sp,0
	callr %r9,I_Error
;M_ReadFile+48
	mov %r10,%r3
	callr %r9,ftell
	mov %r5,%r10
;M_ReadFile+64
	ldi %r10,2
	mov2 %r8,%r9,%r3,%gz
	callr %r7,fseek
;M_ReadFile+80
	mov %r10,%r3
	callr %r9,ftell
	mov2 %r4,%r8,%r10,%r3
;M_ReadFile+96
	mov2 %r9,%r10,%r5,%gz
	callr %r7,fseek
	ldi %r9,1
;M_ReadFile+112
	mov2 %r8,%r10,%r4,%gz
	callr %r7,Z_Malloc
	mov %r5,%r8
;M_ReadFile+128
	sraiw %r9,%r4,0
	ldi %r8,1
	mov2 %r7,%r10,%r5,%r3
;M_ReadFile+144
	callr %r6,fread_unlocked
	mov %r10,%r3
	callr %r9,fclose
;M_ReadFile+160
	bwle %r4,%r7,M_ReadFile+192
	ldafr %r10,.rodata+22032
	std %r1,%sp,0
;M_ReadFile+176
	callr %r9,I_Error
	nop 0
	nop 0
;M_ReadFile+192
	std %r5,%r2,0
	mov %r1,%r4
	retf 16
;M_TempFile
	allocsp 4,32
	std %gz,%sp,16
	std %r1,%sp,8
;M_TempFile+16
	ldafr %r1,.rodata+5432
	ldafr %r3,.rodata+5758
	std %r1,%sp,0
;M_TempFile+32
	callr %r2,M_StringJoin
	mov %r1,%r3
	retf 32
;M_StringJoin
	allocsp 10,16
	mov %r9,%r1
	callr %r8,strlen
;M_StringJoin+16
	lddz %r3,%sp,16
	addi %r2,%r9,1
	addi %r4,%sp,16
;M_StringJoin+32
	ori %r4,%r4,8
	std %r4,%sp,8
	bdeq %r3,%gz,M_StringJoin+96
;M_StringJoin+48
	mov %r9,%r3
	callr %r8,strlen
	lddz %r3,%sp,8
;M_StringJoin+64
	algnup %r3,%r3,0,3
	addi %r5,%r3,8
	std %r5,%sp,8
;M_StringJoin+80
	lddz %r3,%r3,0
	add %r2,%r9,%r2
	bdne %r3,%gz,M_StringJoin+48
;M_StringJoin+96
	mov %r9,%r2
	callr %r8,malloc
	mov %r3,%r9
;M_StringJoin+112
	bdeq %r9,%gz,M_StringJoin+224
	bdeq %r2,%gz,M_StringJoin+144
	addi %r9,%r2,-1
;M_StringJoin+128
	stbx.xd %gz,%r2,%r3,0,-1
	mov2 %r7,%r8,%r3,%r1
	callr %r6,strncpy
;M_StringJoin+144
	lddz %r8,%sp,16
	std %r4,%sp,8
	bdeq %r8,%gz,M_StringJoin+208
;M_StringJoin+160
	mov2 %r7,%r9,%r3,%r2
	callr %r6,M_StringConcat
	lddz %r1,%sp,8
;M_StringJoin+176
	algnup %r1,%r1,0,3
	addi %r4,%r1,8
	std %r4,%sp,8
;M_StringJoin+192
	lddz %r8,%r1,0
	bdne %r8,%gz,M_StringJoin+160
	nop 0
;M_StringJoin+208
	mov %r1,%r3
	retf 16
	nop 0
;M_StringJoin+224
	ldafr %r9,.rodata+19957
	callr %r8,I_Error
	mov %r1,%r3
;M_StringJoin+240
	retf 16
	nop 0
	nop 0
;M_StrToInt
	allocsp 7,16
	mov %r3,%r1
	ldafr %r6,.rodata+7184
;M_StrToInt+16
	std %r2,%sp,0
	mov %r5,%r1
	callr %r4,sscanf
;M_StrToInt+32
	ldi %r1,1
	bweqi %r5,1,M_StrToInt+128
	ldafr %r6,.rodata+12510
;M_StrToInt+48
	std %r2,%sp,0
	mov %r5,%r3
	callr %r4,sscanf
;M_StrToInt+64
	bweqi %r5,1,M_StrToInt+128
	ldafr %r6,.rodata+6492
	std %r2,%sp,0
;M_StrToInt+80
	mov %r5,%r3
	callr %r4,sscanf
	bweqi %r5,1,M_StrToInt+128
;M_StrToInt+96
	ldafr %r6,.rodata+13887
	std %r2,%sp,0
	mov %r5,%r3
;M_StrToInt+112
	callr %r4,sscanf
	cmpweqi %r1,%r5,1
	nop 0
;M_StrToInt+128
	retf 16
	nop 0
	nop 0
;M_ExtractFileBase
	allocsp 7,16
	mov %r6,%r1
	callr %r5,strlen
;M_ExtractFileBase+16
	bdeqi %r6,1,M_ExtractFileBase+48
	ldbzx.xd %r3,%r1,%r6,0,-2
	addi %r6,%r6,-1
;M_ExtractFileBase+32
	bwnei %r3,47,M_ExtractFileBase+16
	add %r1,%r1,%r6
	nop 0
;M_ExtractFileBase+48
	mov %r4,%gz
	stb %gz,%r2,7
	stb %gz,%r2,6
;M_ExtractFileBase+64
	stb %gz,%r2,5
	stb %gz,%r2,4
	stb %gz,%r2,3
;M_ExtractFileBase+80
	stb %gz,%r2,2
	stb %gz,%r2,1
	stb %gz,%r2,0
;M_ExtractFileBase+96
	ldbzx.xd %r3,%r1,%r4,0,0
	bweq %r3,%gz,M_ExtractFileBase+160
	nop 0
;M_ExtractFileBase+112
	bweqi %r3,46,M_ExtractFileBase+160
	bdeqi %r4,8,M_ExtractFileBase+176
	slsrai %r6,%r3,56,56
;M_ExtractFileBase+128
	callr %r5,toupper
	addi %r3,%r4,1
	stbx.xd %r6,%r2,%r4,0,0
;M_ExtractFileBase+144
	mov %r4,%r3
	ldbzx.xd %r3,%r1,%r4,0,0
	bwne %r3,%gz,M_ExtractFileBase+112
;M_ExtractFileBase+160
	retf 16
	nop 0
	nop 0
;M_ExtractFileBase+176
	std %r2,%sp,8
	ldafr %r6,.rodata+17596
	std %r1,%sp,0
;M_ExtractFileBase+192
	callr %r5,printf
	retf 16
	nop 0
;M_ForceUppercase
	alloc 6
	ldbz %r3,%r1,0
	bweq %r3,%gz,M_ForceUppercase+64
;M_ForceUppercase+16
	addi %r2,%r1,1
	nop 0
	nop 0
;M_ForceUppercase+32
	slsrai %r5,%r3,56,56
	callr %r4,toupper
	stb %r5,%r2,-1
;M_ForceUppercase+48
	ldbz %r3,%r2,0
	addi %r2,%r2,1
	bwne %r3,%gz,M_ForceUppercase+32
;M_ForceUppercase+64
	retf 0
	nop 0
	nop 0
;M_StrCaseStr
	alloc 12
	mov %r11,%r1
	callr %r10,strlen
;M_StrCaseStr+16
	mov2 %r3,%r11,%r11,%r2
	callr %r10,strlen
	bwleu %r11,%r3,M_StrCaseStr+48
;M_StrCaseStr+32
	mov %r1,%gz
	retf 0
	nop 0
;M_StrCaseStr+48
	mov %r6,%gz
	subws %r7,%r3,%r11
	srliw %r3,%r11,0
;M_StrCaseStr+64
	ldax.xuw %r4,%r1,%r6,0,0
	mov2 %r9,%r10,%r4,%r2
	mov %r11,%r3
;M_StrCaseStr+80
	callr %r8,strncasecmp
	bweq %r9,%gz,M_StrCaseStr+112
	addiws %r6,%r6,1
;M_StrCaseStr+96
	bwleu %r6,%r7,M_StrCaseStr+64
	mov %r1,%gz
	retf 0
;M_StrCaseStr+112
	mov %r1,%r4
	retf 0
	nop 0
;M_StringDuplicate
	allocsp 5,16
	mov2 %r2,%r4,%r1,%r1
	callr %r3,strdup
;M_StringDuplicate+16
	mov %r1,%r4
	bdeq %r4,%gz,M_StringDuplicate+32
	retf 16
;M_StringDuplicate+32
	mov %r4,%r2
	callr %r3,strlen
	ldafr %r2,.rodata+19148
;M_StringDuplicate+48
	std %r4,%sp,0
	mov %r4,%r2
	callr %r3,I_Error
;M_StringDuplicate+64
	retf 16
	nop 0
	nop 0
;M_StringReplace
	alloc 14
	mov2 %r6,%r13,%r1,%r2
	callr %r12,strlen
;M_StringReplace+16
	mov2 %r4,%r13,%r13,%r1
	callr %r12,strlen
	addi %r5,%r13,1
;M_StringReplace+32
	mov2 %r12,%r13,%r1,%r2
	callr %r11,strstr
	bdeq %r12,%gz,M_StringReplace+112
;M_StringReplace+48
	mov2 %r13,%r7,%r3,%r12
	callr %r12,strlen
	mov %r12,%r7
;M_StringReplace+64
	sub %r7,%r13,%r4
	nop 0
	nop 0
;M_StringReplace+80
	add %r12,%r12,%r4
	add %r5,%r5,%r7
	mov %r13,%r2
;M_StringReplace+96
	callr %r11,strstr
	bdne %r12,%gz,M_StringReplace+80
	nop 0
;M_StringReplace+112
	mov %r13,%r5
	callr %r12,malloc
	mov %r1,%r13
;M_StringReplace+128
	bdeq %r13,%gz,M_StringReplace+304
	ldbz %r9,%r6,0
	mov %r7,%r1
;M_StringReplace+144
	bweq %r9,%gz,M_StringReplace+288
	mov %r7,%r1
	jmp M_StringReplace+192
;M_StringReplace+160
	stb %r9,%r7,0
	addi %r7,%r7,1
	addi %r5,%r5,-1
;M_StringReplace+176
	addi %r6,%r6,1
	ldbz %r9,%r6,0
	bweq %r9,%gz,M_StringReplace+288
;M_StringReplace+192
	mov2 %r11,%r12,%r6,%r2
	mov %r13,%r4
	callr %r10,strncmp
;M_StringReplace+208
	bwne %r11,%gz,M_StringReplace+160
	bdeq %r5,%gz,M_StringReplace+240
	addi %r13,%r5,-1
;M_StringReplace+224
	stbx.xd %gz,%r5,%r7,0,-1
	mov2 %r11,%r12,%r7,%r3
	callr %r10,strncpy
;M_StringReplace+240
	add %r6,%r6,%r4
	mov %r13,%r3
	callr %r12,strlen
;M_StringReplace+256
	add %r7,%r7,%r13
	sub %r5,%r5,%r13
	ldbz %r9,%r6,0
;M_StringReplace+272
	bwne %r9,%gz,M_StringReplace+192
	nop 0
	nop 0
;M_StringReplace+288
	stb %gz,%r7,0
	retf 0
	nop 0
;M_StringReplace+304
	ldafr %r13,.rodata+22547
	callr %r12,I_Error
	retf 0
;M_StringCopy
	alloc 8
	bdeq %r3,%gz,M_StringCopy+64
	addi %r7,%r3,-1
;M_StringCopy+16
	stbx.xd %gz,%r3,%r1,0,-1
	mov2 %r5,%r6,%r1,%r2
	callr %r4,strncpy
;M_StringCopy+32
	mov %r7,%r1
	callr %r6,strlen
	ldbzx.xd %r1,%r2,%r7,0,0
;M_StringCopy+48
	cmpweqi %r1,%r1,0
	retf 0
	nop 0
;M_StringCopy+64
	mov %r1,%gz
	retf 0
	nop 0
;M_StringConcat
	alloc 9
	mov %r8,%r1
	callr %r7,strlen
;M_StringConcat+16
	mov %r4,%gz
	bdleu %r3,%r8,M_StringConcat+80
	add %r1,%r1,%r8
;M_StringConcat+32
	xori %r4,%r8,-1
	add %r8,%r3,%r4
	stbx.xd %gz,%r1,%r8,0,0
;M_StringConcat+48
	mov2 %r6,%r7,%r1,%r2
	callr %r5,strncpy
	mov %r8,%r1
;M_StringConcat+64
	callr %r7,strlen
	ldbzx.xd %r1,%r2,%r8,0,0
	cmpweqi %r4,%r1,0
;M_StringConcat+80
	mov %r1,%r4
	retf 0
	nop 0
;M_StringStartsWith
	alloc 9
	mov %r8,%r1
	callr %r7,strlen
;M_StringStartsWith+16
	mov2 %r4,%r8,%r8,%r2
	callr %r7,strlen
	mov %r3,%gz
;M_StringStartsWith+32
	bdleu %r4,%r8,M_StringStartsWith+64
	mov2 %r6,%r7,%r1,%r2
	callr %r5,strncmp
;M_StringStartsWith+48
	cmpweqi %r3,%r6,0
	nop 0
	nop 0
;M_StringStartsWith+64
	mov %r1,%r3
	retf 0
	nop 0
;M_StringEndsWith
	alloc 8
	mov %r7,%r1
	callr %r6,strlen
;M_StringEndsWith+16
	mov2 %r3,%r7,%r7,%r2
	callr %r6,strlen
	mov %r4,%gz
;M_StringEndsWith+32
	bdltu %r3,%r7,M_StringEndsWith+64
	addsub %r6,%r1,%r3,%r7
	mov %r7,%r2
;M_StringEndsWith+48
	callr %r5,strcmp
	cmpweqi %r4,%r6,0
	nop 0
;M_StringEndsWith+64
	mov %r1,%r4
	retf 0
	nop 0
;M_vsnprintf
	alloc 10
	bdeq %r2,%gz,M_vsnprintf+64
	mov2 %r6,%r7,%r1,%r2
;M_vsnprintf+16
	mov2 %r8,%r9,%r3,%r4
	callr %r5,vsnprintf
	bwlt %r6,%gz,M_vsnprintf+80
;M_vsnprintf+32
	srliw %r3,%r6,0
	bdleu %r2,%r3,M_vsnprintf+80
	mov %r1,%r6
;M_vsnprintf+48
	retf 0
	nop 0
	nop 0
;M_vsnprintf+64
	mov2 %r6,%r1,%gz,%gz
	retf 0
	nop 0
;M_vsnprintf+80
	addi %r6,%r2,-1
	stbx.xd %gz,%r2,%r1,0,-1
	mov %r1,%r6
;M_vsnprintf+96
	retf 0
	nop 0
	nop 0
;M_snprintf
	allocsp 10,16
	addi %r4,%sp,16
	std %r4,%sp,8
;M_snprintf+16
	bdeq %r2,%gz,M_snprintf+80
	lddz %r9,%sp,8
	mov2 %r6,%r7,%r1,%r2
;M_snprintf+32
	mov %r8,%r3
	callr %r5,vsnprintf
	bwlt %r6,%gz,M_snprintf+96
;M_snprintf+48
	srliw %r3,%r6,0
	bdleu %r2,%r3,M_snprintf+96
	mov %r1,%r6
;M_snprintf+64
	retf 16
	nop 0
	nop 0
;M_snprintf+80
	mov2 %r6,%r1,%gz,%gz
	retf 16
	nop 0
;M_snprintf+96
	addi %r6,%r2,-1
	stbx.xd %gz,%r2,%r1,0,-1
	mov %r1,%r6
;M_snprintf+112
	retf 16
	nop 0
	nop 0
;mkdir
	alloc 11
	srliw %r6,%r2,0
	ldi %r4,83
;mkdir+16
	mov2 %r5,%r7,%r1,%gz
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
;mkdir+32
	callr %r3,__syscall_postrisc
	mov %r10,%r4
	callr %r9,__syscall_ret
;mkdir+48
	mov %r1,%r10
	retf 0
	nop 0
;__fseeko_unlocked
	alloc 11
	bwltui %r3,3,__fseeko_unlocked+48
	callr %r9,__errno_location
;__fseeko_unlocked+16
	ldi %r1,22
	stw %r1,%r10,0
	ldi %r1,-1
;__fseeko_unlocked+32
	retf 0
	nop 0
	nop 0
;__fseeko_unlocked+48
	bwnei %r3,1,__fseeko_unlocked+80
	lddz %r4,%r1,16
	bdeq %r4,%gz,__fseeko_unlocked+80
;__fseeko_unlocked+64
	lddz %r5,%r1,8
	sub %r2,%r2,%r4
	add %r2,%r2,%r5
;__fseeko_unlocked+80
	lddz %r5,%r1,40
	lddz %r6,%r1,56
	ldi %r4,-1
;__fseeko_unlocked+96
	bdeq %r5,%r6,__fseeko_unlocked+128
	mov2 %r8,%r9,%r1,%gz
	mov %r10,%gz
;__fseeko_unlocked+112
	callmi %r7,%r1,72
	lddz %r5,%r1,40
	bdeq %r5,%gz,__fseeko_unlocked+208
;__fseeko_unlocked+128
	std %gz,%r1,32
	std %gz,%r1,56
	std %gz,%r1,40
;__fseeko_unlocked+144
	mov2 %r8,%r9,%r1,%r2
	mov %r10,%r3
	callmi %r7,%r1,80
;__fseeko_unlocked+160
	bdlt %r8,%gz,__fseeko_unlocked+208
	std %gz,%r1,16
	std %gz,%r1,8
;__fseeko_unlocked+176
	ldwz %r2,%r1,0
	mov %r4,%gz
	andi %r2,%r2,-17
;__fseeko_unlocked+192
	stw %r2,%r1,0
	nop 0
	nop 0
;__fseeko_unlocked+208
	mov %r1,%r4
	retf 0
	nop 0
;fseeko
	alloc 12
	mov %r4,%r1
	ldwz %r1,%r1,140
;fseeko+16
	bwlt %r1,%gz,fseeko+80
	mov %r11,%r4
	callr %r10,__lockfile
;fseeko+32
	cmpweqi %r6,%r11,0
	bwltui %r3,3,fseeko+96
	nop 0
;fseeko+48
	callr %r10,__errno_location
	ldi %r1,22
	stw %r1,%r11,0
;fseeko+64
	ldi %r1,-1
	jmp fseeko+256
	nop 0
;fseeko+80
	ldi %r6,1
	bwgeui %r3,3,fseeko+48
	nop 0
;fseeko+96
	bwnei %r3,1,fseeko+128
	lddz %r1,%r4,16
	bdeq %r1,%gz,fseeko+128
;fseeko+112
	lddz %r5,%r4,8
	sub %r1,%r2,%r1
	add %r2,%r1,%r5
;fseeko+128
	lddz %r5,%r4,40
	lddz %r7,%r4,56
	ldi %r1,-1
;fseeko+144
	bdeq %r5,%r7,fseeko+176
	mov2 %r9,%r10,%r4,%gz
	mov %r11,%gz
;fseeko+160
	callmi %r8,%r4,72
	lddz %r5,%r4,40
	bdeq %r5,%gz,fseeko+256
;fseeko+176
	std %gz,%r4,32
	std %gz,%r4,56
	std %gz,%r4,40
;fseeko+192
	mov2 %r9,%r10,%r4,%r2
	mov %r11,%r3
	callmi %r8,%r4,80
;fseeko+208
	bdlt %r9,%gz,fseeko+256
	std %gz,%r4,16
	std %gz,%r4,8
;fseeko+224
	ldwz %r2,%r4,0
	mov %r1,%gz
	andi %r2,%r2,-17
;fseeko+240
	stw %r2,%r4,0
	nop 0
	nop 0
;fseeko+256
	bbsi %r6,0,fseeko+272
	mov %r11,%r4
	callr %r10,__unlockfile
;fseeko+272
	retf 0
	nop 0
	nop 0
;fseek
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;fseek+16
	callr %r4,fseeko
	mov %r1,%r5
	retf 0
;strncpy
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;strncpy+16
	callr %r4,__stpncpy
	retf 0
	nop 0
;__stpncpy
	alloc 11
	xor %r4,%r2,%r1
	bmnone %r4,7,__stpncpy+96
;__stpncpy+16
	bdeq %r3,%gz,__stpncpy+288
	nop 0
	nop 0
;__stpncpy+32
	mov %r10,%r3
	nop 0
	nop 0
;__stpncpy+48
	ldbz %r3,%r2,0
	stb %r3,%r1,0
	bweq %r3,%gz,__stpncpy+304
;__stpncpy+64
	addi %r10,%r10,-1
	addi %r2,%r2,1
	addi %r1,%r1,1
;__stpncpy+80
	bdne %r10,%gz,__stpncpy+48
	jmp __stpncpy+288
	nop 0
;__stpncpy+96
	cmpdnei %r4,%r3,0
	bmnone %r2,7,__stpncpy+192
	bdeq %r3,%gz,__stpncpy+192
;__stpncpy+112
	addi %r5,%r2,1
	nop 0
	nop 0
;__stpncpy+128
	ldbz %r4,%r2,0
	mov %r10,%r3
	stb %r4,%r1,0
;__stpncpy+144
	bweq %r4,%gz,__stpncpy+304
	addi %r3,%r10,-1
	addi %r2,%r2,1
;__stpncpy+160
	addi %r1,%r1,1
	cmpdnei %r4,%r10,1
	bmnone %r5,7,__stpncpy+192
;__stpncpy+176
	addi %r5,%r5,1
	bdnei %r10,1,__stpncpy+128
	nop 0
;__stpncpy+192
	bbci %r4,0,__stpncpy+288
	ldbz %r4,%r2,0
	bweq %r4,%gz,__stpncpy+320
;__stpncpy+208
	bdltui %r3,8,__stpncpy+16
	ldi.l %r4,-9187201950435737472
;__stpncpy+224
	lddz %r5,%r2,0
	subfi.l %r6,%r5,72340172838076672
;__stpncpy+240
	or %r6,%r6,%r5
	and %r6,%r6,%r4
	bdne %r6,%r4,__stpncpy+32
;__stpncpy+256
	std %r5,%r1,0
	addi %r3,%r3,-8
	addi %r2,%r2,8
;__stpncpy+272
	addi %r1,%r1,8
	bdgeui %r3,8,__stpncpy+224
	jmp __stpncpy+16
;__stpncpy+288
	mov %r10,%gz
	nop 0
	nop 0
;__stpncpy+304
	mov2 %r8,%r9,%r1,%gz
	callr %r7,memset
	retf 0
;__stpncpy+320
	mov %r10,%r3
	jmp __stpncpy+304
	nop 0
;strstr
	alloc 11
	ldbs %r10,%r2,0
	bweq %r10,%gz,strstr+400
;strstr+16
	mov %r9,%r1
	callr %r8,strchr
	bdeq %r9,%gz,strstr+128
;strstr+32
	mov %r1,%r9
	ldbz %r3,%r2,1
	bweq %r3,%gz,strstr+400
;strstr+48
	ldbz %r4,%r1,1
	bweq %r4,%gz,strstr+128
	ldbz %r5,%r2,2
;strstr+64
	bweq %r5,%gz,strstr+144
	ldbz %r6,%r1,2
	bweq %r6,%gz,strstr+128
;strstr+80
	ldbz %r7,%r2,3
	bweq %r7,%gz,strstr+256
	ldbz %r3,%r1,3
;strstr+96
	bweq %r3,%gz,strstr+128
	ldbz %r3,%r2,4
	bweq %r3,%gz,strstr+368
;strstr+112
	mov2 %r9,%r10,%r1,%r2
	callr %r8,twoway_strstr
	jmp strstr+384
;strstr+128
	mov %r1,%gz
	retf 0
	nop 0
;strstr+144
	ldbz %r2,%r2,0
	ldbz %r5,%r1,0
	slor %r2,%r3,%r2,8
;strstr+160
	andi %r2,%r2,65535
	slor %r3,%r4,%r5,8
	andi %r4,%r3,65535
;strstr+176
	bweq %r4,%r2,strstr+400
	nop 0
	nop 0
;strstr+192
	ldbz %r4,%r1,2
	andi %r4,%r4,255
	addi %r1,%r1,1
;strstr+208
	bweq %r4,%gz,strstr+240
	slor %r3,%r4,%r3,8
	andi %r5,%r3,65535
;strstr+224
	bwne %r5,%r2,strstr+192
	nop 0
	nop 0
;strstr+240
	cmovweq %r1,%r4,%gz,%r1
	retf 0
	nop 0
;strstr+256
	ldbz %r2,%r2,0
	ldbz %r7,%r1,0
	slliw %r5,%r5,8
;strstr+272
	slliw %r6,%r6,8
	slor %r3,%r5,%r3,16
	slor %r4,%r6,%r4,16
;strstr+288
	slor %r2,%r3,%r2,24
	slor %r3,%r4,%r7,24
	bweq %r3,%r2,strstr+400
;strstr+304
	ldbz %r4,%r1,3
	andi %r4,%r4,255
	addi %r1,%r1,1
;strstr+320
	bweq %r4,%gz,strstr+352
	or %r3,%r3,%r4
	slliw %r3,%r3,8
;strstr+336
	bwne %r3,%r2,strstr+304
	nop 0
	nop 0
;strstr+352
	cmovweq %r1,%r4,%gz,%r1
	retf 0
	nop 0
;strstr+368
	mov2 %r9,%r10,%r1,%r2
	callr %r8,fourbyte_strstr
	nop 0
;strstr+384
	mov %r1,%r9
	nop 0
	nop 0
;strstr+400
	retf 0
	nop 0
	nop 0
;fourbyte_strstr
	alloc 12
	ldbz %r5,%r1,3
	addi %r3,%r1,3
;fourbyte_strstr+16
	cmpwnei %r4,%r5,0
	bweq %r5,%gz,fourbyte_strstr+144
	ldbz %r6,%r2,1
;fourbyte_strstr+32
	ldbz %r7,%r2,0
	slliw %r6,%r6,16
	ldbz %r8,%r2,2
;fourbyte_strstr+48
	ldbz %r2,%r2,3
	ldbz %r9,%r1,1
	ldbz %r10,%r1,0
;fourbyte_strstr+64
	ldbz %r11,%r1,2
	slor %r1,%r6,%r7,24
	slliw %r6,%r9,16
;fourbyte_strstr+80
	slor %r1,%r1,%r8,8
	slor %r6,%r6,%r10,24
	or %r1,%r1,%r2
;fourbyte_strstr+96
	slor %r2,%r6,%r11,8
	or %r2,%r2,%r5
	bweq %r2,%r1,fourbyte_strstr+144
;fourbyte_strstr+112
	ldbz %r5,%r3,1
	addi %r3,%r3,1
	cmpwnei %r4,%r5,0
;fourbyte_strstr+128
	bweq %r5,%gz,fourbyte_strstr+144
	slor %r2,%r5,%r2,8
	bwne %r2,%r1,fourbyte_strstr+112
;fourbyte_strstr+144
	addi %r1,%r3,-3
	cmovlsb %r1,%r4,%r1,%gz
	retf 0
;twoway_strstr
	allocsp 25,2080
	stq %gz,%sp,2064
	stq %gz,%sp,2048
;twoway_strstr+16
	ldbz %r5,%r2,0
	mov %r4,%r1
	ldi %r1,-1
;twoway_strstr+32
	addi %r7,%r2,1
	addi %r8,%sp,2048
	addi %r9,%sp,0
;twoway_strstr+48
	bweq %r5,%gz,twoway_strstr+320
	mov %r6,%gz
	ldi %r3,1
;twoway_strstr+64
	ldbzx.xd %r10,%r4,%r6,0,0
	bweq %r10,%gz,twoway_strstr+800
	srliw %r10,%r5,3
;twoway_strstr+80
	andi %r10,%r10,24
	lddzx.xd %r11,%r8,%r10,0,0
	andi %r12,%r5,255
;twoway_strstr+96
	andi %r5,%r5,63
	sll %r5,%r3,%r5
	or %r5,%r11,%r5
;twoway_strstr+112
	stdx.xd %r5,%r8,%r10,0,0
	addi %r10,%r6,1
	stdx.xd %r10,%r9,%r12,3,0
;twoway_strstr+128
	ldbzx.xd %r5,%r7,%r6,0,0
	mov %r6,%r10
	bwne %r5,%gz,twoway_strstr+64
;twoway_strstr+144
	bdltui %r10,2,twoway_strstr+336
	ldi %r5,1
	mov %r6,%gz
;twoway_strstr+160
	ldi %r1,-1
	mov2 %r12,%r3,%r5,%r5
	mov %r11,%r5
;twoway_strstr+176
	jmp twoway_strstr+224
	nop 0
	nop 0
;twoway_strstr+192
	addi %r3,%r6,1
	mov2 %r1,%r6,%r6,%r3
	mov2 %r11,%r3,%r5,%r5
;twoway_strstr+208
	add %r12,%r11,%r6
	bdleu %r10,%r12,twoway_strstr+832
	nop 0
;twoway_strstr+224
	add %r13,%r2,%r1
	ldbzx.xd %r13,%r13,%r11,0,0
	ldbzx.xd %r14,%r2,%r12,0,0
;twoway_strstr+240
	bwne %r13,%r14,twoway_strstr+272
	bdne %r11,%r3,twoway_strstr+304
	add %r6,%r3,%r6
;twoway_strstr+256
	mov %r11,%r5
	jmp twoway_strstr+208
	nop 0
;twoway_strstr+272
	bwleu %r13,%r14,twoway_strstr+192
	sub %r3,%r12,%r1
	mov2 %r6,%r11,%r12,%r5
;twoway_strstr+288
	jmp twoway_strstr+208
	nop 0
	nop 0
;twoway_strstr+304
	addi %r11,%r11,1
	jmp twoway_strstr+208
	nop 0
;twoway_strstr+320
	ldi %r3,1
	mov %r10,%gz
	nop 0
;twoway_strstr+336
	mov2 %r5,%r6,%r1,%r3
	nop 0
	nop 0
;twoway_strstr+352
	addi %r11,%r5,1
	addi %r12,%r1,1
	cmpdltu %r11,%r12,%r11
;twoway_strstr+368
	cmovlsb %r12,%r11,%r6,%r3
	cmovlsb %r11,%r11,%r5,%r1
	add %r23,%r2,%r12
;twoway_strstr+384
	addi %r3,%r11,1
	mov2 %r22,%r24,%r2,%r3
	callr %r21,memcmp
;twoway_strstr+400
	bweq %r22,%gz,twoway_strstr+448
	mov %r13,%gz
	xori %r1,%r11,-1
;twoway_strstr+416
	add %r1,%r10,%r1
	maxu %r1,%r11,%r1
	addi %r12,%r1,1
;twoway_strstr+432
	jmp twoway_strstr+464
	nop 0
	nop 0
;twoway_strstr+448
	sub %r13,%r10,%r12
	nop 0
	nop 0
;twoway_strstr+464
	mov %r16,%gz
	ori %r5,%r10,63
	addi %r14,%r10,-1
;twoway_strstr+480
	subfi %r15,%r3,1
	mov %r1,%r4
	jmp twoway_strstr+512
;twoway_strstr+496
	mov %r16,%gz
	add %r1,%r1,%r10
	nop 0
;twoway_strstr+512
	sub %r6,%r4,%r1
	bdleu %r10,%r6,twoway_strstr+576
	mov2 %r22,%r23,%r4,%gz
;twoway_strstr+528
	mov %r24,%r5
	callr %r21,memchr
	add %r4,%r4,%r5
;twoway_strstr+544
	cmovdeq %r4,%r22,%r4,%r22
	bdeq %r22,%gz,twoway_strstr+576
	sub %r6,%r22,%r1
;twoway_strstr+560
	bdltu %r6,%r10,twoway_strstr+800
	nop 0
	nop 0
;twoway_strstr+576
	ldbzx.xd %r6,%r1,%r14,0,0
	srliw %r17,%r6,3
	andi %r17,%r17,24
;twoway_strstr+592
	lddzx.xd %r17,%r8,%r17,0,0
	andi %r18,%r6,63
	bbc %r17,%r18,twoway_strstr+496
;twoway_strstr+608
	srliw %r6,%r6,0
	lddzx.xd %r6,%r9,%r6,3,0
	bdne %r10,%r6,twoway_strstr+768
;twoway_strstr+624
	maxu %r19,%r3,%r16
	ldbzx.xd %r17,%r2,%r19,0,0
	mov %r6,%r11
;twoway_strstr+640
	bweq %r17,%gz,twoway_strstr+720
	add %r6,%r15,%r19
	add %r18,%r1,%r19
;twoway_strstr+656
	add %r19,%r7,%r19
	nop 0
	nop 0
;twoway_strstr+672
	ldbz %r20,%r18,0
	andi %r17,%r17,255
	bwne %r17,%r20,twoway_strstr+784
;twoway_strstr+688
	ldbz %r17,%r19,0
	addi %r6,%r6,1
	addi %r18,%r18,1
;twoway_strstr+704
	addi %r19,%r19,1
	bwne %r17,%gz,twoway_strstr+672
	mov %r6,%r11
;twoway_strstr+720
	addi %r17,%r6,1
	bdleu %r17,%r16,twoway_strstr+816
	ldbzx.xd %r17,%r2,%r6,0,0
;twoway_strstr+736
	ldbzx.xd %r18,%r1,%r6,0,0
	addi %r6,%r6,-1
	bweq %r17,%r18,twoway_strstr+720
;twoway_strstr+752
	mov %r16,%r13
	add %r1,%r1,%r12
	jmp twoway_strstr+512
;twoway_strstr+768
	sub %r6,%r10,%r6
	maxu %r6,%r6,%r16
	nop 0
;twoway_strstr+784
	mov %r16,%gz
	add %r1,%r1,%r6
	jmp twoway_strstr+512
;twoway_strstr+800
	mov %r1,%gz
	nop 0
	nop 0
;twoway_strstr+816
	retf 2080
	nop 0
	nop 0
;twoway_strstr+832
	ldi %r11,1
	mov %r12,%gz
	ldi %r5,-1
;twoway_strstr+848
	mov2 %r14,%r6,%r11,%r11
	mov %r13,%r11
	jmp twoway_strstr+896
;twoway_strstr+864
	addi %r6,%r12,1
	mov2 %r5,%r12,%r12,%r6
	mov2 %r13,%r6,%r11,%r11
;twoway_strstr+880
	add %r14,%r13,%r12
	bdleu %r10,%r14,twoway_strstr+352
	nop 0
;twoway_strstr+896
	add %r15,%r2,%r5
	ldbzx.xd %r15,%r15,%r13,0,0
	ldbzx.xd %r16,%r2,%r14,0,0
;twoway_strstr+912
	bwne %r15,%r16,twoway_strstr+944
	bdne %r13,%r6,twoway_strstr+976
	add %r12,%r6,%r12
;twoway_strstr+928
	mov %r13,%r11
	jmp twoway_strstr+880
	nop 0
;twoway_strstr+944
	bwleu %r16,%r15,twoway_strstr+864
	sub %r6,%r14,%r5
	mov2 %r12,%r13,%r14,%r11
;twoway_strstr+960
	jmp twoway_strstr+880
	nop 0
	nop 0
;twoway_strstr+976
	addi %r13,%r13,1
	jmp twoway_strstr+880
	nop 0
;memcmp
	alloc 6
	bdeq %r3,%gz,memcmp+64
	nop 0
;memcmp+16
	ldbz %r4,%r1,0
	ldbz %r5,%r2,0
	bwne %r4,%r5,memcmp+80
;memcmp+32
	addi %r3,%r3,-1
	addi %r1,%r1,1
	addi %r2,%r2,1
;memcmp+48
	bdne %r3,%gz,memcmp+16
	nop 0
	nop 0
;memcmp+64
	mov %r1,%gz
	retf 0
	nop 0
;memcmp+80
	subws %r1,%r4,%r5
	retf 0
	nop 0
;strncmp
	alloc 7
	bdeq %r3,%gz,strncmp+144
	ldbz %r4,%r1,0
;strncmp+16
	bweq %r4,%gz,strncmp+96
	addi %r3,%r3,-1
	addi %r1,%r1,1
;strncmp+32
	ldbz %r5,%r2,0
	andi %r6,%r4,255
	bwne %r6,%r5,strncmp+112
;strncmp+48
	bweq %r5,%gz,strncmp+112
	cmpdnei %r5,%r3,0
	bbci %r5,0,strncmp+112
;strncmp+64
	ldbz %r4,%r1,0
	addi %r3,%r3,-1
	addi %r2,%r2,1
;strncmp+80
	addi %r1,%r1,1
	bwne %r4,%gz,strncmp+32
	nop 0
;strncmp+96
	mov %r4,%gz
	nop 0
	nop 0
;strncmp+112
	ldbz %r1,%r2,0
	andi %r2,%r4,255
	subws %r1,%r2,%r1
;strncmp+128
	retf 0
	nop 0
	nop 0
;strncmp+144
	mov %r1,%gz
	retf 0
	nop 0
;P_Random
	alloc 3
	ldwzr %r1,prndindex
	addiws %r1,%r1,1
;P_Random+16
	andi %r2,%r1,255
	ldafr %r1,rndtable
	ldbzx.xuw %r1,%r1,%r2,0,0
;P_Random+32
	stwr %r2,prndindex
	retf 0
	nop 0
;M_Random
	alloc 3
	ldwzr %r1,rndindex
	addiws %r1,%r1,1
;M_Random+16
	andi %r2,%r1,255
	ldafr %r1,rndtable
	ldbzx.xuw %r1,%r1,%r2,0,0
;M_Random+32
	stwr %r2,rndindex
	retf 0
	nop 0
;M_ClearRandom
	alloc 1
	stwr %gz,prndindex
	stwr %gz,rndindex
;M_ClearRandom+16
	retf 0
	nop 0
	nop 0
;T_MoveCeiling
	alloc 12
	ldwz %r2,%r1,56
	bweqi %r2,-1,T_MoveCeiling+192
;T_MoveCeiling+16
	bwnei %r2,1,T_MoveCeiling+416
	lddz %r6,%r1,32
	ldwz %r7,%r1,48
;T_MoveCeiling+32
	ldwz %r8,%r1,44
	ldi %r10,1
	mov2 %r9,%r11,%gz,%r10
;T_MoveCeiling+48
	callr %r5,T_MovePlane
	ldbzr %r2,leveltime
	andi %r2,%r2,7
;T_MoveCeiling+64
	bwne %r2,%gz,T_MoveCeiling+112
	ldwz %r2,%r1,24
	bweqi %r2,5,T_MoveCeiling+112
;T_MoveCeiling+80
	lddz %r2,%r1,32
	addi %r10,%r2,48
	ldi %r11,22
;T_MoveCeiling+96
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_MoveCeiling+112
	bwnei %r6,2,T_MoveCeiling+416
	ldwz %r2,%r1,24
	addiws %r3,%r2,-3
;T_MoveCeiling+128
	bwltui %r3,2,T_MoveCeiling+496
	bweqi %r2,5,T_MoveCeiling+464
	bwnei %r2,1,T_MoveCeiling+416
;T_MoveCeiling+144
	mov %r2,%gz
	ldafr %r3,activeceilings
	nop 0
;T_MoveCeiling+160
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%r1,T_MoveCeiling+432
	addi %r2,%r2,8
;T_MoveCeiling+176
	bdnei %r2,240,T_MoveCeiling+160
	jmp T_MoveCeiling+416
	nop 0
;T_MoveCeiling+192
	lddz %r6,%r1,32
	ldwz %r7,%r1,48
	ldwz %r8,%r1,40
;T_MoveCeiling+208
	ldwz %r9,%r1,52
	ldi %r2,1
	ldi %r11,-1
;T_MoveCeiling+224
	mov %r10,%r2
	callr %r5,T_MovePlane
	ldbzr %r3,leveltime
;T_MoveCeiling+240
	andi %r3,%r3,7
	bwne %r3,%gz,T_MoveCeiling+288
	ldwz %r3,%r1,24
;T_MoveCeiling+256
	bweqi %r3,5,T_MoveCeiling+288
	lddz %r3,%r1,32
	addi %r10,%r3,48
;T_MoveCeiling+272
	ldi %r11,22
	callr %r9,S_StartSound
	nop 0
;T_MoveCeiling+288
	bweqi %r6,1,T_MoveCeiling+368
	bwnei %r6,2,T_MoveCeiling+416
	ldwz %r3,%r1,24
;T_MoveCeiling+304
	bdgeui %r3,6,T_MoveCeiling+416
	ldafr %r4,.rodata+35656
	jmpt %r4,%r3
;T_MoveCeiling+320
	mov %r2,%gz
	ldafr %r3,activeceilings
	nop 0
;T_MoveCeiling+336
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%r1,T_MoveCeiling+432
	addi %r2,%r2,8
;T_MoveCeiling+352
	bdnei %r2,240,T_MoveCeiling+336
	jmp T_MoveCeiling+416
	nop 0
;T_MoveCeiling+368
	ldwz %r3,%r1,24
	bwgeui %r3,6,T_MoveCeiling+416
	sllw %r2,%r2,%r3
;T_MoveCeiling+384
	andi %r2,%r2,44
	bweq %r2,%gz,T_MoveCeiling+416
	ldi %r2,8192
;T_MoveCeiling+400
	stw %r2,%r1,48
	nop 0
	nop 0
;T_MoveCeiling+416
	retf 0
	nop 0
	nop 0
;T_MoveCeiling+432
	lddz %r1,%r4,32
	std %gz,%r1,104
	lddzx.xd %r11,%r2,%r3,0,0
;T_MoveCeiling+448
	callr %r10,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;T_MoveCeiling+464
	lddz %r2,%r1,32
	addi %r10,%r2,48
	ldi %r11,19
;T_MoveCeiling+480
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_MoveCeiling+496
	ldi %r2,-1
	stw %r2,%r1,56
	retf 0
;T_MoveCeiling+512
	lddz %r3,%r1,32
	addi %r10,%r3,48
	ldi %r11,19
;T_MoveCeiling+528
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_MoveCeiling+544
	ldi %r3,65536
	stw %r3,%r1,48
	nop 0
;T_MoveCeiling+560
	stw %r2,%r1,56
	retf 0
	nop 0
;P_RemoveActiveCeiling
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeceilings
;P_RemoveActiveCeiling+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%r1,P_RemoveActiveCeiling+48
	addi %r2,%r2,8
;P_RemoveActiveCeiling+32
	bdnei %r2,240,P_RemoveActiveCeiling+16
	retf 0
	nop 0
;P_RemoveActiveCeiling+48
	lddz %r1,%r4,32
	std %gz,%r1,104
	lddzx.xd %r6,%r2,%r3,0,0
;P_RemoveActiveCeiling+64
	callr %r5,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;EV_DoCeiling
	alloc 21
	addiws %r3,%r2,-3
	mov %r7,%r1
;EV_DoCeiling+16
	ldafr %r8,activeceilings
	ldar %r9,T_MoveCeiling
	bwgeui %r3,3,EV_DoCeiling+128
;EV_DoCeiling+32
	mov %r1,%gz
	jmp EV_DoCeiling+64
	nop 0
;EV_DoCeiling+48
	addi %r1,%r1,8
	bdeqi %r1,240,EV_DoCeiling+128
	nop 0
;EV_DoCeiling+64
	lddzx.xd %r3,%r1,%r8,0,0
	bdeq %r3,%gz,EV_DoCeiling+48
	ldwz %r4,%r3,60
;EV_DoCeiling+80
	ldhs %r5,%r7,28
	bwne %r4,%r5,EV_DoCeiling+48
	ldwz %r4,%r3,56
;EV_DoCeiling+96
	bwne %r4,%gz,EV_DoCeiling+48
	ldwz %r4,%r3,64
	stw %r4,%r3,56
;EV_DoCeiling+112
	std %r9,%r3,16
	jmp EV_DoCeiling+48
	nop 0
;EV_DoCeiling+128
	mov %r1,%gz
	ldi %r10,-1
	ldi %r3,72
;EV_DoCeiling+144
	ldi %r4,6
	srliw %r11,%r2,0
	ldi %r12,1
;EV_DoCeiling+160
	ldafr %r13,.rodata+35680
	ldi %r14,65536
	ldi %r15,131072
;EV_DoCeiling+176
	mov %r5,%r10
	nop 0
	nop 0
;EV_DoCeiling+192
	mov2 %r19,%r20,%r7,%r5
	callr %r18,P_FindSectorFromLineTag
	bwlt %r19,%gz,EV_DoCeiling+544
;EV_DoCeiling+208
	mov %r5,%r19
	lddzr %r16,sectors
	ldax.xuw %r6,%r16,%r19,7,0
;EV_DoCeiling+224
	lddzx.xuw %r16,%r16,%r19,7,104
	bdne %r16,%gz,EV_DoCeiling+192
	mov2 %r18,%r19,%r3,%r4
;EV_DoCeiling+240
	mov %r20,%gz
	callr %r17,Z_Malloc
	mov %r20,%r18
;EV_DoCeiling+256
	callr %r19,P_AddThinker
	std %r18,%r6,104
	std %r9,%r18,16
;EV_DoCeiling+272
	std %r6,%r18,32
	stw %gz,%r18,52
	bwgeui %r2,6,EV_DoCeiling+384
;EV_DoCeiling+288
	jmpt %r13,%r11
	nop 0
	nop 0
;EV_DoCeiling+304
	stw %r12,%r18,52
	ldwz %r1,%r6,4
	stw %r1,%r18,44
;EV_DoCeiling+320
	ldwz %r1,%r6,0
	addiws %r16,%r1,524288
	cmovweq %r1,%r2,%r1,%r16
;EV_DoCeiling+336
	stw %r1,%r18,40
	mov %r1,%r10
	nop 0
;EV_DoCeiling+352
	mov %r16,%r14
	nop 0
	nop 0
;EV_DoCeiling+368
	stw %r1,%r18,56
	stw %r16,%r18,48
	nop 0
;EV_DoCeiling+384
	ldhs %r6,%r6,16
	mov %r1,%gz
	stw %r6,%r18,60
;EV_DoCeiling+400
	stw %r2,%r18,24
	nop 0
	nop 0
;EV_DoCeiling+416
	lddzx.xd %r6,%r1,%r8,0,0
	bdeq %r6,%gz,EV_DoCeiling+448
	addi %r1,%r1,8
;EV_DoCeiling+432
	bdnei %r1,240,EV_DoCeiling+416
	mov %r1,%r12
	jmp EV_DoCeiling+192
;EV_DoCeiling+448
	stdx.xd %r18,%r1,%r8,0,0
	mov %r1,%r12
	jmp EV_DoCeiling+192
;EV_DoCeiling+464
	mov %r20,%r6
	callr %r19,P_FindHighestCeilingSurrounding
	stw %r20,%r18,44
;EV_DoCeiling+480
	mov %r1,%r12
	jmp EV_DoCeiling+352
	nop 0
;EV_DoCeiling+496
	stw %r12,%r18,52
	ldwz %r1,%r6,4
	stw %r1,%r18,44
;EV_DoCeiling+512
	ldwz %r1,%r6,0
	addiws %r1,%r1,524288
	stw %r1,%r18,40
;EV_DoCeiling+528
	mov2 %r1,%r16,%r10,%r15
	jmp EV_DoCeiling+368
	nop 0
;EV_DoCeiling+544
	retf 0
	nop 0
	nop 0
;P_ActivateInStasisCeiling
	alloc 8
	mov %r2,%gz
	ldafr %r3,activeceilings
;P_ActivateInStasisCeiling+16
	ldar %r4,T_MoveCeiling
	jmp P_ActivateInStasisCeiling+48
	nop 0
;P_ActivateInStasisCeiling+32
	addi %r2,%r2,8
	bdeqi %r2,240,P_ActivateInStasisCeiling+112
	nop 0
;P_ActivateInStasisCeiling+48
	lddzx.xd %r5,%r2,%r3,0,0
	bdeq %r5,%gz,P_ActivateInStasisCeiling+32
	ldwz %r6,%r5,60
;P_ActivateInStasisCeiling+64
	ldhs %r7,%r1,28
	bwne %r6,%r7,P_ActivateInStasisCeiling+32
	ldwz %r6,%r5,56
;P_ActivateInStasisCeiling+80
	bwne %r6,%gz,P_ActivateInStasisCeiling+32
	ldwz %r6,%r5,64
	stw %r6,%r5,56
;P_ActivateInStasisCeiling+96
	std %r4,%r5,16
	jmp P_ActivateInStasisCeiling+32
	nop 0
;P_ActivateInStasisCeiling+112
	retf 0
	nop 0
	nop 0
;P_AddActiveCeiling
	alloc 5
	mov %r2,%gz
	ldafr %r3,activeceilings
;P_AddActiveCeiling+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%gz,P_AddActiveCeiling+48
	addi %r2,%r2,8
;P_AddActiveCeiling+32
	bdnei %r2,240,P_AddActiveCeiling+16
	retf 0
	nop 0
;P_AddActiveCeiling+48
	stdx.xd %r1,%r2,%r3,0,0
	retf 0
	nop 0
;EV_CeilingCrushStop
	alloc 9
	mov2 %r3,%r2,%gz,%gz
	ldafr %r4,activeceilings
;EV_CeilingCrushStop+16
	ldi %r5,1
	jmp EV_CeilingCrushStop+48
	nop 0
;EV_CeilingCrushStop+32
	addi %r3,%r3,8
	bdeqi %r3,240,EV_CeilingCrushStop+128
	nop 0
;EV_CeilingCrushStop+48
	lddzx.xd %r6,%r3,%r4,0,0
	bdeq %r6,%gz,EV_CeilingCrushStop+32
	ldwz %r7,%r6,60
;EV_CeilingCrushStop+64
	ldhs %r8,%r1,28
	bwne %r7,%r8,EV_CeilingCrushStop+32
	ldwz %r7,%r6,56
;EV_CeilingCrushStop+80
	bweq %r7,%gz,EV_CeilingCrushStop+32
	stw %r7,%r6,64
	std %gz,%r6,16
;EV_CeilingCrushStop+96
	lddzx.xd %r2,%r3,%r4,0,0
	stw %gz,%r2,56
	mov %r2,%r5
;EV_CeilingCrushStop+112
	jmp EV_CeilingCrushStop+32
	nop 0
	nop 0
;EV_CeilingCrushStop+128
	mov %r1,%r2
	retf 0
	nop 0
;T_VerticalDoor
	alloc 11
	ldwz %r2,%r1,48
	addiws %r3,%r2,1
;T_VerticalDoor+16
	bwgeui %r3,4,T_VerticalDoor+304
	addiwz %r2,%r2,1
	ldafr %r3,.rodata+35704
;T_VerticalDoor+32
	jmpt %r3,%r2
	nop 0
	nop 0
;T_VerticalDoor+48
	lddz %r5,%r1,32
	ldwz %r6,%r1,44
	ldwz %r7,%r5,0
;T_VerticalDoor+64
	ldi %r2,1
	ldi %r10,-1
	mov2 %r8,%r9,%gz,%r2
;T_VerticalDoor+80
	callr %r4,T_MovePlane
	bweqi %r5,1,T_VerticalDoor+448
	bwnei %r5,2,T_VerticalDoor+304
;T_VerticalDoor+96
	ldwz %r2,%r1,24
	bdgeui %r2,8,T_VerticalDoor+304
	ldafr %r3,.rodata+35720
;T_VerticalDoor+112
	jmpt %r3,%r2
	nop 0
	nop 0
;T_VerticalDoor+128
	lddz %r2,%r1,32
	std %gz,%r2,104
	mov %r10,%r1
;T_VerticalDoor+144
	callr %r9,P_RemoveThinker
	jmp T_VerticalDoor+384
	nop 0
;T_VerticalDoor+160
	lddz %r5,%r1,32
	ldwz %r6,%r1,44
	ldwz %r7,%r1,40
;T_VerticalDoor+176
	ldi %r2,1
	mov2 %r8,%r9,%gz,%r2
	mov %r10,%r2
;T_VerticalDoor+192
	callr %r4,T_MovePlane
	bwnei %r5,2,T_VerticalDoor+304
	ldwz %r3,%r1,24
;T_VerticalDoor+208
	bwgeui %r3,7,T_VerticalDoor+304
	sllw %r2,%r2,%r3
	andi %r3,%r2,74
;T_VerticalDoor+224
	bweq %r3,%gz,T_VerticalDoor+480
	nop 0
	nop 0
;T_VerticalDoor+240
	lddz %r2,%r1,32
	std %gz,%r2,104
	mov %r10,%r1
;T_VerticalDoor+256
	callr %r9,P_RemoveThinker
	retf 0
	nop 0
;T_VerticalDoor+272
	ldwz %r2,%r1,56
	addiws %r2,%r2,-1
	stw %r2,%r1,56
;T_VerticalDoor+288
	bweq %r2,%gz,T_VerticalDoor+416
	nop 0
	nop 0
;T_VerticalDoor+304
	retf 0
	nop 0
	nop 0
;T_VerticalDoor+320
	ldwz %r2,%r1,56
	addiws %r2,%r2,-1
	stw %r2,%r1,56
;T_VerticalDoor+336
	bwne %r2,%gz,T_VerticalDoor+304
	ldwz %r2,%r1,24
	bweq %r2,%gz,T_VerticalDoor+576
;T_VerticalDoor+352
	bweqi %r2,1,T_VerticalDoor+512
	bwnei %r2,5,T_VerticalDoor+304
	ldi %r2,-1
;T_VerticalDoor+368
	stw %r2,%r1,48
	nop 0
	nop 0
;T_VerticalDoor+384
	lddz %r1,%r1,32
	addi %r9,%r1,48
	ldi %r10,89
;T_VerticalDoor+400
	callr %r8,S_StartSound
	retf 0
	nop 0
;T_VerticalDoor+416
	ldwz %r2,%r1,24
	bwnei %r2,4,T_VerticalDoor+304
	ldi %r2,1
;T_VerticalDoor+432
	stw %r2,%r1,48
	stw %gz,%r1,24
	jmp T_VerticalDoor+544
;T_VerticalDoor+448
	ldwz %r3,%r1,24
	bweqi %r3,2,T_VerticalDoor+304
	bweqi %r3,7,T_VerticalDoor+304
;T_VerticalDoor+464
	jmp T_VerticalDoor+528
	nop 0
	nop 0
;T_VerticalDoor+480
	andi %r2,%r2,33
	bweq %r2,%gz,T_VerticalDoor+304
	stw %gz,%r1,48
;T_VerticalDoor+496
	ldwz %r2,%r1,52
	stw %r2,%r1,56
	retf 0
;T_VerticalDoor+512
	ldi %r2,1
	nop 0
	nop 0
;T_VerticalDoor+528
	stw %r2,%r1,48
	nop 0
	nop 0
;T_VerticalDoor+544
	lddz %r1,%r1,32
	addi %r9,%r1,48
	ldi %r10,20
;T_VerticalDoor+560
	callr %r8,S_StartSound
	retf 0
	nop 0
;T_VerticalDoor+576
	ldi %r2,-1
	stw %r2,%r1,48
	lddz %r1,%r1,32
;T_VerticalDoor+592
	addi %r9,%r1,48
	ldi %r10,21
	callr %r8,S_StartSound
;T_VerticalDoor+608
	retf 0
	nop 0
	nop 0
;T_VerticalDoor+624
	stw %gz,%r1,48
	ldi %r2,1050
	stw %r2,%r1,56
;T_VerticalDoor+640
	retf 0
	nop 0
	nop 0
;EV_DoLockedDoor
	alloc 9
	lddz %r3,%r3,192
	bdeq %r3,%gz,EV_DoLockedDoor+128
;EV_DoLockedDoor+16
	ldhz %r4,%r1,26
	addiws %r5,%r4,-99
	bwgeui %r5,39,EV_DoLockedDoor+208
;EV_DoLockedDoor+32
	addiwz %r4,%r4,-99
	ldi %r5,1
	sll %r4,%r5,%r4
;EV_DoLockedDoor+48
	bmany.l %r4,17179869185,EV_DoLockedDoor+176
	nop 2
;EV_DoLockedDoor+64
	bmany.l %r4,103079215104,EV_DoLockedDoor+144
	nop 2
;EV_DoLockedDoor+80
	bmnone.l %r4,412316860416,EV_DoLockedDoor+208
	ldwz %r4,%r3,84
;EV_DoLockedDoor+96
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldwz %r4,%r3,96
	bwne %r4,%gz,EV_DoLockedDoor+208
;EV_DoLockedDoor+112
	ldafr %r1,.rodata+27574
	jmp EV_DoLockedDoor+256
	nop 0
;EV_DoLockedDoor+128
	mov %r1,%gz
	retf 0
	nop 0
;EV_DoLockedDoor+144
	ldwz %r4,%r3,88
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldwz %r4,%r3,100
;EV_DoLockedDoor+160
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldafr %r1,.rodata+10297
	jmp EV_DoLockedDoor+256
;EV_DoLockedDoor+176
	ldwz %r4,%r3,80
	bwne %r4,%gz,EV_DoLockedDoor+208
	ldwz %r4,%r3,92
;EV_DoLockedDoor+192
	bweq %r4,%gz,EV_DoLockedDoor+240
	nop 0
	nop 0
;EV_DoLockedDoor+208
	mov2 %r7,%r8,%r1,%r2
	callr %r6,EV_DoDoor
	mov %r1,%r7
;EV_DoLockedDoor+224
	retf 0
	nop 0
	nop 0
;EV_DoLockedDoor+240
	ldafr %r1,.rodata+960
	nop 0
	nop 0
;EV_DoLockedDoor+256
	std %r1,%r3,232
	ldi %r8,34
	mov %r7,%gz
;EV_DoLockedDoor+272
	callr %r6,S_StartSound
	mov %r1,%gz
	retf 0
;EV_DoDoor
	alloc 25
	mov2 %r7,%r1,%r1,%gz
	ldi %r8,-1
;EV_DoDoor+16
	ldi %r3,64
	ldi %r4,6
	ldar %r9,T_VerticalDoor
;EV_DoDoor+32
	ldi %r10,150
	ldi %r11,131072
	ldi %r12,1
;EV_DoDoor+48
	srliw %r13,%r2,0
	ldafr %r14,.rodata+35752
	ldi %r15,20
;EV_DoDoor+64
	ldi %r16,21
	ldi %r17,524288
	ldi %r18,88
;EV_DoDoor+80
	ldi %r19,89
	mov %r5,%r8
	nop 0
;EV_DoDoor+96
	mov2 %r23,%r24,%r7,%r5
	callr %r22,P_FindSectorFromLineTag
	bwlt %r23,%gz,EV_DoDoor+512
;EV_DoDoor+112
	mov %r5,%r23
	lddzr %r20,sectors
	ldax.xuw %r6,%r20,%r23,7,0
;EV_DoDoor+128
	lddzx.xuw %r20,%r20,%r23,7,104
	bdne %r20,%gz,EV_DoDoor+96
	mov2 %r22,%r23,%r3,%r4
;EV_DoDoor+144
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov %r24,%r22
;EV_DoDoor+160
	callr %r23,P_AddThinker
	std %r22,%r6,104
	std %r9,%r22,16
;EV_DoDoor+176
	std %r6,%r22,32
	stw %r2,%r22,24
	stw %r10,%r22,52
;EV_DoDoor+192
	stw %r11,%r22,44
	mov %r1,%r12
	bwgeui %r2,8,EV_DoDoor+96
;EV_DoDoor+208
	mov %r1,%r12
	jmpt %r14,%r13
	nop 0
;EV_DoDoor+224
	stw %r12,%r22,48
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
;EV_DoDoor+240
	addiws %r20,%r24,-262144
	stw %r20,%r22,40
	ldwz %r6,%r6,4
;EV_DoDoor+256
	mov %r1,%r12
	bweq %r20,%r6,EV_DoDoor+96
	lddz %r6,%r22,32
;EV_DoDoor+272
	mov %r24,%r15
	jmp EV_DoDoor+480
	nop 0
;EV_DoDoor+288
	stw %r12,%r22,48
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
;EV_DoDoor+304
	addiws %r20,%r24,-262144
	stw %r20,%r22,40
	stw %r17,%r22,44
;EV_DoDoor+320
	ldwz %r6,%r6,4
	mov %r1,%r12
	bweq %r20,%r6,EV_DoDoor+96
;EV_DoDoor+336
	lddz %r6,%r22,32
	mov %r24,%r18
	jmp EV_DoDoor+480
;EV_DoDoor+352
	ldwz %r1,%r6,4
	stw %r1,%r22,40
	stw %r8,%r22,48
;EV_DoDoor+368
	mov %r24,%r16
	jmp EV_DoDoor+480
	nop 0
;EV_DoDoor+384
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
	addiws %r1,%r24,-262144
;EV_DoDoor+400
	stw %r1,%r22,40
	stw %r8,%r22,48
	lddz %r6,%r22,32
;EV_DoDoor+416
	mov %r24,%r16
	jmp EV_DoDoor+480
	nop 0
;EV_DoDoor+432
	mov %r24,%r6
	callr %r23,P_FindLowestCeilingSurrounding
	addiws %r1,%r24,-262144
;EV_DoDoor+448
	stw %r1,%r22,40
	stw %r8,%r22,48
	stw %r17,%r22,44
;EV_DoDoor+464
	lddz %r6,%r22,32
	mov %r24,%r19
	nop 0
;EV_DoDoor+480
	addi %r23,%r6,48
	callr %r22,S_StartSound
	mov %r1,%r12
;EV_DoDoor+496
	jmp EV_DoDoor+96
	nop 0
	nop 0
;EV_DoDoor+512
	retf 0
	nop 0
	nop 0
;EV_VerticalDoor
	alloc 13
	ldhz %r4,%r1,26
	lddz %r3,%r2,192
;EV_VerticalDoor+16
	ldi %r5,1
	bwgeui %r4,35,EV_VerticalDoor+192
	srliw %r2,%r4,0
;EV_VerticalDoor+32
	sll %r2,%r5,%r2
	bmany.l %r2,4362076160,EV_VerticalDoor+160
;EV_VerticalDoor+48
	bmany.l %r2,8858370048,EV_VerticalDoor+112
	nop 2
;EV_VerticalDoor+64
	bmnone.l %r2,17314086912,EV_VerticalDoor+192
	bdeq %r3,%gz,EV_VerticalDoor+672
;EV_VerticalDoor+80
	ldwz %r2,%r3,84
	bwne %r2,%gz,EV_VerticalDoor+192
	ldwz %r2,%r3,96
;EV_VerticalDoor+96
	bwne %r2,%gz,EV_VerticalDoor+192
	ldafr %r1,.rodata+25712
	jmp EV_VerticalDoor+704
;EV_VerticalDoor+112
	bdeq %r3,%gz,EV_VerticalDoor+672
	ldwz %r2,%r3,88
	bwne %r2,%gz,EV_VerticalDoor+192
;EV_VerticalDoor+128
	ldwz %r2,%r3,100
	bwne %r2,%gz,EV_VerticalDoor+192
	ldafr %r1,.rodata+10340
;EV_VerticalDoor+144
	jmp EV_VerticalDoor+704
	nop 0
	nop 0
;EV_VerticalDoor+160
	bdeq %r3,%gz,EV_VerticalDoor+672
	ldwz %r2,%r3,80
	bwne %r2,%gz,EV_VerticalDoor+192
;EV_VerticalDoor+176
	ldwz %r2,%r3,92
	bweq %r2,%gz,EV_VerticalDoor+688
	nop 0
;EV_VerticalDoor+192
	ldhs %r2,%r1,32
	lddzr %r6,sides
	muli %r2,%r2,24
;EV_VerticalDoor+208
	lddzx.xd %r2,%r6,%r2,0,16
	lddz %r6,%r2,104
	bdeq %r6,%gz,EV_VerticalDoor+256
;EV_VerticalDoor+224
	bwgei %r4,31,EV_VerticalDoor+272
	addiws %r7,%r4,-26
	bwltui %r7,3,EV_VerticalDoor+288
;EV_VerticalDoor+240
	bweqi %r4,1,EV_VerticalDoor+288
	jmp EV_VerticalDoor+352
	nop 0
;EV_VerticalDoor+256
	addiws %r3,%r4,-117
	bwgeui %r3,2,EV_VerticalDoor+352
	jmp EV_VerticalDoor+368
;EV_VerticalDoor+272
	bweqi %r4,31,EV_VerticalDoor+352
	bweqi %r4,118,EV_VerticalDoor+368
	bwnei %r4,117,EV_VerticalDoor+352
;EV_VerticalDoor+288
	ldwz %r1,%r6,48
	bweqi %r1,-1,EV_VerticalDoor+592
	bdeq %r3,%gz,EV_VerticalDoor+672
;EV_VerticalDoor+304
	lddz %r1,%r6,16
	ldar %r2,T_VerticalDoor
	bdeq %r1,%r2,EV_VerticalDoor+768
;EV_VerticalDoor+320
	ldar %r2,T_PlatRaise
	bdne %r1,%r2,EV_VerticalDoor+736
	ldi %r1,-1
;EV_VerticalDoor+336
	stw %r1,%r6,44
	retf 0
	nop 0
;EV_VerticalDoor+352
	ldi %r12,20
	jmp EV_VerticalDoor+384
	nop 0
;EV_VerticalDoor+368
	ldi %r12,88
	nop 0
	nop 0
;EV_VerticalDoor+384
	addi %r11,%r2,48
	callr %r10,S_StartSound
	ldi %r10,64
;EV_VerticalDoor+400
	ldi %r3,6
	mov2 %r11,%r12,%r3,%gz
	callr %r9,Z_Malloc
;EV_VerticalDoor+416
	mov %r12,%r10
	callr %r11,P_AddThinker
	std %r10,%r2,104
;EV_VerticalDoor+432
	ldar %r4,T_VerticalDoor
	std %r4,%r10,16
	std %r2,%r10,32
;EV_VerticalDoor+448
	ldi.l %r4,644245094401
	std %r4,%r10,48
;EV_VerticalDoor+464
	ldi %r4,131072
	stw %r4,%r10,44
	ldhz %r4,%r1,26
;EV_VerticalDoor+480
	bwgeui %r4,35,EV_VerticalDoor+560
	srliw %r6,%r4,0
	sll %r5,%r5,%r6
;EV_VerticalDoor+496
	bmany.l %r5,469762050,EV_VerticalDoor+544
	nop 2
;EV_VerticalDoor+512
	bmnone.l %r5,32212254720,EV_VerticalDoor+560
	ldi %r3,3
;EV_VerticalDoor+528
	stw %r3,%r10,24
	sth %gz,%r1,26
	jmp EV_VerticalDoor+640
;EV_VerticalDoor+544
	stw %gz,%r10,24
	jmp EV_VerticalDoor+640
	nop 0
;EV_VerticalDoor+560
	bweqi %r4,117,EV_VerticalDoor+608
	bwnei %r4,118,EV_VerticalDoor+640
	stw %r3,%r10,24
;EV_VerticalDoor+576
	sth %gz,%r1,26
	jmp EV_VerticalDoor+624
	nop 0
;EV_VerticalDoor+592
	stw %r5,%r6,48
	retf 0
	nop 0
;EV_VerticalDoor+608
	ldi %r1,5
	stw %r1,%r10,24
	nop 0
;EV_VerticalDoor+624
	ldi %r1,524288
	stw %r1,%r10,44
	nop 0
;EV_VerticalDoor+640
	mov %r12,%r2
	callr %r11,P_FindLowestCeilingSurrounding
	addiws %r1,%r12,-262144
;EV_VerticalDoor+656
	stw %r1,%r10,40
	nop 0
	nop 0
;EV_VerticalDoor+672
	retf 0
	nop 0
	nop 0
;EV_VerticalDoor+688
	ldafr %r1,.rodata+21144
	nop 0
	nop 0
;EV_VerticalDoor+704
	std %r1,%r3,232
	ldi %r12,34
	mov %r11,%gz
;EV_VerticalDoor+720
	callr %r10,S_StartSound
	retf 0
	nop 0
;EV_VerticalDoor+736
	lddzr %r12,stderr
	ldafr %r9,.rodata+10377
	ldi %r10,62
;EV_VerticalDoor+752
	ldi %r11,1
	callr %r8,fwrite_unlocked
	nop 0
;EV_VerticalDoor+768
	ldi %r1,-1
	stw %r1,%r6,48
	retf 0
;P_SpawnDoorCloseIn30
	alloc 7
	ldi %r4,64
	ldi %r5,6
;P_SpawnDoorCloseIn30+16
	mov %r6,%gz
	callr %r3,Z_Malloc
	mov %r6,%r4
;P_SpawnDoorCloseIn30+32
	callr %r5,P_AddThinker
	std %r4,%r1,104
	sth %gz,%r1,14
;P_SpawnDoorCloseIn30+48
	ldar %r2,T_VerticalDoor
	std %r2,%r4,16
	std %r1,%r4,32
;P_SpawnDoorCloseIn30+64
	stw %gz,%r4,48
	stw %gz,%r4,24
	ldi %r1,131072
;P_SpawnDoorCloseIn30+80
	stw %r1,%r4,44
	ldi %r1,1050
	stw %r1,%r4,56
;P_SpawnDoorCloseIn30+96
	retf 0
	nop 0
	nop 0
;P_SpawnDoorRaiseIn5Mins
	alloc 7
	ldi %r4,64
	ldi %r5,6
;P_SpawnDoorRaiseIn5Mins+16
	mov %r6,%gz
	callr %r3,Z_Malloc
	mov %r6,%r4
;P_SpawnDoorRaiseIn5Mins+32
	callr %r5,P_AddThinker
	std %r4,%r1,104
	sth %gz,%r1,14
;P_SpawnDoorRaiseIn5Mins+48
	ldar %r2,T_VerticalDoor
	std %r2,%r4,16
	std %r1,%r4,32
;P_SpawnDoorRaiseIn5Mins+64
	ldi %r2,2
	stw %r2,%r4,48
	ldi %r2,4
;P_SpawnDoorRaiseIn5Mins+80
	stw %r2,%r4,24
	ldi %r2,131072
	stw %r2,%r4,44
;P_SpawnDoorRaiseIn5Mins+96
	mov %r6,%r1
	callr %r5,P_FindLowestCeilingSurrounding
	addiws %r1,%r6,-262144
;P_SpawnDoorRaiseIn5Mins+112
	stw %r1,%r4,40
	ldi %r1,150
	stw %r1,%r4,52
;P_SpawnDoorRaiseIn5Mins+128
	ldi %r1,10500
	stw %r1,%r4,56
	retf 0
;P_RecursiveSound
	alloc 12
	ldwz %r4,%r1,88
	ldwzr %r3,validcount
;P_RecursiveSound+16
	bwne %r4,%r3,P_RecursiveSound+48
	ldwz %r5,%r1,20
	addiws %r4,%r2,1
;P_RecursiveSound+32
	bwlt %r4,%r5,P_RecursiveSound+64
	jmp P_RecursiveSound+288
	nop 0
;P_RecursiveSound+48
	addiws %r4,%r2,1
	nop 0
	nop 0
;P_RecursiveSound+64
	stw %r3,%r1,88
	stw %r4,%r1,20
	lddzr %r3,soundtarget
;P_RecursiveSound+80
	std %r3,%r1,24
	ldwz %r3,%r1,112
	bwlti %r3,1,P_RecursiveSound+288
;P_RecursiveSound+96
	mov2 %r5,%r6,%gz,%gz
	ldi %r7,1
	jmp P_RecursiveSound+160
;P_RecursiveSound+112
	andi %r3,%r3,64
	cmovweq %r11,%r3,%r2,%r7
	callr %r9,P_RecursiveSound
;P_RecursiveSound+128
	ldws %r3,%r1,112
	addi %r6,%r6,1
	addi %r5,%r5,8
;P_RecursiveSound+144
	bdle %r3,%r6,P_RecursiveSound+288
	nop 0
	nop 0
;P_RecursiveSound+160
	lddz %r3,%r1,120
	lddzx.xd %r3,%r3,%r5,0,0
	ldbz %r4,%r3,24
;P_RecursiveSound+176
	bbci %r4,2,P_RecursiveSound+128
	mov %r11,%r3
	callr %r10,P_LineOpening
;P_RecursiveSound+192
	ldwzr %r4,openrange
	bwlti %r4,1,P_RecursiveSound+128
	ldhs %r8,%r3,30
;P_RecursiveSound+208
	lddzr %r4,sides
	muli %r8,%r8,24
	lddzx.xd %r10,%r4,%r8,0,16
;P_RecursiveSound+224
	bdne %r10,%r1,P_RecursiveSound+256
	ldhs %r8,%r3,32
	muli %r8,%r8,24
;P_RecursiveSound+240
	lddzx.xd %r10,%r4,%r8,0,16
	nop 0
	nop 0
;P_RecursiveSound+256
	ldhz %r3,%r3,24
	bbci %r3,6,P_RecursiveSound+112
	bwne %r2,%gz,P_RecursiveSound+128
;P_RecursiveSound+272
	jmp P_RecursiveSound+112
	nop 0
	nop 0
;P_RecursiveSound+288
	retf 0
	nop 0
	nop 0
;P_NoiseAlert
	alloc 7
	ldwzr %r3,validcount
	stdr %r1,soundtarget
;P_NoiseAlert+16
	addiws %r1,%r3,1
	stwr %r1,validcount
	lddz %r1,%r2,88
;P_NoiseAlert+32
	lddz %r5,%r1,0
	mov %r6,%gz
	callr %r4,P_RecursiveSound
;P_NoiseAlert+48
	retf 0
	nop 0
	nop 0
;P_CheckMeleeRange
	alloc 10
	lddz %r3,%r1,176
	bdeq %r3,%gz,P_CheckMeleeRange+112
;P_CheckMeleeRange+16
	ldwz %r2,%r3,24
	ldwz %r4,%r1,24
	ldwz %r5,%r3,28
;P_CheckMeleeRange+32
	ldwz %r6,%r1,28
	subws %r8,%r2,%r4
	subws %r9,%r5,%r6
;P_CheckMeleeRange+48
	callr %r7,P_AproxDistance
	lddz %r2,%r3,136
	ldwz %r2,%r2,64
;P_CheckMeleeRange+64
	addiws.l %r2,%r2,2883584
	bwle %r2,%r8,P_CheckMeleeRange+112
;P_CheckMeleeRange+80
	lddz %r9,%r1,176
	mov %r8,%r1
	callr %r7,P_CheckSight
;P_CheckMeleeRange+96
	cmpwnei %r1,%r8,0
	retf 0
	nop 0
;P_CheckMeleeRange+112
	mov %r1,%gz
	retf 0
	nop 0
;P_CheckMissileRange
	alloc 9
	lddz %r8,%r1,176
	mov %r7,%r1
;P_CheckMissileRange+16
	callr %r6,P_CheckSight
	bweq %r7,%gz,P_CheckMissileRange+144
	ldwz %r2,%r1,160
;P_CheckMissileRange+32
	bbsi %r2,6,P_CheckMissileRange+160
	ldwz %r2,%r1,184
	bwne %r2,%gz,P_CheckMissileRange+144
;P_CheckMissileRange+48
	lddz %r2,%r1,176
	ldwz %r3,%r1,24
	ldwz %r4,%r2,24
;P_CheckMissileRange+64
	ldwz %r5,%r1,28
	ldwz %r2,%r2,28
	subws %r7,%r3,%r4
;P_CheckMissileRange+80
	subws %r8,%r5,%r2
	callr %r6,P_AproxDistance
	lddz %r2,%r1,136
;P_CheckMissileRange+96
	ldwz %r2,%r2,40
	ldwz %r1,%r1,128
	ldi %r3,-4194304
;P_CheckMissileRange+112
	ldi %r4,-12582912
	cmovweq %r2,%r2,%r4,%r3
	addws %r3,%r2,%r7
;P_CheckMissileRange+128
	sraiw %r2,%r3,16
	bwnei %r1,3,P_CheckMissileRange+192
	bwlti %r2,897,P_CheckMissileRange+192
;P_CheckMissileRange+144
	mov %r1,%gz
	retf 0
	nop 0
;P_CheckMissileRange+160
	andi %r2,%r2,-65
	stw %r2,%r1,160
	ldi %r1,1
;P_CheckMissileRange+176
	retf 0
	nop 0
	nop 0
;P_CheckMissileRange+192
	addiws %r4,%r1,-18
	bwltui %r4,2,P_CheckMissileRange+240
	bweqi %r1,21,P_CheckMissileRange+240
;P_CheckMissileRange+208
	bwnei %r1,5,P_CheckMissileRange+256
	bwlti %r2,196,P_CheckMissileRange+144
	srliw %r2,%r2,1
;P_CheckMissileRange+224
	jmp P_CheckMissileRange+256
	nop 0
	nop 0
;P_CheckMissileRange+240
	sraiw %r2,%r3,17
	nop 0
	nop 0
;P_CheckMissileRange+256
	ldi %r3,200
	minsw %r3,%r2,%r3
	cmpwgti %r2,%r2,160
;P_CheckMissileRange+272
	ldi %r4,160
	cmpweqi %r1,%r1,21
	cmovlsb %r2,%r2,%r4,%r3
;P_CheckMissileRange+288
	cmovlsb %r2,%r1,%r2,%r3
	callr %r7,P_Random
	cmpwle %r1,%r2,%r8
;P_CheckMissileRange+304
	retf 0
	nop 0
	nop 0
;P_Move
	alloc 11
	mov %r2,%r1
	ldwz %r1,%r1,168
;P_Move+16
	bwnei %r1,8,P_Move+48
	nop 0
	nop 0
;P_Move+32
	mov %r1,%gz
	retf 0
	nop 0
;P_Move+48
	bwltui %r1,8,P_Move+80
	ldafr %r10,.rodata+7190
	callr %r9,I_Error
;P_Move+64
	ldwz %r1,%r2,168
	nop 0
	nop 0
;P_Move+80
	lddz %r3,%r2,136
	ldwz %r3,%r3,60
	ldafr %r4,xspeed
;P_Move+96
	ldwzx.xw %r4,%r4,%r1,2,0
	ldwz %r5,%r2,24
	ldafr %r6,yspeed
;P_Move+112
	ldwzx.xw %r1,%r6,%r1,2,0
	ldwz %r6,%r2,28
	mulws %r4,%r4,%r3
;P_Move+128
	addws %r9,%r4,%r5
	mulws %r1,%r1,%r3
	addws %r10,%r1,%r6
;P_Move+144
	mov %r8,%r2
	callr %r7,P_TryMove
	ldwz %r3,%r2,160
;P_Move+160
	bweq %r8,%gz,P_Move+208
	andi.l %r1,%r3,-2097153
;P_Move+176
	stw %r1,%r2,160
	ldi %r1,1
	bbsi %r3,14,P_Move+400
;P_Move+192
	ldwz %r3,%r2,96
	stw %r3,%r2,32
	retf 0
;P_Move+208
	bbci %r3,14,P_Move+304
	ldwzr %r1,floatok
	bweq %r1,%gz,P_Move+304
;P_Move+224
	ldwz %r1,%r2,32
	ldwzr %r4,tmfloorz
	cmpwlt %r4,%r1,%r4
;P_Move+240
	ldi %r5,-262144
	ldi %r6,262144
	cmovlsb %r4,%r4,%r6,%r5
;P_Move+256
	addws %r1,%r4,%r1
	stw %r1,%r2,32
	nop 2
;P_Move+272
	ori.l %r1,%r3,2097152
	stw %r1,%r2,160
;P_Move+288
	ldi %r1,1
	retf 0
	nop 0
;P_Move+304
	ldwzr %r3,numspechit
	bweq %r3,%gz,P_Move+32
	mov %r1,%gz
;P_Move+320
	ldi %r4,8
	stw %r4,%r2,168
	addiws %r3,%r3,-1
;P_Move+336
	stwr %r3,numspechit
	ldafr %r4,spechit
	ldi %r5,1
;P_Move+352
	lddzx.xw %r9,%r4,%r3,3,0
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_UseSpecialLine
;P_Move+368
	ldwzr %r6,numspechit
	cmovweq %r1,%r8,%r1,%r5
	addiws %r3,%r6,-1
;P_Move+384
	stwr %r3,numspechit
	bwne %r6,%gz,P_Move+352
	nop 0
;P_Move+400
	retf 0
	nop 0
	nop 0
;P_TryWalk
	alloc 5
	mov %r4,%r1
	callr %r3,P_Move
;P_TryWalk+16
	bweq %r4,%gz,P_TryWalk+48
	callr %r3,P_Random
	andi %r2,%r4,15
;P_TryWalk+32
	stw %r2,%r1,172
	ldi %r1,1
	retf 0
;P_TryWalk+48
	mov %r1,%gz
	retf 0
	nop 0
;P_NewChaseDir
	alloc 15
	lddz %r2,%r1,176
	bdne %r2,%gz,P_NewChaseDir+32
;P_NewChaseDir+16
	ldafr %r14,.rodata+7212
	callr %r13,I_Error
	lddz %r2,%r1,176
;P_NewChaseDir+32
	ldwz %r5,%r1,168
	ldafr %r3,opposite
	ldwz %r4,%r2,24
;P_NewChaseDir+48
	ldwz %r6,%r1,24
	ldwz %r2,%r2,28
	ldwz %r7,%r1,28
;P_NewChaseDir+64
	ldwzx.xuw %r3,%r3,%r5,2,0
	subws %r6,%r4,%r6
	addiws %r4,%r6,-655361
;P_NewChaseDir+80
	subws %r7,%r2,%r7
	bwgeui.l %r4,1099510317055,P_NewChaseDir+176
;P_NewChaseDir+96
	addiws %r2,%r7,-655361
	bwgeui.l %r2,1099510317055,P_NewChaseDir+176
;P_NewChaseDir+112
	srliw %r2,%r7,30
	andi %r2,%r2,2
	cmpwgti %r4,%r6,0
;P_NewChaseDir+128
	or %r2,%r2,%r4
	ldafr %r4,diags
	ldwzx.xuw %r2,%r4,%r2,2,0
;P_NewChaseDir+144
	stw %r2,%r1,168
	bweq %r2,%r3,P_NewChaseDir+176
	mov %r14,%r1
;P_NewChaseDir+160
	callr %r13,P_Move
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
;P_NewChaseDir+176
	cmpwlti %r2,%r6,-655360
	ldi %r4,8
	ldi %r8,4
;P_NewChaseDir+192
	cmpwgti %r9,%r6,655360
	cmovlsb %r2,%r2,%r8,%r4
	cmpwgti %r8,%r7,655360
;P_NewChaseDir+208
	ldi %r10,2
	cmpwlti %r11,%r7,-655360
	cmovlsb %r10,%r8,%r10,%r4
;P_NewChaseDir+224
	ldi %r12,6
	cmovlsb %r8,%r9,%gz,%r2
	cmovlsb %r9,%r11,%r12,%r10
;P_NewChaseDir+240
	callr %r13,P_Random
	bwgei %r14,201,P_NewChaseDir+272
	absdw %r2,%r7,%gz
;P_NewChaseDir+256
	absdw %r6,%r6,%gz
	bwleu %r2,%r6,P_NewChaseDir+288
	nop 0
;P_NewChaseDir+272
	mov %r2,%r9
	bwne %r2,%r3,P_NewChaseDir+304
	jmp P_NewChaseDir+336
;P_NewChaseDir+288
	mov2 %r2,%r8,%r8,%r9
	bweq %r2,%r3,P_NewChaseDir+336
	nop 0
;P_NewChaseDir+304
	bweqi %r2,8,P_NewChaseDir+336
	stw %r2,%r1,168
	mov %r14,%r1
;P_NewChaseDir+320
	callr %r13,P_Move
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
;P_NewChaseDir+336
	cmpweq %r2,%r8,%r3
	cmovlsb %r2,%r2,%r4,%r8
	bweqi %r2,8,P_NewChaseDir+384
;P_NewChaseDir+352
	stw %r2,%r1,168
	mov %r14,%r1
	callr %r13,P_Move
;P_NewChaseDir+368
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
	nop 0
;P_NewChaseDir+384
	bweqi %r5,8,P_NewChaseDir+416
	stw %r5,%r1,168
	mov %r14,%r1
;P_NewChaseDir+400
	callr %r13,P_Move
	bwne %r14,%gz,P_NewChaseDir+624
	nop 0
;P_NewChaseDir+416
	callr %r13,P_Random
	bbsi %r14,0,P_NewChaseDir+512
	ldi %r2,7
;P_NewChaseDir+432
	jmp P_NewChaseDir+464
	nop 0
	nop 0
;P_NewChaseDir+448
	addiws %r2,%r5,-1
	bweq %r5,%gz,P_NewChaseDir+592
	nop 0
;P_NewChaseDir+464
	mov %r5,%r2
	bweq %r2,%r3,P_NewChaseDir+448
	stw %r5,%r1,168
;P_NewChaseDir+480
	mov %r14,%r1
	callr %r13,P_Move
	bweq %r14,%gz,P_NewChaseDir+448
;P_NewChaseDir+496
	jmp P_NewChaseDir+624
	nop 0
	nop 0
;P_NewChaseDir+512
	mov %r2,%gz
	jmp P_NewChaseDir+544
	nop 0
;P_NewChaseDir+528
	addiws %r2,%r5,1
	bwgeui %r5,7,P_NewChaseDir+592
	nop 0
;P_NewChaseDir+544
	mov %r5,%r2
	bweq %r2,%r3,P_NewChaseDir+528
	stw %r5,%r1,168
;P_NewChaseDir+560
	mov %r14,%r1
	callr %r13,P_Move
	bweq %r14,%gz,P_NewChaseDir+528
;P_NewChaseDir+576
	jmp P_NewChaseDir+624
	nop 0
	nop 0
;P_NewChaseDir+592
	bweqi %r3,8,P_NewChaseDir+656
	stw %r3,%r1,168
	mov %r14,%r1
;P_NewChaseDir+608
	callr %r13,P_Move
	bweq %r14,%gz,P_NewChaseDir+656
	nop 0
;P_NewChaseDir+624
	callr %r13,P_Random
	andi %r2,%r14,15
	stw %r2,%r1,172
;P_NewChaseDir+640
	retf 0
	nop 0
	nop 0
;P_NewChaseDir+656
	stw %r4,%r1,168
	retf 0
	nop 0
;P_LookForPlayers
	alloc 19
	mov %r3,%r1
	ldwz %r10,%r1,200
;P_LookForPlayers+16
	mov %r4,%gz
	addiws %r1,%r10,-1
	andi %r5,%r1,3
;P_LookForPlayers+32
	ldafr %r6,playeringame
	ldafr %r7,players
	ldi %r8,328
;P_LookForPlayers+48
	ldafr %r9,players+44
	jmp P_LookForPlayers+96
	nop 0
;P_LookForPlayers+64
	ldwz %r1,%r3,200
	addiws %r1,%r1,1
	andi %r10,%r1,3
;P_LookForPlayers+80
	stw %r10,%r3,200
	nop 0
	nop 0
;P_LookForPlayers+96
	ldwzx.xw %r1,%r6,%r10,2,0
	bweq %r1,%gz,P_LookForPlayers+64
	mov %r1,%gz
;P_LookForPlayers+112
	bweqi %r4,2,P_LookForPlayers+320
	bweq %r10,%r5,P_LookForPlayers+320
	sraiw %r1,%r10,0
;P_LookForPlayers+128
	muli %r10,%r1,328
	ldwzx.xd %r10,%r10,%r9,0,0
	addiws %r4,%r4,1
;P_LookForPlayers+144
	bwlti %r10,1,P_LookForPlayers+64
	muladd %r10,%r1,%r8,%r7
	lddz %r18,%r10,0
;P_LookForPlayers+160
	mov %r17,%r3
	callr %r16,P_CheckSight
	bweq %r17,%gz,P_LookForPlayers+64
;P_LookForPlayers+176
	bwne %r2,%gz,P_LookForPlayers+304
	lddz %r1,%r10,0
	ldwz %r15,%r3,24
;P_LookForPlayers+192
	ldwz %r16,%r3,28
	ldwz %r17,%r1,24
	ldwz %r18,%r1,28
;P_LookForPlayers+208
	callr %r14,R_PointToAngle2
	ldwz %r1,%r3,56
	subws %r1,%r15,%r1
;P_LookForPlayers+224
	addiws.l %r1,%r1,-1073741825
	nop 2
;P_LookForPlayers+240
	bwgeui.l %r1,2147483647,P_LookForPlayers+304
	lddz %r1,%r10,0
;P_LookForPlayers+256
	ldwz %r11,%r1,24
	ldwz %r12,%r3,24
	ldwz %r1,%r1,28
;P_LookForPlayers+272
	ldwz %r13,%r3,28
	subws %r17,%r11,%r12
	subws %r18,%r1,%r13
;P_LookForPlayers+288
	callr %r16,P_AproxDistance
	bwgei.l %r17,4194305,P_LookForPlayers+64
;P_LookForPlayers+304
	lddz %r1,%r10,0
	std %r1,%r3,176
	ldi %r1,1
;P_LookForPlayers+320
	retf 0
	nop 0
	nop 0
;A_KeenDie
	allocsp 10,96
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
;A_KeenDie+16
	stw %r2,%r1,160
	lddzr %r2,thinkercap+8
	ldafr %r3,thinkercap
;A_KeenDie+32
	bdeq %r2,%r3,A_KeenDie+112
	ldar %r4,P_MobjThinker
	jmp A_KeenDie+64
;A_KeenDie+48
	lddz %r2,%r2,8
	bdeq %r2,%r3,A_KeenDie+112
	nop 0
;A_KeenDie+64
	bdeq %r2,%r1,A_KeenDie+48
	lddz %r5,%r2,16
	bdne %r5,%r4,A_KeenDie+48
;A_KeenDie+80
	ldwz %r5,%r2,128
	ldwz %r6,%r1,128
	bwne %r5,%r6,A_KeenDie+48
;A_KeenDie+96
	ldwz %r5,%r2,164
	bwle %r5,%gz,A_KeenDie+48
	retf 96
;A_KeenDie+112
	ldi %r1,666
	sth %r1,%sp,36
	addi %r8,%sp,8
;A_KeenDie+128
	ldi %r9,3
	callr %r7,EV_DoDoor
	retf 96
;A_Fall
	alloc 3
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
;A_Fall+16
	stw %r2,%r1,160
	retf 0
	nop 0
;A_Look
	alloc 7
	stw %gz,%r1,188
	lddz %r2,%r1,88
;A_Look+16
	lddz %r2,%r2,0
	lddz %r6,%r2,24
	bdeq %r6,%gz,A_Look+48
;A_Look+32
	ldbz %r2,%r6,160
	bbsi %r2,2,A_Look+80
	nop 0
;A_Look+48
	mov2 %r5,%r6,%r1,%gz
	callr %r4,P_LookForPlayers
	bwne %r5,%gz,A_Look+112
;A_Look+64
	retf 0
	nop 0
	nop 0
;A_Look+80
	std %r6,%r1,176
	ldbz %r2,%r1,160
	bbci %r2,5,A_Look+112
;A_Look+96
	mov %r5,%r1
	callr %r4,P_CheckSight
	bweq %r5,%gz,A_Look+48
;A_Look+112
	lddz %r2,%r1,136
	ldwz %r6,%r2,16
	addiws %r2,%r6,-36
;A_Look+128
	bwltui %r2,3,A_Look+192
	addiws %r2,%r6,-39
	bwgeui %r2,2,A_Look+256
;A_Look+144
	callr %r5,P_Random
	srliw %r2,%r6,31
	addws %r2,%r6,%r2
;A_Look+160
	andi %r2,%r2,-2
	subws %r2,%r6,%r2
	addiws %r6,%r2,39
;A_Look+176
	jmp A_Look+272
	nop 0
	nop 0
;A_Look+192
	callr %r5,P_Random
	sraiw %r2,%r6,0
	nop 2
;A_Look+208
	muli.l %r2,%r2,1431655766
	srli %r3,%r2,63
;A_Look+224
	srli %r2,%r2,32
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,3
;A_Look+240
	subws %r2,%r6,%r2
	addiws %r6,%r2,36
	jmp A_Look+272
;A_Look+256
	bweq %r6,%gz,A_Look+336
	nop 0
	nop 0
;A_Look+272
	ldwz %r2,%r1,128
	bweqi %r2,19,A_Look+304
	mov %r5,%gz
;A_Look+288
	bweqi %r2,21,A_Look+320
	mov %r5,%r1
	jmp A_Look+320
;A_Look+304
	mov %r5,%gz
	nop 0
	nop 0
;A_Look+320
	callr %r4,S_StartSound
	nop 0
	nop 0
;A_Look+336
	lddz %r2,%r1,136
	ldwz %r6,%r2,12
	mov %r5,%r1
;A_Look+352
	callr %r4,P_SetMobjState
	retf 0
	nop 0
;A_Chase
	alloc 7
	ldwz %r2,%r1,184
	bweq %r2,%gz,A_Chase+32
;A_Chase+16
	addiws %r2,%r2,-1
	stw %r2,%r1,184
	nop 0
;A_Chase+32
	ldwz %r2,%r1,188
	bweq %r2,%gz,A_Chase+112
	lddz %r3,%r1,176
;A_Chase+48
	bdeq %r3,%gz,A_Chase+80
	ldwz %r3,%r3,164
	addiws %r2,%r2,-1
;A_Chase+64
	cmovwle %r2,%r3,%gz,%r2
	jmp A_Chase+96
	nop 0
;A_Chase+80
	mov %r2,%gz
	nop 0
	nop 0
;A_Chase+96
	stw %r2,%r1,188
	nop 0
	nop 0
;A_Chase+112
	ldwz %r3,%r1,168
	bwgei %r3,8,A_Chase+208
	ldwz %r2,%r1,56
;A_Chase+128
	andi.l %r2,%r2,-536870912
	slsubws %r3,%r2,%r3,29
;A_Chase+144
	stw %r2,%r1,56
	bwle %r3,%gz,A_Chase+192
	nop 2
;A_Chase+160
	ldi.l %r3,-536870912
	nop 0
;A_Chase+176
	addws %r2,%r2,%r3
	stw %r2,%r1,56
	jmp A_Chase+208
;A_Chase+192
	bwlti %r3,0,A_Chase+576
	nop 0
	nop 0
;A_Chase+208
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_Chase+240
	ldbz %r2,%r2,160
;A_Chase+224
	bbsi %r2,2,A_Chase+288
	nop 0
	nop 0
;A_Chase+240
	ldi %r6,1
	mov %r5,%r1
	callr %r4,P_LookForPlayers
;A_Chase+256
	bweq %r5,%gz,A_Chase+384
	nop 0
	nop 0
;A_Chase+272
	retf 0
	nop 0
	nop 0
;A_Chase+288
	ldwz %r2,%r1,160
	bbsi %r2,7,A_Chase+416
	lddz %r2,%r1,136
;A_Chase+304
	ldwz %r3,%r2,40
	bweq %r3,%gz,A_Chase+464
	mov %r6,%r1
;A_Chase+320
	callr %r5,P_CheckMeleeRange
	lddz %r2,%r1,136
	bweq %r6,%gz,A_Chase+464
;A_Chase+336
	ldwz %r6,%r2,24
	bweq %r6,%gz,A_Chase+368
	mov %r5,%r1
;A_Chase+352
	callr %r4,S_StartSound
	lddz %r2,%r1,136
	nop 0
;A_Chase+368
	ldwz %r6,%r2,40
	jmp A_Chase+400
	nop 0
;A_Chase+384
	lddz %r2,%r1,136
	ldwz %r6,%r2,4
	nop 0
;A_Chase+400
	mov %r5,%r1
	callr %r4,P_SetMobjState
	retf 0
;A_Chase+416
	andi %r2,%r2,-129
	stw %r2,%r1,160
	ldwzr %r2,gameskill
;A_Chase+432
	bweqi %r2,4,A_Chase+272
	ldwzr %r2,fastparm
	bwne %r2,%gz,A_Chase+272
;A_Chase+448
	mov %r6,%r1
	callr %r5,P_NewChaseDir
	retf 0
;A_Chase+464
	ldwz %r2,%r2,44
	bweq %r2,%gz,A_Chase+592
	ldwzr %r2,gameskill
;A_Chase+480
	bwgei %r2,4,A_Chase+512
	ldwzr %r2,fastparm
	bwne %r2,%gz,A_Chase+512
;A_Chase+496
	ldwz %r2,%r1,172
	bwne %r2,%gz,A_Chase+592
	nop 0
;A_Chase+512
	mov %r6,%r1
	callr %r5,P_CheckMissileRange
	bweq %r6,%gz,A_Chase+592
;A_Chase+528
	lddz %r2,%r1,136
	ldwz %r6,%r2,44
	mov %r5,%r1
;A_Chase+544
	callr %r4,P_SetMobjState
	ldwz %r2,%r1,160
	ori %r2,%r2,128
;A_Chase+560
	stw %r2,%r1,160
	retf 0
	nop 0
;A_Chase+576
	ldi.l %r3,536870912
	jmp A_Chase+176
;A_Chase+592
	ldwzr %r2,netgame
	bweq %r2,%gz,A_Chase+640
	ldwz %r2,%r1,188
;A_Chase+608
	bwne %r2,%gz,A_Chase+640
	lddz %r6,%r1,176
	mov %r5,%r1
;A_Chase+624
	callr %r4,P_CheckSight
	bweq %r5,%gz,A_Chase+768
	nop 0
;A_Chase+640
	ldwz %r2,%r1,172
	addiws %r3,%r2,-1
	stw %r3,%r1,172
;A_Chase+656
	bwlti %r2,1,A_Chase+688
	mov %r6,%r1
	callr %r5,P_Move
;A_Chase+672
	bwne %r6,%gz,A_Chase+704
	nop 0
	nop 0
;A_Chase+688
	mov %r6,%r1
	callr %r5,P_NewChaseDir
	nop 0
;A_Chase+704
	lddz %r2,%r1,136
	ldwz %r2,%r2,80
	bweq %r2,%gz,A_Chase+272
;A_Chase+720
	callr %r5,P_Random
	bwgei %r6,3,A_Chase+272
	lddz %r2,%r1,136
;A_Chase+736
	ldwz %r6,%r2,80
	mov %r5,%r1
	callr %r4,S_StartSound
;A_Chase+752
	retf 0
	nop 0
	nop 0
;A_Chase+768
	ldi %r6,1
	mov %r5,%r1
	callr %r4,P_LookForPlayers
;A_Chase+784
	bwne %r5,%gz,A_Chase+272
	jmp A_Chase+640
	nop 0
;A_FaceTarget
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_FaceTarget+128
;A_FaceTarget+16
	ldwz %r3,%r1,160
	andi %r3,%r3,-33
	stw %r3,%r1,160
;A_FaceTarget+32
	ldwz %r5,%r1,24
	ldwz %r6,%r1,28
	ldwz %r7,%r2,24
;A_FaceTarget+48
	ldwz %r8,%r2,28
	callr %r4,R_PointToAngle2
	stw %r5,%r1,56
;A_FaceTarget+64
	lddz %r2,%r1,176
	ldbz %r2,%r2,162
	bbci %r2,2,A_FaceTarget+128
;A_FaceTarget+80
	callr %r7,P_Random
	mov %r2,%r8
	callr %r7,P_Random
;A_FaceTarget+96
	ldwz %r3,%r1,56
	subws %r2,%r2,%r8
	sladdws %r2,%r3,%r2,21
;A_FaceTarget+112
	stw %r2,%r1,56
	nop 0
	nop 0
;A_FaceTarget+128
	retf 0
	nop 0
	nop 0
;A_PosAttack
	alloc 12
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_PosAttack+192
;A_PosAttack+16
	mov %r11,%r1
	callr %r10,A_FaceTarget
	ldwz %r2,%r1,56
;A_PosAttack+32
	ldi.l %r3,134217728
	mov2 %r9,%r10,%r1,%r2
;A_PosAttack+48
	mov %r11,%r3
	callr %r8,P_AimLineAttack
	mov %r4,%r9
;A_PosAttack+64
	ldi %r11,1
	mov %r10,%r1
	callr %r9,S_StartSound
;A_PosAttack+80
	callr %r10,P_Random
	mov %r5,%r11
	callr %r10,P_Random
;A_PosAttack+96
	subws %r5,%r5,%r11
	sladdws %r8,%r2,%r5,20
	callr %r10,P_Random
;A_PosAttack+112
	sraiw %r2,%r11,0
	muli.l %r2,%r2,1717986919
;A_PosAttack+128
	srli %r5,%r2,63
	srai %r2,%r2,33
	addws %r2,%r2,%r5
;A_PosAttack+144
	mulwsi %r2,%r2,5
	subws %r2,%r11,%r2
	mulwsi %r2,%r2,3
;A_PosAttack+160
	addiws %r11,%r2,3
	mov2 %r7,%r9,%r1,%r3
	mov %r10,%r4
;A_PosAttack+176
	callr %r6,P_LineAttack
	nop 0
	nop 0
;A_PosAttack+192
	retf 0
	nop 0
	nop 0
;A_SPosAttack
	alloc 14
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SPosAttack+208
;A_SPosAttack+16
	ldi %r13,2
	mov %r12,%r1
	callr %r11,S_StartSound
;A_SPosAttack+32
	mov %r13,%r1
	callr %r12,A_FaceTarget
	ldwz %r2,%r1,56
;A_SPosAttack+48
	ldi.l %r3,134217728
	mov2 %r11,%r12,%r1,%r2
;A_SPosAttack+64
	mov %r13,%r3
	callr %r10,P_AimLineAttack
	mov2 %r4,%r5,%r11,%gz
;A_SPosAttack+80
	mov %r7,%r5
	callr %r12,P_Random
	mov %r5,%r13
;A_SPosAttack+96
	callr %r12,P_Random
	subws %r5,%r5,%r13
	sladdws %r10,%r2,%r5,20
;A_SPosAttack+112
	callr %r12,P_Random
	sraiw %r5,%r13,0
	nop 2
;A_SPosAttack+128
	muli.l %r5,%r5,1717986919
	srli %r6,%r5,63
;A_SPosAttack+144
	srai %r5,%r5,33
	addws %r5,%r5,%r6
	mulwsi %r5,%r5,5
;A_SPosAttack+160
	subws %r5,%r13,%r5
	mulwsi %r5,%r5,3
	addiws %r13,%r5,3
;A_SPosAttack+176
	mov2 %r9,%r11,%r1,%r3
	mov %r12,%r4
	callr %r8,P_LineAttack
;A_SPosAttack+192
	addiws %r5,%r7,1
	bwltui %r7,2,A_SPosAttack+80
	nop 0
;A_SPosAttack+208
	retf 0
	nop 0
	nop 0
;A_CPosAttack
	alloc 12
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_CPosAttack+192
;A_CPosAttack+16
	ldi %r11,2
	mov %r10,%r1
	callr %r9,S_StartSound
;A_CPosAttack+32
	mov %r11,%r1
	callr %r10,A_FaceTarget
	ldwz %r2,%r1,56
;A_CPosAttack+48
	ldi.l %r3,134217728
	mov2 %r9,%r10,%r1,%r2
;A_CPosAttack+64
	mov %r11,%r3
	callr %r8,P_AimLineAttack
	mov %r4,%r9
;A_CPosAttack+80
	callr %r10,P_Random
	mov %r5,%r11
	callr %r10,P_Random
;A_CPosAttack+96
	subws %r5,%r5,%r11
	sladdws %r8,%r2,%r5,20
	callr %r10,P_Random
;A_CPosAttack+112
	sraiw %r2,%r11,0
	muli.l %r2,%r2,1717986919
;A_CPosAttack+128
	srli %r5,%r2,63
	srai %r2,%r2,33
	addws %r2,%r2,%r5
;A_CPosAttack+144
	mulwsi %r2,%r2,5
	subws %r2,%r11,%r2
	mulwsi %r2,%r2,3
;A_CPosAttack+160
	addiws %r11,%r2,3
	mov2 %r7,%r9,%r1,%r3
	mov %r10,%r4
;A_CPosAttack+176
	callr %r6,P_LineAttack
	nop 0
	nop 0
;A_CPosAttack+192
	retf 0
	nop 0
	nop 0
;A_CPosRefire
	alloc 6
	mov %r5,%r1
	callr %r4,A_FaceTarget
;A_CPosRefire+16
	callr %r4,P_Random
	bwlti %r5,40,A_CPosRefire+64
	lddz %r5,%r1,176
;A_CPosRefire+32
	bdeq %r5,%gz,A_CPosRefire+80
	ldwz %r2,%r5,164
	bwlti %r2,1,A_CPosRefire+80
;A_CPosRefire+48
	mov %r4,%r1
	callr %r3,P_CheckSight
	bweq %r4,%gz,A_CPosRefire+80
;A_CPosRefire+64
	retf 0
	nop 0
	nop 0
;A_CPosRefire+80
	lddz %r2,%r1,136
	ldwz %r5,%r2,12
	mov %r4,%r1
;A_CPosRefire+96
	callr %r3,P_SetMobjState
	retf 0
	nop 0
;A_SpidRefire
	alloc 6
	mov %r5,%r1
	callr %r4,A_FaceTarget
;A_SpidRefire+16
	callr %r4,P_Random
	bwlti %r5,10,A_SpidRefire+64
	lddz %r5,%r1,176
;A_SpidRefire+32
	bdeq %r5,%gz,A_SpidRefire+80
	ldwz %r2,%r5,164
	bwlti %r2,1,A_SpidRefire+80
;A_SpidRefire+48
	mov %r4,%r1
	callr %r3,P_CheckSight
	bweq %r4,%gz,A_SpidRefire+80
;A_SpidRefire+64
	retf 0
	nop 0
	nop 0
;A_SpidRefire+80
	lddz %r2,%r1,136
	ldwz %r5,%r2,12
	mov %r4,%r1
;A_SpidRefire+96
	callr %r3,P_SetMobjState
	retf 0
	nop 0
;A_BspiAttack
	alloc 7
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_BspiAttack+48
;A_BspiAttack+16
	mov %r6,%r1
	callr %r5,A_FaceTarget
	lddz %r5,%r1,176
;A_BspiAttack+32
	ldi %r6,36
	mov %r4,%r1
	callr %r3,P_SpawnMissile
;A_BspiAttack+48
	retf 0
	nop 0
	nop 0
;A_TroopAttack
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_TroopAttack+160
;A_TroopAttack+16
	mov %r7,%r1
	callr %r6,A_FaceTarget
	mov %r7,%r1
;A_TroopAttack+32
	callr %r6,P_CheckMeleeRange
	bweq %r7,%gz,A_TroopAttack+128
	ldi %r7,55
;A_TroopAttack+48
	mov %r6,%r1
	callr %r5,S_StartSound
	callr %r6,P_Random
;A_TroopAttack+64
	sraiw %r2,%r7,31
	srliw %r2,%r2,29
	addws %r2,%r7,%r2
;A_TroopAttack+80
	andi %r2,%r2,-8
	subws %r2,%r7,%r2
	mulwsi %r2,%r2,3
;A_TroopAttack+96
	addiws %r7,%r2,3
	lddz %r4,%r1,176
	mov2 %r5,%r6,%r1,%r1
;A_TroopAttack+112
	callr %r3,P_DamageMobj
	retf 0
	nop 0
;A_TroopAttack+128
	lddz %r6,%r1,176
	ldi %r7,31
	mov %r5,%r1
;A_TroopAttack+144
	callr %r4,P_SpawnMissile
	nop 0
	nop 0
;A_TroopAttack+160
	retf 0
	nop 0
	nop 0
;A_SargAttack
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SargAttack+128
;A_SargAttack+16
	mov %r8,%r1
	callr %r7,A_FaceTarget
	mov %r8,%r1
;A_SargAttack+32
	callr %r7,P_CheckMeleeRange
	bweq %r8,%gz,A_SargAttack+128
	callr %r7,P_Random
;A_SargAttack+48
	sraiw %r2,%r8,0
	muli.l %r2,%r2,1717986919
;A_SargAttack+64
	srli %r3,%r2,63
	srli %r2,%r2,34
	addws %r2,%r2,%r3
;A_SargAttack+80
	mulwsi %r2,%r2,10
	subws %r2,%r8,%r2
	ldi %r3,4
;A_SargAttack+96
	sladdws %r8,%r3,%r2,2
	lddz %r5,%r1,176
	mov2 %r6,%r7,%r1,%r1
;A_SargAttack+112
	callr %r4,P_DamageMobj
	nop 0
	nop 0
;A_SargAttack+128
	retf 0
	nop 0
	nop 0
;A_HeadAttack
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_HeadAttack+160
;A_HeadAttack+16
	mov %r8,%r1
	callr %r7,A_FaceTarget
	mov %r8,%r1
;A_HeadAttack+32
	callr %r7,P_CheckMeleeRange
	bweq %r8,%gz,A_HeadAttack+128
	callr %r7,P_Random
;A_HeadAttack+48
	sraiw %r2,%r8,0
	muli.l %r2,%r2,715827883
;A_HeadAttack+64
	srli %r3,%r2,63
	srli %r2,%r2,32
	addws %r2,%r2,%r3
;A_HeadAttack+80
	mulwsi %r2,%r2,6
	subws %r2,%r8,%r2
	mulwsi %r2,%r2,10
;A_HeadAttack+96
	addiws %r8,%r2,10
	lddz %r5,%r1,176
	mov2 %r6,%r7,%r1,%r1
;A_HeadAttack+112
	callr %r4,P_DamageMobj
	retf 0
	nop 0
;A_HeadAttack+128
	lddz %r7,%r1,176
	ldi %r8,32
	mov %r6,%r1
;A_HeadAttack+144
	callr %r5,P_SpawnMissile
	nop 0
	nop 0
;A_HeadAttack+160
	retf 0
	nop 0
	nop 0
;A_CyberAttack
	alloc 7
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_CyberAttack+48
;A_CyberAttack+16
	mov %r6,%r1
	callr %r5,A_FaceTarget
	lddz %r5,%r1,176
;A_CyberAttack+32
	ldi %r6,33
	mov %r4,%r1
	callr %r3,P_SpawnMissile
;A_CyberAttack+48
	retf 0
	nop 0
	nop 0
;A_BruisAttack
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_BruisAttack+160
;A_BruisAttack+16
	mov %r7,%r1
	callr %r6,P_CheckMeleeRange
	bweq %r7,%gz,A_BruisAttack+128
;A_BruisAttack+32
	ldi %r7,55
	mov %r6,%r1
	callr %r5,S_StartSound
;A_BruisAttack+48
	callr %r6,P_Random
	sraiw %r2,%r7,31
	srliw %r2,%r2,29
;A_BruisAttack+64
	addws %r2,%r7,%r2
	andi.l %r2,%r2,2147483640
;A_BruisAttack+80
	subws %r2,%r7,%r2
	mulwsi %r2,%r2,10
	addiws %r7,%r2,10
;A_BruisAttack+96
	lddz %r4,%r1,176
	mov2 %r5,%r6,%r1,%r1
	callr %r3,P_DamageMobj
;A_BruisAttack+112
	retf 0
	nop 0
	nop 0
;A_BruisAttack+128
	lddz %r6,%r1,176
	ldi %r7,16
	mov %r5,%r1
;A_BruisAttack+144
	callr %r4,P_SpawnMissile
	nop 0
	nop 0
;A_BruisAttack+160
	retf 0
	nop 0
	nop 0
;A_SkelMissile
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SkelMissile+144
;A_SkelMissile+16
	mov %r7,%r1
	callr %r6,A_FaceTarget
	ldwz %r2,%r1,32
;A_SkelMissile+32
	addiws.l %r2,%r2,1048576
	stw %r2,%r1,32
;A_SkelMissile+48
	lddz %r6,%r1,176
	ldi %r7,6
	mov %r5,%r1
;A_SkelMissile+64
	callr %r4,P_SpawnMissile
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1048576
;A_SkelMissile+80
	stw %r2,%r1,32
	ldwz %r2,%r5,112
	ldwz %r3,%r5,24
;A_SkelMissile+96
	addws %r2,%r3,%r2
	stw %r2,%r5,24
	ldwz %r2,%r5,116
;A_SkelMissile+112
	ldwz %r3,%r5,28
	addws %r2,%r3,%r2
	stw %r2,%r5,28
;A_SkelMissile+128
	lddz %r1,%r1,176
	std %r1,%r5,216
	nop 0
;A_SkelMissile+144
	retf 0
	nop 0
	nop 0
;A_Tracer
	alloc 13
	ldbzr %r2,gametic
	andi %r2,%r2,3
;A_Tracer+16
	bweq %r2,%gz,A_Tracer+48
	nop 0
	nop 0
;A_Tracer+32
	retf 0
	nop 0
	nop 0
;A_Tracer+48
	ldwz %r10,%r1,24
	ldwz %r11,%r1,28
	ldwz %r12,%r1,32
;A_Tracer+64
	callr %r9,P_SpawnPuff
	ldwz %r2,%r1,24
	ldwz %r3,%r1,112
;A_Tracer+80
	ldwz %r4,%r1,28
	ldwz %r5,%r1,116
	subws %r9,%r2,%r3
;A_Tracer+96
	subws %r10,%r4,%r5
	ldwz %r11,%r1,32
	ldi %r12,7
;A_Tracer+112
	callr %r8,P_SpawnMobj
	ldi %r2,65536
	stw %r2,%r9,120
;A_Tracer+128
	callr %r11,P_Random
	ldwz %r2,%r9,144
	andi %r3,%r12,3
;A_Tracer+144
	subws %r2,%r2,%r3
	ldi %r3,1
	maxsw %r2,%r2,%r3
;A_Tracer+160
	stw %r2,%r9,144
	lddz %r4,%r1,216
	bdeq %r4,%gz,A_Tracer+32
;A_Tracer+176
	ldwz %r2,%r4,164
	bwlti %r2,1,A_Tracer+32
	ldwz %r9,%r1,24
;A_Tracer+192
	ldwz %r10,%r1,28
	ldwz %r11,%r4,24
	ldwz %r12,%r4,28
;A_Tracer+208
	callr %r8,R_PointToAngle2
	ldwz %r2,%r1,56
	bweq %r9,%r2,A_Tracer+320
;A_Tracer+224
	subws %r6,%r9,%r2
	ldwzr %r5,TRACEANGLE
	nop 2
;A_Tracer+240
	bwltui.l %r6,2147483649,A_Tracer+272
	subws %r2,%r2,%r5
;A_Tracer+256
	subws %r5,%r9,%r2
	cmovwlt %r9,%r5,%r2,%r9
	jmp A_Tracer+304
;A_Tracer+272
	addws %r2,%r5,%r2
	subws %r5,%r9,%r2
	nop 2
;A_Tracer+288
	cmpwgtui.l %r5,%r5,2147483648
	cmovlsb %r9,%r5,%r9,%r2
;A_Tracer+304
	stw %r9,%r1,56
	nop 0
	nop 0
;A_Tracer+320
	lddz %r2,%r1,136
	lddzr %r5,finecosine
	srliw %r6,%r9,19
;A_Tracer+336
	ldws %r2,%r2,60
	ldwsx.xuw %r5,%r5,%r6,2,0
	mul %r5,%r5,%r2
;A_Tracer+352
	srli %r5,%r5,16
	stw %r5,%r1,112
	ldafr %r5,finesine
;A_Tracer+368
	ldwsx.xuw %r5,%r5,%r6,2,0
	mul %r2,%r5,%r2
	srli %r2,%r2,16
;A_Tracer+384
	stw %r2,%r1,116
	ldwz %r2,%r4,24
	ldwz %r5,%r1,24
;A_Tracer+400
	ldwz %r6,%r4,28
	ldwz %r7,%r1,28
	subws %r11,%r2,%r5
;A_Tracer+416
	subws %r12,%r6,%r7
	callr %r10,P_AproxDistance
	lddz %r2,%r1,136
;A_Tracer+432
	ldwz %r2,%r2,60
	divw %r2,%r11,%r2
	ldwz %r4,%r4,32
;A_Tracer+448
	ldwz %r5,%r1,32
	maxsw %r2,%r2,%r3
	subws %r3,%r4,%r5
;A_Tracer+464
	addiws.l %r3,%r3,2621440
	divw %r2,%r3,%r2
;A_Tracer+480
	ldwz %r3,%r1,120
	cmpwlt %r2,%r2,%r3
	ldi %r4,8192
;A_Tracer+496
	ldi %r5,-8192
	cmovlsb %r2,%r2,%r5,%r4
	addws %r2,%r2,%r3
;A_Tracer+512
	stw %r2,%r1,120
	retf 0
	nop 0
;A_SkelWhoosh
	alloc 6
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SkelWhoosh+48
;A_SkelWhoosh+16
	mov %r5,%r1
	callr %r4,A_FaceTarget
	ldi %r5,56
;A_SkelWhoosh+32
	mov %r4,%r1
	callr %r3,S_StartSound
	nop 0
;A_SkelWhoosh+48
	retf 0
	nop 0
	nop 0
;A_SkelFist
	alloc 9
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_SkelFist+144
;A_SkelFist+16
	mov %r8,%r1
	callr %r7,A_FaceTarget
	mov %r8,%r1
;A_SkelFist+32
	callr %r7,P_CheckMeleeRange
	bweq %r8,%gz,A_SkelFist+144
	callr %r7,P_Random
;A_SkelFist+48
	sraiw %r2,%r8,0
	muli.l %r2,%r2,1717986919
;A_SkelFist+64
	srli %r3,%r2,63
	srai %r2,%r2,34
	addws %r2,%r2,%r3
;A_SkelFist+80
	mulwsi %r2,%r2,10
	subws %r2,%r8,%r2
	mulwsi %r2,%r2,6
;A_SkelFist+96
	addiws %r2,%r2,6
	ldi %r8,53
	mov %r7,%r1
;A_SkelFist+112
	callr %r6,S_StartSound
	lddz %r5,%r1,176
	mov2 %r6,%r7,%r1,%r1
;A_SkelFist+128
	mov %r8,%r2
	callr %r4,P_DamageMobj
	nop 0
;A_SkelFist+144
	retf 0
	nop 0
	nop 0
;PIT_VileCheck
	alloc 9
	mov %r6,%r1
	ldbz %r2,%r1,162
;PIT_VileCheck+16
	ldi %r1,1
	bbci %r2,4,PIT_VileCheck+48
	ldwz %r2,%r6,144
;PIT_VileCheck+32
	bweqi %r2,-1,PIT_VileCheck+64
	nop 0
	nop 0
;PIT_VileCheck+48
	retf 0
	nop 0
	nop 0
;PIT_VileCheck+64
	lddz %r2,%r6,136
	ldwz %r3,%r2,88
	bweq %r3,%gz,PIT_VileCheck+48
;PIT_VileCheck+80
	ldwz %r2,%r2,64
	ldwzr %r3,mobjinfo+340
	ldwz %r7,%r6,24
;PIT_VileCheck+96
	ldwzr %r4,viletryx
	addws %r2,%r3,%r2
	absdw %r3,%r4,%r7
;PIT_VileCheck+112
	bwlt %r2,%r3,PIT_VileCheck+48
	ldwz %r8,%r6,28
	ldwzr %r3,viletryy
;PIT_VileCheck+128
	absdw %r3,%r3,%r8
	bwltu %r2,%r3,PIT_VileCheck+48
	stdr %r6,corpsehit
;PIT_VileCheck+144
	std %gz,%r6,112
	ldwz %r1,%r6,108
	slliw %r1,%r1,2
;PIT_VileCheck+160
	stw %r1,%r6,108
	callr %r5,P_CheckPosition
	lddzr %r1,corpsehit
;PIT_VileCheck+176
	ldwz %r2,%r1,108
	sraiw %r2,%r2,2
	stw %r2,%r1,108
;PIT_VileCheck+192
	cmpweqi %r1,%r6,0
	retf 0
	nop 0
;A_VileChase
	alloc 13
	ldwz %r2,%r1,168
	bweqi %r2,8,A_VileChase+160
;A_VileChase+16
	lddz %r3,%r1,136
	ldwz %r3,%r3,60
	ldafr %r4,xspeed
;A_VileChase+32
	ldwzx.xw %r4,%r4,%r2,2,0
	ldwz %r5,%r1,24
	mulws %r4,%r4,%r3
;A_VileChase+48
	addws %r4,%r4,%r5
	stwr %r4,viletryx
	ldafr %r5,yspeed
;A_VileChase+64
	ldwzx.xw %r2,%r5,%r2,2,0
	ldwz %r5,%r1,28
	ldwzr %r6,bmaporgx
;A_VileChase+80
	mulws %r2,%r2,%r3
	addws %r2,%r2,%r5
	stwr %r2,viletryy
;A_VileChase+96
	subws %r3,%r4,%r6
	addiws.l %r4,%r3,-4194304
;A_VileChase+112
	sraiw %r4,%r4,23
	addiws.l %r3,%r3,4194304
;A_VileChase+128
	sraiw %r6,%r3,23
	ldwzr %r3,bmaporgy
	stdr %r1,vileobj
;A_VileChase+144
	bwle %r4,%r6,A_VileChase+176
	nop 0
	nop 0
;A_VileChase+160
	mov %r12,%r1
	callr %r11,A_Chase
	retf 0
;A_VileChase+176
	subws %r2,%r2,%r3
	addiws.l %r3,%r2,-4194304
;A_VileChase+192
	sraiw %r7,%r3,23
	addiws.l %r2,%r2,4194304
;A_VileChase+208
	sraiw %r8,%r2,23
	ldar %r2,PIT_VileCheck
	jmp A_VileChase+240
;A_VileChase+224
	addiws %r4,%r3,1
	bwle %r6,%r3,A_VileChase+160
	nop 0
;A_VileChase+240
	mov2 %r3,%r5,%r4,%r7
	bwlt %r8,%r7,A_VileChase+224
	nop 0
;A_VileChase+256
	mov2 %r4,%r10,%r5,%r3
	mov2 %r11,%r12,%r5,%r2
	callr %r9,P_BlockThingsIterator
;A_VileChase+272
	bweq %r10,%gz,A_VileChase+304
	addiws %r5,%r4,1
	bwlt %r4,%r8,A_VileChase+256
;A_VileChase+288
	jmp A_VileChase+224
	nop 0
	nop 0
;A_VileChase+304
	lddzr %r2,corpsehit
	lddz %r3,%r1,176
	std %r2,%r1,176
;A_VileChase+320
	mov %r12,%r1
	callr %r11,A_FaceTarget
	std %r3,%r1,176
;A_VileChase+336
	ldi %r12,266
	mov %r11,%r1
	callr %r10,P_SetMobjState
;A_VileChase+352
	lddzr %r11,corpsehit
	ldi %r12,31
	callr %r10,S_StartSound
;A_VileChase+368
	lddzr %r11,corpsehit
	lddz %r2,%r11,136
	ldwz %r12,%r2,88
;A_VileChase+384
	callr %r10,P_SetMobjState
	lddzr %r1,corpsehit
	ldwz %r3,%r1,108
;A_VileChase+400
	slliw %r3,%r3,2
	stw %r3,%r1,108
	ldwz %r3,%r2,84
;A_VileChase+416
	stw %r3,%r1,160
	ldwz %r2,%r2,8
	stw %r2,%r1,164
;A_VileChase+432
	std %gz,%r1,176
	retf 0
	nop 0
;A_VileStart
	alloc 5
	ldi %r4,54
	mov %r3,%r1
;A_VileStart+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_StartFire
	alloc 5
	ldi %r4,92
	mov %r3,%r1
;A_StartFire+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Fire
;A_StartFire+32
	retf 0
	nop 0
	nop 0
;A_Fire
	alloc 9
	lddz %r2,%r1,216
	bdeq %r2,%gz,A_Fire+176
;A_Fire+16
	lddz %r8,%r1,176
	callr %r7,P_SubstNullMobj
	mov2 %r7,%r8,%r8,%r2
;A_Fire+32
	callr %r6,P_CheckSight
	bweq %r7,%gz,A_Fire+176
	ldwz %r3,%r2,56
;A_Fire+48
	srliw %r4,%r3,19
	mov %r8,%r1
	callr %r7,P_UnsetThingPosition
;A_Fire+64
	lddzr %r3,finecosine
	ldwsx.xuw %r3,%r3,%r4,2,0
	ldwz %r5,%r2,24
;A_Fire+80
	muli.l %r3,%r3,1572864
	srli %r3,%r3,16
;A_Fire+96
	addws %r3,%r5,%r3
	stw %r3,%r1,24
	ldafr %r3,finesine
;A_Fire+112
	ldwsx.xuw %r3,%r3,%r4,2,0
	ldwz %r4,%r2,28
	nop 2
;A_Fire+128
	muli.l %r3,%r3,1572864
	srli %r3,%r3,16
;A_Fire+144
	addws %r3,%r4,%r3
	stw %r3,%r1,28
	ldwz %r2,%r2,32
;A_Fire+160
	stw %r2,%r1,32
	mov %r8,%r1
	callr %r7,P_SetThingPosition
;A_Fire+176
	retf 0
	nop 0
	nop 0
;A_FireCrackle
	alloc 5
	ldi %r4,91
	mov %r3,%r1
;A_FireCrackle+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Fire
;A_FireCrackle+32
	retf 0
	nop 0
	nop 0
;A_VileTarget
	alloc 8
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_VileTarget+96
;A_VileTarget+16
	mov %r7,%r1
	callr %r6,A_FaceTarget
	lddz %r2,%r1,176
;A_VileTarget+32
	ldwz %r4,%r2,24
	ldwz %r6,%r2,32
	ldi %r7,4
;A_VileTarget+48
	mov %r5,%r4
	callr %r3,P_SpawnMobj
	std %r4,%r1,216
;A_VileTarget+64
	std %r1,%r4,176
	lddz %r1,%r1,176
	std %r1,%r4,216
;A_VileTarget+80
	mov %r7,%r4
	callr %r6,A_Fire
	nop 0
;A_VileTarget+96
	retf 0
	nop 0
	nop 0
;A_VileAttack
	alloc 11
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_VileAttack+256
;A_VileAttack+16
	mov %r10,%r1
	callr %r9,A_FaceTarget
	lddz %r10,%r1,176
;A_VileAttack+32
	mov %r9,%r1
	callr %r8,P_CheckSight
	bweq %r9,%gz,A_VileAttack+256
;A_VileAttack+48
	ldi %r10,82
	mov %r9,%r1
	callr %r8,S_StartSound
;A_VileAttack+64
	lddz %r7,%r1,176
	ldi %r10,20
	mov2 %r8,%r9,%r1,%r1
;A_VileAttack+80
	callr %r6,P_DamageMobj
	lddz %r2,%r1,176
	lddz %r3,%r2,136
;A_VileAttack+96
	ldwz %r3,%r3,72
	ldi %r4,65536000
	divw %r3,%r4,%r3
;A_VileAttack+112
	stw %r3,%r2,120
	lddz %r8,%r1,216
	bdeq %r8,%gz,A_VileAttack+256
;A_VileAttack+128
	ldwz %r3,%r1,56
	lddzr %r4,finecosine
	srliw %r3,%r3,19
;A_VileAttack+144
	ldwsx.xuw %r4,%r4,%r3,2,0
	ldwz %r5,%r2,24
	nop 2
;A_VileAttack+160
	muli.l %r4,%r4,1572864
	srli %r4,%r4,16
;A_VileAttack+176
	subws %r4,%r5,%r4
	stw %r4,%r8,24
	ldafr %r4,finesine
;A_VileAttack+192
	ldwsx.xuw %r3,%r4,%r3,2,0
	ldwz %r2,%r2,28
	nop 2
;A_VileAttack+208
	muli.l %r3,%r3,1572864
	srli %r3,%r3,16
;A_VileAttack+224
	subws %r2,%r2,%r3
	stw %r2,%r8,28
	ldi %r10,70
;A_VileAttack+240
	mov %r9,%r1
	callr %r7,P_RadiusAttack
	nop 0
;A_VileAttack+256
	retf 0
	nop 0
	nop 0
;A_FatRaise
	alloc 5
	mov %r4,%r1
	callr %r3,A_FaceTarget
;A_FatRaise+16
	ldi %r4,99
	mov %r3,%r1
	callr %r2,S_StartSound
;A_FatRaise+32
	retf 0
	nop 0
	nop 0
;A_FatAttack1
	alloc 8
	mov %r7,%r1
	callr %r6,A_FaceTarget
;A_FatAttack1+16
	ldwz %r2,%r1,56
	addiws.l %r2,%r2,134217728
;A_FatAttack1+32
	stw %r2,%r1,56
	lddz %r7,%r1,176
	callr %r6,P_SubstNullMobj
;A_FatAttack1+48
	mov %r2,%r7
	ldi %r3,9
	mov2 %r5,%r6,%r1,%r7
;A_FatAttack1+64
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	mov2 %r5,%r6,%r1,%r2
;A_FatAttack1+80
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	ldwz %r1,%r5,56
;A_FatAttack1+96
	addiws.l %r1,%r1,134217728
	stw %r1,%r5,56
;A_FatAttack1+112
	lddz %r2,%r5,136
	lddzr %r3,finecosine
	srliw %r1,%r1,19
;A_FatAttack1+128
	ldws %r2,%r2,60
	ldwsx.xuw %r3,%r3,%r1,2,0
	mul %r3,%r3,%r2
;A_FatAttack1+144
	srli %r3,%r3,16
	stw %r3,%r5,112
	ldafr %r3,finesine
;A_FatAttack1+160
	ldwsx.xuw %r1,%r3,%r1,2,0
	mul %r1,%r1,%r2
	srli %r1,%r1,16
;A_FatAttack1+176
	stw %r1,%r5,116
	retf 0
	nop 0
;A_FatAttack2
	alloc 8
	mov %r7,%r1
	callr %r6,A_FaceTarget
;A_FatAttack2+16
	ldwz %r2,%r1,56
	addiws.l %r2,%r2,-134217728
;A_FatAttack2+32
	stw %r2,%r1,56
	lddz %r7,%r1,176
	callr %r6,P_SubstNullMobj
;A_FatAttack2+48
	mov %r2,%r7
	ldi %r3,9
	mov2 %r5,%r6,%r1,%r7
;A_FatAttack2+64
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	mov2 %r5,%r6,%r1,%r2
;A_FatAttack2+80
	mov %r7,%r3
	callr %r4,P_SpawnMissile
	ldwz %r1,%r5,56
;A_FatAttack2+96
	addiws.l %r1,%r1,-268435456
	stw %r1,%r5,56
;A_FatAttack2+112
	lddz %r2,%r5,136
	lddzr %r3,finecosine
	srliw %r1,%r1,19
;A_FatAttack2+128
	ldws %r2,%r2,60
	ldwsx.xuw %r3,%r3,%r1,2,0
	mul %r3,%r3,%r2
;A_FatAttack2+144
	srli %r3,%r3,16
	stw %r3,%r5,112
	ldafr %r3,finesine
;A_FatAttack2+160
	ldwsx.xuw %r1,%r3,%r1,2,0
	mul %r1,%r1,%r2
	srli %r1,%r1,16
;A_FatAttack2+176
	stw %r1,%r5,116
	retf 0
	nop 0
;A_FatAttack3
	alloc 11
	mov %r10,%r1
	callr %r9,A_FaceTarget
;A_FatAttack3+16
	lddz %r10,%r1,176
	callr %r9,P_SubstNullMobj
	mov %r2,%r10
;A_FatAttack3+32
	ldi %r3,9
	mov2 %r8,%r9,%r1,%r10
	mov %r10,%r3
;A_FatAttack3+48
	callr %r7,P_SpawnMissile
	ldwz %r4,%r8,56
	nop 2
;A_FatAttack3+64
	addiws.l %r4,%r4,-67108864
	stw %r4,%r8,56
;A_FatAttack3+80
	lddz %r5,%r8,136
	lddzr %r6,finecosine
	srliw %r4,%r4,19
;A_FatAttack3+96
	ldws %r5,%r5,60
	ldwsx.xuw %r6,%r6,%r4,2,0
	mul %r6,%r6,%r5
;A_FatAttack3+112
	srli %r6,%r6,16
	stw %r6,%r8,112
	ldafr %r6,finesine
;A_FatAttack3+128
	ldwsx.xuw %r4,%r6,%r4,2,0
	mul %r4,%r4,%r5
	srli %r4,%r4,16
;A_FatAttack3+144
	stw %r4,%r8,116
	mov2 %r8,%r9,%r1,%r2
	mov %r10,%r3
;A_FatAttack3+160
	callr %r7,P_SpawnMissile
	ldwz %r1,%r8,56
	nop 2
;A_FatAttack3+176
	addiws.l %r1,%r1,67108864
	stw %r1,%r8,56
;A_FatAttack3+192
	lddz %r2,%r8,136
	lddzr %r3,finecosine
	srliw %r1,%r1,19
;A_FatAttack3+208
	ldws %r2,%r2,60
	ldwsx.xuw %r3,%r3,%r1,2,0
	mul %r3,%r3,%r2
;A_FatAttack3+224
	srli %r3,%r3,16
	stw %r3,%r8,112
	ldwsx.xuw %r1,%r6,%r1,2,0
;A_FatAttack3+240
	mul %r1,%r1,%r2
	srli %r1,%r1,16
	stw %r1,%r8,116
;A_FatAttack3+256
	retf 0
	nop 0
	nop 0
;A_SkullAttack
	alloc 10
	lddz %r3,%r1,176
	bdeq %r3,%gz,A_SkullAttack+272
;A_SkullAttack+16
	ldwz %r2,%r1,160
	ori.l %r2,%r2,16777216
;A_SkullAttack+32
	stw %r2,%r1,160
	lddz %r2,%r1,136
	ldwz %r9,%r2,24
;A_SkullAttack+48
	mov %r8,%r1
	callr %r7,S_StartSound
	mov %r9,%r1
;A_SkullAttack+64
	callr %r8,A_FaceTarget
	ldwz %r2,%r1,56
	lddzr %r4,finecosine
;A_SkullAttack+80
	srliw %r2,%r2,19
	ldwsx.xuw %r4,%r4,%r2,2,0
	nop 2
;A_SkullAttack+96
	muli.l %r4,%r4,1310720
	srli %r4,%r4,16
;A_SkullAttack+112
	stw %r4,%r1,112
	ldafr %r4,finesine
	ldwsx.xuw %r2,%r4,%r2,2,0
;A_SkullAttack+128
	muli.l %r2,%r2,1310720
	srli %r2,%r2,16
;A_SkullAttack+144
	stw %r2,%r1,116
	ldwz %r2,%r3,24
	ldwz %r4,%r1,24
;A_SkullAttack+160
	ldwz %r5,%r3,28
	ldwz %r6,%r1,28
	subws %r8,%r2,%r4
;A_SkullAttack+176
	subws %r9,%r5,%r6
	callr %r7,P_AproxDistance
	sraiw %r2,%r8,0
;A_SkullAttack+192
	muli.l %r2,%r2,1717986919
	srli %r4,%r2,63
;A_SkullAttack+208
	srai %r2,%r2,51
	addws %r2,%r2,%r4
	ldi %r4,1
;A_SkullAttack+224
	ldwz %r5,%r3,108
	ldwz %r3,%r3,32
	ldwz %r6,%r1,32
;A_SkullAttack+240
	maxsw %r2,%r2,%r4
	sraiw %r4,%r5,1
	addws %r3,%r4,%r3
;A_SkullAttack+256
	subws %r3,%r3,%r6
	divw %r2,%r3,%r2
	stw %r2,%r1,120
;A_SkullAttack+272
	retf 0
	nop 0
	nop 0
;A_PainShootSkull
	alloc 13
	lddzr %r3,thinkercap+8
	ldafr %r4,thinkercap
;A_PainShootSkull+16
	bdeq %r3,%r4,A_PainShootSkull+112
	mov %r5,%gz
	ldar %r6,P_MobjThinker
;A_PainShootSkull+32
	jmp A_PainShootSkull+64
	nop 0
	nop 0
;A_PainShootSkull+48
	lddz %r3,%r3,8
	bdeq %r3,%r4,A_PainShootSkull+96
	nop 0
;A_PainShootSkull+64
	lddz %r7,%r3,16
	bdne %r7,%r6,A_PainShootSkull+48
	ldwz %r7,%r3,128
;A_PainShootSkull+80
	cmpweqi %r7,%r7,18
	addws %r5,%r5,%r7
	jmp A_PainShootSkull+48
;A_PainShootSkull+96
	bwgei %r5,21,A_PainShootSkull+304
	nop 0
	nop 0
;A_PainShootSkull+112
	lddz %r3,%r1,136
	ldwz %r3,%r3,64
	ldwzr %r4,mobjinfo+1720
;A_PainShootSkull+128
	srliw %r2,%r2,19
	addws %r3,%r4,%r3
	lddzr %r4,finecosine
;A_PainShootSkull+144
	mulwsi %r3,%r3,3
	srliw %r5,%r3,31
	addws %r3,%r3,%r5
;A_PainShootSkull+160
	ldwsx.xuw %r4,%r4,%r2,2,0
	sraiw %r3,%r3,1
	ldwz %r5,%r1,24
;A_PainShootSkull+176
	addiws %r3,%r3,262144
	mul %r4,%r3,%r4
	srli %r4,%r4,16
;A_PainShootSkull+192
	ldafr %r6,finesine
	ldwsx.xuw %r2,%r6,%r2,2,0
	addws %r9,%r5,%r4
;A_PainShootSkull+208
	ldwz %r4,%r1,28
	ldwz %r5,%r1,32
	mul %r2,%r2,%r3
;A_PainShootSkull+224
	srli %r2,%r2,16
	addws %r10,%r4,%r2
	addiws %r11,%r5,524288
;A_PainShootSkull+240
	ldi %r12,18
	callr %r8,P_SpawnMobj
	mov %r2,%r9
;A_PainShootSkull+256
	ldwz %r11,%r9,24
	ldwz %r12,%r9,28
	mov %r10,%r9
;A_PainShootSkull+272
	callr %r9,P_TryMove
	bweq %r10,%gz,A_PainShootSkull+320
	lddz %r1,%r1,176
;A_PainShootSkull+288
	std %r1,%r2,176
	mov %r12,%r2
	callr %r11,A_SkullAttack
;A_PainShootSkull+304
	retf 0
	nop 0
	nop 0
;A_PainShootSkull+320
	ldi %r12,10000
	mov2 %r9,%r10,%r2,%r1
	mov %r11,%r1
;A_PainShootSkull+336
	callr %r8,P_DamageMobj
	retf 0
	nop 0
;A_PainAttack
	alloc 6
	lddz %r2,%r1,176
	bdeq %r2,%gz,A_PainAttack+48
;A_PainAttack+16
	mov %r5,%r1
	callr %r4,A_FaceTarget
	ldwz %r5,%r1,56
;A_PainAttack+32
	mov %r4,%r1
	callr %r3,A_PainShootSkull
	nop 0
;A_PainAttack+48
	retf 0
	nop 0
	nop 0
;A_PainDie
	alloc 6
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
;A_PainDie+16
	stw %r2,%r1,160
	ldwz %r2,%r1,56
	nop 2
;A_PainDie+32
	addiws.l %r5,%r2,1073741824
	mov %r4,%r1
;A_PainDie+48
	callr %r3,A_PainShootSkull
	ldwz %r2,%r1,56
	nop 2
;A_PainDie+64
	xori.l %r5,%r2,-2147483648
	mov %r4,%r1
;A_PainDie+80
	callr %r3,A_PainShootSkull
	ldwz %r2,%r1,56
	nop 2
;A_PainDie+96
	addiws.l %r5,%r2,-1073741824
	mov %r4,%r1
;A_PainDie+112
	callr %r3,A_PainShootSkull
	retf 0
	nop 0
;A_Scream
	alloc 7
	lddz %r2,%r1,136
	ldwz %r6,%r2,56
;A_Scream+16
	addiws %r2,%r6,-59
	bwltui %r2,3,A_Scream+80
	addiws %r2,%r6,-62
;A_Scream+32
	bwgeui %r2,2,A_Scream+144
	callr %r5,P_Random
	srliw %r2,%r6,31
;A_Scream+48
	addws %r2,%r6,%r2
	andi %r2,%r2,-2
	subws %r2,%r6,%r2
;A_Scream+64
	addiws %r6,%r2,62
	jmp A_Scream+160
	nop 0
;A_Scream+80
	callr %r5,P_Random
	sraiw %r2,%r6,0
	nop 2
;A_Scream+96
	muli.l %r2,%r2,1431655766
	srli %r3,%r2,63
;A_Scream+112
	srli %r2,%r2,32
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,3
;A_Scream+128
	subws %r2,%r6,%r2
	addiws %r6,%r2,59
	jmp A_Scream+160
;A_Scream+144
	bweq %r6,%gz,A_Scream+224
	nop 0
	nop 0
;A_Scream+160
	ldwz %r2,%r1,128
	bweqi %r2,19,A_Scream+192
	mov %r5,%gz
;A_Scream+176
	bweqi %r2,21,A_Scream+208
	mov %r5,%r1
	jmp A_Scream+208
;A_Scream+192
	mov %r5,%gz
	nop 0
	nop 0
;A_Scream+208
	callr %r4,S_StartSound
	nop 0
	nop 0
;A_Scream+224
	retf 0
	nop 0
	nop 0
;A_XScream
	alloc 5
	ldi %r4,31
	mov %r3,%r1
;A_XScream+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_Pain
	alloc 6
	lddz %r2,%r1,136
	ldwz %r5,%r2,36
;A_Pain+16
	bweq %r5,%gz,A_Pain+32
	mov %r4,%r1
	callr %r3,S_StartSound
;A_Pain+32
	retf 0
	nop 0
	nop 0
;A_Explode
	alloc 6
	lddz %r4,%r1,176
	ldi %r5,128
;A_Explode+16
	mov %r3,%r1
	callr %r2,P_RadiusAttack
	retf 0
;A_BossDeath
	allocsp 12,96
	ldwzr %r2,gamemode
	bwnei %r2,2,A_BossDeath+64
;A_BossDeath+16
	ldwzr %r3,gamemap
	bwnei %r3,7,A_BossDeath+416
	ldwz %r3,%r1,128
;A_BossDeath+32
	ldi %r4,7
	bweqi %r3,8,A_BossDeath+336
	bweqi %r3,20,A_BossDeath+336
;A_BossDeath+48
	jmp A_BossDeath+416
	nop 0
	nop 0
;A_BossDeath+64
	ldwzr %r4,gameversion
	ldwz %r3,%r1,128
	bwgeui %r4,6,A_BossDeath+128
;A_BossDeath+80
	ldwzr %r4,gamemap
	bwnei %r4,8,A_BossDeath+416
	ldi %r4,8
;A_BossDeath+96
	bwnei %r3,15,A_BossDeath+336
	ldwzr %r5,gameepisode
	bwnei %r5,1,A_BossDeath+416
;A_BossDeath+112
	jmp A_BossDeath+336
	nop 0
	nop 0
;A_BossDeath+128
	ldwzr %r5,gameepisode
	addiws %r6,%r5,-1
	ldwzr %r4,gamemap
;A_BossDeath+144
	bwgeui %r6,4,A_BossDeath+304
	addiwz %r5,%r5,-1
	ldafr %r6,.rodata+35784
;A_BossDeath+160
	jmpt %r6,%r5
	nop 0
	nop 0
;A_BossDeath+176
	bwnei %r3,15,A_BossDeath+416
	bwnei %r4,8,A_BossDeath+416
	ldi %r3,15
;A_BossDeath+192
	jmp A_BossDeath+320
	nop 0
	nop 0
;A_BossDeath+208
	bwnei %r3,21,A_BossDeath+240
	bwnei %r4,6,A_BossDeath+240
	ldi %r3,21
;A_BossDeath+224
	ldi %r4,6
	jmp A_BossDeath+336
	nop 0
;A_BossDeath+240
	bwnei %r3,19,A_BossDeath+416
	bwnei %r4,8,A_BossDeath+416
	ldi %r3,19
;A_BossDeath+256
	jmp A_BossDeath+320
	nop 0
	nop 0
;A_BossDeath+272
	bwnei %r3,21,A_BossDeath+416
	bwnei %r4,8,A_BossDeath+416
	ldi %r3,21
;A_BossDeath+288
	jmp A_BossDeath+320
	nop 0
	nop 0
;A_BossDeath+304
	bwnei %r4,8,A_BossDeath+416
	nop 0
	nop 0
;A_BossDeath+320
	ldi %r4,8
	nop 0
	nop 0
;A_BossDeath+336
	mov %r5,%gz
	ldafr %r6,players+44
	ldafr %r7,playeringame
;A_BossDeath+352
	jmp A_BossDeath+384
	nop 0
	nop 0
;A_BossDeath+368
	addi %r5,%r5,4
	addi %r6,%r6,328
	bdeqi %r5,16,A_BossDeath+416
;A_BossDeath+384
	ldwzx.xd %r8,%r5,%r7,0,0
	bweq %r8,%gz,A_BossDeath+368
	ldwz %r8,%r6,0
;A_BossDeath+400
	bwle %r8,%gz,A_BossDeath+368
	bdnei %r5,16,A_BossDeath+432
	nop 0
;A_BossDeath+416
	retf 96
	nop 0
	nop 0
;A_BossDeath+432
	lddzr %r5,thinkercap+8
	ldafr %r6,thinkercap
	bdeq %r5,%r6,A_BossDeath+528
;A_BossDeath+448
	ldar %r7,P_MobjThinker
	jmp A_BossDeath+480
	nop 0
;A_BossDeath+464
	lddz %r5,%r5,8
	bdeq %r5,%r6,A_BossDeath+528
	nop 0
;A_BossDeath+480
	bdeq %r5,%r1,A_BossDeath+464
	lddz %r8,%r5,16
	bdne %r8,%r7,A_BossDeath+464
;A_BossDeath+496
	ldwz %r8,%r5,128
	bwne %r8,%r3,A_BossDeath+464
	ldwz %r8,%r5,164
;A_BossDeath+512
	bwle %r8,%gz,A_BossDeath+464
	jmp A_BossDeath+416
	nop 0
;A_BossDeath+528
	bwnei %r2,2,A_BossDeath+560
	bweqi %r3,20,A_BossDeath+592
	bweqi %r3,8,A_BossDeath+672
;A_BossDeath+544
	jmp A_BossDeath+704
	nop 0
	nop 0
;A_BossDeath+560
	ldwzr %r1,gameepisode
	bweqi %r1,4,A_BossDeath+624
	bweqi %r1,1,A_BossDeath+672
;A_BossDeath+576
	jmp A_BossDeath+704
	nop 0
	nop 0
;A_BossDeath+592
	ldi %r1,667
	sth %r1,%sp,36
	addi %r10,%sp,8
;A_BossDeath+608
	ldi %r11,5
	callr %r9,EV_DoFloor
	retf 96
;A_BossDeath+624
	bweqi %r4,8,A_BossDeath+672
	bwnei %r4,6,A_BossDeath+704
	ldi %r1,666
;A_BossDeath+640
	sth %r1,%sp,36
	addi %r10,%sp,8
	ldi %r11,6
;A_BossDeath+656
	callr %r9,EV_DoDoor
	retf 96
	nop 0
;A_BossDeath+672
	ldi %r1,666
	sth %r1,%sp,36
	addi %r10,%sp,8
;A_BossDeath+688
	ldi %r11,1
	callr %r9,EV_DoFloor
	retf 96
;A_BossDeath+704
	callr %r11,G_ExitLevel
	retf 96
	nop 0
;A_Hoof
	alloc 5
	ldi %r4,84
	mov %r3,%r1
;A_Hoof+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Chase
;A_Hoof+32
	retf 0
	nop 0
	nop 0
;A_Metal
	alloc 5
	ldi %r4,85
	mov %r3,%r1
;A_Metal+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Chase
;A_Metal+32
	retf 0
	nop 0
	nop 0
;A_BabyMetal
	alloc 5
	ldi %r4,79
	mov %r3,%r1
;A_BabyMetal+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_Chase
;A_BabyMetal+32
	retf 0
	nop 0
	nop 0
;A_OpenShotgun2
	alloc 5
	lddz %r3,%r1,0
	ldi %r4,5
;A_OpenShotgun2+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_LoadShotgun2
	alloc 5
	lddz %r3,%r1,0
	ldi %r4,7
;A_LoadShotgun2+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;A_CloseShotgun2
	alloc 6
	lddz %r4,%r1,0
	ldi %r5,6
;A_CloseShotgun2+16
	callr %r3,S_StartSound
	mov2 %r4,%r5,%r1,%r2
	callr %r3,A_ReFire
;A_CloseShotgun2+32
	retf 0
	nop 0
	nop 0
;A_BrainAwake
	alloc 10
	lddzr %r1,thinkercap+8
	stwr %gz,numbraintargets
;A_BrainAwake+16
	ldafr %r2,thinkercap
	stwr %gz,braintargeton
	bdeq %r1,%r2,A_BrainAwake+128
;A_BrainAwake+32
	mov %r3,%gz
	ldar %r4,P_MobjThinker
	ldafr %r5,braintargets
;A_BrainAwake+48
	jmp A_BrainAwake+80
	nop 0
	nop 0
;A_BrainAwake+64
	lddz %r1,%r1,8
	bdeq %r1,%r2,A_BrainAwake+128
	nop 0
;A_BrainAwake+80
	lddz %r6,%r1,16
	bdne %r6,%r4,A_BrainAwake+64
	ldwz %r6,%r1,128
;A_BrainAwake+96
	bwnei %r6,27,A_BrainAwake+64
	stdx.xw %r1,%r5,%r3,3,0
	addiws %r3,%r3,1
;A_BrainAwake+112
	stwr %r3,numbraintargets
	jmp A_BrainAwake+64
	nop 0
;A_BrainAwake+128
	ldi %r9,96
	mov %r8,%gz
	callr %r7,S_StartSound
;A_BrainAwake+144
	retf 0
	nop 0
	nop 0
;A_BrainPain
	alloc 4
	ldi %r3,97
	mov %r2,%gz
;A_BrainPain+16
	callr %r1,S_StartSound
	retf 0
	nop 0
;A_BrainScream
	alloc 14
	ldwz %r2,%r1,24
	nop 2
;A_BrainScream+16
	addiws.l %r5,%r2,-12845056
	ldi %r6,128
;A_BrainScream+32
	ldi %r2,33
	ldi %r3,799
	ldi %r7,1
;A_BrainScream+48
	ldwz %r8,%r1,28
	mov %r4,%r5
	nop 2
;A_BrainScream+64
	addiws.l %r11,%r8,-20971520
	callr %r12,P_Random
;A_BrainScream+80
	slor %r12,%r6,%r13,17
	mov2 %r10,%r13,%r5,%r2
	callr %r9,P_SpawnMobj
;A_BrainScream+96
	callr %r12,P_Random
	slliw %r5,%r13,9
	stw %r5,%r10,120
;A_BrainScream+112
	mov2 %r12,%r13,%r10,%r3
	callr %r11,P_SetMobjState
	callr %r12,P_Random
;A_BrainScream+128
	ldwz %r5,%r10,144
	andi %r8,%r13,7
	subws %r5,%r5,%r8
;A_BrainScream+144
	maxsw %r5,%r5,%r7
	stw %r5,%r10,144
	ldwz %r5,%r1,24
;A_BrainScream+160
	addiws.l %r8,%r5,20447232
	addiws %r5,%r4,524288
;A_BrainScream+176
	bwlt %r4,%r8,A_BrainScream+48
	ldi %r13,98
	mov %r12,%gz
;A_BrainScream+192
	callr %r11,S_StartSound
	retf 0
	nop 0
;A_BrainExplode
	alloc 10
	ldwz %r4,%r1,24
	callr %r8,P_Random
;A_BrainExplode+16
	mov %r2,%r9
	callr %r8,P_Random
	subws %r2,%r2,%r9
;A_BrainExplode+32
	sladdws %r6,%r4,%r2,11
	ldwz %r7,%r1,28
	callr %r8,P_Random
;A_BrainExplode+48
	ldi %r1,128
	slor %r8,%r1,%r9,17
	ldi %r9,33
;A_BrainExplode+64
	callr %r5,P_SpawnMobj
	callr %r8,P_Random
	slliw %r1,%r9,9
;A_BrainExplode+80
	stw %r1,%r6,120
	ldi %r9,799
	mov %r8,%r6
;A_BrainExplode+96
	callr %r7,P_SetMobjState
	callr %r8,P_Random
	ldwz %r1,%r6,144
;A_BrainExplode+112
	andi %r2,%r9,7
	subws %r1,%r1,%r2
	ldi %r2,1
;A_BrainExplode+128
	maxsw %r1,%r1,%r2
	stw %r1,%r6,144
	retf 0
;A_BrainDie
	alloc 2
	callr %r1,G_ExitLevel
	retf 0
;A_BrainSpit
	alloc 9
	ldwzr %r2,A_BrainSpit.easy
	ldwzr %r3,gameskill
;A_BrainSpit+16
	xori %r4,%r2,1
	stwr %r4,A_BrainSpit.easy
	bwgei %r3,2,A_BrainSpit+48
;A_BrainSpit+32
	bwnei %r2,1,A_BrainSpit+48
	retf 0
	nop 0
;A_BrainSpit+48
	ldwzr %r3,braintargeton
	ldwzr %r4,numbraintargets
	ldafr %r2,braintargets
;A_BrainSpit+64
	lddzx.xw %r2,%r2,%r3,3,0
	addiws %r3,%r3,1
	modw %r3,%r3,%r4
;A_BrainSpit+80
	stwr %r3,braintargeton
	ldi %r8,28
	mov2 %r6,%r7,%r1,%r2
;A_BrainSpit+96
	callr %r5,P_SpawnMissile
	std %r2,%r6,176
	ldwz %r2,%r2,28
;A_BrainSpit+112
	ldwz %r1,%r1,28
	ldwz %r3,%r6,116
	subws %r1,%r2,%r1
;A_BrainSpit+128
	divw %r1,%r1,%r3
	lddz %r2,%r6,152
	ldwz %r2,%r2,8
;A_BrainSpit+144
	divw %r1,%r1,%r2
	stw %r1,%r6,184
	ldi %r8,94
;A_BrainSpit+160
	mov %r7,%gz
	callr %r6,S_StartSound
	retf 0
;A_SpawnSound
	alloc 5
	ldi %r4,95
	mov %r3,%r1
;A_SpawnSound+16
	callr %r2,S_StartSound
	mov %r4,%r1
	callr %r3,A_SpawnFly
;A_SpawnSound+32
	retf 0
	nop 0
	nop 0
;A_SpawnFly
	alloc 11
	ldwz %r2,%r1,184
	addiws %r2,%r2,-1
;A_SpawnFly+16
	stw %r2,%r1,184
	bweq %r2,%gz,A_SpawnFly+32
	retf 0
;A_SpawnFly+32
	lddz %r10,%r1,176
	callr %r9,P_SubstNullMobj
	mov %r2,%r10
;A_SpawnFly+48
	ldwz %r7,%r10,24
	ldwz %r8,%r10,28
	ldwz %r9,%r10,32
;A_SpawnFly+64
	ldi %r10,29
	callr %r6,P_SpawnMobj
	ldi %r10,35
;A_SpawnFly+80
	mov %r9,%r7
	callr %r8,S_StartSound
	callr %r9,P_Random
;A_SpawnFly+96
	bwgei %r10,50,A_SpawnFly+112
	ldi %r10,11
	jmp A_SpawnFly+272
;A_SpawnFly+112
	bwgeui %r10,90,A_SpawnFly+128
	ldi %r10,12
	jmp A_SpawnFly+272
;A_SpawnFly+128
	bwgeui %r10,120,A_SpawnFly+144
	ldi %r10,13
	jmp A_SpawnFly+272
;A_SpawnFly+144
	bwgeui %r10,130,A_SpawnFly+160
	ldi %r10,22
	jmp A_SpawnFly+272
;A_SpawnFly+160
	bwgeui %r10,160,A_SpawnFly+176
	ldi %r10,14
	jmp A_SpawnFly+272
;A_SpawnFly+176
	bwgeui %r10,162,A_SpawnFly+192
	ldi %r10,3
	jmp A_SpawnFly+272
;A_SpawnFly+192
	bwgeui %r10,172,A_SpawnFly+208
	ldi %r10,5
	jmp A_SpawnFly+272
;A_SpawnFly+208
	bwgeui %r10,192,A_SpawnFly+224
	ldi %r10,20
	jmp A_SpawnFly+272
;A_SpawnFly+224
	bwgeui %r10,222,A_SpawnFly+240
	ldi %r10,8
	jmp A_SpawnFly+272
;A_SpawnFly+240
	cmpwltui %r3,%r10,246
	ldi %r4,15
	ldi %r5,17
;A_SpawnFly+256
	cmovlsb %r10,%r3,%r5,%r4
	nop 0
	nop 0
;A_SpawnFly+272
	ldwz %r7,%r2,24
	ldwz %r8,%r2,28
	ldwz %r9,%r2,32
;A_SpawnFly+288
	callr %r6,P_SpawnMobj
	ldi %r10,1
	mov %r9,%r7
;A_SpawnFly+304
	callr %r8,P_LookForPlayers
	bweq %r9,%gz,A_SpawnFly+336
	lddz %r2,%r7,136
;A_SpawnFly+320
	ldwz %r10,%r2,12
	mov %r9,%r7
	callr %r8,P_SetMobjState
;A_SpawnFly+336
	ldwz %r9,%r7,24
	ldwz %r10,%r7,28
	mov %r8,%r7
;A_SpawnFly+352
	callr %r7,P_TeleportMove
	mov %r10,%r1
	callr %r9,P_RemoveMobj
;A_SpawnFly+368
	retf 0
	nop 0
	nop 0
;A_PlayerScream
	alloc 8
	ldwzr %r2,gamemode
	bwnei %r2,2,A_PlayerScream+48
;A_PlayerScream+16
	ldwz %r2,%r1,164
	cmpwlti %r2,%r2,-50
	ldi %r3,57
;A_PlayerScream+32
	ldi %r4,58
	cmovlsb %r7,%r2,%r4,%r3
	jmp A_PlayerScream+64
;A_PlayerScream+48
	ldi %r7,57
	nop 0
	nop 0
;A_PlayerScream+64
	mov %r6,%r1
	callr %r5,S_StartSound
	retf 0
;T_MovePlane
	alloc 10
	bweqi %r5,1,T_MovePlane+80
	bwne %r5,%gz,T_MovePlane+336
;T_MovePlane+16
	bweqi %r6,1,T_MovePlane+144
	bwnei %r6,-1,T_MovePlane+336
	ldwz %r5,%r1,0
;T_MovePlane+32
	subws %r2,%r5,%r2
	bwlt %r2,%r3,T_MovePlane+160
	stw %r2,%r1,0
;T_MovePlane+48
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
	bwnei %r8,1,T_MovePlane+336
;T_MovePlane+64
	jmp T_MovePlane+368
	nop 0
	nop 0
;T_MovePlane+80
	bweqi %r6,1,T_MovePlane+208
	bwnei %r6,-1,T_MovePlane+336
	ldwz %r5,%r1,4
;T_MovePlane+96
	subws %r2,%r5,%r2
	bwlt %r2,%r3,T_MovePlane+224
	stw %r2,%r1,4
;T_MovePlane+112
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
	bwnei %r8,1,T_MovePlane+336
;T_MovePlane+128
	bwnei %r4,1,T_MovePlane+384
	ldi %r1,1
	retf 0
;T_MovePlane+144
	ldwz %r5,%r1,0
	addws %r2,%r5,%r2
	bwle %r2,%r3,T_MovePlane+288
;T_MovePlane+160
	stw %r3,%r1,0
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
;T_MovePlane+176
	bwnei %r8,1,T_MovePlane+272
	stw %r5,%r1,0
	ldi %r2,2
;T_MovePlane+192
	jmp T_MovePlane+416
	nop 0
	nop 0
;T_MovePlane+208
	ldwz %r5,%r1,4
	addws %r6,%r5,%r2
	bwle %r6,%r3,T_MovePlane+352
;T_MovePlane+224
	stw %r3,%r1,4
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
;T_MovePlane+240
	bwnei %r8,1,T_MovePlane+272
	stw %r5,%r1,4
	ldi %r2,2
;T_MovePlane+256
	jmp T_MovePlane+416
	nop 0
	nop 0
;T_MovePlane+272
	ldi %r1,2
	retf 0
	nop 0
;T_MovePlane+288
	stw %r2,%r1,0
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
;T_MovePlane+304
	bwnei %r8,1,T_MovePlane+336
	bwnei %r4,1,T_MovePlane+368
	ldi %r1,1
;T_MovePlane+320
	retf 0
	nop 0
	nop 0
;T_MovePlane+336
	mov %r1,%gz
	retf 0
	nop 0
;T_MovePlane+352
	mov %r2,%gz
	stw %r6,%r1,4
	jmp T_MovePlane+416
;T_MovePlane+368
	stw %r5,%r1,0
	jmp T_MovePlane+400
	nop 0
;T_MovePlane+384
	stw %r5,%r1,4
	nop 0
	nop 0
;T_MovePlane+400
	ldi %r2,1
	nop 0
	nop 0
;T_MovePlane+416
	mov2 %r8,%r9,%r1,%r4
	callr %r7,P_ChangeSector
	mov %r1,%r2
;T_MovePlane+432
	retf 0
	nop 0
	nop 0
;T_MoveFloor
	alloc 11
	lddz %r5,%r1,32
	ldwz %r6,%r1,56
;T_MoveFloor+16
	ldwz %r7,%r1,52
	ldwz %r8,%r1,28
	ldwz %r10,%r1,40
;T_MoveFloor+32
	mov %r9,%gz
	callr %r4,T_MovePlane
	ldbzr %r2,leveltime
;T_MoveFloor+48
	andi %r2,%r2,7
	bweq %r2,%gz,T_MoveFloor+80
	bweqi %r5,2,T_MoveFloor+112
;T_MoveFloor+64
	retf 0
	nop 0
	nop 0
;T_MoveFloor+80
	lddz %r2,%r1,32
	addi %r9,%r2,48
	ldi %r10,22
;T_MoveFloor+96
	callr %r8,S_StartSound
	bwnei %r5,2,T_MoveFloor+64
	nop 0
;T_MoveFloor+112
	lddz %r2,%r1,32
	std %gz,%r2,104
	ldwz %r3,%r1,40
;T_MoveFloor+128
	bweqi %r3,-1,T_MoveFloor+240
	bwnei %r3,1,T_MoveFloor+192
	ldwz %r3,%r1,24
;T_MoveFloor+144
	bwnei %r3,11,T_MoveFloor+192
	nop 0
	nop 0
;T_MoveFloor+160
	ldwz %r3,%r1,44
	sth %r3,%r2,14
	ldhz %r3,%r1,48
;T_MoveFloor+176
	sth %r3,%r2,8
	nop 0
	nop 0
;T_MoveFloor+192
	mov %r10,%r1
	callr %r9,P_RemoveThinker
	lddz %r1,%r1,32
;T_MoveFloor+208
	addi %r9,%r1,48
	ldi %r10,19
	callr %r8,S_StartSound
;T_MoveFloor+224
	retf 0
	nop 0
	nop 0
;T_MoveFloor+240
	ldwz %r3,%r1,24
	bweqi %r3,6,T_MoveFloor+160
	jmp T_MoveFloor+192
;EV_DoFloor
	alloc 25
	cmpweqi %r3,%r2,9
	ldi %r4,-524288
;EV_DoFloor+16
	mov2 %r9,%r1,%r1,%gz
	cmovlsb %r11,%r3,%r4,%gz
	ldi %r12,-1
;EV_DoFloor+32
	ldi %r3,64
	ldi %r4,6
	ldar %r13,T_MoveFloor
;EV_DoFloor+48
	ldi %r5,1
	srliw %r14,%r2,0
	ldafr %r15,.rodata+35800
;EV_DoFloor+64
	ldi %r16,65536
	ldi %r17,262144
	nop 2
;EV_DoFloor+80
	ldi.l %r18,2147483647
	mov %r6,%r12
;EV_DoFloor+96
	mov2 %r23,%r24,%r9,%r6
	callr %r22,P_FindSectorFromLineTag
	bwlt %r23,%gz,EV_DoFloor+1184
;EV_DoFloor+112
	mov %r6,%r23
	lddzr %r7,sectors
	ldax.xuw %r8,%r7,%r23,7,0
;EV_DoFloor+128
	lddzx.xuw %r7,%r7,%r23,7,104
	bdne %r7,%gz,EV_DoFloor+96
	mov2 %r22,%r23,%r3,%r4
;EV_DoFloor+144
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov2 %r7,%r24,%r22,%r22
;EV_DoFloor+160
	callr %r23,P_AddThinker
	std %r22,%r8,104
	std %r13,%r22,16
;EV_DoFloor+176
	stw %r2,%r22,24
	stw %gz,%r22,28
	mov %r1,%r5
;EV_DoFloor+192
	bwgeui %r2,13,EV_DoFloor+96
	mov %r1,%r5
	jmpt %r15,%r14
;EV_DoFloor+208
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+224
	mov %r24,%r8
	callr %r23,P_FindHighestFloorSurrounding
	jmp EV_DoFloor+528
;EV_DoFloor+240
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+256
	ldwz %r1,%r8,0
	addiws.l %r1,%r1,33554432
;EV_DoFloor+272
	jmp EV_DoFloor+1136
	nop 0
	nop 0
;EV_DoFloor+288
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+304
	jmp EV_DoFloor+960
	nop 0
	nop 0
;EV_DoFloor+320
	stw %r5,%r7,28
	nop 0
	nop 0
;EV_DoFloor+336
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+352
	mov %r24,%r8
	callr %r23,P_FindLowestCeilingSurrounding
	ldwz %r1,%r8,4
;EV_DoFloor+368
	minsw %r1,%r24,%r1
	addws %r1,%r1,%r11
	jmp EV_DoFloor+1136
;EV_DoFloor+384
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r17,%r7,56
;EV_DoFloor+400
	mov %r24,%r8
	callr %r23,P_FindHighestFloorSurrounding
	stw %r24,%r7,52
;EV_DoFloor+416
	ldwz %r8,%r8,0
	mov %r1,%r5
	bweq %r24,%r8,EV_DoFloor+96
;EV_DoFloor+432
	addiws %r1,%r24,524288
	jmp EV_DoFloor+1136
	nop 0
;EV_DoFloor+448
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+464
	ldwz %r1,%r8,0
	addiws.l %r1,%r1,1572864
;EV_DoFloor+480
	jmp EV_DoFloor+1136
	nop 0
	nop 0
;EV_DoFloor+496
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+512
	mov %r24,%r8
	callr %r23,P_FindLowestFloorSurrounding
	nop 0
;EV_DoFloor+528
	stw %r24,%r7,52
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+544
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+560
	ldwz %r1,%r8,112
	bwlti %r1,1,EV_DoFloor+1104
	mov2 %r1,%r19,%gz,%r18
;EV_DoFloor+576
	jmp EV_DoFloor+608
	nop 0
	nop 0
;EV_DoFloor+592
	ldwz %r10,%r8,112
	addiws %r1,%r1,1
	bwle %r10,%r1,EV_DoFloor+1072
;EV_DoFloor+608
	mov2 %r23,%r24,%r6,%r1
	callr %r22,twoSided
	bweq %r23,%gz,EV_DoFloor+592
;EV_DoFloor+624
	mov2 %r22,%r23,%r6,%r1
	mov %r24,%gz
	callr %r21,getSide
;EV_DoFloor+640
	ldhs %r10,%r22,10
	bdlt %r10,%gz,EV_DoFloor+672
	lddzr %r20,textureheight
;EV_DoFloor+656
	ldwzx.xd %r10,%r20,%r10,2,0
	minsw %r19,%r10,%r19
	nop 0
;EV_DoFloor+672
	mov2 %r22,%r23,%r6,%r1
	mov %r24,%r5
	callr %r21,getSide
;EV_DoFloor+688
	ldhs %r10,%r22,10
	bdlt %r10,%gz,EV_DoFloor+592
	lddzr %r20,textureheight
;EV_DoFloor+704
	ldwzx.xd %r10,%r20,%r10,2,0
	minsw %r19,%r10,%r19
	jmp EV_DoFloor+592
;EV_DoFloor+720
	stw %r12,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+736
	mov %r24,%r8
	callr %r23,P_FindLowestFloorSurrounding
	stw %r24,%r7,52
;EV_DoFloor+752
	ldhz %r1,%r8,8
	sth %r1,%r7,48
	ldwz %r10,%r8,112
;EV_DoFloor+768
	mov %r1,%r5
	bwlti %r10,1,EV_DoFloor+96
	mov %r1,%gz
;EV_DoFloor+784
	srliw %r19,%r6,0
	jmp EV_DoFloor+864
	nop 0
;EV_DoFloor+800
	mov %r24,%r5
	nop 0
	nop 0
;EV_DoFloor+816
	callr %r21,getSector
	mov %r8,%r22
	ldwz %r10,%r22,0
;EV_DoFloor+832
	ldwz %r20,%r7,52
	bweq %r10,%r20,EV_DoFloor+1152
	nop 0
;EV_DoFloor+848
	ldwz %r10,%r8,112
	addiws %r1,%r1,1
	bwle %r10,%r1,EV_DoFloor+1088
;EV_DoFloor+864
	mov2 %r23,%r24,%r6,%r1
	callr %r22,twoSided
	bweq %r23,%gz,EV_DoFloor+848
;EV_DoFloor+880
	mov2 %r22,%r23,%r6,%r1
	mov %r24,%gz
	callr %r21,getSide
;EV_DoFloor+896
	lddz %r8,%r22,16
	lddzr %r10,sectors
	sub %r8,%r8,%r10
;EV_DoFloor+912
	mov2 %r22,%r23,%r6,%r1
	srai %r8,%r8,7
	bdeq %r8,%r19,EV_DoFloor+800
;EV_DoFloor+928
	mov %r24,%gz
	jmp EV_DoFloor+816
	nop 0
;EV_DoFloor+944
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r17,%r7,56
;EV_DoFloor+960
	ldwz %r24,%r8,0
	mov %r23,%r8
	callr %r22,P_FindNextHighestFloor
;EV_DoFloor+976
	stw %r23,%r7,52
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+992
	stw %r5,%r7,40
	std %r8,%r7,32
	stw %r16,%r7,56
;EV_DoFloor+1008
	ldwz %r1,%r8,0
	addiws.l %r1,%r1,1572864
;EV_DoFloor+1024
	stw %r1,%r7,52
	lddz %r1,%r9,56
	ldhz %r7,%r1,8
;EV_DoFloor+1040
	sth %r7,%r8,8
	ldhz %r1,%r1,14
	sth %r1,%r8,14
;EV_DoFloor+1056
	mov %r1,%r5
	jmp EV_DoFloor+96
	nop 0
;EV_DoFloor+1072
	lddz %r8,%r7,32
	jmp EV_DoFloor+1120
	nop 0
;EV_DoFloor+1088
	mov %r1,%r5
	jmp EV_DoFloor+96
	nop 0
;EV_DoFloor+1104
	mov %r19,%r18
	nop 0
	nop 0
;EV_DoFloor+1120
	ldwz %r1,%r8,0
	addws %r1,%r1,%r19
	nop 0
;EV_DoFloor+1136
	stw %r1,%r7,52
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+1152
	ldhz %r1,%r8,8
	sth %r1,%r7,48
	ldhs %r1,%r8,14
;EV_DoFloor+1168
	stw %r1,%r7,44
	mov %r1,%r5
	jmp EV_DoFloor+96
;EV_DoFloor+1184
	retf 0
	nop 0
	nop 0
;EV_BuildStairs
	alloc 25
	mov2 %r6,%r1,%r1,%gz
	mov2 %r7,%r9,%gz,%gz
;EV_BuildStairs+16
	ldi %r5,-1
	ldi %r3,64
	ldi %r4,6
;EV_BuildStairs+32
	ldar %r8,T_MoveFloor
	ldi %r10,1
	ldi %r11,262144
;EV_BuildStairs+48
	ldi %r12,1048576
	ldi %r13,16384
	ldi %r14,524288
;EV_BuildStairs+64
	mov2 %r23,%r24,%r6,%r5
	callr %r22,P_FindSectorFromLineTag
	bwlt %r23,%gz,EV_BuildStairs+464
;EV_BuildStairs+80
	mov %r5,%r23
	lddzr %r16,sectors
	ldax.xuw %r15,%r16,%r23,7,0
;EV_BuildStairs+96
	lddzx.xuw %r16,%r16,%r23,7,104
	bdne %r16,%gz,EV_BuildStairs+64
	mov2 %r22,%r23,%r3,%r4
;EV_BuildStairs+112
	mov %r24,%gz
	callr %r21,Z_Malloc
	mov %r24,%r22
;EV_BuildStairs+128
	callr %r23,P_AddThinker
	std %r22,%r15,104
	std %r8,%r22,16
;EV_BuildStairs+144
	stw %r10,%r22,40
	std %r15,%r22,32
	bweqi %r2,1,EV_BuildStairs+176
;EV_BuildStairs+160
	bwne %r2,%gz,EV_BuildStairs+192
	mov2 %r7,%r9,%r14,%r13
	jmp EV_BuildStairs+192
;EV_BuildStairs+176
	mov2 %r7,%r9,%r12,%r11
	nop 0
	nop 0
;EV_BuildStairs+192
	stw %r9,%r22,56
	ldwz %r1,%r15,0
	addws %r16,%r1,%r7
;EV_BuildStairs+208
	stw %r16,%r22,52
	ldwz %r19,%r15,112
	mov %r1,%r10
;EV_BuildStairs+224
	bwlti %r19,1,EV_BuildStairs+64
	ldhz %r1,%r15,8
	andi %r17,%r1,65535
;EV_BuildStairs+240
	lddz %r18,%r15,120
	lddzr %r1,sectors
	srliw %r19,%r19,0
;EV_BuildStairs+256
	jmp EV_BuildStairs+288
	nop 0
	nop 0
;EV_BuildStairs+272
	addi %r19,%r19,-1
	addi %r18,%r18,8
	bdeq %r19,%gz,EV_BuildStairs+448
;EV_BuildStairs+288
	lddz %r15,%r18,0
	ldbz %r20,%r15,24
	bbci %r20,2,EV_BuildStairs+272
;EV_BuildStairs+304
	lddz %r20,%r15,56
	sub %r20,%r20,%r1
	srli %r20,%r20,7
;EV_BuildStairs+320
	bwne %r5,%r20,EV_BuildStairs+272
	lddz %r15,%r15,64
	ldhz %r20,%r15,8
;EV_BuildStairs+336
	bwne %r20,%r17,EV_BuildStairs+272
	lddz %r20,%r15,104
	addws %r16,%r16,%r7
;EV_BuildStairs+352
	bdne %r20,%gz,EV_BuildStairs+272
	sub %r1,%r15,%r1
	srli %r5,%r1,7
;EV_BuildStairs+368
	mov2 %r22,%r23,%r3,%r4
	mov %r24,%gz
	callr %r21,Z_Malloc
;EV_BuildStairs+384
	mov %r24,%r22
	callr %r23,P_AddThinker
	std %r22,%r15,104
;EV_BuildStairs+400
	std %r8,%r22,16
	stw %r10,%r22,40
	std %r15,%r22,32
;EV_BuildStairs+416
	stw %r9,%r22,56
	stw %r16,%r22,52
	ldwz %r19,%r15,112
;EV_BuildStairs+432
	bwlt %gz,%r19,EV_BuildStairs+240
	mov %r1,%r10
	jmp EV_BuildStairs+64
;EV_BuildStairs+448
	mov %r1,%r10
	jmp EV_BuildStairs+64
	nop 0
;EV_BuildStairs+464
	retf 0
	nop 0
	nop 0
;P_GiveAmmo
	allocsp 12,16
	bwnei %r2,5,P_GiveAmmo+32
	mov %r1,%gz
;P_GiveAmmo+16
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+32
	bwltui %r2,5,P_GiveAmmo+64
	ldafr %r11,.rodata+5193
	stw %r2,%sp,0
;P_GiveAmmo+48
	callr %r10,I_Error
	nop 0
	nop 0
;P_GiveAmmo+64
	ldax.xuw %r7,%r1,%r2,2,168
	ldwzx.xuw %r6,%r1,%r2,2,168
	ldwzx.xuw %r8,%r1,%r2,2,184
;P_GiveAmmo+80
	bwne %r6,%r8,P_GiveAmmo+96
	mov %r1,%gz
	retf 16
;P_GiveAmmo+96
	srliw %r5,%r2,0
	ldafr %r4,clipammo
	ldwzx.xd %r9,%r4,%r5,2,0
;P_GiveAmmo+112
	mov %r4,%r1
	bweq %r3,%gz,P_GiveAmmo+144
	mulws %r1,%r9,%r3
;P_GiveAmmo+128
	jmp P_GiveAmmo+160
	nop 0
	nop 0
;P_GiveAmmo+144
	srliw %r1,%r9,31
	addws %r1,%r9,%r1
	sraiw %r1,%r1,1
;P_GiveAmmo+160
	ldwzr %r3,gameskill
	andi %r3,%r3,-5
	cmpweqi %r3,%r3,0
;P_GiveAmmo+176
	sllw %r1,%r1,%r3
	addws %r1,%r1,%r6
	minsw %r1,%r1,%r8
;P_GiveAmmo+192
	stw %r1,%r7,0
	ldi %r1,1
	bweq %r6,%gz,P_GiveAmmo+224
;P_GiveAmmo+208
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+224
	bwgeui %r2,4,P_GiveAmmo+208
	ldafr %r2,.rodata+35852
	jmpt %r2,%r5
;P_GiveAmmo+240
	ldwz %r2,%r4,124
	bwne %r2,%gz,P_GiveAmmo+208
	ldwz %r2,%r4,144
;P_GiveAmmo+256
	bweq %r2,%gz,P_GiveAmmo+432
	ldi %r2,3
	stw %r2,%r4,128
;P_GiveAmmo+272
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+288
	ldwz %r2,%r4,124
	bwgeui %r2,2,P_GiveAmmo+208
	ldwz %r2,%r4,152
;P_GiveAmmo+304
	bweq %r2,%gz,P_GiveAmmo+208
	ldi %r2,5
	stw %r2,%r4,128
;P_GiveAmmo+320
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+336
	ldwz %r2,%r4,124
	bwne %r2,%gz,P_GiveAmmo+208
	ldwz %r2,%r4,148
;P_GiveAmmo+352
	bweq %r2,%gz,P_GiveAmmo+208
	ldi %r2,4
	stw %r2,%r4,128
;P_GiveAmmo+368
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+384
	ldwz %r2,%r4,124
	bwgeui %r2,2,P_GiveAmmo+208
	ldwz %r2,%r4,140
;P_GiveAmmo+400
	bweq %r2,%gz,P_GiveAmmo+208
	ldi %r2,2
	stw %r2,%r4,128
;P_GiveAmmo+416
	retf 16
	nop 0
	nop 0
;P_GiveAmmo+432
	stw %r1,%r4,128
	retf 16
	nop 0
;P_GiveWeapon
	alloc 12
	bwne %r3,%gz,P_GiveWeapon+64
	ldwzr %r4,netgame
;P_GiveWeapon+16
	bweq %r4,%gz,P_GiveWeapon+64
	ldwzr %r4,deathmatch
	bweqi %r4,2,P_GiveWeapon+64
;P_GiveWeapon+32
	ldax.xuw %r3,%r1,%r2,2,132
	ldwzx.xuw %r4,%r1,%r2,2,132
	bweq %r4,%gz,P_GiveWeapon+160
;P_GiveWeapon+48
	mov %r1,%gz
	retf 0
	nop 0
;P_GiveWeapon+64
	srliw %r5,%r2,0
	muli %r4,%r5,24
	ldafr %r6,weaponinfo
;P_GiveWeapon+80
	ldwzx.xd %r10,%r4,%r6,0,0
	mov %r4,%gz
	bweqi %r10,5,P_GiveWeapon+128
;P_GiveWeapon+96
	ldi %r4,1
	ldi %r6,2
	cmovweq %r11,%r3,%r6,%r4
;P_GiveWeapon+112
	mov %r9,%r1
	callr %r8,P_GiveAmmo
	cmpwnei %r4,%r9,0
;P_GiveWeapon+128
	ldax.xd %r3,%r1,%r5,2,132
	ldwzx.xd %r5,%r1,%r5,2,132
	bweq %r5,%gz,P_GiveWeapon+288
;P_GiveWeapon+144
	mov %r1,%r4
	retf 0
	nop 0
;P_GiveWeapon+160
	ldwz %r4,%r1,244
	addiws %r4,%r4,6
	stw %r4,%r1,244
;P_GiveWeapon+176
	ldi %r4,1
	stw %r4,%r3,0
	ldwzr %r3,deathmatch
;P_GiveWeapon+192
	srliw %r4,%r2,0
	muli %r4,%r4,24
	ldafr %r5,weaponinfo
;P_GiveWeapon+208
	ldi %r6,5
	ldi %r7,2
	ldwzx.xd %r10,%r4,%r5,0,0
;P_GiveWeapon+224
	cmovweq %r11,%r3,%r7,%r6
	mov %r9,%r1
	callr %r8,P_GiveAmmo
;P_GiveWeapon+240
	stw %r2,%r1,128
	ldwsr %r2,consoleplayer
	ldafr %r3,players
;P_GiveWeapon+256
	ldi %r4,328
	muladd %r2,%r2,%r4,%r3
	bdeq %r1,%r2,P_GiveWeapon+320
;P_GiveWeapon+272
	mov %r1,%gz
	retf 0
	nop 0
;P_GiveWeapon+288
	ldi %r4,1
	stw %r4,%r3,0
	stw %r2,%r1,128
;P_GiveWeapon+304
	mov %r1,%r4
	retf 0
	nop 0
;P_GiveWeapon+320
	ldi %r11,33
	mov %r10,%gz
	callr %r9,S_StartSound
;P_GiveWeapon+336
	mov %r1,%gz
	retf 0
	nop 0
;P_GiveBody
	alloc 5
	ldwz %r4,%r1,44
	mov %r3,%gz
;P_GiveBody+16
	bwgei %r4,100,P_GiveBody+64
	addws %r2,%r4,%r2
	ldi %r3,100
;P_GiveBody+32
	minsw %r2,%r2,%r3
	stw %r2,%r1,44
	lddz %r1,%r1,0
;P_GiveBody+48
	stw %r2,%r1,164
	ldi %r3,1
	nop 0
;P_GiveBody+64
	mov %r1,%r3
	retf 0
	nop 0
;P_GiveArmor
	alloc 6
	ldwz %r5,%r1,48
	mulwsi %r4,%r2,100
;P_GiveArmor+16
	mov %r3,%gz
	bwle %r4,%r5,P_GiveArmor+48
	stw %r2,%r1,52
;P_GiveArmor+32
	stw %r4,%r1,48
	ldi %r3,1
	nop 0
;P_GiveArmor+48
	mov %r1,%r3
	retf 0
	nop 0
;P_GiveCard
	alloc 4
	ldax.xuw %r3,%r1,%r2,2,80
	ldwzx.xuw %r2,%r1,%r2,2,80
;P_GiveCard+16
	bweq %r2,%gz,P_GiveCard+32
	retf 0
	nop 0
;P_GiveCard+32
	ldi %r2,6
	stw %r2,%r1,244
	ldi %r1,1
;P_GiveCard+48
	stw %r1,%r3,0
	retf 0
	nop 0
;P_GivePower
	alloc 5
	bwgeui %r2,6,P_GivePower+64
	srliw %r3,%r2,0
;P_GivePower+16
	ldafr %r4,.rodata+35868
	jmpt %r4,%r3
	nop 0
;P_GivePower+32
	ldi %r2,1050
	stw %r2,%r1,56
	ldi %r1,1
;P_GivePower+48
	retf 0
	nop 0
	nop 0
;P_GivePower+64
	ldax.xw %r3,%r1,%r2,2,56
	ldwzx.xw %r2,%r1,%r2,2,56
	mov %r1,%gz
;P_GivePower+80
	bweq %r2,%gz,P_GivePower+288
	retf 0
	nop 0
;P_GivePower+96
	ldi %r2,2100
	stw %r2,%r1,64
	lddz %r1,%r1,0
;P_GivePower+112
	ldwz %r2,%r1,160
	ori %r2,%r2,262144
	stw %r2,%r1,160
;P_GivePower+128
	ldi %r1,1
	retf 0
	nop 0
;P_GivePower+144
	ldwz %r2,%r1,44
	bwgei %r2,100,P_GivePower+192
	minsw %r2,%r2,%gz
;P_GivePower+160
	addiws %r2,%r2,100
	stw %r2,%r1,44
	lddz %r3,%r1,0
;P_GivePower+176
	stw %r2,%r3,164
	nop 0
	nop 0
;P_GivePower+192
	ldi %r2,1
	stw %r2,%r1,60
	mov %r1,%r2
;P_GivePower+208
	retf 0
	nop 0
	nop 0
;P_GivePower+224
	ldi %r2,2100
	stw %r2,%r1,68
	ldi %r1,1
;P_GivePower+240
	retf 0
	nop 0
	nop 0
;P_GivePower+256
	ldi %r2,4200
	stw %r2,%r1,76
	ldi %r1,1
;P_GivePower+272
	retf 0
	nop 0
	nop 0
;P_GivePower+288
	ldi %r1,1
	stw %r1,%r3,0
	retf 0
;P_TouchSpecialThing
	alloc 11
	ldwz %r3,%r1,32
	ldwz %r4,%r2,32
;P_TouchSpecialThing+16
	ldwz %r5,%r2,108
	subws %r3,%r3,%r4
	bwlt %r5,%r3,P_TouchSpecialThing+2160
;P_TouchSpecialThing+32
	bwlti.l %r3,-524288,P_TouchSpecialThing+2160
	ldwz %r3,%r2,164
;P_TouchSpecialThing+48
	bwlti %r3,1,P_TouchSpecialThing+2160
	ldwz %r3,%r1,60
	addiws %r4,%r3,-55
;P_TouchSpecialThing+64
	lddz %r2,%r2,192
	bwgeui %r4,39,P_TouchSpecialThing+1952
	addiwz %r3,%r3,-55
;P_TouchSpecialThing+80
	ldafr %r4,.rodata+35892
	jmpt %r4,%r3
	nop 0
;P_TouchSpecialThing+96
	ldwz %r3,%r2,48
	bwgei %r3,100,P_TouchSpecialThing+2160
	nop 2
;P_TouchSpecialThing+112
	ldi.l %r3,4294967396
	std %r3,%r2,48
;P_TouchSpecialThing+128
	ldafr %r3,.rodata+28676
	jmp P_TouchSpecialThing+2032
	nop 0
;P_TouchSpecialThing+144
	ldwz %r3,%r2,72
	bwne %r3,%gz,P_TouchSpecialThing+2160
	ldi %r3,1
;P_TouchSpecialThing+160
	stw %r3,%r2,72
	ldafr %r3,.rodata+15444
	jmp P_TouchSpecialThing+1728
;P_TouchSpecialThing+176
	ldi %r10,5
	mov2 %r8,%r9,%r2,%gz
	callr %r7,P_GiveAmmo
;P_TouchSpecialThing+192
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+6497
	jmp P_TouchSpecialThing+2032
;P_TouchSpecialThing+208
	ldi %r3,1050
	stw %r3,%r2,56
	ldafr %r3,.rodata+1781
;P_TouchSpecialThing+224
	jmp P_TouchSpecialThing+1728
	nop 0
	nop 0
;P_TouchSpecialThing+240
	ldi %r9,2
	ldi %r10,5
	mov %r8,%r2
;P_TouchSpecialThing+256
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+6525
;P_TouchSpecialThing+272
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+288
	ldi %r9,3
	ldi %r10,5
	mov %r8,%r2
;P_TouchSpecialThing+304
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+1029
;P_TouchSpecialThing+320
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+336
	ldwz %r3,%r2,44
	bwgei %r3,100,P_TouchSpecialThing+2160
	ldi %r4,90
;P_TouchSpecialThing+352
	minsw %r3,%r3,%r4
	addiws %r3,%r3,10
	stw %r3,%r2,44
;P_TouchSpecialThing+368
	lddz %r4,%r2,0
	stw %r3,%r4,164
	ldafr %r3,.rodata+17642
;P_TouchSpecialThing+384
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+400
	ldi %r9,5
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+416
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+27620
	jmp P_TouchSpecialThing+1936
;P_TouchSpecialThing+432
	ldwz %r3,%r2,104
	bwne %r3,%gz,P_TouchSpecialThing+496
	mov %r4,%gz
;P_TouchSpecialThing+448
	ldi %r3,1
	addi %r5,%r2,184
	nop 0
;P_TouchSpecialThing+464
	ldwzx.xd %r6,%r5,%r4,0,0
	slliw %r6,%r6,1
	stwx.xd %r6,%r5,%r4,0,0
;P_TouchSpecialThing+480
	addi %r4,%r4,4
	bdnei %r4,16,P_TouchSpecialThing+464
	stw %r3,%r2,104
;P_TouchSpecialThing+496
	mov %r5,%gz
	ldi %r3,1
	nop 0
;P_TouchSpecialThing+512
	mov2 %r4,%r8,%r5,%r2
	mov2 %r9,%r10,%r5,%r3
	callr %r7,P_GiveAmmo
;P_TouchSpecialThing+528
	addiws %r5,%r5,1
	bwltui %r4,3,P_TouchSpecialThing+512
	ldafr %r3,.rodata+7261
;P_TouchSpecialThing+544
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+560
	ldi %r9,3
	ldi %r10,1
	mov %r8,%r2
;P_TouchSpecialThing+576
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+11854
;P_TouchSpecialThing+592
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+608
	ldwz %r3,%r2,44
	addiws %r4,%r3,100
	cmpwgti %r3,%r3,100
;P_TouchSpecialThing+624
	ldi %r5,200
	cmovlsb %r3,%r3,%r5,%r4
	stw %r3,%r2,44
;P_TouchSpecialThing+640
	lddz %r4,%r2,0
	stw %r3,%r4,164
	ldafr %r3,.rodata+14481
;P_TouchSpecialThing+656
	jmp P_TouchSpecialThing+1728
	nop 0
	nop 0
;P_TouchSpecialThing+672
	ldi %r3,4200
	stw %r3,%r2,76
	ldafr %r3,.rodata+21182
;P_TouchSpecialThing+688
	jmp P_TouchSpecialThing+1728
	nop 0
	nop 0
;P_TouchSpecialThing+704
	ldwz %r3,%r2,44
	addiws %r4,%r3,1
	cmpwlti %r3,%r3,200
;P_TouchSpecialThing+720
	ldi %r5,200
	cmovlsb %r3,%r3,%r4,%r5
	stw %r3,%r2,44
;P_TouchSpecialThing+736
	lddz %r4,%r2,0
	stw %r3,%r4,164
	ldafr %r3,.rodata+27158
;P_TouchSpecialThing+752
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+768
	ldi %r9,6
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+784
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+17664
	jmp P_TouchSpecialThing+1936
;P_TouchSpecialThing+800
	ldi %r9,7
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+816
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+4156
	jmp P_TouchSpecialThing+1936
;P_TouchSpecialThing+832
	ldwz %r3,%r2,88
	bwne %r3,%gz,P_TouchSpecialThing+1552
	ldafr %r3,.rodata+1004
;P_TouchSpecialThing+848
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+864
	ldi %r3,1
	stw %r3,%r2,88
	jmp P_TouchSpecialThing+1552
;P_TouchSpecialThing+880
	ldwz %r3,%r2,44
	bwgei %r3,100,P_TouchSpecialThing+2160
	ldi %r4,75
;P_TouchSpecialThing+896
	minsw %r4,%r3,%r4
	addiws %r4,%r4,25
	stw %r4,%r2,44
;P_TouchSpecialThing+912
	lddz %r5,%r2,0
	stw %r4,%r5,164
	bwlti %r3,0,P_TouchSpecialThing+2016
;P_TouchSpecialThing+928
	ldafr %r3,.rodata+10950
	jmp P_TouchSpecialThing+2032
	nop 0
;P_TouchSpecialThing+944
	ldi %r9,2
	ldi %r10,1
	mov %r8,%r2
;P_TouchSpecialThing+960
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+13916
;P_TouchSpecialThing+976
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+992
	ldwz %r3,%r2,48
	bwgei %r3,200,P_TouchSpecialThing+2160
	nop 2
;P_TouchSpecialThing+1008
	ldi.l %r3,8589934792
	std %r3,%r2,48
;P_TouchSpecialThing+1024
	ldafr %r3,.rodata+10925
	jmp P_TouchSpecialThing+2032
	nop 0
;P_TouchSpecialThing+1040
	ldwz %r3,%r2,84
	bwne %r3,%gz,P_TouchSpecialThing+1552
	ldafr %r3,.rodata+28697
;P_TouchSpecialThing+1056
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1072
	ldi %r3,1
	stw %r3,%r2,84
	jmp P_TouchSpecialThing+1552
;P_TouchSpecialThing+1088
	ldwz %r3,%r2,92
	bwne %r3,%gz,P_TouchSpecialThing+1552
	ldafr %r3,.rodata+19188
;P_TouchSpecialThing+1104
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1120
	ldi %r3,1
	stw %r3,%r2,92
	jmp P_TouchSpecialThing+1552
;P_TouchSpecialThing+1136
	ldwz %r3,%r2,44
	bwgei %r3,100,P_TouchSpecialThing+1184
	minsw %r3,%r3,%gz
;P_TouchSpecialThing+1152
	addiws %r3,%r3,100
	stw %r3,%r2,44
	lddz %r4,%r2,0
;P_TouchSpecialThing+1168
	stw %r3,%r4,164
	nop 0
	nop 0
;P_TouchSpecialThing+1184
	ldi %r3,1
	stw %r3,%r2,60
	ldafr %r3,.rodata+19216
;P_TouchSpecialThing+1200
	std %r3,%r2,232
	ldwz %r4,%r2,124
	ldi %r3,93
;P_TouchSpecialThing+1216
	bweq %r4,%gz,P_TouchSpecialThing+2064
	stw %gz,%r2,128
	jmp P_TouchSpecialThing+2064
;P_TouchSpecialThing+1232
	ldi %r3,2100
	stw %r3,%r2,64
	lddz %r3,%r2,0
;P_TouchSpecialThing+1248
	ldwz %r4,%r3,160
	ori %r4,%r4,262144
	stw %r4,%r3,160
;P_TouchSpecialThing+1264
	ldafr %r3,.rodata+12543
	jmp P_TouchSpecialThing+1728
	nop 0
;P_TouchSpecialThing+1280
	ldwz %r3,%r1,160
	slsrli %r10,%r3,46,63
	ldi %r9,3
;P_TouchSpecialThing+1296
	mov %r8,%r2
	callr %r7,P_GiveWeapon
	bweq %r8,%gz,P_TouchSpecialThing+2160
;P_TouchSpecialThing+1312
	ldafr %r3,.rodata+27214
	jmp P_TouchSpecialThing+1936
	nop 0
;P_TouchSpecialThing+1328
	ldwz %r3,%r2,48
	addiws %r4,%r3,1
	cmpwlti %r3,%r3,200
;P_TouchSpecialThing+1344
	ldi %r5,200
	cmovlsb %r3,%r3,%r4,%r5
	stw %r3,%r2,48
;P_TouchSpecialThing+1360
	ldwz %r3,%r2,52
	bwne %r3,%gz,P_TouchSpecialThing+1392
	ldi %r3,1
;P_TouchSpecialThing+1376
	stw %r3,%r2,52
	nop 0
	nop 0
;P_TouchSpecialThing+1392
	ldafr %r3,.rodata+5217
	jmp P_TouchSpecialThing+2032
	nop 0
;P_TouchSpecialThing+1408
	ldwz %r3,%r2,80
	bwne %r3,%gz,P_TouchSpecialThing+1552
	ldafr %r3,.rodata+9294
;P_TouchSpecialThing+1424
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1440
	ldi %r3,1
	stw %r3,%r2,80
	jmp P_TouchSpecialThing+1552
;P_TouchSpecialThing+1456
	ldwz %r3,%r2,96
	bwne %r3,%gz,P_TouchSpecialThing+1552
	ldafr %r3,.rodata+27184
;P_TouchSpecialThing+1472
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1488
	ldi %r3,1
	stw %r3,%r2,96
	jmp P_TouchSpecialThing+1552
;P_TouchSpecialThing+1504
	ldwz %r3,%r2,100
	bwne %r3,%gz,P_TouchSpecialThing+1552
	ldafr %r3,.rodata+12516
;P_TouchSpecialThing+1520
	std %r3,%r2,232
	ldi %r3,6
	stw %r3,%r2,244
;P_TouchSpecialThing+1536
	ldi %r3,1
	stw %r3,%r2,100
	nop 0
;P_TouchSpecialThing+1552
	ldwzr %r3,netgame
	bwne %r3,%gz,P_TouchSpecialThing+2160
	jmp P_TouchSpecialThing+2048
;P_TouchSpecialThing+1568
	ldi %r3,2100
	stw %r3,%r2,68
	ldafr %r3,.rodata+13891
;P_TouchSpecialThing+1584
	jmp P_TouchSpecialThing+1728
	nop 0
	nop 0
;P_TouchSpecialThing+1600
	ldwz %r3,%r1,160
	slsrli %r10,%r3,46,63
	ldi %r9,2
;P_TouchSpecialThing+1616
	mov %r8,%r2
	callr %r7,P_GiveWeapon
	bweq %r8,%gz,P_TouchSpecialThing+2160
;P_TouchSpecialThing+1632
	ldafr %r3,.rodata+12564
	jmp P_TouchSpecialThing+1936
	nop 0
;P_TouchSpecialThing+1648
	ldwzr %r3,gamemode
	bwnei %r3,2,P_TouchSpecialThing+2160
	ldi %r3,200
;P_TouchSpecialThing+1664
	stw %r3,%r2,44
	lddz %r4,%r2,0
	stw %r3,%r4,164
;P_TouchSpecialThing+1680
	ldwz %r3,%r2,48
	bwgei %r3,200,P_TouchSpecialThing+1712
	nop 2
;P_TouchSpecialThing+1696
	ldi.l %r3,8589934792
	std %r3,%r2,48
;P_TouchSpecialThing+1712
	ldafr %r3,.rodata+7249
	nop 0
	nop 0
;P_TouchSpecialThing+1728
	std %r3,%r2,232
	ldi %r3,93
	jmp P_TouchSpecialThing+2064
;P_TouchSpecialThing+1744
	ldbz %r3,%r1,162
	bbsi %r3,1,P_TouchSpecialThing+1968
	ldi %r10,1
;P_TouchSpecialThing+1760
	mov2 %r8,%r9,%r2,%gz
	jmp P_TouchSpecialThing+1984
	nop 0
;P_TouchSpecialThing+1776
	ldi %r9,1
	ldi %r10,5
	mov %r8,%r2
;P_TouchSpecialThing+1792
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+19225
;P_TouchSpecialThing+1808
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+1824
	ldi %r9,1
	mov2 %r8,%r10,%r2,%r9
	callr %r7,P_GiveAmmo
;P_TouchSpecialThing+1840
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+22072
	jmp P_TouchSpecialThing+2032
;P_TouchSpecialThing+1856
	ldwz %r3,%r1,160
	slsrli %r10,%r3,46,63
	ldi %r9,8
;P_TouchSpecialThing+1872
	mov %r8,%r2
	callr %r7,P_GiveWeapon
	bweq %r8,%gz,P_TouchSpecialThing+2160
;P_TouchSpecialThing+1888
	ldafr %r3,.rodata+27236
	jmp P_TouchSpecialThing+1936
	nop 0
;P_TouchSpecialThing+1904
	ldi %r9,4
	mov2 %r8,%r10,%r2,%gz
	callr %r7,P_GiveWeapon
;P_TouchSpecialThing+1920
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+25752
	nop 0
;P_TouchSpecialThing+1936
	std %r3,%r2,232
	ldi %r3,33
	jmp P_TouchSpecialThing+2064
;P_TouchSpecialThing+1952
	ldafr %r10,.rodata+27644
	callr %r9,I_Error
	jmp P_TouchSpecialThing+2048
;P_TouchSpecialThing+1968
	mov2 %r8,%r9,%r2,%gz
	mov %r10,%gz
	nop 0
;P_TouchSpecialThing+1984
	callr %r7,P_GiveAmmo
	bweq %r8,%gz,P_TouchSpecialThing+2160
	ldafr %r3,.rodata+22054
;P_TouchSpecialThing+2000
	jmp P_TouchSpecialThing+2032
	nop 0
	nop 0
;P_TouchSpecialThing+2016
	ldafr %r3,.rodata+16794
	nop 0
	nop 0
;P_TouchSpecialThing+2032
	std %r3,%r2,232
	nop 0
	nop 0
;P_TouchSpecialThing+2048
	ldi %r3,32
	nop 0
	nop 0
;P_TouchSpecialThing+2064
	ldbz %r4,%r1,162
	bbci %r4,7,P_TouchSpecialThing+2096
	ldwz %r4,%r2,220
;P_TouchSpecialThing+2080
	addiws %r4,%r4,1
	stw %r4,%r2,220
	nop 0
;P_TouchSpecialThing+2096
	mov %r10,%r1
	callr %r9,P_RemoveMobj
	ldwz %r1,%r2,244
;P_TouchSpecialThing+2112
	addiws %r1,%r1,6
	stw %r1,%r2,244
	ldwsr %r1,consoleplayer
;P_TouchSpecialThing+2128
	ldafr %r4,players
	ldi %r5,328
	muladd %r1,%r1,%r5,%r4
;P_TouchSpecialThing+2144
	bdeq %r2,%r1,P_TouchSpecialThing+2176
	nop 0
	nop 0
;P_TouchSpecialThing+2160
	retf 0
	nop 0
	nop 0
;P_TouchSpecialThing+2176
	mov2 %r9,%r10,%gz,%r3
	callr %r8,S_StartSound
	retf 0
;P_KillMobj
	alloc 12
	ldwz %r4,%r2,128
	ldwz %r3,%r2,160
;P_KillMobj+16
	cmpweqi %r4,%r4,18
	ldi %r5,-17843717
	ldi %r6,-17843205
;P_KillMobj+32
	cmovlsb %r4,%r4,%r6,%r5
	and %r4,%r3,%r4
	nop 2
;P_KillMobj+48
	ori.l %r4,%r4,1049600
	stw %r4,%r2,160
;P_KillMobj+64
	ldwz %r4,%r2,108
	sraiw %r4,%r4,2
	stw %r4,%r2,108
;P_KillMobj+80
	bdeq %r1,%gz,P_KillMobj+192
	lddz %r4,%r1,192
	bdeq %r4,%gz,P_KillMobj+192
;P_KillMobj+96
	bbci %r3,22,P_KillMobj+128
	ldwz %r3,%r4,216
	addiws %r3,%r3,1
;P_KillMobj+112
	stw %r3,%r4,216
	nop 0
	nop 0
;P_KillMobj+128
	lddz %r3,%r2,192
	bdeq %r3,%gz,P_KillMobj+240
	ldafr %r5,players
;P_KillMobj+144
	sub %r3,%r3,%r5
	srai %r3,%r3,3
	nop 2
;P_KillMobj+160
	muli.l %r3,%r3,4499205871636476004
	ldwzx.xd %r5,%r4,%r3,0,108
;P_KillMobj+176
	addiws %r5,%r5,1
	stwx.xd %r5,%r4,%r3,0,108
	jmp P_KillMobj+240
;P_KillMobj+192
	ldwzr %r4,netgame
	bwne %r4,%gz,P_KillMobj+240
	nop 2
;P_KillMobj+208
	andi.l %r3,%r3,4194304
	bweq %r3,%gz,P_KillMobj+240
;P_KillMobj+224
	ldwzr %r3,players+216
	addiws %r3,%r3,1
	stwr %r3,players+216
;P_KillMobj+240
	lddz %r11,%r2,192
	ldi %r3,1
	bdeq %r11,%gz,P_KillMobj+384
;P_KillMobj+256
	bdne %r1,%gz,P_KillMobj+304
	ldafr %r1,players
	sub %r1,%r11,%r1
;P_KillMobj+272
	srai %r1,%r1,3
	muli.l %r1,%r1,4499205871636476004
;P_KillMobj+288
	ldwzx.xd %r4,%r11,%r1,0,108
	addiws %r4,%r4,1
	stwx.xd %r4,%r11,%r1,0,108
;P_KillMobj+304
	ldwz %r1,%r2,160
	andi %r1,%r1,-3
	stw %r1,%r2,160
;P_KillMobj+320
	stw %r3,%r11,8
	callr %r10,P_DropWeapon
	ldwsr %r1,consoleplayer
;P_KillMobj+336
	lddz %r4,%r2,192
	ldafr %r5,players
	ldi %r6,328
;P_KillMobj+352
	muladd %r1,%r1,%r6,%r5
	bdne %r4,%r1,P_KillMobj+384
	ldwzr %r1,automapactive
;P_KillMobj+368
	bweq %r1,%gz,P_KillMobj+384
	callr %r11,AM_Stop
	nop 0
;P_KillMobj+384
	lddz %r1,%r2,136
	ldwz %r4,%r1,8
	ldwz %r5,%r2,164
;P_KillMobj+400
	subfiws %r4,%r4,0
	bwle %r4,%r5,P_KillMobj+432
	ldwz %r11,%r1,52
;P_KillMobj+416
	bwne %r11,%gz,P_KillMobj+448
	nop 0
	nop 0
;P_KillMobj+432
	ldwz %r11,%r1,48
	nop 0
	nop 0
;P_KillMobj+448
	mov %r10,%r2
	callr %r9,P_SetMobjState
	callr %r10,P_Random
;P_KillMobj+464
	ldwz %r1,%r2,144
	andi %r4,%r11,3
	subws %r1,%r1,%r4
;P_KillMobj+480
	maxsw %r1,%r1,%r3
	stw %r1,%r2,144
	ldwzr %r1,gameversion
;P_KillMobj+496
	bweqi %r1,9,P_KillMobj+624
	ldwz %r1,%r2,128
	addiws %r3,%r1,-1
;P_KillMobj+512
	bwgeui %r3,23,P_KillMobj+624
	addiwz %r1,%r1,-1
	ldafr %r3,.rodata+36048
;P_KillMobj+528
	ldi %r11,63
	jmpt %r3,%r1
	nop 0
;P_KillMobj+544
	ldi %r11,77
	jmp P_KillMobj+576
	nop 0
;P_KillMobj+560
	ldi %r11,73
	nop 0
	nop 0
;P_KillMobj+576
	ldwz %r8,%r2,24
	ldwz %r9,%r2,28
	nop 2
;P_KillMobj+592
	ldi.l %r10,-2147483648
	callr %r7,P_SpawnMobj
;P_KillMobj+608
	ldwz %r1,%r8,160
	ori %r1,%r1,131072
	stw %r1,%r8,160
;P_KillMobj+624
	retf 0
	nop 0
	nop 0
;P_DamageMobj
	alloc 14
	ldwz %r7,%r1,160
	bbci %r7,2,P_DamageMobj+928
;P_DamageMobj+16
	ldwz %r5,%r1,164
	bwlti %r5,1,P_DamageMobj+928
	bbci %r7,24,P_DamageMobj+48
;P_DamageMobj+32
	stw %gz,%r1,120
	std %gz,%r1,112
	nop 0
;P_DamageMobj+48
	lddz %r6,%r1,192
	ldwzr %r5,gameskill
	cmpdnei %r8,%r6,0
;P_DamageMobj+64
	cmpweqi %r5,%r5,0
	and %r5,%r8,%r5
	sraw %r5,%r4,%r5
;P_DamageMobj+80
	bdeq %r2,%gz,P_DamageMobj+352
	andi %r4,%r7,4096
	bwne %r4,%gz,P_DamageMobj+352
;P_DamageMobj+96
	bdeq %r3,%gz,P_DamageMobj+128
	lddz %r4,%r3,192
	bdeq %r4,%gz,P_DamageMobj+128
;P_DamageMobj+112
	ldwz %r4,%r4,124
	bweqi %r4,7,P_DamageMobj+352
	nop 0
;P_DamageMobj+128
	ldwz %r10,%r2,24
	ldwz %r11,%r2,28
	ldwz %r12,%r1,24
;P_DamageMobj+144
	ldwz %r13,%r1,28
	callr %r9,R_PointToAngle2
	lddz %r4,%r1,136
;P_DamageMobj+160
	ldwz %r4,%r4,72
	mulwsi %r7,%r5,819200
	divw %r4,%r7,%r4
;P_DamageMobj+176
	bwgei %r5,40,P_DamageMobj+256
	ldwz %r7,%r1,164
	bwle %r5,%r7,P_DamageMobj+256
;P_DamageMobj+192
	ldwz %r7,%r1,32
	ldwz %r2,%r2,32
	subws %r2,%r7,%r2
;P_DamageMobj+208
	bwlti.l %r2,4194305,P_DamageMobj+256
	callr %r12,P_Random
;P_DamageMobj+224
	bbci %r13,0,P_DamageMobj+256
	xori.l %r10,%r10,-2147483648
;P_DamageMobj+240
	slliw %r4,%r4,2
	nop 0
	nop 0
;P_DamageMobj+256
	lddzr %r2,finecosine
	srliw %r7,%r10,19
	ldwsx.xuw %r2,%r2,%r7,2,0
;P_DamageMobj+272
	ldwz %r8,%r1,112
	sraiw %r4,%r4,0
	mul %r2,%r2,%r4
;P_DamageMobj+288
	srli %r2,%r2,16
	addws %r2,%r8,%r2
	stw %r2,%r1,112
;P_DamageMobj+304
	ldafr %r2,finesine
	ldwsx.xuw %r2,%r2,%r7,2,0
	ldwz %r7,%r1,116
;P_DamageMobj+320
	mul %r2,%r2,%r4
	srli %r2,%r2,16
	addws %r2,%r7,%r2
;P_DamageMobj+336
	stw %r2,%r1,116
	nop 0
	nop 0
;P_DamageMobj+352
	bdeq %r6,%gz,P_DamageMobj+672
	lddz %r2,%r1,88
	lddz %r2,%r2,0
;P_DamageMobj+368
	ldhz %r2,%r2,14
	bwnei %r2,11,P_DamageMobj+400
	ldwz %r2,%r1,164
;P_DamageMobj+384
	cmpwlt %r4,%r5,%r2
	addiws %r2,%r2,-1
	cmovlsb %r5,%r4,%r5,%r2
;P_DamageMobj+400
	bwgei %r5,1000,P_DamageMobj+432
	ldbz %r2,%r6,208
	bbsi %r2,1,P_DamageMobj+928
;P_DamageMobj+416
	ldwz %r2,%r6,56
	bwne %r2,%gz,P_DamageMobj+928
	nop 0
;P_DamageMobj+432
	ldwz %r2,%r6,52
	bweq %r2,%gz,P_DamageMobj+560
	bwnei %r2,1,P_DamageMobj+496
;P_DamageMobj+448
	sraiw %r2,%r5,0
	muli.l %r2,%r2,1431655766
;P_DamageMobj+464
	srli %r4,%r2,63
	srli %r2,%r2,32
	addws %r2,%r2,%r4
;P_DamageMobj+480
	jmp P_DamageMobj+512
	nop 0
	nop 0
;P_DamageMobj+496
	srliw %r2,%r5,31
	addws %r2,%r5,%r2
	sraiw %r2,%r2,1
;P_DamageMobj+512
	ldwz %r4,%r6,48
	bwlt %r2,%r4,P_DamageMobj+544
	stw %gz,%r6,52
;P_DamageMobj+528
	mov %r2,%r4
	nop 0
	nop 0
;P_DamageMobj+544
	subws %r4,%r4,%r2
	stw %r4,%r6,48
	subws %r5,%r5,%r2
;P_DamageMobj+560
	ldwz %r2,%r6,44
	subws %r2,%r2,%r5
	maxsw %r2,%r2,%gz
;P_DamageMobj+576
	stw %r2,%r6,44
	std %r3,%r6,248
	ldwz %r2,%r6,240
;P_DamageMobj+592
	addws %r4,%r2,%r5
	ldi %r2,100
	minsw %r4,%r4,%r2
;P_DamageMobj+608
	stw %r4,%r6,240
	ldwsr %r4,consoleplayer
	ldafr %r7,players
;P_DamageMobj+624
	ldi %r8,328
	muladd %r4,%r4,%r8,%r7
	bdne %r6,%r4,P_DamageMobj+672
;P_DamageMobj+640
	minsw %r2,%r5,%r2
	ldi %r11,40
	sladdws %r13,%r11,%r2,1
;P_DamageMobj+656
	ldi %r12,10
	callr %r10,I_Tactile
	nop 0
;P_DamageMobj+672
	ldwz %r2,%r1,164
	subws %r2,%r2,%r5
	stw %r2,%r1,164
;P_DamageMobj+688
	bwle %r2,%gz,P_DamageMobj+800
	callr %r12,P_Random
	lddz %r2,%r1,136
;P_DamageMobj+704
	ldwz %r4,%r2,32
	bwle %r4,%r13,P_DamageMobj+752
	ldwz %r4,%r1,160
;P_DamageMobj+720
	bbsi %r4,24,P_DamageMobj+752
	ori %r4,%r4,64
	stw %r4,%r1,160
;P_DamageMobj+736
	ldwz %r13,%r2,28
	mov %r12,%r1
	callr %r11,P_SetMobjState
;P_DamageMobj+752
	stw %gz,%r1,184
	ldwz %r2,%r1,188
	bweq %r2,%gz,P_DamageMobj+816
;P_DamageMobj+768
	bdeq %r3,%r1,P_DamageMobj+928
	bdeq %r3,%gz,P_DamageMobj+928
	ldwz %r2,%r1,128
;P_DamageMobj+784
	bweqi %r2,3,P_DamageMobj+832
	jmp P_DamageMobj+928
	nop 0
;P_DamageMobj+800
	mov2 %r12,%r13,%r3,%r1
	callr %r11,P_KillMobj
	retf 0
;P_DamageMobj+816
	bdeq %r3,%gz,P_DamageMobj+928
	bdeq %r3,%r1,P_DamageMobj+928
	nop 0
;P_DamageMobj+832
	ldwz %r2,%r3,128
	bweqi %r2,3,P_DamageMobj+928
	std %r3,%r1,176
;P_DamageMobj+848
	ldi %r2,100
	stw %r2,%r1,188
	lddz %r2,%r1,136
;P_DamageMobj+864
	ldws %r3,%r2,4
	lddz %r4,%r1,152
	ldafr %r5,states
;P_DamageMobj+880
	ldi %r6,40
	muladd %r3,%r3,%r6,%r5
	bdne %r4,%r3,P_DamageMobj+928
;P_DamageMobj+896
	ldwz %r13,%r2,12
	bweq %r13,%gz,P_DamageMobj+928
	mov %r12,%r1
;P_DamageMobj+912
	callr %r11,P_SetMobjState
	nop 0
	nop 0
;P_DamageMobj+928
	retf 0
	nop 0
	nop 0
;T_FireFlicker
	alloc 8
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1
;T_FireFlicker+16
	stw %r2,%r1,32
	bweq %r2,%gz,T_FireFlicker+32
	retf 0
;T_FireFlicker+32
	callr %r6,P_Random
	lddz %r2,%r1,24
	ldhs %r5,%r2,12
;T_FireFlicker+48
	ldwz %r3,%r1,40
	slliw %r4,%r7,4
	andi %r4,%r4,48
;T_FireFlicker+64
	subws %r5,%r5,%r4
	bwlt %r5,%r3,T_FireFlicker+96
	ldwz %r3,%r1,36
;T_FireFlicker+80
	subws %r3,%r3,%r4
	nop 0
	nop 0
;T_FireFlicker+96
	sth %r3,%r2,12
	ldi %r2,4
	stw %r2,%r1,32
;T_FireFlicker+112
	retf 0
	nop 0
	nop 0
;P_SpawnFireFlicker
	alloc 8
	sth %gz,%r1,14
	ldi %r5,48
;P_SpawnFireFlicker+16
	ldi %r6,6
	mov %r7,%gz
	callr %r4,Z_Malloc
;P_SpawnFireFlicker+32
	mov2 %r2,%r7,%r5,%r5
	callr %r6,P_AddThinker
	ldar %r3,T_FireFlicker
;P_SpawnFireFlicker+48
	std %r3,%r5,16
	std %r1,%r5,24
	ldhs %r7,%r1,12
;P_SpawnFireFlicker+64
	stw %r7,%r5,36
	mov %r6,%r1
	callr %r5,P_FindMinSurroundingLight
;P_SpawnFireFlicker+80
	addiws %r1,%r6,16
	stw %r1,%r2,40
	ldi %r1,4
;P_SpawnFireFlicker+96
	stw %r1,%r2,32
	retf 0
	nop 0
;T_LightFlash
	alloc 7
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1
;T_LightFlash+16
	stw %r2,%r1,32
	bweq %r2,%gz,T_LightFlash+32
	retf 0
;T_LightFlash+32
	lddz %r2,%r1,24
	ldhs %r4,%r2,12
	ldwz %r3,%r1,36
;T_LightFlash+48
	bwne %r3,%r4,T_LightFlash+80
	ldwz %r3,%r1,40
	sth %r3,%r2,12
;T_LightFlash+64
	callr %r5,P_Random
	ldwz %r2,%r1,48
	jmp T_LightFlash+96
;T_LightFlash+80
	sth %r3,%r2,12
	callr %r5,P_Random
	ldwz %r2,%r1,44
;T_LightFlash+96
	and %r2,%r2,%r6
	addiws %r2,%r2,1
	stw %r2,%r1,32
;T_LightFlash+112
	retf 0
	nop 0
	nop 0
;P_SpawnLightFlash
	alloc 8
	sth %gz,%r1,14
	ldi %r5,56
;P_SpawnLightFlash+16
	ldi %r6,6
	mov %r7,%gz
	callr %r4,Z_Malloc
;P_SpawnLightFlash+32
	mov2 %r2,%r7,%r5,%r5
	callr %r6,P_AddThinker
	ldar %r3,T_LightFlash
;P_SpawnLightFlash+48
	std %r3,%r5,16
	std %r1,%r5,24
	ldhs %r7,%r1,12
;P_SpawnLightFlash+64
	stw %r7,%r5,36
	mov %r6,%r1
	callr %r5,P_FindMinSurroundingLight
;P_SpawnLightFlash+80
	stw %r6,%r2,40
	ldi %r1,64
	stw %r1,%r2,44
;P_SpawnLightFlash+96
	ldi %r1,7
	stw %r1,%r2,48
	callr %r6,P_Random
;P_SpawnLightFlash+112
	ldwz %r1,%r2,44
	and %r1,%r1,%r7
	addiws %r1,%r1,1
;P_SpawnLightFlash+128
	stw %r1,%r2,32
	retf 0
	nop 0
;T_StrobeFlash
	alloc 5
	ldwz %r2,%r1,32
	addiws %r2,%r2,-1
;T_StrobeFlash+16
	stw %r2,%r1,32
	bweq %r2,%gz,T_StrobeFlash+32
	retf 0
;T_StrobeFlash+32
	lddz %r2,%r1,24
	ldhs %r4,%r2,12
	ldwz %r3,%r1,36
;T_StrobeFlash+48
	bwne %r3,%r4,T_StrobeFlash+80
	ldwz %r3,%r1,40
	ldi %r4,48
;T_StrobeFlash+64
	jmp T_StrobeFlash+96
	nop 0
	nop 0
;T_StrobeFlash+80
	ldi %r4,44
	nop 0
	nop 0
;T_StrobeFlash+96
	sth %r3,%r2,12
	ldwzx.xd %r2,%r1,%r4,0,0
	stw %r2,%r1,32
;T_StrobeFlash+112
	retf 0
	nop 0
	nop 0
;P_SpawnStrobeFlash
	alloc 9
	ldi %r6,56
	ldi %r7,6
;P_SpawnStrobeFlash+16
	mov %r8,%gz
	callr %r5,Z_Malloc
	mov2 %r4,%r8,%r6,%r6
;P_SpawnStrobeFlash+32
	callr %r7,P_AddThinker
	std %r1,%r6,24
	stw %r2,%r6,44
;P_SpawnStrobeFlash+48
	ldi %r2,5
	stw %r2,%r6,48
	ldar %r2,T_StrobeFlash
;P_SpawnStrobeFlash+64
	std %r2,%r6,16
	ldhs %r8,%r1,12
	stw %r8,%r6,40
;P_SpawnStrobeFlash+80
	mov %r7,%r1
	callr %r6,P_FindMinSurroundingLight
	ldwz %r2,%r4,40
;P_SpawnStrobeFlash+96
	cmpweq %r2,%r7,%r2
	cmovlsb %r2,%r2,%gz,%r7
	stw %r2,%r4,36
;P_SpawnStrobeFlash+112
	sth %gz,%r1,14
	bweq %r3,%gz,P_SpawnStrobeFlash+144
	ldi %r1,1
;P_SpawnStrobeFlash+128
	stw %r1,%r4,32
	retf 0
	nop 0
;P_SpawnStrobeFlash+144
	callr %r7,P_Random
	andi %r1,%r8,7
	addiws %r1,%r1,1
;P_SpawnStrobeFlash+160
	stw %r1,%r4,32
	retf 0
	nop 0
;EV_StartLightStrobing
	alloc 9
	ldi %r8,-1
	mov %r7,%r1
;EV_StartLightStrobing+16
	callr %r6,P_FindSectorFromLineTag
	bwlt %r7,%gz,EV_StartLightStrobing+128
	mov %r3,%r7
;EV_StartLightStrobing+32
	ldi %r2,35
	jmp EV_StartLightStrobing+80
	nop 0
;EV_StartLightStrobing+48
	mov2 %r7,%r8,%r1,%r3
	callr %r6,P_FindSectorFromLineTag
	mov %r3,%r7
;EV_StartLightStrobing+64
	bwlti %r7,0,EV_StartLightStrobing+128
	nop 0
	nop 0
;EV_StartLightStrobing+80
	lddzr %r4,sectors
	ldax.xuw %r6,%r4,%r3,7,0
	lddzx.xuw %r4,%r4,%r3,7,104
;EV_StartLightStrobing+96
	bdne %r4,%gz,EV_StartLightStrobing+48
	mov2 %r7,%r8,%r2,%gz
	callr %r5,P_SpawnStrobeFlash
;EV_StartLightStrobing+112
	jmp EV_StartLightStrobing+48
	nop 0
	nop 0
;EV_StartLightStrobing+128
	retf 0
	nop 0
	nop 0
;EV_TurnTagLightsOff
	alloc 11
	ldwzr %r3,numsectors
	bwlti %r3,1,EV_TurnTagLightsOff+208
;EV_TurnTagLightsOff+16
	mov %r4,%gz
	lddzr %r2,sectors
	jmp EV_TurnTagLightsOff+80
;EV_TurnTagLightsOff+32
	ldwzr %r3,numsectors
	nop 0
	nop 0
;EV_TurnTagLightsOff+48
	sth %r5,%r2,12
	nop 0
	nop 0
;EV_TurnTagLightsOff+64
	addiws %r4,%r4,1
	addi %r2,%r2,128
	bwle %r3,%r4,EV_TurnTagLightsOff+208
;EV_TurnTagLightsOff+80
	ldhz %r5,%r2,16
	ldhz %r6,%r1,28
	bwne %r5,%r6,EV_TurnTagLightsOff+64
;EV_TurnTagLightsOff+96
	ldwz %r6,%r2,112
	ldhs %r5,%r2,12
	bwlti %r6,1,EV_TurnTagLightsOff+48
;EV_TurnTagLightsOff+112
	mov2 %r6,%r7,%gz,%gz
	jmp EV_TurnTagLightsOff+160
	nop 0
;EV_TurnTagLightsOff+128
	ldws %r3,%r2,112
	addi %r7,%r7,1
	addi %r6,%r6,8
;EV_TurnTagLightsOff+144
	bdle %r3,%r7,EV_TurnTagLightsOff+32
	nop 0
	nop 0
;EV_TurnTagLightsOff+160
	lddz %r3,%r2,120
	lddzx.xd %r9,%r3,%r6,0,0
	mov %r10,%r2
;EV_TurnTagLightsOff+176
	callr %r8,getNextSector
	bdeq %r9,%gz,EV_TurnTagLightsOff+128
	ldhs %r3,%r9,12
;EV_TurnTagLightsOff+192
	minsw %r5,%r5,%r3
	jmp EV_TurnTagLightsOff+128
	nop 0
;EV_TurnTagLightsOff+208
	retf 0
	nop 0
	nop 0
;EV_LightTurnOn
	alloc 11
	ldwzr %r4,numsectors
	bwlti %r4,1,EV_LightTurnOn+224
;EV_LightTurnOn+16
	mov %r5,%gz
	lddzr %r3,sectors
	jmp EV_LightTurnOn+80
;EV_LightTurnOn+32
	ldwzr %r4,numsectors
	nop 0
	nop 0
;EV_LightTurnOn+48
	sth %r2,%r3,12
	nop 0
	nop 0
;EV_LightTurnOn+64
	addiws %r5,%r5,1
	addi %r3,%r3,128
	bwle %r4,%r5,EV_LightTurnOn+224
;EV_LightTurnOn+80
	ldhz %r6,%r3,16
	ldhz %r7,%r1,28
	bwne %r6,%r7,EV_LightTurnOn+64
;EV_LightTurnOn+96
	bwne %r2,%gz,EV_LightTurnOn+48
	ldwz %r2,%r3,112
	bwlti %r2,1,EV_LightTurnOn+208
;EV_LightTurnOn+112
	mov2 %r6,%r7,%gz,%gz
	mov %r2,%gz
	jmp EV_LightTurnOn+160
;EV_LightTurnOn+128
	ldws %r4,%r3,112
	addi %r7,%r7,1
	addi %r6,%r6,8
;EV_LightTurnOn+144
	bdle %r4,%r7,EV_LightTurnOn+32
	nop 0
	nop 0
;EV_LightTurnOn+160
	lddz %r4,%r3,120
	lddzx.xd %r9,%r4,%r6,0,0
	mov %r10,%r3
;EV_LightTurnOn+176
	callr %r8,getNextSector
	bdeq %r9,%gz,EV_LightTurnOn+128
	ldhs %r4,%r9,12
;EV_LightTurnOn+192
	maxsw %r2,%r2,%r4
	jmp EV_LightTurnOn+128
	nop 0
;EV_LightTurnOn+208
	mov %r2,%gz
	jmp EV_LightTurnOn+48
	nop 0
;EV_LightTurnOn+224
	retf 0
	nop 0
	nop 0
;T_Glow
	alloc 6
	ldwz %r2,%r1,40
	bweqi %r2,1,T_Glow+80
;T_Glow+16
	bwnei %r2,-1,T_Glow+144
	lddz %r2,%r1,24
	ldhz %r3,%r2,12
;T_Glow+32
	addiws %r4,%r3,-8
	sth %r4,%r2,12
	ldwz %r5,%r1,32
;T_Glow+48
	slsrai %r4,%r4,48,48
	bwlt %r5,%r4,T_Glow+144
	sth %r3,%r2,12
;T_Glow+64
	ldi %r2,1
	jmp T_Glow+128
	nop 0
;T_Glow+80
	lddz %r2,%r1,24
	ldhz %r3,%r2,12
	addiws %r4,%r3,8
;T_Glow+96
	sth %r4,%r2,12
	ldwz %r5,%r1,36
	slsrai %r4,%r4,48,48
;T_Glow+112
	bwlt %r4,%r5,T_Glow+144
	sth %r3,%r2,12
	ldi %r2,-1
;T_Glow+128
	stw %r2,%r1,40
	nop 0
	nop 0
;T_Glow+144
	retf 0
	nop 0
	nop 0
;P_SpawnGlowingLight
	alloc 8
	ldi %r5,48
	ldi %r6,6
;P_SpawnGlowingLight+16
	mov %r7,%gz
	callr %r4,Z_Malloc
	mov2 %r2,%r7,%r5,%r5
;P_SpawnGlowingLight+32
	callr %r6,P_AddThinker
	std %r1,%r5,24
	ldhs %r7,%r1,12
;P_SpawnGlowingLight+48
	mov %r6,%r1
	callr %r5,P_FindMinSurroundingLight
	stw %r6,%r2,32
;P_SpawnGlowingLight+64
	ldhs %r3,%r1,12
	stw %r3,%r2,36
	ldar %r3,T_Glow
;P_SpawnGlowingLight+80
	std %r3,%r2,16
	ldi %r3,-1
	stw %r3,%r2,40
;P_SpawnGlowingLight+96
	sth %gz,%r1,14
	retf 0
	nop 0
;PIT_StompThing
	alloc 12
	ldbz %r2,%r1,160
	ldi %r3,1
;PIT_StompThing+16
	bbci %r2,2,PIT_StompThing+144
	lddzr %r9,tmthing
	ldwz %r2,%r1,104
;PIT_StompThing+32
	ldwz %r4,%r9,104
	ldwz %r5,%r1,24
	ldwzr %r6,tmx
;PIT_StompThing+48
	addws %r2,%r4,%r2
	absdw %r4,%r6,%r5
	bwle %r2,%r4,PIT_StompThing+144
;PIT_StompThing+64
	bdeq %r1,%r9,PIT_StompThing+144
	ldwz %r4,%r1,28
	ldwzr %r5,tmy
;PIT_StompThing+80
	absdw %r4,%r5,%r4
	bwleu %r2,%r4,PIT_StompThing+144
	lddz %r2,%r9,192
;PIT_StompThing+96
	bdne %r2,%gz,PIT_StompThing+128
	ldwzr %r4,gamemap
	mov %r2,%gz
;PIT_StompThing+112
	bweqi %r4,30,PIT_StompThing+128
	mov %r1,%r2
	retf 0
;PIT_StompThing+128
	ldi %r11,10000
	mov2 %r8,%r10,%r1,%r9
	callr %r7,P_DamageMobj
;PIT_StompThing+144
	mov %r2,%r3
	mov %r1,%r2
	retf 0
;P_TeleportMove
	alloc 15
	stdr %r1,tmthing
	ldwz %r4,%r1,160
;P_TeleportMove+16
	stwr %r4,tmflags
	stwr %r2,tmx
	stwr %r3,tmy
;P_TeleportMove+32
	ldwz %r4,%r1,104
	addws %r5,%r4,%r3
	stwr %r5,tmbbox
;P_TeleportMove+48
	subws %r5,%r3,%r4
	stwr %r5,tmbbox+4
	addws %r5,%r4,%r2
;P_TeleportMove+64
	stwr %r5,tmbbox+12
	subws %r4,%r2,%r4
	stwr %r4,tmbbox+8
;P_TeleportMove+80
	mov2 %r13,%r14,%r2,%r3
	callr %r12,R_PointInSubsector
	stdr %gz,ceilingline
;P_TeleportMove+96
	lddz %r4,%r13,0
	ldwz %r5,%r4,0
	stwr %r5,tmdropoffz
;P_TeleportMove+112
	stwr %r5,tmfloorz
	ldwz %r4,%r4,4
	ldwzr %r5,validcount
;P_TeleportMove+128
	stwr %r4,tmceilingz
	ldwzr %r4,tmbbox+8
	ldwzr %r7,bmaporgx
;P_TeleportMove+144
	addiws %r5,%r5,1
	stwr %r5,validcount
	ldwzr %r5,tmbbox+12
;P_TeleportMove+160
	subws %r4,%r4,%r7
	addiws.l %r4,%r4,-2097152
;P_TeleportMove+176
	sraiw %r6,%r4,23
	subws %r4,%r5,%r7
	nop 2
;P_TeleportMove+192
	addiws.l %r4,%r4,2097152
	sraiw %r8,%r4,23
;P_TeleportMove+208
	stwr %gz,numspechit
	bwle %r6,%r8,P_TeleportMove+288
	nop 0
;P_TeleportMove+224
	mov %r14,%r1
	callr %r13,P_UnsetThingPosition
	ldwzr %r4,tmfloorz
;P_TeleportMove+240
	stw %r4,%r1,96
	ldwzr %r4,tmceilingz
	stw %r4,%r1,100
;P_TeleportMove+256
	stw %r2,%r1,24
	stw %r3,%r1,28
	mov %r14,%r1
;P_TeleportMove+272
	callr %r13,P_SetThingPosition
	ldi %r1,1
	retf 0
;P_TeleportMove+288
	ldwzr %r4,tmbbox+4
	ldwzr %r5,bmaporgy
	ldwzr %r7,tmbbox
;P_TeleportMove+304
	subws %r4,%r4,%r5
	addiws.l %r4,%r4,-2097152
;P_TeleportMove+320
	sraiw %r9,%r4,23
	subws %r4,%r7,%r5
	nop 2
;P_TeleportMove+336
	addiws.l %r4,%r4,2097152
	sraiw %r10,%r4,23
;P_TeleportMove+352
	ldar %r4,PIT_StompThing
	jmp P_TeleportMove+384
	nop 0
;P_TeleportMove+368
	addiws %r6,%r5,1
	bwle %r8,%r5,P_TeleportMove+224
	nop 0
;P_TeleportMove+384
	mov2 %r5,%r7,%r6,%r9
	bwlt %r10,%r9,P_TeleportMove+368
	nop 0
;P_TeleportMove+400
	mov2 %r6,%r12,%r7,%r5
	mov2 %r13,%r14,%r7,%r4
	callr %r11,P_BlockThingsIterator
;P_TeleportMove+416
	bweq %r12,%gz,P_TeleportMove+448
	addiws %r7,%r6,1
	bwlt %r6,%r10,P_TeleportMove+400
;P_TeleportMove+432
	jmp P_TeleportMove+368
	nop 0
	nop 0
;P_TeleportMove+448
	mov %r1,%gz
	retf 0
	nop 0
;PIT_CheckLine
	alloc 8
	mov %r2,%r1
	ldwzr %r3,tmbbox+12
;PIT_CheckLine+16
	ldwz %r4,%r1,44
	ldi %r1,1
	bwle %r3,%r4,PIT_CheckLine+176
;PIT_CheckLine+32
	ldwzr %r3,tmbbox+8
	ldwz %r4,%r2,48
	bwle %r4,%r3,PIT_CheckLine+176
;PIT_CheckLine+48
	ldwzr %r3,tmbbox
	ldwz %r4,%r2,40
	bwle %r3,%r4,PIT_CheckLine+176
;PIT_CheckLine+64
	ldwzr %r3,tmbbox+4
	ldwz %r4,%r2,36
	bwle %r4,%r3,PIT_CheckLine+176
;PIT_CheckLine+80
	ldafr %r6,tmbbox
	mov %r7,%r2
	callr %r5,P_BoxOnLineSide
;PIT_CheckLine+96
	bwnei %r6,-1,PIT_CheckLine+176
	lddz %r3,%r2,64
	bdeq %r3,%gz,PIT_CheckLine+160
;PIT_CheckLine+112
	lddzr %r3,tmthing
	ldbz %r4,%r3,162
	bbsi %r4,0,PIT_CheckLine+192
;PIT_CheckLine+128
	ldhz %r4,%r2,24
	bbsi %r4,0,PIT_CheckLine+160
	bbci %r4,1,PIT_CheckLine+192
;PIT_CheckLine+144
	lddz %r3,%r3,192
	bdne %r3,%gz,PIT_CheckLine+192
	nop 0
;PIT_CheckLine+160
	mov %r1,%gz
	nop 0
	nop 0
;PIT_CheckLine+176
	retf 0
	nop 0
	nop 0
;PIT_CheckLine+192
	mov %r7,%r2
	callr %r6,P_LineOpening
	ldwzr %r3,opentop
;PIT_CheckLine+208
	ldwzr %r4,tmceilingz
	bwle %r4,%r3,PIT_CheckLine+240
	stwr %r3,tmceilingz
;PIT_CheckLine+224
	stdr %r2,ceilingline
	nop 0
	nop 0
;PIT_CheckLine+240
	ldwzr %r3,openbottom
	ldwzr %r4,tmfloorz
	bwle %r3,%r4,PIT_CheckLine+272
;PIT_CheckLine+256
	stwr %r3,tmfloorz
	nop 0
	nop 0
;PIT_CheckLine+272
	ldwzr %r3,lowfloor
	ldwzr %r4,tmdropoffz
	bwle %r4,%r3,PIT_CheckLine+304
;PIT_CheckLine+288
	stwr %r3,tmdropoffz
	nop 0
	nop 0
;PIT_CheckLine+304
	ldhz %r3,%r2,26
	bweq %r3,%gz,PIT_CheckLine+176
	ldwzr %r3,numspechit
;PIT_CheckLine+320
	ldafr %r4,spechit
	stdx.xw %r2,%r4,%r3,3,0
	addiws %r4,%r3,1
;PIT_CheckLine+336
	stwr %r4,numspechit
	bwlti %r3,8,PIT_CheckLine+176
	mov %r7,%r2
;PIT_CheckLine+352
	callr %r6,SpechitOverrun
	retf 0
	nop 0
;SpechitOverrun
	allocsp 8,16
	ldwzr %r2,SpechitOverrun.baseaddr
	bwne %r2,%gz,SpechitOverrun+96
;SpechitOverrun+16
	ldafr %r6,.rodata+7982
	ldi %r7,1
	callr %r5,M_CheckParmWithArgs
;SpechitOverrun+32
	bwlti %r6,1,SpechitOverrun+80
	lddzr %r2,myargv
	lddzx.xuw %r6,%r2,%r6,3,8
;SpechitOverrun+48
	ldafr %r7,SpechitOverrun.baseaddr
	callr %r5,M_StrToInt
	ldwzr %r2,SpechitOverrun.baseaddr
;SpechitOverrun+64
	jmp SpechitOverrun+96
	nop 0
	nop 0
;SpechitOverrun+80
	ldi %r2,29400216
	stwr %r2,SpechitOverrun.baseaddr
	nop 0
;SpechitOverrun+96
	lddzr %r4,lines
	ldwzr %r3,numspechit
	sub %r1,%r1,%r4
;SpechitOverrun+112
	srli %r1,%r1,3
	mulwsi.l %r1,%r1,390451578
;SpechitOverrun+128
	addiws %r4,%r3,-9
	addws %r1,%r1,%r2
	bwgeui %r4,4,SpechitOverrun+160
;SpechitOverrun+144
	ldafr %r2,tmbbox
	stwx.xuw %r1,%r2,%r4,2,0
	retf 16
;SpechitOverrun+160
	bweqi %r3,13,SpechitOverrun+192
	bwnei %r3,14,SpechitOverrun+208
	stwr %r1,nofit
;SpechitOverrun+176
	retf 16
	nop 0
	nop 0
;SpechitOverrun+192
	stwr %r1,crushchange
	retf 16
	nop 0
;SpechitOverrun+208
	lddzr %r6,stderr
	ldafr %r7,.rodata+15462
	stw %r3,%sp,0
;SpechitOverrun+224
	callr %r5,fprintf
	retf 16
	nop 0
;PIT_CheckThing
	alloc 13
	ldwz %r3,%r1,160
	andi %r4,%r3,7
;PIT_CheckThing+16
	ldi %r2,1
	bweq %r4,%gz,PIT_CheckThing+432
	lddzr %r12,tmthing
;PIT_CheckThing+32
	ldwz %r4,%r1,104
	ldwz %r5,%r12,104
	ldwz %r6,%r1,24
;PIT_CheckThing+48
	ldwzr %r7,tmx
	addws %r4,%r5,%r4
	absdw %r5,%r7,%r6
;PIT_CheckThing+64
	bwle %r4,%r5,PIT_CheckThing+432
	bdeq %r1,%r12,PIT_CheckThing+432
	ldwz %r5,%r1,28
;PIT_CheckThing+80
	ldwzr %r6,tmy
	absdw %r5,%r6,%r5
	bwleu %r4,%r5,PIT_CheckThing+432
;PIT_CheckThing+96
	ldwz %r4,%r12,160
	bbsi %r4,24,PIT_CheckThing+144
	bbsi %r4,16,PIT_CheckThing+288
;PIT_CheckThing+112
	bbci %r3,0,PIT_CheckThing+416
	ldbzr %r2,tmflags+1
	bbci %r2,3,PIT_CheckThing+416
;PIT_CheckThing+128
	mov %r11,%r1
	callr %r10,P_TouchSpecialThing
	jmp PIT_CheckThing+416
;PIT_CheckThing+144
	callr %r11,P_Random
	lddzr %r10,tmthing
	lddz %r2,%r10,136
;PIT_CheckThing+160
	sraiw %r3,%r12,31
	srliw %r3,%r3,29
	addws %r3,%r12,%r3
;PIT_CheckThing+176
	ldwz %r2,%r2,76
	andi %r3,%r3,-8
	subws %r3,%r12,%r3
;PIT_CheckThing+192
	addiws %r3,%r3,1
	mulws %r12,%r2,%r3
	mov2 %r9,%r11,%r1,%r10
;PIT_CheckThing+208
	callr %r8,P_DamageMobj
	lddzr %r11,tmthing
	ldwz %r1,%r11,160
;PIT_CheckThing+224
	andi.l %r1,%r1,-16777217
	stw %r1,%r11,160
;PIT_CheckThing+240
	stw %gz,%r11,120
	std %gz,%r11,112
	lddz %r1,%r11,136
;PIT_CheckThing+256
	ldwz %r12,%r1,4
	callr %r10,P_SetMobjState
	mov %r1,%gz
;PIT_CheckThing+272
	retf 0
	nop 0
	nop 0
;PIT_CheckThing+288
	ldwz %r4,%r1,32
	ldwz %r6,%r1,108
	ldwz %r5,%r12,32
;PIT_CheckThing+304
	addws %r6,%r6,%r4
	bwlt %r6,%r5,PIT_CheckThing+432
	ldwz %r6,%r12,108
;PIT_CheckThing+320
	addws %r5,%r6,%r5
	bwlt %r5,%r4,PIT_CheckThing+432
	lddz %r4,%r12,176
;PIT_CheckThing+336
	bdeq %r4,%gz,PIT_CheckThing+400
	ldwz %r6,%r4,128
	ldwz %r5,%r1,128
;PIT_CheckThing+352
	bweq %r6,%r5,PIT_CheckThing+384
	bwnei %r6,17,PIT_CheckThing+368
	bweqi %r5,15,PIT_CheckThing+384
;PIT_CheckThing+368
	bwnei %r6,15,PIT_CheckThing+400
	bwnei %r5,17,PIT_CheckThing+400
	nop 0
;PIT_CheckThing+384
	bdeq %r1,%r4,PIT_CheckThing+432
	mov %r2,%gz
	bwne %r5,%gz,PIT_CheckThing+432
;PIT_CheckThing+400
	bbsi %r3,2,PIT_CheckThing+448
	nop 0
	nop 0
;PIT_CheckThing+416
	xori %r1,%r3,-1
	slsrli %r2,%r1,62,63
	nop 0
;PIT_CheckThing+432
	mov %r1,%r2
	retf 0
	nop 0
;PIT_CheckThing+448
	callr %r11,P_Random
	lddzr %r10,tmthing
	lddz %r2,%r10,136
;PIT_CheckThing+464
	sraiw %r3,%r12,31
	srliw %r3,%r3,29
	addws %r3,%r12,%r3
;PIT_CheckThing+480
	ldwz %r2,%r2,76
	andi %r3,%r3,-8
	subws %r3,%r12,%r3
;PIT_CheckThing+496
	addiws %r3,%r3,1
	mulws %r12,%r2,%r3
	lddz %r11,%r10,176
;PIT_CheckThing+512
	mov %r9,%r1
	callr %r8,P_DamageMobj
	mov %r1,%gz
;PIT_CheckThing+528
	retf 0
	nop 0
	nop 0
;P_CheckPosition
	alloc 14
	stdr %r1,tmthing
	ldwz %r4,%r1,160
;P_CheckPosition+16
	stwr %r4,tmflags
	stwr %r2,tmx
	stwr %r3,tmy
;P_CheckPosition+32
	ldwz %r1,%r1,104
	addws %r4,%r1,%r3
	stwr %r4,tmbbox
;P_CheckPosition+48
	subws %r4,%r3,%r1
	stwr %r4,tmbbox+4
	addws %r4,%r1,%r2
;P_CheckPosition+64
	stwr %r4,tmbbox+12
	subws %r1,%r2,%r1
	stwr %r1,tmbbox+8
;P_CheckPosition+80
	mov2 %r12,%r13,%r2,%r3
	callr %r11,R_PointInSubsector
	stdr %gz,ceilingline
;P_CheckPosition+96
	lddz %r1,%r12,0
	ldwz %r2,%r1,0
	stwr %r2,tmdropoffz
;P_CheckPosition+112
	stwr %r2,tmfloorz
	ldwz %r1,%r1,4
	ldwzr %r2,validcount
;P_CheckPosition+128
	ldbzr %r3,tmflags+1
	stwr %r1,tmceilingz
	addiws %r1,%r2,1
;P_CheckPosition+144
	stwr %r1,validcount
	stwr %gz,numspechit
	ldi %r1,1
;P_CheckPosition+160
	bbsi %r3,4,P_CheckPosition+528
	ldwzr %r3,tmbbox+8
	ldwzr %r2,bmaporgx
;P_CheckPosition+176
	ldwzr %r4,tmbbox+12
	subws %r5,%r3,%r2
	nop 2
;P_CheckPosition+192
	addiws.l %r5,%r5,-2097152
	sraiw %r9,%r5,23
;P_CheckPosition+208
	subws %r5,%r4,%r2
	ldwzr %r4,bmaporgy
	ldwzr %r7,tmbbox
;P_CheckPosition+224
	addiws.l %r6,%r5,2097152
	sraiw %r6,%r6,23
;P_CheckPosition+240
	ldwzr %r8,tmbbox+4
	subws %r7,%r7,%r4
	bwle %r9,%r6,P_CheckPosition+384
;P_CheckPosition+256
	subws %r2,%r3,%r2
	sraiw %r9,%r2,23
	sraiw %r6,%r5,23
;P_CheckPosition+272
	bwlt %r6,%r9,P_CheckPosition+528
	subws %r2,%r8,%r4
	sraiw %r8,%r2,23
;P_CheckPosition+288
	sraiw %r7,%r7,23
	ldar %r2,PIT_CheckLine
	jmp P_CheckPosition+320
;P_CheckPosition+304
	addiws %r9,%r3,1
	bwle %r6,%r3,P_CheckPosition+528
	nop 0
;P_CheckPosition+320
	mov2 %r3,%r5,%r9,%r8
	bwlt %r7,%r8,P_CheckPosition+304
	nop 0
;P_CheckPosition+336
	mov2 %r4,%r11,%r5,%r3
	mov2 %r12,%r13,%r5,%r2
	callr %r10,P_BlockLinesIterator
;P_CheckPosition+352
	bweq %r11,%gz,P_CheckPosition+512
	addiws %r5,%r4,1
	bwlt %r4,%r7,P_CheckPosition+336
;P_CheckPosition+368
	jmp P_CheckPosition+304
	nop 0
	nop 0
;P_CheckPosition+384
	subws %r2,%r8,%r4
	addiws.l %r2,%r2,-2097152
;P_CheckPosition+400
	sraiw %r8,%r2,23
	addiws.l %r2,%r7,2097152
;P_CheckPosition+416
	sraiw %r7,%r2,23
	ldar %r2,PIT_CheckThing
	jmp P_CheckPosition+448
;P_CheckPosition+432
	addiws %r9,%r3,1
	bwle %r6,%r3,P_CheckPosition+544
	nop 0
;P_CheckPosition+448
	mov2 %r3,%r5,%r9,%r8
	bwlt %r7,%r8,P_CheckPosition+432
	nop 0
;P_CheckPosition+464
	mov2 %r4,%r11,%r5,%r3
	mov2 %r12,%r13,%r5,%r2
	callr %r10,P_BlockThingsIterator
;P_CheckPosition+480
	bweq %r11,%gz,P_CheckPosition+512
	addiws %r5,%r4,1
	bwlt %r4,%r7,P_CheckPosition+464
;P_CheckPosition+496
	jmp P_CheckPosition+432
	nop 0
	nop 0
;P_CheckPosition+512
	mov %r1,%gz
	nop 0
	nop 0
;P_CheckPosition+528
	retf 0
	nop 0
	nop 0
;P_CheckPosition+544
	ldwzr %r2,bmaporgx
	ldwzr %r5,tmbbox+12
	ldwzr %r4,bmaporgy
;P_CheckPosition+560
	ldwzr %r6,tmbbox
	ldwzr %r3,tmbbox+8
	ldwzr %r8,tmbbox+4
;P_CheckPosition+576
	subws %r5,%r5,%r2
	subws %r7,%r6,%r4
	jmp P_CheckPosition+256
;P_TryMove
	alloc 13
	mov %r6,%r1
	stwr %gz,floatok
;P_TryMove+16
	mov2 %r10,%r11,%r1,%r2
	mov %r12,%r3
	callr %r9,P_CheckPosition
;P_TryMove+32
	mov %r1,%gz
	bweq %r10,%gz,P_TryMove+288
	ldwz %r4,%r6,160
;P_TryMove+48
	bbsi %r4,12,P_TryMove+192
	ldwzr %r1,tmceilingz
	ldwzr %r5,tmfloorz
;P_TryMove+64
	ldwz %r7,%r6,108
	subws %r8,%r1,%r5
	bwle %r7,%r8,P_TryMove+96
;P_TryMove+80
	mov %r1,%gz
	retf 0
	nop 0
;P_TryMove+96
	ldi %r8,1
	stwr %r8,floatok
	bbsi %r4,15,P_TryMove+160
;P_TryMove+112
	ldwz %r8,%r6,32
	subws %r1,%r1,%r8
	bwlt %r1,%r7,P_TryMove+80
;P_TryMove+128
	subws %r7,%r5,%r8
	mov %r1,%gz
	nop 2
;P_TryMove+144
	bwgei.l %r7,1572865,P_TryMove+288
	nop 0
;P_TryMove+160
	andi %r1,%r4,17408
	bwne %r1,%gz,P_TryMove+192
	ldwzr %r1,tmdropoffz
;P_TryMove+176
	subws %r1,%r5,%r1
	bwgei.l %r1,1572865,P_TryMove+80
;P_TryMove+192
	mov %r12,%r6
	callr %r11,P_UnsetThingPosition
	ldwzr %r1,tmfloorz
;P_TryMove+208
	ldwz %r5,%r6,24
	ldwz %r4,%r6,28
	stw %r1,%r6,96
;P_TryMove+224
	ldwzr %r1,tmceilingz
	stw %r1,%r6,100
	stw %r2,%r6,24
;P_TryMove+240
	stw %r3,%r6,28
	mov %r12,%r6
	callr %r11,P_SetThingPosition
;P_TryMove+256
	ldbz %r1,%r6,161
	andi %r2,%r1,144
	ldi %r1,1
;P_TryMove+272
	bweq %r2,%gz,P_TryMove+304
	nop 0
	nop 0
;P_TryMove+288
	retf 0
	nop 0
	nop 0
;P_TryMove+304
	ldwzr %r3,numspechit
	addiws %r2,%r3,-1
	stwr %r2,numspechit
;P_TryMove+320
	bweq %r3,%gz,P_TryMove+288
	ldafr %r8,spechit
	jmp P_TryMove+368
;P_TryMove+336
	ldwzr %r3,numspechit
	addiws %r2,%r3,-1
	stwr %r2,numspechit
;P_TryMove+352
	bweq %r3,%gz,P_TryMove+288
	nop 0
	nop 0
;P_TryMove+368
	lddzx.xw %r2,%r8,%r2,3,0
	ldwz %r10,%r6,24
	ldwz %r11,%r6,28
;P_TryMove+384
	mov %r12,%r2
	callr %r9,P_PointOnLineSide
	mov2 %r3,%r10,%r10,%r5
;P_TryMove+400
	mov2 %r11,%r12,%r4,%r2
	callr %r9,P_PointOnLineSide
	bweq %r3,%r10,P_TryMove+336
;P_TryMove+416
	ldhz %r3,%r2,26
	bweq %r3,%gz,P_TryMove+336
	mov %r11,%r10
;P_TryMove+432
	lddzr %r3,lines
	sub %r2,%r2,%r3
	srli %r2,%r2,3
;P_TryMove+448
	mulwsi.l %r10,%r2,-1171354717
	mov %r12,%r6
;P_TryMove+464
	callr %r9,P_CrossSpecialLine
	jmp P_TryMove+336
	nop 0
;P_ThingHeightClip
	alloc 10
	ldwz %r4,%r1,32
	ldwz %r5,%r1,96
;P_ThingHeightClip+16
	ldwz %r8,%r1,24
	ldwz %r9,%r1,28
	mov %r7,%r1
;P_ThingHeightClip+32
	callr %r6,P_CheckPosition
	ldwzr %r2,tmfloorz
	stw %r2,%r1,96
;P_ThingHeightClip+48
	ldwzr %r3,tmceilingz
	stw %r3,%r1,100
	bwne %r4,%r5,P_ThingHeightClip+80
;P_ThingHeightClip+64
	stw %r2,%r1,32
	ldwz %r4,%r1,108
	jmp P_ThingHeightClip+112
;P_ThingHeightClip+80
	ldwz %r5,%r1,32
	ldwz %r4,%r1,108
	addws %r5,%r4,%r5
;P_ThingHeightClip+96
	bwle %r5,%r3,P_ThingHeightClip+112
	subws %r5,%r3,%r4
	stw %r5,%r1,32
;P_ThingHeightClip+112
	subws %r1,%r3,%r2
	cmpwle %r1,%r4,%r1
	retf 0
;P_HitSlideLine
	alloc 10
	ldwz %r2,%r1,52
	bweqi %r2,1,P_HitSlideLine+32
;P_HitSlideLine+16
	bwne %r2,%gz,P_HitSlideLine+48
	stwr %gz,tmymove
	retf 0
;P_HitSlideLine+32
	stwr %gz,tmxmove
	retf 0
	nop 0
;P_HitSlideLine+48
	lddzr %r2,slidemo
	ldwz %r7,%r2,24
	ldwz %r8,%r2,28
;P_HitSlideLine+64
	mov %r9,%r1
	callr %r6,P_PointOnLineSide
	mov %r2,%r7
;P_HitSlideLine+80
	ldwz %r8,%r1,16
	ldwz %r9,%r1,20
	mov2 %r6,%r7,%gz,%gz
;P_HitSlideLine+96
	callr %r5,R_PointToAngle2
	cmpweqi %r1,%r2,1
	nop 2
;P_HitSlideLine+112
	xori.l %r2,%r6,-2147483648
	cmovlsb %r2,%r1,%r2,%r6
;P_HitSlideLine+128
	ldwzr %r8,tmxmove
	ldwzr %r9,tmymove
	mov2 %r6,%r7,%gz,%gz
;P_HitSlideLine+144
	callr %r5,R_PointToAngle2
	subws %r1,%r6,%r2
	nop 2
;P_HitSlideLine+160
	cmpwgtui.l %r3,%r1,2147483648
	srliw %r4,%r1,19
;P_HitSlideLine+176
	slsrli %r1,%r1,33,52
	srliw %r2,%r2,19
	cmovlsb %r3,%r3,%r1,%r4
;P_HitSlideLine+192
	ldwzr %r8,tmxmove
	ldwzr %r9,tmymove
	callr %r7,P_AproxDistance
;P_HitSlideLine+208
	lddzr %r1,finecosine
	ldwsx.xuw %r3,%r1,%r3,2,0
	sraiw %r4,%r8,0
;P_HitSlideLine+224
	ldwsx.xuw %r1,%r1,%r2,2,0
	mul %r3,%r4,%r3
	slsrai %r3,%r3,16,32
;P_HitSlideLine+240
	ldafr %r4,finesine
	ldwsx.xuw %r2,%r4,%r2,2,0
	mul %r1,%r3,%r1
;P_HitSlideLine+256
	srli %r1,%r1,16
	stwr %r1,tmxmove
	mul %r1,%r3,%r2
;P_HitSlideLine+272
	srli %r1,%r1,16
	stwr %r1,tmymove
	retf 0
;PTR_SlideTraverse
	alloc 10
	ldwz %r2,%r1,4
	bwne %r2,%gz,PTR_SlideTraverse+32
;PTR_SlideTraverse+16
	ldafr %r9,.rodata+7296
	callr %r8,I_Error
	nop 0
;PTR_SlideTraverse+32
	lddz %r2,%r1,8
	ldbz %r3,%r2,24
	bbsi %r3,2,PTR_SlideTraverse+96
;PTR_SlideTraverse+48
	lddzr %r3,slidemo
	ldwz %r7,%r3,24
	ldwz %r8,%r3,28
;PTR_SlideTraverse+64
	mov %r9,%r2
	callr %r6,P_PointOnLineSide
	bweq %r7,%gz,PTR_SlideTraverse+176
;PTR_SlideTraverse+80
	ldi %r1,1
	retf 0
	nop 0
;PTR_SlideTraverse+96
	mov %r9,%r2
	callr %r8,P_LineOpening
	lddzr %r3,slidemo
;PTR_SlideTraverse+112
	ldwzr %r5,openrange
	ldwz %r4,%r3,108
	bwlt %r5,%r4,PTR_SlideTraverse+176
;PTR_SlideTraverse+128
	ldwzr %r5,opentop
	ldwz %r3,%r3,32
	subws %r5,%r5,%r3
;PTR_SlideTraverse+144
	bwlt %r5,%r4,PTR_SlideTraverse+176
	ldwzr %r4,openbottom
	subws %r3,%r4,%r3
;PTR_SlideTraverse+160
	bwlti.l %r3,1572865,PTR_SlideTraverse+80
	nop 0
;PTR_SlideTraverse+176
	ldwz %r5,%r1,0
	ldwzr %r4,bestslidefrac
	mov %r3,%gz
;PTR_SlideTraverse+192
	bwle %r4,%r5,PTR_SlideTraverse+240
	lddzr %r3,bestslideline
	stwr %r4,secondslidefrac
;PTR_SlideTraverse+208
	stdr %r3,secondslideline
	ldwz %r1,%r1,0
	mov %r3,%gz
;PTR_SlideTraverse+224
	stwr %r1,bestslidefrac
	stdr %r2,bestslideline
	nop 0
;PTR_SlideTraverse+240
	mov %r1,%r3
	retf 0
	nop 0
;P_SlideMove
	alloc 22
	mov %r9,%gz
	stdr %r1,slidemo
;P_SlideMove+16
	ldi %r10,65537
	ldar %r2,PTR_SlideTraverse
	ldi %r3,1
;P_SlideMove+32
	ldi %r11,65536
	jmp P_SlideMove+192
	nop 0
;P_SlideMove+48
	subfiws %r4,%r4,65536
	minuw %r4,%r4,%r11
	stwr %r4,bestslidefrac
;P_SlideMove+64
	ldws %r5,%r1,112
	sraiw %r4,%r4,0
	mul %r5,%r5,%r4
;P_SlideMove+80
	srli %r5,%r5,16
	stwr %r5,tmxmove
	ldws %r5,%r1,116
;P_SlideMove+96
	mul %r4,%r5,%r4
	srli %r4,%r4,16
	stwr %r4,tmymove
;P_SlideMove+112
	lddzr %r21,bestslideline
	callr %r20,P_HitSlideLine
	ldwzr %r4,tmxmove
;P_SlideMove+128
	stw %r4,%r1,112
	ldwzr %r5,tmymove
	stw %r5,%r1,116
;P_SlideMove+144
	ldwz %r6,%r1,24
	ldwz %r7,%r1,28
	addws %r20,%r6,%r4
;P_SlideMove+160
	addws %r21,%r7,%r5
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+176
	bwne %r19,%gz,P_SlideMove+592
	nop 0
	nop 0
;P_SlideMove+192
	addiws %r9,%r9,1
	bweqi %r9,3,P_SlideMove+544
	ldwz %r7,%r1,104
;P_SlideMove+208
	ldwz %r8,%r1,112
	ldwz %r5,%r1,24
	subfiws %r12,%r7,0
;P_SlideMove+224
	ldwz %r13,%r1,116
	ldwz %r14,%r1,28
	cmovwle %r4,%r8,%r7,%r12
;P_SlideMove+240
	addws %r4,%r5,%r4
	cmovwle %r6,%r8,%r12,%r7
	addws %r5,%r5,%r6
;P_SlideMove+256
	cmovwle %r6,%r13,%r7,%r12
	addws %r6,%r14,%r6
	cmovwle %r7,%r13,%r12,%r7
;P_SlideMove+272
	addws %r7,%r14,%r7
	stwr %r10,bestslidefrac
	addws %r18,%r5,%r8
;P_SlideMove+288
	addws %r19,%r7,%r13
	mov2 %r16,%r17,%r5,%r7
	mov2 %r20,%r21,%r3,%r2
;P_SlideMove+304
	callr %r15,P_PathTraverse
	ldwz %r8,%r1,112
	ldwz %r12,%r1,116
;P_SlideMove+320
	addws %r18,%r8,%r4
	addws %r19,%r12,%r7
	mov2 %r16,%r17,%r4,%r7
;P_SlideMove+336
	mov2 %r20,%r21,%r3,%r2
	callr %r15,P_PathTraverse
	ldwz %r4,%r1,112
;P_SlideMove+352
	ldwz %r7,%r1,116
	addws %r18,%r4,%r5
	addws %r19,%r7,%r6
;P_SlideMove+368
	mov2 %r16,%r17,%r5,%r6
	mov2 %r20,%r21,%r3,%r2
	callr %r15,P_PathTraverse
;P_SlideMove+384
	ldwzr %r4,bestslidefrac
	bweqi.l %r4,65537,P_SlideMove+544
;P_SlideMove+400
	addiws %r5,%r4,-2048
	stwr %r5,bestslidefrac
	nop 2
;P_SlideMove+416
	bwlti.l %r4,2049,P_SlideMove+48
	ldws %r4,%r1,112
;P_SlideMove+432
	srliw %r5,%r5,0
	mul %r4,%r4,%r5
	ldws %r6,%r1,116
;P_SlideMove+448
	srli %r4,%r4,16
	ldwz %r7,%r1,24
	ldwz %r8,%r1,28
;P_SlideMove+464
	mul %r5,%r6,%r5
	srli %r5,%r5,16
	addws %r20,%r7,%r4
;P_SlideMove+480
	addws %r21,%r8,%r5
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+496
	bweq %r19,%gz,P_SlideMove+544
	ldwzr %r5,bestslidefrac
	subfiws %r4,%r5,63488
;P_SlideMove+512
	minsw %r4,%r4,%r11
	stwr %r4,bestslidefrac
	nop 2
;P_SlideMove+528
	bwlti.l %r5,63488,P_SlideMove+64
	jmp P_SlideMove+592
;P_SlideMove+544
	ldwz %r2,%r1,28
	ldwz %r3,%r1,116
	ldwz %r20,%r1,24
;P_SlideMove+560
	addws %r21,%r3,%r2
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+576
	bweq %r19,%gz,P_SlideMove+608
	nop 0
	nop 0
;P_SlideMove+592
	retf 0
	nop 0
	nop 0
;P_SlideMove+608
	ldwz %r2,%r1,24
	ldwz %r3,%r1,112
	addws %r20,%r3,%r2
;P_SlideMove+624
	ldwz %r21,%r1,28
	mov %r19,%r1
	callr %r18,P_TryMove
;P_SlideMove+640
	retf 0
	nop 0
	nop 0
;PTR_AimTraverse
	alloc 11
	ldwz %r3,%r1,4
	lddz %r2,%r1,8
;PTR_AimTraverse+16
	bweq %r3,%gz,PTR_AimTraverse+224
	ldbz %r3,%r2,24
	bbci %r3,2,PTR_AimTraverse+208
;PTR_AimTraverse+32
	mov %r10,%r2
	callr %r9,P_LineOpening
	ldwzr %r3,openbottom
;PTR_AimTraverse+48
	ldwzr %r4,opentop
	bwle %r4,%r3,PTR_AimTraverse+208
	ldwsr %r5,attackrange
;PTR_AimTraverse+64
	ldws %r1,%r1,0
	lddz %r4,%r2,64
	mul %r1,%r1,%r5
;PTR_AimTraverse+80
	srli %r1,%r1,16
	bdeq %r4,%gz,PTR_AimTraverse+112
	lddz %r5,%r2,56
;PTR_AimTraverse+96
	ldwz %r5,%r5,0
	ldwz %r4,%r4,0
	bweq %r5,%r4,PTR_AimTraverse+160
;PTR_AimTraverse+112
	ldwzr %r4,shootz
	subws %r9,%r3,%r4
	mov %r10,%r1
;PTR_AimTraverse+128
	callr %r8,FixedDiv
	ldwzr %r3,bottomslope
	bwle %r9,%r3,PTR_AimTraverse+160
;PTR_AimTraverse+144
	stwr %r9,bottomslope
	nop 0
	nop 0
;PTR_AimTraverse+160
	lddz %r3,%r2,64
	bdeq %r3,%gz,PTR_AimTraverse+448
	lddz %r2,%r2,56
;PTR_AimTraverse+176
	ldwz %r2,%r2,4
	ldwz %r3,%r3,4
	bwne %r2,%r3,PTR_AimTraverse+448
;PTR_AimTraverse+192
	ldwzr %r1,topslope
	jmp PTR_AimTraverse+496
	nop 0
;PTR_AimTraverse+208
	mov %r1,%gz
	retf 0
	nop 0
;PTR_AimTraverse+224
	mov %r3,%r1
	lddzr %r4,shootthing
	ldi %r1,1
;PTR_AimTraverse+240
	bdeq %r2,%r4,PTR_AimTraverse+432
	ldbz %r4,%r2,160
	bbci %r4,2,PTR_AimTraverse+432
;PTR_AimTraverse+256
	ldwsr %r4,attackrange
	ldws %r3,%r3,0
	ldwz %r5,%r2,32
;PTR_AimTraverse+272
	ldwz %r6,%r2,108
	ldwzr %r7,shootz
	mul %r3,%r3,%r4
;PTR_AimTraverse+288
	srli %r4,%r3,16
	addws %r3,%r6,%r5
	subws %r9,%r3,%r7
;PTR_AimTraverse+304
	mov %r10,%r4
	callr %r8,FixedDiv
	ldwzr %r5,bottomslope
;PTR_AimTraverse+320
	bwlt %r9,%r5,PTR_AimTraverse+432
	mov %r3,%r9
	ldwz %r5,%r2,32
;PTR_AimTraverse+336
	ldwzr %r6,shootz
	subws %r9,%r5,%r6
	mov %r10,%r4
;PTR_AimTraverse+352
	callr %r8,FixedDiv
	ldwzr %r4,topslope
	bwlt %r4,%r9,PTR_AimTraverse+432
;PTR_AimTraverse+368
	ldwzr %r5,bottomslope
	mov %r1,%gz
	minsw %r3,%r3,%r4
;PTR_AimTraverse+384
	maxsw %r4,%r9,%r5
	addws %r3,%r4,%r3
	srliw %r4,%r3,31
;PTR_AimTraverse+400
	addws %r3,%r3,%r4
	sraiw %r3,%r3,1
	stwr %r3,aimslope
;PTR_AimTraverse+416
	stdr %r2,linetarget
	nop 0
	nop 0
;PTR_AimTraverse+432
	retf 0
	nop 0
	nop 0
;PTR_AimTraverse+448
	ldwzr %r2,opentop
	ldwzr %r3,shootz
	subws %r9,%r2,%r3
;PTR_AimTraverse+464
	mov %r10,%r1
	callr %r8,FixedDiv
	ldwzr %r1,topslope
;PTR_AimTraverse+480
	bwle %r1,%r9,PTR_AimTraverse+496
	stwr %r9,topslope
	mov %r1,%r9
;PTR_AimTraverse+496
	ldwzr %r2,bottomslope
	cmpwlt %r1,%r2,%r1
	retf 0
;PTR_ShootTraverse
	alloc 18
	ldwz %r3,%r1,4
	lddz %r2,%r1,8
;PTR_ShootTraverse+16
	bweq %r3,%gz,PTR_ShootTraverse+288
	ldhz %r3,%r2,26
	bweq %r3,%gz,PTR_ShootTraverse+48
;PTR_ShootTraverse+32
	lddzr %r16,shootthing
	mov %r17,%r2
	callr %r15,P_ShootSpecialLine
;PTR_ShootTraverse+48
	ldbz %r3,%r2,24
	bbsi %r3,2,PTR_ShootTraverse+592
	nop 0
;PTR_ShootTraverse+64
	ldwz %r3,%r1,0
	ldwzr %r17,attackrange
	ldi %r16,262144
;PTR_ShootTraverse+80
	callr %r15,FixedDiv
	ldwzr %r1,trace
	ldwsr %r5,trace+8
;PTR_ShootTraverse+96
	subws %r4,%r3,%r16
	ldwzr %r3,trace+4
	ldwsr %r6,trace+12
;PTR_ShootTraverse+112
	ldwsr %r7,attackrange
	lddz %r8,%r2,56
	ldwzr %r9,shootz
;PTR_ShootTraverse+128
	ldwsr %r10,aimslope
	mul %r11,%r4,%r7
	ldhs %r7,%r8,10
;PTR_ShootTraverse+144
	ldwzr %r12,skyflatnum
	slsrai %r11,%r11,16,32
	mul %r10,%r11,%r10
;PTR_ShootTraverse+160
	srli %r10,%r10,16
	addws %r17,%r9,%r10
	bwne %r12,%r7,PTR_ShootTraverse+224
;PTR_ShootTraverse+176
	ldwz %r8,%r8,4
	bwlt %r8,%r17,PTR_ShootTraverse+272
	lddz %r2,%r2,64
;PTR_ShootTraverse+192
	bdeq %r2,%gz,PTR_ShootTraverse+224
	ldhz %r2,%r2,10
	andi %r7,%r7,65535
;PTR_ShootTraverse+208
	bweq %r7,%r2,PTR_ShootTraverse+272
	nop 0
	nop 0
;PTR_ShootTraverse+224
	mul %r2,%r5,%r4
	srli %r2,%r2,16
	addws %r15,%r1,%r2
;PTR_ShootTraverse+240
	mul %r1,%r6,%r4
	srli %r1,%r1,16
	addws %r16,%r3,%r1
;PTR_ShootTraverse+256
	callr %r14,P_SpawnPuff
	nop 0
	nop 0
;PTR_ShootTraverse+272
	mov %r3,%gz
	mov %r1,%r3
	retf 0
;PTR_ShootTraverse+288
	lddzr %r4,shootthing
	ldi %r3,1
	bdeq %r2,%r4,PTR_ShootTraverse+768
;PTR_ShootTraverse+304
	ldbz %r4,%r2,160
	bbci %r4,2,PTR_ShootTraverse+768
	ldwsr %r4,attackrange
;PTR_ShootTraverse+320
	ldws %r5,%r1,0
	ldwz %r6,%r2,32
	ldwz %r7,%r2,108
;PTR_ShootTraverse+336
	ldwzr %r8,shootz
	mul %r4,%r5,%r4
	srli %r4,%r4,16
;PTR_ShootTraverse+352
	addws %r5,%r7,%r6
	subws %r16,%r5,%r8
	mov %r17,%r4
;PTR_ShootTraverse+368
	callr %r15,FixedDiv
	ldwzr %r5,aimslope
	bwlt %r16,%r5,PTR_ShootTraverse+768
;PTR_ShootTraverse+384
	ldwz %r5,%r2,32
	ldwzr %r6,shootz
	subws %r16,%r5,%r6
;PTR_ShootTraverse+400
	mov %r17,%r4
	callr %r15,FixedDiv
	ldwzr %r4,aimslope
;PTR_ShootTraverse+416
	bwlt %r4,%r16,PTR_ShootTraverse+768
	ldwz %r4,%r1,0
	ldwzr %r17,attackrange
;PTR_ShootTraverse+432
	ldi %r16,655360
	callr %r15,FixedDiv
	ldwsr %r3,trace+8
;PTR_ShootTraverse+448
	ldwzr %r5,trace
	subws %r4,%r4,%r16
	mul %r3,%r3,%r4
;PTR_ShootTraverse+464
	ldwsr %r6,trace+12
	srli %r3,%r3,16
	ldwzr %r7,trace+4
;PTR_ShootTraverse+480
	addws %r14,%r5,%r3
	mul %r3,%r6,%r4
	srli %r3,%r3,16
;PTR_ShootTraverse+496
	addws %r16,%r7,%r3
	ldwsr %r3,attackrange
	lddz %r1,%r1,8
;PTR_ShootTraverse+512
	ldwzr %r5,shootz
	ldwsr %r6,aimslope
	mul %r3,%r4,%r3
;PTR_ShootTraverse+528
	ldbz %r4,%r1,162
	slsrai %r1,%r3,16,32
	mul %r1,%r1,%r6
;PTR_ShootTraverse+544
	srli %r1,%r1,16
	addws %r1,%r5,%r1
	bbsi %r4,3,PTR_ShootTraverse+880
;PTR_ShootTraverse+560
	ldwzr %r17,la_damage
	mov2 %r15,%r16,%r16,%r1
	callr %r13,P_SpawnBlood
;PTR_ShootTraverse+576
	jmp PTR_ShootTraverse+896
	nop 0
	nop 0
;PTR_ShootTraverse+592
	mov %r17,%r2
	callr %r16,P_LineOpening
	ldwsr %r4,attackrange
;PTR_ShootTraverse+608
	ldws %r5,%r1,0
	lddz %r3,%r2,64
	mul %r4,%r5,%r4
;PTR_ShootTraverse+624
	srli %r4,%r4,16
	bdeq %r3,%gz,PTR_ShootTraverse+784
	lddz %r5,%r2,56
;PTR_ShootTraverse+640
	ldwz %r6,%r5,0
	ldwz %r7,%r3,0
	bweq %r6,%r7,PTR_ShootTraverse+704
;PTR_ShootTraverse+656
	ldwzr %r3,openbottom
	ldwzr %r5,shootz
	subws %r16,%r3,%r5
;PTR_ShootTraverse+672
	mov %r17,%r4
	callr %r15,FixedDiv
	ldwzr %r3,aimslope
;PTR_ShootTraverse+688
	bwlt %r3,%r16,PTR_ShootTraverse+64
	lddz %r5,%r2,56
	lddz %r3,%r2,64
;PTR_ShootTraverse+704
	ldwz %r5,%r5,4
	ldwz %r6,%r3,4
	ldi %r3,1
;PTR_ShootTraverse+720
	bweq %r5,%r6,PTR_ShootTraverse+768
	ldwzr %r5,opentop
	ldwzr %r6,shootz
;PTR_ShootTraverse+736
	subws %r16,%r5,%r6
	mov %r17,%r4
	callr %r15,FixedDiv
;PTR_ShootTraverse+752
	ldwzr %r4,aimslope
	bwlt %r16,%r4,PTR_ShootTraverse+64
	nop 0
;PTR_ShootTraverse+768
	mov %r1,%r3
	retf 0
	nop 0
;PTR_ShootTraverse+784
	ldwzr %r3,openbottom
	ldwzr %r5,shootz
	subws %r16,%r3,%r5
;PTR_ShootTraverse+800
	mov %r17,%r4
	callr %r15,FixedDiv
	ldwzr %r3,aimslope
;PTR_ShootTraverse+816
	bwlt %r3,%r16,PTR_ShootTraverse+64
	ldwzr %r3,opentop
	ldwzr %r5,shootz
;PTR_ShootTraverse+832
	subws %r16,%r3,%r5
	mov %r17,%r4
	callr %r15,FixedDiv
;PTR_ShootTraverse+848
	ldwzr %r3,aimslope
	bwlt %r16,%r3,PTR_ShootTraverse+64
	ldi %r1,1
;PTR_ShootTraverse+864
	retf 0
	nop 0
	nop 0
;PTR_ShootTraverse+880
	mov2 %r15,%r17,%r14,%r1
	callr %r14,P_SpawnPuff
	nop 0
;PTR_ShootTraverse+896
	ldwzr %r17,la_damage
	bweq %r17,%gz,PTR_ShootTraverse+272
	lddzr %r15,shootthing
;PTR_ShootTraverse+912
	mov2 %r14,%r16,%r2,%r15
	callr %r13,P_DamageMobj
	jmp PTR_ShootTraverse+272
;P_AimLineAttack
	alloc 13
	mov %r12,%r1
	callr %r11,P_SubstNullMobj
;P_AimLineAttack+16
	lddzr %r1,finecosine
	srliw %r2,%r2,19
	stdr %r12,shootthing
;P_AimLineAttack+32
	ldwzx.xuw %r1,%r1,%r2,2,0
	ldwz %r7,%r12,24
	sraiw %r4,%r3,16
;P_AimLineAttack+48
	mulws %r1,%r1,%r4
	addws %r9,%r1,%r7
	ldafr %r1,finesine
;P_AimLineAttack+64
	ldwzx.xuw %r1,%r1,%r2,2,0
	ldwz %r8,%r12,28
	ldwz %r2,%r12,108
;P_AimLineAttack+80
	ldwz %r5,%r12,32
	mulws %r1,%r1,%r4
	addws %r10,%r1,%r8
;P_AimLineAttack+96
	sraiw %r1,%r2,1
	addws %r1,%r5,%r1
	addiws %r1,%r1,524288
;P_AimLineAttack+112
	stwr %r1,shootz
	ldi %r1,40960
	stwr %r1,topslope
;P_AimLineAttack+128
	ldi %r1,-40960
	stwr %r1,bottomslope
	stwr %r3,attackrange
;P_AimLineAttack+144
	stdr %gz,linetarget
	ldar %r12,PTR_AimTraverse
	ldi %r11,3
;P_AimLineAttack+160
	callr %r6,P_PathTraverse
	lddzr %r1,linetarget
	ldwzr %r2,aimslope
;P_AimLineAttack+176
	cmovdeq %r1,%r1,%gz,%r2
	retf 0
	nop 0
;P_LineAttack
	alloc 14
	lddzr %r6,finecosine
	srliw %r2,%r2,19
;P_LineAttack+16
	stdr %r1,shootthing
	stwr %r5,la_damage
	ldwzx.xuw %r5,%r6,%r2,2,0
;P_LineAttack+32
	ldwz %r8,%r1,24
	sraiw %r6,%r3,16
	mulws %r5,%r5,%r6
;P_LineAttack+48
	addws %r10,%r5,%r8
	ldafr %r5,finesine
	ldwzx.xuw %r2,%r5,%r2,2,0
;P_LineAttack+64
	ldwz %r9,%r1,28
	ldwz %r5,%r1,108
	ldwz %r1,%r1,32
;P_LineAttack+80
	mulws %r2,%r2,%r6
	addws %r11,%r2,%r9
	sraiw %r2,%r5,1
;P_LineAttack+96
	addws %r1,%r1,%r2
	addiws %r1,%r1,524288
	stwr %r1,shootz
;P_LineAttack+112
	stwr %r3,attackrange
	stwr %r4,aimslope
	ldar %r13,PTR_ShootTraverse
;P_LineAttack+128
	ldi %r12,3
	callr %r7,P_PathTraverse
	retf 0
;PTR_UseTraverse
	alloc 7
	lddz %r6,%r1,8
	ldhz %r2,%r6,26
;PTR_UseTraverse+16
	bweq %r2,%gz,PTR_UseTraverse+80
	lddzr %r2,usething
	ldwz %r4,%r2,24
;PTR_UseTraverse+32
	ldwz %r5,%r2,28
	callr %r3,P_PointOnLineSide
	cmpweqi %r6,%r4,1
;PTR_UseTraverse+48
	lddzr %r4,usething
	lddz %r5,%r1,8
	callr %r3,P_UseSpecialLine
;PTR_UseTraverse+64
	mov %r1,%gz
	retf 0
	nop 0
;PTR_UseTraverse+80
	callr %r5,P_LineOpening
	ldwzr %r1,openrange
	bwle %r1,%gz,PTR_UseTraverse+112
;PTR_UseTraverse+96
	ldi %r1,1
	retf 0
	nop 0
;PTR_UseTraverse+112
	lddzr %r5,usething
	ldi %r6,81
	callr %r4,S_StartSound
;PTR_UseTraverse+128
	mov %r1,%gz
	retf 0
	nop 0
;P_UseLines
	alloc 11
	lddz %r1,%r1,0
	stdr %r1,usething
;P_UseLines+16
	ldwz %r2,%r1,56
	lddzr %r3,finecosine
	srliw %r2,%r2,19
;P_UseLines+32
	ldwz %r5,%r1,24
	ldwz %r6,%r1,28
	ldwzx.xuw %r1,%r3,%r2,2,0
;P_UseLines+48
	ldafr %r3,finesine
	ldwzx.xuw %r2,%r3,%r2,2,0
	sladdws %r7,%r5,%r1,6
;P_UseLines+64
	sladdws %r8,%r6,%r2,6
	ldar %r10,PTR_UseTraverse
	ldi %r9,1
;P_UseLines+80
	callr %r4,P_PathTraverse
	retf 0
	nop 0
;PIT_RadiusAttack
	alloc 11
	ldbz %r2,%r1,160
	bbci %r2,2,PIT_RadiusAttack+160
;PIT_RadiusAttack+16
	ldwz %r2,%r1,128
	bweqi %r2,19,PIT_RadiusAttack+160
	bweqi %r2,21,PIT_RadiusAttack+160
;PIT_RadiusAttack+32
	lddzr %r10,bombspot
	ldwz %r2,%r1,24
	ldwz %r3,%r10,24
;PIT_RadiusAttack+48
	ldwz %r4,%r1,28
	ldwz %r5,%r10,28
	absdw %r2,%r3,%r2
;PIT_RadiusAttack+64
	ldwz %r3,%r1,104
	absdw %r4,%r5,%r4
	maxuw %r2,%r2,%r4
;PIT_RadiusAttack+80
	ldwzr %r4,bombdamage
	subws %r2,%r2,%r3
	sraiw %r2,%r2,16
;PIT_RadiusAttack+96
	maxsw %r3,%r2,%gz
	bwle %r4,%r3,PIT_RadiusAttack+160
	mov %r9,%r1
;PIT_RadiusAttack+112
	callr %r8,P_CheckSight
	bweq %r9,%gz,PIT_RadiusAttack+160
	ldwzr %r2,bombdamage
;PIT_RadiusAttack+128
	lddzr %r8,bombspot
	lddzr %r9,bombsource
	subws %r10,%r2,%r3
;PIT_RadiusAttack+144
	mov %r7,%r1
	callr %r6,P_DamageMobj
	nop 0
;PIT_RadiusAttack+160
	ldi %r1,1
	retf 0
	nop 0
;P_RadiusAttack
	alloc 13
	ldwz %r4,%r1,28
	ldwzr %r6,bmaporgy
;P_RadiusAttack+16
	sladdws %r5,%r4,%r3,16
	subws %r5,%r5,%r6
	sraiw %r5,%r5,23
;P_RadiusAttack+32
	sladdws %r6,%r6,%r3,16
	subws %r4,%r4,%r6
	sraiw %r4,%r4,23
;P_RadiusAttack+48
	ldwz %r7,%r1,24
	ldwzr %r8,bmaporgx
	stdr %r1,bombspot
;P_RadiusAttack+64
	stdr %r2,bombsource
	stwr %r3,bombdamage
	bwle %r4,%r5,P_RadiusAttack+96
;P_RadiusAttack+80
	retf 0
	nop 0
	nop 0
;P_RadiusAttack+96
	sladdws %r1,%r7,%r3,16
	subws %r1,%r1,%r8
	sraiw %r6,%r1,23
;P_RadiusAttack+112
	sladdws %r1,%r8,%r3,16
	subws %r1,%r7,%r1
	sraiw %r7,%r1,23
;P_RadiusAttack+128
	ldar %r1,PIT_RadiusAttack
	jmp P_RadiusAttack+160
	nop 0
;P_RadiusAttack+144
	addiws %r4,%r2,1
	bwle %r5,%r2,P_RadiusAttack+80
	nop 0
;P_RadiusAttack+160
	mov %r2,%r4
	bwlt %r6,%r7,P_RadiusAttack+144
	mov %r4,%r7
;P_RadiusAttack+176
	mov2 %r3,%r10,%r4,%r4
	mov2 %r11,%r12,%r2,%r1
	callr %r9,P_BlockThingsIterator
;P_RadiusAttack+192
	addiws %r4,%r4,1
	bwlt %r3,%r6,P_RadiusAttack+176
	jmp P_RadiusAttack+144
;PIT_ChangeSector
	alloc 9
	mov %r8,%r1
	callr %r7,P_ThingHeightClip
;PIT_ChangeSector+16
	bweq %r8,%gz,PIT_ChangeSector+48
	nop 0
	nop 0
;PIT_ChangeSector+32
	ldi %r1,1
	retf 0
	nop 0
;PIT_ChangeSector+48
	ldwz %r2,%r1,164
	bwle %r2,%gz,PIT_ChangeSector+272
	ldwz %r2,%r1,160
;PIT_ChangeSector+64
	bbsi %r2,17,PIT_ChangeSector+320
	bbci %r2,2,PIT_ChangeSector+32
	ldwzr %r2,crushchange
;PIT_ChangeSector+80
	ldi %r3,1
	stwr %r3,nofit
	bweq %r2,%gz,PIT_ChangeSector+32
;PIT_ChangeSector+96
	ldbzr %r2,leveltime
	andi %r2,%r2,3
	bwne %r2,%gz,PIT_ChangeSector+32
;PIT_ChangeSector+112
	ldi %r8,10
	mov2 %r5,%r6,%r1,%gz
	mov %r7,%gz
;PIT_ChangeSector+128
	callr %r4,P_DamageMobj
	ldwz %r2,%r1,108
	ldwz %r5,%r1,24
;PIT_ChangeSector+144
	ldwz %r6,%r1,28
	ldwz %r1,%r1,32
	srliw %r3,%r2,31
;PIT_ChangeSector+160
	addws %r2,%r2,%r3
	sraiw %r2,%r2,1
	addws %r7,%r2,%r1
;PIT_ChangeSector+176
	ldi %r8,38
	callr %r4,P_SpawnMobj
	callr %r7,P_Random
;PIT_ChangeSector+192
	mov %r1,%r8
	callr %r7,P_Random
	subws %r1,%r1,%r8
;PIT_ChangeSector+208
	slliw %r1,%r1,12
	stw %r1,%r5,112
	callr %r7,P_Random
;PIT_ChangeSector+224
	mov %r1,%r8
	callr %r7,P_Random
	subws %r1,%r1,%r8
;PIT_ChangeSector+240
	slliw %r1,%r1,12
	stw %r1,%r5,116
	ldi %r1,1
;PIT_ChangeSector+256
	retf 0
	nop 0
	nop 0
;PIT_ChangeSector+272
	ldi %r8,895
	mov %r7,%r1
	callr %r6,P_SetMobjState
;PIT_ChangeSector+288
	ldwz %r2,%r1,160
	andi %r2,%r2,-3
	stw %r2,%r1,160
;PIT_ChangeSector+304
	std %gz,%r1,104
	ldi %r1,1
	retf 0
;PIT_ChangeSector+320
	mov %r8,%r1
	callr %r7,P_RemoveMobj
	ldi %r1,1
;PIT_ChangeSector+336
	retf 0
	nop 0
	nop 0
;P_ChangeSector
	alloc 12
	stwr %gz,nofit
	stwr %r2,crushchange
;P_ChangeSector+16
	ldwz %r6,%r1,40
	ldwz %r4,%r1,44
	mov %r2,%gz
;P_ChangeSector+32
	bwlt %r4,%r6,P_ChangeSector+160
	ldwz %r5,%r1,32
	ldar %r2,PIT_ChangeSector
;P_ChangeSector+48
	jmp P_ChangeSector+80
	nop 0
	nop 0
;P_ChangeSector+64
	addiws %r6,%r3,1
	bwle %r4,%r3,P_ChangeSector+144
	nop 0
;P_ChangeSector+80
	ldwz %r7,%r1,36
	mov %r3,%r6
	bwlt %r5,%r7,P_ChangeSector+64
;P_ChangeSector+96
	mov2 %r4,%r9,%r7,%r3
	mov2 %r10,%r11,%r7,%r2
	callr %r8,P_BlockThingsIterator
;P_ChangeSector+112
	ldwz %r5,%r1,32
	addiws %r7,%r7,1
	bwlt %r4,%r5,P_ChangeSector+96
;P_ChangeSector+128
	ldwz %r4,%r1,44
	jmp P_ChangeSector+64
	nop 0
;P_ChangeSector+144
	ldwzr %r2,nofit
	nop 0
	nop 0
;P_ChangeSector+160
	mov %r1,%r2
	retf 0
	nop 0
;P_AproxDistance
	alloc 4
	absdw %r1,%r1,%gz
	absdw %r2,%r2,%gz
;P_AproxDistance+16
	addws %r3,%r2,%r1
	minuw %r1,%r1,%r2
	srliw %r1,%r1,1
;P_AproxDistance+32
	subws %r1,%r3,%r1
	retf 0
	nop 0
;P_PointOnLineSide
	alloc 7
	ldwz %r4,%r3,16
	bweq %r4,%gz,P_PointOnLineSide+96
;P_PointOnLineSide+16
	ldwz %r5,%r3,20
	lddz %r3,%r3,0
	bweq %r5,%gz,P_PointOnLineSide+128
;P_PointOnLineSide+32
	ldwz %r6,%r3,0
	ldwz %r3,%r3,4
	sraiw %r5,%r5,16
;P_PointOnLineSide+48
	subws %r1,%r1,%r6
	mul %r1,%r1,%r5
	srli %r1,%r1,16
;P_PointOnLineSide+64
	subws %r2,%r2,%r3
	sraiw %r3,%r4,16
	mul %r2,%r2,%r3
;P_PointOnLineSide+80
	srli %r2,%r2,16
	cmpwle %r1,%r1,%r2
	retf 0
;P_PointOnLineSide+96
	lddz %r2,%r3,0
	ldwz %r4,%r2,0
	ldwz %r2,%r3,20
;P_PointOnLineSide+112
	bwle %r1,%r4,P_PointOnLineSide+160
	srliw %r1,%r2,31
	retf 0
;P_PointOnLineSide+128
	ldwz %r1,%r3,4
	bwle %r2,%r1,P_PointOnLineSide+176
	cmpwgti %r1,%r4,0
;P_PointOnLineSide+144
	retf 0
	nop 0
	nop 0
;P_PointOnLineSide+160
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;P_PointOnLineSide+176
	srliw %r1,%r4,31
	retf 0
	nop 0
;P_BoxOnLineSide
	alloc 10
	ldwz %r3,%r2,52
	bdgeui %r3,4,P_BoxOnLineSide+256
;P_BoxOnLineSide+16
	ldafr %r4,.rodata+36140
	jmpt %r4,%r3
	nop 0
;P_BoxOnLineSide+32
	lddz %r3,%r2,0
	ldwz %r4,%r1,0
	ldwz %r5,%r3,4
;P_BoxOnLineSide+48
	ldwz %r1,%r1,4
	ldwz %r2,%r2,16
	cmpwlt %r3,%r5,%r4
;P_BoxOnLineSide+64
	cmpwlt %r7,%r5,%r1
	bwgei %r2,0,P_BoxOnLineSide+272
	jmp P_BoxOnLineSide+240
;P_BoxOnLineSide+80
	ldwz %r7,%r1,8
	ldwz %r8,%r1,0
	mov %r9,%r2
;P_BoxOnLineSide+96
	callr %r6,P_PointOnLineSide
	mov %r3,%r7
	ldwz %r7,%r1,12
;P_BoxOnLineSide+112
	jmp P_BoxOnLineSide+160
	nop 0
	nop 0
;P_BoxOnLineSide+128
	ldwz %r7,%r1,12
	ldwz %r8,%r1,0
	mov %r9,%r2
;P_BoxOnLineSide+144
	callr %r6,P_PointOnLineSide
	mov %r3,%r7
	ldwz %r7,%r1,8
;P_BoxOnLineSide+160
	ldwz %r8,%r1,4
	mov %r9,%r2
	callr %r6,P_PointOnLineSide
;P_BoxOnLineSide+176
	jmp P_BoxOnLineSide+272
	nop 0
	nop 0
;P_BoxOnLineSide+192
	lddz %r3,%r2,0
	ldwz %r4,%r1,12
	ldwz %r5,%r3,0
;P_BoxOnLineSide+208
	ldwz %r1,%r1,8
	ldwz %r2,%r2,20
	cmpwlt %r3,%r4,%r5
;P_BoxOnLineSide+224
	cmpwlt %r7,%r1,%r5
	bwgei %r2,0,P_BoxOnLineSide+272
	nop 0
;P_BoxOnLineSide+240
	xori %r3,%r3,1
	xori %r7,%r7,1
	jmp P_BoxOnLineSide+272
;P_BoxOnLineSide+256
	mov2 %r3,%r7,%gz,%gz
	nop 0
	nop 0
;P_BoxOnLineSide+272
	cmpweq %r1,%r3,%r7
	ldi %r2,-1
	cmovlsb %r1,%r1,%r3,%r2
;P_BoxOnLineSide+288
	retf 0
	nop 0
	nop 0
;P_PointOnDivlineSide
	alloc 8
	ldwz %r4,%r3,8
	bweq %r4,%gz,P_PointOnDivlineSide+128
;P_PointOnDivlineSide+16
	ldwz %r5,%r3,12
	bweq %r5,%gz,P_PointOnDivlineSide+160
	ldwz %r6,%r3,0
;P_PointOnDivlineSide+32
	ldwz %r7,%r3,4
	subws %r3,%r1,%r6
	subws %r1,%r2,%r7
;P_PointOnDivlineSide+48
	xor %r2,%r5,%r4
	xor %r2,%r2,%r3
	xor %r2,%r2,%r1
;P_PointOnDivlineSide+64
	bwlti %r2,0,P_PointOnDivlineSide+208
	sraiw %r2,%r5,8
	sraiw %r3,%r3,8
;P_PointOnDivlineSide+80
	mul %r2,%r3,%r2
	srli %r2,%r2,16
	sraiw %r1,%r1,8
;P_PointOnDivlineSide+96
	sraiw %r3,%r4,8
	mul %r1,%r1,%r3
	srli %r1,%r1,16
;P_PointOnDivlineSide+112
	cmpwle %r1,%r2,%r1
	retf 0
	nop 0
;P_PointOnDivlineSide+128
	ldwz %r4,%r3,0
	ldwz %r2,%r3,12
	bwle %r1,%r4,P_PointOnDivlineSide+192
;P_PointOnDivlineSide+144
	srliw %r1,%r2,31
	retf 0
	nop 0
;P_PointOnDivlineSide+160
	ldwz %r1,%r3,4
	bwle %r2,%r1,P_PointOnDivlineSide+224
	cmpwgti %r1,%r4,0
;P_PointOnDivlineSide+176
	retf 0
	nop 0
	nop 0
;P_PointOnDivlineSide+192
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;P_PointOnDivlineSide+208
	xor %r1,%r3,%r5
	srliw %r1,%r1,31
	retf 0
;P_PointOnDivlineSide+224
	srliw %r1,%r4,31
	retf 0
	nop 0
;P_MakeDivline
	alloc 5
	lddz %r3,%r1,0
	ldwz %r4,%r3,0
;P_MakeDivline+16
	stw %r4,%r2,0
	ldwz %r3,%r3,4
	stw %r3,%r2,4
;P_MakeDivline+32
	ldwz %r3,%r1,16
	stw %r3,%r2,8
	ldwz %r1,%r1,20
;P_MakeDivline+48
	stw %r1,%r2,12
	retf 0
	nop 0
;P_InterceptVector
	alloc 12
	ldwz %r3,%r2,12
	ldws %r5,%r1,8
;P_InterceptVector+16
	sraiw %r6,%r3,8
	ldwz %r4,%r2,8
	ldws %r7,%r1,12
;P_InterceptVector+32
	mul %r5,%r5,%r6
	srli %r5,%r5,16
	sraiw %r6,%r4,8
;P_InterceptVector+48
	mul %r6,%r7,%r6
	srli %r6,%r6,16
	mov %r10,%gz
;P_InterceptVector+64
	bweq %r5,%r6,P_InterceptVector+160
	ldwz %r7,%r2,0
	ldwz %r8,%r1,0
;P_InterceptVector+80
	subws %r11,%r5,%r6
	subws %r5,%r7,%r8
	sraiw %r5,%r5,8
;P_InterceptVector+96
	ldwz %r1,%r1,4
	ldwz %r2,%r2,4
	sraiw %r3,%r3,0
;P_InterceptVector+112
	mul %r3,%r5,%r3
	srli %r3,%r3,16
	subws %r1,%r1,%r2
;P_InterceptVector+128
	sraiw %r1,%r1,8
	sraiw %r2,%r4,0
	mul %r1,%r1,%r2
;P_InterceptVector+144
	srli %r1,%r1,16
	addws %r10,%r1,%r3
	callr %r9,FixedDiv
;P_InterceptVector+160
	mov %r1,%r10
	retf 0
	nop 0
;P_LineOpening
	alloc 7
	ldhz %r2,%r1,32
	nop 2
;P_LineOpening+16
	bweqi.l %r2,65535,P_LineOpening+128
	lddz %r2,%r1,56
;P_LineOpening+32
	lddz %r1,%r1,64
	ldwz %r3,%r2,4
	ldwz %r4,%r1,4
;P_LineOpening+48
	minsw %r3,%r3,%r4
	stwr %r3,opentop
	ldwz %r4,%r2,0
;P_LineOpening+64
	ldwz %r5,%r1,0
	cmpwlt %r6,%r5,%r4
	maxsw %r4,%r4,%r5
;P_LineOpening+80
	stwr %r4,openbottom
	cmovlsb %r1,%r6,%r1,%r2
	ldwz %r1,%r1,0
;P_LineOpening+96
	stwr %r1,lowfloor
	subws %r1,%r3,%r4
	stwr %r1,openrange
;P_LineOpening+112
	retf 0
	nop 0
	nop 0
;P_LineOpening+128
	stwr %gz,openrange
	retf 0
	nop 0
;P_UnsetThingPosition
	alloc 6
	ldwz %r2,%r1,160
	bbsi %r2,3,P_UnsetThingPosition+64
;P_UnsetThingPosition+16
	lddz %r3,%r1,40
	lddz %r4,%r1,48
	bdeq %r3,%gz,P_UnsetThingPosition+48
;P_UnsetThingPosition+32
	std %r4,%r3,48
	nop 0
	nop 0
;P_UnsetThingPosition+48
	bdeq %r4,%gz,P_UnsetThingPosition+128
	std %r3,%r4,40
	nop 0
;P_UnsetThingPosition+64
	bbsi %r2,4,P_UnsetThingPosition+160
	nop 0
	nop 0
;P_UnsetThingPosition+80
	lddz %r2,%r1,72
	lddz %r3,%r1,80
	bdeq %r2,%gz,P_UnsetThingPosition+112
;P_UnsetThingPosition+96
	std %r3,%r2,80
	nop 0
	nop 0
;P_UnsetThingPosition+112
	bdeq %r3,%gz,P_UnsetThingPosition+176
	std %r2,%r3,72
	retf 0
;P_UnsetThingPosition+128
	lddz %r4,%r1,88
	lddz %r4,%r4,0
	std %r3,%r4,96
;P_UnsetThingPosition+144
	bbci %r2,4,P_UnsetThingPosition+80
	nop 0
	nop 0
;P_UnsetThingPosition+160
	retf 0
	nop 0
	nop 0
;P_UnsetThingPosition+176
	ldwz %r3,%r1,24
	ldwzr %r4,bmaporgx
	subws %r3,%r3,%r4
;P_UnsetThingPosition+192
	sraiw %r3,%r3,23
	bwlt %r3,%gz,P_UnsetThingPosition+160
	ldwzr %r4,bmapwidth
;P_UnsetThingPosition+208
	bwle %r4,%r3,P_UnsetThingPosition+160
	ldwz %r1,%r1,28
	ldwzr %r5,bmaporgy
;P_UnsetThingPosition+224
	subws %r1,%r1,%r5
	sraiw %r1,%r1,23
	bwlt %r1,%gz,P_UnsetThingPosition+160
;P_UnsetThingPosition+240
	ldwzr %r5,bmapheight
	bwle %r5,%r1,P_UnsetThingPosition+160
	lddzr %r5,blocklinks
;P_UnsetThingPosition+256
	mulws %r1,%r4,%r1
	addws %r1,%r1,%r3
	stdx.xuw %r2,%r5,%r1,3,0
;P_UnsetThingPosition+272
	retf 0
	nop 0
	nop 0
;P_SetThingPosition
	alloc 9
	ldwz %r7,%r1,24
	ldwz %r8,%r1,28
;P_SetThingPosition+16
	callr %r6,R_PointInSubsector
	std %r7,%r1,88
	ldwz %r2,%r1,160
;P_SetThingPosition+32
	bbsi %r2,3,P_SetThingPosition+96
	lddz %r3,%r7,0
	std %gz,%r1,48
;P_SetThingPosition+48
	lddz %r4,%r3,96
	std %r4,%r1,40
	bdeq %r4,%gz,P_SetThingPosition+80
;P_SetThingPosition+64
	std %r1,%r4,48
	nop 0
	nop 0
;P_SetThingPosition+80
	std %r1,%r3,96
	nop 0
	nop 0
;P_SetThingPosition+96
	bbsi %r2,4,P_SetThingPosition+256
	ldwz %r2,%r1,24
	ldwzr %r3,bmaporgx
;P_SetThingPosition+112
	subws %r2,%r2,%r3
	sraiw %r2,%r2,23
	bwlt %r2,%gz,P_SetThingPosition+240
;P_SetThingPosition+128
	ldwzr %r3,bmapwidth
	bwle %r3,%r2,P_SetThingPosition+240
	ldwz %r4,%r1,28
;P_SetThingPosition+144
	ldwzr %r5,bmaporgy
	subws %r4,%r4,%r5
	sraiw %r4,%r4,23
;P_SetThingPosition+160
	bwlt %r4,%gz,P_SetThingPosition+240
	ldwzr %r5,bmapheight
	bwle %r5,%r4,P_SetThingPosition+240
;P_SetThingPosition+176
	lddzr %r5,blocklinks
	mulws %r3,%r3,%r4
	addws %r3,%r3,%r2
;P_SetThingPosition+192
	ldax.xuw %r2,%r5,%r3,3,0
	std %gz,%r1,80
	lddzx.xuw %r3,%r5,%r3,3,0
;P_SetThingPosition+208
	std %r3,%r1,72
	bdeq %r3,%gz,P_SetThingPosition+224
	std %r1,%r3,80
;P_SetThingPosition+224
	std %r1,%r2,0
	retf 0
	nop 0
;P_SetThingPosition+240
	std %gz,%r1,80
	std %gz,%r1,72
	nop 0
;P_SetThingPosition+256
	retf 0
	nop 0
	nop 0
;P_BlockLinesIterator
	alloc 11
	mov %r4,%r1
	or %r5,%r2,%r1
;P_BlockLinesIterator+16
	ldi %r1,1
	bwlt %r5,%gz,P_BlockLinesIterator+224
	ldwzr %r5,bmapwidth
;P_BlockLinesIterator+32
	bwle %r5,%r4,P_BlockLinesIterator+224
	ldwzr %r6,bmapheight
	bwle %r6,%r2,P_BlockLinesIterator+224
;P_BlockLinesIterator+48
	lddzr %r6,blockmap
	mulws %r2,%r5,%r2
	addws %r2,%r2,%r4
;P_BlockLinesIterator+64
	ldhsx.xuw %r4,%r6,%r2,1,0
	lddzr %r5,blockmaplump
	ldhzx.xd %r7,%r5,%r4,1,0
;P_BlockLinesIterator+80
	bweqi.l %r7,65535,P_BlockLinesIterator+224
	lddzr %r2,lines
;P_BlockLinesIterator+96
	ldwzr %r6,validcount
	ldax.xd %r4,%r5,%r4,1,2
	ldi %r5,88
;P_BlockLinesIterator+112
	jmp P_BlockLinesIterator+160
	nop 0
	nop 0
;P_BlockLinesIterator+128
	ldhz %r7,%r4,0
	addi %r4,%r4,2
	nop 2
;P_BlockLinesIterator+144
	bweqi.l %r7,65535,P_BlockLinesIterator+224
	nop 0
;P_BlockLinesIterator+160
	slsrai %r7,%r7,48,48
	muli %r8,%r7,88
	ldwzx.xd %r8,%r2,%r8,0,72
;P_BlockLinesIterator+176
	bweq %r8,%r6,P_BlockLinesIterator+128
	muladd %r10,%r7,%r5,%r2
	stw %r6,%r10,72
;P_BlockLinesIterator+192
	callri %r9,%r3,%gz
	bweq %r10,%gz,P_BlockLinesIterator+240
	lddzr %r2,lines
;P_BlockLinesIterator+208
	ldwzr %r6,validcount
	jmp P_BlockLinesIterator+128
	nop 0
;P_BlockLinesIterator+224
	retf 0
	nop 0
	nop 0
;P_BlockLinesIterator+240
	mov %r1,%gz
	retf 0
	nop 0
;P_BlockThingsIterator
	alloc 9
	mov %r4,%r1
	or %r5,%r2,%r1
;P_BlockThingsIterator+16
	ldi %r1,1
	bwlt %r5,%gz,P_BlockThingsIterator+112
	ldwzr %r5,bmapwidth
;P_BlockThingsIterator+32
	bwle %r5,%r4,P_BlockThingsIterator+112
	ldwzr %r6,bmapheight
	bwle %r6,%r2,P_BlockThingsIterator+112
;P_BlockThingsIterator+48
	lddzr %r6,blocklinks
	mulws %r2,%r5,%r2
	addws %r2,%r2,%r4
;P_BlockThingsIterator+64
	lddzx.xuw %r2,%r6,%r2,3,0
	bdeq %r2,%gz,P_BlockThingsIterator+112
	nop 0
;P_BlockThingsIterator+80
	mov %r8,%r2
	callri %r7,%r3,%gz
	bweq %r8,%gz,P_BlockThingsIterator+128
;P_BlockThingsIterator+96
	lddz %r2,%r2,72
	bdne %r2,%gz,P_BlockThingsIterator+80
	nop 0
;P_BlockThingsIterator+112
	retf 0
	nop 0
	nop 0
;P_BlockThingsIterator+128
	mov %r1,%gz
	retf 0
	nop 0
;PIT_AddLineIntercepts
	allocsp 11,16
	ldwzr %r5,trace+8
	nop 2
;PIT_AddLineIntercepts+16
	addiws.l %r2,%r5,-1048577
	nop 2
;PIT_AddLineIntercepts+32
	bwltui.l %r2,4292870143,PIT_AddLineIntercepts+160
	ldwzr %r6,trace+12
;PIT_AddLineIntercepts+48
	addiws.l %r2,%r6,-1048577
	nop 2
;PIT_AddLineIntercepts+64
	bwltui.l %r2,1099509530623,PIT_AddLineIntercepts+160
	ldwzr %r2,trace
;PIT_AddLineIntercepts+80
	ldwzr %r4,trace+4
	mov2 %r8,%r9,%r2,%r4
	mov %r10,%r1
;PIT_AddLineIntercepts+96
	callr %r7,P_PointOnLineSide
	mov %r3,%r8
	addws %r8,%r2,%r5
;PIT_AddLineIntercepts+112
	addws %r9,%r4,%r6
	mov %r10,%r1
	callr %r7,P_PointOnLineSide
;PIT_AddLineIntercepts+128
	ldi %r2,1
	bwne %r3,%r8,PIT_AddLineIntercepts+240
	nop 0
;PIT_AddLineIntercepts+144
	mov %r1,%r2
	retf 16
	nop 0
;PIT_AddLineIntercepts+160
	lddz %r2,%r1,0
	ldwz %r8,%r2,0
	ldwz %r9,%r2,4
;PIT_AddLineIntercepts+176
	ldafr %r2,trace
	mov %r10,%r2
	callr %r7,P_PointOnDivlineSide
;PIT_AddLineIntercepts+192
	lddz %r4,%r1,8
	mov %r3,%r8
	ldwz %r8,%r4,0
;PIT_AddLineIntercepts+208
	ldwz %r9,%r4,4
	mov %r10,%r2
	callr %r7,P_PointOnDivlineSide
;PIT_AddLineIntercepts+224
	ldi %r2,1
	bweq %r3,%r8,PIT_AddLineIntercepts+144
	nop 0
;PIT_AddLineIntercepts+240
	lddz %r3,%r1,0
	ldwz %r4,%r3,0
	stw %r4,%sp,0
;PIT_AddLineIntercepts+256
	ldwz %r3,%r3,4
	stw %r3,%sp,4
	ldwz %r3,%r1,16
;PIT_AddLineIntercepts+272
	stw %r3,%sp,8
	ldwz %r3,%r1,20
	stw %r3,%sp,12
;PIT_AddLineIntercepts+288
	ldafr %r9,trace
	addi %r10,%sp,0
	callr %r8,P_InterceptVector
;PIT_AddLineIntercepts+304
	bwlt %r9,%gz,PIT_AddLineIntercepts+144
	bwgeui.l %r9,65536,PIT_AddLineIntercepts+352
;PIT_AddLineIntercepts+320
	ldwzr %r2,earlyout
	bweq %r2,%gz,PIT_AddLineIntercepts+352
	lddz %r2,%r1,64
;PIT_AddLineIntercepts+336
	bdeq %r2,%gz,PIT_AddLineIntercepts+432
	nop 0
	nop 0
;PIT_AddLineIntercepts+352
	lddzr %r10,intercept_p
	stw %r9,%r10,0
	ldi %r2,1
;PIT_AddLineIntercepts+368
	stw %r2,%r10,4
	std %r1,%r10,8
	ldafr %r1,intercepts
;PIT_AddLineIntercepts+384
	sub %r1,%r10,%r1
	srli %r9,%r1,4
	callr %r8,InterceptsOverrun
;PIT_AddLineIntercepts+400
	lddzr %r1,intercept_p
	addi %r1,%r1,16
	stdr %r1,intercept_p
;PIT_AddLineIntercepts+416
	mov %r1,%r2
	retf 16
	nop 0
;PIT_AddLineIntercepts+432
	mov %r1,%gz
	retf 16
	nop 0
;InterceptsOverrun
	alloc 10
	bwlti %r1,129,InterceptsOverrun+512
	mulwsi %r3,%r1,12
;InterceptsOverrun+16
	addiws %r5,%r3,-1548
	ldwz %r4,%r2,0
	ldafr %r1,intercepts_overrun+24
;InterceptsOverrun+32
	bwgei %r5,4,InterceptsOverrun+64
	mov %r6,%gz
	ldafr %r8,intercepts_overrun
;InterceptsOverrun+48
	lddz %r7,%r8,8
	bdne %r7,%gz,InterceptsOverrun+144
	jmp InterceptsOverrun+240
;InterceptsOverrun+64
	mov %r7,%gz
	ldi %r9,4
	nop 0
;InterceptsOverrun+80
	addi %r8,%r7,24
	bdeqi %r8,528,InterceptsOverrun+240
	mov %r6,%r9
;InterceptsOverrun+96
	ldwzx.xd %r7,%r7,%r1,0,0
	addws %r9,%r9,%r7
	mov %r7,%r8
;InterceptsOverrun+112
	bwle %r9,%r5,InterceptsOverrun+80
	ldafr %r7,intercepts_overrun
	add %r8,%r8,%r7
;InterceptsOverrun+128
	lddz %r7,%r8,8
	bdeq %r7,%gz,InterceptsOverrun+240
	nop 0
;InterceptsOverrun+144
	ldwz %r8,%r8,16
	subws %r5,%r5,%r6
	bweq %r8,%gz,InterceptsOverrun+208
;InterceptsOverrun+160
	srliw %r6,%r5,31
	addws %r5,%r5,%r6
	sraiw %r5,%r5,1
;InterceptsOverrun+176
	sthx.xw %r4,%r7,%r5,1,0
	srliw %r4,%r4,16
	sthx.xw %r4,%r7,%r5,1,2
;InterceptsOverrun+192
	jmp InterceptsOverrun+240
	nop 0
	nop 0
;InterceptsOverrun+208
	sraiw %r6,%r5,31
	srliw %r6,%r6,30
	addws %r5,%r5,%r6
;InterceptsOverrun+224
	sraiw %r5,%r5,2
	stwx.xw %r4,%r7,%r5,2,0
	nop 0
;InterceptsOverrun+240
	addiws %r5,%r3,-1544
	ldwz %r4,%r2,4
	bwgei %r5,4,InterceptsOverrun+288
;InterceptsOverrun+256
	mov %r6,%gz
	ldafr %r8,intercepts_overrun
	lddz %r7,%r8,8
;InterceptsOverrun+272
	bdne %r7,%gz,InterceptsOverrun+368
	jmp InterceptsOverrun+464
	nop 0
;InterceptsOverrun+288
	mov %r7,%gz
	ldi %r9,4
	nop 0
;InterceptsOverrun+304
	addi %r8,%r7,24
	bdeqi %r8,528,InterceptsOverrun+464
	mov %r6,%r9
;InterceptsOverrun+320
	ldwzx.xd %r7,%r7,%r1,0,0
	addws %r9,%r9,%r7
	mov %r7,%r8
;InterceptsOverrun+336
	bwle %r9,%r5,InterceptsOverrun+304
	ldafr %r7,intercepts_overrun
	add %r8,%r8,%r7
;InterceptsOverrun+352
	lddz %r7,%r8,8
	bdeq %r7,%gz,InterceptsOverrun+464
	nop 0
;InterceptsOverrun+368
	ldwz %r8,%r8,16
	subws %r5,%r5,%r6
	bweq %r8,%gz,InterceptsOverrun+432
;InterceptsOverrun+384
	srliw %r6,%r5,31
	addws %r5,%r5,%r6
	sraiw %r5,%r5,1
;InterceptsOverrun+400
	sthx.xw %r4,%r7,%r5,1,0
	srliw %r4,%r4,16
	sthx.xw %r4,%r7,%r5,1,2
;InterceptsOverrun+416
	jmp InterceptsOverrun+464
	nop 0
	nop 0
;InterceptsOverrun+432
	sraiw %r6,%r5,31
	srliw %r6,%r6,30
	addws %r5,%r5,%r6
;InterceptsOverrun+448
	sraiw %r5,%r5,2
	stwx.xw %r4,%r7,%r5,2,0
	nop 0
;InterceptsOverrun+464
	addiws %r3,%r3,-1540
	lddz %r2,%r2,8
	bwgei %r3,4,InterceptsOverrun+528
;InterceptsOverrun+480
	mov %r4,%gz
	ldafr %r5,intercepts_overrun
	lddz %r1,%r5,8
;InterceptsOverrun+496
	bdne %r1,%gz,InterceptsOverrun+608
	nop 0
	nop 0
;InterceptsOverrun+512
	retf 0
	nop 0
	nop 0
;InterceptsOverrun+528
	mov %r5,%gz
	ldi %r7,4
	nop 0
;InterceptsOverrun+544
	addi %r6,%r5,24
	bdeqi %r6,528,InterceptsOverrun+512
	mov %r4,%r7
;InterceptsOverrun+560
	ldwzx.xd %r5,%r5,%r1,0,0
	addws %r7,%r7,%r5
	mov %r5,%r6
;InterceptsOverrun+576
	bwle %r7,%r3,InterceptsOverrun+544
	ldafr %r1,intercepts_overrun
	add %r5,%r6,%r1
;InterceptsOverrun+592
	lddz %r1,%r5,8
	bdeq %r1,%gz,InterceptsOverrun+512
	nop 0
;InterceptsOverrun+608
	ldwz %r5,%r5,16
	subws %r3,%r3,%r4
	bweq %r5,%gz,InterceptsOverrun+672
;InterceptsOverrun+624
	srliw %r4,%r3,31
	addws %r3,%r3,%r4
	sraiw %r3,%r3,1
;InterceptsOverrun+640
	sthx.xw %r2,%r1,%r3,1,0
	srli %r2,%r2,16
	sthx.xw %r2,%r1,%r3,1,2
;InterceptsOverrun+656
	retf 0
	nop 0
	nop 0
;InterceptsOverrun+672
	sraiw %r4,%r3,31
	srliw %r4,%r4,30
	addws %r3,%r3,%r4
;InterceptsOverrun+688
	sraiw %r3,%r3,2
	stwx.xw %r2,%r1,%r3,2,0
	retf 0
;PIT_AddThingIntercepts
	allocsp 16,16
	ldwzr %r2,trace+8
	ldwzr %r3,trace+12
;PIT_AddThingIntercepts+16
	ldwz %r4,%r1,24
	ldwz %r7,%r1,104
	ldafr %r5,trace
;PIT_AddThingIntercepts+32
	xor %r9,%r3,%r2
	ldwz %r10,%r1,28
	subws %r2,%r4,%r7
;PIT_AddThingIntercepts+48
	subfiws %r11,%r7,0
	addws %r3,%r7,%r4
	cmovwle %r8,%r9,%r7,%r11
;PIT_AddThingIntercepts+64
	addws %r6,%r10,%r8
	cmovwle %r9,%r9,%r11,%r7
	addws %r4,%r10,%r9
;PIT_AddThingIntercepts+80
	mov2 %r13,%r14,%r2,%r4
	mov %r15,%r5
	callr %r12,P_PointOnDivlineSide
;PIT_AddThingIntercepts+96
	mov2 %r7,%r13,%r13,%r3
	mov2 %r14,%r15,%r6,%r5
	callr %r12,P_PointOnDivlineSide
;PIT_AddThingIntercepts+112
	bweq %r7,%r13,PIT_AddThingIntercepts+240
	stw %r2,%sp,0
	stw %r4,%sp,4
;PIT_AddThingIntercepts+128
	subws %r2,%r3,%r2
	stw %r2,%sp,8
	subws %r2,%r8,%r9
;PIT_AddThingIntercepts+144
	stw %r2,%sp,12
	ldafr %r14,trace
	addi %r15,%sp,0
;PIT_AddThingIntercepts+160
	callr %r13,P_InterceptVector
	bwlt %r14,%gz,PIT_AddThingIntercepts+240
	lddzr %r15,intercept_p
;PIT_AddThingIntercepts+176
	stw %r14,%r15,0
	stw %gz,%r15,4
	std %r1,%r15,8
;PIT_AddThingIntercepts+192
	ldafr %r1,intercepts
	sub %r1,%r15,%r1
	srli %r14,%r1,4
;PIT_AddThingIntercepts+208
	callr %r13,InterceptsOverrun
	lddzr %r1,intercept_p
	addi %r1,%r1,16
;PIT_AddThingIntercepts+224
	stdr %r1,intercept_p
	nop 0
	nop 0
;PIT_AddThingIntercepts+240
	ldi %r1,1
	retf 16
	nop 0
;P_TraverseIntercepts
	alloc 15
	lddzr %r3,intercept_p
	ldafr %r6,intercepts
;P_TraverseIntercepts+16
	sub %r3,%r3,%r6
	srli %r7,%r3,4
	mov %r3,%r1
;P_TraverseIntercepts+32
	ldi %r1,1
	bweq %r7,%gz,P_TraverseIntercepts+176
	mov %r4,%gz
;P_TraverseIntercepts+48
	ldi.l %r8,2147483647
	nop 0
;P_TraverseIntercepts+64
	lddzr %r9,intercept_p
	bdleu %r9,%r6,P_TraverseIntercepts+128
	mov2 %r10,%r5,%r6,%r8
;P_TraverseIntercepts+80
	ldwz %r11,%r10,0
	cmpwlt %r12,%r11,%r5
	cmovlsb %r4,%r12,%r10,%r4
;P_TraverseIntercepts+96
	addi %r10,%r10,16
	minsw %r5,%r11,%r5
	bdltu %r10,%r9,P_TraverseIntercepts+80
;P_TraverseIntercepts+112
	bwle %r5,%r2,P_TraverseIntercepts+144
	jmp P_TraverseIntercepts+176
	nop 0
;P_TraverseIntercepts+128
	mov %r5,%r8
	bwlt %r2,%r5,P_TraverseIntercepts+176
	nop 0
;P_TraverseIntercepts+144
	mov %r14,%r4
	callri %r13,%r3,%gz
	bweq %r14,%gz,P_TraverseIntercepts+192
;P_TraverseIntercepts+160
	addiws %r7,%r7,-1
	stw %r8,%r4,0
	bwne %r7,%gz,P_TraverseIntercepts+64
;P_TraverseIntercepts+176
	retf 0
	nop 0
	nop 0
;P_TraverseIntercepts+192
	mov %r1,%gz
	retf 0
	nop 0
;P_PathTraverse
	alloc 23
	ldwzr %r7,validcount
	andi %r8,%r5,4
;P_PathTraverse+16
	stwr %r8,earlyout
	ldwzr %r10,bmaporgx
	addiws %r7,%r7,1
;P_PathTraverse+32
	stwr %r7,validcount
	ldafr %r9,intercepts
	ldwzr %r11,bmaporgy
;P_PathTraverse+48
	subws %r7,%r1,%r10
	andi.l %r7,%r7,8388607
;P_PathTraverse+64
	addiws %r8,%r1,65536
	subws %r12,%r2,%r11
	nop 2
;P_PathTraverse+80
	andi.l %r12,%r12,8388607
	addiws %r13,%r2,65536
;P_PathTraverse+96
	stdr %r9,intercept_p
	cmovweq %r1,%r7,%r8,%r1
	cmovweq %r2,%r12,%r13,%r2
;P_PathTraverse+112
	stwr %r1,trace
	stwr %r2,trace+4
	subws %r7,%r3,%r1
;P_PathTraverse+128
	stwr %r7,trace+8
	subws %r7,%r4,%r2
	stwr %r7,trace+12
;P_PathTraverse+144
	subws %r7,%r1,%r10
	subws %r8,%r2,%r11
	sraiw %r1,%r7,23
;P_PathTraverse+160
	sraiw %r2,%r8,23
	subws %r14,%r3,%r10
	subws %r4,%r4,%r11
;P_PathTraverse+176
	sraiw %r10,%r14,23
	sraiw %r11,%r4,23
	bwle %r10,%r1,P_PathTraverse+224
;P_PathTraverse+192
	slsrli %r3,%r7,41,48
	subfiws %r13,%r3,65536
	ldi %r12,1
;P_PathTraverse+208
	jmp P_PathTraverse+240
	nop 0
	nop 0
;P_PathTraverse+224
	bwle %r1,%r10,P_PathTraverse+272
	slsrli %r13,%r7,41,48
	ldi %r12,-1
;P_PathTraverse+240
	subws %r21,%r4,%r8
	absdw %r22,%r7,%r14
	callr %r20,FixedDiv
;P_PathTraverse+256
	mov %r3,%r21
	srliw %r13,%r13,0
	jmp P_PathTraverse+288
;P_PathTraverse+272
	mov %r12,%gz
	ldi %r13,65536
	ldi %r3,16777216
;P_PathTraverse+288
	sraiw %r15,%r8,7
	sraiw %r16,%r3,0
	mul %r13,%r13,%r16
;P_PathTraverse+304
	srli %r16,%r13,16
	bwle %r11,%r2,P_PathTraverse+336
	andi %r13,%r15,65535
;P_PathTraverse+320
	subfiws %r17,%r13,65536
	ldi %r13,1
	jmp P_PathTraverse+352
;P_PathTraverse+336
	bwle %r2,%r11,P_PathTraverse+384
	andi %r17,%r15,65535
	ldi %r13,-1
;P_PathTraverse+352
	subws %r21,%r14,%r7
	absdw %r22,%r8,%r4
	callr %r20,FixedDiv
;P_PathTraverse+368
	mov %r4,%r21
	srliw %r17,%r17,0
	jmp P_PathTraverse+400
;P_PathTraverse+384
	mov %r13,%gz
	ldi %r17,65536
	ldi %r4,16777216
;P_PathTraverse+400
	mov %r8,%gz
	addws %r14,%r15,%r16
	sraiw %r7,%r7,7
;P_PathTraverse+416
	sraiw %r15,%r4,0
	mul %r15,%r17,%r15
	srli %r15,%r15,16
;P_PathTraverse+432
	addws %r15,%r7,%r15
	andi %r16,%r5,1
	andi %r17,%r5,2
;P_PathTraverse+448
	ldar %r5,PIT_AddLineIntercepts
	jmp P_PathTraverse+496
	nop 0
;P_PathTraverse+464
	addws %r14,%r14,%r3
	addws %r1,%r1,%r12
	nop 0
;P_PathTraverse+480
	addiws %r8,%r18,1
	bwgeui %r18,63,P_PathTraverse+688
	nop 0
;P_PathTraverse+496
	mov %r18,%r8
	bweq %r16,%gz,P_PathTraverse+528
	mov2 %r20,%r21,%r1,%r2
;P_PathTraverse+512
	mov %r22,%r5
	callr %r19,P_BlockLinesIterator
	bweq %r20,%gz,P_PathTraverse+864
;P_PathTraverse+528
	bweq %r17,%gz,P_PathTraverse+624
	or %r7,%r2,%r1
	bwlt %r7,%gz,P_PathTraverse+624
;P_PathTraverse+544
	ldwzr %r7,bmapwidth
	bwle %r7,%r1,P_PathTraverse+624
	ldwzr %r8,bmapheight
;P_PathTraverse+560
	bwle %r8,%r2,P_PathTraverse+624
	lddzr %r8,blocklinks
	mulws %r7,%r7,%r2
;P_PathTraverse+576
	addws %r7,%r7,%r1
	lddzx.xuw %r7,%r8,%r7,3,0
	bdeq %r7,%gz,P_PathTraverse+624
;P_PathTraverse+592
	mov %r22,%r7
	callr %r21,PIT_AddThingIntercepts
	bweq %r22,%gz,P_PathTraverse+864
;P_PathTraverse+608
	lddz %r7,%r7,72
	bdne %r7,%gz,P_PathTraverse+592
	nop 0
;P_PathTraverse+624
	bwne %r1,%r10,P_PathTraverse+640
	bweq %r2,%r11,P_PathTraverse+688
	nop 0
;P_PathTraverse+640
	sraiw %r7,%r14,16
	bweq %r7,%r2,P_PathTraverse+464
	sraiw %r7,%r15,16
;P_PathTraverse+656
	bwne %r7,%r1,P_PathTraverse+480
	addws %r15,%r15,%r4
	addws %r2,%r2,%r13
;P_PathTraverse+672
	jmp P_PathTraverse+480
	nop 0
	nop 0
;P_PathTraverse+688
	lddzr %r1,intercept_p
	sub %r1,%r1,%r9
	srli %r4,%r1,4
;P_PathTraverse+704
	ldi %r1,1
	bweq %r4,%gz,P_PathTraverse+848
	mov %r2,%gz
;P_PathTraverse+720
	ldi.l %r5,2147483647
	nop 0
;P_PathTraverse+736
	lddzr %r3,intercept_p
	bdleu %r3,%r9,P_PathTraverse+848
	addiws %r4,%r4,-1
;P_PathTraverse+752
	mov2 %r8,%r7,%r9,%r5
	nop 0
	nop 0
;P_PathTraverse+768
	ldwz %r10,%r8,0
	cmpwlt %r11,%r10,%r7
	cmovlsb %r2,%r11,%r8,%r2
;P_PathTraverse+784
	addi %r8,%r8,16
	minsw %r7,%r10,%r7
	bdltu %r8,%r3,P_PathTraverse+768
;P_PathTraverse+800
	bwgei.l %r7,65537,P_PathTraverse+848
	mov %r22,%r2
;P_PathTraverse+816
	callri %r21,%r6,%gz
	bweq %r22,%gz,P_PathTraverse+864
	stw %r5,%r2,0
;P_PathTraverse+832
	bwne %r4,%gz,P_PathTraverse+736
	nop 0
	nop 0
;P_PathTraverse+848
	retf 0
	nop 0
	nop 0
;P_PathTraverse+864
	mov %r1,%gz
	retf 0
	nop 0
;P_SetMobjState
	alloc 14
	mov %r3,%r1
	ldafr %r4,states
;P_SetMobjState+16
	ldi %r5,40
	ldafr %r6,states+8
	ldafr %r7,states+4
;P_SetMobjState+32
	ldafr %r8,states+16
	ldi %r1,1
	jmp P_SetMobjState+64
;P_SetMobjState+48
	ldwz %r2,%r9,24
	bwne %r10,%gz,P_SetMobjState+192
	nop 0
;P_SetMobjState+64
	bweq %r2,%gz,P_SetMobjState+160
	srliw %r2,%r2,0
	muladd %r9,%r2,%r5,%r4
;P_SetMobjState+80
	muli %r2,%r2,40
	std %r9,%r3,152
	ldwzx.xd %r10,%r2,%r6,0,0
;P_SetMobjState+96
	stw %r10,%r3,144
	ldwzx.xd %r11,%r2,%r4,0,0
	stw %r11,%r3,60
;P_SetMobjState+112
	ldwzx.xd %r11,%r2,%r7,0,0
	stw %r11,%r3,64
	lddzx.xd %r2,%r2,%r8,0,0
;P_SetMobjState+128
	bdeq %r2,%gz,P_SetMobjState+48
	mov %r13,%r3
	callri %r12,%r2,%gz
;P_SetMobjState+144
	ldwz %r10,%r3,144
	jmp P_SetMobjState+48
	nop 0
;P_SetMobjState+160
	std %gz,%r3,152
	mov %r13,%r3
	callr %r12,P_RemoveMobj
;P_SetMobjState+176
	mov %r1,%gz
	nop 0
	nop 0
;P_SetMobjState+192
	retf 0
	nop 0
	nop 0
;P_RemoveMobj
	alloc 9
	ldwz %r2,%r1,160
	andi %r2,%r2,131073
;P_RemoveMobj+16
	bwnei %r2,1,P_RemoveMobj+48
	ldwz %r2,%r1,128
	ori %r2,%r2,2
;P_RemoveMobj+32
	bwnei %r2,58,P_RemoveMobj+96
	nop 0
	nop 0
;P_RemoveMobj+48
	mov %r8,%r1
	callr %r7,P_UnsetThingPosition
	mov %r8,%r1
;P_RemoveMobj+64
	callr %r7,S_StopSound
	mov %r8,%r1
	callr %r7,P_RemoveThinker
;P_RemoveMobj+80
	retf 0
	nop 0
	nop 0
;P_RemoveMobj+96
	ldwzr %r2,iquehead
	ldbz %r3,%r1,213
	sraiw %r4,%r2,0
;P_RemoveMobj+112
	muli %r4,%r4,10
	ldafr %r5,itemrespawnque+9
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+128
	ldbz %r3,%r1,212
	ldafr %r5,itemrespawnque+8
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+144
	ldbz %r3,%r1,211
	ldafr %r5,itemrespawnque+7
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+160
	ldbz %r3,%r1,210
	ldafr %r5,itemrespawnque+6
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+176
	ldbz %r3,%r1,209
	ldafr %r5,itemrespawnque+5
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+192
	ldbz %r3,%r1,208
	ldafr %r5,itemrespawnque+4
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+208
	ldbz %r3,%r1,207
	ldafr %r5,itemrespawnque+3
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+224
	ldbz %r3,%r1,206
	ldafr %r5,itemrespawnque+2
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+240
	ldbz %r3,%r1,205
	ldafr %r5,itemrespawnque+1
	stbx.xd %r3,%r4,%r5,0,0
;P_RemoveMobj+256
	ldbz %r3,%r1,204
	ldwzr %r5,leveltime
	ldafr %r6,itemrespawnque
;P_RemoveMobj+272
	stbx.xd %r3,%r4,%r6,0,0
	ldafr %r3,itemrespawntime
	ldwzr %r4,iquetail
;P_RemoveMobj+288
	stwx.xw %r5,%r3,%r2,2,0
	addiws %r3,%r2,1
	andi %r3,%r3,127
;P_RemoveMobj+304
	stwr %r3,iquehead
	bwne %r3,%r4,P_RemoveMobj+48
	addiws %r2,%r2,2
;P_RemoveMobj+320
	andi %r2,%r2,127
	stwr %r2,iquetail
	jmp P_RemoveMobj+48
;P_ExplodeMissile
	alloc 7
	stw %gz,%r1,120
	std %gz,%r1,112
;P_ExplodeMissile+16
	ldwz %r2,%r1,128
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+48
;P_ExplodeMissile+32
	ldwzx.xd %r6,%r2,%r3,0,0
	mov %r5,%r1
	callr %r4,P_SetMobjState
;P_ExplodeMissile+48
	callr %r5,P_Random
	ldwz %r2,%r1,144
	andi %r3,%r6,3
;P_ExplodeMissile+64
	subws %r2,%r2,%r3
	ldi %r3,1
	maxsw %r2,%r2,%r3
;P_ExplodeMissile+80
	stw %r2,%r1,144
	ldwz %r2,%r1,160
	andi %r2,%r2,-65537
;P_ExplodeMissile+96
	stw %r2,%r1,160
	lddz %r2,%r1,136
	ldwz %r6,%r2,56
;P_ExplodeMissile+112
	bweq %r6,%gz,P_ExplodeMissile+128
	mov %r5,%r1
	callr %r4,S_StartSound
;P_ExplodeMissile+128
	retf 0
	nop 0
	nop 0
;P_XYMovement
	alloc 13
	ldwz %r4,%r1,112
	ldi %r2,1966080
;P_XYMovement+16
	bweq %r4,%gz,P_XYMovement+64
	addi %r5,%r1,192
	lddz %r3,%r1,192
;P_XYMovement+32
	bwlti.l %r4,1966081,P_XYMovement+96
	stw %r2,%r1,112
;P_XYMovement+48
	mov %r4,%r2
	jmp P_XYMovement+128
	nop 0
;P_XYMovement+64
	ldwz %r3,%r1,116
	bweq %r3,%gz,P_XYMovement+768
	mov %r4,%gz
;P_XYMovement+80
	addi %r5,%r1,192
	lddz %r3,%r1,192
	jmp P_XYMovement+128
;P_XYMovement+96
	bwgei.l %r4,-1966080,P_XYMovement+128
	ldi %r4,-1966080
;P_XYMovement+112
	stw %r4,%r1,112
	nop 0
	nop 0
;P_XYMovement+128
	ldwz %r6,%r1,116
	bwgei.l %r6,1966081,P_XYMovement+160
;P_XYMovement+144
	bwgei.l %r6,-1966080,P_XYMovement+208
	ldi %r2,-1966080
;P_XYMovement+160
	stw %r2,%r1,116
	mov %r6,%r2
	jmp P_XYMovement+208
;P_XYMovement+176
	mov %r12,%r1
	callr %r11,P_SlideMove
	nop 0
;P_XYMovement+192
	or %r2,%r4,%r6
	bweq %r2,%gz,P_XYMovement+464
	nop 0
;P_XYMovement+208
	bwgei.l %r4,983041,P_XYMovement+272
	nop 2
;P_XYMovement+224
	bwgei.l %r6,983041,P_XYMovement+272
	ldwz %r2,%r1,28
;P_XYMovement+240
	addws %r12,%r2,%r6
	mov2 %r2,%r4,%r4,%gz
	mov %r6,%gz
;P_XYMovement+256
	jmp P_XYMovement+336
	nop 0
	nop 0
;P_XYMovement+272
	srliw %r2,%r4,31
	addws %r2,%r4,%r2
	sraiw %r2,%r2,1
;P_XYMovement+288
	ldwz %r7,%r1,28
	srliw %r8,%r6,31
	addws %r8,%r6,%r8
;P_XYMovement+304
	sraiw %r8,%r8,1
	addws %r12,%r7,%r8
	sraiw %r4,%r4,1
;P_XYMovement+320
	sraiw %r6,%r6,1
	nop 0
	nop 0
;P_XYMovement+336
	ldwz %r7,%r1,24
	addws %r11,%r7,%r2
	mov %r10,%r1
;P_XYMovement+352
	callr %r9,P_TryMove
	bwne %r10,%gz,P_XYMovement+192
	lddz %r2,%r5,0
;P_XYMovement+368
	bdne %r2,%gz,P_XYMovement+176
	ldbz %r2,%r1,162
	bbsi %r2,0,P_XYMovement+400
;P_XYMovement+384
	std %gz,%r1,112
	jmp P_XYMovement+192
	nop 0
;P_XYMovement+400
	lddzr %r2,ceilingline
	bdeq %r2,%gz,P_XYMovement+448
	lddz %r2,%r2,64
;P_XYMovement+416
	bdeq %r2,%gz,P_XYMovement+448
	ldhs %r2,%r2,10
	ldwzr %r7,skyflatnum
;P_XYMovement+432
	bweq %r7,%r2,P_XYMovement+848
	nop 0
	nop 0
;P_XYMovement+448
	mov %r12,%r1
	callr %r11,P_ExplodeMissile
	jmp P_XYMovement+192
;P_XYMovement+464
	bdeq %r3,%gz,P_XYMovement+480
	ldbz %r2,%r3,208
	bbsi %r2,2,P_XYMovement+528
;P_XYMovement+480
	ldwz %r5,%r1,160
	andi.l %r2,%r5,16842752
;P_XYMovement+496
	bweq %r2,%gz,P_XYMovement+544
	nop 0
	nop 0
;P_XYMovement+512
	retf 0
	nop 0
	nop 0
;P_XYMovement+528
	std %gz,%r1,112
	retf 0
	nop 0
;P_XYMovement+544
	ldwz %r2,%r1,32
	ldwz %r4,%r1,96
	bwlt %r4,%r2,P_XYMovement+512
;P_XYMovement+560
	ldwz %r2,%r1,112
	bbci %r5,20,P_XYMovement+640
	addiws %r5,%r2,-16385
;P_XYMovement+576
	bwltui.l %r5,4294934527,P_XYMovement+608
	ldwz %r5,%r1,116
;P_XYMovement+592
	addiws %r5,%r5,-16385
	bwgeui.l %r5,1099511595007,P_XYMovement+640
;P_XYMovement+608
	lddz %r5,%r1,88
	lddz %r5,%r5,0
	ldwz %r5,%r5,0
;P_XYMovement+624
	bwne %r4,%r5,P_XYMovement+512
	nop 0
	nop 0
;P_XYMovement+640
	addiws %r5,%r2,4095
	ldwz %r4,%r1,116
	nop 2
;P_XYMovement+656
	bwgeui.l %r5,8191,P_XYMovement+720
	addiws %r5,%r4,4095
;P_XYMovement+672
	bwgeui.l %r5,8191,P_XYMovement+720
	bdeq %r3,%gz,P_XYMovement+928
;P_XYMovement+688
	ldbz %r5,%r3,12
	bwne %r5,%gz,P_XYMovement+720
	ldbz %r5,%r3,13
;P_XYMovement+704
	bweq %r5,%gz,P_XYMovement+864
	nop 0
	nop 0
;P_XYMovement+720
	sraiw %r2,%r2,0
	muli %r2,%r2,59392
	srli %r2,%r2,16
;P_XYMovement+736
	stw %r2,%r1,112
	sraiw %r2,%r4,0
	muli %r2,%r2,59392
;P_XYMovement+752
	srli %r2,%r2,16
	stw %r2,%r1,116
	retf 0
;P_XYMovement+768
	ldwz %r2,%r1,160
	bbci %r2,24,P_XYMovement+512
	nop 2
;P_XYMovement+784
	andi.l %r2,%r2,-16777217
	stw %r2,%r1,160
;P_XYMovement+800
	stw %gz,%r1,120
	std %gz,%r1,112
	lddz %r2,%r1,136
;P_XYMovement+816
	ldwz %r12,%r2,4
	mov %r11,%r1
	callr %r10,P_SetMobjState
;P_XYMovement+832
	retf 0
	nop 0
	nop 0
;P_XYMovement+848
	mov %r12,%r1
	callr %r11,P_RemoveMobj
	retf 0
;P_XYMovement+864
	lddz %r11,%r3,0
	lddz %r2,%r11,152
	ldafr %r3,states
;P_XYMovement+880
	sub %r2,%r2,%r3
	srli %r2,%r2,3
	nop 2
;P_XYMovement+896
	mulwsi.l %r2,%r2,-858993459
	addiws %r2,%r2,-150
;P_XYMovement+912
	bwgeui %r2,4,P_XYMovement+928
	ldi %r12,149
	callr %r10,P_SetMobjState
;P_XYMovement+928
	mov %r2,%gz
	stw %gz,%r1,112
	stw %r2,%r1,116
;P_XYMovement+944
	retf 0
	nop 0
	nop 0
;P_ZMovement
	alloc 10
	lddz %r3,%r1,192
	ldwz %r2,%r1,32
;P_ZMovement+16
	bdeq %r3,%gz,P_ZMovement+80
	ldwz %r4,%r1,96
	bwle %r4,%r2,P_ZMovement+80
;P_ZMovement+32
	ldwz %r5,%r3,32
	subws %r4,%r2,%r4
	addws %r4,%r5,%r4
;P_ZMovement+48
	stw %r4,%r3,32
	subfiws.l %r4,%r4,2686976
;P_ZMovement+64
	sraiw %r4,%r4,3
	stw %r4,%r3,36
	nop 0
;P_ZMovement+80
	ldwz %r3,%r1,120
	addws %r2,%r2,%r3
	stw %r2,%r1,32
;P_ZMovement+96
	ldwz %r3,%r1,160
	bbci %r3,14,P_ZMovement+288
	nop 2
;P_ZMovement+112
	andi.l %r3,%r3,18874368
	bwne %r3,%gz,P_ZMovement+288
;P_ZMovement+128
	lddz %r3,%r1,176
	bdeq %r3,%gz,P_ZMovement+288
	ldwz %r2,%r1,24
;P_ZMovement+144
	ldwz %r4,%r3,24
	ldwz %r5,%r1,28
	ldwz %r3,%r3,28
;P_ZMovement+160
	subws %r8,%r2,%r4
	subws %r9,%r5,%r3
	callr %r7,P_AproxDistance
;P_ZMovement+176
	lddz %r2,%r1,176
	ldwz %r3,%r1,108
	ldwz %r4,%r2,32
;P_ZMovement+192
	ldwz %r2,%r1,32
	sraiw %r3,%r3,1
	addws %r3,%r3,%r4
;P_ZMovement+208
	subws %r3,%r3,%r2
	bwgei %r3,0,P_ZMovement+240
	mulwsi %r4,%r3,-3
;P_ZMovement+224
	bwle %r4,%r8,P_ZMovement+240
	ldi %r3,-262144
	jmp P_ZMovement+272
;P_ZMovement+240
	bwlti %r3,1,P_ZMovement+288
	mulwsi %r3,%r3,3
	bwle %r3,%r8,P_ZMovement+288
;P_ZMovement+256
	ldi %r3,262144
	nop 0
	nop 0
;P_ZMovement+272
	addws %r2,%r2,%r3
	stw %r2,%r1,32
	nop 0
;P_ZMovement+288
	ldwz %r4,%r1,96
	bwle %r2,%r4,P_ZMovement+352
	ldwz %r4,%r1,160
;P_ZMovement+304
	bbsi %r4,9,P_ZMovement+576
	ldwz %r3,%r1,120
	addiws %r5,%r3,-65536
;P_ZMovement+320
	ldi %r6,-131072
	cmovweq %r3,%r3,%r6,%r5
	stw %r3,%r1,120
;P_ZMovement+336
	jmp P_ZMovement+576
	nop 0
	nop 0
;P_ZMovement+352
	ldwzr %r3,gameversion
	bwltui %r3,6,P_ZMovement+416
	ldbz %r2,%r1,163
;P_ZMovement+368
	ldwz %r5,%r1,120
	bbci %r2,0,P_ZMovement+400
	subfiws %r5,%r5,0
;P_ZMovement+384
	stw %r5,%r1,120
	nop 0
	nop 0
;P_ZMovement+400
	bwgei %r5,0,P_ZMovement+512
	jmp P_ZMovement+432
	nop 0
;P_ZMovement+416
	ldwz %r5,%r1,120
	bwgei %r5,0,P_ZMovement+512
	nop 0
;P_ZMovement+432
	bwgeui.l %r5,1099511103488,P_ZMovement+496
	lddz %r2,%r1,192
;P_ZMovement+448
	bdeq %r2,%gz,P_ZMovement+496
	sraiw %r4,%r5,3
	stw %r4,%r2,36
;P_ZMovement+464
	ldi %r9,34
	mov %r8,%r1
	callr %r7,S_StartSound
;P_ZMovement+480
	ldwz %r4,%r1,96
	nop 0
	nop 0
;P_ZMovement+496
	mov %r5,%gz
	stw %gz,%r1,120
	nop 0
;P_ZMovement+512
	mov %r2,%r4
	stw %r4,%r1,32
	ldwz %r4,%r1,160
;P_ZMovement+528
	bwgeui %r3,6,P_ZMovement+560
	andi.l %r3,%r4,16777216
;P_ZMovement+544
	bweq %r3,%gz,P_ZMovement+560
	subfiws %r3,%r5,0
	stw %r3,%r1,120
;P_ZMovement+560
	andi %r3,%r4,69632
	bweqi.l %r3,65536,P_ZMovement+672
;P_ZMovement+576
	ldwz %r3,%r1,108
	ldwz %r5,%r1,100
	addws %r2,%r3,%r2
;P_ZMovement+592
	bwle %r2,%r5,P_ZMovement+688
	ldwz %r2,%r1,120
	bwlti %r2,1,P_ZMovement+624
;P_ZMovement+608
	mov %r2,%gz
	stw %gz,%r1,120
	nop 0
;P_ZMovement+624
	subws %r3,%r5,%r3
	stw %r3,%r1,32
	bbci %r4,24,P_ZMovement+656
;P_ZMovement+640
	subfiws %r2,%r2,0
	stw %r2,%r1,120
	nop 0
;P_ZMovement+656
	andi %r2,%r4,69632
	bwnei.l %r2,65536,P_ZMovement+688
;P_ZMovement+672
	mov %r9,%r1
	callr %r8,P_ExplodeMissile
	nop 0
;P_ZMovement+688
	retf 0
	nop 0
	nop 0
;P_NightmareRespawn
	alloc 13
	ldhz %r2,%r1,204
	ldhz %r3,%r1,206
;P_NightmareRespawn+16
	slliw %r2,%r2,16
	slliw %r3,%r3,16
	mov2 %r10,%r11,%r1,%r2
;P_NightmareRespawn+32
	mov %r12,%r3
	callr %r9,P_CheckPosition
	bweq %r10,%gz,P_NightmareRespawn+368
;P_NightmareRespawn+48
	lddz %r4,%r1,88
	lddz %r4,%r4,0
	addi %r7,%r1,204
;P_NightmareRespawn+64
	ldwz %r9,%r1,24
	ldwz %r10,%r1,28
	ldwz %r11,%r4,0
;P_NightmareRespawn+80
	ldi %r4,39
	mov %r12,%r4
	callr %r8,P_SpawnMobj
;P_NightmareRespawn+96
	ldi %r5,35
	mov2 %r11,%r12,%r9,%r5
	callr %r10,S_StartSound
;P_NightmareRespawn+112
	mov2 %r11,%r12,%r2,%r3
	callr %r10,R_PointInSubsector
	lddz %r6,%r11,0
;P_NightmareRespawn+128
	ldwz %r11,%r6,0
	mov2 %r9,%r10,%r2,%r3
	mov %r12,%r4
;P_NightmareRespawn+144
	callr %r8,P_SpawnMobj
	mov2 %r11,%r12,%r9,%r5
	callr %r10,S_StartSound
;P_NightmareRespawn+160
	lddz %r4,%r1,136
	ldwz %r4,%r4,84
	andi %r4,%r4,256
;P_NightmareRespawn+176
	ldi.l %r5,2147483647
	nop 2
;P_NightmareRespawn+192
	ldi.l %r6,-2147483648
	cmovweq %r11,%r4,%r6,%r5
;P_NightmareRespawn+208
	ldwz %r12,%r1,128
	mov2 %r9,%r10,%r2,%r3
	callr %r8,P_SpawnMobj
;P_NightmareRespawn+224
	ldwz %r2,%r7,0
	stw %r2,%r9,204
	ldwz %r2,%r7,4
;P_NightmareRespawn+240
	stw %r2,%r9,208
	ldhz %r2,%r7,8
	sth %r2,%r9,212
;P_NightmareRespawn+256
	ldbs %r2,%r1,209
	ldbz %r3,%r1,208
	slor %r2,%r3,%r2,8
;P_NightmareRespawn+272
	mulwsi %r2,%r2,11651
	srliw %r3,%r2,31
	srliw %r2,%r2,19
;P_NightmareRespawn+288
	addws %r2,%r2,%r3
	slliw %r2,%r2,29
	stw %r2,%r9,56
;P_NightmareRespawn+304
	ldbz %r2,%r1,212
	bbci %r2,3,P_NightmareRespawn+336
	ldwz %r2,%r9,160
;P_NightmareRespawn+320
	ori %r2,%r2,32
	stw %r2,%r9,160
	nop 0
;P_NightmareRespawn+336
	ldi %r2,18
	stw %r2,%r9,184
	mov %r12,%r1
;P_NightmareRespawn+352
	callr %r11,P_RemoveMobj
	nop 0
	nop 0
;P_NightmareRespawn+368
	retf 0
	nop 0
	nop 0
;P_SpawnMobj
	alloc 12
	ldi %r9,224
	ldi %r10,5
;P_SpawnMobj+16
	mov %r11,%gz
	callr %r8,Z_Malloc
	std %gz,%r9,0
;P_SpawnMobj+32
	std %gz,%r9,8
	std %gz,%r9,16
	std %gz,%r9,24
;P_SpawnMobj+48
	std %gz,%r9,32
	std %gz,%r9,40
	std %gz,%r9,48
;P_SpawnMobj+64
	std %gz,%r9,56
	std %gz,%r9,64
	std %gz,%r9,72
;P_SpawnMobj+80
	std %gz,%r9,80
	std %gz,%r9,88
	std %gz,%r9,96
;P_SpawnMobj+96
	std %gz,%r9,104
	std %gz,%r9,112
	std %gz,%r9,120
;P_SpawnMobj+112
	std %gz,%r9,128
	std %gz,%r9,136
	std %gz,%r9,144
;P_SpawnMobj+128
	std %gz,%r9,152
	std %gz,%r9,160
	std %gz,%r9,168
;P_SpawnMobj+144
	std %gz,%r9,176
	std %gz,%r9,184
	std %gz,%r9,192
;P_SpawnMobj+160
	std %gz,%r9,200
	std %gz,%r9,208
	std %gz,%r9,216
;P_SpawnMobj+176
	srliw %r6,%r4,0
	ldafr %r5,mobjinfo
	ldi %r7,92
;P_SpawnMobj+192
	muladd %r5,%r6,%r7,%r5
	muli %r6,%r6,92
	stw %r4,%r9,128
;P_SpawnMobj+208
	std %r5,%r9,136
	stw %r1,%r9,24
	stw %r2,%r9,28
;P_SpawnMobj+224
	ldafr %r1,mobjinfo+64
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,104
;P_SpawnMobj+240
	ldafr %r1,mobjinfo+68
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,108
;P_SpawnMobj+256
	ldafr %r1,mobjinfo+84
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,160
;P_SpawnMobj+272
	ldafr %r1,mobjinfo+8
	ldwzx.xd %r1,%r6,%r1,0,0
	stw %r1,%r9,164
;P_SpawnMobj+288
	ldwzr %r1,gameskill
	bweqi %r1,4,P_SpawnMobj+320
	ldwz %r1,%r5,20
;P_SpawnMobj+304
	stw %r1,%r9,184
	nop 0
	nop 0
;P_SpawnMobj+320
	callr %r10,P_Random
	sraiw %r1,%r11,31
	srliw %r1,%r1,30
;P_SpawnMobj+336
	addws %r1,%r11,%r1
	andi %r1,%r1,-4
	subws %r1,%r11,%r1
;P_SpawnMobj+352
	stw %r1,%r9,200
	ldws %r1,%r5,4
	ldafr %r2,states
;P_SpawnMobj+368
	ldi %r4,40
	muladd %r4,%r1,%r4,%r2
	muli %r1,%r1,40
;P_SpawnMobj+384
	std %r4,%r9,152
	ldafr %r4,states+8
	ldwzx.xd %r4,%r1,%r4,0,0
;P_SpawnMobj+400
	stw %r4,%r9,144
	ldwzx.xd %r2,%r1,%r2,0,0
	stw %r2,%r9,60
;P_SpawnMobj+416
	ldafr %r2,states+4
	ldwzx.xd %r1,%r1,%r2,0,0
	stw %r1,%r9,64
;P_SpawnMobj+432
	mov %r11,%r9
	callr %r10,P_SetThingPosition
	lddz %r1,%r9,88
;P_SpawnMobj+448
	lddz %r2,%r1,0
	ldwz %r1,%r2,0
	stw %r1,%r9,96
;P_SpawnMobj+464
	ldwz %r2,%r2,4
	stw %r2,%r9,100
	nop 2
;P_SpawnMobj+480
	bweqi.l %r3,-2147483648,P_SpawnMobj+544
	nop 2
;P_SpawnMobj+496
	bwnei.l %r3,2147483647,P_SpawnMobj+528
	lddz %r1,%r9,136
;P_SpawnMobj+512
	ldwz %r1,%r1,68
	subws %r1,%r2,%r1
	jmp P_SpawnMobj+544
;P_SpawnMobj+528
	mov %r1,%r3
	nop 0
	nop 0
;P_SpawnMobj+544
	stw %r1,%r9,32
	ldar %r1,P_MobjThinker
	std %r1,%r9,16
;P_SpawnMobj+560
	mov %r11,%r9
	callr %r10,P_AddThinker
	mov %r1,%r9
;P_SpawnMobj+576
	retf 0
	nop 0
	nop 0
;P_MobjThinker
	alloc 7
	ldwz %r2,%r1,112
	bwne %r2,%gz,P_MobjThinker+48
;P_MobjThinker+16
	ldwz %r2,%r1,116
	bwne %r2,%gz,P_MobjThinker+48
	ldbz %r2,%r1,163
;P_MobjThinker+32
	bbci %r2,0,P_MobjThinker+80
	nop 0
	nop 0
;P_MobjThinker+48
	mov %r6,%r1
	callr %r5,P_XYMovement
	lddz %r2,%r1,16
;P_MobjThinker+64
	bdeqi %r2,-1,P_MobjThinker+176
	nop 0
	nop 0
;P_MobjThinker+80
	ldwz %r2,%r1,32
	ldwz %r3,%r1,96
	bwne %r2,%r3,P_MobjThinker+112
;P_MobjThinker+96
	ldwz %r2,%r1,120
	bweq %r2,%gz,P_MobjThinker+144
	nop 0
;P_MobjThinker+112
	mov %r6,%r1
	callr %r5,P_ZMovement
	lddz %r2,%r1,16
;P_MobjThinker+128
	bdeqi %r2,-1,P_MobjThinker+176
	nop 0
	nop 0
;P_MobjThinker+144
	ldwz %r2,%r1,144
	bweqi %r2,-1,P_MobjThinker+192
	addiws %r2,%r2,-1
;P_MobjThinker+160
	stw %r2,%r1,144
	bweq %r2,%gz,P_MobjThinker+288
	nop 0
;P_MobjThinker+176
	retf 0
	nop 0
	nop 0
;P_MobjThinker+192
	ldbz %r2,%r1,162
	bbci %r2,6,P_MobjThinker+176
	ldwzr %r2,respawnmonsters
;P_MobjThinker+208
	bweq %r2,%gz,P_MobjThinker+176
	ldwz %r2,%r1,172
	addiws %r3,%r2,1
;P_MobjThinker+224
	stw %r3,%r1,172
	bwlti %r2,419,P_MobjThinker+176
	ldbzr %r2,leveltime
;P_MobjThinker+240
	andi %r2,%r2,31
	bwne %r2,%gz,P_MobjThinker+176
	callr %r5,P_Random
;P_MobjThinker+256
	bwgei %r6,5,P_MobjThinker+176
	mov %r6,%r1
	callr %r5,P_NightmareRespawn
;P_MobjThinker+272
	retf 0
	nop 0
	nop 0
;P_MobjThinker+288
	lddz %r2,%r1,152
	ldwz %r6,%r2,24
	mov %r5,%r1
;P_MobjThinker+304
	callr %r4,P_SetMobjState
	retf 0
	nop 0
;P_RespawnSpecials
	alloc 15
	ldwzr %r1,deathmatch
	bwnei %r1,2,P_RespawnSpecials+544
;P_RespawnSpecials+16
	ldwzr %r2,iquehead
	ldwzr %r1,iquetail
	bweq %r2,%r1,P_RespawnSpecials+544
;P_RespawnSpecials+32
	ldwzr %r2,leveltime
	ldafr %r3,itemrespawntime
	ldwzx.xw %r3,%r3,%r1,2,0
;P_RespawnSpecials+48
	subws %r2,%r2,%r3
	bwlti.l %r2,1050,P_RespawnSpecials+544
;P_RespawnSpecials+64
	sraiw %r1,%r1,0
	ldafr %r2,itemrespawnque
	muli %r5,%r1,10
;P_RespawnSpecials+80
	ldbzx.xd %r3,%r5,%r2,0,0
	ldbzx.xd %r4,%r5,%r2,0,1
	ldafr %r6,itemrespawnque+2
;P_RespawnSpecials+96
	ldbzx.xd %r7,%r5,%r6,0,1
	ldbzx.xd %r6,%r5,%r6,0,0
	ldi %r8,10
;P_RespawnSpecials+112
	slliw %r9,%r4,24
	slliw %r7,%r7,24
	muladd %r4,%r1,%r8,%r2
;P_RespawnSpecials+128
	slor %r1,%r9,%r3,16
	slor %r2,%r7,%r6,16
	mov2 %r13,%r14,%r1,%r2
;P_RespawnSpecials+144
	callr %r12,R_PointInSubsector
	lddz %r3,%r13,0
	ldwz %r13,%r3,0
;P_RespawnSpecials+160
	ldi %r14,40
	mov2 %r11,%r12,%r1,%r2
	callr %r10,P_SpawnMobj
;P_RespawnSpecials+176
	ldi %r14,90
	mov %r13,%r11
	callr %r12,S_StartSound
;P_RespawnSpecials+192
	ldafr %r3,itemrespawnque+6
	ldbsx.xd %r6,%r5,%r3,0,1
	ldbzx.xd %r5,%r5,%r3,0,0
;P_RespawnSpecials+208
	mov %r3,%gz
	slor %r5,%r5,%r6,8
	ldafr %r6,mobjinfo
;P_RespawnSpecials+224
	ldi %r14,137
	nop 0
	nop 0
;P_RespawnSpecials+240
	ldwz %r7,%r6,0
	bweq %r7,%r5,P_RespawnSpecials+272
	addi %r3,%r3,1
;P_RespawnSpecials+256
	addi %r6,%r6,92
	bdnei %r3,137,P_RespawnSpecials+240
	jmp P_RespawnSpecials+288
;P_RespawnSpecials+272
	mov %r14,%r3
	nop 0
	nop 0
;P_RespawnSpecials+288
	srliw %r3,%r14,0
	muli %r3,%r3,92
	ldafr %r5,mobjinfo+84
;P_RespawnSpecials+304
	ldwzx.xd %r3,%r3,%r5,0,0
	andi %r3,%r3,256
	nop 2
;P_RespawnSpecials+320
	ldi.l %r5,2147483647
	nop 2
;P_RespawnSpecials+336
	ldi.l %r6,-2147483648
	cmovweq %r13,%r3,%r6,%r5
;P_RespawnSpecials+352
	mov2 %r11,%r12,%r1,%r2
	callr %r10,P_SpawnMobj
	ldbz %r1,%r4,0
;P_RespawnSpecials+368
	stb %r1,%r11,204
	ldbz %r1,%r4,1
	stb %r1,%r11,205
;P_RespawnSpecials+384
	ldbz %r1,%r4,2
	stb %r1,%r11,206
	ldbz %r1,%r4,3
;P_RespawnSpecials+400
	stb %r1,%r11,207
	ldbz %r1,%r4,4
	stb %r1,%r11,208
;P_RespawnSpecials+416
	ldbz %r1,%r4,5
	stb %r1,%r11,209
	ldbz %r1,%r4,6
;P_RespawnSpecials+432
	stb %r1,%r11,210
	ldbz %r1,%r4,7
	stb %r1,%r11,211
;P_RespawnSpecials+448
	ldbz %r1,%r4,8
	stb %r1,%r11,212
	ldbz %r1,%r4,9
;P_RespawnSpecials+464
	stb %r1,%r11,213
	ldbs %r1,%r4,5
	ldbz %r2,%r4,4
;P_RespawnSpecials+480
	slor %r1,%r2,%r1,8
	mulwsi %r1,%r1,11651
	srliw %r2,%r1,31
;P_RespawnSpecials+496
	srliw %r1,%r1,19
	addws %r1,%r1,%r2
	slliw %r1,%r1,29
;P_RespawnSpecials+512
	stw %r1,%r11,56
	ldwzr %r1,iquetail
	addiws %r1,%r1,1
;P_RespawnSpecials+528
	andi %r1,%r1,127
	stwr %r1,iquetail
	nop 0
;P_RespawnSpecials+544
	retf 0
	nop 0
	nop 0
;P_SpawnPlayer
	alloc 14
	ldbs %r2,%r1,7
	ldbz %r3,%r1,6
;P_SpawnPlayer+16
	slor %r2,%r3,%r2,8
	bweq %r2,%gz,P_SpawnPlayer+432
	addiws %r2,%r2,-1
;P_SpawnPlayer+32
	ldafr %r3,playeringame
	ldwzx.xw %r3,%r3,%r2,2,0
	bweq %r3,%gz,P_SpawnPlayer+432
;P_SpawnPlayer+48
	muli %r3,%r2,328
	ldafr %r4,players+8
	ldwzx.xd %r3,%r3,%r4,0,0
;P_SpawnPlayer+64
	ldafr %r4,players
	ldi %r5,328
	bwnei %r3,2,P_SpawnPlayer+96
;P_SpawnPlayer+80
	mov %r13,%r2
	callr %r12,G_PlayerReborn
	nop 0
;P_SpawnPlayer+96
	ldbz %r3,%r1,0
	ldbz %r6,%r1,1
	ldbz %r7,%r1,3
;P_SpawnPlayer+112
	ldbz %r8,%r1,2
	slliw %r6,%r6,24
	slliw %r7,%r7,24
;P_SpawnPlayer+128
	muladd %r2,%r2,%r5,%r4
	slor %r10,%r6,%r3,16
	slor %r11,%r7,%r8,16
;P_SpawnPlayer+144
	ldi.l %r12,-2147483648
	mov %r13,%gz
;P_SpawnPlayer+160
	callr %r9,P_SpawnMobj
	ldbs %r3,%r1,7
	ldbz %r4,%r1,6
;P_SpawnPlayer+176
	slor %r3,%r4,%r3,8
	bwlti %r3,2,P_SpawnPlayer+224
	ldwz %r4,%r10,160
;P_SpawnPlayer+192
	ldi %r5,-67108864
	sladdws %r3,%r5,%r3,26
	or %r3,%r4,%r3
;P_SpawnPlayer+208
	stw %r3,%r10,160
	nop 0
	nop 0
;P_SpawnPlayer+224
	ldbs %r3,%r1,5
	ldbz %r4,%r1,4
	slor %r3,%r4,%r3,8
;P_SpawnPlayer+240
	mulwsi %r3,%r3,11651
	srliw %r4,%r3,31
	srliw %r3,%r3,19
;P_SpawnPlayer+256
	addws %r3,%r3,%r4
	slliw %r3,%r3,29
	stw %r3,%r10,56
;P_SpawnPlayer+272
	std %r2,%r10,192
	ldwz %r3,%r2,44
	stw %r3,%r10,164
;P_SpawnPlayer+288
	std %r10,%r2,0
	stw %gz,%r2,8
	stw %gz,%r2,212
;P_SpawnPlayer+304
	std %gz,%r2,256
	std %gz,%r2,232
	std %gz,%r2,240
;P_SpawnPlayer+320
	ldi %r3,2686976
	stw %r3,%r2,32
	mov %r13,%r2
;P_SpawnPlayer+336
	callr %r12,P_SetupPsprites
	ldwzr %r3,deathmatch
	bweq %r3,%gz,P_SpawnPlayer+384
;P_SpawnPlayer+352
	mov %r3,%gz
	addi %r2,%r2,80
	ldi %r4,1
;P_SpawnPlayer+368
	stwx.xd %r4,%r2,%r3,0,0
	addi %r3,%r3,4
	bdnei %r3,24,P_SpawnPlayer+368
;P_SpawnPlayer+384
	ldbs %r2,%r1,7
	ldbz %r1,%r1,6
	ldwzr %r3,consoleplayer
;P_SpawnPlayer+400
	slor %r1,%r1,%r2,8
	addiws %r1,%r1,-1
	bwne %r1,%r3,P_SpawnPlayer+432
;P_SpawnPlayer+416
	callr %r13,ST_Start
	callr %r13,HU_Start
	nop 0
;P_SpawnPlayer+432
	retf 0
	nop 0
	nop 0
;P_SpawnMapThing
	allocsp 14,16
	ldbz %r2,%r1,7
	ldbz %r3,%r1,6
;P_SpawnMapThing+16
	slor %r2,%r3,%r2,8
	bwnei %r2,11,P_SpawnMapThing+176
	lddzr %r2,deathmatch_p
;P_SpawnMapThing+32
	ldafr %r3,deathmatch_p
	bdleu %r3,%r2,P_SpawnMapThing+384
	ldbz %r3,%r1,9
;P_SpawnMapThing+48
	stb %r3,%r2,9
	ldbz %r3,%r1,8
	stb %r3,%r2,8
;P_SpawnMapThing+64
	ldbz %r3,%r1,7
	stb %r3,%r2,7
	ldbz %r3,%r1,6
;P_SpawnMapThing+80
	stb %r3,%r2,6
	ldbz %r3,%r1,5
	stb %r3,%r2,5
;P_SpawnMapThing+96
	ldbz %r3,%r1,4
	stb %r3,%r2,4
	ldbz %r3,%r1,3
;P_SpawnMapThing+112
	stb %r3,%r2,3
	ldbz %r3,%r1,2
	stb %r3,%r2,2
;P_SpawnMapThing+128
	ldbz %r3,%r1,1
	stb %r3,%r2,1
	ldbz %r1,%r1,0
;P_SpawnMapThing+144
	stb %r1,%r2,0
	lddzr %r1,deathmatch_p
	addi %r1,%r1,10
;P_SpawnMapThing+160
	stdr %r1,deathmatch_p
	retf 16
	nop 0
;P_SpawnMapThing+176
	slsrai %r3,%r2,48,48
	bwlti %r3,1,P_SpawnMapThing+384
	bwgeui %r2,5,P_SpawnMapThing+400
;P_SpawnMapThing+192
	ldbz %r3,%r1,9
	addiws %r2,%r2,-1
	andi %r2,%r2,65535
;P_SpawnMapThing+208
	muli %r2,%r2,10
	ldafr %r4,playerstarts+9
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+224
	ldbz %r3,%r1,8
	ldafr %r4,playerstarts+8
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+240
	ldbz %r3,%r1,7
	ldafr %r4,playerstarts+7
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+256
	ldbz %r3,%r1,6
	ldafr %r4,playerstarts+6
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+272
	ldbz %r3,%r1,5
	ldafr %r4,playerstarts+5
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+288
	ldbz %r3,%r1,4
	ldafr %r4,playerstarts+4
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+304
	ldbz %r3,%r1,3
	ldafr %r4,playerstarts+3
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+320
	ldbz %r3,%r1,2
	ldafr %r4,playerstarts+2
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+336
	ldbz %r3,%r1,1
	ldafr %r4,playerstarts+1
	stbx.xd %r3,%r2,%r4,0,0
;P_SpawnMapThing+352
	ldbz %r3,%r1,0
	ldwzr %r4,deathmatch
	ldafr %r5,playerstarts
;P_SpawnMapThing+368
	stbx.xd %r3,%r2,%r5,0,0
	bweq %r4,%gz,P_SpawnMapThing+464
	nop 0
;P_SpawnMapThing+384
	retf 16
	nop 0
	nop 0
;P_SpawnMapThing+400
	ldwzr %r3,netgame
	bwne %r3,%gz,P_SpawnMapThing+432
	ldbz %r3,%r1,8
;P_SpawnMapThing+416
	bbsi %r3,4,P_SpawnMapThing+384
	nop 0
	nop 0
;P_SpawnMapThing+432
	ldwzr %r3,gameskill
	bweq %r3,%gz,P_SpawnMapThing+480
	bwnei %r3,4,P_SpawnMapThing+496
;P_SpawnMapThing+448
	ldi %r3,4
	jmp P_SpawnMapThing+512
	nop 0
;P_SpawnMapThing+464
	mov %r13,%r1
	callr %r12,P_SpawnPlayer
	retf 16
;P_SpawnMapThing+480
	ldi %r3,1
	jmp P_SpawnMapThing+512
	nop 0
;P_SpawnMapThing+496
	addiws %r3,%r3,-1
	ldi %r4,1
	sllw %r3,%r4,%r3
;P_SpawnMapThing+512
	ldbs %r4,%r1,9
	ldbz %r5,%r1,8
	slor %r4,%r5,%r4,8
;P_SpawnMapThing+528
	and %r3,%r3,%r4
	bweq %r3,%gz,P_SpawnMapThing+384
	mov %r13,%gz
;P_SpawnMapThing+544
	ldafr %r3,mobjinfo
	nop 0
	nop 0
;P_SpawnMapThing+560
	ldwz %r4,%r3,0
	bweq %r4,%r2,P_SpawnMapThing+656
	addi %r13,%r13,1
;P_SpawnMapThing+576
	addi %r3,%r3,92
	bdnei %r13,137,P_SpawnMapThing+560
	ldbs %r3,%r1,1
;P_SpawnMapThing+592
	ldbz %r4,%r1,0
	ldbs %r5,%r1,3
	ldbz %r6,%r1,2
;P_SpawnMapThing+608
	slor %r3,%r4,%r3,8
	slor %r4,%r6,%r5,8
	stw %r4,%sp,8
;P_SpawnMapThing+624
	stw %r3,%sp,4
	ldafr %r13,.rodata+9320
	stw %r2,%sp,0
;P_SpawnMapThing+640
	callr %r12,I_Error
	ldi %r13,137
	nop 0
;P_SpawnMapThing+656
	ldwzr %r2,deathmatch
	bweq %r2,%gz,P_SpawnMapThing+704
	srliw %r2,%r13,0
;P_SpawnMapThing+672
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+87
	ldbzx.xd %r2,%r2,%r3,0,0
;P_SpawnMapThing+688
	bbsi %r2,1,P_SpawnMapThing+384
	nop 0
	nop 0
;P_SpawnMapThing+704
	ldwzr %r2,nomonsters
	bweq %r2,%gz,P_SpawnMapThing+752
	bweqi %r13,18,P_SpawnMapThing+384
;P_SpawnMapThing+720
	srliw %r2,%r13,0
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+84
;P_SpawnMapThing+736
	ldwzx.xd %r2,%r2,%r3,0,0
	bbsi %r2,22,P_SpawnMapThing+384
	jmp P_SpawnMapThing+784
;P_SpawnMapThing+752
	srliw %r2,%r13,0
	muli %r2,%r2,92
	ldafr %r3,mobjinfo+84
;P_SpawnMapThing+768
	ldwzx.xd %r2,%r2,%r3,0,0
	nop 0
	nop 0
;P_SpawnMapThing+784
	ldbz %r3,%r1,1
	ldbz %r4,%r1,3
	ldbz %r5,%r1,0
;P_SpawnMapThing+800
	ldbz %r6,%r1,2
	slliw %r3,%r3,24
	slliw %r4,%r4,24
;P_SpawnMapThing+816
	andi %r2,%r2,256
	ldi.l %r7,2147483647
;P_SpawnMapThing+832
	ldi.l %r8,-2147483648
	slor %r10,%r3,%r5,16
;P_SpawnMapThing+848
	slor %r11,%r4,%r6,16
	cmovweq %r12,%r2,%r8,%r7
	callr %r9,P_SpawnMobj
;P_SpawnMapThing+864
	ldbz %r2,%r1,0
	stb %r2,%r10,204
	ldbz %r2,%r1,1
;P_SpawnMapThing+880
	stb %r2,%r10,205
	ldbz %r2,%r1,2
	stb %r2,%r10,206
;P_SpawnMapThing+896
	ldbz %r2,%r1,3
	stb %r2,%r10,207
	ldbz %r2,%r1,4
;P_SpawnMapThing+912
	stb %r2,%r10,208
	ldbz %r2,%r1,5
	stb %r2,%r10,209
;P_SpawnMapThing+928
	ldbz %r2,%r1,6
	stb %r2,%r10,210
	ldbz %r2,%r1,7
;P_SpawnMapThing+944
	stb %r2,%r10,211
	ldbz %r2,%r1,8
	stb %r2,%r10,212
;P_SpawnMapThing+960
	ldbz %r2,%r1,9
	stb %r2,%r10,213
	ldwz %r2,%r10,144
;P_SpawnMapThing+976
	bwlti %r2,1,P_SpawnMapThing+1008
	callr %r12,P_Random
	ldwz %r2,%r10,144
;P_SpawnMapThing+992
	modw %r2,%r13,%r2
	addiws %r2,%r2,1
	stw %r2,%r10,144
;P_SpawnMapThing+1008
	ldwz %r2,%r10,160
	bbci %r2,22,P_SpawnMapThing+1040
	ldwzr %r3,totalkills
;P_SpawnMapThing+1024
	addiws %r3,%r3,1
	stwr %r3,totalkills
	nop 0
;P_SpawnMapThing+1040
	bbci %r2,23,P_SpawnMapThing+1072
	ldwzr %r3,totalitems
	addiws %r3,%r3,1
;P_SpawnMapThing+1056
	stwr %r3,totalitems
	nop 0
	nop 0
;P_SpawnMapThing+1072
	ldbs %r3,%r1,5
	ldbz %r4,%r1,4
	slor %r3,%r4,%r3,8
;P_SpawnMapThing+1088
	mulwsi %r3,%r3,11651
	srliw %r4,%r3,31
	srliw %r3,%r3,19
;P_SpawnMapThing+1104
	addws %r3,%r3,%r4
	slliw %r3,%r3,29
	stw %r3,%r10,56
;P_SpawnMapThing+1120
	ldbz %r1,%r1,8
	bbci %r1,3,P_SpawnMapThing+384
	ori %r1,%r2,32
;P_SpawnMapThing+1136
	stw %r1,%r10,160
	retf 16
	nop 0
;P_SpawnPuff
	alloc 10
	callr %r8,P_Random
	mov %r4,%r9
;P_SpawnPuff+16
	callr %r8,P_Random
	subws %r4,%r4,%r9
	sladdws %r8,%r3,%r4,10
;P_SpawnPuff+32
	ldi %r9,37
	mov2 %r6,%r7,%r1,%r2
	callr %r5,P_SpawnMobj
;P_SpawnPuff+48
	ldi %r1,65536
	stw %r1,%r6,120
	callr %r8,P_Random
;P_SpawnPuff+64
	ldwz %r1,%r6,144
	andi %r2,%r9,3
	subws %r1,%r1,%r2
;P_SpawnPuff+80
	ldi %r2,1
	maxsw %r1,%r1,%r2
	stw %r1,%r6,144
;P_SpawnPuff+96
	ldwzr %r1,attackrange
	bwnei.l %r1,4194304,P_SpawnPuff+128
;P_SpawnPuff+112
	ldi %r9,95
	mov %r8,%r6
	callr %r7,P_SetMobjState
;P_SpawnPuff+128
	retf 0
	nop 0
	nop 0
;P_SpawnBlood
	alloc 11
	callr %r9,P_Random
	mov %r5,%r10
;P_SpawnBlood+16
	callr %r9,P_Random
	subws %r5,%r5,%r10
	sladdws %r9,%r3,%r5,10
;P_SpawnBlood+32
	ldi %r10,38
	mov2 %r7,%r8,%r1,%r2
	callr %r6,P_SpawnMobj
;P_SpawnBlood+48
	ldi %r1,131072
	stw %r1,%r7,120
	callr %r9,P_Random
;P_SpawnBlood+64
	ldwz %r1,%r7,144
	andi %r2,%r10,3
	subws %r1,%r1,%r2
;P_SpawnBlood+80
	ldi %r2,1
	maxsw %r1,%r1,%r2
	addiws %r2,%r4,-9
;P_SpawnBlood+96
	stw %r1,%r7,144
	bwgeui %r2,4,P_SpawnBlood+128
	ldi %r10,91
;P_SpawnBlood+112
	jmp P_SpawnBlood+144
	nop 0
	nop 0
;P_SpawnBlood+128
	bwgei %r4,9,P_SpawnBlood+160
	ldi %r10,92
	nop 0
;P_SpawnBlood+144
	mov %r9,%r7
	callr %r8,P_SetMobjState
	nop 0
;P_SpawnBlood+160
	retf 0
	nop 0
	nop 0
;P_CheckMissileSpawn
	alloc 8
	callr %r6,P_Random
	ldwz %r2,%r1,144
;P_CheckMissileSpawn+16
	andi %r3,%r7,3
	subws %r2,%r2,%r3
	ldi %r3,1
;P_CheckMissileSpawn+32
	maxsw %r2,%r2,%r3
	stw %r2,%r1,144
	ldwz %r2,%r1,112
;P_CheckMissileSpawn+48
	ldwz %r3,%r1,24
	sraiw %r2,%r2,1
	addws %r6,%r3,%r2
;P_CheckMissileSpawn+64
	stw %r6,%r1,24
	ldwz %r2,%r1,116
	ldwz %r3,%r1,28
;P_CheckMissileSpawn+80
	sraiw %r2,%r2,1
	addws %r7,%r3,%r2
	stw %r7,%r1,28
;P_CheckMissileSpawn+96
	ldwz %r2,%r1,120
	ldwz %r3,%r1,32
	sraiw %r2,%r2,1
;P_CheckMissileSpawn+112
	addws %r2,%r3,%r2
	stw %r2,%r1,32
	mov %r5,%r1
;P_CheckMissileSpawn+128
	callr %r4,P_TryMove
	bweq %r5,%gz,P_CheckMissileSpawn+144
	retf 0
;P_CheckMissileSpawn+144
	mov %r7,%r1
	callr %r6,P_ExplodeMissile
	retf 0
;P_SubstNullMobj
	alloc 2
	bdeq %r1,%gz,P_SubstNullMobj+16
	retf 0
;P_SubstNullMobj+16
	stdr %gz,P_SubstNullMobj.dummy_mobj+24
	ldafr %r1,P_SubstNullMobj.dummy_mobj
	stwr %gz,P_SubstNullMobj.dummy_mobj+32
;P_SubstNullMobj+32
	stwr %gz,P_SubstNullMobj.dummy_mobj+160
	retf 0
	nop 0
;P_SpawnMissile
	alloc 13
	ldwz %r4,%r1,32
	ldwz %r9,%r1,24
;P_SpawnMissile+16
	ldwz %r10,%r1,28
	addiws.l %r11,%r4,2097152
;P_SpawnMissile+32
	mov %r12,%r3
	callr %r8,P_SpawnMobj
	mov %r3,%r9
;P_SpawnMissile+48
	lddz %r4,%r9,136
	ldwz %r12,%r4,16
	bweq %r12,%gz,P_SpawnMissile+80
;P_SpawnMissile+64
	mov %r11,%r3
	callr %r10,S_StartSound
	nop 0
;P_SpawnMissile+80
	std %r1,%r3,176
	ldwz %r9,%r1,24
	ldwz %r10,%r1,28
;P_SpawnMissile+96
	ldwz %r11,%r2,24
	ldwz %r12,%r2,28
	callr %r8,R_PointToAngle2
;P_SpawnMissile+112
	ldbz %r4,%r2,162
	bbci %r4,2,P_SpawnMissile+160
	callr %r11,P_Random
;P_SpawnMissile+128
	mov %r4,%r12
	callr %r11,P_Random
	subws %r4,%r4,%r12
;P_SpawnMissile+144
	sladdws %r9,%r9,%r4,20
	nop 0
	nop 0
;P_SpawnMissile+160
	stw %r9,%r3,56
	lddz %r4,%r3,136
	lddzr %r5,finecosine
;P_SpawnMissile+176
	srliw %r6,%r9,19
	ldws %r4,%r4,60
	ldwsx.xuw %r5,%r5,%r6,2,0
;P_SpawnMissile+192
	mul %r5,%r5,%r4
	srli %r5,%r5,16
	stw %r5,%r3,112
;P_SpawnMissile+208
	ldafr %r5,finesine
	ldwsx.xuw %r5,%r5,%r6,2,0
	mul %r4,%r5,%r4
;P_SpawnMissile+224
	srli %r4,%r4,16
	stw %r4,%r3,116
	ldwz %r4,%r2,24
;P_SpawnMissile+240
	ldwz %r5,%r1,24
	ldwz %r6,%r2,28
	ldwz %r7,%r1,28
;P_SpawnMissile+256
	subws %r11,%r4,%r5
	subws %r12,%r6,%r7
	callr %r10,P_AproxDistance
;P_SpawnMissile+272
	lddz %r4,%r3,136
	ldwz %r4,%r4,60
	divw %r4,%r11,%r4
;P_SpawnMissile+288
	ldwz %r2,%r2,32
	ldwz %r1,%r1,32
	ldi %r5,1
;P_SpawnMissile+304
	maxsw %r4,%r4,%r5
	subws %r1,%r2,%r1
	divw %r1,%r1,%r4
;P_SpawnMissile+320
	stw %r1,%r3,120
	mov %r12,%r3
	callr %r11,P_CheckMissileSpawn
;P_SpawnMissile+336
	mov %r1,%r3
	retf 0
	nop 0
;P_SpawnPlayerMissile
	alloc 12
	ldwz %r3,%r1,56
	ldi %r11,67108864
;P_SpawnPlayerMissile+16
	mov2 %r9,%r10,%r1,%r3
	callr %r8,P_AimLineAttack
	lddzr %r5,linetarget
;P_SpawnPlayerMissile+32
	bdeq %r5,%gz,P_SpawnPlayerMissile+64
	nop 0
	nop 0
;P_SpawnPlayerMissile+48
	mov %r4,%r9
	jmp P_SpawnPlayerMissile+112
	nop 0
;P_SpawnPlayerMissile+64
	addiws.l %r5,%r3,67108864
	ldi %r11,67108864
;P_SpawnPlayerMissile+80
	mov2 %r9,%r10,%r1,%r5
	callr %r8,P_AimLineAttack
	lddzr %r6,linetarget
;P_SpawnPlayerMissile+96
	bdeq %r6,%gz,P_SpawnPlayerMissile+304
	mov2 %r4,%r3,%r9,%r5
	nop 0
;P_SpawnPlayerMissile+112
	ldwz %r5,%r1,32
	ldwz %r8,%r1,24
	ldwz %r9,%r1,28
;P_SpawnPlayerMissile+128
	addiws.l %r10,%r5,2097152
	mov %r11,%r2
;P_SpawnPlayerMissile+144
	callr %r7,P_SpawnMobj
	lddz %r2,%r8,136
	ldwz %r11,%r2,16
;P_SpawnPlayerMissile+160
	bweq %r11,%gz,P_SpawnPlayerMissile+192
	mov %r10,%r8
	callr %r9,S_StartSound
;P_SpawnPlayerMissile+176
	lddz %r2,%r8,136
	nop 0
	nop 0
;P_SpawnPlayerMissile+192
	std %r1,%r8,176
	stw %r3,%r8,56
	lddzr %r1,finecosine
;P_SpawnPlayerMissile+208
	ldws %r2,%r2,60
	srliw %r3,%r3,19
	ldwsx.xuw %r1,%r1,%r3,2,0
;P_SpawnPlayerMissile+224
	mul %r1,%r1,%r2
	srli %r1,%r1,16
	stw %r1,%r8,112
;P_SpawnPlayerMissile+240
	ldafr %r1,finesine
	ldwsx.xuw %r1,%r1,%r3,2,0
	mul %r1,%r1,%r2
;P_SpawnPlayerMissile+256
	srli %r1,%r1,16
	stw %r1,%r8,116
	sraiw %r1,%r4,0
;P_SpawnPlayerMissile+272
	mul %r1,%r2,%r1
	srli %r1,%r1,16
	stw %r1,%r8,120
;P_SpawnPlayerMissile+288
	mov %r11,%r8
	callr %r10,P_CheckMissileSpawn
	retf 0
;P_SpawnPlayerMissile+304
	addiws.l %r3,%r3,-67108864
	ldi %r11,67108864
;P_SpawnPlayerMissile+320
	mov2 %r9,%r10,%r1,%r3
	callr %r8,P_AimLineAttack
	lddzr %r5,linetarget
;P_SpawnPlayerMissile+336
	bdne %r5,%gz,P_SpawnPlayerMissile+48
	mov %r4,%gz
	ldwz %r3,%r1,56
;P_SpawnPlayerMissile+352
	jmp P_SpawnPlayerMissile+112
	nop 0
	nop 0
;T_PlatRaise
	alloc 12
	ldwz %r2,%r1,52
	bweqi %r2,2,T_PlatRaise+272
;T_PlatRaise+16
	bweqi %r2,1,T_PlatRaise+176
	bwne %r2,%gz,T_PlatRaise+160
	lddz %r6,%r1,24
;T_PlatRaise+32
	ldwz %r7,%r1,32
	ldwz %r8,%r1,40
	ldwz %r9,%r1,60
;T_PlatRaise+48
	ldi %r2,1
	mov2 %r10,%r11,%gz,%r2
	callr %r5,T_MovePlane
;T_PlatRaise+64
	ldwz %r3,%r1,68
	andi %r3,%r3,-2
	bwnei %r3,2,T_PlatRaise+128
;T_PlatRaise+80
	ldbzr %r3,leveltime
	andi %r3,%r3,7
	bwne %r3,%gz,T_PlatRaise+128
;T_PlatRaise+96
	lddz %r3,%r1,24
	addi %r10,%r3,48
	ldi %r11,22
;T_PlatRaise+112
	callr %r9,S_StartSound
	nop 0
	nop 0
;T_PlatRaise+128
	bweqi %r6,2,T_PlatRaise+336
	bwnei %r6,1,T_PlatRaise+160
	ldwz %r3,%r1,60
;T_PlatRaise+144
	bweq %r3,%gz,T_PlatRaise+560
	nop 0
	nop 0
;T_PlatRaise+160
	retf 0
	nop 0
	nop 0
;T_PlatRaise+176
	lddz %r6,%r1,24
	ldwz %r7,%r1,32
	ldwz %r8,%r1,36
;T_PlatRaise+192
	ldi %r11,-1
	mov2 %r9,%r10,%gz,%gz
	callr %r5,T_MovePlane
;T_PlatRaise+208
	bwnei %r6,2,T_PlatRaise+160
	ldwz %r2,%r1,44
	stw %r2,%r1,48
;T_PlatRaise+224
	ldi %r2,2
	stw %r2,%r1,52
	lddz %r1,%r1,24
;T_PlatRaise+240
	addi %r10,%r1,48
	ldi %r11,19
	callr %r9,S_StartSound
;T_PlatRaise+256
	retf 0
	nop 0
	nop 0
;T_PlatRaise+272
	ldwz %r2,%r1,48
	addiws %r2,%r2,-1
	stw %r2,%r1,48
;T_PlatRaise+288
	bwne %r2,%gz,T_PlatRaise+160
	lddz %r2,%r1,24
	ldwz %r3,%r2,0
;T_PlatRaise+304
	ldwz %r4,%r1,36
	cmpwne %r3,%r3,%r4
	stw %r3,%r1,52
;T_PlatRaise+320
	addi %r10,%r2,48
	jmp T_PlatRaise+592
	nop 0
;T_PlatRaise+336
	ldwz %r2,%r1,44
	stw %r2,%r1,48
	ldi %r2,2
;T_PlatRaise+352
	stw %r2,%r1,52
	lddz %r2,%r1,24
	addi %r10,%r2,48
;T_PlatRaise+368
	ldi %r11,19
	callr %r9,S_StartSound
	ldwz %r2,%r1,68
;T_PlatRaise+384
	addiws %r3,%r2,-2
	bwltui %r3,2,T_PlatRaise+464
	bweqi %r2,1,T_PlatRaise+416
;T_PlatRaise+400
	bwnei %r2,4,T_PlatRaise+160
	nop 0
	nop 0
;T_PlatRaise+416
	mov %r2,%gz
	ldafr %r3,activeplats
	nop 0
;T_PlatRaise+432
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r1,%r4,T_PlatRaise+528
	addi %r2,%r2,8
;T_PlatRaise+448
	bdnei %r2,240,T_PlatRaise+432
	jmp T_PlatRaise+512
	nop 0
;T_PlatRaise+464
	mov %r2,%gz
	ldafr %r3,activeplats
	nop 0
;T_PlatRaise+480
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r1,%r4,T_PlatRaise+528
	addi %r2,%r2,8
;T_PlatRaise+496
	bdnei %r2,240,T_PlatRaise+480
	nop 0
	nop 0
;T_PlatRaise+512
	ldafr %r11,.rodata+12585
	callr %r10,I_Error
	retf 0
;T_PlatRaise+528
	lddz %r1,%r4,24
	std %gz,%r1,104
	lddzx.xd %r11,%r2,%r3,0,0
;T_PlatRaise+544
	callr %r10,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;T_PlatRaise+560
	ldwz %r3,%r1,44
	stw %r3,%r1,48
	stw %r2,%r1,52
;T_PlatRaise+576
	lddz %r1,%r1,24
	addi %r10,%r1,48
	nop 0
;T_PlatRaise+592
	ldi %r11,18
	callr %r9,S_StartSound
	retf 0
;P_RemoveActivePlat
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeplats
;P_RemoveActivePlat+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r1,%r4,P_RemoveActivePlat+64
	addi %r2,%r2,8
;P_RemoveActivePlat+32
	bdnei %r2,240,P_RemoveActivePlat+16
	ldafr %r6,.rodata+12585
	callr %r5,I_Error
;P_RemoveActivePlat+48
	retf 0
	nop 0
	nop 0
;P_RemoveActivePlat+64
	lddz %r1,%r4,24
	std %gz,%r1,104
	lddzx.xd %r6,%r2,%r3,0,0
;P_RemoveActivePlat+80
	callr %r5,P_RemoveThinker
	stdx.xd %gz,%r2,%r3,0,0
	retf 0
;EV_DoPlat
	alloc 28
	mov %r9,%r1
	ldafr %r10,activeplats
;EV_DoPlat+16
	ldar %r11,T_PlatRaise
	bweq %r2,%gz,EV_DoPlat+736
	nop 0
;EV_DoPlat+32
	mov %r1,%gz
	slliw %r12,%r3,16
	ldi %r6,-1
;EV_DoPlat+48
	ldi %r3,72
	ldi %r4,6
	srliw %r13,%r2,0
;EV_DoPlat+64
	ldi %r14,1
	ldafr %r5,.rodata+14494
	ldafr %r15,.rodata+36156
;EV_DoPlat+80
	ldi %r16,65536
	ldi %r17,105
	ldi %r18,18
;EV_DoPlat+96
	ldi %r19,262144
	ldi %r20,32768
	ldi %r21,22
;EV_DoPlat+112
	ldi %r22,524288
	nop 0
	nop 0
;EV_DoPlat+128
	mov2 %r26,%r27,%r9,%r6
	callr %r25,P_FindSectorFromLineTag
	bwlt %r26,%gz,EV_DoPlat+720
;EV_DoPlat+144
	mov %r6,%r26
	lddzr %r7,sectors
	ldax.xuw %r8,%r7,%r26,7,0
;EV_DoPlat+160
	lddzx.xuw %r7,%r7,%r26,7,104
	bdne %r7,%gz,EV_DoPlat+128
	mov2 %r25,%r26,%r3,%r4
;EV_DoPlat+176
	mov %r27,%gz
	callr %r24,Z_Malloc
	mov2 %r7,%r27,%r25,%r25
;EV_DoPlat+192
	callr %r26,P_AddThinker
	stw %r2,%r25,68
	std %r8,%r25,24
;EV_DoPlat+208
	std %r25,%r8,104
	std %r11,%r25,16
	stw %gz,%r25,60
;EV_DoPlat+224
	ldhs %r1,%r9,28
	stw %r1,%r25,64
	bwgeui %r2,5,EV_DoPlat+640
;EV_DoPlat+240
	jmpt %r15,%r13
	nop 0
	nop 0
;EV_DoPlat+256
	stw %r16,%r7,32
	mov %r27,%r8
	callr %r26,P_FindLowestFloorSurrounding
;EV_DoPlat+272
	ldwz %r1,%r8,0
	minsw %r1,%r27,%r1
	stw %r1,%r7,36
;EV_DoPlat+288
	mov %r27,%r8
	callr %r26,P_FindHighestFloorSurrounding
	ldwz %r1,%r8,0
;EV_DoPlat+304
	maxsw %r1,%r27,%r1
	stw %r1,%r7,40
	stw %r17,%r7,44
;EV_DoPlat+320
	callr %r26,P_Random
	andi %r1,%r27,1
	stw %r1,%r7,52
;EV_DoPlat+336
	jmp EV_DoPlat+608
	nop 0
	nop 0
;EV_DoPlat+352
	stw %r22,%r7,32
	jmp EV_DoPlat+560
	nop 0
;EV_DoPlat+368
	stw %r20,%r7,32
	ldhs %r1,%r9,30
	lddzr %r23,sides
;EV_DoPlat+384
	muli %r1,%r1,24
	lddzx.xd %r1,%r23,%r1,0,16
	ldhz %r1,%r1,8
;EV_DoPlat+400
	sth %r1,%r8,8
	ldwz %r1,%r8,0
	addws %r1,%r1,%r12
;EV_DoPlat+416
	stw %r1,%r7,40
	stw %gz,%r7,44
	stw %gz,%r7,52
;EV_DoPlat+432
	mov %r27,%r21
	jmp EV_DoPlat+624
	nop 0
;EV_DoPlat+448
	stw %r20,%r7,32
	ldhs %r1,%r9,30
	lddzr %r23,sides
;EV_DoPlat+464
	muli %r1,%r1,24
	lddzx.xd %r1,%r23,%r1,0,16
	ldhz %r1,%r1,8
;EV_DoPlat+480
	sth %r1,%r8,8
	ldwz %r27,%r8,0
	mov %r26,%r8
;EV_DoPlat+496
	callr %r25,P_FindNextHighestFloor
	stw %r26,%r7,40
	stw %gz,%r7,44
;EV_DoPlat+512
	stw %gz,%r7,52
	sth %gz,%r8,14
	mov %r27,%r21
;EV_DoPlat+528
	jmp EV_DoPlat+624
	nop 0
	nop 0
;EV_DoPlat+544
	stw %r19,%r7,32
	nop 0
	nop 0
;EV_DoPlat+560
	mov %r27,%r8
	callr %r26,P_FindLowestFloorSurrounding
	ldwz %r1,%r8,0
;EV_DoPlat+576
	minsw %r1,%r27,%r1
	stw %r1,%r7,36
	ldwz %r1,%r8,0
;EV_DoPlat+592
	stw %r1,%r7,40
	stw %r17,%r7,44
	stw %r14,%r7,52
;EV_DoPlat+608
	mov %r27,%r18
	nop 0
	nop 0
;EV_DoPlat+624
	addi %r26,%r8,48
	callr %r25,S_StartSound
	nop 0
;EV_DoPlat+640
	mov %r1,%gz
	nop 0
	nop 0
;EV_DoPlat+656
	lddzx.xd %r8,%r1,%r10,0,0
	bdeq %r8,%gz,EV_DoPlat+704
	addi %r1,%r1,8
;EV_DoPlat+672
	bdnei %r1,240,EV_DoPlat+656
	mov %r27,%r5
	callr %r26,I_Error
;EV_DoPlat+688
	mov %r1,%r14
	jmp EV_DoPlat+128
	nop 0
;EV_DoPlat+704
	stdx.xd %r7,%r1,%r10,0,0
	mov %r1,%r14
	jmp EV_DoPlat+128
;EV_DoPlat+720
	retf 0
	nop 0
	nop 0
;EV_DoPlat+736
	mov %r1,%gz
	ldhs %r4,%r9,28
	jmp EV_DoPlat+768
;EV_DoPlat+752
	addi %r1,%r1,8
	bdeqi %r1,240,EV_DoPlat+32
	nop 0
;EV_DoPlat+768
	lddzx.xd %r5,%r1,%r10,0,0
	bdeq %r5,%gz,EV_DoPlat+752
	ldwz %r6,%r5,64
;EV_DoPlat+784
	bwne %r6,%r4,EV_DoPlat+752
	ldwz %r6,%r5,52
	bwnei %r6,3,EV_DoPlat+752
;EV_DoPlat+800
	ldwz %r6,%r5,56
	stw %r6,%r5,52
	std %r11,%r5,16
;EV_DoPlat+816
	jmp EV_DoPlat+752
	nop 0
	nop 0
;P_ActivateInStasis
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeplats
;P_ActivateInStasis+16
	ldar %r4,T_PlatRaise
	jmp P_ActivateInStasis+48
	nop 0
;P_ActivateInStasis+32
	addi %r2,%r2,8
	bdeqi %r2,240,P_ActivateInStasis+112
	nop 0
;P_ActivateInStasis+48
	lddzx.xd %r5,%r2,%r3,0,0
	bdeq %r5,%gz,P_ActivateInStasis+32
	ldwz %r6,%r5,64
;P_ActivateInStasis+64
	bwne %r6,%r1,P_ActivateInStasis+32
	ldwz %r6,%r5,52
	bwnei %r6,3,P_ActivateInStasis+32
;P_ActivateInStasis+80
	ldwz %r6,%r5,56
	stw %r6,%r5,52
	std %r4,%r5,16
;P_ActivateInStasis+96
	jmp P_ActivateInStasis+32
	nop 0
	nop 0
;P_ActivateInStasis+112
	retf 0
	nop 0
	nop 0
;P_AddActivePlat
	alloc 7
	mov %r2,%gz
	ldafr %r3,activeplats
;P_AddActivePlat+16
	lddzx.xd %r4,%r2,%r3,0,0
	bdeq %r4,%gz,P_AddActivePlat+64
	addi %r2,%r2,8
;P_AddActivePlat+32
	bdnei %r2,240,P_AddActivePlat+16
	ldafr %r6,.rodata+14494
	callr %r5,I_Error
;P_AddActivePlat+48
	retf 0
	nop 0
	nop 0
;P_AddActivePlat+64
	stdx.xd %r1,%r2,%r3,0,0
	retf 0
	nop 0
;EV_StopPlat
	alloc 9
	mov %r2,%gz
	ldafr %r3,activeplats
;EV_StopPlat+16
	ldi %r4,3
	jmp EV_StopPlat+48
	nop 0
;EV_StopPlat+32
	addi %r2,%r2,8
	bdeqi %r2,240,EV_StopPlat+112
	nop 0
;EV_StopPlat+48
	lddzx.xd %r5,%r2,%r3,0,0
	bdeq %r5,%gz,EV_StopPlat+32
	ldwz %r6,%r5,52
;EV_StopPlat+64
	bweqi %r6,3,EV_StopPlat+32
	ldwz %r7,%r5,64
	ldhs %r8,%r1,28
;EV_StopPlat+80
	bwne %r7,%r8,EV_StopPlat+32
	stw %r6,%r5,56
	stw %r4,%r5,52
;EV_StopPlat+96
	std %gz,%r5,16
	jmp EV_StopPlat+32
	nop 0
;EV_StopPlat+112
	retf 0
	nop 0
	nop 0
;P_SetPsprite
	alloc 13
	sraiw %r2,%r2,0
	muli %r2,%r2,24
;P_SetPsprite+16
	ldax.xd.l %r2,%r1,%r2,0,272
	ldafr %r4,states
;P_SetPsprite+32
	ldi %r5,40
	ldafr %r6,states+8
	ldafr %r7,states+28
;P_SetPsprite+48
	jmp P_SetPsprite+80
	nop 0
	nop 0
;P_SetPsprite+64
	ldwz %r3,%r3,24
	bwne %r8,%gz,P_SetPsprite+208
	nop 0
;P_SetPsprite+80
	bweq %r3,%gz,P_SetPsprite+224
	srliw %r8,%r3,0
	muladd %r3,%r8,%r5,%r4
;P_SetPsprite+96
	muli %r9,%r8,40
	std %r3,%r2,0
	ldwzx.xd %r8,%r9,%r6,0,0
;P_SetPsprite+112
	stw %r8,%r2,8
	ldwzx.xd %r9,%r9,%r7,0,0
	bweq %r9,%gz,P_SetPsprite+160
;P_SetPsprite+128
	slliw %r9,%r9,16
	stw %r9,%r2,12
	ldwz %r9,%r3,32
;P_SetPsprite+144
	slliw %r9,%r9,16
	stw %r9,%r2,16
	nop 0
;P_SetPsprite+160
	lddz %r9,%r3,16
	bdeq %r9,%gz,P_SetPsprite+64
	mov2 %r11,%r12,%r1,%r2
;P_SetPsprite+176
	callri %r10,%r9,%gz
	lddz %r3,%r2,0
	bdeq %r3,%gz,P_SetPsprite+208
;P_SetPsprite+192
	ldwz %r8,%r2,8
	jmp P_SetPsprite+64
	nop 0
;P_SetPsprite+208
	retf 0
	nop 0
	nop 0
;P_SetPsprite+224
	std %gz,%r2,0
	retf 0
	nop 0
;P_CalcSwing
	alloc 5
	ldwzr %r2,leveltime
	ldws %r1,%r1,40
;P_CalcSwing+16
	mulwsi %r2,%r2,117
	andi %r2,%r2,8191
	ldafr %r3,finesine
;P_CalcSwing+32
	ldwsx.xuw %r4,%r3,%r2,2,0
	mul %r1,%r4,%r1
	xori %r2,%r2,4096
;P_CalcSwing+48
	ldwsx.xuw %r2,%r3,%r2,2,0
	srli %r1,%r1,16
	stwr %r1,swingx
;P_CalcSwing+64
	sraiw %r1,%r1,0
	mul %r1,%r1,%r2
	srli %r1,%r1,16
;P_CalcSwing+80
	subfiws %r1,%r1,0
	stwr %r1,swingy
	retf 0
;P_BringUpWeapon
	alloc 8
	ldwz %r2,%r1,128
	bwnei %r2,10,P_BringUpWeapon+32
;P_BringUpWeapon+16
	ldwz %r2,%r1,124
	stw %r2,%r1,128
	nop 0
;P_BringUpWeapon+32
	bwnei %r2,7,P_BringUpWeapon+64
	lddz %r6,%r1,0
	ldi %r7,10
;P_BringUpWeapon+48
	callr %r5,S_StartSound
	ldwz %r2,%r1,128
	nop 0
;P_BringUpWeapon+64
	srliw %r2,%r2,0
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+4
;P_BringUpWeapon+80
	ldwzx.xd %r7,%r2,%r3,0,0
	ldi %r2,10
	stw %r2,%r1,128
;P_BringUpWeapon+96
	ldi %r2,8388608
	stw %r2,%r1,288
	mov2 %r5,%r6,%r1,%gz
;P_BringUpWeapon+112
	callr %r4,P_SetPsprite
	retf 0
	nop 0
;P_CheckAmmo
	alloc 13
	ldwz %r5,%r1,124
	srliw %r2,%r5,0
;P_CheckAmmo+16
	muli %r3,%r2,24
	ldafr %r2,weaponinfo
	ldwzx.xd %r2,%r3,%r2,0,0
;P_CheckAmmo+32
	bwnei %r2,5,P_CheckAmmo+48
	ldi %r1,1
	retf 0
;P_CheckAmmo+48
	ldwzx.xuw %r6,%r1,%r2,2,168
	cmpweqi %r7,%r5,8
	ldi %r2,1
;P_CheckAmmo+64
	ldi %r4,2
	cmpweqi %r5,%r5,6
	cmovlsb %r7,%r7,%r4,%r2
;P_CheckAmmo+80
	ldi %r8,40
	cmovlsb %r5,%r5,%r8,%r7
	bwle %r5,%r6,P_CheckAmmo+464
;P_CheckAmmo+96
	ldwz %r5,%r1,152
	ldwzr %r2,gamemode
	bweq %r5,%gz,P_CheckAmmo+144
;P_CheckAmmo+112
	ldwz %r5,%r1,176
	bweq %r5,%gz,P_CheckAmmo+144
	bweq %r2,%gz,P_CheckAmmo+144
;P_CheckAmmo+128
	ldi %r4,5
	jmp P_CheckAmmo+432
	nop 0
;P_CheckAmmo+144
	ldwz %r5,%r1,164
	bweq %r5,%gz,P_CheckAmmo+192
	ldwz %r5,%r1,172
;P_CheckAmmo+160
	bwlti %r5,3,P_CheckAmmo+192
	bwnei %r2,2,P_CheckAmmo+192
	ldi %r4,8
;P_CheckAmmo+176
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+192
	ldwz %r6,%r1,144
	addi %r5,%r1,168
	bweq %r6,%gz,P_CheckAmmo+240
;P_CheckAmmo+208
	ldwz %r6,%r5,0
	bweq %r6,%gz,P_CheckAmmo+240
	ldi %r4,3
;P_CheckAmmo+224
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+240
	ldwz %r6,%r1,140
	bweq %r6,%gz,P_CheckAmmo+272
	ldwz %r6,%r1,172
;P_CheckAmmo+256
	bwne %r6,%gz,P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+272
	ldwz %r4,%r5,0
	bweq %r4,%gz,P_CheckAmmo+304
	ldi %r4,1
;P_CheckAmmo+288
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+304
	ldwz %r4,%r1,160
	bweq %r4,%gz,P_CheckAmmo+336
	ldi %r4,7
;P_CheckAmmo+320
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+336
	ldwz %r4,%r1,148
	bweq %r4,%gz,P_CheckAmmo+368
	ldwz %r4,%r1,180
;P_CheckAmmo+352
	bweq %r4,%gz,P_CheckAmmo+368
	ldi %r4,4
	jmp P_CheckAmmo+432
;P_CheckAmmo+368
	ldwz %r4,%r1,156
	bweq %r4,%gz,P_CheckAmmo+416
	ldwz %r4,%r1,176
;P_CheckAmmo+384
	bwlti %r4,41,P_CheckAmmo+416
	bweq %r2,%gz,P_CheckAmmo+416
	ldi %r4,6
;P_CheckAmmo+400
	jmp P_CheckAmmo+432
	nop 0
	nop 0
;P_CheckAmmo+416
	mov %r4,%gz
	nop 0
	nop 0
;P_CheckAmmo+432
	stw %r4,%r1,128
	ldafr %r2,weaponinfo+8
	ldwzx.xd %r12,%r3,%r2,0,0
;P_CheckAmmo+448
	mov2 %r10,%r11,%r1,%gz
	callr %r9,P_SetPsprite
	mov %r2,%gz
;P_CheckAmmo+464
	mov %r1,%r2
	retf 0
	nop 0
;P_FireWeapon
	alloc 8
	mov %r7,%r1
	callr %r6,P_CheckAmmo
;P_FireWeapon+16
	bweq %r7,%gz,P_FireWeapon+96
	lddz %r6,%r1,0
	ldi %r7,154
;P_FireWeapon+32
	callr %r5,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;P_FireWeapon+48
	ldafr %r3,weaponinfo+16
	ldwzx.xd %r7,%r2,%r3,0,0
	mov2 %r5,%r6,%r1,%gz
;P_FireWeapon+64
	callr %r4,P_SetPsprite
	lddz %r6,%r1,0
	mov %r7,%r6
;P_FireWeapon+80
	callr %r5,P_NoiseAlert
	nop 0
	nop 0
;P_FireWeapon+96
	retf 0
	nop 0
	nop 0
;P_DropWeapon
	alloc 8
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;P_DropWeapon+16
	ldafr %r3,weaponinfo+8
	ldwzx.xd %r7,%r2,%r3,0,0
	mov2 %r5,%r6,%r1,%gz
;P_DropWeapon+32
	callr %r4,P_SetPsprite
	retf 0
	nop 0
;A_WeaponReady
	alloc 10
	lddz %r8,%r1,0
	lddz %r3,%r8,152
;A_WeaponReady+16
	ldafr %r4,states+6160
	bdeq %r3,%r4,A_WeaponReady+48
	ldafr %r4,states+6200
;A_WeaponReady+32
	bdne %r3,%r4,A_WeaponReady+64
	nop 0
	nop 0
;A_WeaponReady+48
	ldi %r9,149
	callr %r7,P_SetMobjState
	nop 0
;A_WeaponReady+64
	ldwz %r3,%r1,124
	bwnei %r3,7,A_WeaponReady+96
	lddz %r3,%r2,0
;A_WeaponReady+80
	ldafr %r4,states+2680
	bdeq %r3,%r4,A_WeaponReady+144
	nop 0
;A_WeaponReady+96
	ldwz %r3,%r1,128
	bwnei %r3,10,A_WeaponReady+176
	nop 0
;A_WeaponReady+112
	ldwz %r3,%r1,44
	bweq %r3,%gz,A_WeaponReady+176
	ldbz %r3,%r1,17
;A_WeaponReady+128
	bbsi %r3,0,A_WeaponReady+224
	stw %gz,%r1,200
	jmp A_WeaponReady+256
;A_WeaponReady+144
	lddz %r8,%r1,0
	ldi %r9,11
	callr %r7,S_StartSound
;A_WeaponReady+160
	ldwz %r3,%r1,128
	bweqi %r3,10,A_WeaponReady+112
	nop 0
;A_WeaponReady+176
	ldwz %r2,%r1,124
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+8
;A_WeaponReady+192
	ldwzx.xd %r9,%r2,%r3,0,0
	mov2 %r7,%r8,%r1,%gz
	callr %r6,P_SetPsprite
;A_WeaponReady+208
	retf 0
	nop 0
	nop 0
;A_WeaponReady+224
	ldwz %r3,%r1,200
	bweq %r3,%gz,A_WeaponReady+368
	ldwz %r3,%r1,124
;A_WeaponReady+240
	ori %r3,%r3,2
	bwnei %r3,6,A_WeaponReady+368
	nop 0
;A_WeaponReady+256
	ldwzr %r3,leveltime
	lddzr %r4,finecosine
	slliw %r3,%r3,7
;A_WeaponReady+272
	andi %r5,%r3,8064
	ldws %r1,%r1,40
	ldwsx.xuw %r4,%r4,%r5,2,0
;A_WeaponReady+288
	mul %r4,%r4,%r1
	srli %r4,%r4,16
	addiws %r4,%r4,65536
;A_WeaponReady+304
	stw %r4,%r2,12
	andi %r3,%r3,3968
	ldafr %r4,finesine
;A_WeaponReady+320
	ldwsx.xuw %r3,%r4,%r3,2,0
	mul %r1,%r3,%r1
	srli %r1,%r1,16
;A_WeaponReady+336
	addiws.l %r1,%r1,2097152
	stw %r1,%r2,16
;A_WeaponReady+352
	retf 0
	nop 0
	nop 0
;A_WeaponReady+368
	ldi %r2,1
	stw %r2,%r1,200
	mov %r9,%r1
;A_WeaponReady+384
	callr %r8,P_FireWeapon
	retf 0
	nop 0
;A_ReFire
	alloc 5
	ldbz %r2,%r1,17
	bbci %r2,0,A_ReFire+80
;A_ReFire+16
	ldwz %r2,%r1,128
	bwnei %r2,10,A_ReFire+80
	ldwz %r2,%r1,44
;A_ReFire+32
	bweq %r2,%gz,A_ReFire+80
	ldwz %r2,%r1,212
	addiws %r2,%r2,1
;A_ReFire+48
	stw %r2,%r1,212
	mov %r4,%r1
	callr %r3,P_FireWeapon
;A_ReFire+64
	retf 0
	nop 0
	nop 0
;A_ReFire+80
	stw %gz,%r1,212
	mov %r4,%r1
	callr %r3,P_CheckAmmo
;A_ReFire+96
	retf 0
	nop 0
	nop 0
;A_CheckReload
	alloc 4
	mov %r3,%r1
	callr %r2,P_CheckAmmo
;A_CheckReload+16
	retf 0
	nop 0
	nop 0
;A_Lower
	alloc 9
	ldwz %r3,%r2,16
	addiws %r4,%r3,393216
;A_Lower+16
	stw %r4,%r2,16
	bwlti.l %r3,7995392,A_Lower+96
;A_Lower+32
	ldwz %r3,%r1,8
	bwnei %r3,1,A_Lower+64
	ldi %r1,8388608
;A_Lower+48
	stw %r1,%r2,16
	retf 0
	nop 0
;A_Lower+64
	ldwz %r2,%r1,44
	bweq %r2,%gz,A_Lower+112
	ldwz %r2,%r1,128
;A_Lower+80
	stw %r2,%r1,124
	mov %r8,%r1
	callr %r7,P_BringUpWeapon
;A_Lower+96
	retf 0
	nop 0
	nop 0
;A_Lower+112
	mov2 %r6,%r7,%r1,%gz
	mov %r8,%gz
	callr %r5,P_SetPsprite
;A_Lower+128
	retf 0
	nop 0
	nop 0
;A_Raise
	alloc 9
	ldwz %r3,%r2,16
	addiws %r4,%r3,-393216
;A_Raise+16
	stw %r4,%r2,16
	bwgei.l %r3,2490369,A_Raise+80
;A_Raise+32
	ldi %r3,2097152
	stw %r3,%r2,16
	ldwz %r2,%r1,124
;A_Raise+48
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+12
	ldwzx.xd %r8,%r2,%r3,0,0
;A_Raise+64
	mov2 %r6,%r7,%r1,%gz
	callr %r5,P_SetPsprite
	nop 0
;A_Raise+80
	retf 0
	nop 0
	nop 0
;A_GunFlash
	alloc 8
	lddz %r6,%r1,0
	ldi %r7,155
;A_GunFlash+16
	callr %r5,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;A_GunFlash+32
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r7,%r2,%r3,0,0
	ldi %r6,1
;A_GunFlash+48
	mov %r5,%r1
	callr %r4,P_SetPsprite
	retf 0
;A_Punch
	alloc 12
	callr %r10,P_Random
	sraiw %r2,%r11,0
;A_Punch+16
	muli.l %r2,%r2,1717986919
	srli %r3,%r2,63
;A_Punch+32
	srai %r2,%r2,34
	addws %r2,%r2,%r3
	mulwsi %r2,%r2,10
;A_Punch+48
	subws %r2,%r11,%r2
	ldi %r3,2
	ldwz %r4,%r1,60
;A_Punch+64
	lddz %r5,%r1,0
	sladdws %r2,%r3,%r2,1
	mulwsi %r3,%r2,10
;A_Punch+80
	cmovweq %r2,%r4,%r2,%r3
	ldwz %r5,%r5,56
	callr %r10,P_Random
;A_Punch+96
	mov %r3,%r11
	callr %r10,P_Random
	subws %r3,%r3,%r11
;A_Punch+112
	sladdws %r3,%r5,%r3,18
	lddz %r9,%r1,0
	ldi %r4,4194304
;A_Punch+128
	mov2 %r10,%r11,%r3,%r4
	callr %r8,P_AimLineAttack
	mov %r10,%r9
;A_Punch+144
	lddz %r7,%r1,0
	mov2 %r8,%r9,%r3,%r4
	mov %r11,%r2
;A_Punch+160
	callr %r6,P_LineAttack
	lddzr %r2,linetarget
	bdeq %r2,%gz,A_Punch+240
;A_Punch+176
	lddz %r10,%r1,0
	ldi %r11,83
	callr %r9,S_StartSound
;A_Punch+192
	lddz %r2,%r1,0
	lddzr %r3,linetarget
	ldwz %r8,%r2,24
;A_Punch+208
	ldwz %r9,%r2,28
	ldwz %r10,%r3,24
	ldwz %r11,%r3,28
;A_Punch+224
	callr %r7,R_PointToAngle2
	lddz %r1,%r1,0
	stw %r8,%r1,56
;A_Punch+240
	retf 0
	nop 0
	nop 0
;A_Saw
	alloc 12
	callr %r10,P_Random
	sraiw %r2,%r11,0
;A_Saw+16
	muli.l %r2,%r2,1717986919
	srli %r3,%r2,63
;A_Saw+32
	srai %r2,%r2,34
	addws %r2,%r2,%r3
	lddz %r3,%r1,0
;A_Saw+48
	mulwsi %r2,%r2,10
	subws %r2,%r11,%r2
	ldi %r4,2
;A_Saw+64
	sladdws %r2,%r4,%r2,1
	ldwz %r5,%r3,56
	callr %r10,P_Random
;A_Saw+80
	mov %r3,%r11
	callr %r10,P_Random
	subws %r3,%r3,%r11
;A_Saw+96
	sladdws %r3,%r5,%r3,18
	lddz %r9,%r1,0
	ldi %r4,4194305
;A_Saw+112
	mov2 %r10,%r11,%r3,%r4
	callr %r8,P_AimLineAttack
	mov %r10,%r9
;A_Saw+128
	lddz %r7,%r1,0
	mov2 %r8,%r9,%r3,%r4
	mov %r11,%r2
;A_Saw+144
	callr %r6,P_LineAttack
	lddzr %r2,linetarget
	lddz %r10,%r1,0
;A_Saw+160
	bdeq %r2,%gz,A_Saw+272
	ldi %r11,13
	callr %r9,S_StartSound
;A_Saw+176
	lddz %r2,%r1,0
	lddzr %r3,linetarget
	ldwz %r8,%r2,24
;A_Saw+192
	ldwz %r9,%r2,28
	ldwz %r10,%r3,24
	ldwz %r11,%r3,28
;A_Saw+208
	callr %r7,R_PointToAngle2
	lddz %r1,%r1,0
	ldwz %r2,%r1,56
;A_Saw+224
	subws %r3,%r8,%r2
	bwltui.l %r3,2147483649,A_Saw+288
;A_Saw+240
	bwgeui.l %r3,1099457940685,A_Saw+320
	nop 2
;A_Saw+256
	addiws.l %r2,%r8,51130563
	jmp A_Saw+352
;A_Saw+272
	ldi %r11,12
	callr %r9,S_StartSound
	retf 0
;A_Saw+288
	bwltui.l %r3,53687092,A_Saw+336
	nop 2
;A_Saw+304
	addiws.l %r2,%r8,-51130563
	jmp A_Saw+352
;A_Saw+320
	addiws.l %r2,%r2,-53687091
	jmp A_Saw+352
;A_Saw+336
	addiws.l %r2,%r2,53687091
	nop 0
;A_Saw+352
	stw %r2,%r1,56
	ldwz %r2,%r1,160
	ori %r2,%r2,128
;A_Saw+368
	stw %r2,%r1,160
	retf 0
	nop 0
;A_FireMissile
	alloc 7
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;A_FireMissile+16
	ldafr %r3,weaponinfo
	ldwzx.xd %r2,%r2,%r3,0,0
	bwgei %r2,4,A_FireMissile+64
;A_FireMissile+32
	ldwzx.xw %r3,%r1,%r2,2,168
	addiws %r3,%r3,-1
	stwx.xw %r3,%r1,%r2,2,168
;A_FireMissile+48
	jmp A_FireMissile+96
	nop 0
	nop 0
;A_FireMissile+64
	addiws %r2,%r2,-4
	ldwzx.xuw %r3,%r1,%r2,2,184
	addiws %r3,%r3,-1
;A_FireMissile+80
	stwx.xuw %r3,%r1,%r2,2,184
	nop 0
	nop 0
;A_FireMissile+96
	lddz %r5,%r1,0
	ldi %r6,33
	callr %r4,P_SpawnPlayerMissile
;A_FireMissile+112
	retf 0
	nop 0
	nop 0
;A_FireBFG
	alloc 7
	ldwz %r2,%r1,124
	muli %r2,%r2,24
;A_FireBFG+16
	ldafr %r3,weaponinfo
	ldwzx.xd %r2,%r2,%r3,0,0
	bwgei %r2,4,A_FireBFG+64
;A_FireBFG+32
	ldwzx.xw %r3,%r1,%r2,2,168
	addiws %r3,%r3,-40
	stwx.xw %r3,%r1,%r2,2,168
;A_FireBFG+48
	jmp A_FireBFG+96
	nop 0
	nop 0
;A_FireBFG+64
	addiws %r2,%r2,-4
	ldwzx.xuw %r3,%r1,%r2,2,184
	addiws %r3,%r3,-40
;A_FireBFG+80
	stwx.xuw %r3,%r1,%r2,2,184
	nop 0
	nop 0
;A_FireBFG+96
	lddz %r5,%r1,0
	ldi %r6,35
	callr %r4,P_SpawnPlayerMissile
;A_FireBFG+112
	retf 0
	nop 0
	nop 0
;A_FirePlasma
	alloc 9
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FirePlasma+16
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FirePlasma+64
;A_FirePlasma+32
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-1
	stwx.xw %r2,%r1,%r3,2,168
;A_FirePlasma+48
	ldwz %r2,%r1,124
	jmp A_FirePlasma+96
	nop 0
;A_FirePlasma+64
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-1
;A_FirePlasma+80
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FirePlasma+96
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r3,%r2,%r3,0,0
;A_FirePlasma+112
	callr %r7,P_Random
	andi %r2,%r8,1
	addws %r8,%r2,%r3
;A_FirePlasma+128
	ldi %r7,1
	mov %r6,%r1
	callr %r5,P_SetPsprite
;A_FirePlasma+144
	lddz %r7,%r1,0
	ldi %r8,34
	callr %r6,P_SpawnPlayerMissile
;A_FirePlasma+160
	retf 0
	nop 0
	nop 0
;P_BulletSlope
	alloc 8
	ldwz %r2,%r1,56
	ldi %r7,67108864
;P_BulletSlope+16
	mov2 %r5,%r6,%r1,%r2
	callr %r4,P_AimLineAttack
	lddzr %r3,linetarget
;P_BulletSlope+32
	stwr %r5,bulletslope
	bdeq %r3,%gz,P_BulletSlope+64
	nop 0
;P_BulletSlope+48
	retf 0
	nop 0
	nop 0
;P_BulletSlope+64
	addiws.l %r6,%r2,67108864
	ldi %r7,67108864
;P_BulletSlope+80
	mov %r5,%r1
	callr %r4,P_AimLineAttack
	lddzr %r3,linetarget
;P_BulletSlope+96
	stwr %r5,bulletslope
	bdne %r3,%gz,P_BulletSlope+48
	nop 2
;P_BulletSlope+112
	addiws.l %r6,%r2,-67108864
	ldi %r7,67108864
;P_BulletSlope+128
	mov %r5,%r1
	callr %r4,P_AimLineAttack
	stwr %r5,bulletslope
;P_BulletSlope+144
	retf 0
	nop 0
	nop 0
;P_GunShot
	alloc 11
	callr %r9,P_Random
	mov %r3,%r10
;P_GunShot+16
	ldwz %r7,%r1,56
	bwne %r2,%gz,P_GunShot+64
	callr %r9,P_Random
;P_GunShot+32
	mov %r2,%r10
	callr %r9,P_Random
	subws %r2,%r2,%r10
;P_GunShot+48
	sladdws %r7,%r7,%r2,18
	nop 0
	nop 0
;P_GunShot+64
	sraiw %r2,%r3,0
	muli.l %r2,%r2,1431655766
;P_GunShot+80
	srli %r4,%r2,63
	srli %r2,%r2,32
	addws %r2,%r2,%r4
;P_GunShot+96
	mulwsi %r2,%r2,3
	subws %r2,%r3,%r2
	mulwsi %r2,%r2,5
;P_GunShot+112
	addiws %r10,%r2,5
	ldwzr %r9,bulletslope
	nop 2
;P_GunShot+128
	ldi.l %r8,134217728
	mov %r6,%r1
;P_GunShot+144
	callr %r5,P_LineAttack
	retf 0
	nop 0
;A_FirePistol
	alloc 9
	lddz %r7,%r1,0
	ldi %r8,1
;A_FirePistol+16
	callr %r6,S_StartSound
	lddz %r7,%r1,0
	ldi %r8,155
;A_FirePistol+32
	callr %r6,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FirePistol+48
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FirePistol+96
;A_FirePistol+64
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-1
	stwx.xw %r2,%r1,%r3,2,168
;A_FirePistol+80
	ldwz %r2,%r1,124
	jmp A_FirePistol+128
	nop 0
;A_FirePistol+96
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-1
;A_FirePistol+112
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FirePistol+128
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r8,%r2,%r3,0,0
;A_FirePistol+144
	ldi %r7,1
	mov %r6,%r1
	callr %r5,P_SetPsprite
;A_FirePistol+160
	lddz %r8,%r1,0
	callr %r7,P_BulletSlope
	ldwz %r2,%r1,212
;A_FirePistol+176
	lddz %r7,%r1,0
	cmpweqi %r8,%r2,0
	callr %r6,P_GunShot
;A_FirePistol+192
	retf 0
	nop 0
	nop 0
;A_FireShotgun
	alloc 14
	lddz %r12,%r1,0
	ldi %r13,2
;A_FireShotgun+16
	callr %r11,S_StartSound
	lddz %r12,%r1,0
	ldi %r13,155
;A_FireShotgun+32
	callr %r11,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FireShotgun+48
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FireShotgun+96
;A_FireShotgun+64
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-1
	stwx.xw %r2,%r1,%r3,2,168
;A_FireShotgun+80
	ldwz %r2,%r1,124
	jmp A_FireShotgun+128
	nop 0
;A_FireShotgun+96
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-1
;A_FireShotgun+112
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FireShotgun+128
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r13,%r2,%r3,0,0
;A_FireShotgun+144
	ldi %r12,1
	mov %r11,%r1
	callr %r10,P_SetPsprite
;A_FireShotgun+160
	lddz %r13,%r1,0
	callr %r12,P_BulletSlope
	mov %r3,%gz
;A_FireShotgun+176
	ldi.l %r2,134217728
	nop 0
;A_FireShotgun+192
	mov %r6,%r3
	lddz %r9,%r1,0
	callr %r12,P_Random
;A_FireShotgun+208
	mov %r3,%r13
	ldwz %r7,%r9,56
	callr %r12,P_Random
;A_FireShotgun+224
	mov %r4,%r13
	callr %r12,P_Random
	subws %r4,%r4,%r13
;A_FireShotgun+240
	sladdws %r10,%r7,%r4,18
	sraiw %r4,%r3,0
	nop 2
;A_FireShotgun+256
	muli.l %r4,%r4,1431655766
	srli %r5,%r4,63
;A_FireShotgun+272
	srli %r4,%r4,32
	addws %r4,%r4,%r5
	mulwsi %r4,%r4,3
;A_FireShotgun+288
	subws %r3,%r3,%r4
	mulwsi %r3,%r3,5
	addiws %r13,%r3,5
;A_FireShotgun+304
	ldwzr %r12,bulletslope
	mov %r11,%r2
	callr %r8,P_LineAttack
;A_FireShotgun+320
	addiws %r3,%r6,1
	bwltui %r6,6,A_FireShotgun+192
	retf 0
;A_FireShotgun2
	alloc 14
	lddz %r12,%r1,0
	ldi %r13,4
;A_FireShotgun2+16
	callr %r11,S_StartSound
	lddz %r12,%r1,0
	ldi %r13,155
;A_FireShotgun2+32
	callr %r11,P_SetMobjState
	ldwz %r2,%r1,124
	muli %r3,%r2,24
;A_FireShotgun2+48
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	bwgei %r3,4,A_FireShotgun2+96
;A_FireShotgun2+64
	ldwzx.xw %r2,%r1,%r3,2,168
	addiws %r2,%r2,-2
	stwx.xw %r2,%r1,%r3,2,168
;A_FireShotgun2+80
	ldwz %r2,%r1,124
	jmp A_FireShotgun2+128
	nop 0
;A_FireShotgun2+96
	addiws %r3,%r3,-4
	ldwzx.xuw %r4,%r1,%r3,2,184
	addiws %r4,%r4,-2
;A_FireShotgun2+112
	stwx.xuw %r4,%r1,%r3,2,184
	nop 0
	nop 0
;A_FireShotgun2+128
	muli %r2,%r2,24
	ldafr %r3,weaponinfo+20
	ldwzx.xd %r13,%r2,%r3,0,0
;A_FireShotgun2+144
	ldi %r12,1
	mov %r11,%r1
	callr %r10,P_SetPsprite
;A_FireShotgun2+160
	lddz %r13,%r1,0
	callr %r12,P_BulletSlope
	mov %r3,%gz
;A_FireShotgun2+176
	ldi.l %r2,134217728
	nop 0
;A_FireShotgun2+192
	mov %r6,%r3
	callr %r12,P_Random
	sraiw %r3,%r13,0
;A_FireShotgun2+208
	muli.l %r3,%r3,1431655766
	srli %r4,%r3,63
;A_FireShotgun2+224
	srli %r3,%r3,32
	addws %r3,%r3,%r4
	mulwsi %r3,%r3,3
;A_FireShotgun2+240
	lddz %r4,%r1,0
	subws %r3,%r13,%r3
	mulwsi %r3,%r3,5
;A_FireShotgun2+256
	addiws %r3,%r3,5
	ldwz %r7,%r4,56
	callr %r12,P_Random
;A_FireShotgun2+272
	mov %r4,%r13
	callr %r12,P_Random
	subws %r4,%r4,%r13
;A_FireShotgun2+288
	sladdws %r10,%r7,%r4,19
	lddz %r9,%r1,0
	ldwzr %r7,bulletslope
;A_FireShotgun2+304
	callr %r12,P_Random
	mov %r4,%r13
	callr %r12,P_Random
;A_FireShotgun2+320
	subws %r4,%r4,%r13
	sladdws %r12,%r7,%r4,5
	mov2 %r11,%r13,%r2,%r3
;A_FireShotgun2+336
	callr %r8,P_LineAttack
	addiws %r3,%r6,1
	bwltui %r6,19,A_FireShotgun2+192
;A_FireShotgun2+352
	retf 0
	nop 0
	nop 0
;A_FireCGun
	alloc 10
	lddz %r8,%r1,0
	ldi %r9,1
;A_FireCGun+16
	callr %r7,S_StartSound
	ldwz %r3,%r1,124
	muli %r3,%r3,24
;A_FireCGun+32
	ldafr %r4,weaponinfo
	ldwzx.xd %r3,%r3,%r4,0,0
	ldwzx.xd %r3,%r1,%r3,2,168
;A_FireCGun+48
	bweq %r3,%gz,A_FireCGun+272
	lddz %r8,%r1,0
	ldi %r9,155
;A_FireCGun+64
	callr %r7,P_SetMobjState
	ldwz %r3,%r1,124
	muli %r5,%r3,24
;A_FireCGun+80
	ldwzx.xd %r4,%r5,%r4,0,0
	bwgei %r4,4,A_FireCGun+128
	addi %r3,%r1,168
;A_FireCGun+96
	ldwzx.xw %r5,%r3,%r4,2,0
	addiws %r5,%r5,-1
	stwx.xw %r5,%r3,%r4,2,0
;A_FireCGun+112
	ldwz %r3,%r1,124
	jmp A_FireCGun+160
	nop 0
;A_FireCGun+128
	addiws %r4,%r4,-4
	ldwzx.xuw %r5,%r1,%r4,2,184
	addiws %r5,%r5,-1
;A_FireCGun+144
	stwx.xuw %r5,%r1,%r4,2,184
	nop 0
	nop 0
;A_FireCGun+160
	muli %r3,%r3,24
	ldafr %r4,weaponinfo+20
	ldwsx.xd %r3,%r3,%r4,0,0
;A_FireCGun+176
	lddz %r2,%r2,0
	muli %r3,%r3,40
	ldafr %r4,states+2080
;A_FireCGun+192
	addsub %r2,%r2,%r3,%r4
	srli %r2,%r2,3
	nop 2
;A_FireCGun+208
	mulwsi.l %r9,%r2,-858993459
	ldi %r8,1
;A_FireCGun+224
	mov %r7,%r1
	callr %r6,P_SetPsprite
	lddz %r9,%r1,0
;A_FireCGun+240
	callr %r8,P_BulletSlope
	ldwz %r2,%r1,212
	lddz %r8,%r1,0
;A_FireCGun+256
	cmpweqi %r9,%r2,0
	callr %r7,P_GunShot
	nop 0
;A_FireCGun+272
	retf 0
	nop 0
	nop 0
;A_Light0
	alloc 2
	stw %gz,%r1,256
	retf 0
;A_Light1
	alloc 3
	ldi %r2,1
	stw %r2,%r1,256
;A_Light1+16
	retf 0
	nop 0
	nop 0
;A_Light2
	alloc 3
	ldi %r2,2
	stw %r2,%r1,256
;A_Light2+16
	retf 0
	nop 0
	nop 0
;A_BFGSpray
	alloc 13
	mov %r4,%gz
	ldi %r2,67108864
;A_BFGSpray+16
	ldi %r3,42
	jmp A_BFGSpray+48
	nop 0
;A_BFGSpray+32
	addiws %r4,%r6,1
	bwgeui %r6,39,A_BFGSpray+240
	nop 0
;A_BFGSpray+48
	ldwz %r5,%r1,56
	mov %r6,%r4
	nop 2
;A_BFGSpray+64
	mulwsi.l %r4,%r4,26843545
	addws %r4,%r4,%r5
;A_BFGSpray+80
	addiws.l %r11,%r4,-536870912
	lddz %r10,%r1,176
;A_BFGSpray+96
	mov %r12,%r2
	callr %r9,P_AimLineAttack
	lddzr %r4,linetarget
;A_BFGSpray+112
	bdeq %r4,%gz,A_BFGSpray+32
	ldwz %r5,%r4,108
	ldwz %r7,%r4,32
;A_BFGSpray+128
	ldwz %r9,%r4,24
	ldwz %r10,%r4,28
	sraiw %r4,%r5,2
;A_BFGSpray+144
	addws %r11,%r4,%r7
	mov %r12,%r3
	callr %r8,P_SpawnMobj
;A_BFGSpray+160
	mov2 %r4,%r5,%gz,%gz
	nop 0
	nop 0
;A_BFGSpray+176
	mov %r7,%r5
	callr %r11,P_Random
	andi %r5,%r12,7
;A_BFGSpray+192
	addws %r4,%r4,%r5
	addiws %r4,%r4,1
	addiws %r5,%r7,1
;A_BFGSpray+208
	bwltui %r7,14,A_BFGSpray+176
	lddzr %r9,linetarget
	lddz %r10,%r1,176
;A_BFGSpray+224
	mov2 %r11,%r12,%r10,%r4
	callr %r8,P_DamageMobj
	jmp A_BFGSpray+32
;A_BFGSpray+240
	retf 0
	nop 0
	nop 0
;A_BFGsound
	alloc 5
	lddz %r3,%r1,0
	ldi %r4,9
;A_BFGsound+16
	callr %r2,S_StartSound
	retf 0
	nop 0
;P_SetupPsprites
	alloc 5
	std %gz,%r1,272
	std %gz,%r1,296
;P_SetupPsprites+16
	ldwz %r2,%r1,124
	stw %r2,%r1,128
	mov %r4,%r1
;P_SetupPsprites+32
	callr %r3,P_BringUpWeapon
	retf 0
	nop 0
;P_MovePsprites
	alloc 11
	mov %r9,%gz
	ldi %r3,1
;P_MovePsprites+16
	addi %r4,%r1,280
	mov %r6,%r3
	jmp P_MovePsprites+64
;P_MovePsprites+32
	mov %r6,%gz
	addi %r4,%r4,24
	mov %r9,%r3
;P_MovePsprites+48
	bbci %r5,0,P_MovePsprites+128
	nop 0
	nop 0
;P_MovePsprites+64
	lddz %r2,%r4,-8
	mov %r5,%r6
	bdeq %r2,%gz,P_MovePsprites+32
;P_MovePsprites+80
	ldwz %r6,%r4,0
	bweqi %r6,-1,P_MovePsprites+32
	addiws %r6,%r6,-1
;P_MovePsprites+96
	stw %r6,%r4,0
	bwne %r6,%gz,P_MovePsprites+32
	ldwz %r10,%r2,24
;P_MovePsprites+112
	mov %r8,%r1
	callr %r7,P_SetPsprite
	jmp P_MovePsprites+32
;P_MovePsprites+128
	ldwz %r2,%r1,284
	stw %r2,%r1,308
	ldwz %r2,%r1,288
;P_MovePsprites+144
	stw %r2,%r1,312
	retf 0
	nop 0
;P_TempSaveGameFile
	allocsp 4,16
	lddzr %r1,P_TempSaveGameFile.filename
	bdeq %r1,%gz,P_TempSaveGameFile+32
;P_TempSaveGameFile+16
	retf 16
	nop 0
	nop 0
;P_TempSaveGameFile+32
	lddzr %r3,savegamedir
	std %gz,%sp,8
	ldafr %r1,.rodata+16836
;P_TempSaveGameFile+48
	std %r1,%sp,0
	callr %r2,M_StringJoin
	mov %r1,%r3
;P_TempSaveGameFile+64
	stdr %r3,P_TempSaveGameFile.filename
	retf 16
	nop 0
;P_SaveGameFile
	allocsp 7,48
	lddzr %r2,P_SaveGameFile.filename
	bdne %r2,%gz,P_SaveGameFile+48
;P_SaveGameFile+16
	lddzr %r6,savegamedir
	callr %r5,strlen
	addi %r6,%r6,32
;P_SaveGameFile+32
	stdr %r6,P_SaveGameFile.filename_size
	callr %r5,malloc
	stdr %r6,P_SaveGameFile.filename
;P_SaveGameFile+48
	ldafr %r6,.rodata+7991
	addi %r2,%sp,16
	ldi %r5,32
;P_SaveGameFile+64
	stw %r1,%sp,0
	mov %r4,%r2
	callr %r3,snprintf
;P_SaveGameFile+80
	lddzr %r4,P_SaveGameFile.filename
	lddzr %r5,P_SaveGameFile.filename_size
	lddzr %r1,savegamedir
;P_SaveGameFile+96
	std %r2,%sp,8
	ldafr %r6,.rodata+3520
	std %r1,%sp,0
;P_SaveGameFile+112
	callr %r3,M_snprintf
	lddzr %r1,P_SaveGameFile.filename
	retf 48
;P_WriteSaveGameHeader
	allocsp 9,32
	ldbz %r4,%r1,0
	bweq %r4,%gz,P_WriteSaveGameHeader+80
;P_WriteSaveGameHeader+16
	mov %r2,%gz
	addi %r3,%r1,1
	nop 0
;P_WriteSaveGameHeader+32
	andi %r8,%r4,255
	callr %r7,saveg_write8
	ldbzx.xd %r4,%r3,%r2,0,0
;P_WriteSaveGameHeader+48
	addi %r2,%r2,1
	bwne %r4,%gz,P_WriteSaveGameHeader+32
	addi %r1,%r2,-1
;P_WriteSaveGameHeader+64
	bdltui %r1,23,P_WriteSaveGameHeader+96
	jmp P_WriteSaveGameHeader+128
	nop 0
;P_WriteSaveGameHeader+80
	mov %r2,%gz
	nop 0
	nop 0
;P_WriteSaveGameHeader+96
	mov2 %r3,%r8,%r2,%gz
	callr %r7,saveg_write8
	addiws %r2,%r2,1
;P_WriteSaveGameHeader+112
	bwltui %r3,23,P_WriteSaveGameHeader+96
	nop 0
	nop 0
;P_WriteSaveGameHeader+128
	stq %gz,%sp,16
	callr %r7,G_VanillaVersionCode
	ldafr %r2,.rodata+28725
;P_WriteSaveGameHeader+144
	addi %r1,%sp,16
	ldi %r7,16
	stw %r8,%sp,0
;P_WriteSaveGameHeader+160
	mov2 %r6,%r8,%r1,%r2
	callr %r5,M_snprintf
	mov %r3,%gz
;P_WriteSaveGameHeader+176
	ldbzx.xd %r8,%r1,%r3,0,0
	callr %r7,saveg_write8
	addi %r3,%r3,1
;P_WriteSaveGameHeader+192
	bdnei %r3,16,P_WriteSaveGameHeader+176
	ldbzr %r8,gameskill
	callr %r7,saveg_write8
;P_WriteSaveGameHeader+208
	ldbzr %r8,gameepisode
	callr %r7,saveg_write8
	ldbzr %r8,gamemap
;P_WriteSaveGameHeader+224
	callr %r7,saveg_write8
	mov %r2,%gz
	ldafr %r3,playeringame
;P_WriteSaveGameHeader+240
	ldbzx.xd %r8,%r2,%r3,0,0
	callr %r7,saveg_write8
	addi %r2,%r2,4
;P_WriteSaveGameHeader+256
	bdnei %r2,16,P_WriteSaveGameHeader+240
	ldbzr %r8,leveltime+2
	callr %r7,saveg_write8
;P_WriteSaveGameHeader+272
	ldbzr %r8,leveltime+1
	callr %r7,saveg_write8
	ldbzr %r8,leveltime
;P_WriteSaveGameHeader+288
	callr %r7,saveg_write8
	retf 32
	nop 0
;saveg_write8
	allocsp 7,16
	stb %r1,%sp,15
	lddzr %r6,save_stream
;saveg_write8+16
	addi %r3,%sp,15
	ldi %r4,1
	mov %r5,%r4
;saveg_write8+32
	callr %r2,fwrite_unlocked
	bdne %r3,%gz,saveg_write8+64
	ldwzr %r1,savegame_error
;saveg_write8+48
	bweq %r1,%gz,saveg_write8+80
	nop 0
	nop 0
;saveg_write8+64
	retf 16
	nop 0
	nop 0
;saveg_write8+80
	lddzr %r6,stderr
	ldafr %r3,.rodata+9365
	ldi %r4,44
;saveg_write8+96
	ldi %r1,1
	mov %r5,%r1
	callr %r2,fwrite_unlocked
;saveg_write8+112
	stwr %r1,savegame_error
	retf 16
	nop 0
;P_ReadSaveGameHeader
	allocsp 8,48
	mov %r1,%gz
	nop 0
;P_ReadSaveGameHeader+16
	mov %r2,%r1
	callr %r6,saveg_read8
	addiws %r1,%r1,1
;P_ReadSaveGameHeader+32
	bwltui %r2,23,P_ReadSaveGameHeader+16
	mov %r2,%gz
	addi %r3,%sp,16
;P_ReadSaveGameHeader+48
	callr %r6,saveg_read8
	stbx.xd %r7,%r3,%r2,0,0
	addi %r2,%r2,1
;P_ReadSaveGameHeader+64
	bdnei %r2,16,P_ReadSaveGameHeader+48
	stq %gz,%sp,32
	callr %r6,G_VanillaVersionCode
;P_ReadSaveGameHeader+80
	ldafr %r1,.rodata+28725
	addi %r2,%sp,32
	ldi %r6,16
;P_ReadSaveGameHeader+96
	stw %r7,%sp,0
	mov2 %r5,%r7,%r2,%r1
	callr %r4,M_snprintf
;P_ReadSaveGameHeader+112
	addi %r6,%sp,16
	mov %r7,%r2
	callr %r5,strcmp
;P_ReadSaveGameHeader+128
	mov %r1,%gz
	bweq %r6,%gz,P_ReadSaveGameHeader+144
	retf 48
;P_ReadSaveGameHeader+144
	callr %r6,saveg_read8
	stwr %r7,gameskill
	callr %r6,saveg_read8
;P_ReadSaveGameHeader+160
	stwr %r7,gameepisode
	callr %r6,saveg_read8
	mov %r2,%gz
;P_ReadSaveGameHeader+176
	stwr %r7,gamemap
	ldafr %r3,playeringame
	nop 0
;P_ReadSaveGameHeader+192
	callr %r6,saveg_read8
	stwx.xd %r7,%r2,%r3,0,0
	addi %r2,%r2,4
;P_ReadSaveGameHeader+208
	bdnei %r2,16,P_ReadSaveGameHeader+192
	callr %r6,saveg_read8
	mov %r1,%r7
;P_ReadSaveGameHeader+224
	callr %r6,saveg_read8
	mov %r2,%r7
	callr %r6,saveg_read8
;P_ReadSaveGameHeader+240
	slliw %r2,%r2,8
	slor %r1,%r2,%r1,16
	or %r1,%r1,%r7
;P_ReadSaveGameHeader+256
	stwr %r1,leveltime
	ldi %r1,1
	retf 48
;saveg_read8
	allocsp 7,16
	lddzr %r6,save_stream
	addi %r3,%sp,15
;saveg_read8+16
	ldi %r4,1
	mov %r5,%r4
	callr %r2,fread_unlocked
;saveg_read8+32
	bdne %r3,%gz,saveg_read8+48
	ldwzr %r1,savegame_error
	bweq %r1,%gz,saveg_read8+64
;saveg_read8+48
	ldbz %r1,%sp,15
	retf 16
	nop 0
;saveg_read8+64
	lddzr %r6,stderr
	ldafr %r3,.rodata+5243
	ldi %r4,60
;saveg_read8+80
	ldi %r1,1
	mov %r5,%r1
	callr %r2,fwrite_unlocked
;saveg_read8+96
	stwr %r1,savegame_error
	ldbz %r1,%sp,15
	retf 16
;P_ReadSaveGameEOF
	alloc 4
	callr %r2,saveg_read8
	cmpweqi %r1,%r3,29
;P_ReadSaveGameEOF+16
	retf 0
	nop 0
	nop 0
;P_WriteSaveGameEOF
	alloc 3
	ldi %r2,29
	callr %r1,saveg_write8
;P_WriteSaveGameEOF+16
	retf 0
	nop 0
	nop 0
;P_ArchivePlayers
	alloc 36
	mov %r2,%gz
	ldafr %r3,players+56
;P_ArchivePlayers+16
	ldafr %r4,players+80
	ldafr %r5,players+108
	ldafr %r6,players+132
;P_ArchivePlayers+32
	ldafr %r7,players+168
	ldafr %r8,players+184
	ldafr %r9,playeringame
;P_ArchivePlayers+48
	ldafr %r10,players
	ldi %r11,328
	ldafr %r12,players+8
;P_ArchivePlayers+64
	ldafr %r13,players+12
	ldafr %r14,players+13
	ldafr %r15,players+14
;P_ArchivePlayers+80
	ldafr %r16,players+18
	ldafr %r17,players+16
	ldafr %r18,players+17
;P_ArchivePlayers+96
	ldafr %r19,players+28
	ldafr %r20,players+32
	ldafr %r21,players+36
;P_ArchivePlayers+112
	ldafr %r22,players+40
	ldafr %r23,players+44
	ldafr %r24,players+48
;P_ArchivePlayers+128
	ldafr %r25,players+52
	ldi %r26,1
	ldi %r27,24
;P_ArchivePlayers+144
	ldafr %r28,states
	jmp P_ArchivePlayers+256
	nop 0
;P_ArchivePlayers+160
	ldwz %r29,%r29,320
	andi %r35,%r29,255
	callr %r34,saveg_write8
;P_ArchivePlayers+176
	slsrli %r35,%r29,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r29,40,56
;P_ArchivePlayers+192
	callr %r34,saveg_write8
	srliw %r35,%r29,24
	callr %r34,saveg_write8
;P_ArchivePlayers+208
	addi %r2,%r2,1
	addi %r3,%r3,328
	addi %r4,%r4,328
;P_ArchivePlayers+224
	addi %r5,%r5,328
	addi %r6,%r6,328
	addi %r7,%r7,328
;P_ArchivePlayers+240
	addi %r8,%r8,328
	bdeqi %r2,4,P_ArchivePlayers+2416
	nop 0
;P_ArchivePlayers+256
	ldwzx.xd %r1,%r9,%r2,2,0
	bweq %r1,%gz,P_ArchivePlayers+208
	lddzr %r35,save_stream
;P_ArchivePlayers+272
	callr %r34,ftell
	subfiws %r1,%r35,0
	andi %r29,%r1,3
;P_ArchivePlayers+288
	bweq %r29,%gz,P_ArchivePlayers+336
	mov %r30,%gz
	nop 0
;P_ArchivePlayers+304
	mov %r35,%gz
	callr %r34,saveg_write8
	addiws %r30,%r30,1
;P_ArchivePlayers+320
	bwltu %r30,%r29,P_ArchivePlayers+304
	nop 0
	nop 0
;P_ArchivePlayers+336
	muli %r30,%r2,328
	ldwzx.xd %r31,%r30,%r10,0,0
	muladd %r29,%r2,%r11,%r10
;P_ArchivePlayers+352
	andi %r35,%r31,255
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
;P_ArchivePlayers+368
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+384
	srliw %r35,%r31,24
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r12,0,0
;P_ArchivePlayers+400
	andi %r35,%r31,255
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
;P_ArchivePlayers+416
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+432
	srliw %r35,%r31,24
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r13,0,0
;P_ArchivePlayers+448
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r14,0,0
	callr %r34,saveg_write8
;P_ArchivePlayers+464
	ldhzx.xd %r31,%r30,%r15,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+480
	srliw %r35,%r31,8
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r16,0,0
;P_ArchivePlayers+496
	callr %r34,saveg_write8
	mov %r35,%gz
	callr %r34,saveg_write8
;P_ArchivePlayers+512
	ldbzx.xd %r35,%r30,%r17,0,0
	callr %r34,saveg_write8
	ldbzx.xd %r35,%r30,%r18,0,0
;P_ArchivePlayers+528
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r19,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+544
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+560
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+576
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r20,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+592
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+608
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+624
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r21,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+640
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+656
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+672
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r22,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+688
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+704
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+720
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r23,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+736
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+752
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+768
	callr %r34,saveg_write8
	ldwzx.xd %r31,%r30,%r24,0,0
	andi %r35,%r31,255
;P_ArchivePlayers+784
	callr %r34,saveg_write8
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+800
	slsrli %r35,%r31,40,56
	callr %r34,saveg_write8
	srliw %r35,%r31,24
;P_ArchivePlayers+816
	callr %r34,saveg_write8
	ldwzx.xd %r30,%r30,%r25,0,0
	andi %r35,%r30,255
;P_ArchivePlayers+832
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+848
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
	srliw %r35,%r30,24
;P_ArchivePlayers+864
	callr %r34,saveg_write8
	mov %r30,%gz
	nop 0
;P_ArchivePlayers+880
	ldwzx.xd %r31,%r3,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+896
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+912
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+928
	addi %r30,%r30,4
	bdnei %r30,24,P_ArchivePlayers+880
	mov %r30,%gz
;P_ArchivePlayers+944
	ldwzx.xd %r31,%r4,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+960
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+976
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+992
	addi %r30,%r30,4
	bdnei %r30,24,P_ArchivePlayers+944
	ldwz %r30,%r29,104
;P_ArchivePlayers+1008
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1024
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1040
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	mov %r30,%gz
;P_ArchivePlayers+1056
	ldwzx.xd %r31,%r5,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1072
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1088
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1104
	addi %r30,%r30,4
	bdnei %r30,16,P_ArchivePlayers+1056
	ldwz %r30,%r29,124
;P_ArchivePlayers+1120
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1136
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1152
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,128
;P_ArchivePlayers+1168
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1184
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1200
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	mov %r30,%gz
;P_ArchivePlayers+1216
	ldwzx.xd %r31,%r6,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1232
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1248
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1264
	addi %r30,%r30,4
	bdnei %r30,36,P_ArchivePlayers+1216
	mov %r30,%gz
;P_ArchivePlayers+1280
	ldwzx.xd %r31,%r7,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1296
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1312
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1328
	addi %r30,%r30,4
	bdnei %r30,16,P_ArchivePlayers+1280
	mov %r30,%gz
;P_ArchivePlayers+1344
	ldwzx.xd %r31,%r8,%r30,0,0
	andi %r35,%r31,255
	callr %r34,saveg_write8
;P_ArchivePlayers+1360
	slsrli %r35,%r31,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r31,40,56
;P_ArchivePlayers+1376
	callr %r34,saveg_write8
	srliw %r35,%r31,24
	callr %r34,saveg_write8
;P_ArchivePlayers+1392
	addi %r30,%r30,4
	bdnei %r30,16,P_ArchivePlayers+1344
	ldwz %r30,%r29,200
;P_ArchivePlayers+1408
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1424
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1440
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,204
;P_ArchivePlayers+1456
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1472
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1488
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,208
;P_ArchivePlayers+1504
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1520
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1536
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,212
;P_ArchivePlayers+1552
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1568
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1584
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,216
;P_ArchivePlayers+1600
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1616
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1632
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,220
;P_ArchivePlayers+1648
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1664
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1680
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,224
;P_ArchivePlayers+1696
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1712
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1728
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,232
;P_ArchivePlayers+1744
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1760
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1776
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,240
;P_ArchivePlayers+1792
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1808
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1824
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,244
;P_ArchivePlayers+1840
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1856
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1872
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,248
;P_ArchivePlayers+1888
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1904
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1920
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,256
;P_ArchivePlayers+1936
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+1952
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+1968
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,260
;P_ArchivePlayers+1984
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+2000
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+2016
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	ldwz %r30,%r29,264
;P_ArchivePlayers+2032
	andi %r35,%r30,255
	callr %r34,saveg_write8
	slsrli %r35,%r30,48,56
;P_ArchivePlayers+2048
	callr %r34,saveg_write8
	slsrli %r35,%r30,40,56
	callr %r34,saveg_write8
;P_ArchivePlayers+2064
	srliw %r35,%r30,24
	callr %r34,saveg_write8
	mov %r32,%gz
;P_ArchivePlayers+2080
	addi %r30,%r29,272
	mov %r1,%r26
	jmp P_ArchivePlayers+2320
;P_ArchivePlayers+2096
	mov %r35,%gz
	callr %r34,saveg_write8
	mov %r35,%gz
;P_ArchivePlayers+2112
	callr %r34,saveg_write8
	mov %r35,%gz
	callr %r34,saveg_write8
;P_ArchivePlayers+2128
	mov %r1,%gz
	nop 0
	nop 0
;P_ArchivePlayers+2144
	muladd %r32,%r32,%r27,%r30
	andi %r35,%r1,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2160
	ldwz %r33,%r32,8
	andi %r35,%r33,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2176
	slsrli %r35,%r33,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r33,40,56
;P_ArchivePlayers+2192
	callr %r34,saveg_write8
	srliw %r35,%r33,24
	callr %r34,saveg_write8
;P_ArchivePlayers+2208
	ldwz %r33,%r32,12
	andi %r35,%r33,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2224
	slsrli %r35,%r33,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r33,40,56
;P_ArchivePlayers+2240
	callr %r34,saveg_write8
	srliw %r35,%r33,24
	callr %r34,saveg_write8
;P_ArchivePlayers+2256
	ldwz %r32,%r32,16
	andi %r35,%r32,255
	callr %r34,saveg_write8
;P_ArchivePlayers+2272
	slsrli %r35,%r32,48,56
	callr %r34,saveg_write8
	slsrli %r35,%r32,40,56
;P_ArchivePlayers+2288
	callr %r34,saveg_write8
	srliw %r35,%r32,24
	callr %r34,saveg_write8
;P_ArchivePlayers+2304
	mov2 %r1,%r32,%gz,%r26
	bbci %r31,0,P_ArchivePlayers+160
	nop 0
;P_ArchivePlayers+2320
	muli %r31,%r32,24
	lddzx.xd %r33,%r30,%r31,0,0
	mov %r31,%r1
;P_ArchivePlayers+2336
	bdeq %r33,%gz,P_ArchivePlayers+2096
	sub %r1,%r33,%r28
	srai %r1,%r1,3
;P_ArchivePlayers+2352
	muli.l %r33,%r1,-3689348814741910323
	andi %r35,%r33,255
;P_ArchivePlayers+2368
	callr %r34,saveg_write8
	slsrli %r35,%r33,48,56
	callr %r34,saveg_write8
;P_ArchivePlayers+2384
	slsrli %r35,%r33,40,56
	callr %r34,saveg_write8
	srli %r1,%r33,24
;P_ArchivePlayers+2400
	jmp P_ArchivePlayers+2144
	nop 0
	nop 0
;P_ArchivePlayers+2416
	retf 0
	nop 0
	nop 0
;P_UnArchivePlayers
	alloc 37
	mov %r3,%gz
	ldafr %r4,players+56
;P_UnArchivePlayers+16
	ldafr %r5,players+80
	ldafr %r6,players+108
	ldafr %r7,players+132
;P_UnArchivePlayers+32
	ldafr %r8,players+168
	ldafr %r9,players+184
	ldafr %r10,playeringame
;P_UnArchivePlayers+48
	ldafr %r11,players
	ldi %r12,328
	ldafr %r13,players+8
;P_UnArchivePlayers+64
	ldafr %r14,players+12
	ldafr %r15,players+13
	ldafr %r16,players+14
;P_UnArchivePlayers+80
	ldafr %r17,players+18
	ldafr %r18,players+16
	ldafr %r19,players+17
;P_UnArchivePlayers+96
	ldafr %r20,players+28
	ldafr %r21,players+32
	ldafr %r22,players+36
;P_UnArchivePlayers+112
	ldafr %r23,players+40
	ldafr %r24,players+44
	ldafr %r25,players+48
;P_UnArchivePlayers+128
	ldafr %r26,players+52
	ldi %r27,1
	ldafr %r28,states
;P_UnArchivePlayers+144
	ldi %r29,40
	jmp P_UnArchivePlayers+208
	nop 0
;P_UnArchivePlayers+160
	addi %r3,%r3,1
	addi %r4,%r4,328
	addi %r5,%r5,328
;P_UnArchivePlayers+176
	addi %r6,%r6,328
	addi %r7,%r7,328
	addi %r8,%r8,328
;P_UnArchivePlayers+192
	addi %r9,%r9,328
	bdeqi %r3,4,P_UnArchivePlayers+2352
	nop 0
;P_UnArchivePlayers+208
	ldwzx.xd %r1,%r10,%r3,2,0
	bweq %r1,%gz,P_UnArchivePlayers+160
	lddzr %r36,save_stream
;P_UnArchivePlayers+224
	callr %r35,ftell
	subfiws %r1,%r36,0
	andi %r2,%r1,3
;P_UnArchivePlayers+240
	bweq %r2,%gz,P_UnArchivePlayers+272
	mov %r30,%gz
	nop 0
;P_UnArchivePlayers+256
	callr %r35,saveg_read8
	addiws %r30,%r30,1
	bwltu %r30,%r2,P_UnArchivePlayers+256
;P_UnArchivePlayers+272
	muladd %r30,%r3,%r12,%r11
	muli %r31,%r3,328
	callr %r35,saveg_read8
;P_UnArchivePlayers+288
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+304
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+320
	slor %r1,%r2,%r36,24
	sraiw %r1,%r1,0
	stdx.xd %r1,%r31,%r11,0,0
;P_UnArchivePlayers+336
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+352
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+368
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r13,0,0
;P_UnArchivePlayers+384
	callr %r35,saveg_read8
	stbx.xd %r36,%r31,%r14,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+400
	stbx.xd %r36,%r31,%r15,0,0
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+416
	callr %r35,saveg_read8
	slor %r1,%r1,%r36,8
	sthx.xd %r1,%r31,%r16,0,0
;P_UnArchivePlayers+432
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+448
	stbx.xd %r1,%r31,%r17,0,0
	callr %r35,saveg_read8
	stbx.xd %r36,%r31,%r18,0,0
;P_UnArchivePlayers+464
	callr %r35,saveg_read8
	stbx.xd %r36,%r31,%r19,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+480
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+496
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+512
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r20,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+528
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+544
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+560
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r21,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+576
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+592
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+608
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r22,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+624
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+640
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+656
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r23,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+672
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+688
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+704
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r24,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+720
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+736
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+752
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r25,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+768
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+784
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+800
	mov %r32,%gz
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r26,0,0
;P_UnArchivePlayers+816
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+832
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+848
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r4,%r32,0,0
;P_UnArchivePlayers+864
	addi %r32,%r32,4
	bdnei %r32,24,P_UnArchivePlayers+816
	mov %r31,%gz
;P_UnArchivePlayers+880
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+896
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+912
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r5,%r31,0,0
;P_UnArchivePlayers+928
	addi %r31,%r31,4
	bdnei %r31,24,P_UnArchivePlayers+880
	callr %r35,saveg_read8
;P_UnArchivePlayers+944
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+960
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+976
	mov %r31,%gz
	slor %r1,%r2,%r36,24
	stw %r1,%r30,104
;P_UnArchivePlayers+992
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1008
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1024
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r6,%r31,0,0
;P_UnArchivePlayers+1040
	addi %r31,%r31,4
	bdnei %r31,16,P_UnArchivePlayers+992
	callr %r35,saveg_read8
;P_UnArchivePlayers+1056
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1072
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1088
	slor %r1,%r2,%r36,24
	stw %r1,%r30,124
	callr %r35,saveg_read8
;P_UnArchivePlayers+1104
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1120
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1136
	mov %r31,%gz
	slor %r1,%r2,%r36,24
	stw %r1,%r30,128
;P_UnArchivePlayers+1152
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1168
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1184
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r7,%r31,0,0
;P_UnArchivePlayers+1200
	addi %r31,%r31,4
	bdnei %r31,36,P_UnArchivePlayers+1152
	mov %r31,%gz
;P_UnArchivePlayers+1216
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1232
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1248
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r8,%r31,0,0
;P_UnArchivePlayers+1264
	addi %r31,%r31,4
	bdnei %r31,16,P_UnArchivePlayers+1216
	mov %r31,%gz
;P_UnArchivePlayers+1280
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1296
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1312
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r9,%r31,0,0
;P_UnArchivePlayers+1328
	addi %r31,%r31,4
	bdnei %r31,16,P_UnArchivePlayers+1280
	callr %r35,saveg_read8
;P_UnArchivePlayers+1344
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1360
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1376
	slor %r1,%r2,%r36,24
	stw %r1,%r30,200
	callr %r35,saveg_read8
;P_UnArchivePlayers+1392
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1408
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1424
	slor %r1,%r2,%r36,24
	stw %r1,%r30,204
	callr %r35,saveg_read8
;P_UnArchivePlayers+1440
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1456
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1472
	slor %r1,%r2,%r36,24
	stw %r1,%r30,208
	callr %r35,saveg_read8
;P_UnArchivePlayers+1488
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1504
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1520
	slor %r1,%r2,%r36,24
	stw %r1,%r30,212
	callr %r35,saveg_read8
;P_UnArchivePlayers+1536
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1552
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1568
	slor %r1,%r2,%r36,24
	stw %r1,%r30,216
	callr %r35,saveg_read8
;P_UnArchivePlayers+1584
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1600
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1616
	slor %r1,%r2,%r36,24
	stw %r1,%r30,220
	callr %r35,saveg_read8
;P_UnArchivePlayers+1632
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1648
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1664
	slor %r1,%r2,%r36,24
	stw %r1,%r30,224
	callr %r35,saveg_read8
;P_UnArchivePlayers+1680
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+1696
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+1712
	slor %r1,%r2,%r36,24
	sraiw %r1,%r1,0
	std %r1,%r30,232
;P_UnArchivePlayers+1728
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1744
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1760
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stw %r1,%r30,240
;P_UnArchivePlayers+1776
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1792
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1808
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	stw %r1,%r30,244
;P_UnArchivePlayers+1824
	callr %r35,saveg_read8
	mov %r1,%r36
	callr %r35,saveg_read8
;P_UnArchivePlayers+1840
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
;P_UnArchivePlayers+1856
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
	sraiw %r1,%r1,0
;P_UnArchivePlayers+1872
	std %r1,%r30,248
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+1888
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+1904
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
;P_UnArchivePlayers+1920
	stw %r1,%r30,256
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+1936
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+1952
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
	slor %r1,%r2,%r36,24
;P_UnArchivePlayers+1968
	stw %r1,%r30,260
	callr %r35,saveg_read8
	mov %r1,%r36
;P_UnArchivePlayers+1984
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+2000
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
	mov %r1,%gz
;P_UnArchivePlayers+2016
	slor %r2,%r2,%r36,24
	stw %r2,%r30,264
	addi %r31,%r30,272
;P_UnArchivePlayers+2032
	mov %r2,%r27
	nop 0
	nop 0
;P_UnArchivePlayers+2048
	mov %r32,%r2
	muli %r33,%r1,24
	callr %r35,saveg_read8
;P_UnArchivePlayers+2064
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2080
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2096
	slor %r1,%r2,%r36,24
	srliw %r2,%r1,0
	muladd %r2,%r2,%r29,%r28
;P_UnArchivePlayers+2112
	cmovwle %r1,%r1,%gz,%r2
	stdx.xd %r1,%r31,%r33,0,0
	callr %r35,saveg_read8
;P_UnArchivePlayers+2128
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2144
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2160
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r33,0,8
	callr %r35,saveg_read8
;P_UnArchivePlayers+2176
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2192
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2208
	slor %r1,%r2,%r36,24
	stwx.xd %r1,%r31,%r33,0,12
	callr %r35,saveg_read8
;P_UnArchivePlayers+2224
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2240
	callr %r35,saveg_read8
	slor %r34,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2256
	mov %r2,%gz
	slor %r1,%r34,%r36,24
	stwx.xd %r1,%r31,%r33,0,16
;P_UnArchivePlayers+2272
	mov %r1,%r27
	bbsi %r32,0,P_UnArchivePlayers+2048
	callr %r35,saveg_read8
;P_UnArchivePlayers+2288
	mov %r1,%r36
	callr %r35,saveg_read8
	slor %r2,%r1,%r36,8
;P_UnArchivePlayers+2304
	callr %r35,saveg_read8
	slor %r2,%r2,%r36,16
	callr %r35,saveg_read8
;P_UnArchivePlayers+2320
	slor %r1,%r2,%r36,24
	stw %r1,%r30,320
	std %gz,%r30,0
;P_UnArchivePlayers+2336
	std %gz,%r30,232
	std %gz,%r30,248
	jmp P_UnArchivePlayers+160
;P_UnArchivePlayers+2352
	retf 0
	nop 0
	nop 0
;P_ArchiveWorld
	alloc 12
	ldwzr %r1,numsectors
	bwlti %r1,1,P_ArchiveWorld+240
;P_ArchiveWorld+16
	mov %r2,%gz
	lddzr %r3,sectors
	nop 0
;P_ArchiveWorld+32
	ldwz %r4,%r3,0
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveWorld+48
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r3,4
;P_ArchiveWorld+64
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveWorld+80
	callr %r10,saveg_write8
	ldhz %r4,%r3,8
	andi %r11,%r4,255
;P_ArchiveWorld+96
	callr %r10,saveg_write8
	srliw %r11,%r4,8
	callr %r10,saveg_write8
;P_ArchiveWorld+112
	ldhz %r4,%r3,10
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveWorld+128
	srliw %r11,%r4,8
	callr %r10,saveg_write8
	ldhz %r4,%r3,12
;P_ArchiveWorld+144
	andi %r11,%r4,255
	callr %r10,saveg_write8
	srliw %r11,%r4,8
;P_ArchiveWorld+160
	callr %r10,saveg_write8
	ldhz %r4,%r3,14
	andi %r11,%r4,255
;P_ArchiveWorld+176
	callr %r10,saveg_write8
	srliw %r11,%r4,8
	callr %r10,saveg_write8
;P_ArchiveWorld+192
	ldhz %r4,%r3,16
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveWorld+208
	srliw %r11,%r4,8
	callr %r10,saveg_write8
	ldwzr %r1,numsectors
;P_ArchiveWorld+224
	addiws %r2,%r2,1
	addi %r3,%r3,128
	bwlt %r2,%r1,P_ArchiveWorld+32
;P_ArchiveWorld+240
	ldwzr %r1,numlines
	bwlti %r1,1,P_ArchiveWorld+608
	mov %r2,%gz
;P_ArchiveWorld+256
	lddzr %r3,lines
	ldi %r4,1
	jmp P_ArchiveWorld+304
;P_ArchiveWorld+272
	ldwzr %r1,numlines
	addiws %r2,%r2,1
	addi %r3,%r3,88
;P_ArchiveWorld+288
	bwle %r1,%r2,P_ArchiveWorld+608
	nop 0
	nop 0
;P_ArchiveWorld+304
	ldhz %r5,%r3,24
	andi %r11,%r5,255
	callr %r10,saveg_write8
;P_ArchiveWorld+320
	srliw %r11,%r5,8
	callr %r10,saveg_write8
	ldhz %r5,%r3,26
;P_ArchiveWorld+336
	andi %r11,%r5,255
	callr %r10,saveg_write8
	srliw %r11,%r5,8
;P_ArchiveWorld+352
	callr %r10,saveg_write8
	ldhz %r5,%r3,28
	andi %r11,%r5,255
;P_ArchiveWorld+368
	callr %r10,saveg_write8
	srliw %r11,%r5,8
	callr %r10,saveg_write8
;P_ArchiveWorld+384
	mov %r7,%gz
	addi %r5,%r3,30
	mov %r1,%r4
;P_ArchiveWorld+400
	jmp P_ArchiveWorld+432
	nop 0
	nop 0
;P_ArchiveWorld+416
	mov2 %r1,%r7,%gz,%r4
	bbci %r6,0,P_ArchiveWorld+272
	nop 0
;P_ArchiveWorld+432
	ldhsx.xd %r7,%r5,%r7,1,0
	mov %r6,%r1
	bdeqi %r7,-1,P_ArchiveWorld+416
;P_ArchiveWorld+448
	lddzr %r8,sides
	muli %r7,%r7,24
	ldwzx.xd %r9,%r8,%r7,0,0
;P_ArchiveWorld+464
	slsrli %r11,%r9,40,56
	callr %r10,saveg_write8
	srliw %r11,%r9,24
;P_ArchiveWorld+480
	callr %r10,saveg_write8
	ldwzx.xd %r9,%r8,%r7,0,4
	slsrli %r11,%r9,40,56
;P_ArchiveWorld+496
	callr %r10,saveg_write8
	srliw %r11,%r9,24
	callr %r10,saveg_write8
;P_ArchiveWorld+512
	ldhzx.xd %r9,%r8,%r7,0,8
	andi %r11,%r9,255
	callr %r10,saveg_write8
;P_ArchiveWorld+528
	srliw %r11,%r9,8
	callr %r10,saveg_write8
	ldhzx.xd %r9,%r8,%r7,0,10
;P_ArchiveWorld+544
	andi %r11,%r9,255
	callr %r10,saveg_write8
	srliw %r11,%r9,8
;P_ArchiveWorld+560
	callr %r10,saveg_write8
	ldhzx.xd %r7,%r8,%r7,0,12
	andi %r11,%r7,255
;P_ArchiveWorld+576
	callr %r10,saveg_write8
	srliw %r11,%r7,8
	callr %r10,saveg_write8
;P_ArchiveWorld+592
	jmp P_ArchiveWorld+416
	nop 0
	nop 0
;P_ArchiveWorld+608
	retf 0
	nop 0
	nop 0
;P_UnArchiveWorld
	alloc 12
	ldwzr %r1,numsectors
	bwlti %r1,1,P_UnArchiveWorld+272
;P_UnArchiveWorld+16
	mov %r3,%gz
	lddzr %r4,sectors
	nop 0
;P_UnArchiveWorld+32
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+48
	slliw %r2,%r11,24
	slor %r1,%r2,%r1,16
	stw %r1,%r4,0
;P_UnArchiveWorld+64
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+80
	slliw %r2,%r11,24
	slor %r1,%r2,%r1,16
	stw %r1,%r4,4
;P_UnArchiveWorld+96
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+112
	slor %r1,%r1,%r11,8
	sth %r1,%r4,8
	callr %r10,saveg_read8
;P_UnArchiveWorld+128
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+144
	sth %r1,%r4,10
	callr %r10,saveg_read8
	mov %r1,%r11
;P_UnArchiveWorld+160
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
	sth %r1,%r4,12
;P_UnArchiveWorld+176
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+192
	slor %r1,%r1,%r11,8
	sth %r1,%r4,14
	callr %r10,saveg_read8
;P_UnArchiveWorld+208
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+224
	sth %r1,%r4,16
	std %gz,%r4,104
	std %gz,%r4,24
;P_UnArchiveWorld+240
	ldwzr %r1,numsectors
	addiws %r3,%r3,1
	addi %r4,%r4,128
;P_UnArchiveWorld+256
	bwlt %r3,%r1,P_UnArchiveWorld+32
	nop 0
	nop 0
;P_UnArchiveWorld+272
	ldwzr %r1,numlines
	bwlti %r1,1,P_UnArchiveWorld+640
	mov %r3,%gz
;P_UnArchiveWorld+288
	lddzr %r4,lines
	ldi %r5,1
	jmp P_UnArchiveWorld+336
;P_UnArchiveWorld+304
	ldwzr %r1,numlines
	addiws %r3,%r3,1
	addi %r4,%r4,88
;P_UnArchiveWorld+320
	bwle %r1,%r3,P_UnArchiveWorld+640
	nop 0
	nop 0
;P_UnArchiveWorld+336
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+352
	slor %r1,%r1,%r11,8
	sth %r1,%r4,24
	callr %r10,saveg_read8
;P_UnArchiveWorld+368
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+384
	sth %r1,%r4,26
	callr %r10,saveg_read8
	mov %r1,%r11
;P_UnArchiveWorld+400
	callr %r10,saveg_read8
	mov %r2,%gz
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+416
	sth %r1,%r4,28
	addi %r6,%r4,30
	mov %r1,%r5
;P_UnArchiveWorld+432
	jmp P_UnArchiveWorld+464
	nop 0
	nop 0
;P_UnArchiveWorld+448
	mov2 %r1,%r2,%gz,%r5
	bbci %r7,0,P_UnArchiveWorld+304
	nop 0
;P_UnArchiveWorld+464
	ldhsx.xd %r2,%r6,%r2,1,0
	mov %r7,%r1
	bdeqi %r2,-1,P_UnArchiveWorld+448
;P_UnArchiveWorld+480
	lddzr %r8,sides
	muli %r9,%r2,24
	callr %r10,saveg_read8
;P_UnArchiveWorld+496
	mov %r1,%r11
	callr %r10,saveg_read8
	slliw %r2,%r11,24
;P_UnArchiveWorld+512
	slor %r1,%r2,%r1,16
	stwx.xd %r1,%r8,%r9,0,0
	callr %r10,saveg_read8
;P_UnArchiveWorld+528
	mov %r1,%r11
	callr %r10,saveg_read8
	slliw %r2,%r11,24
;P_UnArchiveWorld+544
	slor %r1,%r2,%r1,16
	stwx.xd %r1,%r8,%r9,0,4
	callr %r10,saveg_read8
;P_UnArchiveWorld+560
	mov %r1,%r11
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
;P_UnArchiveWorld+576
	sthx.xd %r1,%r8,%r9,0,8
	callr %r10,saveg_read8
	mov %r1,%r11
;P_UnArchiveWorld+592
	callr %r10,saveg_read8
	slor %r1,%r1,%r11,8
	sthx.xd %r1,%r8,%r9,0,10
;P_UnArchiveWorld+608
	callr %r10,saveg_read8
	mov %r1,%r11
	callr %r10,saveg_read8
;P_UnArchiveWorld+624
	slor %r1,%r1,%r11,8
	sthx.xd %r1,%r8,%r9,0,12
	jmp P_UnArchiveWorld+448
;P_UnArchiveWorld+640
	retf 0
	nop 0
	nop 0
;P_ArchiveThinkers
	alloc 12
	lddzr %r1,thinkercap+8
	ldafr %r5,thinkercap
;P_ArchiveThinkers+16
	bdeq %r1,%r5,P_ArchiveThinkers+2064
	ldar %r6,P_MobjThinker
	ldi %r2,1
;P_ArchiveThinkers+32
	ldafr %r7,states
	ldafr %r8,players
	jmp P_ArchiveThinkers+432
;P_ArchiveThinkers+48
	sub %r3,%r3,%r8
	srli %r3,%r3,3
	nop 2
;P_ArchiveThinkers+64
	mulwsi.l %r3,%r3,-1047552999
	addiws %r4,%r3,1
;P_ArchiveThinkers+80
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+96
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+112
	srliw %r11,%r4,24
	nop 0
	nop 0
;P_ArchiveThinkers+128
	callr %r10,saveg_write8
	ldwz %r4,%r1,200
	andi %r11,%r4,255
;P_ArchiveThinkers+144
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+160
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+176
	callr %r10,saveg_write8
	ldbz %r3,%r1,205
	ldbz %r4,%r1,204
;P_ArchiveThinkers+192
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveThinkers+208
	mov %r11,%r3
	callr %r10,saveg_write8
	ldbz %r3,%r1,207
;P_ArchiveThinkers+224
	ldbz %r4,%r1,206
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
;P_ArchiveThinkers+240
	callr %r10,saveg_write8
	mov %r11,%r3
	callr %r10,saveg_write8
;P_ArchiveThinkers+256
	ldbz %r3,%r1,209
	ldbz %r4,%r1,208
	slor %r4,%r4,%r3,8
;P_ArchiveThinkers+272
	andi %r11,%r4,255
	callr %r10,saveg_write8
	mov %r11,%r3
;P_ArchiveThinkers+288
	callr %r10,saveg_write8
	ldbz %r3,%r1,211
	ldbz %r4,%r1,210
;P_ArchiveThinkers+304
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveThinkers+320
	mov %r11,%r3
	callr %r10,saveg_write8
	ldbz %r3,%r1,213
;P_ArchiveThinkers+336
	ldbz %r4,%r1,212
	slor %r4,%r4,%r3,8
	andi %r11,%r4,255
;P_ArchiveThinkers+352
	callr %r10,saveg_write8
	mov %r11,%r3
	callr %r10,saveg_write8
;P_ArchiveThinkers+368
	ldwz %r4,%r1,216
	andi %r11,%r4,255
	callr %r10,saveg_write8
;P_ArchiveThinkers+384
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
;P_ArchiveThinkers+400
	callr %r10,saveg_write8
	srliw %r11,%r4,24
	callr %r10,saveg_write8
;P_ArchiveThinkers+416
	lddz %r1,%r1,8
	bdeq %r1,%r5,P_ArchiveThinkers+2064
	nop 0
;P_ArchiveThinkers+432
	lddz %r3,%r1,16
	bdne %r3,%r6,P_ArchiveThinkers+416
	mov %r11,%r2
;P_ArchiveThinkers+448
	callr %r10,saveg_write8
	lddzr %r11,save_stream
	callr %r10,ftell
;P_ArchiveThinkers+464
	subfiws %r3,%r11,0
	andi %r4,%r3,3
	bweq %r4,%gz,P_ArchiveThinkers+528
;P_ArchiveThinkers+480
	mov %r9,%gz
	nop 0
	nop 0
;P_ArchiveThinkers+496
	mov %r11,%gz
	callr %r10,saveg_write8
	addiws %r9,%r9,1
;P_ArchiveThinkers+512
	bwltu %r9,%r4,P_ArchiveThinkers+496
	nop 0
	nop 0
;P_ArchiveThinkers+528
	mov %r11,%r1
	callr %r10,saveg_write_thinker_t
	ldwz %r4,%r1,24
;P_ArchiveThinkers+544
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+560
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+576
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,28
;P_ArchiveThinkers+592
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+608
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+624
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,32
;P_ArchiveThinkers+640
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+656
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+672
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,40
;P_ArchiveThinkers+688
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+704
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+720
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,48
;P_ArchiveThinkers+736
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+752
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+768
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,56
;P_ArchiveThinkers+784
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+800
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+816
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,60
;P_ArchiveThinkers+832
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+848
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+864
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,64
;P_ArchiveThinkers+880
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+896
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+912
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,72
;P_ArchiveThinkers+928
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+944
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+960
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,80
;P_ArchiveThinkers+976
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+992
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1008
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,88
;P_ArchiveThinkers+1024
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1040
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1056
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,96
;P_ArchiveThinkers+1072
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1088
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1104
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,100
;P_ArchiveThinkers+1120
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1136
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1152
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,104
;P_ArchiveThinkers+1168
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1184
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1200
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,108
;P_ArchiveThinkers+1216
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1232
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1248
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,112
;P_ArchiveThinkers+1264
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1280
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1296
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,116
;P_ArchiveThinkers+1312
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1328
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1344
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,120
;P_ArchiveThinkers+1360
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1376
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1392
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,124
;P_ArchiveThinkers+1408
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1424
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1440
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,128
;P_ArchiveThinkers+1456
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1472
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1488
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,136
;P_ArchiveThinkers+1504
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1520
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1536
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	ldwz %r4,%r1,144
;P_ArchiveThinkers+1552
	andi %r11,%r4,255
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
;P_ArchiveThinkers+1568
	callr %r10,saveg_write8
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1584
	srliw %r11,%r4,24
	callr %r10,saveg_write8
	lddz %r3,%r1,152
;P_ArchiveThinkers+1600
	sub %r3,%r3,%r7
	srli %r3,%r3,3
	nop 2
;P_ArchiveThinkers+1616
	mulwsi.l %r4,%r3,-858993459
	andi %r11,%r4,255
;P_ArchiveThinkers+1632
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1648
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1664
	callr %r10,saveg_write8
	ldwz %r4,%r1,160
	andi %r11,%r4,255
;P_ArchiveThinkers+1680
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1696
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1712
	callr %r10,saveg_write8
	ldwz %r4,%r1,164
	andi %r11,%r4,255
;P_ArchiveThinkers+1728
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1744
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1760
	callr %r10,saveg_write8
	ldwz %r4,%r1,168
	andi %r11,%r4,255
;P_ArchiveThinkers+1776
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1792
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1808
	callr %r10,saveg_write8
	ldwz %r4,%r1,172
	andi %r11,%r4,255
;P_ArchiveThinkers+1824
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1840
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1856
	callr %r10,saveg_write8
	ldwz %r4,%r1,176
	andi %r11,%r4,255
;P_ArchiveThinkers+1872
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1888
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1904
	callr %r10,saveg_write8
	ldwz %r4,%r1,184
	andi %r11,%r4,255
;P_ArchiveThinkers+1920
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1936
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+1952
	callr %r10,saveg_write8
	ldwz %r4,%r1,188
	andi %r11,%r4,255
;P_ArchiveThinkers+1968
	callr %r10,saveg_write8
	slsrli %r11,%r4,48,56
	callr %r10,saveg_write8
;P_ArchiveThinkers+1984
	slsrli %r11,%r4,40,56
	callr %r10,saveg_write8
	srliw %r11,%r4,24
;P_ArchiveThinkers+2000
	callr %r10,saveg_write8
	lddz %r3,%r1,192
	bdne %r3,%gz,P_ArchiveThinkers+48
;P_ArchiveThinkers+2016
	mov %r11,%gz
	callr %r10,saveg_write8
	mov %r11,%gz
;P_ArchiveThinkers+2032
	callr %r10,saveg_write8
	mov %r11,%gz
	callr %r10,saveg_write8
;P_ArchiveThinkers+2048
	mov %r11,%gz
	jmp P_ArchiveThinkers+128
	nop 0
;P_ArchiveThinkers+2064
	mov %r11,%gz
	callr %r10,saveg_write8
	retf 0
;P_UnArchiveThinkers
	allocsp 18,16
	lddzr %r17,thinkercap+8
	ldafr %r2,thinkercap
;P_UnArchiveThinkers+16
	ldar %r6,P_MobjThinker
	bdne %r17,%r2,P_UnArchiveThinkers+48
	jmp P_UnArchiveThinkers+80
;P_UnArchiveThinkers+32
	callr %r16,Z_Free
	mov %r17,%r3
	bdeq %r3,%r2,P_UnArchiveThinkers+80
;P_UnArchiveThinkers+48
	lddz %r1,%r17,16
	lddz %r3,%r17,8
	bdne %r1,%r6,P_UnArchiveThinkers+32
;P_UnArchiveThinkers+64
	callr %r16,P_RemoveMobj
	mov %r17,%r3
	bdne %r3,%r2,P_UnArchiveThinkers+48
;P_UnArchiveThinkers+80
	callr %r17,P_InitThinkers
	ldi %r1,224
	ldi %r2,5
;P_UnArchiveThinkers+96
	ldafr %r7,states
	ldi %r8,40
	ldafr %r9,players
;P_UnArchiveThinkers+112
	ldi %r10,328
	ldafr %r11,mobjinfo
	ldi %r12,92
;P_UnArchiveThinkers+128
	ldafr %r3,.rodata+3525
	callr %r16,saveg_read8
	bwnei %r17,1,P_UnArchiveThinkers+464
;P_UnArchiveThinkers+144
	jmp P_UnArchiveThinkers+496
	nop 0
	nop 0
;P_UnArchiveThinkers+160
	std %r4,%r15,192
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+176
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+192
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+208
	stw %r4,%r15,200
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+224
	callr %r16,saveg_read8
	stb %r17,%r15,205
	stb %r4,%r15,204
;P_UnArchiveThinkers+240
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+256
	stb %r17,%r15,207
	stb %r4,%r15,206
	callr %r16,saveg_read8
;P_UnArchiveThinkers+272
	mov %r4,%r17
	callr %r16,saveg_read8
	stb %r17,%r15,209
;P_UnArchiveThinkers+288
	stb %r4,%r15,208
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+304
	callr %r16,saveg_read8
	stb %r17,%r15,211
	stb %r4,%r15,210
;P_UnArchiveThinkers+320
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+336
	stb %r17,%r15,213
	stb %r4,%r15,212
	callr %r16,saveg_read8
;P_UnArchiveThinkers+352
	callr %r16,saveg_read8
	callr %r16,saveg_read8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+368
	std %gz,%r15,176
	std %gz,%r15,216
	mov %r17,%r15
;P_UnArchiveThinkers+384
	callr %r16,P_SetThingPosition
	ldwz %r4,%r15,128
	muladd %r4,%r4,%r12,%r11
;P_UnArchiveThinkers+400
	std %r4,%r15,136
	lddz %r4,%r15,88
	lddz %r4,%r4,0
;P_UnArchiveThinkers+416
	ldwz %r5,%r4,0
	stw %r5,%r15,96
	ldwz %r4,%r4,4
;P_UnArchiveThinkers+432
	stw %r4,%r15,100
	std %r6,%r15,16
	mov %r17,%r15
;P_UnArchiveThinkers+448
	callr %r16,P_AddThinker
	callr %r16,saveg_read8
	bweqi %r17,1,P_UnArchiveThinkers+496
;P_UnArchiveThinkers+464
	bweq %r17,%gz,P_UnArchiveThinkers+2144
	stw %r17,%sp,0
	mov %r17,%r3
;P_UnArchiveThinkers+480
	callr %r16,I_Error
	callr %r16,saveg_read8
	bwnei %r17,1,P_UnArchiveThinkers+464
;P_UnArchiveThinkers+496
	lddzr %r17,save_stream
	callr %r16,ftell
	subfiws %r4,%r17,0
;P_UnArchiveThinkers+512
	andi %r5,%r4,3
	bweq %r5,%gz,P_UnArchiveThinkers+544
	mov %r13,%gz
;P_UnArchiveThinkers+528
	callr %r16,saveg_read8
	addiws %r13,%r13,1
	bwltu %r13,%r5,P_UnArchiveThinkers+528
;P_UnArchiveThinkers+544
	mov2 %r15,%r16,%r1,%r2
	mov %r17,%gz
	callr %r14,Z_Malloc
;P_UnArchiveThinkers+560
	mov %r17,%r15
	callr %r16,saveg_read_thinker_t
	callr %r16,saveg_read8
;P_UnArchiveThinkers+576
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+592
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+608
	slor %r4,%r5,%r17,24
	stw %r4,%r15,24
	callr %r16,saveg_read8
;P_UnArchiveThinkers+624
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+640
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+656
	slor %r4,%r5,%r17,24
	stw %r4,%r15,28
	callr %r16,saveg_read8
;P_UnArchiveThinkers+672
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+688
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+704
	slor %r4,%r5,%r17,24
	stw %r4,%r15,32
	callr %r16,saveg_read8
;P_UnArchiveThinkers+720
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+736
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+752
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
	std %r4,%r15,40
;P_UnArchiveThinkers+768
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+784
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
;P_UnArchiveThinkers+800
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
;P_UnArchiveThinkers+816
	std %r4,%r15,48
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+832
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+848
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+864
	stw %r4,%r15,56
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+880
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+896
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+912
	stw %r4,%r15,60
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+928
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+944
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+960
	stw %r4,%r15,64
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+976
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+992
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1008
	sraiw %r4,%r4,0
	std %r4,%r15,72
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1024
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1040
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1056
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
	std %r4,%r15,80
;P_UnArchiveThinkers+1072
	callr %r16,saveg_read8
	mov %r4,%r17
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1088
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
;P_UnArchiveThinkers+1104
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
;P_UnArchiveThinkers+1120
	std %r4,%r15,88
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1136
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1152
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1168
	stw %r4,%r15,96
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1184
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1200
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1216
	stw %r4,%r15,100
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1232
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1248
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1264
	stw %r4,%r15,104
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1280
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1296
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1312
	stw %r4,%r15,108
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1328
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1344
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1360
	stw %r4,%r15,112
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1376
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1392
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1408
	stw %r4,%r15,116
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1424
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1440
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1456
	stw %r4,%r15,120
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1472
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1488
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1504
	stw %r4,%r15,124
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1520
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1536
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1552
	stw %r4,%r15,128
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1568
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1584
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1600
	sraiw %r4,%r4,0
	std %r4,%r15,136
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1616
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1632
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1648
	slor %r4,%r5,%r17,24
	stw %r4,%r15,144
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1664
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1680
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1696
	slor %r4,%r5,%r17,24
	sraiw %r4,%r4,0
	muladd %r4,%r4,%r8,%r7
;P_UnArchiveThinkers+1712
	std %r4,%r15,152
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1728
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1744
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1760
	stw %r4,%r15,160
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1776
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1792
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1808
	stw %r4,%r15,164
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1824
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1840
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1856
	stw %r4,%r15,168
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1872
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1888
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1904
	stw %r4,%r15,172
	callr %r16,saveg_read8
	mov %r4,%r17
;P_UnArchiveThinkers+1920
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1936
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
	slor %r4,%r5,%r17,24
;P_UnArchiveThinkers+1952
	sraiw %r4,%r4,0
	std %r4,%r15,176
	callr %r16,saveg_read8
;P_UnArchiveThinkers+1968
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+1984
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2000
	slor %r4,%r5,%r17,24
	stw %r4,%r15,184
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2016
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+2032
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2048
	slor %r4,%r5,%r17,24
	stw %r4,%r15,188
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2064
	mov %r4,%r17
	callr %r16,saveg_read8
	slor %r5,%r4,%r17,8
;P_UnArchiveThinkers+2080
	callr %r16,saveg_read8
	slor %r5,%r5,%r17,16
	callr %r16,saveg_read8
;P_UnArchiveThinkers+2096
	slor %r5,%r5,%r17,24
	mov %r4,%gz
	bwlti %r5,1,P_UnArchiveThinkers+160
;P_UnArchiveThinkers+2112
	addiwz %r5,%r5,-1
	muladd %r4,%r5,%r10,%r9
	muli %r5,%r5,328
;P_UnArchiveThinkers+2128
	stdx.xd %r15,%r5,%r9,0,0
	jmp P_UnArchiveThinkers+160
	nop 0
;P_UnArchiveThinkers+2144
	retf 16
	nop 0
	nop 0
;P_ArchiveSpecials
	alloc 22
	lddzr %r1,thinkercap+8
	ldafr %r9,thinkercap
;P_ArchiveSpecials+16
	bdeq %r1,%r9,P_ArchiveSpecials+2560
	ldafr %r10,activeceilings
	ldar %r11,T_MoveCeiling
;P_ArchiveSpecials+32
	ldar %r12,T_VerticalDoor
	ldi %r2,1
	ldar %r13,T_MoveFloor
;P_ArchiveSpecials+48
	ldi %r3,2
	ldar %r14,T_PlatRaise
	ldi %r4,3
;P_ArchiveSpecials+64
	ldar %r15,T_LightFlash
	ldi %r5,4
	ldar %r16,T_StrobeFlash
;P_ArchiveSpecials+80
	ldi %r6,5
	ldar %r17,T_Glow
	ldi %r7,6
;P_ArchiveSpecials+96
	jmp P_ArchiveSpecials+144
	nop 0
	nop 0
;P_ArchiveSpecials+112
	mov %r21,%r1
	callr %r20,saveg_write_ceiling_t
	nop 0
;P_ArchiveSpecials+128
	lddz %r1,%r1,8
	bdeq %r1,%r9,P_ArchiveSpecials+2560
	nop 0
;P_ArchiveSpecials+144
	lddz %r8,%r1,16
	bdeq %r8,%gz,P_ArchiveSpecials+464
	bdeq %r8,%r11,P_ArchiveSpecials+512
;P_ArchiveSpecials+160
	bdeq %r8,%r12,P_ArchiveSpecials+672
	bdeq %r8,%r13,P_ArchiveSpecials+1024
	bdeq %r8,%r14,P_ArchiveSpecials+1504
;P_ArchiveSpecials+176
	bdeq %r8,%r15,P_ArchiveSpecials+2112
	bdeq %r8,%r16,P_ArchiveSpecials+2192
	bdne %r8,%r17,P_ArchiveSpecials+128
;P_ArchiveSpecials+192
	mov %r21,%r7
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+208
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+224
	bweq %r18,%gz,P_ArchiveSpecials+272
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+240
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+256
	bwltu %r19,%r18,P_ArchiveSpecials+240
	nop 0
	nop 0
;P_ArchiveSpecials+272
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	lddz %r8,%r1,24
;P_ArchiveSpecials+288
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+304
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+320
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+336
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,32
;P_ArchiveSpecials+352
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+368
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+384
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,36
;P_ArchiveSpecials+400
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+416
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+432
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+448
	jmp P_ArchiveSpecials+1456
	nop 0
	nop 0
;P_ArchiveSpecials+464
	mov %r8,%gz
	nop 0
	nop 0
;P_ArchiveSpecials+480
	lddzx.xd %r18,%r8,%r10,0,0
	bdeq %r18,%r1,P_ArchiveSpecials+592
	addi %r8,%r8,8
;P_ArchiveSpecials+496
	bdnei %r8,240,P_ArchiveSpecials+480
	jmp P_ArchiveSpecials+128
	nop 0
;P_ArchiveSpecials+512
	mov %r21,%gz
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+528
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+544
	bweq %r18,%gz,P_ArchiveSpecials+112
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+560
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+576
	bwltu %r19,%r18,P_ArchiveSpecials+560
	jmp P_ArchiveSpecials+112
	nop 0
;P_ArchiveSpecials+592
	mov %r21,%gz
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+608
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+624
	bweq %r18,%gz,P_ArchiveSpecials+112
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+640
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+656
	bwltu %r19,%r18,P_ArchiveSpecials+640
	jmp P_ArchiveSpecials+112
	nop 0
;P_ArchiveSpecials+672
	mov %r21,%r2
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+688
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+704
	bweq %r18,%gz,P_ArchiveSpecials+752
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+720
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+736
	bwltu %r19,%r18,P_ArchiveSpecials+720
	nop 0
	nop 0
;P_ArchiveSpecials+752
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	ldwz %r18,%r1,24
;P_ArchiveSpecials+768
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+784
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+800
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	lddz %r8,%r1,32
;P_ArchiveSpecials+816
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+832
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+848
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+864
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+880
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+896
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+912
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+928
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+944
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+960
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,48
;P_ArchiveSpecials+976
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+992
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1008
	srliw %r21,%r18,24
	jmp P_ArchiveSpecials+1392
	nop 0
;P_ArchiveSpecials+1024
	mov %r21,%r3
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+1040
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+1056
	bweq %r18,%gz,P_ArchiveSpecials+1104
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+1072
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+1088
	bwltu %r19,%r18,P_ArchiveSpecials+1072
	nop 0
	nop 0
;P_ArchiveSpecials+1104
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	ldwz %r18,%r1,24
;P_ArchiveSpecials+1120
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1136
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1152
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,28
;P_ArchiveSpecials+1168
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1184
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1200
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	lddz %r8,%r1,32
;P_ArchiveSpecials+1216
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+1232
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1248
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+1264
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+1280
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1296
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1312
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+1328
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1344
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1360
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldhz %r18,%r1,48
;P_ArchiveSpecials+1376
	andi %r21,%r18,255
	callr %r20,saveg_write8
	srliw %r21,%r18,8
;P_ArchiveSpecials+1392
	callr %r20,saveg_write8
	ldwz %r18,%r1,52
	andi %r21,%r18,255
;P_ArchiveSpecials+1408
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1424
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
	srliw %r21,%r18,24
;P_ArchiveSpecials+1440
	callr %r20,saveg_write8
	ldwz %r18,%r1,56
	nop 0
;P_ArchiveSpecials+1456
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1472
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1488
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	jmp P_ArchiveSpecials+128
;P_ArchiveSpecials+1504
	mov %r21,%r4
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+1520
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+1536
	bweq %r18,%gz,P_ArchiveSpecials+1584
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+1552
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+1568
	bwltu %r19,%r18,P_ArchiveSpecials+1552
	nop 0
	nop 0
;P_ArchiveSpecials+1584
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	lddz %r8,%r1,24
;P_ArchiveSpecials+1600
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+1616
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1632
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+1648
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,32
;P_ArchiveSpecials+1664
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1680
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1696
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,36
;P_ArchiveSpecials+1712
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1728
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1744
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+1760
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1776
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1792
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+1808
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1824
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1840
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,48
;P_ArchiveSpecials+1856
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1872
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1888
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,52
;P_ArchiveSpecials+1904
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1920
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1936
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,56
;P_ArchiveSpecials+1952
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+1968
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+1984
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,60
;P_ArchiveSpecials+2000
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2016
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2032
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,64
;P_ArchiveSpecials+2048
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2064
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2080
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,68
;P_ArchiveSpecials+2096
	jmp P_ArchiveSpecials+1456
	nop 0
	nop 0
;P_ArchiveSpecials+2112
	mov %r21,%r5
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+2128
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+2144
	bweq %r18,%gz,P_ArchiveSpecials+2272
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+2160
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+2176
	bwltu %r19,%r18,P_ArchiveSpecials+2160
	jmp P_ArchiveSpecials+2272
	nop 0
;P_ArchiveSpecials+2192
	mov %r21,%r6
	callr %r20,saveg_write8
	lddzr %r21,save_stream
;P_ArchiveSpecials+2208
	callr %r20,ftell
	subfiws %r8,%r21,0
	andi %r18,%r8,3
;P_ArchiveSpecials+2224
	bweq %r18,%gz,P_ArchiveSpecials+2272
	mov %r19,%gz
	nop 0
;P_ArchiveSpecials+2240
	mov %r21,%gz
	callr %r20,saveg_write8
	addiws %r19,%r19,1
;P_ArchiveSpecials+2256
	bwltu %r19,%r18,P_ArchiveSpecials+2240
	nop 0
	nop 0
;P_ArchiveSpecials+2272
	mov %r21,%r1
	callr %r20,saveg_write_thinker_t
	lddz %r8,%r1,24
;P_ArchiveSpecials+2288
	lddzr %r18,sectors
	sub %r18,%r8,%r18
	slsrli %r21,%r18,49,56
;P_ArchiveSpecials+2304
	callr %r20,saveg_write8
	slsrli %r21,%r18,41,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2320
	slsrli %r21,%r18,33,56
	callr %r20,saveg_write8
	srli %r8,%r18,31
;P_ArchiveSpecials+2336
	andi %r21,%r8,255
	callr %r20,saveg_write8
	ldwz %r18,%r1,32
;P_ArchiveSpecials+2352
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2368
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2384
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,36
;P_ArchiveSpecials+2400
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2416
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2432
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,40
;P_ArchiveSpecials+2448
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2464
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2480
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,44
;P_ArchiveSpecials+2496
	andi %r21,%r18,255
	callr %r20,saveg_write8
	slsrli %r21,%r18,48,56
;P_ArchiveSpecials+2512
	callr %r20,saveg_write8
	slsrli %r21,%r18,40,56
	callr %r20,saveg_write8
;P_ArchiveSpecials+2528
	srliw %r21,%r18,24
	callr %r20,saveg_write8
	ldwz %r18,%r1,48
;P_ArchiveSpecials+2544
	jmp P_ArchiveSpecials+1456
	nop 0
	nop 0
;P_ArchiveSpecials+2560
	ldi %r21,7
	callr %r20,saveg_write8
	retf 0
;saveg_write_ceiling_t
	alloc 6
	mov %r5,%r1
	callr %r4,saveg_write_thinker_t
;saveg_write_ceiling_t+16
	ldwz %r3,%r1,24
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+32
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+48
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+64
	lddz %r2,%r1,32
	lddzr %r3,sectors
	sub %r3,%r2,%r3
;saveg_write_ceiling_t+80
	slsrli %r5,%r3,49,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,41,56
;saveg_write_ceiling_t+96
	callr %r4,saveg_write8
	slsrli %r5,%r3,33,56
	callr %r4,saveg_write8
;saveg_write_ceiling_t+112
	srli %r2,%r3,31
	andi %r5,%r2,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+128
	ldwz %r3,%r1,40
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+144
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+160
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+176
	ldwz %r3,%r1,44
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+192
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+208
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+224
	ldwz %r3,%r1,48
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+240
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+256
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+272
	ldwz %r3,%r1,52
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+288
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+304
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+320
	ldwz %r3,%r1,56
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+336
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+352
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+368
	ldwz %r3,%r1,60
	andi %r5,%r3,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+384
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r3,40,56
;saveg_write_ceiling_t+400
	callr %r4,saveg_write8
	srliw %r5,%r3,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+416
	ldwz %r2,%r1,64
	andi %r5,%r2,255
	callr %r4,saveg_write8
;saveg_write_ceiling_t+432
	slsrli %r5,%r2,48,56
	callr %r4,saveg_write8
	slsrli %r5,%r2,40,56
;saveg_write_ceiling_t+448
	callr %r4,saveg_write8
	srliw %r5,%r2,24
	callr %r4,saveg_write8
;saveg_write_ceiling_t+464
	retf 0
	nop 0
	nop 0
;P_UnArchiveSpecials
	allocsp 22,16
	ldafr %r1,.rodata+18178
	ldafr %r9,.rodata+36176
;P_UnArchiveSpecials+16
	ldi %r2,72
	ldi %r3,5
	ldar %r10,T_MoveCeiling
;P_UnArchiveSpecials+32
	ldi %r4,64
	ldar %r11,T_VerticalDoor
	ldar %r12,T_MoveFloor
;P_UnArchiveSpecials+48
	ldar %r13,T_PlatRaise
	ldi %r5,56
	ldar %r14,T_LightFlash
;P_UnArchiveSpecials+64
	ldar %r15,T_StrobeFlash
	ldi %r6,48
	ldar %r16,T_Glow
;P_UnArchiveSpecials+80
	jmp P_UnArchiveSpecials+448
	nop 0
	nop 0
;P_UnArchiveSpecials+96
	mov2 %r19,%r20,%r5,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+112
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+128
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+144
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+160
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+176
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+192
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+208
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+224
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+240
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+256
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+272
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+288
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+304
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+320
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+336
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+352
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+368
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+384
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+400
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+416
	stw %r7,%r19,48
	std %r14,%r19,16
	nop 0
;P_UnArchiveSpecials+432
	mov %r21,%r19
	callr %r20,P_AddThinker
	nop 0
;P_UnArchiveSpecials+448
	callr %r20,saveg_read8
	bwgeui %r21,8,P_UnArchiveSpecials+2272
	srliw %r7,%r21,0
;P_UnArchiveSpecials+464
	jmpt %r9,%r7
	nop 0
	nop 0
;P_UnArchiveSpecials+480
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+496
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+528
	mov %r17,%gz
;P_UnArchiveSpecials+512
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+512
;P_UnArchiveSpecials+528
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+544
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+560
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+576
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+592
	slor %r7,%r8,%r21,24
	stw %r7,%r19,24
	callr %r20,saveg_read8
;P_UnArchiveSpecials+608
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+624
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+640
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+656
	std %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+672
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+688
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+704
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+720
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+736
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+752
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+768
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+784
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+800
	stw %r7,%r19,48
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+816
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+832
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+848
	stw %r7,%r19,52
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+864
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+880
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+896
	stw %r7,%r19,56
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+912
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+928
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+944
	stw %r7,%r19,60
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+960
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+976
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+992
	stw %r7,%r19,64
	lddz %r7,%r19,32
	std %r19,%r7,104
;P_UnArchiveSpecials+1008
	lddz %r7,%r19,16
	bdeq %r7,%gz,P_UnArchiveSpecials+1024
	std %r10,%r19,16
;P_UnArchiveSpecials+1024
	mov %r21,%r19
	callr %r20,P_AddThinker
	mov %r21,%r19
;P_UnArchiveSpecials+1040
	callr %r20,P_AddActiveCeiling
	jmp P_UnArchiveSpecials+448
	nop 0
;P_UnArchiveSpecials+1056
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+1072
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+96
	mov %r17,%gz
;P_UnArchiveSpecials+1088
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+1088
;P_UnArchiveSpecials+1104
	jmp P_UnArchiveSpecials+96
	nop 0
	nop 0
;P_UnArchiveSpecials+1120
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+1136
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+1168
	mov %r17,%gz
;P_UnArchiveSpecials+1152
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+1152
;P_UnArchiveSpecials+1168
	mov2 %r19,%r20,%r4,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+1184
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1200
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1216
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1232
	slor %r7,%r8,%r21,24
	stw %r7,%r19,24
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1248
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1264
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1280
	slor %r7,%r8,%r21,24
	stw %r7,%r19,28
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1296
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1312
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1328
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+1344
	std %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1360
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1376
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1392
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1408
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1424
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1440
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1456
	callr %r20,saveg_read8
	slor %r7,%r7,%r21,8
	sth %r7,%r19,48
;P_UnArchiveSpecials+1472
	callr %r20,saveg_read8
	mov %r7,%r21
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1488
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
;P_UnArchiveSpecials+1504
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
	stw %r7,%r19,52
;P_UnArchiveSpecials+1520
	callr %r20,saveg_read8
	mov %r7,%r21
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1536
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
;P_UnArchiveSpecials+1552
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
	stw %r7,%r19,56
;P_UnArchiveSpecials+1568
	lddz %r7,%r19,32
	std %r19,%r7,104
	std %r12,%r19,16
;P_UnArchiveSpecials+1584
	jmp P_UnArchiveSpecials+432
	nop 0
	nop 0
;P_UnArchiveSpecials+1600
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+1616
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+1648
	mov %r17,%gz
;P_UnArchiveSpecials+1632
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+1632
;P_UnArchiveSpecials+1648
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+1664
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1680
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+1696
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1712
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+1728
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1744
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1760
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1776
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1792
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1808
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1824
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1840
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1856
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1872
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1888
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1904
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1920
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1936
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+1952
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+1968
	stw %r7,%r19,48
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+1984
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2000
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2016
	stw %r7,%r19,52
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2032
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2048
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2064
	stw %r7,%r19,56
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2080
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2096
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2112
	stw %r7,%r19,60
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2128
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2144
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2160
	stw %r7,%r19,64
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2176
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2192
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2208
	stw %r7,%r19,68
	lddz %r7,%r19,24
	std %r19,%r7,104
;P_UnArchiveSpecials+2224
	lddz %r7,%r19,16
	bdeq %r7,%gz,P_UnArchiveSpecials+2240
	std %r13,%r19,16
;P_UnArchiveSpecials+2240
	mov %r21,%r19
	callr %r20,P_AddThinker
	mov %r21,%r19
;P_UnArchiveSpecials+2256
	callr %r20,P_AddActivePlat
	jmp P_UnArchiveSpecials+448
	nop 0
;P_UnArchiveSpecials+2272
	stw %r21,%sp,0
	mov %r21,%r1
	callr %r20,I_Error
;P_UnArchiveSpecials+2288
	jmp P_UnArchiveSpecials+448
	nop 0
	nop 0
;P_UnArchiveSpecials+2304
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+2320
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+2352
	mov %r17,%gz
;P_UnArchiveSpecials+2336
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+2336
;P_UnArchiveSpecials+2352
	mov2 %r19,%r20,%r4,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+2368
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2384
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+2400
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2416
	slor %r7,%r8,%r21,24
	stw %r7,%r19,24
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2432
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+2448
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2464
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+2480
	std %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2496
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2512
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2528
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2544
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2560
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2576
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2592
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2608
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2624
	stw %r7,%r19,48
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2640
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2656
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2672
	stw %r7,%r19,52
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2688
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2704
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2720
	stw %r7,%r19,56
	lddz %r7,%r19,32
	std %r19,%r7,104
;P_UnArchiveSpecials+2736
	std %r11,%r19,16
	jmp P_UnArchiveSpecials+432
	nop 0
;P_UnArchiveSpecials+2752
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+2768
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+2800
	mov %r17,%gz
;P_UnArchiveSpecials+2784
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+2784
;P_UnArchiveSpecials+2800
	mov2 %r19,%r20,%r5,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+2816
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2832
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+2848
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2864
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+2880
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2896
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2912
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2928
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2944
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+2960
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+2976
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+2992
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3008
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3024
	stw %r7,%r19,40
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3040
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3056
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3072
	stw %r7,%r19,44
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3088
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3104
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3120
	stw %r7,%r19,48
	std %r15,%r19,16
	jmp P_UnArchiveSpecials+432
;P_UnArchiveSpecials+3136
	lddzr %r21,save_stream
	callr %r20,ftell
	subfiws %r7,%r21,0
;P_UnArchiveSpecials+3152
	andi %r8,%r7,3
	bweq %r8,%gz,P_UnArchiveSpecials+3184
	mov %r17,%gz
;P_UnArchiveSpecials+3168
	callr %r20,saveg_read8
	addiws %r17,%r17,1
	bwltu %r17,%r8,P_UnArchiveSpecials+3168
;P_UnArchiveSpecials+3184
	mov2 %r19,%r20,%r6,%r3
	mov %r21,%gz
	callr %r18,Z_Malloc
;P_UnArchiveSpecials+3200
	mov %r21,%r19
	callr %r20,saveg_read_thinker_t
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3216
	mov %r7,%r21
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
;P_UnArchiveSpecials+3232
	callr %r20,saveg_read8
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3248
	lddzr %r7,sectors
	slor %r8,%r8,%r21,24
	ldax.xw %r7,%r7,%r8,7,0
;P_UnArchiveSpecials+3264
	std %r7,%r19,24
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3280
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3296
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3312
	stw %r7,%r19,32
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3328
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3344
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3360
	stw %r7,%r19,36
	callr %r20,saveg_read8
	mov %r7,%r21
;P_UnArchiveSpecials+3376
	callr %r20,saveg_read8
	slor %r8,%r7,%r21,8
	callr %r20,saveg_read8
;P_UnArchiveSpecials+3392
	slor %r8,%r8,%r21,16
	callr %r20,saveg_read8
	slor %r7,%r8,%r21,24
;P_UnArchiveSpecials+3408
	stw %r7,%r19,40
	std %r16,%r19,16
	jmp P_UnArchiveSpecials+432
;P_UnArchiveSpecials+3424
	retf 16
	nop 0
	nop 0
;saveg_write_thinker_t
	alloc 6
	ldwz %r3,%r1,0
	andi %r5,%r3,255
;saveg_write_thinker_t+16
	callr %r4,saveg_write8
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
;saveg_write_thinker_t+32
	slsrli %r5,%r3,40,56
	callr %r4,saveg_write8
	srliw %r5,%r3,24
;saveg_write_thinker_t+48
	callr %r4,saveg_write8
	ldwz %r3,%r1,8
	andi %r5,%r3,255
;saveg_write_thinker_t+64
	callr %r4,saveg_write8
	slsrli %r5,%r3,48,56
	callr %r4,saveg_write8
;saveg_write_thinker_t+80
	slsrli %r5,%r3,40,56
	callr %r4,saveg_write8
	srliw %r5,%r3,24
;saveg_write_thinker_t+96
	callr %r4,saveg_write8
	ldwz %r2,%r1,16
	andi %r5,%r2,255
;saveg_write_thinker_t+112
	callr %r4,saveg_write8
	slsrli %r5,%r2,48,56
	callr %r4,saveg_write8
;saveg_write_thinker_t+128
	slsrli %r5,%r2,40,56
	callr %r4,saveg_write8
	srliw %r5,%r2,24
;saveg_write_thinker_t+144
	callr %r4,saveg_write8
	retf 0
	nop 0
;saveg_read_thinker_t
	alloc 6
	callr %r4,saveg_read8
	mov %r2,%r5
;saveg_read_thinker_t+16
	callr %r4,saveg_read8
	slor %r3,%r2,%r5,8
	callr %r4,saveg_read8
;saveg_read_thinker_t+32
	slor %r3,%r3,%r5,16
	callr %r4,saveg_read8
	slor %r2,%r3,%r5,24
;saveg_read_thinker_t+48
	sraiw %r2,%r2,0
	std %r2,%r1,0
	callr %r4,saveg_read8
;saveg_read_thinker_t+64
	mov %r2,%r5
	callr %r4,saveg_read8
	slor %r3,%r2,%r5,8
;saveg_read_thinker_t+80
	callr %r4,saveg_read8
	slor %r3,%r3,%r5,16
	callr %r4,saveg_read8
;saveg_read_thinker_t+96
	slor %r2,%r3,%r5,24
	sraiw %r2,%r2,0
	std %r2,%r1,8
;saveg_read_thinker_t+112
	callr %r4,saveg_read8
	mov %r2,%r5
	callr %r4,saveg_read8
;saveg_read_thinker_t+128
	slor %r3,%r2,%r5,8
	callr %r4,saveg_read8
	slor %r3,%r3,%r5,16
;saveg_read_thinker_t+144
	callr %r4,saveg_read8
	slor %r2,%r3,%r5,24
	sraiw %r2,%r2,0
;saveg_read_thinker_t+160
	std %r2,%r1,16
	retf 0
	nop 0
;P_LoadVertexes
	alloc 10
	mov %r9,%r1
	callr %r8,W_LumpLength
;P_LoadVertexes+16
	sraiw %r2,%r9,2
	stwr %r2,numvertexes
	slliw %r7,%r2,3
;P_LoadVertexes+32
	ldi %r8,5
	mov %r9,%gz
	callr %r6,Z_Malloc
;P_LoadVertexes+48
	stdr %r7,vertexes
	ldi %r9,1
	mov %r8,%r1
;P_LoadVertexes+64
	callr %r7,W_CacheLumpNum
	ldwzr %r2,numvertexes
	bwlti %r2,1,P_LoadVertexes+176
;P_LoadVertexes+80
	mov %r2,%gz
	lddzr %r3,vertexes
	nop 0
;P_LoadVertexes+96
	ldbz %r4,%r8,1
	ldbz %r5,%r8,0
	slliw %r4,%r4,24
;P_LoadVertexes+112
	slor %r4,%r4,%r5,16
	stw %r4,%r3,0
	ldbz %r4,%r8,3
;P_LoadVertexes+128
	ldbz %r5,%r8,2
	slliw %r4,%r4,24
	slor %r4,%r4,%r5,16
;P_LoadVertexes+144
	stw %r4,%r3,4
	ldwzr %r4,numvertexes
	addiws %r2,%r2,1
;P_LoadVertexes+160
	addi %r3,%r3,8
	addi %r8,%r8,4
	bwlt %r2,%r4,P_LoadVertexes+96
;P_LoadVertexes+176
	mov %r9,%r1
	callr %r8,W_ReleaseLumpNum
	retf 0
;GetSectorAtNullAddress
	alloc 6
	ldbzr %r1,GetSectorAtNullAddress.null_sector_is_initialized
	bbsi %r1,0,GetSectorAtNullAddress+160
;GetSectorAtNullAddress+16
	stdr %gz,GetSectorAtNullAddress.null_sector+120
	stdr %gz,GetSectorAtNullAddress.null_sector+112
	stdr %gz,GetSectorAtNullAddress.null_sector+104
;GetSectorAtNullAddress+32
	stdr %gz,GetSectorAtNullAddress.null_sector+96
	stdr %gz,GetSectorAtNullAddress.null_sector+88
	stdr %gz,GetSectorAtNullAddress.null_sector+80
;GetSectorAtNullAddress+48
	stdr %gz,GetSectorAtNullAddress.null_sector+72
	stdr %gz,GetSectorAtNullAddress.null_sector+64
	stdr %gz,GetSectorAtNullAddress.null_sector+56
;GetSectorAtNullAddress+64
	stdr %gz,GetSectorAtNullAddress.null_sector+48
	stdr %gz,GetSectorAtNullAddress.null_sector+40
	stdr %gz,GetSectorAtNullAddress.null_sector+32
;GetSectorAtNullAddress+80
	stdr %gz,GetSectorAtNullAddress.null_sector+24
	stdr %gz,GetSectorAtNullAddress.null_sector+16
	stdr %gz,GetSectorAtNullAddress.null_sector+8
;GetSectorAtNullAddress+96
	stdr %gz,GetSectorAtNullAddress.null_sector
	ldafr %r4,GetSectorAtNullAddress.null_sector
	ldi %r1,4
;GetSectorAtNullAddress+112
	mov2 %r3,%r5,%gz,%r1
	callr %r2,I_GetMemoryValue
	ldafr %r4,GetSectorAtNullAddress.null_sector+4
;GetSectorAtNullAddress+128
	mov2 %r3,%r5,%r1,%r1
	callr %r2,I_GetMemoryValue
	ldi %r1,1
;GetSectorAtNullAddress+144
	stbr %r1,GetSectorAtNullAddress.null_sector_is_initialized
	nop 0
	nop 0
;GetSectorAtNullAddress+160
	ldafr %r1,GetSectorAtNullAddress.null_sector
	retf 0
	nop 0
;P_LoadSegs
	alloc 24
	mov %r23,%r1
	callr %r22,W_LumpLength
;P_LoadSegs+16
	sraiw %r2,%r23,0
	divui %r2,%r2,12
	stwr %r2,numsegs
;P_LoadSegs+32
	mulwsi %r21,%r2,56
	ldi %r22,5
	mov %r23,%gz
;P_LoadSegs+48
	callr %r20,Z_Malloc
	ldwsr %r2,numsegs
	stdr %r21,segs
;P_LoadSegs+64
	muli %r23,%r2,56
	mov %r22,%gz
	callr %r20,memset
;P_LoadSegs+80
	ldi %r2,1
	mov2 %r22,%r23,%r1,%r2
	callr %r21,W_CacheLumpNum
;P_LoadSegs+96
	ldwzr %r7,numsegs
	bwlti %r7,1,P_LoadSegs+656
	mov2 %r3,%r8,%r22,%gz
;P_LoadSegs+112
	lddzr %r9,segs
	lddzr %r12,vertexes
	ldi %r10,88
;P_LoadSegs+128
	ldi %r11,24
	ldafr %r4,GetSectorAtNullAddress.null_sector
	ldi %r5,4
;P_LoadSegs+144
	ldafr %r6,GetSectorAtNullAddress.null_sector+4
	jmp P_LoadSegs+208
	nop 0
;P_LoadSegs+160
	mov %r13,%gz
	nop 0
	nop 0
;P_LoadSegs+176
	std %r13,%r9,48
	addiws %r8,%r8,1
	addi %r9,%r9,56
;P_LoadSegs+192
	addi %r3,%r3,12
	bwle %r7,%r8,P_LoadSegs+656
	nop 0
;P_LoadSegs+208
	ldbs %r13,%r3,1
	ldbz %r14,%r3,0
	slli %r13,%r13,11
;P_LoadSegs+224
	slor %r13,%r13,%r14,3
	add %r12,%r12,%r13
	std %r12,%r9,0
;P_LoadSegs+240
	ldbs %r13,%r3,3
	ldbz %r14,%r3,2
	lddzr %r12,vertexes
;P_LoadSegs+256
	slli %r13,%r13,11
	slor %r13,%r13,%r14,3
	add %r13,%r12,%r13
;P_LoadSegs+272
	std %r13,%r9,8
	ldbz %r13,%r3,5
	ldbz %r14,%r3,4
;P_LoadSegs+288
	slliw %r13,%r13,24
	slor %r13,%r13,%r14,16
	stw %r13,%r9,20
;P_LoadSegs+304
	ldbz %r13,%r3,11
	ldbz %r14,%r3,10
	slliw %r13,%r13,24
;P_LoadSegs+320
	slor %r13,%r13,%r14,16
	stw %r13,%r9,16
	ldbs %r13,%r3,7
;P_LoadSegs+336
	ldbz %r14,%r3,6
	lddzr %r16,lines
	slor %r13,%r14,%r13,8
;P_LoadSegs+352
	muladd %r17,%r13,%r10,%r16
	std %r17,%r9,32
	ldbz %r14,%r3,9
;P_LoadSegs+368
	ldbz %r15,%r3,8
	muli %r18,%r13,88
	slor %r14,%r15,%r14,8
;P_LoadSegs+384
	lddzr %r13,sides
	ldax.xd %r15,%r16,%r18,0,30
	slsrai %r19,%r14,48,48
;P_LoadSegs+400
	ldhsx.xd %r17,%r17,%r19,1,30
	muli %r19,%r17,24
	muladd %r17,%r17,%r11,%r13
;P_LoadSegs+416
	std %r17,%r9,24
	lddzx.xd %r17,%r13,%r19,0,16
	std %r17,%r9,40
;P_LoadSegs+432
	ldbzx.xd %r16,%r16,%r18,0,24
	bbci %r16,2,P_LoadSegs+160
	xori %r14,%r14,1
;P_LoadSegs+448
	slsrai %r14,%r14,48,48
	ldhsx.xd %r14,%r15,%r14,1,0
	bwlt %r14,%gz,P_LoadSegs+496
;P_LoadSegs+464
	ldwzr %r15,numsides
	bwle %r15,%r14,P_LoadSegs+496
	srliw %r14,%r14,0
;P_LoadSegs+480
	muli %r14,%r14,24
	lddzx.xd %r13,%r13,%r14,0,16
	jmp P_LoadSegs+176
;P_LoadSegs+496
	ldbzr %r14,GetSectorAtNullAddress.null_sector_is_initialized
	mov %r13,%r4
	bbsi %r14,0,P_LoadSegs+176
;P_LoadSegs+512
	stdr %gz,GetSectorAtNullAddress.null_sector+120
	stdr %gz,GetSectorAtNullAddress.null_sector+112
	stdr %gz,GetSectorAtNullAddress.null_sector+104
;P_LoadSegs+528
	stdr %gz,GetSectorAtNullAddress.null_sector+96
	stdr %gz,GetSectorAtNullAddress.null_sector+88
	stdr %gz,GetSectorAtNullAddress.null_sector+80
;P_LoadSegs+544
	stdr %gz,GetSectorAtNullAddress.null_sector+72
	stdr %gz,GetSectorAtNullAddress.null_sector+64
	stdr %gz,GetSectorAtNullAddress.null_sector+56
;P_LoadSegs+560
	stdr %gz,GetSectorAtNullAddress.null_sector+48
	stdr %gz,GetSectorAtNullAddress.null_sector+40
	stdr %gz,GetSectorAtNullAddress.null_sector+32
;P_LoadSegs+576
	stdr %gz,GetSectorAtNullAddress.null_sector+24
	stdr %gz,GetSectorAtNullAddress.null_sector+16
	stdr %gz,GetSectorAtNullAddress.null_sector+8
;P_LoadSegs+592
	stdr %gz,GetSectorAtNullAddress.null_sector
	mov2 %r21,%r22,%gz,%r4
	mov %r23,%r5
;P_LoadSegs+608
	callr %r20,I_GetMemoryValue
	mov2 %r21,%r22,%r5,%r6
	mov %r23,%r5
;P_LoadSegs+624
	callr %r20,I_GetMemoryValue
	stbr %r2,GetSectorAtNullAddress.null_sector_is_initialized
	lddzr %r12,vertexes
;P_LoadSegs+640
	ldwzr %r7,numsegs
	mov %r13,%r4
	jmp P_LoadSegs+176
;P_LoadSegs+656
	mov %r23,%r1
	callr %r22,W_ReleaseLumpNum
	retf 0
;P_LoadSubsectors
	alloc 12
	mov %r11,%r1
	callr %r10,W_LumpLength
;P_LoadSubsectors+16
	sraiw %r2,%r11,2
	stwr %r2,numsubsectors
	slliw %r9,%r2,4
;P_LoadSubsectors+32
	ldi %r10,5
	mov %r11,%gz
	callr %r8,Z_Malloc
;P_LoadSubsectors+48
	stdr %r9,subsectors
	ldi %r11,1
	mov %r10,%r1
;P_LoadSubsectors+64
	callr %r9,W_CacheLumpNum
	ldwsr %r3,numsubsectors
	mov %r2,%r10
;P_LoadSubsectors+80
	lddzr %r9,subsectors
	slli %r11,%r3,4
	mov %r10,%gz
;P_LoadSubsectors+96
	callr %r8,memset
	ldwzr %r3,numsubsectors
	bwlti %r3,1,P_LoadSubsectors+192
;P_LoadSubsectors+112
	lddzr %r5,subsectors
	mov %r4,%gz
	addi %r5,%r5,10
;P_LoadSubsectors+128
	ldbz %r6,%r2,1
	ldbz %r7,%r2,0
	slor %r6,%r7,%r6,8
;P_LoadSubsectors+144
	sth %r6,%r5,-2
	ldbz %r6,%r2,3
	ldbz %r7,%r2,2
;P_LoadSubsectors+160
	slor %r6,%r7,%r6,8
	sth %r6,%r5,0
	addiws %r4,%r4,1
;P_LoadSubsectors+176
	addi %r2,%r2,4
	addi %r5,%r5,16
	bwlt %r4,%r3,P_LoadSubsectors+128
;P_LoadSubsectors+192
	mov %r11,%r1
	callr %r10,W_ReleaseLumpNum
	retf 0
;P_LoadSectors
	alloc 11
	mov %r10,%r1
	callr %r9,W_LumpLength
;P_LoadSectors+16
	sraiw %r2,%r10,0
	divui %r2,%r2,26
	stwr %r2,numsectors
;P_LoadSectors+32
	slliw %r8,%r2,7
	ldi %r9,5
	mov %r10,%gz
;P_LoadSectors+48
	callr %r7,Z_Malloc
	ldwsr %r2,numsectors
	stdr %r8,sectors
;P_LoadSectors+64
	slli %r10,%r2,7
	mov %r9,%gz
	callr %r7,memset
;P_LoadSectors+80
	ldi %r10,1
	mov %r9,%r1
	callr %r8,W_CacheLumpNum
;P_LoadSectors+96
	ldwzr %r3,numsectors
	bwlti %r3,1,P_LoadSectors+320
	mov2 %r2,%r4,%r9,%gz
;P_LoadSectors+112
	lddzr %r5,sectors
	nop 0
	nop 0
;P_LoadSectors+128
	ldbz %r3,%r2,1
	ldbz %r6,%r2,0
	slliw %r3,%r3,24
;P_LoadSectors+144
	slor %r3,%r3,%r6,16
	stw %r3,%r5,0
	ldbz %r3,%r2,3
;P_LoadSectors+160
	ldbz %r6,%r2,2
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;P_LoadSectors+176
	stw %r3,%r5,4
	addi %r10,%r2,4
	callr %r9,R_FlatNumForName
;P_LoadSectors+192
	sth %r10,%r5,8
	addi %r10,%r2,12
	callr %r9,R_FlatNumForName
;P_LoadSectors+208
	sth %r10,%r5,10
	ldbz %r3,%r2,21
	ldbz %r6,%r2,20
;P_LoadSectors+224
	slor %r3,%r6,%r3,8
	sth %r3,%r5,12
	ldbz %r3,%r2,23
;P_LoadSectors+240
	ldbz %r6,%r2,22
	slor %r3,%r6,%r3,8
	sth %r3,%r5,14
;P_LoadSectors+256
	ldbz %r3,%r2,25
	ldbz %r6,%r2,24
	slor %r3,%r6,%r3,8
;P_LoadSectors+272
	sth %r3,%r5,16
	std %gz,%r5,96
	ldwzr %r3,numsectors
;P_LoadSectors+288
	addiws %r4,%r4,1
	addi %r5,%r5,128
	addi %r2,%r2,26
;P_LoadSectors+304
	bwlt %r4,%r3,P_LoadSectors+128
	nop 0
	nop 0
;P_LoadSectors+320
	mov %r10,%r1
	callr %r9,W_ReleaseLumpNum
	retf 0
;P_LoadNodes
	alloc 19
	mov %r18,%r1
	callr %r17,W_LumpLength
;P_LoadNodes+16
	sraiw %r2,%r18,0
	divui %r2,%r2,28
	stwr %r2,numnodes
;P_LoadNodes+32
	mulwsi %r16,%r2,52
	ldi %r17,5
	mov %r18,%gz
;P_LoadNodes+48
	callr %r15,Z_Malloc
	stdr %r16,nodes
	ldi %r2,1
;P_LoadNodes+64
	mov2 %r17,%r18,%r1,%r2
	callr %r16,W_CacheLumpNum
	ldwzr %r3,numnodes
;P_LoadNodes+80
	bwlti %r3,1,P_LoadNodes+384
	mov %r3,%gz
	lddzr %r4,nodes
;P_LoadNodes+96
	addi %r5,%r17,8
	ldi %r6,16
	nop 0
;P_LoadNodes+112
	ldbz %r7,%r17,1
	ldbz %r8,%r17,0
	slliw %r7,%r7,24
;P_LoadNodes+128
	slor %r7,%r7,%r8,16
	stw %r7,%r4,0
	ldbz %r7,%r17,3
;P_LoadNodes+144
	ldbz %r8,%r17,2
	slliw %r7,%r7,24
	slor %r7,%r7,%r8,16
;P_LoadNodes+160
	stw %r7,%r4,4
	ldbz %r7,%r17,5
	ldbz %r8,%r17,4
;P_LoadNodes+176
	slliw %r7,%r7,24
	slor %r7,%r7,%r8,16
	stw %r7,%r4,8
;P_LoadNodes+192
	ldbz %r7,%r17,7
	ldbz %r8,%r17,6
	slliw %r7,%r7,24
;P_LoadNodes+208
	mov %r9,%gz
	slor %r7,%r7,%r8,16
	stw %r7,%r4,12
;P_LoadNodes+224
	addi %r7,%r17,24
	addi %r8,%r4,48
	mov %r12,%r2
;P_LoadNodes+240
	ldbzx.xd %r13,%r7,%r9,1,1
	ldbzx.xd %r14,%r7,%r9,1,0
	mov2 %r11,%r10,%gz,%r12
;P_LoadNodes+256
	slor %r12,%r14,%r13,8
	sthx.xd %r12,%r8,%r9,1,0
	sladd %r12,%r5,%r9,3
;P_LoadNodes+272
	sladd %r9,%r6,%r9,4
	nop 0
	nop 0
;P_LoadNodes+288
	ldbzx.xd %r13,%r12,%r11,0,1
	ldbzx.xd %r14,%r12,%r11,0,0
	slliw %r13,%r13,24
;P_LoadNodes+304
	slor %r13,%r13,%r14,16
	stwx.xd %r13,%r4,%r9,0,0
	addi %r11,%r11,2
;P_LoadNodes+320
	addi %r9,%r9,4
	bdnei %r11,8,P_LoadNodes+288
	mov2 %r12,%r9,%gz,%r2
;P_LoadNodes+336
	bbsi %r10,0,P_LoadNodes+240
	ldwzr %r7,numnodes
	addiws %r3,%r3,1
;P_LoadNodes+352
	addi %r4,%r4,52
	addi %r17,%r17,28
	addi %r5,%r5,28
;P_LoadNodes+368
	bwlt %r3,%r7,P_LoadNodes+112
	nop 0
	nop 0
;P_LoadNodes+384
	mov %r18,%r1
	callr %r17,W_ReleaseLumpNum
	retf 0
;P_LoadThings
	allocsp 13,16
	ldi %r2,1
	mov2 %r11,%r12,%r1,%r2
;P_LoadThings+16
	callr %r10,W_CacheLumpNum
	mov2 %r3,%r12,%r11,%r1
	callr %r11,W_LumpLength
;P_LoadThings+32
	sraiw %r4,%r12,0
	divui %r5,%r4,10
	bwlti %r5,1,P_LoadThings+272
;P_LoadThings+48
	mov %r6,%gz
	addi %r7,%r3,4
	addi %r3,%sp,6
;P_LoadThings+64
	jmp P_LoadThings+208
	nop 0
	nop 0
;P_LoadThings+80
	ldbz %r8,%r7,-3
	ldbz %r9,%r7,-4
	slor %r8,%r9,%r8,8
;P_LoadThings+96
	sth %r8,%sp,6
	ldbz %r8,%r7,-1
	ldbz %r9,%r7,-2
;P_LoadThings+112
	slor %r8,%r9,%r8,8
	sth %r8,%sp,8
	ldbz %r8,%r7,1
;P_LoadThings+128
	ldbz %r9,%r7,0
	slor %r8,%r9,%r8,8
	sth %r8,%sp,10
;P_LoadThings+144
	sth %r4,%sp,12
	ldbz %r4,%r7,5
	ldbz %r8,%r7,4
;P_LoadThings+160
	slor %r4,%r8,%r4,8
	sth %r4,%sp,14
	mov %r12,%r3
;P_LoadThings+176
	callr %r11,P_SpawnMapThing
	addiws %r6,%r6,1
	addi %r7,%r7,10
;P_LoadThings+192
	bwle %r5,%r6,P_LoadThings+272
	nop 0
	nop 0
;P_LoadThings+208
	ldwzr %r8,gamemode
	ldbz %r4,%r7,3
	ldbz %r9,%r7,2
;P_LoadThings+224
	slor %r4,%r9,%r4,8
	bweqi %r8,2,P_LoadThings+80
	addiws %r8,%r4,-64
;P_LoadThings+240
	bwgeui %r8,26,P_LoadThings+80
	sllw %r8,%r2,%r8
	nop 2
;P_LoadThings+256
	andi.l %r8,%r8,51380415
	bweq %r8,%gz,P_LoadThings+80
;P_LoadThings+272
	mov %r12,%r1
	callr %r11,W_ReleaseLumpNum
	retf 16
;P_LoadLineDefs
	alloc 20
	mov %r19,%r1
	callr %r18,W_LumpLength
;P_LoadLineDefs+16
	sraiw %r2,%r19,0
	divui %r2,%r2,14
	stwr %r2,numlines
;P_LoadLineDefs+32
	mulwsi %r17,%r2,88
	ldi %r18,5
	mov %r19,%gz
;P_LoadLineDefs+48
	callr %r16,Z_Malloc
	ldwsr %r2,numlines
	stdr %r17,lines
;P_LoadLineDefs+64
	muli %r19,%r2,88
	mov %r18,%gz
	callr %r16,memset
;P_LoadLineDefs+80
	ldi %r2,1
	mov2 %r18,%r19,%r1,%r2
	callr %r17,W_CacheLumpNum
;P_LoadLineDefs+96
	ldwzr %r3,numlines
	bwlti %r3,1,P_LoadLineDefs+752
	lddzr %r5,lines
;P_LoadLineDefs+112
	mov %r4,%gz
	lddzr %r3,vertexes
	addi %r5,%r5,64
;P_LoadLineDefs+128
	addi %r6,%r18,6
	ldi %r7,2
	ldi %r8,3
;P_LoadLineDefs+144
	jmp P_LoadLineDefs+224
	nop 0
	nop 0
;P_LoadLineDefs+160
	lddzr %r10,sides
	slsrai %r9,%r9,48,48
	muli %r9,%r9,24
;P_LoadLineDefs+176
	lddzx.xd %r9,%r10,%r9,0,16
	nop 0
	nop 0
;P_LoadLineDefs+192
	std %r9,%r5,0
	ldwzr %r9,numlines
	addiws %r4,%r4,1
;P_LoadLineDefs+208
	addi %r5,%r5,88
	addi %r6,%r6,14
	bwle %r9,%r4,P_LoadLineDefs+752
;P_LoadLineDefs+224
	ldbz %r9,%r6,-1
	ldbz %r10,%r6,-2
	slor %r9,%r10,%r9,8
;P_LoadLineDefs+240
	sth %r9,%r5,-40
	ldbz %r9,%r6,1
	ldbz %r10,%r6,0
;P_LoadLineDefs+256
	slor %r9,%r10,%r9,8
	sth %r9,%r5,-38
	ldbz %r9,%r6,3
;P_LoadLineDefs+272
	ldbz %r10,%r6,2
	slor %r9,%r10,%r9,8
	sth %r9,%r5,-36
;P_LoadLineDefs+288
	ldbs %r9,%r6,-5
	ldbz %r10,%r6,-6
	slli %r9,%r9,11
;P_LoadLineDefs+304
	mov %r12,%r3
	slor %r13,%r9,%r10,3
	add %r9,%r3,%r13
;P_LoadLineDefs+320
	std %r9,%r5,-64
	ldbs %r10,%r6,-3
	ldbz %r11,%r6,-4
;P_LoadLineDefs+336
	lddzr %r3,vertexes
	slli %r10,%r10,11
	slor %r11,%r10,%r11,3
;P_LoadLineDefs+352
	add %r10,%r3,%r11
	std %r10,%r5,-56
	ldwzx.xd %r14,%r3,%r11,0,0
;P_LoadLineDefs+368
	ldwzx.xd %r15,%r12,%r13,0,0
	subws %r19,%r14,%r15
	stw %r19,%r5,-48
;P_LoadLineDefs+384
	ldwzx.xd %r11,%r3,%r11,0,4
	ldwzx.xd %r12,%r12,%r13,0,4
	subws %r18,%r11,%r12
;P_LoadLineDefs+400
	stw %r18,%r5,-44
	bwne %r14,%r15,P_LoadLineDefs+432
	stw %r2,%r5,-12
;P_LoadLineDefs+416
	jmp P_LoadLineDefs+496
	nop 0
	nop 0
;P_LoadLineDefs+432
	bwne %r11,%r12,P_LoadLineDefs+448
	stw %gz,%r5,-12
	jmp P_LoadLineDefs+496
;P_LoadLineDefs+448
	callr %r17,FixedDiv
	lddzr %r3,vertexes
	bwlti %r18,1,P_LoadLineDefs+480
;P_LoadLineDefs+464
	stw %r7,%r5,-12
	jmp P_LoadLineDefs+496
	nop 0
;P_LoadLineDefs+480
	stw %r8,%r5,-12
	nop 0
	nop 0
;P_LoadLineDefs+496
	ldwz %r11,%r9,0
	ldwz %r12,%r10,0
	cmpwlt %r13,%r11,%r12
;P_LoadLineDefs+512
	minsw %r11,%r11,%r12
	stw %r11,%r5,-20
	cmovlsb %r11,%r13,%r10,%r9
;P_LoadLineDefs+528
	ldwz %r11,%r11,0
	stw %r11,%r5,-16
	ldwz %r11,%r9,4
;P_LoadLineDefs+544
	ldwz %r12,%r10,4
	addi %r9,%r9,4
	addi %r10,%r10,4
;P_LoadLineDefs+560
	cmpwlt %r13,%r11,%r12
	minsw %r11,%r11,%r12
	stw %r11,%r5,-24
;P_LoadLineDefs+576
	cmovlsb %r9,%r13,%r10,%r9
	ldwz %r9,%r9,0
	stw %r9,%r5,-28
;P_LoadLineDefs+592
	ldbz %r9,%r6,5
	ldbz %r10,%r6,4
	slor %r10,%r10,%r9,8
;P_LoadLineDefs+608
	sth %r10,%r5,-34
	ldbz %r9,%r6,7
	ldbz %r11,%r6,6
;P_LoadLineDefs+624
	slor %r9,%r11,%r9,8
	sth %r9,%r5,-32
	nop 2
;P_LoadLineDefs+640
	bweqi.l %r10,65535,P_LoadLineDefs+688
	lddzr %r11,sides
;P_LoadLineDefs+656
	slsrai %r10,%r10,48,48
	muli %r10,%r10,24
	lddzx.xd %r10,%r11,%r10,0,16
;P_LoadLineDefs+672
	jmp P_LoadLineDefs+704
	nop 0
	nop 0
;P_LoadLineDefs+688
	mov %r10,%gz
	nop 0
	nop 0
;P_LoadLineDefs+704
	andi %r11,%r9,65535
	std %r10,%r5,-8
	nop 2
;P_LoadLineDefs+720
	bwnei.l %r11,65535,P_LoadLineDefs+160
	mov %r9,%gz
;P_LoadLineDefs+736
	jmp P_LoadLineDefs+192
	nop 0
	nop 0
;P_LoadLineDefs+752
	mov %r19,%r1
	callr %r18,W_ReleaseLumpNum
	retf 0
;P_LoadSideDefs
	alloc 12
	mov %r11,%r1
	callr %r10,W_LumpLength
;P_LoadSideDefs+16
	sraiw %r2,%r11,0
	divui %r2,%r2,30
	stwr %r2,numsides
;P_LoadSideDefs+32
	mulwsi %r9,%r2,24
	ldi %r10,5
	mov %r11,%gz
;P_LoadSideDefs+48
	callr %r8,Z_Malloc
	ldwsr %r2,numsides
	stdr %r9,sides
;P_LoadSideDefs+64
	muli %r11,%r2,24
	mov %r10,%gz
	callr %r8,memset
;P_LoadSideDefs+80
	ldi %r11,1
	mov %r10,%r1
	callr %r9,W_CacheLumpNum
;P_LoadSideDefs+96
	ldwzr %r3,numsides
	bwlti %r3,1,P_LoadSideDefs+304
	mov2 %r2,%r4,%r10,%gz
;P_LoadSideDefs+112
	lddzr %r5,sides
	nop 0
	nop 0
;P_LoadSideDefs+128
	ldbz %r3,%r2,1
	ldbz %r6,%r2,0
	slliw %r3,%r3,24
;P_LoadSideDefs+144
	slor %r3,%r3,%r6,16
	stw %r3,%r5,0
	ldbz %r3,%r2,3
;P_LoadSideDefs+160
	ldbz %r6,%r2,2
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;P_LoadSideDefs+176
	stw %r3,%r5,4
	addi %r11,%r2,4
	callr %r10,R_TextureNumForName
;P_LoadSideDefs+192
	sth %r11,%r5,8
	addi %r11,%r2,12
	callr %r10,R_TextureNumForName
;P_LoadSideDefs+208
	sth %r11,%r5,10
	addi %r11,%r2,20
	callr %r10,R_TextureNumForName
;P_LoadSideDefs+224
	sth %r11,%r5,12
	ldbs %r3,%r2,29
	ldbz %r6,%r2,28
;P_LoadSideDefs+240
	lddzr %r7,sectors
	slli %r3,%r3,15
	slor %r3,%r3,%r6,7
;P_LoadSideDefs+256
	add %r3,%r7,%r3
	std %r3,%r5,16
	ldwzr %r3,numsides
;P_LoadSideDefs+272
	addiws %r4,%r4,1
	addi %r5,%r5,24
	addi %r2,%r2,30
;P_LoadSideDefs+288
	bwlt %r4,%r3,P_LoadSideDefs+128
	nop 0
	nop 0
;P_LoadSideDefs+304
	mov %r11,%r1
	callr %r10,W_ReleaseLumpNum
	retf 0
;P_LoadBlockMap
	alloc 8
	mov %r7,%r1
	callr %r6,W_LumpLength
;P_LoadBlockMap+16
	mov %r5,%r7
	ldi %r2,5
	mov2 %r6,%r7,%r2,%gz
;P_LoadBlockMap+32
	callr %r4,Z_Malloc
	stdr %r5,blockmaplump
	mov2 %r6,%r7,%r1,%r5
;P_LoadBlockMap+48
	callr %r5,W_ReadLump
	lddzr %r1,blockmaplump
	addi %r3,%r1,8
;P_LoadBlockMap+64
	stdr %r3,blockmap
	ldhz %r3,%r1,0
	slliw %r3,%r3,16
;P_LoadBlockMap+80
	stwr %r3,bmaporgx
	ldhz %r3,%r1,2
	slliw %r3,%r3,16
;P_LoadBlockMap+96
	stwr %r3,bmaporgy
	ldhs %r3,%r1,4
	stwr %r3,bmapwidth
;P_LoadBlockMap+112
	ldhs %r1,%r1,6
	stwr %r1,bmapheight
	mulws %r1,%r3,%r1
;P_LoadBlockMap+128
	slliw %r1,%r1,3
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%gz
;P_LoadBlockMap+144
	callr %r4,Z_Malloc
	stdr %r5,blocklinks
	sraiw %r7,%r1,0
;P_LoadBlockMap+160
	mov %r6,%gz
	callr %r4,memset
	retf 0
;P_GroupLines
	allocsp 15,16
	ldwzr %r1,numsubsectors
	bwlti %r1,1,P_GroupLines+80
;P_GroupLines+16
	mov %r2,%gz
	lddzr %r3,subsectors
	nop 0
;P_GroupLines+32
	ldhs %r4,%r3,10
	lddzr %r5,segs
	muli %r4,%r4,56
;P_GroupLines+48
	lddzx.xd %r4,%r5,%r4,0,24
	lddz %r4,%r4,16
	std %r4,%r3,0
;P_GroupLines+64
	addiws %r2,%r2,1
	addi %r3,%r3,16
	bwlt %r2,%r1,P_GroupLines+32
;P_GroupLines+80
	ldwzr %r1,numlines
	mov %r12,%gz
	lddzr %r3,lines
;P_GroupLines+96
	stwr %gz,totallines
	bwlti %r1,1,P_GroupLines+240
	mov2 %r2,%r4,%gz,%gz
;P_GroupLines+112
	addi %r3,%r3,64
	jmp P_GroupLines+144
	nop 0
;P_GroupLines+128
	addiws %r2,%r2,1
	addi %r3,%r3,88
	bwle %r1,%r2,P_GroupLines+224
;P_GroupLines+144
	lddz %r7,%r3,-8
	ldwz %r5,%r7,112
	addiws %r5,%r5,1
;P_GroupLines+160
	stw %r5,%r7,112
	lddz %r6,%r3,0
	mov %r5,%r4
;P_GroupLines+176
	addiws %r4,%r4,1
	bdeq %r6,%gz,P_GroupLines+128
	bdeq %r6,%r7,P_GroupLines+128
;P_GroupLines+192
	ldwz %r4,%r6,112
	addiws %r4,%r4,1
	stw %r4,%r6,112
;P_GroupLines+208
	addiws %r4,%r5,2
	jmp P_GroupLines+128
	nop 0
;P_GroupLines+224
	stwr %r4,totallines
	slliw %r12,%r4,3
	nop 0
;P_GroupLines+240
	ldi %r13,5
	mov %r14,%gz
	callr %r11,Z_Malloc
;P_GroupLines+256
	ldwzr %r1,numsectors
	bwlti %r1,1,P_GroupLines+368
	mov2 %r1,%r2,%gz,%gz
;P_GroupLines+272
	lddzr %r3,sectors
	nop 0
	nop 0
;P_GroupLines+288
	stdx.xd %r12,%r3,%r1,0,120
	lddzr %r3,sectors
	ldwsx.xd %r5,%r3,%r1,0,112
;P_GroupLines+304
	stwx.xd %gz,%r3,%r1,0,112
	ldwzr %r4,numsectors
	sladd %r12,%r12,%r5,3
;P_GroupLines+320
	addi %r2,%r2,1
	sraiw %r5,%r4,0
	addi %r1,%r1,128
;P_GroupLines+336
	bdlt %r2,%r5,P_GroupLines+288
	cmpwgti %r1,%r4,0
	ldwzr %r3,numlines
;P_GroupLines+352
	bwgei %r3,1,P_GroupLines+384
	jmp P_GroupLines+544
	nop 0
;P_GroupLines+368
	mov %r1,%gz
	ldwzr %r3,numlines
	bwlti %r3,1,P_GroupLines+544
;P_GroupLines+384
	mov %r2,%gz
	srliw %r3,%r3,0
	muli %r3,%r3,88
;P_GroupLines+400
	jmp P_GroupLines+432
	nop 0
	nop 0
;P_GroupLines+416
	addi %r2,%r2,88
	bdeq %r3,%r2,P_GroupLines+544
	nop 0
;P_GroupLines+432
	lddzr %r5,lines
	lddzx.xd %r6,%r5,%r2,0,56
	add %r4,%r5,%r2
;P_GroupLines+448
	bdeq %r6,%gz,P_GroupLines+480
	lddz %r7,%r6,120
	ldwz %r8,%r6,112
;P_GroupLines+464
	stdx.xw %r4,%r7,%r8,3,0
	addiws %r7,%r8,1
	stw %r7,%r6,112
;P_GroupLines+480
	lddzx.xd %r5,%r5,%r2,0,64
	bdeq %r5,%gz,P_GroupLines+416
	lddz %r6,%r4,56
;P_GroupLines+496
	bdeq %r6,%r5,P_GroupLines+416
	lddz %r6,%r5,120
	ldwz %r7,%r5,112
;P_GroupLines+512
	stdx.xw %r4,%r6,%r7,3,0
	addiws %r4,%r7,1
	stw %r4,%r5,112
;P_GroupLines+528
	jmp P_GroupLines+416
	nop 0
	nop 0
;P_GroupLines+544
	bbci %r1,0,P_GroupLines+992
	mov %r3,%gz
	lddzr %r4,sectors
;P_GroupLines+560
	addi %r1,%sp,0
	jmp P_GroupLines+864
	nop 0
;P_GroupLines+576
	ldwz %r2,%sp,12
	ldwz %r5,%sp,8
	addws %r6,%r5,%r2
;P_GroupLines+592
	srliw %r7,%r6,31
	addws %r6,%r6,%r7
	sraiw %r6,%r6,1
;P_GroupLines+608
	stw %r6,%r4,72
	ldwz %r6,%sp,0
	ldwz %r7,%sp,4
;P_GroupLines+624
	addws %r8,%r7,%r6
	srliw %r9,%r8,31
	addws %r8,%r8,%r9
;P_GroupLines+640
	sraiw %r8,%r8,1
	stw %r8,%r4,76
	ldwzr %r8,bmaporgy
;P_GroupLines+656
	ldwzr %r9,bmapheight
	subws %r6,%r6,%r8
	nop 2
;P_GroupLines+672
	addiws.l %r6,%r6,2097152
	sraiw %r6,%r6,23
;P_GroupLines+688
	cmpwlt %r10,%r6,%r9
	addiws %r9,%r9,-1
	cmovlsb %r6,%r10,%r6,%r9
;P_GroupLines+704
	stw %r6,%r4,32
	subws %r6,%r7,%r8
	nop 2
;P_GroupLines+720
	addiws.l %r6,%r6,-2097152
	sraiw %r6,%r6,23
;P_GroupLines+736
	maxsw %r6,%r6,%gz
	stw %r6,%r4,36
	ldwzr %r6,bmaporgx
;P_GroupLines+752
	ldwzr %r7,bmapwidth
	subws %r2,%r2,%r6
	nop 2
;P_GroupLines+768
	addiws.l %r2,%r2,2097152
	sraiw %r2,%r2,23
;P_GroupLines+784
	cmpwlt %r8,%r2,%r7
	addiws %r7,%r7,-1
	cmovlsb %r2,%r8,%r2,%r7
;P_GroupLines+800
	stw %r2,%r4,44
	subws %r2,%r5,%r6
	nop 2
;P_GroupLines+816
	addiws.l %r2,%r2,-2097152
	sraiw %r2,%r2,23
;P_GroupLines+832
	maxsw %r2,%r2,%gz
	stw %r2,%r4,40
	ldwzr %r2,numsectors
;P_GroupLines+848
	addiws %r3,%r3,1
	addi %r4,%r4,128
	bwle %r2,%r3,P_GroupLines+992
;P_GroupLines+864
	mov %r14,%r1
	callr %r13,M_ClearBox
	ldwz %r2,%r4,112
;P_GroupLines+880
	bwlti %r2,1,P_GroupLines+576
	mov2 %r5,%r6,%gz,%gz
	nop 0
;P_GroupLines+896
	lddz %r2,%r4,120
	lddzx.xd %r7,%r2,%r5,0,0
	lddz %r2,%r7,0
;P_GroupLines+912
	ldwz %r13,%r2,0
	ldwz %r14,%r2,4
	mov %r12,%r1
;P_GroupLines+928
	callr %r11,M_AddToBox
	lddz %r2,%r7,8
	ldwz %r13,%r2,0
;P_GroupLines+944
	ldwz %r14,%r2,4
	mov %r12,%r1
	callr %r11,M_AddToBox
;P_GroupLines+960
	ldws %r2,%r4,112
	addi %r6,%r6,1
	addi %r5,%r5,8
;P_GroupLines+976
	bdlt %r6,%r2,P_GroupLines+896
	jmp P_GroupLines+576
	nop 0
;P_GroupLines+992
	retf 16
	nop 0
	nop 0
;P_SetupLevel
	allocsp 15,48
	mov %r3,%gz
	stwr %gz,wminfo+28
;P_SetupLevel+16
	stwr %gz,totalsecret
	stwr %gz,totalitems
	stwr %gz,totalkills
;P_SetupLevel+32
	ldi %r4,180
	stwr %r4,wminfo+32
	ldafr %r4,players+216
;P_SetupLevel+48
	ldafr %r5,players+224
	nop 0
	nop 0
;P_SetupLevel+64
	stdx.xd %gz,%r3,%r4,0,0
	stwx.xd %gz,%r3,%r5,0,0
	addi %r3,%r3,328
;P_SetupLevel+80
	bdnei.l %r3,1312,P_SetupLevel+64
	ldwsr %r3,consoleplayer
;P_SetupLevel+96
	muli %r3,%r3,328
	ldafr %r4,players+28
	ldi %r5,1
;P_SetupLevel+112
	stwx.xd %r5,%r3,%r4,0,0
	callr %r14,S_Start
	ldi %r13,5
;P_SetupLevel+128
	ldi %r14,6
	callr %r12,Z_FreeTags
	callr %r14,P_InitThinkers
;P_SetupLevel+144
	ldwzr %r3,gamemode
	bwnei %r3,2,P_SetupLevel+176
	bwgei %r2,10,P_SetupLevel+240
;P_SetupLevel+160
	ldafr %r14,.rodata+22100
	jmp P_SetupLevel+256
	nop 0
;P_SetupLevel+176
	ldi %r3,69
	stb %r3,%sp,23
	addiws %r1,%r1,48
;P_SetupLevel+192
	stb %r1,%sp,24
	ldi %r1,77
	stb %r1,%sp,25
;P_SetupLevel+208
	addiws %r1,%r2,48
	stb %r1,%sp,26
	stb %gz,%sp,27
;P_SetupLevel+224
	jmp P_SetupLevel+288
	nop 0
	nop 0
;P_SetupLevel+240
	ldafr %r14,.rodata+5763
	nop 0
	nop 0
;P_SetupLevel+256
	addi %r12,%sp,23
	ldi %r13,9
	stw %r2,%sp,0
;P_SetupLevel+272
	callr %r11,snprintf
	nop 0
	nop 0
;P_SetupLevel+288
	addi %r14,%sp,23
	callr %r13,W_GetNumForName
	mov %r1,%r14
;P_SetupLevel+304
	stwr %gz,leveltime
	addiws %r14,%r14,10
	callr %r13,P_LoadBlockMap
;P_SetupLevel+320
	addiws %r14,%r1,4
	callr %r13,P_LoadVertexes
	addiws %r14,%r1,8
;P_SetupLevel+336
	callr %r13,P_LoadSectors
	addiws %r14,%r1,3
	callr %r13,P_LoadSideDefs
;P_SetupLevel+352
	addiws %r14,%r1,2
	callr %r13,P_LoadLineDefs
	addiws %r14,%r1,6
;P_SetupLevel+368
	callr %r13,P_LoadSubsectors
	addiws %r14,%r1,7
	callr %r13,P_LoadNodes
;P_SetupLevel+384
	addiws %r14,%r1,5
	callr %r13,P_LoadSegs
	callr %r14,P_GroupLines
;P_SetupLevel+400
	ldwzr %r2,numsectors
	addiws %r4,%r1,9
	mulws %r2,%r2,%r2
;P_SetupLevel+416
	addiws %r2,%r2,7
	srliw %r2,%r2,3
	mov %r14,%r4
;P_SetupLevel+432
	callr %r13,W_LumpLength
	bwle %r2,%r14,P_SetupLevel+704
	mov %r3,%r14
;P_SetupLevel+448
	ldafr %r14,rejectmatrix
	ldi %r13,5
	mov %r12,%r2
;P_SetupLevel+464
	callr %r11,Z_Malloc
	stdr %r12,rejectmatrix
	mov2 %r13,%r14,%r4,%r12
;P_SetupLevel+480
	callr %r12,W_ReadLump
	lddzr %r4,rejectmatrix
	ldax.xw %r4,%r4,%r3,0,0
;P_SetupLevel+496
	ldwzr %r6,totallines
	mov %r5,%gz
	ldi %r7,24
;P_SetupLevel+512
	subws %r2,%r2,%r3
	sladdws %r3,%r7,%r6,2
	stw %r3,%sp,32
;P_SetupLevel+528
	stw %gz,%sp,36
	ldi %r3,50
	stw %r3,%sp,40
;P_SetupLevel+544
	ldi %r3,1919505
	stw %r3,%sp,44
	ldi %r3,16
;P_SetupLevel+560
	minuw %r6,%r2,%r3
	addi %r7,%sp,32
	mov %r8,%r4
;P_SetupLevel+576
	andi %r9,%r5,-4
	ldwzx.xuw %r9,%r7,%r9,0,0
	slliw %r10,%r5,3
;P_SetupLevel+592
	andi %r10,%r10,24
	srlw %r9,%r9,%r10
	stb %r9,%r8,0
;P_SetupLevel+608
	addiws %r5,%r5,1
	addi %r8,%r8,1
	bwltu %r5,%r6,P_SetupLevel+576
;P_SetupLevel+624
	bwltui %r2,17,P_SetupLevel+736
	srliw %r5,%r2,0
	lddzr %r13,stderr
;P_SetupLevel+640
	stw %r3,%sp,4
	ldafr %r14,.rodata+2705
	stw %r2,%sp,0
;P_SetupLevel+656
	callr %r12,fprintf
	ldafr %r14,.rodata+11874
	callr %r13,M_CheckParm
;P_SetupLevel+672
	cmpwnei %r2,%r14,0
	addi %r12,%r4,16
	addi %r14,%r5,-16
;P_SetupLevel+688
	slsrai %r13,%r2,63,63
	callr %r11,memset
	jmp P_SetupLevel+736
;P_SetupLevel+704
	ldi %r14,5
	mov %r13,%r4
	callr %r12,W_CacheLumpNum
;P_SetupLevel+720
	stdr %r13,rejectmatrix
	nop 0
	nop 0
;P_SetupLevel+736
	stwr %gz,bodyqueslot
	ldafr %r2,deathmatchstarts
	stdr %r2,deathmatch_p
;P_SetupLevel+752
	addiws %r14,%r1,1
	callr %r13,P_LoadThings
	ldwzr %r1,deathmatch
;P_SetupLevel+768
	bweq %r1,%gz,P_SetupLevel+864
	mov %r1,%gz
	ldafr %r3,players
;P_SetupLevel+784
	ldafr %r4,playeringame
	jmp P_SetupLevel+832
	nop 0
;P_SetupLevel+800
	addi %r1,%r1,1
	addi %r3,%r3,328
	addi %r4,%r4,4
;P_SetupLevel+816
	bdeqi %r1,4,P_SetupLevel+864
	nop 0
	nop 0
;P_SetupLevel+832
	ldwz %r2,%r4,0
	bweq %r2,%gz,P_SetupLevel+800
	std %gz,%r3,0
;P_SetupLevel+848
	mov %r14,%r1
	callr %r13,G_DeathMatchSpawnPlayer
	jmp P_SetupLevel+800
;P_SetupLevel+864
	stwr %gz,iquetail
	stwr %gz,iquehead
	callr %r14,P_SpawnSpecials
;P_SetupLevel+880
	ldwzr %r1,precache
	bweq %r1,%gz,P_SetupLevel+896
	callr %r14,R_PrecacheLevel
;P_SetupLevel+896
	retf 48
	nop 0
	nop 0
;P_Init
	alloc 3
	callr %r2,P_InitSwitchList
	callr %r2,P_InitPicAnims
;P_Init+16
	ldafr %r2,sprnames
	callr %r1,R_InitSprites
	retf 0
;P_DivlineSide
	alloc 7
	ldwz %r4,%r3,8
	bweq %r4,%gz,P_DivlineSide+128
;P_DivlineSide+16
	ldwz %r5,%r3,12
	bweq %r5,%gz,P_DivlineSide+160
	ldwz %r6,%r3,0
;P_DivlineSide+32
	ldwz %r3,%r3,4
	subws %r1,%r1,%r6
	subws %r3,%r2,%r3
;P_DivlineSide+48
	sraiw %r2,%r5,16
	sraiw %r1,%r1,16
	mulws %r2,%r1,%r2
;P_DivlineSide+64
	sraiw %r1,%r3,16
	sraiw %r3,%r4,16
	mulws %r3,%r1,%r3
;P_DivlineSide+80
	mov %r1,%gz
	bwlt %r3,%r2,P_DivlineSide+112
	cmpweq %r1,%r2,%r3
;P_DivlineSide+96
	ldi %r2,1
	ldi %r3,2
	cmovlsb %r1,%r1,%r3,%r2
;P_DivlineSide+112
	retf 0
	nop 0
	nop 0
;P_DivlineSide+128
	ldwz %r4,%r3,0
	bwne %r1,%r4,P_DivlineSide+192
	ldi %r1,2
;P_DivlineSide+144
	retf 0
	nop 0
	nop 0
;P_DivlineSide+160
	ldwz %r3,%r3,4
	bwne %r1,%r3,P_DivlineSide+224
	ldi %r1,2
;P_DivlineSide+176
	retf 0
	nop 0
	nop 0
;P_DivlineSide+192
	ldwz %r2,%r3,12
	bwle %r1,%r4,P_DivlineSide+240
	srliw %r1,%r2,31
;P_DivlineSide+208
	retf 0
	nop 0
	nop 0
;P_DivlineSide+224
	bwle %r2,%r3,P_DivlineSide+256
	cmpwgti %r1,%r4,0
	retf 0
;P_DivlineSide+240
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;P_DivlineSide+256
	srliw %r1,%r4,31
	retf 0
	nop 0
;P_InterceptVector2
	alloc 12
	ldwz %r3,%r2,12
	ldws %r5,%r1,8
;P_InterceptVector2+16
	sraiw %r6,%r3,8
	ldwz %r4,%r2,8
	ldws %r7,%r1,12
;P_InterceptVector2+32
	mul %r5,%r5,%r6
	srli %r5,%r5,16
	sraiw %r6,%r4,8
;P_InterceptVector2+48
	mul %r6,%r7,%r6
	srli %r6,%r6,16
	mov %r10,%gz
;P_InterceptVector2+64
	bweq %r5,%r6,P_InterceptVector2+160
	ldwz %r7,%r2,0
	ldwz %r8,%r1,0
;P_InterceptVector2+80
	subws %r11,%r5,%r6
	subws %r5,%r7,%r8
	sraiw %r5,%r5,8
;P_InterceptVector2+96
	ldwz %r1,%r1,4
	ldwz %r2,%r2,4
	sraiw %r3,%r3,0
;P_InterceptVector2+112
	mul %r3,%r5,%r3
	srli %r3,%r3,16
	subws %r1,%r1,%r2
;P_InterceptVector2+128
	sraiw %r1,%r1,8
	sraiw %r2,%r4,0
	mul %r1,%r1,%r2
;P_InterceptVector2+144
	srli %r1,%r1,16
	addws %r10,%r1,%r3
	callr %r9,FixedDiv
;P_InterceptVector2+160
	mov %r1,%r10
	retf 0
	nop 0
;P_CrossSubsector
	allocsp 17,32
	ldwzr %r2,numsubsectors
	bwlt %r1,%r2,P_CrossSubsector+48
;P_CrossSubsector+16
	stw %r2,%sp,4
	ldafr %r16,.rodata+17695
	stw %r1,%sp,0
;P_CrossSubsector+32
	callr %r15,I_Error
	nop 0
	nop 0
;P_CrossSubsector+48
	lddzr %r3,subsectors
	ldax.xw %r2,%r3,%r1,4,0
	ldhsx.xw %r10,%r3,%r1,4,8
;P_CrossSubsector+64
	ldi %r1,1
	bweq %r10,%gz,P_CrossSubsector+576
	ldhs %r2,%r2,10
;P_CrossSubsector+80
	lddzr %r3,segs
	muli %r2,%r2,56
	ldax.xd %r11,%r2,%r3,0,48
;P_CrossSubsector+96
	ldafr %r2,strace
	addi %r3,%sp,16
	jmp P_CrossSubsector+160
;P_CrossSubsector+112
	ldwzr %r4,topslope
	nop 0
	nop 0
;P_CrossSubsector+128
	ldwzr %r5,bottomslope
	bwle %r4,%r5,P_CrossSubsector+592
	nop 0
;P_CrossSubsector+144
	addiws %r10,%r10,-1
	addi %r11,%r11,56
	bweq %r10,%gz,P_CrossSubsector+576
;P_CrossSubsector+160
	lddz %r12,%r11,-16
	ldwz %r5,%r12,72
	ldwzr %r4,validcount
;P_CrossSubsector+176
	bweq %r5,%r4,P_CrossSubsector+144
	stw %r4,%r12,72
	lddz %r4,%r12,0
;P_CrossSubsector+192
	lddz %r9,%r12,8
	ldwz %r5,%r4,0
	ldwz %r4,%r4,4
;P_CrossSubsector+208
	mov2 %r14,%r15,%r5,%r4
	mov %r16,%r2
	callr %r13,P_DivlineSide
;P_CrossSubsector+224
	mov %r8,%r14
	ldwz %r7,%r9,0
	ldwz %r6,%r9,4
;P_CrossSubsector+240
	mov2 %r14,%r15,%r7,%r6
	mov %r16,%r2
	callr %r13,P_DivlineSide
;P_CrossSubsector+256
	bweq %r8,%r14,P_CrossSubsector+144
	stw %r5,%sp,16
	stw %r4,%sp,20
;P_CrossSubsector+272
	subws %r5,%r7,%r5
	stw %r5,%sp,24
	subws %r4,%r6,%r4
;P_CrossSubsector+288
	stw %r4,%sp,28
	ldwzr %r14,strace
	ldwzr %r15,strace+4
;P_CrossSubsector+304
	mov %r16,%r3
	callr %r13,P_DivlineSide
	mov %r4,%r14
;P_CrossSubsector+320
	ldwzr %r14,t2x
	ldwzr %r15,t2y
	mov %r16,%r3
;P_CrossSubsector+336
	callr %r13,P_DivlineSide
	bweq %r4,%r14,P_CrossSubsector+144
	lddz %r4,%r12,64
;P_CrossSubsector+352
	bdeq %r4,%gz,P_CrossSubsector+592
	ldbz %r4,%r12,24
	bbci %r4,2,P_CrossSubsector+592
;P_CrossSubsector+368
	lddz %r6,%r11,-8
	lddz %r7,%r11,0
	ldwz %r4,%r6,0
;P_CrossSubsector+384
	ldwz %r5,%r7,0
	ldwz %r8,%r6,4
	ldwz %r9,%r7,4
;P_CrossSubsector+400
	bwne %r4,%r5,P_CrossSubsector+416
	bweq %r8,%r9,P_CrossSubsector+144
	nop 0
;P_CrossSubsector+416
	minsw %r8,%r8,%r9
	maxsw %r5,%r4,%r5
	bwle %r8,%r5,P_CrossSubsector+592
;P_CrossSubsector+432
	mov2 %r15,%r16,%r2,%r3
	callr %r14,P_InterceptVector2
	ldwz %r9,%r6,0
;P_CrossSubsector+448
	ldwz %r12,%r7,0
	mov %r4,%r15
	bweq %r9,%r12,P_CrossSubsector+512
;P_CrossSubsector+464
	ldwzr %r9,sightzstart
	subws %r15,%r5,%r9
	mov %r16,%r4
;P_CrossSubsector+480
	callr %r14,FixedDiv
	ldwzr %r5,bottomslope
	bwle %r15,%r5,P_CrossSubsector+512
;P_CrossSubsector+496
	stwr %r15,bottomslope
	nop 0
	nop 0
;P_CrossSubsector+512
	ldwz %r5,%r6,4
	ldwz %r6,%r7,4
	bweq %r5,%r6,P_CrossSubsector+112
;P_CrossSubsector+528
	ldwzr %r5,sightzstart
	subws %r15,%r8,%r5
	mov %r16,%r4
;P_CrossSubsector+544
	callr %r14,FixedDiv
	ldwzr %r4,topslope
	bwle %r4,%r15,P_CrossSubsector+128
;P_CrossSubsector+560
	stwr %r15,topslope
	mov %r4,%r15
	jmp P_CrossSubsector+128
;P_CrossSubsector+576
	retf 32
	nop 0
	nop 0
;P_CrossSubsector+592
	mov %r1,%gz
	retf 32
	nop 0
;P_CrossBSPNode
	alloc 10
	bbsi %r1,15,P_CrossBSPNode+144
	lddzr %r5,nodes
;P_CrossBSPNode+16
	sraiw %r1,%r1,0
	ldi %r2,52
	muladd %r3,%r1,%r2,%r5
;P_CrossBSPNode+32
	muli %r1,%r1,52
	ldwzr %r7,strace
	ldwzr %r8,strace+4
;P_CrossBSPNode+48
	mov %r9,%r3
	callr %r6,P_DivlineSide
	cmpweqi %r2,%r7,2
;P_CrossBSPNode+64
	cmovlsb %r4,%r2,%gz,%r7
	ldax.xd %r5,%r5,%r1,0,48
	ldhzx.xuw %r9,%r3,%r4,1,48
;P_CrossBSPNode+80
	callr %r8,P_CrossBSPNode
	mov %r1,%gz
	bweq %r9,%gz,P_CrossBSPNode+224
;P_CrossBSPNode+96
	ldwzr %r7,t2x
	ldwzr %r8,t2y
	mov %r9,%r3
;P_CrossBSPNode+112
	callr %r6,P_DivlineSide
	bwne %r4,%r7,P_CrossBSPNode+192
	ldi %r1,1
;P_CrossBSPNode+128
	retf 0
	nop 0
	nop 0
;P_CrossBSPNode+144
	bweqi %r1,-1,P_CrossBSPNode+176
	andi %r9,%r1,-32769
	callr %r8,P_CrossSubsector
;P_CrossBSPNode+160
	jmp P_CrossBSPNode+208
	nop 0
	nop 0
;P_CrossBSPNode+176
	mov %r9,%gz
	callr %r8,P_CrossSubsector
	jmp P_CrossBSPNode+208
;P_CrossBSPNode+192
	xori %r1,%r4,1
	ldhzx.xuw %r9,%r5,%r1,1,0
	callr %r8,P_CrossBSPNode
;P_CrossBSPNode+208
	mov %r1,%r9
	nop 0
	nop 0
;P_CrossBSPNode+224
	retf 0
	nop 0
	nop 0
;P_CheckSight
	alloc 9
	lddz %r3,%r1,88
	lddz %r3,%r3,0
;P_CheckSight+16
	lddz %r4,%r2,88
	lddzr %r5,sectors
	lddz %r4,%r4,0
;P_CheckSight+32
	sub %r3,%r3,%r5
	srli %r3,%r3,7
	ldwzr %r6,numsectors
;P_CheckSight+48
	sub %r4,%r4,%r5
	srli %r4,%r4,7
	lddzr %r5,rejectmatrix
;P_CheckSight+64
	mulws %r3,%r6,%r3
	addws %r3,%r3,%r4
	sraiw %r4,%r3,3
;P_CheckSight+80
	ldbzx.xw %r4,%r5,%r4,0,0
	andi %r3,%r3,7
	bbc %r4,%r3,P_CheckSight+128
;P_CheckSight+96
	ldwzr %r2,sightcounts
	mov %r1,%gz
	addiws %r2,%r2,1
;P_CheckSight+112
	stwr %r2,sightcounts
	retf 0
	nop 0
;P_CheckSight+128
	ldwzr %r3,sightcounts+4
	ldwzr %r4,validcount
	addiws %r3,%r3,1
;P_CheckSight+144
	stwr %r3,sightcounts+4
	addiws %r3,%r4,1
	stwr %r3,validcount
;P_CheckSight+160
	ldwz %r3,%r1,32
	ldwz %r4,%r1,108
	addws %r3,%r4,%r3
;P_CheckSight+176
	sraiw %r4,%r4,2
	subws %r3,%r3,%r4
	stwr %r3,sightzstart
;P_CheckSight+192
	ldwz %r4,%r2,32
	ldwz %r5,%r2,108
	subws %r3,%r4,%r3
;P_CheckSight+208
	addws %r4,%r3,%r5
	stwr %r4,topslope
	stwr %r3,bottomslope
;P_CheckSight+224
	ldwz %r3,%r1,24
	stwr %r3,strace
	ldwz %r1,%r1,28
;P_CheckSight+240
	stwr %r1,strace+4
	ldwz %r4,%r2,24
	stwr %r4,t2x
;P_CheckSight+256
	ldwz %r2,%r2,28
	stwr %r2,t2y
	subws %r3,%r4,%r3
;P_CheckSight+272
	ldwzr %r4,numnodes
	stwr %r3,strace+8
	subws %r1,%r2,%r1
;P_CheckSight+288
	stwr %r1,strace+12
	addiws %r8,%r4,-1
	callr %r7,P_CrossBSPNode
;P_CheckSight+304
	mov %r1,%r8
	retf 0
	nop 0
;P_InitPicAnims
	allocsp 10,16
	ldwzr %r4,animdefs
	ldafr %r1,anims
;P_InitPicAnims+16
	stdr %r1,lastanim
	bweqi %r4,-1,P_InitPicAnims+304
	ldafr %r5,animdefs+28
;P_InitPicAnims+32
	ldafr %r1,.rodata+10971
	jmp P_InitPicAnims+96
	nop 0
;P_InitPicAnims+48
	ldwz %r2,%r5,-4
	stw %r2,%r4,16
	addi %r2,%r4,20
;P_InitPicAnims+64
	stdr %r2,lastanim
	nop 0
	nop 0
;P_InitPicAnims+80
	ldwz %r4,%r5,0
	addi %r5,%r5,28
	bweqi %r4,-1,P_InitPicAnims+304
;P_InitPicAnims+96
	addi %r2,%r5,-15
	addi %r3,%r5,-24
	mov %r9,%r2
;P_InitPicAnims+112
	bweq %r4,%gz,P_InitPicAnims+176
	callr %r8,R_CheckTextureNumForName
	bweqi %r9,-1,P_InitPicAnims+80
;P_InitPicAnims+128
	mov %r9,%r3
	callr %r8,R_TextureNumForName
	lddzr %r4,lastanim
;P_InitPicAnims+144
	stw %r9,%r4,4
	mov %r9,%r2
	callr %r8,R_TextureNumForName
;P_InitPicAnims+160
	jmp P_InitPicAnims+224
	nop 0
	nop 0
;P_InitPicAnims+176
	callr %r8,W_CheckNumForName
	bweqi %r9,-1,P_InitPicAnims+80
	mov %r9,%r3
;P_InitPicAnims+192
	callr %r8,R_FlatNumForName
	lddzr %r4,lastanim
	stw %r9,%r4,4
;P_InitPicAnims+208
	mov %r9,%r2
	callr %r8,R_FlatNumForName
	nop 0
;P_InitPicAnims+224
	lddzr %r4,lastanim
	stw %r9,%r4,8
	ldwz %r6,%r5,-28
;P_InitPicAnims+240
	stw %r6,%r4,0
	ldwz %r6,%r4,4
	subws %r6,%r6,%r9
;P_InitPicAnims+256
	addiws %r7,%r6,1
	stw %r7,%r4,12
	bwlt %gz,%r6,P_InitPicAnims+48
;P_InitPicAnims+272
	std %r3,%sp,8
	std %r2,%sp,0
	mov %r9,%r1
;P_InitPicAnims+288
	callr %r8,I_Error
	lddzr %r4,lastanim
	jmp P_InitPicAnims+48
;P_InitPicAnims+304
	retf 16
	nop 0
	nop 0
;getSide
	alloc 5
	lddzr %r4,sectors
	lddzx.xw %r1,%r4,%r1,7,120
;getSide+16
	lddzx.xw %r1,%r1,%r2,3,0
	lddzr %r2,sides
	ldhsx.xw %r1,%r1,%r3,1,30
;getSide+32
	ldi %r3,24
	muladd %r1,%r1,%r3,%r2
	retf 0
;getSector
	alloc 5
	lddzr %r4,sectors
	lddzx.xw %r1,%r4,%r1,7,120
;getSector+16
	lddzx.xw %r1,%r1,%r2,3,0
	ldhsx.xw %r1,%r1,%r3,1,30
	lddzr %r2,sides
;getSector+32
	muli %r1,%r1,24
	lddzx.xd %r1,%r2,%r1,0,16
	retf 0
;twoSided
	alloc 4
	lddzr %r3,sectors
	lddzx.xw %r1,%r3,%r1,7,120
;twoSided+16
	lddzx.xw %r1,%r1,%r2,3,0
	ldhz %r1,%r1,24
	andi %r1,%r1,4
;twoSided+32
	retf 0
	nop 0
	nop 0
;getNextSector
	alloc 5
	ldbz %r4,%r1,24
	mov %r3,%gz
;getNextSector+16
	bbci %r4,2,getNextSector+32
	lddz %r3,%r1,56
	bdeq %r3,%r2,getNextSector+48
;getNextSector+32
	mov %r1,%r3
	retf 0
	nop 0
;getNextSector+48
	lddz %r3,%r1,64
	mov %r1,%r3
	retf 0
;P_FindLowestFloorSurrounding
	alloc 7
	mov %r2,%r1
	ldwz %r4,%r1,112
;P_FindLowestFloorSurrounding+16
	ldwz %r1,%r1,0
	bwlti %r4,1,P_FindLowestFloorSurrounding+144
	lddz %r3,%r2,120
;P_FindLowestFloorSurrounding+32
	srliw %r4,%r4,0
	jmp P_FindLowestFloorSurrounding+64
	nop 0
;P_FindLowestFloorSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindLowestFloorSurrounding+144
;P_FindLowestFloorSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindLowestFloorSurrounding+48
;P_FindLowestFloorSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r2,P_FindLowestFloorSurrounding+112
	bdne %r5,%gz,P_FindLowestFloorSurrounding+128
;P_FindLowestFloorSurrounding+96
	jmp P_FindLowestFloorSurrounding+48
	nop 0
	nop 0
;P_FindLowestFloorSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindLowestFloorSurrounding+48
	nop 0
;P_FindLowestFloorSurrounding+128
	ldwz %r5,%r5,0
	minsw %r1,%r5,%r1
	jmp P_FindLowestFloorSurrounding+48
;P_FindLowestFloorSurrounding+144
	retf 0
	nop 0
	nop 0
;P_FindHighestFloorSurrounding
	alloc 7
	ldwz %r2,%r1,112
	bwlti %r2,1,P_FindHighestFloorSurrounding+160
;P_FindHighestFloorSurrounding+16
	lddz %r3,%r1,120
	srliw %r4,%r2,0
	ldi %r2,-32768000
;P_FindHighestFloorSurrounding+32
	jmp P_FindHighestFloorSurrounding+64
	nop 0
	nop 0
;P_FindHighestFloorSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindHighestFloorSurrounding+144
;P_FindHighestFloorSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindHighestFloorSurrounding+48
;P_FindHighestFloorSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r1,P_FindHighestFloorSurrounding+112
	bdne %r5,%gz,P_FindHighestFloorSurrounding+128
;P_FindHighestFloorSurrounding+96
	jmp P_FindHighestFloorSurrounding+48
	nop 0
	nop 0
;P_FindHighestFloorSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindHighestFloorSurrounding+48
	nop 0
;P_FindHighestFloorSurrounding+128
	ldwz %r5,%r5,0
	maxsw %r2,%r5,%r2
	jmp P_FindHighestFloorSurrounding+48
;P_FindHighestFloorSurrounding+144
	mov %r1,%r2
	retf 0
	nop 0
;P_FindHighestFloorSurrounding+160
	ldi %r1,-32768000
	retf 0
	nop 0
;P_FindNextHighestFloor
	allocsp 14,96
	mov %r3,%r1
	ldwz %r4,%r1,112
;P_FindNextHighestFloor+16
	mov %r1,%r2
	bwlti %r4,1,P_FindNextHighestFloor+304
	mov2 %r6,%r7,%gz,%gz
;P_FindNextHighestFloor+32
	mov %r5,%gz
	addi %r8,%sp,8
	ldafr %r2,.rodata+22594
;P_FindNextHighestFloor+48
	mov %r9,%r1
	jmp P_FindNextHighestFloor+128
	nop 0
;P_FindNextHighestFloor+64
	mov %r9,%r10
	nop 0
	nop 0
;P_FindNextHighestFloor+80
	addiws %r11,%r5,1
	stwx.xw %r10,%r8,%r5,2,0
	mov %r5,%r11
;P_FindNextHighestFloor+96
	addi %r7,%r7,1
	sraiw %r10,%r4,0
	addi %r6,%r6,8
;P_FindNextHighestFloor+112
	bdle %r10,%r7,P_FindNextHighestFloor+240
	nop 0
	nop 0
;P_FindNextHighestFloor+128
	lddz %r10,%r3,120
	lddzx.xd %r10,%r10,%r6,0,0
	ldbz %r11,%r10,24
;P_FindNextHighestFloor+144
	bbci %r11,2,P_FindNextHighestFloor+96
	lddz %r11,%r10,56
	bdeq %r11,%r3,P_FindNextHighestFloor+176
;P_FindNextHighestFloor+160
	bdne %r11,%gz,P_FindNextHighestFloor+192
	jmp P_FindNextHighestFloor+96
	nop 0
;P_FindNextHighestFloor+176
	lddz %r11,%r10,64
	bdeq %r11,%gz,P_FindNextHighestFloor+96
	nop 0
;P_FindNextHighestFloor+192
	ldwz %r10,%r11,0
	bwle %r10,%r9,P_FindNextHighestFloor+96
	bweqi %r5,21,P_FindNextHighestFloor+64
;P_FindNextHighestFloor+208
	bwnei %r5,22,P_FindNextHighestFloor+80
	mov %r13,%r2
	callr %r12,I_Error
;P_FindNextHighestFloor+224
	ldwz %r10,%r11,0
	ldwz %r4,%r3,112
	jmp P_FindNextHighestFloor+80
;P_FindNextHighestFloor+240
	bweq %r5,%gz,P_FindNextHighestFloor+304
	ldwz %r1,%sp,8
	bwlti %r5,2,P_FindNextHighestFloor+304
;P_FindNextHighestFloor+256
	srliw %r3,%r5,0
	addi %r2,%sp,12
	addi %r3,%r3,-1
;P_FindNextHighestFloor+272
	ldwz %r4,%r2,0
	minsw %r1,%r4,%r1
	addi %r3,%r3,-1
;P_FindNextHighestFloor+288
	addi %r2,%r2,4
	bdne %r3,%gz,P_FindNextHighestFloor+272
	nop 0
;P_FindNextHighestFloor+304
	retf 96
	nop 0
	nop 0
;P_FindLowestCeilingSurrounding
	alloc 7
	ldwz %r2,%r1,112
	bwlti %r2,1,P_FindLowestCeilingSurrounding+160
;P_FindLowestCeilingSurrounding+16
	lddz %r3,%r1,120
	srliw %r4,%r2,0
	nop 2
;P_FindLowestCeilingSurrounding+32
	ldi.l %r2,2147483647
	jmp P_FindLowestCeilingSurrounding+64
;P_FindLowestCeilingSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindLowestCeilingSurrounding+144
;P_FindLowestCeilingSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindLowestCeilingSurrounding+48
;P_FindLowestCeilingSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r1,P_FindLowestCeilingSurrounding+112
	bdne %r5,%gz,P_FindLowestCeilingSurrounding+128
;P_FindLowestCeilingSurrounding+96
	jmp P_FindLowestCeilingSurrounding+48
	nop 0
	nop 0
;P_FindLowestCeilingSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindLowestCeilingSurrounding+48
	nop 0
;P_FindLowestCeilingSurrounding+128
	ldwz %r5,%r5,4
	minsw %r2,%r5,%r2
	jmp P_FindLowestCeilingSurrounding+48
;P_FindLowestCeilingSurrounding+144
	mov %r1,%r2
	retf 0
	nop 0
;P_FindLowestCeilingSurrounding+160
	ldi.l %r1,2147483647
	retf 0
;P_FindHighestCeilingSurrounding
	alloc 7
	ldwz %r4,%r1,112
	bwlti %r4,1,P_FindHighestCeilingSurrounding+160
;P_FindHighestCeilingSurrounding+16
	mov %r2,%gz
	lddz %r3,%r1,120
	srliw %r4,%r4,0
;P_FindHighestCeilingSurrounding+32
	jmp P_FindHighestCeilingSurrounding+64
	nop 0
	nop 0
;P_FindHighestCeilingSurrounding+48
	addi %r4,%r4,-1
	addi %r3,%r3,8
	bdeq %r4,%gz,P_FindHighestCeilingSurrounding+144
;P_FindHighestCeilingSurrounding+64
	lddz %r6,%r3,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindHighestCeilingSurrounding+48
;P_FindHighestCeilingSurrounding+80
	lddz %r5,%r6,56
	bdeq %r5,%r1,P_FindHighestCeilingSurrounding+112
	bdne %r5,%gz,P_FindHighestCeilingSurrounding+128
;P_FindHighestCeilingSurrounding+96
	jmp P_FindHighestCeilingSurrounding+48
	nop 0
	nop 0
;P_FindHighestCeilingSurrounding+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindHighestCeilingSurrounding+48
	nop 0
;P_FindHighestCeilingSurrounding+128
	ldwz %r5,%r5,4
	maxsw %r2,%r5,%r2
	jmp P_FindHighestCeilingSurrounding+48
;P_FindHighestCeilingSurrounding+144
	mov %r1,%r2
	retf 0
	nop 0
;P_FindHighestCeilingSurrounding+160
	mov %r1,%gz
	retf 0
	nop 0
;P_FindSectorFromLineTag
	alloc 8
	lddzr %r6,sectors
	mov %r3,%r1
;P_FindSectorFromLineTag+16
	ldwsr %r5,numsectors
	sraiw %r4,%r2,0
	ldax.xw %r2,%r6,%r2,7,144
;P_FindSectorFromLineTag+32
	ldi %r1,-1
	nop 0
	nop 0
;P_FindSectorFromLineTag+48
	addi %r4,%r4,1
	bdle %r5,%r4,P_FindSectorFromLineTag+96
	ldhz %r6,%r2,0
;P_FindSectorFromLineTag+64
	ldhz %r7,%r3,28
	addi %r2,%r2,128
	bwne %r6,%r7,P_FindSectorFromLineTag+48
;P_FindSectorFromLineTag+80
	mov %r1,%r4
	nop 0
	nop 0
;P_FindSectorFromLineTag+96
	retf 0
	nop 0
	nop 0
;P_FindMinSurroundingLight
	alloc 7
	mov %r3,%r1
	ldwz %r4,%r1,112
;P_FindMinSurroundingLight+16
	mov %r1,%r2
	bwlti %r4,1,P_FindMinSurroundingLight+144
	lddz %r2,%r3,120
;P_FindMinSurroundingLight+32
	srliw %r4,%r4,0
	jmp P_FindMinSurroundingLight+64
	nop 0
;P_FindMinSurroundingLight+48
	addi %r4,%r4,-1
	addi %r2,%r2,8
	bdeq %r4,%gz,P_FindMinSurroundingLight+144
;P_FindMinSurroundingLight+64
	lddz %r6,%r2,0
	ldbz %r5,%r6,24
	bbci %r5,2,P_FindMinSurroundingLight+48
;P_FindMinSurroundingLight+80
	lddz %r5,%r6,56
	bdeq %r5,%r3,P_FindMinSurroundingLight+112
	bdne %r5,%gz,P_FindMinSurroundingLight+128
;P_FindMinSurroundingLight+96
	jmp P_FindMinSurroundingLight+48
	nop 0
	nop 0
;P_FindMinSurroundingLight+112
	lddz %r5,%r6,64
	bdeq %r5,%gz,P_FindMinSurroundingLight+48
	nop 0
;P_FindMinSurroundingLight+128
	ldhs %r5,%r5,12
	minsw %r1,%r1,%r5
	jmp P_FindMinSurroundingLight+48
;P_FindMinSurroundingLight+144
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine
	alloc 12
	lddzr %r5,lines
	lddz %r4,%r3,192
;P_CrossSpecialLine+16
	sraiw %r1,%r1,0
	ldi %r6,88
	muladd %r1,%r1,%r6,%r5
;P_CrossSpecialLine+32
	bdeq %r4,%gz,P_CrossSpecialLine+96
	ldhz %r5,%r1,26
	nop 0
;P_CrossSpecialLine+48
	andi %r5,%r5,65535
	addiws %r6,%r5,-2
	bwgeui %r6,140,P_CrossSpecialLine+112
;P_CrossSpecialLine+64
	addiwz %r5,%r5,-2
	ldafr %r6,.rodata+36208
	jmpt %r6,%r5
;P_CrossSpecialLine+80
	ldi %r11,3
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+96
	ldwz %r5,%r3,128
	addiws %r6,%r5,-31
	bwgeui %r6,5,P_CrossSpecialLine+128
;P_CrossSpecialLine+112
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+128
	bweqi %r5,16,P_CrossSpecialLine+112
	ldhz %r5,%r1,26
	addiws %r6,%r5,-88
;P_CrossSpecialLine+144
	bwgeui %r6,39,P_CrossSpecialLine+176
	addiwz %r6,%r5,-88
	ldi %r7,1
;P_CrossSpecialLine+160
	sll %r6,%r7,%r6
	bmany.l %r6,412316860929,P_CrossSpecialLine+48
;P_CrossSpecialLine+176
	bwgeui %r5,40,P_CrossSpecialLine+112
	srliw %r6,%r5,0
	ldi %r7,1
;P_CrossSpecialLine+192
	sll %r6,%r7,%r6
	bmany.l %r6,549755814928,P_CrossSpecialLine+48
;P_CrossSpecialLine+208
	jmp P_CrossSpecialLine+112
	nop 0
	nop 0
;P_CrossSpecialLine+224
	bdne %r4,%gz,P_CrossSpecialLine+112
	nop 0
	nop 0
;P_CrossSpecialLine+240
	mov2 %r9,%r10,%r1,%r2
	mov %r11,%r3
	callr %r8,EV_Teleport
;P_CrossSpecialLine+256
	sth %gz,%r1,26
	retf 0
	nop 0
;P_CrossSpecialLine+272
	ldi %r10,1
	jmp P_CrossSpecialLine+1296
	nop 0
;P_CrossSpecialLine+288
	ldi %r10,3
	jmp P_CrossSpecialLine+1296
	nop 0
;P_CrossSpecialLine+304
	ldi %r11,5
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+320
	ldi %r11,2
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+336
	ldi %r11,9
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+352
	mov2 %r10,%r11,%r1,%gz
	callr %r9,EV_DoFloor
	retf 0
;P_CrossSpecialLine+368
	ldi %r11,1
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+384
	mov2 %r10,%r11,%r1,%gz
	callr %r9,EV_LightTurnOn
	retf 0
;P_CrossSpecialLine+400
	mov %r11,%r1
	callr %r10,EV_StopPlat
	retf 0
;P_CrossSpecialLine+416
	ldi %r11,1
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+432
	ldi %r11,2
	jmp P_CrossSpecialLine+1344
	nop 0
;P_CrossSpecialLine+448
	ldi %r11,3
	jmp P_CrossSpecialLine+1344
	nop 0
;P_CrossSpecialLine+464
	ldi %r11,9
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+480
	ldi %r10,4
	jmp P_CrossSpecialLine+800
	nop 0
;P_CrossSpecialLine+496
	mov2 %r9,%r10,%r1,%gz
	jmp P_CrossSpecialLine+816
	nop 0
;P_CrossSpecialLine+512
	mov %r11,%r1
	callr %r10,EV_StartLightStrobing
	sth %gz,%r1,26
;P_CrossSpecialLine+528
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+544
	ldi %r11,1
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+560
	ldi %r11,8
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+576
	ldi %r11,6
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+592
	callr %r11,G_ExitLevel
	retf 0
	nop 0
;P_CrossSpecialLine+608
	ldi %r10,3
	jmp P_CrossSpecialLine+800
	nop 0
;P_CrossSpecialLine+624
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1744
	nop 0
;P_CrossSpecialLine+640
	ldi %r11,2
	jmp P_CrossSpecialLine+1136
	nop 0
;P_CrossSpecialLine+656
	mov %r11,%r1
	callr %r10,EV_CeilingCrushStop
	retf 0
;P_CrossSpecialLine+672
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1040
	nop 0
;P_CrossSpecialLine+688
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1696
	nop 0
;P_CrossSpecialLine+704
	ldi %r11,10
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+720
	mov %r11,%r1
	callr %r10,EV_StopPlat
	sth %gz,%r1,26
;P_CrossSpecialLine+736
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+752
	ldi %r11,3
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+768
	ldi %r11,2
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+784
	ldi %r10,1
	nop 0
	nop 0
;P_CrossSpecialLine+800
	mov %r9,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+816
	mov %r11,%gz
	callr %r8,EV_DoPlat
	sth %gz,%r1,26
;P_CrossSpecialLine+832
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+848
	mov2 %r10,%r11,%r1,%gz
	jmp P_CrossSpecialLine+1088
	nop 0
;P_CrossSpecialLine+864
	mov2 %r10,%r11,%r1,%gz
	callr %r9,EV_DoDoor
	retf 0
;P_CrossSpecialLine+880
	ldi %r11,5
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+896
	ldi %r11,35
	jmp P_CrossSpecialLine+1072
	nop 0
;P_CrossSpecialLine+912
	ldi %r11,8
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+928
	ldi %r11,3
	jmp P_CrossSpecialLine+1136
	nop 0
;P_CrossSpecialLine+944
	ldi %r11,3
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+960
	ldi %r11,3
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+976
	ldi %r11,4
	jmp P_CrossSpecialLine+1344
	nop 0
;P_CrossSpecialLine+992
	ldi %r11,255
	jmp P_CrossSpecialLine+1472
	nop 0
;P_CrossSpecialLine+1008
	ldi %r11,1
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+1024
	ldi %r11,1
	mov %r10,%r1
	nop 0
;P_CrossSpecialLine+1040
	callr %r9,EV_BuildStairs
	sth %gz,%r1,26
	retf 0
;P_CrossSpecialLine+1056
	ldi %r11,255
	nop 0
	nop 0
;P_CrossSpecialLine+1072
	mov %r10,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1088
	callr %r9,EV_LightTurnOn
	sth %gz,%r1,26
	retf 0
;P_CrossSpecialLine+1104
	ldi %r11,6
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1120
	ldi %r11,4
	nop 0
	nop 0
;P_CrossSpecialLine+1136
	mov %r10,%r1
	callr %r9,EV_DoCeiling
	retf 0
;P_CrossSpecialLine+1152
	ldi %r11,2
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1168
	mov %r11,%r1
	callr %r10,EV_TurnTagLightsOff
	sth %gz,%r1,26
;P_CrossSpecialLine+1184
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1200
	mov2 %r9,%r10,%r1,%gz
	jmp P_CrossSpecialLine+1312
	nop 0
;P_CrossSpecialLine+1216
	ldi %r2,1
	mov2 %r10,%r11,%r1,%r2
	callr %r9,EV_DoCeiling
;P_CrossSpecialLine+1232
	mov2 %r10,%r11,%r1,%r2
	jmp P_CrossSpecialLine+1696
	nop 0
;P_CrossSpecialLine+1248
	ldi %r11,7
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+1264
	ldi %r11,4
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1280
	ldi %r10,4
	nop 0
	nop 0
;P_CrossSpecialLine+1296
	mov %r9,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1312
	mov %r11,%gz
	callr %r8,EV_DoPlat
	retf 0
;P_CrossSpecialLine+1328
	ldi %r11,5
	nop 0
	nop 0
;P_CrossSpecialLine+1344
	mov %r10,%r1
	callr %r9,EV_DoCeiling
	sth %gz,%r1,26
;P_CrossSpecialLine+1360
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1376
	ldi %r11,6
	jmp P_CrossSpecialLine+1504
	nop 0
;P_CrossSpecialLine+1392
	ldi %r11,7
	jmp P_CrossSpecialLine+1680
	nop 0
;P_CrossSpecialLine+1408
	mov %r11,%r1
	callr %r10,EV_CeilingCrushStop
	sth %gz,%r1,26
;P_CrossSpecialLine+1424
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1440
	callr %r11,G_SecretExitLevel
	retf 0
	nop 0
;P_CrossSpecialLine+1456
	ldi %r11,35
	nop 0
	nop 0
;P_CrossSpecialLine+1472
	mov %r10,%r1
	callr %r9,EV_LightTurnOn
	retf 0
;P_CrossSpecialLine+1488
	ldi %r11,2
	nop 0
	nop 0
;P_CrossSpecialLine+1504
	mov %r10,%r1
	callr %r9,EV_DoDoor
	retf 0
;P_CrossSpecialLine+1520
	ldi %r11,7
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+1536
	bdne %r4,%gz,P_CrossSpecialLine+112
	nop 0
	nop 0
;P_CrossSpecialLine+1552
	mov2 %r9,%r10,%r1,%r2
	mov %r11,%r3
	callr %r8,EV_Teleport
;P_CrossSpecialLine+1568
	retf 0
	nop 0
	nop 0
;P_CrossSpecialLine+1584
	ldi %r11,6
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+1600
	ldi %r11,4
	jmp P_CrossSpecialLine+1632
	nop 0
;P_CrossSpecialLine+1616
	ldi %r11,5
	nop 0
	nop 0
;P_CrossSpecialLine+1632
	mov %r10,%r1
	callr %r9,EV_DoFloor
	retf 0
;P_CrossSpecialLine+1648
	ldi %r11,7
	jmp P_CrossSpecialLine+1728
	nop 0
;P_CrossSpecialLine+1664
	ldi %r11,10
	nop 0
	nop 0
;P_CrossSpecialLine+1680
	mov %r10,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1696
	callr %r9,EV_DoFloor
	sth %gz,%r1,26
	retf 0
;P_CrossSpecialLine+1712
	ldi %r11,5
	nop 0
	nop 0
;P_CrossSpecialLine+1728
	mov %r10,%r1
	nop 0
	nop 0
;P_CrossSpecialLine+1744
	callr %r9,EV_DoDoor
	sth %gz,%r1,26
	retf 0
;P_ShootSpecialLine
	alloc 8
	lddz %r3,%r1,192
	ldhz %r1,%r2,26
;P_ShootSpecialLine+16
	bdeq %r3,%gz,P_ShootSpecialLine+64
	bweqi %r1,47,P_ShootSpecialLine+112
	bweqi %r1,46,P_ShootSpecialLine+80
;P_ShootSpecialLine+32
	bwnei %r1,24,P_ShootSpecialLine+160
	ldi %r7,3
	mov %r6,%r2
;P_ShootSpecialLine+48
	callr %r5,EV_DoFloor
	jmp P_ShootSpecialLine+128
	nop 0
;P_ShootSpecialLine+64
	bwnei %r1,46,P_ShootSpecialLine+160
	nop 0
	nop 0
;P_ShootSpecialLine+80
	ldi %r7,3
	mov %r6,%r2
	callr %r5,EV_DoDoor
;P_ShootSpecialLine+96
	ldi %r7,1
	jmp P_ShootSpecialLine+144
	nop 0
;P_ShootSpecialLine+112
	ldi %r6,3
	mov2 %r5,%r7,%r2,%gz
	callr %r4,EV_DoPlat
;P_ShootSpecialLine+128
	mov %r7,%gz
	nop 0
	nop 0
;P_ShootSpecialLine+144
	mov %r6,%r2
	callr %r5,P_ChangeSwitchTexture
	nop 0
;P_ShootSpecialLine+160
	retf 0
	nop 0
	nop 0
;P_PlayerInSpecialSector
	allocsp 11,16
	lddz %r7,%r1,0
	lddz %r2,%r7,88
;P_PlayerInSpecialSector+16
	lddz %r2,%r2,0
	ldwz %r3,%r7,32
	ldwz %r4,%r2,0
;P_PlayerInSpecialSector+32
	bwne %r3,%r4,P_PlayerInSpecialSector+128
	ldhz %r3,%r2,14
	addiws %r4,%r3,-4
;P_PlayerInSpecialSector+48
	bwgeui %r4,13,P_PlayerInSpecialSector+272
	addiwz %r4,%r3,-4
	ldafr %r5,.rodata+36768
;P_PlayerInSpecialSector+64
	jmpt %r5,%r4
	nop 0
	nop 0
;P_PlayerInSpecialSector+80
	ldwz %r2,%r1,68
	bweq %r2,%gz,P_PlayerInSpecialSector+112
	callr %r9,P_Random
;P_PlayerInSpecialSector+96
	bwgei %r10,5,P_PlayerInSpecialSector+128
	nop 0
	nop 0
;P_PlayerInSpecialSector+112
	ldbzr %r2,leveltime
	andi %r2,%r2,31
	bweq %r2,%gz,P_PlayerInSpecialSector+384
;P_PlayerInSpecialSector+128
	retf 16
	nop 0
	nop 0
;P_PlayerInSpecialSector+144
	ldwz %r1,%r1,68
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldbzr %r1,leveltime
;P_PlayerInSpecialSector+160
	andi %r1,%r1,31
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldi %r10,10
;P_PlayerInSpecialSector+176
	jmp P_PlayerInSpecialSector+400
	nop 0
	nop 0
;P_PlayerInSpecialSector+192
	ldwz %r2,%r1,208
	andi %r2,%r2,-3
	stw %r2,%r1,208
;P_PlayerInSpecialSector+208
	ldbzr %r2,leveltime
	andi %r2,%r2,31
	bwne %r2,%gz,P_PlayerInSpecialSector+240
;P_PlayerInSpecialSector+224
	ldi %r10,20
	mov2 %r8,%r9,%gz,%gz
	callr %r6,P_DamageMobj
;P_PlayerInSpecialSector+240
	ldwz %r1,%r1,44
	bwgei %r1,11,P_PlayerInSpecialSector+128
	callr %r10,G_ExitLevel
;P_PlayerInSpecialSector+256
	retf 16
	nop 0
	nop 0
;P_PlayerInSpecialSector+272
	slsrai %r1,%r3,48,48
	ldafr %r10,.rodata+17735
	stw %r1,%sp,0
;P_PlayerInSpecialSector+288
	callr %r9,I_Error
	retf 16
	nop 0
;P_PlayerInSpecialSector+304
	ldwz %r1,%r1,68
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldbzr %r1,leveltime
;P_PlayerInSpecialSector+320
	andi %r1,%r1,31
	bwne %r1,%gz,P_PlayerInSpecialSector+128
	ldi %r10,5
;P_PlayerInSpecialSector+336
	jmp P_PlayerInSpecialSector+400
	nop 0
	nop 0
;P_PlayerInSpecialSector+352
	ldwz %r3,%r1,224
	addiws %r3,%r3,1
	stw %r3,%r1,224
;P_PlayerInSpecialSector+368
	sth %gz,%r2,14
	retf 16
	nop 0
;P_PlayerInSpecialSector+384
	lddz %r7,%r1,0
	ldi %r10,20
	nop 0
;P_PlayerInSpecialSector+400
	mov2 %r8,%r9,%gz,%gz
	callr %r6,P_DamageMobj
	retf 16
;P_UpdateSpecials
	alloc 15
	ldwzr %r1,levelTimer
	bwnei %r1,1,P_UpdateSpecials+48
;P_UpdateSpecials+16
	ldwzr %r1,levelTimeCount
	addiws %r1,%r1,-1
	stwr %r1,levelTimeCount
;P_UpdateSpecials+32
	bwne %r1,%gz,P_UpdateSpecials+48
	callr %r14,G_ExitLevel
	nop 0
;P_UpdateSpecials+48
	lddzr %r1,lastanim
	ldafr %r2,anims
	bdltu %r2,%r1,P_UpdateSpecials+176
;P_UpdateSpecials+64
	ldhsr %r1,numlinespecials
	bdlti %r1,1,P_UpdateSpecials+320
	ldafr %r2,linespeciallist
;P_UpdateSpecials+80
	lddzr %r3,sides
	jmp P_UpdateSpecials+112
	nop 0
;P_UpdateSpecials+96
	addi %r1,%r1,-1
	addi %r2,%r2,8
	bdeq %r1,%gz,P_UpdateSpecials+320
;P_UpdateSpecials+112
	lddz %r4,%r2,0
	ldhz %r5,%r4,26
	bwnei %r5,48,P_UpdateSpecials+96
;P_UpdateSpecials+128
	ldhs %r4,%r4,30
	muli %r4,%r4,24
	ldwzx.xd %r5,%r3,%r4,0,0
;P_UpdateSpecials+144
	addiws %r5,%r5,65536
	stwx.xd %r5,%r3,%r4,0,0
	jmp P_UpdateSpecials+96
;P_UpdateSpecials+160
	addi %r2,%r2,20
	bdleu %r1,%r2,P_UpdateSpecials+64
	nop 0
;P_UpdateSpecials+176
	ldwz %r7,%r2,12
	bwlti %r7,1,P_UpdateSpecials+160
	ldwz %r8,%r2,8
;P_UpdateSpecials+192
	lddzr %r3,texturetranslation
	lddzr %r4,flattranslation
	sraiw %r5,%r8,0
;P_UpdateSpecials+208
	slli %r6,%r5,2
	nop 0
	nop 0
;P_UpdateSpecials+224
	ldwzr %r9,leveltime
	ldwz %r10,%r2,16
	divw %r9,%r9,%r10
;P_UpdateSpecials+240
	addws %r9,%r9,%r5
	modw %r7,%r9,%r7
	ldwz %r9,%r2,0
;P_UpdateSpecials+256
	addws %r7,%r7,%r8
	cmovweq %r8,%r9,%r4,%r3
	stwx.xd %r7,%r8,%r6,0,0
;P_UpdateSpecials+272
	ldwz %r8,%r2,8
	ldwz %r7,%r2,12
	addi %r5,%r5,1
;P_UpdateSpecials+288
	addws %r9,%r7,%r8
	addi %r6,%r6,4
	bdlt %r5,%r9,P_UpdateSpecials+224
;P_UpdateSpecials+304
	jmp P_UpdateSpecials+160
	nop 0
	nop 0
;P_UpdateSpecials+320
	mov %r3,%gz
	ldafr %r4,buttonlist
	ldafr %r5,buttonlist+16
;P_UpdateSpecials+336
	ldafr %r6,buttonlist+8
	ldafr %r7,buttonlist+12
	ldafr %r8,buttonlist+24
;P_UpdateSpecials+352
	ldi %r1,23
	jmp P_UpdateSpecials+464
	nop 0
;P_UpdateSpecials+368
	lddzx.xd %r2,%r3,%r4,0,0
	ldwzx.xd %r10,%r3,%r7,0,0
	ldhs %r2,%r2,30
;P_UpdateSpecials+384
	lddzr %r11,sides
	muli %r2,%r2,24
	sthx.xd %r10,%r11,%r2,0,12
;P_UpdateSpecials+400
	add %r13,%r3,%r8
	mov %r14,%r1
	callr %r12,S_StartSound
;P_UpdateSpecials+416
	std %gz,%r9,0
	std %gz,%r9,8
	std %gz,%r9,16
;P_UpdateSpecials+432
	std %gz,%r9,24
	nop 0
	nop 0
;P_UpdateSpecials+448
	addi %r3,%r3,32
	bdeqi %r3,512,P_UpdateSpecials+608
	nop 0
;P_UpdateSpecials+464
	ldwzx.xd %r2,%r3,%r5,0,0
	bweq %r2,%gz,P_UpdateSpecials+448
	add %r9,%r3,%r4
;P_UpdateSpecials+480
	addiws %r2,%r2,-1
	stw %r2,%r9,16
	bwne %r2,%gz,P_UpdateSpecials+448
;P_UpdateSpecials+496
	ldwzx.xd %r2,%r3,%r6,0,0
	bweqi %r2,2,P_UpdateSpecials+560
	bweqi %r2,1,P_UpdateSpecials+368
;P_UpdateSpecials+512
	bwne %r2,%gz,P_UpdateSpecials+400
	lddzx.xd %r2,%r3,%r4,0,0
	ldwzx.xd %r10,%r3,%r7,0,0
;P_UpdateSpecials+528
	ldhs %r2,%r2,30
	lddzr %r11,sides
	muli %r2,%r2,24
;P_UpdateSpecials+544
	sthx.xd %r10,%r11,%r2,0,8
	jmp P_UpdateSpecials+400
	nop 0
;P_UpdateSpecials+560
	lddzx.xd %r2,%r3,%r4,0,0
	ldwzx.xd %r10,%r3,%r7,0,0
	ldhs %r2,%r2,30
;P_UpdateSpecials+576
	lddzr %r11,sides
	muli %r2,%r2,24
	sthx.xd %r10,%r11,%r2,0,10
;P_UpdateSpecials+592
	jmp P_UpdateSpecials+400
	nop 0
	nop 0
;P_UpdateSpecials+608
	retf 0
	nop 0
	nop 0
;EV_DoDonut
	allocsp 32,16
	mov %r13,%gz
	lddzr %r2,stderr
;EV_DoDonut+16
	ldwzr %r23,numsectors
	ldi %r14,-1
	lddzr %r24,sectors
;EV_DoDonut+32
	ldi %r15,144
	ldi %r3,1
	ldafr %r4,.rodata+7327
;EV_DoDonut+48
	ldi %r5,118
	ldafr %r6,DonutOverrun.tmp_s3_floorheight
	ldi %r16,22
;EV_DoDonut+64
	ldafr %r7,.rodata+5769
	ldi %r8,2
	ldafr %r9,DonutOverrun.tmp_s3_floorpic
;EV_DoDonut+80
	ldafr %r10,.rodata+23562
	ldi %r11,64
	ldi %r12,6
;EV_DoDonut+96
	ldar %r17,T_MoveFloor
	ldi %r18,11
	ldi %r19,32768
;EV_DoDonut+112
	mov %r20,%r14
	nop 0
	nop 0
;EV_DoDonut+128
	sraiw %r22,%r23,0
	nop 0
	nop 0
;EV_DoDonut+144
	sraiw %r25,%r20,0
	ldax.xw %r21,%r15,%r20,7,0
	mov %r20,%r25
;EV_DoDonut+160
	addi %r20,%r20,1
	bdle %r22,%r20,EV_DoDonut+720
	ldhzx.xd %r25,%r24,%r21,0,0
;EV_DoDonut+176
	ldhz %r26,%r1,28
	addi %r21,%r21,128
	bwne %r25,%r26,EV_DoDonut+160
;EV_DoDonut+192
	addi %r21,%r20,-1
	bdlti %r21,-1,EV_DoDonut+720
	ldax.xuw %r21,%r24,%r20,7,0
;EV_DoDonut+208
	lddzx.xuw %r25,%r24,%r20,7,104
	bdne %r25,%gz,EV_DoDonut+144
	lddz %r13,%r21,120
;EV_DoDonut+224
	lddz %r13,%r13,0
	ldbz %r22,%r13,24
	bbci %r22,2,EV_DoDonut+688
;EV_DoDonut+240
	lddz %r22,%r13,56
	bdne %r22,%r21,EV_DoDonut+256
	lddz %r22,%r13,64
;EV_DoDonut+256
	bdeq %r22,%gz,EV_DoDonut+688
	ldwz %r25,%r22,112
	mov %r13,%r3
;EV_DoDonut+272
	bwlti %r25,1,EV_DoDonut+128
	lddz %r13,%r22,120
	srliw %r25,%r25,0
;EV_DoDonut+288
	lddz %r26,%r13,0
	lddz %r26,%r26,64
	bdne %r26,%r21,EV_DoDonut+336
;EV_DoDonut+304
	addi %r25,%r25,-1
	addi %r13,%r13,8
	bdne %r25,%gz,EV_DoDonut+288
;EV_DoDonut+320
	mov %r13,%r3
	jmp EV_DoDonut+128
	nop 0
;EV_DoDonut+336
	bdeq %r26,%gz,EV_DoDonut+512
	ldhz %r23,%r26,8
	nop 0
;EV_DoDonut+352
	ldwz %r24,%r26,0
	mov2 %r29,%r30,%r11,%r12
	mov %r31,%gz
;EV_DoDonut+368
	callr %r28,Z_Malloc
	mov %r31,%r29
	callr %r30,P_AddThinker
;EV_DoDonut+384
	std %r29,%r22,104
	std %r17,%r29,16
	std %r18,%r29,24
;EV_DoDonut+400
	std %r3,%r29,40
	std %r22,%r29,32
	stw %r19,%r29,56
;EV_DoDonut+416
	sth %r23,%r29,48
	stw %r24,%r29,52
	mov2 %r29,%r30,%r11,%r12
;EV_DoDonut+432
	mov %r31,%gz
	callr %r28,Z_Malloc
	mov %r31,%r29
;EV_DoDonut+448
	callr %r30,P_AddThinker
	std %r29,%r21,104
	std %r17,%r29,16
;EV_DoDonut+464
	std %gz,%r29,24
	stw %r14,%r29,40
	std %r21,%r29,32
;EV_DoDonut+480
	stw %r19,%r29,56
	stw %r24,%r29,52
	ldwzr %r23,numsectors
;EV_DoDonut+496
	lddzr %r24,sectors
	mov %r13,%r3
	jmp EV_DoDonut+128
;EV_DoDonut+512
	mov2 %r28,%r29,%r4,%r5
	mov2 %r30,%r31,%r3,%r2
	callr %r27,fwrite_unlocked
;EV_DoDonut+528
	ldbzr %r13,DonutOverrun.first
	bbsi %r13,0,EV_DoDonut+640
	stbr %r3,DonutOverrun.first
;EV_DoDonut+544
	stwr %gz,DonutOverrun.tmp_s3_floorheight
	stwr %r16,DonutOverrun.tmp_s3_floorpic
	mov2 %r30,%r31,%r7,%r8
;EV_DoDonut+560
	callr %r29,M_CheckParmWithArgs
	bwlti %r30,1,EV_DoDonut+640
	lddzr %r13,myargv
;EV_DoDonut+576
	lddzx.xuw %r13,%r13,%r30,3,8
	mov2 %r23,%r30,%r30,%r13
	mov %r31,%r6
;EV_DoDonut+592
	callr %r29,M_StrToInt
	lddzr %r13,myargv
	lddzx.xuw %r30,%r13,%r23,3,16
;EV_DoDonut+608
	mov %r31,%r9
	callr %r29,M_StrToInt
	ldwzr %r23,DonutOverrun.tmp_s3_floorpic
;EV_DoDonut+624
	ldwzr %r13,numflats
	bwle %r13,%r23,EV_DoDonut+656
	nop 0
;EV_DoDonut+640
	ldwzr %r23,DonutOverrun.tmp_s3_floorpic
	mov %r26,%r6
	jmp EV_DoDonut+352
;EV_DoDonut+656
	stw %r16,%sp,4
	stw %r13,%sp,0
	mov2 %r30,%r31,%r2,%r10
;EV_DoDonut+672
	callr %r29,fprintf
	stwr %r16,DonutOverrun.tmp_s3_floorpic
	jmp EV_DoDonut+640
;EV_DoDonut+688
	ldafr %r28,.rodata+27683
	ldi %r29,91
	ldi %r13,1
;EV_DoDonut+704
	mov2 %r30,%r31,%r13,%r2
	callr %r27,fwrite_unlocked
	nop 0
;EV_DoDonut+720
	mov %r1,%r13
	retf 16
	nop 0
;P_SpawnSpecials
	alloc 14
	ldwzr %r2,timelimit
	mov %r1,%gz
;P_SpawnSpecials+16
	bwlti %r2,1,P_SpawnSpecials+48
	ldwzr %r3,deathmatch
	bweq %r3,%gz,P_SpawnSpecials+48
;P_SpawnSpecials+32
	ldi %r1,1
	mulwsi %r2,%r2,2100
	stwr %r2,levelTimeCount
;P_SpawnSpecials+48
	ldwzr %r2,numsectors
	stwr %r1,levelTimer
	bwlti %r2,1,P_SpawnSpecials+416
;P_SpawnSpecials+64
	mov %r1,%gz
	lddzr %r2,sectors
	ldafr %r7,.rodata+36820
;P_SpawnSpecials+80
	ldi %r3,15
	ldi %r4,35
	ldi %r8,4
;P_SpawnSpecials+96
	ldi %r5,1
	jmp P_SpawnSpecials+160
	nop 0
;P_SpawnSpecials+112
	mov %r13,%r2
	callr %r12,P_SpawnFireFlicker
	nop 0
;P_SpawnSpecials+128
	ldwzr %r6,numsectors
	addiws %r1,%r1,1
	addi %r2,%r2,128
;P_SpawnSpecials+144
	bwle %r6,%r1,P_SpawnSpecials+416
	nop 0
	nop 0
;P_SpawnSpecials+160
	ldhz %r6,%r2,14
	addiws %r9,%r6,-1
	bwgeui %r9,17,P_SpawnSpecials+128
;P_SpawnSpecials+176
	addiwz %r6,%r6,-1
	jmpt %r7,%r6
	nop 0
;P_SpawnSpecials+192
	mov %r13,%r2
	callr %r12,P_SpawnLightFlash
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+208
	mov %r13,%r2
	callr %r12,P_SpawnGlowingLight
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+224
	ldwzr %r6,totalsecret
	addiws %r6,%r6,1
	stwr %r6,totalsecret
;P_SpawnSpecials+240
	jmp P_SpawnSpecials+128
	nop 0
	nop 0
;P_SpawnSpecials+256
	mov2 %r11,%r12,%r2,%r3
	mov %r13,%gz
	callr %r10,P_SpawnStrobeFlash
;P_SpawnSpecials+272
	sth %r8,%r2,14
	jmp P_SpawnSpecials+128
	nop 0
;P_SpawnSpecials+288
	mov2 %r11,%r12,%r2,%r4
	jmp P_SpawnSpecials+320
	nop 0
;P_SpawnSpecials+304
	mov2 %r11,%r12,%r2,%r3
	nop 0
	nop 0
;P_SpawnSpecials+320
	mov %r13,%gz
	callr %r10,P_SpawnStrobeFlash
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+336
	mov %r13,%r2
	callr %r12,P_SpawnDoorCloseIn30
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+352
	mov2 %r11,%r12,%r2,%r4
	jmp P_SpawnSpecials+400
	nop 0
;P_SpawnSpecials+368
	mov2 %r12,%r13,%r2,%r1
	callr %r11,P_SpawnDoorRaiseIn5Mins
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+384
	mov2 %r11,%r12,%r2,%r3
	nop 0
	nop 0
;P_SpawnSpecials+400
	mov %r13,%r5
	callr %r10,P_SpawnStrobeFlash
	jmp P_SpawnSpecials+128
;P_SpawnSpecials+416
	ldwzr %r2,numlines
	sthr %gz,numlinespecials
	bwlti %r2,1,P_SpawnSpecials+592
;P_SpawnSpecials+432
	mov2 %r3,%r6,%gz,%gz
	mov %r4,%gz
	lddzr %r7,lines
;P_SpawnSpecials+448
	ldafr %r1,.rodata+9410
	ldafr %r5,linespeciallist
	jmp P_SpawnSpecials+528
;P_SpawnSpecials+464
	add %r8,%r7,%r3
	slsrai %r9,%r6,48,48
	stdx.xd %r8,%r5,%r9,3,0
;P_SpawnSpecials+480
	addiws %r6,%r6,1
	sthr %r6,numlinespecials
	nop 0
;P_SpawnSpecials+496
	addi %r4,%r4,1
	sraiw %r8,%r2,0
	addi %r3,%r3,88
;P_SpawnSpecials+512
	bdle %r8,%r4,P_SpawnSpecials+592
	nop 0
	nop 0
;P_SpawnSpecials+528
	ldhzx.xd %r8,%r7,%r3,0,26
	bwnei %r8,48,P_SpawnSpecials+496
	slsrai %r8,%r6,48,48
;P_SpawnSpecials+544
	bwlti %r8,64,P_SpawnSpecials+464
	mov %r13,%r1
	callr %r12,I_Error
;P_SpawnSpecials+560
	lddzr %r7,lines
	ldhzr %r6,numlinespecials
	ldwzr %r2,numlines
;P_SpawnSpecials+576
	jmp P_SpawnSpecials+464
	nop 0
	nop 0
;P_SpawnSpecials+592
	stdr %gz,activeceilings+232
	stdr %gz,activeceilings+224
	stdr %gz,activeceilings+216
;P_SpawnSpecials+608
	stdr %gz,activeceilings+208
	stdr %gz,activeceilings+200
	stdr %gz,activeceilings+192
;P_SpawnSpecials+624
	stdr %gz,activeceilings+184
	stdr %gz,activeceilings+176
	stdr %gz,activeceilings+168
;P_SpawnSpecials+640
	stdr %gz,activeceilings+160
	stdr %gz,activeceilings+152
	stdr %gz,activeceilings+144
;P_SpawnSpecials+656
	stdr %gz,activeceilings+136
	stdr %gz,activeceilings+128
	stdr %gz,activeceilings+120
;P_SpawnSpecials+672
	stdr %gz,activeceilings+112
	stdr %gz,activeceilings+104
	stdr %gz,activeceilings+96
;P_SpawnSpecials+688
	stdr %gz,activeceilings+88
	stdr %gz,activeceilings+80
	stdr %gz,activeceilings+72
;P_SpawnSpecials+704
	stdr %gz,activeceilings+64
	stdr %gz,activeceilings+56
	stdr %gz,activeceilings+48
;P_SpawnSpecials+720
	stdr %gz,activeceilings+40
	stdr %gz,activeceilings+32
	stdr %gz,activeceilings+24
;P_SpawnSpecials+736
	stdr %gz,activeceilings+16
	stdr %gz,activeceilings+8
	stdr %gz,activeceilings
;P_SpawnSpecials+752
	stdr %gz,activeplats+232
	stdr %gz,activeplats+224
	stdr %gz,activeplats+216
;P_SpawnSpecials+768
	stdr %gz,activeplats+208
	stdr %gz,activeplats+200
	stdr %gz,activeplats+192
;P_SpawnSpecials+784
	stdr %gz,activeplats+184
	stdr %gz,activeplats+176
	stdr %gz,activeplats+168
;P_SpawnSpecials+800
	stdr %gz,activeplats+160
	stdr %gz,activeplats+152
	stdr %gz,activeplats+144
;P_SpawnSpecials+816
	stdr %gz,activeplats+136
	stdr %gz,activeplats+128
	stdr %gz,activeplats+120
;P_SpawnSpecials+832
	stdr %gz,activeplats+112
	stdr %gz,activeplats+104
	stdr %gz,activeplats+96
;P_SpawnSpecials+848
	stdr %gz,activeplats+88
	stdr %gz,activeplats+80
	stdr %gz,activeplats+72
;P_SpawnSpecials+864
	stdr %gz,activeplats+64
	stdr %gz,activeplats+56
	stdr %gz,activeplats+48
;P_SpawnSpecials+880
	stdr %gz,activeplats+40
	stdr %gz,activeplats+32
	stdr %gz,activeplats+24
;P_SpawnSpecials+896
	stdr %gz,activeplats+16
	stdr %gz,activeplats+8
	stdr %gz,activeplats
;P_SpawnSpecials+912
	ldafr %r11,buttonlist
	ldi %r13,512
	mov %r12,%gz
;P_SpawnSpecials+928
	callr %r10,memset
	retf 0
	nop 0
;P_InitSwitchList
	alloc 12
	ldwzr %r1,gamemode
	andi %r2,%r1,-3
;P_InitSwitchList+16
	cmpweqi %r1,%r1,2
	ldi %r3,1
	ldi %r4,3
;P_InitSwitchList+32
	cmpweqi %r5,%r2,1
	cmovlsb %r1,%r1,%r4,%r3
	ldi %r3,2
;P_InitSwitchList+48
	mov2 %r4,%r2,%gz,%gz
	cmovlsb %r5,%r5,%r3,%r1
	ldafr %r6,alphSwitchList
;P_InitSwitchList+64
	ldafr %r7,alphSwitchList+18
	ldafr %r3,switchlist
	ldafr %r8,alphSwitchList+9
;P_InitSwitchList+80
	ldafr %r9,switchlist+4
	jmp P_InitSwitchList+112
	nop 0
;P_InitSwitchList+96
	addi %r4,%r4,20
	bdeqi %r4,1000,P_InitSwitchList+208
	nop 0
;P_InitSwitchList+112
	ldhsx.xd %r1,%r4,%r7,0,0
	bweq %r1,%gz,P_InitSwitchList+176
	bwlt %r5,%r1,P_InitSwitchList+96
;P_InitSwitchList+128
	add %r11,%r4,%r6
	callr %r10,R_TextureNumForName
	stwx.xw %r11,%r3,%r2,2,0
;P_InitSwitchList+144
	add %r11,%r4,%r8
	callr %r10,R_TextureNumForName
	addiws %r1,%r2,2
;P_InitSwitchList+160
	stwx.xw %r11,%r9,%r2,2,0
	mov %r2,%r1
	jmp P_InitSwitchList+96
;P_InitSwitchList+176
	srliw %r1,%r2,31
	addws %r1,%r2,%r1
	sraiw %r1,%r1,1
;P_InitSwitchList+192
	stwr %r1,numswitches
	ldi %r1,-1
	stwx.xw %r1,%r3,%r2,2,0
;P_InitSwitchList+208
	retf 0
	nop 0
	nop 0
;P_StartButton
	alloc 11
	mov %r7,%gz
	ldafr %r5,buttonlist+16
;P_StartButton+16
	ldafr %r6,buttonlist
	jmp P_StartButton+48
	nop 0
;P_StartButton+32
	addi %r7,%r7,32
	bdeqi %r7,512,P_StartButton+80
	nop 0
;P_StartButton+48
	ldwzx.xd %r8,%r7,%r5,0,0
	bweq %r8,%gz,P_StartButton+32
	lddzx.xd %r8,%r7,%r6,0,0
;P_StartButton+64
	bdne %r8,%r1,P_StartButton+32
	retf 0
	nop 0
;P_StartButton+80
	mov %r7,%gz
	nop 0
	nop 0
;P_StartButton+96
	ldwzx.xd %r8,%r7,%r5,0,0
	bweq %r8,%gz,P_StartButton+144
	addi %r7,%r7,32
;P_StartButton+112
	bdnei %r7,512,P_StartButton+96
	ldafr %r10,.rodata+16845
	callr %r9,I_Error
;P_StartButton+128
	retf 0
	nop 0
	nop 0
;P_StartButton+144
	stdx.xd %r1,%r7,%r6,0,0
	ldafr %r6,buttonlist+8
	stwx.xd %r2,%r7,%r6,0,0
;P_StartButton+160
	ldafr %r2,buttonlist+12
	stwx.xd %r3,%r7,%r2,0,0
	stwx.xd %r4,%r7,%r5,0,0
;P_StartButton+176
	lddz %r1,%r1,56
	addi %r1,%r1,48
	ldafr %r2,buttonlist+24
;P_StartButton+192
	stdx.xd %r1,%r7,%r2,0,0
	retf 0
	nop 0
;P_ChangeSwitchTexture
	alloc 16
	bweq %r2,%gz,P_ChangeSwitchTexture+64
	ldhz %r3,%r1,26
;P_ChangeSwitchTexture+16
	cmpweqi %r3,%r3,11
	ldi %r4,23
	ldi %r5,24
;P_ChangeSwitchTexture+32
	cmovlsb %r15,%r3,%r5,%r4
	ldwzr %r3,numswitches
	bwgei %r3,1,P_ChangeSwitchTexture+96
;P_ChangeSwitchTexture+48
	retf 0
	nop 0
	nop 0
;P_ChangeSwitchTexture+64
	sth %gz,%r1,26
	ldi %r15,23
	ldwzr %r3,numswitches
;P_ChangeSwitchTexture+80
	bwlti %r3,1,P_ChangeSwitchTexture+48
	nop 0
	nop 0
;P_ChangeSwitchTexture+96
	ldhs %r4,%r1,30
	lddzr %r5,sides
	mov %r6,%gz
;P_ChangeSwitchTexture+112
	muli %r8,%r4,24
	ldhsx.xd %r4,%r5,%r8,0,8
	ldhsx.xd %r7,%r5,%r8,0,12
;P_ChangeSwitchTexture+128
	ldhsx.xd %r8,%r5,%r8,0,10
	slliw %r5,%r3,1
	ldi %r3,1
;P_ChangeSwitchTexture+144
	maxsw %r5,%r5,%r3
	srliw %r9,%r5,0
	ldafr %r5,switchlist
;P_ChangeSwitchTexture+160
	ldwz %r10,%r5,0
	bweq %r10,%r4,P_ChangeSwitchTexture+208
	bweq %r10,%r7,P_ChangeSwitchTexture+272
;P_ChangeSwitchTexture+176
	bweq %r10,%r8,P_ChangeSwitchTexture+336
	addi %r6,%r6,1
	addi %r5,%r5,4
;P_ChangeSwitchTexture+192
	bdne %r9,%r6,P_ChangeSwitchTexture+160
	jmp P_ChangeSwitchTexture+48
	nop 0
;P_ChangeSwitchTexture+208
	lddzr %r14,buttonlist+24
	callr %r13,S_StartSound
	xori %r3,%r6,1
;P_ChangeSwitchTexture+224
	ldafr %r4,switchlist
	ldwzx.xd %r4,%r4,%r3,2,0
	ldhs %r6,%r1,30
;P_ChangeSwitchTexture+240
	lddzr %r7,sides
	mov %r3,%gz
	muli %r6,%r6,24
;P_ChangeSwitchTexture+256
	sthx.xd %r4,%r7,%r6,0,8
	bwne %r2,%gz,P_ChangeSwitchTexture+400
	jmp P_ChangeSwitchTexture+48
;P_ChangeSwitchTexture+272
	lddzr %r14,buttonlist+24
	callr %r13,S_StartSound
	xori %r4,%r6,1
;P_ChangeSwitchTexture+288
	ldafr %r6,switchlist
	ldwzx.xd %r4,%r6,%r4,2,0
	ldhs %r6,%r1,30
;P_ChangeSwitchTexture+304
	lddzr %r7,sides
	muli %r6,%r6,24
	sthx.xd %r4,%r7,%r6,0,12
;P_ChangeSwitchTexture+320
	bwne %r2,%gz,P_ChangeSwitchTexture+400
	jmp P_ChangeSwitchTexture+48
	nop 0
;P_ChangeSwitchTexture+336
	lddzr %r14,buttonlist+24
	callr %r13,S_StartSound
	xori %r3,%r6,1
;P_ChangeSwitchTexture+352
	ldafr %r4,switchlist
	ldwzx.xd %r3,%r4,%r3,2,0
	ldhs %r4,%r1,30
;P_ChangeSwitchTexture+368
	lddzr %r6,sides
	muli %r4,%r4,24
	sthx.xd %r3,%r6,%r4,0,10
;P_ChangeSwitchTexture+384
	bweq %r2,%gz,P_ChangeSwitchTexture+48
	ldi %r3,2
	nop 0
;P_ChangeSwitchTexture+400
	ldwz %r14,%r5,0
	ldi %r15,35
	mov2 %r12,%r13,%r1,%r3
;P_ChangeSwitchTexture+416
	callr %r11,P_StartButton
	retf 0
	nop 0
;P_UseSpecialLine
	alloc 9
	mov %r8,%r1
	bweq %r3,%gz,P_UseSpecialLine+32
;P_UseSpecialLine+16
	ldhz %r1,%r2,26
	bwnei %r1,124,P_UseSpecialLine+176
	nop 0
;P_UseSpecialLine+32
	lddz %r1,%r8,192
	bdeq %r1,%gz,P_UseSpecialLine+112
	ldhz %r3,%r2,26
;P_UseSpecialLine+48
	andi %r3,%r3,65535
	addiws %r4,%r3,-1
	ldi %r1,1
;P_UseSpecialLine+64
	bwgeui %r4,140,P_UseSpecialLine+1328
	addiwz %r3,%r3,-1
	ldafr %r4,.rodata+36888
;P_UseSpecialLine+80
	jmpt %r4,%r3
	nop 0
	nop 0
;P_UseSpecialLine+96
	mov %r7,%r2
	callr %r6,EV_VerticalDoor
	retf 0
;P_UseSpecialLine+112
	ldbz %r1,%r2,24
	bbsi %r1,5,P_UseSpecialLine+176
	ldhz %r3,%r2,26
;P_UseSpecialLine+128
	bwgeui %r3,35,P_UseSpecialLine+176
	srliw %r1,%r3,0
	ldi %r4,1
;P_UseSpecialLine+144
	sll %r4,%r4,%r1
	mov %r1,%gz
	nop 2
;P_UseSpecialLine+160
	bmany.l %r4,30064771074,P_UseSpecialLine+48
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+176
	mov %r1,%gz
	retf 0
	nop 0
;P_UseSpecialLine+192
	ldi %r7,6
	mov %r6,%r2
	callr %r5,EV_DoLockedDoor
;P_UseSpecialLine+208
	bwne %r6,%gz,P_UseSpecialLine+1376
	jmp P_UseSpecialLine+1328
	nop 0
;P_UseSpecialLine+224
	ldi %r7,6
	mov %r6,%r2
	callr %r5,EV_DoLockedDoor
;P_UseSpecialLine+240
	bwne %r6,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
	nop 0
;P_UseSpecialLine+256
	ldi %r8,6
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+272
	ldi %r8,2
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+288
	ldi %r8,10
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+304
	ldi %r7,4
	jmp P_UseSpecialLine+368
	nop 0
;P_UseSpecialLine+320
	ldi %r8,5
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+336
	ldi %r8,2
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+352
	ldi %r7,3
	nop 0
	nop 0
;P_UseSpecialLine+368
	mov2 %r6,%r8,%r2,%gz
	jmp P_UseSpecialLine+1088
	nop 0
;P_UseSpecialLine+384
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1248
	nop 0
;P_UseSpecialLine+400
	ldi %r8,2
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+416
	ldi %r8,2
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+432
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1136
	nop 0
;P_UseSpecialLine+448
	ldi %r8,9
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+464
	mov2 %r7,%r8,%r2,%r1
	jmp P_UseSpecialLine+1136
	nop 0
;P_UseSpecialLine+480
	mov2 %r7,%r8,%r2,%gz
	callr %r6,EV_DoCeiling
	bwne %r7,%gz,P_UseSpecialLine+1376
;P_UseSpecialLine+496
	jmp P_UseSpecialLine+1328
	nop 0
	nop 0
;P_UseSpecialLine+512
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1184
	nop 0
;P_UseSpecialLine+528
	ldi %r8,3
	jmp P_UseSpecialLine+1296
	nop 0
;P_UseSpecialLine+544
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+1312
	nop 0
;P_UseSpecialLine+560
	ldi %r8,3
	mov %r7,%r2
	jmp P_UseSpecialLine+864
;P_UseSpecialLine+576
	ldi %r7,2
	ldi %r8,24
	jmp P_UseSpecialLine+800
;P_UseSpecialLine+592
	ldi %r8,4
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+608
	mov2 %r7,%r8,%r2,%gz
	jmp P_UseSpecialLine+736
	nop 0
;P_UseSpecialLine+624
	mov2 %r6,%r7,%r2,%r1
	mov %r8,%r1
	jmp P_UseSpecialLine+1088
;P_UseSpecialLine+640
	ldi %r8,4
	jmp P_UseSpecialLine+1120
	nop 0
;P_UseSpecialLine+656
	mov2 %r6,%r7,%r2,%r1
	mov %r8,%gz
	jmp P_UseSpecialLine+1040
;P_UseSpecialLine+672
	ldi %r8,3
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+688
	ldi %r8,7
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+704
	ldi %r8,5
	jmp P_UseSpecialLine+1168
	nop 0
;P_UseSpecialLine+720
	mov2 %r7,%r8,%r2,%r1
	nop 0
	nop 0
;P_UseSpecialLine+736
	callr %r6,EV_BuildStairs
	bwne %r7,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+752
	ldi %r7,3
	jmp P_UseSpecialLine+1024
	nop 0
;P_UseSpecialLine+768
	ldi %r7,2
	ldi %r8,24
	jmp P_UseSpecialLine+1072
;P_UseSpecialLine+784
	ldi %r7,2
	ldi %r8,32
	nop 0
;P_UseSpecialLine+800
	mov %r6,%r2
	jmp P_UseSpecialLine+1040
	nop 0
;P_UseSpecialLine+816
	mov %r8,%r2
	callr %r7,EV_DoDonut
	bwne %r8,%gz,P_UseSpecialLine+1264
;P_UseSpecialLine+832
	jmp P_UseSpecialLine+1328
	nop 0
	nop 0
;P_UseSpecialLine+848
	mov2 %r7,%r8,%r2,%gz
	nop 0
	nop 0
;P_UseSpecialLine+864
	callr %r6,EV_DoCeiling
	bwne %r7,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+880
	mov2 %r7,%r8,%r2,%gz
	callr %r6,P_ChangeSwitchTexture
	callr %r8,G_ExitLevel
;P_UseSpecialLine+896
	retf 0
	nop 0
	nop 0
;P_UseSpecialLine+912
	ldi %r8,10
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+928
	ldi %r8,12
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+944
	mov2 %r7,%r8,%r2,%r1
	jmp P_UseSpecialLine+1248
	nop 0
;P_UseSpecialLine+960
	ldi %r8,9
	jmp P_UseSpecialLine+1232
	nop 0
;P_UseSpecialLine+976
	mov2 %r7,%r8,%r2,%gz
	callr %r6,P_ChangeSwitchTexture
	callr %r8,G_SecretExitLevel
;P_UseSpecialLine+992
	retf 0
	nop 0
	nop 0
;P_UseSpecialLine+1008
	ldi %r7,4
	nop 0
	nop 0
;P_UseSpecialLine+1024
	mov2 %r6,%r8,%r2,%gz
	nop 0
	nop 0
;P_UseSpecialLine+1040
	callr %r5,EV_DoPlat
	bwne %r6,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1056
	ldi %r7,2
	ldi %r8,32
	nop 0
;P_UseSpecialLine+1072
	mov %r6,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1088
	callr %r5,EV_DoPlat
	bwne %r6,%gz,P_UseSpecialLine+1376
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1104
	ldi %r8,3
	nop 0
	nop 0
;P_UseSpecialLine+1120
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1136
	callr %r6,EV_DoFloor
	bwne %r7,%gz,P_UseSpecialLine+1376
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1152
	ldi %r8,6
	nop 0
	nop 0
;P_UseSpecialLine+1168
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1184
	callr %r6,EV_DoDoor
	bwne %r7,%gz,P_UseSpecialLine+1264
	jmp P_UseSpecialLine+1328
;P_UseSpecialLine+1200
	ldi %r8,255
	jmp P_UseSpecialLine+1360
	nop 0
;P_UseSpecialLine+1216
	ldi %r8,3
	nop 0
	nop 0
;P_UseSpecialLine+1232
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1248
	callr %r6,EV_DoFloor
	bweq %r7,%gz,P_UseSpecialLine+1328
	nop 0
;P_UseSpecialLine+1264
	mov2 %r7,%r8,%r2,%gz
	callr %r6,P_ChangeSwitchTexture
	retf 0
;P_UseSpecialLine+1280
	ldi %r8,7
	nop 0
	nop 0
;P_UseSpecialLine+1296
	mov %r7,%r2
	nop 0
	nop 0
;P_UseSpecialLine+1312
	callr %r6,EV_DoDoor
	bwne %r7,%gz,P_UseSpecialLine+1376
	nop 0
;P_UseSpecialLine+1328
	retf 0
	nop 0
	nop 0
;P_UseSpecialLine+1344
	ldi %r8,35
	nop 0
	nop 0
;P_UseSpecialLine+1360
	mov %r7,%r2
	callr %r6,EV_LightTurnOn
	nop 0
;P_UseSpecialLine+1376
	ldi %r1,1
	mov2 %r7,%r8,%r2,%r1
	callr %r6,P_ChangeSwitchTexture
;P_UseSpecialLine+1392
	retf 0
	nop 0
	nop 0
;EV_Teleport
	alloc 16
	mov %r4,%gz
	bweqi %r2,1,EV_Teleport+512
;EV_Teleport+16
	ldwz %r2,%r3,160
	andi %r2,%r2,65536
	bwne %r2,%gz,EV_Teleport+512
;EV_Teleport+32
	ldwzr %r5,numsectors
	bwlti %r5,1,EV_Teleport+496
	mov %r2,%gz
;EV_Teleport+48
	ldhz %r6,%r1,28
	lddzr %r1,sectors
	lddzr %r4,thinkercap+8
;EV_Teleport+64
	srliw %r5,%r5,0
	andi %r7,%r6,65535
	ldafr %r8,thinkercap
;EV_Teleport+80
	ldar %r9,P_MobjThinker
	jmp EV_Teleport+112
	nop 0
;EV_Teleport+96
	addi %r2,%r2,1
	bdeq %r2,%r5,EV_Teleport+496
	nop 0
;EV_Teleport+112
	ldhzx.xd %r6,%r1,%r2,7,16
	bwne %r6,%r7,EV_Teleport+96
	bdeq %r4,%r8,EV_Teleport+96
;EV_Teleport+128
	mov %r6,%r4
	jmp EV_Teleport+160
	nop 0
;EV_Teleport+144
	lddz %r6,%r6,8
	bdeq %r6,%r8,EV_Teleport+96
	nop 0
;EV_Teleport+160
	lddz %r10,%r6,16
	bdne %r10,%r9,EV_Teleport+144
	ldwz %r10,%r6,128
;EV_Teleport+176
	bwnei %r10,41,EV_Teleport+144
	lddz %r10,%r6,88
	lddz %r10,%r10,0
;EV_Teleport+192
	sub %r10,%r10,%r1
	srai %r10,%r10,7
	bdne %r10,%r2,EV_Teleport+144
;EV_Teleport+208
	ldwz %r1,%r3,24
	ldwz %r2,%r3,28
	ldwz %r4,%r3,32
;EV_Teleport+224
	ldwz %r14,%r6,24
	ldwz %r15,%r6,28
	mov %r13,%r3
;EV_Teleport+240
	callr %r12,P_TeleportMove
	bweq %r13,%gz,EV_Teleport+496
	ldwzr %r5,gameversion
;EV_Teleport+256
	bweqi %r5,7,EV_Teleport+272
	ldwz %r5,%r3,96
	stw %r5,%r3,32
;EV_Teleport+272
	lddz %r5,%r3,192
	bdeq %r5,%gz,EV_Teleport+304
	ldwz %r7,%r3,32
;EV_Teleport+288
	ldwz %r8,%r5,32
	addws %r7,%r8,%r7
	stw %r7,%r5,28
;EV_Teleport+304
	ldi %r5,39
	mov2 %r12,%r13,%r1,%r2
	mov2 %r14,%r15,%r4,%r5
;EV_Teleport+320
	callr %r11,P_SpawnMobj
	ldi %r1,35
	mov2 %r14,%r15,%r12,%r1
;EV_Teleport+336
	callr %r13,S_StartSound
	ldwz %r2,%r6,56
	lddzr %r4,finecosine
;EV_Teleport+352
	srliw %r2,%r2,19
	ldwzx.xuw %r4,%r4,%r2,2,0
	ldwz %r7,%r6,24
;EV_Teleport+368
	ldafr %r8,finesine
	ldwzx.xuw %r2,%r8,%r2,2,0
	ldwz %r8,%r6,28
;EV_Teleport+384
	mulwsi %r4,%r4,20
	addws %r12,%r4,%r7
	mulwsi %r2,%r2,20
;EV_Teleport+400
	addws %r13,%r2,%r8
	ldwz %r14,%r3,32
	mov %r15,%r5
;EV_Teleport+416
	callr %r11,P_SpawnMobj
	mov2 %r14,%r15,%r12,%r1
	callr %r13,S_StartSound
;EV_Teleport+432
	lddz %r1,%r3,192
	bdeq %r1,%gz,EV_Teleport+464
	ldi %r1,18
;EV_Teleport+448
	stw %r1,%r3,184
	nop 0
	nop 0
;EV_Teleport+464
	ldwz %r1,%r6,56
	stw %r1,%r3,56
	stw %gz,%r3,120
;EV_Teleport+480
	std %gz,%r3,112
	ldi %r1,1
	retf 0
;EV_Teleport+496
	mov %r4,%gz
	nop 0
	nop 0
;EV_Teleport+512
	mov %r1,%r4
	retf 0
	nop 0
;P_InitThinkers
	alloc 2
	ldafr %r1,thinkercap
	stdr %r1,thinkercap+8
;P_InitThinkers+16
	stdr %r1,thinkercap
	retf 0
	nop 0
;P_AddThinker
	alloc 4
	lddzr %r2,thinkercap
	ldafr %r3,thinkercap
;P_AddThinker+16
	std %r1,%r2,8
	std %r3,%r1,8
	std %r2,%r1,0
;P_AddThinker+32
	stdr %r1,thinkercap
	retf 0
	nop 0
;P_RemoveThinker
	alloc 3
	ldi %r2,-1
	std %r2,%r1,16
;P_RemoveThinker+16
	retf 0
	nop 0
	nop 0
;P_AllocateThinker
	alloc 1
	retf 0
	nop 0
;P_RunThinkers
	alloc 7
	lddzr %r1,thinkercap+8
	ldafr %r3,thinkercap
;P_RunThinkers+16
	bdne %r1,%r3,P_RunThinkers+96
	nop 0
	nop 0
;P_RunThinkers+32
	retf 0
	nop 0
	nop 0
;P_RunThinkers+48
	lddz %r2,%r1,0
	lddz %r4,%r1,8
	std %r2,%r4,0
;P_RunThinkers+64
	std %r4,%r2,8
	mov %r6,%r1
	callr %r5,Z_Free
;P_RunThinkers+80
	lddz %r1,%r1,8
	bdeq %r1,%r3,P_RunThinkers+32
	nop 0
;P_RunThinkers+96
	lddz %r2,%r1,16
	bdeq %r2,%gz,P_RunThinkers+80
	bdeqi %r2,-1,P_RunThinkers+48
;P_RunThinkers+112
	mov %r6,%r1
	callri %r5,%r2,%gz
	jmp P_RunThinkers+80
;P_Ticker
	alloc 7
	ldwzr %r1,paused
	bweq %r1,%gz,P_Ticker+32
;P_Ticker+16
	retf 0
	nop 0
	nop 0
;P_Ticker+32
	ldwzr %r1,netgame
	bwne %r1,%gz,P_Ticker+96
	ldwzr %r1,menuactive
;P_Ticker+48
	bweq %r1,%gz,P_Ticker+96
	ldwzr %r1,demoplayback
	bwne %r1,%gz,P_Ticker+96
;P_Ticker+64
	ldwsr %r1,consoleplayer
	muli %r1,%r1,328
	ldafr %r2,players+28
;P_Ticker+80
	ldwzx.xd %r1,%r1,%r2,0,0
	bwnei %r1,1,P_Ticker+16
	nop 0
;P_Ticker+96
	mov %r3,%gz
	ldafr %r1,players
	ldafr %r4,playeringame
;P_Ticker+112
	jmp P_Ticker+144
	nop 0
	nop 0
;P_Ticker+128
	addi %r3,%r3,4
	addi %r1,%r1,328
	bdeqi %r3,16,P_Ticker+176
;P_Ticker+144
	ldwzx.xd %r2,%r3,%r4,0,0
	bweq %r2,%gz,P_Ticker+128
	mov %r6,%r1
;P_Ticker+160
	callr %r5,P_PlayerThink
	jmp P_Ticker+128
	nop 0
;P_Ticker+176
	lddzr %r1,thinkercap+8
	ldafr %r3,thinkercap
	bdne %r1,%r3,P_Ticker+256
;P_Ticker+192
	callr %r6,P_UpdateSpecials
	callr %r6,P_RespawnSpecials
	ldwzr %r1,leveltime
;P_Ticker+208
	addiws %r1,%r1,1
	stwr %r1,leveltime
	retf 0
;P_Ticker+224
	mov %r6,%r1
	callri %r5,%r2,%gz
	nop 0
;P_Ticker+240
	lddz %r1,%r1,8
	bdeq %r1,%r3,P_Ticker+192
	nop 0
;P_Ticker+256
	lddz %r2,%r1,16
	bdeq %r2,%gz,P_Ticker+240
	bdnei %r2,-1,P_Ticker+224
;P_Ticker+272
	lddz %r2,%r1,0
	lddz %r4,%r1,8
	std %r2,%r4,0
;P_Ticker+288
	std %r4,%r2,8
	mov %r6,%r1
	callr %r5,Z_Free
;P_Ticker+304
	jmp P_Ticker+240
	nop 0
	nop 0
;P_Thrust
	alloc 6
	lddzr %r4,finecosine
	lddz %r1,%r1,0
;P_Thrust+16
	srliw %r2,%r2,19
	ldwsx.xuw %r4,%r4,%r2,2,0
	ldwz %r5,%r1,112
;P_Thrust+32
	sraiw %r3,%r3,0
	mul %r4,%r4,%r3
	srli %r4,%r4,16
;P_Thrust+48
	addws %r4,%r5,%r4
	stw %r4,%r1,112
	ldafr %r4,finesine
;P_Thrust+64
	ldwsx.xuw %r2,%r4,%r2,2,0
	ldwz %r4,%r1,116
	mul %r2,%r2,%r3
;P_Thrust+80
	srli %r2,%r2,16
	addws %r2,%r4,%r2
	stw %r2,%r1,116
;P_Thrust+96
	retf 0
	nop 0
	nop 0
;P_CalcHeight
	alloc 7
	lddz %r2,%r1,0
	ldws %r3,%r2,112
;P_CalcHeight+16
	ldws %r4,%r2,116
	mul %r3,%r3,%r3
	srli %r3,%r3,16
;P_CalcHeight+32
	mul %r4,%r4,%r4
	srli %r4,%r4,16
	addws %r3,%r4,%r3
;P_CalcHeight+48
	sraiw %r3,%r3,2
	ldi %r4,1048576
	minsw %r3,%r3,%r4
;P_CalcHeight+64
	stw %r3,%r1,40
	ldbz %r4,%r1,208
	bbsi %r4,2,P_CalcHeight+176
;P_CalcHeight+80
	ldwzr %r4,onground
	bweq %r4,%gz,P_CalcHeight+176
	ldwzr %r4,leveltime
;P_CalcHeight+96
	mulwsi %r4,%r4,409
	andi %r4,%r4,8191
	srliw %r5,%r3,31
;P_CalcHeight+112
	ldafr %r6,finesine
	ldwsx.xuw %r4,%r6,%r4,2,0
	ldwz %r6,%r1,8
;P_CalcHeight+128
	addws %r3,%r3,%r5
	sraiw %r3,%r3,1
	mul %r3,%r4,%r3
;P_CalcHeight+144
	srli %r3,%r3,16
	bweq %r6,%gz,P_CalcHeight+256
	ldwz %r4,%r1,32
;P_CalcHeight+160
	jmp P_CalcHeight+384
	nop 0
	nop 0
;P_CalcHeight+176
	ldwz %r3,%r2,32
	ldwz %r4,%r2,100
	nop 2
;P_CalcHeight+192
	addiws.l %r3,%r3,2686976
	addiws %r4,%r4,-262144
;P_CalcHeight+208
	minsw %r3,%r3,%r4
	stw %r3,%r1,28
	ldwz %r2,%r2,32
;P_CalcHeight+224
	ldwz %r3,%r1,32
	addws %r2,%r3,%r2
	stw %r2,%r1,28
;P_CalcHeight+240
	retf 0
	nop 0
	nop 0
;P_CalcHeight+256
	ldwz %r5,%r1,36
	ldwz %r4,%r1,32
	addws %r4,%r4,%r5
;P_CalcHeight+272
	stw %r4,%r1,32
	bwlti.l %r4,2686977,P_CalcHeight+304
;P_CalcHeight+288
	ldi %r4,2686976
	std %r4,%r1,32
	jmp P_CalcHeight+384
;P_CalcHeight+304
	ldi %r6,1
	bwgei.l %r4,1343488,P_CalcHeight+352
;P_CalcHeight+320
	ldi %r4,1343488
	stw %r4,%r1,32
	maxsw %r5,%r5,%r6
;P_CalcHeight+336
	jmp P_CalcHeight+368
	nop 0
	nop 0
;P_CalcHeight+352
	bweq %r5,%gz,P_CalcHeight+384
	nop 0
	nop 0
;P_CalcHeight+368
	addiws %r5,%r5,16384
	maxuw %r5,%r5,%r6
	stw %r5,%r1,36
;P_CalcHeight+384
	ldwz %r5,%r2,32
	ldwz %r2,%r2,100
	addws %r3,%r5,%r3
;P_CalcHeight+400
	addws %r3,%r3,%r4
	addiws %r2,%r2,-262144
	minsw %r2,%r3,%r2
;P_CalcHeight+416
	stw %r2,%r1,28
	retf 0
	nop 0
;P_MovePlayer
	alloc 13
	lddz %r11,%r1,0
	ldhz %r2,%r1,14
;P_MovePlayer+16
	ldwz %r3,%r11,56
	sladdws %r3,%r3,%r2,16
	stw %r3,%r11,56
;P_MovePlayer+32
	ldwz %r4,%r11,32
	ldwz %r5,%r11,96
	cmpwle %r2,%r4,%r5
;P_MovePlayer+48
	stwr %r2,onground
	ldbz %r2,%r1,12
	bweq %r2,%gz,P_MovePlayer+176
;P_MovePlayer+64
	bwlt %r5,%r4,P_MovePlayer+176
	lddzr %r6,finecosine
	slsrai %r7,%r2,56,56
;P_MovePlayer+80
	srliw %r8,%r3,19
	ldwsx.xuw %r6,%r6,%r8,2,0
	slliw %r7,%r7,11
;P_MovePlayer+96
	ldwz %r9,%r11,112
	sraiw %r7,%r7,0
	mul %r6,%r6,%r7
;P_MovePlayer+112
	srli %r6,%r6,16
	addws %r6,%r9,%r6
	stw %r6,%r11,112
;P_MovePlayer+128
	ldafr %r6,finesine
	ldwsx.xuw %r6,%r6,%r8,2,0
	ldwz %r8,%r11,116
;P_MovePlayer+144
	mul %r6,%r6,%r7
	srli %r6,%r6,16
	addws %r6,%r8,%r6
;P_MovePlayer+160
	stw %r6,%r11,116
	nop 0
	nop 0
;P_MovePlayer+176
	ldbz %r1,%r1,13
	bweq %r1,%gz,P_MovePlayer+304
	bwlt %r5,%r4,P_MovePlayer+304
;P_MovePlayer+192
	lddzr %r4,finecosine
	slsrai %r5,%r1,56,56
	nop 2
;P_MovePlayer+208
	addiws.l %r3,%r3,-1073741824
	srliw %r3,%r3,19
;P_MovePlayer+224
	ldwsx.xuw %r4,%r4,%r3,2,0
	slliw %r5,%r5,11
	ldwz %r6,%r11,112
;P_MovePlayer+240
	sraiw %r5,%r5,0
	mul %r4,%r4,%r5
	srli %r4,%r4,16
;P_MovePlayer+256
	addws %r4,%r6,%r4
	stw %r4,%r11,112
	ldafr %r4,finesine
;P_MovePlayer+272
	ldwsx.xuw %r3,%r4,%r3,2,0
	ldwz %r4,%r11,116
	mul %r3,%r3,%r5
;P_MovePlayer+288
	srli %r3,%r3,16
	addws %r3,%r4,%r3
	stw %r3,%r11,116
;P_MovePlayer+304
	or %r1,%r1,%r2
	bweq %r1,%gz,P_MovePlayer+336
	lddz %r1,%r11,152
;P_MovePlayer+320
	ldafr %r2,states+5960
	bdeq %r1,%r2,P_MovePlayer+352
	nop 0
;P_MovePlayer+336
	retf 0
	nop 0
	nop 0
;P_MovePlayer+352
	ldi %r12,150
	callr %r10,P_SetMobjState
	retf 0
;P_DeathThink
	alloc 11
	mov %r10,%r1
	callr %r9,P_MovePsprites
;P_DeathThink+16
	ldwz %r3,%r1,32
	cmpwgti %r2,%r3,393216
	addiws %r4,%r3,-65536
;P_DeathThink+32
	cmovlsb %r2,%r2,%r4,%r3
	bwgei.l %r3,393217,P_DeathThink+64
;P_DeathThink+48
	bwgei.l %r2,393216,P_DeathThink+80
	nop 0
;P_DeathThink+64
	ldi %r3,393216
	maxsw %r2,%r2,%r3
	stw %r2,%r1,32
;P_DeathThink+80
	stw %gz,%r1,36
	lddz %r2,%r1,0
	ldwz %r3,%r2,32
;P_DeathThink+96
	ldwz %r2,%r2,96
	cmpwle %r2,%r3,%r2
	stwr %r2,onground
;P_DeathThink+112
	mov %r10,%r1
	callr %r9,P_CalcHeight
	lddz %r2,%r1,248
;P_DeathThink+128
	bdeq %r2,%gz,P_DeathThink+224
	lddz %r3,%r1,0
	bdeq %r2,%r3,P_DeathThink+224
;P_DeathThink+144
	ldwz %r7,%r3,24
	ldwz %r8,%r3,28
	ldwz %r9,%r2,24
;P_DeathThink+160
	ldwz %r10,%r2,28
	callr %r6,R_PointToAngle2
	lddz %r2,%r1,0
;P_DeathThink+176
	ldwz %r3,%r2,56
	subws %r4,%r7,%r3
	nop 2
;P_DeathThink+192
	addiws.l %r5,%r4,59652322
	nop 2
;P_DeathThink+208
	bwgeui.l %r5,119304645,P_DeathThink+304
	stw %r7,%r2,56
;P_DeathThink+224
	ldwz %r2,%r1,240
	bweq %r2,%gz,P_DeathThink+256
	addiws %r2,%r2,-1
;P_DeathThink+240
	stw %r2,%r1,240
	nop 0
	nop 0
;P_DeathThink+256
	ldbz %r2,%r1,17
	bbci %r2,1,P_DeathThink+288
	nop 0
;P_DeathThink+272
	ldi %r2,2
	stw %r2,%r1,8
	nop 0
;P_DeathThink+288
	retf 0
	nop 0
	nop 0
;P_DeathThink+304
	bwlt %r4,%gz,P_DeathThink+336
	addiws.l %r3,%r3,59652323
;P_DeathThink+320
	jmp P_DeathThink+352
	nop 0
	nop 0
;P_DeathThink+336
	addiws.l %r3,%r3,-59652323
	nop 0
;P_DeathThink+352
	stw %r3,%r2,56
	ldbz %r2,%r1,17
	bbsi %r2,1,P_DeathThink+272
;P_DeathThink+368
	jmp P_DeathThink+288
	nop 0
	nop 0
;P_PlayerThink
	alloc 8
	lddz %r2,%r1,0
	ldwz %r4,%r2,160
;P_PlayerThink+16
	ldwz %r3,%r1,208
	andi %r5,%r4,-4097
	slliw %r3,%r3,12
;P_PlayerThink+32
	andi %r3,%r3,4096
	or %r3,%r5,%r3
	stw %r3,%r2,160
;P_PlayerThink+48
	bbci %r4,7,P_PlayerThink+80
	ldi %r4,100
	stw %r4,%r1,12
;P_PlayerThink+64
	andi %r3,%r3,-129
	stw %r3,%r2,160
	nop 0
;P_PlayerThink+80
	ldwz %r3,%r1,8
	bwnei %r3,1,P_PlayerThink+112
	mov %r7,%r1
;P_PlayerThink+96
	callr %r6,P_DeathThink
	retf 0
	nop 0
;P_PlayerThink+112
	ldwz %r3,%r2,184
	bweq %r3,%gz,P_PlayerThink+144
	addiws %r3,%r3,-1
;P_PlayerThink+128
	stw %r3,%r2,184
	jmp P_PlayerThink+160
	nop 0
;P_PlayerThink+144
	mov %r7,%r1
	callr %r6,P_MovePlayer
	nop 0
;P_PlayerThink+160
	mov %r7,%r1
	callr %r6,P_CalcHeight
	lddz %r2,%r1,0
;P_PlayerThink+176
	lddz %r2,%r2,88
	lddz %r2,%r2,0
	ldhz %r2,%r2,14
;P_PlayerThink+192
	bweq %r2,%gz,P_PlayerThink+208
	mov %r7,%r1
	callr %r6,P_PlayerInSpecialSector
;P_PlayerThink+208
	ldbs %r2,%r1,17
	bwlti %r2,0,P_PlayerThink+304
	bbci %r2,2,P_PlayerThink+464
;P_PlayerThink+224
	slsrli %r3,%r2,58,61
	bweq %r3,%gz,P_PlayerThink+320
	ldwzr %r4,gamemode
;P_PlayerThink+240
	bwnei %r3,2,P_PlayerThink+400
	bwnei %r4,2,P_PlayerThink+400
	ldwz %r3,%r1,164
;P_PlayerThink+256
	bweq %r3,%gz,P_PlayerThink+384
	ldwz %r3,%r1,124
	cmpweqi %r3,%r3,8
;P_PlayerThink+272
	ldi %r5,8
	ldi %r4,2
	cmovlsb %r3,%r3,%r4,%r5
;P_PlayerThink+288
	jmp P_PlayerThink+400
	nop 0
	nop 0
;P_PlayerThink+304
	stb %gz,%r1,17
	jmp P_PlayerThink+480
	nop 0
;P_PlayerThink+320
	ldwz %r3,%r1,160
	bweq %r3,%gz,P_PlayerThink+352
	ldwz %r3,%r1,124
;P_PlayerThink+336
	bwnei %r3,7,P_PlayerThink+368
	ldwz %r3,%r1,60
	bweq %r3,%gz,P_PlayerThink+368
;P_PlayerThink+352
	mov %r3,%gz
	ldwzr %r4,gamemode
	jmp P_PlayerThink+400
;P_PlayerThink+368
	ldi %r3,7
	ldwzr %r4,gamemode
	jmp P_PlayerThink+400
;P_PlayerThink+384
	ldi %r4,2
	mov %r3,%r4
	nop 0
;P_PlayerThink+400
	ldwzx.xuw %r5,%r1,%r3,2,132
	bweq %r5,%gz,P_PlayerThink+464
	ldwz %r5,%r1,124
;P_PlayerThink+416
	bweq %r3,%r5,P_PlayerThink+464
	addiws %r5,%r3,-7
	nop 2
;P_PlayerThink+432
	bwltui.l %r5,4294967294,P_PlayerThink+448
	bweq %r4,%gz,P_PlayerThink+464
;P_PlayerThink+448
	stw %r3,%r1,128
	nop 0
	nop 0
;P_PlayerThink+464
	bbsi %r2,1,P_PlayerThink+496
	nop 0
	nop 0
;P_PlayerThink+480
	stw %gz,%r1,204
	jmp P_PlayerThink+528
	nop 0
;P_PlayerThink+496
	ldwz %r2,%r1,204
	bwne %r2,%gz,P_PlayerThink+528
	mov %r7,%r1
;P_PlayerThink+512
	callr %r6,P_UseLines
	ldi %r2,1
	stw %r2,%r1,204
;P_PlayerThink+528
	mov %r7,%r1
	callr %r6,P_MovePsprites
	ldwz %r2,%r1,60
;P_PlayerThink+544
	bweq %r2,%gz,P_PlayerThink+560
	addiws %r2,%r2,1
	stw %r2,%r1,60
;P_PlayerThink+560
	ldwz %r2,%r1,56
	bweq %r2,%gz,P_PlayerThink+592
	addiws %r2,%r2,-1
;P_PlayerThink+576
	stw %r2,%r1,56
	nop 0
	nop 0
;P_PlayerThink+592
	ldwz %r2,%r1,64
	bweq %r2,%gz,P_PlayerThink+624
	addiws %r2,%r2,-1
;P_PlayerThink+608
	stw %r2,%r1,64
	bweq %r2,%gz,P_PlayerThink+848
	nop 0
;P_PlayerThink+624
	ldwz %r2,%r1,76
	bweq %r2,%gz,P_PlayerThink+880
	nop 0
;P_PlayerThink+640
	addiws %r2,%r2,-1
	stw %r2,%r1,76
	ldwz %r3,%r1,68
;P_PlayerThink+656
	bweq %r3,%gz,P_PlayerThink+688
	nop 0
	nop 0
;P_PlayerThink+672
	addiws %r3,%r3,-1
	stw %r3,%r1,68
	nop 0
;P_PlayerThink+688
	ldwz %r3,%r1,240
	bweq %r3,%gz,P_PlayerThink+720
	addiws %r3,%r3,-1
;P_PlayerThink+704
	stw %r3,%r1,240
	nop 0
	nop 0
;P_PlayerThink+720
	ldwz %r3,%r1,244
	bweq %r3,%gz,P_PlayerThink+752
	addiws %r3,%r3,-1
;P_PlayerThink+736
	stw %r3,%r1,244
	nop 0
	nop 0
;P_PlayerThink+752
	ldwz %r3,%r1,56
	bweq %r3,%gz,P_PlayerThink+800
	bwgei %r3,129,P_PlayerThink+784
;P_PlayerThink+768
	andi %r2,%r3,8
	bweq %r2,%gz,P_PlayerThink+832
	nop 0
;P_PlayerThink+784
	ldi %r2,32
	stw %r2,%r1,260
	retf 0
;P_PlayerThink+800
	bweq %r2,%gz,P_PlayerThink+832
	bwgei %r2,129,P_PlayerThink+912
	andi %r2,%r2,8
;P_PlayerThink+816
	bwne %r2,%gz,P_PlayerThink+912
	nop 0
	nop 0
;P_PlayerThink+832
	stw %gz,%r1,260
	retf 0
	nop 0
;P_PlayerThink+848
	lddz %r2,%r1,0
	ldwz %r3,%r2,160
	andi %r3,%r3,-262145
;P_PlayerThink+864
	stw %r3,%r2,160
	ldwz %r2,%r1,76
	bwne %r2,%gz,P_PlayerThink+640
;P_PlayerThink+880
	mov %r2,%gz
	ldwz %r3,%r1,68
	bwne %r3,%gz,P_PlayerThink+672
;P_PlayerThink+896
	jmp P_PlayerThink+688
	nop 0
	nop 0
;P_PlayerThink+912
	ldi %r2,1
	stw %r2,%r1,260
	retf 0
;R_ClearDrawSegs
	alloc 2
	ldafr %r1,drawsegs
	stdr %r1,ds_p
;R_ClearDrawSegs+16
	retf 0
	nop 0
	nop 0
;R_ClipSolidWallSegment
	alloc 11
	addiws %r5,%r1,-1
	ldafr %r4,ds_p
;R_ClipSolidWallSegment+16
	ldwz %r3,%r4,12
	addi %r4,%r4,8
	bwlt %r3,%r5,R_ClipSolidWallSegment+16
;R_ClipSolidWallSegment+32
	ldwz %r5,%r4,0
	bwle %r5,%r1,R_ClipSolidWallSegment+160
	mov %r9,%r1
;R_ClipSolidWallSegment+48
	addiws %r10,%r5,-1
	bwle %r10,%r2,R_ClipSolidWallSegment+144
	mov %r10,%r2
;R_ClipSolidWallSegment+64
	callr %r8,R_StoreWallRange
	lddzr %r3,newend
	addi %r5,%r3,8
;R_ClipSolidWallSegment+80
	stdr %r5,newend
	bdeq %r4,%r3,R_ClipSolidWallSegment+384
	nop 0
;R_ClipSolidWallSegment+96
	ldwz %r6,%r3,-4
	ldwz %r7,%r3,-8
	addi %r5,%r3,-8
;R_ClipSolidWallSegment+112
	stw %r6,%r3,4
	stw %r7,%r3,0
	mov %r3,%r5
;R_ClipSolidWallSegment+128
	bdne %r4,%r5,R_ClipSolidWallSegment+96
	jmp R_ClipSolidWallSegment+400
	nop 0
;R_ClipSolidWallSegment+144
	callr %r8,R_StoreWallRange
	stw %r1,%r4,0
	ldwz %r3,%r4,4
;R_ClipSolidWallSegment+160
	bwle %r2,%r3,R_ClipSolidWallSegment+368
	mov %r3,%gz
	nop 0
;R_ClipSolidWallSegment+176
	ldwzx.xd %r1,%r4,%r3,0,8
	ldwzx.xd %r5,%r4,%r3,0,4
	addiws %r10,%r1,-1
;R_ClipSolidWallSegment+192
	addiws %r9,%r5,1
	bwlt %r2,%r10,R_ClipSolidWallSegment+240
	callr %r8,R_StoreWallRange
;R_ClipSolidWallSegment+208
	ldwzx.xd %r1,%r4,%r3,0,12
	addi %r3,%r3,8
	bwlt %r1,%r2,R_ClipSolidWallSegment+176
;R_ClipSolidWallSegment+224
	stw %r1,%r4,4
	jmp R_ClipSolidWallSegment+272
	nop 0
;R_ClipSolidWallSegment+240
	mov %r10,%r2
	callr %r8,R_StoreWallRange
	stw %r2,%r4,4
;R_ClipSolidWallSegment+256
	bdeq %r3,%gz,R_ClipSolidWallSegment+368
	nop 0
	nop 0
;R_ClipSolidWallSegment+272
	add %r1,%r4,%r3
	lddzr %r2,newend
	bdeq %r1,%r2,R_ClipSolidWallSegment+352
;R_ClipSolidWallSegment+288
	mov %r3,%gz
	nop 0
	nop 0
;R_ClipSolidWallSegment+304
	ldwzx.xd %r5,%r1,%r3,0,12
	ldwzx.xd %r6,%r1,%r3,0,8
	stwx.xd %r5,%r4,%r3,0,12
;R_ClipSolidWallSegment+320
	stwx.xd %r6,%r4,%r3,0,8
	ldax.xd %r5,%r3,%r1,0,8
	addi %r3,%r3,8
;R_ClipSolidWallSegment+336
	bdne %r5,%r2,R_ClipSolidWallSegment+304
	add %r4,%r4,%r3
	nop 0
;R_ClipSolidWallSegment+352
	addi %r1,%r4,8
	stdr %r1,newend
	nop 0
;R_ClipSolidWallSegment+368
	retf 0
	nop 0
	nop 0
;R_ClipSolidWallSegment+384
	mov %r5,%r3
	nop 0
	nop 0
;R_ClipSolidWallSegment+400
	stw %r1,%r5,0
	stw %r2,%r5,4
	retf 0
;R_ClipPassWallSegment
	alloc 8
	mov %r6,%r1
	addiws %r4,%r1,-1
;R_ClipPassWallSegment+16
	ldafr %r3,solidsegs
	nop 0
	nop 0
;R_ClipPassWallSegment+32
	ldwz %r1,%r3,4
	addi %r3,%r3,8
	bwlt %r1,%r4,R_ClipPassWallSegment+32
;R_ClipPassWallSegment+48
	ldwz %r4,%r3,-8
	bwle %r4,%r6,R_ClipPassWallSegment+112
	addiws %r7,%r4,-1
;R_ClipPassWallSegment+64
	bwle %r7,%r2,R_ClipPassWallSegment+96
	nop 0
	nop 0
;R_ClipPassWallSegment+80
	mov %r7,%r2
	callr %r5,R_StoreWallRange
	retf 0
;R_ClipPassWallSegment+96
	callr %r5,R_StoreWallRange
	ldwz %r1,%r3,-4
	nop 0
;R_ClipPassWallSegment+112
	bwle %r2,%r1,R_ClipPassWallSegment+176
	nop 0
	nop 0
;R_ClipPassWallSegment+128
	ldwz %r1,%r3,0
	ldwz %r4,%r3,-4
	addiws %r7,%r1,-1
;R_ClipPassWallSegment+144
	addiws %r6,%r4,1
	bwlt %r2,%r7,R_ClipPassWallSegment+80
	callr %r5,R_StoreWallRange
;R_ClipPassWallSegment+160
	ldwz %r1,%r3,4
	addi %r3,%r3,8
	bwlt %r1,%r2,R_ClipPassWallSegment+128
;R_ClipPassWallSegment+176
	retf 0
	nop 0
	nop 0
;R_ClearClipSegs
	alloc 3
	ldwzr %r1,viewwidth
	nop 2
;R_ClearClipSegs+16
	ldi.l %r2,-2147483647
	stwr %r2,solidsegs
;R_ClearClipSegs+32
	ldi %r2,-1
	stwr %r2,solidsegs+4
	stwr %r1,solidsegs+8
;R_ClearClipSegs+48
	ldi.l %r1,2147483647
	stwr %r1,solidsegs+12
;R_ClearClipSegs+64
	ldafr %r1,solidsegs+16
	stdr %r1,newend
	retf 0
;R_AddLine
	alloc 12
	stdr %r1,curline
	lddz %r2,%r1,0
;R_AddLine+16
	ldwz %r10,%r2,0
	ldwz %r11,%r2,4
	callr %r9,R_PointToAngle
;R_AddLine+32
	lddz %r3,%r1,8
	mov %r2,%r10
	ldwz %r10,%r3,0
;R_AddLine+48
	ldwz %r11,%r3,4
	callr %r9,R_PointToAngle
	subws %r3,%r2,%r10
;R_AddLine+64
	bwlt %r3,%gz,R_AddLine+384
	ldwzr %r7,viewangle
	ldwzr %r5,clipangle
;R_AddLine+80
	subws %r4,%r2,%r7
	addws %r8,%r4,%r5
	slliw %r6,%r5,1
;R_AddLine+96
	stwr %r2,rw_angle1
	bwleu %r8,%r6,R_AddLine+128
	subws %r2,%r8,%r6
;R_AddLine+112
	mov %r4,%r5
	bwleu %r3,%r2,R_AddLine+384
	nop 0
;R_AddLine+128
	subws %r2,%r10,%r7
	subws %r7,%r5,%r2
	bwleu %r7,%r6,R_AddLine+160
;R_AddLine+144
	subws %r2,%r7,%r6
	bwleu %r3,%r2,R_AddLine+384
	subfiws %r2,%r5,0
;R_AddLine+160
	addiws.l %r3,%r4,1073741824
	srliw %r3,%r3,19
;R_AddLine+176
	addiws.l %r2,%r2,1073741824
	srliw %r2,%r2,19
;R_AddLine+192
	ldafr %r4,viewangletox
	ldwzx.xuw %r10,%r4,%r3,2,0
	ldwzx.xuw %r2,%r4,%r2,2,0
;R_AddLine+208
	bweq %r10,%r2,R_AddLine+384
	lddz %r1,%r1,48
	stdr %r1,backsector
;R_AddLine+224
	bdeq %r1,%gz,R_AddLine+368
	lddzr %r3,frontsector
	ldwz %r4,%r1,4
;R_AddLine+240
	ldwz %r5,%r3,0
	bwle %r4,%r5,R_AddLine+368
	ldwz %r7,%r1,0
;R_AddLine+256
	ldwz %r6,%r3,4
	bwle %r6,%r7,R_AddLine+368
	bwne %r7,%r5,R_AddLine+352
;R_AddLine+272
	bwne %r4,%r6,R_AddLine+352
	ldhz %r4,%r1,10
	ldhz %r5,%r3,10
;R_AddLine+288
	bwne %r4,%r5,R_AddLine+352
	ldhz %r4,%r1,8
	ldhz %r5,%r3,8
;R_AddLine+304
	bwne %r4,%r5,R_AddLine+352
	ldhz %r1,%r1,12
	ldhz %r3,%r3,12
;R_AddLine+320
	bwne %r1,%r3,R_AddLine+352
	lddzr %r1,curline
	lddz %r1,%r1,24
;R_AddLine+336
	ldhz %r1,%r1,12
	bweq %r1,%gz,R_AddLine+384
	nop 0
;R_AddLine+352
	addiws %r11,%r2,-1
	callr %r9,R_ClipPassWallSegment
	retf 0
;R_AddLine+368
	addiws %r11,%r2,-1
	callr %r9,R_ClipSolidWallSegment
	nop 0
;R_AddLine+384
	retf 0
	nop 0
	nop 0
;R_CheckBBox
	alloc 11
	mov %r2,%r1
	ldwzr %r3,viewx
;R_CheckBBox+16
	ldwz %r4,%r1,8
	mov %r1,%gz
	bwle %r3,%r4,R_CheckBBox+64
;R_CheckBBox+32
	ldwz %r1,%r2,12
	cmpwlt %r1,%r3,%r1
	ldi %r3,2
;R_CheckBBox+48
	ldi %r4,1
	cmovlsb %r1,%r1,%r4,%r3
	nop 0
;R_CheckBBox+64
	ldwzr %r3,viewy
	ldwz %r5,%r2,0
	mov %r4,%gz
;R_CheckBBox+80
	bwle %r5,%r3,R_CheckBBox+112
	ldwz %r4,%r2,4
	cmpwlt %r3,%r4,%r3
;R_CheckBBox+96
	ldi %r4,8
	ldi %r5,4
	cmovlsb %r4,%r3,%r5,%r4
;R_CheckBBox+112
	or %r3,%r4,%r1
	ldi %r1,1
	bweqi %r3,5,R_CheckBBox+448
;R_CheckBBox+128
	ldafr %r4,checkcoord
	ldwsx.xuw %r4,%r4,%r3,4,0
	ldafr %r5,checkcoord+4
;R_CheckBBox+144
	ldwsx.xuw %r5,%r5,%r3,4,0
	ldafr %r6,checkcoord+8
	ldwsx.xuw %r6,%r6,%r3,4,0
;R_CheckBBox+160
	ldafr %r7,checkcoord+12
	ldwsx.xuw %r7,%r7,%r3,4,0
	ldwzx.xd %r9,%r2,%r4,2,0
;R_CheckBBox+176
	ldwzx.xd %r10,%r2,%r5,2,0
	ldwzx.xd %r3,%r2,%r6,2,0
	ldwzx.xd %r2,%r2,%r7,2,0
;R_CheckBBox+192
	callr %r8,R_PointToAngle
	ldwzr %r4,viewangle
	subws %r4,%r9,%r4
;R_CheckBBox+208
	mov2 %r9,%r10,%r3,%r2
	callr %r8,R_PointToAngle
	ldwzr %r2,viewangle
;R_CheckBBox+224
	subws %r2,%r9,%r2
	subws %r3,%r4,%r2
	bwlt %r3,%gz,R_CheckBBox+448
;R_CheckBBox+240
	ldwzr %r1,clipangle
	addws %r6,%r1,%r4
	slliw %r5,%r1,1
;R_CheckBBox+256
	bwleu %r6,%r5,R_CheckBBox+288
	subws %r6,%r6,%r5
	mov %r4,%r1
;R_CheckBBox+272
	bwleu %r3,%r6,R_CheckBBox+384
	nop 0
	nop 0
;R_CheckBBox+288
	subws %r6,%r1,%r2
	bwleu %r6,%r5,R_CheckBBox+320
	subws %r2,%r6,%r5
;R_CheckBBox+304
	bwleu %r3,%r2,R_CheckBBox+384
	subfiws %r2,%r1,0
	nop 0
;R_CheckBBox+320
	addiws.l %r1,%r4,1073741824
	srliw %r1,%r1,19
;R_CheckBBox+336
	addiws.l %r2,%r2,1073741824
	srliw %r2,%r2,19
;R_CheckBBox+352
	ldafr %r3,viewangletox
	ldwzx.xuw %r1,%r3,%r1,2,0
	ldwzx.xuw %r2,%r3,%r2,2,0
;R_CheckBBox+368
	bwne %r1,%r2,R_CheckBBox+400
	nop 0
	nop 0
;R_CheckBBox+384
	mov %r1,%gz
	retf 0
	nop 0
;R_CheckBBox+400
	addiws %r3,%r2,-1
	ldafr %r2,ds_p
	nop 0
;R_CheckBBox+416
	ldwz %r4,%r2,12
	addi %r2,%r2,8
	bwlt %r4,%r3,R_CheckBBox+416
;R_CheckBBox+432
	ldwz %r2,%r2,0
	cmpwlt %r1,%r1,%r2
	nop 0
;R_CheckBBox+448
	retf 0
	nop 0
	nop 0
;R_Subsector
	allocsp 10,16
	ldwzr %r2,numsubsectors
	bwlt %r1,%r2,R_Subsector+48
;R_Subsector+16
	stw %r2,%sp,4
	ldafr %r9,.rodata+21208
	stw %r1,%sp,0
;R_Subsector+32
	callr %r8,I_Error
	nop 0
	nop 0
;R_Subsector+48
	ldwzr %r2,sscount
	lddzr %r4,subsectors
	addiws %r2,%r2,1
;R_Subsector+64
	stwr %r2,sscount
	lddzx.xw %r9,%r4,%r1,4,0
	stdr %r9,frontsector
;R_Subsector+80
	ldwz %r7,%r9,0
	ldwzr %r5,viewz
	ldhsx.xw %r3,%r4,%r1,4,8
;R_Subsector+96
	lddzr %r2,segs
	ldhsx.xw %r4,%r4,%r1,4,10
	bwle %r5,%r7,R_Subsector+144
;R_Subsector+112
	ldhs %r8,%r9,8
	ldhs %r9,%r9,12
	callr %r6,R_FindPlane
;R_Subsector+128
	lddzr %r9,frontsector
	ldwzr %r5,viewz
	jmp R_Subsector+160
;R_Subsector+144
	mov %r7,%gz
	nop 0
	nop 0
;R_Subsector+160
	stdr %r7,floorplane
	ldwz %r7,%r9,4
	ldhs %r8,%r9,10
;R_Subsector+176
	bwlt %r5,%r7,R_Subsector+208
	ldwzr %r1,skyflatnum
	bweq %r1,%r8,R_Subsector+208
;R_Subsector+192
	mov %r7,%gz
	jmp R_Subsector+224
	nop 0
;R_Subsector+208
	ldhs %r9,%r9,12
	callr %r6,R_FindPlane
	lddzr %r9,frontsector
;R_Subsector+224
	stdr %r7,ceilingplane
	callr %r8,R_AddSprites
	bweq %r3,%gz,R_Subsector+288
;R_Subsector+240
	ldi %r1,56
	muladd %r1,%r4,%r1,%r2
	nop 0
;R_Subsector+256
	addiws %r3,%r3,-1
	mov %r9,%r1
	callr %r8,R_AddLine
;R_Subsector+272
	addi %r1,%r1,56
	bwne %r3,%gz,R_Subsector+256
	nop 0
;R_Subsector+288
	retf 16
	nop 0
	nop 0
;R_RenderBSPNode
	alloc 9
	bbsi %r1,15,R_RenderBSPNode+128
	lddzr %r3,nodes
;R_RenderBSPNode+16
	sraiw %r2,%r1,0
	ldi %r1,52
	muladd %r1,%r2,%r1,%r3
;R_RenderBSPNode+32
	muli %r4,%r2,52
	ldwzr %r6,viewx
	ldwzr %r7,viewy
;R_RenderBSPNode+48
	mov %r8,%r1
	callr %r5,R_PointOnSide
	ldax.xd %r3,%r3,%r4,0,48
;R_RenderBSPNode+64
	ldhzx.xw %r8,%r1,%r6,1,48
	callr %r7,R_RenderBSPNode
	xori %r2,%r6,1
;R_RenderBSPNode+80
	ldax.xw %r8,%r1,%r2,4,16
	callr %r7,R_CheckBBox
	bweq %r8,%gz,R_RenderBSPNode+112
;R_RenderBSPNode+96
	sraiw %r1,%r2,0
	ldhzx.xd %r8,%r3,%r1,1,0
	callr %r7,R_RenderBSPNode
;R_RenderBSPNode+112
	retf 0
	nop 0
	nop 0
;R_RenderBSPNode+128
	bweqi %r1,-1,R_RenderBSPNode+160
	andi %r8,%r1,-32769
	callr %r7,R_Subsector
;R_RenderBSPNode+144
	retf 0
	nop 0
	nop 0
;R_RenderBSPNode+160
	mov %r8,%gz
	callr %r7,R_Subsector
	retf 0
;R_DrawColumnInCache
	alloc 14
	ldbz %r5,%r1,0
	bwnei %r5,255,R_DrawColumnInCache+64
;R_DrawColumnInCache+16
	retf 0
	nop 0
	nop 0
;R_DrawColumnInCache+32
	andi %r5,%r6,255
	ldax.xd %r6,%r1,%r5,0,4
	ldbzx.xd %r5,%r1,%r5,0,4
;R_DrawColumnInCache+48
	mov %r1,%r6
	bweqi %r5,255,R_DrawColumnInCache+16
	nop 0
;R_DrawColumnInCache+64
	ldbz %r6,%r1,1
	andi %r5,%r5,255
	addws %r5,%r3,%r5
;R_DrawColumnInCache+80
	minsw %r7,%r5,%gz
	addws %r7,%r7,%r6
	maxsw %r5,%r5,%gz
;R_DrawColumnInCache+96
	addws %r8,%r7,%r5
	cmpwlt %r8,%r4,%r8
	subws %r9,%r4,%r5
;R_DrawColumnInCache+112
	cmovlsb %r7,%r8,%r9,%r7
	bwlti %r7,1,R_DrawColumnInCache+32
	addi %r12,%r1,3
;R_DrawColumnInCache+128
	ldax.xuw %r11,%r2,%r5,0,0
	srliw %r13,%r7,0
	callr %r10,memcpy
;R_DrawColumnInCache+144
	ldbz %r6,%r1,1
	jmp R_DrawColumnInCache+32
	nop 0
;R_GenerateComposite
	alloc 27
	lddzr %r2,textures
	lddzr %r3,texturecompositesize
;R_GenerateComposite+16
	lddzr %r4,texturecomposite
	lddzx.xw %r5,%r2,%r1,3,0
	ldwzx.xw %r24,%r3,%r1,2,0
;R_GenerateComposite+32
	ldax.xw %r26,%r4,%r1,3,0
	ldi %r25,1
	callr %r23,Z_Malloc
;R_GenerateComposite+48
	ldhs %r2,%r5,24
	mov %r4,%r24
	bwlti %r2,1,R_GenerateComposite+496
;R_GenerateComposite+64
	lddzr %r2,texturecolumnlump
	lddzr %r3,texturecolumnofs
	mov %r6,%gz
;R_GenerateComposite+80
	lddzx.xw %r7,%r2,%r1,3,0
	lddzx.xw %r8,%r3,%r1,3,0
	addi %r9,%r5,28
;R_GenerateComposite+96
	ldi %r2,8
	jmp R_GenerateComposite+144
	nop 0
;R_GenerateComposite+112
	ldhs %r1,%r5,24
	addiws %r6,%r6,1
	addi %r9,%r9,8
;R_GenerateComposite+128
	bwle %r1,%r6,R_GenerateComposite+496
	nop 0
	nop 0
;R_GenerateComposite+144
	ldwz %r25,%r9,4
	mov %r26,%r2
	callr %r24,W_CacheLumpNum
;R_GenerateComposite+160
	ldbs %r10,%r25,1
	ldbz %r11,%r25,0
	ldhs %r1,%r9,0
;R_GenerateComposite+176
	ldhs %r13,%r5,8
	slor %r10,%r11,%r10,8
	addws %r10,%r10,%r1
;R_GenerateComposite+192
	maxsw %r12,%r1,%gz
	minsw %r13,%r10,%r13
	bwle %r13,%r12,R_GenerateComposite+112
;R_GenerateComposite+208
	mov %r3,%r25
	sraiw %r10,%r1,0
	addi %r11,%r25,8
;R_GenerateComposite+224
	srliw %r12,%r12,0
	srliw %r13,%r13,0
	jmp R_GenerateComposite+256
;R_GenerateComposite+240
	addi %r12,%r12,1
	bdeq %r12,%r13,R_GenerateComposite+112
	nop 0
;R_GenerateComposite+256
	ldhsx.xd %r1,%r7,%r12,1,0
	bwgei %r1,0,R_GenerateComposite+240
	sub %r1,%r12,%r10
;R_GenerateComposite+272
	ldbzx.xd %r14,%r11,%r1,2,1
	ldbzx.xd %r15,%r11,%r1,2,0
	ldbsx.xd %r16,%r11,%r1,2,3
;R_GenerateComposite+288
	ldbzx.xd %r1,%r11,%r1,2,2
	slli %r16,%r16,24
	slor %r14,%r15,%r14,8
;R_GenerateComposite+304
	slor %r1,%r16,%r1,16
	or %r14,%r1,%r14
	ldbzx.xd %r1,%r3,%r14,0,0
;R_GenerateComposite+320
	bweqi %r1,255,R_GenerateComposite+240
	ldhzx.xd %r15,%r8,%r12,1,0
	add %r16,%r3,%r14
;R_GenerateComposite+336
	add %r14,%r4,%r15
	ldhs %r15,%r9,2
	ldhs %r17,%r5,10
;R_GenerateComposite+352
	jmp R_GenerateComposite+400
	nop 0
	nop 0
;R_GenerateComposite+368
	andi %r1,%r18,255
	ldax.xd %r18,%r16,%r1,0,4
	ldbzx.xd %r1,%r16,%r1,0,4
;R_GenerateComposite+384
	mov %r16,%r18
	bweqi %r1,255,R_GenerateComposite+240
	nop 0
;R_GenerateComposite+400
	ldbz %r18,%r16,1
	andi %r1,%r1,255
	addws %r1,%r1,%r15
;R_GenerateComposite+416
	minsw %r19,%r1,%gz
	addws %r19,%r19,%r18
	maxsw %r1,%r1,%gz
;R_GenerateComposite+432
	addws %r20,%r19,%r1
	cmpwlt %r20,%r17,%r20
	subws %r21,%r17,%r1
;R_GenerateComposite+448
	cmovlsb %r19,%r20,%r21,%r19
	bwlti %r19,1,R_GenerateComposite+368
	addi %r25,%r16,3
;R_GenerateComposite+464
	ldax.xuw %r24,%r14,%r1,0,0
	srliw %r26,%r19,0
	callr %r23,memcpy
;R_GenerateComposite+480
	ldbz %r18,%r16,1
	jmp R_GenerateComposite+368
	nop 0
;R_GenerateComposite+496
	ldafr %r25,.rodata+11894
	ldi %r24,8
	ldi %r26,286
;R_GenerateComposite+512
	mov %r23,%r4
	callr %r22,Z_ChangeTag2
	retf 0
;R_GenerateLookup
	allocsp 19,32
	lddzr %r2,textures
	lddzr %r3,texturecomposite
;R_GenerateLookup+16
	lddzx.xw %r4,%r2,%r1,3,0
	stdx.xw %gz,%r3,%r1,3,0
	lddzr %r2,texturecompositesize
;R_GenerateLookup+32
	stwx.xw %gz,%r2,%r1,2,0
	lddzr %r2,texturecolumnlump
	lddzr %r3,texturecolumnofs
;R_GenerateLookup+48
	lddzx.xw %r5,%r2,%r1,3,0
	lddzx.xw %r6,%r3,%r1,3,0
	ldhs %r16,%r4,8
;R_GenerateLookup+64
	ldi %r17,1
	addi %r18,%sp,24
	callr %r15,Z_Malloc
;R_GenerateLookup+80
	std %r16,%sp,24
	ldhs %r18,%r4,8
	mov %r17,%gz
;R_GenerateLookup+96
	callr %r15,memset
	ldhs %r2,%r4,24
	bwlti %r2,1,R_GenerateLookup+384
;R_GenerateLookup+112
	mov %r7,%gz
	addi %r8,%r4,28
	ldi %r2,8
;R_GenerateLookup+128
	jmp R_GenerateLookup+176
	nop 0
	nop 0
;R_GenerateLookup+144
	ldhs %r3,%r4,24
	addiws %r7,%r7,1
	addi %r8,%r8,8
;R_GenerateLookup+160
	bwle %r3,%r7,R_GenerateLookup+384
	nop 0
	nop 0
;R_GenerateLookup+176
	ldwz %r17,%r8,4
	mov %r18,%r2
	callr %r16,W_CacheLumpNum
;R_GenerateLookup+192
	ldbs %r9,%r17,1
	ldbz %r10,%r17,0
	ldhs %r3,%r8,0
;R_GenerateLookup+208
	ldhs %r12,%r4,8
	slor %r9,%r10,%r9,8
	addws %r9,%r9,%r3
;R_GenerateLookup+224
	maxsw %r11,%r3,%gz
	minsw %r9,%r9,%r12
	bwle %r9,%r11,R_GenerateLookup+144
;R_GenerateLookup+240
	sraiw %r12,%r3,0
	srliw %r3,%r11,0
	srliw %r9,%r9,0
;R_GenerateLookup+256
	ldax.xuw %r10,%r6,%r11,1,0
	slli %r13,%r3,2
	ldax.xuw %r11,%r5,%r11,1,0
;R_GenerateLookup+272
	slsub %r12,%r13,%r12,2
	ldax.xd %r12,%r17,%r12,0,8
	nop 0
;R_GenerateLookup+288
	lddz %r13,%sp,24
	ldbzx.xd %r14,%r13,%r3,0,0
	addiws %r14,%r14,1
;R_GenerateLookup+304
	stbx.xd %r14,%r13,%r3,0,0
	ldwz %r13,%r8,4
	sth %r13,%r11,0
;R_GenerateLookup+320
	ldbz %r13,%r12,1
	ldbz %r14,%r12,0
	slor %r13,%r14,%r13,8
;R_GenerateLookup+336
	addiws %r13,%r13,3
	sth %r13,%r10,0
	addi %r3,%r3,1
;R_GenerateLookup+352
	addi %r10,%r10,2
	addi %r11,%r11,2
	addi %r12,%r12,4
;R_GenerateLookup+368
	bdne %r9,%r3,R_GenerateLookup+288
	jmp R_GenerateLookup+144
	nop 0
;R_GenerateLookup+384
	ldhs %r3,%r4,8
	bwlti %r3,1,R_GenerateLookup+576
	mov %r7,%gz
;R_GenerateLookup+400
	sraiw %r8,%r1,0
	ldi %r9,65535
	ldafr %r2,.rodata+1798
;R_GenerateLookup+416
	jmp R_GenerateLookup+480
	nop 0
	nop 0
;R_GenerateLookup+432
	addws %r10,%r10,%r11
	stwx.xd %r10,%r3,%r8,2,0
	ldhz %r3,%r4,8
;R_GenerateLookup+448
	addi %r7,%r7,1
	slsrai %r10,%r3,48,48
	addi %r6,%r6,2
;R_GenerateLookup+464
	addi %r5,%r5,2
	bdle %r10,%r7,R_GenerateLookup+576
	nop 0
;R_GenerateLookup+480
	lddz %r10,%sp,24
	ldbzx.xd %r10,%r10,%r7,0,0
	bweqi %r10,1,R_GenerateLookup+448
;R_GenerateLookup+496
	bweq %r10,%gz,R_GenerateLookup+592
	sth %r9,%r5,0
	lddzr %r3,texturecompositesize
;R_GenerateLookup+512
	ldwzx.xd %r10,%r3,%r8,2,0
	sth %r10,%r6,0
	ldhs %r11,%r4,10
;R_GenerateLookup+528
	subfiws %r12,%r11,65536
	bwle %r10,%r12,R_GenerateLookup+432
	stw %r1,%sp,0
;R_GenerateLookup+544
	mov %r18,%r2
	callr %r17,I_Error
	lddzr %r3,texturecompositesize
;R_GenerateLookup+560
	ldhs %r11,%r4,10
	ldwzx.xd %r10,%r3,%r8,2,0
	jmp R_GenerateLookup+432
;R_GenerateLookup+576
	lddz %r18,%sp,24
	callr %r17,Z_Free
	retf 32
;R_GenerateLookup+592
	ldafr %r18,.rodata+28736
	std %r4,%sp,0
	callr %r17,printf
;R_GenerateLookup+608
	retf 32
	nop 0
	nop 0
;R_GetColumn
	alloc 9
	lddzr %r3,texturewidthmask
	lddzr %r4,texturecolumnlump
;R_GetColumn+16
	ldwzx.xw %r3,%r3,%r1,2,0
	lddzx.xw %r4,%r4,%r1,3,0
	lddzr %r5,texturecolumnofs
;R_GetColumn+32
	and %r2,%r3,%r2
	ldhsx.xw %r7,%r4,%r2,1,0
	lddzx.xw %r3,%r5,%r1,3,0
;R_GetColumn+48
	ldhzx.xw %r2,%r3,%r2,1,0
	bwlti %r7,1,R_GetColumn+80
	ldi %r8,8
;R_GetColumn+64
	callr %r6,W_CacheLumpNum
	add %r1,%r7,%r2
	retf 0
;R_GetColumn+80
	lddzr %r4,texturecomposite
	sraiw %r3,%r1,0
	lddzx.xd %r7,%r4,%r3,3,0
;R_GetColumn+96
	bdeq %r7,%gz,R_GetColumn+112
	add %r1,%r7,%r2
	retf 0
;R_GetColumn+112
	mov %r8,%r1
	callr %r7,R_GenerateComposite
	lddzr %r1,texturecomposite
;R_GetColumn+128
	lddzx.xd %r7,%r1,%r3,3,0
	add %r1,%r7,%r2
	retf 0
;R_InitTextures
	allocsp 30,32
	stb %gz,%sp,31
	ldafr %r28,.rodata+9466
;R_InitTextures+16
	ldi %r1,1
	mov %r29,%r1
	callr %r27,W_CacheLumpName
;R_InitTextures+32
	mov %r2,%r28
	ldwz %r3,%r28,0
	slliw %r27,%r3,2
;R_InitTextures+48
	mov2 %r28,%r29,%r1,%gz
	callr %r26,Z_Malloc
	mov %r1,%r27
;R_InitTextures+64
	bwlti %r3,1,R_InitTextures+160
	addi %r2,%r2,4
	srliw %r6,%r3,0
;R_InitTextures+80
	addi %r3,%sp,23
	ldi %r4,9
	mov %r7,%r1
;R_InitTextures+96
	mov2 %r27,%r28,%r3,%r2
	mov %r29,%r4
	callr %r26,M_StringCopy
;R_InitTextures+112
	mov %r29,%r3
	callr %r28,W_CheckNumForName
	stw %r29,%r7,0
;R_InitTextures+128
	addi %r2,%r2,8
	addi %r6,%r6,-1
	addi %r7,%r7,4
;R_InitTextures+144
	bdne %r6,%gz,R_InitTextures+96
	nop 0
	nop 0
;R_InitTextures+160
	ldafr %r29,.rodata+9466
	callr %r28,W_ReleaseLumpName
	ldafr %r2,.rodata+13942
;R_InitTextures+176
	ldi %r29,1
	mov %r28,%r2
	callr %r27,W_CacheLumpName
;R_InitTextures+192
	mov %r6,%r28
	ldwz %r10,%r28,0
	mov %r29,%r2
;R_InitTextures+208
	callr %r28,W_GetNumForName
	callr %r28,W_LumpLength
	mov %r2,%r29
;R_InitTextures+224
	ldafr %r29,.rodata+3555
	callr %r28,W_CheckNumForName
	bweqi %r29,-1,R_InitTextures+304
;R_InitTextures+240
	ldafr %r4,.rodata+3555
	ldi %r29,1
	mov %r28,%r4
;R_InitTextures+256
	callr %r27,W_CacheLumpName
	mov %r3,%r28
	ldwz %r5,%r28,0
;R_InitTextures+272
	mov %r29,%r4
	callr %r28,W_GetNumForName
	callr %r28,W_LumpLength
;R_InitTextures+288
	mov %r4,%r29
	jmp R_InitTextures+320
	nop 0
;R_InitTextures+304
	mov2 %r3,%r4,%gz,%gz
	mov %r5,%gz
	nop 0
;R_InitTextures+320
	addws %r5,%r5,%r10
	stwr %r5,numtextures
	slliw %r27,%r5,3
;R_InitTextures+336
	ldi %r5,1
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+352
	ldwzr %r7,numtextures
	stdr %r27,textures
	slliw %r27,%r7,3
;R_InitTextures+368
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
;R_InitTextures+384
	stdr %r27,texturecolumnlump
	slliw %r27,%r7,3
	mov2 %r28,%r29,%r5,%gz
;R_InitTextures+400
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
	stdr %r27,texturecolumnofs
;R_InitTextures+416
	slliw %r27,%r7,3
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+432
	ldwzr %r7,numtextures
	stdr %r27,texturecomposite
	slliw %r27,%r7,2
;R_InitTextures+448
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
;R_InitTextures+464
	stdr %r27,texturecompositesize
	slliw %r27,%r7,2
	mov2 %r28,%r29,%r5,%gz
;R_InitTextures+480
	callr %r26,Z_Malloc
	ldwzr %r7,numtextures
	stdr %r27,texturewidthmask
;R_InitTextures+496
	slliw %r27,%r7,2
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+512
	stdr %r27,textureheight
	ldafr %r29,.rodata+7446
	callr %r28,W_GetNumForName
;R_InitTextures+528
	mov %r7,%r29
	ldafr %r29,.rodata+4185
	callr %r28,W_GetNumForName
;R_InitTextures+544
	mov %r8,%r29
	ldwzr %r11,numtextures
	callr %r28,I_ConsoleStdout
;R_InitTextures+560
	bweq %r29,%gz,R_InitTextures+768
	subws %r7,%r8,%r7
	addiws %r7,%r7,62
;R_InitTextures+576
	sraiw %r8,%r7,31
	srliw %r8,%r8,26
	addws %r7,%r7,%r8
;R_InitTextures+592
	sraiw %r7,%r7,6
	addiws %r8,%r11,63
	sraiw %r9,%r8,31
;R_InitTextures+608
	srliw %r9,%r9,26
	addws %r8,%r8,%r9
	sraiw %r8,%r8,6
;R_InitTextures+624
	addws %r9,%r8,%r7
	ldi %r29,91
	callr %r28,putchar
;R_InitTextures+640
	bwlti %r9,-8,R_InitTextures+704
	mov %r8,%gz
	addiws %r11,%r9,8
;R_InitTextures+656
	ldi %r7,32
	nop 0
	nop 0
;R_InitTextures+672
	mov2 %r12,%r29,%r8,%r7
	callr %r28,putchar
	addiws %r8,%r8,1
;R_InitTextures+688
	bwlt %r12,%r11,R_InitTextures+672
	nop 0
	nop 0
;R_InitTextures+704
	ldi %r29,93
	callr %r28,putchar
	bwlti %r9,-9,R_InitTextures+768
;R_InitTextures+720
	mov %r8,%gz
	addiws %r9,%r9,9
	ldi %r7,8
;R_InitTextures+736
	mov2 %r11,%r29,%r8,%r7
	callr %r28,putchar
	addiws %r8,%r8,1
;R_InitTextures+752
	bwlt %r11,%r9,R_InitTextures+736
	nop 0
	nop 0
;R_InitTextures+768
	ldwzr %r7,numtextures
	bwlti %r7,1,R_InitTextures+1456
	mov %r12,%gz
;R_InitTextures+784
	srliw %r13,%r10,0
	ldi %r7,46
	ldafr %r8,.rodata+11903
;R_InitTextures+800
	ldi %r14,28
	ldafr %r9,.rodata+1057
	mov %r15,%r6
;R_InitTextures+816
	bmany %r12,63,R_InitTextures+832
	mov %r29,%r7
	callr %r28,putchar
;R_InitTextures+832
	cmpdeq %r10,%r12,%r13
	cmovlsb %r11,%r10,%r3,%r6
	ldwz %r17,%r11,4
;R_InitTextures+848
	cmovlsb %r2,%r10,%r4,%r2
	bwle %r17,%r2,R_InitTextures+880
	mov %r29,%r8
;R_InitTextures+864
	callr %r28,I_Error
	nop 0
	nop 0
;R_InitTextures+880
	cmovlsb %r15,%r10,%r3,%r15
	ldax.xw %r16,%r15,%r17,0,0
	ldbsx.xw %r6,%r15,%r17,0,21
;R_InitTextures+896
	ldbzx.xw %r10,%r15,%r17,0,20
	slliw %r6,%r6,11
	slor %r6,%r6,%r10,3
;R_InitTextures+912
	addiws %r27,%r6,32
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
;R_InitTextures+928
	lddzr %r6,textures
	mov %r10,%r27
	stdx.xd %r27,%r6,%r12,3,0
;R_InitTextures+944
	ldbzx.xw %r6,%r15,%r17,0,13
	ldbzx.xw %r18,%r15,%r17,0,12
	slor %r18,%r18,%r6,8
;R_InitTextures+960
	sth %r18,%r27,8
	ldbzx.xw %r6,%r15,%r17,0,15
	ldbzx.xw %r19,%r15,%r17,0,14
;R_InitTextures+976
	slor %r6,%r19,%r6,8
	sth %r6,%r27,10
	ldbsx.xw %r6,%r15,%r17,0,21
;R_InitTextures+992
	ldbzx.xw %r19,%r15,%r17,0,20
	slor %r6,%r19,%r6,8
	sth %r6,%r27,24
;R_InitTextures+1008
	ldbzx.xw %r19,%r15,%r17,0,5
	ldbzx.xw %r20,%r15,%r17,0,4
	ldbzx.xw %r21,%r15,%r17,0,6
;R_InitTextures+1024
	ldbzx.xw %r22,%r15,%r17,0,7
	ldbzx.xw %r23,%r15,%r17,0,1
	ldbzx.xw %r24,%r15,%r17,0,0
;R_InitTextures+1040
	ldbzx.xw %r25,%r15,%r17,0,3
	ldbzx.xw %r17,%r15,%r17,0,2
	slli %r22,%r22,24
;R_InitTextures+1056
	slor %r19,%r20,%r19,8
	slor %r20,%r22,%r21,16
	slli %r21,%r25,24
;R_InitTextures+1072
	or %r19,%r20,%r19
	slor %r20,%r24,%r23,8
	slor %r17,%r21,%r17,16
;R_InitTextures+1088
	or %r17,%r17,%r20
	slor %r17,%r17,%r19,32
	std %r17,%r27,0
;R_InitTextures+1104
	bwlti %r6,1,R_InitTextures+1296
	mov %r17,%gz
	addi %r16,%r16,22
;R_InitTextures+1120
	mov %r18,%r14
	jmp R_InitTextures+1168
	nop 0
;R_InitTextures+1136
	addiws %r17,%r17,1
	addi %r16,%r16,10
	slsrai %r19,%r6,48,48
;R_InitTextures+1152
	addi %r18,%r18,8
	bwle %r19,%r17,R_InitTextures+1280
	nop 0
;R_InitTextures+1168
	ldbz %r19,%r16,1
	ldbz %r20,%r16,0
	slor %r19,%r20,%r19,8
;R_InitTextures+1184
	sthx.xd %r19,%r10,%r18,0,0
	ldbz %r19,%r16,3
	ldbz %r20,%r16,2
;R_InitTextures+1200
	slor %r19,%r20,%r19,8
	sthx.xd %r19,%r10,%r18,0,2
	ldbs %r19,%r16,5
;R_InitTextures+1216
	ldbz %r20,%r16,4
	slli %r19,%r19,10
	slor %r19,%r19,%r20,2
;R_InitTextures+1232
	ldwzx.xd %r19,%r1,%r19,0,0
	stwx.xd %r19,%r10,%r18,0,4
	bwnei %r19,-1,R_InitTextures+1136
;R_InitTextures+1248
	std %r10,%sp,0
	mov %r29,%r9
	callr %r28,I_Error
;R_InitTextures+1264
	ldhz %r6,%r10,24
	jmp R_InitTextures+1136
	nop 0
;R_InitTextures+1280
	ldhz %r18,%r10,8
	nop 0
	nop 0
;R_InitTextures+1296
	addi %r6,%r11,4
	slsrai %r11,%r18,48,48
	slliw %r27,%r11,1
;R_InitTextures+1312
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	lddzr %r11,texturecolumnlump
;R_InitTextures+1328
	stdx.xd %r27,%r11,%r12,3,0
	ldhs %r11,%r10,8
	slliw %r27,%r11,1
;R_InitTextures+1344
	mov2 %r28,%r29,%r5,%gz
	callr %r26,Z_Malloc
	lddzr %r11,texturecolumnofs
;R_InitTextures+1360
	stdx.xd %r27,%r11,%r12,3,0
	ldhs %r16,%r10,8
	mov %r17,%r5
;R_InitTextures+1376
	mov %r11,%r17
	slliw %r17,%r17,1
	bwle %r17,%r16,R_InitTextures+1376
;R_InitTextures+1392
	lddzr %r16,texturewidthmask
	addiws %r11,%r11,-1
	stwx.xd %r11,%r16,%r12,2,0
;R_InitTextures+1408
	ldhz %r10,%r10,10
	lddzr %r11,textureheight
	slliw %r10,%r10,16
;R_InitTextures+1424
	stwx.xd %r10,%r11,%r12,2,0
	ldwsr %r10,numtextures
	addi %r12,%r12,1
;R_InitTextures+1440
	bdlt %r12,%r10,R_InitTextures+816
	nop 0
	nop 0
;R_InitTextures+1456
	mov %r29,%r1
	callr %r28,Z_Free
	ldafr %r29,.rodata+13942
;R_InitTextures+1472
	callr %r28,W_ReleaseLumpName
	bdeq %r3,%gz,R_InitTextures+1504
	ldafr %r29,.rodata+3555
;R_InitTextures+1488
	callr %r28,W_ReleaseLumpName
	nop 0
	nop 0
;R_InitTextures+1504
	ldwzr %r2,numtextures
	bwlti %r2,1,R_InitTextures+1552
	mov %r1,%gz
;R_InitTextures+1520
	mov %r29,%r1
	callr %r28,R_GenerateLookup
	ldwzr %r2,numtextures
;R_InitTextures+1536
	addiws %r1,%r1,1
	bwlt %r1,%r2,R_InitTextures+1520
	nop 0
;R_InitTextures+1552
	ldi %r1,4
	sladdws %r27,%r1,%r2,2
	ldi %r28,1
;R_InitTextures+1568
	mov %r29,%gz
	callr %r26,Z_Malloc
	ldwzr %r1,numtextures
;R_InitTextures+1584
	stdr %r27,texturetranslation
	bwlti %r1,1,R_InitTextures+1632
	mov %r2,%gz
;R_InitTextures+1600
	stw %r2,%r27,0
	ldwzr %r1,numtextures
	addi %r2,%r2,1
;R_InitTextures+1616
	sraiw %r3,%r1,0
	addi %r27,%r27,4
	bdlt %r2,%r3,R_InitTextures+1600
;R_InitTextures+1632
	slliw %r27,%r1,3
	ldi %r28,1
	mov %r29,%gz
;R_InitTextures+1648
	callr %r26,Z_Malloc
	ldwsr %r1,numtextures
	stdr %r27,textures_hashtable
;R_InitTextures+1664
	slli %r29,%r1,3
	mov %r28,%gz
	callr %r26,memset
;R_InitTextures+1680
	ldwzr %r1,numtextures
	bwlti %r1,1,R_InitTextures+1808
	mov %r2,%gz
;R_InitTextures+1696
	lddzr %r1,textures
	lddzx.xd %r29,%r1,%r2,3,0
	stw %r2,%r29,12
;R_InitTextures+1712
	callr %r28,W_LumpNameHash
	ldwzr %r1,numtextures
	moduw %r3,%r29,%r1
;R_InitTextures+1728
	lddzr %r4,textures_hashtable
	ldax.xw %r4,%r4,%r3,3,0
	nop 0
;R_InitTextures+1744
	mov %r3,%r4
	lddz %r5,%r4,0
	addi %r4,%r5,16
;R_InitTextures+1760
	bdne %r5,%gz,R_InitTextures+1744
	lddzr %r4,textures
	lddzx.xd %r5,%r4,%r2,3,0
;R_InitTextures+1776
	std %gz,%r5,16
	lddzx.xd %r4,%r4,%r2,3,0
	addi %r2,%r2,1
;R_InitTextures+1792
	sraiw %r1,%r1,0
	std %r4,%r3,0
	bdlt %r2,%r1,R_InitTextures+1696
;R_InitTextures+1808
	retf 32
	nop 0
	nop 0
;R_InitFlats
	alloc 8
	ldafr %r7,.rodata+11941
	callr %r6,W_GetNumForName
;R_InitFlats+16
	addiws %r1,%r7,1
	stwr %r1,firstflat
	ldafr %r7,.rodata+13951
;R_InitFlats+32
	callr %r6,W_GetNumForName
	ldwzr %r1,firstflat
	addiws %r2,%r7,-1
;R_InitFlats+48
	stwr %r2,lastflat
	subws %r1,%r2,%r1
	addiws %r2,%r1,1
;R_InitFlats+64
	ldi %r3,8
	stwr %r2,numflats
	sladdws %r5,%r3,%r1,2
;R_InitFlats+80
	ldi %r6,1
	mov %r7,%gz
	callr %r4,Z_Malloc
;R_InitFlats+96
	ldwzr %r1,numflats
	stdr %r5,flattranslation
	bwlti %r1,1,R_InitFlats+160
;R_InitFlats+112
	mov %r1,%gz
	nop 0
	nop 0
;R_InitFlats+128
	stw %r1,%r5,0
	ldwsr %r2,numflats
	addi %r1,%r1,1
;R_InitFlats+144
	addi %r5,%r5,4
	bdlt %r1,%r2,R_InitFlats+128
	nop 0
;R_InitFlats+160
	retf 0
	nop 0
	nop 0
;R_InitSpriteLumps
	alloc 12
	ldafr %r11,.rodata+7446
	callr %r10,W_GetNumForName
;R_InitSpriteLumps+16
	addiws %r1,%r11,1
	stwr %r1,firstspritelump
	ldafr %r11,.rodata+4185
;R_InitSpriteLumps+32
	callr %r10,W_GetNumForName
	ldwzr %r1,firstspritelump
	addiws %r2,%r11,-1
;R_InitSpriteLumps+48
	stwr %r2,lastspritelump
	subws %r1,%r2,%r1
	addiws %r1,%r1,1
;R_InitSpriteLumps+64
	stwr %r1,numspritelumps
	slliw %r9,%r1,2
	ldi %r1,1
;R_InitSpriteLumps+80
	mov2 %r10,%r11,%r1,%gz
	callr %r8,Z_Malloc
	ldwzr %r2,numspritelumps
;R_InitSpriteLumps+96
	stdr %r9,spritewidth
	slliw %r9,%r2,2
	mov2 %r10,%r11,%r1,%gz
;R_InitSpriteLumps+112
	callr %r8,Z_Malloc
	ldwzr %r2,numspritelumps
	stdr %r9,spriteoffset
;R_InitSpriteLumps+128
	slliw %r9,%r2,2
	mov2 %r10,%r11,%r1,%gz
	callr %r8,Z_Malloc
;R_InitSpriteLumps+144
	ldwzr %r1,numspritelumps
	stdr %r9,spritetopoffset
	bwlti %r1,1,R_InitSpriteLumps+368
;R_InitSpriteLumps+160
	mov2 %r4,%r5,%gz,%gz
	ldi %r1,46
	ldi %r2,8
;R_InitSpriteLumps+176
	jmp R_InitSpriteLumps+336
	nop 0
	nop 0
;R_InitSpriteLumps+192
	ldwzr %r3,firstspritelump
	addws %r10,%r3,%r5
	mov %r11,%r2
;R_InitSpriteLumps+208
	callr %r9,W_CacheLumpNum
	ldbz %r3,%r10,1
	ldbz %r6,%r10,0
;R_InitSpriteLumps+224
	lddzr %r7,spritewidth
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;R_InitSpriteLumps+240
	stwx.xd %r3,%r7,%r4,0,0
	ldbz %r3,%r10,5
	ldbz %r6,%r10,4
;R_InitSpriteLumps+256
	lddzr %r7,spriteoffset
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;R_InitSpriteLumps+272
	stwx.xd %r3,%r7,%r4,0,0
	ldbz %r3,%r10,7
	ldbz %r6,%r10,6
;R_InitSpriteLumps+288
	lddzr %r7,spritetopoffset
	slliw %r3,%r3,24
	slor %r3,%r3,%r6,16
;R_InitSpriteLumps+304
	stwx.xd %r3,%r7,%r4,0,0
	ldwsr %r3,numspritelumps
	addi %r5,%r5,1
;R_InitSpriteLumps+320
	addi %r4,%r4,4
	bdle %r3,%r5,R_InitSpriteLumps+368
	nop 0
;R_InitSpriteLumps+336
	andi %r3,%r5,63
	bwne %r3,%gz,R_InitSpriteLumps+192
	mov %r11,%r1
;R_InitSpriteLumps+352
	callr %r10,putchar
	jmp R_InitSpriteLumps+192
	nop 0
;R_InitSpriteLumps+368
	retf 0
	nop 0
	nop 0
;R_InitColormaps
	alloc 4
	ldafr %r3,.rodata+23714
	callr %r2,W_GetNumForName
;R_InitColormaps+16
	mov %r2,%r3
	ldi %r3,1
	callr %r1,W_CacheLumpNum
;R_InitColormaps+32
	stdr %r2,colormaps
	retf 0
	nop 0
;R_InitData
	alloc 5
	callr %r4,R_InitTextures
	ldi %r1,46
;R_InitData+16
	mov %r4,%r1
	callr %r3,putchar
	callr %r4,R_InitFlats
;R_InitData+32
	mov %r4,%r1
	callr %r3,putchar
	callr %r4,R_InitSpriteLumps
;R_InitData+48
	mov %r4,%r1
	callr %r3,putchar
	ldafr %r4,.rodata+23714
;R_InitData+64
	callr %r3,W_GetNumForName
	mov %r3,%r4
	ldi %r4,1
;R_InitData+80
	callr %r2,W_CacheLumpNum
	stdr %r3,colormaps
	retf 0
;R_FlatNumForName
	allocsp 12,32
	mov %r11,%r1
	callr %r10,W_CheckNumForName
;R_FlatNumForName+16
	mov %r2,%r11
	bwnei %r11,-1,R_FlatNumForName+160
	stb %gz,%sp,24
;R_FlatNumForName+32
	ldbz %r3,%r1,5
	ldbz %r4,%r1,4
	ldbz %r5,%r1,6
;R_FlatNumForName+48
	ldbz %r6,%r1,7
	ldbz %r7,%r1,1
	ldbz %r8,%r1,0
;R_FlatNumForName+64
	ldbz %r9,%r1,3
	ldbz %r1,%r1,2
	slli %r6,%r6,24
;R_FlatNumForName+80
	slor %r3,%r4,%r3,8
	slor %r4,%r6,%r5,16
	slli %r5,%r9,24
;R_FlatNumForName+96
	or %r3,%r4,%r3
	slor %r4,%r8,%r7,8
	slor %r1,%r5,%r1,16
;R_FlatNumForName+112
	or %r1,%r1,%r4
	slor %r1,%r1,%r3,32
	std %r1,%sp,16
;R_FlatNumForName+128
	addi %r1,%sp,16
	ldafr %r11,.rodata+7454
	std %r1,%sp,0
;R_FlatNumForName+144
	callr %r10,I_Error
	nop 0
	nop 0
;R_FlatNumForName+160
	ldwzr %r1,firstflat
	subws %r1,%r2,%r1
	retf 32
;R_CheckTextureNumForName
	alloc 9
	mov %r2,%r1
	ldbz %r3,%r1,0
;R_CheckTextureNumForName+16
	mov %r1,%gz
	bweqi %r3,45,R_CheckTextureNumForName+112
	mov %r8,%r2
;R_CheckTextureNumForName+32
	callr %r7,W_LumpNameHash
	ldwzr %r1,numtextures
	moduw %r1,%r8,%r1
;R_CheckTextureNumForName+48
	lddzr %r3,textures_hashtable
	lddzx.xw %r3,%r3,%r1,3,0
	ldi %r1,-1
;R_CheckTextureNumForName+64
	bdeq %r3,%gz,R_CheckTextureNumForName+112
	ldi %r4,8
	nop 0
;R_CheckTextureNumForName+80
	mov2 %r6,%r7,%r3,%r2
	mov %r8,%r4
	callr %r5,strncasecmp
;R_CheckTextureNumForName+96
	bweq %r6,%gz,R_CheckTextureNumForName+128
	lddz %r3,%r3,16
	bdne %r3,%gz,R_CheckTextureNumForName+80
;R_CheckTextureNumForName+112
	retf 0
	nop 0
	nop 0
;R_CheckTextureNumForName+128
	ldwz %r1,%r3,12
	retf 0
	nop 0
;R_TextureNumForName
	allocsp 5,16
	mov2 %r2,%r4,%r1,%r1
	callr %r3,R_CheckTextureNumForName
;R_TextureNumForName+16
	mov %r1,%r4
	bweqi %r4,-1,R_TextureNumForName+32
	retf 16
;R_TextureNumForName+32
	ldafr %r4,.rodata+20002
	std %r2,%sp,0
	callr %r3,I_Error
;R_TextureNumForName+48
	retf 16
	nop 0
	nop 0
;R_PrecacheLevel
	alloc 16
	ldwzr %r1,demoplayback
	bweq %r1,%gz,R_PrecacheLevel+32
;R_PrecacheLevel+16
	retf 0
	nop 0
	nop 0
;R_PrecacheLevel+32
	ldwzr %r13,numflats
	ldi %r2,1
	mov2 %r14,%r15,%r2,%gz
;R_PrecacheLevel+48
	callr %r12,Z_Malloc
	mov %r1,%r13
	ldwsr %r15,numflats
;R_PrecacheLevel+64
	mov %r14,%gz
	callr %r12,memset
	ldwzr %r3,numsectors
;R_PrecacheLevel+80
	bwlti %r3,1,R_PrecacheLevel+160
	mov2 %r3,%r4,%gz,%gz
	nop 0
;R_PrecacheLevel+96
	lddzr %r5,sectors
	ldhsx.xd %r5,%r5,%r3,0,8
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+112
	lddzr %r5,sectors
	ldhsx.xd %r5,%r5,%r3,0,10
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+128
	ldwsr %r5,numsectors
	addi %r4,%r4,1
	addi %r3,%r3,128
;R_PrecacheLevel+144
	bdlt %r4,%r5,R_PrecacheLevel+96
	nop 0
	nop 0
;R_PrecacheLevel+160
	ldwzr %r3,numflats
	stwr %gz,flatmemory
	bwlti %r3,1,R_PrecacheLevel+288
;R_PrecacheLevel+176
	mov %r4,%gz
	ldi %r2,8
	jmp R_PrecacheLevel+208
;R_PrecacheLevel+192
	addi %r4,%r4,1
	sraiw %r5,%r3,0
	bdle %r5,%r4,R_PrecacheLevel+288
;R_PrecacheLevel+208
	ldbzx.xd %r5,%r1,%r4,0,0
	bweq %r5,%gz,R_PrecacheLevel+192
	ldwzr %r3,firstflat
;R_PrecacheLevel+224
	lddzr %r5,lumpinfo
	addws %r14,%r3,%r4
	muli %r3,%r14,40
;R_PrecacheLevel+240
	ldwzx.xd %r3,%r5,%r3,0,20
	ldwzr %r5,flatmemory
	addws %r3,%r5,%r3
;R_PrecacheLevel+256
	stwr %r3,flatmemory
	mov %r15,%r2
	callr %r13,W_CacheLumpNum
;R_PrecacheLevel+272
	ldwzr %r3,numflats
	jmp R_PrecacheLevel+192
	nop 0
;R_PrecacheLevel+288
	mov %r15,%r1
	callr %r14,Z_Free
	ldwzr %r13,numtextures
;R_PrecacheLevel+304
	ldi %r2,1
	mov2 %r14,%r15,%r2,%gz
	callr %r12,Z_Malloc
;R_PrecacheLevel+320
	mov %r1,%r13
	ldwsr %r15,numtextures
	mov %r14,%gz
;R_PrecacheLevel+336
	callr %r12,memset
	ldwzr %r3,numsides
	bwlti %r3,1,R_PrecacheLevel+448
;R_PrecacheLevel+352
	mov2 %r3,%r4,%gz,%gz
	nop 0
	nop 0
;R_PrecacheLevel+368
	lddzr %r5,sides
	ldhsx.xd %r5,%r5,%r3,0,8
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+384
	lddzr %r5,sides
	ldhsx.xd %r5,%r5,%r3,0,12
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+400
	lddzr %r5,sides
	ldhsx.xd %r5,%r5,%r3,0,10
	stbx.xd %r2,%r1,%r5,0,0
;R_PrecacheLevel+416
	ldwsr %r5,numsides
	addi %r4,%r4,1
	addi %r3,%r3,24
;R_PrecacheLevel+432
	bdlt %r4,%r5,R_PrecacheLevel+368
	nop 0
	nop 0
;R_PrecacheLevel+448
	ldwsr %r3,skytexture
	stbx.xd %r2,%r1,%r3,0,0
	ldwzr %r3,numtextures
;R_PrecacheLevel+464
	stwr %gz,texturememory
	bwlti %r3,1,R_PrecacheLevel+656
	mov %r4,%gz
;R_PrecacheLevel+480
	ldi %r2,8
	jmp R_PrecacheLevel+512
	nop 0
;R_PrecacheLevel+496
	addi %r4,%r4,1
	sraiw %r5,%r3,0
	bdle %r5,%r4,R_PrecacheLevel+656
;R_PrecacheLevel+512
	ldbzx.xd %r5,%r1,%r4,0,0
	bweq %r5,%gz,R_PrecacheLevel+496
	lddzr %r5,textures
;R_PrecacheLevel+528
	lddzx.xd %r5,%r5,%r4,3,0
	ldhs %r6,%r5,24
	bwlti %r6,1,R_PrecacheLevel+496
;R_PrecacheLevel+544
	mov %r6,%gz
	addi %r7,%r5,32
	nop 0
;R_PrecacheLevel+560
	ldwz %r14,%r7,0
	lddzr %r3,lumpinfo
	sraiw %r8,%r14,0
;R_PrecacheLevel+576
	muli %r8,%r8,40
	ldwzx.xd %r3,%r3,%r8,0,20
	ldwzr %r8,texturememory
;R_PrecacheLevel+592
	addws %r3,%r8,%r3
	stwr %r3,texturememory
	mov %r15,%r2
;R_PrecacheLevel+608
	callr %r13,W_CacheLumpNum
	ldhs %r3,%r5,24
	addi %r6,%r6,1
;R_PrecacheLevel+624
	addi %r7,%r7,8
	bdlt %r6,%r3,R_PrecacheLevel+560
	ldwzr %r3,numtextures
;R_PrecacheLevel+640
	jmp R_PrecacheLevel+496
	nop 0
	nop 0
;R_PrecacheLevel+656
	mov %r15,%r1
	callr %r14,Z_Free
	ldwzr %r13,numsprites
;R_PrecacheLevel+672
	ldi %r2,1
	mov2 %r14,%r15,%r2,%gz
	callr %r12,Z_Malloc
;R_PrecacheLevel+688
	mov %r1,%r13
	ldwsr %r15,numsprites
	mov %r14,%gz
;R_PrecacheLevel+704
	callr %r12,memset
	lddzr %r3,thinkercap+8
	ldafr %r4,thinkercap
;R_PrecacheLevel+720
	bdeq %r3,%r4,R_PrecacheLevel+784
	ldar %r5,P_MobjThinker
	jmp R_PrecacheLevel+752
;R_PrecacheLevel+736
	lddz %r3,%r3,8
	bdeq %r3,%r4,R_PrecacheLevel+784
	nop 0
;R_PrecacheLevel+752
	lddz %r6,%r3,16
	bdne %r6,%r5,R_PrecacheLevel+736
	ldwz %r6,%r3,60
;R_PrecacheLevel+768
	stbx.xd %r2,%r1,%r6,0,0
	jmp R_PrecacheLevel+736
	nop 0
;R_PrecacheLevel+784
	ldwzr %r3,numsprites
	stwr %gz,spritememory
	bwlti %r3,1,R_PrecacheLevel+1008
;R_PrecacheLevel+800
	mov %r4,%gz
	ldi %r5,4
	ldi %r2,8
;R_PrecacheLevel+816
	jmp R_PrecacheLevel+848
	nop 0
	nop 0
;R_PrecacheLevel+832
	addi %r4,%r4,1
	sraiw %r6,%r3,0
	bdle %r6,%r4,R_PrecacheLevel+1008
;R_PrecacheLevel+848
	ldbzx.xd %r6,%r1,%r4,0,0
	bweq %r6,%gz,R_PrecacheLevel+832
	lddzr %r8,sprites
;R_PrecacheLevel+864
	ldwzx.xd %r6,%r8,%r4,4,0
	bwlti %r6,1,R_PrecacheLevel+832
	mov2 %r6,%r7,%gz,%r5
;R_PrecacheLevel+880
	lddzx.xd %r3,%r8,%r4,4,8
	mov %r8,%gz
	add %r9,%r3,%r7
;R_PrecacheLevel+896
	ldwzr %r3,firstspritelump
	ldhsx.xd %r10,%r9,%r8,0,0
	lddzr %r11,lumpinfo
;R_PrecacheLevel+912
	addws %r14,%r3,%r10
	muli %r3,%r14,40
	ldwzx.xd %r3,%r11,%r3,0,20
;R_PrecacheLevel+928
	ldwzr %r10,spritememory
	addws %r3,%r10,%r3
	stwr %r3,spritememory
;R_PrecacheLevel+944
	mov %r15,%r2
	callr %r13,W_CacheLumpNum
	addi %r8,%r8,2
;R_PrecacheLevel+960
	bdnei %r8,16,R_PrecacheLevel+896
	lddzr %r8,sprites
	ldwsx.xd %r3,%r8,%r4,4,0
;R_PrecacheLevel+976
	addi %r6,%r6,1
	addi %r7,%r7,28
	bdlt %r6,%r3,R_PrecacheLevel+880
;R_PrecacheLevel+992
	ldwzr %r3,numsprites
	jmp R_PrecacheLevel+832
	nop 0
;R_PrecacheLevel+1008
	mov %r15,%r1
	callr %r14,Z_Free
	retf 0
;R_DrawColumn
	allocsp 11,16
	ldwzr %r4,dc_yh
	ldwzr %r1,dc_yl
;R_DrawColumn+16
	subws %r2,%r4,%r1
	bwlt %r2,%gz,R_DrawColumn+240
	ldwzr %r3,dc_x
;R_DrawColumn+32
	bwgei %r4,200,R_DrawColumn+48
	bwlt %r1,%gz,R_DrawColumn+48
	bwltui %r3,320,R_DrawColumn+96
;R_DrawColumn+48
	stw %r3,%sp,8
	stw %r4,%sp,4
	ldafr %r10,.rodata+22662
;R_DrawColumn+64
	stw %r1,%sp,0
	callr %r9,I_Error
	ldwzr %r1,dc_yl
;R_DrawColumn+80
	ldwzr %r3,dc_x
	nop 0
	nop 0
;R_DrawColumn+96
	ldafr %r4,ylookup
	lddzx.xw %r4,%r4,%r1,3,0
	ldafr %r5,columnofs
;R_DrawColumn+112
	ldwsx.xw %r5,%r5,%r3,2,0
	ldwzr %r6,centery
	ldwzr %r3,dc_iscale
;R_DrawColumn+128
	ldwzr %r7,dc_texturemid
	add %r4,%r4,%r5
	subws %r1,%r1,%r6
;R_DrawColumn+144
	mulws %r1,%r1,%r3
	addws %r1,%r1,%r7
	lddzr %r5,dc_colormap
;R_DrawColumn+160
	lddzr %r6,dc_source
	nop 0
	nop 0
;R_DrawColumn+176
	srliw %r7,%r1,16
	andi %r7,%r7,127
	ldbzx.xd %r7,%r6,%r7,0,0
;R_DrawColumn+192
	ldbzx.xd %r7,%r5,%r7,0,0
	mov %r8,%r2
	stb %r7,%r4,0
;R_DrawColumn+208
	addi %r4,%r4,320
	addws %r1,%r1,%r3
	addiws %r2,%r2,-1
;R_DrawColumn+224
	bwne %r8,%gz,R_DrawColumn+176
	nop 0
	nop 0
;R_DrawColumn+240
	retf 16
	nop 0
	nop 0
;R_DrawColumnLow
	allocsp 11,16
	ldwzr %r3,dc_yh
	ldwzr %r1,dc_yl
;R_DrawColumnLow+16
	subws %r2,%r3,%r1
	bwlt %r2,%gz,R_DrawColumnLow+272
	ldwzr %r4,dc_x
;R_DrawColumnLow+32
	bwgei %r3,200,R_DrawColumnLow+48
	bwlt %r1,%gz,R_DrawColumnLow+48
	bwltui %r4,320,R_DrawColumnLow+96
;R_DrawColumnLow+48
	stw %r4,%sp,8
	stw %r3,%sp,4
	ldafr %r10,.rodata+22662
;R_DrawColumnLow+64
	stw %r1,%sp,0
	callr %r9,I_Error
	ldwzr %r4,dc_x
;R_DrawColumnLow+80
	ldwzr %r1,dc_yl
	nop 0
	nop 0
;R_DrawColumnLow+96
	slliw %r3,%r4,1
	ldafr %r5,ylookup
	lddzx.xw %r5,%r5,%r1,3,0
;R_DrawColumnLow+112
	ldafr %r6,columnofs
	ldwsx.xw %r3,%r6,%r3,2,0
	ldi %r7,1
;R_DrawColumnLow+128
	add %r3,%r5,%r3
	slor %r4,%r7,%r4,1
	ldwsx.xw %r6,%r6,%r4,2,0
;R_DrawColumnLow+144
	ldwzr %r7,centery
	ldwzr %r4,dc_iscale
	ldwzr %r8,dc_texturemid
;R_DrawColumnLow+160
	add %r5,%r5,%r6
	subws %r1,%r1,%r7
	mulws %r1,%r1,%r4
;R_DrawColumnLow+176
	addws %r1,%r1,%r8
	nop 0
	nop 0
;R_DrawColumnLow+192
	lddzr %r6,dc_source
	lddzr %r7,dc_colormap
	srliw %r8,%r1,16
;R_DrawColumnLow+208
	andi %r8,%r8,127
	ldbzx.xd %r6,%r6,%r8,0,0
	ldbzx.xd %r6,%r7,%r6,0,0
;R_DrawColumnLow+224
	mov %r7,%r2
	stb %r6,%r3,0
	stb %r6,%r5,0
;R_DrawColumnLow+240
	addi %r3,%r3,320
	addi %r5,%r5,320
	addws %r1,%r1,%r4
;R_DrawColumnLow+256
	addiws %r2,%r2,-1
	bwne %r7,%gz,R_DrawColumnLow+192
	nop 0
;R_DrawColumnLow+272
	retf 16
	nop 0
	nop 0
;R_DrawFuzzColumn
	allocsp 10,16
	ldwzr %r1,dc_yl
	bwne %r1,%gz,R_DrawFuzzColumn+32
;R_DrawFuzzColumn+16
	ldi %r1,1
	stwr %r1,dc_yl
	nop 0
;R_DrawFuzzColumn+32
	ldwzr %r2,viewheight
	ldwzr %r3,dc_yh
	addiws %r4,%r2,-1
;R_DrawFuzzColumn+48
	bwne %r3,%r4,R_DrawFuzzColumn+64
	addiws %r3,%r2,-2
	stwr %r3,dc_yh
;R_DrawFuzzColumn+64
	subws %r2,%r3,%r1
	bwlt %r2,%gz,R_DrawFuzzColumn+272
	ldwzr %r4,dc_x
;R_DrawFuzzColumn+80
	bwgei %r3,200,R_DrawFuzzColumn+96
	bwlt %r1,%gz,R_DrawFuzzColumn+96
	bwltui %r4,320,R_DrawFuzzColumn+144
;R_DrawFuzzColumn+96
	stw %r4,%sp,8
	stw %r3,%sp,4
	ldafr %r9,.rodata+22691
;R_DrawFuzzColumn+112
	stw %r1,%sp,0
	callr %r8,I_Error
	ldwzr %r1,dc_yl
;R_DrawFuzzColumn+128
	ldwzr %r4,dc_x
	nop 0
	nop 0
;R_DrawFuzzColumn+144
	ldafr %r3,ylookup
	lddzx.xw %r1,%r3,%r1,3,0
	ldafr %r3,columnofs
;R_DrawFuzzColumn+160
	ldwsx.xw %r3,%r3,%r4,2,0
	add %r1,%r1,%r3
	lddzr %r3,colormaps
;R_DrawFuzzColumn+176
	ldwzr %r5,fuzzpos
	ldafr %r4,fuzzoffset
	nop 0
;R_DrawFuzzColumn+192
	ldwsx.xw %r6,%r4,%r5,2,0
	ldbzx.xd %r6,%r1,%r6,0,0
	nop 2
;R_DrawFuzzColumn+208
	ldbzx.xd.l %r6,%r3,%r6,0,1536
	mov %r7,%r2
;R_DrawFuzzColumn+224
	addiws %r2,%r5,1
	cmpweqi %r5,%r2,50
	stb %r6,%r1,0
;R_DrawFuzzColumn+240
	cmovlsb %r5,%r5,%gz,%r2
	addi %r1,%r1,320
	addiws %r2,%r7,-1
;R_DrawFuzzColumn+256
	bwne %r7,%gz,R_DrawFuzzColumn+192
	stwr %r5,fuzzpos
	nop 0
;R_DrawFuzzColumn+272
	retf 16
	nop 0
	nop 0
;R_DrawFuzzColumnLow
	allocsp 10,16
	ldwzr %r1,dc_yl
	bwne %r1,%gz,R_DrawFuzzColumnLow+32
;R_DrawFuzzColumnLow+16
	ldi %r1,1
	stwr %r1,dc_yl
	nop 0
;R_DrawFuzzColumnLow+32
	ldwzr %r2,viewheight
	ldwzr %r4,dc_yh
	addiws %r3,%r2,-1
;R_DrawFuzzColumnLow+48
	bwne %r4,%r3,R_DrawFuzzColumnLow+64
	addiws %r4,%r2,-2
	stwr %r4,dc_yh
;R_DrawFuzzColumnLow+64
	subws %r2,%r4,%r1
	bwlt %r2,%gz,R_DrawFuzzColumnLow+336
	ldwzr %r5,dc_x
;R_DrawFuzzColumnLow+80
	slliw %r3,%r5,1
	bwgei %r4,200,R_DrawFuzzColumnLow+112
	bwlt %r1,%gz,R_DrawFuzzColumnLow+112
;R_DrawFuzzColumnLow+96
	bwltui %r3,320,R_DrawFuzzColumnLow+144
	nop 0
	nop 0
;R_DrawFuzzColumnLow+112
	stw %r5,%sp,8
	stw %r4,%sp,4
	ldafr %r9,.rodata+22691
;R_DrawFuzzColumnLow+128
	stw %r1,%sp,0
	callr %r8,I_Error
	ldwzr %r1,dc_yl
;R_DrawFuzzColumnLow+144
	ldafr %r4,ylookup
	lddzx.xw %r4,%r4,%r1,3,0
	ldafr %r1,columnofs
;R_DrawFuzzColumnLow+160
	ldwsx.xw %r5,%r1,%r3,2,0
	ori %r3,%r3,1
	ldwsx.xw %r3,%r1,%r3,2,0
;R_DrawFuzzColumnLow+176
	add %r1,%r4,%r5
	add %r3,%r4,%r3
	ldwzr %r5,fuzzpos
;R_DrawFuzzColumnLow+192
	ldafr %r4,fuzzoffset
	nop 0
	nop 0
;R_DrawFuzzColumnLow+208
	ldwsx.xw %r5,%r4,%r5,2,0
	lddzr %r6,colormaps
	ldbzx.xd %r5,%r1,%r5,0,0
;R_DrawFuzzColumnLow+224
	ldbzx.xd.l %r5,%r6,%r5,0,1536
	stb %r5,%r1,0
;R_DrawFuzzColumnLow+240
	ldwsr %r5,fuzzpos
	ldwsx.xd %r5,%r4,%r5,2,0
	lddzr %r6,colormaps
;R_DrawFuzzColumnLow+256
	ldbzx.xd %r5,%r3,%r5,0,0
	ldbzx.xd.l %r5,%r6,%r5,0,1536
;R_DrawFuzzColumnLow+272
	stb %r5,%r3,0
	ldwzr %r5,fuzzpos
	addiws %r5,%r5,1
;R_DrawFuzzColumnLow+288
	cmpweqi %r6,%r5,50
	mov %r7,%r2
	cmovlsb %r5,%r6,%gz,%r5
;R_DrawFuzzColumnLow+304
	stwr %r5,fuzzpos
	addi %r1,%r1,320
	addi %r3,%r3,320
;R_DrawFuzzColumnLow+320
	addiws %r2,%r2,-1
	bwne %r7,%gz,R_DrawFuzzColumnLow+208
	nop 0
;R_DrawFuzzColumnLow+336
	retf 16
	nop 0
	nop 0
;R_DrawTranslatedColumn
	allocsp 10,16
	ldwzr %r4,dc_yh
	ldwzr %r1,dc_yl
;R_DrawTranslatedColumn+16
	subws %r2,%r4,%r1
	bwlt %r2,%gz,R_DrawTranslatedColumn+240
	ldwzr %r3,dc_x
;R_DrawTranslatedColumn+32
	bwgei %r4,200,R_DrawTranslatedColumn+48
	bwlt %r1,%gz,R_DrawTranslatedColumn+48
	bwltui %r3,320,R_DrawTranslatedColumn+96
;R_DrawTranslatedColumn+48
	stw %r3,%sp,8
	stw %r4,%sp,4
	ldafr %r9,.rodata+22662
;R_DrawTranslatedColumn+64
	stw %r1,%sp,0
	callr %r8,I_Error
	ldwzr %r1,dc_yl
;R_DrawTranslatedColumn+80
	ldwzr %r3,dc_x
	nop 0
	nop 0
;R_DrawTranslatedColumn+96
	ldafr %r4,ylookup
	lddzx.xw %r4,%r4,%r1,3,0
	ldafr %r5,columnofs
;R_DrawTranslatedColumn+112
	ldwsx.xw %r5,%r5,%r3,2,0
	ldwzr %r6,centery
	ldwzr %r3,dc_iscale
;R_DrawTranslatedColumn+128
	ldwzr %r7,dc_texturemid
	add %r4,%r4,%r5
	subws %r1,%r1,%r6
;R_DrawTranslatedColumn+144
	mulws %r1,%r1,%r3
	addws %r1,%r1,%r7
	nop 0
;R_DrawTranslatedColumn+160
	lddzr %r5,dc_source
	lddzr %r6,dc_translation
	sraiw %r7,%r1,16
;R_DrawTranslatedColumn+176
	ldbzx.xw %r5,%r5,%r7,0,0
	lddzr %r7,dc_colormap
	ldbzx.xd %r5,%r6,%r5,0,0
;R_DrawTranslatedColumn+192
	ldbzx.xd %r5,%r7,%r5,0,0
	mov %r6,%r2
	stb %r5,%r4,0
;R_DrawTranslatedColumn+208
	addi %r4,%r4,320
	addws %r1,%r1,%r3
	addiws %r2,%r2,-1
;R_DrawTranslatedColumn+224
	bwne %r6,%gz,R_DrawTranslatedColumn+160
	nop 0
	nop 0
;R_DrawTranslatedColumn+240
	retf 16
	nop 0
	nop 0
;R_DrawTranslatedColumnLow
	allocsp 12,16
	ldwzr %r1,dc_yh
	ldwzr %r5,dc_yl
;R_DrawTranslatedColumnLow+16
	subws %r2,%r1,%r5
	bwlt %r2,%gz,R_DrawTranslatedColumnLow+288
	ldwzr %r3,dc_x
;R_DrawTranslatedColumnLow+32
	slliw %r3,%r3,1
	bwgei %r1,200,R_DrawTranslatedColumnLow+64
	bwlt %r5,%gz,R_DrawTranslatedColumnLow+64
;R_DrawTranslatedColumnLow+48
	bwltui %r3,320,R_DrawTranslatedColumnLow+96
	nop 0
	nop 0
;R_DrawTranslatedColumnLow+64
	stw %r3,%sp,8
	stw %r1,%sp,4
	ldafr %r11,.rodata+22662
;R_DrawTranslatedColumnLow+80
	stw %r5,%sp,0
	callr %r10,I_Error
	ldwzr %r5,dc_yl
;R_DrawTranslatedColumnLow+96
	ldafr %r1,ylookup
	lddzx.xw %r4,%r1,%r5,3,0
	ldafr %r6,columnofs
;R_DrawTranslatedColumnLow+112
	ldwsx.xw %r1,%r6,%r3,2,0
	add %r1,%r4,%r1
	ori %r3,%r3,1
;R_DrawTranslatedColumnLow+128
	ldwsx.xw %r6,%r6,%r3,2,0
	ldwzr %r7,centery
	ldwzr %r3,dc_iscale
;R_DrawTranslatedColumnLow+144
	ldwzr %r8,dc_texturemid
	add %r4,%r4,%r6
	subws %r5,%r5,%r7
;R_DrawTranslatedColumnLow+160
	mulws %r5,%r5,%r3
	addws %r5,%r5,%r8
	nop 0
;R_DrawTranslatedColumnLow+176
	lddzr %r6,dc_source
	lddzr %r7,dc_translation
	sraiw %r8,%r5,16
;R_DrawTranslatedColumnLow+192
	ldbzx.xw %r6,%r6,%r8,0,0
	lddzr %r9,dc_colormap
	ldbzx.xd %r6,%r7,%r6,0,0
;R_DrawTranslatedColumnLow+208
	ldbzx.xd %r6,%r9,%r6,0,0
	stb %r6,%r1,0
	lddzr %r6,dc_source
;R_DrawTranslatedColumnLow+224
	lddzr %r7,dc_translation
	ldbzx.xw %r6,%r6,%r8,0,0
	lddzr %r8,dc_colormap
;R_DrawTranslatedColumnLow+240
	ldbzx.xd %r6,%r7,%r6,0,0
	ldbzx.xd %r6,%r8,%r6,0,0
	mov %r7,%r2
;R_DrawTranslatedColumnLow+256
	stb %r6,%r4,0
	addi %r1,%r1,320
	addi %r4,%r4,320
;R_DrawTranslatedColumnLow+272
	addws %r5,%r5,%r3
	addiws %r2,%r2,-1
	bwne %r7,%gz,R_DrawTranslatedColumnLow+176
;R_DrawTranslatedColumnLow+288
	retf 16
	nop 0
	nop 0
;R_InitTranslationTables
	alloc 9
	ldi %r6,768
	ldi %r7,1
;R_InitTranslationTables+16
	mov %r8,%gz
	callr %r5,Z_Malloc
	mov %r1,%gz
;R_InitTranslationTables+32
	stdr %r6,translationtables
	jmp R_InitTranslationTables+112
	nop 0
;R_InitTranslationTables+48
	lddzr %r2,translationtables
	stbx.xd.l %r1,%r2,%r1,0,512
;R_InitTranslationTables+64
	lddzr %r2,translationtables
	stbx.xd.l %r1,%r2,%r1,0,256
;R_InitTranslationTables+80
	lddzr %r2,translationtables
	stbx.xd %r1,%r2,%r1,0,0
	addi %r1,%r1,1
;R_InitTranslationTables+96
	bdeqi %r1,256,R_InitTranslationTables+208
	nop 0
	nop 0
;R_InitTranslationTables+112
	andi %r2,%r1,240
	bdnei %r2,112,R_InitTranslationTables+48
	lddzr %r2,translationtables
;R_InitTranslationTables+128
	andi %r3,%r1,15
	ori %r4,%r3,96
	stbx.xd %r4,%r2,%r1,0,0
;R_InitTranslationTables+144
	lddzr %r2,translationtables
	ori %r4,%r3,64
	nop 2
;R_InitTranslationTables+160
	stbx.xd.l %r4,%r2,%r1,0,256
	lddzr %r2,translationtables
;R_InitTranslationTables+176
	ori %r3,%r3,32
	stbx.xd.l %r3,%r2,%r1,0,512
;R_InitTranslationTables+192
	addi %r1,%r1,1
	bdnei %r1,256,R_InitTranslationTables+112
	nop 0
;R_InitTranslationTables+208
	retf 0
	nop 0
	nop 0
;R_DrawSpan
	allocsp 11,16
	ldwzr %r2,ds_x2
	ldwzr %r1,ds_x1
;R_DrawSpan+16
	ldwzr %r3,ds_y
	bwgei %r2,320,R_DrawSpan+48
	bwlt %r2,%r1,R_DrawSpan+48
;R_DrawSpan+32
	bwlt %r1,%gz,R_DrawSpan+48
	bwltui %r3,201,R_DrawSpan+96
	nop 0
;R_DrawSpan+48
	stw %r3,%sp,8
	stw %r2,%sp,4
	ldafr %r10,.rodata+5776
;R_DrawSpan+64
	stw %r1,%sp,0
	callr %r9,I_Error
	ldwzr %r3,ds_y
;R_DrawSpan+80
	ldwzr %r1,ds_x1
	ldwzr %r2,ds_x2
	nop 0
;R_DrawSpan+96
	ldwzr %r4,ds_xfrac
	ldwzr %r5,ds_yfrac
	slliw %r4,%r4,10
;R_DrawSpan+112
	ldwzr %r6,ds_xstep
	andi %r4,%r4,-65536
	slsrli %r5,%r5,42,48
;R_DrawSpan+128
	or %r4,%r5,%r4
	slliw %r5,%r6,10
	ldwzr %r6,ds_ystep
;R_DrawSpan+144
	ldafr %r7,ylookup
	lddzx.xw %r7,%r7,%r3,3,0
	ldafr %r3,columnofs
;R_DrawSpan+160
	ldwsx.xw %r8,%r3,%r1,2,0
	andi %r3,%r5,-65536
	slsrli %r5,%r6,42,48
;R_DrawSpan+176
	or %r3,%r5,%r3
	add %r5,%r7,%r8
	subws %r6,%r2,%r1
;R_DrawSpan+192
	lddzr %r1,ds_colormap
	lddzr %r2,ds_source
	nop 0
;R_DrawSpan+208
	srliw %r7,%r4,4
	andi %r7,%r7,4032
	srliw %r8,%r4,26
;R_DrawSpan+224
	or %r7,%r7,%r8
	ldbzx.xuw %r7,%r2,%r7,0,0
	ldbzx.xd %r7,%r1,%r7,0,0
;R_DrawSpan+240
	mov %r8,%r6
	stb %r7,%r5,0
	addi %r5,%r5,1
;R_DrawSpan+256
	addws %r4,%r3,%r4
	addiws %r6,%r6,-1
	bwne %r8,%gz,R_DrawSpan+208
;R_DrawSpan+272
	retf 16
	nop 0
	nop 0
;R_DrawSpanLow
	allocsp 10,16
	ldwzr %r1,ds_x2
	ldwzr %r3,ds_x1
;R_DrawSpanLow+16
	ldwzr %r4,ds_y
	bwgei %r1,320,R_DrawSpanLow+48
	bwlt %r1,%r3,R_DrawSpanLow+48
;R_DrawSpanLow+32
	bwlt %r3,%gz,R_DrawSpanLow+48
	bwltui %r4,201,R_DrawSpanLow+96
	nop 0
;R_DrawSpanLow+48
	stw %r4,%sp,8
	stw %r1,%sp,4
	ldafr %r9,.rodata+5776
;R_DrawSpanLow+64
	stw %r3,%sp,0
	callr %r8,I_Error
	ldwzr %r1,ds_x2
;R_DrawSpanLow+80
	ldwzr %r3,ds_x1
	ldwzr %r4,ds_y
	nop 0
;R_DrawSpanLow+96
	ldwzr %r2,ds_xfrac
	ldwzr %r5,ds_yfrac
	slliw %r2,%r2,10
;R_DrawSpanLow+112
	andi %r2,%r2,-65536
	ldwzr %r6,ds_xstep
	slsrli %r5,%r5,42,48
;R_DrawSpanLow+128
	ldwzr %r7,ds_ystep
	or %r2,%r5,%r2
	slliw %r5,%r6,10
;R_DrawSpanLow+144
	andi %r5,%r5,-65536
	slsrli %r6,%r7,42,48
	or %r5,%r6,%r5
;R_DrawSpanLow+160
	subws %r6,%r1,%r3
	slliw %r3,%r3,1
	ldafr %r7,ylookup
;R_DrawSpanLow+176
	lddzx.xw %r4,%r7,%r4,3,0
	ldafr %r7,columnofs
	ldwsx.xw %r7,%r7,%r3,2,0
;R_DrawSpanLow+192
	stwr %r3,ds_x1
	slliw %r1,%r1,1
	stwr %r1,ds_x2
;R_DrawSpanLow+208
	add %r1,%r4,%r7
	nop 0
	nop 0
;R_DrawSpanLow+224
	srliw %r3,%r2,4
	andi %r3,%r3,4032
	lddzr %r4,ds_source
;R_DrawSpanLow+240
	srliw %r7,%r2,26
	or %r3,%r3,%r7
	lddzr %r7,ds_colormap
;R_DrawSpanLow+256
	ldbzx.xuw %r4,%r4,%r3,0,0
	ldbzx.xd %r4,%r7,%r4,0,0
	stb %r4,%r1,0
;R_DrawSpanLow+272
	lddzr %r4,ds_source
	lddzr %r7,ds_colormap
	ldbzx.xuw %r3,%r4,%r3,0,0
;R_DrawSpanLow+288
	ldbzx.xd %r3,%r7,%r3,0,0
	mov %r4,%r6
	stb %r3,%r1,1
;R_DrawSpanLow+304
	addi %r1,%r1,2
	addws %r2,%r5,%r2
	addiws %r6,%r6,-1
;R_DrawSpanLow+320
	bwne %r4,%gz,R_DrawSpanLow+224
	retf 16
	nop 0
;R_InitBuffer
	alloc 8
	subfiws %r3,%r1,320
	sraiw %r3,%r3,1
;R_InitBuffer+16
	stwr %r3,viewwindowx
	bwlti %r1,1,R_InitBuffer+80
	mov %r4,%gz
;R_InitBuffer+32
	srliw %r5,%r1,0
	ldafr %r6,columnofs
	nop 0
;R_InitBuffer+48
	addws %r7,%r3,%r4
	stw %r7,%r6,0
	addi %r4,%r4,1
;R_InitBuffer+64
	addi %r6,%r6,4
	bdne %r5,%r4,R_InitBuffer+48
	nop 0
;R_InitBuffer+80
	cmpweqi %r1,%r1,320
	subfiws %r3,%r2,168
	sraiw %r3,%r3,1
;R_InitBuffer+96
	cmovlsb %r1,%r1,%gz,%r3
	stwr %r1,viewwindowy
	bwlti %r2,1,R_InitBuffer+176
;R_InitBuffer+112
	lddzr %r3,I_VideoBuffer
	sraiw %r4,%r1,0
	srliw %r1,%r2,0
;R_InitBuffer+128
	ldi %r2,320
	muladd %r2,%r4,%r2,%r3
	ldafr %r3,ylookup
;R_InitBuffer+144
	std %r2,%r3,0
	addi %r2,%r2,320
	addi %r1,%r1,-1
;R_InitBuffer+160
	addi %r3,%r3,8
	bdne %r1,%gz,R_InitBuffer+144
	nop 0
;R_InitBuffer+176
	retf 0
	nop 0
	nop 0
;R_FillBackScreen
	alloc 13
	ldwzr %r1,scaledviewwidth
	lddzr %r12,background_buffer
;R_FillBackScreen+16
	bwnei %r1,320,R_FillBackScreen+48
	bdeq %r12,%gz,R_FillBackScreen+848
	callr %r11,Z_Free
;R_FillBackScreen+32
	stdr %gz,background_buffer
	retf 0
	nop 0
;R_FillBackScreen+48
	bdne %r12,%gz,R_FillBackScreen+80
	ldi %r10,53760
	ldi %r11,1
;R_FillBackScreen+64
	mov %r12,%gz
	callr %r9,Z_Malloc
	stdr %r10,background_buffer
;R_FillBackScreen+80
	ldwzr %r1,gamemode
	cmpweqi %r1,%r1,2
	ldafr %r2,.rodata+1835
;R_FillBackScreen+96
	ldafr %r3,.rodata+5803
	cmovlsb %r11,%r1,%r3,%r2
	ldi %r12,8
;R_FillBackScreen+112
	callr %r10,W_CacheLumpName
	lddzr %r1,background_buffer
	mov2 %r2,%r5,%r11,%gz
;R_FillBackScreen+128
	ldi %r3,64
	mov %r4,%r1
	nop 0
;R_FillBackScreen+144
	mov2 %r6,%r7,%gz,%r5
	slliw %r5,%r5,6
	andi %r5,%r5,4032
;R_FillBackScreen+160
	ldax.xuw %r5,%r2,%r5,0,0
	nop 0
	nop 0
;R_FillBackScreen+176
	mov2 %r8,%r10,%r6,%r4
	mov2 %r11,%r12,%r5,%r3
	callr %r9,memcpy
;R_FillBackScreen+192
	addi %r4,%r4,64
	addiws %r6,%r6,1
	bwltui %r8,4,R_FillBackScreen+176
;R_FillBackScreen+208
	addiws %r5,%r7,1
	bwltui %r7,167,R_FillBackScreen+144
	mov %r12,%r1
;R_FillBackScreen+224
	callr %r11,V_UseBuffer
	ldafr %r11,.rodata+19260
	ldi %r12,8
;R_FillBackScreen+240
	callr %r10,W_CacheLumpName
	ldwzr %r2,scaledviewwidth
	bwlti %r2,1,R_FillBackScreen+320
;R_FillBackScreen+256
	mov2 %r1,%r3,%r11,%gz
	nop 0
	nop 0
;R_FillBackScreen+272
	ldwzr %r2,viewwindowx
	ldwzr %r4,viewwindowy
	addws %r10,%r2,%r3
;R_FillBackScreen+288
	addiws %r11,%r4,-8
	mov %r12,%r1
	callr %r9,V_DrawPatch
;R_FillBackScreen+304
	ldwzr %r2,scaledviewwidth
	addiws %r3,%r3,8
	bwlt %r3,%r2,R_FillBackScreen+272
;R_FillBackScreen+320
	ldafr %r11,.rodata+4191
	ldi %r12,8
	callr %r10,W_CacheLumpName
;R_FillBackScreen+336
	ldwzr %r2,scaledviewwidth
	bwlti %r2,1,R_FillBackScreen+416
	mov2 %r1,%r3,%r11,%gz
;R_FillBackScreen+352
	ldwzr %r2,viewwindowx
	ldwzr %r4,viewwindowy
	ldwzr %r5,viewheight
;R_FillBackScreen+368
	addws %r10,%r2,%r3
	addws %r11,%r5,%r4
	mov %r12,%r1
;R_FillBackScreen+384
	callr %r9,V_DrawPatch
	ldwzr %r2,scaledviewwidth
	addiws %r3,%r3,8
;R_FillBackScreen+400
	bwlt %r3,%r2,R_FillBackScreen+352
	nop 0
	nop 0
;R_FillBackScreen+416
	ldafr %r11,.rodata+3564
	ldi %r12,8
	callr %r10,W_CacheLumpName
;R_FillBackScreen+432
	ldwzr %r2,viewheight
	bwlti %r2,1,R_FillBackScreen+496
	mov2 %r1,%r3,%r11,%gz
;R_FillBackScreen+448
	ldwzr %r2,viewwindowx
	ldwzr %r4,viewwindowy
	addiws %r10,%r2,-8
;R_FillBackScreen+464
	addws %r11,%r4,%r3
	mov %r12,%r1
	callr %r9,V_DrawPatch
;R_FillBackScreen+480
	ldwzr %r2,viewheight
	addiws %r3,%r3,8
	bwlt %r3,%r2,R_FillBackScreen+448
;R_FillBackScreen+496
	ldafr %r11,.rodata+1101
	ldi %r12,8
	callr %r10,W_CacheLumpName
;R_FillBackScreen+512
	ldwzr %r2,viewheight
	bwlti %r2,1,R_FillBackScreen+592
	mov2 %r1,%r3,%r11,%gz
;R_FillBackScreen+528
	ldwzr %r2,viewwindowx
	ldwzr %r4,scaledviewwidth
	ldwzr %r5,viewwindowy
;R_FillBackScreen+544
	addws %r10,%r4,%r2
	addws %r11,%r5,%r3
	mov %r12,%r1
;R_FillBackScreen+560
	callr %r9,V_DrawPatch
	ldwzr %r2,viewheight
	addiws %r3,%r3,8
;R_FillBackScreen+576
	bwlt %r3,%r2,R_FillBackScreen+528
	nop 0
	nop 0
;R_FillBackScreen+592
	ldwzr %r1,viewwindowx
	ldwzr %r2,viewwindowy
	addiws %r1,%r1,-8
;R_FillBackScreen+608
	addiws %r2,%r2,-8
	ldafr %r11,.rodata+8415
	ldi %r3,8
;R_FillBackScreen+624
	mov %r12,%r3
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r1
;R_FillBackScreen+640
	mov %r11,%r2
	callr %r9,V_DrawPatch
	ldwzr %r1,viewwindowx
;R_FillBackScreen+656
	ldwzr %r2,scaledviewwidth
	ldwzr %r4,viewwindowy
	addws %r1,%r2,%r1
;R_FillBackScreen+672
	addiws %r2,%r4,-8
	ldafr %r11,.rodata+3571
	mov %r12,%r3
;R_FillBackScreen+688
	callr %r10,W_CacheLumpName
	mov2 %r12,%r10,%r11,%r1
	mov %r11,%r2
;R_FillBackScreen+704
	callr %r9,V_DrawPatch
	ldwzr %r1,viewwindowx
	ldwzr %r2,viewwindowy
;R_FillBackScreen+720
	ldwzr %r4,viewheight
	addiws %r1,%r1,-8
	addws %r2,%r4,%r2
;R_FillBackScreen+736
	ldafr %r11,.rodata+5304
	mov %r12,%r3
	callr %r10,W_CacheLumpName
;R_FillBackScreen+752
	mov2 %r12,%r10,%r11,%r1
	mov %r11,%r2
	callr %r9,V_DrawPatch
;R_FillBackScreen+768
	ldwzr %r1,viewwindowx
	ldwzr %r2,scaledviewwidth
	ldwzr %r4,viewwindowy
;R_FillBackScreen+784
	ldwzr %r5,viewheight
	addws %r1,%r2,%r1
	addws %r2,%r5,%r4
;R_FillBackScreen+800
	ldafr %r11,.rodata+28783
	mov %r12,%r3
	callr %r10,W_CacheLumpName
;R_FillBackScreen+816
	mov2 %r12,%r10,%r11,%r1
	mov %r11,%r2
	callr %r9,V_DrawPatch
;R_FillBackScreen+832
	callr %r12,V_RestoreBuffer
	nop 0
	nop 0
;R_FillBackScreen+848
	retf 0
	nop 0
	nop 0
;R_VideoErase
	alloc 9
	lddzr %r3,background_buffer
	bdeq %r3,%gz,R_VideoErase+48
;R_VideoErase+16
	lddzr %r4,I_VideoBuffer
	ldax.xuw %r6,%r4,%r1,0,0
	ldax.xuw %r7,%r3,%r1,0,0
;R_VideoErase+32
	sraiw %r8,%r2,0
	callr %r5,memcpy
	nop 0
;R_VideoErase+48
	retf 0
	nop 0
	nop 0
;R_DrawViewBorder
	alloc 13
	ldwzr %r1,scaledviewwidth
	bweqi %r1,320,R_DrawViewBorder+288
;R_DrawViewBorder+16
	ldwzr %r3,viewheight
	subfiws %r2,%r3,168
	srliw %r4,%r2,31
;R_DrawViewBorder+32
	addws %r2,%r2,%r4
	sraiw %r6,%r2,1
	subfiws %r2,%r1,320
;R_DrawViewBorder+48
	lddzr %r1,background_buffer
	srliw %r4,%r2,31
	addws %r2,%r2,%r4
;R_DrawViewBorder+64
	sraiw %r4,%r2,1
	mulwsi %r5,%r6,320
	bdeq %r1,%gz,R_DrawViewBorder+160
;R_DrawViewBorder+80
	lddzr %r10,I_VideoBuffer
	addws %r2,%r5,%r4
	mov2 %r11,%r12,%r1,%r2
;R_DrawViewBorder+96
	callr %r9,memcpy
	ldwzr %r3,viewheight
	lddzr %r7,I_VideoBuffer
;R_DrawViewBorder+112
	addws %r3,%r3,%r6
	mulwsi %r3,%r3,320
	subws %r3,%r3,%r4
;R_DrawViewBorder+128
	ldax.xuw %r10,%r7,%r3,0,0
	ldax.xuw %r11,%r1,%r3,0,0
	mov %r12,%r2
;R_DrawViewBorder+144
	callr %r9,memcpy
	ldwzr %r3,viewheight
	nop 0
;R_DrawViewBorder+160
	bwlti %r3,2,R_DrawViewBorder+256
	slliw %r2,%r4,1
	subws %r4,%r5,%r4
;R_DrawViewBorder+176
	sraiw %r2,%r2,0
	ldi %r5,1
	jmp R_DrawViewBorder+208
;R_DrawViewBorder+192
	addiws %r5,%r5,1
	bwle %r3,%r5,R_DrawViewBorder+256
	nop 0
;R_DrawViewBorder+208
	addiws %r4,%r4,320
	bdeq %r1,%gz,R_DrawViewBorder+192
	lddzr %r3,I_VideoBuffer
;R_DrawViewBorder+224
	ldax.xuw %r10,%r3,%r4,0,0
	ldax.xuw %r11,%r1,%r4,0,0
	mov %r12,%r2
;R_DrawViewBorder+240
	callr %r9,memcpy
	ldwzr %r3,viewheight
	jmp R_DrawViewBorder+192
;R_DrawViewBorder+256
	ldi %r11,320
	ldi %r12,168
	mov2 %r9,%r10,%gz,%gz
;R_DrawViewBorder+272
	callr %r8,V_MarkRect
	nop 0
	nop 0
;R_DrawViewBorder+288
	retf 0
	nop 0
	nop 0
;R_AddPointToBox
	alloc 5
	ldwz %r4,%r3,8
	bwlt %r1,%r4,R_AddPointToBox+80
;R_AddPointToBox+16
	ldwz %r4,%r3,12
	bwlt %r4,%r1,R_AddPointToBox+96
	nop 0
;R_AddPointToBox+32
	ldwz %r1,%r3,4
	bwlt %r2,%r1,R_AddPointToBox+112
	nop 0
;R_AddPointToBox+48
	ldwz %r1,%r3,0
	bwlt %r1,%r2,R_AddPointToBox+128
	nop 0
;R_AddPointToBox+64
	retf 0
	nop 0
	nop 0
;R_AddPointToBox+80
	stw %r1,%r3,8
	ldwz %r4,%r3,12
	bwle %r1,%r4,R_AddPointToBox+32
;R_AddPointToBox+96
	stw %r1,%r3,12
	ldwz %r1,%r3,4
	bwle %r1,%r2,R_AddPointToBox+48
;R_AddPointToBox+112
	stw %r2,%r3,4
	ldwz %r1,%r3,0
	bwle %r2,%r1,R_AddPointToBox+64
;R_AddPointToBox+128
	stw %r2,%r3,0
	retf 0
	nop 0
;R_PointOnSide
	alloc 8
	ldwz %r4,%r3,8
	bweq %r4,%gz,R_PointOnSide+128
;R_PointOnSide+16
	ldwz %r5,%r3,12
	bweq %r5,%gz,R_PointOnSide+160
	ldwz %r6,%r3,0
;R_PointOnSide+32
	ldwz %r7,%r3,4
	subws %r3,%r1,%r6
	subws %r1,%r2,%r7
;R_PointOnSide+48
	xor %r2,%r5,%r4
	xor %r2,%r2,%r3
	xor %r2,%r2,%r1
;R_PointOnSide+64
	bwlti %r2,0,R_PointOnSide+208
	sraiw %r2,%r5,16
	sraiw %r3,%r3,0
;R_PointOnSide+80
	mul %r2,%r3,%r2
	srli %r2,%r2,16
	sraiw %r1,%r1,0
;R_PointOnSide+96
	sraiw %r3,%r4,16
	mul %r1,%r1,%r3
	srli %r1,%r1,16
;R_PointOnSide+112
	cmpwle %r1,%r2,%r1
	retf 0
	nop 0
;R_PointOnSide+128
	ldwz %r4,%r3,0
	ldwz %r2,%r3,12
	bwle %r1,%r4,R_PointOnSide+192
;R_PointOnSide+144
	srliw %r1,%r2,31
	retf 0
	nop 0
;R_PointOnSide+160
	ldwz %r1,%r3,4
	bwle %r2,%r1,R_PointOnSide+224
	cmpwgti %r1,%r4,0
;R_PointOnSide+176
	retf 0
	nop 0
	nop 0
;R_PointOnSide+192
	cmpwgti %r1,%r2,0
	retf 0
	nop 0
;R_PointOnSide+208
	xor %r1,%r3,%r5
	srliw %r1,%r1,31
	retf 0
;R_PointOnSide+224
	srliw %r1,%r4,31
	retf 0
	nop 0
;R_PointOnSegSide
	alloc 8
	lddz %r4,%r3,0
	lddz %r3,%r3,8
;R_PointOnSegSide+16
	ldwz %r5,%r4,0
	ldwz %r6,%r4,4
	ldwz %r4,%r3,0
;R_PointOnSegSide+32
	ldwz %r7,%r3,4
	subws %r3,%r7,%r6
	bwne %r4,%r5,R_PointOnSegSide+64
;R_PointOnSegSide+48
	bwle %r1,%r5,R_PointOnSegSide+96
	srliw %r1,%r3,31
	retf 0
;R_PointOnSegSide+64
	subws %r4,%r4,%r5
	bwne %r7,%r6,R_PointOnSegSide+112
	bwle %r2,%r6,R_PointOnSegSide+208
;R_PointOnSegSide+80
	cmpwgti %r1,%r4,0
	retf 0
	nop 0
;R_PointOnSegSide+96
	cmpwgti %r1,%r3,0
	retf 0
	nop 0
;R_PointOnSegSide+112
	subws %r5,%r1,%r5
	subws %r1,%r2,%r6
	xor %r2,%r1,%r5
;R_PointOnSegSide+128
	xor %r2,%r2,%r4
	xor %r2,%r2,%r3
	bwlti %r2,0,R_PointOnSegSide+224
;R_PointOnSegSide+144
	sraiw %r2,%r3,16
	sraiw %r3,%r5,0
	mul %r2,%r2,%r3
;R_PointOnSegSide+160
	srli %r2,%r2,16
	sraiw %r1,%r1,0
	sraiw %r3,%r4,16
;R_PointOnSegSide+176
	mul %r1,%r3,%r1
	srli %r1,%r1,16
	cmpwle %r1,%r2,%r1
;R_PointOnSegSide+192
	retf 0
	nop 0
	nop 0
;R_PointOnSegSide+208
	srliw %r1,%r4,31
	retf 0
	nop 0
;R_PointOnSegSide+224
	xor %r1,%r3,%r5
	srliw %r1,%r1,31
	retf 0
;R_PointToAngle
	alloc 9
	ldwzr %r4,viewx
	mov %r3,%r1
;R_PointToAngle+16
	ldwzr %r5,viewy
	bwne %r1,%r4,R_PointToAngle+48
	mov %r1,%gz
;R_PointToAngle+32
	bwne %r2,%r5,R_PointToAngle+48
	retf 0
	nop 0
;R_PointToAngle+48
	subws %r8,%r3,%r4
	subws %r1,%r2,%r5
	bwlt %r8,%gz,R_PointToAngle+112
;R_PointToAngle+64
	bwlt %r1,%gz,R_PointToAngle+176
	bwleu %r8,%r1,R_PointToAngle+224
	mov %r7,%r1
;R_PointToAngle+80
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
	ldwzx.xw %r1,%r1,%r7,2,0
;R_PointToAngle+96
	retf 0
	nop 0
	nop 0
;R_PointToAngle+112
	subfiws %r2,%r8,0
	bwlt %r1,%gz,R_PointToAngle+272
	bwleu %r2,%r1,R_PointToAngle+320
;R_PointToAngle+128
	mov2 %r7,%r8,%r1,%r2
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+144
	ldwzx.xw %r1,%r1,%r7,2,0
	xori.l %r1,%r1,2147483647
;R_PointToAngle+160
	retf 0
	nop 0
	nop 0
;R_PointToAngle+176
	subfiws %r1,%r1,0
	bwleu %r8,%r1,R_PointToAngle+368
	mov %r7,%r1
;R_PointToAngle+192
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
	ldwzx.xw %r1,%r1,%r7,2,0
;R_PointToAngle+208
	subfiws %r1,%r1,0
	retf 0
	nop 0
;R_PointToAngle+224
	mov2 %r7,%r8,%r8,%r1
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+240
	ldwzx.xw %r1,%r1,%r7,2,0
	subfiws.l %r1,%r1,1073741823
;R_PointToAngle+256
	retf 0
	nop 0
	nop 0
;R_PointToAngle+272
	subfiws %r3,%r1,0
	bwleu %r1,%r8,R_PointToAngle+416
	mov2 %r7,%r8,%r3,%r2
;R_PointToAngle+288
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
	ldwzx.xw %r1,%r1,%r7,2,0
;R_PointToAngle+304
	xori.l %r1,%r1,-2147483648
	retf 0
;R_PointToAngle+320
	mov2 %r7,%r8,%r2,%r1
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+336
	ldwzx.xw %r1,%r1,%r7,2,0
	addiws.l %r1,%r1,1073741824
;R_PointToAngle+352
	retf 0
	nop 0
	nop 0
;R_PointToAngle+368
	mov2 %r7,%r8,%r8,%r1
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+384
	ldwzx.xw %r1,%r1,%r7,2,0
	addiws.l %r1,%r1,-1073741824
;R_PointToAngle+400
	retf 0
	nop 0
	nop 0
;R_PointToAngle+416
	mov2 %r7,%r8,%r2,%r3
	callr %r6,SlopeDiv
	ldafr %r1,tantoangle
;R_PointToAngle+432
	ldwzx.xw %r1,%r1,%r7,2,0
	subfiws.l %r1,%r1,-1073741825
;R_PointToAngle+448
	retf 0
	nop 0
	nop 0
;R_PointToAngle2
	alloc 8
	stwr %r1,viewx
	stwr %r2,viewy
;R_PointToAngle2+16
	mov2 %r6,%r7,%r3,%r4
	callr %r5,R_PointToAngle
	mov %r1,%r6
;R_PointToAngle2+32
	retf 0
	nop 0
	nop 0
;R_PointToDist
	alloc 8
	ldwzr %r3,viewx
	ldwzr %r4,viewy
;R_PointToDist+16
	absdw %r3,%r3,%r1
	absdw %r2,%r4,%r2
	maxuw %r1,%r2,%r3
;R_PointToDist+32
	bweq %r1,%gz,R_PointToDist+64
	minuw %r6,%r2,%r3
	mov %r7,%r1
;R_PointToDist+48
	callr %r5,FixedDiv
	sraiw %r2,%r6,5
	jmp R_PointToDist+80
;R_PointToDist+64
	mov %r2,%gz
	nop 0
	nop 0
;R_PointToDist+80
	ldafr %r3,tantoangle
	ldwzx.xd %r2,%r3,%r2,2,0
	nop 2
;R_PointToDist+96
	addiws.l %r2,%r2,1073741824
	srliw %r2,%r2,19
;R_PointToDist+112
	ldafr %r3,finesine
	ldwzx.xuw %r7,%r3,%r2,2,0
	mov %r6,%r1
;R_PointToDist+128
	callr %r5,FixedDiv
	mov %r1,%r6
	retf 0
;R_InitPointToAngle
	alloc 1
	retf 0
	nop 0
;R_ScaleFromGlobalAngle
	alloc 9
	ldwzr %r2,viewangle
	ldwzr %r3,rw_normalangle
;R_ScaleFromGlobalAngle+16
	addiws.l %r1,%r1,1073741824
	subws %r2,%r1,%r2
;R_ScaleFromGlobalAngle+32
	subws %r1,%r1,%r3
	srliw %r2,%r2,19
	ldafr %r3,finesine
;R_ScaleFromGlobalAngle+48
	srliw %r1,%r1,19
	ldwsx.xuw %r1,%r3,%r1,2,0
	ldwsr %r4,projection
;R_ScaleFromGlobalAngle+64
	ldwsx.xuw %r2,%r3,%r2,2,0
	ldwzr %r3,detailshift
	ldwsr %r5,rw_distance
;R_ScaleFromGlobalAngle+80
	mul %r1,%r4,%r1
	srli %r1,%r1,16
	sllw %r7,%r1,%r3
;R_ScaleFromGlobalAngle+96
	mul %r1,%r5,%r2
	srli %r8,%r1,16
	sraiw %r1,%r7,16
;R_ScaleFromGlobalAngle+112
	bwle %r8,%r1,R_ScaleFromGlobalAngle+160
	callr %r6,FixedDiv
	ldi %r1,256
;R_ScaleFromGlobalAngle+128
	maxsw %r1,%r7,%r1
	ldi %r2,4194304
	minsw %r1,%r1,%r2
;R_ScaleFromGlobalAngle+144
	retf 0
	nop 0
	nop 0
;R_ScaleFromGlobalAngle+160
	ldi %r1,4194304
	retf 0
	nop 0
;R_InitTables
	alloc 1
	retf 0
	nop 0
;R_InitTextureMapping
	alloc 15
	ldwzr %r13,centerxfrac
	ldwzr %r14,finetangent+12288
;R_InitTextureMapping+16
	callr %r12,FixedDiv
	ldwzr %r2,centerxfrac
	ldwzr %r1,viewwidth
;R_InitTextureMapping+32
	mov %r4,%gz
	sraiw %r5,%r13,0
	addiws %r6,%r2,65535
;R_InitTextureMapping+48
	addiws %r2,%r1,1
	ldafr %r7,finetangent
	ldi %r8,-1
;R_InitTextureMapping+64
	ldafr %r3,viewangletox
	jmp R_InitTextureMapping+112
	nop 0
;R_InitTextureMapping+80
	stwx.xd %r9,%r4,%r3,0,0
	addi %r4,%r4,4
	nop 2
;R_InitTextureMapping+96
	bdeqi.l %r4,16384,R_InitTextureMapping+208
	nop 0
;R_InitTextureMapping+112
	ldwzx.xd %r10,%r4,%r7,0,0
	mov %r9,%r8
	nop 2
;R_InitTextureMapping+128
	bwgei.l %r10,131073,R_InitTextureMapping+80
	mov %r9,%r2
;R_InitTextureMapping+144
	bwlti.l %r10,-131072,R_InitTextureMapping+80
	sraiw %r9,%r10,0
;R_InitTextureMapping+160
	mul %r9,%r9,%r5
	srli %r9,%r9,16
	subws %r9,%r6,%r9
;R_InitTextureMapping+176
	sraiw %r9,%r9,16
	cmpwlti %r10,%r9,-1
	minsw %r9,%r9,%r2
;R_InitTextureMapping+192
	cmovlsb %r9,%r10,%r8,%r9
	jmp R_InitTextureMapping+80
	nop 0
;R_InitTextureMapping+208
	bwlt %r1,%gz,R_InitTextureMapping+320
	mov %r4,%gz
	srliw %r5,%r2,0
;R_InitTextureMapping+224
	ldi %r6,-1
	ldi.l %r7,-1073741824
;R_InitTextureMapping+240
	ldafr %r8,xtoviewangle
	nop 0
	nop 0
;R_InitTextureMapping+256
	mov2 %r10,%r9,%r3,%r6
	nop 0
	nop 0
;R_InitTextureMapping+272
	ldws %r11,%r10,0
	addi %r9,%r9,1
	addi %r10,%r10,4
;R_InitTextureMapping+288
	bdlt %r4,%r11,R_InitTextureMapping+272
	sladdws %r9,%r7,%r9,19
	stwx.xd %r9,%r8,%r4,2,0
;R_InitTextureMapping+304
	addi %r4,%r4,1
	bdne %r4,%r5,R_InitTextureMapping+256
	nop 0
;R_InitTextureMapping+320
	mov %r3,%gz
	ldafr %r4,viewangletox
	jmp R_InitTextureMapping+384
;R_InitTextureMapping+336
	mov %r5,%gz
	nop 0
	nop 0
;R_InitTextureMapping+352
	stwx.xd %r5,%r3,%r4,0,0
	nop 0
	nop 0
;R_InitTextureMapping+368
	addi %r3,%r3,4
	bdeqi.l %r3,16384,R_InitTextureMapping+416
;R_InitTextureMapping+384
	ldwzx.xd %r6,%r3,%r4,0,0
	bweqi %r6,-1,R_InitTextureMapping+336
	mov %r5,%r1
;R_InitTextureMapping+400
	bweq %r6,%r2,R_InitTextureMapping+352
	jmp R_InitTextureMapping+368
	nop 0
;R_InitTextureMapping+416
	ldwzr %r1,xtoviewangle
	stwr %r1,clipangle
	retf 0
;R_InitLightTables
	alloc 15
	mov %r3,%gz
	ldafr %r4,zlight
;R_InitLightTables+16
	ldi %r5,960
	ldi %r6,1
	ldi %r1,10485760
;R_InitLightTables+32
	ldi %r7,31
	nop 0
	nop 0
;R_InitLightTables+48
	slsubws %r2,%r5,%r3,6
	srliw %r8,%r2,4
	mov2 %r9,%r10,%r6,%r4
;R_InitLightTables+64
	slliw %r14,%r9,20
	mov %r13,%r1
	callr %r12,FixedDiv
;R_InitLightTables+80
	sraiw %r2,%r13,12
	srliw %r11,%r13,31
	addws %r2,%r2,%r11
;R_InitLightTables+96
	sraiw %r2,%r2,1
	subws %r2,%r8,%r2
	lddzr %r11,colormaps
;R_InitLightTables+112
	maxsw %r2,%r2,%gz
	minsw %r2,%r2,%r7
	slliw %r2,%r2,8
;R_InitLightTables+128
	ldax.xuw %r2,%r11,%r2,0,0
	std %r2,%r10,0
	addi %r9,%r9,1
;R_InitLightTables+144
	addi %r10,%r10,8
	bdnei %r9,129,R_InitLightTables+64
	addi %r3,%r3,1
;R_InitLightTables+160
	addi %r4,%r4,1024
	bdnei %r3,16,R_InitLightTables+48
	retf 0
;R_SetViewSize
	alloc 4
	ldi %r3,1
	stwr %r3,setsizeneeded
;R_SetViewSize+16
	stwr %r1,setblocks
	stwr %r2,setdetail
	retf 0
;R_ExecuteSetViewSize
	alloc 15
	ldwzr %r1,setblocks
	stwr %gz,setsizeneeded
;R_ExecuteSetViewSize+16
	bwnei %r1,11,R_ExecuteSetViewSize+48
	ldi %r14,200
	ldi %r13,320
;R_ExecuteSetViewSize+32
	jmp R_ExecuteSetViewSize+96
	nop 0
	nop 0
;R_ExecuteSetViewSize+48
	slliw %r13,%r1,5
	mulwsi %r1,%r1,168
	nop 2
;R_ExecuteSetViewSize+64
	muli.l %r1,%r1,1717986919
	srli %r2,%r1,63
;R_ExecuteSetViewSize+80
	srai %r1,%r1,34
	addws %r1,%r1,%r2
	andi %r14,%r1,-8
;R_ExecuteSetViewSize+96
	ldwzr %r1,setdetail
	stwr %r13,scaledviewwidth
	stwr %r14,viewheight
;R_ExecuteSetViewSize+112
	stwr %r1,detailshift
	sraw %r2,%r13,%r1
	stwr %r2,viewwidth
;R_ExecuteSetViewSize+128
	sraiw %r3,%r14,1
	stwr %r3,centery
	srliw %r3,%r13,31
;R_ExecuteSetViewSize+144
	addws %r2,%r2,%r3
	sraiw %r2,%r2,1
	stwr %r2,centerx
;R_ExecuteSetViewSize+160
	slliw %r2,%r2,16
	stwr %r2,centerxfrac
	slliw %r3,%r14,15
;R_ExecuteSetViewSize+176
	stwr %r3,centeryfrac
	ldar %r3,R_DrawColumnLow
	ldar %r4,R_DrawColumn
;R_ExecuteSetViewSize+192
	ldar %r5,R_DrawFuzzColumnLow
	ldar %r6,R_DrawFuzzColumn
	ldar %r7,R_DrawTranslatedColumnLow
;R_ExecuteSetViewSize+208
	ldar %r8,R_DrawTranslatedColumn
	ldar %r9,R_DrawSpanLow
	ldar %r10,R_DrawSpan
;R_ExecuteSetViewSize+224
	stwr %r2,projection
	cmovweq %r2,%r1,%r4,%r3
	cmovweq %r3,%r1,%r6,%r5
;R_ExecuteSetViewSize+240
	cmovweq %r4,%r1,%r8,%r7
	cmovweq %r1,%r1,%r10,%r9
	stdr %r2,basecolfunc
;R_ExecuteSetViewSize+256
	stdr %r2,colfunc
	stdr %r3,fuzzcolfunc
	stdr %r4,transcolfunc
;R_ExecuteSetViewSize+272
	stdr %r1,spanfunc
	callr %r12,R_InitBuffer
	callr %r14,R_InitTextureMapping
;R_ExecuteSetViewSize+288
	ldwzr %r2,viewwidth
	slliw %r1,%r2,16
	sraiw %r1,%r1,0
;R_ExecuteSetViewSize+304
	muli.l %r1,%r1,1717986919
	srli %r3,%r1,63
;R_ExecuteSetViewSize+320
	srai %r1,%r1,39
	addws %r1,%r1,%r3
	stwr %r1,pspritescale
;R_ExecuteSetViewSize+336
	ldi %r1,20971520
	divw %r1,%r1,%r2
	stwr %r1,pspriteiscale
;R_ExecuteSetViewSize+352
	ldwzr %r1,viewheight
	bwlti %r2,1,R_ExecuteSetViewSize+416
	srliw %r3,%r2,0
;R_ExecuteSetViewSize+368
	ldafr %r4,screenheightarray
	nop 0
	nop 0
;R_ExecuteSetViewSize+384
	sth %r1,%r4,0
	addi %r3,%r3,-1
	addi %r4,%r4,2
;R_ExecuteSetViewSize+400
	bdne %r3,%gz,R_ExecuteSetViewSize+384
	nop 0
	nop 0
;R_ExecuteSetViewSize+416
	bwlti %r1,1,R_ExecuteSetViewSize+560
	mov %r2,%gz
	ldafr %r3,yslope
;R_ExecuteSetViewSize+432
	ldi %r4,32768
	nop 0
	nop 0
;R_ExecuteSetViewSize+448
	srliw %r5,%r1,31
	addws %r1,%r1,%r5
	srliw %r1,%r1,1
;R_ExecuteSetViewSize+464
	ldwzr %r5,viewwidth
	ldwzr %r6,detailshift
	subws %r1,%r2,%r1
;R_ExecuteSetViewSize+480
	slor %r1,%r4,%r1,16
	absdw %r14,%r1,%gz
	sllw %r1,%r5,%r6
;R_ExecuteSetViewSize+496
	srliw %r5,%r1,31
	addws %r1,%r1,%r5
	slliw %r1,%r1,15
;R_ExecuteSetViewSize+512
	andi %r13,%r1,-65536
	callr %r12,FixedDiv
	ldwzr %r1,viewheight
;R_ExecuteSetViewSize+528
	stw %r13,%r3,0
	addi %r2,%r2,1
	sraiw %r5,%r1,0
;R_ExecuteSetViewSize+544
	addi %r3,%r3,4
	bdlt %r2,%r5,R_ExecuteSetViewSize+448
	ldwzr %r2,viewwidth
;R_ExecuteSetViewSize+560
	bwlti %r2,1,R_ExecuteSetViewSize+672
	mov %r3,%gz
	ldafr %r4,distscale
;R_ExecuteSetViewSize+576
	ldafr %r5,xtoviewangle
	ldi %r1,65536
	nop 0
;R_ExecuteSetViewSize+592
	ldwz %r2,%r5,0
	lddzr %r6,finecosine
	srliw %r2,%r2,19
;R_ExecuteSetViewSize+608
	ldwzx.xuw %r2,%r6,%r2,2,0
	absdw %r14,%r2,%gz
	mov %r13,%r1
;R_ExecuteSetViewSize+624
	callr %r12,FixedDiv
	ldwzr %r2,viewwidth
	stw %r13,%r4,0
;R_ExecuteSetViewSize+640
	addi %r3,%r3,1
	sraiw %r6,%r2,0
	addi %r4,%r4,4
;R_ExecuteSetViewSize+656
	addi %r5,%r5,4
	bdlt %r3,%r6,R_ExecuteSetViewSize+592
	nop 0
;R_ExecuteSetViewSize+672
	ldwzr %r3,detailshift
	mov %r1,%gz
	sllw %r2,%r2,%r3
;R_ExecuteSetViewSize+688
	ldafr %r3,scalelight
	lddzr %r4,colormaps
	ldi %r5,960
;R_ExecuteSetViewSize+704
	ldi %r6,31
	nop 0
	nop 0
;R_ExecuteSetViewSize+720
	mov %r7,%gz
	slsubws %r8,%r5,%r1,6
	srliw %r8,%r8,4
;R_ExecuteSetViewSize+736
	mov %r9,%r3
	nop 0
	nop 0
;R_ExecuteSetViewSize+752
	mulwsi %r10,%r7,320
	divw %r10,%r10,%r2
	andi %r11,%r10,32768
;R_ExecuteSetViewSize+768
	srliw %r11,%r11,15
	addws %r10,%r10,%r11
	slsrai %r10,%r10,48,48
;R_ExecuteSetViewSize+784
	sraiw %r10,%r10,1
	subws %r10,%r8,%r10
	maxsw %r10,%r10,%gz
;R_ExecuteSetViewSize+800
	minsw %r10,%r10,%r6
	slliw %r10,%r10,8
	ldax.xuw %r10,%r4,%r10,0,0
;R_ExecuteSetViewSize+816
	std %r10,%r9,0
	addi %r7,%r7,1
	addi %r9,%r9,8
;R_ExecuteSetViewSize+832
	bdnei %r7,48,R_ExecuteSetViewSize+752
	addi %r1,%r1,1
	addi %r3,%r3,384
;R_ExecuteSetViewSize+848
	bdnei %r1,16,R_ExecuteSetViewSize+720
	retf 0
	nop 0
;R_Init
	alloc 7
	callr %r6,R_InitData
	ldi %r1,46
;R_Init+16
	mov %r6,%r1
	callr %r5,putchar
	mov %r6,%r1
;R_Init+32
	callr %r5,putchar
	mov %r6,%r1
	callr %r5,putchar
;R_Init+48
	ldwzr %r2,screenblocks
	ldwzr %r3,detailLevel
	ldi %r4,1
;R_Init+64
	stwr %r4,setsizeneeded
	stwr %r2,setblocks
	stwr %r3,setdetail
;R_Init+80
	callr %r6,R_InitPlanes
	mov %r6,%r1
	callr %r5,putchar
;R_Init+96
	callr %r6,R_InitLightTables
	mov %r6,%r1
	callr %r5,putchar
;R_Init+112
	callr %r6,R_InitSkyMap
	callr %r6,R_InitTranslationTables
	mov %r6,%r1
;R_Init+128
	callr %r5,putchar
	stwr %gz,framecount
	retf 0
;R_PointInSubsector
	alloc 11
	ldwzr %r3,numnodes
	bweq %r3,%gz,R_PointInSubsector+128
;R_PointInSubsector+16
	addiws %r3,%r3,-1
	bbsi %r3,15,R_PointInSubsector+96
	lddzr %r5,nodes
;R_PointInSubsector+32
	ldi %r6,52
	nop 0
	nop 0
;R_PointInSubsector+48
	sraiw %r3,%r3,0
	muladd %r3,%r3,%r6,%r5
	mov2 %r8,%r9,%r1,%r2
;R_PointInSubsector+64
	mov %r10,%r3
	callr %r7,R_PointOnSide
	ldhzx.xuw %r3,%r3,%r8,1,48
;R_PointInSubsector+80
	slsrai %r4,%r3,48,48
	bwgei %r4,0,R_PointInSubsector+48
	nop 0
;R_PointInSubsector+96
	lddzr %r1,subsectors
	andi %r2,%r3,-32769
	ldax.xw %r1,%r1,%r2,4,0
;R_PointInSubsector+112
	retf 0
	nop 0
	nop 0
;R_PointInSubsector+128
	lddzr %r1,subsectors
	retf 0
	nop 0
;R_SetupFrame
	alloc 6
	stdr %r1,viewplayer
	lddz %r2,%r1,0
;R_SetupFrame+16
	ldwz %r3,%r2,24
	stwr %r3,viewx
	ldwz %r3,%r2,28
;R_SetupFrame+32
	stwr %r3,viewy
	ldwz %r2,%r2,56
	ldwzr %r3,viewangleoffset
;R_SetupFrame+48
	addws %r2,%r3,%r2
	stwr %r2,viewangle
	ldwz %r3,%r1,256
;R_SetupFrame+64
	stwr %r3,extralight
	ldwz %r3,%r1,28
	srliw %r2,%r2,19
;R_SetupFrame+80
	ldafr %r4,finesine
	ldwzx.xuw %r4,%r4,%r2,2,0
	lddzr %r5,finecosine
;R_SetupFrame+96
	stwr %r3,viewz
	stwr %r4,viewsin
	ldwzx.xuw %r2,%r5,%r2,2,0
;R_SetupFrame+112
	stwr %r2,viewcos
	stwr %gz,sscount
	ldwz %r1,%r1,260
;R_SetupFrame+128
	bweq %r1,%gz,R_SetupFrame+208
	lddzr %r2,colormaps
	slliw %r1,%r1,8
;R_SetupFrame+144
	ldax.xw %r1,%r2,%r1,0,0
	mov %r2,%gz
	stdr %r1,fixedcolormap
;R_SetupFrame+160
	ldafr %r3,scalelightfixed
	stdr %r3,walllights
	nop 0
;R_SetupFrame+176
	stdx.xd %r1,%r2,%r3,0,0
	addi %r2,%r2,8
	bdnei %r2,384,R_SetupFrame+176
;R_SetupFrame+192
	jmp R_SetupFrame+224
	nop 0
	nop 0
;R_SetupFrame+208
	stdr %gz,fixedcolormap
	nop 0
	nop 0
;R_SetupFrame+224
	ldwzr %r1,framecount
	ldwzr %r2,validcount
	addiws %r1,%r1,1
;R_SetupFrame+240
	stwr %r1,framecount
	addiws %r1,%r2,1
	stwr %r1,validcount
;R_SetupFrame+256
	retf 0
	nop 0
	nop 0
;R_RenderPlayerView
	alloc 4
	mov %r3,%r1
	callr %r2,R_SetupFrame
;R_RenderPlayerView+16
	callr %r3,R_ClearClipSegs
	callr %r3,R_ClearDrawSegs
	callr %r3,R_ClearPlanes
;R_RenderPlayerView+32
	callr %r3,R_ClearSprites
	callr %r3,NetUpdate
	ldwzr %r1,numnodes
;R_RenderPlayerView+48
	addiws %r3,%r1,-1
	callr %r2,R_RenderBSPNode
	callr %r3,NetUpdate
;R_RenderPlayerView+64
	callr %r3,R_DrawPlanes
	callr %r3,NetUpdate
	callr %r3,R_DrawMasked
;R_RenderPlayerView+80
	callr %r3,NetUpdate
	retf 0
	nop 0
;R_InitPlanes
	alloc 1
	retf 0
	nop 0
;R_MapPlane
	allocsp 12,16
	bwlt %r2,%gz,R_MapPlane+48
	bwlt %r3,%r2,R_MapPlane+48
;R_MapPlane+16
	ldwzr %r4,viewwidth
	bwle %r4,%r3,R_MapPlane+48
	ldwzr %r4,viewheight
;R_MapPlane+32
	bwle %r1,%r4,R_MapPlane+80
	nop 0
	nop 0
;R_MapPlane+48
	stw %r1,%sp,8
	stw %r3,%sp,4
	ldafr %r11,.rodata+27775
;R_MapPlane+64
	stw %r2,%sp,0
	callr %r10,I_Error
	nop 0
;R_MapPlane+80
	ldwzr %r4,planeheight
	ldafr %r5,cachedheight
	ldax.xw %r6,%r5,%r1,2,0
;R_MapPlane+96
	ldwzx.xw %r7,%r5,%r1,2,0
	sraiw %r5,%r1,0
	bwne %r4,%r7,R_MapPlane+160
;R_MapPlane+112
	ldafr %r4,cacheddistance
	ldwzx.xd %r4,%r4,%r5,2,0
	ldafr %r6,cachedxstep
;R_MapPlane+128
	ldwzx.xd %r6,%r6,%r5,2,0
	ldafr %r7,cachedystep
	ldwzx.xd %r7,%r7,%r5,2,0
;R_MapPlane+144
	jmp R_MapPlane+272
	nop 0
	nop 0
;R_MapPlane+160
	ldafr %r7,yslope
	ldwsx.xd %r7,%r7,%r5,2,0
	stw %r4,%r6,0
;R_MapPlane+176
	sraiw %r4,%r4,0
	mul %r4,%r7,%r4
	srli %r4,%r4,16
;R_MapPlane+192
	ldafr %r6,cacheddistance
	ldwsr %r7,basexscale
	stwx.xd %r4,%r6,%r5,2,0
;R_MapPlane+208
	sraiw %r8,%r4,0
	ldwsr %r9,baseyscale
	mul %r6,%r8,%r7
;R_MapPlane+224
	srli %r6,%r6,16
	ldafr %r7,cachedxstep
	stwx.xd %r6,%r7,%r5,2,0
;R_MapPlane+240
	mul %r7,%r8,%r9
	srli %r7,%r7,16
	ldafr %r8,cachedystep
;R_MapPlane+256
	stwx.xd %r7,%r8,%r5,2,0
	nop 0
	nop 0
;R_MapPlane+272
	stwr %r6,ds_xstep
	stwr %r7,ds_ystep
	ldafr %r5,distscale
;R_MapPlane+288
	ldwzr %r6,viewangle
	ldafr %r7,xtoviewangle
	ldwzx.xw %r7,%r7,%r2,2,0
;R_MapPlane+304
	ldwsx.xw %r5,%r5,%r2,2,0
	lddzr %r8,finecosine
	sraiw %r9,%r4,0
;R_MapPlane+320
	addws %r6,%r7,%r6
	srliw %r6,%r6,19
	ldwsx.xuw %r7,%r8,%r6,2,0
;R_MapPlane+336
	ldwzr %r8,viewx
	mul %r5,%r9,%r5
	slsrai %r5,%r5,16,32
;R_MapPlane+352
	mul %r7,%r5,%r7
	srli %r7,%r7,16
	ldafr %r9,finesine
;R_MapPlane+368
	ldwsx.xuw %r6,%r9,%r6,2,0
	addws %r7,%r8,%r7
	stwr %r7,ds_xfrac
;R_MapPlane+384
	ldwzr %r7,viewy
	mul %r6,%r5,%r6
	lddzr %r5,fixedcolormap
;R_MapPlane+400
	srli %r6,%r6,16
	addws %r6,%r7,%r6
	subfiws %r6,%r6,0
;R_MapPlane+416
	stwr %r6,ds_yfrac
	bdne %r5,%gz,R_MapPlane+464
	lddzr %r5,planezlight
;R_MapPlane+432
	sraiw %r4,%r4,20
	ldi %r6,127
	minuw %r4,%r4,%r6
;R_MapPlane+448
	lddzx.xuw %r5,%r5,%r4,3,0
	nop 0
	nop 0
;R_MapPlane+464
	stdr %r5,ds_colormap
	stwr %r1,ds_y
	stwr %r2,ds_x1
;R_MapPlane+480
	stwr %r3,ds_x2
	callplt %r11,spanfunc
	retf 16
;R_ClearPlanes
	alloc 8
	ldwzr %r1,viewwidth
	bwlti %r1,1,R_ClearPlanes+96
;R_ClearPlanes+16
	ldwzr %r2,viewheight
	srliw %r3,%r1,0
	slli %r7,%r3,1
;R_ClearPlanes+32
	ldafr %r5,ceilingclip
	ldi %r6,255
	callr %r4,memset
;R_ClearPlanes+48
	ldafr %r1,floorclip
	nop 0
	nop 0
;R_ClearPlanes+64
	sth %r2,%r1,0
	addi %r3,%r3,-1
	addi %r1,%r1,2
;R_ClearPlanes+80
	bdne %r3,%gz,R_ClearPlanes+64
	nop 0
	nop 0
;R_ClearPlanes+96
	ldafr %r1,visplanes
	stdr %r1,lastvisplane
	ldafr %r1,openings
;R_ClearPlanes+112
	stdr %r1,lastopening
	ldafr %r5,cachedheight
	ldi %r7,800
;R_ClearPlanes+128
	mov %r6,%gz
	callr %r4,memset
	ldwzr %r1,viewangle
;R_ClearPlanes+144
	lddzr %r2,finecosine
	addiws.l %r1,%r1,-1073741824
;R_ClearPlanes+160
	srliw %r3,%r1,19
	ldwzx.xuw %r6,%r2,%r3,2,0
	ldwzr %r7,centerxfrac
;R_ClearPlanes+176
	callr %r5,FixedDiv
	stwr %r6,basexscale
	ldafr %r1,finesine
;R_ClearPlanes+192
	ldwzx.xuw %r6,%r1,%r3,2,0
	ldwzr %r7,centerxfrac
	callr %r5,FixedDiv
;R_ClearPlanes+208
	subfiws %r1,%r6,0
	stwr %r1,baseyscale
	retf 0
;R_FindPlane
	alloc 12
	ldwzr %r4,skyflatnum
	lddzr %r6,lastvisplane
;R_FindPlane+16
	cmpweq %r4,%r2,%r4
	ldafr %r7,visplanes
	cmovlsb %r5,%r4,%gz,%r1
;R_FindPlane+32
	cmovlsb %r4,%r4,%gz,%r3
	mov %r1,%r7
	bdleu %r6,%r7,R_FindPlane+128
;R_FindPlane+48
	ldafr %r1,visplanes
	jmp R_FindPlane+80
	nop 0
;R_FindPlane+64
	addi %r1,%r1,664
	bdleu %r6,%r1,R_FindPlane+128
	nop 0
;R_FindPlane+80
	ldwz %r3,%r1,0
	bwne %r5,%r3,R_FindPlane+64
	ldwz %r3,%r1,4
;R_FindPlane+96
	bwne %r2,%r3,R_FindPlane+64
	ldwz %r3,%r1,8
	bwne %r4,%r3,R_FindPlane+64
;R_FindPlane+112
	retf 0
	nop 0
	nop 0
;R_FindPlane+128
	sub %r3,%r6,%r7
	bdnei.l %r3,84992,R_FindPlane+160
;R_FindPlane+144
	ldafr %r11,.rodata+22724
	callr %r10,I_Error
	lddzr %r6,lastvisplane
;R_FindPlane+160
	addi %r3,%r6,664
	stdr %r3,lastvisplane
	stw %r5,%r1,0
;R_FindPlane+176
	stw %r2,%r1,4
	stw %r4,%r1,8
	ldi %r2,320
;R_FindPlane+192
	stw %r2,%r1,12
	ldi %r2,-1
	stw %r2,%r1,16
;R_FindPlane+208
	addi %r9,%r1,21
	ldi %r10,255
	ldi %r11,320
;R_FindPlane+224
	callr %r8,memset
	retf 0
	nop 0
;R_CheckPlane
	alloc 14
	ldwz %r4,%r1,12
	ldwz %r5,%r1,16
;R_CheckPlane+16
	maxsw %r6,%r2,%r4
	minsw %r7,%r3,%r5
	bwlt %r7,%r6,R_CheckPlane+96
;R_CheckPlane+32
	maxsw %r8,%r4,%r2
	sraiw %r9,%r8,0
	addws %r7,%r7,%r8
;R_CheckPlane+48
	subws %r6,%r7,%r6
	addiws %r6,%r6,1
	addi %r7,%r9,21
;R_CheckPlane+64
	ldbzx.xd %r8,%r1,%r7,0,0
	bwnei %r8,255,R_CheckPlane+128
	addiws %r8,%r7,-20
;R_CheckPlane+80
	addi %r7,%r7,1
	bwne %r6,%r8,R_CheckPlane+64
	nop 0
;R_CheckPlane+96
	minsw %r2,%r2,%r4
	maxsw %r3,%r3,%r5
	stw %r2,%r1,12
;R_CheckPlane+112
	stw %r3,%r1,16
	retf 0
	nop 0
;R_CheckPlane+128
	ldwz %r4,%r1,0
	lddzr %r5,lastvisplane
	stw %r4,%r5,0
;R_CheckPlane+144
	ldwz %r4,%r1,4
	stw %r4,%r5,4
	ldwz %r1,%r1,8
;R_CheckPlane+160
	stw %r1,%r5,8
	addi %r1,%r5,664
	stdr %r1,lastvisplane
;R_CheckPlane+176
	stw %r2,%r5,12
	stw %r3,%r5,16
	addi %r11,%r5,21
;R_CheckPlane+192
	ldi %r12,255
	ldi %r13,320
	callr %r10,memset
;R_CheckPlane+208
	mov %r1,%r5
	retf 0
	nop 0
;R_DrawPlanes
	allocsp 29,16
	lddzr %r1,ds_p
	ldafr %r2,drawsegs
;R_DrawPlanes+16
	sub %r1,%r1,%r2
	srai %r1,%r1,6
	bdlti %r1,257,R_DrawPlanes+48
;R_DrawPlanes+32
	ldafr %r28,.rodata+9473
	std %r1,%sp,0
	callr %r27,I_Error
;R_DrawPlanes+48
	lddzr %r1,lastvisplane
	ldafr %r6,visplanes
	sub %r1,%r1,%r6
;R_DrawPlanes+64
	bdlti.l %r1,84993,R_DrawPlanes+112
	srli %r1,%r1,3
;R_DrawPlanes+80
	ldi.l %r2,-6667497857967307813
	mul %r1,%r1,%r2
;R_DrawPlanes+96
	ldafr %r28,.rodata+16882
	std %r1,%sp,0
	callr %r27,I_Error
;R_DrawPlanes+112
	lddzr %r1,lastopening
	ldafr %r2,openings
	sub %r1,%r1,%r2
;R_DrawPlanes+128
	srai %r1,%r1,1
	bdlti.l %r1,20481,R_DrawPlanes+160
;R_DrawPlanes+144
	ldafr %r28,.rodata+13957
	std %r1,%sp,0
	callr %r27,I_Error
;R_DrawPlanes+160
	lddzr %r1,lastvisplane
	bdleu %r1,%r6,R_DrawPlanes+1008
	ldafr %r7,xtoviewangle
;R_DrawPlanes+176
	ldi %r1,1
	ldi %r8,15
	ldafr %r9,zlight
;R_DrawPlanes+192
	ldi %r10,255
	ldafr %r11,spanstart
	jmp R_DrawPlanes+240
;R_DrawPlanes+208
	mov %r28,%r2
	callr %r27,W_ReleaseLumpNum
	nop 0
;R_DrawPlanes+224
	lddzr %r2,lastvisplane
	addi %r6,%r6,664
	bdleu %r2,%r6,R_DrawPlanes+1008
;R_DrawPlanes+240
	ldwz %r3,%r6,12
	ldwz %r2,%r6,16
	bwlt %r2,%r3,R_DrawPlanes+224
;R_DrawPlanes+256
	ldwz %r4,%r6,4
	ldwzr %r5,skyflatnum
	bwne %r4,%r5,R_DrawPlanes+480
;R_DrawPlanes+272
	ldwzr %r4,pspriteiscale
	ldwzr %r5,detailshift
	lddzr %r12,colormaps
;R_DrawPlanes+288
	ldwzr %r13,skytexturemid
	sraw %r4,%r4,%r5
	stwr %r4,dc_iscale
;R_DrawPlanes+304
	stdr %r12,dc_colormap
	stwr %r13,dc_texturemid
	sraiw %r5,%r3,0
;R_DrawPlanes+320
	ldax.xw %r3,%r7,%r3,2,0
	jmp R_DrawPlanes+368
	nop 0
;R_DrawPlanes+336
	addi %r5,%r4,1
	sraiw %r12,%r2,0
	addi %r3,%r3,4
;R_DrawPlanes+352
	bdle %r12,%r4,R_DrawPlanes+224
	nop 0
	nop 0
;R_DrawPlanes+368
	mov %r4,%r5
	ldbzx.xd %r5,%r6,%r5,0,21
	nop 2
;R_DrawPlanes+384
	ldbzx.xd.l %r12,%r6,%r4,0,343
	stwr %r5,dc_yl
;R_DrawPlanes+400
	stwr %r12,dc_yh
	bwltu %r12,%r5,R_DrawPlanes+336
	ldwzr %r2,viewangle
;R_DrawPlanes+416
	ldwz %r5,%r3,0
	addws %r2,%r5,%r2
	srliw %r28,%r2,22
;R_DrawPlanes+432
	stwr %r4,dc_x
	ldwzr %r27,skytexture
	callr %r26,R_GetColumn
;R_DrawPlanes+448
	stdr %r27,dc_source
	callplt %r28,colfunc
	ldwz %r2,%r6,16
;R_DrawPlanes+464
	jmp R_DrawPlanes+336
	nop 0
	nop 0
;R_DrawPlanes+480
	lddzr %r2,flattranslation
	ldwzr %r3,firstflat
	ldwzx.xw %r2,%r2,%r4,2,0
;R_DrawPlanes+496
	addws %r2,%r2,%r3
	mov2 %r27,%r28,%r2,%r1
	callr %r26,W_CacheLumpNum
;R_DrawPlanes+512
	ldwz %r3,%r6,0
	ldwzr %r4,viewz
	ldwz %r5,%r6,8
;R_DrawPlanes+528
	stdr %r27,ds_source
	absdw %r13,%r4,%r3
	ldws %r3,%r6,16
;R_DrawPlanes+544
	sraiw %r4,%r5,4
	ldwzr %r5,extralight
	addi %r12,%r6,21
;R_DrawPlanes+560
	stbx.xd %r10,%r3,%r12,0,1
	ldws %r3,%r6,12
	addws %r4,%r4,%r5
;R_DrawPlanes+576
	minsw %r4,%r4,%r8
	maxsw %r5,%r4,%gz
	stbx.xd %r10,%r3,%r12,0,-1
;R_DrawPlanes+592
	ldwz %r3,%r6,16
	ldwz %r4,%r6,12
	srliw %r5,%r5,0
;R_DrawPlanes+608
	stwr %r13,planeheight
	sladd %r5,%r9,%r5,10
	addiws %r13,%r3,1
;R_DrawPlanes+624
	stdr %r5,planezlight
	bwlt %r13,%r4,R_DrawPlanes+208
	addi %r13,%r6,343
;R_DrawPlanes+640
	sraiw %r4,%r4,0
	sraiw %r14,%r3,0
	jmp R_DrawPlanes+672
;R_DrawPlanes+656
	addi %r4,%r15,1
	bdlt %r14,%r15,R_DrawPlanes+208
	nop 0
;R_DrawPlanes+672
	mov %r15,%r4
	ldbzx.xd %r16,%r4,%r13,0,-1
	ldbzx.xd %r18,%r12,%r4,0,0
;R_DrawPlanes+688
	ldbzx.xd %r21,%r4,%r12,0,-1
	addi %r3,%r4,-1
	srliw %r22,%r16,0
;R_DrawPlanes+704
	srliw %r20,%r18,0
	ldbzx.xd %r17,%r13,%r4,0,0
	bwleu %r18,%r21,R_DrawPlanes+784
;R_DrawPlanes+720
	bwltu %r16,%r21,R_DrawPlanes+784
	srliw %r21,%r21,0
	sladd %r19,%r11,%r21,2
;R_DrawPlanes+736
	mov %r4,%r21
	ldwz %r27,%r19,0
	mov2 %r26,%r28,%r21,%r3
;R_DrawPlanes+752
	callr %r25,R_MapPlane
	addi %r21,%r21,1
	bdleu %r20,%r21,R_DrawPlanes+784
;R_DrawPlanes+768
	addi %r19,%r19,4
	bdltu %r4,%r22,R_DrawPlanes+736
	nop 0
;R_DrawPlanes+784
	srliw %r19,%r17,0
	bwleu %r16,%r17,R_DrawPlanes+864
	bwlt %r16,%r21,R_DrawPlanes+864
;R_DrawPlanes+800
	sraiw %r23,%r21,0
	sladd %r24,%r11,%r22,2
	mov %r16,%r22
;R_DrawPlanes+816
	mov %r4,%r16
	ldwz %r27,%r24,0
	mov2 %r26,%r28,%r16,%r3
;R_DrawPlanes+832
	callr %r25,R_MapPlane
	addi %r16,%r16,-1
	bdle %r4,%r23,R_DrawPlanes+864
;R_DrawPlanes+848
	addi %r24,%r24,-4
	bdlt %r19,%r16,R_DrawPlanes+816
	nop 0
;R_DrawPlanes+864
	bwleu %r21,%r18,R_DrawPlanes+928
	bwltu %r17,%r18,R_DrawPlanes+928
	srliw %r3,%r21,0
;R_DrawPlanes+880
	sladd %r4,%r11,%r20,2
	mov %r18,%r20
	nop 0
;R_DrawPlanes+896
	mov %r5,%r18
	addi %r18,%r18,1
	stw %r15,%r4,0
;R_DrawPlanes+912
	bdleu %r3,%r18,R_DrawPlanes+928
	addi %r4,%r4,4
	bdltu %r5,%r19,R_DrawPlanes+896
;R_DrawPlanes+928
	bwle %r17,%r16,R_DrawPlanes+656
	bwlt %r17,%r18,R_DrawPlanes+656
	sraiw %r3,%r18,0
;R_DrawPlanes+944
	sladd %r4,%r11,%r19,2
	nop 0
	nop 0
;R_DrawPlanes+960
	stw %r15,%r4,0
	bdle %r19,%r3,R_DrawPlanes+656
	addiws %r5,%r19,-1
;R_DrawPlanes+976
	addi %r19,%r19,-1
	addi %r4,%r4,-4
	bwlt %r16,%r5,R_DrawPlanes+960
;R_DrawPlanes+992
	jmp R_DrawPlanes+656
	nop 0
	nop 0
;R_DrawPlanes+1008
	retf 16
	nop 0
	nop 0
;R_RenderMaskedSegRange
	alloc 17
	lddz %r11,%r1,0
	stdr %r11,curline
;R_RenderMaskedSegRange+16
	lddz %r9,%r11,40
	stdr %r9,frontsector
	lddz %r10,%r11,48
;R_RenderMaskedSegRange+32
	stdr %r10,backsector
	lddz %r4,%r11,0
	lddz %r6,%r11,8
;R_RenderMaskedSegRange+48
	ldhs %r5,%r9,12
	ldwzr %r7,extralight
	ldwz %r12,%r4,4
;R_RenderMaskedSegRange+64
	ldwz %r13,%r6,4
	lddz %r8,%r11,24
	sraiw %r5,%r5,4
;R_RenderMaskedSegRange+80
	addws %r5,%r7,%r5
	bwne %r12,%r13,R_RenderMaskedSegRange+112
	ldi %r6,-1
;R_RenderMaskedSegRange+96
	jmp R_RenderMaskedSegRange+128
	nop 0
	nop 0
;R_RenderMaskedSegRange+112
	ldwz %r4,%r4,0
	ldwz %r6,%r6,0
	cmpweq %r6,%r4,%r6
;R_RenderMaskedSegRange+128
	lddzr %r4,texturetranslation
	addws %r6,%r5,%r6
	ldhs %r5,%r8,12
;R_RenderMaskedSegRange+144
	bwlt %r6,%gz,R_RenderMaskedSegRange+176
	bwltui %r6,16,R_RenderMaskedSegRange+192
	ldafr %r6,scalelight+5760
;R_RenderMaskedSegRange+160
	jmp R_RenderMaskedSegRange+224
	nop 0
	nop 0
;R_RenderMaskedSegRange+176
	ldafr %r6,scalelight
	jmp R_RenderMaskedSegRange+224
	nop 0
;R_RenderMaskedSegRange+192
	srliw %r6,%r6,0
	ldafr %r7,scalelight
	ldi %r12,384
;R_RenderMaskedSegRange+208
	muladd %r6,%r6,%r12,%r7
	nop 0
	nop 0
;R_RenderMaskedSegRange+224
	ldwzx.xd %r4,%r4,%r5,2,0
	stdr %r6,walllights
	lddz %r6,%r1,56
;R_RenderMaskedSegRange+240
	stdr %r6,maskedtexturecol
	ldwz %r7,%r1,24
	stwr %r7,rw_scalestep
;R_RenderMaskedSegRange+256
	ldwz %r5,%r1,8
	ldwz %r12,%r1,16
	subws %r5,%r2,%r5
;R_RenderMaskedSegRange+272
	mulws %r5,%r5,%r7
	addws %r5,%r5,%r12
	stwr %r5,spryscale
;R_RenderMaskedSegRange+288
	lddz %r12,%r1,48
	stdr %r12,mfloorclip
	lddz %r1,%r1,40
;R_RenderMaskedSegRange+304
	stdr %r1,mceilingclip
	lddz %r1,%r11,32
	ldbz %r1,%r1,24
;R_RenderMaskedSegRange+320
	bbsi %r1,4,R_RenderMaskedSegRange+352
	ldwz %r1,%r9,4
	ldwz %r9,%r10,4
;R_RenderMaskedSegRange+336
	minsw %r1,%r1,%r9
	jmp R_RenderMaskedSegRange+400
	nop 0
;R_RenderMaskedSegRange+352
	ldwz %r1,%r9,0
	ldwz %r9,%r10,0
	lddzr %r10,textureheight
;R_RenderMaskedSegRange+368
	maxsw %r1,%r1,%r9
	stwr %r1,dc_texturemid
	ldwzx.xw %r9,%r10,%r4,2,0
;R_RenderMaskedSegRange+384
	addws %r1,%r9,%r1
	nop 0
	nop 0
;R_RenderMaskedSegRange+400
	ldwzr %r9,viewz
	ldwz %r10,%r8,4
	lddzr %r8,fixedcolormap
;R_RenderMaskedSegRange+416
	subws %r1,%r1,%r9
	addws %r1,%r10,%r1
	stwr %r1,dc_texturemid
;R_RenderMaskedSegRange+432
	bdeq %r8,%gz,R_RenderMaskedSegRange+448
	stdr %r8,dc_colormap
	nop 0
;R_RenderMaskedSegRange+448
	stwr %r2,dc_x
	bwle %r2,%r3,R_RenderMaskedSegRange+480
	nop 0
;R_RenderMaskedSegRange+464
	retf 0
	nop 0
	nop 0
;R_RenderMaskedSegRange+480
	ldi %r8,47
	ldi %r9,-1
	ldi %r10,32767
;R_RenderMaskedSegRange+496
	jmp R_RenderMaskedSegRange+640
	nop 0
	nop 0
;R_RenderMaskedSegRange+512
	ldwsr %r1,dc_texturemid
	ldwzr %r2,centeryfrac
	sraiw %r6,%r5,0
;R_RenderMaskedSegRange+528
	mul %r1,%r6,%r1
	srli %r1,%r1,16
	subws %r1,%r2,%r1
;R_RenderMaskedSegRange+544
	stwr %r1,sprtopscreen
	divuw %r1,%r9,%r5
	stwr %r1,dc_iscale
;R_RenderMaskedSegRange+560
	mov %r15,%r4
	callr %r14,R_GetColumn
	addi %r16,%r15,-3
;R_RenderMaskedSegRange+576
	callr %r15,R_DrawMaskedColumn
	lddzr %r6,maskedtexturecol
	ldwzr %r2,dc_x
;R_RenderMaskedSegRange+592
	sthx.xw %r10,%r6,%r2,1,0
	ldwzr %r7,rw_scalestep
	ldwzr %r5,spryscale
;R_RenderMaskedSegRange+608
	mov %r1,%r2
	addws %r5,%r5,%r7
	stwr %r5,spryscale
;R_RenderMaskedSegRange+624
	addiws %r2,%r2,1
	stwr %r2,dc_x
	bwle %r3,%r1,R_RenderMaskedSegRange+464
;R_RenderMaskedSegRange+640
	ldhsx.xw %r16,%r6,%r2,1,0
	bweqi.l %r16,32767,R_RenderMaskedSegRange+608
;R_RenderMaskedSegRange+656
	lddzr %r1,fixedcolormap
	bdne %r1,%gz,R_RenderMaskedSegRange+512
	lddzr %r1,walllights
;R_RenderMaskedSegRange+672
	sraiw %r2,%r5,12
	minuw %r2,%r2,%r8
	lddzx.xuw %r1,%r1,%r2,3,0
;R_RenderMaskedSegRange+688
	stdr %r1,dc_colormap
	jmp R_RenderMaskedSegRange+512
	nop 0
;R_RenderSegLoop
	alloc 20
	ldwzr %r1,rw_x
	ldwzr %r2,rw_stopx
;R_RenderSegLoop+16
	bwle %r2,%r1,R_RenderSegLoop+1040
	ldwzr %r10,topfrac
	ldafr %r3,ceilingclip
;R_RenderSegLoop+32
	ldafr %r4,floorclip
	ldi %r5,65535
	ldafr %r6,xtoviewangle
;R_RenderSegLoop+48
	ldafr %r7,finetangent
	ldi %r8,47
	ldi %r9,-1
;R_RenderSegLoop+64
	jmp R_RenderSegLoop+240
	nop 0
	nop 0
;R_RenderSegLoop+80
	ldwzr %r11,rw_midtexturemid
	stwr %r2,dc_yl
	stwr %r10,dc_yh
;R_RenderSegLoop+96
	stwr %r11,dc_texturemid
	mov %r19,%r1
	callr %r17,R_GetColumn
;R_RenderSegLoop+112
	stdr %r18,dc_source
	callplt %r19,colfunc
	ldwzr %r1,viewheight
;R_RenderSegLoop+128
	ldwzr %r2,rw_x
	sthx.xw %r1,%r3,%r2,1,0
	sthx.xw %r5,%r4,%r2,1,0
;R_RenderSegLoop+144
	ldwzr %r1,rw_scalestep
	ldwzr %r10,rw_scale
	addws %r1,%r10,%r1
;R_RenderSegLoop+160
	ldwzr %r10,topstep
	ldwzr %r11,topfrac
	stwr %r1,rw_scale
;R_RenderSegLoop+176
	ldwzr %r1,bottomstep
	ldwzr %r12,bottomfrac
	addws %r10,%r11,%r10
;R_RenderSegLoop+192
	stwr %r10,topfrac
	ldwzr %r11,rw_stopx
	addws %r1,%r12,%r1
;R_RenderSegLoop+208
	stwr %r1,bottomfrac
	addiws %r1,%r2,1
	stwr %r1,rw_x
;R_RenderSegLoop+224
	bwle %r11,%r1,R_RenderSegLoop+1040
	nop 0
	nop 0
;R_RenderSegLoop+240
	ldhsx.xw %r11,%r3,%r1,1,0
	addiws %r2,%r10,4095
	ldwzr %r12,markceiling
;R_RenderSegLoop+256
	sraiw %r2,%r2,12
	cmpwlt %r13,%r11,%r2
	addiws %r10,%r11,1
;R_RenderSegLoop+272
	sraiw %r1,%r1,0
	cmovlsb %r2,%r13,%r2,%r10
	bweq %r12,%gz,R_RenderSegLoop+352
;R_RenderSegLoop+288
	ldhsx.xd %r12,%r4,%r1,1,0
	minsw %r12,%r2,%r12
	addiws %r12,%r12,-1
;R_RenderSegLoop+304
	bwle %r12,%r11,R_RenderSegLoop+352
	lddzr %r11,ceilingplane
	stbx.xd %r10,%r11,%r1,0,21
;R_RenderSegLoop+320
	lddzr %r1,ceilingplane
	ldwsr %r10,rw_x
	nop 2
;R_RenderSegLoop+336
	stbx.xd.l %r12,%r1,%r10,0,343
	ldwsr %r1,rw_x
;R_RenderSegLoop+352
	ldwzr %r10,bottomfrac
	ldhsx.xd %r11,%r4,%r1,1,0
	ldwzr %r12,markfloor
;R_RenderSegLoop+368
	sraiw %r10,%r10,12
	cmpwlt %r13,%r10,%r11
	addiws %r11,%r11,-1
;R_RenderSegLoop+384
	cmovlsb %r10,%r13,%r10,%r11
	bweq %r12,%gz,R_RenderSegLoop+448
	ldhsx.xd %r12,%r3,%r1,1,0
;R_RenderSegLoop+400
	maxsw %r12,%r10,%r12
	bwle %r11,%r12,R_RenderSegLoop+448
	lddzr %r13,floorplane
;R_RenderSegLoop+416
	addiws %r12,%r12,1
	stbx.xd %r12,%r13,%r1,0,21
	lddzr %r1,floorplane
;R_RenderSegLoop+432
	ldwsr %r12,rw_x
	stbx.xd.l %r11,%r1,%r12,0,343
;R_RenderSegLoop+448
	ldwzr %r1,segtextured
	bweq %r1,%gz,R_RenderSegLoop+592
	ldwzr %r11,rw_x
;R_RenderSegLoop+464
	ldwzr %r1,rw_centerangle
	ldwzx.xw %r12,%r6,%r11,2,0
	addws %r1,%r12,%r1
;R_RenderSegLoop+480
	srliw %r1,%r1,19
	ldwsx.xuw %r1,%r7,%r1,2,0
	ldwsr %r12,rw_distance
;R_RenderSegLoop+496
	ldwzr %r13,rw_scale
	ldwzr %r14,rw_offset
	lddzr %r15,walllights
;R_RenderSegLoop+512
	mul %r1,%r12,%r1
	sraiw %r12,%r13,12
	minuw %r12,%r12,%r8
;R_RenderSegLoop+528
	lddzx.xuw %r12,%r15,%r12,3,0
	srli %r1,%r1,16
	subws %r1,%r14,%r1
;R_RenderSegLoop+544
	sraiw %r1,%r1,16
	stdr %r12,dc_colormap
	stwr %r11,dc_x
;R_RenderSegLoop+560
	divuw %r11,%r9,%r13
	stwr %r11,dc_iscale
	ldwzr %r18,midtexture
;R_RenderSegLoop+576
	bwne %r18,%gz,R_RenderSegLoop+80
	jmp R_RenderSegLoop+608
	nop 0
;R_RenderSegLoop+592
	mov %r1,%gz
	ldwzr %r18,midtexture
	bwne %r18,%gz,R_RenderSegLoop+80
;R_RenderSegLoop+608
	ldwzr %r18,toptexture
	bweq %r18,%gz,R_RenderSegLoop+688
	ldwsr %r12,rw_x
;R_RenderSegLoop+624
	ldwzr %r11,pixhigh
	ldhsx.xd %r13,%r4,%r12,1,0
	ldwzr %r14,pixhighstep
;R_RenderSegLoop+640
	sraiw %r15,%r11,12
	cmpwlt %r16,%r15,%r13
	addiws %r13,%r13,-1
;R_RenderSegLoop+656
	addws %r14,%r14,%r11
	cmovlsb %r11,%r16,%r15,%r13
	stwr %r14,pixhigh
;R_RenderSegLoop+672
	bwle %r2,%r11,R_RenderSegLoop+720
	addiws %r11,%r2,-1
	jmp R_RenderSegLoop+784
;R_RenderSegLoop+688
	ldwzr %r11,markceiling
	bweq %r11,%gz,R_RenderSegLoop+800
	addiws %r11,%r2,-1
;R_RenderSegLoop+704
	jmp R_RenderSegLoop+768
	nop 0
	nop 0
;R_RenderSegLoop+720
	ldwzr %r12,rw_toptexturemid
	stwr %r2,dc_yl
	stwr %r11,dc_yh
;R_RenderSegLoop+736
	stwr %r12,dc_texturemid
	mov %r19,%r1
	callr %r17,R_GetColumn
;R_RenderSegLoop+752
	stdr %r18,dc_source
	callplt %r19,colfunc
	nop 0
;R_RenderSegLoop+768
	ldwsr %r12,rw_x
	nop 0
	nop 0
;R_RenderSegLoop+784
	sthx.xd %r11,%r3,%r12,1,0
	nop 0
	nop 0
;R_RenderSegLoop+800
	ldwzr %r18,bottomtexture
	bweq %r18,%gz,R_RenderSegLoop+896
	ldwzr %r2,rw_x
;R_RenderSegLoop+816
	ldwzr %r11,pixlow
	ldhsx.xw %r12,%r3,%r2,1,0
	addiws %r13,%r11,4095
;R_RenderSegLoop+832
	ldwzr %r14,pixlowstep
	sraiw %r13,%r13,12
	cmpwlt %r15,%r12,%r13
;R_RenderSegLoop+848
	addiws %r12,%r12,1
	addws %r14,%r14,%r11
	cmovlsb %r11,%r15,%r13,%r12
;R_RenderSegLoop+864
	stwr %r14,pixlow
	bwle %r11,%r10,R_RenderSegLoop+928
	sraiw %r12,%r2,0
;R_RenderSegLoop+880
	addiws %r11,%r10,1
	jmp R_RenderSegLoop+992
	nop 0
;R_RenderSegLoop+896
	ldwzr %r11,markfloor
	ldwzr %r2,rw_x
	bweq %r11,%gz,R_RenderSegLoop+1008
;R_RenderSegLoop+912
	addiws %r11,%r10,1
	jmp R_RenderSegLoop+976
	nop 0
;R_RenderSegLoop+928
	ldwzr %r2,rw_bottomtexturemid
	stwr %r11,dc_yl
	stwr %r10,dc_yh
;R_RenderSegLoop+944
	stwr %r2,dc_texturemid
	mov %r19,%r1
	callr %r17,R_GetColumn
;R_RenderSegLoop+960
	stdr %r18,dc_source
	callplt %r19,colfunc
	ldwzr %r2,rw_x
;R_RenderSegLoop+976
	sraiw %r12,%r2,0
	nop 0
	nop 0
;R_RenderSegLoop+992
	sthx.xd %r11,%r4,%r12,1,0
	nop 0
	nop 0
;R_RenderSegLoop+1008
	ldwzr %r10,maskedtexture
	bweq %r10,%gz,R_RenderSegLoop+144
	lddzr %r10,maskedtexturecol
;R_RenderSegLoop+1024
	sthx.xw %r1,%r10,%r2,1,0
	jmp R_RenderSegLoop+144
	nop 0
;R_RenderSegLoop+1040
	retf 0
	nop 0
	nop 0
;R_StoreWallRange
	allocsp 27,16
	lddzr %r3,ds_p
	ldafr %r4,ds_p
;R_StoreWallRange+16
	bdeq %r3,%r4,R_StoreWallRange+2432
	bwlt %r2,%r1,R_StoreWallRange+48
	ldwzr %r3,viewwidth
;R_StoreWallRange+32
	bwlt %r1,%r3,R_StoreWallRange+80
	nop 0
	nop 0
;R_StoreWallRange+48
	stw %r2,%sp,4
	ldafr %r26,.rodata+5811
	stw %r1,%sp,0
;R_StoreWallRange+64
	callr %r25,I_Error
	nop 0
	nop 0
;R_StoreWallRange+80
	lddzr %r3,curline
	lddz %r4,%r3,24
	stdr %r4,sidedef
;R_StoreWallRange+96
	lddz %r4,%r3,32
	stdr %r4,linedef
	ldhz %r5,%r4,24
;R_StoreWallRange+112
	ori %r5,%r5,256
	sth %r5,%r4,24
	ldwz %r4,%r3,20
;R_StoreWallRange+128
	ldwzr %r5,rw_angle1
	addiws.l %r4,%r4,1073741824
;R_StoreWallRange+144
	stwr %r4,rw_normalangle
	lddz %r3,%r3,0
	absdw %r4,%r5,%r4
;R_StoreWallRange+160
	ldi.l %r8,1073741824
	maxuw %r5,%r4,%r8
;R_StoreWallRange+176
	subws %r4,%r5,%r4
	ldwz %r25,%r3,0
	ldwz %r26,%r3,4
;R_StoreWallRange+192
	callr %r24,R_PointToDist
	srliw %r3,%r4,19
	ldafr %r9,finesine
;R_StoreWallRange+208
	ldwsx.xuw %r3,%r9,%r3,2,0
	sraiw %r10,%r25,0
	mul %r3,%r3,%r10
;R_StoreWallRange+224
	lddzr %r4,ds_p
	srli %r3,%r3,16
	stwr %r3,rw_distance
;R_StoreWallRange+240
	stwr %r1,rw_x
	stw %r1,%r4,8
	stw %r2,%r4,12
;R_StoreWallRange+256
	lddzr %r3,curline
	std %r3,%r4,0
	ldwzr %r3,viewangle
;R_StoreWallRange+272
	ldafr %r4,xtoviewangle
	ldwzx.xw %r5,%r4,%r1,2,0
	addiws %r6,%r2,1
;R_StoreWallRange+288
	stwr %r6,rw_stopx
	addws %r26,%r5,%r3
	callr %r25,R_ScaleFromGlobalAngle
;R_StoreWallRange+304
	lddzr %r13,ds_p
	stwr %r26,rw_scale
	stw %r26,%r13,16
;R_StoreWallRange+320
	bwle %r2,%r1,R_StoreWallRange+400
	ldwzr %r3,viewangle
	ldwzx.xw %r4,%r4,%r2,2,0
;R_StoreWallRange+336
	addws %r26,%r4,%r3
	callr %r25,R_ScaleFromGlobalAngle
	lddzr %r13,ds_p
;R_StoreWallRange+352
	mov %r3,%r26
	stw %r26,%r13,20
	ldwzr %r26,rw_scale
;R_StoreWallRange+368
	subws %r3,%r3,%r26
	subws %r2,%r2,%r1
	divw %r2,%r3,%r2
;R_StoreWallRange+384
	stwr %r2,rw_scalestep
	stw %r2,%r13,24
	jmp R_StoreWallRange+416
;R_StoreWallRange+400
	stw %r26,%r13,20
	nop 0
	nop 0
;R_StoreWallRange+416
	lddzr %r5,frontsector
	ldwz %r6,%r5,4
	ldwzr %r7,viewz
;R_StoreWallRange+432
	subws %r4,%r6,%r7
	stwr %r4,worldtop
	ldwz %r14,%r5,0
;R_StoreWallRange+448
	subws %r3,%r14,%r7
	stwr %r3,worldbottom
	stwr %gz,maskedtexture
;R_StoreWallRange+464
	stwr %gz,bottomtexture
	stwr %gz,toptexture
	stwr %gz,midtexture
;R_StoreWallRange+480
	std %gz,%r13,56
	lddzr %r2,backsector
	bdeq %r2,%gz,R_StoreWallRange+1088
;R_StoreWallRange+496
	stw %gz,%r13,28
	std %gz,%r13,40
	std %gz,%r13,48
;R_StoreWallRange+512
	ldwz %r16,%r5,0
	ldwz %r11,%r2,0
	mov %r15,%r16
;R_StoreWallRange+528
	bwlt %r11,%r16,R_StoreWallRange+560
	mov %r12,%gz
	bwle %r11,%r7,R_StoreWallRange+576
;R_StoreWallRange+544
	ldi.l %r15,2147483647
	nop 0
;R_StoreWallRange+560
	ldi %r12,1
	stw %r12,%r13,28
	stw %r15,%r13,32
;R_StoreWallRange+576
	ldwz %r15,%r2,4
	mov %r17,%r6
	bwlt %r6,%r15,R_StoreWallRange+2544
;R_StoreWallRange+592
	bwlt %r15,%r7,R_StoreWallRange+2528
	bwle %r15,%r16,R_StoreWallRange+2576
	nop 0
;R_StoreWallRange+608
	bwlt %r11,%r6,R_StoreWallRange+672
	nop 0
	nop 0
;R_StoreWallRange+624
	ldafr %r11,screenheightarray
	std %r11,%r13,40
	nop 2
;R_StoreWallRange+640
	ldi.l %r11,-2147483648
	stw %r11,%r13,36
;R_StoreWallRange+656
	ori %r11,%r12,2
	stw %r11,%r13,28
	nop 0
;R_StoreWallRange+672
	subws %r19,%r15,%r7
	stwr %r19,worldhigh
	ldwz %r18,%r2,0
;R_StoreWallRange+688
	subws %r17,%r18,%r7
	stwr %r17,worldlow
	ldhs %r11,%r5,10
;R_StoreWallRange+704
	ldwzr %r12,skyflatnum
	andi %r16,%r11,65535
	bwne %r12,%r11,R_StoreWallRange+752
;R_StoreWallRange+720
	ldhz %r11,%r2,10
	bwne %r16,%r11,R_StoreWallRange+752
	stwr %r19,worldtop
;R_StoreWallRange+736
	mov %r4,%r19
	nop 0
	nop 0
;R_StoreWallRange+752
	ldi %r12,1
	mov %r11,%r12
	bwne %r18,%r14,R_StoreWallRange+816
;R_StoreWallRange+768
	ldhz %r20,%r2,8
	ldhz %r21,%r5,8
	mov %r11,%r12
;R_StoreWallRange+784
	bwne %r20,%r21,R_StoreWallRange+816
	ldhz %r11,%r2,12
	ldhz %r20,%r5,12
;R_StoreWallRange+800
	cmpwne %r11,%r11,%r20
	nop 0
	nop 0
;R_StoreWallRange+816
	stwr %r11,markfloor
	bwne %r19,%r4,R_StoreWallRange+864
	ldhz %r20,%r2,10
;R_StoreWallRange+832
	bwne %r20,%r16,R_StoreWallRange+864
	ldhz %r12,%r2,12
	ldhz %r16,%r5,12
;R_StoreWallRange+848
	cmpwne %r12,%r12,%r16
	nop 0
	nop 0
;R_StoreWallRange+864
	stwr %r12,markceiling
	ldwz %r16,%r5,0
	bwle %r15,%r16,R_StoreWallRange+896
;R_StoreWallRange+880
	ldwz %r15,%r2,0
	bwlt %r15,%r6,R_StoreWallRange+928
	nop 0
;R_StoreWallRange+896
	ldi %r11,1
	stwr %r11,markfloor
	stwr %r11,markceiling
;R_StoreWallRange+912
	mov %r12,%r11
	nop 0
	nop 0
;R_StoreWallRange+928
	mov %r16,%gz
	lddzr %r15,sidedef
	bwle %r4,%r19,R_StoreWallRange+1024
;R_StoreWallRange+944
	lddzr %r16,texturetranslation
	ldhs %r20,%r15,8
	ldwzx.xd %r16,%r16,%r20,2,0
;R_StoreWallRange+960
	lddzr %r21,linedef
	stwr %r16,toptexture
	ldbz %r22,%r21,24
;R_StoreWallRange+976
	mov %r21,%r4
	bbsi %r22,3,R_StoreWallRange+1008
	lddzr %r21,textureheight
;R_StoreWallRange+992
	ldwzx.xd %r20,%r21,%r20,2,0
	addws %r21,%r19,%r20
	nop 0
;R_StoreWallRange+1008
	stwr %r21,rw_toptexturemid
	nop 0
	nop 0
;R_StoreWallRange+1024
	bwle %r18,%r14,R_StoreWallRange+1264
	lddzr %r14,texturetranslation
	ldhs %r18,%r15,10
;R_StoreWallRange+1040
	ldwzx.xd %r14,%r14,%r18,2,0
	lddzr %r18,linedef
	stwr %r14,bottomtexture
;R_StoreWallRange+1056
	ldbz %r18,%r18,24
	andi %r18,%r18,16
	cmovweq %r17,%r18,%r17,%r4
;R_StoreWallRange+1072
	jmp R_StoreWallRange+1280
	nop 0
	nop 0
;R_StoreWallRange+1088
	lddzr %r15,sidedef
	lddzr %r11,texturetranslation
	ldhs %r14,%r15,12
;R_StoreWallRange+1104
	ldwzx.xd %r16,%r11,%r14,2,0
	lddzr %r12,linedef
	stwr %r16,midtexture
;R_StoreWallRange+1120
	ldi %r11,1
	stwr %r11,markceiling
	stwr %r11,markfloor
;R_StoreWallRange+1136
	ldbz %r17,%r12,24
	mov %r12,%r4
	bbci %r17,4,R_StoreWallRange+1184
;R_StoreWallRange+1152
	lddzr %r12,textureheight
	ldwz %r17,%r5,0
	ldwzx.xd %r12,%r12,%r14,2,0
;R_StoreWallRange+1168
	subws %r14,%r17,%r7
	addws %r12,%r14,%r12
	nop 0
;R_StoreWallRange+1184
	ldwz %r18,%r15,4
	mov2 %r17,%r14,%gz,%gz
	addws %r12,%r18,%r12
;R_StoreWallRange+1200
	stwr %r12,rw_midtexturemid
	ldi %r12,3
	stw %r12,%r13,28
;R_StoreWallRange+1216
	ldafr %r12,screenheightarray
	std %r12,%r13,40
	ldafr %r12,negonearray
;R_StoreWallRange+1232
	std %r12,%r13,48
	ldi.l %r12,-9223372034707292161
;R_StoreWallRange+1248
	std %r12,%r13,32
	mov %r12,%r11
	jmp R_StoreWallRange+1408
;R_StoreWallRange+1264
	mov %r14,%gz
	ldwzr %r17,rw_bottomtexturemid
	nop 0
;R_StoreWallRange+1280
	ldwz %r18,%r15,4
	ldwzr %r19,rw_toptexturemid
	addws %r19,%r19,%r18
;R_StoreWallRange+1296
	stwr %r19,rw_toptexturemid
	addws %r17,%r17,%r18
	stwr %r17,rw_bottomtexturemid
;R_StoreWallRange+1312
	ldhz %r17,%r15,12
	bweq %r17,%gz,R_StoreWallRange+1392
	ldwzr %r18,rw_x
;R_StoreWallRange+1328
	lddzr %r19,lastopening
	ldi %r17,1
	sraiw %r20,%r18,0
;R_StoreWallRange+1344
	stwr %r17,maskedtexture
	slsub %r20,%r19,%r20,1
	stdr %r20,maskedtexturecol
;R_StoreWallRange+1360
	std %r20,%r13,56
	ldwzr %r13,rw_stopx
	subws %r13,%r13,%r18
;R_StoreWallRange+1376
	ldax.xw %r13,%r19,%r13,1,0
	stdr %r13,lastopening
	jmp R_StoreWallRange+1408
;R_StoreWallRange+1392
	mov %r17,%gz
	nop 0
	nop 0
;R_StoreWallRange+1408
	or %r13,%r16,%r14
	or %r13,%r13,%r17
	stwr %r13,segtextured
;R_StoreWallRange+1424
	bweq %r13,%gz,R_StoreWallRange+1584
	ldwzr %r13,rw_normalangle
	ldwzr %r14,rw_angle1
;R_StoreWallRange+1440
	subws %r14,%r13,%r14
	cmpwgtui.l %r16,%r14,2147483648
;R_StoreWallRange+1456
	subfiws %r17,%r14,0
	cmovlsb %r16,%r16,%r17,%r14
	minuw %r8,%r16,%r8
;R_StoreWallRange+1472
	srliw %r8,%r8,19
	ldwsx.xuw %r8,%r9,%r8,2,0
	mul %r8,%r8,%r10
;R_StoreWallRange+1488
	srli %r9,%r8,16
	subfiws %r10,%r9,0
	lddzr %r8,curline
;R_StoreWallRange+1504
	cmovwlt %r9,%r14,%r9,%r10
	stwr %r9,rw_offset
	ldwz %r10,%r15,0
;R_StoreWallRange+1520
	ldwz %r14,%r8,16
	addws %r10,%r14,%r10
	ldwzr %r14,viewangle
;R_StoreWallRange+1536
	addws %r9,%r10,%r9
	lddzr %r10,fixedcolormap
	stwr %r9,rw_offset
;R_StoreWallRange+1552
	subws %r9,%r14,%r13
	addiws.l %r9,%r9,1073741824
;R_StoreWallRange+1568
	stwr %r9,rw_centerangle
	bdeq %r10,%gz,R_StoreWallRange+2448
	nop 0
;R_StoreWallRange+1584
	ldwz %r8,%r5,0
	bwlt %r8,%r7,R_StoreWallRange+1616
	nop 0
;R_StoreWallRange+1600
	mov %r11,%gz
	stwr %gz,markfloor
	nop 0
;R_StoreWallRange+1616
	bwlt %r7,%r6,R_StoreWallRange+1648
	ldhs %r5,%r5,10
	ldwzr %r6,skyflatnum
;R_StoreWallRange+1632
	bweq %r6,%r5,R_StoreWallRange+1648
	mov %r12,%gz
	stwr %gz,markceiling
;R_StoreWallRange+1648
	sraiw %r6,%r4,4
	ldwsr %r4,rw_scalestep
	stwr %r6,worldtop
;R_StoreWallRange+1664
	sraiw %r3,%r3,4
	stwr %r3,worldbottom
	mul %r5,%r4,%r6
;R_StoreWallRange+1680
	ldwzr %r7,centeryfrac
	srli %r5,%r5,16
	subfiws %r5,%r5,0
;R_StoreWallRange+1696
	stwr %r5,topstep
	sraiw %r5,%r7,4
	sraiw %r7,%r26,0
;R_StoreWallRange+1712
	mul %r8,%r7,%r6
	srli %r8,%r8,16
	subws %r8,%r5,%r8
;R_StoreWallRange+1728
	stwr %r8,topfrac
	mul %r8,%r4,%r3
	srli %r8,%r8,16
;R_StoreWallRange+1744
	subfiws %r8,%r8,0
	stwr %r8,bottomstep
	mul %r8,%r7,%r3
;R_StoreWallRange+1760
	srli %r8,%r8,16
	subws %r8,%r5,%r8
	stwr %r8,bottomfrac
;R_StoreWallRange+1776
	bdeq %r2,%gz,R_StoreWallRange+1936
	ldwzr %r2,worldhigh
	ldwzr %r9,worldlow
;R_StoreWallRange+1792
	sraiw %r8,%r2,4
	stwr %r8,worldhigh
	sraiw %r2,%r9,4
;R_StoreWallRange+1808
	stwr %r2,worldlow
	bwle %r6,%r8,R_StoreWallRange+1872
	sraiw %r6,%r8,0
;R_StoreWallRange+1824
	mul %r8,%r6,%r7
	srli %r8,%r8,16
	subws %r8,%r5,%r8
;R_StoreWallRange+1840
	stwr %r8,pixhigh
	mul %r6,%r6,%r4
	srli %r6,%r6,16
;R_StoreWallRange+1856
	subfiws %r6,%r6,0
	stwr %r6,pixhighstep
	nop 0
;R_StoreWallRange+1872
	bwle %r2,%r3,R_StoreWallRange+1936
	sraiw %r2,%r2,0
	mul %r3,%r2,%r7
;R_StoreWallRange+1888
	srli %r3,%r3,16
	subws %r3,%r5,%r3
	stwr %r3,pixlow
;R_StoreWallRange+1904
	mul %r2,%r2,%r4
	srli %r2,%r2,16
	subfiws %r2,%r2,0
;R_StoreWallRange+1920
	stwr %r2,pixlowstep
	nop 0
	nop 0
;R_StoreWallRange+1936
	bweq %r12,%gz,R_StoreWallRange+1984
	ldwzr %r2,rw_stopx
	lddzr %r24,ceilingplane
;R_StoreWallRange+1952
	ldwzr %r25,rw_x
	addiws %r26,%r2,-1
	callr %r23,R_CheckPlane
;R_StoreWallRange+1968
	stdr %r24,ceilingplane
	ldwzr %r11,markfloor
	nop 0
;R_StoreWallRange+1984
	bweq %r11,%gz,R_StoreWallRange+2032
	ldwzr %r2,rw_stopx
	lddzr %r24,floorplane
;R_StoreWallRange+2000
	ldwzr %r25,rw_x
	addiws %r26,%r2,-1
	callr %r23,R_CheckPlane
;R_StoreWallRange+2016
	stdr %r24,floorplane
	nop 0
	nop 0
;R_StoreWallRange+2032
	sraiw %r3,%r1,0
	callr %r26,R_RenderSegLoop
	lddzr %r2,ds_p
;R_StoreWallRange+2048
	ldwz %r5,%r2,28
	ldwzr %r4,maskedtexture
	andi %r6,%r5,2
;R_StoreWallRange+2064
	or %r6,%r6,%r4
	bweq %r6,%gz,R_StoreWallRange+2192
	lddz %r6,%r2,40
;R_StoreWallRange+2080
	bdne %r6,%gz,R_StoreWallRange+2208
	ldwzr %r2,rw_stopx
	ldafr %r4,ceilingclip
;R_StoreWallRange+2096
	lddzr %r24,lastopening
	sladd %r25,%r4,%r3,1
	subws %r2,%r2,%r1
;R_StoreWallRange+2112
	slliw %r2,%r2,1
	sraiw %r26,%r2,0
	callr %r23,memcpy
;R_StoreWallRange+2128
	lddzr %r4,lastopening
	lddzr %r2,ds_p
	slsub %r5,%r4,%r3,1
;R_StoreWallRange+2144
	std %r5,%r2,40
	ldwzr %r5,rw_stopx
	subws %r5,%r5,%r1
;R_StoreWallRange+2160
	ldax.xw %r4,%r4,%r5,1,0
	stdr %r4,lastopening
	ldwz %r5,%r2,28
;R_StoreWallRange+2176
	ldwzr %r4,maskedtexture
	jmp R_StoreWallRange+2208
	nop 0
;R_StoreWallRange+2192
	mov %r4,%gz
	nop 0
	nop 0
;R_StoreWallRange+2208
	andi %r5,%r5,1
	or %r5,%r5,%r4
	bweq %r5,%gz,R_StoreWallRange+2416
;R_StoreWallRange+2224
	lddz %r5,%r2,48
	bdne %r5,%gz,R_StoreWallRange+2336
	ldwzr %r2,rw_stopx
;R_StoreWallRange+2240
	ldafr %r4,floorclip
	lddzr %r24,lastopening
	sladd %r25,%r4,%r3,1
;R_StoreWallRange+2256
	subws %r2,%r2,%r1
	slliw %r2,%r2,1
	sraiw %r26,%r2,0
;R_StoreWallRange+2272
	callr %r23,memcpy
	lddzr %r4,lastopening
	lddzr %r2,ds_p
;R_StoreWallRange+2288
	slsub %r3,%r4,%r3,1
	std %r3,%r2,48
	ldwzr %r3,rw_stopx
;R_StoreWallRange+2304
	subws %r1,%r3,%r1
	ldax.xw %r1,%r4,%r1,1,0
	stdr %r1,lastopening
;R_StoreWallRange+2320
	ldwzr %r4,maskedtexture
	nop 0
	nop 0
;R_StoreWallRange+2336
	bweq %r4,%gz,R_StoreWallRange+2416
	ldwz %r1,%r2,28
	bbsi %r1,1,R_StoreWallRange+2384
;R_StoreWallRange+2352
	ori %r1,%r1,2
	stw %r1,%r2,28
	nop 2
;R_StoreWallRange+2368
	ldi.l %r3,-2147483648
	stw %r3,%r2,36
;R_StoreWallRange+2384
	bbsi %r1,0,R_StoreWallRange+2416
	ori %r1,%r1,1
	stw %r1,%r2,28
;R_StoreWallRange+2400
	ldi.l %r1,2147483647
	stw %r1,%r2,32
;R_StoreWallRange+2416
	addi %r1,%r2,64
	stdr %r1,ds_p
	nop 0
;R_StoreWallRange+2432
	retf 16
	nop 0
	nop 0
;R_StoreWallRange+2448
	lddz %r9,%r8,0
	lddz %r10,%r8,8
	ldhs %r8,%r5,12
;R_StoreWallRange+2464
	ldwzr %r13,extralight
	ldwz %r14,%r9,4
	ldwz %r15,%r10,4
;R_StoreWallRange+2480
	sraiw %r8,%r8,4
	addws %r8,%r13,%r8
	bwne %r14,%r15,R_StoreWallRange+2640
;R_StoreWallRange+2496
	ldi %r9,-1
	addws %r8,%r8,%r9
	bwlt %r8,%gz,R_StoreWallRange+2672
;R_StoreWallRange+2512
	bwltui %r8,16,R_StoreWallRange+2688
	ldafr %r8,scalelight+5760
	jmp R_StoreWallRange+2720
;R_StoreWallRange+2528
	ldi.l %r17,-2147483648
	nop 0
;R_StoreWallRange+2544
	ori %r12,%r12,2
	stw %r12,%r13,28
	stw %r17,%r13,36
;R_StoreWallRange+2560
	bwlt %r16,%r15,R_StoreWallRange+608
	nop 0
	nop 0
;R_StoreWallRange+2576
	ldafr %r16,negonearray
	std %r16,%r13,48
	nop 2
;R_StoreWallRange+2592
	ldi.l %r16,2147483647
	stw %r16,%r13,32
;R_StoreWallRange+2608
	ori %r12,%r12,1
	stw %r12,%r13,28
	bwle %r6,%r11,R_StoreWallRange+624
;R_StoreWallRange+2624
	jmp R_StoreWallRange+672
	nop 0
	nop 0
;R_StoreWallRange+2640
	ldwz %r9,%r9,0
	ldwz %r10,%r10,0
	cmpweq %r9,%r9,%r10
;R_StoreWallRange+2656
	addws %r8,%r8,%r9
	bwle %gz,%r8,R_StoreWallRange+2512
	nop 0
;R_StoreWallRange+2672
	ldafr %r8,scalelight
	jmp R_StoreWallRange+2720
	nop 0
;R_StoreWallRange+2688
	srliw %r8,%r8,0
	ldafr %r9,scalelight
	ldi %r10,384
;R_StoreWallRange+2704
	muladd %r8,%r8,%r10,%r9
	nop 0
	nop 0
;R_StoreWallRange+2720
	stdr %r8,walllights
	ldwz %r8,%r5,0
	bwle %r7,%r8,R_StoreWallRange+1600
;R_StoreWallRange+2736
	jmp R_StoreWallRange+1616
	nop 0
	nop 0
;R_InitSkyMap
	alloc 2
	ldi %r1,6553600
	stwr %r1,skytexturemid
;R_InitSkyMap+16
	retf 0
	nop 0
	nop 0
;R_InstallSpriteLump
	allocsp 11,16
	bwgeui %r2,29,R_InstallSpriteLump+16
	bwltui %r3,9,R_InstallSpriteLump+32
;R_InstallSpriteLump+16
	ldafr %r10,.rodata+5312
	stw %r1,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+32
	ldwzr %r5,maxframe
	bwle %r2,%r5,R_InstallSpriteLump+48
	stwr %r2,maxframe
;R_InstallSpriteLump+48
	srliw %r6,%r2,0
	ldafr %r7,sprtemp
	ldi %r5,28
;R_InstallSpriteLump+64
	muladd %r5,%r6,%r5,%r7
	muli %r6,%r6,28
	ldwzx.xd %r7,%r6,%r7,0,0
;R_InstallSpriteLump+80
	bweq %r3,%gz,R_InstallSpriteLump+240
	addiws %r6,%r2,65
	bwne %r7,%gz,R_InstallSpriteLump+128
;R_InstallSpriteLump+96
	lddzr %r2,spritename
	stw %r6,%sp,8
	ldafr %r10,.rodata+3579
;R_InstallSpriteLump+112
	std %r2,%sp,0
	callr %r9,I_Error
	nop 0
;R_InstallSpriteLump+128
	ldi %r2,1
	stw %r2,%r5,0
	addiws %r2,%r3,-1
;R_InstallSpriteLump+144
	ldax.xuw %r7,%r5,%r2,1,4
	ldhzx.xuw %r2,%r5,%r2,1,4
	addiwz %r8,%r3,-1
;R_InstallSpriteLump+160
	bweqi.l %r2,65535,R_InstallSpriteLump+208
	lddzr %r2,spritename
;R_InstallSpriteLump+176
	addiws %r3,%r3,48
	stw %r3,%sp,12
	stw %r6,%sp,8
;R_InstallSpriteLump+192
	ldafr %r10,.rodata+8423
	std %r2,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+208
	ldwzr %r2,firstspritelump
	subws %r1,%r1,%r2
	sth %r1,%r7,0
;R_InstallSpriteLump+224
	stbx.xd %r4,%r5,%r8,0,20
	retf 16
	nop 0
;R_InstallSpriteLump+240
	bweq %r7,%gz,R_InstallSpriteLump+352
	bwnei %r7,1,R_InstallSpriteLump+288
	nop 0
;R_InstallSpriteLump+256
	lddzr %r3,spritename
	addiws %r2,%r2,65
	stw %r2,%sp,8
;R_InstallSpriteLump+272
	ldafr %r10,.rodata+3579
	std %r3,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+288
	ldwzr %r3,firstspritelump
	mov %r2,%gz
	stw %gz,%r5,0
;R_InstallSpriteLump+304
	subws %r1,%r1,%r3
	addi %r3,%r5,4
	addi %r5,%r5,20
;R_InstallSpriteLump+320
	sth %r1,%r3,0
	stbx.xd %r4,%r5,%r2,0,0
	addi %r2,%r2,1
;R_InstallSpriteLump+336
	addi %r3,%r3,2
	bdnei %r2,8,R_InstallSpriteLump+320
	retf 16
;R_InstallSpriteLump+352
	lddzr %r3,spritename
	addiws %r6,%r2,65
	stw %r6,%sp,8
;R_InstallSpriteLump+368
	ldafr %r10,.rodata+18228
	std %r3,%sp,0
	callr %r9,I_Error
;R_InstallSpriteLump+384
	ldwz %r7,%r5,0
	bweqi %r7,1,R_InstallSpriteLump+256
	jmp R_InstallSpriteLump+288
;R_InitSpriteDefs
	allocsp 28,16
	mov %r2,%gz
	ldi %r3,-1
;R_InitSpriteDefs+16
	lddzx.xd %r4,%r1,%r2,0,0
	addi %r2,%r2,8
	addi %r3,%r3,1
;R_InitSpriteDefs+32
	bdne %r4,%gz,R_InitSpriteDefs+16
	stwr %r3,numsprites
	bweq %r3,%gz,R_InitSpriteDefs+768
;R_InitSpriteDefs+48
	addi %r2,%r2,-8
	slliw %r2,%r2,1
	andi %r25,%r2,-16
;R_InitSpriteDefs+64
	ldi %r26,1
	mov %r27,%gz
	callr %r24,Z_Malloc
;R_InitSpriteDefs+80
	ldwzr %r2,numsprites
	stdr %r25,sprites
	bwlti %r2,1,R_InitSpriteDefs+768
;R_InitSpriteDefs+96
	ldwzr %r12,firstspritelump
	ldwzr %r13,lastspritelump
	mov %r14,%gz
;R_InitSpriteDefs+112
	sraiw %r15,%r12,0
	addiws %r16,%r13,1
	muli %r17,%r15,40
;R_InitSpriteDefs+128
	ldafr %r2,sprtemp
	ldi %r3,255
	ldi %r4,812
;R_InitSpriteDefs+144
	ldi %r18,-1
	ldi %r5,4
	ldi %r6,1
;R_InitSpriteDefs+160
	ldafr %r19,sprtemp+4
	ldafr %r7,.rodata+21243
	ldafr %r8,.rodata+25781
;R_InitSpriteDefs+176
	jmp R_InitSpriteDefs+224
	nop 0
	nop 0
;R_InitSpriteDefs+192
	lddzr %r9,sprites
	stwx.xd %gz,%r9,%r14,4,0
	nop 0
;R_InitSpriteDefs+208
	ldwsr %r9,numsprites
	addi %r14,%r14,1
	bdle %r9,%r14,R_InitSpriteDefs+768
;R_InitSpriteDefs+224
	lddzx.xd %r9,%r1,%r14,3,0
	stdr %r9,spritename
	mov2 %r25,%r26,%r2,%r3
;R_InitSpriteDefs+240
	mov %r27,%r4
	callr %r24,memset
	stwr %r18,maxframe
;R_InitSpriteDefs+256
	bwlt %r13,%r12,R_InitSpriteDefs+192
	lddzr %r21,lumpinfo
	mov2 %r20,%r9,%r17,%r15
;R_InitSpriteDefs+272
	jmp R_InitSpriteDefs+304
	nop 0
	nop 0
;R_InitSpriteDefs+288
	addi %r9,%r9,1
	addi %r20,%r20,40
	bweq %r16,%r9,R_InitSpriteDefs+464
;R_InitSpriteDefs+304
	add %r10,%r21,%r20
	lddzr %r26,spritename
	mov2 %r25,%r27,%r10,%r5
;R_InitSpriteDefs+320
	callr %r24,strncasecmp
	bwne %r25,%gz,R_InitSpriteDefs+288
	ldwzr %r22,modifiedgame
;R_InitSpriteDefs+336
	ldbsx.xd %r11,%r21,%r20,0,4
	ldbsx.xd %r21,%r21,%r20,0,5
	mov %r24,%r9
;R_InitSpriteDefs+352
	bweq %r22,%gz,R_InitSpriteDefs+384
	mov %r27,%r10
	callr %r26,W_GetNumForName
;R_InitSpriteDefs+368
	mov %r24,%r27
	nop 0
	nop 0
;R_InitSpriteDefs+384
	addiws %r25,%r11,-65
	addiws %r26,%r21,-48
	mov %r27,%gz
;R_InitSpriteDefs+400
	callr %r23,R_InstallSpriteLump
	lddzr %r21,lumpinfo
	ldbsx.xd %r10,%r21,%r20,0,6
;R_InitSpriteDefs+416
	bweq %r10,%gz,R_InitSpriteDefs+288
	ldbsx.xd %r11,%r21,%r20,0,7
	addiws %r25,%r10,-65
;R_InitSpriteDefs+432
	addiws %r26,%r11,-48
	mov2 %r24,%r27,%r9,%r6
	callr %r23,R_InstallSpriteLump
;R_InitSpriteDefs+448
	lddzr %r21,lumpinfo
	jmp R_InitSpriteDefs+288
	nop 0
;R_InitSpriteDefs+464
	ldwzr %r10,maxframe
	bweqi %r10,-1,R_InitSpriteDefs+192
	addiws %r9,%r10,1
;R_InitSpriteDefs+480
	stwr %r9,maxframe
	bwlt %r10,%gz,R_InitSpriteDefs+688
	mov2 %r10,%r11,%gz,%r19
;R_InitSpriteDefs+496
	jmp R_InitSpriteDefs+576
	nop 0
	nop 0
;R_InitSpriteDefs+512
	lddzr %r9,spritename
	addiws %r20,%r10,65
	std %r9,%sp,0
;R_InitSpriteDefs+528
	stw %r20,%sp,8
	mov %r27,%r7
	callr %r26,I_Error
;R_InitSpriteDefs+544
	ldwzr %r9,maxframe
	addi %r10,%r10,1
	sraiw %r20,%r9,0
;R_InitSpriteDefs+560
	addi %r11,%r11,28
	bdle %r20,%r10,R_InitSpriteDefs+688
	nop 0
;R_InitSpriteDefs+576
	muli %r9,%r10,28
	ldwzx.xd %r9,%r9,%r2,0,0
	bweqi %r9,-1,R_InitSpriteDefs+512
;R_InitSpriteDefs+592
	bwnei %r9,1,R_InitSpriteDefs+544
	mov %r20,%gz
	addiws %r21,%r10,65
;R_InitSpriteDefs+608
	jmp R_InitSpriteDefs+640
	nop 0
	nop 0
;R_InitSpriteDefs+624
	addi %r20,%r20,2
	bdeqi %r20,16,R_InitSpriteDefs+544
	nop 0
;R_InitSpriteDefs+640
	ldhzx.xd %r9,%r11,%r20,0,0
	bwnei.l %r9,65535,R_InitSpriteDefs+624
;R_InitSpriteDefs+656
	lddzr %r9,spritename
	stw %r21,%sp,8
	std %r9,%sp,0
;R_InitSpriteDefs+672
	mov %r27,%r8
	callr %r26,I_Error
	jmp R_InitSpriteDefs+624
;R_InitSpriteDefs+688
	lddzr %r10,sprites
	stwx.xd %r9,%r10,%r14,4,0
	ldwzr %r9,maxframe
;R_InitSpriteDefs+704
	mulwsi %r25,%r9,28
	mov2 %r26,%r27,%r6,%gz
	callr %r24,Z_Malloc
;R_InitSpriteDefs+720
	lddzr %r9,sprites
	stdx.xd %r25,%r9,%r14,4,8
	lddzr %r9,sprites
;R_InitSpriteDefs+736
	ldwsr %r10,maxframe
	lddzx.xd %r25,%r9,%r14,4,8
	muli %r27,%r10,28
;R_InitSpriteDefs+752
	mov %r26,%r2
	callr %r24,memcpy
	jmp R_InitSpriteDefs+208
;R_InitSpriteDefs+768
	retf 16
	nop 0
	nop 0
;R_InitSprites
	alloc 6
	ldafr %r3,negonearray
	ldi %r4,255
;R_InitSprites+16
	ldi %r5,640
	callr %r2,memset
	mov %r5,%r1
;R_InitSprites+32
	callr %r4,R_InitSpriteDefs
	retf 0
	nop 0
;R_ClearSprites
	alloc 2
	ldafr %r1,vissprites
	stdr %r1,vissprite_p
;R_ClearSprites+16
	retf 0
	nop 0
	nop 0
;R_NewVisSprite
	alloc 3
	lddzr %r1,vissprite_p
	ldafr %r2,vissprite_p
;R_NewVisSprite+16
	bdeq %r1,%r2,R_NewVisSprite+48
	addi %r2,%r1,80
	stdr %r2,vissprite_p
;R_NewVisSprite+32
	retf 0
	nop 0
	nop 0
;R_NewVisSprite+48
	ldafr %r1,overflowsprite
	retf 0
	nop 0
;R_DrawMaskedColumn
	alloc 14
	ldbz %r8,%r1,0
	ldwzr %r3,dc_texturemid
;R_DrawMaskedColumn+16
	bweqi %r8,255,R_DrawMaskedColumn+272
	ldwzr %r2,sprtopscreen
	ldwzr %r4,spryscale
;R_DrawMaskedColumn+32
	lddzr %r5,mfloorclip
	ldwzr %r6,dc_x
	jmp R_DrawMaskedColumn+80
;R_DrawMaskedColumn+48
	andi %r7,%r7,255
	ldax.xd %r9,%r1,%r7,0,4
	ldbzx.xd %r8,%r1,%r7,0,4
;R_DrawMaskedColumn+64
	mov %r1,%r9
	bweqi %r8,255,R_DrawMaskedColumn+272
	nop 0
;R_DrawMaskedColumn+80
	ldbz %r7,%r1,1
	andi %r8,%r8,255
	mulws %r9,%r4,%r8
;R_DrawMaskedColumn+96
	addws %r10,%r9,%r2
	mulws %r11,%r4,%r7
	addiws %r9,%r10,65535
;R_DrawMaskedColumn+112
	sraiw %r9,%r9,16
	stwr %r9,dc_yl
	addws %r10,%r10,%r11
;R_DrawMaskedColumn+128
	addiws %r10,%r10,-1
	sraiw %r10,%r10,16
	stwr %r10,dc_yh
;R_DrawMaskedColumn+144
	ldhsx.xw %r11,%r5,%r6,1,0
	bwlt %r10,%r11,R_DrawMaskedColumn+176
	addiws %r10,%r11,-1
;R_DrawMaskedColumn+160
	stwr %r10,dc_yh
	nop 0
	nop 0
;R_DrawMaskedColumn+176
	lddzr %r11,mceilingclip
	sraiw %r12,%r6,0
	ldhsx.xd %r11,%r11,%r12,1,0
;R_DrawMaskedColumn+192
	bwlt %r11,%r9,R_DrawMaskedColumn+208
	addiws %r9,%r11,1
	stwr %r9,dc_yl
;R_DrawMaskedColumn+208
	bwlt %r10,%r9,R_DrawMaskedColumn+48
	addi %r2,%r1,3
	stdr %r2,dc_source
;R_DrawMaskedColumn+224
	slsubws %r2,%r3,%r8,16
	stwr %r2,dc_texturemid
	callplt %r13,colfunc
;R_DrawMaskedColumn+240
	ldwzr %r2,sprtopscreen
	ldwzr %r4,spryscale
	lddzr %r5,mfloorclip
;R_DrawMaskedColumn+256
	ldwzr %r6,dc_x
	ldbz %r7,%r1,1
	jmp R_DrawMaskedColumn+48
;R_DrawMaskedColumn+272
	stwr %r3,dc_texturemid
	retf 0
	nop 0
;R_DrawVisSprite
	alloc 13
	ldwz %r2,%r1,56
	ldwzr %r3,firstspritelump
;R_DrawVisSprite+16
	addws %r11,%r3,%r2
	ldi %r12,8
	callr %r10,W_CacheLumpNum
;R_DrawVisSprite+32
	lddz %r3,%r1,64
	mov %r2,%r11
	stdr %r3,dc_colormap
;R_DrawVisSprite+48
	bdeq %r3,%gz,R_DrawVisSprite+128
	ldwz %r3,%r1,72
	nop 2
;R_DrawVisSprite+64
	andi.l %r4,%r3,201326592
	bweq %r4,%gz,R_DrawVisSprite+144
;R_DrawVisSprite+80
	lddzr %r4,transcolfunc
	lddzr %r5,translationtables
	stdr %r4,colfunc
;R_DrawVisSprite+96
	srliw %r3,%r3,18
	andi %r3,%r3,768
	ldax.xuw %r3,%r5,%r3,0,-256
;R_DrawVisSprite+112
	stdr %r3,dc_translation
	jmp R_DrawVisSprite+144
	nop 0
;R_DrawVisSprite+128
	lddzr %r3,fuzzcolfunc
	stdr %r3,colfunc
	nop 0
;R_DrawVisSprite+144
	ldwz %r3,%r1,48
	ldwzr %r4,detailshift
	absdw %r3,%r3,%gz
;R_DrawVisSprite+160
	srlw %r3,%r3,%r4
	stwr %r3,dc_iscale
	ldwz %r3,%r1,52
;R_DrawVisSprite+176
	stwr %r3,dc_texturemid
	ldwz %r4,%r1,44
	ldwz %r5,%r1,40
;R_DrawVisSprite+192
	stwr %r4,spryscale
	ldwzr %r6,centeryfrac
	sraiw %r3,%r3,0
;R_DrawVisSprite+208
	sraiw %r4,%r4,0
	mul %r3,%r4,%r3
	srli %r3,%r3,16
;R_DrawVisSprite+224
	subws %r3,%r6,%r3
	stwr %r3,sprtopscreen
	ldwz %r3,%r1,16
;R_DrawVisSprite+240
	stwr %r3,dc_x
	ldwz %r4,%r1,20
	bwle %r3,%r4,R_DrawVisSprite+272
;R_DrawVisSprite+256
	lddzr %r1,basecolfunc
	stdr %r1,colfunc
	retf 0
;R_DrawVisSprite+272
	addi %r6,%r2,8
	ldafr %r3,.rodata+23723
	jmp R_DrawVisSprite+400
;R_DrawVisSprite+288
	mov %r12,%r3
	callr %r11,I_Error
	nop 0
;R_DrawVisSprite+304
	ldbzx.xw %r4,%r6,%r7,2,1
	ldbzx.xw %r8,%r6,%r7,2,0
	ldbsx.xw %r9,%r6,%r7,2,3
;R_DrawVisSprite+320
	ldbzx.xw %r7,%r6,%r7,2,2
	slli %r9,%r9,24
	slor %r4,%r8,%r4,8
;R_DrawVisSprite+336
	slor %r7,%r9,%r7,16
	or %r4,%r7,%r4
	add %r12,%r2,%r4
;R_DrawVisSprite+352
	callr %r11,R_DrawMaskedColumn
	ldwzr %r4,dc_x
	addiws %r7,%r4,1
;R_DrawVisSprite+368
	stwr %r7,dc_x
	ldwz %r7,%r1,48
	ldwz %r8,%r1,20
;R_DrawVisSprite+384
	addws %r5,%r7,%r5
	bwle %r8,%r4,R_DrawVisSprite+256
	nop 0
;R_DrawVisSprite+400
	sraiw %r7,%r5,16
	bwlt %r7,%gz,R_DrawVisSprite+288
	ldbs %r4,%r2,1
;R_DrawVisSprite+416
	ldbz %r8,%r2,0
	slor %r4,%r8,%r4,8
	bwle %r4,%r7,R_DrawVisSprite+288
;R_DrawVisSprite+432
	jmp R_DrawVisSprite+304
	nop 0
	nop 0
;R_ProjectSprite
	allocsp 15,16
	ldwz %r2,%r1,24
	ldwzr %r3,viewx
;R_ProjectSprite+16
	ldwz %r5,%r1,28
	ldwsr %r6,viewcos
	ldwzr %r7,viewy
;R_ProjectSprite+32
	subws %r4,%r2,%r3
	ldwsr %r2,viewsin
	mul %r3,%r6,%r4
;R_ProjectSprite+48
	srli %r3,%r3,16
	subws %r5,%r5,%r7
	mul %r2,%r2,%r5
;R_ProjectSprite+64
	srli %r2,%r2,16
	addws %r2,%r2,%r3
	nop 2
;R_ProjectSprite+80
	bwlti.l %r2,262144,R_ProjectSprite+944
	ldwzr %r13,projection
;R_ProjectSprite+96
	mov %r14,%r2
	callr %r12,FixedDiv
	ldwsr %r3,viewsin
;R_ProjectSprite+112
	ldwsr %r6,viewcos
	mul %r3,%r3,%r4
	srli %r4,%r3,16
;R_ProjectSprite+128
	mul %r3,%r6,%r5
	srli %r5,%r3,16
	absdw %r3,%r5,%r4
;R_ProjectSprite+144
	slliw %r6,%r2,2
	bwlt %r6,%r3,R_ProjectSprite+944
	mov %r2,%r13
;R_ProjectSprite+160
	ldwz %r3,%r1,60
	ldwzr %r6,numsprites
	bwltu %r3,%r6,R_ProjectSprite+208
;R_ProjectSprite+176
	ldafr %r14,.rodata+5365
	stw %r3,%sp,0
	callr %r13,I_Error
;R_ProjectSprite+192
	ldwz %r3,%r1,60
	nop 0
	nop 0
;R_ProjectSprite+208
	lddzr %r7,sprites
	ldax.xuw %r6,%r7,%r3,4,0
	ldwz %r8,%r1,64
;R_ProjectSprite+224
	ldwzx.xuw %r9,%r7,%r3,4,0
	andi %r7,%r8,32767
	bwlt %r7,%r9,R_ProjectSprite+272
;R_ProjectSprite+240
	stw %r8,%sp,4
	ldafr %r14,.rodata+6556
	stw %r3,%sp,0
;R_ProjectSprite+256
	callr %r13,I_Error
	ldwz %r3,%r1,64
	andi %r7,%r3,32767
;R_ProjectSprite+272
	lddz %r3,%r6,8
	srliw %r6,%r7,0
	muli %r7,%r6,28
;R_ProjectSprite+288
	ldwzx.xd %r7,%r3,%r7,0,0
	subws %r4,%r4,%r5
	ldi %r5,28
;R_ProjectSprite+304
	muladd %r5,%r6,%r5,%r3
	bweq %r7,%gz,R_ProjectSprite+384
	ldwz %r13,%r1,24
;R_ProjectSprite+320
	ldwz %r14,%r1,28
	callr %r12,R_PointToAngle
	ldwz %r3,%r1,56
;R_ProjectSprite+336
	subws %r3,%r13,%r3
	addiws.l %r3,%r3,-1879048192
;R_ProjectSprite+352
	srliw %r6,%r3,29
	ldax.xuw %r3,%r5,%r6,1,4
	ldax.xuw %r8,%r5,%r6,0,20
;R_ProjectSprite+368
	jmp R_ProjectSprite+400
	nop 0
	nop 0
;R_ProjectSprite+384
	addi %r3,%r5,4
	addi %r8,%r5,20
	nop 0
;R_ProjectSprite+400
	ldhs %r5,%r3,0
	lddzr %r3,spriteoffset
	ldwzx.xw %r3,%r3,%r5,2,0
;R_ProjectSprite+416
	subws %r9,%r4,%r3
	ldwzr %r4,centerxfrac
	sraiw %r10,%r2,0
;R_ProjectSprite+432
	mul %r6,%r9,%r10
	ldwzr %r3,viewwidth
	srli %r6,%r6,16
;R_ProjectSprite+448
	addws %r6,%r4,%r6
	sraiw %r6,%r6,16
	bwlt %r3,%r6,R_ProjectSprite+944
;R_ProjectSprite+464
	lddzr %r11,spritewidth
	sraiw %r7,%r5,0
	ldwzx.xd %r11,%r11,%r7,2,0
;R_ProjectSprite+480
	addws %r9,%r11,%r9
	mul %r9,%r9,%r10
	srli %r9,%r9,16
;R_ProjectSprite+496
	addws %r4,%r4,%r9
	sraiw %r9,%r4,16
	bwlti %r9,1,R_ProjectSprite+944
;R_ProjectSprite+512
	lddzr %r4,vissprite_p
	ldafr %r10,vissprite_p
	ldbz %r8,%r8,0
;R_ProjectSprite+528
	bdeq %r4,%r10,R_ProjectSprite+560
	addi %r10,%r4,80
	stdr %r10,vissprite_p
;R_ProjectSprite+544
	jmp R_ProjectSprite+576
	nop 0
	nop 0
;R_ProjectSprite+560
	ldafr %r4,overflowsprite
	nop 0
	nop 0
;R_ProjectSprite+576
	ldwz %r10,%r1,160
	stw %r10,%r4,72
	ldwzr %r10,detailshift
;R_ProjectSprite+592
	sllw %r10,%r2,%r10
	stw %r10,%r4,44
	ldwz %r10,%r1,24
;R_ProjectSprite+608
	stw %r10,%r4,24
	ldwz %r10,%r1,28
	stw %r10,%r4,28
;R_ProjectSprite+624
	ldwz %r10,%r1,32
	stw %r10,%r4,32
	lddzr %r11,spritetopoffset
;R_ProjectSprite+640
	ldwzx.xd %r11,%r11,%r7,2,0
	addws %r10,%r11,%r10
	stw %r10,%r4,36
;R_ProjectSprite+656
	ldwzr %r11,viewz
	subws %r10,%r10,%r11
	stw %r10,%r4,52
;R_ProjectSprite+672
	maxsw %r10,%r6,%gz
	stw %r10,%r4,16
	minsw %r3,%r9,%r3
;R_ProjectSprite+688
	addiws %r3,%r3,-1
	stw %r3,%r4,20
	ldi %r13,65536
;R_ProjectSprite+704
	mov %r14,%r2
	callr %r12,FixedDiv
	andi %r3,%r8,255
;R_ProjectSprite+720
	bweq %r3,%gz,R_ProjectSprite+752
	lddzr %r3,spritewidth
	ldwzx.xd %r3,%r3,%r7,2,0
;R_ProjectSprite+736
	addiws %r3,%r3,-1
	subfiws %r13,%r13,0
	jmp R_ProjectSprite+768
;R_ProjectSprite+752
	mov %r3,%gz
	nop 0
	nop 0
;R_ProjectSprite+768
	stw %r3,%r4,40
	stw %r13,%r4,48
	ldwz %r7,%r4,16
;R_ProjectSprite+784
	bwle %r7,%r6,R_ProjectSprite+816
	subws %r6,%r7,%r6
	mulws %r6,%r13,%r6
;R_ProjectSprite+800
	addws %r3,%r3,%r6
	stw %r3,%r4,40
	nop 0
;R_ProjectSprite+816
	stw %r5,%r4,56
	ldbz %r5,%r1,162
	mov %r3,%gz
;R_ProjectSprite+832
	bbsi %r5,2,R_ProjectSprite+928
	lddzr %r3,fixedcolormap
	bdne %r3,%gz,R_ProjectSprite+928
;R_ProjectSprite+848
	ldbz %r1,%r1,65
	bbsi %r1,7,R_ProjectSprite+912
	ldwzr %r1,detailshift
;R_ProjectSprite+864
	lddzr %r3,spritelights
	subfiws %r1,%r1,12
	sraw %r1,%r2,%r1
;R_ProjectSprite+880
	ldi %r2,47
	minsw %r1,%r1,%r2
	lddzx.xw %r3,%r3,%r1,3,0
;R_ProjectSprite+896
	jmp R_ProjectSprite+928
	nop 0
	nop 0
;R_ProjectSprite+912
	lddzr %r3,colormaps
	nop 0
	nop 0
;R_ProjectSprite+928
	std %r3,%r4,64
	nop 0
	nop 0
;R_ProjectSprite+944
	retf 16
	nop 0
	nop 0
;R_AddSprites
	alloc 7
	ldwz %r3,%r1,88
	ldwzr %r2,validcount
;R_AddSprites+16
	bweq %r3,%r2,R_AddSprites+176
	stw %r2,%r1,88
	ldhs %r2,%r1,12
;R_AddSprites+32
	ldwzr %r3,extralight
	sraiw %r2,%r2,4
	addws %r2,%r3,%r2
;R_AddSprites+48
	bwlt %r2,%gz,R_AddSprites+80
	bwltui %r2,16,R_AddSprites+96
	ldafr %r2,scalelight+5760
;R_AddSprites+64
	jmp R_AddSprites+128
	nop 0
	nop 0
;R_AddSprites+80
	ldafr %r2,scalelight
	jmp R_AddSprites+128
	nop 0
;R_AddSprites+96
	srliw %r2,%r2,0
	ldafr %r3,scalelight
	ldi %r4,384
;R_AddSprites+112
	muladd %r2,%r2,%r4,%r3
	nop 0
	nop 0
;R_AddSprites+128
	stdr %r2,spritelights
	lddz %r1,%r1,96
	bdeq %r1,%gz,R_AddSprites+176
;R_AddSprites+144
	mov %r6,%r1
	callr %r5,R_ProjectSprite
	lddz %r1,%r1,40
;R_AddSprites+160
	bdne %r1,%gz,R_AddSprites+144
	nop 0
	nop 0
;R_AddSprites+176
	retf 0
	nop 0
	nop 0
;R_DrawPSprite
	allocsp 18,96
	lddz %r2,%r1,0
	ldwz %r4,%r2,0
;R_DrawPSprite+16
	ldwzr %r3,numsprites
	bwltu %r4,%r3,R_DrawPSprite+64
	ldafr %r17,.rodata+5365
;R_DrawPSprite+32
	stw %r4,%sp,0
	callr %r16,I_Error
	lddz %r2,%r1,0
;R_DrawPSprite+48
	ldwz %r4,%r2,0
	nop 0
	nop 0
;R_DrawPSprite+64
	lddzr %r5,sprites
	ldax.xuw %r3,%r5,%r4,4,0
	ldwz %r2,%r2,4
;R_DrawPSprite+80
	ldwzx.xuw %r6,%r5,%r4,4,0
	andi %r5,%r2,32767
	bwlt %r5,%r6,R_DrawPSprite+144
;R_DrawPSprite+96
	stw %r2,%sp,4
	ldafr %r17,.rodata+6556
	stw %r4,%sp,0
;R_DrawPSprite+112
	callr %r16,I_Error
	lddz %r2,%r1,0
	ldwz %r2,%r2,4
;R_DrawPSprite+128
	andi %r5,%r2,32767
	nop 0
	nop 0
;R_DrawPSprite+144
	lddz %r6,%r3,8
	srliw %r3,%r5,0
	muli %r7,%r3,28
;R_DrawPSprite+160
	ldhsx.xd %r3,%r6,%r7,0,4
	lddzr %r4,spriteoffset
	ldwz %r5,%r1,12
;R_DrawPSprite+176
	ldwzx.xw %r8,%r4,%r3,2,0
	ldwzr %r4,pspritescale
	subws %r5,%r5,%r8
;R_DrawPSprite+192
	addiws.l %r12,%r5,-10485760
	ldwzr %r10,centerxfrac
;R_DrawPSprite+208
	sraiw %r13,%r4,0
	mul %r5,%r13,%r12
	ldwzr %r9,viewwidth
;R_DrawPSprite+224
	srli %r5,%r5,16
	addws %r5,%r10,%r5
	sraiw %r5,%r5,16
;R_DrawPSprite+240
	bwlt %r9,%r5,R_DrawPSprite+576
	lddzr %r8,spritewidth
	sraiw %r11,%r3,0
;R_DrawPSprite+256
	ldwzx.xd %r8,%r8,%r11,2,0
	addws %r12,%r8,%r12
	mul %r12,%r12,%r13
;R_DrawPSprite+272
	srli %r12,%r12,16
	addws %r10,%r10,%r12
	sraiw %r10,%r10,16
;R_DrawPSprite+288
	bwlti %r10,1,R_DrawPSprite+576
	lddzr %r12,spritetopoffset
	ldbzx.xd %r6,%r6,%r7,0,20
;R_DrawPSprite+304
	stw %gz,%sp,88
	ldwz %r1,%r1,16
	ldwzx.xd %r7,%r12,%r11,2,0
;R_DrawPSprite+320
	subws %r1,%r7,%r1
	addiws.l %r1,%r1,6586368
;R_DrawPSprite+336
	stw %r1,%sp,68
	maxsw %r1,%r5,%gz
	stw %r1,%sp,32
;R_DrawPSprite+352
	minsw %r7,%r10,%r9
	ldwzr %r9,detailshift
	addiws %r7,%r7,-1
;R_DrawPSprite+368
	ldwzr %r10,pspriteiscale
	stw %r7,%sp,36
	sllw %r4,%r4,%r9
;R_DrawPSprite+384
	andi %r6,%r6,255
	subfiws %r7,%r10,0
	addiws %r8,%r8,-1
;R_DrawPSprite+400
	stw %r4,%sp,60
	cmovweq %r4,%r6,%r10,%r7
	cmovweq %r6,%r6,%gz,%r8
;R_DrawPSprite+416
	stw %r4,%sp,64
	subws %r1,%r1,%r5
	mulws %r1,%r4,%r1
;R_DrawPSprite+432
	sraiw %r4,%r5,31
	and %r1,%r4,%r1
	lddzr %r4,viewplayer
;R_DrawPSprite+448
	addws %r1,%r6,%r1
	stw %r1,%sp,56
	stw %r3,%sp,72
;R_DrawPSprite+464
	ldwz %r1,%r4,64
	bwgei %r1,129,R_DrawPSprite+528
	andi %r3,%r1,8
;R_DrawPSprite+480
	mov %r1,%gz
	bwne %r3,%gz,R_DrawPSprite+560
	lddzr %r1,fixedcolormap
;R_DrawPSprite+496
	bdne %r1,%gz,R_DrawPSprite+560
	bbsi %r2,15,R_DrawPSprite+544
	lddzr %r1,spritelights
;R_DrawPSprite+512
	lddz %r1,%r1,376
	jmp R_DrawPSprite+560
	nop 0
;R_DrawPSprite+528
	mov %r1,%gz
	jmp R_DrawPSprite+560
	nop 0
;R_DrawPSprite+544
	lddzr %r1,colormaps
	nop 0
	nop 0
;R_DrawPSprite+560
	std %r1,%sp,80
	addi %r15,%sp,16
	callr %r14,R_DrawVisSprite
;R_DrawPSprite+576
	retf 96
	nop 0
	nop 0
;R_DrawPlayerSprites
	alloc 7
	lddzr %r1,viewplayer
	lddz %r2,%r1,0
;R_DrawPlayerSprites+16
	lddz %r2,%r2,88
	lddz %r2,%r2,0
	ldhs %r2,%r2,12
;R_DrawPlayerSprites+32
	ldwzr %r3,extralight
	sraiw %r2,%r2,4
	addws %r2,%r3,%r2
;R_DrawPlayerSprites+48
	bwlt %r2,%gz,R_DrawPlayerSprites+80
	bwltui %r2,16,R_DrawPlayerSprites+96
	ldafr %r2,scalelight+5760
;R_DrawPlayerSprites+64
	jmp R_DrawPlayerSprites+128
	nop 0
	nop 0
;R_DrawPlayerSprites+80
	ldafr %r2,scalelight
	jmp R_DrawPlayerSprites+128
	nop 0
;R_DrawPlayerSprites+96
	srliw %r2,%r2,0
	ldafr %r3,scalelight
	ldi %r4,384
;R_DrawPlayerSprites+112
	muladd %r2,%r2,%r4,%r3
	nop 0
	nop 0
;R_DrawPlayerSprites+128
	stdr %r2,spritelights
	ldafr %r2,screenheightarray
	stdr %r2,mfloorclip
;R_DrawPlayerSprites+144
	ldafr %r2,negonearray
	stdr %r2,mceilingclip
	addi %r1,%r1,272
;R_DrawPlayerSprites+160
	ldi %r2,1
	jmp R_DrawPlayerSprites+192
	nop 0
;R_DrawPlayerSprites+176
	mov %r2,%gz
	addi %r1,%r1,24
	bbci %r3,0,R_DrawPlayerSprites+224
;R_DrawPlayerSprites+192
	lddz %r4,%r1,0
	mov %r3,%r2
	bdeq %r4,%gz,R_DrawPlayerSprites+176
;R_DrawPlayerSprites+208
	mov %r6,%r1
	callr %r5,R_DrawPSprite
	jmp R_DrawPlayerSprites+176
;R_DrawPlayerSprites+224
	retf 0
	nop 0
	nop 0
;R_SortVisSprites
	allocsp 11,80
	lddzr %r3,vissprite_p
	ldafr %r4,vissprites
;R_SortVisSprites+16
	sub %r1,%r3,%r4
	srli %r1,%r1,4
	nop 2
;R_SortVisSprites+32
	mulwsi.l %r1,%r1,-858993459
	bweq %r1,%gz,R_SortVisSprites+304
;R_SortVisSprites+48
	bdleu %r3,%r4,R_SortVisSprites+96
	mov %r2,%r4
	nop 0
;R_SortVisSprites+64
	addi %r5,%r2,80
	std %r5,%r2,8
	addi %r6,%r2,-80
;R_SortVisSprites+80
	std %r6,%r2,0
	mov %r2,%r5
	bdltu %r5,%r3,R_SortVisSprites+64
;R_SortVisSprites+96
	addi %r2,%sp,0
	stdr %r2,vissprites
	std %r4,%sp,8
;R_SortVisSprites+112
	std %r2,%r3,-72
	lddzr %r3,vissprite_p
	addi %r3,%r3,-80
;R_SortVisSprites+128
	std %r3,%sp,0
	ldafr %r3,vsprsortedhead
	stdr %r3,vsprsortedhead
;R_SortVisSprites+144
	stdr %r3,vsprsortedhead+8
	bwlti %r1,1,R_SortVisSprites+304
	mov %r4,%gz
;R_SortVisSprites+160
	ldi.l %r5,2147483647
	jmp R_SortVisSprites+240
;R_SortVisSprites+176
	lddz %r7,%r6,0
	lddz %r8,%r6,8
	std %r7,%r8,0
;R_SortVisSprites+192
	std %r8,%r7,8
	std %r3,%r6,8
	lddzr %r7,vsprsortedhead
;R_SortVisSprites+208
	std %r7,%r6,0
	std %r6,%r7,8
	addiws %r4,%r4,1
;R_SortVisSprites+224
	stdr %r6,vsprsortedhead
	bwle %r1,%r4,R_SortVisSprites+304
	nop 0
;R_SortVisSprites+240
	lddz %r6,%sp,8
	bdeq %r6,%r2,R_SortVisSprites+176
	mov2 %r7,%r8,%r5,%r6
;R_SortVisSprites+256
	ldwz %r9,%r8,44
	cmpwlt %r10,%r9,%r7
	cmovlsb %r6,%r10,%r8,%r6
;R_SortVisSprites+272
	lddz %r8,%r8,8
	minsw %r7,%r9,%r7
	bdne %r8,%r2,R_SortVisSprites+256
;R_SortVisSprites+288
	jmp R_SortVisSprites+176
	nop 0
	nop 0
;R_SortVisSprites+304
	retf 80
	nop 0
	nop 0
;R_DrawSprite
	alloc 19
	ldwz %r3,%r1,16
	ldwz %r4,%r1,20
;R_DrawSprite+16
	ldafr %r6,clipbot
	ldafr %r7,cliptop
	bwlt %r4,%r3,R_DrawSprite+112
;R_DrawSprite+32
	sraiw %r9,%r3,0
	addiws %r2,%r4,1
	ldax.xw %r5,%r7,%r3,1,0
;R_DrawSprite+48
	ldax.xw %r8,%r6,%r3,1,0
	addi %r9,%r9,1
	ldi %r10,65534
;R_DrawSprite+64
	sth %r10,%r5,0
	sth %r10,%r8,0
	mov %r11,%r9
;R_DrawSprite+80
	addi %r5,%r5,2
	addi %r8,%r8,2
	addi %r9,%r9,1
;R_DrawSprite+96
	bwne %r2,%r11,R_DrawSprite+64
	nop 0
	nop 0
;R_DrawSprite+112
	lddzr %r2,ds_p
	addi %r5,%r2,-64
	ldafr %r8,drawsegs
;R_DrawSprite+128
	bdleu %r8,%r5,R_DrawSprite+160
	bwlt %r4,%r3,R_DrawSprite+848
	jmp R_DrawSprite+880
;R_DrawSprite+144
	addi %r5,%r2,-64
	bdltu %r5,%r8,R_DrawSprite+832
	nop 0
;R_DrawSprite+160
	mov %r9,%r2
	ldwz %r3,%r2,-56
	ldwz %r4,%r1,20
;R_DrawSprite+176
	mov %r2,%r5
	bwlt %r4,%r3,R_DrawSprite+144
	ldwz %r10,%r9,-52
;R_DrawSprite+192
	ldwz %r11,%r1,16
	bwlt %r10,%r11,R_DrawSprite+144
	ldwz %r5,%r9,-36
;R_DrawSprite+208
	bwne %r5,%gz,R_DrawSprite+224
	lddz %r12,%r9,-8
	bdeq %r12,%gz,R_DrawSprite+144
;R_DrawSprite+224
	ldwz %r12,%r9,-48
	ldwz %r13,%r9,-44
	ldwz %r14,%r1,44
;R_DrawSprite+240
	maxsw %r3,%r3,%r11
	maxsw %r11,%r12,%r13
	minsw %r4,%r10,%r4
;R_DrawSprite+256
	bwle %r14,%r11,R_DrawSprite+304
	nop 0
	nop 0
;R_DrawSprite+272
	lddz %r5,%r9,-8
	bdeq %r5,%gz,R_DrawSprite+144
	mov2 %r16,%r17,%r2,%r3
;R_DrawSprite+288
	mov %r18,%r4
	callr %r15,R_RenderMaskedSegRange
	jmp R_DrawSprite+144
;R_DrawSprite+304
	minsw %r10,%r12,%r13
	bwle %r14,%r10,R_DrawSprite+352
	ldwz %r16,%r1,24
;R_DrawSprite+320
	ldwz %r17,%r1,28
	lddz %r18,%r2,0
	callr %r15,R_PointOnSegSide
;R_DrawSprite+336
	bweq %r16,%gz,R_DrawSprite+272
	ldwz %r5,%r9,-36
	nop 0
;R_DrawSprite+352
	ldwz %r10,%r1,32
	ldwz %r11,%r9,-32
	ldwz %r12,%r1,36
;R_DrawSprite+368
	ldwz %r13,%r9,-28
	cmpwlt %r10,%r10,%r11
	andi %r11,%r5,-2
;R_DrawSprite+384
	cmovlsb %r5,%r10,%r5,%r11
	cmpwlt %r10,%r13,%r12
	andi %r11,%r5,-3
;R_DrawSprite+400
	cmovlsb %r5,%r10,%r5,%r11
	bweqi %r5,1,R_DrawSprite+704
	bweqi %r5,2,R_DrawSprite+576
;R_DrawSprite+416
	bwnei %r5,3,R_DrawSprite+144
	bwlt %r4,%r3,R_DrawSprite+144
	sraiw %r5,%r3,0
;R_DrawSprite+432
	addws %r4,%r4,%r3
	subws %r3,%r4,%r3
	addiws %r3,%r3,1
;R_DrawSprite+448
	slli %r4,%r5,1
	addi %r5,%r5,1
	jmp R_DrawSprite+496
;R_DrawSprite+464
	mov %r10,%r5
	addi %r4,%r4,2
	addi %r5,%r5,1
;R_DrawSprite+480
	bweq %r3,%r10,R_DrawSprite+144
	nop 0
	nop 0
;R_DrawSprite+496
	ldhzx.xd %r10,%r4,%r6,0,0
	bwnei.l %r10,65534,R_DrawSprite+528
;R_DrawSprite+512
	lddz %r10,%r9,-16
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r6,0,0
;R_DrawSprite+528
	ldhzx.xd %r10,%r4,%r7,0,0
	bwnei.l %r10,65534,R_DrawSprite+464
;R_DrawSprite+544
	lddz %r10,%r9,-24
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r7,0,0
;R_DrawSprite+560
	jmp R_DrawSprite+464
	nop 0
	nop 0
;R_DrawSprite+576
	bwlt %r4,%r3,R_DrawSprite+144
	sraiw %r5,%r3,0
	addws %r4,%r4,%r3
;R_DrawSprite+592
	subws %r3,%r4,%r3
	addiws %r3,%r3,1
	slli %r4,%r5,1
;R_DrawSprite+608
	addi %r5,%r5,1
	jmp R_DrawSprite+656
	nop 0
;R_DrawSprite+624
	mov %r10,%r5
	addi %r4,%r4,2
	addi %r5,%r5,1
;R_DrawSprite+640
	bweq %r3,%r10,R_DrawSprite+144
	nop 0
	nop 0
;R_DrawSprite+656
	ldhzx.xd %r10,%r4,%r7,0,0
	bwnei.l %r10,65534,R_DrawSprite+624
;R_DrawSprite+672
	lddz %r10,%r9,-24
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r7,0,0
;R_DrawSprite+688
	jmp R_DrawSprite+624
	nop 0
	nop 0
;R_DrawSprite+704
	bwlt %r4,%r3,R_DrawSprite+144
	sraiw %r5,%r3,0
	addws %r4,%r4,%r3
;R_DrawSprite+720
	subws %r3,%r4,%r3
	addiws %r3,%r3,1
	slli %r4,%r5,1
;R_DrawSprite+736
	addi %r5,%r5,1
	jmp R_DrawSprite+784
	nop 0
;R_DrawSprite+752
	mov %r10,%r5
	addi %r4,%r4,2
	addi %r5,%r5,1
;R_DrawSprite+768
	bweq %r3,%r10,R_DrawSprite+144
	nop 0
	nop 0
;R_DrawSprite+784
	ldhzx.xd %r10,%r4,%r6,0,0
	bwnei.l %r10,65534,R_DrawSprite+752
;R_DrawSprite+800
	lddz %r10,%r9,-16
	ldhzx.xd %r10,%r10,%r4,0,0
	sthx.xd %r10,%r4,%r6,0,0
;R_DrawSprite+816
	jmp R_DrawSprite+752
	nop 0
	nop 0
;R_DrawSprite+832
	ldwz %r3,%r1,16
	ldwz %r4,%r1,20
	bwle %r3,%r4,R_DrawSprite+880
;R_DrawSprite+848
	stdr %r6,mfloorclip
	stdr %r7,mceilingclip
	mov %r16,%r1
;R_DrawSprite+864
	callr %r15,R_DrawVisSprite
	retf 0
	nop 0
;R_DrawSprite+880
	ldwzr %r2,viewheight
	sraiw %r8,%r3,0
	addiws %r4,%r4,1
;R_DrawSprite+896
	ldax.xw %r5,%r6,%r3,1,0
	ldax.xw %r3,%r7,%r3,1,0
	addi %r8,%r8,1
;R_DrawSprite+912
	ldi %r9,65535
	jmp R_DrawSprite+960
	nop 0
;R_DrawSprite+928
	mov %r10,%r8
	addi %r5,%r5,2
	addi %r3,%r3,2
;R_DrawSprite+944
	addi %r8,%r8,1
	bweq %r4,%r10,R_DrawSprite+848
	nop 0
;R_DrawSprite+960
	ldhz %r10,%r5,0
	bwnei.l %r10,65534,R_DrawSprite+992
;R_DrawSprite+976
	sth %r2,%r5,0
	nop 0
	nop 0
;R_DrawSprite+992
	ldhz %r10,%r3,0
	bwnei.l %r10,65534,R_DrawSprite+928
;R_DrawSprite+1008
	sth %r9,%r3,0
	jmp R_DrawSprite+928
	nop 0
;R_DrawMasked
	alloc 8
	callr %r7,R_SortVisSprites
	lddzr %r1,vissprite_p
;R_DrawMasked+16
	ldafr %r2,vissprites
	bdleu %r1,%r2,R_DrawMasked+80
	lddzr %r1,vsprsortedhead+8
;R_DrawMasked+32
	ldafr %r3,vsprsortedhead
	bdeq %r1,%r3,R_DrawMasked+80
	nop 0
;R_DrawMasked+48
	mov %r7,%r1
	callr %r6,R_DrawSprite
	lddz %r1,%r1,8
;R_DrawMasked+64
	bdne %r1,%r3,R_DrawMasked+48
	nop 0
	nop 0
;R_DrawMasked+80
	lddzr %r1,ds_p
	addi %r1,%r1,-64
	ldafr %r3,drawsegs
;R_DrawMasked+96
	bdleu %r3,%r1,R_DrawMasked+144
	nop 0
	nop 0
;R_DrawMasked+112
	ldwzr %r1,viewangleoffset
	bweq %r1,%gz,R_DrawMasked+192
	retf 0
;R_DrawMasked+128
	addi %r1,%r1,-64
	bdltu %r1,%r3,R_DrawMasked+112
	nop 0
;R_DrawMasked+144
	lddz %r2,%r1,56
	bdeq %r2,%gz,R_DrawMasked+128
	ldwz %r6,%r1,8
;R_DrawMasked+160
	ldwz %r7,%r1,12
	mov %r5,%r1
	callr %r4,R_RenderMaskedSegRange
;R_DrawMasked+176
	jmp R_DrawMasked+128
	nop 0
	nop 0
;R_DrawMasked+192
	callr %r7,R_DrawPlayerSprites
	retf 0
	nop 0
;SHA1_Init
	alloc 3
	ldi.l %r2,1732584193
;SHA1_Init+16
	stw %r2,%r1,0
	ldi.l %r2,-271733879
;SHA1_Init+32
	stw %r2,%r1,4
	ldi.l %r2,-1732584194
;SHA1_Init+48
	stw %r2,%r1,8
	ldi.l %r2,271733878
;SHA1_Init+64
	stw %r2,%r1,12
	ldi.l %r2,-1009589776
;SHA1_Init+80
	stw %r2,%r1,16
	stw %gz,%r1,20
	stw %gz,%r1,88
;SHA1_Init+96
	retf 0
	nop 0
	nop 0
;SHA1_Update
	alloc 11
	ldwz %r4,%r1,88
	bwnei %r4,64,SHA1_Update+64
;SHA1_Update+16
	addi %r10,%r1,24
	mov %r9,%r1
	callr %r8,Transform
;SHA1_Update+32
	stw %gz,%r1,88
	ldwz %r4,%r1,20
	addiws %r4,%r4,1
;SHA1_Update+48
	stw %r4,%r1,20
	bdne %r2,%gz,SHA1_Update+240
	jmp SHA1_Update+368
;SHA1_Update+64
	bdeq %r2,%gz,SHA1_Update+368
	bweq %r4,%gz,SHA1_Update+240
	bdeq %r3,%gz,SHA1_Update+368
;SHA1_Update+80
	addi %r10,%r1,24
	nop 0
	nop 0
;SHA1_Update+96
	ldwz %r4,%r1,88
	bwgei %r4,64,SHA1_Update+192
	ldbz %r5,%r2,0
;SHA1_Update+112
	addi %r2,%r2,1
	addiws %r6,%r4,1
	stw %r6,%r1,88
;SHA1_Update+128
	addi %r3,%r3,-1
	stbx.xw %r5,%r10,%r4,0,0
	bdne %r3,%gz,SHA1_Update+96
;SHA1_Update+144
	ldwz %r2,%r1,88
	bwnei %r2,64,SHA1_Update+368
	mov %r9,%r1
;SHA1_Update+160
	callr %r8,Transform
	stw %gz,%r1,88
	ldwz %r2,%r1,20
;SHA1_Update+176
	addiws %r2,%r2,1
	stw %r2,%r1,20
	retf 0
;SHA1_Update+192
	bwnei %r4,64,SHA1_Update+240
	mov %r9,%r1
	callr %r8,Transform
;SHA1_Update+208
	stw %gz,%r1,88
	ldwz %r4,%r1,20
	addiws %r4,%r4,1
;SHA1_Update+224
	stw %r4,%r1,20
	nop 0
	nop 0
;SHA1_Update+240
	bdltui %r3,64,SHA1_Update+304
	nop 0
	nop 0
;SHA1_Update+256
	mov2 %r9,%r10,%r1,%r2
	callr %r8,Transform
	stw %gz,%r1,88
;SHA1_Update+272
	ldwz %r4,%r1,20
	addiws %r4,%r4,1
	stw %r4,%r1,20
;SHA1_Update+288
	addi %r3,%r3,-64
	addi %r2,%r2,64
	bdgeui %r3,64,SHA1_Update+256
;SHA1_Update+304
	bdeq %r3,%gz,SHA1_Update+368
	addi %r4,%r1,24
	nop 0
;SHA1_Update+320
	ldwz %r5,%r1,88
	bwgei %r5,64,SHA1_Update+368
	ldbz %r6,%r2,0
;SHA1_Update+336
	addi %r2,%r2,1
	addiws %r7,%r5,1
	stw %r7,%r1,88
;SHA1_Update+352
	addi %r3,%r3,-1
	stbx.xw %r6,%r4,%r5,0,0
	bdne %r3,%gz,SHA1_Update+320
;SHA1_Update+368
	retf 0
	nop 0
	nop 0
;Transform
	allocsp 31,64
	mov2 %r8,%r9,%gz,%gz
	ldwz %r7,%r1,0
;Transform+16
	ldwz %r6,%r1,4
	ldwz %r5,%r1,8
	ldwz %r4,%r1,12
;Transform+32
	ldwz %r3,%r1,16
	addi %r10,%sp,0
	nop 0
;Transform+48
	ldbzx.xd %r11,%r2,%r8,0,0
	stbx.xd %r11,%r10,%r8,0,3
	ldbzx.xd %r11,%r2,%r8,0,1
;Transform+64
	stbx.xd %r11,%r10,%r8,0,2
	ldbzx.xd %r11,%r2,%r8,0,2
	stbx.xd %r11,%r10,%r8,0,1
;Transform+80
	ldbzx.xd %r11,%r2,%r8,0,3
	mov %r12,%r9
	stbx.xd %r11,%r10,%r8,0,0
;Transform+96
	addiws %r9,%r9,1
	addi %r8,%r8,4
	bwltui %r12,15,Transform+48
;Transform+112
	srpiw %r2,%r7,%r7,27
	xor %r8,%r4,%r5
	and %r8,%r8,%r6
;Transform+128
	ldwz %r9,%sp,0
	xor %r8,%r8,%r4
	addws %r2,%r2,%r3
;Transform+144
	addws %r2,%r2,%r8
	addws %r2,%r2,%r9
	nop 2
;Transform+160
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r6,%r6,2
;Transform+176
	srpiw %r10,%r2,%r2,27
	xor %r11,%r8,%r5
	ldwz %r12,%sp,4
;Transform+192
	and %r11,%r11,%r7
	xor %r11,%r11,%r5
	addws %r11,%r4,%r11
;Transform+208
	addws %r11,%r11,%r12
	addws %r10,%r11,%r10
	nop 2
;Transform+224
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r7,%r7,2
;Transform+240
	srpiw %r13,%r10,%r10,27
	ldwz %r14,%sp,8
	xor %r15,%r8,%r11
;Transform+256
	and %r15,%r2,%r15
	xor %r15,%r15,%r8
	addws %r16,%r5,%r14
;Transform+272
	addws %r15,%r16,%r15
	addws %r13,%r15,%r13
	nop 2
;Transform+288
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+304
	srpiw %r15,%r13,%r13,27
	ldwz %r16,%sp,12
	xor %r17,%r2,%r11
;Transform+320
	and %r17,%r10,%r17
	xor %r17,%r17,%r11
	addws %r8,%r8,%r16
;Transform+336
	addws %r8,%r8,%r17
	addws %r8,%r8,%r15
	nop 2
;Transform+352
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+368
	srpiw %r15,%r8,%r8,27
	ldwz %r17,%sp,16
	xor %r18,%r10,%r2
;Transform+384
	and %r18,%r13,%r18
	xor %r18,%r18,%r2
	addws %r11,%r11,%r17
;Transform+400
	addws %r11,%r11,%r18
	addws %r11,%r11,%r15
	nop 2
;Transform+416
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+432
	srpiw %r15,%r11,%r11,27
	ldwz %r18,%sp,20
	xor %r19,%r13,%r10
;Transform+448
	and %r19,%r8,%r19
	xor %r19,%r19,%r10
	addws %r2,%r2,%r18
;Transform+464
	addws %r2,%r2,%r19
	addws %r2,%r2,%r15
	nop 2
;Transform+480
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r8,%r8,2
;Transform+496
	srpiw %r15,%r2,%r2,27
	ldwz %r19,%sp,24
	xor %r20,%r8,%r13
;Transform+512
	and %r20,%r11,%r20
	xor %r20,%r20,%r13
	addws %r10,%r19,%r10
;Transform+528
	addws %r10,%r10,%r20
	addws %r10,%r10,%r15
	nop 2
;Transform+544
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r11,%r11,2
;Transform+560
	srpiw %r15,%r10,%r10,27
	ldwz %r20,%sp,28
	xor %r21,%r11,%r8
;Transform+576
	and %r21,%r2,%r21
	xor %r21,%r21,%r8
	addws %r13,%r20,%r13
;Transform+592
	addws %r13,%r13,%r21
	addws %r13,%r13,%r15
	nop 2
;Transform+608
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+624
	srpiw %r15,%r13,%r13,27
	ldwz %r21,%sp,32
	xor %r22,%r2,%r11
;Transform+640
	and %r22,%r10,%r22
	xor %r22,%r22,%r11
	addws %r8,%r21,%r8
;Transform+656
	addws %r8,%r8,%r22
	addws %r8,%r8,%r15
	nop 2
;Transform+672
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+688
	srpiw %r15,%r8,%r8,27
	ldwz %r22,%sp,36
	xor %r23,%r10,%r2
;Transform+704
	and %r23,%r13,%r23
	xor %r23,%r23,%r2
	addws %r11,%r22,%r11
;Transform+720
	addws %r11,%r11,%r23
	addws %r11,%r11,%r15
	nop 2
;Transform+736
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+752
	srpiw %r15,%r11,%r11,27
	ldwz %r23,%sp,40
	xor %r24,%r13,%r10
;Transform+768
	and %r24,%r8,%r24
	xor %r24,%r24,%r10
	addws %r2,%r23,%r2
;Transform+784
	addws %r2,%r2,%r24
	addws %r2,%r2,%r15
	nop 2
;Transform+800
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r8,%r8,2
;Transform+816
	srpiw %r15,%r2,%r2,27
	ldwz %r24,%sp,44
	xor %r25,%r8,%r13
;Transform+832
	and %r25,%r11,%r25
	xor %r25,%r25,%r13
	addws %r10,%r24,%r10
;Transform+848
	addws %r10,%r10,%r25
	addws %r10,%r10,%r15
	nop 2
;Transform+864
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r11,%r11,2
;Transform+880
	srpiw %r15,%r10,%r10,27
	ldwz %r25,%sp,48
	xor %r26,%r11,%r8
;Transform+896
	and %r26,%r2,%r26
	xor %r26,%r26,%r8
	addws %r13,%r25,%r13
;Transform+912
	addws %r13,%r13,%r26
	addws %r13,%r13,%r15
	nop 2
;Transform+928
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+944
	srpiw %r15,%r13,%r13,27
	ldwz %r26,%sp,52
	xor %r27,%r2,%r11
;Transform+960
	and %r27,%r10,%r27
	xor %r27,%r27,%r11
	addws %r8,%r26,%r8
;Transform+976
	addws %r8,%r8,%r27
	addws %r8,%r8,%r15
	nop 2
;Transform+992
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+1008
	srpiw %r15,%r8,%r8,27
	ldwz %r27,%sp,56
	xor %r28,%r10,%r2
;Transform+1024
	and %r28,%r13,%r28
	xor %r28,%r28,%r2
	addws %r11,%r27,%r11
;Transform+1040
	addws %r11,%r11,%r28
	addws %r11,%r11,%r15
	nop 2
;Transform+1056
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+1072
	srpiw %r15,%r11,%r11,27
	ldwz %r28,%sp,60
	xor %r29,%r13,%r10
;Transform+1088
	and %r29,%r8,%r29
	xor %r29,%r29,%r10
	addws %r2,%r28,%r2
;Transform+1104
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+1120
	addiws.l %r2,%r2,1518500249
	srpiw %r8,%r8,%r8,2
;Transform+1136
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	and %r29,%r11,%r29
;Transform+1152
	xor %r9,%r14,%r9
	xor %r9,%r9,%r21
	xor %r9,%r9,%r26
;Transform+1168
	xor %r29,%r29,%r13
	srpiw %r9,%r9,%r9,31
	addws %r10,%r9,%r10
;Transform+1184
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+1200
	addiws.l %r10,%r10,1518500249
	srpiw %r11,%r11,%r11,2
;Transform+1216
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	and %r29,%r2,%r29
;Transform+1232
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
	xor %r12,%r12,%r27
;Transform+1248
	xor %r29,%r29,%r8
	srpiw %r12,%r12,%r12,31
	addws %r13,%r12,%r13
;Transform+1264
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+1280
	addiws.l %r13,%r13,1518500249
	srpiw %r2,%r2,%r2,2
;Transform+1296
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	and %r29,%r10,%r29
;Transform+1312
	xor %r14,%r17,%r14
	xor %r14,%r14,%r23
	xor %r14,%r14,%r28
;Transform+1328
	xor %r29,%r29,%r11
	srpiw %r14,%r14,%r14,31
	addws %r8,%r14,%r8
;Transform+1344
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+1360
	addiws.l %r8,%r8,1518500249
	srpiw %r10,%r10,%r10,2
;Transform+1376
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	and %r29,%r13,%r29
;Transform+1392
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
	xor %r16,%r16,%r9
;Transform+1408
	xor %r29,%r29,%r2
	srpiw %r16,%r16,%r16,31
	addws %r11,%r16,%r11
;Transform+1424
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+1440
	addiws.l %r11,%r11,1518500249
	srpiw %r13,%r13,%r13,2
;Transform+1456
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r17,%r19,%r17
;Transform+1472
	xor %r17,%r17,%r25
	xor %r17,%r17,%r12
	xor %r29,%r29,%r8
;Transform+1488
	srpiw %r17,%r17,%r17,31
	addws %r2,%r17,%r2
	addws %r2,%r2,%r29
;Transform+1504
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,1859775393
;Transform+1520
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+1536
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
	xor %r18,%r18,%r14
;Transform+1552
	xor %r29,%r29,%r11
	srpiw %r18,%r18,%r18,31
	addws %r10,%r18,%r10
;Transform+1568
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+1584
	addiws.l %r10,%r10,1859775393
	srpiw %r11,%r11,%r11,2
;Transform+1600
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r19,%r21,%r19
;Transform+1616
	xor %r19,%r19,%r27
	xor %r19,%r19,%r16
	xor %r29,%r29,%r2
;Transform+1632
	srpiw %r19,%r19,%r19,31
	addws %r13,%r19,%r13
	addws %r13,%r13,%r29
;Transform+1648
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,1859775393
;Transform+1664
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+1680
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
	xor %r20,%r20,%r17
;Transform+1696
	xor %r29,%r29,%r10
	srpiw %r20,%r20,%r20,31
	addws %r8,%r20,%r8
;Transform+1712
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+1728
	addiws.l %r8,%r8,1859775393
	srpiw %r10,%r10,%r10,2
;Transform+1744
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r21,%r23,%r21
;Transform+1760
	xor %r21,%r21,%r9
	xor %r21,%r21,%r18
	xor %r29,%r29,%r13
;Transform+1776
	srpiw %r21,%r21,%r21,31
	addws %r11,%r21,%r11
	addws %r11,%r11,%r29
;Transform+1792
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,1859775393
;Transform+1808
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
;Transform+1824
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
	xor %r22,%r22,%r19
;Transform+1840
	xor %r29,%r29,%r8
	srpiw %r22,%r22,%r22,31
	addws %r2,%r22,%r2
;Transform+1856
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+1872
	addiws.l %r2,%r2,1859775393
	srpiw %r8,%r8,%r8,2
;Transform+1888
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	xor %r23,%r25,%r23
;Transform+1904
	xor %r23,%r23,%r14
	xor %r23,%r23,%r20
	xor %r29,%r29,%r11
;Transform+1920
	srpiw %r23,%r23,%r23,31
	addws %r10,%r23,%r10
	addws %r10,%r10,%r29
;Transform+1936
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,1859775393
;Transform+1952
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
;Transform+1968
	xor %r24,%r26,%r24
	xor %r24,%r24,%r16
	xor %r24,%r24,%r21
;Transform+1984
	xor %r29,%r29,%r2
	srpiw %r24,%r24,%r24,31
	addws %r13,%r24,%r13
;Transform+2000
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+2016
	addiws.l %r13,%r13,1859775393
	srpiw %r2,%r2,%r2,2
;Transform+2032
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	xor %r25,%r27,%r25
;Transform+2048
	xor %r25,%r25,%r17
	xor %r25,%r25,%r22
	xor %r29,%r29,%r10
;Transform+2064
	srpiw %r25,%r25,%r25,31
	addws %r8,%r25,%r8
	addws %r8,%r8,%r29
;Transform+2080
	addws %r8,%r8,%r15
	addiws.l %r8,%r8,1859775393
;Transform+2096
	srpiw %r10,%r10,%r10,2
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
;Transform+2112
	xor %r26,%r28,%r26
	xor %r26,%r26,%r18
	xor %r26,%r26,%r23
;Transform+2128
	xor %r29,%r29,%r13
	srpiw %r26,%r26,%r26,31
	addws %r11,%r26,%r11
;Transform+2144
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+2160
	addiws.l %r11,%r11,1859775393
	srpiw %r13,%r13,%r13,2
;Transform+2176
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r27,%r9,%r27
;Transform+2192
	xor %r27,%r27,%r19
	xor %r27,%r27,%r24
	xor %r29,%r29,%r8
;Transform+2208
	srpiw %r27,%r27,%r27,31
	addws %r2,%r27,%r2
	addws %r2,%r2,%r29
;Transform+2224
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,1859775393
;Transform+2240
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+2256
	xor %r28,%r12,%r28
	xor %r28,%r28,%r20
	xor %r28,%r28,%r25
;Transform+2272
	xor %r29,%r29,%r11
	srpiw %r28,%r28,%r28,31
	addws %r10,%r28,%r10
;Transform+2288
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+2304
	addiws.l %r10,%r10,1859775393
	srpiw %r11,%r11,%r11,2
;Transform+2320
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r9,%r14,%r9
;Transform+2336
	xor %r9,%r9,%r21
	xor %r9,%r9,%r26
	xor %r29,%r29,%r2
;Transform+2352
	srpiw %r9,%r9,%r9,31
	addws %r13,%r9,%r13
	addws %r13,%r13,%r29
;Transform+2368
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,1859775393
;Transform+2384
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+2400
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
	xor %r12,%r12,%r27
;Transform+2416
	xor %r29,%r29,%r10
	srpiw %r12,%r12,%r12,31
	addws %r8,%r12,%r8
;Transform+2432
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+2448
	addiws.l %r8,%r8,1859775393
	srpiw %r10,%r10,%r10,2
;Transform+2464
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r14,%r17,%r14
;Transform+2480
	xor %r14,%r14,%r23
	xor %r14,%r14,%r28
	xor %r29,%r29,%r13
;Transform+2496
	srpiw %r14,%r14,%r14,31
	addws %r11,%r14,%r11
	addws %r11,%r11,%r29
;Transform+2512
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,1859775393
;Transform+2528
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
;Transform+2544
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
	xor %r16,%r16,%r9
;Transform+2560
	xor %r29,%r29,%r8
	srpiw %r16,%r16,%r16,31
	addws %r2,%r16,%r2
;Transform+2576
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+2592
	addiws.l %r2,%r2,1859775393
	srpiw %r8,%r8,%r8,2
;Transform+2608
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	xor %r17,%r19,%r17
;Transform+2624
	xor %r17,%r17,%r25
	xor %r17,%r17,%r12
	xor %r29,%r29,%r11
;Transform+2640
	srpiw %r17,%r17,%r17,31
	addws %r10,%r17,%r10
	addws %r10,%r10,%r29
;Transform+2656
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,1859775393
;Transform+2672
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
;Transform+2688
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
	xor %r18,%r18,%r14
;Transform+2704
	xor %r29,%r29,%r2
	srpiw %r18,%r18,%r18,31
	addws %r13,%r18,%r13
;Transform+2720
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+2736
	addiws.l %r13,%r13,1859775393
	srpiw %r2,%r2,%r2,2
;Transform+2752
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	xor %r19,%r21,%r19
;Transform+2768
	xor %r19,%r19,%r27
	xor %r19,%r19,%r16
	xor %r29,%r29,%r10
;Transform+2784
	srpiw %r19,%r19,%r19,31
	addws %r8,%r19,%r8
	addws %r8,%r8,%r29
;Transform+2800
	addws %r8,%r8,%r15
	addiws.l %r8,%r8,1859775393
;Transform+2816
	srpiw %r10,%r10,%r10,2
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
;Transform+2832
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
	xor %r20,%r20,%r17
;Transform+2848
	xor %r29,%r29,%r13
	srpiw %r20,%r20,%r20,31
	addws %r11,%r20,%r11
;Transform+2864
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+2880
	addiws.l %r11,%r11,1859775393
	srpiw %r13,%r13,%r13,2
;Transform+2896
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+2912
	and %r30,%r30,%r10
	xor %r21,%r23,%r21
	xor %r21,%r21,%r9
;Transform+2928
	xor %r21,%r21,%r18
	or %r29,%r30,%r29
	srpiw %r21,%r21,%r21,31
;Transform+2944
	addws %r2,%r21,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+2960
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+2976
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+2992
	and %r30,%r30,%r13
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
;Transform+3008
	xor %r22,%r22,%r19
	or %r29,%r30,%r29
	srpiw %r22,%r22,%r22,31
;Transform+3024
	addws %r10,%r22,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+3040
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+3056
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+3072
	and %r30,%r30,%r8
	xor %r23,%r25,%r23
	xor %r23,%r23,%r14
;Transform+3088
	xor %r23,%r23,%r20
	or %r29,%r30,%r29
	srpiw %r23,%r23,%r23,31
;Transform+3104
	addws %r13,%r23,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+3120
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+3136
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+3152
	and %r30,%r30,%r11
	xor %r24,%r26,%r24
	xor %r24,%r24,%r16
;Transform+3168
	xor %r24,%r24,%r21
	or %r29,%r30,%r29
	srpiw %r24,%r24,%r24,31
;Transform+3184
	addws %r8,%r24,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+3200
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+3216
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+3232
	and %r30,%r30,%r2
	xor %r25,%r27,%r25
	xor %r25,%r25,%r17
;Transform+3248
	xor %r25,%r25,%r22
	or %r29,%r30,%r29
	srpiw %r25,%r25,%r25,31
;Transform+3264
	addws %r11,%r25,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+3280
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+3296
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+3312
	and %r30,%r30,%r10
	xor %r26,%r28,%r26
	xor %r26,%r26,%r18
;Transform+3328
	xor %r26,%r26,%r23
	or %r29,%r30,%r29
	srpiw %r26,%r26,%r26,31
;Transform+3344
	addws %r2,%r26,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+3360
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+3376
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+3392
	and %r30,%r30,%r13
	xor %r27,%r9,%r27
	xor %r27,%r27,%r19
;Transform+3408
	xor %r27,%r27,%r24
	or %r29,%r30,%r29
	srpiw %r27,%r27,%r27,31
;Transform+3424
	addws %r10,%r27,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+3440
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+3456
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+3472
	and %r30,%r30,%r8
	xor %r28,%r12,%r28
	xor %r28,%r28,%r20
;Transform+3488
	xor %r28,%r28,%r25
	or %r29,%r30,%r29
	srpiw %r28,%r28,%r28,31
;Transform+3504
	addws %r13,%r28,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+3520
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+3536
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+3552
	and %r30,%r30,%r11
	xor %r9,%r14,%r9
	xor %r9,%r9,%r21
;Transform+3568
	xor %r9,%r9,%r26
	or %r29,%r30,%r29
	srpiw %r9,%r9,%r9,31
;Transform+3584
	addws %r8,%r9,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+3600
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+3616
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+3632
	and %r30,%r30,%r2
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
;Transform+3648
	xor %r12,%r12,%r27
	or %r29,%r30,%r29
	srpiw %r12,%r12,%r12,31
;Transform+3664
	addws %r11,%r12,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+3680
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+3696
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+3712
	and %r30,%r30,%r10
	xor %r14,%r17,%r14
	xor %r14,%r14,%r23
;Transform+3728
	xor %r14,%r14,%r28
	or %r29,%r30,%r29
	srpiw %r14,%r14,%r14,31
;Transform+3744
	addws %r2,%r14,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+3760
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+3776
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+3792
	and %r30,%r30,%r13
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
;Transform+3808
	xor %r16,%r16,%r9
	or %r29,%r30,%r29
	srpiw %r16,%r16,%r16,31
;Transform+3824
	addws %r10,%r16,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+3840
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+3856
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+3872
	and %r30,%r30,%r8
	xor %r17,%r19,%r17
	xor %r17,%r17,%r25
;Transform+3888
	xor %r17,%r17,%r12
	or %r29,%r30,%r29
	srpiw %r17,%r17,%r17,31
;Transform+3904
	addws %r13,%r17,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+3920
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+3936
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+3952
	and %r30,%r30,%r11
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
;Transform+3968
	xor %r18,%r18,%r14
	or %r29,%r30,%r29
	srpiw %r18,%r18,%r18,31
;Transform+3984
	addws %r8,%r18,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+4000
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+4016
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+4032
	and %r30,%r30,%r2
	xor %r19,%r21,%r19
	xor %r19,%r19,%r27
;Transform+4048
	xor %r19,%r19,%r16
	or %r29,%r30,%r29
	srpiw %r19,%r19,%r19,31
;Transform+4064
	addws %r11,%r19,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+4080
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+4096
	srpiw %r15,%r11,%r11,27
	and %r29,%r8,%r13
	or %r30,%r8,%r13
;Transform+4112
	and %r30,%r30,%r10
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
;Transform+4128
	xor %r20,%r20,%r17
	or %r29,%r30,%r29
	srpiw %r20,%r20,%r20,31
;Transform+4144
	addws %r2,%r20,%r2
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
;Transform+4160
	addiws.l %r2,%r2,-1894007588
	srpiw %r8,%r8,%r8,2
;Transform+4176
	srpiw %r15,%r2,%r2,27
	and %r29,%r11,%r8
	or %r30,%r11,%r8
;Transform+4192
	and %r30,%r30,%r13
	xor %r21,%r23,%r21
	xor %r21,%r21,%r9
;Transform+4208
	xor %r21,%r21,%r18
	or %r29,%r30,%r29
	srpiw %r21,%r21,%r21,31
;Transform+4224
	addws %r10,%r21,%r10
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
;Transform+4240
	addiws.l %r10,%r10,-1894007588
	srpiw %r11,%r11,%r11,2
;Transform+4256
	srpiw %r15,%r10,%r10,27
	and %r29,%r2,%r11
	or %r30,%r2,%r11
;Transform+4272
	and %r30,%r30,%r8
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
;Transform+4288
	xor %r22,%r22,%r19
	or %r29,%r30,%r29
	srpiw %r22,%r22,%r22,31
;Transform+4304
	addws %r13,%r22,%r13
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
;Transform+4320
	addiws.l %r13,%r13,-1894007588
	srpiw %r2,%r2,%r2,2
;Transform+4336
	srpiw %r15,%r13,%r13,27
	and %r29,%r10,%r2
	or %r30,%r10,%r2
;Transform+4352
	and %r30,%r30,%r11
	xor %r23,%r25,%r23
	xor %r23,%r23,%r14
;Transform+4368
	xor %r23,%r23,%r20
	or %r29,%r30,%r29
	srpiw %r23,%r23,%r23,31
;Transform+4384
	addws %r8,%r23,%r8
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
;Transform+4400
	addiws.l %r8,%r8,-1894007588
	srpiw %r10,%r10,%r10,2
;Transform+4416
	srpiw %r15,%r8,%r8,27
	and %r29,%r13,%r10
	or %r30,%r13,%r10
;Transform+4432
	and %r30,%r30,%r2
	xor %r24,%r26,%r24
	xor %r24,%r24,%r16
;Transform+4448
	xor %r24,%r24,%r21
	or %r29,%r30,%r29
	srpiw %r24,%r24,%r24,31
;Transform+4464
	addws %r11,%r24,%r11
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
;Transform+4480
	addiws.l %r11,%r11,-1894007588
	srpiw %r13,%r13,%r13,2
;Transform+4496
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r25,%r27,%r25
;Transform+4512
	xor %r25,%r25,%r17
	xor %r25,%r25,%r22
	xor %r29,%r29,%r8
;Transform+4528
	srpiw %r25,%r25,%r25,31
	addws %r2,%r25,%r2
	addws %r2,%r2,%r29
;Transform+4544
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,-899497514
;Transform+4560
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+4576
	xor %r26,%r28,%r26
	xor %r26,%r26,%r18
	xor %r26,%r26,%r23
;Transform+4592
	xor %r29,%r29,%r11
	srpiw %r26,%r26,%r26,31
	addws %r10,%r26,%r10
;Transform+4608
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+4624
	addiws.l %r10,%r10,-899497514
	srpiw %r11,%r11,%r11,2
;Transform+4640
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r27,%r9,%r27
;Transform+4656
	xor %r27,%r27,%r19
	xor %r27,%r27,%r24
	xor %r29,%r29,%r2
;Transform+4672
	srpiw %r27,%r27,%r27,31
	addws %r13,%r27,%r13
	addws %r13,%r13,%r29
;Transform+4688
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,-899497514
;Transform+4704
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+4720
	xor %r28,%r12,%r28
	xor %r28,%r28,%r20
	xor %r28,%r28,%r25
;Transform+4736
	xor %r29,%r29,%r10
	srpiw %r28,%r28,%r28,31
	addws %r8,%r28,%r8
;Transform+4752
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+4768
	addiws.l %r8,%r8,-899497514
	srpiw %r10,%r10,%r10,2
;Transform+4784
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r9,%r14,%r9
;Transform+4800
	xor %r9,%r9,%r21
	xor %r9,%r9,%r26
	xor %r29,%r29,%r13
;Transform+4816
	srpiw %r9,%r9,%r9,31
	addws %r11,%r9,%r11
	addws %r11,%r11,%r29
;Transform+4832
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,-899497514
;Transform+4848
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
;Transform+4864
	xor %r12,%r16,%r12
	xor %r12,%r12,%r22
	xor %r12,%r12,%r27
;Transform+4880
	xor %r29,%r29,%r8
	srpiw %r12,%r12,%r12,31
	addws %r2,%r12,%r2
;Transform+4896
	addws %r2,%r2,%r29
	addws %r2,%r2,%r15
	nop 2
;Transform+4912
	addiws.l %r2,%r2,-899497514
	srpiw %r8,%r8,%r8,2
;Transform+4928
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
	xor %r14,%r17,%r14
;Transform+4944
	xor %r14,%r14,%r23
	xor %r14,%r14,%r28
	xor %r29,%r29,%r11
;Transform+4960
	srpiw %r14,%r14,%r14,31
	addws %r10,%r14,%r10
	addws %r10,%r10,%r29
;Transform+4976
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,-899497514
;Transform+4992
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
;Transform+5008
	xor %r16,%r18,%r16
	xor %r16,%r16,%r24
	xor %r16,%r16,%r9
;Transform+5024
	xor %r29,%r29,%r2
	srpiw %r16,%r16,%r16,31
	addws %r13,%r16,%r13
;Transform+5040
	addws %r13,%r13,%r29
	addws %r13,%r13,%r15
	nop 2
;Transform+5056
	addiws.l %r13,%r13,-899497514
	srpiw %r2,%r2,%r2,2
;Transform+5072
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
	xor %r17,%r19,%r17
;Transform+5088
	xor %r17,%r17,%r25
	xor %r17,%r17,%r12
	xor %r29,%r29,%r10
;Transform+5104
	srpiw %r17,%r17,%r17,31
	addws %r8,%r17,%r8
	addws %r8,%r8,%r29
;Transform+5120
	addws %r8,%r8,%r15
	addiws.l %r8,%r8,-899497514
;Transform+5136
	srpiw %r10,%r10,%r10,2
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
;Transform+5152
	xor %r18,%r20,%r18
	xor %r18,%r18,%r26
	xor %r18,%r18,%r14
;Transform+5168
	xor %r29,%r29,%r13
	srpiw %r18,%r18,%r18,31
	addws %r11,%r18,%r11
;Transform+5184
	addws %r11,%r11,%r29
	addws %r11,%r11,%r15
	nop 2
;Transform+5200
	addiws.l %r11,%r11,-899497514
	srpiw %r13,%r13,%r13,2
;Transform+5216
	srpiw %r15,%r11,%r11,27
	xor %r29,%r13,%r10
	xor %r19,%r21,%r19
;Transform+5232
	xor %r19,%r19,%r27
	xor %r19,%r19,%r16
	xor %r29,%r29,%r8
;Transform+5248
	srpiw %r19,%r19,%r19,31
	addws %r2,%r19,%r2
	addws %r2,%r2,%r29
;Transform+5264
	addws %r2,%r2,%r15
	addiws.l %r2,%r2,-899497514
;Transform+5280
	srpiw %r8,%r8,%r8,2
	srpiw %r15,%r2,%r2,27
	xor %r29,%r8,%r13
;Transform+5296
	xor %r20,%r22,%r20
	xor %r20,%r20,%r28
	xor %r20,%r20,%r17
;Transform+5312
	xor %r29,%r29,%r11
	srpiw %r20,%r20,%r20,31
	addws %r10,%r20,%r10
;Transform+5328
	addws %r10,%r10,%r29
	addws %r10,%r10,%r15
	nop 2
;Transform+5344
	addiws.l %r10,%r10,-899497514
	srpiw %r11,%r11,%r11,2
;Transform+5360
	srpiw %r15,%r10,%r10,27
	xor %r29,%r11,%r8
	xor %r21,%r23,%r21
;Transform+5376
	xor %r21,%r21,%r9
	xor %r21,%r21,%r18
	xor %r29,%r29,%r2
;Transform+5392
	srpiw %r21,%r21,%r21,31
	addws %r13,%r21,%r13
	addws %r13,%r13,%r29
;Transform+5408
	addws %r13,%r13,%r15
	addiws.l %r13,%r13,-899497514
;Transform+5424
	srpiw %r2,%r2,%r2,2
	srpiw %r15,%r13,%r13,27
	xor %r29,%r2,%r11
;Transform+5440
	xor %r22,%r24,%r22
	xor %r22,%r22,%r12
	xor %r22,%r22,%r19
;Transform+5456
	xor %r29,%r29,%r10
	srpiw %r22,%r22,%r22,31
	addws %r8,%r22,%r8
;Transform+5472
	addws %r8,%r8,%r29
	addws %r8,%r8,%r15
	nop 2
;Transform+5488
	addiws.l %r8,%r8,-899497514
	srpiw %r10,%r10,%r10,2
;Transform+5504
	srpiw %r15,%r8,%r8,27
	xor %r29,%r10,%r2
	xor %r23,%r25,%r23
;Transform+5520
	xor %r14,%r23,%r14
	xor %r14,%r14,%r20
	xor %r23,%r29,%r13
;Transform+5536
	srpiw %r14,%r14,%r14,31
	addws %r11,%r14,%r11
	addws %r11,%r11,%r23
;Transform+5552
	addws %r11,%r11,%r15
	addiws.l %r11,%r11,-899497514
;Transform+5568
	srpiw %r13,%r13,%r13,2
	srpiw %r15,%r11,%r11,27
	xor %r23,%r13,%r10
;Transform+5584
	xor %r24,%r26,%r24
	xor %r16,%r24,%r16
	xor %r16,%r16,%r21
;Transform+5600
	xor %r21,%r23,%r8
	srpiw %r16,%r16,%r16,31
	addws %r2,%r16,%r2
;Transform+5616
	addws %r2,%r2,%r21
	addws %r2,%r2,%r15
	nop 2
;Transform+5632
	addiws.l %r2,%r2,-899497514
	srpiw %r8,%r8,%r8,2
;Transform+5648
	srpiw %r15,%r2,%r2,27
	xor %r21,%r8,%r13
	xor %r23,%r27,%r25
;Transform+5664
	xor %r17,%r23,%r17
	xor %r17,%r17,%r22
	xor %r21,%r21,%r11
;Transform+5680
	srpiw %r17,%r17,%r17,31
	addws %r10,%r17,%r10
	addws %r10,%r10,%r21
;Transform+5696
	addws %r10,%r10,%r15
	addiws.l %r10,%r10,-899497514
;Transform+5712
	srpiw %r11,%r11,%r11,2
	srpiw %r15,%r10,%r10,27
	xor %r21,%r11,%r8
;Transform+5728
	xor %r22,%r28,%r26
	xor %r18,%r22,%r18
	xor %r14,%r18,%r14
;Transform+5744
	xor %r18,%r21,%r2
	srpiw %r14,%r14,%r14,31
	addws %r13,%r14,%r13
;Transform+5760
	addws %r13,%r13,%r18
	addws %r13,%r13,%r15
	nop 2
;Transform+5776
	addiws.l %r13,%r13,-899497514
	srpiw %r2,%r2,%r2,2
;Transform+5792
	srpiw %r14,%r13,%r13,27
	xor %r15,%r2,%r11
	xor %r9,%r9,%r27
;Transform+5808
	xor %r9,%r9,%r19
	xor %r9,%r9,%r16
	xor %r15,%r15,%r10
;Transform+5824
	srpiw %r9,%r9,%r9,31
	addws %r8,%r9,%r8
	addws %r8,%r8,%r15
;Transform+5840
	addws %r8,%r8,%r14
	addiws.l %r8,%r8,-899497514
;Transform+5856
	srpiw %r9,%r10,%r10,2
	srpiw %r10,%r8,%r8,27
	xor %r14,%r9,%r2
;Transform+5872
	xor %r12,%r12,%r28
	xor %r12,%r12,%r20
	xor %r12,%r12,%r17
;Transform+5888
	xor %r14,%r14,%r13
	srpiw %r12,%r12,%r12,31
	srpiw %r13,%r13,%r13,2
;Transform+5904
	addws %r7,%r7,%r12
	addws %r7,%r7,%r11
	addws %r7,%r7,%r14
;Transform+5920
	addws %r7,%r7,%r10
	addiws.l %r7,%r7,-899497514
;Transform+5936
	stw %r7,%r1,0
	addws %r6,%r8,%r6
	stw %r6,%r1,4
;Transform+5952
	addws %r5,%r13,%r5
	stw %r5,%r1,8
	addws %r4,%r9,%r4
;Transform+5968
	stw %r4,%r1,12
	addws %r2,%r2,%r3
	stw %r2,%r1,16
;Transform+5984
	retf 64
	nop 0
	nop 0
;SHA1_Final
	alloc 22
	ldwz %r5,%r2,88
	addi %r3,%r2,24
;SHA1_Final+16
	bwnei %r5,64,SHA1_Final+64
	mov2 %r20,%r21,%r2,%r3
	callr %r19,Transform
;SHA1_Final+32
	ldwz %r4,%r2,20
	mov %r5,%gz
	addiws %r6,%r4,1
;SHA1_Final+48
	stw %r6,%r2,20
	jmp SHA1_Final+80
	nop 0
;SHA1_Final+64
	ldwz %r6,%r2,20
	bwgei %r5,56,SHA1_Final+144
	nop 0
;SHA1_Final+80
	addiws %r4,%r5,1
	stw %r4,%r2,88
	ldi %r4,128
;SHA1_Final+96
	stbx.xw %r4,%r2,%r5,0,24
	nop 0
	nop 0
;SHA1_Final+112
	ldwz %r4,%r2,88
	bwgei %r4,56,SHA1_Final+336
	addiws %r7,%r4,1
;SHA1_Final+128
	stw %r7,%r2,88
	stbx.xw %gz,%r3,%r4,0,0
	jmp SHA1_Final+112
;SHA1_Final+144
	addiws %r4,%r5,1
	stw %r4,%r2,88
	ldi %r4,128
;SHA1_Final+160
	stbx.xuw %r4,%r2,%r5,0,24
	ldwz %r4,%r2,88
	bwgei %r4,64,SHA1_Final+208
;SHA1_Final+176
	addiws %r7,%r4,1
	stw %r7,%r2,88
	stbx.xw %gz,%r3,%r4,0,0
;SHA1_Final+192
	ldwz %r4,%r2,88
	bwlti %r4,64,SHA1_Final+176
	nop 0
;SHA1_Final+208
	bwnei %r4,64,SHA1_Final+256
	mov2 %r20,%r21,%r2,%r3
	callr %r19,Transform
;SHA1_Final+224
	stw %gz,%r2,88
	ldwz %r4,%r2,20
	addiws %r4,%r4,1
;SHA1_Final+240
	stw %r4,%r2,20
	nop 0
	nop 0
;SHA1_Final+256
	stw %gz,%r3,52
	stw %gz,%r3,48
	stw %gz,%r3,44
;SHA1_Final+272
	stw %gz,%r3,40
	stw %gz,%r3,36
	stw %gz,%r3,32
;SHA1_Final+288
	stw %gz,%r3,28
	stw %gz,%r3,24
	stw %gz,%r3,20
;SHA1_Final+304
	stw %gz,%r3,16
	stw %gz,%r3,12
	stw %gz,%r3,8
;SHA1_Final+320
	stw %gz,%r3,4
	stw %gz,%r3,0
	nop 0
;SHA1_Final+336
	slliw %r4,%r6,6
	sladdws %r5,%r5,%r6,6
	cmpwltu %r4,%r5,%r4
;SHA1_Final+352
	srliw %r6,%r6,26
	addws %r4,%r6,%r4
	srpiw %r4,%r4,%r5,29
;SHA1_Final+368
	slliw %r6,%r5,3
	sth %gz,%r2,80
	srliw %r7,%r4,8
;SHA1_Final+384
	stb %r7,%r2,82
	stb %r4,%r2,83
	srliw %r4,%r5,21
;SHA1_Final+400
	stb %r4,%r2,84
	srliw %r4,%r5,13
	stb %r4,%r2,85
;SHA1_Final+416
	srliw %r4,%r5,5
	stb %r4,%r2,86
	stb %r6,%r2,87
;SHA1_Final+432
	mov2 %r20,%r21,%r2,%r3
	callr %r19,Transform
	ldwz %r3,%r2,0
;SHA1_Final+448
	srliw %r4,%r3,24
	stb %r4,%r2,24
	srliw %r4,%r3,16
;SHA1_Final+464
	stb %r4,%r2,25
	srliw %r4,%r3,8
	stb %r4,%r2,26
;SHA1_Final+480
	stb %r3,%r2,27
	ldwz %r3,%r2,4
	srliw %r4,%r3,24
;SHA1_Final+496
	stb %r4,%r2,28
	srliw %r5,%r3,16
	stb %r5,%r2,29
;SHA1_Final+512
	srliw %r6,%r3,8
	stb %r6,%r2,30
	stb %r3,%r2,31
;SHA1_Final+528
	ldwz %r7,%r2,8
	srliw %r8,%r7,24
	stb %r8,%r2,32
;SHA1_Final+544
	srliw %r9,%r7,16
	stb %r9,%r2,33
	srliw %r10,%r7,8
;SHA1_Final+560
	stb %r10,%r2,34
	stb %r7,%r2,35
	ldwz %r11,%r2,12
;SHA1_Final+576
	srliw %r12,%r11,24
	stb %r12,%r2,36
	srliw %r13,%r11,16
;SHA1_Final+592
	stb %r13,%r2,37
	srliw %r14,%r11,8
	stb %r14,%r2,38
;SHA1_Final+608
	stb %r11,%r2,39
	ldwz %r15,%r2,16
	srliw %r16,%r15,24
;SHA1_Final+624
	stb %r16,%r2,40
	srliw %r17,%r15,16
	stb %r17,%r2,41
;SHA1_Final+640
	srliw %r18,%r15,8
	stb %r18,%r2,42
	stb %r15,%r2,43
;SHA1_Final+656
	stb %r15,%r1,19
	stb %r18,%r1,18
	stb %r17,%r1,17
;SHA1_Final+672
	stb %r16,%r1,16
	stb %r11,%r1,15
	stb %r14,%r1,14
;SHA1_Final+688
	stb %r13,%r1,13
	stb %r12,%r1,12
	stb %r7,%r1,11
;SHA1_Final+704
	stb %r10,%r1,10
	stb %r9,%r1,9
	stb %r8,%r1,8
;SHA1_Final+720
	stb %r3,%r1,7
	stb %r6,%r1,6
	stb %r5,%r1,5
;SHA1_Final+736
	stb %r4,%r1,4
	ldbz %r3,%r2,27
	stb %r3,%r1,3
;SHA1_Final+752
	ldbz %r3,%r2,26
	stb %r3,%r1,2
	ldbz %r3,%r2,25
;SHA1_Final+768
	stb %r3,%r1,1
	ldbz %r2,%r2,24
	stb %r2,%r1,0
;SHA1_Final+784
	retf 0
	nop 0
	nop 0
;SHA1_UpdateInt32
	allocsp 8,16
	srliw %r3,%r2,24
	stb %r3,%sp,12
;SHA1_UpdateInt32+16
	srliw %r3,%r2,16
	stb %r3,%sp,13
	srliw %r3,%r2,8
;SHA1_UpdateInt32+32
	stb %r3,%sp,14
	stb %r2,%sp,15
	addi %r6,%sp,12
;SHA1_UpdateInt32+48
	ldi %r7,4
	mov %r5,%r1
	callr %r4,SHA1_Update
;SHA1_UpdateInt32+64
	retf 16
	nop 0
	nop 0
;SHA1_UpdateString
	alloc 7
	mov %r6,%r2
	callr %r5,strlen
;SHA1_UpdateString+16
	addi %r6,%r6,1
	mov2 %r4,%r5,%r1,%r2
	callr %r3,SHA1_Update
;SHA1_UpdateString+32
	retf 0
	nop 0
	nop 0
;StatCopy
	alloc 4
	ldafr %r3,.rodata+25952
	callr %r2,M_ParmExists
;StatCopy+16
	bweq %r3,%gz,StatCopy+48
	ldwzr %r1,num_captured_stats
	bwgei %r1,32,StatCopy+48
;StatCopy+32
	addiws %r1,%r1,1
	stwr %r1,num_captured_stats
	nop 0
;StatCopy+48
	retf 0
	nop 0
	nop 0
;StatDump
	alloc 1
	retf 0
	nop 0
;STlib_init
	alloc 4
	ldafr %r2,.rodata+9524
	ldi %r3,1
;STlib_init+16
	callr %r1,W_CacheLumpName
	stdr %r2,sttminus
	retf 0
;STlib_initNum
	alloc 8
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initNum+16
	stw %gz,%r1,12
	stw %r7,%r1,8
	std %r5,%r1,16
;STlib_initNum+32
	std %r6,%r1,24
	std %r4,%r1,32
	retf 0
;STlib_drawNum
	alloc 19
	lddz %r2,%r1,32
	lddz %r3,%r2,0
;STlib_drawNum+16
	lddz %r2,%r1,16
	ldbs %r5,%r3,1
	ldbz %r7,%r3,0
;STlib_drawNum+32
	ldwz %r4,%r2,0
	ldwz %r6,%r1,8
	slor %r5,%r7,%r5,8
;STlib_drawNum+48
	ldbs %r2,%r3,3
	ldbz %r3,%r3,2
	stw %r4,%r1,12
;STlib_drawNum+64
	mov %r7,%r4
	bwgei %r4,0,STlib_drawNum+144
	cmpweqi %r7,%r6,3
;STlib_drawNum+80
	ldi %r8,-99
	maxuw %r8,%r4,%r8
	nop 2
;STlib_drawNum+96
	cmpwltui.l %r9,%r4,4294967287
	cmovlsb %r7,%r7,%r8,%r4
;STlib_drawNum+112
	ldi %r8,-9
	cmpweqi %r10,%r6,2
	cmovlsb %r8,%r9,%r8,%r7
;STlib_drawNum+128
	cmovlsb %r7,%r10,%r8,%r7
	subfiws %r7,%r7,0
	nop 0
;STlib_drawNum+144
	ldwz %r8,%r1,0
	ldwz %r18,%r1,4
	slor %r16,%r3,%r2,8
;STlib_drawNum+160
	mulws %r15,%r6,%r5
	subws %r12,%r8,%r15
	bwgei %r18,168,STlib_drawNum+192
;STlib_drawNum+176
	ldafr %r18,.rodata+23779
	callr %r17,I_Error
	ldwz %r18,%r1,4
;STlib_drawNum+192
	addiws %r13,%r18,-168
	lddzr %r14,st_backing_screen
	mov %r17,%r12
;STlib_drawNum+208
	callr %r11,V_CopyRect
	bweqi.l %r7,1994,STlib_drawNum+352
;STlib_drawNum+224
	ldwz %r2,%r1,0
	bweq %r7,%gz,STlib_drawNum+368
	bweq %r6,%gz,STlib_drawNum+336
;STlib_drawNum+240
	subws %r2,%r2,%r5
	ldwz %r17,%r1,4
	lddz %r3,%r1,32
;STlib_drawNum+256
	srliw %r8,%r7,0
	muli.l %r8,%r8,3435973837
;STlib_drawNum+272
	srli %r8,%r8,35
	mulwsi %r9,%r8,10
	subws %r9,%r7,%r9
;STlib_drawNum+288
	lddzx.xuw %r18,%r3,%r9,3,0
	mov %r16,%r2
	callr %r15,V_DrawPatch
;STlib_drawNum+304
	bwltui %r7,10,STlib_drawNum+336
	addiws %r6,%r6,-1
	mov %r7,%r8
;STlib_drawNum+320
	bwne %r6,%gz,STlib_drawNum+240
	nop 0
	nop 0
;STlib_drawNum+336
	bwlti %r4,0,STlib_drawNum+400
	nop 0
	nop 0
;STlib_drawNum+352
	retf 0
	nop 0
	nop 0
;STlib_drawNum+368
	lddz %r3,%r1,32
	subws %r16,%r2,%r5
	ldwz %r17,%r1,4
;STlib_drawNum+384
	lddz %r18,%r3,0
	callr %r15,V_DrawPatch
	bwgei %r4,0,STlib_drawNum+352
;STlib_drawNum+400
	addiws %r16,%r2,-8
	ldwz %r17,%r1,4
	lddzr %r18,sttminus
;STlib_drawNum+416
	callr %r15,V_DrawPatch
	retf 0
	nop 0
;STlib_updateNum
	alloc 6
	lddz %r2,%r1,24
	ldwz %r2,%r2,0
;STlib_updateNum+16
	bweq %r2,%gz,STlib_updateNum+32
	mov %r4,%r1
	callr %r3,STlib_drawNum
;STlib_updateNum+32
	retf 0
	nop 0
	nop 0
;STlib_initPercent
	alloc 8
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initPercent+16
	ldi %r2,3
	std %r2,%r1,8
	std %r5,%r1,16
;STlib_initPercent+32
	std %r6,%r1,24
	std %r4,%r1,32
	std %r7,%r1,48
;STlib_initPercent+48
	retf 0
	nop 0
	nop 0
;STlib_updatePercent
	alloc 7
	bweq %r2,%gz,STlib_updatePercent+48
	lddz %r2,%r1,24
;STlib_updatePercent+16
	ldwz %r2,%r2,0
	bweq %r2,%gz,STlib_updatePercent+48
	ldwz %r4,%r1,0
;STlib_updatePercent+32
	ldwz %r5,%r1,4
	lddz %r6,%r1,48
	callr %r3,V_DrawPatch
;STlib_updatePercent+48
	lddz %r2,%r1,24
	ldwz %r2,%r2,0
	bweq %r2,%gz,STlib_updatePercent+80
;STlib_updatePercent+64
	mov %r5,%r1
	callr %r4,STlib_drawNum
	nop 0
;STlib_updatePercent+80
	retf 0
	nop 0
	nop 0
;STlib_initMultIcon
	alloc 7
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initMultIcon+16
	ldi %r2,-1
	stw %r2,%r1,8
	std %r5,%r1,16
;STlib_initMultIcon+32
	std %r6,%r1,24
	std %r4,%r1,32
	retf 0
;STlib_updateMultIcon
	alloc 21
	lddz %r3,%r1,24
	ldwz %r3,%r3,0
;STlib_updateMultIcon+16
	bweq %r3,%gz,STlib_updateMultIcon+272
	lddz %r3,%r1,16
	ldwz %r3,%r3,0
;STlib_updateMultIcon+32
	bweqi %r3,-1,STlib_updateMultIcon+272
	ldwz %r4,%r1,8
	cmpweq %r5,%r4,%r3
;STlib_updateMultIcon+48
	cmpweqi %r2,%r2,0
	and %r2,%r2,%r5
	bbsi %r2,0,STlib_updateMultIcon+272
;STlib_updateMultIcon+64
	bweqi %r4,-1,STlib_updateMultIcon+224
	lddz %r2,%r1,32
	lddzx.xw %r2,%r2,%r4,3,0
;STlib_updateMultIcon+80
	ldwz %r3,%r1,0
	ldbs %r4,%r2,5
	ldbz %r5,%r2,4
;STlib_updateMultIcon+96
	ldwz %r6,%r1,4
	ldbs %r7,%r2,7
	ldbz %r8,%r2,6
;STlib_updateMultIcon+112
	ldbs %r9,%r2,1
	ldbz %r10,%r2,0
	ldbs %r11,%r2,3
;STlib_updateMultIcon+128
	ldbz %r12,%r2,2
	slor %r2,%r5,%r4,8
	subws %r14,%r3,%r2
;STlib_updateMultIcon+144
	slor %r2,%r8,%r7,8
	subws %r2,%r6,%r2
	slor %r17,%r10,%r9,8
;STlib_updateMultIcon+160
	slor %r18,%r12,%r11,8
	addiws %r15,%r2,-168
	bwgei %r2,168,STlib_updateMultIcon+192
;STlib_updateMultIcon+176
	ldafr %r20,.rodata+11011
	callr %r19,I_Error
	nop 0
;STlib_updateMultIcon+192
	lddzr %r16,st_backing_screen
	mov2 %r19,%r20,%r14,%r2
	callr %r13,V_CopyRect
;STlib_updateMultIcon+208
	lddz %r2,%r1,16
	ldwz %r3,%r2,0
	nop 0
;STlib_updateMultIcon+224
	lddz %r2,%r1,32
	ldwz %r18,%r1,0
	ldwz %r19,%r1,4
;STlib_updateMultIcon+240
	lddzx.xw %r20,%r2,%r3,3,0
	callr %r17,V_DrawPatch
	lddz %r2,%r1,16
;STlib_updateMultIcon+256
	ldwz %r2,%r2,0
	stw %r2,%r1,8
	nop 0
;STlib_updateMultIcon+272
	retf 0
	nop 0
	nop 0
;STlib_initBinIcon
	alloc 7
	stw %r2,%r1,0
	stw %r3,%r1,4
;STlib_initBinIcon+16
	stw %gz,%r1,8
	std %r5,%r1,16
	std %r6,%r1,24
;STlib_initBinIcon+32
	std %r4,%r1,32
	retf 0
	nop 0
;STlib_updateBinIcon
	alloc 19
	lddz %r3,%r1,24
	ldwz %r3,%r3,0
;STlib_updateBinIcon+16
	bweq %r3,%gz,STlib_updateBinIcon+48
	lddz %r3,%r1,16
	ldwz %r3,%r3,0
;STlib_updateBinIcon+32
	bwne %r2,%gz,STlib_updateBinIcon+64
	ldwz %r2,%r1,8
	bwne %r2,%r3,STlib_updateBinIcon+64
;STlib_updateBinIcon+48
	retf 0
	nop 0
	nop 0
;STlib_updateBinIcon+64
	lddz %r10,%r1,32
	ldbs %r2,%r10,7
	ldbz %r7,%r10,6
;STlib_updateBinIcon+80
	ldwz %r8,%r1,4
	ldwz %r4,%r1,0
	ldbs %r5,%r10,5
;STlib_updateBinIcon+96
	ldbz %r6,%r10,4
	slor %r2,%r7,%r2,8
	subws %r2,%r8,%r2
;STlib_updateBinIcon+112
	ldbs %r7,%r10,1
	ldbz %r8,%r10,0
	ldbs %r9,%r10,3
;STlib_updateBinIcon+128
	ldbz %r10,%r10,2
	bwgei %r2,168,STlib_updateBinIcon+160
	ldafr %r18,.rodata+11955
;STlib_updateBinIcon+144
	callr %r17,I_Error
	lddz %r3,%r1,16
	ldwz %r3,%r3,0
;STlib_updateBinIcon+160
	bweq %r3,%gz,STlib_updateBinIcon+192
	ldwz %r16,%r1,0
	ldwz %r17,%r1,4
;STlib_updateBinIcon+176
	lddz %r18,%r1,32
	callr %r15,V_DrawPatch
	jmp STlib_updateBinIcon+240
;STlib_updateBinIcon+192
	slor %r3,%r6,%r5,8
	subws %r12,%r4,%r3
	slor %r15,%r8,%r7,8
;STlib_updateBinIcon+208
	slor %r16,%r10,%r9,8
	addiws %r13,%r2,-168
	lddzr %r14,st_backing_screen
;STlib_updateBinIcon+224
	mov2 %r17,%r18,%r12,%r2
	callr %r11,V_CopyRect
	nop 0
;STlib_updateBinIcon+240
	lddz %r2,%r1,16
	ldwz %r2,%r2,0
	stw %r2,%r1,8
;STlib_updateBinIcon+256
	retf 0
	nop 0
	nop 0
;ST_refreshBackground
	alloc 10
	ldwzr %r1,st_statusbaron
	bweq %r1,%gz,ST_refreshBackground+128
;ST_refreshBackground+16
	lddzr %r9,st_backing_screen
	callr %r8,V_UseBuffer
	lddzr %r9,sbar
;ST_refreshBackground+32
	mov2 %r7,%r8,%gz,%gz
	callr %r6,V_DrawPatch
	ldwzr %r1,netgame
;ST_refreshBackground+48
	bweq %r1,%gz,ST_refreshBackground+80
	lddzr %r9,faceback
	ldi %r7,143
;ST_refreshBackground+64
	mov %r8,%gz
	callr %r6,V_DrawPatch
	nop 0
;ST_refreshBackground+80
	callr %r9,V_RestoreBuffer
	lddzr %r5,st_backing_screen
	ldi %r6,320
;ST_refreshBackground+96
	ldi %r7,32
	ldi %r9,168
	mov2 %r3,%r4,%gz,%gz
;ST_refreshBackground+112
	mov %r8,%gz
	callr %r2,V_CopyRect
	nop 0
;ST_refreshBackground+128
	retf 0
	nop 0
	nop 0
;ST_Responder
	allocsp 12,32
	ldwz %r2,%r1,0
	bweq %r2,%gz,ST_Responder+64
;ST_Responder+16
	bwnei %r2,1,ST_Responder+848
	ldwz %r1,%r1,4
	nop 2
;ST_Responder+32
	bwnei.l %r1,1634559232,ST_Responder+848
	ldi %r1,1
;ST_Responder+48
	stwr %r1,st_firsttime
	mov %r1,%gz
	retf 32
;ST_Responder+64
	ldwzr %r2,netgame
	bwne %r2,%gz,ST_Responder+832
	ldwzr %r3,gameskill
;ST_Responder+80
	bweqi %r3,4,ST_Responder+832
	ldbs %r11,%r1,8
	ldafr %r10,cheat_god
;ST_Responder+96
	callr %r9,cht_CheckCheat
	bweq %r10,%gz,ST_Responder+176
	lddzr %r2,plyr
;ST_Responder+112
	ldwz %r3,%r2,208
	xori %r4,%r3,2
	stw %r4,%r2,208
;ST_Responder+128
	bbsi %r3,1,ST_Responder+320
	lddz %r4,%r2,0
	ldi %r3,100
;ST_Responder+144
	bdeq %r4,%gz,ST_Responder+160
	stw %r3,%r4,164
	nop 0
;ST_Responder+160
	stw %r3,%r2,44
	ldafr %r3,.rodata+4208
	jmp ST_Responder+512
;ST_Responder+176
	ldbs %r11,%r1,8
	ldafr %r10,cheat_ammonokey
	callr %r9,cht_CheckCheat
;ST_Responder+192
	bweq %r10,%gz,ST_Responder+336
	lddzr %r2,plyr
	mov %r3,%gz
;ST_Responder+208
	ldi.l %r4,8589934792
	std %r4,%r2,48
;ST_Responder+224
	addi %r4,%r2,132
	ldi %r5,1
	nop 0
;ST_Responder+240
	stwx.xd %r5,%r4,%r3,0,0
	addi %r3,%r3,4
	bdnei %r3,36,ST_Responder+240
;ST_Responder+256
	ldwz %r3,%r2,196
	stw %r3,%r2,180
	ldwz %r3,%r2,192
;ST_Responder+272
	stw %r3,%r2,176
	ldwz %r3,%r2,188
	stw %r3,%r2,172
;ST_Responder+288
	ldwz %r3,%r2,184
	stw %r3,%r2,168
	ldafr %r3,.rodata+11983
;ST_Responder+304
	jmp ST_Responder+512
	nop 0
	nop 0
;ST_Responder+320
	ldafr %r3,.rodata+1844
	jmp ST_Responder+512
	nop 0
;ST_Responder+336
	ldbs %r11,%r1,8
	ldafr %r10,cheat_ammo
	callr %r9,cht_CheckCheat
;ST_Responder+352
	bweq %r10,%gz,ST_Responder+1264
	lddzr %r2,plyr
	mov %r4,%gz
;ST_Responder+368
	ldi.l %r3,8589934792
	std %r3,%r2,48
;ST_Responder+384
	addi %r5,%r2,132
	ldi %r3,1
	nop 0
;ST_Responder+400
	stwx.xd %r3,%r5,%r4,0,0
	addi %r4,%r4,4
	bdnei %r4,36,ST_Responder+400
;ST_Responder+416
	ldwz %r4,%r2,196
	stw %r4,%r2,180
	ldwz %r4,%r2,192
;ST_Responder+432
	stw %r4,%r2,176
	ldwz %r4,%r2,188
	stw %r4,%r2,172
;ST_Responder+448
	ldwz %r5,%r2,184
	mov %r4,%gz
	stw %r5,%r2,168
;ST_Responder+464
	addi %r5,%r2,80
	nop 0
	nop 0
;ST_Responder+480
	stwx.xd %r3,%r5,%r4,0,0
	addi %r4,%r4,4
	bdnei %r4,24,ST_Responder+480
;ST_Responder+496
	ldafr %r3,.rodata+20042
	nop 0
	nop 0
;ST_Responder+512
	std %r3,%r2,232
	nop 0
	nop 0
;ST_Responder+528
	mov %r2,%gz
	ldi %r6,56
	ldafr %r3,cheat_powerup
;ST_Responder+544
	ldafr %r7,.rodata+17796
	ldi %r5,1
	jmp ST_Responder+624
;ST_Responder+560
	mov %r11,%r2
	callr %r9,P_GivePower
	lddzr %r10,plyr
;ST_Responder+576
	std %r7,%r10,232
	nop 0
	nop 0
;ST_Responder+592
	addi %r2,%r2,1
	addi %r6,%r6,4
	addi %r3,%r3,72
;ST_Responder+608
	bdeqi %r2,6,ST_Responder+704
	nop 0
	nop 0
;ST_Responder+624
	ldbs %r11,%r1,8
	mov %r10,%r3
	callr %r9,cht_CheckCheat
;ST_Responder+640
	bweq %r10,%gz,ST_Responder+592
	lddzr %r10,plyr
	ldwzx.xd %r4,%r10,%r6,0,0
;ST_Responder+656
	bweq %r4,%gz,ST_Responder+560
	bdnei %r2,1,ST_Responder+688
	stwx.xd %gz,%r10,%r6,0,0
;ST_Responder+672
	jmp ST_Responder+576
	nop 0
	nop 0
;ST_Responder+688
	stwx.xd %r5,%r10,%r6,0,0
	jmp ST_Responder+576
	nop 0
;ST_Responder+704
	ldbs %r11,%r1,8
	ldafr %r10,cheat_powerup+432
	callr %r9,cht_CheckCheat
;ST_Responder+720
	bweq %r10,%gz,ST_Responder+752
	ldafr %r2,.rodata+3651
	nop 0
;ST_Responder+736
	lddzr %r3,plyr
	jmp ST_Responder+800
	nop 0
;ST_Responder+752
	ldbs %r11,%r1,8
	ldafr %r10,cheat_choppers
	callr %r9,cht_CheckCheat
;ST_Responder+768
	bweq %r10,%gz,ST_Responder+1040
	lddzr %r3,plyr
	stw %r5,%r3,160
;ST_Responder+784
	stw %r5,%r3,56
	ldafr %r2,.rodata+12004
	nop 0
;ST_Responder+800
	std %r2,%r3,232
	nop 0
	nop 0
;ST_Responder+816
	ldwzr %r2,netgame
	nop 0
	nop 0
;ST_Responder+832
	bweq %r2,%gz,ST_Responder+864
	nop 0
	nop 0
;ST_Responder+848
	mov %r1,%gz
	retf 32
	nop 0
;ST_Responder+864
	ldbs %r11,%r1,8
	ldafr %r10,cheat_clev
	callr %r9,cht_CheckCheat
;ST_Responder+880
	bweq %r10,%gz,ST_Responder+848
	ldafr %r10,cheat_clev
	addi %r11,%sp,26
;ST_Responder+896
	callr %r9,cht_GetParam
	ldwzr %r2,gamemode
	ldbs %r1,%sp,26
;ST_Responder+912
	bwnei %r2,2,ST_Responder+960
	ldbs %r3,%sp,27
	mulwsi %r1,%r1,10
;ST_Responder+928
	addws %r1,%r1,%r3
	addiws %r1,%r1,-480
	ldi %r3,1
;ST_Responder+944
	jmp ST_Responder+976
	nop 0
	nop 0
;ST_Responder+960
	addiws %r3,%r1,-48
	ldbs %r1,%sp,27
	nop 0
;ST_Responder+976
	ldwzr %r4,gameversion
	cmpweqi %r4,%r4,9
	ldi %r5,1
;ST_Responder+992
	cmovlsb %r10,%r4,%r5,%r3
	bwlti %r10,1,ST_Responder+848
	bwlti %r1,49,ST_Responder+848
;ST_Responder+1008
	bweq %r2,%gz,ST_Responder+1168
	bweqi %r2,1,ST_Responder+1152
	bwnei %r2,3,ST_Responder+1200
;ST_Responder+1024
	bwltui %r10,5,ST_Responder+1184
	jmp ST_Responder+848
	nop 0
;ST_Responder+1040
	ldbs %r11,%r1,8
	ldafr %r10,cheat_mypos
	callr %r9,cht_CheckCheat
;ST_Responder+1056
	bweq %r10,%gz,ST_Responder+816
	ldwsr %r2,consoleplayer
	muli %r2,%r2,328
;ST_Responder+1072
	ldafr %r3,players
	lddzx.xd %r2,%r2,%r3,0,0
	ldwz %r3,%r2,56
;ST_Responder+1088
	ldwz %r4,%r2,24
	ldwz %r2,%r2,28
	stw %r2,%sp,8
;ST_Responder+1104
	stw %r4,%sp,4
	ldafr %r2,ST_Responder.buf
	ldafr %r11,.rodata+19274
;ST_Responder+1120
	ldi %r10,52
	stw %r3,%sp,0
	mov %r9,%r2
;ST_Responder+1136
	callr %r8,M_snprintf
	jmp ST_Responder+736
	nop 0
;ST_Responder+1152
	bwltui %r10,4,ST_Responder+1184
	jmp ST_Responder+848
	nop 0
;ST_Responder+1168
	bwnei %r10,1,ST_Responder+848
	nop 0
	nop 0
;ST_Responder+1184
	bwltui %r1,58,ST_Responder+1216
	jmp ST_Responder+848
	nop 0
;ST_Responder+1200
	bwnei %r2,2,ST_Responder+1216
	bwnei %r10,1,ST_Responder+848
	bwgeui %r1,89,ST_Responder+848
;ST_Responder+1216
	lddzr %r2,plyr
	addiws %r11,%r1,-48
	ldafr %r1,.rodata+14568
;ST_Responder+1232
	std %r1,%r2,232
	ldwzr %r9,gameskill
	callr %r8,G_DeferedInitNew
;ST_Responder+1248
	mov %r1,%gz
	retf 32
	nop 0
;ST_Responder+1264
	ldbs %r11,%r1,8
	ldafr %r10,cheat_mus
	callr %r9,cht_CheckCheat
;ST_Responder+1280
	bweq %r10,%gz,ST_Responder+1376
	lddzr %r2,plyr
	ldafr %r3,.rodata+28797
;ST_Responder+1296
	std %r3,%r2,232
	ldafr %r10,cheat_mus
	addi %r11,%sp,29
;ST_Responder+1312
	callr %r9,cht_GetParam
	ldwzr %r4,gamemode
	ldbs %r3,%sp,29
;ST_Responder+1328
	ldbs %r2,%sp,30
	bweqi %r4,2,ST_Responder+1424
	ldwzr %r4,gameversion
;ST_Responder+1344
	bwltui %r4,6,ST_Responder+1424
	mulwsi %r3,%r3,9
	addws %r2,%r3,%r2
;ST_Responder+1360
	bwgei %r2,522,ST_Responder+1440
	addiws %r10,%r2,-489
	jmp ST_Responder+1472
;ST_Responder+1376
	ldwzr %r2,gamemission
	andi %r2,%r2,-5
	bweq %r2,%gz,ST_Responder+1488
;ST_Responder+1392
	ldbs %r11,%r1,8
	ldafr %r10,cheat_commercial_noclip
	callr %r9,cht_CheckCheat
;ST_Responder+1408
	bwne %r10,%gz,ST_Responder+1520
	jmp ST_Responder+528
	nop 0
;ST_Responder+1424
	mulwsi %r3,%r3,10
	addws %r2,%r3,%r2
	bwlti %r2,564,ST_Responder+1456
;ST_Responder+1440
	lddzr %r2,plyr
	ldafr %r3,.rodata+2788
	jmp ST_Responder+512
;ST_Responder+1456
	addiws %r10,%r2,-496
	nop 0
	nop 0
;ST_Responder+1472
	ldi %r11,1
	callr %r9,S_ChangeMusic
	jmp ST_Responder+528
;ST_Responder+1488
	ldbs %r11,%r1,8
	ldafr %r10,cheat_noclip
	callr %r9,cht_CheckCheat
;ST_Responder+1504
	bweq %r10,%gz,ST_Responder+1584
	nop 0
	nop 0
;ST_Responder+1520
	lddzr %r2,plyr
	ldwz %r3,%r2,208
	xori %r4,%r3,1
;ST_Responder+1536
	stw %r4,%r2,208
	bbsi %r3,0,ST_Responder+1568
	ldafr %r3,.rodata+1868
;ST_Responder+1552
	jmp ST_Responder+512
	nop 0
	nop 0
;ST_Responder+1568
	ldafr %r3,.rodata+22121
	jmp ST_Responder+512
	nop 0
;ST_Responder+1584
	ldwzr %r2,gamemission
	andi %r2,%r2,-5
	bwne %r2,%gz,ST_Responder+1392
;ST_Responder+1600
	jmp ST_Responder+528
	nop 0
	nop 0
;ST_calcPainOffset
	alloc 4
	lddzr %r1,plyr
	ldwz %r1,%r1,44
;ST_calcPainOffset+16
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r2,100
	minsw %r2,%r1,%r2
;ST_calcPainOffset+32
	bwne %r2,%r3,ST_calcPainOffset+48
	ldwzr %r1,ST_calcPainOffset.lastcalc
	retf 0
;ST_calcPainOffset+48
	subfiws %r1,%r2,100
	mulwsi %r3,%r1,5
	mulwzi %r1,%r1,5
;ST_calcPainOffset+64
	muli.l %r1,%r1,1148159575
	srli %r1,%r1,32
;ST_calcPainOffset+80
	subws %r3,%r3,%r1
	srliw %r3,%r3,1
	addws %r1,%r3,%r1
;ST_calcPainOffset+96
	srliw %r1,%r1,3
	andi.l %r1,%r1,536870904
;ST_calcPainOffset+112
	stwr %r1,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	retf 0
;ST_updateFaceWidget
	alloc 16
	lddzr %r1,plyr
	ldwz %r2,%r1,44
;ST_updateFaceWidget+16
	bweq %r2,%gz,ST_updateFaceWidget+160
	ldwzr %r3,ST_updateFaceWidget.priority
	bwgei %r3,9,ST_updateFaceWidget+1440
;ST_updateFaceWidget+32
	ldwz %r4,%r1,244
	bweq %r4,%gz,ST_updateFaceWidget+208
	mov %r5,%gz
;ST_updateFaceWidget+48
	addi %r4,%r1,132
	ldi %r7,1
	ldafr %r6,oldweaponsowned
;ST_updateFaceWidget+64
	addi %r9,%r5,1
	slli %r8,%r5,2
	mov %r5,%r9
;ST_updateFaceWidget+80
	ldwzx.xd %r10,%r8,%r6,0,0
	ldwzx.xd %r9,%r4,%r8,0,0
	bwne %r10,%r9,ST_updateFaceWidget+128
;ST_updateFaceWidget+96
	addi %r5,%r5,1
	addi %r8,%r8,4
	bdnei %r5,10,ST_updateFaceWidget+80
;ST_updateFaceWidget+112
	jmp ST_updateFaceWidget+192
	nop 0
	nop 0
;ST_updateFaceWidget+128
	mov %r7,%gz
	stwx.xd %r9,%r8,%r6,0,0
	bdnei %r5,9,ST_updateFaceWidget+64
;ST_updateFaceWidget+144
	jmp ST_updateFaceWidget+320
	nop 0
	nop 0
;ST_updateFaceWidget+160
	ldi %r1,9
	stwr %r1,ST_updateFaceWidget.priority
	ldi %r1,41
;ST_updateFaceWidget+176
	stwr %r1,st_faceindex
	ldi %r2,1
	jmp ST_updateFaceWidget+1648
;ST_updateFaceWidget+192
	bbci %r7,0,ST_updateFaceWidget+320
	nop 0
	nop 0
;ST_updateFaceWidget+208
	bweqi %r3,8,ST_updateFaceWidget+1440
	ldwz %r3,%r1,240
	bweq %r3,%gz,ST_updateFaceWidget+896
;ST_updateFaceWidget+224
	lddz %r3,%r1,248
	bdeq %r3,%gz,ST_updateFaceWidget+896
	lddz %r5,%r1,0
;ST_updateFaceWidget+240
	bdeq %r3,%r5,ST_updateFaceWidget+896
	ldwzr %r4,st_oldhealth
	ldi %r6,7
;ST_updateFaceWidget+256
	subws %r7,%r2,%r4
	stwr %r6,ST_updateFaceWidget.priority
	ldi %r4,35
;ST_updateFaceWidget+272
	bwlti %r7,21,ST_updateFaceWidget+480
	ldwzr %r5,ST_calcPainOffset.oldhealth
	ldi %r3,100
;ST_updateFaceWidget+288
	minsw %r3,%r2,%r3
	stwr %r4,st_facecount
	bwne %r3,%r5,ST_updateFaceWidget+592
;ST_updateFaceWidget+304
	ldwzr %r3,ST_calcPainOffset.lastcalc
	addiws %r3,%r3,5
	jmp ST_updateFaceWidget+880
;ST_updateFaceWidget+320
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r4,8
	stwr %r4,ST_updateFaceWidget.priority
;ST_updateFaceWidget+336
	ldi %r4,70
	ldi %r5,100
	minsw %r2,%r2,%r5
;ST_updateFaceWidget+352
	stwr %r4,st_facecount
	bwne %r2,%r3,ST_updateFaceWidget+384
	ldwzr %r2,ST_calcPainOffset.lastcalc
;ST_updateFaceWidget+368
	addiws %r2,%r2,6
	jmp ST_updateFaceWidget+464
	nop 0
;ST_updateFaceWidget+384
	subfiws %r3,%r2,100
	mulwsi %r4,%r3,5
	mulwzi %r3,%r3,5
;ST_updateFaceWidget+400
	muli.l %r3,%r3,1148159575
	srli %r3,%r3,32
;ST_updateFaceWidget+416
	subws %r4,%r4,%r3
	srliw %r4,%r4,1
	addws %r3,%r4,%r3
;ST_updateFaceWidget+432
	srliw %r3,%r3,3
	andi.l %r3,%r3,536870904
;ST_updateFaceWidget+448
	stwr %r3,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	addiws %r2,%r3,6
;ST_updateFaceWidget+464
	stwr %r2,st_faceindex
	jmp ST_updateFaceWidget+1440
	nop 0
;ST_updateFaceWidget+480
	ldwz %r12,%r5,24
	ldwz %r13,%r5,28
	ldwz %r14,%r3,24
;ST_updateFaceWidget+496
	ldwz %r15,%r3,28
	callr %r11,R_PointToAngle2
	lddzr %r1,plyr
;ST_updateFaceWidget+512
	lddz %r2,%r1,0
	ldwz %r3,%r2,56
	stwr %r4,st_facecount
;ST_updateFaceWidget+528
	ldwz %r2,%r1,44
	ldwzr %r4,ST_calcPainOffset.oldhealth
	minuw %r5,%r12,%r3
;ST_updateFaceWidget+544
	maxuw %r7,%r12,%r3
	ldi %r6,100
	minsw %r6,%r2,%r6
;ST_updateFaceWidget+560
	subws %r5,%r7,%r5
	bwne %r6,%r4,ST_updateFaceWidget+688
	ldwzr %r4,ST_calcPainOffset.lastcalc
;ST_updateFaceWidget+576
	jmp ST_updateFaceWidget+768
	nop 0
	nop 0
;ST_updateFaceWidget+592
	subfiws %r4,%r3,100
	mulwsi %r5,%r4,5
	mulwzi %r4,%r4,5
;ST_updateFaceWidget+608
	muli.l %r4,%r4,1148159575
	srli %r4,%r4,32
;ST_updateFaceWidget+624
	subws %r5,%r5,%r4
	srliw %r5,%r5,1
	addws %r4,%r5,%r4
;ST_updateFaceWidget+640
	srliw %r4,%r4,3
	andi.l %r4,%r4,536870904
;ST_updateFaceWidget+656
	stwr %r4,ST_calcPainOffset.lastcalc
	stwr %r3,ST_calcPainOffset.oldhealth
	addiws %r3,%r4,5
;ST_updateFaceWidget+672
	jmp ST_updateFaceWidget+880
	nop 0
	nop 0
;ST_updateFaceWidget+688
	subfiws %r4,%r6,100
	mulwsi %r7,%r4,5
	mulwzi %r4,%r4,5
;ST_updateFaceWidget+704
	muli.l %r4,%r4,1148159575
	srli %r4,%r4,32
;ST_updateFaceWidget+720
	subws %r7,%r7,%r4
	srliw %r7,%r7,1
	addws %r4,%r7,%r4
;ST_updateFaceWidget+736
	srliw %r4,%r4,3
	andi.l %r4,%r4,536870904
;ST_updateFaceWidget+752
	stwr %r4,ST_calcPainOffset.lastcalc
	stwr %r6,ST_calcPainOffset.oldhealth
	nop 0
;ST_updateFaceWidget+768
	bwgeui.l %r5,536870912,ST_updateFaceWidget+800
	addiws %r3,%r4,7
;ST_updateFaceWidget+784
	jmp ST_updateFaceWidget+880
	nop 0
	nop 0
;ST_updateFaceWidget+800
	subws %r5,%r12,%r3
	subws %r6,%r3,%r12
	cmpwltu %r3,%r3,%r12
;ST_updateFaceWidget+816
	cmpwgtui.l %r5,%r5,2147483648
	nop 2
;ST_updateFaceWidget+832
	cmpwltui.l %r6,%r6,2147483649
	cmovlsb %r3,%r3,%r5,%r6
;ST_updateFaceWidget+848
	bbci %r3,0,ST_updateFaceWidget+864
	addiws %r3,%r4,3
	jmp ST_updateFaceWidget+880
;ST_updateFaceWidget+864
	addiws %r3,%r4,4
	nop 0
	nop 0
;ST_updateFaceWidget+880
	stwr %r3,st_faceindex
	nop 0
	nop 0
;ST_updateFaceWidget+896
	ldwzr %r3,ST_updateFaceWidget.priority
	bwgei %r3,7,ST_updateFaceWidget+1440
	ldwz %r4,%r1,240
;ST_updateFaceWidget+912
	bweq %r4,%gz,ST_updateFaceWidget+992
	ldwzr %r3,st_oldhealth
	subws %r3,%r2,%r3
;ST_updateFaceWidget+928
	ldi %r4,100
	minsw %r2,%r2,%r4
	bwlti %r3,21,ST_updateFaceWidget+1088
;ST_updateFaceWidget+944
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r4,7
	stwr %r4,ST_updateFaceWidget.priority
;ST_updateFaceWidget+960
	ldi %r4,35
	stwr %r4,st_facecount
	bwne %r2,%r3,ST_updateFaceWidget+1136
;ST_updateFaceWidget+976
	ldwzr %r2,ST_calcPainOffset.lastcalc
	addiws %r2,%r2,5
	jmp ST_updateFaceWidget+464
;ST_updateFaceWidget+992
	bweqi %r3,6,ST_updateFaceWidget+1440
	ldwz %r4,%r1,200
	bweq %r4,%gz,ST_updateFaceWidget+1328
;ST_updateFaceWidget+1008
	ldwzr %r4,ST_updateFaceWidget.lastattackdown
	bweqi %r4,-1,ST_updateFaceWidget+1344
	addiws %r4,%r4,-1
;ST_updateFaceWidget+1024
	stwr %r4,ST_updateFaceWidget.lastattackdown
	bwne %r4,%gz,ST_updateFaceWidget+1376
	ldwzr %r3,ST_calcPainOffset.oldhealth
;ST_updateFaceWidget+1040
	ldi %r4,5
	ldi %r1,100
	minsw %r1,%r2,%r1
;ST_updateFaceWidget+1056
	stwr %r4,ST_updateFaceWidget.priority
	bwne %r1,%r3,ST_updateFaceWidget+1664
	ldwzr %r2,ST_calcPainOffset.lastcalc
;ST_updateFaceWidget+1072
	jmp ST_updateFaceWidget+1744
	nop 0
	nop 0
;ST_updateFaceWidget+1088
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r4,6
	stwr %r4,ST_updateFaceWidget.priority
;ST_updateFaceWidget+1104
	ldi %r4,35
	stwr %r4,st_facecount
	bwne %r2,%r3,ST_updateFaceWidget+1232
;ST_updateFaceWidget+1120
	ldwzr %r2,ST_calcPainOffset.lastcalc
	addiws %r2,%r2,7
	jmp ST_updateFaceWidget+464
;ST_updateFaceWidget+1136
	subfiws %r3,%r2,100
	mulwsi %r4,%r3,5
	mulwzi %r3,%r3,5
;ST_updateFaceWidget+1152
	muli.l %r3,%r3,1148159575
	srli %r3,%r3,32
;ST_updateFaceWidget+1168
	subws %r4,%r4,%r3
	srliw %r4,%r4,1
	addws %r3,%r4,%r3
;ST_updateFaceWidget+1184
	srliw %r3,%r3,3
	andi.l %r3,%r3,536870904
;ST_updateFaceWidget+1200
	stwr %r3,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	addiws %r2,%r3,5
;ST_updateFaceWidget+1216
	jmp ST_updateFaceWidget+464
	nop 0
	nop 0
;ST_updateFaceWidget+1232
	subfiws %r3,%r2,100
	mulwsi %r4,%r3,5
	mulwzi %r3,%r3,5
;ST_updateFaceWidget+1248
	muli.l %r3,%r3,1148159575
	srli %r3,%r3,32
;ST_updateFaceWidget+1264
	subws %r4,%r4,%r3
	srliw %r4,%r4,1
	addws %r3,%r4,%r3
;ST_updateFaceWidget+1280
	srliw %r3,%r3,3
	andi.l %r3,%r3,536870904
;ST_updateFaceWidget+1296
	stwr %r3,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	addiws %r2,%r3,7
;ST_updateFaceWidget+1312
	jmp ST_updateFaceWidget+464
	nop 0
	nop 0
;ST_updateFaceWidget+1328
	ldi %r2,-1
	jmp ST_updateFaceWidget+1360
	nop 0
;ST_updateFaceWidget+1344
	ldi %r2,70
	nop 0
	nop 0
;ST_updateFaceWidget+1360
	stwr %r2,ST_updateFaceWidget.lastattackdown
	nop 0
	nop 0
;ST_updateFaceWidget+1376
	bwgei %r3,5,ST_updateFaceWidget+1440
	ldbz %r2,%r1,208
	bbsi %r2,1,ST_updateFaceWidget+1408
;ST_updateFaceWidget+1392
	ldwz %r2,%r1,56
	bweq %r2,%gz,ST_updateFaceWidget+1440
	nop 0
;ST_updateFaceWidget+1408
	ldi %r1,4
	stwr %r1,ST_updateFaceWidget.priority
	ldi %r1,40
;ST_updateFaceWidget+1424
	jmp ST_updateFaceWidget+176
	nop 0
	nop 0
;ST_updateFaceWidget+1440
	ldwzr %r2,st_facecount
	bwne %r2,%gz,ST_updateFaceWidget+1648
	ldwz %r1,%r1,44
;ST_updateFaceWidget+1456
	ldwzr %r3,ST_calcPainOffset.oldhealth
	ldi %r2,100
	minsw %r2,%r1,%r2
;ST_updateFaceWidget+1472
	bwne %r2,%r3,ST_updateFaceWidget+1488
	ldwzr %r1,ST_calcPainOffset.lastcalc
	jmp ST_updateFaceWidget+1568
;ST_updateFaceWidget+1488
	subfiws %r1,%r2,100
	mulwsi %r3,%r1,5
	mulwzi %r1,%r1,5
;ST_updateFaceWidget+1504
	muli.l %r1,%r1,1148159575
	srli %r1,%r1,32
;ST_updateFaceWidget+1520
	subws %r3,%r3,%r1
	srliw %r3,%r3,1
	addws %r1,%r3,%r1
;ST_updateFaceWidget+1536
	srliw %r1,%r1,3
	andi.l %r1,%r1,536870904
;ST_updateFaceWidget+1552
	stwr %r1,ST_calcPainOffset.lastcalc
	stwr %r2,ST_calcPainOffset.oldhealth
	nop 0
;ST_updateFaceWidget+1568
	ldwzr %r2,st_randomnumber
	sraiw %r3,%r2,0
	nop 2
;ST_updateFaceWidget+1584
	muli.l %r3,%r3,1431655766
	srli %r4,%r3,63
;ST_updateFaceWidget+1600
	srli %r3,%r3,32
	addws %r3,%r3,%r4
	mulwsi %r3,%r3,3
;ST_updateFaceWidget+1616
	subws %r2,%r2,%r3
	addws %r1,%r2,%r1
	stwr %r1,st_faceindex
;ST_updateFaceWidget+1632
	stwr %gz,ST_updateFaceWidget.priority
	ldi %r2,17
	nop 0
;ST_updateFaceWidget+1648
	addiws %r1,%r2,-1
	stwr %r1,st_facecount
	retf 0
;ST_updateFaceWidget+1664
	subfiws %r2,%r1,100
	mulwsi %r3,%r2,5
	mulwzi %r2,%r2,5
;ST_updateFaceWidget+1680
	muli.l %r2,%r2,1148159575
	srli %r2,%r2,32
;ST_updateFaceWidget+1696
	subws %r3,%r3,%r2
	srliw %r3,%r3,1
	addws %r2,%r3,%r2
;ST_updateFaceWidget+1712
	srliw %r2,%r2,3
	andi.l %r2,%r2,536870904
;ST_updateFaceWidget+1728
	stwr %r2,ST_calcPainOffset.lastcalc
	stwr %r1,ST_calcPainOffset.oldhealth
	nop 0
;ST_updateFaceWidget+1744
	addiws %r1,%r2,7
	stwr %r1,st_faceindex
	ldi %r2,1
;ST_updateFaceWidget+1760
	stwr %r2,ST_updateFaceWidget.lastattackdown
	jmp ST_updateFaceWidget+1648
	nop 0
;ST_updateWidgets
	alloc 9
	lddzr %r2,plyr
	ldwz %r3,%r2,124
;ST_updateWidgets+16
	srliw %r1,%r3,0
	muli %r1,%r1,24
	ldafr %r4,weaponinfo
;ST_updateWidgets+32
	ldwzx.xd %r1,%r1,%r4,0,0
	ldax.xd %r4,%r2,%r1,2,168
	cmpdeqi %r5,%r1,5
;ST_updateWidgets+48
	ldafr %r6,ST_updateWidgets.largeammo
	mov %r1,%gz
	cmovlsb %r4,%r5,%r6,%r4
;ST_updateWidgets+64
	stdr %r4,w_ready+16
	stwr %r3,w_ready+40
	addi %r2,%r2,92
;ST_updateWidgets+80
	ldafr %r3,keyboxes
	ldi %r4,-1
	nop 0
;ST_updateWidgets+96
	ldwz %r5,%r2,-12
	ldwz %r6,%r2,0
	cmovweq %r5,%r5,%r4,%r1
;ST_updateWidgets+112
	addiws %r7,%r1,3
	cmovweq %r5,%r6,%r5,%r7
	stw %r5,%r3,0
;ST_updateWidgets+128
	addi %r1,%r1,1
	addi %r2,%r2,4
	addi %r3,%r3,4
;ST_updateWidgets+144
	bdnei %r1,3,ST_updateWidgets+96
	callr %r8,ST_updateFaceWidget
	ldwzr %r3,deathmatch
;ST_updateWidgets+160
	ldwzr %r4,st_statusbaron
	mov2 %r1,%r2,%gz,%gz
	cmpweqi %r5,%r3,0
;ST_updateWidgets+176
	stwr %r5,st_notdeathmatch
	cmpwnei %r4,%r4,0
	and %r5,%r4,%r5
;ST_updateWidgets+192
	stwr %r5,st_armson
	cmpwnei %r3,%r3,0
	and %r3,%r3,%r4
;ST_updateWidgets+208
	lddzr %r4,plyr
	ldwzr %r5,consoleplayer
	stwr %r3,st_fragson
;ST_updateWidgets+224
	stwr %gz,st_fragscount
	addi %r3,%r4,108
	ldax.xd %r4,%r4,%r5,2,108
;ST_updateWidgets+240
	slli %r5,%r5,2
	jmp ST_updateWidgets+288
	nop 0
;ST_updateWidgets+256
	ldwz %r6,%r4,0
	subws %r2,%r2,%r6
	nop 0
;ST_updateWidgets+272
	addi %r1,%r1,4
	stwr %r2,st_fragscount
	bdeqi %r1,16,ST_updateWidgets+320
;ST_updateWidgets+288
	bdeq %r5,%r1,ST_updateWidgets+256
	ldwzx.xd %r6,%r3,%r1,0,0
	addws %r2,%r2,%r6
;ST_updateWidgets+304
	jmp ST_updateWidgets+272
	nop 0
	nop 0
;ST_updateWidgets+320
	ldwzr %r1,st_msgcounter
	addiws %r1,%r1,-1
	stwr %r1,st_msgcounter
;ST_updateWidgets+336
	retf 0
	nop 0
	nop 0
;ST_Ticker
	alloc 4
	ldwzr %r1,st_clock
	addiws %r1,%r1,1
;ST_Ticker+16
	stwr %r1,st_clock
	callr %r2,M_Random
	stwr %r3,st_randomnumber
;ST_Ticker+32
	callr %r3,ST_updateWidgets
	lddzr %r1,plyr
	ldwz %r1,%r1,44
;ST_Ticker+48
	stwr %r1,st_oldhealth
	retf 0
	nop 0
;ST_doPaletteStuff
	alloc 9
	lddzr %r2,plyr
	ldwz %r1,%r2,60
;ST_doPaletteStuff+16
	ldwz %r3,%r2,240
	sraiw %r4,%r1,6
	subfiws %r4,%r4,12
;ST_doPaletteStuff+32
	maxsw %r4,%r4,%r3
	cmovweq %r3,%r1,%r3,%r4
	ldi %r1,13
;ST_doPaletteStuff+48
	bweq %r3,%gz,ST_doPaletteStuff+96
	addiws %r2,%r3,7
	sraiw %r2,%r2,3
;ST_doPaletteStuff+64
	ldi %r3,7
	minsw %r2,%r2,%r3
	addiws %r2,%r2,1
;ST_doPaletteStuff+80
	jmp ST_doPaletteStuff+176
	nop 0
	nop 0
;ST_doPaletteStuff+96
	ldwz %r3,%r2,244
	bweq %r3,%gz,ST_doPaletteStuff+144
	addiws %r2,%r3,7
;ST_doPaletteStuff+112
	sraiw %r2,%r2,3
	ldi %r3,3
	minsw %r2,%r2,%r3
;ST_doPaletteStuff+128
	addiws %r2,%r2,9
	jmp ST_doPaletteStuff+176
	nop 0
;ST_doPaletteStuff+144
	ldwz %r2,%r2,68
	cmpwlti %r3,%r2,129
	slliw %r2,%r2,28
;ST_doPaletteStuff+160
	sraiw %r2,%r2,31
	andi %r2,%r2,13
	cmovlsb %r2,%r3,%r2,%r1
;ST_doPaletteStuff+176
	ldwzr %r3,gameversion
	addiws %r4,%r2,-1
	ldwzr %r5,st_palette
;ST_doPaletteStuff+192
	cmpwltui %r4,%r4,8
	cmpweqi %r3,%r3,9
	cmovlsb %r1,%r4,%r1,%r2
;ST_doPaletteStuff+208
	cmovlsb %r2,%r3,%r1,%r2
	bweq %r2,%r5,ST_doPaletteStuff+256
	stwr %r2,st_palette
;ST_doPaletteStuff+224
	ldwzr %r7,lu_palette
	ldi %r8,8
	callr %r6,W_CacheLumpNum
;ST_doPaletteStuff+240
	mulwsi %r1,%r2,768
	ldax.xw %r8,%r7,%r1,0,0
	callr %r7,I_SetPalette
;ST_doPaletteStuff+256
	retf 0
	nop 0
	nop 0
;ST_drawWidgets
	alloc 9
	ldwzr %r2,st_statusbaron
	ldwzr %r3,deathmatch
;ST_drawWidgets+16
	cmpwnei %r2,%r2,0
	cmpweqi %r4,%r3,0
	and %r4,%r2,%r4
;ST_drawWidgets+32
	stwr %r4,st_armson
	cmpwnei %r3,%r3,0
	and %r2,%r3,%r2
;ST_drawWidgets+48
	stwr %r2,st_fragson
	ldafr %r7,w_ready
	mov %r8,%r1
;ST_drawWidgets+64
	callr %r6,STlib_updateNum
	mov %r3,%gz
	ldafr %r4,w_ammo
;ST_drawWidgets+80
	ldafr %r5,w_maxammo
	nop 0
	nop 0
;ST_drawWidgets+96
	add %r7,%r3,%r4
	mov %r8,%r1
	callr %r6,STlib_updateNum
;ST_drawWidgets+112
	add %r7,%r3,%r5
	mov %r8,%r1
	callr %r6,STlib_updateNum
;ST_drawWidgets+128
	addi %r3,%r3,48
	bdnei %r3,192,ST_drawWidgets+96
	ldafr %r7,w_health
;ST_drawWidgets+144
	mov %r8,%r1
	callr %r6,STlib_updatePercent
	ldafr %r7,w_armor
;ST_drawWidgets+160
	mov %r8,%r1
	callr %r6,STlib_updatePercent
	ldafr %r7,w_armsbg
;ST_drawWidgets+176
	mov %r8,%r1
	callr %r6,STlib_updateBinIcon
	mov %r3,%gz
;ST_drawWidgets+192
	ldafr %r4,w_arms
	nop 0
	nop 0
;ST_drawWidgets+208
	add %r7,%r3,%r4
	mov %r8,%r1
	callr %r6,STlib_updateMultIcon
;ST_drawWidgets+224
	addi %r3,%r3,48
	bdnei %r3,288,ST_drawWidgets+208
	ldafr %r7,w_faces
;ST_drawWidgets+240
	mov %r8,%r1
	callr %r6,STlib_updateMultIcon
	mov %r3,%gz
;ST_drawWidgets+256
	ldafr %r4,w_keyboxes
	nop 0
	nop 0
;ST_drawWidgets+272
	add %r7,%r3,%r4
	mov %r8,%r1
	callr %r6,STlib_updateMultIcon
;ST_drawWidgets+288
	addi %r3,%r3,48
	bdnei %r3,144,ST_drawWidgets+272
	ldafr %r7,w_frags
;ST_drawWidgets+304
	mov %r8,%r1
	callr %r6,STlib_updateNum
	retf 0
;ST_doRefresh
	alloc 3
	stwr %gz,st_firsttime
	callr %r2,ST_refreshBackground
;ST_doRefresh+16
	ldi %r2,1
	callr %r1,ST_drawWidgets
	retf 0
;ST_diffDraw
	alloc 3
	mov %r2,%gz
	callr %r1,ST_drawWidgets
;ST_diffDraw+16
	retf 0
	nop 0
	nop 0
;ST_Drawer
	alloc 7
	ldwzr %r3,automapactive
	cmpweqi %r1,%r1,0
;ST_Drawer+16
	ldwzr %r4,st_firsttime
	cmpwnei %r3,%r3,0
	or %r1,%r1,%r3
;ST_Drawer+32
	stwr %r1,st_statusbaron
	or %r1,%r4,%r2
	cmpwnei %r1,%r1,0
;ST_Drawer+48
	stwr %r1,st_firsttime
	callr %r6,ST_doPaletteStuff
	ldwzr %r1,st_firsttime
;ST_Drawer+64
	bweq %r1,%gz,ST_Drawer+96
	stwr %gz,st_firsttime
	callr %r6,ST_refreshBackground
;ST_Drawer+80
	ldi %r6,1
	callr %r5,ST_drawWidgets
	retf 0
;ST_Drawer+96
	mov %r6,%gz
	callr %r5,ST_drawWidgets
	retf 0
;ST_loadGraphics
	allocsp 23,32
	mov %r7,%gz
	ldafr %r8,shortnum
;ST_loadGraphics+16
	ldafr %r9,tallnum
	ldafr %r1,.rodata+27805
	addi %r2,%sp,23
;ST_loadGraphics+32
	ldi %r3,9
	ldi %r4,1
	ldafr %r5,.rodata+19299
;ST_loadGraphics+48
	stw %r7,%sp,0
	mov2 %r20,%r21,%r2,%r3
	mov %r22,%r1
;ST_loadGraphics+64
	callr %r19,snprintf
	mov2 %r21,%r22,%r2,%r4
	callr %r20,W_CacheLumpName
;ST_loadGraphics+80
	std %r21,%r9,0
	stw %r7,%sp,0
	mov2 %r20,%r21,%r2,%r3
;ST_loadGraphics+96
	mov %r22,%r5
	callr %r19,snprintf
	mov2 %r21,%r22,%r2,%r4
;ST_loadGraphics+112
	callr %r20,W_CacheLumpName
	std %r21,%r8,0
	addi %r7,%r7,1
;ST_loadGraphics+128
	addi %r8,%r8,8
	addi %r9,%r9,8
	bdnei %r7,10,ST_loadGraphics+48
;ST_loadGraphics+144
	ldafr %r21,.rodata+8490
	ldi %r1,1
	mov %r22,%r1
;ST_loadGraphics+160
	callr %r20,W_CacheLumpName
	mov %r6,%gz
	stdr %r21,tallpercent
;ST_loadGraphics+176
	ldafr %r7,keys
	ldafr %r2,.rodata+7499
	addi %r3,%sp,23
;ST_loadGraphics+192
	ldi %r4,9
	nop 0
	nop 0
;ST_loadGraphics+208
	stw %r6,%sp,0
	mov2 %r20,%r21,%r3,%r4
	mov %r22,%r2
;ST_loadGraphics+224
	callr %r19,snprintf
	mov2 %r21,%r22,%r3,%r1
	callr %r20,W_CacheLumpName
;ST_loadGraphics+240
	std %r21,%r7,0
	addi %r6,%r6,1
	addi %r7,%r7,8
;ST_loadGraphics+256
	bdnei %r6,6,ST_loadGraphics+208
	ldafr %r21,.rodata+7508
	ldi %r1,1
;ST_loadGraphics+272
	mov %r22,%r1
	callr %r20,W_CacheLumpName
	stdr %r21,armsbg
;ST_loadGraphics+288
	ldi %r6,2
	ldafr %r7,arms+8
	ldafr %r8,shortnum+16
;ST_loadGraphics+304
	ldafr %r2,.rodata+10460
	addi %r3,%sp,23
	ldi %r4,9
;ST_loadGraphics+320
	stw %r6,%sp,0
	mov2 %r20,%r21,%r3,%r4
	mov %r22,%r2
;ST_loadGraphics+336
	callr %r19,snprintf
	mov2 %r21,%r22,%r3,%r1
	callr %r20,W_CacheLumpName
;ST_loadGraphics+352
	lddz %r5,%r8,0
	std %r21,%r7,-8
	std %r5,%r7,0
;ST_loadGraphics+368
	addi %r6,%r6,1
	addi %r7,%r7,16
	addi %r8,%r8,8
;ST_loadGraphics+384
	bdnei %r6,8,ST_loadGraphics+320
	ldwzr %r3,consoleplayer
	ldafr %r22,.rodata+22142
;ST_loadGraphics+400
	addi %r1,%sp,23
	ldi %r2,9
	stw %r3,%sp,0
;ST_loadGraphics+416
	mov2 %r20,%r21,%r1,%r2
	callr %r19,snprintf
	ldi %r3,1
;ST_loadGraphics+432
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
	stdr %r21,faceback
;ST_loadGraphics+448
	ldafr %r21,.rodata+22755
	mov %r22,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+464
	mov2 %r10,%r15,%gz,%gz
	stdr %r21,sbar
	nop 2
;ST_loadGraphics+480
	ldi.l %r12,25769803776
	ldafr %r11,faces
;ST_loadGraphics+496
	ldafr %r4,.rodata+10469
	ldafr %r5,.rodata+25846
	ldafr %r6,.rodata+16926
;ST_loadGraphics+512
	ldafr %r7,.rodata+15550
	ldafr %r8,.rodata+2809
	ldafr %r9,.rodata+15560
;ST_loadGraphics+528
	mov2 %r17,%r14,%gz,%r15
	sraiw %r15,%r10,0
	addiws %r16,%r10,3
;ST_loadGraphics+544
	sladd %r13,%r12,%r15,32
	addi %r15,%r15,-1
	ldax.xw %r18,%r11,%r10,3,0
;ST_loadGraphics+560
	stw %r17,%sp,4
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
;ST_loadGraphics+576
	mov %r22,%r4
	callr %r19,snprintf
	mov2 %r21,%r22,%r1,%r3
;ST_loadGraphics+592
	callr %r20,W_CacheLumpName
	std %r21,%r18,0
	addiws %r17,%r17,1
;ST_loadGraphics+608
	addiws %r10,%r15,2
	addi.l %r13,%r13,4294967296
;ST_loadGraphics+624
	addi %r15,%r15,1
	addi %r18,%r18,8
	bwne %r16,%r10,ST_loadGraphics+560
;ST_loadGraphics+640
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%r5
;ST_loadGraphics+656
	callr %r19,snprintf
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+672
	stdx.xw %r21,%r11,%r16,3,0
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
;ST_loadGraphics+688
	mov %r22,%r6
	callr %r19,snprintf
	nop 2
;ST_loadGraphics+704
	addi.l %r10,%r13,-21474836480
	srai %r16,%r10,29
;ST_loadGraphics+720
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
	stdx.xd %r21,%r16,%r11,0,0
;ST_loadGraphics+736
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%r7
;ST_loadGraphics+752
	callr %r19,snprintf
	addi.l %r10,%r13,-17179869184
;ST_loadGraphics+768
	srai %r16,%r10,29
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+784
	stdx.xd %r21,%r16,%r11,0,0
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
;ST_loadGraphics+800
	mov %r22,%r8
	callr %r19,snprintf
	nop 2
;ST_loadGraphics+816
	addi.l %r10,%r13,-12884901888
	srai %r16,%r10,29
;ST_loadGraphics+832
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
	stdx.xd %r21,%r16,%r11,0,0
;ST_loadGraphics+848
	stw %r14,%sp,0
	mov2 %r20,%r21,%r1,%r2
	mov %r22,%r9
;ST_loadGraphics+864
	callr %r19,snprintf
	addi.l %r10,%r13,-8589934592
;ST_loadGraphics+880
	srai %r16,%r10,29
	mov2 %r21,%r22,%r1,%r3
	callr %r20,W_CacheLumpName
;ST_loadGraphics+896
	stdx.xd %r21,%r16,%r11,0,0
	addiws %r10,%r15,6
	addiws %r15,%r14,1
;ST_loadGraphics+912
	bwltui %r14,4,ST_loadGraphics+528
	ldafr %r21,.rodata+2818
	ldi %r1,1
;ST_loadGraphics+928
	mov %r22,%r1
	callr %r20,W_CacheLumpName
	stdx.xw %r21,%r11,%r10,3,0
;ST_loadGraphics+944
	srai %r2,%r13,29
	ldafr %r21,.rodata+7515
	mov %r22,%r1
;ST_loadGraphics+960
	callr %r20,W_CacheLumpName
	stdx.xd %r21,%r2,%r11,0,0
	retf 32
;ST_loadData
	alloc 3
	ldafr %r2,.rodata+27930
	callr %r1,W_GetNumForName
;ST_loadData+16
	stwr %r2,lu_palette
	callr %r2,ST_loadGraphics
	retf 0
;ST_unloadGraphics
	allocsp 22,32
	mov %r6,%gz
	ldafr %r7,shortnum
;ST_unloadGraphics+16
	ldafr %r8,tallnum
	ldafr %r1,.rodata+27805
	addi %r2,%sp,23
;ST_unloadGraphics+32
	ldi %r3,9
	ldafr %r4,.rodata+19299
	nop 0
;ST_unloadGraphics+48
	stw %r6,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;ST_unloadGraphics+64
	callr %r18,snprintf
	mov %r21,%r2
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+80
	std %gz,%r8,0
	stw %r6,%sp,0
	mov2 %r19,%r20,%r2,%r3
;ST_unloadGraphics+96
	mov %r21,%r4
	callr %r18,snprintf
	mov %r21,%r2
;ST_unloadGraphics+112
	callr %r20,W_ReleaseLumpName
	std %gz,%r7,0
	addi %r6,%r6,1
;ST_unloadGraphics+128
	addi %r7,%r7,8
	addi %r8,%r8,8
	bdnei %r6,10,ST_unloadGraphics+48
;ST_unloadGraphics+144
	ldafr %r21,.rodata+8490
	callr %r20,W_ReleaseLumpName
	mov %r5,%gz
;ST_unloadGraphics+160
	stdr %gz,tallpercent
	ldafr %r6,keys
	ldafr %r1,.rodata+7499
;ST_unloadGraphics+176
	addi %r2,%sp,23
	ldi %r3,9
	nop 0
;ST_unloadGraphics+192
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;ST_unloadGraphics+208
	callr %r18,snprintf
	mov %r21,%r2
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+224
	std %gz,%r6,0
	addi %r5,%r5,1
	addi %r6,%r6,8
;ST_unloadGraphics+240
	bdnei %r5,6,ST_unloadGraphics+192
	ldafr %r21,.rodata+7508
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+256
	stdr %gz,armsbg
	ldi %r5,2
	ldafr %r6,arms+8
;ST_unloadGraphics+272
	ldafr %r7,shortnum+16
	ldafr %r1,.rodata+10460
	addi %r2,%sp,23
;ST_unloadGraphics+288
	ldi %r3,9
	nop 0
	nop 0
;ST_unloadGraphics+304
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;ST_unloadGraphics+320
	callr %r18,snprintf
	mov %r21,%r2
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+336
	lddz %r4,%r7,0
	std %gz,%r6,-8
	std %r4,%r6,0
;ST_unloadGraphics+352
	addi %r5,%r5,1
	addi %r6,%r6,16
	addi %r7,%r7,8
;ST_unloadGraphics+368
	bdnei %r5,8,ST_unloadGraphics+304
	ldwzr %r3,consoleplayer
	ldafr %r21,.rodata+22142
;ST_unloadGraphics+384
	addi %r1,%sp,23
	ldi %r2,9
	stw %r3,%sp,0
;ST_unloadGraphics+400
	mov2 %r19,%r20,%r1,%r2
	callr %r18,snprintf
	mov %r21,%r1
;ST_unloadGraphics+416
	callr %r20,W_ReleaseLumpName
	stdr %gz,faceback
	ldafr %r21,.rodata+22755
;ST_unloadGraphics+432
	callr %r20,W_ReleaseLumpName
	mov2 %r9,%r14,%gz,%gz
	stdr %gz,sbar
;ST_unloadGraphics+448
	ldi.l %r11,25769803776
	ldafr %r10,faces
;ST_unloadGraphics+464
	ldafr %r3,.rodata+10469
	ldafr %r4,.rodata+25846
	ldafr %r5,.rodata+16926
;ST_unloadGraphics+480
	ldafr %r6,.rodata+15550
	ldafr %r7,.rodata+2809
	ldafr %r8,.rodata+15560
;ST_unloadGraphics+496
	mov2 %r16,%r13,%gz,%r14
	sraiw %r14,%r9,0
	addiws %r15,%r9,3
;ST_unloadGraphics+512
	sladd %r12,%r11,%r14,32
	addi %r14,%r14,-1
	ldax.xw %r17,%r10,%r9,3,0
;ST_unloadGraphics+528
	stw %r16,%sp,4
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
;ST_unloadGraphics+544
	mov %r21,%r3
	callr %r18,snprintf
	mov %r21,%r1
;ST_unloadGraphics+560
	callr %r20,W_ReleaseLumpName
	std %gz,%r17,0
	addiws %r16,%r16,1
;ST_unloadGraphics+576
	addiws %r9,%r14,2
	addi.l %r12,%r12,4294967296
;ST_unloadGraphics+592
	addi %r14,%r14,1
	addi %r17,%r17,8
	bwne %r15,%r9,ST_unloadGraphics+528
;ST_unloadGraphics+608
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
	mov %r21,%r4
;ST_unloadGraphics+624
	callr %r18,snprintf
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+640
	stdx.xw %gz,%r10,%r15,3,0
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
;ST_unloadGraphics+656
	mov %r21,%r5
	callr %r18,snprintf
	nop 2
;ST_unloadGraphics+672
	addi.l %r9,%r12,-21474836480
	srai %r15,%r9,29
;ST_unloadGraphics+688
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
	stdx.xd %gz,%r15,%r10,0,0
;ST_unloadGraphics+704
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
	mov %r21,%r6
;ST_unloadGraphics+720
	callr %r18,snprintf
	addi.l %r9,%r12,-17179869184
;ST_unloadGraphics+736
	srai %r15,%r9,29
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+752
	stdx.xd %gz,%r15,%r10,0,0
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
;ST_unloadGraphics+768
	mov %r21,%r7
	callr %r18,snprintf
	nop 2
;ST_unloadGraphics+784
	addi.l %r9,%r12,-12884901888
	srai %r15,%r9,29
;ST_unloadGraphics+800
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
	stdx.xd %gz,%r15,%r10,0,0
;ST_unloadGraphics+816
	stw %r13,%sp,0
	mov2 %r19,%r20,%r1,%r2
	mov %r21,%r8
;ST_unloadGraphics+832
	callr %r18,snprintf
	addi.l %r9,%r12,-8589934592
;ST_unloadGraphics+848
	srai %r15,%r9,29
	mov %r21,%r1
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+864
	stdx.xd %gz,%r15,%r10,0,0
	addiws %r9,%r14,6
	addiws %r14,%r13,1
;ST_unloadGraphics+880
	bwltui %r13,4,ST_unloadGraphics+496
	ldafr %r21,.rodata+2818
	callr %r20,W_ReleaseLumpName
;ST_unloadGraphics+896
	stdx.xw %gz,%r10,%r9,3,0
	srai %r2,%r12,29
	ldafr %r21,.rodata+7515
;ST_unloadGraphics+912
	callr %r20,W_ReleaseLumpName
	stdx.xd %gz,%r2,%r10,0,0
	retf 32
;ST_unloadData
	alloc 2
	callr %r1,ST_unloadGraphics
	retf 0
;ST_initData
	alloc 8
	ldwsr %r1,consoleplayer
	ldi %r2,1
;ST_initData+16
	stwr %r2,st_firsttime
	ldafr %r3,players
	ldi %r4,328
;ST_initData+32
	muladd %r3,%r1,%r4,%r3
	muli %r1,%r1,328
	stdr %r3,plyr
;ST_initData+48
	stwr %gz,st_clock
	stwr %r2,st_statusbaron
	ldafr %r2,players+132
;ST_initData+64
	ldwzx.xd %r2,%r1,%r2,0,0
	stwr %gz,st_faceindex
	ldi %r3,-1
;ST_initData+80
	stwr %r3,st_palette
	stwr %r3,st_oldhealth
	stwr %r2,oldweaponsowned
;ST_initData+96
	ldafr %r2,players+136
	ldwzx.xd %r2,%r1,%r2,0,0
	ldafr %r4,players+140
;ST_initData+112
	ldwzx.xd %r4,%r1,%r4,0,0
	ldafr %r5,players+144
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_initData+128
	ldafr %r6,players+148
	ldwzx.xd %r6,%r1,%r6,0,0
	stwr %r2,oldweaponsowned+4
;ST_initData+144
	stwr %r4,oldweaponsowned+8
	stwr %r5,oldweaponsowned+12
	stwr %r6,oldweaponsowned+16
;ST_initData+160
	ldafr %r2,players+152
	ldwzx.xd %r2,%r1,%r2,0,0
	ldafr %r4,players+156
;ST_initData+176
	ldwzx.xd %r4,%r1,%r4,0,0
	ldafr %r5,players+160
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_initData+192
	ldafr %r6,players+164
	ldwzx.xd %r1,%r1,%r6,0,0
	stwr %r2,oldweaponsowned+20
;ST_initData+208
	stwr %r4,oldweaponsowned+24
	stwr %r5,oldweaponsowned+28
	stwr %r1,oldweaponsowned+32
;ST_initData+224
	stwr %r3,keyboxes+8
	stwr %r3,keyboxes+4
	stwr %r3,keyboxes
;ST_initData+240
	callr %r7,STlib_init
	retf 0
	nop 0
;ST_createWidgets
	alloc 20
	lddzr %r1,plyr
	ldwz %r2,%r1,124
;ST_createWidgets+16
	muli %r2,%r2,24
	ldafr %r3,weaponinfo
	ldwzx.xd %r2,%r2,%r3,0,0
;ST_createWidgets+32
	ldax.xd %r17,%r1,%r2,2,168
	ldafr %r13,w_ready
	ldafr %r1,tallnum
;ST_createWidgets+48
	ldafr %r2,st_statusbaron
	ldi %r14,44
	ldi %r3,171
;ST_createWidgets+64
	ldi %r19,3
	mov2 %r15,%r16,%r3,%r1
	mov %r18,%r2
;ST_createWidgets+80
	callr %r12,STlib_initNum
	lddzr %r4,plyr
	ldwz %r5,%r4,124
;ST_createWidgets+96
	stwr %r5,w_ready+40
	addi %r17,%r4,44
	lddzr %r19,tallpercent
;ST_createWidgets+112
	ldafr %r13,w_health
	ldi %r14,90
	mov2 %r15,%r16,%r3,%r1
;ST_createWidgets+128
	mov %r18,%r2
	callr %r12,STlib_initPercent
	lddzr %r17,armsbg
;ST_createWidgets+144
	ldafr %r14,w_armsbg
	ldafr %r18,st_notdeathmatch
	ldi %r15,104
;ST_createWidgets+160
	ldi %r16,168
	mov %r19,%r2
	callr %r13,STlib_initBinIcon
;ST_createWidgets+176
	mov2 %r5,%r6,%gz,%gz
	ldafr %r1,arms
	ldafr %r2,w_arms
;ST_createWidgets+192
	ldi %r7,136
	ldi %r8,172
	ldi %r9,182
;ST_createWidgets+208
	ldafr %r3,st_armson
	nop 0
	nop 0
;ST_createWidgets+224
	addiws %r4,%r6,-3
	cmpdltui %r10,%r5,3
	cmovlsb %r4,%r10,%r5,%r4
;ST_createWidgets+240
	mulwsi %r4,%r4,12
	cmpdgtui %r10,%r5,2
	lddzr %r11,plyr
;ST_createWidgets+256
	addiws %r15,%r4,111
	cmovlsb %r16,%r10,%r9,%r8
	addi %r5,%r5,1
;ST_createWidgets+272
	addiws %r6,%r6,1
	add %r18,%r11,%r7
	mov2 %r14,%r17,%r2,%r1
;ST_createWidgets+288
	mov %r19,%r3
	callr %r13,STlib_initMultIcon
	addi %r1,%r1,16
;ST_createWidgets+304
	addi %r2,%r2,48
	addi %r7,%r7,4
	bdnei %r5,6,ST_createWidgets+224
;ST_createWidgets+320
	ldafr %r13,w_frags
	ldafr %r1,tallnum
	ldafr %r17,st_fragscount
;ST_createWidgets+336
	ldafr %r18,st_fragson
	ldi %r14,138
	ldi %r2,171
;ST_createWidgets+352
	ldi %r19,2
	mov2 %r15,%r16,%r2,%r1
	callr %r12,STlib_initNum
;ST_createWidgets+368
	ldafr %r14,w_faces
	ldafr %r17,faces
	ldafr %r18,st_faceindex
;ST_createWidgets+384
	ldafr %r3,st_statusbaron
	ldi %r15,143
	ldi %r16,168
;ST_createWidgets+400
	mov %r19,%r3
	callr %r13,STlib_initMultIcon
	lddzr %r4,plyr
;ST_createWidgets+416
	addi %r17,%r4,48
	lddzr %r19,tallpercent
	ldafr %r13,w_armor
;ST_createWidgets+432
	ldi %r14,221
	mov2 %r15,%r16,%r2,%r1
	mov %r18,%r3
;ST_createWidgets+448
	callr %r12,STlib_initPercent
	ldafr %r14,w_keyboxes
	ldafr %r1,keys
;ST_createWidgets+464
	ldafr %r18,keyboxes
	ldi %r4,239
	mov2 %r15,%r16,%r4,%r2
;ST_createWidgets+480
	mov2 %r17,%r19,%r1,%r3
	callr %r13,STlib_initMultIcon
	ldafr %r14,w_keyboxes+48
;ST_createWidgets+496
	ldi %r16,181
	ldafr %r18,keyboxes+4
	mov2 %r15,%r17,%r4,%r1
;ST_createWidgets+512
	mov %r19,%r3
	callr %r13,STlib_initMultIcon
	ldafr %r14,w_keyboxes+96
;ST_createWidgets+528
	ldi %r2,191
	ldafr %r18,keyboxes+8
	mov2 %r15,%r16,%r4,%r2
;ST_createWidgets+544
	mov2 %r17,%r19,%r1,%r3
	callr %r13,STlib_initMultIcon
	lddzr %r1,plyr
;ST_createWidgets+560
	addi %r17,%r1,168
	ldafr %r13,w_ammo
	ldafr %r1,shortnum
;ST_createWidgets+576
	ldi %r4,288
	ldi %r5,173
	ldi %r6,3
;ST_createWidgets+592
	mov2 %r14,%r15,%r4,%r5
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
;ST_createWidgets+608
	callr %r12,STlib_initNum
	lddzr %r7,plyr
	addi %r17,%r7,172
;ST_createWidgets+624
	ldafr %r13,w_ammo+48
	ldi %r7,179
	mov2 %r14,%r15,%r4,%r7
;ST_createWidgets+640
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
	callr %r12,STlib_initNum
;ST_createWidgets+656
	lddzr %r8,plyr
	addi %r17,%r8,176
	ldafr %r13,w_ammo+96
;ST_createWidgets+672
	mov2 %r14,%r15,%r4,%r2
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
;ST_createWidgets+688
	callr %r12,STlib_initNum
	lddzr %r8,plyr
	addi %r17,%r8,180
;ST_createWidgets+704
	ldafr %r13,w_ammo+144
	ldi %r8,185
	mov2 %r14,%r15,%r4,%r8
;ST_createWidgets+720
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
	callr %r12,STlib_initNum
;ST_createWidgets+736
	lddzr %r4,plyr
	addi %r17,%r4,184
	ldafr %r13,w_maxammo
;ST_createWidgets+752
	ldi %r4,314
	mov2 %r14,%r15,%r4,%r5
	mov2 %r16,%r18,%r1,%r3
;ST_createWidgets+768
	mov %r19,%r6
	callr %r12,STlib_initNum
	lddzr %r5,plyr
;ST_createWidgets+784
	addi %r17,%r5,188
	ldafr %r13,w_maxammo+48
	mov2 %r14,%r15,%r4,%r7
;ST_createWidgets+800
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
	callr %r12,STlib_initNum
;ST_createWidgets+816
	lddzr %r5,plyr
	addi %r17,%r5,192
	ldafr %r13,w_maxammo+96
;ST_createWidgets+832
	mov2 %r14,%r15,%r4,%r2
	mov2 %r16,%r18,%r1,%r3
	mov %r19,%r6
;ST_createWidgets+848
	callr %r12,STlib_initNum
	lddzr %r2,plyr
	addi %r17,%r2,196
;ST_createWidgets+864
	ldafr %r13,w_maxammo+144
	mov2 %r14,%r15,%r4,%r8
	mov2 %r16,%r18,%r1,%r3
;ST_createWidgets+880
	mov %r19,%r6
	callr %r12,STlib_initNum
	retf 0
;ST_Start
	alloc 11
	ldbzr %r1,st_stopped
	bbci %r1,0,ST_Start+48
;ST_Start+16
	ldwzr %r9,lu_palette
	ldi %r10,8
	callr %r8,W_CacheLumpNum
;ST_Start+32
	mov %r10,%r9
	callr %r9,I_SetPalette
	stbr %gz,st_stopped
;ST_Start+48
	ldwsr %r1,consoleplayer
	ldi %r2,1
	stwr %r2,st_firsttime
;ST_Start+64
	ldafr %r3,players
	ldi %r4,328
	muladd %r3,%r1,%r4,%r3
;ST_Start+80
	muli %r1,%r1,328
	stdr %r3,plyr
	stwr %gz,st_clock
;ST_Start+96
	stwr %r2,st_statusbaron
	ldafr %r3,players+132
	ldwzx.xd %r3,%r1,%r3,0,0
;ST_Start+112
	stwr %gz,st_faceindex
	ldi %r4,-1
	stwr %r4,st_palette
;ST_Start+128
	stwr %r4,st_oldhealth
	stwr %r3,oldweaponsowned
	ldafr %r3,players+136
;ST_Start+144
	ldwzx.xd %r3,%r1,%r3,0,0
	ldafr %r5,players+140
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_Start+160
	ldafr %r6,players+144
	ldwzx.xd %r6,%r1,%r6,0,0
	ldafr %r7,players+148
;ST_Start+176
	ldwzx.xd %r7,%r1,%r7,0,0
	stwr %r3,oldweaponsowned+4
	stwr %r5,oldweaponsowned+8
;ST_Start+192
	stwr %r6,oldweaponsowned+12
	stwr %r7,oldweaponsowned+16
	ldafr %r3,players+152
;ST_Start+208
	ldwzx.xd %r3,%r1,%r3,0,0
	ldafr %r5,players+156
	ldwzx.xd %r5,%r1,%r5,0,0
;ST_Start+224
	ldafr %r6,players+160
	ldwzx.xd %r6,%r1,%r6,0,0
	ldafr %r7,players+164
;ST_Start+240
	ldwzx.xd %r1,%r1,%r7,0,0
	stwr %r3,oldweaponsowned+20
	stwr %r5,oldweaponsowned+24
;ST_Start+256
	stwr %r6,oldweaponsowned+28
	stwr %r1,oldweaponsowned+32
	stwr %r4,keyboxes+8
;ST_Start+272
	stwr %r4,keyboxes+4
	stwr %r4,keyboxes
	callr %r10,STlib_init
;ST_Start+288
	callr %r10,ST_createWidgets
	stbr %r2,st_stopped
	retf 0
;ST_Stop
	alloc 5
	ldbzr %r1,st_stopped
	bbci %r1,0,ST_Stop+48
;ST_Stop+16
	ldwzr %r3,lu_palette
	ldi %r4,8
	callr %r2,W_CacheLumpNum
;ST_Stop+32
	mov %r4,%r3
	callr %r3,I_SetPalette
	stbr %gz,st_stopped
;ST_Stop+48
	retf 0
	nop 0
	nop 0
;ST_Init
	alloc 5
	ldafr %r4,.rodata+27930
	callr %r3,W_GetNumForName
;ST_Init+16
	stwr %r4,lu_palette
	callr %r4,ST_loadGraphics
	ldi %r2,10240
;ST_Init+32
	ldi %r3,1
	mov %r4,%gz
	callr %r1,Z_Malloc
;ST_Init+48
	stdr %r2,st_backing_screen
	retf 0
	nop 0
;S_Init
	allocsp 8,16
	ldafr %r6,S_sfx
	ldi %r7,109
;S_Init+16
	callr %r5,I_PrecacheSounds
	bwltui %r1,128,S_Init+48
	ldafr %r7,.rodata+22149
;S_Init+32
	stw %r1,%sp,0
	callr %r6,I_Error
	nop 0
;S_Init+48
	stwr %r1,snd_SfxVolume
	bwltui %r2,128,S_Init+80
	ldafr %r7,.rodata+1902
;S_Init+64
	stw %r2,%sp,0
	callr %r6,I_Error
	nop 0
;S_Init+80
	mov %r7,%r2
	callr %r6,I_SetMusicVolume
	ldwzr %r1,snd_channels
;S_Init+96
	mulwsi %r5,%r1,24
	ldi %r6,1
	mov %r7,%gz
;S_Init+112
	callr %r4,Z_Malloc
	ldwzr %r1,snd_channels
	stdr %r5,channels
;S_Init+128
	bwlti %r1,1,S_Init+176
	srliw %r1,%r1,0
	nop 0
;S_Init+144
	std %gz,%r5,0
	addi %r1,%r1,-1
	addi %r5,%r5,24
;S_Init+160
	bdne %r1,%gz,S_Init+144
	nop 0
	nop 0
;S_Init+176
	mov %r1,%gz
	stbr %gz,mus_paused
	ldafr %r2,S_sfx+104
;S_Init+192
	ldi %r3,-1
	nop 0
	nop 0
;S_Init+208
	stdx.xd %r3,%r1,%r2,0,0
	addi %r1,%r1,64
	nop 2
;S_Init+224
	bdnei.l %r1,6912,S_Init+208
	ldar %r6,S_Shutdown
;S_Init+240
	ldi %r7,1
	callr %r5,I_AtExit
	retf 16
;S_SetSfxVolume
	allocsp 4,16
	bwltui %r1,128,S_SetSfxVolume+32
	ldafr %r3,.rodata+22149
;S_SetSfxVolume+16
	stw %r1,%sp,0
	callr %r2,I_Error
	nop 0
;S_SetSfxVolume+32
	stwr %r1,snd_SfxVolume
	retf 16
	nop 0
;S_SetMusicVolume
	allocsp 4,16
	bwltui %r1,128,S_SetMusicVolume+32
	ldafr %r3,.rodata+1902
;S_SetMusicVolume+16
	stw %r1,%sp,0
	callr %r2,I_Error
	nop 0
;S_SetMusicVolume+32
	mov %r3,%r1
	callr %r2,I_SetMusicVolume
	retf 16
;S_Shutdown
	alloc 2
	callr %r1,I_ShutdownSound
	callr %r1,I_ShutdownMusic
;S_Shutdown+16
	retf 0
	nop 0
	nop 0
;S_Start
	alloc 9
	ldwzr %r2,snd_channels
	bwlti %r2,1,S_Start+112
;S_Start+16
	mov2 %r3,%r1,%gz,%gz
	lddzr %r4,channels
	jmp S_Start+64
;S_Start+32
	addi %r1,%r1,1
	sraiw %r5,%r2,0
	addi %r3,%r3,24
;S_Start+48
	bdle %r5,%r1,S_Start+112
	nop 0
	nop 0
;S_Start+64
	lddzx.xd %r5,%r4,%r3,0,0
	bdeq %r5,%gz,S_Start+32
	mov %r8,%r1
;S_Start+80
	callr %r7,S_StopChannel
	lddzr %r4,channels
	ldwzr %r2,snd_channels
;S_Start+96
	jmp S_Start+32
	nop 0
	nop 0
;S_Start+112
	ldwzr %r1,gamemode
	stbr %gz,mus_paused
	bwnei %r1,2,S_Start+144
;S_Start+128
	ldwzr %r1,gamemap
	addiws %r7,%r1,32
	jmp S_Start+208
;S_Start+144
	ldwzr %r1,gameepisode
	bwgei %r1,4,S_Start+192
	ldwzr %r2,gamemap
;S_Start+160
	mulwsi %r1,%r1,9
	addws %r1,%r1,%r2
	addiws %r7,%r1,-9
;S_Start+176
	jmp S_Start+208
	nop 0
	nop 0
;S_Start+192
	ldwsr %r1,gamemap
	ldafr %r2,fuzzoffset+196
	ldwzx.xd %r7,%r2,%r1,2,0
;S_Start+208
	ldi %r8,1
	callr %r6,S_ChangeMusic
	retf 0
;S_StopChannel
	alloc 6
	lddzr %r2,channels
	sraiw %r1,%r1,0
;S_StopChannel+16
	muli %r3,%r1,24
	lddzx.xd %r3,%r2,%r3,0,0
	bdeq %r3,%gz,S_StopChannel+112
;S_StopChannel+32
	ldi %r3,24
	muladd %r2,%r1,%r3,%r2
	ldwz %r5,%r2,16
;S_StopChannel+48
	callr %r4,I_SoundIsPlaying
	bweq %r5,%gz,S_StopChannel+80
	ldwz %r5,%r2,16
;S_StopChannel+64
	callr %r4,I_StopSound
	nop 0
	nop 0
;S_StopChannel+80
	lddz %r1,%r2,0
	ldwz %r3,%r1,40
	addiws %r3,%r3,-1
;S_StopChannel+96
	stw %r3,%r1,40
	std %gz,%r2,0
	nop 0
;S_StopChannel+112
	retf 0
	nop 0
	nop 0
;S_ChangeMusic
	allocsp 11,32
	ldwzr %r3,snd_musicdevice
	andi %r3,%r3,-2
;S_ChangeMusic+16
	cmpweqi %r3,%r3,2
	ldi %r4,29
	ldi %r5,32
;S_ChangeMusic+32
	cmpweqi %r6,%r1,29
	cmovlsb %r3,%r3,%r5,%r4
	cmovlsb %r1,%r6,%r3,%r1
;S_ChangeMusic+48
	addiws %r3,%r1,-68
	bwgeui.l %r3,1099511627709,S_ChangeMusic+112
;S_ChangeMusic+64
	ldafr %r10,.rodata+18291
	stw %r1,%sp,0
	callr %r9,I_Error
;S_ChangeMusic+80
	mov %r4,%gz
	lddzr %r1,mus_playing
	bdne %r1,%r4,S_ChangeMusic+144
;S_ChangeMusic+96
	retf 32
	nop 0
	nop 0
;S_ChangeMusic+112
	ldafr %r3,S_music
	ldax.xuw %r4,%r3,%r1,5,0
	lddzr %r1,mus_playing
;S_ChangeMusic+128
	bdeq %r1,%r4,S_ChangeMusic+96
	nop 0
	nop 0
;S_ChangeMusic+144
	callr %r10,S_StopMusic
	ldwz %r9,%r4,8
	bwne %r9,%gz,S_ChangeMusic+224
;S_ChangeMusic+160
	lddz %r3,%r4,0
	ldafr %r10,.rodata+8499
	addi %r1,%sp,23
;S_ChangeMusic+176
	ldi %r9,9
	std %r3,%sp,0
	mov %r8,%r1
;S_ChangeMusic+192
	callr %r7,M_snprintf
	mov %r10,%r1
	callr %r9,W_GetNumForName
;S_ChangeMusic+208
	mov %r9,%r10
	stw %r10,%r4,8
	nop 0
;S_ChangeMusic+224
	ldi %r10,1
	callr %r8,W_CacheLumpNum
	mov %r1,%r9
;S_ChangeMusic+240
	std %r9,%r4,16
	ldwz %r10,%r4,8
	callr %r9,W_LumpLength
;S_ChangeMusic+256
	mov %r9,%r1
	callr %r8,I_RegisterSong
	std %r9,%r4,24
;S_ChangeMusic+272
	mov %r10,%r2
	callr %r8,I_PlaySong
	stdr %r4,mus_playing
;S_ChangeMusic+288
	retf 32
	nop 0
	nop 0
;S_StopSound
	alloc 7
	ldwzr %r2,snd_channels
	bwlti %r2,1,S_StopSound+96
;S_StopSound+16
	lddzr %r3,channels
	mov %r6,%gz
	srliw %r2,%r2,0
;S_StopSound+32
	addi %r3,%r3,8
	jmp S_StopSound+64
	nop 0
;S_StopSound+48
	addi %r6,%r6,1
	addi %r3,%r3,24
	bdeq %r2,%r6,S_StopSound+96
;S_StopSound+64
	lddz %r4,%r3,-8
	bdeq %r4,%gz,S_StopSound+48
	lddz %r4,%r3,0
;S_StopSound+80
	bdne %r4,%r1,S_StopSound+48
	callr %r5,S_StopChannel
	nop 0
;S_StopSound+96
	retf 0
	nop 0
	nop 0
;S_StartSound
	allocsp 13,32
	ldwzr %r4,snd_SfxVolume
	addiws %r3,%r2,-110
;S_StartSound+16
	stw %r4,%sp,24
	bwgeui.l %r3,1099511627667,S_StartSound+48
;S_StartSound+32
	ldafr %r12,.rodata+1888
	stw %r2,%sp,0
	callr %r11,I_Error
;S_StartSound+48
	ldafr %r3,S_sfx
	ldax.xw %r3,%r3,%r2,6,0
	ldafr %r5,S_sfx+24
;S_StartSound+64
	lddzx.xw %r2,%r5,%r2,6,0
	bdeq %r2,%gz,S_StartSound+112
	ldwz %r2,%r3,36
;S_StartSound+80
	addws %r2,%r2,%r4
	stw %r2,%sp,24
	bwlti %r2,1,S_StartSound+576
;S_StartSound+96
	ldwzr %r4,snd_SfxVolume
	bwle %r2,%r4,S_StartSound+112
	stw %r4,%sp,24
;S_StartSound+112
	bdeq %r1,%gz,S_StartSound+432
	ldwsr %r2,consoleplayer
	muli %r2,%r2,328
;S_StartSound+128
	ldafr %r4,players
	lddzx.xd %r9,%r2,%r4,0,0
	bdeq %r1,%r9,S_StartSound+432
;S_StartSound+144
	addi %r11,%sp,24
	addi %r12,%sp,28
	mov %r10,%r1
;S_StartSound+160
	callr %r8,S_AdjustSoundParams
	ldwsr %r2,consoleplayer
	muli %r2,%r2,328
;S_StartSound+176
	lddzx.xd %r2,%r2,%r4,0,0
	ldwz %r4,%r1,24
	ldwz %r5,%r2,24
;S_StartSound+192
	bwne %r4,%r5,S_StartSound+224
	ldwz %r4,%r1,28
	ldwz %r2,%r2,28
;S_StartSound+208
	bwne %r4,%r2,S_StartSound+224
	ldi %r2,128
	stw %r2,%sp,28
;S_StartSound+224
	bweq %r9,%gz,S_StartSound+576
	ldwzr %r2,snd_channels
	bwlti %r2,1,S_StartSound+464
;S_StartSound+240
	lddzr %r5,channels
	mov %r12,%gz
	srliw %r4,%r2,0
;S_StartSound+256
	addi %r5,%r5,8
	jmp S_StartSound+288
	nop 0
;S_StartSound+272
	addi %r12,%r12,1
	addi %r5,%r5,24
	bdeq %r4,%r12,S_StartSound+320
;S_StartSound+288
	lddz %r6,%r5,-8
	bdeq %r6,%gz,S_StartSound+272
	lddz %r6,%r5,0
;S_StartSound+304
	bdne %r6,%r1,S_StartSound+272
	callr %r11,S_StopChannel
	ldwzr %r2,snd_channels
;S_StartSound+320
	bwlti %r2,1,S_StartSound+496
	lddzr %r5,channels
	mov %r10,%gz
;S_StartSound+336
	srliw %r4,%r2,0
	addi %r5,%r5,8
	jmp S_StartSound+368
;S_StartSound+352
	addi %r10,%r10,1
	addi %r5,%r5,24
	bdeq %r4,%r10,S_StartSound+512
;S_StartSound+368
	lddz %r6,%r5,-8
	bdeq %r6,%gz,S_StartSound+480
	bdeq %r1,%gz,S_StartSound+352
;S_StartSound+384
	lddz %r6,%r5,0
	bdne %r6,%r1,S_StartSound+352
	mov %r12,%r10
;S_StartSound+400
	callr %r11,S_StopChannel
	ldwzr %r2,snd_channels
	bweq %r10,%r2,S_StartSound+512
;S_StartSound+416
	jmp S_StartSound+608
	nop 0
	nop 0
;S_StartSound+432
	ldi %r2,128
	stw %r2,%sp,28
	ldwzr %r2,snd_channels
;S_StartSound+448
	bwgei %r2,1,S_StartSound+240
	nop 0
	nop 0
;S_StartSound+464
	mov %r10,%gz
	nop 0
	nop 0
;S_StartSound+480
	bweq %r10,%r2,S_StartSound+512
	jmp S_StartSound+608
	nop 0
;S_StartSound+496
	mov %r10,%gz
	bwne %r10,%r2,S_StartSound+608
	nop 0
;S_StartSound+512
	mov %r10,%gz
	bwlti %r2,1,S_StartSound+592
	lddzr %r4,channels
;S_StartSound+528
	ldwz %r5,%r3,20
	srliw %r6,%r2,0
	nop 0
;S_StartSound+544
	lddz %r7,%r4,0
	ldwz %r7,%r7,20
	bwle %r5,%r7,S_StartSound+592
;S_StartSound+560
	addi %r10,%r10,1
	addi %r4,%r4,24
	bdne %r6,%r10,S_StartSound+544
;S_StartSound+576
	retf 32
	nop 0
	nop 0
;S_StartSound+592
	bweq %r10,%r2,S_StartSound+576
	mov %r12,%r10
	callr %r11,S_StopChannel
;S_StartSound+608
	lddzr %r4,channels
	srliw %r2,%r10,0
	muli %r2,%r2,24
;S_StartSound+624
	stdx.xd %r3,%r4,%r2,0,0
	stdx.xd %r1,%r4,%r2,0,8
	bwlt %r10,%gz,S_StartSound+576
;S_StartSound+640
	ldwz %r1,%r3,40
	addiws %r4,%r1,1
	ldi %r5,1
;S_StartSound+656
	cmovwlt %r1,%r1,%r5,%r4
	stw %r1,%r3,40
	ldwz %r1,%r3,44
;S_StartSound+672
	bwgei %r1,0,S_StartSound+704
	mov %r12,%r3
	callr %r11,I_GetSfxLumpNum
;S_StartSound+688
	stw %r12,%r3,44
	nop 0
	nop 0
;S_StartSound+704
	ldwz %r11,%sp,24
	ldwz %r12,%sp,28
	mov %r9,%r3
;S_StartSound+720
	callr %r8,I_StartSound
	lddzr %r1,channels
	stwx.xd %r9,%r1,%r2,0,16
;S_StartSound+736
	retf 32
	nop 0
	nop 0
;S_AdjustSoundParams
	alloc 13
	ldwz %r9,%r1,24
	ldwz %r11,%r2,24
;S_AdjustSoundParams+16
	ldwz %r10,%r1,28
	ldwz %r12,%r2,28
	absdw %r2,%r11,%r9
;S_AdjustSoundParams+32
	absdw %r5,%r12,%r10
	ldwzr %r6,gamemap
	addws %r7,%r5,%r2
;S_AdjustSoundParams+48
	minuw %r2,%r2,%r5
	srliw %r2,%r2,1
	subws %r5,%r7,%r2
;S_AdjustSoundParams+64
	bweqi %r6,8,S_AdjustSoundParams+112
	mov %r2,%gz
	nop 2
;S_AdjustSoundParams+80
	bwlti.l %r5,78643201,S_AdjustSoundParams+112
	mov %r1,%r2
;S_AdjustSoundParams+96
	retf 0
	nop 0
	nop 0
;S_AdjustSoundParams+112
	callr %r8,R_PointToAngle2
	ldwz %r1,%r1,56
	cmpwltu %r2,%r1,%r9
;S_AdjustSoundParams+128
	xori %r6,%r1,-1
	subfiws %r1,%r1,0
	cmovlsb %r1,%r2,%r1,%r6
;S_AdjustSoundParams+144
	addws %r1,%r1,%r9
	srliw %r1,%r1,19
	ldafr %r2,finesine
;S_AdjustSoundParams+160
	ldwsx.xuw %r1,%r2,%r1,2,0
	muli.l %r1,%r1,6291456
;S_AdjustSoundParams+176
	srli %r1,%r1,16
	sraiw %r1,%r1,16
	subfiws %r1,%r1,128
;S_AdjustSoundParams+192
	stw %r1,%r4,0
	bwgei.l %r5,13107200,S_AdjustSoundParams+224
;S_AdjustSoundParams+208
	ldwzr %r1,snd_SfxVolume
	jmp S_AdjustSoundParams+368
	nop 0
;S_AdjustSoundParams+224
	ldwzr %r2,gamemap
	ldwzr %r1,snd_SfxVolume
	bwnei %r2,8,S_AdjustSoundParams+320
;S_AdjustSoundParams+240
	addiws %r1,%r1,-15
	ldi %r2,78643200
	maxuw %r2,%r5,%r2
;S_AdjustSoundParams+256
	subws %r2,%r2,%r5
	srliw %r2,%r2,16
	mulws %r1,%r1,%r2
;S_AdjustSoundParams+272
	muli.l %r1,%r1,274877907
	srli %r2,%r1,63
;S_AdjustSoundParams+288
	srai %r1,%r1,38
	addws %r1,%r1,%r2
	addiws %r1,%r1,15
;S_AdjustSoundParams+304
	jmp S_AdjustSoundParams+368
	nop 0
	nop 0
;S_AdjustSoundParams+320
	subfiws.l %r2,%r5,78643200
	sraiw %r2,%r2,16
;S_AdjustSoundParams+336
	mulws %r1,%r1,%r2
	muli.l %r1,%r1,274877907
;S_AdjustSoundParams+352
	srli %r2,%r1,63
	srai %r1,%r1,38
	addws %r1,%r1,%r2
;S_AdjustSoundParams+368
	stw %r1,%r3,0
	cmpwgti %r2,%r1,0
	mov %r1,%r2
;S_AdjustSoundParams+384
	retf 0
	nop 0
	nop 0
;S_PauseSound
	alloc 3
	lddzr %r1,mus_playing
	bdeq %r1,%gz,S_PauseSound+48
;S_PauseSound+16
	ldbzr %r1,mus_paused
	bbsi %r1,0,S_PauseSound+48
	callr %r2,I_PauseSong
;S_PauseSound+32
	ldi %r1,1
	stbr %r1,mus_paused
	nop 0
;S_PauseSound+48
	retf 0
	nop 0
	nop 0
;S_ResumeSound
	alloc 3
	lddzr %r1,mus_playing
	bdeq %r1,%gz,S_ResumeSound+48
;S_ResumeSound+16
	ldbzr %r1,mus_paused
	bbci %r1,0,S_ResumeSound+48
	callr %r2,I_ResumeSong
;S_ResumeSound+32
	stbr %gz,mus_paused
	nop 0
	nop 0
;S_ResumeSound+48
	retf 0
	nop 0
	nop 0
;S_UpdateSounds
	allocsp 16,16
	callr %r15,I_UpdateSound
	ldwzr %r2,snd_channels
;S_UpdateSounds+16
	bwlti %r2,1,S_UpdateSounds+272
	mov2 %r6,%r2,%gz,%gz
	ldi %r7,128
;S_UpdateSounds+32
	addi %r3,%sp,12
	addi %r4,%sp,8
	jmp S_UpdateSounds+96
;S_UpdateSounds+48
	mov %r15,%r2
	callr %r14,S_StopChannel
	nop 0
;S_UpdateSounds+64
	ldwsr %r5,snd_channels
	addi %r2,%r2,1
	addi %r6,%r6,24
;S_UpdateSounds+80
	bdle %r5,%r2,S_UpdateSounds+272
	nop 0
	nop 0
;S_UpdateSounds+96
	lddzr %r8,channels
	lddzx.xd %r9,%r8,%r6,0,0
	bdeq %r9,%gz,S_UpdateSounds+64
;S_UpdateSounds+112
	ldwzx.xd %r15,%r8,%r6,0,16
	callr %r14,I_SoundIsPlaying
	bweq %r15,%gz,S_UpdateSounds+48
;S_UpdateSounds+128
	ldwzr %r5,snd_SfxVolume
	stw %r5,%sp,12
	stw %r7,%sp,8
;S_UpdateSounds+144
	lddz %r10,%r9,24
	bdeq %r10,%gz,S_UpdateSounds+192
	ldwz %r9,%r9,36
;S_UpdateSounds+160
	addws %r10,%r9,%r5
	stw %r10,%sp,12
	bwle %r10,%gz,S_UpdateSounds+48
;S_UpdateSounds+176
	bwlti %r9,1,S_UpdateSounds+192
	stw %r5,%sp,12
	nop 0
;S_UpdateSounds+192
	lddzx.xd %r13,%r8,%r6,0,8
	bdeq %r13,%gz,S_UpdateSounds+64
	bdeq %r1,%r13,S_UpdateSounds+64
;S_UpdateSounds+208
	mov2 %r12,%r14,%r1,%r3
	mov %r15,%r4
	callr %r11,S_AdjustSoundParams
;S_UpdateSounds+224
	bweq %r12,%gz,S_UpdateSounds+48
	add %r5,%r8,%r6
	ldwz %r13,%r5,16
;S_UpdateSounds+240
	ldwz %r14,%sp,12
	ldwz %r15,%sp,8
	callr %r12,I_UpdateSoundParams
;S_UpdateSounds+256
	jmp S_UpdateSounds+64
	nop 0
	nop 0
;S_UpdateSounds+272
	retf 16
	nop 0
	nop 0
;S_StartMusic
	alloc 5
	mov2 %r3,%r4,%r1,%gz
	callr %r2,S_ChangeMusic
;S_StartMusic+16
	retf 0
	nop 0
	nop 0
;S_StopMusic
	alloc 4
	lddzr %r1,mus_playing
	bdeq %r1,%gz,S_StopMusic+96
;S_StopMusic+16
	ldbzr %r1,mus_paused
	bbci %r1,0,S_StopMusic+32
	callr %r3,I_ResumeSong
;S_StopMusic+32
	callr %r3,I_StopSong
	lddzr %r1,mus_playing
	lddz %r3,%r1,24
;S_StopMusic+48
	callr %r2,I_UnRegisterSong
	lddzr %r1,mus_playing
	ldwz %r3,%r1,8
;S_StopMusic+64
	callr %r2,W_ReleaseLumpNum
	lddzr %r1,mus_playing
	std %gz,%r1,16
;S_StopMusic+80
	stdr %gz,mus_playing
	nop 0
	nop 0
;S_StopMusic+96
	retf 0
	nop 0
	nop 0
;S_MusicPlaying
	alloc 4
	callr %r2,I_MusicIsPlaying
	mov %r1,%r3
;S_MusicPlaying+16
	retf 0
	nop 0
	nop 0
;SlopeDiv
	alloc 3
	bwgeui %r2,512,SlopeDiv+32
	ldi %r1,2048
;SlopeDiv+16
	retf 0
	nop 0
	nop 0
;SlopeDiv+32
	slliw %r1,%r1,3
	srliw %r2,%r2,8
	divuw %r1,%r1,%r2
;SlopeDiv+48
	ldi %r2,2048
	minuw %r1,%r1,%r2
	retf 0
;V_MarkRect
	alloc 11
	lddzr %r5,dest_screen
	lddzr %r6,I_VideoBuffer
;V_MarkRect+16
	bdeq %r5,%r6,V_MarkRect+32
	retf 0
	nop 0
;V_MarkRect+32
	ldafr %r5,dirtybox
	mov2 %r8,%r9,%r5,%r1
	mov %r10,%r2
;V_MarkRect+48
	callr %r7,M_AddToBox
	addws %r1,%r1,%r3
	addiws %r9,%r1,-1
;V_MarkRect+64
	addws %r1,%r2,%r4
	addiws %r10,%r1,-1
	mov %r8,%r5
;V_MarkRect+80
	callr %r7,M_AddToBox
	retf 0
	nop 0
;V_CopyRect
	alloc 14
	bwlt %r1,%gz,V_CopyRect+80
	bwlt %r2,%gz,V_CopyRect+80
;V_CopyRect+16
	addws %r8,%r4,%r1
	bwgei %r8,321,V_CopyRect+80
	addws %r8,%r5,%r2
;V_CopyRect+32
	bwgei %r8,201,V_CopyRect+80
	bwlt %r6,%gz,V_CopyRect+80
	addws %r8,%r6,%r4
;V_CopyRect+48
	bwgei %r8,321,V_CopyRect+80
	bwlt %r7,%gz,V_CopyRect+80
	addws %r8,%r7,%r5
;V_CopyRect+64
	bwlti %r8,201,V_CopyRect+96
	nop 0
	nop 0
;V_CopyRect+80
	ldafr %r13,.rodata+8017
	callr %r12,I_Error
	nop 0
;V_CopyRect+96
	lddzr %r8,dest_screen
	lddzr %r9,I_VideoBuffer
	bdne %r8,%r9,V_CopyRect+176
;V_CopyRect+112
	ldafr %r8,dirtybox
	mov2 %r11,%r12,%r8,%r6
	mov %r13,%r7
;V_CopyRect+128
	callr %r10,M_AddToBox
	addws %r9,%r6,%r4
	addiws %r12,%r9,-1
;V_CopyRect+144
	addws %r9,%r7,%r5
	addiws %r13,%r9,-1
	mov %r11,%r8
;V_CopyRect+160
	callr %r10,M_AddToBox
	nop 0
	nop 0
;V_CopyRect+176
	bwlti %r5,1,V_CopyRect+272
	lddzr %r8,dest_screen
	mulwsi %r7,%r7,320
;V_CopyRect+192
	sraiw %r6,%r6,0
	addadd %r6,%r8,%r7,%r6
	mulwsi %r2,%r2,320
;V_CopyRect+208
	sraiw %r1,%r1,0
	addadd %r1,%r3,%r2,%r1
	sraiw %r2,%r4,0
;V_CopyRect+224
	mov2 %r4,%r11,%r5,%r6
	mov2 %r12,%r13,%r1,%r2
	callr %r10,memcpy
;V_CopyRect+240
	addi %r1,%r1,320
	addi %r6,%r6,320
	addiws %r5,%r5,-1
;V_CopyRect+256
	bwgeui %r4,2,V_CopyRect+224
	nop 0
	nop 0
;V_CopyRect+272
	retf 0
	nop 0
	nop 0
;V_SetPatchClipCallback
	alloc 2
	stdr %r1,patchclip_callback
	retf 0
;V_DrawPatch
	allocsp 15,32
	ldbs %r4,%r3,7
	ldbz %r6,%r3,6
;V_DrawPatch+16
	ldbs %r7,%r3,5
	ldbz %r8,%r3,4
	lddzr %r5,patchclip_callback
;V_DrawPatch+32
	slor %r4,%r6,%r4,8
	subws %r4,%r2,%r4
	slor %r2,%r8,%r7,8
;V_DrawPatch+48
	subws %r2,%r1,%r2
	bdeq %r5,%gz,V_DrawPatch+80
	mov2 %r12,%r13,%r3,%r2
;V_DrawPatch+64
	mov %r14,%r4
	callri %r11,%r5,%gz
	bweq %r12,%gz,V_DrawPatch+640
;V_DrawPatch+80
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
;V_DrawPatch+96
	bwlt %r2,%gz,V_DrawPatch+144
	addws %r1,%r2,%r5
	bwgei %r1,321,V_DrawPatch+144
;V_DrawPatch+112
	bwlt %r4,%gz,V_DrawPatch+144
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawPatch+128
	slor %r1,%r6,%r1,8
	addws %r1,%r4,%r1
	bwlti %r1,201,V_DrawPatch+256
;V_DrawPatch+144
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
	ldbs %r7,%r3,7
;V_DrawPatch+160
	ldbz %r8,%r3,6
	ldbs %r9,%r3,5
	ldbz %r10,%r3,4
;V_DrawPatch+176
	slor %r1,%r6,%r1,8
	slor %r6,%r8,%r7,8
	slor %r7,%r10,%r9,8
;V_DrawPatch+192
	stw %r7,%sp,20
	stw %r6,%sp,16
	stw %r1,%sp,12
;V_DrawPatch+208
	stw %r5,%sp,8
	stw %r4,%sp,4
	ldafr %r14,.rodata+20064
;V_DrawPatch+224
	stw %r2,%sp,0
	callr %r13,I_Error
	ldbz %r1,%r3,1
;V_DrawPatch+240
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatch+256
	lddzr %r1,dest_screen
	lddzr %r6,I_VideoBuffer
	bdne %r1,%r6,V_DrawPatch+368
;V_DrawPatch+272
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
	slor %r6,%r6,%r1,8
;V_DrawPatch+288
	slsrai %r7,%r5,48,48
	ldafr %r1,dirtybox
	mov2 %r12,%r13,%r1,%r2
;V_DrawPatch+304
	mov %r14,%r4
	callr %r11,M_AddToBox
	addws %r5,%r2,%r7
;V_DrawPatch+320
	addiws %r13,%r5,-1
	addws %r5,%r4,%r6
	addiws %r14,%r5,-1
;V_DrawPatch+336
	mov %r12,%r1
	callr %r11,M_AddToBox
	ldbz %r1,%r3,1
;V_DrawPatch+352
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatch+368
	slsrai %r1,%r5,48,48
	bwlti %r1,1,V_DrawPatch+640
	mov %r1,%gz
;V_DrawPatch+384
	lddzr %r6,dest_screen
	andi %r5,%r5,65535
	mulwsi %r4,%r4,320
;V_DrawPatch+400
	sraiw %r2,%r2,0
	addadd %r2,%r6,%r4,%r2
	addi %r4,%r3,8
;V_DrawPatch+416
	jmp V_DrawPatch+448
	nop 0
	nop 0
;V_DrawPatch+432
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawPatch+640
;V_DrawPatch+448
	ldbzx.xd %r6,%r4,%r1,2,1
	ldbzx.xd %r7,%r4,%r1,2,0
	ldbsx.xd %r8,%r4,%r1,2,3
;V_DrawPatch+464
	ldbzx.xd %r9,%r4,%r1,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawPatch+480
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawPatch+496
	bweqi %r8,255,V_DrawPatch+432
	add %r6,%r3,%r6
	jmp V_DrawPatch+560
;V_DrawPatch+512
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawPatch+528
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawPatch+544
	bweqi %r8,255,V_DrawPatch+432
	nop 0
	nop 0
;V_DrawPatch+560
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawPatch+512
	andi %r8,%r8,255
;V_DrawPatch+576
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawPatch+592
	ldbz %r10,%r9,0
	addiws %r7,%r7,-1
	addi %r9,%r9,1
;V_DrawPatch+608
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
	bwne %r7,%gz,V_DrawPatch+592
;V_DrawPatch+624
	ldbz %r7,%r6,1
	jmp V_DrawPatch+528
	nop 0
;V_DrawPatch+640
	retf 32
	nop 0
	nop 0
;V_DrawPatchFlipped
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r6,%r3,6
;V_DrawPatchFlipped+16
	ldbs %r7,%r3,5
	ldbz %r8,%r3,4
	lddzr %r5,patchclip_callback
;V_DrawPatchFlipped+32
	slor %r4,%r6,%r4,8
	subws %r4,%r2,%r4
	slor %r2,%r8,%r7,8
;V_DrawPatchFlipped+48
	subws %r2,%r1,%r2
	bdeq %r5,%gz,V_DrawPatchFlipped+80
	mov2 %r12,%r13,%r3,%r2
;V_DrawPatchFlipped+64
	mov %r14,%r4
	callri %r11,%r5,%gz
	bweq %r12,%gz,V_DrawPatchFlipped+576
;V_DrawPatchFlipped+80
	bwlt %r2,%gz,V_DrawPatchFlipped+144
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawPatchFlipped+96
	slor %r5,%r5,%r1,8
	addws %r1,%r2,%r5
	bwgei %r1,321,V_DrawPatchFlipped+144
;V_DrawPatchFlipped+112
	bwlt %r4,%gz,V_DrawPatchFlipped+144
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawPatchFlipped+128
	slor %r1,%r6,%r1,8
	addws %r1,%r4,%r1
	bwlti %r1,201,V_DrawPatchFlipped+176
;V_DrawPatchFlipped+144
	ldafr %r14,.rodata+2826
	callr %r13,I_Error
	ldbz %r1,%r3,1
;V_DrawPatchFlipped+160
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatchFlipped+176
	lddzr %r1,dest_screen
	lddzr %r6,I_VideoBuffer
	bdne %r1,%r6,V_DrawPatchFlipped+288
;V_DrawPatchFlipped+192
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
	slor %r6,%r6,%r1,8
;V_DrawPatchFlipped+208
	slsrai %r7,%r5,48,48
	ldafr %r1,dirtybox
	mov2 %r12,%r13,%r1,%r2
;V_DrawPatchFlipped+224
	mov %r14,%r4
	callr %r11,M_AddToBox
	addws %r5,%r2,%r7
;V_DrawPatchFlipped+240
	addiws %r13,%r5,-1
	addws %r5,%r4,%r6
	addiws %r14,%r5,-1
;V_DrawPatchFlipped+256
	mov %r12,%r1
	callr %r11,M_AddToBox
	ldbz %r1,%r3,1
;V_DrawPatchFlipped+272
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawPatchFlipped+288
	slsrai %r1,%r5,48,48
	bwlti %r1,1,V_DrawPatchFlipped+576
	lddzr %r6,dest_screen
;V_DrawPatchFlipped+304
	mov %r1,%gz
	mulwsi %r4,%r4,320
	sraiw %r2,%r2,0
;V_DrawPatchFlipped+320
	addadd %r2,%r6,%r4,%r2
	addi %r4,%r3,8
	andi %r5,%r5,65535
;V_DrawPatchFlipped+336
	jmp V_DrawPatchFlipped+368
	nop 0
	nop 0
;V_DrawPatchFlipped+352
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawPatchFlipped+576
;V_DrawPatchFlipped+368
	xori %r6,%r1,-1
	add %r6,%r6,%r5
	ldbzx.xd %r7,%r4,%r6,2,1
;V_DrawPatchFlipped+384
	ldbzx.xd %r8,%r4,%r6,2,0
	ldbsx.xd %r9,%r4,%r6,2,3
	ldbzx.xd %r6,%r4,%r6,2,2
;V_DrawPatchFlipped+400
	slli %r9,%r9,24
	slor %r7,%r8,%r7,8
	slor %r6,%r9,%r6,16
;V_DrawPatchFlipped+416
	or %r6,%r6,%r7
	ldbzx.xd %r8,%r3,%r6,0,0
	bweqi %r8,255,V_DrawPatchFlipped+352
;V_DrawPatchFlipped+432
	add %r6,%r3,%r6
	jmp V_DrawPatchFlipped+496
	nop 0
;V_DrawPatchFlipped+448
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawPatchFlipped+464
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawPatchFlipped+480
	bweqi %r8,255,V_DrawPatchFlipped+352
	nop 0
	nop 0
;V_DrawPatchFlipped+496
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawPatchFlipped+448
	andi %r8,%r8,255
;V_DrawPatchFlipped+512
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawPatchFlipped+528
	ldbz %r10,%r9,0
	addiws %r7,%r7,-1
	addi %r9,%r9,1
;V_DrawPatchFlipped+544
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
	bwne %r7,%gz,V_DrawPatchFlipped+528
;V_DrawPatchFlipped+560
	ldbz %r7,%r6,1
	jmp V_DrawPatchFlipped+464
	nop 0
;V_DrawPatchFlipped+576
	retf 0
	nop 0
	nop 0
;V_DrawPatchDirect
	alloc 8
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
;V_DrawPatchDirect+16
	callr %r4,V_DrawPatch
	retf 0
	nop 0
;V_DrawTLPatch
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r5,%r3,6
;V_DrawTLPatch+16
	ldbs %r6,%r3,5
	ldbz %r7,%r3,4
	slor %r5,%r5,%r4,8
;V_DrawTLPatch+32
	slor %r4,%r7,%r6,8
	subws %r4,%r1,%r4
	subws %r2,%r2,%r5
;V_DrawTLPatch+48
	bwlt %r4,%gz,V_DrawTLPatch+112
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawTLPatch+64
	slor %r5,%r5,%r1,8
	addws %r1,%r4,%r5
	bwgei %r1,321,V_DrawTLPatch+112
;V_DrawTLPatch+80
	bwlt %r2,%gz,V_DrawTLPatch+112
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawTLPatch+96
	slor %r1,%r6,%r1,8
	addws %r1,%r2,%r1
	bwlti %r1,201,V_DrawTLPatch+144
;V_DrawTLPatch+112
	ldafr %r14,.rodata+12026
	callr %r13,I_Error
	ldbs %r1,%r3,1
;V_DrawTLPatch+128
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawTLPatch+144
	bwlti %r5,1,V_DrawTLPatch+416
	lddzr %r6,dest_screen
	mov %r1,%gz
;V_DrawTLPatch+160
	mulwsi %r2,%r2,320
	sraiw %r4,%r4,0
	addadd %r2,%r6,%r2,%r4
;V_DrawTLPatch+176
	addi %r4,%r3,8
	srliw %r5,%r5,0
	jmp V_DrawTLPatch+208
;V_DrawTLPatch+192
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawTLPatch+416
;V_DrawTLPatch+208
	ldbzx.xd %r6,%r4,%r1,2,1
	ldbzx.xd %r7,%r4,%r1,2,0
	ldbsx.xd %r8,%r4,%r1,2,3
;V_DrawTLPatch+224
	ldbzx.xd %r9,%r4,%r1,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawTLPatch+240
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawTLPatch+256
	bweqi %r8,255,V_DrawTLPatch+192
	add %r6,%r3,%r6
	jmp V_DrawTLPatch+320
;V_DrawTLPatch+272
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawTLPatch+288
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawTLPatch+304
	bweqi %r8,255,V_DrawTLPatch+192
	nop 0
	nop 0
;V_DrawTLPatch+320
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawTLPatch+272
	andi %r8,%r8,255
;V_DrawTLPatch+336
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawTLPatch+352
	ldbzx.xd %r10,%r2,%r8,0,0
	ldbz %r11,%r9,0
	lddzr %r12,tinttable
;V_DrawTLPatch+368
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r12,%r10,0,0
	addiws %r7,%r7,-1
;V_DrawTLPatch+384
	addi %r9,%r9,1
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
;V_DrawTLPatch+400
	bwne %r7,%gz,V_DrawTLPatch+352
	ldbz %r7,%r6,1
	jmp V_DrawTLPatch+288
;V_DrawTLPatch+416
	retf 0
	nop 0
	nop 0
;V_DrawXlaPatch
	alloc 17
	ldbs %r4,%r3,7
	ldbz %r6,%r3,6
;V_DrawXlaPatch+16
	ldbs %r7,%r3,5
	ldbz %r8,%r3,4
	lddzr %r5,patchclip_callback
;V_DrawXlaPatch+32
	slor %r4,%r6,%r4,8
	subws %r4,%r2,%r4
	slor %r2,%r8,%r7,8
;V_DrawXlaPatch+48
	subws %r2,%r1,%r2
	bdeq %r5,%gz,V_DrawXlaPatch+80
	mov2 %r14,%r15,%r3,%r2
;V_DrawXlaPatch+64
	mov %r16,%r4
	callri %r13,%r5,%gz
	bweq %r14,%gz,V_DrawXlaPatch+368
;V_DrawXlaPatch+80
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
	slor %r1,%r5,%r1,8
;V_DrawXlaPatch+96
	bdlti %r1,1,V_DrawXlaPatch+368
	lddzr %r6,dest_screen
	mov %r5,%gz
;V_DrawXlaPatch+112
	mulwsi %r4,%r4,320
	sraiw %r2,%r2,0
	addadd %r2,%r6,%r4,%r2
;V_DrawXlaPatch+128
	addi %r4,%r3,8
	jmp V_DrawXlaPatch+160
	nop 0
;V_DrawXlaPatch+144
	addi %r5,%r5,1
	addi %r2,%r2,1
	bdeq %r5,%r1,V_DrawXlaPatch+368
;V_DrawXlaPatch+160
	ldbzx.xd %r6,%r4,%r5,2,1
	ldbzx.xd %r7,%r4,%r5,2,0
	ldbsx.xd %r8,%r4,%r5,2,3
;V_DrawXlaPatch+176
	ldbzx.xd %r9,%r4,%r5,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawXlaPatch+192
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawXlaPatch+208
	bweqi %r8,255,V_DrawXlaPatch+144
	add %r6,%r3,%r6
	jmp V_DrawXlaPatch+272
;V_DrawXlaPatch+224
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawXlaPatch+240
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawXlaPatch+256
	bweqi %r8,255,V_DrawXlaPatch+144
	nop 0
	nop 0
;V_DrawXlaPatch+272
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawXlaPatch+224
	andi %r8,%r8,255
;V_DrawXlaPatch+288
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawXlaPatch+304
	ldbzx.xd %r10,%r2,%r8,0,0
	ldbz %r11,%r9,0
	lddzr %r12,xlatab
;V_DrawXlaPatch+320
	slor %r10,%r10,%r11,8
	ldbzx.xd %r10,%r12,%r10,0,0
	addiws %r7,%r7,-1
;V_DrawXlaPatch+336
	stbx.xd %r10,%r2,%r8,0,0
	addi %r9,%r9,1
	addi %r8,%r8,320
;V_DrawXlaPatch+352
	bwne %r7,%gz,V_DrawXlaPatch+304
	ldbz %r7,%r6,1
	jmp V_DrawXlaPatch+240
;V_DrawXlaPatch+368
	retf 0
	nop 0
	nop 0
;V_DrawAltTLPatch
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r5,%r3,6
;V_DrawAltTLPatch+16
	ldbs %r6,%r3,5
	ldbz %r7,%r3,4
	slor %r5,%r5,%r4,8
;V_DrawAltTLPatch+32
	slor %r4,%r7,%r6,8
	subws %r4,%r1,%r4
	subws %r2,%r2,%r5
;V_DrawAltTLPatch+48
	bwlt %r4,%gz,V_DrawAltTLPatch+112
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawAltTLPatch+64
	slor %r5,%r5,%r1,8
	addws %r1,%r4,%r5
	bwgei %r1,321,V_DrawAltTLPatch+112
;V_DrawAltTLPatch+80
	bwlt %r2,%gz,V_DrawAltTLPatch+112
	ldbs %r1,%r3,3
	ldbz %r6,%r3,2
;V_DrawAltTLPatch+96
	slor %r1,%r6,%r1,8
	addws %r1,%r2,%r1
	bwlti %r1,201,V_DrawAltTLPatch+144
;V_DrawAltTLPatch+112
	ldafr %r14,.rodata+20148
	callr %r13,I_Error
	ldbs %r1,%r3,1
;V_DrawAltTLPatch+128
	ldbz %r5,%r3,0
	slor %r5,%r5,%r1,8
	nop 0
;V_DrawAltTLPatch+144
	bwlti %r5,1,V_DrawAltTLPatch+416
	lddzr %r6,dest_screen
	mov %r1,%gz
;V_DrawAltTLPatch+160
	mulwsi %r2,%r2,320
	sraiw %r4,%r4,0
	addadd %r2,%r6,%r2,%r4
;V_DrawAltTLPatch+176
	addi %r4,%r3,8
	srliw %r5,%r5,0
	jmp V_DrawAltTLPatch+208
;V_DrawAltTLPatch+192
	addi %r1,%r1,1
	addi %r2,%r2,1
	bdeq %r1,%r5,V_DrawAltTLPatch+416
;V_DrawAltTLPatch+208
	ldbzx.xd %r6,%r4,%r1,2,1
	ldbzx.xd %r7,%r4,%r1,2,0
	ldbsx.xd %r8,%r4,%r1,2,3
;V_DrawAltTLPatch+224
	ldbzx.xd %r9,%r4,%r1,2,2
	slli %r8,%r8,24
	slor %r6,%r7,%r6,8
;V_DrawAltTLPatch+240
	slor %r7,%r8,%r9,16
	or %r6,%r7,%r6
	ldbzx.xd %r8,%r3,%r6,0,0
;V_DrawAltTLPatch+256
	bweqi %r8,255,V_DrawAltTLPatch+192
	add %r6,%r3,%r6
	jmp V_DrawAltTLPatch+320
;V_DrawAltTLPatch+272
	mov %r7,%gz
	nop 0
	nop 0
;V_DrawAltTLPatch+288
	ldax.xd %r9,%r6,%r7,0,4
	ldbzx.xd %r8,%r6,%r7,0,4
	mov %r6,%r9
;V_DrawAltTLPatch+304
	bweqi %r8,255,V_DrawAltTLPatch+192
	nop 0
	nop 0
;V_DrawAltTLPatch+320
	ldbz %r7,%r6,1
	bweq %r7,%gz,V_DrawAltTLPatch+272
	andi %r8,%r8,255
;V_DrawAltTLPatch+336
	muli %r8,%r8,320
	addi %r9,%r6,3
	nop 0
;V_DrawAltTLPatch+352
	ldbzx.xd %r10,%r2,%r8,0,0
	ldbz %r11,%r9,0
	lddzr %r12,tinttable
;V_DrawAltTLPatch+368
	slor %r10,%r11,%r10,8
	ldbzx.xd %r10,%r12,%r10,0,0
	addiws %r7,%r7,-1
;V_DrawAltTLPatch+384
	addi %r9,%r9,1
	stbx.xd %r10,%r2,%r8,0,0
	addi %r8,%r8,320
;V_DrawAltTLPatch+400
	bwne %r7,%gz,V_DrawAltTLPatch+352
	ldbz %r7,%r6,1
	jmp V_DrawAltTLPatch+288
;V_DrawAltTLPatch+416
	retf 0
	nop 0
	nop 0
;V_DrawShadowedPatch
	alloc 15
	ldbs %r4,%r3,7
	ldbz %r5,%r3,6
;V_DrawShadowedPatch+16
	ldbs %r6,%r3,5
	ldbz %r7,%r3,4
	slor %r5,%r5,%r4,8
;V_DrawShadowedPatch+32
	slor %r4,%r7,%r6,8
	subws %r4,%r1,%r4
	subws %r2,%r2,%r5
;V_DrawShadowedPatch+48
	bwlt %r4,%gz,V_DrawShadowedPatch+112
	ldbs %r1,%r3,1
	ldbz %r5,%r3,0
;V_DrawShadowedPatch+64
	slor %r6,%r5,%r1,8
	addws %r1,%r4,%r6
	bwgei %r1,321,V_DrawShadowedPatch+112
;V_DrawShadowedPatch+80
	bwlt %r2,%gz,V_DrawShadowedPatch+112
	ldbs %r1,%r3,3
	ldbz %r5,%r3,2
;V_DrawShadowedPatch+96
	slor %r1,%r5,%r1,8
	addws %r1,%r2,%r1
	bwlti %r1,201,V_DrawShadowedPatch+144
;V_DrawShadowedPatch+112
	ldafr %r14,.rodata+12044
	callr %r13,I_Error
	ldbs %r1,%r3,1
;V_DrawShadowedPatch+128
	ldbz %r5,%r3,0
	slor %r6,%r5,%r1,8
	nop 0
;V_DrawShadowedPatch+144
	bwlti %r6,1,V_DrawShadowedPatch+464
	lddzr %r5,dest_screen
	mulwsi %r7,%r2,320
;V_DrawShadowedPatch+160
	addiws %r1,%r7,640
	ldax.xw %r2,%r5,%r1,0,0
	mov %r1,%gz
;V_DrawShadowedPatch+176
	sraiw %r8,%r4,0
	ldax.xw %r2,%r2,%r4,0,2
	addadd %r4,%r5,%r7,%r8
;V_DrawShadowedPatch+192
	addi %r5,%r3,8
	srliw %r6,%r6,0
	jmp V_DrawShadowedPatch+240
;V_DrawShadowedPatch+208
	addi %r1,%r1,1
	addi %r4,%r4,1
	addi %r2,%r2,1
;V_DrawShadowedPatch+224
	bdeq %r1,%r6,V_DrawShadowedPatch+464
	nop 0
	nop 0
;V_DrawShadowedPatch+240
	ldbzx.xd %r7,%r5,%r1,2,1
	ldbzx.xd %r8,%r5,%r1,2,0
	ldbsx.xd %r9,%r5,%r1,2,3
;V_DrawShadowedPatch+256
	ldbzx.xd %r10,%r5,%r1,2,2
	slli %r9,%r9,24
	slor %r7,%r8,%r7,8
;V_DrawShadowedPatch+272
	slor %r8,%r9,%r10,16
	or %r7,%r8,%r7
	ldbzx.xd %r9,%r3,%r7,0,0
;V_DrawShadowedPatch+288
	bweqi %r9,255,V_DrawShadowedPatch+208
	add %r7,%r3,%r7
	jmp V_DrawShadowedPatch+352
;V_DrawShadowedPatch+304
	mov %r8,%gz
	nop 0
	nop 0
;V_DrawShadowedPatch+320
	ldax.xd %r10,%r7,%r8,0,4
	ldbzx.xd %r9,%r7,%r8,0,4
	mov %r7,%r10
;V_DrawShadowedPatch+336
	bweqi %r9,255,V_DrawShadowedPatch+208
	nop 0
	nop 0
;V_DrawShadowedPatch+352
	ldbz %r8,%r7,1
	bweq %r8,%gz,V_DrawShadowedPatch+304
	andi %r9,%r9,255
;V_DrawShadowedPatch+368
	muli %r9,%r9,320
	addi %r10,%r7,3
	nop 0
;V_DrawShadowedPatch+384
	ldbzx.xd %r11,%r2,%r9,0,0
	lddzr %r12,tinttable
	slli %r11,%r11,8
;V_DrawShadowedPatch+400
	ldbzx.xd %r11,%r12,%r11,0,0
	stbx.xd %r11,%r2,%r9,0,0
	ldbz %r11,%r10,0
;V_DrawShadowedPatch+416
	addiws %r8,%r8,-1
	addi %r10,%r10,1
	stbx.xd %r11,%r4,%r9,0,0
;V_DrawShadowedPatch+432
	addi %r9,%r9,320
	bwne %r8,%gz,V_DrawShadowedPatch+384
	ldbz %r8,%r7,1
;V_DrawShadowedPatch+448
	jmp V_DrawShadowedPatch+320
	nop 0
	nop 0
;V_DrawShadowedPatch+464
	retf 0
	nop 0
	nop 0
;V_LoadTintTable
	alloc 4
	ldafr %r2,.rodata+1936
	ldi %r3,1
;V_LoadTintTable+16
	callr %r1,W_CacheLumpName
	stdr %r2,tinttable
	retf 0
;V_LoadXlaTable
	alloc 4
	ldafr %r2,.rodata+2849
	ldi %r3,1
;V_LoadXlaTable+16
	callr %r1,W_CacheLumpName
	stdr %r2,xlatab
	retf 0
;V_DrawBlock
	alloc 14
	addws %r8,%r3,%r1
	addws %r9,%r4,%r2
;V_DrawBlock+16
	bwlt %r1,%gz,V_DrawBlock+48
	bwlt %r2,%gz,V_DrawBlock+48
	bwgei %r8,321,V_DrawBlock+48
;V_DrawBlock+32
	bwlti %r9,201,V_DrawBlock+64
	nop 0
	nop 0
;V_DrawBlock+48
	ldafr %r13,.rodata+1944
	callr %r12,I_Error
	nop 0
;V_DrawBlock+64
	lddzr %r6,dest_screen
	lddzr %r7,I_VideoBuffer
	bdne %r6,%r7,V_DrawBlock+128
;V_DrawBlock+80
	ldafr %r6,dirtybox
	mov2 %r11,%r12,%r6,%r1
	mov %r13,%r2
;V_DrawBlock+96
	callr %r10,M_AddToBox
	addiws %r12,%r8,-1
	addiws %r13,%r9,-1
;V_DrawBlock+112
	mov %r11,%r6
	callr %r10,M_AddToBox
	nop 0
;V_DrawBlock+128
	bweq %r4,%gz,V_DrawBlock+208
	lddzr %r6,dest_screen
	mulwsi %r2,%r2,320
;V_DrawBlock+144
	sraiw %r1,%r1,0
	addadd %r1,%r6,%r2,%r1
	sraiw %r2,%r3,0
;V_DrawBlock+160
	addiws %r4,%r4,-1
	mov2 %r11,%r12,%r1,%r5
	mov %r13,%r2
;V_DrawBlock+176
	callr %r10,memcpy
	add %r5,%r5,%r2
	addi %r1,%r1,320
;V_DrawBlock+192
	bwne %r4,%gz,V_DrawBlock+160
	nop 0
	nop 0
;V_DrawBlock+208
	retf 0
	nop 0
	nop 0
;V_DrawFilledBox
	alloc 12
	bwlti %r4,1,V_DrawFilledBox+96
	lddzr %r6,I_VideoBuffer
;V_DrawFilledBox+16
	mov %r7,%gz
	mulwsi %r2,%r2,320
	sraiw %r1,%r1,0
;V_DrawFilledBox+32
	addadd %r1,%r6,%r2,%r1
	srliw %r2,%r3,0
	jmp V_DrawFilledBox+64
;V_DrawFilledBox+48
	addiws %r7,%r7,1
	addi %r1,%r1,320
	bwle %r4,%r7,V_DrawFilledBox+96
;V_DrawFilledBox+64
	bwlti %r3,1,V_DrawFilledBox+48
	mov2 %r9,%r10,%r1,%r5
	mov %r11,%r2
;V_DrawFilledBox+80
	callr %r8,memset
	jmp V_DrawFilledBox+48
	nop 0
;V_DrawFilledBox+96
	retf 0
	nop 0
	nop 0
;V_DrawHorizLine
	alloc 10
	bwlti %r3,1,V_DrawHorizLine+48
	lddzr %r5,I_VideoBuffer
;V_DrawHorizLine+16
	mulwsi %r2,%r2,320
	sraiw %r1,%r1,0
	addadd %r7,%r5,%r2,%r1
;V_DrawHorizLine+32
	srliw %r9,%r3,0
	mov %r8,%r4
	callr %r6,memset
;V_DrawHorizLine+48
	retf 0
	nop 0
	nop 0
;V_DrawVertLine
	alloc 7
	bwlti %r3,1,V_DrawVertLine+80
	lddzr %r6,I_VideoBuffer
;V_DrawVertLine+16
	mov %r5,%gz
	mulwsi %r2,%r2,320
	sraiw %r1,%r1,0
;V_DrawVertLine+32
	addadd %r1,%r6,%r2,%r1
	nop 0
	nop 0
;V_DrawVertLine+48
	stb %r4,%r1,0
	addiws %r5,%r5,1
	addi %r1,%r1,320
;V_DrawVertLine+64
	bwlt %r5,%r3,V_DrawVertLine+48
	nop 0
	nop 0
;V_DrawVertLine+80
	retf 0
	nop 0
	nop 0
;V_DrawBox
	alloc 14
	mulwsi %r8,%r2,320
	sraiw %r9,%r1,0
;V_DrawBox+16
	bwlti %r3,1,V_DrawBox+96
	lddzr %r6,I_VideoBuffer
	addadd %r11,%r6,%r8,%r9
;V_DrawBox+32
	srliw %r6,%r3,0
	mov2 %r12,%r13,%r5,%r6
	callr %r10,memset
;V_DrawBox+48
	lddzr %r7,I_VideoBuffer
	addws %r2,%r4,%r2
	mulwsi %r2,%r2,320
;V_DrawBox+64
	addiws %r2,%r2,-320
	addadd %r11,%r7,%r2,%r9
	mov2 %r12,%r13,%r5,%r6
;V_DrawBox+80
	callr %r10,memset
	nop 0
	nop 0
;V_DrawBox+96
	bwlti %r4,1,V_DrawBox+208
	lddzr %r6,I_VideoBuffer
	mov %r2,%gz
;V_DrawBox+112
	addadd %r6,%r6,%r8,%r9
	nop 0
	nop 0
;V_DrawBox+128
	stb %r5,%r6,0
	addiws %r2,%r2,1
	addi %r6,%r6,320
;V_DrawBox+144
	bwlt %r2,%r4,V_DrawBox+128
	lddzr %r6,I_VideoBuffer
	mov %r2,%gz
;V_DrawBox+160
	addws %r1,%r3,%r1
	add %r3,%r6,%r8
	ldax.xw %r1,%r3,%r1,0,-1
;V_DrawBox+176
	stb %r5,%r1,0
	addiws %r2,%r2,1
	addi %r1,%r1,320
;V_DrawBox+192
	bwlt %r2,%r4,V_DrawBox+176
	nop 0
	nop 0
;V_DrawBox+208
	retf 0
	nop 0
	nop 0
;V_DrawRawScreen
	alloc 6
	lddzr %r3,dest_screen
	ldi %r5,64000
;V_DrawRawScreen+16
	mov %r4,%r1
	callr %r2,memcpy
	retf 0
;V_Init
	alloc 1
	retf 0
	nop 0
;V_UseBuffer
	alloc 2
	stdr %r1,dest_screen
	retf 0
;V_RestoreBuffer
	alloc 2
	lddzr %r1,I_VideoBuffer
	stdr %r1,dest_screen
;V_RestoreBuffer+16
	retf 0
	nop 0
	nop 0
;WritePCXfile
	alloc 16
	mulws %r8,%r4,%r3
	ldi %r6,1000
;WritePCXfile+16
	sladdws %r13,%r6,%r8,1
	ldi %r7,1
	mov2 %r14,%r15,%r7,%gz
;WritePCXfile+32
	callr %r12,Z_Malloc
	mov %r6,%r13
	ldi %r9,10
;WritePCXfile+48
	stb %r9,%r13,0
	ldi %r9,5
	stb %r9,%r13,1
;WritePCXfile+64
	stb %r7,%r13,2
	ldi %r9,8
	stb %r9,%r13,3
;WritePCXfile+80
	stb %gz,%r13,5
	stb %gz,%r13,4
	stb %gz,%r13,7
;WritePCXfile+96
	stb %gz,%r13,6
	addiws %r9,%r3,-1
	srliw %r10,%r9,8
;WritePCXfile+112
	stb %r10,%r13,9
	stb %r9,%r13,8
	addiws %r9,%r4,-1
;WritePCXfile+128
	srliw %r10,%r9,8
	stb %r10,%r13,11
	stb %r9,%r13,10
;WritePCXfile+144
	srliw %r9,%r3,8
	stb %r9,%r13,13
	stb %r3,%r13,12
;WritePCXfile+160
	srliw %r10,%r4,8
	stb %r10,%r13,15
	stb %r4,%r13,14
;WritePCXfile+176
	addi %r13,%r13,16
	ldi %r15,48
	mov %r14,%gz
;WritePCXfile+192
	callr %r12,memset
	stb %r7,%r6,65
	stb %r9,%r6,67
;WritePCXfile+208
	stb %r3,%r6,66
	stb %gz,%r6,69
	ldi %r3,2
;WritePCXfile+224
	stb %r3,%r6,68
	addi %r13,%r6,70
	ldi %r15,58
;WritePCXfile+240
	mov %r14,%gz
	callr %r12,memset
	addi %r3,%r6,128
;WritePCXfile+256
	bwlti %r8,1,WritePCXfile+384
	mov %r4,%gz
	ldi %r9,193
;WritePCXfile+272
	jmp WritePCXfile+352
	nop 0
	nop 0
;WritePCXfile+288
	stb %r9,%r3,0
	ldbz %r10,%r2,0
	addi %r11,%r3,2
;WritePCXfile+304
	stb %r10,%r3,1
	nop 0
	nop 0
;WritePCXfile+320
	mov %r3,%r11
	addiws %r4,%r4,1
	addi %r2,%r2,1
;WritePCXfile+336
	bwle %r8,%r4,WritePCXfile+384
	nop 0
	nop 0
;WritePCXfile+352
	ldbz %r10,%r2,0
	bwgeui %r10,192,WritePCXfile+288
	addi %r11,%r3,1
;WritePCXfile+368
	stb %r10,%r3,0
	jmp WritePCXfile+320
	nop 0
;WritePCXfile+384
	mov %r4,%gz
	ldi %r2,12
	stb %r2,%r3,0
;WritePCXfile+400
	addi %r2,%r3,1
	addsub %r15,%r3,%r7,%r6
	nop 0
;WritePCXfile+416
	ldbz %r3,%r5,0
	mov %r7,%r4
	addi %r5,%r5,1
;WritePCXfile+432
	stb %r3,%r2,0
	addiws %r4,%r4,1
	addi %r2,%r2,1
;WritePCXfile+448
	addi %r15,%r15,1
	bwltui %r7,767,WritePCXfile+416
	mov2 %r13,%r14,%r1,%r6
;WritePCXfile+464
	callr %r12,M_WriteFile
	mov %r15,%r6
	callr %r14,Z_Free
;WritePCXfile+480
	retf 0
	nop 0
	nop 0
;V_ScreenShot
	allocsp 13,32
	mov %r4,%gz
	ldafr %r5,.rodata+5848
;V_ScreenShot+16
	addi %r2,%sp,16
	ldi %r3,16
	nop 0
;V_ScreenShot+32
	mov %r6,%r4
	std %r5,%sp,8
	stw %r4,%sp,0
;V_ScreenShot+48
	mov2 %r10,%r11,%r2,%r3
	mov %r12,%r1
	callr %r9,M_snprintf
;V_ScreenShot+64
	mov %r12,%r2
	callr %r11,M_FileExists
	bweq %r12,%gz,V_ScreenShot+112
;V_ScreenShot+80
	addiws %r4,%r6,1
	bwltui %r6,99,V_ScreenShot+32
	ldafr %r12,.rodata+27274
;V_ScreenShot+96
	callr %r11,I_Error
	nop 0
	nop 0
;V_ScreenShot+112
	lddzr %r9,I_VideoBuffer
	ldafr %r11,.rodata+27930
	ldi %r12,8
;V_ScreenShot+128
	callr %r10,W_CacheLumpName
	mov %r12,%r11
	addi %r8,%sp,16
;V_ScreenShot+144
	ldi %r10,320
	ldi %r11,200
	callr %r7,WritePCXfile
;V_ScreenShot+160
	retf 32
	nop 0
	nop 0
;V_DrawMouseSpeedBox
	alloc 17
	ldi %r2,119
	mov2 %r14,%r15,%r2,%r2
;V_DrawMouseSpeedBox+16
	mov %r16,%r2
	callr %r13,I_GetPaletteIndex
	mov %r8,%r14
;V_DrawMouseSpeedBox+32
	ldi %r14,85
	mov2 %r15,%r16,%r14,%r14
	callr %r13,I_GetPaletteIndex
;V_DrawMouseSpeedBox+48
	mov %r7,%r14
	ldi %r5,255
	mov2 %r14,%r15,%r5,%gz
;V_DrawMouseSpeedBox+64
	mov %r16,%gz
	callr %r13,I_GetPaletteIndex
	mov2 %r3,%r14,%r14,%gz
;V_DrawMouseSpeedBox+80
	mov2 %r15,%r16,%gz,%gz
	callr %r13,I_GetPaletteIndex
	mov2 %r6,%r14,%r14,%r5
;V_DrawMouseSpeedBox+96
	mov2 %r15,%r16,%r5,%gz
	callr %r13,I_GetPaletteIndex
	mov2 %r4,%r14,%r14,%r5
;V_DrawMouseSpeedBox+112
	mov2 %r15,%r16,%r5,%r5
	callr %r13,I_GetPaletteIndex
	ldwzr %r5,usemouse
;V_DrawMouseSpeedBox+128
	bweq %r5,%gz,V_DrawMouseSpeedBox+640
	ldwzr %r5,mouse_acceleration
	nop 2
;V_DrawMouseSpeedBox+144
	ldi.l %r9,-1082130432
	faddss %r5,%r5,%r9
;V_DrawMouseSpeedBox+160
	fabsss %r5,%r5
	fextss2sd %r5,%r5
	nop 2
;V_DrawMouseSpeedBox+176
	ldi.l %r9,4576918229304087675
	bfsdolt %r5,%r9,V_DrawMouseSpeedBox+640
;V_DrawMouseSpeedBox+192
	mov %r5,%r14
	lddzr %r9,I_VideoBuffer
	mov %r11,%gz
;V_DrawMouseSpeedBox+208
	addi %r9,%r9,4990
	ldi %r10,120
	nop 0
;V_DrawMouseSpeedBox+224
	mov2 %r12,%r14,%r11,%r9
	mov2 %r15,%r16,%r8,%r10
	callr %r13,memset
;V_DrawMouseSpeedBox+240
	addi %r9,%r9,320
	addiws %r11,%r11,1
	bwltui %r12,8,V_DrawMouseSpeedBox+224
;V_DrawMouseSpeedBox+256
	lddzr %r8,I_VideoBuffer
	addi %r14,%r8,4990
	ldi %r8,120
;V_DrawMouseSpeedBox+272
	mov2 %r15,%r16,%r7,%r8
	callr %r13,memset
	lddzr %r9,I_VideoBuffer
;V_DrawMouseSpeedBox+288
	addi %r14,%r9,7550
	mov2 %r15,%r16,%r7,%r8
	callr %r13,memset
;V_DrawMouseSpeedBox+304
	lddzr %r8,I_VideoBuffer
	mov %r9,%gz
	addi %r8,%r8,4990
;V_DrawMouseSpeedBox+320
	mov %r10,%r9
	stb %r7,%r8,0
	addi %r8,%r8,320
;V_DrawMouseSpeedBox+336
	addiws %r9,%r9,1
	bwltui %r10,8,V_DrawMouseSpeedBox+320
	lddzr %r8,I_VideoBuffer
;V_DrawMouseSpeedBox+352
	mov %r9,%gz
	addi %r8,%r8,5109
	nop 0
;V_DrawMouseSpeedBox+368
	mov %r10,%r9
	stb %r7,%r8,0
	addi %r8,%r8,320
;V_DrawMouseSpeedBox+384
	addiws %r9,%r9,1
	bwltui %r10,8,V_DrawMouseSpeedBox+368
	ldwzr %r7,mouse_threshold
;V_DrawMouseSpeedBox+400
	bwlt %r1,%r7,V_DrawMouseSpeedBox+448
	ldwzr %r8,mouse_acceleration
	subws %r1,%r1,%r7
;V_DrawMouseSpeedBox+416
	fcvtiw2ss %r1,%r1,0
	fdivss %r1,%r1,%r8
	fcvtss2iw %r1,%r1,0
;V_DrawMouseSpeedBox+432
	addws %r1,%r7,%r1
	nop 0
	nop 0
;V_DrawMouseSpeedBox+448
	mulwsi %r1,%r1,40
	divw %r7,%r1,%r7
	lddzr %r1,I_VideoBuffer
;V_DrawMouseSpeedBox+464
	minsw %r2,%r7,%r2
	addi %r14,%r1,6271
	ldi %r16,118
;V_DrawMouseSpeedBox+480
	mov %r15,%r6
	callr %r13,memset
	bwgei %r7,40,V_DrawMouseSpeedBox+512
;V_DrawMouseSpeedBox+496
	bwle %r7,%gz,V_DrawMouseSpeedBox+592
	ldi %r1,6271
	jmp V_DrawMouseSpeedBox+560
;V_DrawMouseSpeedBox+512
	lddzr %r1,I_VideoBuffer
	addi %r14,%r1,6271
	ldi %r16,40
;V_DrawMouseSpeedBox+528
	mov %r15,%r5
	callr %r13,memset
	bweqi %r7,40,V_DrawMouseSpeedBox+592
;V_DrawMouseSpeedBox+544
	addiws %r2,%r2,-40
	ldi %r1,6310
	mov %r5,%r4
;V_DrawMouseSpeedBox+560
	lddzr %r4,I_VideoBuffer
	add %r14,%r4,%r1
	srliw %r16,%r2,0
;V_DrawMouseSpeedBox+576
	mov %r15,%r5
	callr %r13,memset
	nop 0
;V_DrawMouseSpeedBox+592
	lddzr %r1,I_VideoBuffer
	mov %r2,%gz
	addi %r1,%r1,5350
;V_DrawMouseSpeedBox+608
	mov %r4,%r2
	stb %r3,%r1,0
	addi %r1,%r1,320
;V_DrawMouseSpeedBox+624
	addiws %r2,%r2,1
	bwltui %r4,6,V_DrawMouseSpeedBox+608
	nop 0
;V_DrawMouseSpeedBox+640
	retf 0
	nop 0
	nop 0
;WI_slamBackground
	alloc 5
	lddzr %r4,background
	mov2 %r2,%r3,%gz,%gz
;WI_slamBackground+16
	callr %r1,V_DrawPatch
	retf 0
	nop 0
;WI_Responder
	alloc 2
	mov %r1,%gz
	retf 0
;WI_drawLF
	allocsp 9,48
	ldwzr %r2,gamemode
	lddzr %r1,wbs
;WI_drawLF+16
	ldwz %r1,%r1,8
	bwnei %r2,2,WI_drawLF+48
	ldbzr %r2,NUMCMAPS
;WI_drawLF+32
	ldi %r3,32
	cmovlsb %r2,%r2,%r3,%gz
	bwle %r2,%r1,WI_drawLF+256
;WI_drawLF+48
	lddzr %r2,lnames
	lddzx.xw %r8,%r2,%r1,3,0
	ldbs %r1,%r8,1
;WI_drawLF+64
	ldbz %r2,%r8,0
	slor %r1,%r2,%r1,8
	subfiws %r1,%r1,320
;WI_drawLF+80
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawLF+96
	ldi %r7,2
	callr %r5,V_DrawPatch
	lddzr %r1,wbs
;WI_drawLF+112
	lddzr %r2,lnames
	ldws %r1,%r1,8
	lddzx.xd %r1,%r2,%r1,3,0
;WI_drawLF+128
	ldbs %r2,%r1,3
	ldbz %r1,%r1,2
	lddzr %r8,finished
;WI_drawLF+144
	slor %r1,%r1,%r2,8
	mulwsi %r1,%r1,5
	ldbs %r2,%r8,1
;WI_drawLF+160
	ldbz %r3,%r8,0
	srliw %r4,%r1,30
	addws %r1,%r1,%r4
;WI_drawLF+176
	sraiw %r1,%r1,2
	addiws %r7,%r1,2
	slor %r1,%r3,%r2,8
;WI_drawLF+192
	subfiws %r1,%r1,320
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
;WI_drawLF+208
	sraiw %r6,%r1,1
	nop 0
	nop 0
;WI_drawLF+224
	callr %r5,V_DrawPatch
	nop 0
	nop 0
;WI_drawLF+240
	retf 48
	nop 0
	nop 0
;WI_drawLF+256
	bwleu %r1,%r2,WI_drawLF+240
	sth %gz,%sp,46
	sth %gz,%sp,44
;WI_drawLF+272
	sth %gz,%sp,42
	sth %gz,%sp,40
	sth %gz,%sp,38
;WI_drawLF+288
	sth %gz,%sp,36
	sth %gz,%sp,34
	sth %gz,%sp,32
;WI_drawLF+304
	sth %gz,%sp,30
	sth %gz,%sp,28
	sth %gz,%sp,26
;WI_drawLF+320
	sth %gz,%sp,24
	sth %gz,%sp,22
	sth %gz,%sp,20
;WI_drawLF+336
	sth %gz,%sp,18
	sth %gz,%sp,16
	ldi %r1,320
;WI_drawLF+352
	sth %r1,%sp,8
	ldi %r1,200
	sth %r1,%sp,10
;WI_drawLF+368
	ldi %r1,1
	sth %r1,%sp,12
	sth %r1,%sp,14
;WI_drawLF+384
	ldi %r7,2
	addi %r8,%sp,8
	mov %r6,%gz
;WI_drawLF+400
	jmp WI_drawLF+224
	nop 0
	nop 0
;WI_drawEL
	alloc 9
	lddzr %r8,entering
	ldbs %r1,%r8,1
;WI_drawEL+16
	ldbz %r2,%r8,0
	slor %r1,%r2,%r1,8
	subfiws %r1,%r1,320
;WI_drawEL+32
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawEL+48
	ldi %r7,2
	callr %r5,V_DrawPatch
	lddzr %r1,wbs
;WI_drawEL+64
	lddzr %r2,lnames
	ldws %r1,%r1,12
	lddzx.xd %r8,%r2,%r1,3,0
;WI_drawEL+80
	ldbs %r1,%r8,3
	ldbz %r2,%r8,2
	slor %r1,%r2,%r1,8
;WI_drawEL+96
	mulwsi %r1,%r1,5
	ldbs %r2,%r8,1
	ldbz %r3,%r8,0
;WI_drawEL+112
	srliw %r4,%r1,30
	addws %r1,%r1,%r4
	sraiw %r1,%r1,2
;WI_drawEL+128
	addiws %r7,%r1,2
	slor %r1,%r3,%r2,8
	subfiws %r1,%r1,320
;WI_drawEL+144
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawEL+160
	callr %r5,V_DrawPatch
	retf 0
	nop 0
;WI_drawOnLnode
	allocsp 15,16
	lddzr %r3,wbs
	ldws %r3,%r3,0
;WI_drawOnLnode+16
	muli %r3,%r3,72
	ldax.xw %r4,%r3,%r1,3,0
	mov %r3,%gz
;WI_drawOnLnode+32
	ldafr %r5,lnodes
	ldwzx.xd %r12,%r4,%r5,0,0
	ldafr %r5,lnodes+4
;WI_drawOnLnode+48
	ldwzx.xd %r13,%r4,%r5,0,0
	lddz %r4,%r2,0
	nop 0
;WI_drawOnLnode+64
	ldbs %r5,%r4,5
	ldbz %r6,%r4,4
	slor %r5,%r6,%r5,8
;WI_drawOnLnode+80
	ldbz %r6,%r4,7
	ldbz %r7,%r4,6
	ldbs %r8,%r4,1
;WI_drawOnLnode+96
	ldbz %r9,%r4,0
	ldbs %r10,%r4,3
	ldbz %r4,%r4,2
;WI_drawOnLnode+112
	subws %r5,%r12,%r5
	slor %r6,%r7,%r6,8
	slsrai %r6,%r6,48,48
;WI_drawOnLnode+128
	subws %r6,%r13,%r6
	slor %r7,%r9,%r8,8
	addws %r7,%r5,%r7
;WI_drawOnLnode+144
	slor %r4,%r4,%r10,8
	addws %r4,%r6,%r4
	or %r5,%r5,%r6
;WI_drawOnLnode+160
	cmpwgti %r6,%r7,319
	cmpwlti %r5,%r5,0
	cmpwgti %r4,%r4,199
;WI_drawOnLnode+176
	or %r4,%r6,%r4
	or %r4,%r4,%r5
	addws %r3,%r3,%r4
;WI_drawOnLnode+192
	bbci %r4,0,WI_drawOnLnode+224
	bweqi %r3,2,WI_drawOnLnode+224
	lddzx.xuw %r4,%r2,%r3,3,0
;WI_drawOnLnode+208
	bdne %r4,%gz,WI_drawOnLnode+64
	jmp WI_drawOnLnode+240
	nop 0
;WI_drawOnLnode+224
	cmpwgtui %r5,%r3,1
	or %r4,%r4,%r5
	bbci %r4,0,WI_drawOnLnode+272
;WI_drawOnLnode+240
	addiws %r1,%r1,1
	ldafr %r14,.rodata+23804
	stw %r1,%sp,0
;WI_drawOnLnode+256
	callr %r13,printf
	retf 16
	nop 0
;WI_drawOnLnode+272
	lddzx.xuw %r14,%r2,%r3,3,0
	callr %r11,V_DrawPatch
	retf 16
;WI_initAnimatedBack
	alloc 11
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_initAnimatedBack+32
;WI_initAnimatedBack+16
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwlti %r1,3,WI_initAnimatedBack+48
;WI_initAnimatedBack+32
	retf 0
	nop 0
	nop 0
;WI_initAnimatedBack+48
	mov2 %r2,%r3,%gz,%gz
	sraiw %r1,%r1,0
	ldafr %r4,anims
;WI_initAnimatedBack+64
	ldi %r5,-1
	ldafr %r6,NUMANIMS
	jmp WI_initAnimatedBack+144
;WI_initAnimatedBack+80
	ldwzr %r1,bcnt
	nop 0
	nop 0
;WI_initAnimatedBack+96
	addiws %r1,%r1,1
	stwx.xd %r1,%r7,%r2,0,56
	nop 0
;WI_initAnimatedBack+112
	lddzr %r1,wbs
	ldws %r1,%r1,0
	ldwsx.xd %r7,%r6,%r1,2,0
;WI_initAnimatedBack+128
	addi %r3,%r3,1
	addi %r2,%r2,72
	bdle %r7,%r3,WI_initAnimatedBack+32
;WI_initAnimatedBack+144
	lddzx.xd %r7,%r4,%r1,3,0
	stwx.xd %r5,%r7,%r2,0,64
	ldwzx.xd %r1,%r7,%r2,0,0
;WI_initAnimatedBack+160
	bweqi %r1,2,WI_initAnimatedBack+80
	bweqi %r1,1,WI_initAnimatedBack+208
	bwne %r1,%gz,WI_initAnimatedBack+112
;WI_initAnimatedBack+176
	ldwzr %r8,bcnt
	callr %r9,M_Random
	ldwzx.xd %r1,%r7,%r2,0,4
;WI_initAnimatedBack+192
	jmp WI_initAnimatedBack+240
	nop 0
	nop 0
;WI_initAnimatedBack+208
	ldwzr %r1,bcnt
	ldwzx.xd %r8,%r7,%r2,0,24
	addws %r8,%r1,%r8
;WI_initAnimatedBack+224
	callr %r9,M_Random
	ldwzx.xd %r1,%r7,%r2,0,20
	nop 0
;WI_initAnimatedBack+240
	modw %r1,%r10,%r1
	addws %r1,%r8,%r1
	jmp WI_initAnimatedBack+96
;WI_updateAnimatedBack
	alloc 15
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_updateAnimatedBack+32
;WI_updateAnimatedBack+16
	lddzr %r1,wbs
	ldwz %r4,%r1,0
	bwlti %r4,3,WI_updateAnimatedBack+48
;WI_updateAnimatedBack+32
	retf 0
	nop 0
	nop 0
;WI_updateAnimatedBack+48
	mov2 %r2,%r3,%gz,%gz
	sraiw %r8,%r4,0
	ldwzr %r7,bcnt
;WI_updateAnimatedBack+64
	ldafr %r4,anims
	ldi %r5,-1
	ldafr %r6,NUMANIMS
;WI_updateAnimatedBack+80
	jmp WI_updateAnimatedBack+160
	nop 0
	nop 0
;WI_updateAnimatedBack+96
	stwx.xd %r10,%r9,%r2,0,64
	nop 0
	nop 0
;WI_updateAnimatedBack+112
	ldwzx.xd %r9,%r9,%r2,0,4
	addws %r9,%r9,%r7
	stw %r9,%r8,56
;WI_updateAnimatedBack+128
	ldws %r8,%r1,0
	ldwsx.xd %r9,%r6,%r8,2,0
	addi %r3,%r3,1
;WI_updateAnimatedBack+144
	addi %r2,%r2,72
	bdle %r9,%r3,WI_updateAnimatedBack+32
	nop 0
;WI_updateAnimatedBack+160
	lddzx.xd %r9,%r4,%r8,3,0
	ldwzx.xd %r8,%r9,%r2,0,56
	bwne %r7,%r8,WI_updateAnimatedBack+128
;WI_updateAnimatedBack+176
	add %r8,%r9,%r2
	ldwz %r10,%r8,0
	bweqi %r10,2,WI_updateAnimatedBack+336
;WI_updateAnimatedBack+192
	bweqi %r10,1,WI_updateAnimatedBack+240
	bwne %r10,%gz,WI_updateAnimatedBack+128
	ldwzx.xd %r10,%r9,%r2,0,64
;WI_updateAnimatedBack+208
	ldwzx.xd %r11,%r9,%r2,0,8
	addiws %r10,%r10,1
	cmpwlt %r11,%r10,%r11
;WI_updateAnimatedBack+224
	cmovlsb %r10,%r11,%r10,%gz
	jmp WI_updateAnimatedBack+96
	nop 0
;WI_updateAnimatedBack+240
	ldwzx.xd %r10,%r9,%r2,0,64
	addiws %r10,%r10,1
	stwx.xd %r10,%r9,%r2,0,64
;WI_updateAnimatedBack+256
	ldwzx.xd %r11,%r9,%r2,0,8
	bwne %r10,%r11,WI_updateAnimatedBack+112
	stw %r5,%r8,64
;WI_updateAnimatedBack+272
	ldwzx.xd %r1,%r9,%r2,0,24
	addws %r7,%r1,%r7
	callr %r13,M_Random
;WI_updateAnimatedBack+288
	ldwzx.xd %r1,%r9,%r2,0,20
	modw %r1,%r14,%r1
	addws %r1,%r7,%r1
;WI_updateAnimatedBack+304
	stw %r1,%r8,56
	ldwzr %r7,bcnt
	lddzr %r1,wbs
;WI_updateAnimatedBack+320
	jmp WI_updateAnimatedBack+128
	nop 0
	nop 0
;WI_updateAnimatedBack+336
	bdnei %r3,7,WI_updateAnimatedBack+352
	ldwzr %r10,state
	bweq %r10,%gz,WI_updateAnimatedBack+128
;WI_updateAnimatedBack+352
	ldwz %r10,%r1,12
	ldwzx.xd %r11,%r9,%r2,0,20
	bwne %r10,%r11,WI_updateAnimatedBack+128
;WI_updateAnimatedBack+368
	ldwzx.xd %r10,%r9,%r2,0,64
	ldwzx.xd %r11,%r9,%r2,0,8
	addiws %r12,%r10,1
;WI_updateAnimatedBack+384
	cmpweq %r11,%r12,%r11
	cmovlsb %r10,%r11,%r10,%r12
	jmp WI_updateAnimatedBack+96
;WI_drawAnimatedBack
	alloc 12
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_drawAnimatedBack+32
;WI_drawAnimatedBack+16
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwlti %r1,3,WI_drawAnimatedBack+48
;WI_drawAnimatedBack+32
	retf 0
	nop 0
	nop 0
;WI_drawAnimatedBack+48
	mov2 %r2,%r3,%gz,%gz
	sraiw %r6,%r1,0
	ldafr %r4,anims
;WI_drawAnimatedBack+64
	ldafr %r5,NUMANIMS
	jmp WI_drawAnimatedBack+112
	nop 0
;WI_drawAnimatedBack+80
	ldwsx.xw %r7,%r5,%r1,2,0
	addi %r3,%r3,1
	sraiw %r6,%r1,0
;WI_drawAnimatedBack+96
	addi %r2,%r2,72
	bdle %r7,%r3,WI_drawAnimatedBack+32
	nop 0
;WI_drawAnimatedBack+112
	lddzx.xd %r6,%r4,%r6,3,0
	ldwzx.xd %r7,%r6,%r2,0,64
	bwlt %r7,%gz,WI_drawAnimatedBack+80
;WI_drawAnimatedBack+128
	add %r1,%r6,%r2
	ldwzx.xd %r9,%r6,%r2,0,12
	ldwzx.xd %r10,%r6,%r2,0,16
;WI_drawAnimatedBack+144
	lddzx.xuw %r11,%r1,%r7,3,32
	callr %r8,V_DrawPatch
	lddzr %r1,wbs
;WI_drawAnimatedBack+160
	ldwz %r1,%r1,0
	jmp WI_drawAnimatedBack+80
	nop 0
;WI_drawNum
	alloc 15
	lddzr %r7,num
	mov %r5,%r1
;WI_drawNum+16
	ldbs %r6,%r7,1
	ldbz %r7,%r7,0
	bwgei %r4,0,WI_drawNum+96
;WI_drawNum+32
	bweq %r3,%gz,WI_drawNum+144
	mov2 %r4,%r1,%gz,%r3
	nop 0
;WI_drawNum+48
	sraiw %r8,%r1,0
	muli.l %r8,%r8,1717986919
;WI_drawNum+64
	srli %r9,%r8,63
	srai %r8,%r8,34
	addiws %r10,%r1,9
;WI_drawNum+80
	addws %r1,%r8,%r9
	addiws %r4,%r4,1
	bwgeui %r10,19,WI_drawNum+48
;WI_drawNum+96
	absdw %r8,%r3,%gz
	mov %r1,%gz
	nop 2
;WI_drawNum+112
	bweqi.l %r8,1994,WI_drawNum+288
	cmpwlti %r3,%r3,0
;WI_drawNum+128
	bwne %r4,%gz,WI_drawNum+160
	jmp WI_drawNum+256
	nop 0
;WI_drawNum+144
	mov2 %r3,%r8,%gz,%gz
	ldi %r4,1
	nop 0
;WI_drawNum+160
	slor %r6,%r7,%r6,8
	ldafr %r7,num
	nop 0
;WI_drawNum+176
	addiws %r4,%r4,-1
	subws %r5,%r5,%r6
	srliw %r1,%r8,0
;WI_drawNum+192
	muli.l %r1,%r1,3435973837
	srli %r9,%r1,35
;WI_drawNum+208
	mulwsi %r1,%r9,10
	subws %r1,%r8,%r1
	lddzx.xuw %r14,%r7,%r1,3,0
;WI_drawNum+224
	mov2 %r12,%r13,%r5,%r2
	callr %r11,V_DrawPatch
	mov %r8,%r9
;WI_drawNum+240
	bwne %r4,%gz,WI_drawNum+176
	nop 0
	nop 0
;WI_drawNum+256
	bbci %r3,0,WI_drawNum+304
	addiws %r1,%r5,-8
	lddzr %r14,wiminus
;WI_drawNum+272
	mov2 %r12,%r13,%r1,%r2
	callr %r11,V_DrawPatch
	nop 0
;WI_drawNum+288
	retf 0
	nop 0
	nop 0
;WI_drawNum+304
	mov %r1,%r5
	retf 0
	nop 0
;WI_drawPercent
	alloc 9
	bwlt %r3,%gz,WI_drawPercent+48
	lddzr %r8,percent
;WI_drawPercent+16
	mov2 %r6,%r7,%r1,%r2
	callr %r5,V_DrawPatch
	ldi %r8,-1
;WI_drawPercent+32
	mov2 %r5,%r6,%r1,%r2
	mov %r7,%r3
	callr %r4,WI_drawNum
;WI_drawPercent+48
	retf 0
	nop 0
	nop 0
;WI_drawTime
	alloc 13
	bwlt %r3,%gz,WI_drawTime+240
	mov %r4,%r1
;WI_drawTime+16
	bwgeui.l %r3,3600,WI_drawTime+192
	ldi %r6,1
;WI_drawTime+32
	ldi %r1,2
	jmp WI_drawTime+80
	nop 0
;WI_drawTime+48
	mov2 %r10,%r11,%r4,%r2
	callr %r9,V_DrawPatch
	nop 0
;WI_drawTime+64
	bwltu %r3,%r6,WI_drawTime+240
	nop 0
	nop 0
;WI_drawTime+80
	mov %r5,%r6
	divuw %r6,%r3,%r6
	srliw %r7,%r6,0
;WI_drawTime+96
	muli.l %r7,%r7,2290649225
	srli %r7,%r7,37
;WI_drawTime+112
	mulwsi %r7,%r7,60
	subws %r11,%r6,%r7
	mov2 %r9,%r10,%r4,%r2
;WI_drawTime+128
	mov %r12,%r1
	callr %r8,WI_drawNum
	lddzr %r12,colon
;WI_drawTime+144
	ldbs %r4,%r12,1
	ldbz %r6,%r12,0
	slor %r4,%r6,%r4,8
;WI_drawTime+160
	subws %r4,%r9,%r4
	mulwsi %r6,%r5,60
	bweqi %r5,1,WI_drawTime+48
;WI_drawTime+176
	bwltu %r3,%r6,WI_drawTime+64
	jmp WI_drawTime+48
	nop 0
;WI_drawTime+192
	lddzr %r12,sucks
	ldbs %r1,%r12,1
	ldbz %r3,%r12,0
;WI_drawTime+208
	slor %r1,%r3,%r1,8
	subws %r10,%r4,%r1
	mov %r11,%r2
;WI_drawTime+224
	callr %r9,V_DrawPatch
	nop 0
	nop 0
;WI_drawTime+240
	retf 0
	nop 0
	nop 0
;WI_End
	alloc 2
	callr %r1,WI_unloadData
	retf 0
;WI_unloadData
	allocsp 21,32
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_unloadData+128
;WI_unloadData+16
	ldbzr %r1,NUMCMAPS
	bbci %r1,0,WI_unloadData+592
	mov2 %r5,%r4,%gz,%gz
;WI_unloadData+32
	ldafr %r1,.rodata+16943
	addi %r2,%sp,23
	ldi %r3,9
;WI_unloadData+48
	mov %r6,%r4
	stw %r4,%sp,0
	mov2 %r18,%r19,%r2,%r3
;WI_unloadData+64
	mov %r20,%r1
	callr %r17,snprintf
	lddzr %r7,lnames
;WI_unloadData+80
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
	stdx.xd %gz,%r7,%r5,0,0
;WI_unloadData+96
	ldbzr %r4,NUMCMAPS
	bbci %r4,0,WI_unloadData+592
	addi %r4,%r6,1
;WI_unloadData+112
	addi %r5,%r5,8
	bdltui %r6,31,WI_unloadData+48
	jmp WI_unloadData+592
;WI_unloadData+128
	mov2 %r5,%r6,%gz,%gz
	ldafr %r1,.rodata+18311
	addi %r2,%sp,23
;WI_unloadData+144
	ldi %r3,9
	nop 0
	nop 0
;WI_unloadData+160
	lddzr %r4,wbs
	ldwz %r4,%r4,0
	stw %r6,%sp,4
;WI_unloadData+176
	stw %r4,%sp,0
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
;WI_unloadData+192
	callr %r17,snprintf
	lddzr %r7,lnames
	mov %r20,%r2
;WI_unloadData+208
	callr %r19,W_ReleaseLumpName
	stdx.xd %gz,%r7,%r5,0,0
	addi %r6,%r6,1
;WI_unloadData+224
	addi %r5,%r5,8
	bdnei %r6,9,WI_unloadData+160
	ldafr %r20,.rodata+1960
;WI_unloadData+240
	callr %r19,W_ReleaseLumpName
	stdr %gz,yah
	ldafr %r20,.rodata+5852
;WI_unloadData+256
	callr %r19,W_ReleaseLumpName
	stdr %gz,yah+8
	ldafr %r20,.rodata+5418
;WI_unloadData+272
	callr %r19,W_ReleaseLumpName
	lddzr %r4,wbs
	stdr %gz,splat
;WI_unloadData+288
	ldwz %r11,%r4,0
	bwgei %r11,3,WI_unloadData+592
	mov %r5,%gz
;WI_unloadData+304
	sraiw %r12,%r11,0
	ldi %r6,32
	ldafr %r7,anims
;WI_unloadData+320
	ldi %r8,72
	ldafr %r9,epsd1animinfo+320
	ldafr %r1,.rodata+18320
;WI_unloadData+336
	addi %r2,%sp,23
	ldi %r3,9
	ldafr %r10,NUMANIMS
;WI_unloadData+352
	jmp WI_unloadData+416
	nop 0
	nop 0
;WI_unloadData+368
	ldwz %r11,%r4,0
	nop 0
	nop 0
;WI_unloadData+384
	ldwsx.xw %r13,%r10,%r11,2,0
	addi %r5,%r5,1
	sraiw %r12,%r11,0
;WI_unloadData+400
	addi %r6,%r6,72
	bdle %r13,%r5,WI_unloadData+592
	nop 0
;WI_unloadData+416
	lddzx.xd %r13,%r7,%r12,3,0
	muli %r12,%r5,72
	ldwzx.xd %r15,%r13,%r12,0,8
;WI_unloadData+432
	bwlti %r15,1,WI_unloadData+384
	mov %r11,%gz
	muladd %r12,%r5,%r8,%r13
;WI_unloadData+448
	add %r13,%r13,%r6
	mov %r14,%r9
	jmp WI_unloadData+560
;WI_unloadData+464
	stw %r11,%sp,8
	stw %r5,%sp,4
	stw %r16,%sp,0
;WI_unloadData+480
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
	callr %r17,snprintf
;WI_unloadData+496
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
	mov %r16,%gz
;WI_unloadData+512
	lddzr %r4,wbs
	ldwz %r15,%r12,8
	nop 0
;WI_unloadData+528
	std %r16,%r13,0
	addi %r11,%r11,1
	sraiw %r16,%r15,0
;WI_unloadData+544
	addi %r14,%r14,8
	addi %r13,%r13,8
	bdle %r16,%r11,WI_unloadData+368
;WI_unloadData+560
	ldwz %r16,%r4,0
	bdnei %r5,8,WI_unloadData+464
	bwnei %r16,1,WI_unloadData+464
;WI_unloadData+576
	lddz %r16,%r14,0
	jmp WI_unloadData+528
	nop 0
;WI_unloadData+592
	ldafr %r20,.rodata+10479
	callr %r19,W_ReleaseLumpName
	mov %r5,%gz
;WI_unloadData+608
	stdr %gz,wiminus
	ldafr %r6,num
	ldafr %r1,.rodata+14586
;WI_unloadData+624
	addi %r2,%sp,23
	ldi %r3,9
	nop 0
;WI_unloadData+640
	stw %r5,%sp,0
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
;WI_unloadData+656
	callr %r17,snprintf
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
;WI_unloadData+672
	std %gz,%r6,0
	addi %r5,%r5,1
	addi %r6,%r6,8
;WI_unloadData+688
	bdnei %r5,10,WI_unloadData+640
	ldafr %r20,.rodata+2856
	callr %r19,W_ReleaseLumpName
;WI_unloadData+704
	stdr %gz,percent
	ldafr %r20,.rodata+22761
	callr %r19,W_ReleaseLumpName
;WI_unloadData+720
	stdr %gz,finished
	ldafr %r20,.rodata+23838
	callr %r19,W_ReleaseLumpName
;WI_unloadData+736
	stdr %gz,entering
	ldafr %r20,.rodata+11040
	callr %r19,W_ReleaseLumpName
;WI_unloadData+752
	stdr %gz,kills
	ldafr %r20,.rodata+12068
	callr %r19,W_ReleaseLumpName
;WI_unloadData+768
	stdr %gz,secret
	ldafr %r20,.rodata+20169
	callr %r19,W_ReleaseLumpName
;WI_unloadData+784
	stdr %gz,sp_secret
	ldafr %r1,.rodata+12075
	mov %r20,%r1
;WI_unloadData+800
	callr %r19,W_CheckNumForName
	bwlt %r20,%gz,WI_unloadData+848
	ldwzr %r2,deathmatch
;WI_unloadData+816
	ldwzr %r3,netgame
	ldafr %r4,.rodata+6615
	cmovweq %r1,%r2,%r1,%r4
;WI_unloadData+832
	cmovweq %r20,%r3,%r4,%r1
	jmp WI_unloadData+864
	nop 0
;WI_unloadData+848
	ldafr %r20,.rodata+6615
	nop 0
	nop 0
;WI_unloadData+864
	callr %r19,W_ReleaseLumpName
	stdr %gz,items
	ldafr %r20,.rodata+10487
;WI_unloadData+880
	callr %r19,W_ReleaseLumpName
	stdr %gz,frags
	ldafr %r20,.rodata+4231
;WI_unloadData+896
	callr %r19,W_ReleaseLumpName
	stdr %gz,colon
	ldafr %r20,.rodata+9533
;WI_unloadData+912
	callr %r19,W_ReleaseLumpName
	stdr %gz,timepatch
	ldafr %r20,.rodata+25855
;WI_unloadData+928
	callr %r19,W_ReleaseLumpName
	stdr %gz,sucks
	ldafr %r20,.rodata+15570
;WI_unloadData+944
	callr %r19,W_ReleaseLumpName
	stdr %gz,par
	ldafr %r20,.rodata+12081
;WI_unloadData+960
	callr %r19,W_ReleaseLumpName
	stdr %gz,killers
	ldafr %r20,.rodata+12089
;WI_unloadData+976
	callr %r19,W_ReleaseLumpName
	stdr %gz,victims
	ldafr %r20,.rodata+15576
;WI_unloadData+992
	callr %r19,W_ReleaseLumpName
	mov %r6,%gz
	stdr %gz,total
;WI_unloadData+1008
	ldafr %r7,bp
	ldafr %r8,p
	ldafr %r1,.rodata+1967
;WI_unloadData+1024
	addi %r2,%sp,23
	ldi %r3,9
	ldafr %r4,.rodata+12097
;WI_unloadData+1040
	stw %r6,%sp,0
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r1
;WI_unloadData+1056
	callr %r17,snprintf
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
;WI_unloadData+1072
	std %gz,%r8,0
	addi %r6,%r6,1
	stw %r6,%sp,0
;WI_unloadData+1088
	mov2 %r18,%r19,%r2,%r3
	mov %r20,%r4
	callr %r17,snprintf
;WI_unloadData+1104
	mov %r20,%r2
	callr %r19,W_ReleaseLumpName
	std %gz,%r7,0
;WI_unloadData+1120
	addi %r7,%r7,8
	addi %r8,%r8,8
	bdnei %r6,4,WI_unloadData+1040
;WI_unloadData+1136
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_unloadData+1168
	bwnei %r1,3,WI_unloadData+1200
;WI_unloadData+1152
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwnei %r1,3,WI_unloadData+1216
;WI_unloadData+1168
	ldafr %r19,.rodata+14684
	addi %r18,%sp,23
	ldi %r20,9
;WI_unloadData+1184
	callr %r17,M_StringCopy
	jmp WI_unloadData+1248
	nop 0
;WI_unloadData+1200
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	nop 0
;WI_unloadData+1216
	ldafr %r20,.rodata+17813
	addi %r18,%sp,23
	ldi %r19,9
;WI_unloadData+1232
	stw %r1,%sp,0
	callr %r17,snprintf
	nop 0
;WI_unloadData+1248
	addi %r20,%sp,23
	callr %r19,W_ReleaseLumpName
	stdr %gz,background
;WI_unloadData+1264
	retf 32
	nop 0
	nop 0
;WI_initNoState
	alloc 2
	ldi %r1,-1
	stwr %r1,state
;WI_initNoState+16
	stbr %gz,acceleratestage
	ldi %r1,10
	stwr %r1,cnt
;WI_initNoState+32
	retf 0
	nop 0
	nop 0
;WI_updateNoState
	alloc 3
	callr %r2,WI_updateAnimatedBack
	ldwzr %r1,cnt
;WI_updateNoState+16
	addiws %r1,%r1,-1
	stwr %r1,cnt
	bweq %r1,%gz,WI_updateNoState+48
;WI_updateNoState+32
	retf 0
	nop 0
	nop 0
;WI_updateNoState+48
	callr %r2,G_WorldDone
	retf 0
	nop 0
;WI_initShowNextLoc
	alloc 3
	ldi %r1,1
	stwr %r1,state
;WI_initShowNextLoc+16
	stbr %gz,acceleratestage
	ldi %r1,140
	stwr %r1,cnt
;WI_initShowNextLoc+32
	callr %r2,WI_initAnimatedBack
	retf 0
	nop 0
;WI_updateShowNextLoc
	alloc 4
	callr %r3,WI_updateAnimatedBack
	ldwzr %r1,cnt
;WI_updateShowNextLoc+16
	addiws %r1,%r1,-1
	stwr %r1,cnt
	bweq %r1,%gz,WI_updateShowNextLoc+64
;WI_updateShowNextLoc+32
	ldbzr %r2,acceleratestage
	bbsi %r2,0,WI_updateShowNextLoc+64
	andi %r1,%r1,28
;WI_updateShowNextLoc+48
	cmpwltui %r1,%r1,20
	stwr %r1,snl_pointeron
	retf 0
;WI_updateShowNextLoc+64
	ldi %r1,-1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateShowNextLoc+80
	ldi %r1,10
	stwr %r1,cnt
	retf 0
;WI_drawShowNextLoc
	alloc 9
	lddzr %r8,background
	mov2 %r6,%r7,%gz,%gz
;WI_drawShowNextLoc+16
	callr %r5,V_DrawPatch
	callr %r8,WI_drawAnimatedBack
	ldwzr %r2,gamemode
;WI_drawShowNextLoc+32
	lddzr %r1,wbs
	bwnei %r2,2,WI_drawShowNextLoc+80
	ldwz %r1,%r1,12
;WI_drawShowNextLoc+48
	bwnei %r1,30,WI_drawShowNextLoc+256
	nop 0
	nop 0
;WI_drawShowNextLoc+64
	retf 0
	nop 0
	nop 0
;WI_drawShowNextLoc+80
	ldwz %r2,%r1,0
	bwgei %r2,3,WI_drawShowNextLoc+256
	ldwz %r4,%r1,8
;WI_drawShowNextLoc+96
	bwnei %r4,8,WI_drawShowNextLoc+112
	ldwz %r2,%r1,12
	addiws %r4,%r2,-1
;WI_drawShowNextLoc+112
	bwlt %r4,%gz,WI_drawShowNextLoc+160
	mov %r3,%gz
	ldafr %r1,splat
;WI_drawShowNextLoc+128
	mov2 %r2,%r7,%r3,%r3
	mov %r8,%r1
	callr %r6,WI_drawOnLnode
;WI_drawShowNextLoc+144
	addiws %r3,%r3,1
	bwlt %r2,%r4,WI_drawShowNextLoc+128
	lddzr %r1,wbs
;WI_drawShowNextLoc+160
	ldwz %r1,%r1,4
	bweq %r1,%gz,WI_drawShowNextLoc+192
	ldafr %r8,splat
;WI_drawShowNextLoc+176
	ldi %r7,8
	callr %r6,WI_drawOnLnode
	nop 0
;WI_drawShowNextLoc+192
	ldwzr %r1,snl_pointeron
	bweq %r1,%gz,WI_drawShowNextLoc+224
	lddzr %r1,wbs
;WI_drawShowNextLoc+208
	ldwz %r7,%r1,12
	ldafr %r8,yah
	callr %r6,WI_drawOnLnode
;WI_drawShowNextLoc+224
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_drawShowNextLoc+256
	lddzr %r1,wbs
;WI_drawShowNextLoc+240
	ldwz %r1,%r1,12
	bweqi %r1,30,WI_drawShowNextLoc+64
	nop 0
;WI_drawShowNextLoc+256
	lddzr %r8,entering
	ldbs %r1,%r8,1
	ldbz %r2,%r8,0
;WI_drawShowNextLoc+272
	slor %r1,%r2,%r1,8
	subfiws %r1,%r1,320
	srliw %r2,%r1,31
;WI_drawShowNextLoc+288
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
	ldi %r7,2
;WI_drawShowNextLoc+304
	callr %r5,V_DrawPatch
	lddzr %r1,wbs
	lddzr %r2,lnames
;WI_drawShowNextLoc+320
	ldws %r1,%r1,12
	lddzx.xd %r8,%r2,%r1,3,0
	ldbs %r1,%r8,3
;WI_drawShowNextLoc+336
	ldbz %r2,%r8,2
	slor %r1,%r2,%r1,8
	mulwsi %r1,%r1,5
;WI_drawShowNextLoc+352
	ldbs %r2,%r8,1
	ldbz %r3,%r8,0
	srliw %r4,%r1,30
;WI_drawShowNextLoc+368
	addws %r1,%r1,%r4
	sraiw %r1,%r1,2
	addiws %r7,%r1,2
;WI_drawShowNextLoc+384
	slor %r1,%r3,%r2,8
	subfiws %r1,%r1,320
	srliw %r2,%r1,31
;WI_drawShowNextLoc+400
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
	callr %r5,V_DrawPatch
;WI_drawShowNextLoc+416
	retf 0
	nop 0
	nop 0
;WI_drawNoState
	alloc 3
	ldi %r1,1
	stwr %r1,snl_pointeron
;WI_drawNoState+16
	callr %r2,WI_drawShowNextLoc
	retf 0
	nop 0
;WI_fragSum
	alloc 9
	mov2 %r5,%r2,%gz,%gz
	lddzr %r3,plrs
;WI_fragSum+16
	sraiw %r4,%r1,0
	srliw %r6,%r1,0
	muli %r1,%r4,40
;WI_fragSum+32
	ldax.xd %r1,%r1,%r3,0,20
	slli %r6,%r6,2
	ldafr %r7,playeringame
;WI_fragSum+48
	jmp WI_fragSum+80
	nop 0
	nop 0
;WI_fragSum+64
	addi %r5,%r5,4
	bdeqi %r5,16,WI_fragSum+112
	nop 0
;WI_fragSum+80
	bdeq %r6,%r5,WI_fragSum+64
	ldwzx.xd %r8,%r5,%r7,0,0
	bweq %r8,%gz,WI_fragSum+64
;WI_fragSum+96
	ldwzx.xd %r8,%r1,%r5,0,0
	addws %r2,%r8,%r2
	jmp WI_fragSum+64
;WI_fragSum+112
	ldi %r1,40
	muladd %r1,%r4,%r1,%r3
	ldwzx.xd %r1,%r1,%r4,2,20
;WI_fragSum+128
	subws %r1,%r2,%r1
	retf 0
	nop 0
;WI_initDeathmatchStats
	alloc 8
	mov %r1,%gz
	stwr %gz,state
;WI_initDeathmatchStats+16
	stbr %gz,acceleratestage
	ldi %r2,1
	stwr %r2,dm_state
;WI_initDeathmatchStats+32
	ldi %r2,35
	stwr %r2,cnt_pause
	ldafr %r2,dm_frags
;WI_initDeathmatchStats+48
	ldafr %r3,playeringame
	ldafr %r4,dm_totals
	jmp WI_initDeathmatchStats+96
;WI_initDeathmatchStats+64
	stwx.xd %gz,%r4,%r1,2,0
	nop 0
	nop 0
;WI_initDeathmatchStats+80
	addi %r1,%r1,1
	addi %r2,%r2,16
	bdeqi %r1,4,WI_initDeathmatchStats+176
;WI_initDeathmatchStats+96
	ldwzx.xd %r5,%r3,%r1,2,0
	bweq %r5,%gz,WI_initDeathmatchStats+80
	mov %r5,%gz
;WI_initDeathmatchStats+112
	jmp WI_initDeathmatchStats+144
	nop 0
	nop 0
;WI_initDeathmatchStats+128
	addi %r5,%r5,4
	bdeqi %r5,16,WI_initDeathmatchStats+64
	nop 0
;WI_initDeathmatchStats+144
	ldwzx.xd %r6,%r5,%r3,0,0
	bweq %r6,%gz,WI_initDeathmatchStats+128
	stwx.xd %gz,%r2,%r5,0,0
;WI_initDeathmatchStats+160
	jmp WI_initDeathmatchStats+128
	nop 0
	nop 0
;WI_initDeathmatchStats+176
	callr %r7,WI_initAnimatedBack
	retf 0
	nop 0
;WI_updateDeathmatchStats
	alloc 20
	callr %r19,WI_updateAnimatedBack
	ldbzr %r2,acceleratestage
;WI_updateDeathmatchStats+16
	ldwzr %r1,dm_state
	bbci %r2,0,WI_updateDeathmatchStats+288
	bweqi %r1,4,WI_updateDeathmatchStats+288
;WI_updateDeathmatchStats+32
	lddzr %r1,plrs
	mov2 %r2,%r3,%gz,%gz
	stbr %gz,acceleratestage
;WI_updateDeathmatchStats+48
	addi %r4,%r1,20
	ldafr %r5,dm_frags
	ldafr %r6,playeringame
;WI_updateDeathmatchStats+64
	ldi %r7,40
	ldafr %r8,dm_totals
	jmp WI_updateDeathmatchStats+144
;WI_updateDeathmatchStats+80
	muladd %r10,%r3,%r7,%r1
	ldwzx.xd %r10,%r10,%r3,2,20
	subws %r9,%r9,%r10
;WI_updateDeathmatchStats+96
	stwx.xd %r9,%r8,%r3,2,0
	nop 0
	nop 0
;WI_updateDeathmatchStats+112
	addi %r3,%r3,1
	addi %r4,%r4,40
	addi %r5,%r5,16
;WI_updateDeathmatchStats+128
	addi %r2,%r2,4
	bdeqi %r3,4,WI_updateDeathmatchStats+656
	nop 0
;WI_updateDeathmatchStats+144
	ldwzx.xd %r9,%r6,%r3,2,0
	bweq %r9,%gz,WI_updateDeathmatchStats+112
	mov %r9,%gz
;WI_updateDeathmatchStats+160
	jmp WI_updateDeathmatchStats+192
	nop 0
	nop 0
;WI_updateDeathmatchStats+176
	addi %r9,%r9,4
	bdeqi %r9,16,WI_updateDeathmatchStats+224
	nop 0
;WI_updateDeathmatchStats+192
	ldwzx.xd %r10,%r9,%r6,0,0
	bweq %r10,%gz,WI_updateDeathmatchStats+176
	ldwzx.xd %r10,%r4,%r9,0,0
;WI_updateDeathmatchStats+208
	stwx.xd %r10,%r5,%r9,0,0
	jmp WI_updateDeathmatchStats+176
	nop 0
;WI_updateDeathmatchStats+224
	mov2 %r10,%r9,%gz,%gz
	jmp WI_updateDeathmatchStats+256
	nop 0
;WI_updateDeathmatchStats+240
	addi %r10,%r10,4
	bdeqi %r10,16,WI_updateDeathmatchStats+80
	nop 0
;WI_updateDeathmatchStats+256
	bdeq %r2,%r10,WI_updateDeathmatchStats+240
	ldwzx.xd %r11,%r10,%r6,0,0
	bweq %r11,%gz,WI_updateDeathmatchStats+240
;WI_updateDeathmatchStats+272
	ldwzx.xd %r11,%r4,%r10,0,0
	addws %r9,%r11,%r9
	jmp WI_updateDeathmatchStats+240
;WI_updateDeathmatchStats+288
	bweqi %r1,4,WI_updateDeathmatchStats+768
	bwnei %r1,2,WI_updateDeathmatchStats+896
	ldbzr %r1,bcnt
;WI_updateDeathmatchStats+304
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateDeathmatchStats+336
	ldi %r19,1
;WI_updateDeathmatchStats+320
	mov %r18,%gz
	callr %r17,S_StartSound
	nop 0
;WI_updateDeathmatchStats+336
	lddzr %r1,plrs
	mov2 %r2,%r3,%gz,%gz
	mov %r9,%gz
;WI_updateDeathmatchStats+352
	addi %r4,%r1,20
	ldafr %r5,dm_frags
	ldafr %r6,playeringame
;WI_updateDeathmatchStats+368
	ldi %r7,40
	ldafr %r8,dm_totals
	ldi %r10,99
;WI_updateDeathmatchStats+384
	ldi %r11,-99
	ldi %r12,1
	ldi %r13,-1
;WI_updateDeathmatchStats+400
	jmp WI_updateDeathmatchStats+480
	nop 0
	nop 0
;WI_updateDeathmatchStats+416
	muladd %r15,%r3,%r7,%r1
	ldwzx.xd %r15,%r15,%r3,2,20
	subws %r14,%r14,%r15
;WI_updateDeathmatchStats+432
	minsw %r14,%r14,%r10
	maxsw %r14,%r14,%r11
	stwx.xd %r14,%r8,%r3,2,0
;WI_updateDeathmatchStats+448
	addi %r3,%r3,1
	addi %r5,%r5,16
	addi %r4,%r4,40
;WI_updateDeathmatchStats+464
	addi %r2,%r2,4
	bdeqi %r3,4,WI_updateDeathmatchStats+720
	nop 0
;WI_updateDeathmatchStats+480
	ldwzx.xd %r14,%r6,%r3,2,0
	bweq %r14,%gz,WI_updateDeathmatchStats+448
	mov %r14,%gz
;WI_updateDeathmatchStats+496
	jmp WI_updateDeathmatchStats+528
	nop 0
	nop 0
;WI_updateDeathmatchStats+512
	addi %r14,%r14,4
	bdeqi %r14,16,WI_updateDeathmatchStats+592
	nop 0
;WI_updateDeathmatchStats+528
	ldwzx.xd %r15,%r14,%r6,0,0
	bweq %r15,%gz,WI_updateDeathmatchStats+512
	ldwzx.xd %r15,%r5,%r14,0,0
;WI_updateDeathmatchStats+544
	ldwzx.xd %r16,%r4,%r14,0,0
	bweq %r15,%r16,WI_updateDeathmatchStats+512
	cmovwlt %r9,%r16,%r13,%r12
;WI_updateDeathmatchStats+560
	addws %r9,%r9,%r15
	minsw %r9,%r9,%r10
	maxsw %r9,%r9,%r11
;WI_updateDeathmatchStats+576
	stwx.xd %r9,%r5,%r14,0,0
	mov %r9,%r12
	jmp WI_updateDeathmatchStats+512
;WI_updateDeathmatchStats+592
	mov2 %r15,%r14,%gz,%gz
	jmp WI_updateDeathmatchStats+624
	nop 0
;WI_updateDeathmatchStats+608
	addi %r15,%r15,4
	bdeqi %r15,16,WI_updateDeathmatchStats+416
	nop 0
;WI_updateDeathmatchStats+624
	bdeq %r2,%r15,WI_updateDeathmatchStats+608
	ldwzx.xd %r16,%r15,%r6,0,0
	bweq %r16,%gz,WI_updateDeathmatchStats+608
;WI_updateDeathmatchStats+640
	ldwzx.xd %r16,%r4,%r15,0,0
	addws %r14,%r16,%r14
	jmp WI_updateDeathmatchStats+608
;WI_updateDeathmatchStats+656
	ldi %r19,82
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateDeathmatchStats+672
	ldbzr %r1,acceleratestage
	ldi %r2,4
	stwr %r2,dm_state
;WI_updateDeathmatchStats+688
	bbsi %r1,0,WI_updateDeathmatchStats+784
	nop 0
	nop 0
;WI_updateDeathmatchStats+704
	retf 0
	nop 0
	nop 0
;WI_updateDeathmatchStats+720
	bwne %r9,%gz,WI_updateDeathmatchStats+704
	ldi %r19,82
	mov %r18,%gz
;WI_updateDeathmatchStats+736
	callr %r17,S_StartSound
	ldwzr %r1,dm_state
	addiws %r1,%r1,1
;WI_updateDeathmatchStats+752
	stwr %r1,dm_state
	retf 0
	nop 0
;WI_updateDeathmatchStats+768
	bbci %r2,0,WI_updateDeathmatchStats+704
	nop 0
	nop 0
;WI_updateDeathmatchStats+784
	ldi %r19,31
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateDeathmatchStats+800
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_updateDeathmatchStats+848
	ldi %r1,-1
;WI_updateDeathmatchStats+816
	stwr %r1,state
	stbr %gz,acceleratestage
	ldi %r1,10
;WI_updateDeathmatchStats+832
	stwr %r1,cnt
	retf 0
	nop 0
;WI_updateDeathmatchStats+848
	ldi %r1,1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateDeathmatchStats+864
	ldi %r1,140
	stwr %r1,cnt
	callr %r19,WI_initAnimatedBack
;WI_updateDeathmatchStats+880
	retf 0
	nop 0
	nop 0
;WI_updateDeathmatchStats+896
	bbci %r1,0,WI_updateDeathmatchStats+704
	ldwzr %r2,cnt_pause
	addiws %r2,%r2,-1
;WI_updateDeathmatchStats+912
	stwr %r2,cnt_pause
	bwne %r2,%gz,WI_updateDeathmatchStats+704
	addiws %r1,%r1,1
;WI_updateDeathmatchStats+928
	stwr %r1,dm_state
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_updateDeathmatchStats+944
	retf 0
	nop 0
	nop 0
;WI_drawDeathmatchStats
	alloc 18
	lddzr %r17,background
	mov2 %r15,%r16,%gz,%gz
;WI_drawDeathmatchStats+16
	callr %r14,V_DrawPatch
	callr %r17,WI_drawAnimatedBack
	callr %r17,WI_drawLF
;WI_drawDeathmatchStats+32
	lddzr %r17,total
	ldbz %r1,%r17,1
	ldbz %r2,%r17,0
;WI_drawDeathmatchStats+48
	slor %r2,%r2,%r1,8
	srliw %r1,%r1,7
	addws %r1,%r2,%r1
;WI_drawDeathmatchStats+64
	slsrai %r1,%r1,48,48
	sraiw %r1,%r1,1
	subfiws %r15,%r1,269
;WI_drawDeathmatchStats+80
	ldi %r16,45
	callr %r14,V_DrawPatch
	lddzr %r17,killers
;WI_drawDeathmatchStats+96
	ldi %r15,10
	ldi %r16,100
	callr %r14,V_DrawPatch
;WI_drawDeathmatchStats+112
	lddzr %r17,victims
	ldi %r15,5
	ldi %r16,50
;WI_drawDeathmatchStats+128
	callr %r14,V_DrawPatch
	mov %r4,%gz
	ldi %r5,82
;WI_drawDeathmatchStats+144
	ldi %r1,68
	ldafr %r6,p
	ldafr %r7,playeringame
;WI_drawDeathmatchStats+160
	ldi %r2,35
	jmp WI_drawDeathmatchStats+208
	nop 0
;WI_drawDeathmatchStats+176
	addiws %r5,%r5,40
	addiws %r1,%r1,33
	addi %r4,%r4,1
;WI_drawDeathmatchStats+192
	addi %r6,%r6,8
	addi %r7,%r7,4
	bdeqi %r4,4,WI_drawDeathmatchStats+480
;WI_drawDeathmatchStats+208
	ldwz %r3,%r7,0
	bweq %r3,%gz,WI_drawDeathmatchStats+176
	lddz %r17,%r6,0
;WI_drawDeathmatchStats+224
	ldbz %r3,%r17,1
	ldbz %r8,%r17,0
	slor %r8,%r8,%r3,8
;WI_drawDeathmatchStats+240
	srliw %r3,%r3,7
	addws %r3,%r8,%r3
	slsrai %r3,%r3,48,48
;WI_drawDeathmatchStats+256
	sraiw %r3,%r3,1
	subws %r15,%r5,%r3
	mov %r16,%r2
;WI_drawDeathmatchStats+272
	callr %r14,V_DrawPatch
	lddz %r17,%r6,0
	ldbz %r3,%r17,1
;WI_drawDeathmatchStats+288
	ldbz %r8,%r17,0
	slor %r8,%r8,%r3,8
	srliw %r3,%r3,7
;WI_drawDeathmatchStats+304
	addws %r3,%r8,%r3
	slsrai %r3,%r3,48,48
	sraiw %r3,%r3,1
;WI_drawDeathmatchStats+320
	subfiws %r15,%r3,42
	mov %r16,%r1
	callr %r14,V_DrawPatch
;WI_drawDeathmatchStats+336
	ldwzr %r3,me
	bdne %r4,%r3,WI_drawDeathmatchStats+176
	lddz %r3,%r6,0
;WI_drawDeathmatchStats+352
	ldbz %r8,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r8,8
;WI_drawDeathmatchStats+368
	srliw %r8,%r8,7
	addws %r3,%r3,%r8
	slsrai %r3,%r3,48,48
;WI_drawDeathmatchStats+384
	sraiw %r3,%r3,1
	subws %r15,%r5,%r3
	lddzr %r17,bstar
;WI_drawDeathmatchStats+400
	mov %r16,%r2
	callr %r14,V_DrawPatch
	lddz %r3,%r6,0
;WI_drawDeathmatchStats+416
	ldbz %r8,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r8,8
;WI_drawDeathmatchStats+432
	srliw %r8,%r8,7
	addws %r3,%r3,%r8
	slsrai %r3,%r3,48,48
;WI_drawDeathmatchStats+448
	sraiw %r3,%r3,1
	subfiws %r15,%r3,42
	lddzr %r17,star
;WI_drawDeathmatchStats+464
	mov %r16,%r1
	callr %r14,V_DrawPatch
	jmp WI_drawDeathmatchStats+176
;WI_drawDeathmatchStats+480
	lddzr %r1,num
	ldbs %r2,%r1,1
	ldbz %r1,%r1,0
;WI_drawDeathmatchStats+496
	mov %r5,%gz
	slor %r6,%r1,%r2,8
	addiws %r1,%r6,269
;WI_drawDeathmatchStats+512
	ldi %r2,78
	ldafr %r7,dm_frags
	ldafr %r8,playeringame
;WI_drawDeathmatchStats+528
	ldi %r9,82
	ldafr %r10,dm_totals
	ldi %r3,2
;WI_drawDeathmatchStats+544
	jmp WI_drawDeathmatchStats+624
	nop 0
	nop 0
;WI_drawDeathmatchStats+560
	ldwzx.xd %r16,%r10,%r5,2,0
	mov2 %r14,%r15,%r1,%r2
	mov %r17,%r3
;WI_drawDeathmatchStats+576
	callr %r13,WI_drawNum
	nop 0
	nop 0
;WI_drawDeathmatchStats+592
	addiws %r2,%r2,33
	addi %r5,%r5,1
	addi %r7,%r7,16
;WI_drawDeathmatchStats+608
	bdeqi %r5,4,WI_drawDeathmatchStats+720
	nop 0
	nop 0
;WI_drawDeathmatchStats+624
	ldwzx.xd %r4,%r8,%r5,2,0
	bweq %r4,%gz,WI_drawDeathmatchStats+592
	mov2 %r11,%r12,%gz,%r9
;WI_drawDeathmatchStats+640
	jmp WI_drawDeathmatchStats+672
	nop 0
	nop 0
;WI_drawDeathmatchStats+656
	addi %r11,%r11,4
	addiws %r12,%r12,40
	bdeqi %r11,16,WI_drawDeathmatchStats+560
;WI_drawDeathmatchStats+672
	ldwzx.xd %r4,%r11,%r8,0,0
	bweq %r4,%gz,WI_drawDeathmatchStats+656
	addws %r14,%r12,%r6
;WI_drawDeathmatchStats+688
	ldwzx.xd %r16,%r7,%r11,0,0
	mov2 %r15,%r17,%r2,%r3
	callr %r13,WI_drawNum
;WI_drawDeathmatchStats+704
	jmp WI_drawDeathmatchStats+656
	nop 0
	nop 0
;WI_drawDeathmatchStats+720
	retf 0
	nop 0
	nop 0
;WI_initNetgameStats
	alloc 17
	mov %r1,%gz
	stwr %gz,state
;WI_initNetgameStats+16
	stbr %gz,acceleratestage
	ldi %r3,1
	lddzr %r2,plrs
;WI_initNetgameStats+32
	stwr %r3,ng_state
	ldi %r3,35
	stwr %r3,cnt_pause
;WI_initNetgameStats+48
	ldwzr %r3,dofrags
	addi %r4,%r2,20
	ldafr %r5,playeringame
;WI_initNetgameStats+64
	ldafr %r6,cnt_frags
	ldafr %r7,cnt_secret
	ldafr %r8,cnt_items
;WI_initNetgameStats+80
	ldafr %r9,cnt_kills
	ldi %r10,40
	jmp WI_initNetgameStats+144
;WI_initNetgameStats+96
	muladd %r12,%r1,%r10,%r2
	ldwzx.xd %r12,%r12,%r1,2,20
	subws %r11,%r11,%r12
;WI_initNetgameStats+112
	addws %r3,%r11,%r3
	nop 0
	nop 0
;WI_initNetgameStats+128
	addi %r1,%r1,1
	addi %r4,%r4,40
	bdeqi %r1,4,WI_initNetgameStats+256
;WI_initNetgameStats+144
	ldwzx.xd %r11,%r5,%r1,2,0
	bweq %r11,%gz,WI_initNetgameStats+128
	mov2 %r12,%r11,%gz,%gz
;WI_initNetgameStats+160
	stwx.xd %gz,%r6,%r1,2,0
	stwx.xd %gz,%r7,%r1,2,0
	stwx.xd %gz,%r8,%r1,2,0
;WI_initNetgameStats+176
	stwx.xd %gz,%r9,%r1,2,0
	mov2 %r13,%r14,%r5,%r4
	jmp WI_initNetgameStats+224
;WI_initNetgameStats+192
	addi %r12,%r12,1
	addi %r14,%r14,4
	addi %r13,%r13,4
;WI_initNetgameStats+208
	bdeqi %r12,4,WI_initNetgameStats+96
	nop 0
	nop 0
;WI_initNetgameStats+224
	bdeq %r1,%r12,WI_initNetgameStats+192
	ldwz %r15,%r13,0
	bweq %r15,%gz,WI_initNetgameStats+192
;WI_initNetgameStats+240
	ldwz %r15,%r14,0
	addws %r11,%r15,%r11
	jmp WI_initNetgameStats+192
;WI_initNetgameStats+256
	cmpwnei %r1,%r3,0
	stwr %r1,dofrags
	callr %r16,WI_initAnimatedBack
;WI_initNetgameStats+272
	retf 0
	nop 0
	nop 0
;WI_updateNetgameStats
	alloc 20
	callr %r19,WI_updateAnimatedBack
	ldbzr %r2,acceleratestage
;WI_updateNetgameStats+16
	ldwzr %r1,ng_state
	bbci %r2,0,WI_updateNetgameStats+352
	bweqi %r1,10,WI_updateNetgameStats+352
;WI_updateNetgameStats+32
	mov %r1,%gz
	lddzr %r2,plrs
	stbr %gz,acceleratestage
;WI_updateNetgameStats+48
	lddzr %r3,wbs
	ldwzr %r4,dofrags
	addi %r5,%r2,20
;WI_updateNetgameStats+64
	ldafr %r6,playeringame
	ldafr %r7,cnt_kills
	ldafr %r8,cnt_items
;WI_updateNetgameStats+80
	ldafr %r9,cnt_secret
	ldi %r10,40
	ldafr %r11,cnt_frags
;WI_updateNetgameStats+96
	jmp WI_updateNetgameStats+160
	nop 0
	nop 0
;WI_updateNetgameStats+112
	muladd %r13,%r1,%r10,%r2
	ldwzx.xd %r13,%r13,%r1,2,20
	subws %r12,%r12,%r13
;WI_updateNetgameStats+128
	stwx.xd %r12,%r11,%r1,2,0
	nop 0
	nop 0
;WI_updateNetgameStats+144
	addi %r1,%r1,1
	addi %r5,%r5,40
	bdeqi %r1,4,WI_updateNetgameStats+560
;WI_updateNetgameStats+160
	ldwzx.xd %r12,%r6,%r1,2,0
	bweq %r12,%gz,WI_updateNetgameStats+144
	muli %r12,%r1,40
;WI_updateNetgameStats+176
	ldwzx.xd %r13,%r2,%r12,0,4
	ldwz %r14,%r3,16
	mulwsi %r13,%r13,100
;WI_updateNetgameStats+192
	divw %r13,%r13,%r14
	stwx.xd %r13,%r7,%r1,2,0
	ldwzx.xd %r13,%r2,%r12,0,8
;WI_updateNetgameStats+208
	ldwz %r14,%r3,20
	mulwsi %r13,%r13,100
	divw %r13,%r13,%r14
;WI_updateNetgameStats+224
	stwx.xd %r13,%r8,%r1,2,0
	ldwzx.xd %r12,%r2,%r12,0,12
	ldwz %r13,%r3,24
;WI_updateNetgameStats+240
	mulwsi %r12,%r12,100
	divw %r12,%r12,%r13
	stwx.xd %r12,%r9,%r1,2,0
;WI_updateNetgameStats+256
	bweq %r4,%gz,WI_updateNetgameStats+144
	mov2 %r13,%r12,%gz,%gz
	mov2 %r14,%r15,%r6,%r5
;WI_updateNetgameStats+272
	jmp WI_updateNetgameStats+320
	nop 0
	nop 0
;WI_updateNetgameStats+288
	addi %r13,%r13,1
	addi %r15,%r15,4
	addi %r14,%r14,4
;WI_updateNetgameStats+304
	bdeqi %r13,4,WI_updateNetgameStats+112
	nop 0
	nop 0
;WI_updateNetgameStats+320
	bdeq %r1,%r13,WI_updateNetgameStats+288
	ldwz %r16,%r14,0
	bweq %r16,%gz,WI_updateNetgameStats+288
;WI_updateNetgameStats+336
	ldwz %r16,%r15,0
	addws %r12,%r16,%r12
	jmp WI_updateNetgameStats+288
;WI_updateNetgameStats+352
	addiws %r3,%r1,-2
	bwgeui %r3,9,WI_updateNetgameStats+720
	addiwz %r3,%r1,-2
;WI_updateNetgameStats+368
	ldafr %r4,.rodata+104504
	jmpt %r4,%r3
	nop 0
;WI_updateNetgameStats+384
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+416
;WI_updateNetgameStats+400
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+416
	lddzr %r4,plrs
	mov2 %r2,%r1,%gz,%gz
	lddzr %r3,wbs
;WI_updateNetgameStats+432
	addi %r4,%r4,4
	ldafr %r5,playeringame
	ldafr %r6,cnt_kills
;WI_updateNetgameStats+448
	ldi %r7,1
	jmp WI_updateNetgameStats+480
	nop 0
;WI_updateNetgameStats+464
	addi %r2,%r2,4
	addi %r4,%r4,40
	bdeqi %r2,16,WI_updateNetgameStats+1200
;WI_updateNetgameStats+480
	ldwzx.xd %r8,%r2,%r5,0,0
	bweq %r8,%gz,WI_updateNetgameStats+464
	ldwzx.xd %r8,%r2,%r6,0,0
;WI_updateNetgameStats+496
	ldwz %r9,%r4,0
	ldwz %r10,%r3,16
	addiws %r8,%r8,2
;WI_updateNetgameStats+512
	mulwsi %r9,%r9,100
	divw %r9,%r9,%r10
	cmpwlt %r10,%r8,%r9
;WI_updateNetgameStats+528
	minsw %r8,%r8,%r9
	stwx.xd %r8,%r2,%r6,0,0
	cmovlsb %r1,%r10,%r7,%r1
;WI_updateNetgameStats+544
	jmp WI_updateNetgameStats+464
	nop 0
	nop 0
;WI_updateNetgameStats+560
	ldi %r19,82
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+576
	ldbzr %r1,acceleratestage
	ldi %r2,10
	stwr %r2,ng_state
;WI_updateNetgameStats+592
	bbci %r1,0,WI_updateNetgameStats+1568
	nop 0
	nop 0
;WI_updateNetgameStats+608
	ldi %r19,3
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+624
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_updateNetgameStats+672
	ldi %r1,-1
;WI_updateNetgameStats+640
	stwr %r1,state
	stbr %gz,acceleratestage
	ldi %r1,10
;WI_updateNetgameStats+656
	stwr %r1,cnt
	retf 0
	nop 0
;WI_updateNetgameStats+672
	ldi %r1,1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateNetgameStats+688
	ldi %r1,140
	stwr %r1,cnt
	callr %r19,WI_initAnimatedBack
;WI_updateNetgameStats+704
	retf 0
	nop 0
	nop 0
;WI_updateNetgameStats+720
	bbci %r1,0,WI_updateNetgameStats+1568
	ldwzr %r2,cnt_pause
	addiws %r2,%r2,-1
;WI_updateNetgameStats+736
	stwr %r2,cnt_pause
	bwne %r2,%gz,WI_updateNetgameStats+1568
	addiws %r1,%r1,1
;WI_updateNetgameStats+752
	stwr %r1,ng_state
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_updateNetgameStats+768
	retf 0
	nop 0
	nop 0
;WI_updateNetgameStats+784
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+816
;WI_updateNetgameStats+800
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+816
	lddzr %r2,plrs
	mov2 %r3,%r1,%gz,%gz
	lddzr %r4,wbs
;WI_updateNetgameStats+832
	addi %r5,%r2,12
	ldafr %r6,playeringame
	ldafr %r7,cnt_secret
;WI_updateNetgameStats+848
	ldi %r2,1
	jmp WI_updateNetgameStats+880
	nop 0
;WI_updateNetgameStats+864
	addi %r3,%r3,4
	addi %r5,%r5,40
	bdeqi %r3,16,WI_updateNetgameStats+960
;WI_updateNetgameStats+880
	ldwzx.xd %r8,%r3,%r6,0,0
	bweq %r8,%gz,WI_updateNetgameStats+864
	ldwzx.xd %r8,%r3,%r7,0,0
;WI_updateNetgameStats+896
	ldwz %r9,%r5,0
	ldwz %r10,%r4,24
	addiws %r8,%r8,2
;WI_updateNetgameStats+912
	mulwsi %r9,%r9,100
	divw %r9,%r9,%r10
	cmpwlt %r10,%r8,%r9
;WI_updateNetgameStats+928
	minsw %r8,%r8,%r9
	stwx.xd %r8,%r3,%r7,0,0
	cmovlsb %r1,%r10,%r2,%r1
;WI_updateNetgameStats+944
	jmp WI_updateNetgameStats+864
	nop 0
	nop 0
;WI_updateNetgameStats+960
	bwne %r1,%gz,WI_updateNetgameStats+1568
	ldi %r19,82
	mov %r18,%gz
;WI_updateNetgameStats+976
	callr %r17,S_StartSound
	ldwzr %r1,dofrags
	ldwzr %r3,ng_state
;WI_updateNetgameStats+992
	ldi %r4,3
	cmovweq %r1,%r1,%r4,%r2
	addws %r1,%r1,%r3
;WI_updateNetgameStats+1008
	stwr %r1,ng_state
	retf 0
	nop 0
;WI_updateNetgameStats+1024
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+1056
;WI_updateNetgameStats+1040
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+1056
	lddzr %r4,plrs
	mov2 %r2,%r1,%gz,%gz
	lddzr %r3,wbs
;WI_updateNetgameStats+1072
	addi %r4,%r4,8
	ldafr %r5,playeringame
	ldafr %r6,cnt_items
;WI_updateNetgameStats+1088
	ldi %r7,1
	jmp WI_updateNetgameStats+1120
	nop 0
;WI_updateNetgameStats+1104
	addi %r2,%r2,4
	addi %r4,%r4,40
	bdeqi %r2,16,WI_updateNetgameStats+1200
;WI_updateNetgameStats+1120
	ldwzx.xd %r8,%r2,%r5,0,0
	bweq %r8,%gz,WI_updateNetgameStats+1104
	ldwzx.xd %r8,%r2,%r6,0,0
;WI_updateNetgameStats+1136
	ldwz %r9,%r4,0
	ldwz %r10,%r3,20
	addiws %r8,%r8,2
;WI_updateNetgameStats+1152
	mulwsi %r9,%r9,100
	divw %r9,%r9,%r10
	cmpwlt %r10,%r8,%r9
;WI_updateNetgameStats+1168
	minsw %r8,%r8,%r9
	stwx.xd %r8,%r2,%r6,0,0
	cmovlsb %r1,%r10,%r7,%r1
;WI_updateNetgameStats+1184
	jmp WI_updateNetgameStats+1104
	nop 0
	nop 0
;WI_updateNetgameStats+1200
	bwne %r1,%gz,WI_updateNetgameStats+1568
	ldi %r19,82
	jmp WI_updateNetgameStats+1536
;WI_updateNetgameStats+1216
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateNetgameStats+1248
;WI_updateNetgameStats+1232
	ldi %r19,1
	mov %r18,%gz
	callr %r17,S_StartSound
;WI_updateNetgameStats+1248
	lddzr %r1,plrs
	mov %r9,%gz
	addi %r2,%r1,20
;WI_updateNetgameStats+1264
	ldi %r5,1
	ldi %r3,40
	ldafr %r4,playeringame
;WI_updateNetgameStats+1280
	ldafr %r6,cnt_frags
	nop 0
	nop 0
;WI_updateNetgameStats+1296
	muladd %r7,%r9,%r3,%r2
	mov %r8,%r9
	jmp WI_updateNetgameStats+1328
;WI_updateNetgameStats+1312
	addi %r8,%r8,1
	addi %r7,%r7,40
	bdeqi %r8,4,WI_updateNetgameStats+1520
;WI_updateNetgameStats+1328
	ldwzx.xd %r9,%r4,%r8,2,0
	bweq %r9,%gz,WI_updateNetgameStats+1312
	ldwzx.xd %r12,%r6,%r8,2,0
;WI_updateNetgameStats+1344
	mov2 %r13,%r11,%gz,%gz
	addi %r9,%r8,1
	sladd %r10,%r6,%r8,2
;WI_updateNetgameStats+1360
	addiws %r12,%r12,1
	stwx.xd %r12,%r6,%r8,2,0
	mov2 %r14,%r15,%r4,%r7
;WI_updateNetgameStats+1376
	jmp WI_updateNetgameStats+1424
	nop 0
	nop 0
;WI_updateNetgameStats+1392
	addi %r13,%r13,1
	addi %r15,%r15,4
	addi %r14,%r14,4
;WI_updateNetgameStats+1408
	bdeqi %r13,4,WI_updateNetgameStats+1456
	nop 0
	nop 0
;WI_updateNetgameStats+1424
	bdeq %r8,%r13,WI_updateNetgameStats+1392
	ldwz %r16,%r14,0
	bweq %r16,%gz,WI_updateNetgameStats+1392
;WI_updateNetgameStats+1440
	ldwz %r16,%r15,0
	addws %r11,%r16,%r11
	jmp WI_updateNetgameStats+1392
;WI_updateNetgameStats+1456
	muladd %r13,%r8,%r3,%r1
	ldwzx.xd %r13,%r13,%r8,2,20
	subws %r11,%r11,%r13
;WI_updateNetgameStats+1472
	bwlt %r12,%r11,WI_updateNetgameStats+1488
	stw %r11,%r10,0
	jmp WI_updateNetgameStats+1312
;WI_updateNetgameStats+1488
	mov %r5,%gz
	bdnei %r9,4,WI_updateNetgameStats+1296
	jmp WI_updateNetgameStats+1568
;WI_updateNetgameStats+1504
	bbsi %r2,0,WI_updateNetgameStats+608
	jmp WI_updateNetgameStats+1568
	nop 0
;WI_updateNetgameStats+1520
	bbci %r5,0,WI_updateNetgameStats+1568
	ldi %r19,57
	nop 0
;WI_updateNetgameStats+1536
	mov %r18,%gz
	callr %r17,S_StartSound
	ldwzr %r1,ng_state
;WI_updateNetgameStats+1552
	addiws %r1,%r1,1
	stwr %r1,ng_state
	retf 0
;WI_updateNetgameStats+1568
	retf 0
	nop 0
	nop 0
;WI_drawNetgameStats
	alloc 22
	lddzr %r1,percent
	ldbs %r3,%r1,1
;WI_drawNetgameStats+16
	ldbz %r4,%r1,0
	lddzr %r21,background
	mov2 %r19,%r20,%gz,%gz
;WI_drawNetgameStats+32
	callr %r18,V_DrawPatch
	callr %r21,WI_drawAnimatedBack
	callr %r21,WI_drawLF
;WI_drawNetgameStats+48
	lddzr %r1,star
	ldbz %r2,%r1,1
	ldbz %r1,%r1,0
;WI_drawNetgameStats+64
	slor %r1,%r1,%r2,8
	lddzr %r21,kills
	srliw %r2,%r2,7
;WI_drawNetgameStats+80
	addws %r1,%r1,%r2
	ldwzr %r2,dofrags
	ldbs %r5,%r21,1
;WI_drawNetgameStats+96
	ldbz %r6,%r21,0
	slsrai %r1,%r1,48,48
	sraiw %r1,%r1,1
;WI_drawNetgameStats+112
	cmpweqi %r2,%r2,0
	slor %r5,%r6,%r5,8
	sladdws %r1,%r1,%r2,5
;WI_drawNetgameStats+128
	subws %r1,%r1,%r5
	addiws %r19,%r1,96
	ldi %r1,50
;WI_drawNetgameStats+144
	mov %r20,%r1
	callr %r18,V_DrawPatch
	lddzr %r2,star
;WI_drawNetgameStats+160
	ldbz %r5,%r2,1
	ldbz %r2,%r2,0
	slor %r2,%r2,%r5,8
;WI_drawNetgameStats+176
	lddzr %r21,items
	srliw %r5,%r5,7
	addws %r2,%r2,%r5
;WI_drawNetgameStats+192
	ldwzr %r5,dofrags
	ldbs %r6,%r21,1
	ldbz %r7,%r21,0
;WI_drawNetgameStats+208
	slsrai %r2,%r2,48,48
	sraiw %r2,%r2,1
	cmpweqi %r5,%r5,0
;WI_drawNetgameStats+224
	slor %r6,%r7,%r6,8
	sladdws %r2,%r2,%r5,5
	subws %r2,%r2,%r6
;WI_drawNetgameStats+240
	addiws %r19,%r2,160
	mov %r20,%r1
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+256
	lddzr %r2,star
	ldbz %r5,%r2,1
	ldbz %r2,%r2,0
;WI_drawNetgameStats+272
	slor %r2,%r2,%r5,8
	lddzr %r21,secret
	srliw %r5,%r5,7
;WI_drawNetgameStats+288
	addws %r2,%r2,%r5
	ldwzr %r5,dofrags
	ldbs %r6,%r21,1
;WI_drawNetgameStats+304
	ldbz %r7,%r21,0
	slsrai %r2,%r2,48,48
	sraiw %r2,%r2,1
;WI_drawNetgameStats+320
	cmpweqi %r5,%r5,0
	slor %r6,%r7,%r6,8
	sladdws %r2,%r2,%r5,5
;WI_drawNetgameStats+336
	subws %r2,%r2,%r6
	addiws %r19,%r2,224
	mov %r20,%r1
;WI_drawNetgameStats+352
	callr %r18,V_DrawPatch
	ldwzr %r1,dofrags
	bweq %r1,%gz,WI_drawNetgameStats+464
;WI_drawNetgameStats+368
	lddzr %r1,star
	ldbz %r2,%r1,1
	ldbz %r1,%r1,0
;WI_drawNetgameStats+384
	lddzr %r21,frags
	slor %r1,%r1,%r2,8
	ldbs %r5,%r21,1
;WI_drawNetgameStats+400
	ldbz %r6,%r21,0
	srliw %r2,%r2,7
	addws %r1,%r1,%r2
;WI_drawNetgameStats+416
	slsrai %r1,%r1,48,48
	sraiw %r1,%r1,1
	slor %r2,%r6,%r5,8
;WI_drawNetgameStats+432
	subws %r1,%r1,%r2
	addiws %r19,%r1,288
	ldi %r20,50
;WI_drawNetgameStats+448
	callr %r18,V_DrawPatch
	nop 0
	nop 0
;WI_drawNetgameStats+464
	lddzr %r1,kills
	ldbs %r2,%r1,3
	ldbz %r1,%r1,2
;WI_drawNetgameStats+480
	mov %r7,%gz
	slor %r8,%r4,%r3,8
	slor %r1,%r1,%r2,8
;WI_drawNetgameStats+496
	addiws %r1,%r1,50
	ldafr %r9,cnt_frags
	ldafr %r10,cnt_secret
;WI_drawNetgameStats+512
	ldafr %r11,cnt_items
	ldafr %r12,cnt_kills
	ldafr %r13,p
;WI_drawNetgameStats+528
	ldafr %r14,playeringame
	ldi %r2,-1
	jmp WI_drawNetgameStats+608
;WI_drawNetgameStats+544
	addiws %r1,%r1,33
	nop 0
	nop 0
;WI_drawNetgameStats+560
	addi %r7,%r7,1
	addi %r9,%r9,4
	addi %r10,%r10,4
;WI_drawNetgameStats+576
	addi %r11,%r11,4
	addi %r12,%r12,4
	addi %r13,%r13,8
;WI_drawNetgameStats+592
	addi %r14,%r14,4
	bdeqi %r7,4,WI_drawNetgameStats+992
	nop 0
;WI_drawNetgameStats+608
	ldwz %r3,%r14,0
	bweq %r3,%gz,WI_drawNetgameStats+560
	lddzr %r3,star
;WI_drawNetgameStats+624
	ldbz %r4,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r4,8
;WI_drawNetgameStats+640
	srliw %r4,%r4,7
	lddz %r21,%r13,0
	addws %r3,%r3,%r4
;WI_drawNetgameStats+656
	slsrai %r3,%r3,48,48
	ldwzr %r4,dofrags
	ldbs %r5,%r21,1
;WI_drawNetgameStats+672
	ldbz %r6,%r21,0
	sraiw %r3,%r3,1
	cmpweqi %r4,%r4,0
;WI_drawNetgameStats+688
	sladdws %r3,%r3,%r4,5
	addiws %r15,%r3,32
	slor %r3,%r6,%r5,8
;WI_drawNetgameStats+704
	subws %r19,%r15,%r3
	mov %r20,%r1
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+720
	ldwzr %r3,me
	bdne %r7,%r3,WI_drawNetgameStats+784
	lddz %r3,%r13,0
;WI_drawNetgameStats+736
	ldbs %r4,%r3,1
	ldbz %r3,%r3,0
	slor %r3,%r3,%r4,8
;WI_drawNetgameStats+752
	subws %r19,%r15,%r3
	lddzr %r21,star
	mov %r20,%r1
;WI_drawNetgameStats+768
	callr %r18,V_DrawPatch
	nop 0
	nop 0
;WI_drawNetgameStats+784
	ldwz %r4,%r12,0
	addiws %r3,%r1,10
	subws %r16,%r15,%r8
;WI_drawNetgameStats+800
	bwlt %r4,%gz,WI_drawNetgameStats+848
	addiws %r5,%r16,64
	lddzr %r21,percent
;WI_drawNetgameStats+816
	mov2 %r19,%r20,%r5,%r3
	callr %r18,V_DrawPatch
	mov2 %r18,%r19,%r5,%r3
;WI_drawNetgameStats+832
	mov2 %r20,%r21,%r4,%r2
	callr %r17,WI_drawNum
	nop 0
;WI_drawNetgameStats+848
	ldwz %r4,%r11,0
	bwlt %r4,%gz,WI_drawNetgameStats+896
	addiws %r5,%r16,128
;WI_drawNetgameStats+864
	lddzr %r21,percent
	mov2 %r19,%r20,%r5,%r3
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+880
	mov2 %r18,%r19,%r5,%r3
	mov2 %r20,%r21,%r4,%r2
	callr %r17,WI_drawNum
;WI_drawNetgameStats+896
	ldwz %r4,%r10,0
	bwlt %r4,%gz,WI_drawNetgameStats+944
	addiws %r5,%r16,192
;WI_drawNetgameStats+912
	lddzr %r21,percent
	mov2 %r19,%r20,%r5,%r3
	callr %r18,V_DrawPatch
;WI_drawNetgameStats+928
	mov2 %r18,%r19,%r5,%r3
	mov2 %r20,%r21,%r4,%r2
	callr %r17,WI_drawNum
;WI_drawNetgameStats+944
	ldwzr %r4,dofrags
	bweq %r4,%gz,WI_drawNetgameStats+544
	addiws %r18,%r15,256
;WI_drawNetgameStats+960
	ldwz %r20,%r9,0
	mov2 %r19,%r21,%r3,%r2
	callr %r17,WI_drawNum
;WI_drawNetgameStats+976
	jmp WI_drawNetgameStats+544
	nop 0
	nop 0
;WI_drawNetgameStats+992
	retf 0
	nop 0
	nop 0
;WI_initStats
	alloc 3
	stwr %gz,state
	stbr %gz,acceleratestage
;WI_initStats+16
	ldi %r1,1
	stwr %r1,sp_state
	ldi %r1,-1
;WI_initStats+32
	stwr %r1,cnt_secret
	stwr %r1,cnt_items
	stwr %r1,cnt_kills
;WI_initStats+48
	stwr %r1,cnt_par
	stwr %r1,cnt_time
	ldi %r1,35
;WI_initStats+64
	stwr %r1,cnt_pause
	callr %r2,WI_initAnimatedBack
	retf 0
;WI_updateStats
	alloc 9
	callr %r8,WI_updateAnimatedBack
	ldbzr %r2,acceleratestage
;WI_updateStats+16
	ldwzr %r1,sp_state
	bbci %r2,0,WI_updateStats+352
	bweqi %r1,10,WI_updateStats+352
;WI_updateStats+32
	ldwsr %r1,me
	lddzr %r2,plrs
	lddzr %r3,wbs
;WI_updateStats+48
	stbr %gz,acceleratestage
	muli %r1,%r1,40
	ldwzx.xd %r4,%r2,%r1,0,4
;WI_updateStats+64
	ldwz %r5,%r3,16
	mulwsi %r4,%r4,100
	divw %r4,%r4,%r5
;WI_updateStats+80
	stwr %r4,cnt_kills
	ldwzx.xd %r4,%r2,%r1,0,8
	ldwz %r5,%r3,20
;WI_updateStats+96
	mulwsi %r4,%r4,100
	divw %r4,%r4,%r5
	stwr %r4,cnt_items
;WI_updateStats+112
	ldwzx.xd %r4,%r2,%r1,0,12
	ldwz %r5,%r3,24
	mulwsi %r4,%r4,100
;WI_updateStats+128
	divw %r4,%r4,%r5
	stwr %r4,cnt_secret
	ldwzx.xd %r1,%r2,%r1,0,16
;WI_updateStats+144
	sraiw %r2,%r1,0
	muli.l %r2,%r2,-368140053
;WI_updateStats+160
	srli %r2,%r2,32
	addws %r1,%r2,%r1
	srliw %r2,%r1,31
;WI_updateStats+176
	sraiw %r1,%r1,5
	addws %r1,%r1,%r2
	stwr %r1,cnt_time
;WI_updateStats+192
	ldwz %r1,%r3,32
	sraiw %r2,%r1,0
	nop 2
;WI_updateStats+208
	muli.l %r2,%r2,-368140053
	srli %r2,%r2,32
;WI_updateStats+224
	addws %r1,%r2,%r1
	srliw %r2,%r1,31
	sraiw %r1,%r1,5
;WI_updateStats+240
	addws %r1,%r1,%r2
	stwr %r1,cnt_par
	ldi %r8,82
;WI_updateStats+256
	mov %r7,%gz
	callr %r6,S_StartSound
	ldbzr %r1,acceleratestage
;WI_updateStats+272
	ldi %r2,10
	stwr %r2,sp_state
	bbci %r1,0,WI_updateStats+1152
;WI_updateStats+288
	ldi %r8,3
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+304
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_updateStats+512
	ldi %r1,-1
;WI_updateStats+320
	stwr %r1,state
	stbr %gz,acceleratestage
	ldi %r1,10
;WI_updateStats+336
	stwr %r1,cnt
	retf 0
	nop 0
;WI_updateStats+352
	addiws %r3,%r1,-2
	bwgeui %r3,9,WI_updateStats+560
	addiwz %r3,%r1,-2
;WI_updateStats+368
	ldafr %r4,.rodata+104540
	jmpt %r4,%r3
	nop 0
;WI_updateStats+384
	ldwzr %r1,cnt_kills
	ldbzr %r2,bcnt
	addiws %r1,%r1,2
;WI_updateStats+400
	andi %r2,%r2,3
	stwr %r1,cnt_kills
	bwne %r2,%gz,WI_updateStats+448
;WI_updateStats+416
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+432
	ldwzr %r1,cnt_kills
	nop 0
	nop 0
;WI_updateStats+448
	ldwsr %r2,me
	lddzr %r3,plrs
	lddzr %r4,wbs
;WI_updateStats+464
	muli %r2,%r2,40
	ldwzx.xd %r2,%r3,%r2,0,4
	ldwz %r3,%r4,16
;WI_updateStats+480
	mulwsi %r2,%r2,100
	divw %r2,%r2,%r3
	bwlt %r1,%r2,WI_updateStats+1152
;WI_updateStats+496
	stwr %r2,cnt_kills
	jmp WI_updateStats+1088
	nop 0
;WI_updateStats+512
	ldi %r1,1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_updateStats+528
	ldi %r1,140
	stwr %r1,cnt
	callr %r8,WI_initAnimatedBack
;WI_updateStats+544
	retf 0
	nop 0
	nop 0
;WI_updateStats+560
	bbci %r1,0,WI_updateStats+1152
	ldwzr %r2,cnt_pause
	addiws %r2,%r2,-1
;WI_updateStats+576
	stwr %r2,cnt_pause
	bwne %r2,%gz,WI_updateStats+1152
	addiws %r1,%r1,1
;WI_updateStats+592
	stwr %r1,sp_state
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_updateStats+608
	retf 0
	nop 0
	nop 0
;WI_updateStats+624
	ldwzr %r1,cnt_secret
	ldbzr %r2,bcnt
	addiws %r1,%r1,2
;WI_updateStats+640
	andi %r2,%r2,3
	stwr %r1,cnt_secret
	bwne %r2,%gz,WI_updateStats+688
;WI_updateStats+656
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+672
	ldwzr %r1,cnt_secret
	nop 0
	nop 0
;WI_updateStats+688
	ldwsr %r2,me
	lddzr %r3,plrs
	lddzr %r4,wbs
;WI_updateStats+704
	muli %r2,%r2,40
	ldwzx.xd %r2,%r3,%r2,0,12
	ldwz %r3,%r4,24
;WI_updateStats+720
	mulwsi %r2,%r2,100
	divw %r2,%r2,%r3
	bwlt %r1,%r2,WI_updateStats+1152
;WI_updateStats+736
	stwr %r2,cnt_secret
	jmp WI_updateStats+1088
	nop 0
;WI_updateStats+752
	ldwzr %r1,cnt_items
	ldbzr %r2,bcnt
	addiws %r1,%r1,2
;WI_updateStats+768
	andi %r2,%r2,3
	stwr %r1,cnt_items
	bwne %r2,%gz,WI_updateStats+816
;WI_updateStats+784
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+800
	ldwzr %r1,cnt_items
	nop 0
	nop 0
;WI_updateStats+816
	ldwsr %r2,me
	lddzr %r3,plrs
	lddzr %r4,wbs
;WI_updateStats+832
	muli %r2,%r2,40
	ldwzx.xd %r2,%r3,%r2,0,8
	ldwz %r3,%r4,20
;WI_updateStats+848
	mulwsi %r2,%r2,100
	divw %r2,%r2,%r3
	bwlt %r1,%r2,WI_updateStats+1152
;WI_updateStats+864
	stwr %r2,cnt_items
	jmp WI_updateStats+1088
	nop 0
;WI_updateStats+880
	ldbzr %r1,bcnt
	andi %r1,%r1,3
	bwne %r1,%gz,WI_updateStats+912
;WI_updateStats+896
	ldi %r8,1
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+912
	ldwsr %r1,me
	lddzr %r2,plrs
	ldwzr %r3,cnt_time
;WI_updateStats+928
	muli %r1,%r1,40
	ldwzx.xd %r2,%r2,%r1,0,16
	addiws %r1,%r3,3
;WI_updateStats+944
	sraiw %r3,%r2,0
	muli.l %r3,%r3,-368140053
;WI_updateStats+960
	srli %r3,%r3,32
	addws %r2,%r3,%r2
	srliw %r3,%r2,31
;WI_updateStats+976
	sraiw %r2,%r2,5
	addws %r2,%r2,%r3
	ldwzr %r3,cnt_par
;WI_updateStats+992
	minsw %r4,%r1,%r2
	lddzr %r5,wbs
	stwr %r4,cnt_time
;WI_updateStats+1008
	addiws %r4,%r3,3
	stwr %r4,cnt_par
	ldwz %r3,%r5,32
;WI_updateStats+1024
	sraiw %r5,%r3,0
	muli.l %r5,%r5,-368140053
;WI_updateStats+1040
	srli %r5,%r5,32
	addws %r3,%r5,%r3
	srliw %r5,%r3,31
;WI_updateStats+1056
	sraiw %r3,%r3,5
	addws %r3,%r3,%r5
	bwlt %r4,%r3,WI_updateStats+1152
;WI_updateStats+1072
	stwr %r3,cnt_par
	bwlt %r1,%r2,WI_updateStats+1152
	nop 0
;WI_updateStats+1088
	ldi %r8,82
	mov %r7,%gz
	callr %r6,S_StartSound
;WI_updateStats+1104
	ldwzr %r1,sp_state
	addiws %r1,%r1,1
	stwr %r1,sp_state
;WI_updateStats+1120
	retf 0
	nop 0
	nop 0
;WI_updateStats+1136
	bbsi %r2,0,WI_updateStats+288
	nop 0
	nop 0
;WI_updateStats+1152
	retf 0
	nop 0
	nop 0
;WI_drawStats
	alloc 12
	lddzr %r1,num
	ldbs %r2,%r1,3
;WI_drawStats+16
	ldbz %r1,%r1,2
	slor %r1,%r1,%r2,8
	mulwsi %r1,%r1,3
;WI_drawStats+32
	srliw %r2,%r1,31
	addws %r1,%r1,%r2
	sraiw %r6,%r1,1
;WI_drawStats+48
	lddzr %r11,background
	mov2 %r9,%r10,%gz,%gz
	callr %r8,V_DrawPatch
;WI_drawStats+64
	callr %r11,WI_drawAnimatedBack
	callr %r11,WI_drawLF
	lddzr %r11,kills
;WI_drawStats+80
	ldi %r9,50
	mov %r10,%r9
	callr %r8,V_DrawPatch
;WI_drawStats+96
	ldwzr %r1,cnt_kills
	bwlt %r1,%gz,WI_drawStats+160
	lddzr %r11,percent
;WI_drawStats+112
	ldi %r2,270
	ldi %r3,50
	mov2 %r9,%r10,%r2,%r3
;WI_drawStats+128
	callr %r8,V_DrawPatch
	ldi %r11,-1
	mov2 %r8,%r9,%r2,%r3
;WI_drawStats+144
	mov %r10,%r1
	callr %r7,WI_drawNum
	nop 0
;WI_drawStats+160
	addiws %r2,%r6,50
	lddzr %r11,items
	ldi %r1,50
;WI_drawStats+176
	mov2 %r9,%r10,%r1,%r2
	callr %r8,V_DrawPatch
	ldwzr %r3,cnt_items
;WI_drawStats+192
	bwlt %r3,%gz,WI_drawStats+240
	lddzr %r11,percent
	ldi %r4,270
;WI_drawStats+208
	mov2 %r9,%r10,%r4,%r2
	callr %r8,V_DrawPatch
	ldi %r11,-1
;WI_drawStats+224
	mov2 %r8,%r9,%r4,%r2
	mov %r10,%r3
	callr %r7,WI_drawNum
;WI_drawStats+240
	sladdws %r2,%r1,%r6,1
	lddzr %r11,sp_secret
	mov2 %r9,%r10,%r1,%r2
;WI_drawStats+256
	callr %r8,V_DrawPatch
	ldwzr %r1,cnt_secret
	bwlt %r1,%gz,WI_drawStats+320
;WI_drawStats+272
	lddzr %r11,percent
	ldi %r3,270
	mov2 %r9,%r10,%r3,%r2
;WI_drawStats+288
	callr %r8,V_DrawPatch
	ldi %r11,-1
	mov2 %r8,%r9,%r3,%r2
;WI_drawStats+304
	mov %r10,%r1
	callr %r7,WI_drawNum
	nop 0
;WI_drawStats+320
	lddzr %r11,timepatch
	ldi %r9,16
	ldi %r1,168
;WI_drawStats+336
	mov %r10,%r1
	callr %r8,V_DrawPatch
	ldwzr %r11,cnt_time
;WI_drawStats+352
	ldi %r9,144
	mov %r10,%r1
	callr %r8,WI_drawTime
;WI_drawStats+368
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwgei %r1,3,WI_drawStats+432
;WI_drawStats+384
	lddzr %r11,par
	ldi %r9,176
	ldi %r1,168
;WI_drawStats+400
	mov %r10,%r1
	callr %r8,V_DrawPatch
	ldwzr %r11,cnt_par
;WI_drawStats+416
	ldi %r9,304
	mov %r10,%r1
	callr %r8,WI_drawTime
;WI_drawStats+432
	retf 0
	nop 0
	nop 0
;WI_checkForAccelerate
	alloc 8
	mov %r1,%gz
	ldafr %r2,players+204
;WI_checkForAccelerate+16
	ldafr %r3,playeringame
	ldi %r4,1
	jmp WI_checkForAccelerate+64
;WI_checkForAccelerate+32
	stw %r7,%r2,0
	nop 0
	nop 0
;WI_checkForAccelerate+48
	addi %r1,%r1,4
	addi %r2,%r2,328
	bdeqi %r1,16,WI_checkForAccelerate+176
;WI_checkForAccelerate+64
	ldwzx.xd %r5,%r1,%r3,0,0
	bweq %r5,%gz,WI_checkForAccelerate+48
	ldbz %r5,%r2,-187
;WI_checkForAccelerate+80
	mov %r6,%gz
	bbci %r5,0,WI_checkForAccelerate+128
	ldwz %r7,%r2,-4
;WI_checkForAccelerate+96
	mov %r6,%r4
	bwne %r7,%gz,WI_checkForAccelerate+128
	stbr %r4,acceleratestage
;WI_checkForAccelerate+112
	mov %r6,%r4
	nop 0
	nop 0
;WI_checkForAccelerate+128
	mov %r7,%gz
	stw %r6,%r2,-4
	bbci %r5,1,WI_checkForAccelerate+32
;WI_checkForAccelerate+144
	ldwz %r5,%r2,0
	mov %r7,%r4
	bwne %r5,%gz,WI_checkForAccelerate+32
;WI_checkForAccelerate+160
	stbr %r4,acceleratestage
	mov %r7,%r4
	jmp WI_checkForAccelerate+32
;WI_checkForAccelerate+176
	retf 0
	nop 0
	nop 0
;WI_Ticker
	alloc 11
	ldwzr %r1,bcnt
	addiws %r2,%r1,1
;WI_Ticker+16
	stwr %r2,bcnt
	bwne %r1,%gz,WI_Ticker+64
	ldwzr %r1,gamemode
;WI_Ticker+32
	cmpweqi %r1,%r1,2
	ldi %r2,28
	ldi %r3,67
;WI_Ticker+48
	cmovlsb %r9,%r1,%r3,%r2
	ldi %r10,1
	callr %r8,S_ChangeMusic
;WI_Ticker+64
	mov %r1,%gz
	ldafr %r2,players+204
	ldafr %r3,playeringame
;WI_Ticker+80
	ldi %r4,1
	jmp WI_Ticker+128
	nop 0
;WI_Ticker+96
	stw %r7,%r2,0
	nop 0
	nop 0
;WI_Ticker+112
	addi %r1,%r1,4
	addi %r2,%r2,328
	bdeqi %r1,16,WI_Ticker+240
;WI_Ticker+128
	ldwzx.xd %r5,%r1,%r3,0,0
	bweq %r5,%gz,WI_Ticker+112
	ldbz %r5,%r2,-187
;WI_Ticker+144
	mov %r6,%gz
	bbci %r5,0,WI_Ticker+192
	ldwz %r7,%r2,-4
;WI_Ticker+160
	mov %r6,%r4
	bwne %r7,%gz,WI_Ticker+192
	stbr %r4,acceleratestage
;WI_Ticker+176
	mov %r6,%r4
	nop 0
	nop 0
;WI_Ticker+192
	mov %r7,%gz
	stw %r6,%r2,-4
	bbci %r5,1,WI_Ticker+96
;WI_Ticker+208
	ldwz %r5,%r2,0
	mov %r7,%r4
	bwne %r5,%gz,WI_Ticker+96
;WI_Ticker+224
	stbr %r4,acceleratestage
	mov %r7,%r4
	jmp WI_Ticker+96
;WI_Ticker+240
	ldwzr %r1,state
	bweqi %r1,-1,WI_Ticker+320
	bwnei %r1,1,WI_Ticker+352
;WI_Ticker+256
	callr %r10,WI_updateAnimatedBack
	ldwzr %r1,cnt
	addiws %r1,%r1,-1
;WI_Ticker+272
	stwr %r1,cnt
	bweq %r1,%gz,WI_Ticker+384
	ldbzr %r2,acceleratestage
;WI_Ticker+288
	bbsi %r2,0,WI_Ticker+384
	andi %r1,%r1,28
	cmpwltui %r1,%r1,20
;WI_Ticker+304
	stwr %r1,snl_pointeron
	retf 0
	nop 0
;WI_Ticker+320
	callr %r10,WI_updateAnimatedBack
	ldwzr %r1,cnt
	addiws %r1,%r1,-1
;WI_Ticker+336
	stwr %r1,cnt
	bweq %r1,%gz,WI_Ticker+416
	retf 0
;WI_Ticker+352
	ldwzr %r1,deathmatch
	bweq %r1,%gz,WI_Ticker+432
	callr %r10,WI_updateDeathmatchStats
;WI_Ticker+368
	retf 0
	nop 0
	nop 0
;WI_Ticker+384
	ldi %r1,-1
	stwr %r1,state
	stbr %gz,acceleratestage
;WI_Ticker+400
	ldi %r1,10
	stwr %r1,cnt
	retf 0
;WI_Ticker+416
	callr %r10,G_WorldDone
	retf 0
	nop 0
;WI_Ticker+432
	ldwzr %r1,netgame
	bweq %r1,%gz,WI_Ticker+464
	callr %r10,WI_updateNetgameStats
;WI_Ticker+448
	retf 0
	nop 0
	nop 0
;WI_Ticker+464
	callr %r10,WI_updateStats
	retf 0
	nop 0
;WI_loadData
	allocsp 22,32
	ldwzr %r1,gamemode
	bwnei %r1,2,WI_loadData+48
;WI_loadData+16
	ldi %r1,1
	stbr %r1,NUMCMAPS
	ldi %r19,256
;WI_loadData+32
	jmp WI_loadData+64
	nop 0
	nop 0
;WI_loadData+48
	ldi %r19,72
	nop 0
	nop 0
;WI_loadData+64
	ldi %r20,1
	mov %r21,%gz
	callr %r18,Z_Malloc
;WI_loadData+80
	ldwzr %r1,gamemode
	stdr %r19,lnames
	bwnei %r1,2,WI_loadData+224
;WI_loadData+96
	ldbzr %r1,NUMCMAPS
	bbci %r1,0,WI_loadData+704
	mov2 %r6,%r5,%gz,%gz
;WI_loadData+112
	ldafr %r1,.rodata+16943
	addi %r2,%sp,23
	ldi %r3,9
;WI_loadData+128
	ldi %r4,1
	nop 0
	nop 0
;WI_loadData+144
	mov %r7,%r5
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
;WI_loadData+160
	mov %r21,%r1
	callr %r18,snprintf
	lddzr %r8,lnames
;WI_loadData+176
	mov2 %r20,%r21,%r2,%r4
	callr %r19,W_CacheLumpName
	stdx.xd %r20,%r8,%r6,0,0
;WI_loadData+192
	ldbzr %r5,NUMCMAPS
	bbci %r5,0,WI_loadData+704
	addi %r5,%r7,1
;WI_loadData+208
	addi %r6,%r6,8
	bdltui %r7,31,WI_loadData+144
	jmp WI_loadData+704
;WI_loadData+224
	mov2 %r6,%r7,%gz,%gz
	ldafr %r1,.rodata+18311
	addi %r2,%sp,23
;WI_loadData+240
	ldi %r3,9
	ldi %r4,1
	nop 0
;WI_loadData+256
	lddzr %r5,wbs
	ldwz %r5,%r5,0
	stw %r7,%sp,4
;WI_loadData+272
	stw %r5,%sp,0
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
;WI_loadData+288
	callr %r18,snprintf
	lddzr %r8,lnames
	mov2 %r20,%r21,%r2,%r4
;WI_loadData+304
	callr %r19,W_CacheLumpName
	stdx.xd %r20,%r8,%r6,0,0
	addi %r7,%r7,1
;WI_loadData+320
	addi %r6,%r6,8
	bdnei %r7,9,WI_loadData+256
	ldafr %r20,.rodata+1960
;WI_loadData+336
	ldi %r1,1
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+352
	stdr %r20,yah
	ldafr %r20,.rodata+5852
	mov %r21,%r1
;WI_loadData+368
	callr %r19,W_CacheLumpName
	stdr %r20,yah+8
	ldafr %r20,.rodata+5418
;WI_loadData+384
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	lddzr %r5,wbs
;WI_loadData+400
	stdr %r20,splat
	ldwz %r12,%r5,0
	bwgei %r12,3,WI_loadData+704
;WI_loadData+416
	mov %r6,%gz
	sraiw %r13,%r12,0
	ldi %r7,32
;WI_loadData+432
	ldafr %r8,anims
	ldi %r9,72
	ldafr %r10,epsd1animinfo+320
;WI_loadData+448
	ldafr %r1,.rodata+18320
	addi %r2,%sp,23
	ldi %r3,9
;WI_loadData+464
	ldi %r4,1
	ldafr %r11,NUMANIMS
	jmp WI_loadData+528
;WI_loadData+480
	ldwz %r12,%r5,0
	nop 0
	nop 0
;WI_loadData+496
	ldwsx.xw %r14,%r11,%r12,2,0
	addi %r6,%r6,1
	sraiw %r13,%r12,0
;WI_loadData+512
	addi %r7,%r7,72
	bdle %r14,%r6,WI_loadData+704
	nop 0
;WI_loadData+528
	lddzx.xd %r14,%r8,%r13,3,0
	muli %r13,%r6,72
	ldwzx.xd %r16,%r14,%r13,0,8
;WI_loadData+544
	bwlti %r16,1,WI_loadData+496
	mov %r12,%gz
	muladd %r13,%r6,%r9,%r14
;WI_loadData+560
	add %r14,%r14,%r7
	mov %r15,%r10
	jmp WI_loadData+672
;WI_loadData+576
	stw %r12,%sp,8
	stw %r6,%sp,4
	stw %r17,%sp,0
;WI_loadData+592
	mov2 %r19,%r20,%r2,%r3
	mov %r21,%r1
	callr %r18,snprintf
;WI_loadData+608
	mov2 %r20,%r21,%r2,%r4
	callr %r19,W_CacheLumpName
	lddzr %r5,wbs
;WI_loadData+624
	ldwz %r16,%r13,8
	nop 0
	nop 0
;WI_loadData+640
	std %r20,%r14,0
	addi %r12,%r12,1
	sraiw %r17,%r16,0
;WI_loadData+656
	addi %r15,%r15,8
	addi %r14,%r14,8
	bdle %r17,%r12,WI_loadData+480
;WI_loadData+672
	ldwz %r17,%r5,0
	bdnei %r6,8,WI_loadData+576
	bwnei %r17,1,WI_loadData+576
;WI_loadData+688
	lddz %r20,%r15,0
	jmp WI_loadData+640
	nop 0
;WI_loadData+704
	ldafr %r20,.rodata+10479
	ldi %r1,1
	mov %r21,%r1
;WI_loadData+720
	callr %r19,W_CacheLumpName
	mov %r6,%gz
	stdr %r20,wiminus
;WI_loadData+736
	ldafr %r7,num
	ldafr %r2,.rodata+14586
	addi %r3,%sp,23
;WI_loadData+752
	ldi %r4,9
	nop 0
	nop 0
;WI_loadData+768
	stw %r6,%sp,0
	mov2 %r19,%r20,%r3,%r4
	mov %r21,%r2
;WI_loadData+784
	callr %r18,snprintf
	mov2 %r20,%r21,%r3,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+800
	std %r20,%r7,0
	addi %r6,%r6,1
	addi %r7,%r7,8
;WI_loadData+816
	bdnei %r6,10,WI_loadData+768
	ldafr %r20,.rodata+2856
	ldi %r1,1
;WI_loadData+832
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,percent
;WI_loadData+848
	ldafr %r20,.rodata+22761
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+864
	stdr %r20,finished
	ldafr %r20,.rodata+23838
	mov %r21,%r1
;WI_loadData+880
	callr %r19,W_CacheLumpName
	stdr %r20,entering
	ldafr %r20,.rodata+11040
;WI_loadData+896
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,kills
;WI_loadData+912
	ldafr %r20,.rodata+12068
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+928
	stdr %r20,secret
	ldafr %r20,.rodata+20169
	mov %r21,%r1
;WI_loadData+944
	callr %r19,W_CacheLumpName
	stdr %r20,sp_secret
	ldafr %r1,.rodata+12075
;WI_loadData+960
	mov %r21,%r1
	callr %r20,W_CheckNumForName
	bwlt %r21,%gz,WI_loadData+1008
;WI_loadData+976
	ldwzr %r2,deathmatch
	ldwzr %r3,netgame
	ldafr %r4,.rodata+6615
;WI_loadData+992
	cmovweq %r1,%r2,%r1,%r4
	cmovweq %r20,%r3,%r4,%r1
	jmp WI_loadData+1024
;WI_loadData+1008
	ldafr %r20,.rodata+6615
	nop 0
	nop 0
;WI_loadData+1024
	ldi %r1,1
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1040
	stdr %r20,items
	ldafr %r20,.rodata+10487
	mov %r21,%r1
;WI_loadData+1056
	callr %r19,W_CacheLumpName
	stdr %r20,frags
	ldafr %r20,.rodata+4231
;WI_loadData+1072
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,colon
;WI_loadData+1088
	ldafr %r20,.rodata+9533
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1104
	stdr %r20,timepatch
	ldafr %r20,.rodata+25855
	mov %r21,%r1
;WI_loadData+1120
	callr %r19,W_CacheLumpName
	stdr %r20,sucks
	ldafr %r20,.rodata+15570
;WI_loadData+1136
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,par
;WI_loadData+1152
	ldafr %r20,.rodata+12081
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1168
	stdr %r20,killers
	ldafr %r20,.rodata+12089
	mov %r21,%r1
;WI_loadData+1184
	callr %r19,W_CacheLumpName
	stdr %r20,victims
	ldafr %r20,.rodata+15576
;WI_loadData+1200
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	mov %r7,%gz
;WI_loadData+1216
	stdr %r20,total
	ldafr %r8,bp
	ldafr %r9,p
;WI_loadData+1232
	ldafr %r2,.rodata+1967
	addi %r3,%sp,23
	ldi %r4,9
;WI_loadData+1248
	ldafr %r5,.rodata+12097
	nop 0
	nop 0
;WI_loadData+1264
	stw %r7,%sp,0
	mov2 %r19,%r20,%r3,%r4
	mov %r21,%r2
;WI_loadData+1280
	callr %r18,snprintf
	mov2 %r20,%r21,%r3,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1296
	std %r20,%r9,0
	addi %r7,%r7,1
	stw %r7,%sp,0
;WI_loadData+1312
	mov2 %r19,%r20,%r3,%r4
	mov %r21,%r5
	callr %r18,snprintf
;WI_loadData+1328
	mov2 %r20,%r21,%r3,%r1
	callr %r19,W_CacheLumpName
	std %r20,%r8,0
;WI_loadData+1344
	addi %r8,%r8,8
	addi %r9,%r9,8
	bdnei %r7,4,WI_loadData+1264
;WI_loadData+1360
	ldwzr %r1,gamemode
	bweqi %r1,2,WI_loadData+1392
	bwnei %r1,3,WI_loadData+1424
;WI_loadData+1376
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	bwnei %r1,3,WI_loadData+1440
;WI_loadData+1392
	ldafr %r20,.rodata+14684
	addi %r19,%sp,23
	ldi %r21,9
;WI_loadData+1408
	callr %r18,M_StringCopy
	jmp WI_loadData+1472
	nop 0
;WI_loadData+1424
	lddzr %r1,wbs
	ldwz %r1,%r1,0
	nop 0
;WI_loadData+1440
	ldafr %r21,.rodata+17813
	addi %r19,%sp,23
	ldi %r20,9
;WI_loadData+1456
	stw %r1,%sp,0
	callr %r18,snprintf
	nop 0
;WI_loadData+1472
	addi %r20,%sp,23
	ldi %r1,1
	mov %r21,%r1
;WI_loadData+1488
	callr %r19,W_CacheLumpName
	stdr %r20,background
	ldafr %r20,.rodata+16935
;WI_loadData+1504
	mov %r21,%r1
	callr %r19,W_CacheLumpName
	stdr %r20,star
;WI_loadData+1520
	ldafr %r20,.rodata+7515
	mov %r21,%r1
	callr %r19,W_CacheLumpName
;WI_loadData+1536
	stdr %r20,bstar
	retf 32
	nop 0
;WI_Drawer
	alloc 3
	ldwzr %r1,state
	bweqi %r1,-1,WI_Drawer+48
;WI_Drawer+16
	bweqi %r1,1,WI_Drawer+64
	ldwzr %r1,deathmatch
	bweq %r1,%gz,WI_Drawer+80
;WI_Drawer+32
	callr %r2,WI_drawDeathmatchStats
	retf 0
	nop 0
;WI_Drawer+48
	ldi %r1,1
	stwr %r1,snl_pointeron
	nop 0
;WI_Drawer+64
	callr %r2,WI_drawShowNextLoc
	retf 0
	nop 0
;WI_Drawer+80
	ldwzr %r1,netgame
	bweq %r1,%gz,WI_Drawer+112
	callr %r2,WI_drawNetgameStats
;WI_Drawer+96
	retf 0
	nop 0
	nop 0
;WI_Drawer+112
	callr %r2,WI_drawStats
	retf 0
	nop 0
;WI_initVariables
	alloc 3
	stdr %r1,wbs
	stbr %gz,acceleratestage
;WI_initVariables+16
	stwr %gz,bcnt
	stwr %gz,cnt
	ldwz %r2,%r1,36
;WI_initVariables+32
	stwr %r2,me
	addi %r2,%r1,40
	stdr %r2,plrs
;WI_initVariables+48
	ldwz %r2,%r1,16
	bweq %r2,%gz,WI_initVariables+128
	ldwz %r2,%r1,20
;WI_initVariables+64
	bweq %r2,%gz,WI_initVariables+160
	nop 0
	nop 0
;WI_initVariables+80
	ldwz %r2,%r1,24
	bweq %r2,%gz,WI_initVariables+192
	nop 0
;WI_initVariables+96
	ldwzr %r2,gamemode
	bwnei %r2,3,WI_initVariables+224
	nop 0
;WI_initVariables+112
	retf 0
	nop 0
	nop 0
;WI_initVariables+128
	ldi %r2,1
	stw %r2,%r1,16
	ldwz %r2,%r1,20
;WI_initVariables+144
	bwne %r2,%gz,WI_initVariables+80
	nop 0
	nop 0
;WI_initVariables+160
	ldi %r2,1
	stw %r2,%r1,20
	ldwz %r2,%r1,24
;WI_initVariables+176
	bwne %r2,%gz,WI_initVariables+96
	nop 0
	nop 0
;WI_initVariables+192
	ldi %r2,1
	stw %r2,%r1,24
	ldwzr %r2,gamemode
;WI_initVariables+208
	bweqi %r2,3,WI_initVariables+112
	nop 0
	nop 0
;WI_initVariables+224
	ldwz %r2,%r1,0
	bwlti %r2,3,WI_initVariables+112
	addiws %r2,%r2,-3
;WI_initVariables+240
	stw %r2,%r1,0
	retf 0
	nop 0
;WI_Start
	alloc 4
	mov %r3,%r1
	callr %r2,WI_initVariables
;WI_Start+16
	callr %r3,WI_loadData
	ldwzr %r1,deathmatch
	bweq %r1,%gz,WI_Start+48
;WI_Start+32
	callr %r3,WI_initDeathmatchStats
	retf 0
	nop 0
;WI_Start+48
	ldwzr %r1,netgame
	bweq %r1,%gz,WI_Start+80
	callr %r3,WI_initNetgameStats
;WI_Start+64
	retf 0
	nop 0
	nop 0
;WI_Start+80
	stwr %gz,state
	stbr %gz,acceleratestage
	ldi %r1,1
;WI_Start+96
	stwr %r1,sp_state
	ldi %r1,-1
	stwr %r1,cnt_secret
;WI_Start+112
	stwr %r1,cnt_items
	stwr %r1,cnt_kills
	stwr %r1,cnt_par
;WI_Start+128
	stwr %r1,cnt_time
	ldi %r1,35
	stwr %r1,cnt_pause
;WI_Start+144
	callr %r3,WI_initAnimatedBack
	retf 0
	nop 0
;W_Checksum
	allocsp 18,112
	addi %r17,%sp,8
	callr %r16,SHA1_Init
;W_Checksum+16
	ldwzr %r2,numlumps
	stwr %gz,num_open_wadfiles
	bweq %r2,%gz,W_Checksum+288
;W_Checksum+32
	mov %r8,%gz
	ldi %r9,40
	addi %r2,%sp,103
;W_Checksum+48
	ldi %r3,9
	addi %r4,%sp,8
	jmp W_Checksum+160
;W_Checksum+64
	addiws %r11,%r6,1
	slli %r17,%r11,3
	callr %r15,realloc
;W_Checksum+80
	stdr %r16,open_wadfiles
	stdx.xw %r10,%r16,%r6,3,0
	stwr %r11,num_open_wadfiles
;W_Checksum+96
	mov2 %r16,%r17,%r4,%r6
	callr %r15,SHA1_UpdateInt32
	ldwz %r17,%r5,16
;W_Checksum+112
	mov %r16,%r4
	callr %r15,SHA1_UpdateInt32
	ldwz %r17,%r5,20
;W_Checksum+128
	mov %r16,%r4
	callr %r15,SHA1_UpdateInt32
	ldwzr %r5,numlumps
;W_Checksum+144
	addi %r8,%r8,1
	bdleu %r5,%r8,W_Checksum+288
	nop 0
;W_Checksum+160
	lddzr %r7,lumpinfo
	muladd %r5,%r8,%r9,%r7
	muli %r10,%r8,40
;W_Checksum+176
	mov2 %r15,%r16,%r2,%r5
	mov %r17,%r3
	callr %r14,M_StringCopy
;W_Checksum+192
	mov2 %r16,%r17,%r4,%r2
	callr %r15,SHA1_UpdateString
	ldwzr %r6,num_open_wadfiles
;W_Checksum+208
	lddzx.xd %r10,%r7,%r10,0,8
	lddzr %r16,open_wadfiles
	bwlti %r6,1,W_Checksum+64
;W_Checksum+224
	mov %r7,%gz
	srliw %r11,%r6,0
	mov %r12,%r16
;W_Checksum+240
	lddz %r13,%r12,0
	bdeq %r13,%r10,W_Checksum+272
	addi %r7,%r7,1
;W_Checksum+256
	addi %r12,%r12,8
	bdne %r11,%r7,W_Checksum+240
	jmp W_Checksum+64
;W_Checksum+272
	mov %r6,%r7
	jmp W_Checksum+96
	nop 0
;W_Checksum+288
	addi %r17,%sp,8
	mov %r16,%r1
	callr %r15,SHA1_Final
;W_Checksum+304
	retf 112
	nop 0
	nop 0
;W_OpenFile
	alloc 4
	ldafr %r3,.rodata+5426
	callr %r2,M_CheckParm
;W_OpenFile+16
	mov %r3,%r1
	callplt %r2,stdc_wad_file
	mov %r1,%r3
;W_OpenFile+32
	retf 0
	nop 0
	nop 0
;W_CloseFile
	alloc 5
	lddz %r2,%r1,0
	mov %r4,%r1
;W_CloseFile+16
	callmi %r3,%r2,8
	retf 0
	nop 0
;W_Read
	alloc 11
	lddz %r5,%r1,0
	mov2 %r7,%r8,%r1,%r2
;W_Read+16
	mov2 %r9,%r10,%r3,%r4
	callmi %r6,%r5,16
	mov %r1,%r7
;W_Read+32
	retf 0
	nop 0
	nop 0
;W_ParseCommandLine
	allocsp 10,16
	ldafr %r8,.rodata+1974
	ldi %r1,1
;W_ParseCommandLine+16
	mov %r9,%r1
	callr %r7,M_CheckParmWithArgs
	bweq %r8,%gz,W_ParseCommandLine+192
;W_ParseCommandLine+32
	ldwzr %r3,myargc
	addiws %r2,%r8,1
	bweq %r2,%r3,W_ParseCommandLine+176
;W_ParseCommandLine+48
	sraiw %r2,%r2,0
	slli %r5,%r2,3
	addi %r6,%r2,1
;W_ParseCommandLine+64
	ldafr %r2,.rodata+1265
	nop 0
	nop 0
;W_ParseCommandLine+80
	lddzr %r3,myargv
	lddzx.xd %r9,%r3,%r5,0,0
	ldbz %r3,%r9,0
;W_ParseCommandLine+96
	bweqi %r3,45,W_ParseCommandLine+176
	callr %r8,D_TryFindWADByName
	mov %r3,%r9
;W_ParseCommandLine+112
	std %r9,%sp,0
	mov %r9,%r2
	callr %r8,printf
;W_ParseCommandLine+128
	mov %r9,%r3
	callr %r8,W_AddFile
	ldwzr %r3,myargc
;W_ParseCommandLine+144
	mov %r4,%r6
	addi %r5,%r5,8
	addi %r6,%r6,1
;W_ParseCommandLine+160
	bwne %r3,%r4,W_ParseCommandLine+80
	nop 0
	nop 0
;W_ParseCommandLine+176
	retf 16
	nop 0
	nop 0
;W_ParseCommandLine+192
	mov %r1,%gz
	retf 16
	nop 0
;W_LumpNameHash
	alloc 7
	mov2 %r2,%r4,%r1,%gz
	ldi %r1,5381
;W_LumpNameHash+16
	ldbsx.xd %r6,%r2,%r4,0,0
	bweq %r6,%gz,W_LumpNameHash+64
	callr %r5,toupper
;W_LumpNameHash+32
	slxor %r3,%r6,%r1,5
	addi %r4,%r4,1
	xor %r1,%r3,%r1
;W_LumpNameHash+48
	bdnei %r4,8,W_LumpNameHash+16
	nop 0
	nop 0
;W_LumpNameHash+64
	retf 0
	nop 0
	nop 0
;W_AddFile
	allocsp 17,32
	mov2 %r3,%r16,%r1,%r1
	callr %r15,W_OpenFile
;W_AddFile+16
	mov %r1,%r16
	bdeq %r16,%gz,W_AddFile+192
	ldwzr %r4,numlumps
;W_AddFile+32
	mov %r16,%r3
	callr %r15,strlen
	ldax.xd %r15,%r3,%r16,0,-3
;W_AddFile+48
	ldafr %r16,.rodata+22181
	callr %r14,strcasecmp
	bweq %r15,%gz,W_AddFile+224
;W_AddFile+64
	ldi %r14,16
	ldi %r15,1
	mov %r16,%gz
;W_AddFile+80
	callr %r13,Z_Malloc
	mov %r2,%r14
	stb %gz,%r14,3
;W_AddFile+96
	stb %gz,%r14,2
	stb %gz,%r14,1
	stb %gz,%r14,0
;W_AddFile+112
	ldwz %r5,%r1,16
	stb %r5,%r14,4
	srliw %r6,%r5,16
;W_AddFile+128
	stb %r6,%r14,6
	srliw %r6,%r5,24
	stb %r6,%r14,7
;W_AddFile+144
	srliw %r5,%r5,8
	stb %r5,%r14,5
	addi %r16,%r14,8
;W_AddFile+160
	mov %r15,%r3
	callr %r14,M_ExtractFileBase
	addiws %r7,%r4,1
;W_AddFile+176
	jmp W_AddFile+544
	nop 0
	nop 0
;W_AddFile+192
	ldafr %r16,.rodata+27310
	std %r3,%sp,0
	callr %r15,printf
;W_AddFile+208
	retf 32
	nop 0
	nop 0
;W_AddFile+224
	addi %r15,%sp,20
	ldi %r16,12
	mov2 %r13,%r14,%r1,%gz
;W_AddFile+240
	callr %r12,W_Read
	ldbz %r2,%sp,21
	ldbz %r5,%sp,20
;W_AddFile+256
	ldbz %r6,%sp,23
	ldbz %r7,%sp,22
	slliw %r6,%r6,24
;W_AddFile+272
	slor %r2,%r5,%r2,8
	slor %r5,%r6,%r7,16
	or %r2,%r5,%r2
;W_AddFile+288
	bweqi.l %r2,1145132873,W_AddFile+368
	ldbz %r2,%sp,21
;W_AddFile+304
	ldbz %r5,%sp,20
	ldbz %r6,%sp,23
	ldbz %r7,%sp,22
;W_AddFile+320
	slliw %r6,%r6,24
	slor %r2,%r5,%r2,8
	slor %r5,%r6,%r7,16
;W_AddFile+336
	or %r2,%r5,%r2
	bweqi.l %r2,1145132880,W_AddFile+368
;W_AddFile+352
	ldafr %r16,.rodata+12639
	std %r3,%sp,0
	callr %r15,I_Error
;W_AddFile+368
	ldbz %r2,%sp,25
	ldbz %r3,%sp,24
	ldbz %r5,%sp,27
;W_AddFile+384
	ldbz %r6,%sp,26
	slliw %r5,%r5,24
	slor %r2,%r3,%r2,8
;W_AddFile+400
	slor %r3,%r5,%r6,16
	or %r2,%r3,%r2
	slliw %r3,%r2,4
;W_AddFile+416
	ldi %r15,1
	mov2 %r14,%r16,%r3,%gz
	callr %r13,Z_Malloc
;W_AddFile+432
	ldbz %r5,%sp,29
	ldbz %r6,%sp,28
	ldbz %r2,%sp,31
;W_AddFile+448
	ldbz %r7,%sp,30
	slliw %r8,%r2,24
	mov %r2,%r14
;W_AddFile+464
	slor %r5,%r6,%r5,8
	slor %r6,%r8,%r7,16
	or %r14,%r6,%r5
;W_AddFile+480
	sraiw %r16,%r3,0
	mov2 %r13,%r15,%r1,%r2
	callr %r12,W_Read
;W_AddFile+496
	ldbz %r3,%sp,25
	ldbz %r5,%sp,24
	ldbz %r6,%sp,27
;W_AddFile+512
	ldbz %r7,%sp,26
	slliw %r6,%r6,24
	slor %r3,%r5,%r3,8
;W_AddFile+528
	slor %r5,%r6,%r7,16
	or %r3,%r5,%r3
	addws %r7,%r3,%r4
;W_AddFile+544
	ldwzr %r8,numlumps
	sraiw %r15,%r7,0
	ldi %r3,40
;W_AddFile+560
	mov %r16,%r3
	callr %r14,calloc
	mov2 %r4,%r5,%r15,%r8
;W_AddFile+576
	bdne %r15,%gz,W_AddFile+608
	ldafr %r16,.rodata+18334
	callr %r15,I_Error
;W_AddFile+592
	ldwzr %r5,numlumps
	nop 0
	nop 0
;W_AddFile+608
	lddzr %r16,lumpinfo
	bweq %r7,%gz,W_AddFile+816
	bweq %r5,%gz,W_AddFile+816
;W_AddFile+624
	mov %r6,%gz
	ldi %r5,1
	srliw %r9,%r7,0
;W_AddFile+640
	lddzx.xd %r10,%r16,%r6,0,32
	stdx.xd %r10,%r4,%r6,0,32
	lddzx.xd %r15,%r16,%r6,0,24
;W_AddFile+656
	stdx.xd %r15,%r4,%r6,0,24
	lddzx.xd %r10,%r16,%r6,0,16
	stdx.xd %r10,%r4,%r6,0,16
;W_AddFile+672
	lddzx.xd %r10,%r16,%r6,0,8
	stdx.xd %r10,%r4,%r6,0,8
	lddzx.xd %r11,%r16,%r6,0,0
;W_AddFile+688
	mov %r10,%r5
	stdx.xd %r11,%r4,%r6,0,0
	ldax.xd %r5,%r4,%r6,0,24
;W_AddFile+704
	bdeq %r15,%gz,W_AddFile+736
	mov %r16,%r5
	callr %r14,Z_ChangeUser
;W_AddFile+720
	lddzr %r16,lumpinfo
	nop 0
	nop 0
;W_AddFile+736
	lddzx.xd %r5,%r16,%r6,0,32
	bdeq %r5,%gz,W_AddFile+784
	sub %r5,%r5,%r16
;W_AddFile+752
	srli %r5,%r5,3
	muli.l %r5,%r5,-3689348814741910323
;W_AddFile+768
	sraiw %r5,%r5,0
	muladd %r5,%r5,%r3,%r4
	stdx.xd %r5,%r4,%r6,0,32
;W_AddFile+784
	bdleu %r9,%r10,W_AddFile+816
	ldwzr %r11,numlumps
	addi %r5,%r10,1
;W_AddFile+800
	addi %r6,%r6,40
	bdltu %r10,%r11,W_AddFile+640
	nop 0
;W_AddFile+816
	callr %r15,free
	stdr %r4,lumpinfo
	stwr %r7,numlumps
;W_AddFile+832
	bwleu %r7,%r8,W_AddFile+1008
	sraiw %r5,%r8,0
	muladd %r3,%r5,%r3,%r4
;W_AddFile+848
	addi %r4,%r2,8
	ldi %r5,8
	nop 0
;W_AddFile+864
	std %r1,%r3,8
	ldbz %r6,%r4,-7
	ldbz %r9,%r4,-8
;W_AddFile+880
	ldbz %r10,%r4,-5
	ldbz %r11,%r4,-6
	slliw %r10,%r10,24
;W_AddFile+896
	slor %r6,%r9,%r6,8
	slor %r9,%r10,%r11,16
	or %r6,%r9,%r6
;W_AddFile+912
	stw %r6,%r3,16
	ldbz %r6,%r4,-3
	ldbz %r9,%r4,-4
;W_AddFile+928
	ldbz %r10,%r4,-1
	ldbz %r11,%r4,-2
	slliw %r10,%r10,24
;W_AddFile+944
	slor %r6,%r9,%r6,8
	slor %r9,%r10,%r11,16
	or %r6,%r9,%r6
;W_AddFile+960
	stw %r6,%r3,20
	std %gz,%r3,24
	mov2 %r14,%r15,%r3,%r4
;W_AddFile+976
	mov %r16,%r5
	callr %r13,strncpy
	addi %r3,%r3,40
;W_AddFile+992
	addiws %r8,%r8,1
	addi %r4,%r4,16
	bwltu %r8,%r7,W_AddFile+864
;W_AddFile+1008
	mov %r16,%r2
	callr %r15,Z_Free
	lddzr %r16,lumphash
;W_AddFile+1024
	bdeq %r16,%gz,W_AddFile+1040
	callr %r15,Z_Free
	stdr %gz,lumphash
;W_AddFile+1040
	retf 32
	nop 0
	nop 0
;W_NumLumps
	alloc 2
	ldwzr %r1,numlumps
	retf 0
;W_CheckNumForName
	alloc 13
	lddzr %r3,lumphash
	mov %r2,%r1
;W_CheckNumForName+16
	bdeq %r3,%gz,W_CheckNumForName+160
	mov %r5,%gz
	ldi %r4,5381
;W_CheckNumForName+32
	ldbsx.xd %r12,%r2,%r5,0,0
	bweq %r12,%gz,W_CheckNumForName+80
	callr %r11,toupper
;W_CheckNumForName+48
	slxor %r1,%r12,%r4,5
	addi %r5,%r5,1
	xor %r4,%r1,%r4
;W_CheckNumForName+64
	bdnei %r5,8,W_CheckNumForName+32
	nop 0
	nop 0
;W_CheckNumForName+80
	ldwzr %r1,numlumps
	moduw %r1,%r4,%r1
	lddzx.xw %r3,%r3,%r1,3,0
;W_CheckNumForName+96
	ldi %r1,-1
	bdeq %r3,%gz,W_CheckNumForName+240
	ldi %r4,8
;W_CheckNumForName+112
	mov2 %r10,%r11,%r3,%r2
	mov %r12,%r4
	callr %r9,strncasecmp
;W_CheckNumForName+128
	bweq %r10,%gz,W_CheckNumForName+256
	lddz %r3,%r3,32
	bdne %r3,%gz,W_CheckNumForName+112
;W_CheckNumForName+144
	jmp W_CheckNumForName+240
	nop 0
	nop 0
;W_CheckNumForName+160
	ldwzr %r5,numlumps
	lddzr %r7,lumpinfo
	ldi %r6,-1
;W_CheckNumForName+176
	ldi %r8,40
	ldi %r3,8
	nop 0
;W_CheckNumForName+192
	addiws %r1,%r5,-1
	bwlt %r1,%gz,W_CheckNumForName+288
	srliw %r4,%r1,0
;W_CheckNumForName+208
	muladd %r10,%r4,%r8,%r7
	mov2 %r11,%r12,%r2,%r3
	callr %r9,strncasecmp
;W_CheckNumForName+224
	addi %r5,%r5,-1
	bwne %r10,%gz,W_CheckNumForName+192
	nop 0
;W_CheckNumForName+240
	retf 0
	nop 0
	nop 0
;W_CheckNumForName+256
	lddzr %r1,lumpinfo
	sub %r1,%r3,%r1
	srli %r1,%r1,3
;W_CheckNumForName+272
	mulwsi.l %r1,%r1,-858993459
	retf 0
;W_CheckNumForName+288
	mov %r1,%r6
	retf 0
	nop 0
;W_GetNumForName
	allocsp 5,16
	mov2 %r2,%r4,%r1,%r1
	callr %r3,W_CheckNumForName
;W_GetNumForName+16
	mov %r1,%r4
	bwlti %r4,0,W_GetNumForName+32
	retf 16
;W_GetNumForName+32
	ldafr %r4,.rodata+2868
	std %r2,%sp,0
	callr %r3,I_Error
;W_GetNumForName+48
	retf 16
	nop 0
	nop 0
;W_LumpLength
	allocsp 5,16
	ldwzr %r2,numlumps
	bwltu %r1,%r2,W_LumpLength+32
;W_LumpLength+16
	ldafr %r4,.rodata+9540
	stw %r1,%sp,0
	callr %r3,I_Error
;W_LumpLength+32
	lddzr %r2,lumpinfo
	srliw %r1,%r1,0
	muli %r1,%r1,40
;W_LumpLength+48
	ldwzx.xd %r1,%r2,%r1,0,20
	retf 16
	nop 0
;W_ReadLump
	allocsp 11,16
	ldwzr %r3,numlumps
	bwltu %r1,%r3,W_ReadLump+32
;W_ReadLump+16
	ldafr %r10,.rodata+27334
	stw %r1,%sp,0
	callr %r9,I_Error
;W_ReadLump+32
	lddzr %r4,lumpinfo
	srliw %r3,%r1,0
	muli %r5,%r3,40
;W_ReadLump+48
	callr %r10,I_BeginRead
	lddzx.xd %r7,%r4,%r5,0,8
	ldwzx.xd %r8,%r4,%r5,0,16
;W_ReadLump+64
	ldwsx.xd %r10,%r4,%r5,0,20
	mov %r9,%r2
	callr %r6,W_Read
;W_ReadLump+80
	ldwzx.xd %r2,%r4,%r5,0,20
	bwle %r2,%r7,W_ReadLump+128
	stw %r1,%sp,8
;W_ReadLump+96
	stw %r2,%sp,4
	ldafr %r10,.rodata+27814
	stw %r7,%sp,0
;W_ReadLump+112
	callr %r9,I_Error
	nop 0
	nop 0
;W_ReadLump+128
	callr %r10,I_EndRead
	retf 16
	nop 0
;W_CacheLumpNum
	allocsp 12,16
	ldwzr %r3,numlumps
	bwltu %r1,%r3,W_CacheLumpNum+32
;W_CacheLumpNum+16
	ldafr %r11,.rodata+22765
	stw %r1,%sp,0
	callr %r10,I_Error
;W_CacheLumpNum+32
	lddzr %r4,lumpinfo
	sraiw %r3,%r1,0
	muli %r5,%r3,40
;W_CacheLumpNum+48
	lddzx.xd %r5,%r4,%r5,0,8
	lddz %r5,%r5,8
	ldi %r6,40
;W_CacheLumpNum+64
	muladd %r3,%r3,%r6,%r4
	bdeq %r5,%gz,W_CacheLumpNum+96
	ldws %r1,%r3,16
;W_CacheLumpNum+80
	add %r1,%r5,%r1
	retf 16
	nop 0
;W_CacheLumpNum+96
	lddz %r6,%r3,24
	bdeq %r6,%gz,W_CacheLumpNum+144
	mov %r5,%r6
;W_CacheLumpNum+112
	ldafr %r10,.rodata+12681
	ldi %r11,410
	mov2 %r1,%r8,%r6,%r5
;W_CacheLumpNum+128
	mov %r9,%r2
	callr %r7,Z_ChangeTag2
	retf 16
;W_CacheLumpNum+144
	ldwzr %r5,numlumps
	addi %r3,%r3,24
	bwltu %r1,%r5,W_CacheLumpNum+192
;W_CacheLumpNum+160
	ldafr %r11,.rodata+9540
	stw %r1,%sp,0
	callr %r10,I_Error
;W_CacheLumpNum+176
	lddzr %r4,lumpinfo
	nop 0
	nop 0
;W_CacheLumpNum+192
	srliw %r5,%r1,0
	muli %r5,%r5,40
	ldwzx.xd %r9,%r4,%r5,0,20
;W_CacheLumpNum+208
	mov2 %r10,%r11,%r2,%r3
	callr %r8,Z_Malloc
	std %r9,%r3,0
;W_CacheLumpNum+224
	mov2 %r10,%r11,%r1,%r9
	callr %r9,W_ReadLump
	lddz %r1,%r3,0
;W_CacheLumpNum+240
	retf 16
	nop 0
	nop 0
;W_CacheLumpName
	allocsp 7,16
	mov %r6,%r1
	callr %r5,W_CheckNumForName
;W_CacheLumpName+16
	mov %r3,%r6
	bwgei %r6,0,W_CacheLumpName+48
	ldafr %r6,.rodata+2868
;W_CacheLumpName+32
	std %r1,%sp,0
	callr %r5,I_Error
	nop 0
;W_CacheLumpName+48
	mov2 %r5,%r6,%r3,%r2
	callr %r4,W_CacheLumpNum
	mov %r1,%r5
;W_CacheLumpName+64
	retf 16
	nop 0
	nop 0
;W_ReleaseLumpNum
	allocsp 9,16
	ldwzr %r2,numlumps
	bwltu %r1,%r2,W_ReleaseLumpNum+32
;W_ReleaseLumpNum+16
	ldafr %r8,.rodata+12689
	stw %r1,%sp,0
	callr %r7,I_Error
;W_ReleaseLumpNum+32
	lddzr %r2,lumpinfo
	sraiw %r1,%r1,0
	muli %r3,%r1,40
;W_ReleaseLumpNum+48
	lddzx.xd %r3,%r2,%r3,0,8
	lddz %r3,%r3,8
	bdeq %r3,%gz,W_ReleaseLumpNum+80
;W_ReleaseLumpNum+64
	retf 16
	nop 0
	nop 0
;W_ReleaseLumpNum+80
	ldi %r3,40
	muladd %r1,%r1,%r3,%r2
	lddz %r5,%r1,24
;W_ReleaseLumpNum+96
	ldafr %r7,.rodata+12681
	ldi %r6,8
	ldi %r8,461
;W_ReleaseLumpNum+112
	callr %r4,Z_ChangeTag2
	retf 16
	nop 0
;W_ReleaseLumpName
	allocsp 6,16
	mov %r5,%r1
	callr %r4,W_CheckNumForName
;W_ReleaseLumpName+16
	bwlti %r5,0,W_ReleaseLumpName+32
	callr %r4,W_ReleaseLumpNum
	retf 16
;W_ReleaseLumpName+32
	ldafr %r2,.rodata+2868
	std %r1,%sp,0
	mov2 %r3,%r5,%r5,%r2
;W_ReleaseLumpName+48
	callr %r4,I_Error
	mov %r5,%r3
	callr %r4,W_ReleaseLumpNum
;W_ReleaseLumpName+64
	retf 16
	nop 0
	nop 0
;W_GenerateHashTable
	alloc 17
	lddzr %r16,lumphash
	bdeq %r16,%gz,W_GenerateHashTable+32
;W_GenerateHashTable+16
	callr %r15,Z_Free
	nop 0
	nop 0
;W_GenerateHashTable+32
	ldwzr %r1,numlumps
	bweq %r1,%gz,W_GenerateHashTable+288
	slliw %r14,%r1,3
;W_GenerateHashTable+48
	ldi %r15,1
	mov %r16,%gz
	callr %r13,Z_Malloc
;W_GenerateHashTable+64
	ldwzr %r2,numlumps
	mov %r1,%r14
	stdr %r14,lumphash
;W_GenerateHashTable+80
	slli %r16,%r2,3
	mov %r15,%gz
	callr %r13,memset
;W_GenerateHashTable+96
	ldwzr %r3,numlumps
	bweq %r3,%gz,W_GenerateHashTable+288
	mov2 %r4,%r5,%gz,%gz
;W_GenerateHashTable+112
	srliw %r6,%r3,0
	ldi %r7,5381
	ldi %r8,40
;W_GenerateHashTable+128
	jmp W_GenerateHashTable+208
	nop 0
	nop 0
;W_GenerateHashTable+144
	moduw %r2,%r10,%r3
	lddzx.xuw %r10,%r1,%r2,3,0
	muli %r11,%r5,40
;W_GenerateHashTable+160
	stdx.xd %r10,%r9,%r11,0,32
	lddzr %r9,lumpinfo
	muladd %r9,%r5,%r8,%r9
;W_GenerateHashTable+176
	stdx.xuw %r9,%r1,%r2,3,0
	addi %r5,%r5,1
	addi %r4,%r4,40
;W_GenerateHashTable+192
	bdeq %r5,%r6,W_GenerateHashTable+288
	nop 0
	nop 0
;W_GenerateHashTable+208
	lddzr %r9,lumpinfo
	mov %r11,%gz
	add %r12,%r9,%r4
;W_GenerateHashTable+224
	mov %r10,%r7
	nop 0
	nop 0
;W_GenerateHashTable+240
	ldbsx.xd %r16,%r12,%r11,0,0
	bweq %r16,%gz,W_GenerateHashTable+144
	callr %r15,toupper
;W_GenerateHashTable+256
	slxor %r2,%r16,%r10,5
	addi %r11,%r11,1
	xor %r10,%r2,%r10
;W_GenerateHashTable+272
	bdnei %r11,8,W_GenerateHashTable+240
	jmp W_GenerateHashTable+144
	nop 0
;W_GenerateHashTable+288
	retf 0
	nop 0
	nop 0
;W_CheckCorrectIWAD
	allocsp 14,48
	mov %r7,%gz
	ldafr %r8,unique_lumps
;W_CheckCorrectIWAD+16
	ldafr %r9,unique_lumps+4
	ldi %r2,4
	ldafr %r10,.rodata+6622
;W_CheckCorrectIWAD+32
	ldafr %r3,.rodata+1980
	jmp W_CheckCorrectIWAD+64
	nop 0
;W_CheckCorrectIWAD+48
	addi %r7,%r7,12
	bdeqi %r7,48,W_CheckCorrectIWAD+176
	nop 0
;W_CheckCorrectIWAD+64
	ldwzx.xd %r4,%r7,%r8,0,0
	bweq %r1,%r4,W_CheckCorrectIWAD+48
	add %r13,%r7,%r9
;W_CheckCorrectIWAD+80
	callr %r12,W_CheckNumForName
	bwlt %r13,%gz,W_CheckCorrectIWAD+48
	mov2 %r12,%r13,%r4,%r2
;W_CheckCorrectIWAD+96
	callr %r11,D_SuggestGameName
	mov2 %r5,%r13,%r12,%r1
	callr %r12,D_GameMissionString
;W_CheckCorrectIWAD+112
	mov2 %r6,%r13,%r13,%r4
	callr %r12,D_GameMissionString
	std %r13,%sp,32
;W_CheckCorrectIWAD+128
	std %r10,%sp,24
	std %r6,%sp,16
	std %r10,%sp,8
;W_CheckCorrectIWAD+144
	std %r5,%sp,0
	mov %r13,%r3
	callr %r12,I_Error
;W_CheckCorrectIWAD+160
	jmp W_CheckCorrectIWAD+48
	nop 0
	nop 0
;W_CheckCorrectIWAD+176
	retf 48
	nop 0
	nop 0
;allzerop
	alloc 2
	mov %r1,%gz
	retf 0
;calloc
	alloc 10
	bdeq %r2,%gz,calloc+64
	srli %r8,%r2,0
;calloc+16
	srli %r9,%r1,0
	callr %r7,__multi3
	srlqi %r3,%r8,0
;calloc+32
	bdeq %r3,%gz,calloc+64
	callr %r8,__errno_location
	mov %r1,%gz
;calloc+48
	ldi %r2,12
	stw %r2,%r9,0
	retf 0
;calloc+64
	mul %r2,%r2,%r1
	mov %r9,%r2
	callr %r8,malloc
;calloc+80
	bdeq %r9,%gz,calloc+160
	mov %r1,%r9
	ldwzr %r3,__malloc_replaced
;calloc+96
	bweq %r3,%gz,calloc+336
	nop 0
	nop 0
;calloc+112
	bdgeui.l %r2,4096,calloc+176
	nop 0
;calloc+128
	mov2 %r7,%r8,%r1,%gz
	mov %r9,%r2
	callr %r6,memset
;calloc+144
	mov %r1,%r7
	retf 0
	nop 0
;calloc+160
	mov %r1,%gz
	retf 0
	nop 0
;calloc+176
	add %r2,%r1,%r2
	andi %r9,%r2,4095
	andi %r7,%r2,-4096
;calloc+192
	jmp calloc+224
	nop 0
	nop 0
;calloc+208
	addi %r9,%r3,4096
	add %r2,%r7,%r3
	sub %r7,%r2,%r9
;calloc+224
	mov %r8,%gz
	callr %r6,memset
	sub %r2,%r7,%r1
;calloc+240
	bdltui.l %r2,4096,calloc+128
	mov %r3,%gz
;calloc+256
	addi %r2,%r7,-4096
	nop 0
	nop 0
;calloc+272
	lddzx.xd %r4,%r7,%r3,0,-8
	lddzx.xd %r5,%r7,%r3,0,-16
	or %r4,%r5,%r4
;calloc+288
	bdne %r4,%gz,calloc+208
	addi %r3,%r3,-16
	nop 2
;calloc+304
	bdnei.l %r3,-4096,calloc+272
	mov %r9,%gz
;calloc+320
	sub %r7,%r2,%r9
	jmp calloc+224
	nop 0
;calloc+336
	mov %r9,%r1
	callr %r8,__malloc_allzerop
	bweq %r9,%gz,calloc+112
;calloc+352
	retf 0
	nop 0
	nop 0
;Z_ClearZone
	alloc 5
	addi %r2,%r1,56
	addi %r3,%r1,8
;Z_ClearZone+16
	std %r2,%r1,40
	std %r2,%r1,32
	std %r1,%r1,16
;Z_ClearZone+32
	ldi %r4,1
	stw %r4,%r1,24
	std %r2,%r1,48
;Z_ClearZone+48
	std %r3,%r1,80
	std %r3,%r1,88
	ldi %r2,4
;Z_ClearZone+64
	stw %r2,%r1,72
	ldwz %r2,%r1,0
	addiws %r2,%r2,-56
;Z_ClearZone+80
	stw %r2,%r1,56
	retf 0
	nop 0
;Z_Init
	allocsp 6,16
	addi %r5,%sp,12
	callr %r4,I_ZoneBase
;Z_Init+16
	ldwz %r1,%sp,12
	stdr %r5,mainzone
	stw %r1,%r5,0
;Z_Init+32
	addi %r2,%r5,56
	std %r2,%r5,40
	std %r2,%r5,32
;Z_Init+48
	std %r5,%r5,16
	ldi %r3,1
	stw %r3,%r5,24
;Z_Init+64
	std %r2,%r5,48
	addi %r2,%r5,8
	std %r2,%r5,80
;Z_Init+80
	std %r2,%r5,88
	ldi %r2,4
	stw %r2,%r5,72
;Z_Init+96
	addiws %r1,%r1,-56
	stw %r1,%r5,56
	retf 16
;Z_Free
	alloc 8
	ldwz %r2,%r1,-20
	nop 2
;Z_Free+16
	bweqi.l %r2,1919505,Z_Free+48
	ldafr %r7,.rodata+22796
;Z_Free+32
	callr %r6,I_Error
	nop 0
	nop 0
;Z_Free+48
	ldwz %r2,%r1,-24
	bweqi %r2,4,Z_Free+80
	lddz %r2,%r1,-32
;Z_Free+64
	bdeq %r2,%gz,Z_Free+80
	std %gz,%r2,0
	nop 0
;Z_Free+80
	ldi %r2,4
	std %r2,%r1,-24
	std %gz,%r1,-32
;Z_Free+96
	lddz %r3,%r1,-8
	ldwz %r4,%r3,16
	addi %r2,%r1,-40
;Z_Free+112
	bwnei %r4,4,Z_Free+208
	ldwz %r4,%r1,-40
	ldwz %r5,%r3,0
;Z_Free+128
	addws %r4,%r5,%r4
	stw %r4,%r3,0
	lddz %r1,%r1,-16
;Z_Free+144
	std %r1,%r3,24
	std %r3,%r1,32
	lddzr %r4,mainzone
;Z_Free+160
	lddz %r5,%r4,48
	bdne %r2,%r5,Z_Free+176
	std %r3,%r4,48
;Z_Free+176
	mov %r2,%r3
	ldwz %r3,%r1,16
	bweqi %r3,4,Z_Free+224
;Z_Free+192
	retf 0
	nop 0
	nop 0
;Z_Free+208
	lddz %r1,%r1,-16
	ldwz %r3,%r1,16
	bwnei %r3,4,Z_Free+192
;Z_Free+224
	ldwz %r3,%r1,0
	ldwz %r4,%r2,0
	addws %r3,%r4,%r3
;Z_Free+240
	stw %r3,%r2,0
	lddz %r3,%r1,24
	std %r3,%r2,24
;Z_Free+256
	std %r2,%r3,32
	lddzr %r3,mainzone
	lddz %r4,%r3,48
;Z_Free+272
	bdne %r1,%r4,Z_Free+192
	std %r2,%r3,48
	retf 0
;Z_Malloc
	allocsp 11,16
	lddzr %r4,mainzone
	lddz %r4,%r4,48
;Z_Malloc+16
	lddz %r5,%r4,32
	ldwz %r6,%r5,16
	addiws %r1,%r1,7
;Z_Malloc+32
	andi %r1,%r1,-8
	cmpweqi %r7,%r6,4
	addiws %r6,%r1,40
;Z_Malloc+48
	cmovlsb %r8,%r7,%r5,%r4
	lddz %r7,%r8,32
	ldafr %r1,.rodata+9569
;Z_Malloc+64
	mov %r5,%r8
	nop 0
	nop 0
;Z_Malloc+80
	bdeq %r8,%r7,Z_Malloc+128
	ldwz %r4,%r8,16
	bwnei %r4,4,Z_Malloc+160
;Z_Malloc+96
	lddz %r8,%r8,24
	ldwz %r4,%r5,16
	bwnei %r4,4,Z_Malloc+80
;Z_Malloc+112
	jmp Z_Malloc+240
	nop 0
	nop 0
;Z_Malloc+128
	stw %r6,%sp,0
	mov %r10,%r1
	callr %r9,I_Error
;Z_Malloc+144
	ldwz %r4,%r8,16
	bweqi %r4,4,Z_Malloc+96
	nop 0
;Z_Malloc+160
	bwgei %r4,7,Z_Malloc+192
	lddz %r8,%r8,24
	mov %r5,%r8
;Z_Malloc+176
	ldwz %r4,%r5,16
	bwnei %r4,4,Z_Malloc+80
	jmp Z_Malloc+240
;Z_Malloc+192
	lddz %r5,%r5,32
	addi %r10,%r8,40
	callr %r9,Z_Free
;Z_Malloc+208
	lddz %r5,%r5,24
	lddz %r8,%r5,24
	ldwz %r4,%r5,16
;Z_Malloc+224
	bwnei %r4,4,Z_Malloc+80
	nop 0
	nop 0
;Z_Malloc+240
	ldwz %r4,%r5,0
	bwlt %r4,%r6,Z_Malloc+80
	subws %r1,%r4,%r6
;Z_Malloc+256
	bwlti %r1,65,Z_Malloc+320
	ldax.xw %r4,%r5,%r6,0,0
	stwx.xw %r1,%r5,%r6,0,0
;Z_Malloc+272
	ldi %r1,4
	stwx.xw %r1,%r5,%r6,0,16
	stdx.xw %gz,%r5,%r6,0,8
;Z_Malloc+288
	stdx.xw %r5,%r5,%r6,0,32
	lddz %r1,%r5,24
	stdx.xw %r1,%r5,%r6,0,24
;Z_Malloc+304
	std %r4,%r1,32
	std %r4,%r5,24
	stw %r6,%r5,0
;Z_Malloc+320
	bwlti %r2,7,Z_Malloc+368
	bdne %r3,%gz,Z_Malloc+368
	ldafr %r10,.rodata+16954
;Z_Malloc+336
	callr %r9,I_Error
	std %gz,%r5,8
	stw %r2,%r5,16
;Z_Malloc+352
	addi %r1,%r5,40
	jmp Z_Malloc+400
	nop 0
;Z_Malloc+368
	std %r3,%r5,8
	stw %r2,%r5,16
	addi %r1,%r5,40
;Z_Malloc+384
	bdeq %r3,%gz,Z_Malloc+400
	std %r1,%r3,0
	nop 0
;Z_Malloc+400
	lddz %r2,%r5,24
	lddzr %r3,mainzone
	std %r2,%r3,48
;Z_Malloc+416
	ldi %r2,1919505
	stw %r2,%r5,20
	retf 16
;Z_FreeTags
	alloc 9
	lddzr %r3,mainzone
	lddz %r4,%r3,32
;Z_FreeTags+16
	addi %r5,%r3,8
	bdeq %r4,%r5,Z_FreeTags+80
	mov %r5,%r4
;Z_FreeTags+32
	ldwz %r6,%r4,16
	lddz %r4,%r4,24
	bwlt %r2,%r6,Z_FreeTags+16
;Z_FreeTags+48
	bweqi %r6,4,Z_FreeTags+16
	bwlt %r6,%r1,Z_FreeTags+16
	addi %r8,%r5,40
;Z_FreeTags+64
	callr %r7,Z_Free
	lddzr %r3,mainzone
	jmp Z_FreeTags+16
;Z_FreeTags+80
	retf 0
	nop 0
	nop 0
;Z_DumpHeap
	allocsp 13,32
	lddzr %r3,mainzone
	ldwz %r4,%r3,0
;Z_DumpHeap+16
	std %r3,%sp,8
	ldafr %r12,.rodata+22835
	stw %r4,%sp,0
;Z_DumpHeap+32
	callr %r11,printf
	stw %r2,%sp,4
	ldafr %r12,.rodata+22185
;Z_DumpHeap+48
	stw %r1,%sp,0
	callr %r11,printf
	lddzr %r3,mainzone
;Z_DumpHeap+64
	addi %r9,%r3,32
	ldafr %r3,.rodata+25863
	ldafr %r4,.rodata+9612
;Z_DumpHeap+80
	ldafr %r5,.rodata+23846
	ldafr %r6,.rodata+5859
	nop 0
;Z_DumpHeap+96
	lddz %r8,%r9,0
	ldwz %r7,%r8,16
	bwlt %r7,%r1,Z_DumpHeap+160
;Z_DumpHeap+112
	bwlt %r2,%r7,Z_DumpHeap+160
	ldwz %r9,%r8,0
	lddz %r10,%r8,8
;Z_DumpHeap+128
	stw %r7,%sp,24
	std %r10,%sp,16
	stw %r9,%sp,8
;Z_DumpHeap+144
	std %r8,%sp,0
	mov %r12,%r6
	callr %r11,printf
;Z_DumpHeap+160
	lddzr %r9,mainzone
	lddz %r7,%r8,24
	addi %r9,%r9,8
;Z_DumpHeap+176
	bdeq %r7,%r9,Z_DumpHeap+304
	ldws %r9,%r8,0
	add %r10,%r8,%r9
;Z_DumpHeap+192
	addi %r9,%r8,24
	bdeq %r10,%r7,Z_DumpHeap+224
	mov %r12,%r5
;Z_DumpHeap+208
	callr %r11,puts
	lddz %r7,%r9,0
	nop 0
;Z_DumpHeap+224
	lddz %r7,%r7,32
	bdeq %r7,%r8,Z_DumpHeap+256
	mov %r12,%r4
;Z_DumpHeap+240
	callr %r11,puts
	nop 0
	nop 0
;Z_DumpHeap+256
	ldwz %r7,%r8,16
	bwnei %r7,4,Z_DumpHeap+96
	lddz %r7,%r9,0
;Z_DumpHeap+272
	ldwz %r7,%r7,16
	bwnei %r7,4,Z_DumpHeap+96
	mov %r12,%r3
;Z_DumpHeap+288
	callr %r11,puts
	jmp Z_DumpHeap+96
	nop 0
;Z_DumpHeap+304
	retf 32
	nop 0
	nop 0
;Z_FileDumpHeap
	allocsp 20,32
	lddzr %r2,mainzone
	ldwz %r3,%r2,0
;Z_FileDumpHeap+16
	std %r2,%sp,8
	ldafr %r19,.rodata+22835
	stw %r3,%sp,0
;Z_FileDumpHeap+32
	mov %r18,%r1
	callr %r17,fprintf
	lddzr %r2,mainzone
;Z_FileDumpHeap+48
	lddz %r12,%r2,32
	ldwz %r2,%r12,0
	lddz %r3,%r12,8
;Z_FileDumpHeap+64
	ldwz %r4,%r12,16
	stw %r4,%sp,24
	std %r3,%sp,16
;Z_FileDumpHeap+80
	stw %r2,%sp,8
	ldafr %r19,.rodata+5859
	std %r12,%sp,0
;Z_FileDumpHeap+96
	mov %r18,%r1
	callr %r17,fprintf
	lddzr %r2,mainzone
;Z_FileDumpHeap+112
	lddz %r9,%r12,24
	addi %r2,%r2,8
	bdeq %r9,%r2,Z_FileDumpHeap+432
;Z_FileDumpHeap+128
	addi %r10,%r12,16
	addi %r11,%r12,24
	ldafr %r2,.rodata+19358
;Z_FileDumpHeap+144
	ldi %r3,35
	ldi %r4,1
	ldafr %r5,.rodata+5859
;Z_FileDumpHeap+160
	ldafr %r6,.rodata+19309
	ldi %r7,48
	ldafr %r8,.rodata+17005
;Z_FileDumpHeap+176
	jmp Z_FileDumpHeap+288
	nop 0
	nop 0
;Z_FileDumpHeap+192
	ldwz %r9,%r13,0
	lddz %r11,%r13,8
	addi %r10,%r13,16
;Z_FileDumpHeap+208
	ldwz %r12,%r13,16
	stw %r12,%sp,24
	std %r11,%sp,16
;Z_FileDumpHeap+224
	stw %r9,%sp,8
	std %r13,%sp,0
	mov2 %r18,%r19,%r1,%r5
;Z_FileDumpHeap+240
	callr %r17,fprintf
	lddzr %r11,mainzone
	lddz %r9,%r13,24
;Z_FileDumpHeap+256
	addi %r14,%r11,8
	addi %r11,%r13,24
	mov %r12,%r13
;Z_FileDumpHeap+272
	bdeq %r9,%r14,Z_FileDumpHeap+432
	nop 0
	nop 0
;Z_FileDumpHeap+288
	ldws %r13,%r12,0
	add %r13,%r12,%r13
	bdeq %r13,%r9,Z_FileDumpHeap+336
;Z_FileDumpHeap+304
	mov2 %r16,%r17,%r8,%r7
	mov2 %r18,%r19,%r4,%r1
	callr %r15,fwrite_unlocked
;Z_FileDumpHeap+320
	lddz %r9,%r11,0
	nop 0
	nop 0
;Z_FileDumpHeap+336
	lddz %r14,%r9,32
	mov %r13,%r9
	bdeq %r14,%r12,Z_FileDumpHeap+384
;Z_FileDumpHeap+352
	mov2 %r16,%r17,%r6,%r7
	mov2 %r18,%r19,%r4,%r1
	callr %r15,fwrite_unlocked
;Z_FileDumpHeap+368
	lddz %r13,%r11,0
	nop 0
	nop 0
;Z_FileDumpHeap+384
	ldwz %r9,%r10,0
	bwnei %r9,4,Z_FileDumpHeap+192
	ldwz %r9,%r13,16
;Z_FileDumpHeap+400
	bwnei %r9,4,Z_FileDumpHeap+192
	mov2 %r16,%r17,%r2,%r3
	mov2 %r18,%r19,%r4,%r1
;Z_FileDumpHeap+416
	callr %r15,fwrite_unlocked
	lddz %r13,%r11,0
	jmp Z_FileDumpHeap+192
;Z_FileDumpHeap+432
	retf 32
	nop 0
	nop 0
;Z_CheckHeap
	alloc 11
	lddzr %r1,mainzone
	lddz %r6,%r1,32
;Z_CheckHeap+16
	lddz %r4,%r6,24
	addi %r1,%r1,8
	bdeq %r4,%r1,Z_CheckHeap+208
;Z_CheckHeap+32
	addi %r5,%r6,24
	ldafr %r1,.rodata+2899
	ldafr %r2,.rodata+8032
;Z_CheckHeap+48
	ldafr %r3,.rodata+10494
	jmp Z_CheckHeap+96
	nop 0
;Z_CheckHeap+64
	lddzr %r5,mainzone
	lddz %r4,%r7,24
	addi %r8,%r5,8
;Z_CheckHeap+80
	addi %r5,%r7,24
	mov %r6,%r7
	bdeq %r4,%r8,Z_CheckHeap+208
;Z_CheckHeap+96
	ldws %r7,%r6,0
	add %r7,%r6,%r7
	bdeq %r7,%r4,Z_CheckHeap+128
;Z_CheckHeap+112
	mov %r10,%r3
	callr %r9,I_Error
	lddz %r4,%r5,0
;Z_CheckHeap+128
	lddz %r8,%r4,32
	mov %r7,%r4
	bdeq %r8,%r6,Z_CheckHeap+160
;Z_CheckHeap+144
	mov %r10,%r2
	callr %r9,I_Error
	lddz %r7,%r5,0
;Z_CheckHeap+160
	ldwz %r4,%r6,16
	bwnei %r4,4,Z_CheckHeap+64
	ldwz %r4,%r7,16
;Z_CheckHeap+176
	bwnei %r4,4,Z_CheckHeap+64
	mov %r10,%r1
	callr %r9,I_Error
;Z_CheckHeap+192
	lddz %r7,%r5,0
	jmp Z_CheckHeap+64
	nop 0
;Z_CheckHeap+208
	retf 0
	nop 0
	nop 0
;Z_ChangeTag2
	allocsp 8,16
	ldwz %r5,%r1,-20
	nop 2
;Z_ChangeTag2+16
	bweqi.l %r5,1919505,Z_ChangeTag2+48
	stw %r4,%sp,8
;Z_ChangeTag2+32
	ldafr %r7,.rodata+12722
	std %r3,%sp,0
	callr %r6,I_Error
;Z_ChangeTag2+48
	bwlti %r2,7,Z_ChangeTag2+64
	lddz %r5,%r1,-32
	bdeq %r5,%gz,Z_ChangeTag2+80
;Z_ChangeTag2+64
	stw %r2,%r1,-24
	retf 16
	nop 0
;Z_ChangeTag2+80
	stw %r4,%sp,8
	ldafr %r7,.rodata+12104
	std %r3,%sp,0
;Z_ChangeTag2+96
	callr %r6,I_Error
	stw %r2,%r1,-24
	retf 16
;Z_ChangeUser
	alloc 6
	ldwz %r3,%r1,-20
	nop 2
;Z_ChangeUser+16
	bweqi.l %r3,1919505,Z_ChangeUser+48
	ldafr %r5,.rodata+2108
;Z_ChangeUser+32
	callr %r4,I_Error
	nop 0
	nop 0
;Z_ChangeUser+48
	std %r2,%r1,-32
	std %r1,%r2,0
	retf 0
;Z_FreeMemory
	alloc 5
	lddzr %r1,mainzone
	lddz %r2,%r1,32
;Z_FreeMemory+16
	addi %r3,%r1,8
	bdeq %r2,%r3,Z_FreeMemory+128
	mov %r1,%gz
;Z_FreeMemory+32
	jmp Z_FreeMemory+80
	nop 0
	nop 0
;Z_FreeMemory+48
	ldwz %r4,%r2,0
	addws %r1,%r4,%r1
	nop 0
;Z_FreeMemory+64
	lddz %r2,%r2,24
	bdeq %r2,%r3,Z_FreeMemory+112
	nop 0
;Z_FreeMemory+80
	ldwz %r4,%r2,16
	bweqi %r4,4,Z_FreeMemory+48
	bwlti %r4,7,Z_FreeMemory+64
;Z_FreeMemory+96
	jmp Z_FreeMemory+48
	nop 0
	nop 0
;Z_FreeMemory+112
	retf 0
	nop 0
	nop 0
;Z_FreeMemory+128
	mov %r1,%gz
	retf 0
	nop 0
;Z_ZoneSize
	alloc 2
	lddzr %r1,mainzone
	ldwz %r1,%r1,0
;Z_ZoneSize+16
	retf 0
	nop 0
	nop 0
;W_StdC_Read
	alloc 10
	lddz %r7,%r1,24
	srliw %r8,%r2,0
;W_StdC_Read+16
	mov %r9,%gz
	callr %r6,fseek
	lddz %r9,%r1,24
;W_StdC_Read+32
	ldi %r7,1
	mov2 %r6,%r8,%r3,%r4
	callr %r5,fread_unlocked
;W_StdC_Read+48
	mov %r1,%r6
	retf 0
	nop 0
;W_StdC_OpenFile
	alloc 7
	ldafr %r6,.rodata+12248
	mov %r5,%r1
;W_StdC_OpenFile+16
	callr %r4,fopen
	bdeq %r5,%gz,W_StdC_OpenFile+112
	mov %r1,%r5
;W_StdC_OpenFile+32
	ldi %r4,32
	ldi %r5,1
	mov %r6,%gz
;W_StdC_OpenFile+48
	callr %r3,Z_Malloc
	ldafr %r2,stdc_wad_file
	std %r2,%r4,0
;W_StdC_OpenFile+64
	std %gz,%r4,8
	mov %r6,%r1
	callr %r5,M_FileLength
;W_StdC_OpenFile+80
	stw %r6,%r4,16
	std %r1,%r4,24
	mov %r1,%r4
;W_StdC_OpenFile+96
	retf 0
	nop 0
	nop 0
;W_StdC_OpenFile+112
	mov2 %r4,%r1,%gz,%gz
	retf 0
	nop 0
;W_StdC_CloseFile
	alloc 4
	lddz %r3,%r1,24
	callr %r2,fclose
;W_StdC_CloseFile+16
	mov %r3,%r1
	callr %r2,Z_Free
	retf 0
;I_GetEvent
	allocsp 15,32
	addi %r13,%sp,8
	addi %r14,%sp,7
;I_GetEvent+16
	callr %r12,DG_GetKey
	bweq %r13,%gz,I_GetEvent+336
	ldi %r5,1
;I_GetEvent+32
	ldi %r7,-1
	ldi %r6,182
	addi %r1,%sp,12
;I_GetEvent+48
	addi %r2,%sp,8
	addi %r3,%sp,7
	ldafr %r8,shiftxform
;I_GetEvent+64
	jmp I_GetEvent+144
	nop 0
	nop 0
;I_GetEvent+80
	mov %r4,%gz
	nop 0
	nop 0
;I_GetEvent+96
	stw %r4,%sp,20
	nop 0
	nop 0
;I_GetEvent+112
	mov %r14,%r1
	callr %r13,D_PostEvent
	nop 0
;I_GetEvent+128
	mov2 %r13,%r14,%r2,%r3
	callr %r12,DG_GetKey
	bweq %r13,%gz,I_GetEvent+336
;I_GetEvent+144
	ldbz %r9,%sp,7
	ldwz %r10,%sp,8
	bwnei %r9,182,I_GetEvent+208
;I_GetEvent+160
	ldwzr %r4,shiftdown
	cmovweq %r9,%r10,%r7,%r5
	addws %r4,%r4,%r9
;I_GetEvent+176
	stwr %r4,shiftdown
	bweq %r10,%gz,I_GetEvent+352
	stw %gz,%sp,12
;I_GetEvent+192
	stw %r6,%sp,16
	cmovwle %r4,%r4,%r6,%gz
	jmp I_GetEvent+96
;I_GetEvent+208
	slsrai %r4,%r9,56,56
	bweq %r10,%gz,I_GetEvent+304
	ldwzr %r11,shiftdown
;I_GetEvent+224
	stw %gz,%sp,12
	stw %r9,%sp,16
	mov %r10,%r4
;I_GetEvent+240
	bwle %r11,%gz,I_GetEvent+272
	bwlt %r4,%gz,I_GetEvent+80
	srliw %r9,%r9,0
;I_GetEvent+256
	ldbzx.xd %r10,%r9,%r8,0,0
	nop 0
	nop 0
;I_GetEvent+272
	andi %r9,%r10,255
	stw %r9,%sp,20
	bwne %r4,%gz,I_GetEvent+112
;I_GetEvent+288
	jmp I_GetEvent+128
	nop 0
	nop 0
;I_GetEvent+304
	stw %r5,%sp,12
	stw %r9,%sp,16
	stw %gz,%sp,20
;I_GetEvent+320
	bwne %r4,%gz,I_GetEvent+368
	nop 0
	nop 0
;I_GetEvent+336
	retf 32
	nop 0
	nop 0
;I_GetEvent+352
	stw %r5,%sp,12
	stw %r6,%sp,16
	stw %gz,%sp,20
;I_GetEvent+368
	addi %r14,%sp,12
	callr %r13,D_PostEvent
	retf 32
;I_InitInput
	alloc 1
	retf 0
	nop 0
;I_InitGraphics
	allocsp 13,32
	stwr %gz,s_Fb+48
	stwr %gz,s_Fb+44
;I_InitGraphics+16
	stwr %gz,s_Fb+40
	stwr %gz,s_Fb+36
	stwr %gz,s_Fb+32
;I_InitGraphics+32
	stwr %gz,s_Fb+28
	stwr %gz,s_Fb+24
	stwr %gz,s_Fb+20
;I_InitGraphics+48
	ldi %r1,640
	stwr %r1,s_Fb
	ldi %r2,400
;I_InitGraphics+64
	stwr %r2,s_Fb+4
	stwr %r1,s_Fb+8
	stwr %r2,s_Fb+12
;I_InitGraphics+80
	ldi %r3,8
	stwr %r3,s_Fb+16
	stw %r3,%sp,16
;I_InitGraphics+96
	stw %r2,%sp,12
	stw %r1,%sp,8
	stw %r2,%sp,4
;I_InitGraphics+112
	ldafr %r12,.rodata+14594
	stw %r1,%sp,0
	callr %r11,printf
;I_InitGraphics+128
	ldwzr %r1,s_Fb+24
	ldwzr %r2,s_Fb+32
	ldwzr %r3,s_Fb+40
;I_InitGraphics+144
	ldwzr %r4,s_Fb+48
	ldwzr %r5,s_Fb+20
	ldwzr %r6,s_Fb+28
;I_InitGraphics+160
	ldwzr %r7,s_Fb+36
	ldwzr %r8,s_Fb+44
	stw %r8,%sp,28
;I_InitGraphics+176
	stw %r7,%sp,24
	stw %r6,%sp,20
	stw %r5,%sp,16
;I_InitGraphics+192
	stw %r4,%sp,12
	stw %r3,%sp,8
	stw %r2,%sp,4
;I_InitGraphics+208
	ldafr %r12,.rodata+17821
	stw %r1,%sp,0
	callr %r11,printf
;I_InitGraphics+224
	ldi %r1,200
	stw %r1,%sp,4
	ldi %r1,320
;I_InitGraphics+240
	ldafr %r12,.rodata+22206
	stw %r1,%sp,0
	callr %r11,printf
;I_InitGraphics+256
	ldafr %r11,.rodata+17054
	ldi %r1,1
	mov %r12,%r1
;I_InitGraphics+272
	callr %r10,M_CheckParmWithArgs
	bwlti %r11,1,I_InitGraphics+336
	lddzr %r2,myargv
;I_InitGraphics+288
	lddzx.xuw %r12,%r2,%r11,3,8
	callr %r11,atoi
	stwr %r12,fb_scaling
;I_InitGraphics+304
	ldafr %r2,.rodata+20177
	stw %r12,%sp,0
	mov %r12,%r2
;I_InitGraphics+320
	jmp I_InitGraphics+416
	nop 0
	nop 0
;I_InitGraphics+336
	ldwzr %r2,s_Fb
	ldwzr %r3,s_Fb+4
	nop 2
;I_InitGraphics+352
	muli.l %r2,%r2,3435973837
	srli %r2,%r2,40
;I_InitGraphics+368
	muli.l %r3,%r3,1374389535
	srli %r3,%r3,38
;I_InitGraphics+384
	minuw %r2,%r3,%r2
	stwr %r2,fb_scaling
	ldafr %r12,.rodata+18360
;I_InitGraphics+400
	stw %r2,%sp,0
	nop 0
	nop 0
;I_InitGraphics+416
	callr %r11,printf
	ldi %r10,64000
	mov2 %r11,%r12,%r1,%gz
;I_InitGraphics+432
	callr %r9,Z_Malloc
	stdr %r10,I_VideoBuffer
	stwr %r1,screenvisible
;I_InitGraphics+448
	callr %r12,I_InitInput
	retf 32
	nop 0
;I_ShutdownGraphics
	alloc 3
	lddzr %r2,I_VideoBuffer
	callr %r1,Z_Free
;I_ShutdownGraphics+16
	retf 0
	nop 0
	nop 0
;I_StartFrame
	alloc 1
	retf 0
	nop 0
;I_StartTic
	alloc 2
	callr %r1,I_GetEvent
	retf 0
;I_UpdateNoBlit
	alloc 1
	retf 0
	nop 0
;I_FinishUpdate
	alloc 2
	callr %r1,DG_DrawFrame
	retf 0
;I_ReadScreen
	alloc 6
	lddzr %r4,I_VideoBuffer
	ldi %r5,64000
;I_ReadScreen+16
	mov %r3,%r1
	callr %r2,memcpy
	retf 0
;I_SetPalette
	alloc 7
	ldwsr %r4,usegamma
	ldafr %r5,gammatable
;I_SetPalette+16
	mov %r2,%gz
	ldafr %r3,colors
	sladd %r4,%r5,%r4,8
;I_SetPalette+32
	ldwz %r5,%r3,0
	andi.l %r6,%r5,16777215
;I_SetPalette+48
	stw %r6,%r3,0
	ldbzx.xd %r6,%r1,%r2,0,0
	ldbzx.xd %r6,%r4,%r6,0,0
;I_SetPalette+64
	andi %r5,%r5,65535
	slor %r5,%r5,%r6,16
	stw %r5,%r3,0
;I_SetPalette+80
	ldbzx.xd %r6,%r1,%r2,0,1
	ldbzx.xd %r6,%r4,%r6,0,0
	nop 2
;I_SetPalette+96
	andi.l %r5,%r5,16711935
	slor %r5,%r5,%r6,8
;I_SetPalette+112
	stw %r5,%r3,0
	ldbzx.xd %r6,%r1,%r2,0,2
	ldbzx.xd %r6,%r4,%r6,0,0
;I_SetPalette+128
	andi.l %r5,%r5,16776960
	or %r5,%r5,%r6
;I_SetPalette+144
	stw %r5,%r3,0
	addi %r2,%r2,3
	addi %r3,%r3,4
;I_SetPalette+160
	bdnei %r2,768,I_SetPalette+32
	ldi %r1,1
	stwr %r1,palette_changed
;I_SetPalette+176
	retf 0
	nop 0
	nop 0
;I_GetPaletteIndex
	alloc 9
	mov %r4,%r1
	ldafr %r8,.rodata+11047
;I_GetPaletteIndex+16
	callr %r7,puts
	mov2 %r1,%r5,%gz,%gz
	mulws %r4,%r4,%r4
;I_GetPaletteIndex+32
	mulws %r2,%r2,%r2
	addws %r2,%r2,%r4
	mulws %r3,%r3,%r3
;I_GetPaletteIndex+48
	addws %r2,%r2,%r3
	ldi.l %r3,2147483647
;I_GetPaletteIndex+64
	cmpwlt %r6,%r2,%r3
	cmovlsb %r1,%r6,%r5,%r1
	bweq %r2,%gz,I_GetPaletteIndex+112
;I_GetPaletteIndex+80
	mov %r4,%r5
	minsw %r3,%r2,%r3
	addiws %r5,%r5,1
;I_GetPaletteIndex+96
	bwltui %r4,255,I_GetPaletteIndex+64
	nop 0
	nop 0
;I_GetPaletteIndex+112
	retf 0
	nop 0
	nop 0
;I_BeginRead
	alloc 1
	retf 0
	nop 0
;I_EndRead
	alloc 1
	retf 0
	nop 0
;I_SetWindowTitle
	alloc 4
	mov %r3,%r1
	callr %r2,DG_SetWindowTitle
;I_SetWindowTitle+16
	retf 0
	nop 0
	nop 0
;I_GraphicsCheckCommandLine
	alloc 1
	retf 0
	nop 0
;I_SetGrabMouseCallback
	alloc 1
	retf 0
	nop 0
;I_EnableLoadingDisk
	alloc 1
	retf 0
	nop 0
;I_BindVideoVariables
	alloc 1
	retf 0
	nop 0
;I_DisplayFPSDots
	alloc 1
	retf 0
	nop 0
;I_CheckIsScreensaver
	alloc 1
	retf 0
	nop 0
;doomgeneric_Create
	alloc 5
	stwr %r1,myargc
	stdr %r2,myargv
;doomgeneric_Create+16
	callr %r4,M_FindResponseFile
	ldi %r4,1024000
	callr %r3,malloc
;doomgeneric_Create+32
	stdr %r4,DG_ScreenBuffer
	callr %r4,DG_Init
	callr %r4,D_DoomMain
;doomgeneric_Create+48
	retf 0
	nop 0
	nop 0
;DG_Init
	alloc 9
	ldi %r2,2001
	ldi %r3,640
;DG_Init+16
	ldi %r4,400
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
;DG_Init+32
	callr %r1,__syscall_postrisc
	retf 0
	nop 0
;DG_DrawFrame
	alloc 9
	lddzr %r3,I_VideoBuffer
	ldafr %r6,colors
;DG_DrawFrame+16
	ldi %r2,2002
	ldi %r4,320
	ldi %r5,200
;DG_DrawFrame+32
	mov2 %r7,%r8,%gz,%gz
	callr %r1,__syscall_postrisc
	retf 0
;DG_SleepMs
	alloc 10
	srliw %r4,%r1,0
	ldi %r3,2003
;DG_SleepMs+16
	mov2 %r5,%r6,%gz,%gz
	mov2 %r7,%r8,%gz,%gz
	mov %r9,%gz
;DG_SleepMs+32
	callr %r2,__syscall_postrisc
	retf 0
	nop 0
;print_current_time_with_ms
	alloc 1
	retf 0
	nop 0
;DG_GetTicksMs
	alloc 10
	ldi %r3,2004
	mov2 %r4,%r5,%gz,%gz
;DG_GetTicksMs+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;DG_GetTicksMs+32
	mov %r1,%r3
	retf 0
	nop 0
;DG_GetKey
	alloc 11
	ldi %r4,2005
	mov2 %r5,%r6,%r1,%r2
;DG_GetKey+16
	mov2 %r7,%r8,%gz,%gz
	mov2 %r9,%r10,%gz,%gz
	callr %r3,__syscall_postrisc
;DG_GetKey+32
	mov %r1,%r4
	retf 0
	nop 0
;DG_SetWindowTitle
	alloc 10
	ldi %r3,2006
	mov2 %r4,%r5,%r1,%gz
;DG_SetWindowTitle+16
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	callr %r2,__syscall_postrisc
;DG_SetWindowTitle+32
	retf 0
	nop 0
	nop 0
;main
	allocsp 6,16
	mov2 %r4,%r5,%r1,%r2
	callr %r3,doomgeneric_Create
;main+16
	std %gz,%sp,8
	lddz %r1,%sp,8
	nop 2
;main+32
	bdgei.l %r1,2000000000,main+96
	nop 0
;main+48
	callr %r5,doomgeneric_Tick
	lddz %r1,%sp,8
	addi %r1,%r1,1
;main+64
	std %r1,%sp,8
	lddz %r1,%sp,8
	nop 2
;main+80
	bdlti.l %r1,2000000000,main+48
	nop 0
;main+96
	mov %r1,%gz
	retf 16
	nop 0
;_start
	alloc 8
	ldwz %r3,%sp,0
	addi %r4,%sp,8
;_start+16
	ldar %r2,main
	ldar %r5,_init
	ldar %r6,_fini
;_start+32
	mov %r7,%gz
	callr %r1,__libc_start_main
	retf 0
;_start_c
	alloc 9
	ldwz %r4,%r1,0
	addi %r5,%r1,8
;_start_c+16
	ldar %r3,main
	ldar %r6,_init
	ldar %r7,_fini
;_start_c+32
	mov %r8,%gz
	callr %r2,__libc_start_main
	retf 0
;_init
	alloc 1
	retf 0
	nop 0
;__init_ssp
	alloc 1
	retf 0
	nop 0
;__init_libc
	allocsp 15,336
	stq %gz,%sp,320
	stq %gz,%sp,304
;__init_libc+16
	stq %gz,%sp,288
	stq %gz,%sp,272
	stq %gz,%sp,256
;__init_libc+32
	stq %gz,%sp,240
	stq %gz,%sp,224
	stq %gz,%sp,208
;__init_libc+48
	stq %gz,%sp,192
	stq %gz,%sp,176
	stq %gz,%sp,160
;__init_libc+64
	stq %gz,%sp,144
	stq %gz,%sp,128
	stq %gz,%sp,112
;__init_libc+80
	stq %gz,%sp,96
	stq %gz,%sp,80
	stq %gz,%sp,64
;__init_libc+96
	stq %gz,%sp,48
	stq %gz,%sp,32
	stdr %r1,___environ
;__init_libc+112
	lddz %r3,%r1,0
	addi %r1,%r1,8
	bdne %r3,%gz,__init_libc+112
;__init_libc+128
	stdr %r1,__libc+8
	lddz %r3,%r1,0
	bdeq %r3,%gz,__init_libc+240
;__init_libc+144
	addi %r1,%r1,16
	addi %r4,%sp,32
	jmp __init_libc+176
;__init_libc+160
	lddz %r3,%r1,0
	addi %r1,%r1,16
	bdeq %r3,%gz,__init_libc+208
;__init_libc+176
	bdgeui %r3,38,__init_libc+160
	lddz %r5,%r1,-8
	stdx.xd %r5,%r4,%r3,3,0
;__init_libc+192
	jmp __init_libc+160
	nop 0
	nop 0
;__init_libc+208
	lddz %r3,%sp,160
	lddz %r1,%sp,288
	stdr %r3,__hwcap
;__init_libc+224
	bdeq %r1,%gz,__init_libc+256
	stdr %r1,__sysinfo
	jmp __init_libc+256
;__init_libc+240
	stdr %gz,__hwcap
	nop 0
	nop 0
;__init_libc+256
	lddz %r1,%sp,280
	lddz %r3,%sp,80
	cmovdeq %r1,%r2,%r1,%r2
;__init_libc+272
	ldafr %r2,.rodata+6226
	stdr %r3,__libc+48
	cmovdeq %r1,%r1,%r2,%r1
;__init_libc+288
	stdr %r1,__progname_full
	nop 0
	nop 0
;__init_libc+304
	stdr %r1,program_invocation_short_name
	nop 0
	nop 0
;__init_libc+320
	addi %r1,%r1,1
	ldbz %r2,%r1,-1
	bweqi %r2,47,__init_libc+304
;__init_libc+336
	bwne %r2,%gz,__init_libc+320
	addi %r14,%sp,32
	callr %r13,__init_tls
;__init_libc+352
	lddz %r14,%sp,232
	callr %r13,__init_ssp
	lddz %r1,%sp,120
;__init_libc+368
	lddz %r2,%sp,128
	bdne %r1,%r2,__init_libc+416
	lddz %r1,%sp,136
;__init_libc+384
	lddz %r2,%sp,144
	bdne %r1,%r2,__init_libc+416
	lddz %r1,%sp,216
;__init_libc+400
	bdne %r1,%gz,__init_libc+416
	retf 336
	nop 0
;__init_libc+416
	ldwzr %r1,.L__const.__init_libc.pfd+20
	ldwzr %r2,.L__const.__init_libc.pfd+16
	ldwzr %r3,.L__const.__init_libc.pfd+8
;__init_libc+432
	slor %r1,%r2,%r1,32
	std %r1,%sp,16
	ldwzr %r1,.L__const.__init_libc.pfd+12
;__init_libc+448
	sllqi %r2,%r3,0
	ldafr %r3,.L__const.__init_libc.pfd
	ldwz %r3,%r3,4
;__init_libc+464
	ldwzr %r4,.L__const.__init_libc.pfd
	sllqi %r1,%r1,32
	or %r1,%r1,%r2
;__init_libc+480
	sllqi %r2,%r3,32
	or %r2,%r2,%r4
	or %r1,%r1,%r2
;__init_libc+496
	stq %r1,%sp,0
	ldi %r8,7
	addi %r1,%sp,0
;__init_libc+512
	ldi %r10,3
	mov2 %r9,%r11,%r1,%gz
	mov2 %r12,%r13,%gz,%gz
;__init_libc+528
	mov %r14,%gz
	callr %r7,__syscall_postrisc
	bbsi %r8,31,__init_libc+640
;__init_libc+544
	ldi %r6,6
	ldafr %r2,.rodata+28810
	ldi %r3,2
;__init_libc+560
	ldi %r4,32770
	jmp __init_libc+592
	nop 0
;__init_libc+576
	addi %r6,%r6,8
	bdeqi %r6,30,__init_libc+656
	nop 0
;__init_libc+592
	ldbzx.xd %r5,%r1,%r6,0,0
	bbci %r5,5,__init_libc+576
	mov2 %r8,%r9,%r3,%r2
;__init_libc+608
	mov2 %r10,%r11,%r4,%gz
	mov2 %r12,%r13,%gz,%gz
	mov %r14,%gz
;__init_libc+624
	callr %r7,__syscall_postrisc
	bdgei %r8,0,__init_libc+576
	nop 0
;__init_libc+640
	halt
	nop 0
	nop 0
;__init_libc+656
	ldi %r1,1
	stbr %r1,__libc+2
	retf 336
;__libc_start_init
	alloc 5
	callr %r4,_init
	ldafr %r2,.rodata
;__libc_start_init+16
	ldafr %r3,.rodata
	bdleu %r3,%r2,__libc_start_init+48
	nop 0
;__libc_start_init+32
	callmi %r4,%r2,0
	addi %r2,%r2,8
	bdltu %r2,%r3,__libc_start_init+32
;__libc_start_init+48
	retf 0
	nop 0
	nop 0
;__libc_start_main
	alloc 9
	ldax.xw %r4,%r3,%r2,3,8
	lddz %r8,%r3,0
;__libc_start_main+16
	mov %r7,%r4
	callr %r6,__init_libc
	fence.seq_cst
;__libc_start_main+32
	callr %r8,__libc_start_init
	mov2 %r6,%r7,%r2,%r3
	mov %r8,%r4
;__libc_start_main+48
	callri %r5,%r1,%gz
	mov %r8,%r6
	callr %r7,exit
;__init_tp
	alloc 11
	std %r1,%r1,0
	ldi %r2,1
;__init_tp+16
	stbr %r2,__libc
	ldi %r2,2
	stw %r2,%r1,56
;__init_tp+32
	mov %tp,%r1
	ldafr %r5,__thread_list_lock
	ldi %r4,218
;__init_tp+48
	mov2 %r6,%r7,%gz,%gz
	mov2 %r8,%r9,%gz,%gz
	mov %r10,%gz
;__init_tp+64
	callr %r3,__syscall_postrisc
	stw %r4,%r1,48
	ldafr %r2,__libc+56
;__init_tp+80
	std %r2,%r1,168
	addi %r2,%r1,136
	std %r2,%r1,136
;__init_tp+96
	lddzr %r2,__sysinfo
	std %r2,%r1,32
	std %r1,%r1,16
;__init_tp+112
	std %r1,%r1,24
	mov %r1,%gz
	retf 0
;__copy_tls
	alloc 10
	lddzr %r2,__libc+24
	ldax.xd %r2,%r1,%r2,0,-200
;__copy_tls+16
	lddzr %r3,__libc+32
	lddzr %r4,__libc+16
	subfi %r3,%r3,0
;__copy_tls+32
	and %r2,%r2,%r3
	bdeq %r4,%gz,__copy_tls+112
	addi %r5,%r1,8
;__copy_tls+48
	lddz %r3,%r4,40
	sub %r3,%r2,%r3
	std %r3,%r5,0
;__copy_tls+64
	lddz %r3,%r4,40
	sub %r7,%r2,%r3
	lddz %r8,%r4,8
;__copy_tls+80
	lddz %r9,%r4,16
	callr %r6,memcpy
	lddz %r4,%r4,0
;__copy_tls+96
	addi %r5,%r5,8
	bdne %r4,%gz,__copy_tls+48
	nop 0
;__copy_tls+112
	lddzr %r3,__libc+40
	std %r3,%r1,0
	std %r1,%r2,8
;__copy_tls+128
	mov %r1,%r2
	retf 0
	nop 0
;__init_tls
	alloc 20
	lddz %r4,%r1,40
	ldi %r2,1
;__init_tls+16
	bdeq %r4,%gz,__init_tls+304
	lddz %r5,%r1,24
	mov2 %r6,%r3,%gz,%gz
;__init_tls+32
	ldwzr %r7,__default_stacksize
	lddz %r1,%r1,32
	ldafr %r8,.dynamic
;__init_tls+48
	mov %r9,%r5
	jmp __init_tls+96
	nop 0
;__init_tls+64
	lddz %r6,%r9,16
	sub %r6,%r5,%r6
	nop 0
;__init_tls+80
	addi %r4,%r4,-1
	add %r9,%r9,%r1
	bdeq %r4,%gz,__init_tls+224
;__init_tls+96
	ldwz %r10,%r9,0
	bweqi %r10,6,__init_tls+64
	bdeq %r8,%gz,__init_tls+144
;__init_tls+112
	bwnei %r10,2,__init_tls+144
	lddz %r6,%r9,16
	sub %r6,%r8,%r6
;__init_tls+128
	jmp __init_tls+80
	nop 0
	nop 0
;__init_tls+144
	cmpweqi %r11,%r10,7
	cmovlsb %r3,%r11,%r9,%r3
	nop 2
;__init_tls+160
	bwnei.l %r10,1685382481,__init_tls+80
	lddz %r10,%r9,40
;__init_tls+176
	srliw %r11,%r7,0
	bdleu %r10,%r11,__init_tls+80
	nop 2
;__init_tls+192
	minui.l %r7,%r10,8388608
	stwr %r7,__default_stacksize
;__init_tls+208
	jmp __init_tls+80
	nop 0
	nop 0
;__init_tls+224
	bdeq %r3,%gz,__init_tls+304
	lddz %r1,%r3,16
	add %r4,%r1,%r6
;__init_tls+240
	stdr %r4,main_tls+8
	lddz %r1,%r3,32
	stdr %r1,main_tls+16
;__init_tls+256
	lddz %r1,%r3,48
	ldafr %r5,main_tls
	lddz %r3,%r3,40
;__init_tls+272
	stdr %r1,main_tls+32
	stdr %r2,__libc+40
	stdr %r5,__libc+16
;__init_tls+288
	jmp __init_tls+320
	nop 0
	nop 0
;__init_tls+304
	lddzr %r1,main_tls+32
	lddzr %r3,main_tls+24
	lddzr %r4,main_tls+8
;__init_tls+320
	add %r4,%r3,%r4
	subfi %r4,%r4,0
	addi %r5,%r1,-1
;__init_tls+336
	and %r4,%r5,%r4
	add %r3,%r4,%r3
	stdr %r3,main_tls+24
;__init_tls+352
	stdr %r3,main_tls+40
	bdgeui %r1,8,__init_tls+384
	ldi %r1,8
;__init_tls+368
	stdr %r1,main_tls+32
	nop 0
	nop 0
;__init_tls+384
	stdr %r1,__libc+32
	ldax.xd %r3,%r3,%r1,0,223
	andi %r15,%r3,-8
;__init_tls+400
	stdr %r15,__libc+24
	bdltui %r15,337,__init_tls+464
	ldi %r13,9
;__init_tls+416
	ldi %r16,3
	ldi %r17,34
	ldi %r18,-1
;__init_tls+432
	mov2 %r14,%r19,%gz,%gz
	callr %r12,__syscall_postrisc
	lddzr %r15,__libc+24
;__init_tls+448
	lddzr %r1,__libc+32
	jmp __init_tls+480
	nop 0
;__init_tls+464
	ldafr %r13,builtin_tls
	nop 0
	nop 0
;__init_tls+480
	ldax.xd %r3,%r13,%r15,0,-200
	lddzr %r4,__libc+16
	subfi %r1,%r1,0
;__init_tls+496
	and %r3,%r3,%r1
	bdeq %r4,%gz,__init_tls+576
	addi %r5,%r13,8
;__init_tls+512
	lddz %r1,%r4,40
	sub %r1,%r3,%r1
	std %r1,%r5,0
;__init_tls+528
	lddz %r1,%r4,40
	sub %r17,%r3,%r1
	lddz %r18,%r4,8
;__init_tls+544
	lddz %r19,%r4,16
	callr %r16,memcpy
	lddz %r4,%r4,0
;__init_tls+560
	addi %r5,%r5,8
	bdne %r4,%gz,__init_tls+512
	nop 0
;__init_tls+576
	lddzr %r1,__libc+40
	std %r1,%r13,0
	std %r13,%r3,8
;__init_tls+592
	std %r3,%r3,0
	stbr %r2,__libc
	ldi %r1,2
;__init_tls+608
	stw %r1,%r3,56
	mov %tp,%r3
	ldafr %r14,__thread_list_lock
;__init_tls+624
	ldi %r13,218
	mov2 %r15,%r16,%gz,%gz
	mov2 %r17,%r18,%gz,%gz
;__init_tls+640
	mov %r19,%gz
	callr %r12,__syscall_postrisc
	stw %r13,%r3,48
;__init_tls+656
	ldafr %r1,__libc+56
	std %r1,%r3,168
	addi %r1,%r3,136
;__init_tls+672
	std %r1,%r3,136
	lddzr %r1,__sysinfo
	std %r1,%r3,32
;__init_tls+688
	std %r3,%r3,16
	std %r3,%r3,24
	retf 0
Static instruction frequencies: 56242
position instruction occurrence percent cumulative
percent
1nop679712.08527412.085274
2callr43817.78955219.874827
3mov34526.13776226.012588
4ldi25174.47530330.487892
5ldafr20903.71608434.203976
6ldwz18723.32847337.532449
7addi18123.22179240.754241
8retf15922.83062543.584865
9ldwzr15412.73994546.324811
10jmp15202.70260749.027417
11stw13622.42167851.449095
12mov212142.15852953.607624
13addiws12012.13541555.743039
14lddz11752.08918657.832225
15stwr11602.06251659.894741
16lddzr9691.72291261.617652
17bweq9591.70513163.322784
18ldbz9551.69801965.020803
19std9091.61623066.637033
20alloc8551.52021668.157249
21addws8211.45976369.617012
22slor6731.19661570.813627
23andi6061.07748771.891113
24srliw5901.04903872.940151
25bwne5871.04370473.983855
26bdeq5751.02236875.006223
27stb5620.99925376.005476
28sraiw5300.94235676.947833
29stdr4840.86056777.808399
30subws4690.83389678.642296
31ldwzx4430.78766879.429963
32ldbzx3680.65431580.084279
33or3590.63831380.722592
34bwnei3450.61342181.336012
35xor3340.59386281.929874
36bweqi3090.54941182.479286
37bwlt2870.51029582.989581
38stbx2850.50673983.496319
39bwlti2750.48895883.985278
40add2720.48362484.468902
41srli2620.46584484.934746
42slsrli2580.45873285.393478
43cmovlsb2510.44628685.839764
44muli2430.43206186.271825
45srpiw2380.42317186.694997
46bwltui2350.41783787.112834
47lddzx2320.41250387.525337
48bwle2310.41072587.936062
49bdne2270.40361388.339675
50ldwsr1880.33427088.673945
51bwgeui1820.32360288.997546
52stwx1800.32004689.317592
53sllqi1750.31115589.628747
54allocsp1720.30582189.934568
55bbsi1690.30048790.235056
56ldax1650.29337590.528431
57slliw1640.29159790.820028
58mulwsi1620.28804191.108069
59bwgei1600.28448591.392554
60ldbzr1510.26848391.661036
61mul1490.26492791.925963
62stq1490.26492792.190889
63ldbs1440.25603692.446926
64sth1440.25603692.702962
65bdnei1420.25248092.955443
66bbci1410.25070293.206145
67sub1410.25070293.456847
68ori1330.23647893.693325
69cmpweqi1300.23114493.924469
70and1240.22047694.144945
71ldhz1160.20625294.351197
72subfiws1100.19558394.546780
73bdeqi1060.18847194.735251
74muladd1050.18669394.921944
75stdx950.16891395.090857
76ldwsx910.16180195.252658
77ldar880.15646795.409125
78mulws840.14935595.558479
79ldhs830.14757795.706056
80minsw750.13335295.839408
81bdleu690.12268495.962092
82ldws660.11735096.079442
83slli650.11557296.195014
84slsrai640.11379496.308808
85cmovweq620.11023896.419046
86maxsw620.11023896.529284
87ldhzx550.09779296.627076
88stbr540.09601496.723090
89bdlt530.09423696.817325
90bwltu500.08890296.906227
91sladdws500.08890296.995128
92bdltu490.08712497.082252
93cmpwlt480.08534597.167597
94srai470.08356797.251165
95bdgeui460.08178997.332954
96bwleu460.08178997.414743
97xori460.08178997.496533
98bdltui450.08001197.576544
99jmpt430.07645597.653000
100divw420.07467797.727677
101bdle410.07289997.800576
102sthr410.07289997.873475
103addiwz390.06934397.942819
104callmi370.06578798.008606
105sladd360.06400998.072615
106cmpwnei350.06223198.134846
107ldhsr330.05867598.193521
108ldhsx330.05867598.252196
109minuw330.05867598.310871
110sllw330.05867598.369546
111absdw320.05689798.426443
112ldhzr320.05689798.483340
113addadd300.05334198.536681
114cmpwgti300.05334198.590022
115sthx290.05156398.641585
116ldbsx280.04978598.691369
117cmovdeq260.04622998.737598
118fmulsq260.04622998.783827
119ldqr260.04622998.830056
120cmpwltui230.04089598.870951
121subfi220.03911798.910067
122cmovwlt210.03733998.947406
123callri200.03556198.982966
124cmpwlti200.03556199.018527
125fence190.03378399.052310
126algnup180.03200599.084314
127bmany170.03022799.114541
128bmnone160.02844899.142989
129cmpweq160.02844899.171438
130divui150.02667099.198108
131ldq150.02667099.224779
132addsub140.02489299.249671
133sll140.02489299.274563
134bdlti130.02311499.297678
135fcvtiw2sq130.02311499.320792
136casw120.02133699.342129
137cmpdltu120.02133699.363465
138cmpwle120.02133699.384801
139cmpdnei110.01955899.404360
140maxuw110.01955899.423918
141halt100.01778099.441698
142bdgei90.01600299.457701
143cmovwle90.01600299.473703
144cmpwgtui90.01600299.489705
145faddsq90.01600299.505707
146fextsd2sq90.01600299.521710
147mulsubf90.01600299.537712
148mulwzi90.01600299.553714
149srlw90.01600299.569717
150slsubws80.01422499.583941
151callplt70.01244699.596387
152cmpdeq70.01244699.608833
153cmpdlt70.01244699.621279
154cmpwltu70.01244699.633726
155fcvtuw2sq70.01244699.646172
156fsubsq70.01244699.658618
157minu70.01244699.671064
158modw70.01244699.683511
159slsub70.01244699.695957
160bbc60.01066899.706625
161cmpwne60.01066899.717293
162divuw60.01066899.727961
163fmulsd60.01066899.738629
164slxor60.01066899.749298
165bfsqoeq50.00889099.758188
166cmpdgtui50.00889099.767078
167cmpdleu50.00889099.775968
168cnttz50.00889099.784858
169fcvtiw2sd50.00889099.793748
170fmaddsq50.00889099.802639
171moduw50.00889099.811529
172addwz40.00711299.818641
173bfsqune40.00711299.825753
174cmpdeqi40.00711299.832865
175divu40.00711299.839977
176fcvtiw2ss40.00711299.847089
177fnegsq40.00711299.854201
178sraw40.00711299.861314
179srlqi40.00711299.868426
180subsub40.00711299.875538
181maxu30.00533499.880872
182srpi30.00533499.886206
183cmpdltui20.00355699.889762
184fcmpsqole20.00355699.893318
185fcmpsqune20.00355699.896874
186fcvtsq2sd20.00355699.900430
187fcvtsq2ss20.00355699.903986
188fdivsq20.00355699.907542
189fdivss20.00355699.911098
190fextss2sd20.00355699.914655
191fmergesd20.00355699.918211
192fmulss20.00355699.921767
193ldaddw20.00355699.925323
194maxui20.00355699.928879
195minui20.00355699.932435
196modui20.00355699.935991
197srl20.00355699.939547
198swapw20.00355699.943103
199bfsdolt10.00177899.944881
200bfsqole10.00177899.946659
201bmall10.00177899.948437
202cmovdlt10.00177899.950215
203cmpdne10.00177899.951993
204div10.00177899.953771
205fabsss10.00177899.955549
206faddss10.00177899.957327
207fcmpsqoeq10.00177899.959105
208fcmpsqult10.00177899.960883
209fcmpsquo10.00177899.962661
210fcvtsd2ss10.00177899.964439
211fcvtsq2iw10.00177899.966217
212fcvtsq2uw10.00177899.967995
213fcvtss2iw10.00177899.969773
214fextss2sq10.00177899.971552
215fmergesq10.00177899.973330
216fnaddsq10.00177899.975108
217ldbsr10.00177899.976886
218ldord10.00177899.978664
219ldorw10.00177899.980442
220ldqx10.00177899.982220
221maxsi10.00177899.983998
222mins10.00177899.985776
223nand10.00177899.987554
224nor10.00177899.989332
225orni10.00177899.991110
226slsubf10.00177899.992888
227staw10.00177899.994666
228subfiwz10.00177899.996444
229subwz10.00177899.998222
230syscall10.001778100.000000

prepare usual stack: 16384 bytes

guest environment

guest args

argc=1
argv[0]=doomgeneric.postrisc

prepare backstore: size=16384 bytes

Start...

syscall 2002 failed and forces exit

Stop

frames: 16176
instructions per frame: 849543.083581
instructions per pixel: 13.274111
frames per second: 47.809134
core id=0
  reads                  => 0
  writes                 => 0
  complex_ops            => 0
  config_reads           => 0
  config_writes          => 0
  vendor_id              => 404
  device_id              => 16
  TimeCmp                => 00000000deadbeaf
special registers
namevalue
ip00007f3890e85690
eip00007f3890ecab30
fpcr0000000000000000 fe=vzoux rm=0
eca0000000000000000
rsc000000001b001f08 sof=8 bof=31 soc=0 ndirty=27 bod=4
rsp00007f37e4037040
bsp00007f37e4078000
psr0000000000020000 pm=0 id=0 dd=0 lp=0 tb=0 ss=0 ic=0 ib=0 pl=0 pp=0 ri=2 future=00000000000000000000000000000000
reip00007f3890ecab30
kipffffffff00000000
ksp0000000000000000
krsp0000000000000000
peb0000000000000000
teb0000000000000000
itc000000013554ecd5
itm0000000000000000
pta0000000000000000 v=0 pta=0000000000000000 pageoffset=0 nlevels=0
iva0000000000000000
iip00007f3890e85690
iipa00007f3890e85690
ipsr0000000000020000 pm=0 id=0 dd=0 lp=0 tb=0 ss=0 ic=0 ib=0 pl=0 pp=0 ri=2 future=00000000000000000000000000000000
cause000005c000000000 x=0 w=0 r=0 a=0 n=0 d=0 ei=0 code=0 vector=46
ifa0000000000000000
iib00103040c1000000_0408000000000000
irr00000000000000000
irr10000000000000000
irr20000000000000000
irr30000000000000000
isr00000000000000000
isr10000000000000000
isr20000000000000000
isr30000000000000000
iv0000000000000000
lid0000000000000000
tpr00000000000000ff vector=255
itcv0000000000008000 vector=0 mask=1
tsv0000000000008000 vector=0 mask=1
pmv0000000000008000 vector=0 mask=1
cmcv0000000000008000 vector=0 mask=1
general registers
namevaluenamevalue
r00000000000230401_00007f3890eca272r10000000000000000_00000000000007d2
r20000000000000000_00007f38743b5960r30000000000000000_0000000000000140
r40000000000000000_00000000000000c8r50000000000000000_00007f3890f68c10
r60000000000000000_0000000000000000r70000000000000000_0000000000000000
r80000000000214402_00007f3890eca2e0r90000000000000000_00000000000529ba
r100000000000000000_0000000000000000r110000000000000000_0000000000000000
r120000000000000000_0000000000000000r130000000000000000_0000000000000000
r140000000000000000_0000000000000000r150000000000000000_0000000000000000
r160000000000000000_0000000000000043r17000000000f7e8107_00007f3890e8cb92
r180000000000000000_0000000000000063r190000000000000000_0000000000000001
r200000000000000000_0000000000000063r210000000000000000_00007f3890f2f5e8
r220000000000000000_0000000000000004r230000000000000000_0000000000000520
r240000000000000000_0000000000000040r250000000000000000_0000000000000004
r260000000000000000_00007f3890f2f1dar270000000000000000_00007f3890f156e0
r280000000000000000_00007f3890f2f5e8r290000000000000000_00007f3890f2f5f8
r300000000000000000_00007f3890f2f604r310000000000000000_00007f3890f2f610
r320000000000000000_00007f3890f2f60cr330000000000000000_00007f3890f2f608
r340000000000000000_00007f3890f2f60ar350000000000000000_00007f3890f2f5f8
r360000000000000000_00007f3890f30b1cr370000000000000000_0000000000000000
r380000000000000000_0000000000000000r390000000000000000_0000000000000000
r400000000000000000_0000000000000000r41000000000e95009b_00007f3890e905f1
r420000000000000000_0000000000000080r430000000000000000_000000000000007f
r440000000000000000_0000000000000001r450000000000000000_00000000000000ff
r460000000000000000_00007f38742fae06r470000000000000000_00000000000000a7
r48ffffffffffffffff_ffffffffffffffffr490000000000000000_00000000000000cb
r500000000000000000_00007f387439d2a8r510000000000000000_00007f387438fddc
r520000000000000000_0000000000000006r530000000000000000_0000000000000000
r540000000000000000_00000000f62ff7e4r550000000003f90186_00007f3890ebacf1
r560000000000000000_0000000000000169r570000000000000000_0000000000000800
r580000000000000000_00000000f5000000r590000000000000000_00000000fb200000
r600000000000000000_00000000fa8d15e4r610000000000000000_00000000f62ff7e4
r620000000003f64186_00007f3890ebada2r630000000000000000_00000000000003dd
r640000000000000000_0000000000000800r650000000000000000_00000000f6400000
r660000000000000000_00000000fb200000r670000000000000000_00000000fa8d15e4
r680000000000000000_00000000f62ff7e4r690000000003fac186_00007f3890ebac81
r700000000000000000_00000000000000dfr710000000000000000_0000000000000800
r720000000000000000_00000000292dc940r730000000000000000_0000000020080000
r740000000000000000_0000000040100000r750000000000000000_00000000310f7e00
r760000000000000000_0000000000000001r770000000004a44188_00007f3890eb8222
r78ffffffffffffffff_ffffffffc285fa80r790000000000000000_00000000f5000000
r800000000000000000_00000000faa00000r810000000000000000_00000000fa8d15e4
r820000000000000000_00000000f62ff7e4r830000000003f64186_00007f3890ebada2
r840000000000000000_000000000000007fr850000000000000000_0000000000000800
r860000000000000000_0000000000000088r870000000000000000_0000000000000b68
r880000000000000000_00007f3890f39f40r890000000000000000_0000000020080000
r900000000000000000_0000000040100000r910000000000000000_0000000019e46341
r920000000000000000_000000003b4efb1fr930000000004a80189_00007f3890eb8132
r940000000000000000_00007f3890f36e38r950000000000000000_00007f3890f36e38
r960000000000000000_0000000000000008r970000000000000000_00007f3890f36e30
r980000000000000000_00007f3890f36e38r990000000000000000_0000000000000000
r1000000000000000000_00000000000007b6r1010000000000000000_00007f37e407bd58
r1020000000000000000_00007f37e407bd68r10300000000000f8205_00007f3890eca751
r1040000000000000000_0000000000003e3cr1050000000000000000_00007f37e407bd58
r10600000000001f4183_00007f3890eca360r1070000000000000000_0000000000000001
r10800000000001ec085_00007f3890eca381r1090000000000000000_0000000000000001
r1100000000000000000_00007f3890f2f5f8r111000000000fff0103_00007f3890e8ab72
r112000000000ffec084_00007f3890e8ab82r1130000000000000000_0000000000000001
r1140000000000000000_0000000000000000r1150000000000000000_0000000000000003
r1160000000000000000_0000000000000003r1170000000000000000_0000000000000003
r1180000000000000000_0000000000000000r1190000000000000000_00007f38743a1e58
---0000000000000000_0000000000000000---0000000000000000_00007f3890f29568
---0000000000000000_00000000000000a0---000000001013420b_00007f3890e8a660
---0000000000000000_0000000000000140---0000000000000000_00007f38743b5aa0
---00000000100a408e_00007f3890e8a8a1---00000000002d8081_00007f3890ec9fd2
g00000000000000000_0000000000000000g10000000000000000_0000000000000000
g20000000000000000_0000000000000000g30000000000000000_0000000000000000
tp0000000000000000_00007f3890f69078fp0000000000000000_00007f37e407bd50
sp0000000000000000_00007f37e407bd40gz0000000000000000_0000000000000000
cpuid
namevalue
size11
version0000000000000001
capabilities0000000000000000
L1 icache0000000080000440 rowsize=64 assoc=4 size=32768
L1 dcache0000000080000440 rowsize=64 assoc=4 size=32768
L2 dcache0000000400000840 rowsize=64 assoc=8 size=262144
L3 dcache0000002000000840 rowsize=64 assoc=8 size=2097152
L1 itlb0000000000000040 size=64
L1 dtlb0000000000000040 size=64
L2 tlb0000000000000100 size=256
PMR_MAX18
performance monitor
namevalue
bundles fetched5189725397
slots fetched15569176191
instructions issued13742208920
short instructions13702914240 99.714058%
long instructions39294680 0.285942%
shadowed instructions83878571 0.610372%
nops222043634 1.615778%
qualified nops0 0.000000%
register spills3641068
register fills3641064
code cache hits0
code cache missess0
data cache hits0
data cache missess0
code TLB hits0
code TLB misses0
data TLB hits0
data TLB misses0
backstore TLB hits0
backstore TLB misses0
Dynamic instruction frequencies: 13742208920
position instruction occurrence percent cumulative
percent
1ldbzx186681899113.58456313.584563
2addi12346885178.98464422.569206
3srliw12085595088.79450731.363713
4addiws11036528158.03111739.394830
5bwne10238368077.45030746.845137
6mov9870142817.18235554.027493
7addws9623432557.00282861.030321
8andi8976680236.53219667.562517
9stb8786975436.39415173.956667
10ldwzr4127158913.00327276.959939
11or2779606202.02267878.982617
12nop2220436341.61577880.598395
13stwr1541823491.12196281.720357
14ldbz1466747851.06733082.787688
15ldwz1319375190.96009083.747777
16sraiw1311546780.95439384.702170
17lddzr1272452800.92594585.628115
18stbx1244561140.90564986.533764
19bweq1033905180.75235787.286121
20bwle864182050.62885287.914974
21bwlt852464740.62032688.535299
22retf729197220.53062689.065925
23ldafr714176970.51969689.585621
24ldhsx659819000.48014090.065762
25bwleu611130740.44471190.510472
26subws597535210.43481790.945290
27callr544689070.39636291.341652
28lddzx515743580.37529991.716951
29jmp465365970.33864092.055591
30alloc434539100.31620892.371798
31ldwsx419866650.30553192.677329
32cmovlsb396934700.28884392.966172
33lddz391969380.28523093.251403
34stw375719840.27340693.524808
35ldwzx370676290.26973693.794544
36ldi356014300.25906694.053610
37bdeq347593390.25293994.306549
38add346271160.25197694.558525
39ldwsr340771070.24797494.806499
40bweqi307064780.22344695.029946
41cmpwlt306150370.22278195.252727
42allocsp294658200.21441895.467145
43mul292387230.21276695.679911
44stdr285313510.20761895.887529
45mulws280694430.20425796.091786
46srli270538760.19686796.288653
47slor254860780.18545896.474112
48sthx214247080.15590496.630016
49mov2198301980.14430196.774317
50bdlt195611810.14234496.916661
51sth190660350.13874197.055402
52ldax181376640.13198597.187387
53bwgei176305570.12829597.315682
54ldhzx169915930.12364597.439327
55bwlti162831510.11849097.557817
56bwltui148751830.10824497.666062
57bwnei144564200.10519797.771259
58minuw143788260.10463397.875892
59callplt143345410.10431097.980202
60muli141266270.10279798.082999
61minsw139935110.10182998.184828
62maxsw132565780.09646698.281294
63bdne125393600.09124798.372541
64std123278520.08970898.462249
65ldhz115186580.08382098.546069
66divuw108989590.07931098.625379
67slli105611290.07685298.702230
68muladd101678410.07399098.776220
69slliw96662460.07034098.846560
70ldbsx88724420.06456398.911124
71bdltu87038340.06333698.974460
72and81612490.05938899.033848
73ldbs77409500.05633099.090178
74subfiws76896900.05595799.146135
75bdleu74525430.05423199.200366
76bwltu73538350.05351399.253878
77bbci73082480.05318199.307059
78stwx70073390.05099199.358051
79cmpweqi65942200.04798599.406036
80slsrai63483650.04619699.452232
81slsrli58844640.04282099.495052
82bdgeui58037630.04223399.537286
83bbsi55913370.04068799.577973
84absdw54186230.03943199.617403
85bdnei42114310.03064699.648049
86bwgeui41850030.03045499.678503
87callri40667320.02959399.708096
88bmnone39251050.02856299.736658
89slsubws35645180.02593899.762597
90bdltui26977000.01963199.782228
91sladd26339590.01916799.801395
92ldhs22425590.01631999.817713
93bdle22162110.01612799.833840
94xor18624870.01355399.847393
95cmpweq18336790.01334399.860737
96div17462330.01270799.873444
97cmpwgti16313820.01187199.885315
98mulwsi14680500.01068399.895998
99xori14235990.01035999.906357
100ldws12675740.00922499.915581
101addadd10260040.00746699.923047
102srpiw9605890.00699099.930037
103ori8859160.00644799.936484
104sub8593290.00625399.942737
105sllw7633700.00555599.948292
106bdeqi7084960.00515699.953448
107bmany6607330.00480899.958256
108cmpwltui6490330.00472399.962979
109divw6227140.00453199.967510
110maxuw5792610.00421599.971725
111cmpwle4960270.00361099.975335
112cmovweq2971540.00216299.977497
113ldbzr2741340.00199599.979492
114cmovwlt2441280.00177699.981269
115cmpwgtui2428570.00176799.983036
116syscall2186440.00159199.984627
117ldar2061260.00150099.986127
118srlw1983360.00144399.987570
119subfi1928660.00140399.988974
120sraw1759910.00128199.990254
121srai1550310.00112899.991382
122cmpdnei1353020.00098599.992367
123bbc1198050.00087299.993239
124cmpwnei1159520.00084499.994082
125jmpt985760.00071799.994800
126slsub966400.00070399.995503
127cmpwne792370.00057799.996080
128bdlti713220.00051999.996599
129stdx709270.00051699.997115
130modw665410.00048499.997599
131slxor528410.00038599.997983
132callmi495490.00036199.998344
133mulwzi424820.00030999.998653
134cmovwle305120.00022299.998875
135cmpwlti287990.00021099.999085
136cmpwltu273470.00019999.999284
137sthr145360.00010699.999390
138stq142990.00010499.999494
139sladdws135830.00009999.999592
140ldhzr130750.00009599.999688
141cmpdeqi111990.00008199.999769
142ldhsr109990.00008099.999849
143moduw77150.00005699.999905
144addiwz68350.00005099.999955
145sll26220.00001999.999974
146cmovdeq15720.00001199.999985
147cmpdlt4140.00000399.999988
148subwz3630.00000399.999991
149minu3280.00000299.999994
150algnup2230.00000299.999995
151maxui1640.00000199.999996
152cmpdeq1250.00000199.999997
153divui930.00000199.999998
154mulsubf750.00000199.999998
155stbr350.00000099.999999
156cmpdltu320.00000099.999999
157addsub240.00000099.999999
158cmpdgtui210.00000099.999999
159cnttz210.00000099.999999
160cmpdltui180.000000100.000000
161cmpdne150.000000100.000000
162cmpdleu130.000000100.000000
163sllqi100.000000100.000000
164divu40.000000100.000000
165fence30.000000100.000000
166ldbsr30.000000100.000000
167nor30.000000100.000000
168srlqi30.000000100.000000
169ldorw20.000000100.000000
170bdgei10.000000100.000000
171bmall10.000000100.000000
172orni10.000000100.000000
profile
positionfrequencypercent cumulative
percent
address
160729763011.70192211.701922R_DrawColumn+176
260729763011.70192223.403844R_DrawColumn+192
360729763011.70192235.105767R_DrawColumn+208
460729763011.70192246.807689R_DrawColumn+224
52612411655.03381551.841504R_DrawSpan+208
62612411655.03381556.875319R_DrawSpan+224
72612411655.03381561.909133R_DrawSpan+240
82612411655.03381566.942948R_DrawSpan+256
91052126482.02732668.970274V_DrawPatch+592
101052126482.02732670.997600V_DrawPatch+608
11182373190.35141271.349012R_DrawPlanes+656
12182373190.35141271.700424R_DrawPlanes+672
13182373190.35141272.051836R_DrawPlanes+688
14182373190.35141272.403248R_DrawPlanes+704
15182373190.35141272.754660R_DrawPlanes+784
16182373190.35141273.106072R_DrawPlanes+864
17182373190.35141273.457484R_DrawPlanes+928
18112718510.21719673.674680R_DrawColumn
19112718510.21719673.891875R_DrawColumn+16
20112718510.21719674.109071R_DrawColumn+240
21110565640.21304774.322118R_RenderSegLoop+144
22110565640.21304774.535165R_RenderSegLoop+160
23110565640.21304774.748212R_RenderSegLoop+176
24110565640.21304774.961259R_RenderSegLoop+192
25110565640.21304775.174307R_RenderSegLoop+208
26110565640.21304775.387354R_RenderSegLoop+224
27110565640.21304775.600401R_RenderSegLoop+240
28110565640.21304775.813448R_RenderSegLoop+256
29110565640.21304776.026495R_RenderSegLoop+272
30110565640.21304776.239543R_RenderSegLoop+352
31110565640.21304776.452590R_RenderSegLoop+368
32110565640.21304776.665637R_RenderSegLoop+384
33110565640.21304776.878684R_RenderSegLoop+448
34110073060.21209877.090782R_DrawColumn+32
35110073060.21209877.302880R_DrawColumn+96
36110073060.21209877.514978R_DrawColumn+112
37110073060.21209877.727076R_DrawColumn+128
38110073060.21209877.939174R_DrawColumn+144
39110073060.21209878.151272R_DrawColumn+160
4099916880.19252878.343801W_CacheLumpNum+128
4197064170.18703178.530832R_RenderSegLoop+400
4293198780.17958378.710415R_GetColumn+64
4391922720.17712478.887540R_DrawVisSprite+352
4487607360.16880979.056349R_RenderSegLoop+112
4587215880.16805579.224404R_RenderSegLoop+288
4687215880.16805579.392459R_RenderSegLoop+304
4784212960.16226979.554727R_RenderSegLoop+464
4884212960.16226979.716996R_RenderSegLoop+480
4984212960.16226979.879265R_RenderSegLoop+496
5084212960.16226980.041533R_RenderSegLoop+512
5184212960.16226980.203802R_RenderSegLoop+528
5284212960.16226980.366071R_RenderSegLoop+544
5384212960.16226980.528339R_RenderSegLoop+560
5484212960.16226980.690608R_RenderSegLoop+576
5579345860.15289080.843498R_GetColumn
5679345860.15289080.996388R_GetColumn+16
5779345860.15289081.149279R_GetColumn+32
5879345860.15289081.302169R_GetColumn+48
5966761960.12864381.430811R_RenderSegLoop+608
6066761960.12864381.559454R_RenderSegLoop+800
6166761960.12864381.688097R_RenderSegLoop+1008
6258669700.11305081.801146R_DrawMaskedColumn+48
6358669700.11305081.914196R_DrawMaskedColumn+64
6458669700.11305082.027246R_DrawMaskedColumn+80
6558669700.11305082.140296R_DrawMaskedColumn+96
6658669700.11305082.253345R_DrawMaskedColumn+112
6758669700.11305082.366395R_DrawMaskedColumn+128
6858669700.11305082.479445R_DrawMaskedColumn+144
6958669700.11305082.592494R_DrawMaskedColumn+176
7058669700.11305082.705544R_DrawMaskedColumn+192
7158669700.11305082.818594R_DrawMaskedColumn+208
7258547340.11281482.931408R_MapPlane+480
7358116940.11198583.043392R_RenderSegLoop+992
7457330270.11046983.153861R_RenderSegLoop+416
7557330270.11046983.264330R_RenderSegLoop+432
7657241400.11029883.374628P_Ticker+224
7752988530.10210383.476730R_RenderSegLoop+976
7851752660.09972183.576452R_DrawFuzzColumn+192
7951752660.09972183.676173R_DrawFuzzColumn+208
8051752660.09972183.775894R_DrawFuzzColumn+224
8151752660.09972183.875616R_DrawFuzzColumn+240
8251752660.09972183.975337R_DrawFuzzColumn+256
8351311990.09887284.074209Z_ChangeTag2
8451311990.09887284.173082Z_ChangeTag2+16
8551311990.09887284.271954Z_ChangeTag2+48
8651311990.09887284.370826Z_ChangeTag2+64
8749967100.09628184.467107W_CacheLumpNum
8849967100.09628184.563388W_CacheLumpNum+32
8949967100.09628184.659669W_CacheLumpNum+48
9049967100.09628184.755950W_CacheLumpNum+64
9149967100.09628184.852230W_CacheLumpNum+96
9249958440.09626484.948494W_CacheLumpNum+112
9347146270.09084585.039340V_DrawPatch+528
9447146270.09084585.130185V_DrawPatch+544
9547146270.09084585.221031V_DrawPatch+560
9647146270.09084585.311876V_DrawPatch+576
9747146270.09084585.402721V_DrawPatch+624
9847139200.09083285.493553R_ClearPlanes+64
9947139200.09083285.584385R_ClearPlanes+80
10046662100.08991285.674298R_DrawPlanes+752
10146437270.08947985.763777R_DrawMaskedColumn
10246437270.08947985.853256R_DrawMaskedColumn+16
10346437270.08947985.942735R_DrawMaskedColumn+272
10446324760.08926286.031998R_DrawMaskedColumn+32
10546318180.08925086.121247R_DrawSprite+144
10646318180.08925086.210497R_DrawSprite+160
10746318180.08925086.299747R_DrawSprite+176
10845961360.08856286.388309R_DrawVisSprite+304
10945961360.08856286.476871R_DrawVisSprite+320
11045961360.08856286.565434R_DrawVisSprite+336
11145961360.08856286.653996R_DrawVisSprite+368
11245961360.08856286.742558R_DrawVisSprite+384
11345961360.08856286.831120R_DrawVisSprite+400
11445961360.08856286.919683R_DrawVisSprite+416
11545961360.08856287.008245R_DrawVisSprite+432
11645881000.08840787.096652R_RenderSegLoop+688
11744096260.08496887.181621R_RenderSegLoop+784
11844090970.08495887.266579R_CheckPlane+64
11943916440.08462287.351201R_CheckPlane+80
12043803680.08440587.435605R_RenderSegLoop+80
12143803680.08440587.520010R_RenderSegLoop+96
12243803680.08440587.604414R_RenderSegLoop+128
12342042720.08101187.685426R_RenderSegLoop+960
12440612190.07825587.763681R_RenderSegLoop+896
12538832400.07482687.838506V_DrawPatch+432
12638832400.07482687.913332V_DrawPatch+448
12738832400.07482687.988158V_DrawPatch+464
12838832400.07482688.062983V_DrawPatch+480
12938832400.07482688.137809V_DrawPatch+496
13037279550.07183388.209642P_DivlineSide
13135703170.06879688.278438R_RenderSegLoop+320
13235703170.06879688.347234R_RenderSegLoop+336
13335232350.06788988.415122R_RenderSegLoop+768
13435201780.06783088.482952R_DrawMaskedColumn+224
13535201780.06783088.550782R_DrawMaskedColumn+240
13635201780.06783088.618612R_DrawMaskedColumn+256
13734269860.06603488.684646R_DrawMaskedColumn+160
13832746470.06309988.747744R_GetColumn+80
13932746470.06309988.810843R_GetColumn+96
14032727130.06306188.873904R_DrawSprite+64
14132727130.06306188.936966R_DrawSprite+80
14232727130.06306189.000027R_DrawSprite+96
14332727130.06306189.063089R_DrawSprite+928
14432727130.06306189.126150R_DrawSprite+944
14532727130.06306189.189211R_DrawSprite+960
14632727130.06306189.252273R_DrawSprite+992
14731967170.06159789.313870R_RenderSegLoop+912
14829273670.05640789.370277R_DrawSpan
14929273670.05640789.426684R_DrawSpan+16
15029273670.05640789.483091R_DrawSpan+32
15129273670.05640789.539498R_DrawSpan+96
15229273670.05640789.595905R_DrawSpan+112
15329273670.05640789.652312R_DrawSpan+128
15429273670.05640789.708719R_DrawSpan+144
15529273670.05640789.765126R_DrawSpan+160
15629273670.05640789.821533R_DrawSpan+176
15729273670.05640789.877940R_DrawSpan+192
15829273670.05640789.934347R_DrawSpan+272
15929273670.05640789.990753R_MapPlane
16029273670.05640790.047160R_MapPlane+16
16129273670.05640790.103567R_MapPlane+32
16229273670.05640790.159974R_MapPlane+80
16329273670.05640790.216381R_MapPlane+96
16429273670.05640790.272788R_MapPlane+272
16529273670.05640790.329195R_MapPlane+288
16629273670.05640790.385602R_MapPlane+304
16729273670.05640790.442009R_MapPlane+320
16829273670.05640790.498416R_MapPlane+336
16929273670.05640790.554823R_MapPlane+352
17029273670.05640790.611230R_MapPlane+368
17129273670.05640790.667637R_MapPlane+384
17229273670.05640790.724044R_MapPlane+400
17329273670.05640790.780451R_MapPlane+416
17429273670.05640790.836858R_MapPlane+432
17529273670.05640790.893265R_MapPlane+448
17629273670.05640790.949672R_MapPlane+464
17728937630.05575991.005431P_DivlineSide+16
17828634010.05517491.060606P_Ticker+240
17928634010.05517491.115780P_Ticker+256
18028440160.05480191.170581R_PointInSubsector+64
18127645800.05327091.223851R_DrawSprite+192
18227004130.05203491.275885P_MobjThinker
18327004130.05203491.327919P_MobjThinker+80
18427004130.05203491.379953P_MobjThinker+144
18526856460.05174991.431702P_MobjThinker+96
18626832010.05170291.483404P_MobjThinker+16
18726831730.05170291.535106P_MobjThinker+32
18826352680.05077991.585885R_RenderSegLoop+592
18926149770.05038891.636272R_RenderSegLoop+816
19026149770.05038891.686660R_RenderSegLoop+832
19126149770.05038891.737047R_RenderSegLoop+848
19226149770.05038891.787435R_RenderSegLoop+864
19325382400.04890991.836344wipe_doMelt+368
19425382400.04890991.885253wipe_doMelt+384
19524532030.04727091.932523P_MobjThinker+176
19624300810.04682591.979348R_PointToAngle
19724300810.04682592.026173R_PointToAngle+16
19824300740.04682592.072998R_PointToAngle+48
19924300740.04682592.119822SlopeDiv
20024300720.04682592.166647SlopeDiv+32