timers.c.081i.comdats 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352
  1. vTimerSetTimerNumber (struct tmrTimerControl * xTimer, UBaseType_t uxTimerNumber)
  2. {
  3. <bb 2> :
  4. MEM[(struct Timer_t *)xTimer_2(D)].uxTimerNumber = uxTimerNumber_3(D);
  5. return;
  6. }
  7. uxTimerGetTimerNumber (struct tmrTimerControl * xTimer)
  8. {
  9. UBaseType_t D.6791;
  10. UBaseType_t _3;
  11. <bb 2> :
  12. _3 = MEM[(struct Timer_t *)xTimer_2(D)].uxTimerNumber;
  13. <bb 3> :
  14. <L0>:
  15. return _3;
  16. }
  17. xTimerPendFunctionCall (void (*PendedFunction_t) (void *, uint32_t) xFunctionToPend, void * pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait)
  18. {
  19. uint32_t ulNewBASEPRI;
  20. BaseType_t xReturn;
  21. struct DaemonTaskMessage_t xMessage;
  22. BaseType_t D.6788;
  23. struct QueueDefinition * xTimerQueue.26_1;
  24. struct QueueDefinition * xTimerQueue.27_2;
  25. BaseType_t _14;
  26. <bb 2> :
  27. xTimerQueue.26_1 = xTimerQueue;
  28. if (xTimerQueue.26_1 == 0B)
  29. goto <bb 3>; [INV]
  30. else
  31. goto <bb 6>; [INV]
  32. <bb 3> :
  33. __asm__ __volatile__(" mov %0, %1
  34. msr basepri, %0
  35. isb
  36. dsb
  37. " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
  38. <bb 4> :
  39. <bb 5> :
  40. goto <bb 5>; [INV]
  41. <bb 6> :
  42. xMessage.xMessageID = -1;
  43. xMessage.u.xCallbackParameters.pxCallbackFunction = xFunctionToPend_5(D);
  44. xMessage.u.xCallbackParameters.pvParameter1 = pvParameter1_7(D);
  45. xMessage.u.xCallbackParameters.ulParameter2 = ulParameter2_9(D);
  46. xTimerQueue.27_2 = xTimerQueue;
  47. xReturn_13 = xQueueGenericSend (xTimerQueue.27_2, &xMessage, xTicksToWait_11(D), 0);
  48. _14 = xReturn_13;
  49. xMessage ={v} {CLOBBER};
  50. <bb 7> :
  51. <L4>:
  52. return _14;
  53. }
  54. xTimerPendFunctionCallFromISR (void (*PendedFunction_t) (void *, uint32_t) xFunctionToPend, void * pvParameter1, uint32_t ulParameter2, BaseType_t * pxHigherPriorityTaskWoken)
  55. {
  56. BaseType_t xReturn;
  57. struct DaemonTaskMessage_t xMessage;
  58. BaseType_t D.6783;
  59. struct QueueDefinition * xTimerQueue.25_1;
  60. BaseType_t _13;
  61. <bb 2> :
  62. xMessage.xMessageID = -2;
  63. xMessage.u.xCallbackParameters.pxCallbackFunction = xFunctionToPend_4(D);
  64. xMessage.u.xCallbackParameters.pvParameter1 = pvParameter1_6(D);
  65. xMessage.u.xCallbackParameters.ulParameter2 = ulParameter2_8(D);
  66. xTimerQueue.25_1 = xTimerQueue;
  67. xReturn_12 = xQueueGenericSendFromISR (xTimerQueue.25_1, &xMessage, pxHigherPriorityTaskWoken_10(D), 0);
  68. _13 = xReturn_12;
  69. xMessage ={v} {CLOBBER};
  70. <bb 3> :
  71. <L1>:
  72. return _13;
  73. }
  74. vTimerSetTimerID (struct tmrTimerControl * xTimer, void * pvNewID)
  75. {
  76. uint32_t ulNewBASEPRI;
  77. struct Timer_t * const pxTimer;
  78. <bb 2> :
  79. pxTimer_2 = xTimer_1(D);
  80. if (xTimer_1(D) == 0B)
  81. goto <bb 3>; [INV]
  82. else
  83. goto <bb 6>; [INV]
  84. <bb 3> :
  85. __asm__ __volatile__(" mov %0, %1
  86. msr basepri, %0
  87. isb
  88. dsb
  89. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  90. <bb 4> :
  91. <bb 5> :
  92. goto <bb 5>; [INV]
  93. <bb 6> :
  94. vPortEnterCritical ();
  95. pxTimer_2->pvTimerID = pvNewID_5(D);
  96. vPortExitCritical ();
  97. return;
  98. }
  99. pvTimerGetTimerID (struct tmrTimerControl * const xTimer)
  100. {
  101. uint32_t ulNewBASEPRI;
  102. void * pvReturn;
  103. struct Timer_t * const pxTimer;
  104. void * D.6779;
  105. void * _7;
  106. <bb 2> :
  107. pxTimer_2 = xTimer_1(D);
  108. if (xTimer_1(D) == 0B)
  109. goto <bb 3>; [INV]
  110. else
  111. goto <bb 6>; [INV]
  112. <bb 3> :
  113. __asm__ __volatile__(" mov %0, %1
  114. msr basepri, %0
  115. isb
  116. dsb
  117. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  118. <bb 4> :
  119. <bb 5> :
  120. goto <bb 5>; [INV]
  121. <bb 6> :
  122. vPortEnterCritical ();
  123. pvReturn_5 = pxTimer_2->pvTimerID;
  124. vPortExitCritical ();
  125. _7 = pvReturn_5;
  126. <bb 7> :
  127. <L3>:
  128. return _7;
  129. }
  130. xTimerIsTimerActive (struct tmrTimerControl * xTimer)
  131. {
  132. uint32_t ulNewBASEPRI;
  133. struct Timer_t * pxTimer;
  134. BaseType_t xReturn;
  135. BaseType_t D.6775;
  136. unsigned char _1;
  137. int _2;
  138. int _3;
  139. BaseType_t _12;
  140. <bb 2> :
  141. pxTimer_6 = xTimer_5(D);
  142. if (xTimer_5(D) == 0B)
  143. goto <bb 3>; [INV]
  144. else
  145. goto <bb 6>; [INV]
  146. <bb 3> :
  147. __asm__ __volatile__(" mov %0, %1
  148. msr basepri, %0
  149. isb
  150. dsb
  151. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  152. <bb 4> :
  153. <bb 5> :
  154. goto <bb 5>; [INV]
  155. <bb 6> :
  156. vPortEnterCritical ();
  157. _1 = pxTimer_6->ucStatus;
  158. _2 = (int) _1;
  159. _3 = _2 & 1;
  160. if (_3 == 0)
  161. goto <bb 7>; [INV]
  162. else
  163. goto <bb 8>; [INV]
  164. <bb 7> :
  165. xReturn_10 = 0;
  166. goto <bb 9>; [INV]
  167. <bb 8> :
  168. xReturn_9 = 1;
  169. <bb 9> :
  170. # xReturn_4 = PHI <xReturn_10(7), xReturn_9(8)>
  171. vPortExitCritical ();
  172. _12 = xReturn_4;
  173. <bb 10> :
  174. <L6>:
  175. return _12;
  176. }
  177. prvCheckForValidListAndQueue ()
  178. {
  179. struct QueueDefinition * xTimerQueue.22_1;
  180. struct QueueDefinition * _2;
  181. struct QueueDefinition * xTimerQueue.23_3;
  182. struct QueueDefinition * xTimerQueue.24_4;
  183. <bb 2> :
  184. vPortEnterCritical ();
  185. xTimerQueue.22_1 = xTimerQueue;
  186. if (xTimerQueue.22_1 == 0B)
  187. goto <bb 3>; [INV]
  188. else
  189. goto <bb 5>; [INV]
  190. <bb 3> :
  191. vListInitialise (&xActiveTimerList1);
  192. vListInitialise (&xActiveTimerList2);
  193. pxCurrentTimerList = &xActiveTimerList1;
  194. pxOverflowTimerList = &xActiveTimerList2;
  195. _2 = xQueueGenericCreate (10, 16, 0);
  196. xTimerQueue = _2;
  197. xTimerQueue.23_3 = xTimerQueue;
  198. if (xTimerQueue.23_3 != 0B)
  199. goto <bb 4>; [INV]
  200. else
  201. goto <bb 5>; [INV]
  202. <bb 4> :
  203. xTimerQueue.24_4 = xTimerQueue;
  204. vQueueAddToRegistry (xTimerQueue.24_4, "TmrQ");
  205. <bb 5> :
  206. vPortExitCritical ();
  207. return;
  208. }
  209. prvSwitchTimerLists ()
  210. {
  211. struct List_t * pxTemp;
  212. TickType_t xNextExpireTime;
  213. struct List_t * pxCurrentTimerList.19_1;
  214. struct xLIST_ITEM * _2;
  215. struct List_t * pxCurrentTimerList.20_3;
  216. long unsigned int _4;
  217. struct List_t * pxOverflowTimerList.21_5;
  218. <bb 2> :
  219. goto <bb 4>; [INV]
  220. <bb 3> :
  221. pxCurrentTimerList.19_1 = pxCurrentTimerList;
  222. _2 = pxCurrentTimerList.19_1->xListEnd.pxNext;
  223. xNextExpireTime_11 = _2->xItemValue;
  224. prvProcessExpiredTimer (xNextExpireTime_11, 4294967295);
  225. <bb 4> :
  226. pxCurrentTimerList.20_3 = pxCurrentTimerList;
  227. _4 ={v} pxCurrentTimerList.20_3->uxNumberOfItems;
  228. if (_4 != 0)
  229. goto <bb 3>; [INV]
  230. else
  231. goto <bb 5>; [INV]
  232. <bb 5> :
  233. pxTemp_8 = pxCurrentTimerList;
  234. pxOverflowTimerList.21_5 = pxOverflowTimerList;
  235. pxCurrentTimerList = pxOverflowTimerList.21_5;
  236. pxOverflowTimerList = pxTemp_8;
  237. return;
  238. }
  239. prvProcessReceivedCommands ()
  240. {
  241. uint32_t ulNewBASEPRI;
  242. uint32_t ulNewBASEPRI;
  243. const struct CallbackParameters_t * const pxCallback;
  244. TickType_t xTimeNow;
  245. BaseType_t xTimerListsWereSwitched;
  246. struct Timer_t * pxTimer;
  247. struct DaemonTaskMessage_t xMessage;
  248. long int _1;
  249. void (*<T68e>) (void *, uint32_t) _2;
  250. void * _3;
  251. long unsigned int _4;
  252. long int _5;
  253. struct xLIST * _6;
  254. struct ListItem_t * _7;
  255. long int _8;
  256. unsigned char _9;
  257. unsigned char _10;
  258. long unsigned int _11;
  259. long unsigned int _12;
  260. long unsigned int _13;
  261. long unsigned int _14;
  262. long int _15;
  263. unsigned char _16;
  264. int _17;
  265. int _18;
  266. long unsigned int _19;
  267. long unsigned int _20;
  268. long unsigned int _21;
  269. unsigned char _22;
  270. unsigned char _23;
  271. void (*<T689>) (struct tmrTimerControl *) _24;
  272. unsigned char _25;
  273. unsigned char _26;
  274. unsigned char _27;
  275. unsigned char _28;
  276. long unsigned int _29;
  277. long unsigned int _30;
  278. long unsigned int _31;
  279. long unsigned int _32;
  280. unsigned char _33;
  281. int _34;
  282. int _35;
  283. unsigned char _36;
  284. unsigned char _37;
  285. struct QueueDefinition * xTimerQueue.18_38;
  286. long int _39;
  287. <bb 2> :
  288. goto <bb 30>; [INV]
  289. <bb 3> :
  290. _1 = xMessage.xMessageID;
  291. if (_1 < 0)
  292. goto <bb 4>; [INV]
  293. else
  294. goto <bb 9>; [INV]
  295. <bb 4> :
  296. pxCallback_50 = &xMessage.u.xCallbackParameters;
  297. if (pxCallback_50 == 0B)
  298. goto <bb 5>; [INV]
  299. else
  300. goto <bb 8>; [INV]
  301. <bb 5> :
  302. __asm__ __volatile__(" mov %0, %1
  303. msr basepri, %0
  304. isb
  305. dsb
  306. " : "=r" ulNewBASEPRI_67 : "i" 16 : "memory");
  307. <bb 6> :
  308. <bb 7> :
  309. goto <bb 7>; [INV]
  310. <bb 8> :
  311. _2 = pxCallback_50->pxCallbackFunction;
  312. _3 = pxCallback_50->pvParameter1;
  313. _4 = pxCallback_50->ulParameter2;
  314. _2 (_3, _4);
  315. <bb 9> :
  316. _5 = xMessage.xMessageID;
  317. if (_5 >= 0)
  318. goto <bb 10>; [INV]
  319. else
  320. goto <bb 30>; [INV]
  321. <bb 10> :
  322. pxTimer_52 = xMessage.u.xTimerParameters.pxTimer;
  323. _6 = pxTimer_52->xTimerListItem.pvContainer;
  324. if (_6 != 0B)
  325. goto <bb 11>; [INV]
  326. else
  327. goto <bb 12>; [INV]
  328. <bb 11> :
  329. _7 = &pxTimer_52->xTimerListItem;
  330. uxListRemove (_7);
  331. <bb 12> :
  332. xTimeNow_55 = prvSampleTimeNow (&xTimerListsWereSwitched);
  333. _8 = xMessage.xMessageID;
  334. switch (_8) <default: <L32> [INV], case 1 ... 2: <L11> [INV], case 3: <L21> [INV], case 4: <L23> [INV], case 5: <L28> [INV], case 6 ... 7: <L11> [INV], case 8: <L21> [INV], case 9: <L23> [INV]>
  335. <bb 13> :
  336. <L11>:
  337. _9 = pxTimer_52->ucStatus;
  338. _10 = _9 | 1;
  339. pxTimer_52->ucStatus = _10;
  340. _11 = xMessage.u.xTimerParameters.xMessageValue;
  341. _12 = pxTimer_52->xTimerPeriodInTicks;
  342. _13 = _11 + _12;
  343. _14 = xMessage.u.xTimerParameters.xMessageValue;
  344. _15 = prvInsertTimerInActiveList (pxTimer_52, _13, xTimeNow_55, _14);
  345. if (_15 != 0)
  346. goto <bb 14>; [INV]
  347. else
  348. goto <bb 18>; [INV]
  349. <bb 14> :
  350. _16 = pxTimer_52->ucStatus;
  351. _17 = (int) _16;
  352. _18 = _17 & 4;
  353. if (_18 != 0)
  354. goto <bb 15>; [INV]
  355. else
  356. goto <bb 16>; [INV]
  357. <bb 15> :
  358. _19 = xMessage.u.xTimerParameters.xMessageValue;
  359. _20 = pxTimer_52->xTimerPeriodInTicks;
  360. _21 = _19 + _20;
  361. prvReloadTimer (pxTimer_52, _21, xTimeNow_55);
  362. goto <bb 17>; [INV]
  363. <bb 16> :
  364. _22 = pxTimer_52->ucStatus;
  365. _23 = _22 & 254;
  366. pxTimer_52->ucStatus = _23;
  367. <bb 17> :
  368. _24 = pxTimer_52->pxCallbackFunction;
  369. _24 (pxTimer_52);
  370. <bb 18> :
  371. goto <bb 30>; [INV]
  372. <bb 19> :
  373. <L21>:
  374. _25 = pxTimer_52->ucStatus;
  375. _26 = _25 & 254;
  376. pxTimer_52->ucStatus = _26;
  377. goto <bb 30>; [INV]
  378. <bb 20> :
  379. <L23>:
  380. _27 = pxTimer_52->ucStatus;
  381. _28 = _27 | 1;
  382. pxTimer_52->ucStatus = _28;
  383. _29 = xMessage.u.xTimerParameters.xMessageValue;
  384. pxTimer_52->xTimerPeriodInTicks = _29;
  385. _30 = pxTimer_52->xTimerPeriodInTicks;
  386. if (_30 == 0)
  387. goto <bb 21>; [INV]
  388. else
  389. goto <bb 24>; [INV]
  390. <bb 21> :
  391. __asm__ __volatile__(" mov %0, %1
  392. msr basepri, %0
  393. isb
  394. dsb
  395. " : "=r" ulNewBASEPRI_68 : "i" 16 : "memory");
  396. <bb 22> :
  397. <bb 23> :
  398. goto <bb 23>; [INV]
  399. <bb 24> :
  400. _31 = pxTimer_52->xTimerPeriodInTicks;
  401. _32 = xTimeNow_55 + _31;
  402. prvInsertTimerInActiveList (pxTimer_52, _32, xTimeNow_55, xTimeNow_55);
  403. goto <bb 30>; [INV]
  404. <bb 25> :
  405. <L28>:
  406. _33 = pxTimer_52->ucStatus;
  407. _34 = (int) _33;
  408. _35 = _34 & 2;
  409. if (_35 == 0)
  410. goto <bb 26>; [INV]
  411. else
  412. goto <bb 27>; [INV]
  413. <bb 26> :
  414. vPortFree (pxTimer_52);
  415. goto <bb 28>; [INV]
  416. <bb 27> :
  417. _36 = pxTimer_52->ucStatus;
  418. _37 = _36 & 254;
  419. pxTimer_52->ucStatus = _37;
  420. <bb 28> :
  421. goto <bb 30>; [INV]
  422. <bb 29> :
  423. <L32>:
  424. <bb 30> :
  425. xTimerQueue.18_38 = xTimerQueue;
  426. _39 = xQueueReceive (xTimerQueue.18_38, &xMessage, 0);
  427. if (_39 != 0)
  428. goto <bb 3>; [INV]
  429. else
  430. goto <bb 31>; [INV]
  431. <bb 31> :
  432. xMessage ={v} {CLOBBER};
  433. xTimerListsWereSwitched ={v} {CLOBBER};
  434. return;
  435. }
  436. prvInsertTimerInActiveList (struct Timer_t * const pxTimer, const TickType_t xNextExpiryTime, const TickType_t xTimeNow, const TickType_t xCommandTime)
  437. {
  438. BaseType_t xProcessTimerNow;
  439. BaseType_t D.6741;
  440. long unsigned int _1;
  441. long unsigned int _2;
  442. struct List_t * pxOverflowTimerList.16_3;
  443. struct ListItem_t * _4;
  444. struct List_t * pxCurrentTimerList.17_5;
  445. struct ListItem_t * _6;
  446. BaseType_t _21;
  447. <bb 2> :
  448. xProcessTimerNow_9 = 0;
  449. pxTimer_11(D)->xTimerListItem.xItemValue = xNextExpiryTime_12(D);
  450. pxTimer_11(D)->xTimerListItem.pvOwner = pxTimer_11(D);
  451. if (xNextExpiryTime_12(D) <= xTimeNow_15(D))
  452. goto <bb 3>; [INV]
  453. else
  454. goto <bb 6>; [INV]
  455. <bb 3> :
  456. _1 = xTimeNow_15(D) - xCommandTime_16(D);
  457. _2 = pxTimer_11(D)->xTimerPeriodInTicks;
  458. if (_1 >= _2)
  459. goto <bb 4>; [INV]
  460. else
  461. goto <bb 5>; [INV]
  462. <bb 4> :
  463. xProcessTimerNow_20 = 1;
  464. goto <bb 10>; [INV]
  465. <bb 5> :
  466. pxOverflowTimerList.16_3 = pxOverflowTimerList;
  467. _4 = &pxTimer_11(D)->xTimerListItem;
  468. vListInsert (pxOverflowTimerList.16_3, _4);
  469. goto <bb 10>; [INV]
  470. <bb 6> :
  471. if (xTimeNow_15(D) < xCommandTime_16(D))
  472. goto <bb 7>; [INV]
  473. else
  474. goto <bb 9>; [INV]
  475. <bb 7> :
  476. if (xNextExpiryTime_12(D) >= xCommandTime_16(D))
  477. goto <bb 8>; [INV]
  478. else
  479. goto <bb 9>; [INV]
  480. <bb 8> :
  481. xProcessTimerNow_17 = 1;
  482. goto <bb 10>; [INV]
  483. <bb 9> :
  484. pxCurrentTimerList.17_5 = pxCurrentTimerList;
  485. _6 = &pxTimer_11(D)->xTimerListItem;
  486. vListInsert (pxCurrentTimerList.17_5, _6);
  487. <bb 10> :
  488. # xProcessTimerNow_7 = PHI <xProcessTimerNow_9(5), xProcessTimerNow_17(8), xProcessTimerNow_9(9), xProcessTimerNow_20(4)>
  489. _21 = xProcessTimerNow_7;
  490. <bb 11> :
  491. <L10>:
  492. return _21;
  493. }
  494. prvSampleTimeNow (BaseType_t * const pxTimerListsWereSwitched)
  495. {
  496. static TickType_t xLastTime = 0;
  497. TickType_t xTimeNow;
  498. TickType_t D.6729;
  499. long unsigned int xLastTime.15_1;
  500. TickType_t _11;
  501. <bb 2> :
  502. xTimeNow_5 = xTaskGetTickCount ();
  503. xLastTime.15_1 = xLastTime;
  504. if (xTimeNow_5 < xLastTime.15_1)
  505. goto <bb 3>; [INV]
  506. else
  507. goto <bb 4>; [INV]
  508. <bb 3> :
  509. prvSwitchTimerLists ();
  510. *pxTimerListsWereSwitched_6(D) = 1;
  511. goto <bb 5>; [INV]
  512. <bb 4> :
  513. *pxTimerListsWereSwitched_6(D) = 0;
  514. <bb 5> :
  515. xLastTime = xTimeNow_5;
  516. _11 = xTimeNow_5;
  517. <bb 6> :
  518. <L3>:
  519. return _11;
  520. }
  521. prvGetNextExpireTime (BaseType_t * const pxListWasEmpty)
  522. {
  523. TickType_t xNextExpireTime;
  524. TickType_t D.6724;
  525. long int iftmp.12;
  526. struct List_t * pxCurrentTimerList.13_1;
  527. long unsigned int _2;
  528. long int _3;
  529. struct List_t * pxCurrentTimerList.14_4;
  530. struct xLIST_ITEM * _5;
  531. long int iftmp.12_7;
  532. long int iftmp.12_9;
  533. long int iftmp.12_10;
  534. TickType_t _15;
  535. <bb 2> :
  536. pxCurrentTimerList.13_1 = pxCurrentTimerList;
  537. _2 ={v} pxCurrentTimerList.13_1->uxNumberOfItems;
  538. if (_2 == 0)
  539. goto <bb 3>; [INV]
  540. else
  541. goto <bb 4>; [INV]
  542. <bb 3> :
  543. iftmp.12_10 = 1;
  544. goto <bb 5>; [INV]
  545. <bb 4> :
  546. iftmp.12_9 = 0;
  547. <bb 5> :
  548. # iftmp.12_7 = PHI <iftmp.12_10(3), iftmp.12_9(4)>
  549. *pxListWasEmpty_11(D) = iftmp.12_7;
  550. _3 = *pxListWasEmpty_11(D);
  551. if (_3 == 0)
  552. goto <bb 6>; [INV]
  553. else
  554. goto <bb 7>; [INV]
  555. <bb 6> :
  556. pxCurrentTimerList.14_4 = pxCurrentTimerList;
  557. _5 = pxCurrentTimerList.14_4->xListEnd.pxNext;
  558. xNextExpireTime_14 = _5->xItemValue;
  559. goto <bb 8>; [INV]
  560. <bb 7> :
  561. xNextExpireTime_13 = 0;
  562. <bb 8> :
  563. # xNextExpireTime_6 = PHI <xNextExpireTime_14(6), xNextExpireTime_13(7)>
  564. _15 = xNextExpireTime_6;
  565. <bb 9> :
  566. <L6>:
  567. return _15;
  568. }
  569. prvProcessTimerOrBlockTask (const TickType_t xNextExpireTime, BaseType_t xListWasEmpty)
  570. {
  571. BaseType_t xTimerListsWereSwitched;
  572. TickType_t xTimeNow;
  573. long int iftmp.9;
  574. long int xTimerListsWereSwitched.8_1;
  575. struct List_t * pxOverflowTimerList.10_2;
  576. long unsigned int _3;
  577. struct QueueDefinition * xTimerQueue.11_4;
  578. long unsigned int _5;
  579. long int _6;
  580. volatile uint32_t * _7;
  581. long int iftmp.9_9;
  582. long int iftmp.9_21;
  583. long int iftmp.9_22;
  584. <bb 2> :
  585. vTaskSuspendAll ();
  586. xTimeNow_15 = prvSampleTimeNow (&xTimerListsWereSwitched);
  587. xTimerListsWereSwitched.8_1 = xTimerListsWereSwitched;
  588. if (xTimerListsWereSwitched.8_1 == 0)
  589. goto <bb 3>; [INV]
  590. else
  591. goto <bb 14>; [INV]
  592. <bb 3> :
  593. if (xListWasEmpty_17(D) == 0)
  594. goto <bb 4>; [INV]
  595. else
  596. goto <bb 6>; [INV]
  597. <bb 4> :
  598. if (xNextExpireTime_18(D) <= xTimeNow_15)
  599. goto <bb 5>; [INV]
  600. else
  601. goto <bb 6>; [INV]
  602. <bb 5> :
  603. xTaskResumeAll ();
  604. prvProcessExpiredTimer (xNextExpireTime_18(D), xTimeNow_15);
  605. goto <bb 13>; [INV]
  606. <bb 6> :
  607. if (xListWasEmpty_17(D) != 0)
  608. goto <bb 7>; [INV]
  609. else
  610. goto <bb 11>; [INV]
  611. <bb 7> :
  612. pxOverflowTimerList.10_2 = pxOverflowTimerList;
  613. _3 ={v} pxOverflowTimerList.10_2->uxNumberOfItems;
  614. if (_3 == 0)
  615. goto <bb 8>; [INV]
  616. else
  617. goto <bb 9>; [INV]
  618. <bb 8> :
  619. iftmp.9_22 = 1;
  620. goto <bb 10>; [INV]
  621. <bb 9> :
  622. iftmp.9_21 = 0;
  623. <bb 10> :
  624. # iftmp.9_9 = PHI <iftmp.9_22(8), iftmp.9_21(9)>
  625. xListWasEmpty_23 = iftmp.9_9;
  626. <bb 11> :
  627. # xListWasEmpty_8 = PHI <xListWasEmpty_17(D)(6), xListWasEmpty_23(10)>
  628. xTimerQueue.11_4 = xTimerQueue;
  629. _5 = xNextExpireTime_18(D) - xTimeNow_15;
  630. vQueueWaitForMessageRestricted (xTimerQueue.11_4, _5, xListWasEmpty_8);
  631. _6 = xTaskResumeAll ();
  632. if (_6 == 0)
  633. goto <bb 12>; [INV]
  634. else
  635. goto <bb 13>; [INV]
  636. <bb 12> :
  637. _7 = 3758157060B;
  638. *_7 ={v} 268435456;
  639. __asm__ __volatile__("dsb" : : : "memory");
  640. __asm__ __volatile__("isb");
  641. <bb 13> :
  642. goto <bb 15>; [INV]
  643. <bb 14> :
  644. xTaskResumeAll ();
  645. <bb 15> :
  646. xTimerListsWereSwitched ={v} {CLOBBER};
  647. return;
  648. }
  649. prvTimerTask (void * pvParameters)
  650. {
  651. BaseType_t xListWasEmpty;
  652. TickType_t xNextExpireTime;
  653. long int xListWasEmpty.7_1;
  654. <bb 2> :
  655. xNextExpireTime_5 = prvGetNextExpireTime (&xListWasEmpty);
  656. xListWasEmpty.7_1 = xListWasEmpty;
  657. prvProcessTimerOrBlockTask (xNextExpireTime_5, xListWasEmpty.7_1);
  658. prvProcessReceivedCommands ();
  659. goto <bb 2>; [INV]
  660. }
  661. prvProcessExpiredTimer (const TickType_t xNextExpireTime, const TickType_t xTimeNow)
  662. {
  663. struct Timer_t * const pxTimer;
  664. struct List_t * pxCurrentTimerList.6_1;
  665. struct xLIST_ITEM * _2;
  666. struct ListItem_t * _3;
  667. unsigned char _4;
  668. int _5;
  669. int _6;
  670. unsigned char _7;
  671. unsigned char _8;
  672. void (*<T689>) (struct tmrTimerControl *) _9;
  673. <bb 2> :
  674. pxCurrentTimerList.6_1 = pxCurrentTimerList;
  675. _2 = pxCurrentTimerList.6_1->xListEnd.pxNext;
  676. pxTimer_12 = _2->pvOwner;
  677. _3 = &pxTimer_12->xTimerListItem;
  678. uxListRemove (_3);
  679. _4 = pxTimer_12->ucStatus;
  680. _5 = (int) _4;
  681. _6 = _5 & 4;
  682. if (_6 != 0)
  683. goto <bb 3>; [INV]
  684. else
  685. goto <bb 4>; [INV]
  686. <bb 3> :
  687. prvReloadTimer (pxTimer_12, xNextExpireTime_15(D), xTimeNow_16(D));
  688. goto <bb 5>; [INV]
  689. <bb 4> :
  690. _7 = pxTimer_12->ucStatus;
  691. _8 = _7 & 254;
  692. pxTimer_12->ucStatus = _8;
  693. <bb 5> :
  694. _9 = pxTimer_12->pxCallbackFunction;
  695. _9 (pxTimer_12);
  696. return;
  697. }
  698. prvReloadTimer (struct Timer_t * const pxTimer, TickType_t xExpiredTime, const TickType_t xTimeNow)
  699. {
  700. long unsigned int _1;
  701. void (*<T689>) (struct tmrTimerControl *) _2;
  702. long unsigned int _3;
  703. long unsigned int _4;
  704. long int _5;
  705. <bb 2> :
  706. goto <bb 4>; [INV]
  707. <bb 3> :
  708. _1 = pxTimer_10(D)->xTimerPeriodInTicks;
  709. xExpiredTime_13 = xExpiredTime_6 + _1;
  710. _2 = pxTimer_10(D)->pxCallbackFunction;
  711. _2 (pxTimer_10(D));
  712. <bb 4> :
  713. # xExpiredTime_6 = PHI <xExpiredTime_8(D)(2), xExpiredTime_13(3)>
  714. _3 = pxTimer_10(D)->xTimerPeriodInTicks;
  715. _4 = xExpiredTime_6 + _3;
  716. _5 = prvInsertTimerInActiveList (pxTimer_10(D), _4, xTimeNow_11(D), xExpiredTime_6);
  717. if (_5 != 0)
  718. goto <bb 3>; [INV]
  719. else
  720. goto <bb 5>; [INV]
  721. <bb 5> :
  722. return;
  723. }
  724. pcTimerGetName (struct tmrTimerControl * xTimer)
  725. {
  726. uint32_t ulNewBASEPRI;
  727. struct Timer_t * pxTimer;
  728. const char * D.6696;
  729. const char * _4;
  730. <bb 2> :
  731. pxTimer_2 = xTimer_1(D);
  732. if (xTimer_1(D) == 0B)
  733. goto <bb 3>; [INV]
  734. else
  735. goto <bb 6>; [INV]
  736. <bb 3> :
  737. __asm__ __volatile__(" mov %0, %1
  738. msr basepri, %0
  739. isb
  740. dsb
  741. " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
  742. <bb 4> :
  743. <bb 5> :
  744. goto <bb 5>; [INV]
  745. <bb 6> :
  746. _4 = pxTimer_2->pcTimerName;
  747. <bb 7> :
  748. <L3>:
  749. return _4;
  750. }
  751. xTimerGetExpiryTime (struct tmrTimerControl * xTimer)
  752. {
  753. uint32_t ulNewBASEPRI;
  754. TickType_t xReturn;
  755. struct Timer_t * pxTimer;
  756. TickType_t D.6692;
  757. TickType_t _5;
  758. <bb 2> :
  759. pxTimer_2 = xTimer_1(D);
  760. if (xTimer_1(D) == 0B)
  761. goto <bb 3>; [INV]
  762. else
  763. goto <bb 6>; [INV]
  764. <bb 3> :
  765. __asm__ __volatile__(" mov %0, %1
  766. msr basepri, %0
  767. isb
  768. dsb
  769. " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
  770. <bb 4> :
  771. <bb 5> :
  772. goto <bb 5>; [INV]
  773. <bb 6> :
  774. xReturn_4 = pxTimer_2->xTimerListItem.xItemValue;
  775. _5 = xReturn_4;
  776. <bb 7> :
  777. <L3>:
  778. return _5;
  779. }
  780. uxTimerGetReloadMode (struct tmrTimerControl * xTimer)
  781. {
  782. uint32_t ulNewBASEPRI;
  783. UBaseType_t uxReturn;
  784. struct Timer_t * pxTimer;
  785. UBaseType_t D.6688;
  786. unsigned char _1;
  787. int _2;
  788. int _3;
  789. UBaseType_t _12;
  790. <bb 2> :
  791. pxTimer_6 = xTimer_5(D);
  792. if (xTimer_5(D) == 0B)
  793. goto <bb 3>; [INV]
  794. else
  795. goto <bb 6>; [INV]
  796. <bb 3> :
  797. __asm__ __volatile__(" mov %0, %1
  798. msr basepri, %0
  799. isb
  800. dsb
  801. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  802. <bb 4> :
  803. <bb 5> :
  804. goto <bb 5>; [INV]
  805. <bb 6> :
  806. vPortEnterCritical ();
  807. _1 = pxTimer_6->ucStatus;
  808. _2 = (int) _1;
  809. _3 = _2 & 4;
  810. if (_3 == 0)
  811. goto <bb 7>; [INV]
  812. else
  813. goto <bb 8>; [INV]
  814. <bb 7> :
  815. uxReturn_10 = 0;
  816. goto <bb 9>; [INV]
  817. <bb 8> :
  818. uxReturn_9 = 1;
  819. <bb 9> :
  820. # uxReturn_4 = PHI <uxReturn_10(7), uxReturn_9(8)>
  821. vPortExitCritical ();
  822. _12 = uxReturn_4;
  823. <bb 10> :
  824. <L6>:
  825. return _12;
  826. }
  827. vTimerSetReloadMode (struct tmrTimerControl * xTimer, const UBaseType_t uxAutoReload)
  828. {
  829. uint32_t ulNewBASEPRI;
  830. struct Timer_t * pxTimer;
  831. unsigned char _1;
  832. unsigned char _2;
  833. unsigned char _3;
  834. unsigned char _4;
  835. <bb 2> :
  836. pxTimer_7 = xTimer_6(D);
  837. if (xTimer_6(D) == 0B)
  838. goto <bb 3>; [INV]
  839. else
  840. goto <bb 6>; [INV]
  841. <bb 3> :
  842. __asm__ __volatile__(" mov %0, %1
  843. msr basepri, %0
  844. isb
  845. dsb
  846. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  847. <bb 4> :
  848. <bb 5> :
  849. goto <bb 5>; [INV]
  850. <bb 6> :
  851. vPortEnterCritical ();
  852. if (uxAutoReload_10(D) != 0)
  853. goto <bb 7>; [INV]
  854. else
  855. goto <bb 8>; [INV]
  856. <bb 7> :
  857. _1 = pxTimer_7->ucStatus;
  858. _2 = _1 | 4;
  859. pxTimer_7->ucStatus = _2;
  860. goto <bb 9>; [INV]
  861. <bb 8> :
  862. _3 = pxTimer_7->ucStatus;
  863. _4 = _3 & 251;
  864. pxTimer_7->ucStatus = _4;
  865. <bb 9> :
  866. vPortExitCritical ();
  867. return;
  868. }
  869. xTimerGetPeriod (struct tmrTimerControl * xTimer)
  870. {
  871. uint32_t ulNewBASEPRI;
  872. struct Timer_t * pxTimer;
  873. TickType_t D.6676;
  874. TickType_t _4;
  875. <bb 2> :
  876. pxTimer_2 = xTimer_1(D);
  877. if (xTimer_1(D) == 0B)
  878. goto <bb 3>; [INV]
  879. else
  880. goto <bb 6>; [INV]
  881. <bb 3> :
  882. __asm__ __volatile__(" mov %0, %1
  883. msr basepri, %0
  884. isb
  885. dsb
  886. " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
  887. <bb 4> :
  888. <bb 5> :
  889. goto <bb 5>; [INV]
  890. <bb 6> :
  891. _4 = pxTimer_2->xTimerPeriodInTicks;
  892. <bb 7> :
  893. <L3>:
  894. return _4;
  895. }
  896. xTimerGetTimerDaemonTaskHandle ()
  897. {
  898. uint32_t ulNewBASEPRI;
  899. struct tskTaskControlBlock * D.6672;
  900. struct tskTaskControlBlock * xTimerTaskHandle.5_1;
  901. struct tskTaskControlBlock * _3;
  902. <bb 2> :
  903. xTimerTaskHandle.5_1 = xTimerTaskHandle;
  904. if (xTimerTaskHandle.5_1 == 0B)
  905. goto <bb 3>; [INV]
  906. else
  907. goto <bb 6>; [INV]
  908. <bb 3> :
  909. __asm__ __volatile__(" mov %0, %1
  910. msr basepri, %0
  911. isb
  912. dsb
  913. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  914. <bb 4> :
  915. <bb 5> :
  916. goto <bb 5>; [INV]
  917. <bb 6> :
  918. _3 = xTimerTaskHandle;
  919. <bb 7> :
  920. <L3>:
  921. return _3;
  922. }
  923. xTimerGenericCommand (struct tmrTimerControl * xTimer, const BaseType_t xCommandID, const TickType_t xOptionalValue, BaseType_t * const pxHigherPriorityTaskWoken, const TickType_t xTicksToWait)
  924. {
  925. uint32_t ulNewBASEPRI;
  926. struct DaemonTaskMessage_t xMessage;
  927. BaseType_t xReturn;
  928. BaseType_t D.6667;
  929. struct QueueDefinition * xTimerQueue.1_1;
  930. long int _2;
  931. struct QueueDefinition * xTimerQueue.2_3;
  932. struct QueueDefinition * xTimerQueue.3_4;
  933. struct QueueDefinition * xTimerQueue.4_5;
  934. BaseType_t _25;
  935. <bb 2> :
  936. xReturn_8 = 0;
  937. if (xTimer_9(D) == 0B)
  938. goto <bb 3>; [INV]
  939. else
  940. goto <bb 6>; [INV]
  941. <bb 3> :
  942. __asm__ __volatile__(" mov %0, %1
  943. msr basepri, %0
  944. isb
  945. dsb
  946. " : "=r" ulNewBASEPRI_27 : "i" 16 : "memory");
  947. <bb 4> :
  948. <bb 5> :
  949. goto <bb 5>; [INV]
  950. <bb 6> :
  951. xTimerQueue.1_1 = xTimerQueue;
  952. if (xTimerQueue.1_1 != 0B)
  953. goto <bb 7>; [INV]
  954. else
  955. goto <bb 12>; [INV]
  956. <bb 7> :
  957. xMessage.xMessageID = xCommandID_11(D);
  958. xMessage.u.xTimerParameters.xMessageValue = xOptionalValue_13(D);
  959. xMessage.u.xTimerParameters.pxTimer = xTimer_9(D);
  960. if (xCommandID_11(D) <= 5)
  961. goto <bb 8>; [INV]
  962. else
  963. goto <bb 11>; [INV]
  964. <bb 8> :
  965. _2 = xTaskGetSchedulerState ();
  966. if (_2 == 2)
  967. goto <bb 9>; [INV]
  968. else
  969. goto <bb 10>; [INV]
  970. <bb 9> :
  971. xTimerQueue.2_3 = xTimerQueue;
  972. xReturn_24 = xQueueGenericSend (xTimerQueue.2_3, &xMessage, xTicksToWait_22(D), 0);
  973. goto <bb 12>; [INV]
  974. <bb 10> :
  975. xTimerQueue.3_4 = xTimerQueue;
  976. xReturn_21 = xQueueGenericSend (xTimerQueue.3_4, &xMessage, 0, 0);
  977. goto <bb 12>; [INV]
  978. <bb 11> :
  979. xTimerQueue.4_5 = xTimerQueue;
  980. xReturn_18 = xQueueGenericSendFromISR (xTimerQueue.4_5, &xMessage, pxHigherPriorityTaskWoken_16(D), 0);
  981. <bb 12> :
  982. # xReturn_6 = PHI <xReturn_8(6), xReturn_18(11), xReturn_21(10), xReturn_24(9)>
  983. _25 = xReturn_6;
  984. xMessage ={v} {CLOBBER};
  985. <bb 13> :
  986. <L13>:
  987. return _25;
  988. }
  989. prvInitialiseNewTimer (const char * const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void * const pvTimerID, void (*TimerCallbackFunction_t) (struct tmrTimerControl *) pxCallbackFunction, struct Timer_t * pxNewTimer)
  990. {
  991. uint32_t ulNewBASEPRI;
  992. struct ListItem_t * _1;
  993. unsigned char _2;
  994. unsigned char _3;
  995. <bb 2> :
  996. if (xTimerPeriodInTicks_5(D) == 0)
  997. goto <bb 3>; [INV]
  998. else
  999. goto <bb 6>; [INV]
  1000. <bb 3> :
  1001. __asm__ __volatile__(" mov %0, %1
  1002. msr basepri, %0
  1003. isb
  1004. dsb
  1005. " : "=r" ulNewBASEPRI_19 : "i" 16 : "memory");
  1006. <bb 4> :
  1007. <bb 5> :
  1008. goto <bb 5>; [INV]
  1009. <bb 6> :
  1010. prvCheckForValidListAndQueue ();
  1011. pxNewTimer_8(D)->pcTimerName = pcTimerName_9(D);
  1012. pxNewTimer_8(D)->xTimerPeriodInTicks = xTimerPeriodInTicks_5(D);
  1013. pxNewTimer_8(D)->pvTimerID = pvTimerID_12(D);
  1014. pxNewTimer_8(D)->pxCallbackFunction = pxCallbackFunction_14(D);
  1015. _1 = &pxNewTimer_8(D)->xTimerListItem;
  1016. vListInitialiseItem (_1);
  1017. if (uxAutoReload_17(D) != 0)
  1018. goto <bb 7>; [INV]
  1019. else
  1020. goto <bb 8>; [INV]
  1021. <bb 7> :
  1022. _2 = pxNewTimer_8(D)->ucStatus;
  1023. _3 = _2 | 4;
  1024. pxNewTimer_8(D)->ucStatus = _3;
  1025. <bb 8> :
  1026. return;
  1027. }
  1028. xTimerCreate (const char * const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void * const pvTimerID, void (*TimerCallbackFunction_t) (struct tmrTimerControl *) pxCallbackFunction)
  1029. {
  1030. struct Timer_t * pxNewTimer;
  1031. struct tmrTimerControl * D.6650;
  1032. struct tmrTimerControl * _12;
  1033. <bb 2> :
  1034. pxNewTimer_4 = pvPortMalloc (44);
  1035. if (pxNewTimer_4 != 0B)
  1036. goto <bb 3>; [INV]
  1037. else
  1038. goto <bb 4>; [INV]
  1039. <bb 3> :
  1040. pxNewTimer_4->ucStatus = 0;
  1041. prvInitialiseNewTimer (pcTimerName_6(D), xTimerPeriodInTicks_7(D), uxAutoReload_8(D), pvTimerID_9(D), pxCallbackFunction_10(D), pxNewTimer_4);
  1042. <bb 4> :
  1043. _12 = pxNewTimer_4;
  1044. <bb 5> :
  1045. <L2>:
  1046. return _12;
  1047. }
  1048. xTimerCreateTimerTask ()
  1049. {
  1050. uint32_t ulNewBASEPRI;
  1051. BaseType_t xReturn;
  1052. BaseType_t D.6646;
  1053. struct QueueDefinition * xTimerQueue.0_1;
  1054. BaseType_t _9;
  1055. <bb 2> :
  1056. xReturn_4 = 0;
  1057. prvCheckForValidListAndQueue ();
  1058. xTimerQueue.0_1 = xTimerQueue;
  1059. if (xTimerQueue.0_1 != 0B)
  1060. goto <bb 3>; [INV]
  1061. else
  1062. goto <bb 4>; [INV]
  1063. <bb 3> :
  1064. xReturn_8 = xTaskCreate (prvTimerTask, "Tmr Svc", 180, 0B, 2, &xTimerTaskHandle);
  1065. <bb 4> :
  1066. # xReturn_2 = PHI <xReturn_4(2), xReturn_8(3)>
  1067. if (xReturn_2 == 0)
  1068. goto <bb 5>; [INV]
  1069. else
  1070. goto <bb 8>; [INV]
  1071. <bb 5> :
  1072. __asm__ __volatile__(" mov %0, %1
  1073. msr basepri, %0
  1074. isb
  1075. dsb
  1076. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  1077. <bb 6> :
  1078. <bb 7> :
  1079. goto <bb 7>; [INV]
  1080. <bb 8> :
  1081. _9 = xReturn_2;
  1082. <bb 9> :
  1083. <L6>:
  1084. return _9;
  1085. }