-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathspl.dis
11979 lines (11852 loc) · 497 KB
/
spl.dis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
spl.elf: 文件格式 elf32-littlearm
Disassembly of section .text:
30000000 <_start>:
30000000: ea000006 b 30000020 <Reset>
30000004 <HandleUndef>:
30000004: eafffffe b 30000004 <HandleUndef>
30000008 <HandleSvc>:
30000008: eafffffe b 30000008 <HandleSvc>
3000000c <HandlePrefetchAbort>:
3000000c: eafffffe b 3000000c <HandlePrefetchAbort>
30000010 <HandleDataAbort>:
30000010: eafffffe b 30000010 <HandleDataAbort>
30000014 <HandleNotUsed>:
30000014: eafffffe b 30000014 <HandleNotUsed>
30000018 <HandleIRQ>:
30000018: eafffffe b 30000018 <HandleIRQ>
3000001c <HandleFIQ>:
3000001c: eafffffe b 3000001c <HandleFIQ>
30000020 <Reset>:
30000020: e3a0da01 mov sp, #4096 ; 0x1000
30000024: eb00000c bl 3000005c <disable_watch_dog>
30000028: eb00000f bl 3000006c <clock_init>
3000002c: eb000018 bl 30000094 <sdram_init>
30000030: eb000061 bl 300001bc <nand_init>
30000034: e3a01203 mov r1, #805306368 ; 0x30000000
30000038: e3a00000 mov r0, #0
3000003c: e3a02a05 mov r2, #20480 ; 0x5000
30000040: eb0000d2 bl 30000390 <nand_read>
30000044: e59ff0a8 ldr pc, [pc, #168] ; 300000f4 <mem_cfg_val+0x34>
30000048 <on_sdram>:
30000048: e321f0df msr CPSR_c, #223 ; 0xdf
3000004c: e3a0d30d mov sp, #872415232 ; 0x34000000
30000050: e3a0e432 mov lr, #838860800 ; 0x32000000
30000054: e59ff09c ldr pc, [pc, #156] ; 300000f8 <mem_cfg_val+0x38>
30000058 <loop>:
30000058: eafffffe b 30000058 <loop>
3000005c <disable_watch_dog>:
3000005c: e3a00453 mov r0, #1392508928 ; 0x53000000
30000060: e3a01000 mov r1, #0
30000064: e5801000 str r1, [r0]
30000068: e1a0f00e mov pc, lr
3000006c <clock_init>:
3000006c: e59f0088 ldr r0, [pc, #136] ; 300000fc <mem_cfg_val+0x3c>
30000070: e3a01005 mov r1, #5
30000074: e5801000 str r1, [r0]
30000078: ee111f10 mrc 15, 0, r1, cr1, cr0, {0}
3000007c: e3811103 orr r1, r1, #-1073741824 ; 0xc0000000
30000080: ee011f10 mcr 15, 0, r1, cr1, cr0, {0}
30000084: e59f0074 ldr r0, [pc, #116] ; 30000100 <mem_cfg_val+0x40>
30000088: e59f1074 ldr r1, [pc, #116] ; 30000104 <mem_cfg_val+0x44>
3000008c: e5801000 str r1, [r0]
30000090: e1a0f00e mov pc, lr
30000094 <sdram_init>:
30000094: e3a01312 mov r1, #1207959552 ; 0x48000000
30000098: e28f2020 add r2, pc, #32
3000009c: e1a00000 nop ; (mov r0, r0)
300000a0: e2813034 add r3, r1, #52 ; 0x34
300000a4: e4924004 ldr r4, [r2], #4
300000a8: e4814004 str r4, [r1], #4
300000ac: e1510003 cmp r1, r3
300000b0: 1afffffb bne 300000a4 <sdram_init+0x10>
300000b4: e1a0f00e mov pc, lr
300000b8: e1a00000 nop ; (mov r0, r0)
300000bc: e1a00000 nop ; (mov r0, r0)
300000c0 <mem_cfg_val>:
300000c0: 22011110 andcs r1, r1, #16, 2
300000c4: 00000700 andeq r0, r0, r0, lsl #14
300000c8: 00000700 andeq r0, r0, r0, lsl #14
300000cc: 00000700 andeq r0, r0, r0, lsl #14
300000d0: 00000700 andeq r0, r0, r0, lsl #14
300000d4: 00000740 andeq r0, r0, r0, asr #14
300000d8: 00000700 andeq r0, r0, r0, lsl #14
300000dc: 00018005 andeq r8, r1, r5
300000e0: 00018005 andeq r8, r1, r5
300000e4: 008c04f4 strdeq r0, [ip], r4
300000e8: 000000b1 strheq r0, [r0], -r1
300000ec: 00000030 andeq r0, r0, r0, lsr r0
300000f0: 00000030 andeq r0, r0, r0, lsr r0
300000f4: 30000048 andcc r0, r0, r8, asr #32
300000f8: 300029b0 ; <UNDEFINED> instruction: 0x300029b0
300000fc: 4c000014 stcmi 0, cr0, [r0], {20}
30000100: 4c000004 stcmi 0, cr0, [r0], {4}
30000104: 0005c011 andeq ip, r5, r1, lsl r0
30000108 <delay>:
30000108: e24dd008 sub sp, sp, #8
3000010c: e3a01000 mov r1, #0
30000110: e58d1000 str r1, [sp]
30000114: e59f2050 ldr r2, [pc, #80] ; 3000016c <delay+0x64>
30000118: e59d3000 ldr r3, [sp]
3000011c: e1530002 cmp r3, r2
30000120: 8a00000f bhi 30000164 <delay+0x5c>
30000124: e58d1004 str r1, [sp, #4]
30000128: e59d3004 ldr r3, [sp, #4]
3000012c: e1530002 cmp r3, r2
30000130: 8a000005 bhi 3000014c <delay+0x44>
30000134: e59d3004 ldr r3, [sp, #4]
30000138: e2833001 add r3, r3, #1
3000013c: e58d3004 str r3, [sp, #4]
30000140: e59d3004 ldr r3, [sp, #4]
30000144: e1530002 cmp r3, r2
30000148: 9afffff9 bls 30000134 <delay+0x2c>
3000014c: e59d3000 ldr r3, [sp]
30000150: e2833001 add r3, r3, #1
30000154: e58d3000 str r3, [sp]
30000158: e59d3000 ldr r3, [sp]
3000015c: e1530002 cmp r3, r2
30000160: 9affffef bls 30000124 <delay+0x1c>
30000164: e28dd008 add sp, sp, #8
30000168: e12fff1e bx lr
3000016c: 0000012b andeq r0, r0, fp, lsr #2
30000170 <isBootFromNorFlash>:
30000170: e3a03000 mov r3, #0
30000174: e5933000 ldr r3, [r3]
30000178: e7f000f0 udf #0
3000017c <clear_bss>:
3000017c: e59f0030 ldr r0, [pc, #48] ; 300001b4 <clear_bss+0x38>
30000180: e59f1030 ldr r1, [pc, #48] ; 300001b8 <clear_bss+0x3c>
30000184: e1500001 cmp r0, r1
30000188: 212fff1e bxcs lr
3000018c: e1e02000 mvn r2, r0
30000190: e2403004 sub r3, r0, #4
30000194: e0822001 add r2, r2, r1
30000198: e3a01000 mov r1, #0
3000019c: e3c22003 bic r2, r2, #3
300001a0: e0822000 add r2, r2, r0
300001a4: e5a31004 str r1, [r3, #4]!
300001a8: e1530002 cmp r3, r2
300001ac: 1afffffc bne 300001a4 <clear_bss+0x28>
300001b0: e12fff1e bx lr
300001b4: 30002eec andcc r2, r0, ip, ror #29
300001b8: 3000371c andcc r3, r0, ip, lsl r7
300001bc <nand_init>:
300001bc: e3a0344e mov r3, #1308622848 ; 0x4e000000
300001c0: e3a01c01 mov r1, #256 ; 0x100
300001c4: e3a02013 mov r2, #19
300001c8: e5831000 str r1, [r3]
300001cc: e5832004 str r2, [r3, #4]
300001d0: e12fff1e bx lr
300001d4 <nand_select>:
300001d4: e3a0244e mov r2, #1308622848 ; 0x4e000000
300001d8: e5923004 ldr r3, [r2, #4]
300001dc: e3c33002 bic r3, r3, #2
300001e0: e5823004 str r3, [r2, #4]
300001e4: e12fff1e bx lr
300001e8 <nand_deselect>:
300001e8: e3a0244e mov r2, #1308622848 ; 0x4e000000
300001ec: e5923004 ldr r3, [r2, #4]
300001f0: e3833002 orr r3, r3, #2
300001f4: e5823004 str r3, [r2, #4]
300001f8: e12fff1e bx lr
300001fc <nand_cmd>:
300001fc: e24dd008 sub sp, sp, #8
30000200: e3a03000 mov r3, #0
30000204: e3a0244e mov r2, #1308622848 ; 0x4e000000
30000208: e5c20008 strb r0, [r2, #8]
3000020c: e58d3004 str r3, [sp, #4]
30000210: e59d3004 ldr r3, [sp, #4]
30000214: e3530009 cmp r3, #9
30000218: ca000005 bgt 30000234 <nand_cmd+0x38>
3000021c: e59d3004 ldr r3, [sp, #4]
30000220: e2833001 add r3, r3, #1
30000224: e58d3004 str r3, [sp, #4]
30000228: e59d3004 ldr r3, [sp, #4]
3000022c: e3530009 cmp r3, #9
30000230: dafffff9 ble 3000021c <nand_cmd+0x20>
30000234: e28dd008 add sp, sp, #8
30000238: e12fff1e bx lr
3000023c <nand_addr>:
3000023c: e24dd008 sub sp, sp, #8
30000240: e3a0244e mov r2, #1308622848 ; 0x4e000000
30000244: e20010ff and r1, r0, #255 ; 0xff
30000248: e3a03000 mov r3, #0
3000024c: e5c2100c strb r1, [r2, #12]
30000250: e1a02a80 lsl r2, r0, #21
30000254: e58d3004 str r3, [sp, #4]
30000258: e1a015a0 lsr r1, r0, #11
3000025c: e59d3004 ldr r3, [sp, #4]
30000260: e1a02aa2 lsr r2, r2, #21
30000264: e3530009 cmp r3, #9
30000268: ca000005 bgt 30000284 <nand_addr+0x48>
3000026c: e59d3004 ldr r3, [sp, #4]
30000270: e2833001 add r3, r3, #1
30000274: e58d3004 str r3, [sp, #4]
30000278: e59d3004 ldr r3, [sp, #4]
3000027c: e3530009 cmp r3, #9
30000280: dafffff9 ble 3000026c <nand_addr+0x30>
30000284: e1a02422 lsr r2, r2, #8
30000288: e3a03000 mov r3, #0
3000028c: e3a0c44e mov ip, #1308622848 ; 0x4e000000
30000290: e5cc200c strb r2, [ip, #12]
30000294: e58d3004 str r3, [sp, #4]
30000298: e59d3004 ldr r3, [sp, #4]
3000029c: e3530009 cmp r3, #9
300002a0: ca000005 bgt 300002bc <nand_addr+0x80>
300002a4: e59d3004 ldr r3, [sp, #4]
300002a8: e2833001 add r3, r3, #1
300002ac: e58d3004 str r3, [sp, #4]
300002b0: e59d3004 ldr r3, [sp, #4]
300002b4: e3530009 cmp r3, #9
300002b8: dafffff9 ble 300002a4 <nand_addr+0x68>
300002bc: e20130ff and r3, r1, #255 ; 0xff
300002c0: e3a02000 mov r2, #0
300002c4: e3a0144e mov r1, #1308622848 ; 0x4e000000
300002c8: e5c1300c strb r3, [r1, #12]
300002cc: e58d2004 str r2, [sp, #4]
300002d0: e59d3004 ldr r3, [sp, #4]
300002d4: e3530009 cmp r3, #9
300002d8: ca000005 bgt 300002f4 <nand_addr+0xb8>
300002dc: e59d3004 ldr r3, [sp, #4]
300002e0: e2833001 add r3, r3, #1
300002e4: e58d3004 str r3, [sp, #4]
300002e8: e59d3004 ldr r3, [sp, #4]
300002ec: e3530009 cmp r3, #9
300002f0: dafffff9 ble 300002dc <nand_addr+0xa0>
300002f4: e1a039a0 lsr r3, r0, #19
300002f8: e3a0144e mov r1, #1308622848 ; 0x4e000000
300002fc: e3a02000 mov r2, #0
30000300: e20330ff and r3, r3, #255 ; 0xff
30000304: e5c1300c strb r3, [r1, #12]
30000308: e58d2004 str r2, [sp, #4]
3000030c: e59d3004 ldr r3, [sp, #4]
30000310: e3530009 cmp r3, #9
30000314: ca000005 bgt 30000330 <nand_addr+0xf4>
30000318: e59d3004 ldr r3, [sp, #4]
3000031c: e2833001 add r3, r3, #1
30000320: e58d3004 str r3, [sp, #4]
30000324: e59d3004 ldr r3, [sp, #4]
30000328: e3530009 cmp r3, #9
3000032c: dafffff9 ble 30000318 <nand_addr+0xdc>
30000330: e1a00da0 lsr r0, r0, #27
30000334: e3a03000 mov r3, #0
30000338: e3a0244e mov r2, #1308622848 ; 0x4e000000
3000033c: e5c2000c strb r0, [r2, #12]
30000340: e58d3004 str r3, [sp, #4]
30000344: e59d3004 ldr r3, [sp, #4]
30000348: e3530009 cmp r3, #9
3000034c: ca000005 bgt 30000368 <nand_addr+0x12c>
30000350: e59d3004 ldr r3, [sp, #4]
30000354: e2833001 add r3, r3, #1
30000358: e58d3004 str r3, [sp, #4]
3000035c: e59d3004 ldr r3, [sp, #4]
30000360: e3530009 cmp r3, #9
30000364: dafffff9 ble 30000350 <nand_addr+0x114>
30000368: e28dd008 add sp, sp, #8
3000036c: e12fff1e bx lr
30000370 <nand_wait_ready>:
30000370: e3a0244e mov r2, #1308622848 ; 0x4e000000
30000374: e5d23020 ldrb r3, [r2, #32]
30000378: e3130001 tst r3, #1
3000037c: 0afffffc beq 30000374 <nand_wait_ready+0x4>
30000380: e12fff1e bx lr
30000384 <nand_data>:
30000384: e3a0344e mov r3, #1308622848 ; 0x4e000000
30000388: e5d30010 ldrb r0, [r3, #16]
3000038c: e12fff1e bx lr
30000390 <nand_read>:
30000390: e3a0344e mov r3, #1308622848 ; 0x4e000000
30000394: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr}
30000398: e593c004 ldr ip, [r3, #4]
3000039c: e3a04000 mov r4, #0
300003a0: e1a08002 mov r8, r2
300003a4: e24dd014 sub sp, sp, #20
300003a8: e59fb108 ldr fp, [pc, #264] ; 300004b8 <nand_read+0x128>
300003ac: e1540008 cmp r4, r8
300003b0: e3ccc002 bic ip, ip, #2
300003b4: e58d1004 str r1, [sp, #4]
300003b8: e1a07000 mov r7, r0
300003bc: e1a05003 mov r5, r3
300003c0: e000a00b and sl, r0, fp
300003c4: e583c004 str ip, [r3, #4]
300003c8: e1a09004 mov r9, r4
300003cc: e1a06004 mov r6, r4
300003d0: 2a000031 bcs 3000049c <nand_read+0x10c>
300003d4: e5c59008 strb r9, [r5, #8]
300003d8: e58d900c str r9, [sp, #12]
300003dc: e59d300c ldr r3, [sp, #12]
300003e0: e3530009 cmp r3, #9
300003e4: ca000005 bgt 30000400 <nand_read+0x70>
300003e8: e59d300c ldr r3, [sp, #12]
300003ec: e2833001 add r3, r3, #1
300003f0: e58d300c str r3, [sp, #12]
300003f4: e59d300c ldr r3, [sp, #12]
300003f8: e3530009 cmp r3, #9
300003fc: dafffff9 ble 300003e8 <nand_read+0x58>
30000400: e1a00007 mov r0, r7
30000404: ebffff8c bl 3000023c <nand_addr>
30000408: e3a03030 mov r3, #48 ; 0x30
3000040c: e5c53008 strb r3, [r5, #8]
30000410: e58d9008 str r9, [sp, #8]
30000414: e59d3008 ldr r3, [sp, #8]
30000418: e3530009 cmp r3, #9
3000041c: ca000005 bgt 30000438 <nand_read+0xa8>
30000420: e59d3008 ldr r3, [sp, #8]
30000424: e2833001 add r3, r3, #1
30000428: e58d3008 str r3, [sp, #8]
3000042c: e59d3008 ldr r3, [sp, #8]
30000430: e3530009 cmp r3, #9
30000434: dafffff9 ble 30000420 <nand_read+0x90>
30000438: e5d53020 ldrb r3, [r5, #32]
3000043c: e3130001 tst r3, #1
30000440: 0afffffc beq 30000438 <nand_read+0xa8>
30000444: e59d3004 ldr r3, [sp, #4]
30000448: e2441001 sub r1, r4, #1
3000044c: e0831001 add r1, r3, r1
30000450: e2844001 add r4, r4, #1
30000454: e5d50010 ldrb r0, [r5, #16]
30000458: e08a3004 add r3, sl, r4
3000045c: e087c004 add ip, r7, r4
30000460: e0433006 sub r3, r3, r6
30000464: e04cc006 sub ip, ip, r6
30000468: e153000b cmp r3, fp
3000046c: e5e10001 strb r0, [r1, #1]!
30000470: c3a02000 movgt r2, #0
30000474: d3a02001 movle r2, #1
30000478: e1540008 cmp r4, r8
3000047c: 23a02000 movcs r2, #0
30000480: e3520000 cmp r2, #0
30000484: 1afffff1 bne 30000450 <nand_read+0xc0>
30000488: e1540008 cmp r4, r8
3000048c: e1a0a002 mov sl, r2
30000490: e1a0700c mov r7, ip
30000494: e1a06004 mov r6, r4
30000498: 3affffcd bcc 300003d4 <nand_read+0x44>
3000049c: e3a0244e mov r2, #1308622848 ; 0x4e000000
300004a0: e5923004 ldr r3, [r2, #4]
300004a4: e3833002 orr r3, r3, #2
300004a8: e5823004 str r3, [r2, #4]
300004ac: e28dd014 add sp, sp, #20
300004b0: e8bd4ff0 pop {r4, r5, r6, r7, r8, r9, sl, fp, lr}
300004b4: e12fff1e bx lr
300004b8: 000007ff strdeq r0, [r0], -pc ; <UNPREDICTABLE>
300004bc <copy_code_to_sdram>:
300004bc: e3a03000 mov r3, #0
300004c0: e5933000 ldr r3, [r3]
300004c4: e7f000f0 udf #0
300004c8 <uart0_init>:
300004c8: e3a02456 mov r2, #1442840576 ; 0x56000000
300004cc: e92d4010 push {r4, lr}
300004d0: e5921070 ldr r1, [r2, #112] ; 0x70
300004d4: e3a03205 mov r3, #1342177280 ; 0x50000000
300004d8: e3a0400c mov r4, #12
300004dc: e3a0e003 mov lr, #3
300004e0: e3a00000 mov r0, #0
300004e4: e3a0c005 mov ip, #5
300004e8: e38110a0 orr r1, r1, #160 ; 0xa0
300004ec: e5821070 str r1, [r2, #112] ; 0x70
300004f0: e3a0101a mov r1, #26
300004f4: e5824078 str r4, [r2, #120] ; 0x78
300004f8: e583e000 str lr, [r3]
300004fc: e583c004 str ip, [r3, #4]
30000500: e8bd4010 pop {r4, lr}
30000504: e5830008 str r0, [r3, #8]
30000508: e583000c str r0, [r3, #12]
3000050c: e5831028 str r1, [r3, #40] ; 0x28
30000510: e12fff1e bx lr
30000514 <putc>:
30000514: e3a02205 mov r2, #1342177280 ; 0x50000000
30000518: e5923010 ldr r3, [r2, #16]
3000051c: e3130004 tst r3, #4
30000520: 0afffffc beq 30000518 <putc+0x4>
30000524: e5c20020 strb r0, [r2, #32]
30000528: e12fff1e bx lr
3000052c <getc>:
3000052c: e3a02205 mov r2, #1342177280 ; 0x50000000
30000530: e5923010 ldr r3, [r2, #16]
30000534: e3130001 tst r3, #1
30000538: 0afffffc beq 30000530 <getc+0x4>
3000053c: e5d20024 ldrb r0, [r2, #36] ; 0x24
30000540: e12fff1e bx lr
30000544 <puts>:
30000544: e5d01000 ldrb r1, [r0]
30000548: e3510000 cmp r1, #0
3000054c: 012fff1e bxeq lr
30000550: e3a02205 mov r2, #1342177280 ; 0x50000000
30000554: e5923010 ldr r3, [r2, #16]
30000558: e3130004 tst r3, #4
3000055c: 0afffffc beq 30000554 <puts+0x10>
30000560: e5c21020 strb r1, [r2, #32]
30000564: e5f01001 ldrb r1, [r0, #1]!
30000568: e3510000 cmp r1, #0
3000056c: 1afffff8 bne 30000554 <puts+0x10>
30000570: e12fff1e bx lr
30000574 <gets>:
30000574: e5d03000 ldrb r3, [r0]
30000578: e353000d cmp r3, #13
3000057c: 012fff1e bxeq lr
30000580: e240c001 sub ip, r0, #1
30000584: e2801001 add r1, r0, #1
30000588: e3a02205 mov r2, #1342177280 ; 0x50000000
3000058c: e1a00001 mov r0, r1
30000590: e5923010 ldr r3, [r2, #16]
30000594: e3130001 tst r3, #1
30000598: 0afffffc beq 30000590 <gets+0x1c>
3000059c: e5d23024 ldrb r3, [r2, #36] ; 0x24
300005a0: e2811001 add r1, r1, #1
300005a4: e5ec3001 strb r3, [ip, #1]!
300005a8: e5d03000 ldrb r3, [r0]
300005ac: e353000d cmp r3, #13
300005b0: 1afffff5 bne 3000058c <gets+0x18>
300005b4: e12fff1e bx lr
300005b8 <SDI_Check_CMD_End.part.0>:
300005b8: e3a0245a mov r2, #1509949440 ; 0x5a000000
300005bc: e5923010 ldr r3, [r2, #16]
300005c0: e3130c06 tst r3, #1536 ; 0x600
300005c4: 0afffffc beq 300005bc <SDI_Check_CMD_End.part.0+0x4>
300005c8: e3c02008 bic r2, r0, #8
300005cc: e3500029 cmp r0, #41 ; 0x29
300005d0: 13520001 cmpne r2, #1
300005d4: 1a00000a bne 30000604 <SDI_Check_CMD_End.part.0+0x4c>
300005d8: e2032c0f and r2, r3, #3840 ; 0xf00
300005dc: e3520c0a cmp r2, #2560 ; 0xa00
300005e0: 0a000003 beq 300005f4 <SDI_Check_CMD_End.part.0+0x3c>
300005e4: e3130b01 tst r3, #1024 ; 0x400
300005e8: e3a0245a mov r2, #1509949440 ; 0x5a000000
300005ec: e5823010 str r3, [r2, #16]
300005f0: 1a00000e bne 30000630 <SDI_Check_CMD_End.part.0+0x78>
300005f4: e3a0245a mov r2, #1509949440 ; 0x5a000000
300005f8: e3a00001 mov r0, #1
300005fc: e5823010 str r3, [r2, #16]
30000600: e12fff1e bx lr
30000604: e2032c1f and r2, r3, #7936 ; 0x1f00
30000608: e3520c0a cmp r2, #2560 ; 0xa00
3000060c: 0a000003 beq 30000620 <SDI_Check_CMD_End.part.0+0x68>
30000610: e3130b01 tst r3, #1024 ; 0x400
30000614: e3a0245a mov r2, #1509949440 ; 0x5a000000
30000618: e5823010 str r3, [r2, #16]
3000061c: 1a000003 bne 30000630 <SDI_Check_CMD_End.part.0+0x78>
30000620: e3a0245a mov r2, #1509949440 ; 0x5a000000
30000624: e3a00001 mov r0, #1
30000628: e5823010 str r3, [r2, #16]
3000062c: e12fff1e bx lr
30000630: e92d4010 push {r4, lr}
30000634: e1a01000 mov r1, r0
30000638: e59f000c ldr r0, [pc, #12] ; 3000064c <SDI_Check_CMD_End.part.0+0x94>
3000063c: eb0003c2 bl 3000154c <printk>
30000640: e3a00000 mov r0, #0
30000644: e8bd4010 pop {r4, lr}
30000648: e12fff1e bx lr
3000064c: 30002b64 andcc r2, r0, r4, ror #22
30000650 <SDI_Check_CMD_End>:
30000650: e3510000 cmp r1, #0
30000654: 1a00000c bne 3000068c <SDI_Check_CMD_End+0x3c>
30000658: e3a0245a mov r2, #1509949440 ; 0x5a000000
3000065c: e92d4010 push {r4, lr}
30000660: e5923010 ldr r3, [r2, #16]
30000664: e3130b02 tst r3, #2048 ; 0x800
30000668: 0afffffc beq 30000660 <SDI_Check_CMD_End+0x10>
3000066c: e3a0245a mov r2, #1509949440 ; 0x5a000000
30000670: e1a01003 mov r1, r3
30000674: e5823010 str r3, [r2, #16]
30000678: e59f0010 ldr r0, [pc, #16] ; 30000690 <SDI_Check_CMD_End+0x40>
3000067c: eb0003b2 bl 3000154c <printk>
30000680: e3a00001 mov r0, #1
30000684: e8bd4010 pop {r4, lr}
30000688: e12fff1e bx lr
3000068c: eaffffc9 b 300005b8 <SDI_Check_CMD_End.part.0>
30000690: 30002c3c andcc r2, r0, ip, lsr ip
30000694 <CMD0>:
30000694: e92d4010 push {r4, lr}
30000698: e3a01000 mov r1, #0
3000069c: e3a0445a mov r4, #1509949440 ; 0x5a000000
300006a0: e3a03d05 mov r3, #320 ; 0x140
300006a4: e1a00001 mov r0, r1
300006a8: e5841008 str r1, [r4, #8]
300006ac: e584300c str r3, [r4, #12]
300006b0: ebffffe6 bl 30000650 <SDI_Check_CMD_End>
300006b4: e3a03b02 mov r3, #2048 ; 0x800
300006b8: e5843010 str r3, [r4, #16]
300006bc: e8bd4010 pop {r4, lr}
300006c0: e12fff1e bx lr
300006c4 <CMD1>:
300006c4: e59f2044 ldr r2, [pc, #68] ; 30000710 <CMD1+0x4c>
300006c8: e3a00001 mov r0, #1
300006cc: e59f3040 ldr r3, [pc, #64] ; 30000714 <CMD1+0x50>
300006d0: e92d4010 push {r4, lr}
300006d4: e3a0445a mov r4, #1509949440 ; 0x5a000000
300006d8: e5842008 str r2, [r4, #8]
300006dc: e584300c str r3, [r4, #12]
300006e0: ebffffb4 bl 300005b8 <SDI_Check_CMD_End.part.0>
300006e4: e3500000 cmp r0, #0
300006e8: 0a000006 beq 30000708 <CMD1+0x44>
300006ec: e59f3024 ldr r3, [pc, #36] ; 30000718 <CMD1+0x54>
300006f0: e5942014 ldr r2, [r4, #20]
300006f4: e1530822 cmp r3, r2, lsr #16
300006f8: 03a00001 moveq r0, #1
300006fc: 13a00000 movne r0, #0
30000700: 03a03c0a moveq r3, #2560 ; 0xa00
30000704: 05843010 streq r3, [r4, #16]
30000708: e8bd4010 pop {r4, lr}
3000070c: e12fff1e bx lr
30000710: 00ff8000 rscseq r8, pc, r0
30000714: 00000341 andeq r0, r0, r1, asr #6
30000718: 000080ff strdeq r8, [r0], -pc ; <UNPREDICTABLE>
3000071c <CMD2>:
3000071c: e59f30e8 ldr r3, [pc, #232] ; 3000080c <CMD2+0xf0>
30000720: e3a02000 mov r2, #0
30000724: e92d4070 push {r4, r5, r6, lr}
30000728: e3a0445a mov r4, #1509949440 ; 0x5a000000
3000072c: e5842008 str r2, [r4, #8]
30000730: e1a05000 mov r5, r0
30000734: e3a00002 mov r0, #2
30000738: e584300c str r3, [r4, #12]
3000073c: ebffff9d bl 300005b8 <SDI_Check_CMD_End.part.0>
30000740: e3500000 cmp r0, #0
30000744: 0a00002e beq 30000804 <CMD2+0xe8>
30000748: e5943014 ldr r3, [r4, #20]
3000074c: e3a00001 mov r0, #1
30000750: e3a02c0a mov r2, #2560 ; 0xa00
30000754: e1a03c23 lsr r3, r3, #24
30000758: e5c53000 strb r3, [r5]
3000075c: e5943014 ldr r3, [r4, #20]
30000760: e1a03823 lsr r3, r3, #16
30000764: e5c53001 strb r3, [r5, #1]
30000768: e5943014 ldr r3, [r4, #20]
3000076c: e1a03423 lsr r3, r3, #8
30000770: e5c53002 strb r3, [r5, #2]
30000774: e5943014 ldr r3, [r4, #20]
30000778: e5c53003 strb r3, [r5, #3]
3000077c: e5943018 ldr r3, [r4, #24]
30000780: e1a03c23 lsr r3, r3, #24
30000784: e5c53004 strb r3, [r5, #4]
30000788: e5943018 ldr r3, [r4, #24]
3000078c: e1a03823 lsr r3, r3, #16
30000790: e5c53005 strb r3, [r5, #5]
30000794: e5943018 ldr r3, [r4, #24]
30000798: e1a03423 lsr r3, r3, #8
3000079c: e5c53006 strb r3, [r5, #6]
300007a0: e5943018 ldr r3, [r4, #24]
300007a4: e5c53007 strb r3, [r5, #7]
300007a8: e594301c ldr r3, [r4, #28]
300007ac: e1a03c23 lsr r3, r3, #24
300007b0: e5c53008 strb r3, [r5, #8]
300007b4: e594301c ldr r3, [r4, #28]
300007b8: e1a03823 lsr r3, r3, #16
300007bc: e5c53009 strb r3, [r5, #9]
300007c0: e594301c ldr r3, [r4, #28]
300007c4: e1a03423 lsr r3, r3, #8
300007c8: e5c5300a strb r3, [r5, #10]
300007cc: e594301c ldr r3, [r4, #28]
300007d0: e5c5300b strb r3, [r5, #11]
300007d4: e5943020 ldr r3, [r4, #32]
300007d8: e1a03c23 lsr r3, r3, #24
300007dc: e5c5300c strb r3, [r5, #12]
300007e0: e5943020 ldr r3, [r4, #32]
300007e4: e1a03823 lsr r3, r3, #16
300007e8: e5c5300d strb r3, [r5, #13]
300007ec: e5943020 ldr r3, [r4, #32]
300007f0: e1a03423 lsr r3, r3, #8
300007f4: e5c5300e strb r3, [r5, #14]
300007f8: e5943020 ldr r3, [r4, #32]
300007fc: e5c5300f strb r3, [r5, #15]
30000800: e5842010 str r2, [r4, #16]
30000804: e8bd4070 pop {r4, r5, r6, lr}
30000808: e12fff1e bx lr
3000080c: 00000742 andeq r0, r0, r2, asr #14
30000810 <CMD3>:
30000810: e59f305c ldr r3, [pc, #92] ; 30000874 <CMD3+0x64>
30000814: e1a02800 lsl r2, r0, #16
30000818: e92d4070 push {r4, r5, r6, lr}
3000081c: e3a0445a mov r4, #1509949440 ; 0x5a000000
30000820: e1a05000 mov r5, r0
30000824: e3a00003 mov r0, #3
30000828: e1a06001 mov r6, r1
3000082c: e5842008 str r2, [r4, #8]
30000830: e584300c str r3, [r4, #12]
30000834: ebffff5f bl 300005b8 <SDI_Check_CMD_End.part.0>
30000838: e3500000 cmp r0, #0
3000083c: 0a00000a beq 3000086c <CMD3+0x5c>
30000840: e3a03c0a mov r3, #2560 ; 0xa00
30000844: e3550000 cmp r5, #0
30000848: e5843010 str r3, [r4, #16]
3000084c: 13a03001 movne r3, #1
30000850: 05943014 ldreq r3, [r4, #20]
30000854: 01a03823 lsreq r3, r3, #16
30000858: e1c630b0 strh r3, [r6]
3000085c: e3a0345a mov r3, #1509949440 ; 0x5a000000
30000860: e5930014 ldr r0, [r3, #20]
30000864: e1e00000 mvn r0, r0
30000868: e2000001 and r0, r0, #1
3000086c: e8bd4070 pop {r4, r5, r6, lr}
30000870: e12fff1e bx lr
30000874: 00000343 andeq r0, r0, r3, asr #6
30000878 <CMD7>:
30000878: e3500000 cmp r0, #0
3000087c: e92d4010 push {r4, lr}
30000880: 0a00000f beq 300008c4 <CMD7+0x4c>
30000884: e59f307c ldr r3, [pc, #124] ; 30000908 <CMD7+0x90>
30000888: e1a01801 lsl r1, r1, #16
3000088c: e3a0445a mov r4, #1509949440 ; 0x5a000000
30000890: e5841008 str r1, [r4, #8]
30000894: e3a00007 mov r0, #7
30000898: e584300c str r3, [r4, #12]
3000089c: ebffff45 bl 300005b8 <SDI_Check_CMD_End.part.0>
300008a0: e3500000 cmp r0, #0
300008a4: 0a000014 beq 300008fc <CMD7+0x84>
300008a8: e3a03c0a mov r3, #2560 ; 0xa00
300008ac: e5843010 str r3, [r4, #16]
300008b0: e5940014 ldr r0, [r4, #20]
300008b4: e8bd4010 pop {r4, lr}
300008b8: e1e00000 mvn r0, r0
300008bc: e2000001 and r0, r0, #1
300008c0: e12fff1e bx lr
300008c4: e59f3040 ldr r3, [pc, #64] ; 3000090c <CMD7+0x94>
300008c8: e3a0445a mov r4, #1509949440 ; 0x5a000000
300008cc: e5840008 str r0, [r4, #8]
300008d0: e1a01000 mov r1, r0
300008d4: e3a00007 mov r0, #7
300008d8: e584300c str r3, [r4, #12]
300008dc: ebffff5b bl 30000650 <SDI_Check_CMD_End>
300008e0: e3500000 cmp r0, #0
300008e4: 0a000004 beq 300008fc <CMD7+0x84>
300008e8: e3a03b02 mov r3, #2048 ; 0x800
300008ec: e3a00001 mov r0, #1
300008f0: e5843010 str r3, [r4, #16]
300008f4: e8bd4010 pop {r4, lr}
300008f8: e12fff1e bx lr
300008fc: e3a00000 mov r0, #0
30000900: e8bd4010 pop {r4, lr}
30000904: e12fff1e bx lr
30000908: 00000347 andeq r0, r0, r7, asr #6
3000090c: 00000147 andeq r0, r0, r7, asr #2
30000910 <CMD9>:
30000910: e59f3050 ldr r3, [pc, #80] ; 30000968 <CMD9+0x58>
30000914: e1a00800 lsl r0, r0, #16
30000918: e92d4070 push {r4, r5, r6, lr}
3000091c: e3a0445a mov r4, #1509949440 ; 0x5a000000
30000920: e1a05001 mov r5, r1
30000924: e5840008 str r0, [r4, #8]
30000928: e3a00009 mov r0, #9
3000092c: e584300c str r3, [r4, #12]
30000930: ebffff20 bl 300005b8 <SDI_Check_CMD_End.part.0>
30000934: e3500000 cmp r0, #0
30000938: 0a000008 beq 30000960 <CMD9+0x50>
3000093c: e5943014 ldr r3, [r4, #20]
30000940: e3a00001 mov r0, #1
30000944: e5853000 str r3, [r5]
30000948: e5943018 ldr r3, [r4, #24]
3000094c: e5853004 str r3, [r5, #4]
30000950: e594301c ldr r3, [r4, #28]
30000954: e5853008 str r3, [r5, #8]
30000958: e5943020 ldr r3, [r4, #32]
3000095c: e585300c str r3, [r5, #12]
30000960: e8bd4070 pop {r4, r5, r6, lr}
30000964: e12fff1e bx lr
30000968: 00000749 andeq r0, r0, r9, asr #14
3000096c <CMD12>:
3000096c: e92d4010 push {r4, lr}
30000970: e3a03fd3 mov r3, #844 ; 0x34c
30000974: e3a0445a mov r4, #1509949440 ; 0x5a000000
30000978: e3a02000 mov r2, #0
3000097c: e3a0000c mov r0, #12
30000980: e5842008 str r2, [r4, #8]
30000984: e584300c str r3, [r4, #12]
30000988: ebffff0a bl 300005b8 <SDI_Check_CMD_End.part.0>
3000098c: e3500000 cmp r0, #0
30000990: 13a03c0a movne r3, #2560 ; 0xa00
30000994: 13a00001 movne r0, #1
30000998: 15843010 strne r3, [r4, #16]
3000099c: e8bd4010 pop {r4, lr}
300009a0: e12fff1e bx lr
300009a4 <CMD13>:
300009a4: e59f3038 ldr r3, [pc, #56] ; 300009e4 <CMD13+0x40>
300009a8: e1a00800 lsl r0, r0, #16
300009ac: e92d4010 push {r4, lr}
300009b0: e3a0445a mov r4, #1509949440 ; 0x5a000000
300009b4: e5840008 str r0, [r4, #8]
300009b8: e3a0000d mov r0, #13
300009bc: e584300c str r3, [r4, #12]
300009c0: ebfffefc bl 300005b8 <SDI_Check_CMD_End.part.0>
300009c4: e3500000 cmp r0, #0
300009c8: 13a03c0a movne r3, #2560 ; 0xa00
300009cc: 15843010 strne r3, [r4, #16]
300009d0: 15940014 ldrne r0, [r4, #20]
300009d4: e8bd4010 pop {r4, lr}
300009d8: 11a00800 lslne r0, r0, #16
300009dc: 11a00820 lsrne r0, r0, #16
300009e0: e12fff1e bx lr
300009e4: 0000034d andeq r0, r0, sp, asr #6
300009e8 <CMD17>:
300009e8: e59f2028 ldr r2, [pc, #40] ; 30000a18 <CMD17+0x30>
300009ec: e1a01000 mov r1, r0
300009f0: e3a0345a mov r3, #1509949440 ; 0x5a000000
300009f4: e92d4010 push {r4, lr}
300009f8: e3a00011 mov r0, #17
300009fc: e5831008 str r1, [r3, #8]
30000a00: e583200c str r2, [r3, #12]
30000a04: ebfffeeb bl 300005b8 <SDI_Check_CMD_End.part.0>
30000a08: e2900000 adds r0, r0, #0
30000a0c: e8bd4010 pop {r4, lr}
30000a10: 13a00001 movne r0, #1
30000a14: e12fff1e bx lr
30000a18: 00000351 andeq r0, r0, r1, asr r3
30000a1c <CMD18>:
30000a1c: e59f2028 ldr r2, [pc, #40] ; 30000a4c <CMD18+0x30>
30000a20: e1a01000 mov r1, r0
30000a24: e3a0345a mov r3, #1509949440 ; 0x5a000000
30000a28: e92d4010 push {r4, lr}
30000a2c: e3a00012 mov r0, #18
30000a30: e5831008 str r1, [r3, #8]
30000a34: e583200c str r2, [r3, #12]
30000a38: ebfffede bl 300005b8 <SDI_Check_CMD_End.part.0>
30000a3c: e2900000 adds r0, r0, #0
30000a40: e8bd4010 pop {r4, lr}
30000a44: 13a00001 movne r0, #1
30000a48: e12fff1e bx lr
30000a4c: 00000352 andeq r0, r0, r2, asr r3
30000a50 <CMD24>:
30000a50: e3a0345a mov r3, #1509949440 ; 0x5a000000
30000a54: e3a02fd6 mov r2, #856 ; 0x358
30000a58: e92d4010 push {r4, lr}
30000a5c: e5830008 str r0, [r3, #8]
30000a60: e3a00018 mov r0, #24
30000a64: e583200c str r2, [r3, #12]
30000a68: ebfffed2 bl 300005b8 <SDI_Check_CMD_End.part.0>
30000a6c: e2900000 adds r0, r0, #0
30000a70: e8bd4010 pop {r4, lr}
30000a74: 13a00001 movne r0, #1
30000a78: e12fff1e bx lr
30000a7c <CMD25>:
30000a7c: e59f2028 ldr r2, [pc, #40] ; 30000aac <CMD25+0x30>
30000a80: e1a01000 mov r1, r0
30000a84: e3a0345a mov r3, #1509949440 ; 0x5a000000
30000a88: e92d4010 push {r4, lr}
30000a8c: e3a00019 mov r0, #25
30000a90: e5831008 str r1, [r3, #8]
30000a94: e583200c str r2, [r3, #12]
30000a98: ebfffec6 bl 300005b8 <SDI_Check_CMD_End.part.0>
30000a9c: e2900000 adds r0, r0, #0
30000aa0: e8bd4010 pop {r4, lr}
30000aa4: 13a00001 movne r0, #1
30000aa8: e12fff1e bx lr
30000aac: 00000359 andeq r0, r0, r9, asr r3
30000ab0 <CMD55>:
30000ab0: e59f3030 ldr r3, [pc, #48] ; 30000ae8 <CMD55+0x38>
30000ab4: e1a00800 lsl r0, r0, #16
30000ab8: e92d4010 push {r4, lr}
30000abc: e3a0445a mov r4, #1509949440 ; 0x5a000000
30000ac0: e5840008 str r0, [r4, #8]
30000ac4: e3a00037 mov r0, #55 ; 0x37
30000ac8: e584300c str r3, [r4, #12]
30000acc: ebfffeb9 bl 300005b8 <SDI_Check_CMD_End.part.0>
30000ad0: e3500000 cmp r0, #0
30000ad4: 13a03c0a movne r3, #2560 ; 0xa00
30000ad8: 13a00001 movne r0, #1
30000adc: 15843010 strne r3, [r4, #16]
30000ae0: e8bd4010 pop {r4, lr}
30000ae4: e12fff1e bx lr
30000ae8: 00000377 andeq r0, r0, r7, ror r3
30000aec <ACMD6>:
30000aec: e59f3068 ldr r3, [pc, #104] ; 30000b5c <ACMD6+0x70>
30000af0: e1a01801 lsl r1, r1, #16
30000af4: e92d4070 push {r4, r5, r6, lr}
30000af8: e3a0445a mov r4, #1509949440 ; 0x5a000000
30000afc: e1a05000 mov r5, r0
30000b00: e3a00037 mov r0, #55 ; 0x37
30000b04: e5841008 str r1, [r4, #8]
30000b08: e584300c str r3, [r4, #12]
30000b0c: ebfffea9 bl 300005b8 <SDI_Check_CMD_End.part.0>
30000b10: e3500000 cmp r0, #0
30000b14: 1a000002 bne 30000b24 <ACMD6+0x38>
30000b18: e3a00000 mov r0, #0
30000b1c: e8bd4070 pop {r4, r5, r6, lr}
30000b20: e12fff1e bx lr
30000b24: e59f3034 ldr r3, [pc, #52] ; 30000b60 <ACMD6+0x74>
30000b28: e1a05085 lsl r5, r5, #1
30000b2c: e3a06c0a mov r6, #2560 ; 0xa00
30000b30: e5846010 str r6, [r4, #16]
30000b34: e3a00006 mov r0, #6
30000b38: e5845008 str r5, [r4, #8]
30000b3c: e584300c str r3, [r4, #12]
30000b40: ebfffe9c bl 300005b8 <SDI_Check_CMD_End.part.0>
30000b44: e3500000 cmp r0, #0
30000b48: 0afffff2 beq 30000b18 <ACMD6+0x2c>
30000b4c: e3a00001 mov r0, #1
30000b50: e5846010 str r6, [r4, #16]
30000b54: e8bd4070 pop {r4, r5, r6, lr}
30000b58: e12fff1e bx lr
30000b5c: 00000377 andeq r0, r0, r7, ror r3
30000b60: 00000346 andeq r0, r0, r6, asr #6
30000b64 <ACMD41>:
30000b64: e59f3090 ldr r3, [pc, #144] ; 30000bfc <ACMD41+0x98>
30000b68: e1a00800 lsl r0, r0, #16
30000b6c: e92d4070 push {r4, r5, r6, lr}
30000b70: e3a0445a mov r4, #1509949440 ; 0x5a000000
30000b74: e5840008 str r0, [r4, #8]
30000b78: e3a00037 mov r0, #55 ; 0x37
30000b7c: e584300c str r3, [r4, #12]
30000b80: ebfffe8c bl 300005b8 <SDI_Check_CMD_End.part.0>
30000b84: e3500000 cmp r0, #0
30000b88: 1a000001 bne 30000b94 <ACMD41+0x30>
30000b8c: e8bd4070 pop {r4, r5, r6, lr}
30000b90: e12fff1e bx lr
30000b94: e59f2064 ldr r2, [pc, #100] ; 30000c00 <ACMD41+0x9c>
30000b98: e3a05c0a mov r5, #2560 ; 0xa00
30000b9c: e59f3060 ldr r3, [pc, #96] ; 30000c04 <ACMD41+0xa0>
30000ba0: e3a00029 mov r0, #41 ; 0x29
30000ba4: e5845010 str r5, [r4, #16]
30000ba8: e5842008 str r2, [r4, #8]
30000bac: e584300c str r3, [r4, #12]
30000bb0: ebfffe80 bl 300005b8 <SDI_Check_CMD_End.part.0>
30000bb4: e3500000 cmp r0, #0
30000bb8: 05845010 streq r5, [r4, #16]
30000bbc: 0afffff2 beq 30000b8c <ACMD41+0x28>
30000bc0: e5942014 ldr r2, [r4, #20]
30000bc4: e59f303c ldr r3, [pc, #60] ; 30000c08 <ACMD41+0xa4>
30000bc8: e1520003 cmp r2, r3
30000bcc: 03a00002 moveq r0, #2
30000bd0: 0a000004 beq 30000be8 <ACMD41+0x84>
30000bd4: e5940014 ldr r0, [r4, #20]
30000bd8: e2833103 add r3, r3, #-1073741824 ; 0xc0000000
30000bdc: e0403003 sub r3, r0, r3
30000be0: e2730000 rsbs r0, r3, #0
30000be4: e0a00003 adc r0, r0, r3
30000be8: e3a0345a mov r3, #1509949440 ; 0x5a000000
30000bec: e3a02c0a mov r2, #2560 ; 0xa00
30000bf0: e5832010 str r2, [r3, #16]
30000bf4: e8bd4070 pop {r4, r5, r6, lr}
30000bf8: e12fff1e bx lr
30000bfc: 00000377 andeq r0, r0, r7, ror r3
30000c00: 40ff8000 rscsmi r8, pc, r0
30000c04: 00000369 andeq r0, r0, r9, ror #6
30000c08: c0ff8000 rscsgt r8, pc, r0
30000c0c <SDI_MMC_OCR>:
30000c0c: e92d4010 push {r4, lr}
30000c10: e3a0400a mov r4, #10
30000c14: ebfffeaa bl 300006c4 <CMD1>
30000c18: e3500000 cmp r0, #0
30000c1c: 1a000004 bne 30000c34 <SDI_MMC_OCR+0x28>
30000c20: e2544001 subs r4, r4, #1
30000c24: 1afffffa bne 30000c14 <SDI_MMC_OCR+0x8>
30000c28: e1a00004 mov r0, r4
30000c2c: e8bd4010 pop {r4, lr}
30000c30: e12fff1e bx lr
30000c34: e3a00001 mov r0, #1
30000c38: e8bd4010 pop {r4, lr}
30000c3c: e12fff1e bx lr
30000c40 <SDI_SD_OCR>:
30000c40: e92d4070 push {r4, r5, r6, lr}
30000c44: e3a03000 mov r3, #0
30000c48: e59f503c ldr r5, [pc, #60] ; 30000c8c <SDI_SD_OCR+0x4c>
30000c4c: e1a00003 mov r0, r3
30000c50: e3a04032 mov r4, #50 ; 0x32
30000c54: e1c530b2 strh r3, [r5, #2]
30000c58: ea000002 b 30000c68 <SDI_SD_OCR+0x28>
30000c5c: e2544001 subs r4, r4, #1
30000c60: 0a000006 beq 30000c80 <SDI_SD_OCR+0x40>
30000c64: e1d500b2 ldrh r0, [r5, #2]
30000c68: ebffffbd bl 30000b64 <ACMD41>
30000c6c: e3500000 cmp r0, #0
30000c70: 0afffff9 beq 30000c5c <SDI_SD_OCR+0x1c>
30000c74: e3a00001 mov r0, #1
30000c78: e8bd4070 pop {r4, r5, r6, lr}
30000c7c: e12fff1e bx lr
30000c80: e1a00004 mov r0, r4
30000c84: e8bd4070 pop {r4, r5, r6, lr}
30000c88: e12fff1e bx lr
30000c8c: 300036ec andcc r3, r0, ip, ror #13
30000c90 <sd_init>:
30000c90: e92d4070 push {r4, r5, r6, lr}
30000c94: e3a0545a mov r5, #1509949440 ; 0x5a000000
30000c98: e59f031c ldr r0, [pc, #796] ; 30000fbc <sd_init+0x32c>
30000c9c: e3a04c02 mov r4, #512 ; 0x200
30000ca0: eb000229 bl 3000154c <printk>
30000ca4: e59f3314 ldr r3, [pc, #788] ; 30000fc0 <sd_init+0x330>
30000ca8: e3a02456 mov r2, #1442840576 ; 0x56000000
30000cac: e59fe310 ldr lr, [pc, #784] ; 30000fc4 <sd_init+0x334>
30000cb0: e3a0107c mov r1, #124 ; 0x7c
30000cb4: e59fc30c ldr ip, [pc, #780] ; 30000fc8 <sd_init+0x338>
30000cb8: e3a00001 mov r0, #1
30000cbc: e582e048 str lr, [r2, #72] ; 0x48
30000cc0: e582c040 str ip, [r2, #64] ; 0x40
30000cc4: e3a02000 mov r2, #0
30000cc8: e5853010 str r3, [r5, #16]
30000ccc: e3a0cd05 mov ip, #320 ; 0x140
30000cd0: e5853034 str r3, [r5, #52] ; 0x34
30000cd4: e5851004 str r1, [r5, #4]
30000cd8: e1a01002 mov r1, r2
30000cdc: e5850000 str r0, [r5]
30000ce0: e1a00002 mov r0, r2
30000ce4: e5953038 ldr r3, [r5, #56] ; 0x38
30000ce8: e59fe2dc ldr lr, [pc, #732] ; 30000fcc <sd_init+0x33c>
30000cec: e3833801 orr r3, r3, #65536 ; 0x10000
30000cf0: e5853038 str r3, [r5, #56] ; 0x38
30000cf4: e5854028 str r4, [r5, #40] ; 0x28
30000cf8: e3a0400a mov r4, #10
30000cfc: e585e024 str lr, [r5, #36] ; 0x24
30000d00: e5852008 str r2, [r5, #8]
30000d04: e585c00c str ip, [r5, #12]
30000d08: ebfffe50 bl 30000650 <SDI_Check_CMD_End>
30000d0c: e3a03b02 mov r3, #2048 ; 0x800
30000d10: e5853010 str r3, [r5, #16]
30000d14: ebfffe6a bl 300006c4 <CMD1>
30000d18: e3500000 cmp r0, #0
30000d1c: 1a000078 bne 30000f04 <sd_init+0x274>
30000d20: e2544001 subs r4, r4, #1
30000d24: 1afffffa bne 30000d14 <sd_init+0x84>
30000d28: e59f52a0 ldr r5, [pc, #672] ; 30000fd0 <sd_init+0x340>
30000d2c: e5c54001 strb r4, [r5, #1]
30000d30: ebffffc2 bl 30000c40 <SDI_SD_OCR>
30000d34: e2504000 subs r4, r0, #0
30000d38: 0a000077 beq 30000f1c <sd_init+0x28c>
30000d3c: e59f0290 ldr r0, [pc, #656] ; 30000fd4 <sd_init+0x344>
30000d40: eb000201 bl 3000154c <printk>
30000d44: e59f028c ldr r0, [pc, #652] ; 30000fd8 <sd_init+0x348>
30000d48: ebfffe73 bl 3000071c <CMD2>
30000d4c: e2504000 subs r4, r0, #0
30000d50: 0a000076 beq 30000f30 <sd_init+0x2a0>
30000d54: e59f0280 ldr r0, [pc, #640] ; 30000fdc <sd_init+0x34c>
30000d58: eb0001fb bl 3000154c <printk>
30000d5c: e5d51004 ldrb r1, [r5, #4]
30000d60: e59f0278 ldr r0, [pc, #632] ; 30000fe0 <sd_init+0x350>
30000d64: eb0001f8 bl 3000154c <printk>
30000d68: e5d53006 ldrb r3, [r5, #6]
30000d6c: e5d51005 ldrb r1, [r5, #5]
30000d70: e59f026c ldr r0, [pc, #620] ; 30000fe4 <sd_init+0x354>
30000d74: e0831401 add r1, r3, r1, lsl #8
30000d78: eb0001f3 bl 3000154c <printk>
30000d7c: e59f1264 ldr r1, [pc, #612] ; 30000fe8 <sd_init+0x358>
30000d80: e59f0264 ldr r0, [pc, #612] ; 30000fec <sd_init+0x35c>
30000d84: eb0001f0 bl 3000154c <printk>
30000d88: e5d53011 ldrb r3, [r5, #17]
30000d8c: e5d51012 ldrb r1, [r5, #18]
30000d90: e59f0258 ldr r0, [pc, #600] ; 30000ff0 <sd_init+0x360>
30000d94: e1a03203 lsl r3, r3, #4
30000d98: e201200f and r2, r1, #15
30000d9c: e20330ff and r3, r3, #255 ; 0xff
30000da0: e0831221 add r1, r3, r1, lsr #4
30000da4: eb0001e8 bl 3000154c <printk>
30000da8: e5d56001 ldrb r6, [r5, #1]
30000dac: e3560001 cmp r6, #1
30000db0: 0a000063 beq 30000f44 <sd_init+0x2b4>
30000db4: e59f1238 ldr r1, [pc, #568] ; 30000ff4 <sd_init+0x364>
30000db8: e3a00000 mov r0, #0
30000dbc: ebfffe93 bl 30000810 <CMD3>
30000dc0: e2504000 subs r4, r0, #0
30000dc4: 0a00006b beq 30000f78 <sd_init+0x2e8>
30000dc8: e3a0345a mov r3, #1509949440 ; 0x5a000000
30000dcc: e3a02001 mov r2, #1
30000dd0: e5832004 str r2, [r3, #4]
30000dd4: e1d510b2 ldrh r1, [r5, #2]
30000dd8: e59f0218 ldr r0, [pc, #536] ; 30000ff8 <sd_init+0x368>
30000ddc: eb0001da bl 3000154c <printk>
30000de0: e59f1214 ldr r1, [pc, #532] ; 30000ffc <sd_init+0x36c>
30000de4: e1d500b2 ldrh r0, [r5, #2]
30000de8: ebfffec8 bl 30000910 <CMD9>