-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.s
More file actions
1574 lines (1574 loc) · 30.7 KB
/
main.s
File metadata and controls
1574 lines (1574 loc) · 30.7 KB
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
.file "main.cpp"
.text
.section .rodata
.type _ZStL19piecewise_construct, @object
.size _ZStL19piecewise_construct, 1
_ZStL19piecewise_construct:
.zero 1
.local _ZStL8__ioinit
.comm _ZStL8__ioinit,1,1
.LC0:
.string "int getFileSize(const char*)"
.LC1:
.string "fileRead.h"
.LC2:
.string "inPath != nullptr"
.LC3:
.string "r"
.LC4:
.string "File opening failed"
.text
.globl _Z11getFileSizePKc
.type _Z11getFileSizePKc, @function
_Z11getFileSizePKc:
.LFB5522:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $32, %rsp
movq %rdi, -24(%rbp)
cmpq $0, -24(%rbp)
jne .L2
leaq .LC0(%rip), %rcx
movl $20, %edx
leaq .LC1(%rip), %rsi
leaq .LC2(%rip), %rdi
call __assert_fail@PLT
.L2:
movq -24(%rbp), %rax
leaq .LC3(%rip), %rsi
movq %rax, %rdi
call fopen@PLT
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne .L3
leaq .LC4(%rip), %rdi
call perror@PLT
call __errno_location@PLT
movl (%rax), %eax
jmp .L4
.L3:
movq -16(%rbp), %rax
movl $2, %edx
movl $0, %esi
movq %rax, %rdi
call fseek@PLT
movq -16(%rbp), %rax
movq %rax, %rdi
call ftell@PLT
movq %rax, -8(%rbp)
movq -16(%rbp), %rax
movq %rax, %rdi
call fclose@PLT
movq -8(%rbp), %rax
.L4:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5522:
.size _Z11getFileSizePKc, .-_Z11getFileSizePKc
.section .rodata
.LC5:
.string ""
.align 8
.LC6:
.string "int readFile(const char*, char*, size_t)"
.LC7:
.string "inPath != \"\""
.LC8:
.string "text != nullptr"
.text
.globl _Z8readFilePKcPcm
.type _Z8readFilePKcPcm, @function
_Z8readFilePKcPcm:
.LFB5523:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq %rdx, -40(%rbp)
leaq .LC5(%rip), %rax
cmpq %rax, -24(%rbp)
jne .L6
leaq .LC6(%rip), %rcx
movl $42, %edx
leaq .LC1(%rip), %rsi
leaq .LC7(%rip), %rdi
call __assert_fail@PLT
.L6:
cmpq $0, -32(%rbp)
jne .L7
leaq .LC6(%rip), %rcx
movl $43, %edx
leaq .LC1(%rip), %rsi
leaq .LC8(%rip), %rdi
call __assert_fail@PLT
.L7:
movq -24(%rbp), %rax
leaq .LC3(%rip), %rsi
movq %rax, %rdi
call fopen@PLT
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
jne .L8
leaq .LC4(%rip), %rdi
call perror@PLT
call __errno_location@PLT
movl (%rax), %eax
jmp .L9
.L8:
movq -8(%rbp), %rcx
movq -40(%rbp), %rdx
movq -32(%rbp), %rax
movl $1, %esi
movq %rax, %rdi
call fread@PLT
movq -8(%rbp), %rax
movq %rax, %rdi
call fclose@PLT
movl $0, %eax
.L9:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5523:
.size _Z8readFilePKcPcm, .-_Z8readFilePKcPcm
.section .rodata
.align 8
.LC9:
.string "int strCmp(const char*, const char*)"
.LC10:
.string "str1 != nullptr"
.LC11:
.string "str2 != nullptr"
.text
.globl _Z6strCmpPKcS0_
.type _Z6strCmpPKcS0_, @function
_Z6strCmpPKcS0_:
.LFB5524:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $32, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
cmpq $0, -24(%rbp)
jne .L11
leaq .LC9(%rip), %rcx
movl $62, %edx
leaq .LC1(%rip), %rsi
leaq .LC10(%rip), %rdi
call __assert_fail@PLT
.L11:
cmpq $0, -32(%rbp)
jne .L12
leaq .LC9(%rip), %rcx
movl $63, %edx
leaq .LC1(%rip), %rsi
leaq .LC11(%rip), %rdi
call __assert_fail@PLT
.L12:
movq -24(%rbp), %rax
movzbl (%rax), %eax
testb %al, %al
jne .L16
movq -32(%rbp), %rax
movzbl (%rax), %eax
testb %al, %al
je .L14
.L16:
movq -24(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call isalpha@PLT
testl %eax, %eax
jne .L15
addq $1, -24(%rbp)
jmp .L16
.L15:
movq -32(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call isalpha@PLT
testl %eax, %eax
jne .L17
addq $1, -32(%rbp)
jmp .L15
.L17:
movq -24(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call tolower@PLT
movl %eax, -8(%rbp)
movq -32(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call tolower@PLT
movl %eax, -4(%rbp)
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
je .L18
movl -8(%rbp), %eax
subl -4(%rbp), %eax
jmp .L10
.L18:
movq -24(%rbp), %rax
addq $1, %rax
movzbl (%rax), %eax
testb %al, %al
jne .L20
movq -32(%rbp), %rax
addq $1, %rax
movzbl (%rax), %eax
testb %al, %al
jne .L20
movl $0, %eax
jmp .L10
.L20:
addq $1, -24(%rbp)
addq $1, -32(%rbp)
jmp .L12
.L14:
.L10:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5524:
.size _Z6strCmpPKcS0_, .-_Z6strCmpPKcS0_
.section .rodata
.align 8
.LC12:
.string "int strCmpForStruct(const void*, const void*)"
.LC13:
.string "string1 != nullptr"
.LC14:
.string "string2 != nullptr"
.text
.globl _Z15strCmpForStructPKvS0_
.type _Z15strCmpForStructPKvS0_, @function
_Z15strCmpForStructPKvS0_:
.LFB5525:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $32, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
cmpq $0, -24(%rbp)
jne .L22
leaq .LC12(%rip), %rcx
movl $87, %edx
leaq .LC1(%rip), %rsi
leaq .LC13(%rip), %rdi
call __assert_fail@PLT
.L22:
cmpq $0, -32(%rbp)
jne .L23
leaq .LC12(%rip), %rcx
movl $88, %edx
leaq .LC1(%rip), %rsi
leaq .LC14(%rip), %rdi
call __assert_fail@PLT
.L23:
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -32(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq -8(%rbp), %rdx
movq -16(%rbp), %rax
movq %rdx, %rsi
movq %rax, %rdi
call _Z6strCmpPKcS0_
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5525:
.size _Z15strCmpForStructPKvS0_, .-_Z15strCmpForStructPKvS0_
.globl _Z10strBackCmpPKcS0_S0_S0_
.type _Z10strBackCmpPKcS0_S0_S0_, @function
_Z10strBackCmpPKcS0_S0_S0_:
.LFB5526:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq %rdx, -40(%rbp)
movq %rcx, -48(%rbp)
.L34:
movq -32(%rbp), %rax
cmpq -24(%rbp), %rax
jne .L29
movq -48(%rbp), %rax
cmpq -40(%rbp), %rax
je .L27
.L29:
movq -32(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call isalpha@PLT
testl %eax, %eax
jne .L28
subq $1, -32(%rbp)
jmp .L29
.L28:
movq -48(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call isalpha@PLT
testl %eax, %eax
jne .L30
subq $1, -48(%rbp)
jmp .L28
.L30:
movq -32(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call tolower@PLT
movl %eax, -8(%rbp)
movq -48(%rbp), %rax
movzbl (%rax), %eax
movsbl %al, %eax
movl %eax, %edi
call tolower@PLT
movl %eax, -4(%rbp)
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
je .L31
movl -8(%rbp), %eax
subl -4(%rbp), %eax
jmp .L25
.L31:
movq -32(%rbp), %rax
subq $1, %rax
cmpq %rax, -24(%rbp)
jne .L33
movq -48(%rbp), %rax
subq $1, %rax
cmpq %rax, -40(%rbp)
jne .L33
movl $0, %eax
jmp .L25
.L33:
subq $1, -32(%rbp)
subq $1, -48(%rbp)
jmp .L34
.L27:
.L25:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5526:
.size _Z10strBackCmpPKcS0_S0_S0_, .-_Z10strBackCmpPKcS0_S0_S0_
.section .rodata
.align 8
.LC15:
.string "int strBackCmpForStruct(const void*, const void*)"
.text
.globl _Z19strBackCmpForStructPKvS0_
.type _Z19strBackCmpForStructPKvS0_, @function
_Z19strBackCmpForStructPKvS0_:
.LFB5527:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -40(%rbp)
movq %rsi, -48(%rbp)
cmpq $0, -40(%rbp)
jne .L36
leaq .LC15(%rip), %rcx
movl $128, %edx
leaq .LC1(%rip), %rsi
leaq .LC13(%rip), %rdi
call __assert_fail@PLT
.L36:
cmpq $0, -48(%rbp)
jne .L37
leaq .LC15(%rip), %rcx
movl $129, %edx
leaq .LC1(%rip), %rsi
leaq .LC14(%rip), %rdi
call __assert_fail@PLT
.L37:
movq -40(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -40(%rbp), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq -24(%rbp), %rcx
movq -8(%rbp), %rdx
movq -32(%rbp), %rsi
movq -16(%rbp), %rax
movq %rax, %rdi
call _Z10strBackCmpPKcS0_S0_S0_
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5527:
.size _Z19strBackCmpForStructPKvS0_, .-_Z19strBackCmpForStructPKvS0_
.section .rodata
.align 8
.LC16:
.string "int nRows(const char*, size_t, char)"
.LC17:
.string "str != nullptr"
.text
.globl _Z5nRowsPKcmc
.type _Z5nRowsPKcmc, @function
_Z5nRowsPKcmc:
.LFB5528:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movl %edx, %eax
movb %al, -36(%rbp)
cmpq $0, -24(%rbp)
jne .L40
leaq .LC16(%rip), %rcx
movl $149, %edx
leaq .LC1(%rip), %rsi
leaq .LC17(%rip), %rdi
call __assert_fail@PLT
.L40:
movl $1, -12(%rbp)
movq $0, -8(%rbp)
.L43:
movq -8(%rbp), %rax
cmpq -32(%rbp), %rax
jnb .L41
movq -24(%rbp), %rdx
movq -8(%rbp), %rax
addq %rdx, %rax
movzbl (%rax), %eax
cmpb %al, -36(%rbp)
jne .L42
addl $1, -12(%rbp)
.L42:
addq $1, -8(%rbp)
jmp .L43
.L41:
movl -12(%rbp), %eax
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5528:
.size _Z5nRowsPKcmc, .-_Z5nRowsPKcmc
.section .rodata
.align 8
.LC18:
.string "int writeFile(const char*, lineIndex*, size_t)"
.LC19:
.string "outPath != nullptr"
.LC20:
.string "a"
.LC21:
.string "%s\n"
.LC22:
.string "\n\n"
.text
.globl _Z9writeFilePKcP9lineIndexm
.type _Z9writeFilePKcP9lineIndexm, @function
_Z9writeFilePKcP9lineIndexm:
.LFB5529:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq %rdx, -40(%rbp)
cmpq $0, -24(%rbp)
jne .L46
leaq .LC18(%rip), %rcx
movl $168, %edx
leaq .LC1(%rip), %rsi
leaq .LC19(%rip), %rdi
call __assert_fail@PLT
.L46:
cmpq $0, -32(%rbp)
jne .L47
leaq .LC18(%rip), %rcx
movl $169, %edx
leaq .LC1(%rip), %rsi
leaq .LC8(%rip), %rdi
call __assert_fail@PLT
.L47:
movq -24(%rbp), %rax
leaq .LC20(%rip), %rsi
movq %rax, %rdi
call fopen@PLT
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
jne .L48
leaq .LC4(%rip), %rdi
call perror@PLT
call __errno_location@PLT
movl (%rax), %eax
jmp .L49
.L48:
movq $0, -16(%rbp)
.L51:
movq -16(%rbp), %rax
cmpq -40(%rbp), %rax
jnb .L50
movq -16(%rbp), %rax
salq $4, %rax
movq %rax, %rdx
movq -32(%rbp), %rax
addq %rdx, %rax
movq (%rax), %rdx
movq -8(%rbp), %rax
leaq .LC21(%rip), %rsi
movq %rax, %rdi
movl $0, %eax
call fprintf@PLT
addq $1, -16(%rbp)
jmp .L51
.L50:
movq -8(%rbp), %rax
movq %rax, %rcx
movl $2, %edx
movl $1, %esi
leaq .LC22(%rip), %rdi
call fwrite@PLT
movq -8(%rbp), %rax
movq %rax, %rdi
call fclose@PLT
movl $0, %eax
.L49:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5529:
.size _Z9writeFilePKcP9lineIndexm, .-_Z9writeFilePKcP9lineIndexm
.section .rodata
.align 8
.LC23:
.string "int writeFile(const char*, char*, size_t)"
.LC24:
.string "w"
.text
.globl _Z9writeFilePKcPcm
.type _Z9writeFilePKcPcm, @function
_Z9writeFilePKcPcm:
.LFB5530:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq %rdx, -40(%rbp)
cmpq $0, -24(%rbp)
jne .L53
leaq .LC23(%rip), %rcx
movl $194, %edx
leaq .LC1(%rip), %rsi
leaq .LC19(%rip), %rdi
call __assert_fail@PLT
.L53:
cmpq $0, -32(%rbp)
jne .L54
leaq .LC23(%rip), %rcx
movl $195, %edx
leaq .LC1(%rip), %rsi
leaq .LC8(%rip), %rdi
call __assert_fail@PLT
.L54:
movq -24(%rbp), %rax
leaq .LC24(%rip), %rsi
movq %rax, %rdi
call fopen@PLT
movq %rax, -8(%rbp)
cmpq $0, -8(%rbp)
jne .L55
leaq .LC4(%rip), %rdi
call perror@PLT
call __errno_location@PLT
movl (%rax), %eax
jmp .L56
.L55:
movq -8(%rbp), %rdx
movq -40(%rbp), %rsi
movq -32(%rbp), %rax
movq %rdx, %rcx
movl $1, %edx
movq %rax, %rdi
call fwrite@PLT
movq -8(%rbp), %rax
movq %rax, %rdi
call fclose@PLT
movl $0, %eax
.L56:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5530:
.size _Z9writeFilePKcPcm, .-_Z9writeFilePKcPcm
.section .rodata
.align 8
.LC25:
.string "void fillIndex(lineIndex*, char*, size_t)"
.LC26:
.string "index != nullptr"
.text
.globl _Z9fillIndexP9lineIndexPcm
.type _Z9fillIndexP9lineIndexPcm, @function
_Z9fillIndexP9lineIndexPcm:
.LFB5531:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq %rdx, -40(%rbp)
cmpq $0, -24(%rbp)
jne .L58
leaq .LC25(%rip), %rcx
movl $216, %edx
leaq .LC1(%rip), %rsi
leaq .LC26(%rip), %rdi
call __assert_fail@PLT
.L58:
cmpq $0, -32(%rbp)
jne .L59
leaq .LC25(%rip), %rcx
movl $217, %edx
leaq .LC1(%rip), %rsi
leaq .LC8(%rip), %rdi
call __assert_fail@PLT
.L59:
movq -24(%rbp), %rax
movq -32(%rbp), %rdx
movq %rdx, (%rax)
movl $1, -12(%rbp)
movq $0, -8(%rbp)
.L62:
movq -8(%rbp), %rax
cmpq -40(%rbp), %rax
jnb .L60
movq -32(%rbp), %rdx
movq -8(%rbp), %rax
addq %rdx, %rax
movzbl (%rax), %eax
cmpb $10, %al
jne .L61
movq -8(%rbp), %rax
leaq -1(%rax), %rcx
movl -12(%rbp), %eax
cltq
salq $4, %rax
leaq -16(%rax), %rdx
movq -24(%rbp), %rax
addq %rdx, %rax
movq -32(%rbp), %rdx
addq %rcx, %rdx
movq %rdx, 8(%rax)
movq -8(%rbp), %rax
leaq 1(%rax), %rcx
movl -12(%rbp), %eax
cltq
salq $4, %rax
movq %rax, %rdx
movq -24(%rbp), %rax
addq %rdx, %rax
movq -32(%rbp), %rdx
addq %rcx, %rdx
movq %rdx, (%rax)
addl $1, -12(%rbp)
movq -32(%rbp), %rdx
movq -8(%rbp), %rax
addq %rdx, %rax
movb $0, (%rax)
.L61:
addq $1, -8(%rbp)
jmp .L62
.L60:
movq -32(%rbp), %rdx
movq -40(%rbp), %rax
addq %rdx, %rax
movb $0, (%rax)
movq -40(%rbp), %rax
leaq -1(%rax), %rcx
movl -12(%rbp), %eax
cltq
salq $4, %rax
leaq -16(%rax), %rdx
movq -24(%rbp), %rax
addq %rdx, %rax
movq -32(%rbp), %rdx
addq %rcx, %rdx
movq %rdx, 8(%rax)
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5531:
.size _Z9fillIndexP9lineIndexPcm, .-_Z9fillIndexP9lineIndexPcm
.section .rodata
.align 8
.LC27:
.string "void getIndexCopy(lineIndex*, lineIndex*, size_t)"
.LC28:
.string "indexCopy != nullptr"
.text
.globl _Z12getIndexCopyP9lineIndexS0_m
.type _Z12getIndexCopyP9lineIndexS0_m, @function
_Z12getIndexCopyP9lineIndexS0_m:
.LFB5532:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $48, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
movq %rdx, -40(%rbp)
cmpq $0, -24(%rbp)
jne .L64
leaq .LC27(%rip), %rcx
movl $242, %edx
leaq .LC1(%rip), %rsi
leaq .LC26(%rip), %rdi
call __assert_fail@PLT
.L64:
cmpq $0, -32(%rbp)
jne .L65
leaq .LC27(%rip), %rcx
movl $243, %edx
leaq .LC1(%rip), %rsi
leaq .LC28(%rip), %rdi
call __assert_fail@PLT
.L65:
movq $0, -8(%rbp)
.L67:
movq -8(%rbp), %rax
cmpq -40(%rbp), %rax
jnb .L68
movq -8(%rbp), %rax
salq $4, %rax
movq %rax, %rdx
movq -24(%rbp), %rax
addq %rdx, %rax
movq -8(%rbp), %rdx
movq %rdx, %rcx
salq $4, %rcx
movq -32(%rbp), %rdx
addq %rcx, %rdx
movq (%rax), %rax
movq %rax, (%rdx)
movq -8(%rbp), %rax
salq $4, %rax
movq %rax, %rdx
movq -24(%rbp), %rax
addq %rdx, %rax
movq -8(%rbp), %rdx
movq %rdx, %rcx
salq $4, %rcx
movq -32(%rbp), %rdx
addq %rcx, %rdx
movq 8(%rax), %rax
movq %rax, 8(%rdx)
addq $1, -8(%rbp)
jmp .L67
.L68:
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5532:
.size _Z12getIndexCopyP9lineIndexS0_m, .-_Z12getIndexCopyP9lineIndexS0_m
.section .rodata
.align 8
.LC29:
.string "char* readTextFromFile(const char*, size_t*)"
.text
.globl _Z16readTextFromFilePKcPm
.type _Z16readTextFromFilePKcPm, @function
_Z16readTextFromFilePKcPm:
.LFB5533:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $32, %rsp
movq %rdi, -24(%rbp)
movq %rsi, -32(%rbp)
cmpq $0, -24(%rbp)
jne .L70
leaq .LC29(%rip), %rcx
movl $276, %edx
leaq .LC1(%rip), %rsi
leaq .LC2(%rip), %rdi
call __assert_fail@PLT
.L70:
movq -24(%rbp), %rax
movq %rax, %rdi
call _Z11getFileSizePKc
movslq %eax, %rdx
movq -32(%rbp), %rax
movq %rdx, (%rax)
movq -32(%rbp), %rax
movq (%rax), %rax
addq $1, %rax
movl $1, %esi
movq %rax, %rdi
call calloc@PLT
movq %rax, -8(%rbp)
movq -32(%rbp), %rax
movq (%rax), %rdx
movq -8(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, %rsi
movq %rax, %rdi
call _Z8readFilePKcPcm
testl %eax, %eax
setne %al
testb %al, %al
je .L71
call __errno_location@PLT
movl (%rax), %eax
movl %eax, %edi
call exit@PLT
.L71:
movq -8(%rbp), %rax
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5533:
.size _Z16readTextFromFilePKcPm, .-_Z16readTextFromFilePKcPm
.section .rodata
.align 32
.type _ZN11avxBlendingL8mask1256E, @object
.size _ZN11avxBlendingL8mask1256E, 32
_ZN11avxBlendingL8mask1256E:
.string ""
.ascii "\377\001\377\002\377\003\377\004\377\005\377\006\377\007\377"
.ascii "\020\377\021\377\022\377\023\377\024\377\025\377\026\377\027"
.ascii "\377"
.align 32
.type _ZN11avxBlendingL8mask3478E, @object
.size _ZN11avxBlendingL8mask3478E, 32
_ZN11avxBlendingL8mask3478E:
.ascii "\b\377\t\377\n\377\013\377\f\377\r\377\016\377\017\377\030\377"
.ascii "\031\377\032\377\033\377\034\377\035\377\036\377\037\377"
.align 32
.type _ZN11avxBlendingL10packed1256E, @object
.size _ZN11avxBlendingL10packed1256E, 32
_ZN11avxBlendingL10packed1256E:
.ascii "\001\003\005\377\t\013\r\377\377\377\377\377\377\377\377\377"
.ascii "\001\003\005\377\t\013\r\377\377\377\377\377\377\377\377\377"
.align 32
.type _ZN11avxBlendingL10packed3478E, @object
.size _ZN11avxBlendingL10packed3478E, 32
_ZN11avxBlendingL10packed3478E:
.ascii "\377\377\377\377\377\377\377\377\001\003\005\377\t\013\r\377"
.ascii "\377\377\377\377\377\377\377\377\001\003\005\377\t\013\r\377"
.align 32
.type _ZN11avxBlendingL6minuedE, @object
.size _ZN11avxBlendingL6minuedE, 32
_ZN11avxBlendingL6minuedE:
.string ""
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.string "\001"
.ascii "\001"
.align 32
.type _ZN11avxBlendingL5alphaE, @object
.size _ZN11avxBlendingL5alphaE, 32
_ZN11avxBlendingL5alphaE:
.string ""
.string ""
.string ""
.string "\377"
.string ""
.string ""
.string "\377"
.string ""
.string ""
.string "\377"
.string ""
.string ""
.string "\377"
.string ""
.string ""
.string "\377"
.string ""
.string ""
.string "\377"
.string ""
.string ""
.string "\377"
.string ""
.string ""
.ascii "\377"
.text
.globl _Z8blendingPcS_
.type _Z8blendingPcS_, @function
_Z8blendingPcS_:
.LFB5534:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movq %rdi, -72(%rbp)
movq %rsi, -80(%rbp)
movq -72(%rbp), %rax