-
Notifications
You must be signed in to change notification settings - Fork 0
/
output
11722 lines (11280 loc) · 633 KB
/
output
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
target/riscv64gc-unknown-none-elf/debug/rust-to-riscv-asm: file format elf64-littleriscv
Disassembly of section .text:
0000000080200000 <_start>:
; _start():
80200000: 00007117 auipc sp, 0x7
80200004: 52210113 addi sp, sp, 0x522
80200008: 00a002b7 lui t0, 0xa00
8020000c: 9116 add sp, sp, t0
8020000e: 00004097 auipc ra, 0x4
80200012: ccc080e7 jalr -0x334(ra) <rust_main>
0000000080200016 <_$LT$spin..mutex..spin..SpinMutexGuard$LT$T$GT$$u20$as$u20$core..ops..deref..DerefMut$GT$::deref_mut::h0223c9bbaa9429db>:
; _$LT$spin..mutex..spin..SpinMutexGuard$LT$T$GT$$u20$as$u20$core..ops..deref..DerefMut$GT$::deref_mut::h0223c9bbaa9429db():
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:341
80200016: 1141 addi sp, sp, -0x10
80200018: e42a sd a0, 0x8(sp)
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:343
8020001a: 6508 ld a0, 0x8(a0)
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:344
8020001c: 0141 addi sp, sp, 0x10
8020001e: 8082 ret
0000000080200020 <core::slice::raw::from_raw_parts::precondition_check::hf255f1839e0b0db8>:
; core::slice::raw::from_raw_parts::precondition_check::hf255f1839e0b0db8():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:68
80200020: 7135 addi sp, sp, -0xa0
80200022: e436 sd a3, 0x8(sp)
80200024: e832 sd a2, 0x10(sp)
80200026: ec2e sd a1, 0x18(sp)
80200028: f0aa sd a0, 0x60(sp)
8020002a: f4ae sd a1, 0x68(sp)
8020002c: f8b2 sd a2, 0x70(sp)
8020002e: fcb6 sd a3, 0x78(sp)
0000000080200030 <.Lpcrel_hi0>:
; .Lpcrel_hi0():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:337
80200030: 00006597 auipc a1, 0x6
80200034: 00058593 mv a1, a1
80200038: e12e sd a1, 0x80(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:135
8020003a: e52a sd a0, 0x88(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:54
8020003c: e92a sd a0, 0x90(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:147
8020003e: 85aa mv a1, a0
80200040: f02e sd a1, 0x20(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:120
80200042: e119 bnez a0, 0x80200048 <.Lpcrel_hi0+0x18>
80200044: a009 j 0x80200046 <.Lpcrel_hi0+0x16>
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:135
80200046: a0ad j 0x802000b0 <.Lpcrel_hi0+0x80>
80200048: 6542 ld a0, 0x10(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/num/uint_macros.rs:85
8020004a: 00155593 srli a1, a0, 0x1
8020004e: 55555637 lui a2, 0x55555
80200052: 5556061b addiw a2, a2, 0x555
80200056: 02061693 slli a3, a2, 0x20
8020005a: 9636 add a2, a2, a3
8020005c: 8df1 and a1, a1, a2
8020005e: 40b505b3 sub a1, a0, a1
80200062: 33333537 lui a0, 0x33333
80200066: 3335051b addiw a0, a0, 0x333
8020006a: 02051613 slli a2, a0, 0x20
8020006e: 962a add a2, a2, a0
80200070: 00c5f533 and a0, a1, a2
80200074: 8189 srli a1, a1, 0x2
80200076: 8df1 and a1, a1, a2
80200078: 952e add a0, a0, a1
8020007a: 00455593 srli a1, a0, 0x4
8020007e: 952e add a0, a0, a1
80200080: 0f0f15b7 lui a1, 0xf0f1
80200084: f0f5859b addiw a1, a1, -0xf1
80200088: 02059613 slli a2, a1, 0x20
8020008c: 95b2 add a1, a1, a2
8020008e: 8d6d and a0, a0, a1
80200090: 010105b7 lui a1, 0x1010
80200094: 1015859b addiw a1, a1, 0x101
80200098: 02059613 slli a2, a1, 0x20
8020009c: 95b2 add a1, a1, a2
8020009e: 02b50533 mul a0, a0, a1
802000a2: 9161 srli a0, a0, 0x38
802000a4: cf2a sw a0, 0x9c(sp)
802000a6: 457a lw a0, 0x9c(sp)
802000a8: 4585 li a1, 0x1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:1602
802000aa: 00b50463 beq a0, a1, 0x802000b2 <.Lpcrel_hi0+0x82>
802000ae: a801 j 0x802000be <.Lpcrel_hi1>
802000b0: a889 j 0x80200102 <.Lpcrel_hi4>
802000b2: 7502 ld a0, 0x20(sp)
802000b4: 65c2 ld a1, 0x10(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:1608
802000b6: 15fd addi a1, a1, -0x1
802000b8: 8d6d and a0, a0, a1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:135
802000ba: cd15 beqz a0, 0x802000f6 <.Lpcrel_hi3+0x12>
802000bc: bfd5 j 0x802000b0 <.Lpcrel_hi0+0x80>
00000000802000be <.Lpcrel_hi1>:
; .Lpcrel_hi1():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:339
802000be: 00006517 auipc a0, 0x6
802000c2: f7250513 addi a0, a0, -0x8e
802000c6: f42a sd a0, 0x28(sp)
802000c8: 4505 li a0, 0x1
802000ca: f82a sd a0, 0x30(sp)
00000000802000cc <.Lpcrel_hi2>:
; .Lpcrel_hi2():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:339
802000cc: 00006517 auipc a0, 0x6
802000d0: 0d450513 addi a0, a0, 0xd4
802000d4: 610c ld a1, 0x0(a0)
802000d6: 6508 ld a0, 0x8(a0)
802000d8: e4ae sd a1, 0x48(sp)
802000da: e8aa sd a0, 0x50(sp)
802000dc: 4521 li a0, 0x8
802000de: fc2a sd a0, 0x38(sp)
802000e0: 4501 li a0, 0x0
802000e2: e0aa sd a0, 0x40(sp)
00000000802000e4 <.Lpcrel_hi3>:
; .Lpcrel_hi3():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:1603
802000e4: 00006517 auipc a0, 0x6
802000e8: 15450593 addi a1, a0, 0x154
802000ec: 1028 addi a0, sp, 0x28
802000ee: 00004097 auipc ra, 0x4
802000f2: 208080e7 jalr 0x208(ra) <core::panicking::panic_fmt::hd74e2a0fb7381b7e>
802000f6: 6562 ld a0, 0x18(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
802000f8: 00153593 seqz a1, a0
802000fc: e02e sd a1, 0x0(sp)
802000fe: cd01 beqz a0, 0x80200116 <.Lpcrel_hi4+0x14>
80200100: a831 j 0x8020011c <.Lpcrel_hi4+0x1a>
0000000080200102 <.Lpcrel_hi4>:
; .Lpcrel_hi4():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:70
80200102: 00006517 auipc a0, 0x6
80200106: fc650513 addi a0, a0, -0x3a
8020010a: 0a200593 li a1, 0xa2
8020010e: 00004097 auipc ra, 0x4
80200112: 290080e7 jalr 0x290(ra) <core::panicking::panic_nounwind::h92acbb232d24bc37>
80200116: 557d li a0, -0x1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
80200118: ecaa sd a0, 0x58(sp)
8020011a: a029 j 0x80200124 <.Lpcrel_hi4+0x22>
8020011c: 6502 ld a0, 0x0(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
8020011e: 8905 andi a0, a0, 0x1
80200120: ed11 bnez a0, 0x8020013c <.Lpcrel_hi5>
80200122: a031 j 0x8020012e <.Lpcrel_hi4+0x2c>
80200124: 65a2 ld a1, 0x8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:126
80200126: 6566 ld a0, 0x58(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:136
80200128: 02b57363 bgeu a0, a1, 0x8020014e <.Lpcrel_hi5+0x12>
8020012c: a005 j 0x8020014c <.Lpcrel_hi5+0x10>
8020012e: 65e2 ld a1, 0x18(sp)
80200130: 557d li a0, -0x1
80200132: 8105 srli a0, a0, 0x1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
80200134: 02b55533 divu a0, a0, a1
80200138: ecaa sd a0, 0x58(sp)
8020013a: b7ed j 0x80200124 <.Lpcrel_hi4+0x22>
000000008020013c <.Lpcrel_hi5>:
; .Lpcrel_hi5():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
8020013c: 00006517 auipc a0, 0x6
80200140: f7450513 addi a0, a0, -0x8c
80200144: 00005097 auipc ra, 0x5
80200148: dc6080e7 jalr -0x23a(ra) <core::panicking::panic_const::panic_const_div_by_zero::h54d21b33a46fc536>
8020014c: bf5d j 0x80200102 <.Lpcrel_hi4>
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:74
8020014e: 610d addi sp, sp, 0xa0
80200150: 8082 ret
0000000080200152 <core::slice::raw::from_raw_parts_mut::precondition_check::h9cad483dd6fa9676>:
; core::slice::raw::from_raw_parts_mut::precondition_check::h9cad483dd6fa9676():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:68
80200152: 7135 addi sp, sp, -0xa0
80200154: e436 sd a3, 0x8(sp)
80200156: e832 sd a2, 0x10(sp)
80200158: ec2e sd a1, 0x18(sp)
8020015a: f0aa sd a0, 0x60(sp)
8020015c: f4ae sd a1, 0x68(sp)
8020015e: f8b2 sd a2, 0x70(sp)
80200160: fcb6 sd a3, 0x78(sp)
0000000080200162 <.Lpcrel_hi6>:
; .Lpcrel_hi6():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:337
80200162: 00006597 auipc a1, 0x6
80200166: ece58593 addi a1, a1, -0x132
8020016a: e12e sd a1, 0x80(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:190
8020016c: e52a sd a0, 0x88(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:54
8020016e: e92a sd a0, 0x90(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:147
80200170: 85aa mv a1, a0
80200172: f02e sd a1, 0x20(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:120
80200174: e119 bnez a0, 0x8020017a <.Lpcrel_hi6+0x18>
80200176: a009 j 0x80200178 <.Lpcrel_hi6+0x16>
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:190
80200178: a0ad j 0x802001e2 <.Lpcrel_hi6+0x80>
8020017a: 6542 ld a0, 0x10(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/num/uint_macros.rs:85
8020017c: 00155593 srli a1, a0, 0x1
80200180: 55555637 lui a2, 0x55555
80200184: 5556061b addiw a2, a2, 0x555
80200188: 02061693 slli a3, a2, 0x20
8020018c: 9636 add a2, a2, a3
8020018e: 8df1 and a1, a1, a2
80200190: 40b505b3 sub a1, a0, a1
80200194: 33333537 lui a0, 0x33333
80200198: 3335051b addiw a0, a0, 0x333
8020019c: 02051613 slli a2, a0, 0x20
802001a0: 962a add a2, a2, a0
802001a2: 00c5f533 and a0, a1, a2
802001a6: 8189 srli a1, a1, 0x2
802001a8: 8df1 and a1, a1, a2
802001aa: 952e add a0, a0, a1
802001ac: 00455593 srli a1, a0, 0x4
802001b0: 952e add a0, a0, a1
802001b2: 0f0f15b7 lui a1, 0xf0f1
802001b6: f0f5859b addiw a1, a1, -0xf1
802001ba: 02059613 slli a2, a1, 0x20
802001be: 95b2 add a1, a1, a2
802001c0: 8d6d and a0, a0, a1
802001c2: 010105b7 lui a1, 0x1010
802001c6: 1015859b addiw a1, a1, 0x101
802001ca: 02059613 slli a2, a1, 0x20
802001ce: 95b2 add a1, a1, a2
802001d0: 02b50533 mul a0, a0, a1
802001d4: 9161 srli a0, a0, 0x38
802001d6: cf2a sw a0, 0x9c(sp)
802001d8: 457a lw a0, 0x9c(sp)
802001da: 4585 li a1, 0x1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:1602
802001dc: 00b50463 beq a0, a1, 0x802001e4 <.Lpcrel_hi6+0x82>
802001e0: a801 j 0x802001f0 <.Lpcrel_hi7>
802001e2: a889 j 0x80200234 <.Lpcrel_hi10>
802001e4: 7502 ld a0, 0x20(sp)
802001e6: 65c2 ld a1, 0x10(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:1608
802001e8: 15fd addi a1, a1, -0x1
802001ea: 8d6d and a0, a0, a1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:190
802001ec: cd15 beqz a0, 0x80200228 <.Lpcrel_hi9+0x12>
802001ee: bfd5 j 0x802001e2 <.Lpcrel_hi6+0x80>
00000000802001f0 <.Lpcrel_hi7>:
; .Lpcrel_hi7():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:339
802001f0: 00006517 auipc a0, 0x6
802001f4: e4050513 addi a0, a0, -0x1c0
802001f8: f42a sd a0, 0x28(sp)
802001fa: 4505 li a0, 0x1
802001fc: f82a sd a0, 0x30(sp)
00000000802001fe <.Lpcrel_hi8>:
; .Lpcrel_hi8():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:339
802001fe: 00006517 auipc a0, 0x6
80200202: fa250513 addi a0, a0, -0x5e
80200206: 610c ld a1, 0x0(a0)
80200208: 6508 ld a0, 0x8(a0)
8020020a: e4ae sd a1, 0x48(sp)
8020020c: e8aa sd a0, 0x50(sp)
8020020e: 4521 li a0, 0x8
80200210: fc2a sd a0, 0x38(sp)
80200212: 4501 li a0, 0x0
80200214: e0aa sd a0, 0x40(sp)
0000000080200216 <.Lpcrel_hi9>:
; .Lpcrel_hi9():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:1603
80200216: 00006517 auipc a0, 0x6
8020021a: 02250593 addi a1, a0, 0x22
8020021e: 1028 addi a0, sp, 0x28
80200220: 00004097 auipc ra, 0x4
80200224: 0d6080e7 jalr 0xd6(ra) <core::panicking::panic_fmt::hd74e2a0fb7381b7e>
80200228: 6562 ld a0, 0x18(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
8020022a: 00153593 seqz a1, a0
8020022e: e02e sd a1, 0x0(sp)
80200230: cd01 beqz a0, 0x80200248 <.Lpcrel_hi10+0x14>
80200232: a831 j 0x8020024e <.Lpcrel_hi10+0x1a>
0000000080200234 <.Lpcrel_hi10>:
; .Lpcrel_hi10():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:70
80200234: 00006517 auipc a0, 0x6
80200238: 01c50513 addi a0, a0, 0x1c
8020023c: 0a600593 li a1, 0xa6
80200240: 00004097 auipc ra, 0x4
80200244: 15e080e7 jalr 0x15e(ra) <core::panicking::panic_nounwind::h92acbb232d24bc37>
80200248: 557d li a0, -0x1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
8020024a: ecaa sd a0, 0x58(sp)
8020024c: a029 j 0x80200256 <.Lpcrel_hi10+0x22>
8020024e: 6502 ld a0, 0x0(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
80200250: 8905 andi a0, a0, 0x1
80200252: ed11 bnez a0, 0x8020026e <.Lpcrel_hi11>
80200254: a031 j 0x80200260 <.Lpcrel_hi10+0x2c>
80200256: 65a2 ld a1, 0x8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:126
80200258: 6566 ld a0, 0x58(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/raw.rs:191
8020025a: 02b57363 bgeu a0, a1, 0x80200280 <.Lpcrel_hi11+0x12>
8020025e: a005 j 0x8020027e <.Lpcrel_hi11+0x10>
80200260: 65e2 ld a1, 0x18(sp)
80200262: 557d li a0, -0x1
80200264: 8105 srli a0, a0, 0x1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
80200266: 02b55533 divu a0, a0, a1
8020026a: ecaa sd a0, 0x58(sp)
8020026c: b7ed j 0x80200256 <.Lpcrel_hi10+0x22>
000000008020026e <.Lpcrel_hi11>:
; .Lpcrel_hi11():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:125
8020026e: 00006517 auipc a0, 0x6
80200272: e4250513 addi a0, a0, -0x1be
80200276: 00005097 auipc ra, 0x5
8020027a: c94080e7 jalr -0x36c(ra) <core::panicking::panic_const::panic_const_div_by_zero::h54d21b33a46fc536>
8020027e: bf5d j 0x80200234 <.Lpcrel_hi10>
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:74
80200280: 610d addi sp, sp, 0xa0
80200282: 8082 ret
0000000080200284 <core::panic::location::Location::file::h08f598e10ade15f3>:
; core::panic::location::Location::file::h08f598e10ade15f3():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/location.rs:129
80200284: 1141 addi sp, sp, -0x10
80200286: 85aa mv a1, a0
80200288: e42e sd a1, 0x8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/location.rs:130
8020028a: 6188 ld a0, 0x0(a1)
8020028c: 658c ld a1, 0x8(a1)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/location.rs:131
8020028e: 0141 addi sp, sp, 0x10
80200290: 8082 ret
0000000080200292 <core::panic::location::Location::line::ha5850aad9d2160c8>:
; core::panic::location::Location::line::ha5850aad9d2160c8():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/location.rs:154
80200292: 1141 addi sp, sp, -0x10
80200294: e42a sd a0, 0x8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/location.rs:156
80200296: 4908 lw a0, 0x10(a0)
80200298: 0141 addi sp, sp, 0x10
8020029a: 8082 ret
000000008020029c <_$LT$rust_to_riscv_asm..console..Stdout$u20$as$u20$core..fmt..Write$GT$::write_str::h5ad7fa42d9fd745f>:
; _$LT$rust_to_riscv_asm..console..Stdout$u20$as$u20$core..fmt..Write$GT$::write_str::h5ad7fa42d9fd745f():
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:6
8020029c: 7119 addi sp, sp, -0x80
8020029e: fc86 sd ra, 0x78(sp)
802002a0: e432 sd a2, 0x8(sp)
802002a2: 862e mv a2, a1
802002a4: 65a2 ld a1, 0x8(sp)
802002a6: e032 sd a2, 0x0(sp)
802002a8: 862a mv a2, a0
802002aa: 6502 ld a0, 0x0(sp)
802002ac: e0b2 sd a2, 0x40(sp)
802002ae: e4aa sd a0, 0x48(sp)
802002b0: e8ae sd a1, 0x50(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:7
802002b2: 00002097 auipc ra, 0x2
802002b6: 96e080e7 jalr -0x692(ra) <core::str::_$LT$impl$u20$str$GT$::len::h5b82fa9fe3124e7c>
802002ba: 6602 ld a2, 0x0(sp)
802002bc: 85aa mv a1, a0
802002be: 6522 ld a0, 0x8(sp)
802002c0: f4b2 sd a2, 0x68(sp)
802002c2: f8aa sd a0, 0x70(sp)
802002c4: 1028 addi a0, sp, 0x28
802002c6: e82a sd a0, 0x10(sp)
802002c8: 4681 li a3, 0x0
802002ca: ec36 sd a3, 0x18(sp)
802002cc: 00000097 auipc ra, 0x0
802002d0: 62e080e7 jalr 0x62e(ra) <sbi_spec::binary::Physical$LT$P$GT$::new::hdb4740218d4a5d2f>
802002d4: 6542 ld a0, 0x10(sp)
802002d6: 00001097 auipc ra, 0x1
802002da: ebc080e7 jalr -0x144(ra) <sbi_rt::dbcn::console_write::h5f5c7795607bc46b>
802002de: 862a mv a2, a0
802002e0: 6562 ld a0, 0x18(sp)
802002e2: ecb2 sd a2, 0x58(sp)
802002e4: f0ae sd a1, 0x60(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:8
802002e6: 02a103a3 sb a0, 0x27(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:9
802002ea: 02714503 lbu a0, 0x27(sp)
802002ee: 8905 andi a0, a0, 0x1
802002f0: 70e6 ld ra, 0x78(sp)
802002f2: 6109 addi sp, sp, 0x80
802002f4: 8082 ret
00000000802002f6 <rust_to_riscv_asm::console::print::h400bbaddcd70c1de>:
; rust_to_riscv_asm::console::print::h400bbaddcd70c1de():
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:12
802002f6: 715d addi sp, sp, -0x50
802002f8: e486 sd ra, 0x48(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:13
802002fa: 750c ld a1, 0x28(a0)
802002fc: fc2e sd a1, 0x38(sp)
802002fe: 710c ld a1, 0x20(a0)
80200300: f82e sd a1, 0x30(sp)
80200302: 6d0c ld a1, 0x18(a0)
80200304: f42e sd a1, 0x28(sp)
80200306: 690c ld a1, 0x10(a0)
80200308: f02e sd a1, 0x20(sp)
8020030a: 650c ld a1, 0x8(a0)
8020030c: ec2e sd a1, 0x18(sp)
8020030e: 6108 ld a0, 0x0(a0)
80200310: e82a sd a0, 0x10(sp)
80200312: 00f10513 addi a0, sp, 0xf
80200316: 080c addi a1, sp, 0x10
80200318: 00003097 auipc ra, 0x3
8020031c: 2c2080e7 jalr 0x2c2(ra) <core::fmt::Write::write_fmt::h7e2e3aec3f72d504>
80200320: 04a10323 sb a0, 0x46(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1102
80200324: 04614503 lbu a0, 0x46(sp)
80200328: 8905 andi a0, a0, 0x1
8020032a: c515 beqz a0, 0x80200356 <.Lpcrel_hi2+0x18>
8020032c: a009 j 0x8020032e <.Lpcrel_hi0>
000000008020032e <.Lpcrel_hi0>:
; .Lpcrel_hi0():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1104
8020032e: 00006517 auipc a0, 0x6
80200332: fea50513 addi a0, a0, -0x16
0000000080200336 <.Lpcrel_hi1>:
; .Lpcrel_hi1():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1104
80200336: 00006597 auipc a1, 0x6
8020033a: fc258693 addi a3, a1, -0x3e
000000008020033e <.Lpcrel_hi2>:
; .Lpcrel_hi2():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1104
8020033e: 00006597 auipc a1, 0x6
80200342: 01a58713 addi a4, a1, 0x1a
80200346: 02b00593 li a1, 0x2b
8020034a: 04710613 addi a2, sp, 0x47
8020034e: 00004097 auipc ra, 0x4
80200352: 1ec080e7 jalr 0x1ec(ra) <core::result::unwrap_failed::hf18ad24dd5556ab7>
80200356: 60a6 ld ra, 0x48(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:14
80200358: 6161 addi sp, sp, 0x50
8020035a: 8082 ret
000000008020035c <core::cmp::impls::_$LT$impl$u20$core..cmp..Ord$u20$for$u20$usize$GT$::cmp::h663b80f781ef9171>:
; core::cmp::impls::_$LT$impl$u20$core..cmp..Ord$u20$for$u20$usize$GT$::cmp::h663b80f781ef9171():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/cmp.rs:1732
8020035c: 1101 addi sp, sp, -0x20
8020035e: e42e sd a1, 0x8(sp)
80200360: 85aa mv a1, a0
80200362: 6522 ld a0, 0x8(sp)
80200364: e82e sd a1, 0x10(sp)
80200366: ec2a sd a0, 0x18(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/cmp.rs:1733
80200368: 618c ld a1, 0x0(a1)
8020036a: 6110 ld a2, 0x0(a0)
8020036c: 00b63533 sltu a0, a2, a1
80200370: 00c5b5b3 sltu a1, a1, a2
80200374: 8d0d sub a0, a0, a1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/cmp.rs:1734
80200376: 6105 addi sp, sp, 0x20
80200378: 8082 ret
000000008020037a <core::ptr::write_volatile::h5caa313ac914b712>:
; core::ptr::write_volatile::h5caa313ac914b712():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:1881
8020037a: 7179 addi sp, sp, -0x30
8020037c: f406 sd ra, 0x28(sp)
8020037e: e42a sd a0, 0x8(sp)
80200380: 862e mv a2, a1
80200382: e832 sd a2, 0x10(sp)
80200384: ec2a sd a0, 0x18(sp)
80200386: 02b103a3 sb a1, 0x27(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:76
8020038a: a009 j 0x8020038c <core::ptr::write_volatile::h5caa313ac914b712+0x12>
8020038c: 6522 ld a0, 0x8(sp)
8020038e: 4585 li a1, 0x1
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:77
80200390: 00002097 auipc ra, 0x2
80200394: a46080e7 jalr -0x5ba(ra) <core::ptr::write_volatile::precondition_check::h3d23e9a5ee098f9b>
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:76
80200398: a009 j 0x8020039a <core::ptr::write_volatile::h5caa313ac914b712+0x20>
8020039a: 6542 ld a0, 0x10(sp)
8020039c: 65a2 ld a1, 0x8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:1892
8020039e: 00a58023 sb a0, 0x0(a1)
802003a2: 70a2 ld ra, 0x28(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:1894
802003a4: 6145 addi sp, sp, 0x30
802003a6: 8082 ret
00000000802003a8 <core::ptr::non_null::NonNull$LT$T$GT$::new_unchecked::precondition_check::he5ce373b39dd0c33>:
; core::ptr::non_null::NonNull$LT$T$GT$::new_unchecked::precondition_check::he5ce373b39dd0c33():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:68
802003a8: 1101 addi sp, sp, -0x20
802003aa: e42a sd a0, 0x8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/mut_ptr.rs:102
802003ac: e82a sd a0, 0x10(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:54
802003ae: ec2a sd a0, 0x18(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/non_null.rs:201
802003b0: ed01 bnez a0, 0x802003c8 <.Lpcrel_hi0+0x14>
802003b2: a009 j 0x802003b4 <.Lpcrel_hi0>
00000000802003b4 <.Lpcrel_hi0>:
; .Lpcrel_hi0():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:70
802003b4: 00006517 auipc a0, 0x6
802003b8: fbc50513 addi a0, a0, -0x44
802003bc: 05d00593 li a1, 0x5d
802003c0: 00004097 auipc ra, 0x4
802003c4: fde080e7 jalr -0x22(ra) <core::panicking::panic_nounwind::h92acbb232d24bc37>
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ub_checks.rs:74
802003c8: 6105 addi sp, sp, 0x20
802003ca: 8082 ret
00000000802003cc <rust_to_riscv_asm::heap::init_heap::h2959418298247a77>:
; rust_to_riscv_asm::heap::init_heap::h2959418298247a77():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:9
802003cc: d0010113 addi sp, sp, -0x300
802003d0: 2e113c23 sd ra, 0x2f8(sp)
802003d4: 00100537 lui a0, 0x100
802003d8: fc2a sd a0, 0x38(sp)
802003da: 4501 li a0, 0x0
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:15
802003dc: e911 bnez a0, 0x802003f0 <.Lpcrel_hi0>
802003de: a009 j 0x802003e0 <rust_to_riscv_asm::heap::init_heap::h2959418298247a77+0x14>
802003e0: 75e2 ld a1, 0x38(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:15
802003e2: 00a59513 slli a0, a1, 0xa
802003e6: f82a sd a0, 0x30(sp)
802003e8: 8129 srli a0, a0, 0xa
802003ea: 10b51763 bne a0, a1, 0x802004f8 <.Lpcrel_hi4>
802003ee: a809 j 0x80200400 <.Lpcrel_hi0+0x10>
00000000802003f0 <.Lpcrel_hi0>:
; .Lpcrel_hi0():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:15
802003f0: 00006517 auipc a0, 0x6
802003f4: fe850513 addi a0, a0, -0x18
802003f8: 00005097 auipc ra, 0x5
802003fc: aa6080e7 jalr -0x55a(ra) <core::panicking::panic_const::panic_const_mul_overflow::h9bca4aab8cdc06a4>
80200400: 7542 ld a0, 0x30(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:15
80200402: 20a13023 sd a0, 0x200(sp)
0000000080200406 <.Lpcrel_hi1>:
; .Lpcrel_hi1():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:16
80200406: 00a08517 auipc a0, 0xa08
8020040a: bfa50513 addi a0, a0, -0x406
8020040e: 00002097 auipc ra, 0x2
80200412: 75c080e7 jalr 0x75c(ra) <_$LT$buddy_system_allocator..LockedHeap$LT$_$GT$$u20$as$u20$core..ops..deref..Deref$GT$::deref::haafb622773e345ef>
80200416: 85aa mv a1, a0
80200418: f42e sd a1, 0x28(sp)
8020041a: 2ca13423 sd a0, 0x2c8(sp)
8020041e: 2ca13c23 sd a0, 0x2d8(sp)
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:180
80200422: a011 j 0x80200426 <.Lpcrel_hi1+0x20>
80200424: a009 j 0x80200426 <.Lpcrel_hi1+0x20>
80200426: 7522 ld a0, 0x28(sp)
80200428: 4589 li a1, 0x2
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:182
8020042a: 2cb10b23 sb a1, 0x2d6(sp)
8020042e: 4581 li a1, 0x0
80200430: 2cb10ba3 sb a1, 0x2d7(sp)
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:180
80200434: 2d714703 lbu a4, 0x2d7(sp)
80200438: 2d614683 lbu a3, 0x2d6(sp)
8020043c: 4605 li a2, 0x1
8020043e: 00001097 auipc ra, 0x1
80200442: 5a4080e7 jalr 0x5a4(ra) <core::sync::atomic::AtomicBool::compare_exchange_weak::h1804b97bf0448963>
80200446: 8905 andi a0, a0, 0x1
80200448: 2ca10a23 sb a0, 0x2d4(sp)
8020044c: 2cb10aa3 sb a1, 0x2d5(sp)
80200450: 0dc8 addi a0, sp, 0x2d4
80200452: 00004097 auipc ra, 0x4
80200456: 85c080e7 jalr -0x7a4(ra) <core::result::Result$LT$T$C$E$GT$::is_err::h7ecd1e2d27598032>
8020045a: c515 beqz a0, 0x80200486 <.Lpcrel_hi1+0x80>
8020045c: a009 j 0x8020045e <.Lpcrel_hi1+0x58>
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:186
8020045e: a009 j 0x80200460 <.Lpcrel_hi1+0x5a>
80200460: 7522 ld a0, 0x28(sp)
80200462: 2ea13823 sd a0, 0x2f0(sp)
80200466: 4581 li a1, 0x0
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:207
80200468: 2eb107a3 sb a1, 0x2ef(sp)
8020046c: 2ef14583 lbu a1, 0x2ef(sp)
80200470: 00001097 auipc ra, 0x1
80200474: 596080e7 jalr 0x596(ra) <core::sync::atomic::AtomicBool::load::hfd836ec387f875cf>
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:186
80200478: d555 beqz a0, 0x80200424 <.Lpcrel_hi1+0x1e>
8020047a: a009 j 0x8020047c <.Lpcrel_hi1+0x76>
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/relax.rs:29
8020047c: 00001097 auipc ra, 0x1
80200480: 79e080e7 jalr 0x79e(ra) <core::sync::atomic::spin_loop_hint::h6faf56d8b48c19bc>
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:187
80200484: bff1 j 0x80200460 <.Lpcrel_hi1+0x5a>
80200486: 75a2 ld a1, 0x28(sp)
; /Users/lewis/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/spin-0.9.8/src/mutex/spin.rs:193
80200488: 00858513 addi a0, a1, 0x8
8020048c: 2ea13023 sd a0, 0x2e0(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:16
80200490: e0ae sd a1, 0x40(sp)
80200492: e4aa sd a0, 0x48(sp)
80200494: 0088 addi a0, sp, 0x40
80200496: e82a sd a0, 0x10(sp)
80200498: 00002097 auipc ra, 0x2
8020049c: ca2080e7 jalr -0x35e(ra) <_$LT$spin..mutex..MutexGuard$LT$T$GT$$u20$as$u20$core..ops..deref..DerefMut$GT$::deref_mut::h645f58df60fdf12d>
802004a0: 7642 ld a2, 0x30(sp)
00000000802004a2 <.Lpcrel_hi2>:
; .Lpcrel_hi2():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:16
802004a2: 00a09597 auipc a1, 0xa09
802004a6: b5e58593 addi a1, a1, -0x4a2
802004aa: ec2e sd a1, 0x18(sp)
802004ac: 00002097 auipc ra, 0x2
802004b0: f10080e7 jalr -0xf0(ra) <buddy_system_allocator::Heap$LT$_$GT$::init::h759e2e4a29f935f5>
802004b4: 6542 ld a0, 0x10(sp)
802004b6: 00003097 auipc ra, 0x3
802004ba: b70080e7 jalr -0x490(ra) <core::ptr::drop_in_place$LT$spin..mutex..MutexGuard$LT$buddy_system_allocator..Heap$LT$32_usize$GT$$GT$$GT$::h40f7c54feb970bf5>
802004be: 7542 ld a0, 0x30(sp)
802004c0: 65e2 ld a1, 0x18(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:17
802004c2: f92e sd a1, 0xb0(sp)
802004c4: 1914 addi a3, sp, 0xb0
802004c6: 2ad13823 sd a3, 0x2b0(sp)
00000000802004ca <.Lpcrel_hi3>:
; .Lpcrel_hi3():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:130
802004ca: 00005617 auipc a2, 0x5
802004ce: b6660613 addi a2, a2, -0x49a
802004d2: 2ac13c23 sd a2, 0x2b8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/non_null.rs:1767
802004d6: 2cd13023 sd a3, 0x2c0(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:103
802004da: 2ad13023 sd a3, 0x2a0(sp)
802004de: 2ac13423 sd a2, 0x2a8(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:100
802004e2: 2a813603 ld a2, 0x2a8(sp)
802004e6: f532 sd a2, 0xa8(sp)
802004e8: 2a013603 ld a2, 0x2a0(sp)
802004ec: f132 sd a2, 0xa0(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:17
802004ee: 952e add a0, a0, a1
802004f0: f02a sd a0, 0x20(sp)
802004f2: 16b56263 bltu a0, a1, 0x80200656 <.Lpcrel_hi7>
802004f6: a809 j 0x80200508 <.Lpcrel_hi4+0x10>
00000000802004f8 <.Lpcrel_hi4>:
; .Lpcrel_hi4():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:15
802004f8: 00006517 auipc a0, 0x6
802004fc: ee050513 addi a0, a0, -0x120
80200500: 00005097 auipc ra, 0x5
80200504: 99e080e7 jalr -0x662(ra) <core::panicking::panic_const::panic_const_mul_overflow::h9bca4aab8cdc06a4>
80200508: 7502 ld a0, 0x20(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:17
8020050a: e5aa sd a0, 0xc8(sp)
8020050c: 01ac addi a1, sp, 0xc8
8020050e: 28b13423 sd a1, 0x288(sp)
0000000080200512 <.Lpcrel_hi5>:
; .Lpcrel_hi5():
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:130
80200512: 00005517 auipc a0, 0x5
80200516: b1e50513 addi a0, a0, -0x4e2
8020051a: 28a13823 sd a0, 0x290(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ptr/non_null.rs:1767
8020051e: 28b13c23 sd a1, 0x298(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:103
80200522: 26b13c23 sd a1, 0x278(sp)
80200526: 28a13023 sd a0, 0x280(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:100
8020052a: 28013503 ld a0, 0x280(sp)
8020052e: e1aa sd a0, 0xc0(sp)
80200530: 27813503 ld a0, 0x278(sp)
80200534: fd2a sd a0, 0xb8(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:26
80200536: 752a ld a0, 0xa8(sp)
80200538: e52a sd a0, 0x88(sp)
8020053a: 750a ld a0, 0xa0(sp)
8020053c: e12a sd a0, 0x80(sp)
8020053e: 650e ld a0, 0xc0(sp)
80200540: ed2a sd a0, 0x98(sp)
80200542: 756a ld a0, 0xb8(sp)
80200544: e92a sd a0, 0x90(sp)
80200546: 460d li a2, 0x3
80200548: 16c10fa3 sb a2, 0x17f(sp)
8020054c: 4809 li a6, 0x2
8020054e: e342 sd a6, 0x180(sp)
80200550: eb42 sd a6, 0x190(sp)
80200552: 17f14883 lbu a7, 0x17f(sp)
80200556: 671a ld a4, 0x180(sp)
80200558: 66ba ld a3, 0x188(sp)
8020055a: 65da ld a1, 0x190(sp)
8020055c: 657a ld a0, 0x198(sp)
8020055e: 4301 li t1, 0x0
80200560: 24613023 sd t1, 0x240(sp)
80200564: 02000293 li t0, 0x20
80200568: 24512623 sw t0, 0x24c(sp)
8020056c: 251109a3 sb a7, 0x253(sp)
80200570: 4791 li a5, 0x4
80200572: 24f12a23 sw a5, 0x254(sp)
80200576: 24e13c23 sd a4, 0x258(sp)
8020057a: 26d13023 sd a3, 0x260(sp)
8020057e: 26b13423 sd a1, 0x268(sp)
80200582: 26a13823 sd a0, 0x270(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:31
80200586: f29a sd t1, 0x160(sp)
80200588: 16512423 sw t0, 0x168(sp)
8020058c: 17110823 sb a7, 0x170(sp)
80200590: 16f12623 sw a5, 0x16c(sp)
80200594: e2ba sd a4, 0x140(sp)
80200596: e6b6 sd a3, 0x148(sp)
80200598: eaae sd a1, 0x150(sp)
8020059a: eeaa sd a0, 0x158(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:26
8020059c: 1cc10fa3 sb a2, 0x1df(sp)
802005a0: f3c2 sd a6, 0x1e0(sp)
802005a2: fbc2 sd a6, 0x1f0(sp)
802005a4: 1df14883 lbu a7, 0x1df(sp)
802005a8: 771e ld a4, 0x1e0(sp)
802005aa: 76be ld a3, 0x1e8(sp)
802005ac: 75de ld a1, 0x1f0(sp)
802005ae: 757e ld a0, 0x1f8(sp)
802005b0: 4305 li t1, 0x1
802005b2: 20613423 sd t1, 0x208(sp)
802005b6: 20512a23 sw t0, 0x214(sp)
802005ba: 21110da3 sb a7, 0x21b(sp)
802005be: 20f12e23 sw a5, 0x21c(sp)
802005c2: 22e13023 sd a4, 0x220(sp)
802005c6: 22d13423 sd a3, 0x228(sp)
802005ca: 22b13823 sd a1, 0x230(sp)
802005ce: 22a13c23 sd a0, 0x238(sp)
; /Users/lewis/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:31
802005d2: e39a sd t1, 0x1c0(sp)
802005d4: 1c512423 sw t0, 0x1c8(sp)
802005d8: 1d110823 sb a7, 0x1d0(sp)
802005dc: 1cf12623 sw a5, 0x1cc(sp)
802005e0: f33a sd a4, 0x1a0(sp)
802005e2: f736 sd a3, 0x1a8(sp)
802005e4: fb2e sd a1, 0x1b0(sp)
802005e6: ff2a sd a0, 0x1b8(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:26
802005e8: 7556 ld a0, 0x170(sp)
802005ea: e22a sd a0, 0x100(sp)
802005ec: 7536 ld a0, 0x168(sp)
802005ee: fdaa sd a0, 0xf8(sp)
802005f0: 7516 ld a0, 0x160(sp)
802005f2: f9aa sd a0, 0xf0(sp)
802005f4: 6576 ld a0, 0x158(sp)
802005f6: f5aa sd a0, 0xe8(sp)
802005f8: 6556 ld a0, 0x150(sp)
802005fa: f1aa sd a0, 0xe0(sp)
802005fc: 6536 ld a0, 0x148(sp)
802005fe: edaa sd a0, 0xd8(sp)
80200600: 6516 ld a0, 0x140(sp)
80200602: e9aa sd a0, 0xd0(sp)
80200604: 655e ld a0, 0x1d0(sp)
80200606: fe2a sd a0, 0x138(sp)
80200608: 653e ld a0, 0x1c8(sp)
8020060a: fa2a sd a0, 0x130(sp)
8020060c: 651e ld a0, 0x1c0(sp)
8020060e: f62a sd a0, 0x128(sp)
80200610: 757a ld a0, 0x1b8(sp)
80200612: f22a sd a0, 0x120(sp)
80200614: 755a ld a0, 0x1b0(sp)
80200616: ee2a sd a0, 0x118(sp)
80200618: 753a ld a0, 0x1a8(sp)
8020061a: ea2a sd a0, 0x110(sp)
8020061c: 751a ld a0, 0x1a0(sp)
8020061e: e62a sd a0, 0x108(sp)
0000000080200620 <.Lpcrel_hi6>:
; .Lpcrel_hi6():
; /Users/lewis/Github/rust-to-riscv-asm/src/console.rs:26
80200620: 00006517 auipc a0, 0x6
80200624: de850593 addi a1, a0, -0x218
80200628: 0888 addi a0, sp, 0x50
8020062a: e42a sd a0, 0x8(sp)
8020062c: 0114 addi a3, sp, 0x80
8020062e: 099c addi a5, sp, 0xd0
80200630: 8742 mv a4, a6
80200632: 00003097 auipc ra, 0x3
80200636: d72080e7 jalr -0x28e(ra) <core::fmt::Arguments::new_v1_formatted::h08eb7517a36825be>
8020063a: 6522 ld a0, 0x8(sp)
8020063c: 00000097 auipc ra, 0x0
80200640: cba080e7 jalr -0x346(ra) <rust_to_riscv_asm::console::print::h400bbaddcd70c1de>
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:20
80200644: 00000097 auipc ra, 0x0
80200648: 022080e7 jalr 0x22(ra) <rust_to_riscv_asm::heap::heap_test::h349270c25a53af05>
8020064c: 2f813083 ld ra, 0x2f8(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:21
80200650: 30010113 addi sp, sp, 0x300
80200654: 8082 ret
0000000080200656 <.Lpcrel_hi7>:
; .Lpcrel_hi7():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:17
80200656: 00006517 auipc a0, 0x6
8020065a: de250513 addi a0, a0, -0x21e
8020065e: 00004097 auipc ra, 0x4
80200662: 7d4080e7 jalr 0x7d4(ra) <core::panicking::panic_const::panic_const_add_overflow::h1eeea1441bfc0f05>
0000000080200666 <rust_to_riscv_asm::heap::heap_test::h349270c25a53af05>:
; rust_to_riscv_asm::heap::heap_test::h349270c25a53af05():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:24
80200666: 7109 addi sp, sp, -0x180
80200668: fe86 sd ra, 0x178(sp)
8020066a: 1008 addi a0, sp, 0x20
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:25
8020066c: 00003097 auipc ra, 0x3
80200670: 886080e7 jalr -0x77a(ra) <alloc::vec::Vec$LT$T$GT$::new::h90e526053258c592>
80200674: 4501 li a0, 0x0
80200676: 3e800593 li a1, 0x3e8
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:26
8020067a: 00001097 auipc ra, 0x1
8020067e: c04080e7 jalr -0x3fc(ra) <_$LT$I$u20$as$u20$core..iter..traits..collect..IntoIterator$GT$::into_iter::h3bed3cee3382c0ac>
80200682: dc2a sw a0, 0x38(sp)
80200684: de2e sw a1, 0x3c(sp)
80200686: a009 j 0x80200688 <rust_to_riscv_asm::heap::heap_test::h349270c25a53af05+0x22>
80200688: 1828 addi a0, sp, 0x38
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:26
8020068a: 00001097 auipc ra, 0x1
8020068e: b5e080e7 jalr -0x4a2(ra) <core::iter::range::_$LT$impl$u20$core..iter..traits..iterator..Iterator$u20$for$u20$core..ops..range..Range$LT$A$GT$$GT$::next::h699376679b793822>
80200692: c0aa sw a0, 0x40(sp)
80200694: c2ae sw a1, 0x44(sp)
80200696: 4506 lw a0, 0x40(sp)
80200698: e505 bnez a0, 0x802006c0 <.Lpcrel_hi8+0x14>
8020069a: a009 j 0x8020069c <rust_to_riscv_asm::heap::heap_test::h349270c25a53af05+0x36>
8020069c: 1008 addi a0, sp, 0x20
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:29
8020069e: 00003097 auipc ra, 0x3
802006a2: 86a080e7 jalr -0x796(ra) <alloc::vec::Vec$LT$T$C$A$GT$::len::hb7bba9fe6f68bb37>
802006a6: e4aa sd a0, 0x48(sp)
802006a8: 00a8 addi a0, sp, 0x48
802006aa: fa2a sd a0, 0x130(sp)
00000000802006ac <.Lpcrel_hi8>:
; .Lpcrel_hi8():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:29
802006ac: 00006517 auipc a0, 0x6
802006b0: dc450593 addi a1, a0, -0x23c
802006b4: fe2e sd a1, 0x138(sp)
802006b6: 6526 ld a0, 0x48(sp)
802006b8: 618c ld a1, 0x0(a1)
802006ba: 04b50063 beq a0, a1, 0x802006fa <.Lpcrel_hi11>
802006be: a811 j 0x802006d2 <.Lpcrel_hi8+0x26>
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:27
802006c0: 4596 lw a1, 0x44(sp)
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:26
802006c2: 16b12a23 sw a1, 0x174(sp)
802006c6: 1008 addi a0, sp, 0x20
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:27
802006c8: 00003097 auipc ra, 0x3
802006cc: 84a080e7 jalr -0x7b6(ra) <alloc::vec::Vec$LT$T$C$A$GT$::push::h0fa8558ba6218b7c>
802006d0: bf65 j 0x80200688 <rust_to_riscv_asm::heap::heap_test::h349270c25a53af05+0x22>
802006d2: 4501 li a0, 0x0
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:29
802006d4: 04a10ba3 sb a0, 0x57(sp)
802006d8: ecaa sd a0, 0x58(sp)
802006da: 05714503 lbu a0, 0x57(sp)
00000000802006de <.Lpcrel_hi9>:
; .Lpcrel_hi9():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:29
802006de: 00006597 auipc a1, 0x6
802006e2: d9258613 addi a2, a1, -0x26e
00000000802006e6 <.Lpcrel_hi10>:
; .Lpcrel_hi10():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:29
802006e6: 00006597 auipc a1, 0x6
802006ea: d9258713 addi a4, a1, -0x26e
802006ee: 00ac addi a1, sp, 0x48
802006f0: 08b4 addi a3, sp, 0x58
802006f2: 00002097 auipc ra, 0x2
802006f6: 7bc080e7 jalr 0x7bc(ra) <core::panicking::assert_failed::hfcd3e854b36aaadd>
00000000802006fa <.Lpcrel_hi11>:
; .Lpcrel_hi11():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:30
802006fa: 00006517 auipc a0, 0x6
802006fe: d9650613 addi a2, a0, -0x26a
80200702: 1008 addi a0, sp, 0x20
80200704: 4581 li a1, 0x0
80200706: 00003097 auipc ra, 0x3
8020070a: 870080e7 jalr -0x790(ra) <_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..index..Index$LT$I$GT$$GT$::index::h39e6f510a4f0ce36>
8020070e: 85aa mv a1, a0
80200710: ec2e sd a1, 0x18(sp)
80200712: e2aa sd a0, 0x140(sp)
0000000080200714 <.Lpcrel_hi12>:
; .Lpcrel_hi12():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:30
80200714: 00006597 auipc a1, 0x6
80200718: d9458593 addi a1, a1, -0x26c
8020071c: e6ae sd a1, 0x148(sp)
8020071e: 4108 lw a0, 0x0(a0)
80200720: 418c lw a1, 0x0(a1)
80200722: 02b50763 beq a0, a1, 0x80200750 <.Lpcrel_hi15>
80200726: a009 j 0x80200728 <.Lpcrel_hi12+0x14>
80200728: 65e2 ld a1, 0x18(sp)
8020072a: 4501 li a0, 0x0
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:30
8020072c: 08a107a3 sb a0, 0x8f(sp)
80200730: e92a sd a0, 0x90(sp)
80200732: 08f14503 lbu a0, 0x8f(sp)
0000000080200736 <.Lpcrel_hi13>:
; .Lpcrel_hi13():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:30
80200736: 00006617 auipc a2, 0x6
8020073a: d7260613 addi a2, a2, -0x28e
000000008020073e <.Lpcrel_hi14>:
; .Lpcrel_hi14():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:30
8020073e: 00006697 auipc a3, 0x6
80200742: d7a68713 addi a4, a3, -0x286
80200746: 0914 addi a3, sp, 0x90
80200748: 00002097 auipc ra, 0x2
8020074c: 742080e7 jalr 0x742(ra) <core::panicking::assert_failed::h5bace2fa3525e235>
0000000080200750 <.Lpcrel_hi15>:
; .Lpcrel_hi15():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:31
80200750: 00006517 auipc a0, 0x6
80200754: d8050613 addi a2, a0, -0x280
80200758: 1008 addi a0, sp, 0x20
8020075a: 06300593 li a1, 0x63
8020075e: 00003097 auipc ra, 0x3
80200762: 818080e7 jalr -0x7e8(ra) <_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..index..Index$LT$I$GT$$GT$::index::h39e6f510a4f0ce36>
80200766: 85aa mv a1, a0
80200768: e82e sd a1, 0x10(sp)
8020076a: eaaa sd a0, 0x150(sp)
000000008020076c <.Lpcrel_hi16>:
; .Lpcrel_hi16():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:31
8020076c: 00006597 auipc a1, 0x6
80200770: d4458593 addi a1, a1, -0x2bc
80200774: eeae sd a1, 0x158(sp)
80200776: 4108 lw a0, 0x0(a0)
80200778: 418c lw a1, 0x0(a1)
8020077a: 02b50763 beq a0, a1, 0x802007a8 <.Lpcrel_hi19>
8020077e: a009 j 0x80200780 <.Lpcrel_hi16+0x14>
80200780: 65c2 ld a1, 0x10(sp)
80200782: 4501 li a0, 0x0
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:31
80200784: 0ca103a3 sb a0, 0xc7(sp)
80200788: e5aa sd a0, 0xc8(sp)
8020078a: 0c714503 lbu a0, 0xc7(sp)
000000008020078e <.Lpcrel_hi17>:
; .Lpcrel_hi17():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:31
8020078e: 00006617 auipc a2, 0x6
80200792: d2260613 addi a2, a2, -0x2de
0000000080200796 <.Lpcrel_hi18>:
; .Lpcrel_hi18():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:31
80200796: 00006697 auipc a3, 0x6
8020079a: d5268713 addi a4, a3, -0x2ae
8020079e: 01b4 addi a3, sp, 0xc8
802007a0: 00002097 auipc ra, 0x2
802007a4: 6ea080e7 jalr 0x6ea(ra) <core::panicking::assert_failed::h5bace2fa3525e235>
00000000802007a8 <.Lpcrel_hi19>:
; .Lpcrel_hi19():
; /Users/lewis/Github/rust-to-riscv-asm/src/heap.rs:32
802007a8: 00006517 auipc a0, 0x6
802007ac: d5850613 addi a2, a0, -0x2a8
802007b0: 1008 addi a0, sp, 0x20
802007b2: 3e700593 li a1, 0x3e7
802007b6: 00002097 auipc ra, 0x2
802007ba: 7c0080e7 jalr 0x7c0(ra) <_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..index..Index$LT$I$GT$$GT$::index::h39e6f510a4f0ce36>
802007be: 85aa mv a1, a0
802007c0: e42e sd a1, 0x8(sp)