comparison dsample-fw-disasm @ 267:ace3136d0601

dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Jan 2018 05:15:50 +0000
parents bb46e9f67cd5
children d0bb4b083595
comparison
equal deleted inserted replaced
266:bb46e9f67cd5 267:ace3136d0601
948 803c1a: f03b f9bb bl 0x83ef94 ; $l1_initialize 948 803c1a: f03b f9bb bl 0x83ef94 ; $l1_initialize
949 803c1e: 480b ldr r0, =0x839ea8 ; via 0x803c4c 949 803c1e: 480b ldr r0, =0x839ea8 ; via 0x803c4c
950 803c20: 21ff mov r1, #255 ; 0xff 950 803c20: 21ff mov r1, #255 ; 0xff
951 803c22: 319d add r1, #157 ; 0x9d 951 803c22: 319d add r1, #157 ; 0x9d
952 803c24: 2200 mov r2, #0 952 803c24: 2200 mov r2, #0
953 803c26: f000 f868 bl 0x803cfa 953 803c26: f000 f868 bl 0x803cfa ; $get_cal_from_nvmem
954 803c2a: 487a ldr r0, =0x83a09c ; via 0x803e14 954 803c2a: 487a ldr r0, =0x83a09c ; via 0x803e14
955 803c2c: 2124 mov r1, #36 ; 0x24 955 803c2c: 2124 mov r1, #36 ; 0x24
956 803c2e: 2201 mov r2, #1 956 803c2e: 2201 mov r2, #1
957 803c30: f000 f863 bl 0x803cfa 957 803c30: f000 f863 bl 0x803cfa ; $get_cal_from_nvmem
958 803c34: b004 add sp, #16 ; 0x10 958 803c34: b004 add sp, #16 ; 0x10
959 803c36: bd00 pop {pc} 959 803c36: bd00 pop {pc}
960
961 _std_config:
962 8053f8: 00000000
963 8053fc: 00000000
964 805400: 00000005
965 805404: 00000001
966 805408: 00000001
967 80540c: 00000001
968 805410: 00150003
969 805414: 00000200
970 805418: 001c0002
971 80541c: 00000200
972 805420: 001c0205
973 805424: 00000001
974 805428: 001c0201
975 80542c: 00000001
976 805430: 00000004
977 805434: 00000080
978 805438: 00150304
979 80543c: 00000001
960 980
961 ; apparent beginning of tpudrv10 module 981 ; apparent beginning of tpudrv10 module
962 982
963 811df8: b500 push {lr} 983 811df8: b500 push {lr}
964 811dfa: b084 sub sp, #16 ; 0x10 984 811dfa: b084 sub sp, #16 ; 0x10
1023 811e72: 0408 lsl r0, r1, #16 1043 811e72: 0408 lsl r0, r1, #16
1024 811e74: 0c00 lsr r0, r0, #16 1044 811e74: 0c00 lsr r0, r0, #16
1025 811e76: b004 add sp, #16 ; 0x10 1045 811e76: b004 add sp, #16 ; 0x10
1026 811e78: bd00 pop {pc} 1046 811e78: bd00 pop {pc}
1027 1047
1048 $calc_a_b:
1028 811e7a: b500 push {lr} 1049 811e7a: b500 push {lr}
1029 811e7c: b08d sub sp, #52 ; 0x34 1050 811e7c: b08d sub sp, #52 ; 0x34
1030 811e7e: 466a mov r2, sp 1051 811e7e: 466a mov r2, sp
1031 811e80: 7091 strb r1, [r2, #2] 1052 811e80: 7091 strb r1, [r2, #2]
1032 811e82: 4669 mov r1, sp 1053 811e82: 4669 mov r1, sp
1353 81210c: 00812006 1374 81210c: 00812006
1354 812110: 008120a6 1375 812110: 008120a6
1355 1376
1356 812114: b001 add sp, #4 1377 812114: b001 add sp, #4
1357 812116: 4770 bx lr 1378 812116: 4770 bx lr
1379
1380 $rf_init:
1381 812148: b500 push {lr}
1382 81214a: b081 sub sp, #4
1383 81214c: 9000 str r0, [sp, #0]
1384 81214e: 49fb ldr r1, =0x1388 ; via 0x81253c
1385 812150: 9800 ldr r0, [sp, #0]
1386 812152: 1808 add r0, r1, r0
1387 812154: f002 fc02 bl 0x81495c
1388 812158: 2101 mov r1, #1
1389 81215a: 034a lsl r2, r1, #13
1390 81215c: 4302 orr r2, r0
1391 81215e: 49f8 ldr r1, =0x83c0a4 ; via 0x812540
1392 812160: 6808 ldr r0, [r1, #0]
1393 812162: 1c83 add r3, r0, #2
1394 812164: 600b str r3, [r1, #0]
1395 812166: 8002 strh r2, [r0, #0]
1396 812168: 48f5 ldr r0, =0x83c0a4 ; via 0x812540
1397 81216a: 6801 ldr r1, [r0, #0]
1398 81216c: 1c8a add r2, r1, #2
1399 81216e: 6002 str r2, [r0, #0]
1400 812170: 48f4 ldr r0, =0x88e0 ; via 0x812544
1401 812172: 8008 strh r0, [r1, #0]
1402 812174: 49f2 ldr r1, =0x83c0a4 ; via 0x812540
1403 812176: 6808 ldr r0, [r1, #0]
1404 812178: 1c82 add r2, r0, #2
1405 81217a: 600a str r2, [r1, #0]
1406 81217c: 49f2 ldr r1, =0x8026 ; via 0x812548
1407 81217e: 8001 strh r1, [r0, #0]
1408 812180: 49ef ldr r1, =0x83c0a4 ; via 0x812540
1409 812182: 6808 ldr r0, [r1, #0]
1410 812184: 1c82 add r2, r0, #2
1411 812186: 600a str r2, [r1, #0]
1412 812188: 49f0 ldr r1, =0x8006 ; via 0x81254c
1413 81218a: 8001 strh r1, [r0, #0]
1414 81218c: 49ec ldr r1, =0x83c0a4 ; via 0x812540
1415 81218e: 6808 ldr r0, [r1, #0]
1416 812190: 1c82 add r2, r0, #2
1417 812192: 600a str r2, [r1, #0]
1418 812194: 49ec ldr r1, =0x8026 ; via 0x812548
1419 812196: 8001 strh r1, [r0, #0]
1420 812198: 9800 ldr r0, [sp, #0]
1421 81219a: 3008 add r0, #8
1422 81219c: 9000 str r0, [sp, #0]
1423 81219e: 49e7 ldr r1, =0x1388 ; via 0x81253c
1424 8121a0: 9800 ldr r0, [sp, #0]
1425 8121a2: 1808 add r0, r1, r0
1426 8121a4: f002 fbda bl 0x81495c
1427 8121a8: 2101 mov r1, #1
1428 8121aa: 034a lsl r2, r1, #13
1429 8121ac: 4302 orr r2, r0
1430 8121ae: 49e4 ldr r1, =0x83c0a4 ; via 0x812540
1431 8121b0: 6808 ldr r0, [r1, #0]
1432 8121b2: 1c83 add r3, r0, #2
1433 8121b4: 600b str r3, [r1, #0]
1434 8121b6: 8002 strh r2, [r0, #0]
1435 8121b8: 49e5 ldr r1, =0x83c09c ; via 0x812550
1436 8121ba: 48e6 ldr r0, =0x8008 ; via 0x812554
1437 8121bc: 6008 str r0, [r1, #0]
1438 8121be: 48e0 ldr r0, =0x83c0a4 ; via 0x812540
1439 8121c0: 6801 ldr r1, [r0, #0]
1440 8121c2: 1c8a add r2, r1, #2
1441 8121c4: 6002 str r2, [r0, #0]
1442 8121c6: 48e4 ldr r0, =0x8004 ; via 0x812558
1443 8121c8: 4ae1 ldr r2, =0x83c09c ; via 0x812550
1444 8121ca: 6812 ldr r2, [r2, #0]
1445 8121cc: 0a12 lsr r2, r2, #8
1446 8121ce: 0612 lsl r2, r2, #24
1447 8121d0: 0e12 lsr r2, r2, #24
1448 8121d2: 0152 lsl r2, r2, #5
1449 8121d4: 4310 orr r0, r2
1450 8121d6: 8008 strh r0, [r1, #0]
1451 8121d8: 48d9 ldr r0, =0x83c0a4 ; via 0x812540
1452 8121da: 6801 ldr r1, [r0, #0]
1453 8121dc: 1c8a add r2, r1, #2
1454 8121de: 6002 str r2, [r0, #0]
1455 8121e0: 48de ldr r0, =0x8003 ; via 0x81255c
1456 8121e2: 4adb ldr r2, =0x83c09c ; via 0x812550
1457 8121e4: 6812 ldr r2, [r2, #0]
1458 8121e6: 0612 lsl r2, r2, #24
1459 8121e8: 0e12 lsr r2, r2, #24
1460 8121ea: 0152 lsl r2, r2, #5
1461 8121ec: 4310 orr r0, r2
1462 8121ee: 8008 strh r0, [r1, #0]
1463 8121f0: 49d3 ldr r1, =0x83c0a4 ; via 0x812540
1464 8121f2: 6808 ldr r0, [r1, #0]
1465 8121f4: 1c82 add r2, r0, #2
1466 8121f6: 600a str r2, [r1, #0]
1467 8121f8: 49d9 ldr r1, =0x89e0 ; via 0x812560
1468 8121fa: 8001 strh r1, [r0, #0]
1469 8121fc: 49d0 ldr r1, =0x83c0a4 ; via 0x812540
1470 8121fe: 6808 ldr r0, [r1, #0]
1471 812200: 1c82 add r2, r0, #2
1472 812202: 600a str r2, [r1, #0]
1473 812204: 49d7 ldr r1, =0x8041 ; via 0x812564
1474 812206: 8001 strh r1, [r0, #0]
1475 812208: 48cd ldr r0, =0x83c0a4 ; via 0x812540
1476 81220a: 6801 ldr r1, [r0, #0]
1477 81220c: 1c8a add r2, r1, #2
1478 81220e: 6002 str r2, [r0, #0]
1479 812210: 48d5 ldr r0, =0x83e6 ; via 0x812568
1480 812212: 8008 strh r0, [r1, #0]
1481 812214: 9800 ldr r0, [sp, #0]
1482 812216: 3007 add r0, #7
1483 812218: 9000 str r0, [sp, #0]
1484 81221a: 49c8 ldr r1, =0x1388 ; via 0x81253c
1485 81221c: 9800 ldr r0, [sp, #0]
1486 81221e: 1808 add r0, r1, r0
1487 812220: f002 fb9c bl 0x81495c
1488 812224: 2101 mov r1, #1
1489 812226: 034a lsl r2, r1, #13
1490 812228: 4302 orr r2, r0
1491 81222a: 49c5 ldr r1, =0x83c0a4 ; via 0x812540
1492 81222c: 6808 ldr r0, [r1, #0]
1493 81222e: 1c83 add r3, r0, #2
1494 812230: 600b str r3, [r1, #0]
1495 812232: 8002 strh r2, [r0, #0]
1496 812234: 49c1 ldr r1, =0x1388 ; via 0x81253c
1497 812236: 9800 ldr r0, [sp, #0]
1498 812238: 1808 add r0, r1, r0
1499 81223a: f002 fb8f bl 0x81495c
1500 81223e: 2101 mov r1, #1
1501 812240: 034a lsl r2, r1, #13
1502 812242: 4302 orr r2, r0
1503 812244: 48be ldr r0, =0x83c0a4 ; via 0x812540
1504 812246: 6801 ldr r1, [r0, #0]
1505 812248: 1c8b add r3, r1, #2
1506 81224a: 6003 str r3, [r0, #0]
1507 81224c: 800a strh r2, [r1, #0]
1508 81224e: 49bb ldr r1, =0x1388 ; via 0x81253c
1509 812250: 9800 ldr r0, [sp, #0]
1510 812252: 1808 add r0, r1, r0
1511 812254: f002 fb82 bl 0x81495c
1512 812258: 2101 mov r1, #1
1513 81225a: 034a lsl r2, r1, #13
1514 81225c: 4302 orr r2, r0
1515 81225e: 48b8 ldr r0, =0x83c0a4 ; via 0x812540
1516 812260: 6801 ldr r1, [r0, #0]
1517 812262: 1c8b add r3, r1, #2
1518 812264: 6003 str r3, [r0, #0]
1519 812266: 800a strh r2, [r1, #0]
1520 812268: 49b4 ldr r1, =0x1388 ; via 0x81253c
1521 81226a: 9800 ldr r0, [sp, #0]
1522 81226c: 1808 add r0, r1, r0
1523 81226e: f002 fb75 bl 0x81495c
1524 812272: 2101 mov r1, #1
1525 812274: 034a lsl r2, r1, #13
1526 812276: 4302 orr r2, r0
1527 812278: 48b1 ldr r0, =0x83c0a4 ; via 0x812540
1528 81227a: 6801 ldr r1, [r0, #0]
1529 81227c: 1c8b add r3, r1, #2
1530 81227e: 6003 str r3, [r0, #0]
1531 812280: 800a strh r2, [r1, #0]
1532 812282: 49ae ldr r1, =0x1388 ; via 0x81253c
1533 812284: 9800 ldr r0, [sp, #0]
1534 812286: 1808 add r0, r1, r0
1535 812288: f002 fb68 bl 0x81495c
1536 81228c: 2101 mov r1, #1
1537 81228e: 034a lsl r2, r1, #13
1538 812290: 4302 orr r2, r0
1539 812292: 48ab ldr r0, =0x83c0a4 ; via 0x812540
1540 812294: 6801 ldr r1, [r0, #0]
1541 812296: 1c8b add r3, r1, #2
1542 812298: 6003 str r3, [r0, #0]
1543 81229a: 800a strh r2, [r1, #0]
1544 81229c: 49a7 ldr r1, =0x1388 ; via 0x81253c
1545 81229e: 9800 ldr r0, [sp, #0]
1546 8122a0: 1808 add r0, r1, r0
1547 8122a2: f002 fb5b bl 0x81495c
1548 8122a6: 2101 mov r1, #1
1549 8122a8: 034a lsl r2, r1, #13
1550 8122aa: 4302 orr r2, r0
1551 8122ac: 48a4 ldr r0, =0x83c0a4 ; via 0x812540
1552 8122ae: 6801 ldr r1, [r0, #0]
1553 8122b0: 1c8b add r3, r1, #2
1554 8122b2: 6003 str r3, [r0, #0]
1555 8122b4: 800a strh r2, [r1, #0]
1556 8122b6: 49a2 ldr r1, =0x83c0a4 ; via 0x812540
1557 8122b8: 6808 ldr r0, [r1, #0]
1558 8122ba: 1c82 add r2, r0, #2
1559 8122bc: 600a str r2, [r1, #0]
1560 8122be: 49aa ldr r1, =0x83e6 ; via 0x812568
1561 8122c0: 8001 strh r1, [r0, #0]
1562 8122c2: 489f ldr r0, =0x83c0a4 ; via 0x812540
1563 8122c4: 6801 ldr r1, [r0, #0]
1564 8122c6: 1c8a add r2, r1, #2
1565 8122c8: 6002 str r2, [r0, #0]
1566 8122ca: 48a8 ldr r0, =0x83c6 ; via 0x81256c
1567 8122cc: 8008 strh r0, [r1, #0]
1568 8122ce: 489c ldr r0, =0x83c0a4 ; via 0x812540
1569 8122d0: 6801 ldr r1, [r0, #0]
1570 8122d2: 1c8a add r2, r1, #2
1571 8122d4: 6002 str r2, [r0, #0]
1572 8122d6: 48a4 ldr r0, =0x83e6 ; via 0x812568
1573 8122d8: 8008 strh r0, [r1, #0]
1574 8122da: 499d ldr r1, =0x83c09c ; via 0x812550
1575 8122dc: 48a4 ldr r0, =0x8018 ; via 0x812570
1576 8122de: 6008 str r0, [r1, #0]
1577 8122e0: 4897 ldr r0, =0x83c0a4 ; via 0x812540
1578 8122e2: 6801 ldr r1, [r0, #0]
1579 8122e4: 1c8a add r2, r1, #2
1580 8122e6: 6002 str r2, [r0, #0]
1581 8122e8: 489b ldr r0, =0x8004 ; via 0x812558
1582 8122ea: 4a99 ldr r2, =0x83c09c ; via 0x812550
1583 8122ec: 6812 ldr r2, [r2, #0]
1584 8122ee: 0a12 lsr r2, r2, #8
1585 8122f0: 0612 lsl r2, r2, #24
1586 8122f2: 0e12 lsr r2, r2, #24
1587 8122f4: 0152 lsl r2, r2, #5
1588 8122f6: 4310 orr r0, r2
1589 8122f8: 8008 strh r0, [r1, #0]
1590 8122fa: 4891 ldr r0, =0x83c0a4 ; via 0x812540
1591 8122fc: 6801 ldr r1, [r0, #0]
1592 8122fe: 1c8a add r2, r1, #2
1593 812300: 6002 str r2, [r0, #0]
1594 812302: 4896 ldr r0, =0x8003 ; via 0x81255c
1595 812304: 4a92 ldr r2, =0x83c09c ; via 0x812550
1596 812306: 6812 ldr r2, [r2, #0]
1597 812308: 0612 lsl r2, r2, #24
1598 81230a: 0e12 lsr r2, r2, #24
1599 81230c: 0152 lsl r2, r2, #5
1600 81230e: 4310 orr r0, r2
1601 812310: 8008 strh r0, [r1, #0]
1602 812312: 498b ldr r1, =0x83c0a4 ; via 0x812540
1603 812314: 6808 ldr r0, [r1, #0]
1604 812316: 1c82 add r2, r0, #2
1605 812318: 600a str r2, [r1, #0]
1606 81231a: 4991 ldr r1, =0x89e0 ; via 0x812560
1607 81231c: 8001 strh r1, [r0, #0]
1608 81231e: 4888 ldr r0, =0x83c0a4 ; via 0x812540
1609 812320: 6801 ldr r1, [r0, #0]
1610 812322: 1c8a add r2, r1, #2
1611 812324: 6002 str r2, [r0, #0]
1612 812326: 488f ldr r0, =0x8041 ; via 0x812564
1613 812328: 8008 strh r0, [r1, #0]
1614 81232a: 9800 ldr r0, [sp, #0]
1615 81232c: 3009 add r0, #9
1616 81232e: 9000 str r0, [sp, #0]
1617 812330: 4982 ldr r1, =0x1388 ; via 0x81253c
1618 812332: 9800 ldr r0, [sp, #0]
1619 812334: 1808 add r0, r1, r0
1620 812336: f002 fb11 bl 0x81495c
1621 81233a: 2101 mov r1, #1
1622 81233c: 034a lsl r2, r1, #13
1623 81233e: 4302 orr r2, r0
1624 812340: 497f ldr r1, =0x83c0a4 ; via 0x812540
1625 812342: 6808 ldr r0, [r1, #0]
1626 812344: 1c83 add r3, r0, #2
1627 812346: 600b str r3, [r1, #0]
1628 812348: 8002 strh r2, [r0, #0]
1629 81234a: 4981 ldr r1, =0x83c09c ; via 0x812550
1630 81234c: 4889 ldr r0, =0x140753 ; via 0x812574
1631 81234e: 6008 str r0, [r1, #0]
1632 812350: 487b ldr r0, =0x83c0a4 ; via 0x812540
1633 812352: 6801 ldr r1, [r0, #0]
1634 812354: 1c8a add r2, r1, #2
1635 812356: 6002 str r2, [r0, #0]
1636 812358: 487f ldr r0, =0x8004 ; via 0x812558
1637 81235a: 4a7d ldr r2, =0x83c09c ; via 0x812550
1638 81235c: 6812 ldr r2, [r2, #0]
1639 81235e: 0c12 lsr r2, r2, #16
1640 812360: 0612 lsl r2, r2, #24
1641 812362: 0e12 lsr r2, r2, #24
1642 812364: 0152 lsl r2, r2, #5
1643 812366: 4310 orr r0, r2
1644 812368: 8008 strh r0, [r1, #0]
1645 81236a: 4875 ldr r0, =0x83c0a4 ; via 0x812540
1646 81236c: 6801 ldr r1, [r0, #0]
1647 81236e: 1c8a add r2, r1, #2
1648 812370: 6002 str r2, [r0, #0]
1649 812372: 487a ldr r0, =0x8003 ; via 0x81255c
1650 812374: 4a76 ldr r2, =0x83c09c ; via 0x812550
1651 812376: 6812 ldr r2, [r2, #0]
1652 812378: 0a12 lsr r2, r2, #8
1653 81237a: 0612 lsl r2, r2, #24
1654 81237c: 0e12 lsr r2, r2, #24
1655 81237e: 0152 lsl r2, r2, #5
1656 812380: 4310 orr r0, r2
1657 812382: 8008 strh r0, [r1, #0]
1658 812384: 486e ldr r0, =0x83c0a4 ; via 0x812540
1659 812386: 6801 ldr r1, [r0, #0]
1660 812388: 1c8a add r2, r1, #2
1661 81238a: 6002 str r2, [r0, #0]
1662 81238c: 48e5 ldr r0, =0x8002 ; via 0x812724
1663 81238e: 4a70 ldr r2, =0x83c09c ; via 0x812550
1664 812390: 6812 ldr r2, [r2, #0]
1665 812392: 0612 lsl r2, r2, #24
1666 812394: 0e12 lsr r2, r2, #24
1667 812396: 0152 lsl r2, r2, #5
1668 812398: 4310 orr r0, r2
1669 81239a: 8008 strh r0, [r1, #0]
1670 81239c: 4968 ldr r1, =0x83c0a4 ; via 0x812540
1671 81239e: 6808 ldr r0, [r1, #0]
1672 8123a0: 1c82 add r2, r0, #2
1673 8123a2: 600a str r2, [r1, #0]
1674 8123a4: 49e0 ldr r1, =0x8ae0 ; via 0x812728
1675 8123a6: 8001 strh r1, [r0, #0]
1676 8123a8: 4865 ldr r0, =0x83c0a4 ; via 0x812540
1677 8123aa: 6801 ldr r1, [r0, #0]
1678 8123ac: 1c8a add r2, r1, #2
1679 8123ae: 6002 str r2, [r0, #0]
1680 8123b0: 486c ldr r0, =0x8041 ; via 0x812564
1681 8123b2: 8008 strh r0, [r1, #0]
1682 8123b4: 9800 ldr r0, [sp, #0]
1683 8123b6: 3008 add r0, #8
1684 8123b8: 9000 str r0, [sp, #0]
1685 8123ba: 4960 ldr r1, =0x1388 ; via 0x81253c
1686 8123bc: 9800 ldr r0, [sp, #0]
1687 8123be: 1808 add r0, r1, r0
1688 8123c0: f002 facc bl 0x81495c
1689 8123c4: 2101 mov r1, #1
1690 8123c6: 034a lsl r2, r1, #13
1691 8123c8: 4302 orr r2, r0
1692 8123ca: 495d ldr r1, =0x83c0a4 ; via 0x812540
1693 8123cc: 6808 ldr r0, [r1, #0]
1694 8123ce: 1c83 add r3, r0, #2
1695 8123d0: 600b str r3, [r1, #0]
1696 8123d2: 8002 strh r2, [r0, #0]
1697 8123d4: 495e ldr r1, =0x83c09c ; via 0x812550
1698 8123d6: 4868 ldr r0, =0x2db084 ; via 0x812578
1699 8123d8: 6008 str r0, [r1, #0]
1700 8123da: 4859 ldr r0, =0x83c0a4 ; via 0x812540
1701 8123dc: 6801 ldr r1, [r0, #0]
1702 8123de: 1c8a add r2, r1, #2
1703 8123e0: 6002 str r2, [r0, #0]
1704 8123e2: 485d ldr r0, =0x8004 ; via 0x812558
1705 8123e4: 4a5a ldr r2, =0x83c09c ; via 0x812550
1706 8123e6: 6812 ldr r2, [r2, #0]
1707 8123e8: 0c12 lsr r2, r2, #16
1708 8123ea: 0612 lsl r2, r2, #24
1709 8123ec: 0e12 lsr r2, r2, #24
1710 8123ee: 0152 lsl r2, r2, #5
1711 8123f0: 4310 orr r0, r2
1712 8123f2: 8008 strh r0, [r1, #0]
1713 8123f4: 4852 ldr r0, =0x83c0a4 ; via 0x812540
1714 8123f6: 6801 ldr r1, [r0, #0]
1715 8123f8: 1c8a add r2, r1, #2
1716 8123fa: 6002 str r2, [r0, #0]
1717 8123fc: 4857 ldr r0, =0x8003 ; via 0x81255c
1718 8123fe: 4a54 ldr r2, =0x83c09c ; via 0x812550
1719 812400: 6812 ldr r2, [r2, #0]
1720 812402: 0a12 lsr r2, r2, #8
1721 812404: 0612 lsl r2, r2, #24
1722 812406: 0e12 lsr r2, r2, #24
1723 812408: 0152 lsl r2, r2, #5
1724 81240a: 4310 orr r0, r2
1725 81240c: 8008 strh r0, [r1, #0]
1726 81240e: 484c ldr r0, =0x83c0a4 ; via 0x812540
1727 812410: 6801 ldr r1, [r0, #0]
1728 812412: 1c8a add r2, r1, #2
1729 812414: 6002 str r2, [r0, #0]
1730 812416: 48c3 ldr r0, =0x8002 ; via 0x812724
1731 812418: 4a4d ldr r2, =0x83c09c ; via 0x812550
1732 81241a: 6812 ldr r2, [r2, #0]
1733 81241c: 0612 lsl r2, r2, #24
1734 81241e: 0e12 lsr r2, r2, #24
1735 812420: 0152 lsl r2, r2, #5
1736 812422: 4310 orr r0, r2
1737 812424: 8008 strh r0, [r1, #0]
1738 812426: 4946 ldr r1, =0x83c0a4 ; via 0x812540
1739 812428: 6808 ldr r0, [r1, #0]
1740 81242a: 1c82 add r2, r0, #2
1741 81242c: 600a str r2, [r1, #0]
1742 81242e: 49be ldr r1, =0x8ae0 ; via 0x812728
1743 812430: 8001 strh r1, [r0, #0]
1744 812432: 4843 ldr r0, =0x83c0a4 ; via 0x812540
1745 812434: 6801 ldr r1, [r0, #0]
1746 812436: 1c8a add r2, r1, #2
1747 812438: 6002 str r2, [r0, #0]
1748 81243a: 484a ldr r0, =0x8041 ; via 0x812564
1749 81243c: 8008 strh r0, [r1, #0]
1750 81243e: 9800 ldr r0, [sp, #0]
1751 812440: 3008 add r0, #8
1752 812442: 9000 str r0, [sp, #0]
1753 812444: 493d ldr r1, =0x1388 ; via 0x81253c
1754 812446: 9800 ldr r0, [sp, #0]
1755 812448: 1808 add r0, r1, r0
1756 81244a: f002 fa87 bl 0x81495c
1757 81244e: 2101 mov r1, #1
1758 812450: 034a lsl r2, r1, #13
1759 812452: 4302 orr r2, r0
1760 812454: 493a ldr r1, =0x83c0a4 ; via 0x812540
1761 812456: 6808 ldr r0, [r1, #0]
1762 812458: 1c83 add r3, r0, #2
1763 81245a: 600b str r3, [r1, #0]
1764 81245c: 8002 strh r2, [r0, #0]
1765 81245e: 4838 ldr r0, =0x83c0a4 ; via 0x812540
1766 812460: 6802 ldr r2, [r0, #0]
1767 812462: 1c91 add r1, r2, #2
1768 812464: 6001 str r1, [r0, #0]
1769 812466: 4846 ldr r0, =0x83be26 ; via 0x812580
1770 812468: 7800 ldrb r0, [r0, #0]
1771 81246a: 0100 lsl r0, r0, #4
1772 81246c: 4945 ldr r1, =0x83be25 ; via 0x812584
1773 81246e: 7809 ldrb r1, [r1, #0]
1774 812470: 0149 lsl r1, r1, #5
1775 812472: 4308 orr r0, r1
1776 812474: 2106 mov r1, #6
1777 812476: 4301 orr r1, r0
1778 812478: 0608 lsl r0, r1, #24
1779 81247a: 0e00 lsr r0, r0, #24
1780 81247c: 0141 lsl r1, r0, #5
1781 81247e: 483f ldr r0, =0x8004 ; via 0x81257c
1782 812480: 4308 orr r0, r1
1783 812482: 8010 strh r0, [r2, #0]
1784 812484: 482e ldr r0, =0x83c0a4 ; via 0x812540
1785 812486: 6801 ldr r1, [r0, #0]
1786 812488: 1c8a add r2, r1, #2
1787 81248a: 6002 str r2, [r0, #0]
1788 81248c: 482d ldr r0, =0x88e0 ; via 0x812544
1789 81248e: 8008 strh r0, [r1, #0]
1790 812490: 482b ldr r0, =0x83c0a4 ; via 0x812540
1791 812492: 6801 ldr r1, [r0, #0]
1792 812494: 1c8a add r2, r1, #2
1793 812496: 6002 str r2, [r0, #0]
1794 812498: 4832 ldr r0, =0x8041 ; via 0x812564
1795 81249a: 8008 strh r0, [r1, #0]
1796 81249c: 9800 ldr r0, [sp, #0]
1797 81249e: 30ff add r0, #255 ; 0xff
1798 8124a0: 3081 add r0, #129 ; 0x81
1799 8124a2: 9000 str r0, [sp, #0]
1800 8124a4: 4925 ldr r1, =0x1388 ; via 0x81253c
1801 8124a6: 9800 ldr r0, [sp, #0]
1802 8124a8: 1808 add r0, r1, r0
1803 8124aa: f002 fa57 bl 0x81495c
1804 8124ae: 2101 mov r1, #1
1805 8124b0: 034a lsl r2, r1, #13
1806 8124b2: 4302 orr r2, r0
1807 8124b4: 4922 ldr r1, =0x83c0a4 ; via 0x812540
1808 8124b6: 6808 ldr r0, [r1, #0]
1809 8124b8: 1c83 add r3, r0, #2
1810 8124ba: 600b str r3, [r1, #0]
1811 8124bc: 8002 strh r2, [r0, #0]
1812 8124be: 2007 mov r0, #7
1813 8124c0: 4931 ldr r1, =0x83be24 ; via 0x812588
1814 8124c2: 7809 ldrb r1, [r1, #0]
1815 8124c4: 04c9 lsl r1, r1, #19
1816 8124c6: 4308 orr r0, r1
1817 8124c8: 4921 ldr r1, =0x83c09c ; via 0x812550
1818 8124ca: 6008 str r0, [r1, #0]
1819 8124cc: 481c ldr r0, =0x83c0a4 ; via 0x812540
1820 8124ce: 6801 ldr r1, [r0, #0]
1821 8124d0: 1c8a add r2, r1, #2
1822 8124d2: 6002 str r2, [r0, #0]
1823 8124d4: 4820 ldr r0, =0x8004 ; via 0x812558
1824 8124d6: 4a1e ldr r2, =0x83c09c ; via 0x812550
1825 8124d8: 6812 ldr r2, [r2, #0]
1826 8124da: 0c12 lsr r2, r2, #16
1827 8124dc: 0612 lsl r2, r2, #24
1828 8124de: 0e12 lsr r2, r2, #24
1829 8124e0: 0152 lsl r2, r2, #5
1830 8124e2: 4310 orr r0, r2
1831 8124e4: 8008 strh r0, [r1, #0]
1832 8124e6: 4816 ldr r0, =0x83c0a4 ; via 0x812540
1833 8124e8: 6801 ldr r1, [r0, #0]
1834 8124ea: 1c8a add r2, r1, #2
1835 8124ec: 6002 str r2, [r0, #0]
1836 8124ee: 481b ldr r0, =0x8003 ; via 0x81255c
1837 8124f0: 4a17 ldr r2, =0x83c09c ; via 0x812550
1838 8124f2: 6812 ldr r2, [r2, #0]
1839 8124f4: 0a12 lsr r2, r2, #8
1840 8124f6: 0612 lsl r2, r2, #24
1841 8124f8: 0e12 lsr r2, r2, #24
1842 8124fa: 0152 lsl r2, r2, #5
1843 8124fc: 4310 orr r0, r2
1844 8124fe: 8008 strh r0, [r1, #0]
1845 812500: 480f ldr r0, =0x83c0a4 ; via 0x812540
1846 812502: 6801 ldr r1, [r0, #0]
1847 812504: 1c8a add r2, r1, #2
1848 812506: 6002 str r2, [r0, #0]
1849 812508: 4886 ldr r0, =0x8002 ; via 0x812724
1850 81250a: 4a11 ldr r2, =0x83c09c ; via 0x812550
1851 81250c: 6812 ldr r2, [r2, #0]
1852 81250e: 0612 lsl r2, r2, #24
1853 812510: 0e12 lsr r2, r2, #24
1854 812512: 0152 lsl r2, r2, #5
1855 812514: 4310 orr r0, r2
1856 812516: 8008 strh r0, [r1, #0]
1857 812518: 4909 ldr r1, =0x83c0a4 ; via 0x812540
1858 81251a: 680a ldr r2, [r1, #0]
1859 81251c: 1c90 add r0, r2, #2
1860 81251e: 6008 str r0, [r1, #0]
1861 812520: 4881 ldr r0, =0x8ae0 ; via 0x812728
1862 812522: 8010 strh r0, [r2, #0]
1863 812524: 4906 ldr r1, =0x83c0a4 ; via 0x812540
1864 812526: 6808 ldr r0, [r1, #0]
1865 812528: 1c82 add r2, r0, #2
1866 81252a: 600a str r2, [r1, #0]
1867 81252c: 490d ldr r1, =0x8041 ; via 0x812564
1868 81252e: 8001 strh r1, [r0, #0]
1869 812530: 9800 ldr r0, [sp, #0]
1870 812532: 3008 add r0, #8
1871 812534: 9000 str r0, [sp, #0]
1872 812536: 9800 ldr r0, [sp, #0]
1873 812538: b001 add sp, #4
1874 81253a: bd00 pop {pc}
1875
1876 $rf_program:
1877 81258c: b500 push {lr}
1878 81258e: b088 sub sp, #32 ; 0x20
1879 812590: 9202 str r2, [sp, #8]
1880 812592: 466a mov r2, sp
1881 812594: 8091 strh r1, [r2, #4]
1882 812596: 9000 str r0, [sp, #0]
1883 812598: 4668 mov r0, sp
1884 81259a: 8880 ldrh r0, [r0, #4]
1885 81259c: f7f1 fa4c bl 0x803a38 ; $Cust_is_band_high
1886 8125a0: 49fa ldr r1, =0x83c0a0 ; via 0x81298c
1887 8125a2: 7008 strb r0, [r1, #0]
1888 8125a4: 4668 mov r0, sp
1889 8125a6: 8880 ldrh r0, [r0, #4]
1890 8125a8: f7ff fd29 bl 0x811ffe ; $Convert_l1_radio_freq
1891 8125ac: 4669 mov r1, sp
1892 8125ae: 8388 strh r0, [r1, #28] ; 0x1c
1893 8125b0: 4668 mov r0, sp
1894 8125b2: 8b80 ldrh r0, [r0, #28] ; 0x1c
1895 8125b4: f000 fa58 bl 0x812a68 ; $arfcn_to_rf_index
1896 8125b8: 49f2 ldr r1, =0x83c0a1 ; via 0x812984
1897 8125ba: 7008 strb r0, [r1, #0]
1898 8125bc: 9802 ldr r0, [sp, #8]
1899 8125be: 2801 cmp r0, #1
1900 8125c0: d000 beq 0x8125c4
1901 8125c2: e0b3 b 0x81272c
1902 8125c4: 4668 mov r0, sp
1903 8125c6: 8b80 ldrh r0, [r0, #28] ; 0x1c
1904 8125c8: 2101 mov r1, #1
1905 8125ca: f7ff fc56 bl 0x811e7a
1906 8125ce: 9004 str r0, [sp, #16] ; 0x10
1907 8125d0: 9904 ldr r1, [sp, #16] ; 0x10
1908 8125d2: 48f2 ldr r0, =0x83be2c ; via 0x81299c
1909 8125d4: 7800 ldrb r0, [r0, #0]
1910 8125d6: 4301 orr r1, r0
1911 8125d8: 2002 mov r0, #2
1912 8125da: 4308 orr r0, r1
1913 8125dc: 49f1 ldr r1, =0x83c09c ; via 0x8129a4
1914 8125de: 6008 str r0, [r1, #0]
1915 8125e0: 48ef ldr r0, =0x83c0a4 ; via 0x8129a0
1916 8125e2: 6801 ldr r1, [r0, #0]
1917 8125e4: 1c8a add r2, r1, #2
1918 8125e6: 6002 str r2, [r0, #0]
1919 8125e8: 48f0 ldr r0, =0x8004 ; via 0x8129ac
1920 8125ea: 4aee ldr r2, =0x83c09c ; via 0x8129a4
1921 8125ec: 6812 ldr r2, [r2, #0]
1922 8125ee: 0c12 lsr r2, r2, #16
1923 8125f0: 0612 lsl r2, r2, #24
1924 8125f2: 0e12 lsr r2, r2, #24
1925 8125f4: 0152 lsl r2, r2, #5
1926 8125f6: 4310 orr r0, r2
1927 8125f8: 8008 strh r0, [r1, #0]
1928 8125fa: 48e9 ldr r0, =0x83c0a4 ; via 0x8129a0
1929 8125fc: 6801 ldr r1, [r0, #0]
1930 8125fe: 1c8a add r2, r1, #2
1931 812600: 6002 str r2, [r0, #0]
1932 812602: 48eb ldr r0, =0x8003 ; via 0x8129b0
1933 812604: 4ae7 ldr r2, =0x83c09c ; via 0x8129a4
1934 812606: 6812 ldr r2, [r2, #0]
1935 812608: 0a12 lsr r2, r2, #8
1936 81260a: 0612 lsl r2, r2, #24
1937 81260c: 0e12 lsr r2, r2, #24
1938 81260e: 0152 lsl r2, r2, #5
1939 812610: 4310 orr r0, r2
1940 812612: 8008 strh r0, [r1, #0]
1941 812614: 48e2 ldr r0, =0x83c0a4 ; via 0x8129a0
1942 812616: 6801 ldr r1, [r0, #0]
1943 812618: 1c8a add r2, r1, #2
1944 81261a: 6002 str r2, [r0, #0]
1945 81261c: 4841 ldr r0, =0x8002 ; via 0x812724
1946 81261e: 4ae1 ldr r2, =0x83c09c ; via 0x8129a4
1947 812620: 6812 ldr r2, [r2, #0]
1948 812622: 0612 lsl r2, r2, #24
1949 812624: 0e12 lsr r2, r2, #24
1950 812626: 0152 lsl r2, r2, #5
1951 812628: 4310 orr r0, r2
1952 81262a: 8008 strh r0, [r1, #0]
1953 81262c: 49dc ldr r1, =0x83c0a4 ; via 0x8129a0
1954 81262e: 6808 ldr r0, [r1, #0]
1955 812630: 1c82 add r2, r0, #2
1956 812632: 600a str r2, [r1, #0]
1957 812634: 493c ldr r1, =0x8ae0 ; via 0x812728
1958 812636: 8001 strh r1, [r0, #0]
1959 812638: 49d9 ldr r1, =0x83c0a4 ; via 0x8129a0
1960 81263a: 6808 ldr r0, [r1, #0]
1961 81263c: 1c82 add r2, r0, #2
1962 81263e: 600a str r2, [r1, #0]
1963 812640: 49d9 ldr r1, =0x8041 ; via 0x8129a8
1964 812642: 8001 strh r1, [r0, #0]
1965 812644: 49d6 ldr r1, =0x83c0a4 ; via 0x8129a0
1966 812646: 6808 ldr r0, [r1, #0]
1967 812648: 1c82 add r2, r0, #2
1968 81264a: 600a str r2, [r1, #0]
1969 81264c: 49d0 ldr r1, =0xa001 ; via 0x812990
1970 81264e: 8001 strh r1, [r0, #0]
1971 812650: 2014 mov r0, #20 ; 0x14
1972 812652: 49cc ldr r1, =0x83c0a1 ; via 0x812984
1973 812654: 7809 ldrb r1, [r1, #0]
1974 812656: 4348 mul r0, r1
1975 812658: 49cf ldr r1, =0x83c048 ; via 0x812998
1976 81265a: 5a09 ldrh r1, [r1, r0]
1977 81265c: 48cd ldr r0, =0x8a18 ; via 0x812994
1978 81265e: 4308 orr r0, r1
1979 812660: 49d0 ldr r1, =0x83c09c ; via 0x8129a4
1980 812662: 6008 str r0, [r1, #0]
1981 812664: 48ce ldr r0, =0x83c0a4 ; via 0x8129a0
1982 812666: 6801 ldr r1, [r0, #0]
1983 812668: 1c8a add r2, r1, #2
1984 81266a: 6002 str r2, [r0, #0]
1985 81266c: 48cf ldr r0, =0x8004 ; via 0x8129ac
1986 81266e: 4acd ldr r2, =0x83c09c ; via 0x8129a4
1987 812670: 6812 ldr r2, [r2, #0]
1988 812672: 0a12 lsr r2, r2, #8
1989 812674: 0612 lsl r2, r2, #24
1990 812676: 0e12 lsr r2, r2, #24
1991 812678: 0152 lsl r2, r2, #5
1992 81267a: 4310 orr r0, r2
1993 81267c: 8008 strh r0, [r1, #0]
1994 81267e: 48c8 ldr r0, =0x83c0a4 ; via 0x8129a0
1995 812680: 6801 ldr r1, [r0, #0]
1996 812682: 1c8a add r2, r1, #2
1997 812684: 6002 str r2, [r0, #0]
1998 812686: 48ca ldr r0, =0x8003 ; via 0x8129b0
1999 812688: 4ac6 ldr r2, =0x83c09c ; via 0x8129a4
2000 81268a: 6812 ldr r2, [r2, #0]
2001 81268c: 0612 lsl r2, r2, #24
2002 81268e: 0e12 lsr r2, r2, #24
2003 812690: 0152 lsl r2, r2, #5
2004 812692: 4310 orr r0, r2
2005 812694: 8008 strh r0, [r1, #0]
2006 812696: 49c2 ldr r1, =0x83c0a4 ; via 0x8129a0
2007 812698: 6808 ldr r0, [r1, #0]
2008 81269a: 1c82 add r2, r0, #2
2009 81269c: 600a str r2, [r1, #0]
2010 81269e: 49f1 ldr r1, =0x89e0 ; via 0x812a64
2011 8126a0: 8001 strh r1, [r0, #0]
2012 8126a2: 49bf ldr r1, =0x83c0a4 ; via 0x8129a0
2013 8126a4: 6808 ldr r0, [r1, #0]
2014 8126a6: 1c82 add r2, r0, #2
2015 8126a8: 600a str r2, [r1, #0]
2016 8126aa: 49bf ldr r1, =0x8041 ; via 0x8129a8
2017 8126ac: 8001 strh r1, [r0, #0]
2018 8126ae: 9804 ldr r0, [sp, #16] ; 0x10
2019 8126b0: 49ba ldr r1, =0x83be2c ; via 0x81299c
2020 8126b2: 7809 ldrb r1, [r1, #0]
2021 8126b4: 4308 orr r0, r1
2022 8126b6: 2102 mov r1, #2
2023 8126b8: 4301 orr r1, r0
2024 8126ba: 48ba ldr r0, =0x83c09c ; via 0x8129a4
2025 8126bc: 6001 str r1, [r0, #0]
2026 8126be: 48b8 ldr r0, =0x83c0a4 ; via 0x8129a0
2027 8126c0: 6801 ldr r1, [r0, #0]
2028 8126c2: 1c8a add r2, r1, #2
2029 8126c4: 6002 str r2, [r0, #0]
2030 8126c6: 48b9 ldr r0, =0x8004 ; via 0x8129ac
2031 8126c8: 4ab6 ldr r2, =0x83c09c ; via 0x8129a4
2032 8126ca: 6812 ldr r2, [r2, #0]
2033 8126cc: 0c12 lsr r2, r2, #16
2034 8126ce: 0612 lsl r2, r2, #24
2035 8126d0: 0e12 lsr r2, r2, #24
2036 8126d2: 0152 lsl r2, r2, #5
2037 8126d4: 4310 orr r0, r2
2038 8126d6: 8008 strh r0, [r1, #0]
2039 8126d8: 48b1 ldr r0, =0x83c0a4 ; via 0x8129a0
2040 8126da: 6801 ldr r1, [r0, #0]
2041 8126dc: 1c8a add r2, r1, #2
2042 8126de: 6002 str r2, [r0, #0]
2043 8126e0: 48b3 ldr r0, =0x8003 ; via 0x8129b0
2044 8126e2: 4ab0 ldr r2, =0x83c09c ; via 0x8129a4
2045 8126e4: 6812 ldr r2, [r2, #0]
2046 8126e6: 0a12 lsr r2, r2, #8
2047 8126e8: 0612 lsl r2, r2, #24
2048 8126ea: 0e12 lsr r2, r2, #24
2049 8126ec: 0152 lsl r2, r2, #5
2050 8126ee: 4310 orr r0, r2
2051 8126f0: 8008 strh r0, [r1, #0]
2052 8126f2: 48ab ldr r0, =0x83c0a4 ; via 0x8129a0
2053 8126f4: 6802 ldr r2, [r0, #0]
2054 8126f6: 1c91 add r1, r2, #2
2055 8126f8: 6001 str r1, [r0, #0]
2056 8126fa: 480a ldr r0, =0x8002 ; via 0x812724
2057 8126fc: 49a9 ldr r1, =0x83c09c ; via 0x8129a4
2058 8126fe: 6809 ldr r1, [r1, #0]
2059 812700: 0609 lsl r1, r1, #24
2060 812702: 0e09 lsr r1, r1, #24
2061 812704: 0149 lsl r1, r1, #5
2062 812706: 4308 orr r0, r1
2063 812708: 8010 strh r0, [r2, #0]
2064 81270a: 49a5 ldr r1, =0x83c0a4 ; via 0x8129a0
2065 81270c: 6808 ldr r0, [r1, #0]
2066 81270e: 1c82 add r2, r0, #2
2067 812710: 600a str r2, [r1, #0]
2068 812712: 4905 ldr r1, =0x8ae0 ; via 0x812728
2069 812714: 8001 strh r1, [r0, #0]
2070 812716: 48a2 ldr r0, =0x83c0a4 ; via 0x8129a0
2071 812718: 6802 ldr r2, [r0, #0]
2072 81271a: 1c91 add r1, r2, #2
2073 81271c: 6001 str r1, [r0, #0]
2074 81271e: 48a2 ldr r0, =0x8041 ; via 0x8129a8
2075 812720: 8010 strh r0, [r2, #0]
2076 812722: e12c b 0x81297e
2077 812724: 8002 strh r2, [r0, #0]
2078 812726: 0000 lsl r0, r0, #0
2079 812728: 8ae0 ldrh r0, [r4, #22] ; 0x16
2080 81272a: 0000 lsl r0, r0, #0
2081 81272c: 4668 mov r0, sp
2082 81272e: 8b80 ldrh r0, [r0, #28] ; 0x1c
2083 812730: 2100 mov r1, #0
2084 812732: f7ff fba2 bl 0x811e7a
2085 812736: 9004 str r0, [sp, #16] ; 0x10
2086 812738: 4668 mov r0, sp
2087 81273a: 8b80 ldrh r0, [r0, #28] ; 0x1c
2088 81273c: f7ff fb5c bl 0x811df8
2089 812740: 9005 str r0, [sp, #20] ; 0x14
2090 812742: 4897 ldr r0, =0x83c0a4 ; via 0x8129a0
2091 812744: 6801 ldr r1, [r0, #0]
2092 812746: 1c8a add r2, r1, #2
2093 812748: 6002 str r2, [r0, #0]
2094 81274a: 48fa ldr r0, =0x9004 ; via 0x812b34
2095 81274c: 8008 strh r0, [r1, #0]
2096 81274e: 4894 ldr r0, =0x83c0a4 ; via 0x8129a0
2097 812750: 6801 ldr r1, [r0, #0]
2098 812752: 1c8a add r2, r1, #2
2099 812754: 6002 str r2, [r0, #0]
2100 812756: 48f8 ldr r0, =0x80c0 ; via 0x812b38
2101 812758: 8008 strh r0, [r1, #0]
2102 81275a: 4891 ldr r0, =0x83c0a4 ; via 0x8129a0
2103 81275c: 6801 ldr r1, [r0, #0]
2104 81275e: 1c8a add r2, r1, #2
2105 812760: 6002 str r2, [r0, #0]
2106 812762: 4891 ldr r0, =0x8041 ; via 0x8129a8
2107 812764: 8008 strh r0, [r1, #0]
2108 812766: 498e ldr r1, =0x83c0a4 ; via 0x8129a0
2109 812768: 6808 ldr r0, [r1, #0]
2110 81276a: 1c82 add r2, r0, #2
2111 81276c: 600a str r2, [r1, #0]
2112 81276e: 49f3 ldr r1, =0x82e6 ; via 0x812b3c
2113 812770: 8001 strh r1, [r0, #0]
2114 812772: 2014 mov r0, #20 ; 0x14
2115 812774: 4983 ldr r1, =0x83c0a1 ; via 0x812984
2116 812776: 7809 ldrb r1, [r1, #0]
2117 812778: 4348 mul r0, r1
2118 81277a: 4987 ldr r1, =0x83c048 ; via 0x812998
2119 81277c: 5a09 ldrh r1, [r1, r0]
2120 81277e: 20a3 mov r0, #163 ; 0xa3
2121 812780: 00c0 lsl r0, r0, #3
2122 812782: 4308 orr r0, r1
2123 812784: 4987 ldr r1, =0x83c09c ; via 0x8129a4
2124 812786: 6008 str r0, [r1, #0]
2125 812788: 4885 ldr r0, =0x83c0a4 ; via 0x8129a0
2126 81278a: 6801 ldr r1, [r0, #0]
2127 81278c: 1c8a add r2, r1, #2
2128 81278e: 6002 str r2, [r0, #0]
2129 812790: 4886 ldr r0, =0x8004 ; via 0x8129ac
2130 812792: 4a84 ldr r2, =0x83c09c ; via 0x8129a4
2131 812794: 6812 ldr r2, [r2, #0]
2132 812796: 0a12 lsr r2, r2, #8
2133 812798: 0612 lsl r2, r2, #24
2134 81279a: 0e12 lsr r2, r2, #24
2135 81279c: 0152 lsl r2, r2, #5
2136 81279e: 4310 orr r0, r2
2137 8127a0: 8008 strh r0, [r1, #0]
2138 8127a2: 487f ldr r0, =0x83c0a4 ; via 0x8129a0
2139 8127a4: 6801 ldr r1, [r0, #0]
2140 8127a6: 1c8a add r2, r1, #2
2141 8127a8: 6002 str r2, [r0, #0]
2142 8127aa: 4881 ldr r0, =0x8003 ; via 0x8129b0
2143 8127ac: 4a7d ldr r2, =0x83c09c ; via 0x8129a4
2144 8127ae: 6812 ldr r2, [r2, #0]
2145 8127b0: 0612 lsl r2, r2, #24
2146 8127b2: 0e12 lsr r2, r2, #24
2147 8127b4: 0152 lsl r2, r2, #5
2148 8127b6: 4310 orr r0, r2
2149 8127b8: 8008 strh r0, [r1, #0]
2150 8127ba: 4979 ldr r1, =0x83c0a4 ; via 0x8129a0
2151 8127bc: 6808 ldr r0, [r1, #0]
2152 8127be: 1c82 add r2, r0, #2
2153 8127c0: 600a str r2, [r1, #0]
2154 8127c2: 49a8 ldr r1, =0x89e0 ; via 0x812a64
2155 8127c4: 8001 strh r1, [r0, #0]
2156 8127c6: 4976 ldr r1, =0x83c0a4 ; via 0x8129a0
2157 8127c8: 680a ldr r2, [r1, #0]
2158 8127ca: 1c90 add r0, r2, #2
2159 8127cc: 6008 str r0, [r1, #0]
2160 8127ce: 4876 ldr r0, =0x8041 ; via 0x8129a8
2161 8127d0: 8010 strh r0, [r2, #0]
2162 8127d2: 9904 ldr r1, [sp, #16] ; 0x10
2163 8127d4: 4871 ldr r0, =0x83be2c ; via 0x81299c
2164 8127d6: 7800 ldrb r0, [r0, #0]
2165 8127d8: 4301 orr r1, r0
2166 8127da: 2002 mov r0, #2
2167 8127dc: 4308 orr r0, r1
2168 8127de: 4971 ldr r1, =0x83c09c ; via 0x8129a4
2169 8127e0: 6008 str r0, [r1, #0]
2170 8127e2: 486f ldr r0, =0x83c0a4 ; via 0x8129a0
2171 8127e4: 6801 ldr r1, [r0, #0]
2172 8127e6: 1c8a add r2, r1, #2
2173 8127e8: 6002 str r2, [r0, #0]
2174 8127ea: 4870 ldr r0, =0x8004 ; via 0x8129ac
2175 8127ec: 4a6d ldr r2, =0x83c09c ; via 0x8129a4
2176 8127ee: 6812 ldr r2, [r2, #0]
2177 8127f0: 0c12 lsr r2, r2, #16
2178 8127f2: 0612 lsl r2, r2, #24
2179 8127f4: 0e12 lsr r2, r2, #24
2180 8127f6: 0152 lsl r2, r2, #5
2181 8127f8: 4310 orr r0, r2
2182 8127fa: 8008 strh r0, [r1, #0]
2183 8127fc: 4868 ldr r0, =0x83c0a4 ; via 0x8129a0
2184 8127fe: 6801 ldr r1, [r0, #0]
2185 812800: 1c8a add r2, r1, #2
2186 812802: 6002 str r2, [r0, #0]
2187 812804: 486a ldr r0, =0x8003 ; via 0x8129b0
2188 812806: 4a67 ldr r2, =0x83c09c ; via 0x8129a4
2189 812808: 6812 ldr r2, [r2, #0]
2190 81280a: 0a12 lsr r2, r2, #8
2191 81280c: 0612 lsl r2, r2, #24
2192 81280e: 0e12 lsr r2, r2, #24
2193 812810: 0152 lsl r2, r2, #5
2194 812812: 4310 orr r0, r2
2195 812814: 8008 strh r0, [r1, #0]
2196 812816: 4862 ldr r0, =0x83c0a4 ; via 0x8129a0
2197 812818: 6801 ldr r1, [r0, #0]
2198 81281a: 1c8a add r2, r1, #2
2199 81281c: 6002 str r2, [r0, #0]
2200 81281e: 48cc ldr r0, =0x8002 ; via 0x812b50
2201 812820: 4a60 ldr r2, =0x83c09c ; via 0x8129a4
2202 812822: 6812 ldr r2, [r2, #0]
2203 812824: 0612 lsl r2, r2, #24
2204 812826: 0e12 lsr r2, r2, #24
2205 812828: 0152 lsl r2, r2, #5
2206 81282a: 4310 orr r0, r2
2207 81282c: 8008 strh r0, [r1, #0]
2208 81282e: 495c ldr r1, =0x83c0a4 ; via 0x8129a0
2209 812830: 6808 ldr r0, [r1, #0]
2210 812832: 1c82 add r2, r0, #2
2211 812834: 600a str r2, [r1, #0]
2212 812836: 49c7 ldr r1, =0x8ae0 ; via 0x812b54
2213 812838: 8001 strh r1, [r0, #0]
2214 81283a: 4959 ldr r1, =0x83c0a4 ; via 0x8129a0
2215 81283c: 6808 ldr r0, [r1, #0]
2216 81283e: 1c82 add r2, r0, #2
2217 812840: 600a str r2, [r1, #0]
2218 812842: 4959 ldr r1, =0x8041 ; via 0x8129a8
2219 812844: 8001 strh r1, [r0, #0]
2220 812846: 4956 ldr r1, =0x83c0a4 ; via 0x8129a0
2221 812848: 6808 ldr r0, [r1, #0]
2222 81284a: 1c82 add r2, r0, #2
2223 81284c: 600a str r2, [r1, #0]
2224 81284e: 2165 mov r1, #101 ; 0x65
2225 812850: 01c9 lsl r1, r1, #7
2226 812852: 8001 strh r1, [r0, #0]
2227 812854: 4952 ldr r1, =0x83c0a4 ; via 0x8129a0
2228 812856: 6808 ldr r0, [r1, #0]
2229 812858: 1c82 add r2, r0, #2
2230 81285a: 600a str r2, [r1, #0]
2231 81285c: 49b8 ldr r1, =0x9804 ; via 0x812b40
2232 81285e: 8001 strh r1, [r0, #0]
2233 812860: 494f ldr r1, =0x83c0a4 ; via 0x8129a0
2234 812862: 6808 ldr r0, [r1, #0]
2235 812864: 1c82 add r2, r0, #2
2236 812866: 600a str r2, [r1, #0]
2237 812868: 49b3 ldr r1, =0x80c0 ; via 0x812b38
2238 81286a: 8001 strh r1, [r0, #0]
2239 81286c: 494c ldr r1, =0x83c0a4 ; via 0x8129a0
2240 81286e: 6808 ldr r0, [r1, #0]
2241 812870: 1c82 add r2, r0, #2
2242 812872: 600a str r2, [r1, #0]
2243 812874: 494c ldr r1, =0x8041 ; via 0x8129a8
2244 812876: 8001 strh r1, [r0, #0]
2245 812878: 4949 ldr r1, =0x83c0a4 ; via 0x8129a0
2246 81287a: 6808 ldr r0, [r1, #0]
2247 81287c: 1c82 add r2, r0, #2
2248 81287e: 600a str r2, [r1, #0]
2249 812880: 49b0 ldr r1, =0x328b ; via 0x812b44
2250 812882: 8001 strh r1, [r0, #0]
2251 812884: 2005 mov r0, #5
2252 812886: 9905 ldr r1, [sp, #20] ; 0x14
2253 812888: 4308 orr r0, r1
2254 81288a: 4946 ldr r1, =0x83c09c ; via 0x8129a4
2255 81288c: 6008 str r0, [r1, #0]
2256 81288e: 4844 ldr r0, =0x83c0a4 ; via 0x8129a0
2257 812890: 6801 ldr r1, [r0, #0]
2258 812892: 1c8a add r2, r1, #2
2259 812894: 6002 str r2, [r0, #0]
2260 812896: 4845 ldr r0, =0x8004 ; via 0x8129ac
2261 812898: 4a42 ldr r2, =0x83c09c ; via 0x8129a4
2262 81289a: 6812 ldr r2, [r2, #0]
2263 81289c: 0a12 lsr r2, r2, #8
2264 81289e: 0612 lsl r2, r2, #24
2265 8128a0: 0e12 lsr r2, r2, #24
2266 8128a2: 0152 lsl r2, r2, #5
2267 8128a4: 4310 orr r0, r2
2268 8128a6: 8008 strh r0, [r1, #0]
2269 8128a8: 483d ldr r0, =0x83c0a4 ; via 0x8129a0
2270 8128aa: 6801 ldr r1, [r0, #0]
2271 8128ac: 1c8a add r2, r1, #2
2272 8128ae: 6002 str r2, [r0, #0]
2273 8128b0: 483f ldr r0, =0x8003 ; via 0x8129b0
2274 8128b2: 4a3c ldr r2, =0x83c09c ; via 0x8129a4
2275 8128b4: 6812 ldr r2, [r2, #0]
2276 8128b6: 0612 lsl r2, r2, #24
2277 8128b8: 0e12 lsr r2, r2, #24
2278 8128ba: 0152 lsl r2, r2, #5
2279 8128bc: 4310 orr r0, r2
2280 8128be: 8008 strh r0, [r1, #0]
2281 8128c0: 4937 ldr r1, =0x83c0a4 ; via 0x8129a0
2282 8128c2: 6808 ldr r0, [r1, #0]
2283 8128c4: 1c82 add r2, r0, #2
2284 8128c6: 600a str r2, [r1, #0]
2285 8128c8: 4966 ldr r1, =0x89e0 ; via 0x812a64
2286 8128ca: 8001 strh r1, [r0, #0]
2287 8128cc: 4934 ldr r1, =0x83c0a4 ; via 0x8129a0
2288 8128ce: 6808 ldr r0, [r1, #0]
2289 8128d0: 1c82 add r2, r0, #2
2290 8128d2: 600a str r2, [r1, #0]
2291 8128d4: 4934 ldr r1, =0x8041 ; via 0x8129a8
2292 8128d6: 8001 strh r1, [r0, #0]
2293 8128d8: 4931 ldr r1, =0x83c0a4 ; via 0x8129a0
2294 8128da: 6808 ldr r0, [r1, #0]
2295 8128dc: 1c82 add r2, r0, #2
2296 8128de: 600a str r2, [r1, #0]
2297 8128e0: 4999 ldr r1, =0x32f7 ; via 0x812b48
2298 8128e2: 8001 strh r1, [r0, #0]
2299 8128e4: 492f ldr r1, =0x83c09c ; via 0x8129a4
2300 8128e6: 4899 ldr r0, =0x140973 ; via 0x812b4c
2301 8128e8: 6008 str r0, [r1, #0]
2302 8128ea: 482d ldr r0, =0x83c0a4 ; via 0x8129a0
2303 8128ec: 6801 ldr r1, [r0, #0]
2304 8128ee: 1c8a add r2, r1, #2
2305 8128f0: 6002 str r2, [r0, #0]
2306 8128f2: 482e ldr r0, =0x8004 ; via 0x8129ac
2307 8128f4: 4a2b ldr r2, =0x83c09c ; via 0x8129a4
2308 8128f6: 6812 ldr r2, [r2, #0]
2309 8128f8: 0c12 lsr r2, r2, #16
2310 8128fa: 0612 lsl r2, r2, #24
2311 8128fc: 0e12 lsr r2, r2, #24
2312 8128fe: 0152 lsl r2, r2, #5
2313 812900: 4310 orr r0, r2
2314 812902: 8008 strh r0, [r1, #0]
2315 812904: 4826 ldr r0, =0x83c0a4 ; via 0x8129a0
2316 812906: 6802 ldr r2, [r0, #0]
2317 812908: 1c91 add r1, r2, #2
2318 81290a: 6001 str r1, [r0, #0]
2319 81290c: 4828 ldr r0, =0x8003 ; via 0x8129b0
2320 81290e: 4925 ldr r1, =0x83c09c ; via 0x8129a4
2321 812910: 6809 ldr r1, [r1, #0]
2322 812912: 0a09 lsr r1, r1, #8
2323 812914: 0609 lsl r1, r1, #24
2324 812916: 0e09 lsr r1, r1, #24
2325 812918: 0149 lsl r1, r1, #5
2326 81291a: 4308 orr r0, r1
2327 81291c: 8010 strh r0, [r2, #0]
2328 81291e: 4820 ldr r0, =0x83c0a4 ; via 0x8129a0
2329 812920: 6801 ldr r1, [r0, #0]
2330 812922: 1c8a add r2, r1, #2
2331 812924: 6002 str r2, [r0, #0]
2332 812926: 488a ldr r0, =0x8002 ; via 0x812b50
2333 812928: 4a1e ldr r2, =0x83c09c ; via 0x8129a4
2334 81292a: 6812 ldr r2, [r2, #0]
2335 81292c: 0612 lsl r2, r2, #24
2336 81292e: 0e12 lsr r2, r2, #24
2337 812930: 0152 lsl r2, r2, #5
2338 812932: 4310 orr r0, r2
2339 812934: 8008 strh r0, [r1, #0]
2340 812936: 4a1a ldr r2, =0x83c0a4 ; via 0x8129a0
2341 812938: 6810 ldr r0, [r2, #0]
2342 81293a: 1c81 add r1, r0, #2
2343 81293c: 6011 str r1, [r2, #0]
2344 81293e: 4985 ldr r1, =0x8ae0 ; via 0x812b54
2345 812940: 8001 strh r1, [r0, #0]
2346 812942: 4917 ldr r1, =0x83c0a4 ; via 0x8129a0
2347 812944: 6808 ldr r0, [r1, #0]
2348 812946: 1c82 add r2, r0, #2
2349 812948: 600a str r2, [r1, #0]
2350 81294a: 4917 ldr r1, =0x8041 ; via 0x8129a8
2351 81294c: 8001 strh r1, [r0, #0]
2352 81294e: 4a14 ldr r2, =0x83c0a4 ; via 0x8129a0
2353 812950: 6810 ldr r0, [r2, #0]
2354 812952: 1c81 add r1, r0, #2
2355 812954: 6011 str r1, [r2, #0]
2356 812956: 49e4 ldr r1, =0x3305 ; via 0x812ce8
2357 812958: 8001 strh r1, [r0, #0]
2358 81295a: 4811 ldr r0, =0x83c0a4 ; via 0x8129a0
2359 81295c: 6801 ldr r1, [r0, #0]
2360 81295e: 1c8a add r2, r1, #2
2361 812960: 6002 str r2, [r0, #0]
2362 812962: 4874 ldr r0, =0x9004 ; via 0x812b34
2363 812964: 8008 strh r0, [r1, #0]
2364 812966: 480e ldr r0, =0x83c0a4 ; via 0x8129a0
2365 812968: 6801 ldr r1, [r0, #0]
2366 81296a: 1c8a add r2, r1, #2
2367 81296c: 6002 str r2, [r0, #0]
2368 81296e: 4872 ldr r0, =0x80c0 ; via 0x812b38
2369 812970: 8008 strh r0, [r1, #0]
2370 812972: 4a0b ldr r2, =0x83c0a4 ; via 0x8129a0
2371 812974: 6810 ldr r0, [r2, #0]
2372 812976: 1c81 add r1, r0, #2
2373 812978: 6011 str r1, [r2, #0]
2374 81297a: 490b ldr r1, =0x8041 ; via 0x8129a8
2375 81297c: 8001 strh r1, [r0, #0]
2376 81297e: 9800 ldr r0, [sp, #0]
2377 812980: b008 add sp, #32 ; 0x20
2378 812982: bd00 pop {pc}
2379
2380 $arfcn_to_rf_index:
2381 812a68: b081 sub sp, #4
2382 812a6a: 4669 mov r1, sp
2383 812a6c: 8008 strh r0, [r1, #0]
2384 812a6e: 49d9 ldr r1, =0x8053f8 ; via 0x812dd4
2385 812a70: 48db ldr r0, =0x83cdb4 ; via 0x812de0
2386 812a72: 7800 ldrb r0, [r0, #0]
2387 812a74: 00c0 lsl r0, r0, #3
2388 812a76: 5c09 ldrb r1, [r1, r0]
2389 812a78: 4668 mov r0, sp
2390 812a7a: 70c1 strb r1, [r0, #3]
2391 812a7c: 48d6 ldr r0, =0x8053f9 ; via 0x812dd8
2392 812a7e: 49d8 ldr r1, =0x83cdb4 ; via 0x812de0
2393 812a80: 7809 ldrb r1, [r1, #0]
2394 812a82: 00c9 lsl r1, r1, #3
2395 812a84: 5c40 ldrb r0, [r0, r1]
2396 812a86: 2800 cmp r0, #0
2397 812a88: d011 beq 0x812aae
2398 812a8a: 4668 mov r0, sp
2399 812a8c: 8801 ldrh r1, [r0, #0]
2400 812a8e: 2001 mov r0, #1
2401 812a90: 0240 lsl r0, r0, #9
2402 812a92: 4281 cmp r1, r0
2403 812a94: db0b blt 0x812aae
2404 812a96: 4668 mov r0, sp
2405 812a98: 8800 ldrh r0, [r0, #0]
2406 812a9a: 49d0 ldr r1, =0x375 ; via 0x812ddc
2407 812a9c: 4288 cmp r0, r1
2408 812a9e: dc06 bgt 0x812aae
2409 812aa0: 49cd ldr r1, =0x8053f9 ; via 0x812dd8
2410 812aa2: 48cf ldr r0, =0x83cdb4 ; via 0x812de0
2411 812aa4: 7800 ldrb r0, [r0, #0]
2412 812aa6: 00c0 lsl r0, r0, #3
2413 812aa8: 5c09 ldrb r1, [r1, r0]
2414 812aaa: 4668 mov r0, sp
2415 812aac: 70c1 strb r1, [r0, #3]
2416 812aae: 4668 mov r0, sp
2417 812ab0: 78c0 ldrb r0, [r0, #3]
2418 812ab2: 3801 sub r0, #1
2419 812ab4: 0600 lsl r0, r0, #24
2420 812ab6: 0e00 lsr r0, r0, #24
2421 812ab8: b001 add sp, #4
2422 812aba: 4770 bx lr
2423
2424 IRAM data:
2425
2426 0x839ea8 rf structure
2427 0x83a09c adc_cal structure
2428 0x83c09c rf_data 32-bit var?
2429 0x83c0a0 rf_band 8-bit var
2430 0x83c0a1 rf_index 8-bit var
2431 0x83c0a4 TP_Ptr
2432 0x83cdb4 l1_config structure