-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwc.ll
13862 lines (12999 loc) · 956 KB
/
wc.ll
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
; ModuleID = 'coreutils-8.30/src/wc.bc'
source_filename = "llvm-link"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i64, i16, i8, [1 x i8], i8*, i64, %struct._IO_codecvt*, %struct._IO_wide_data*, %struct._IO_FILE*, i8*, i64, i32, [20 x i8] }
%struct._IO_marker = type opaque
%struct._IO_codecvt = type opaque
%struct._IO_wide_data = type opaque
%struct.infomap = type { i8*, i8* }
%struct.option = type { i8*, i32, i32*, i32 }
%struct.quoting_options = type { i32, i32, [8 x i32], i8*, i8* }
%struct.slotvec = type { i64, i8* }
%struct.Tokens = type { i64, i8**, i64*, %struct.obstack, %struct.obstack, %struct.obstack }
%struct.obstack = type { i64, %struct._obstack_chunk*, i8*, i8*, i8*, %union.anon, i64, %union.anon.0, %union.anon.1, i8*, i8 }
%struct._obstack_chunk = type { i8*, %struct._obstack_chunk*, [0 x i8] }
%union.anon = type { i64 }
%union.anon.0 = type { i8* (i64)* }
%union.anon.1 = type { void (i8*)* }
%struct.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.argv_iterator = type { %struct._IO_FILE*, i64, i8*, i64, i8**, i8** }
%struct.fstatus = type { i32, %struct.stat }
%struct.__mbstate_t = type { i32, %union.anon.2 }
%union.anon.2 = type { i32 }
%struct.mbchar = type { i8*, i64, i8, i32, [24 x i8] }
%struct.sysinfo = type { i64, [3 x i64], i64, i64, i64, i64, i64, i64, i16, i16, i64, i64, i32, [0 x i8] }
%struct.__va_list_tag = type { i32, i32, i8*, i8* }
@stderr = external local_unnamed_addr global %struct._IO_FILE*, align 8
@.str = private unnamed_addr constant [39 x i8] c"Try '%s --help' for more information.\0A\00", align 1
@.str.1 = private unnamed_addr constant [71 x i8] c"Usage: %s [OPTION]... [FILE]...\0A or: %s [OPTION]... --files0-from=F\0A\00", align 1
@.str.2 = private unnamed_addr constant [184 x i8] c"Print newline, word, and byte counts for each FILE, and a total line if\0Amore than one FILE is specified. A word is a non-zero-length sequence of\0Acharacters delimited by white space.\0A\00", align 1
@stdout = external local_unnamed_addr global %struct._IO_FILE*, align 8
@.str.30 = private unnamed_addr constant [56 x i8] c"\0AWith no FILE, or when FILE is -, read standard input.\0A\00", align 1
@.str.3 = private unnamed_addr constant [301 x i8] c"\0AThe options below may be used to select which counts are printed, always in\0Athe following order: newline, word, character, byte, maximum line length.\0A -c, --bytes print the byte counts\0A -m, --chars print the character counts\0A -l, --lines print the newline counts\0A\00", align 1
@.str.4 = private unnamed_addr constant [301 x i8] c" --files0-from=F read input from the files specified by\0A NUL-terminated names in file F;\0A If F is - then read names from standard input\0A -L, --max-line-length print the maximum display width\0A -w, --words print the word counts\0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c" --help display this help and exit\0A\00", align 1
@.str.6 = private unnamed_addr constant [54 x i8] c" --version output version information and exit\0A\00", align 1
@emit_ancillary_info.infomap = private unnamed_addr constant [7 x %struct.infomap] [%struct.infomap { i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.32, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.33, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.35, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.35, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.35, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.35, i32 0, i32 0) }, %struct.infomap zeroinitializer], align 16
@.str.31 = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"wc\00", align 1
@.str.39 = private unnamed_addr constant [23 x i8] c"\0A%s online help: <%s>\0A\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"GNU coreutils\00", align 1
@.str.40 = private unnamed_addr constant [40 x i8] c"https://www.gnu.org/software/coreutils/\00", align 1
@.str.41 = private unnamed_addr constant [4 x i8] c"en_\00", align 1
@.str.42 = private unnamed_addr constant [70 x i8] c"Report %s translation bugs to <https://translationproject.org/team/>\0A\00", align 1
@.str.43 = private unnamed_addr constant [31 x i8] c"Full documentation at: <%s%s>\0A\00", align 1
@.str.44 = private unnamed_addr constant [51 x i8] c"or available locally via: info '(coreutils) %s%s'\0A\00", align 1
@.str.45 = private unnamed_addr constant [12 x i8] c" invocation\00", align 1
@.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.32 = private unnamed_addr constant [16 x i8] c"test invocation\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"coreutils\00", align 1
@.str.33 = private unnamed_addr constant [22 x i8] c"Multi-call invocation\00", align 1
@.str.34 = private unnamed_addr constant [10 x i8] c"sha224sum\00", align 1
@.str.35 = private unnamed_addr constant [15 x i8] c"sha2 utilities\00", align 1
@.str.36 = private unnamed_addr constant [10 x i8] c"sha256sum\00", align 1
@.str.37 = private unnamed_addr constant [10 x i8] c"sha384sum\00", align 1
@.str.38 = private unnamed_addr constant [10 x i8] c"sha512sum\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"/usr/local/share/locale\00", align 1
@page_size = internal unnamed_addr global i64 0, align 8, !dbg !0
@print_bytes = internal unnamed_addr global i1 false, align 1, !dbg !318
@print_chars = internal unnamed_addr global i1 false, align 1, !dbg !319
@print_words = internal unnamed_addr global i1 false, align 1, !dbg !320
@print_lines = internal unnamed_addr global i1 false, align 1, !dbg !321
@print_linelength = internal unnamed_addr global i1 false, align 1, !dbg !322
@max_line_length = internal unnamed_addr global i64 0, align 8, !dbg !266
@total_bytes = internal unnamed_addr global i64 0, align 8, !dbg !264
@total_chars = internal unnamed_addr global i64 0, align 8, !dbg !262
@total_words = internal unnamed_addr global i64 0, align 8, !dbg !260
@total_lines = internal unnamed_addr global i64 0, align 8, !dbg !255
@.str.11 = private unnamed_addr constant [6 x i8] c"clLmw\00", align 1
@longopts = internal constant [9 x %struct.option] [%struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.46, i32 0, i32 0), i32 0, i32* null, i32 99 }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.47, i32 0, i32 0), i32 0, i32* null, i32 109 }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.48, i32 0, i32 0), i32 0, i32* null, i32 108 }, %struct.option { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.49, i32 0, i32 0), i32 0, i32* null, i32 119 }, %struct.option { i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.50, i32 0, i32 0), i32 1, i32* null, i32 128 }, %struct.option { i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i32 0, i32 0), i32 0, i32* null, i32 76 }, %struct.option { i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.52, i32 0, i32 0), i32 0, i32* null, i32 -130 }, %struct.option { i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.53, i32 0, i32 0), i32 0, i32* null, i32 -131 }, %struct.option zeroinitializer], align 16, !dbg !282
@optarg = external local_unnamed_addr global i8*, align 8
@.str.13 = private unnamed_addr constant [11 x i8] c"Paul Rubin\00", align 1
@.str.14 = private unnamed_addr constant [16 x i8] c"David MacKenzie\00", align 1
@optind = external local_unnamed_addr global i32, align 4
@.str.15 = private unnamed_addr constant [17 x i8] c"extra operand %s\00", align 1
@.str.17 = private unnamed_addr constant [52 x i8] c"file operands cannot be combined with --files0-from\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.18 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@stdin = external local_unnamed_addr global %struct._IO_FILE*, align 8
@.str.19 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.20 = private unnamed_addr constant [27 x i8] c"cannot open %s for reading\00", align 1
@.str.21 = private unnamed_addr constant [31 x i8] c"cannot read file names from %s\00", align 1
@main.stdin_only = internal global [1 x i8*] zeroinitializer, align 8, !dbg !62
@number_width = internal unnamed_addr global i32 0, align 4, !dbg !278
@.str.22 = private unnamed_addr constant [15 x i8] c"%s: read error\00", align 1
@.str.23 = private unnamed_addr constant [40 x i8] c"!\22unexpected error code from argv_iter\22\00", align 1
@.str.24 = private unnamed_addr constant [9 x i8] c"src/wc.c\00", align 1
@__PRETTY_FUNCTION__.main = private unnamed_addr constant [23 x i8] c"int main(int, char **)\00", align 1
@.str.25 = private unnamed_addr constant [63 x i8] c"when reading file names from stdin, no file name of %s allowed\00", align 1
@.str.27 = private unnamed_addr constant [30 x i8] c"invalid zero-length file name\00", align 1
@.str.26 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.28 = private unnamed_addr constant [11 x i8] c"%s:%lu: %s\00", align 1
@have_read_stdin = internal unnamed_addr global i1 false, align 1, !dbg !323
@.str.29 = private unnamed_addr constant [6 x i8] c"total\00", align 1
@write_counts.format_sp_int = internal constant [5 x i8] c" %*s\00", align 1, !dbg !298
@.str.55 = private unnamed_addr constant [4 x i8] c" %s\00", align 1
@.str.54 = private unnamed_addr constant [15 x i8] c"standard input\00", align 1
@.str.46 = private unnamed_addr constant [6 x i8] c"bytes\00", align 1
@.str.47 = private unnamed_addr constant [6 x i8] c"chars\00", align 1
@.str.48 = private unnamed_addr constant [6 x i8] c"lines\00", align 1
@.str.49 = private unnamed_addr constant [6 x i8] c"words\00", align 1
@.str.50 = private unnamed_addr constant [12 x i8] c"files0-from\00", align 1
@.str.51 = private unnamed_addr constant [16 x i8] c"max-line-length\00", align 1
@.str.52 = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.53 = private unnamed_addr constant [8 x i8] c"version\00", align 1
@Version = dso_local local_unnamed_addr global i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.56, i64 0, i64 0), align 8, !dbg !324
@.str.56 = private unnamed_addr constant [5 x i8] c"8.30\00", align 1
@file_name = internal unnamed_addr global i8* null, align 8, !dbg !330
@ignore_EPIPE = internal unnamed_addr global i8 0, align 1, !dbg !335
@.str.69 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.1.70 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1
@.str.2.71 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@exit_failure = dso_local global i32 1, align 4, !dbg !338
@is_basic_table = dso_local local_unnamed_addr constant [8 x i32] [i32 6656, i32 -17, i32 -2, i32 2147483646, i32 0, i32 0, i32 0, i32 0], align 16, !dbg !345
@program_name = dso_local local_unnamed_addr global i8* null, align 8, !dbg !356
@.str.86 = private unnamed_addr constant [56 x i8] c"A NULL argv[0] was passed through an exec system call.\0A\00", align 1
@.str.1.87 = private unnamed_addr constant [8 x i8] c"/.libs/\00", align 1
@.str.2.88 = private unnamed_addr constant [4 x i8] c"lt-\00", align 1
@program_invocation_short_name = external local_unnamed_addr global i8*, align 8
@program_invocation_name = external local_unnamed_addr global i8*, align 8
@quoting_style_args = dso_local local_unnamed_addr constant [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.89, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1.90, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2.91, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3.92, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4.93, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5.94, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6.95, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7.96, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8.97, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9.98, i32 0, i32 0), i8* null], align 16, !dbg !363
@.str.89 = private unnamed_addr constant [8 x i8] c"literal\00", align 1
@.str.1.90 = private unnamed_addr constant [6 x i8] c"shell\00", align 1
@.str.2.91 = private unnamed_addr constant [13 x i8] c"shell-always\00", align 1
@.str.3.92 = private unnamed_addr constant [13 x i8] c"shell-escape\00", align 1
@.str.4.93 = private unnamed_addr constant [20 x i8] c"shell-escape-always\00", align 1
@.str.5.94 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.6.95 = private unnamed_addr constant [8 x i8] c"c-maybe\00", align 1
@.str.7.96 = private unnamed_addr constant [7 x i8] c"escape\00", align 1
@.str.8.97 = private unnamed_addr constant [7 x i8] c"locale\00", align 1
@.str.9.98 = private unnamed_addr constant [8 x i8] c"clocale\00", align 1
@quoting_style_vals = dso_local local_unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16, !dbg !375
@quote_quoting_options = dso_local global %struct.quoting_options { i32 8, i32 0, [8 x i32] zeroinitializer, i8* null, i8* null }, align 8, !dbg !382
@default_quoting_options = internal global %struct.quoting_options zeroinitializer, align 8, !dbg !392
@.str.11.99 = private unnamed_addr constant [2 x i8] c"`\00", align 1
@.str.12.100 = private unnamed_addr constant [2 x i8] c"'\00", align 1
@.str.10.101 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
@.str.14.102 = private unnamed_addr constant [4 x i8] c"\E2\80\98\00", align 1
@.str.15.103 = private unnamed_addr constant [4 x i8] c"\E2\80\99\00", align 1
@.str.17.104 = private unnamed_addr constant [4 x i8] c"\A1\07e\00", align 1
@.str.18.105 = private unnamed_addr constant [3 x i8] c"\A1\AF\00", align 1
@slotvec = internal unnamed_addr global %struct.slotvec* @slotvec0, align 8, !dbg !399
@nslots = internal unnamed_addr global i32 1, align 4, !dbg !406
@slot0 = internal global [256 x i8] zeroinitializer, align 16, !dbg !394
@slotvec0 = internal global %struct.slotvec { i64 256, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @slot0, i32 0, i32 0) }, align 8, !dbg !408
@.str.120 = private unnamed_addr constant [12 x i8] c"%s (%s) %s\0A\00", align 1
@.str.1.121 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1
@.str.2.122 = private unnamed_addr constant [4 x i8] c"(C)\00", align 1
@.str.3.123 = private unnamed_addr constant [204 x i8] c"\0ALicense GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.\0AThis is free software: you are free to change and redistribute it.\0AThere is NO WARRANTY, to the extent permitted by law.\0A\0A\00", align 1
@.str.4.124 = private unnamed_addr constant [16 x i8] c"Written by %s.\0A\00", align 1
@.str.5.125 = private unnamed_addr constant [23 x i8] c"Written by %s and %s.\0A\00", align 1
@.str.6.126 = private unnamed_addr constant [28 x i8] c"Written by %s, %s, and %s.\0A\00", align 1
@.str.7.127 = private unnamed_addr constant [32 x i8] c"Written by %s, %s, %s,\0Aand %s.\0A\00", align 1
@.str.8.128 = private unnamed_addr constant [36 x i8] c"Written by %s, %s, %s,\0A%s, and %s.\0A\00", align 1
@.str.9.129 = private unnamed_addr constant [40 x i8] c"Written by %s, %s, %s,\0A%s, %s, and %s.\0A\00", align 1
@.str.10.130 = private unnamed_addr constant [44 x i8] c"Written by %s, %s, %s,\0A%s, %s, %s, and %s.\0A\00", align 1
@.str.11.131 = private unnamed_addr constant [48 x i8] c"Written by %s, %s, %s,\0A%s, %s, %s, %s,\0Aand %s.\0A\00", align 1
@.str.12.132 = private unnamed_addr constant [52 x i8] c"Written by %s, %s, %s,\0A%s, %s, %s, %s,\0A%s, and %s.\0A\00", align 1
@.str.13.133 = private unnamed_addr constant [60 x i8] c"Written by %s, %s, %s,\0A%s, %s, %s, %s,\0A%s, %s, and others.\0A\00", align 1
@.str.14.136 = private unnamed_addr constant [21 x i8] c"\0AReport bugs to: %s\0A\00", align 1
@.str.15.137 = private unnamed_addr constant [22 x i8] c"[email protected]\00", align 1
@.str.16.138 = private unnamed_addr constant [20 x i8] c"%s home page: <%s>\0A\00", align 1
@.str.17.139 = private unnamed_addr constant [14 x i8] c"GNU coreutils\00", align 1
@.str.18.140 = private unnamed_addr constant [40 x i8] c"https://www.gnu.org/software/coreutils/\00", align 1
@.str.19.141 = private unnamed_addr constant [65 x i8] c"General help using GNU software: <https://www.gnu.org/gethelp/>\0A\00", align 1
@version_etc_copyright = dso_local constant [47 x i8] c"Copyright %s %d Free Software Foundation, Inc.\00", align 16, !dbg !414
@.str.1.152 = private unnamed_addr constant [17 x i8] c"memory exhausted\00", align 1
@.str.153 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@obstack_alloc_failed_handler = dso_local local_unnamed_addr global void ()* @print_and_abort, align 8, !dbg !423
@.str.1.164 = private unnamed_addr constant [17 x i8] c"memory exhausted\00", align 1
@.str.165 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.176 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.1.177 = private unnamed_addr constant [6 x i8] c"POSIX\00", align 1
@.str.180 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1.181 = private unnamed_addr constant [6 x i8] c"ASCII\00", align 1
; Function Attrs: noreturn nounwind sspstrong uwtable
define dso_local void @usage(i32) local_unnamed_addr #0 !dbg !1114 {
%2 = alloca [7 x %struct.infomap], align 16
call void @llvm.dbg.declare(metadata [7 x %struct.infomap]* %2, metadata !1119, metadata !DIExpression()), !dbg !1138
call void @llvm.dbg.value(metadata i32 %0, metadata !1118, metadata !DIExpression()), !dbg !1142
%3 = icmp eq i32 %0, 0, !dbg !1143
br i1 %3, label %9, label %4, !dbg !1144
; <label>:4: ; preds = %1
%5 = load %struct._IO_FILE*, %struct._IO_FILE** @stderr, align 8, !dbg !1145, !tbaa !1147
%6 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i32 5) #13, !dbg !1145
%7 = load i8*, i8** @program_name, align 8, !dbg !1145, !tbaa !1147
%8 = tail call i32 (%struct._IO_FILE*, i32, i8*, ...) @__fprintf_chk(%struct._IO_FILE* %5, i32 1, i8* %6, i8* %7) #13, !dbg !1145
br label %66, !dbg !1145
; <label>:9: ; preds = %1
%10 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0), i32 5) #13, !dbg !1151
%11 = load i8*, i8** @program_name, align 8, !dbg !1151, !tbaa !1147
%12 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %10, i8* %11, i8* %11) #13, !dbg !1151
%13 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([184 x i8], [184 x i8]* @.str.2, i64 0, i64 0), i32 5) #13, !dbg !1152
%14 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1152, !tbaa !1147
%15 = tail call i32 @fputs_unlocked(i8* %13, %struct._IO_FILE* %14), !dbg !1152
%16 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.30, i64 0, i64 0), i32 5) #13, !dbg !1153
%17 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1153, !tbaa !1147
%18 = tail call i32 @fputs_unlocked(i8* %16, %struct._IO_FILE* %17) #13, !dbg !1153
%19 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([301 x i8], [301 x i8]* @.str.3, i64 0, i64 0), i32 5) #13, !dbg !1156
%20 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1156, !tbaa !1147
%21 = tail call i32 @fputs_unlocked(i8* %19, %struct._IO_FILE* %20), !dbg !1156
%22 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([301 x i8], [301 x i8]* @.str.4, i64 0, i64 0), i32 5) #13, !dbg !1157
%23 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1157, !tbaa !1147
%24 = tail call i32 @fputs_unlocked(i8* %22, %struct._IO_FILE* %23), !dbg !1157
%25 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i32 5) #13, !dbg !1158
%26 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1158, !tbaa !1147
%27 = tail call i32 @fputs_unlocked(i8* %25, %struct._IO_FILE* %26), !dbg !1158
%28 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.6, i64 0, i64 0), i32 5) #13, !dbg !1159
%29 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1159, !tbaa !1147
%30 = tail call i32 @fputs_unlocked(i8* %28, %struct._IO_FILE* %29), !dbg !1159
%31 = bitcast [7 x %struct.infomap]* %2 to i8*, !dbg !1160
call void @llvm.lifetime.start.p0i8(i64 112, i8* nonnull %31) #13, !dbg !1160
call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 16 %31, i8* align 16 bitcast ([7 x %struct.infomap]* @emit_ancillary_info.infomap to i8*), i64 112, i1 false) #13, !dbg !1138
%32 = getelementptr inbounds [7 x %struct.infomap], [7 x %struct.infomap]* %2, i64 0, i64 0, !dbg !1161
call void @llvm.dbg.value(metadata %struct.infomap* %32, metadata !1127, metadata !DIExpression()) #13, !dbg !1162
br label %33, !dbg !1163
; <label>:33: ; preds = %38, %9
%34 = phi i8* [ %41, %38 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0), %9 ]
%35 = phi %struct.infomap* [ %39, %38 ], [ %32, %9 ]
call void @llvm.dbg.value(metadata %struct.infomap* %35, metadata !1127, metadata !DIExpression()) #13, !dbg !1162
%36 = tail call i32 @strcmp(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* nonnull %34) #15, !dbg !1163
%37 = icmp eq i32 %36, 0, !dbg !1163
br i1 %37, label %43, label %38, !dbg !1164
; <label>:38: ; preds = %33
%39 = getelementptr inbounds %struct.infomap, %struct.infomap* %35, i64 1, !dbg !1165
call void @llvm.dbg.value(metadata %struct.infomap* %39, metadata !1127, metadata !DIExpression()) #13, !dbg !1162
%40 = getelementptr inbounds %struct.infomap, %struct.infomap* %39, i64 0, i32 0, !dbg !1166
%41 = load i8*, i8** %40, align 8, !dbg !1166, !tbaa !1167
%42 = icmp eq i8* %41, null, !dbg !1169
br i1 %42, label %43, label %33, !dbg !1170, !llvm.loop !1171
; <label>:43: ; preds = %38, %33
%44 = phi %struct.infomap* [ %39, %38 ], [ %35, %33 ]
call void @llvm.dbg.value(metadata %struct.infomap* %44, metadata !1127, metadata !DIExpression()) #13, !dbg !1162
call void @llvm.dbg.value(metadata %struct.infomap* %44, metadata !1127, metadata !DIExpression()) #13, !dbg !1162
%45 = getelementptr inbounds %struct.infomap, %struct.infomap* %44, i64 0, i32 1, !dbg !1174
%46 = load i8*, i8** %45, align 8, !dbg !1174, !tbaa !1176
%47 = icmp eq i8* %46, null, !dbg !1177
%48 = select i1 %47, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %46, !dbg !1178
call void @llvm.dbg.value(metadata i8* %48, metadata !1126, metadata !DIExpression()) #13, !dbg !1179
%49 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.39, i64 0, i64 0), i32 5) #13, !dbg !1180
%50 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %49, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.40, i64 0, i64 0)) #13, !dbg !1180
%51 = tail call i8* @setlocale(i32 5, i8* null) #13, !dbg !1181
call void @llvm.dbg.value(metadata i8* %51, metadata !1134, metadata !DIExpression()) #13, !dbg !1182
%52 = icmp eq i8* %51, null, !dbg !1183
br i1 %52, label %59, label %53, !dbg !1185
; <label>:53: ; preds = %43
%54 = tail call i32 @strncmp(i8* nonnull %51, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.41, i64 0, i64 0), i64 3) #15, !dbg !1186
%55 = icmp eq i32 %54, 0, !dbg !1186
br i1 %55, label %59, label %56, !dbg !1187
; <label>:56: ; preds = %53
%57 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.42, i64 0, i64 0), i32 5) #13, !dbg !1188
%58 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %57, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)) #13, !dbg !1188
br label %59, !dbg !1190
; <label>:59: ; preds = %43, %53, %56
%60 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.43, i64 0, i64 0), i32 5) #13, !dbg !1191
%61 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %60, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.40, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0)) #13, !dbg !1191
%62 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.44, i64 0, i64 0), i32 5) #13, !dbg !1192
%63 = icmp eq i8* %48, getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), !dbg !1192
%64 = select i1 %63, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.45, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0), !dbg !1192
%65 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %62, i8* %48, i8* %64) #13, !dbg !1192
call void @llvm.lifetime.end.p0i8(i64 112, i8* nonnull %31) #13, !dbg !1193
br label %66
; <label>:66: ; preds = %59, %4
tail call void @exit(i32 %0) #16, !dbg !1194
unreachable, !dbg !1194
}
; Function Attrs: nounwind readnone speculatable
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
; Function Attrs: nounwind readnone speculatable
declare void @llvm.dbg.value(metadata, metadata, metadata) #1
; Function Attrs: nounwind
declare i8* @dcgettext(i8*, i8*, i32) local_unnamed_addr #2
declare i32 @__fprintf_chk(%struct._IO_FILE*, i32, i8*, ...) local_unnamed_addr #3
declare i32 @__printf_chk(i32, i8*, ...) local_unnamed_addr #3
; Function Attrs: nounwind
declare i32 @fputs_unlocked(i8* nocapture readonly, %struct._IO_FILE* nocapture) local_unnamed_addr #2
; Function Attrs: argmemonly nounwind
declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #4
; Function Attrs: argmemonly nounwind
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture writeonly, i8* nocapture readonly, i64, i1) #4
; Function Attrs: nounwind readonly
declare i32 @strcmp(i8* nocapture, i8* nocapture) local_unnamed_addr #5
; Function Attrs: nounwind
declare i8* @setlocale(i32, i8*) local_unnamed_addr #2
; Function Attrs: nounwind readonly
declare i32 @strncmp(i8* nocapture, i8* nocapture, i64) local_unnamed_addr #5
; Function Attrs: argmemonly nounwind
declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #4
; Function Attrs: noreturn nounwind
declare void @exit(i32) local_unnamed_addr #6
; Function Attrs: nounwind sspstrong uwtable
define dso_local i32 @main(i32, i8**) local_unnamed_addr #7 !dbg !64 {
%3 = alloca %struct.Tokens, align 8
%4 = alloca %struct.stat, align 8
%5 = alloca i32, align 4
call void @llvm.dbg.value(metadata i32 %0, metadata !69, metadata !DIExpression()), !dbg !1195
call void @llvm.dbg.value(metadata i8** %1, metadata !70, metadata !DIExpression()), !dbg !1196
call void @llvm.dbg.value(metadata i8* null, metadata !76, metadata !DIExpression()), !dbg !1197
%6 = bitcast %struct.Tokens* %3 to i8*, !dbg !1198
call void @llvm.lifetime.start.p0i8(i64 288, i8* nonnull %6) #13, !dbg !1198
%7 = load i8*, i8** %1, align 8, !dbg !1199, !tbaa !1147
tail call void @set_program_name(i8* %7) #13, !dbg !1200
%8 = tail call i8* @setlocale(i32 6, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.8, i64 0, i64 0)) #13, !dbg !1201
%9 = tail call i8* @bindtextdomain(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0)) #13, !dbg !1202
%10 = tail call i8* @textdomain(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0)) #13, !dbg !1203
%11 = tail call i32 @atexit(void ()* nonnull @close_stdout) #13, !dbg !1204
%12 = tail call i32 @getpagesize() #17, !dbg !1205
%13 = sext i32 %12 to i64, !dbg !1205
store i64 %13, i64* @page_size, align 8, !dbg !1206, !tbaa !1207
%14 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1209, !tbaa !1147
%15 = tail call i32 @setvbuf(%struct._IO_FILE* %14, i8* null, i32 1, i64 0) #13, !dbg !1210
store i1 false, i1* @print_bytes, align 1
store i1 false, i1* @print_chars, align 1
store i1 false, i1* @print_words, align 1
store i1 false, i1* @print_lines, align 1
store i1 false, i1* @print_linelength, align 1
store i64 0, i64* @max_line_length, align 8, !dbg !1211, !tbaa !1207
store i64 0, i64* @total_bytes, align 8, !dbg !1212, !tbaa !1207
store i64 0, i64* @total_chars, align 8, !dbg !1213, !tbaa !1207
store i64 0, i64* @total_words, align 8, !dbg !1214, !tbaa !1207
store i64 0, i64* @total_lines, align 8, !dbg !1215, !tbaa !1207
br label %16, !dbg !1216
; <label>:16: ; preds = %26, %2
%17 = phi i8* [ %27, %26 ], [ null, %2 ]
br label %18, !dbg !1217
; <label>:18: ; preds = %25, %16
call void @llvm.dbg.value(metadata i8* %17, metadata !76, metadata !DIExpression()), !dbg !1197
%19 = tail call i32 @getopt_long(i32 %0, i8** %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), %struct.option* getelementptr inbounds ([9 x %struct.option], [9 x %struct.option]* @longopts, i64 0, i64 0), i32* null) #13, !dbg !1217
call void @llvm.dbg.value(metadata i32 %19, metadata !73, metadata !DIExpression()), !dbg !1218
switch i32 %19, label %32 [
i32 -1, label %33
i32 99, label %20
i32 109, label %21
i32 108, label %22
i32 119, label %23
i32 76, label %24
i32 128, label %26
i32 -130, label %28
i32 -131, label %29
], !dbg !1216
; <label>:20: ; preds = %18
store i1 true, i1* @print_bytes, align 1
br label %25, !dbg !1219
; <label>:21: ; preds = %18
store i1 true, i1* @print_chars, align 1
br label %25, !dbg !1221
; <label>:22: ; preds = %18
store i1 true, i1* @print_lines, align 1
br label %25, !dbg !1222
; <label>:23: ; preds = %18
store i1 true, i1* @print_words, align 1
br label %25, !dbg !1223
; <label>:24: ; preds = %18
store i1 true, i1* @print_linelength, align 1
br label %25, !dbg !1224
; <label>:25: ; preds = %24, %23, %22, %21, %20
br label %18, !dbg !1197, !llvm.loop !1225
; <label>:26: ; preds = %18
%27 = load i8*, i8** @optarg, align 8, !dbg !1227, !tbaa !1147
call void @llvm.dbg.value(metadata i8* %27, metadata !76, metadata !DIExpression()), !dbg !1197
br label %16, !dbg !1228, !llvm.loop !1225
; <label>:28: ; preds = %18
tail call void @usage(i32 0) #18, !dbg !1229
unreachable, !dbg !1229
; <label>:29: ; preds = %18
%30 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !1230, !tbaa !1147
%31 = load i8*, i8** @Version, align 8, !dbg !1230, !tbaa !1147
tail call void (%struct._IO_FILE*, i8*, i8*, i8*, ...) @version_etc(%struct._IO_FILE* %30, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), i8* %31, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0), i8* null) #13, !dbg !1230
tail call void @exit(i32 0) #16, !dbg !1230
unreachable, !dbg !1230
; <label>:32: ; preds = %18
tail call void @usage(i32 1) #18, !dbg !1231
unreachable, !dbg !1231
; <label>:33: ; preds = %18
call void @llvm.dbg.value(metadata i8* %17, metadata !76, metadata !DIExpression()), !dbg !1197
call void @llvm.dbg.value(metadata i8* %17, metadata !76, metadata !DIExpression()), !dbg !1197
call void @llvm.dbg.value(metadata i8* %17, metadata !76, metadata !DIExpression()), !dbg !1197
call void @llvm.dbg.value(metadata i8* %17, metadata !76, metadata !DIExpression()), !dbg !1197
%34 = load i1, i1* @print_lines, align 1
br i1 %34, label %44, label %35, !dbg !1232
; <label>:35: ; preds = %33
%36 = load i1, i1* @print_words, align 1
br i1 %36, label %44, label %37, !dbg !1234
; <label>:37: ; preds = %35
%38 = load i1, i1* @print_chars, align 1
br i1 %38, label %44, label %39, !dbg !1235
; <label>:39: ; preds = %37
%40 = load i1, i1* @print_bytes, align 1
br i1 %40, label %44, label %41, !dbg !1236
; <label>:41: ; preds = %39
%42 = load i1, i1* @print_linelength, align 1
br i1 %42, label %44, label %43, !dbg !1237
; <label>:43: ; preds = %41
store i1 true, i1* @print_bytes, align 1
store i1 true, i1* @print_words, align 1
store i1 true, i1* @print_lines, align 1
br label %44, !dbg !1238
; <label>:44: ; preds = %43, %41, %39, %37, %35, %33
call void @llvm.dbg.value(metadata i8 0, metadata !182, metadata !DIExpression()), !dbg !1239
%45 = icmp ne i8* %17, null, !dbg !1240
%46 = load i32, i32* @optind, align 4, !dbg !1241, !tbaa !1243
%47 = icmp slt i32 %46, %0, !dbg !1241
br i1 %45, label %48, label %117, !dbg !1245
; <label>:48: ; preds = %44
br i1 %47, label %49, label %59, !dbg !1246
; <label>:49: ; preds = %48
%50 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i32 5) #13, !dbg !1247
%51 = load i32, i32* @optind, align 4, !dbg !1250, !tbaa !1243
%52 = sext i32 %51 to i64, !dbg !1250
%53 = getelementptr inbounds i8*, i8** %1, i64 %52, !dbg !1250
%54 = load i8*, i8** %53, align 8, !dbg !1250, !tbaa !1147
%55 = tail call i8* @quotearg_style(i32 4, i8* %54) #13, !dbg !1250
tail call void (i32, i32, i8*, ...) @error(i32 0, i32 0, i8* %50, i8* %55) #13, !dbg !1251
%56 = load %struct._IO_FILE*, %struct._IO_FILE** @stderr, align 8, !dbg !1252, !tbaa !1147
%57 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.17, i64 0, i64 0), i32 5) #13, !dbg !1252
%58 = tail call i32 (%struct._IO_FILE*, i32, i8*, ...) @__fprintf_chk(%struct._IO_FILE* %56, i32 1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8* %57) #13, !dbg !1252
tail call void @usage(i32 1) #18, !dbg !1253
unreachable, !dbg !1253
; <label>:59: ; preds = %48
%60 = tail call i32 @strcmp(i8* nonnull %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0)) #15, !dbg !1254
%61 = icmp eq i32 %60, 0, !dbg !1254
br i1 %61, label %62, label %64, !dbg !1256
; <label>:62: ; preds = %59
%63 = load %struct._IO_FILE*, %struct._IO_FILE** @stdin, align 8, !dbg !1257, !tbaa !1147
call void @llvm.dbg.value(metadata %struct._IO_FILE* %63, metadata !186, metadata !DIExpression()), !dbg !1258
br label %72, !dbg !1259
; <label>:64: ; preds = %59
%65 = tail call %struct._IO_FILE* @fopen(i8* nonnull %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0)), !dbg !1260
call void @llvm.dbg.value(metadata %struct._IO_FILE* %65, metadata !186, metadata !DIExpression()), !dbg !1258
%66 = icmp eq %struct._IO_FILE* %65, null, !dbg !1262
br i1 %66, label %67, label %72, !dbg !1264
; <label>:67: ; preds = %64
%68 = tail call i32* @__errno_location() #17, !dbg !1265
%69 = load i32, i32* %68, align 4, !dbg !1265, !tbaa !1243
%70 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.20, i64 0, i64 0), i32 5) #13, !dbg !1265
%71 = tail call i8* @quotearg_style(i32 4, i8* nonnull %17) #13, !dbg !1265
tail call void (i32, i32, i8*, ...) @error(i32 1, i32 %69, i8* %70, i8* %71) #13, !dbg !1265
unreachable, !dbg !1265
; <label>:72: ; preds = %64, %62
%73 = phi %struct._IO_FILE* [ %63, %62 ], [ %65, %64 ], !dbg !1266
call void @llvm.dbg.value(metadata %struct._IO_FILE* %73, metadata !186, metadata !DIExpression()), !dbg !1258
%74 = bitcast %struct.stat* %4 to i8*, !dbg !1267
call void @llvm.lifetime.start.p0i8(i64 144, i8* nonnull %74) #13, !dbg !1267
%75 = tail call i32 @fileno(%struct._IO_FILE* %73) #13, !dbg !1268
call void @llvm.dbg.value(metadata %struct.stat* %4, metadata !241, metadata !DIExpression(DW_OP_deref)), !dbg !1270
call void @llvm.dbg.value(metadata i32 %75, metadata !1271, metadata !DIExpression()) #13, !dbg !1279
call void @llvm.dbg.value(metadata %struct.stat* %4, metadata !1278, metadata !DIExpression()) #13, !dbg !1279
%76 = call i32 @__fxstat(i32 1, i32 %75, %struct.stat* nonnull %4) #13, !dbg !1281
%77 = icmp eq i32 %76, 0, !dbg !1282
br i1 %77, label %78, label %110, !dbg !1283
; <label>:78: ; preds = %72
%79 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 3, !dbg !1284
%80 = load i32, i32* %79, align 8, !dbg !1284, !tbaa !1285
%81 = and i32 %80, 61440, !dbg !1284
%82 = icmp eq i32 %81, 32768, !dbg !1284
br i1 %82, label %83, label %110, !dbg !1288
; <label>:83: ; preds = %78
%84 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 8, !dbg !1289
%85 = load i64, i64* %84, align 8, !dbg !1289, !tbaa !1290
%86 = sitofp i64 %85 to double, !dbg !1291
%87 = call double @physmem_available() #13, !dbg !1292
%88 = fmul double %87, 5.000000e-01, !dbg !1292
%89 = fcmp ogt double %88, 0x4164000000000000, !dbg !1292
br i1 %89, label %93, label %90, !dbg !1292
; <label>:90: ; preds = %83
%91 = call double @physmem_available() #13, !dbg !1292
%92 = fmul double %91, 5.000000e-01, !dbg !1292
br label %93, !dbg !1292
; <label>:93: ; preds = %83, %90
%94 = phi double [ %92, %90 ], [ 0x4164000000000000, %83 ], !dbg !1292
%95 = fcmp ult double %94, %86, !dbg !1293
br i1 %95, label %110, label %96, !dbg !1294
; <label>:96: ; preds = %93
call void @llvm.dbg.value(metadata i8 1, metadata !182, metadata !DIExpression()), !dbg !1239
call void @llvm.dbg.value(metadata %struct.Tokens* %3, metadata !122, metadata !DIExpression(DW_OP_deref)), !dbg !1295
call void @readtokens0_init(%struct.Tokens* nonnull %3) #13, !dbg !1296
call void @llvm.dbg.value(metadata %struct.Tokens* %3, metadata !122, metadata !DIExpression(DW_OP_deref)), !dbg !1295
%97 = call zeroext i1 @readtokens0(%struct._IO_FILE* %73, %struct.Tokens* nonnull %3) #13, !dbg !1298
br i1 %97, label %98, label %101, !dbg !1300
; <label>:98: ; preds = %96
%99 = call i32 @rpl_fclose(%struct._IO_FILE* %73) #13, !dbg !1301
%100 = icmp eq i32 %99, 0, !dbg !1302
br i1 %100, label %104, label %101, !dbg !1303
; <label>:101: ; preds = %98, %96
%102 = call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.21, i64 0, i64 0), i32 5) #13, !dbg !1304
%103 = call i8* @quotearg_style(i32 4, i8* nonnull %17) #13, !dbg !1304
call void (i32, i32, i8*, ...) @error(i32 1, i32 0, i8* %102, i8* %103) #13, !dbg !1304
unreachable, !dbg !1304
; <label>:104: ; preds = %98
%105 = getelementptr inbounds %struct.Tokens, %struct.Tokens* %3, i64 0, i32 1, !dbg !1305
%106 = load i8**, i8*** %105, align 8, !dbg !1305, !tbaa !1306
call void @llvm.dbg.value(metadata i8** %106, metadata !75, metadata !DIExpression()), !dbg !1309
%107 = getelementptr inbounds %struct.Tokens, %struct.Tokens* %3, i64 0, i32 0, !dbg !1310
%108 = load i64, i64* %107, align 8, !dbg !1310, !tbaa !1311
call void @llvm.dbg.value(metadata i64 %108, metadata !74, metadata !DIExpression()), !dbg !1312
%109 = call %struct.argv_iterator* @argv_iter_init_argv(i8** %106) #13, !dbg !1313
call void @llvm.dbg.value(metadata %struct.argv_iterator* %109, metadata !183, metadata !DIExpression()), !dbg !1314
br label %112, !dbg !1315
; <label>:110: ; preds = %93, %78, %72
call void @llvm.dbg.value(metadata i8** null, metadata !75, metadata !DIExpression()), !dbg !1309
call void @llvm.dbg.value(metadata i64 0, metadata !74, metadata !DIExpression()), !dbg !1312
%111 = call %struct.argv_iterator* @argv_iter_init_stream(%struct._IO_FILE* %73) #13, !dbg !1316
call void @llvm.dbg.value(metadata %struct.argv_iterator* %111, metadata !183, metadata !DIExpression()), !dbg !1314
br label %112
; <label>:112: ; preds = %110, %104
%113 = phi i8** [ %106, %104 ], [ null, %110 ], !dbg !1318
%114 = phi i64 [ %108, %104 ], [ 0, %110 ], !dbg !1318
%115 = phi i1 [ true, %104 ], [ false, %110 ], !dbg !1319
%116 = phi %struct.argv_iterator* [ %109, %104 ], [ %111, %110 ], !dbg !1318
call void @llvm.dbg.value(metadata %struct.argv_iterator* %116, metadata !183, metadata !DIExpression()), !dbg !1314
call void @llvm.dbg.value(metadata i64 %114, metadata !74, metadata !DIExpression()), !dbg !1312
call void @llvm.dbg.value(metadata i8** %113, metadata !75, metadata !DIExpression()), !dbg !1309
call void @llvm.lifetime.end.p0i8(i64 144, i8* nonnull %74) #13, !dbg !1320
br label %125, !dbg !1321
; <label>:117: ; preds = %44
%118 = sext i32 %46 to i64, !dbg !1322
%119 = getelementptr inbounds i8*, i8** %1, i64 %118, !dbg !1322
%120 = select i1 %47, i8** %119, i8** getelementptr inbounds ([1 x i8*], [1 x i8*]* @main.stdin_only, i64 0, i64 0), !dbg !1323
call void @llvm.dbg.value(metadata i8** %120, metadata !75, metadata !DIExpression()), !dbg !1309
%121 = sub nsw i32 %0, %46, !dbg !1324
%122 = select i1 %47, i32 %121, i32 1, !dbg !1325
%123 = sext i32 %122 to i64, !dbg !1325
call void @llvm.dbg.value(metadata i64 %123, metadata !74, metadata !DIExpression()), !dbg !1312
%124 = tail call %struct.argv_iterator* @argv_iter_init_argv(i8** %120) #13, !dbg !1326
call void @llvm.dbg.value(metadata %struct.argv_iterator* %124, metadata !183, metadata !DIExpression()), !dbg !1314
br label %125
; <label>:125: ; preds = %117, %112
%126 = phi i8** [ %113, %112 ], [ %120, %117 ], !dbg !1241
%127 = phi i64 [ %114, %112 ], [ %123, %117 ], !dbg !1241
%128 = phi i1 [ %115, %112 ], [ false, %117 ], !dbg !1319
%129 = phi %struct.argv_iterator* [ %116, %112 ], [ %124, %117 ], !dbg !1241
call void @llvm.dbg.value(metadata %struct.argv_iterator* %129, metadata !183, metadata !DIExpression()), !dbg !1314
call void @llvm.dbg.value(metadata i64 %127, metadata !74, metadata !DIExpression()), !dbg !1312
call void @llvm.dbg.value(metadata i8** %126, metadata !75, metadata !DIExpression()), !dbg !1309
%130 = icmp eq %struct.argv_iterator* %129, null, !dbg !1327
br i1 %130, label %131, label %132, !dbg !1329
; <label>:131: ; preds = %125
call void @xalloc_die() #16, !dbg !1330
unreachable, !dbg !1330
; <label>:132: ; preds = %125
call void @llvm.dbg.value(metadata i64 %127, metadata !1331, metadata !DIExpression()) #13, !dbg !1344
call void @llvm.dbg.value(metadata i8** %126, metadata !1338, metadata !DIExpression()) #13, !dbg !1346
%133 = icmp eq i64 %127, 0, !dbg !1347
%134 = select i1 %133, i64 1, i64 %127, !dbg !1347
call void @llvm.dbg.value(metadata i64 %134, metadata !1348, metadata !DIExpression()) #13, !dbg !1354
call void @llvm.dbg.value(metadata i64 152, metadata !1353, metadata !DIExpression()) #13, !dbg !1356
%135 = icmp ugt i64 %134, 60680079189834051, !dbg !1357
br i1 %135, label %136, label %137, !dbg !1359
; <label>:136: ; preds = %132
call void @xalloc_die() #16, !dbg !1360
unreachable, !dbg !1360
; <label>:137: ; preds = %132
%138 = mul i64 %134, 152, !dbg !1361
%139 = call noalias i8* @xmalloc(i64 %138) #13, !dbg !1362
%140 = bitcast i8* %139 to %struct.fstatus*, !dbg !1363
call void @llvm.dbg.value(metadata %struct.fstatus* %140, metadata !1339, metadata !DIExpression()) #13, !dbg !1364
switch i64 %127, label %141 [
i64 0, label %158
i64 1, label %142
], !dbg !1365
; <label>:141: ; preds = %142, %137
br label %160, !dbg !1366
; <label>:142: ; preds = %137
%143 = load i1, i1* @print_lines, align 1
%144 = zext i1 %143 to i32, !dbg !1368
%145 = load i1, i1* @print_words, align 1
%146 = zext i1 %145 to i32, !dbg !1369
%147 = add nuw nsw i32 %146, %144, !dbg !1370
%148 = load i1, i1* @print_chars, align 1
%149 = zext i1 %148 to i32, !dbg !1371
%150 = add nuw nsw i32 %147, %149, !dbg !1372
%151 = load i1, i1* @print_bytes, align 1
%152 = zext i1 %151 to i32, !dbg !1373
%153 = add nuw nsw i32 %150, %152, !dbg !1374
%154 = load i1, i1* @print_linelength, align 1
%155 = zext i1 %154 to i32, !dbg !1375
%156 = add nuw nsw i32 %153, %155, !dbg !1376
%157 = icmp eq i32 %156, 1, !dbg !1377
br i1 %157, label %158, label %141, !dbg !1378
; <label>:158: ; preds = %142, %137
%159 = bitcast i8* %139 to i32*, !dbg !1379
store i32 1, i32* %159, align 8, !dbg !1380, !tbaa !1381
br label %179, !dbg !1383
; <label>:160: ; preds = %141, %174
%161 = phi i64 [ %177, %174 ], [ 0, %141 ]
call void @llvm.dbg.value(metadata i64 %161, metadata !1340, metadata !DIExpression()) #13, !dbg !1384
%162 = getelementptr inbounds i8*, i8** %126, i64 %161, !dbg !1366
%163 = load i8*, i8** %162, align 8, !dbg !1366, !tbaa !1147
%164 = icmp eq i8* %163, null, !dbg !1366
br i1 %164, label %168, label %165, !dbg !1385
; <label>:165: ; preds = %160
%166 = call i32 @strcmp(i8* nonnull %163, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0)) #15, !dbg !1386
%167 = icmp eq i32 %166, 0, !dbg !1386
br i1 %167, label %168, label %171, !dbg !1387
; <label>:168: ; preds = %165, %160
%169 = getelementptr inbounds %struct.fstatus, %struct.fstatus* %140, i64 %161, i32 1, !dbg !1388
call void @llvm.dbg.value(metadata i32 0, metadata !1271, metadata !DIExpression()) #13, !dbg !1389
call void @llvm.dbg.value(metadata %struct.stat* %169, metadata !1278, metadata !DIExpression()) #13, !dbg !1389
%170 = call i32 @__fxstat(i32 1, i32 0, %struct.stat* nonnull %169) #13, !dbg !1391
br label %174, !dbg !1387
; <label>:171: ; preds = %165
%172 = getelementptr inbounds %struct.fstatus, %struct.fstatus* %140, i64 %161, i32 1, !dbg !1392
call void @llvm.dbg.value(metadata i8* %163, metadata !1393, metadata !DIExpression()) #13, !dbg !1399
call void @llvm.dbg.value(metadata %struct.stat* %172, metadata !1398, metadata !DIExpression()) #13, !dbg !1399
%173 = call i32 @__xstat(i32 1, i8* nonnull %163, %struct.stat* nonnull %172) #13, !dbg !1401
br label %174, !dbg !1387
; <label>:174: ; preds = %171, %168
%175 = phi i32 [ %170, %168 ], [ %173, %171 ], !dbg !1387
%176 = getelementptr inbounds %struct.fstatus, %struct.fstatus* %140, i64 %161, i32 0, !dbg !1402
store i32 %175, i32* %176, align 8, !dbg !1403, !tbaa !1381
%177 = add nuw i64 %161, 1, !dbg !1404
call void @llvm.dbg.value(metadata i64 %177, metadata !1340, metadata !DIExpression()) #13, !dbg !1384
%178 = icmp eq i64 %177, %127, !dbg !1405
br i1 %178, label %179, label %160, !dbg !1406, !llvm.loop !1407
; <label>:179: ; preds = %174, %158
call void @llvm.dbg.value(metadata %struct.fstatus* %140, metadata !77, metadata !DIExpression()), !dbg !1410
call void @llvm.dbg.value(metadata i64 %127, metadata !1411, metadata !DIExpression()), !dbg !1426
call void @llvm.dbg.value(metadata %struct.fstatus* %140, metadata !1418, metadata !DIExpression()), !dbg !1428
call void @llvm.dbg.value(metadata i32 1, metadata !1419, metadata !DIExpression()), !dbg !1429
br i1 %133, label %219, label %180, !dbg !1430
; <label>:180: ; preds = %179
%181 = bitcast i8* %139 to i32*, !dbg !1431
%182 = load i32, i32* %181, align 8, !dbg !1431, !tbaa !1381
%183 = icmp slt i32 %182, 1, !dbg !1432
br i1 %183, label %186, label %219, !dbg !1433
; <label>:184: ; preds = %201
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 1, metadata !1419, metadata !DIExpression()), !dbg !1429
%185 = icmp ugt i64 %203, 9, !dbg !1436
br i1 %185, label %209, label %215, !dbg !1439
; <label>:186: ; preds = %180, %206
%187 = phi i32 [ %208, %206 ], [ %182, %180 ], !dbg !1440
%188 = phi i64 [ %204, %206 ], [ 0, %180 ]
%189 = phi i64 [ %203, %206 ], [ 0, %180 ]
%190 = phi i32 [ %202, %206 ], [ 1, %180 ]
call void @llvm.dbg.value(metadata i64 %188, metadata !1424, metadata !DIExpression()), !dbg !1443
call void @llvm.dbg.value(metadata i64 %189, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %190, metadata !1420, metadata !DIExpression()), !dbg !1434
%191 = icmp eq i32 %187, 0, !dbg !1444
br i1 %191, label %192, label %201, !dbg !1445
; <label>:192: ; preds = %186
%193 = getelementptr inbounds %struct.fstatus, %struct.fstatus* %140, i64 %188, i32 1, i32 3, !dbg !1446
%194 = load i32, i32* %193, align 8, !dbg !1446, !tbaa !1449
%195 = and i32 %194, 61440, !dbg !1446
%196 = icmp eq i32 %195, 32768, !dbg !1446
br i1 %196, label %197, label %201, !dbg !1450
; <label>:197: ; preds = %192
%198 = getelementptr inbounds %struct.fstatus, %struct.fstatus* %140, i64 %188, i32 1, i32 8, !dbg !1451
%199 = load i64, i64* %198, align 8, !dbg !1451, !tbaa !1452
%200 = add i64 %199, %189, !dbg !1453
call void @llvm.dbg.value(metadata i64 %200, metadata !1423, metadata !DIExpression()), !dbg !1435
br label %201, !dbg !1454
; <label>:201: ; preds = %197, %192, %186
%202 = phi i32 [ %190, %186 ], [ %190, %197 ], [ 7, %192 ], !dbg !1455
%203 = phi i64 [ %189, %186 ], [ %200, %197 ], [ %189, %192 ], !dbg !1456
%204 = add nuw i64 %188, 1, !dbg !1457
call void @llvm.dbg.value(metadata i64 %204, metadata !1424, metadata !DIExpression()), !dbg !1443
call void @llvm.dbg.value(metadata i64 %203, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %202, metadata !1420, metadata !DIExpression()), !dbg !1434
%205 = icmp eq i64 %204, %127, !dbg !1458
br i1 %205, label %184, label %206, !dbg !1459, !llvm.loop !1460
; <label>:206: ; preds = %201
%207 = getelementptr inbounds %struct.fstatus, %struct.fstatus* %140, i64 %204, i32 0
%208 = load i32, i32* %207, align 8, !dbg !1440, !tbaa !1381
br label %186, !dbg !1459
; <label>:209: ; preds = %184, %209
%210 = phi i64 [ %213, %209 ], [ %203, %184 ]
%211 = phi i32 [ %212, %209 ], [ 1, %184 ]
call void @llvm.dbg.value(metadata i64 %210, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %211, metadata !1419, metadata !DIExpression()), !dbg !1429
%212 = add nuw nsw i32 %211, 1, !dbg !1463
%213 = udiv i64 %210, 10, !dbg !1464
call void @llvm.dbg.value(metadata i64 %213, metadata !1423, metadata !DIExpression()), !dbg !1435
call void @llvm.dbg.value(metadata i32 %212, metadata !1419, metadata !DIExpression()), !dbg !1429
%214 = icmp ugt i64 %210, 99, !dbg !1436
br i1 %214, label %209, label %215, !dbg !1439, !llvm.loop !1465
; <label>:215: ; preds = %209, %184
%216 = phi i32 [ 1, %184 ], [ %212, %209 ], !dbg !1468
call void @llvm.dbg.value(metadata i32 %216, metadata !1419, metadata !DIExpression()), !dbg !1429
%217 = icmp slt i32 %216, %202, !dbg !1469
%218 = select i1 %217, i32 %202, i32 %216, !dbg !1471
call void @llvm.dbg.value(metadata i32 %218, metadata !1419, metadata !DIExpression()), !dbg !1429
br label %219, !dbg !1472
; <label>:219: ; preds = %179, %180, %215
%220 = phi i32 [ %218, %215 ], [ 1, %180 ], [ 1, %179 ], !dbg !1473
call void @llvm.dbg.value(metadata i32 %220, metadata !1419, metadata !DIExpression()), !dbg !1429
store i32 %220, i32* @number_width, align 4, !dbg !1474, !tbaa !1243
call void @llvm.dbg.value(metadata i8 1, metadata !71, metadata !DIExpression()), !dbg !1475
call void @llvm.dbg.value(metadata i32 0, metadata !242, metadata !DIExpression()), !dbg !1476
call void @llvm.dbg.value(metadata i8 0, metadata !244, metadata !DIExpression()), !dbg !1477
%221 = bitcast i32* %5 to i8*, !dbg !1478
call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %221) #13, !dbg !1478
call void @llvm.dbg.value(metadata i32* %5, metadata !247, metadata !DIExpression(DW_OP_deref)), !dbg !1479
%222 = call i8* @argv_iter(%struct.argv_iterator* nonnull %129, i32* nonnull %5) #13, !dbg !1480
call void @llvm.dbg.value(metadata i8* %222, metadata !248, metadata !DIExpression()), !dbg !1481
%223 = icmp eq i8* %222, null, !dbg !1482
br i1 %223, label %227, label %224, !dbg !1484
; <label>:224: ; preds = %219
%225 = icmp eq i8* %17, null
%226 = bitcast i8* %139 to i32*
br label %237, !dbg !1484
; <label>:227: ; preds = %291, %219
%228 = phi i8 [ 1, %219 ], [ %289, %291 ], !dbg !1485
call void @llvm.dbg.value(metadata i8 %228, metadata !71, metadata !DIExpression()), !dbg !1475
%229 = load i32, i32* %5, align 4, !dbg !1487, !tbaa !1489
call void @llvm.dbg.value(metadata i32 %229, metadata !247, metadata !DIExpression()), !dbg !1479
switch i32 %229, label %236 [
i32 2, label %295
i32 4, label %230
i32 3, label %235
], !dbg !1490
; <label>:230: ; preds = %227
%231 = tail call i32* @__errno_location() #17, !dbg !1491
%232 = load i32, i32* %231, align 4, !dbg !1491, !tbaa !1243
%233 = call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.22, i64 0, i64 0), i32 5) #13, !dbg !1493
%234 = call i8* @quotearg_n_style_colon(i32 0, i32 3, i8* %17) #13, !dbg !1494
call void (i32, i32, i8*, ...) @error(i32 0, i32 %232, i8* %233, i8* %234) #13, !dbg !1495
call void @llvm.dbg.value(metadata i8 0, metadata !71, metadata !DIExpression()), !dbg !1475
call void @llvm.dbg.value(metadata i8 undef, metadata !71, metadata !DIExpression()), !dbg !1475
call void @llvm.lifetime.end.p0i8(i64 4, i8* nonnull %221) #13, !dbg !1496
br label %306, !dbg !1497
; <label>:235: ; preds = %227
call void @xalloc_die() #16, !dbg !1499
unreachable, !dbg !1499
; <label>:236: ; preds = %227
call void @__assert_fail(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32 810, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @__PRETTY_FUNCTION__.main, i64 0, i64 0)) #16, !dbg !1500
unreachable, !dbg !1500
; <label>:237: ; preds = %224, %291
%238 = phi i64 [ 0, %224 ], [ %292, %291 ]
%239 = phi i8* [ %222, %224 ], [ %293, %291 ]
%240 = phi i8 [ 1, %224 ], [ %289, %291 ]
call void @llvm.dbg.value(metadata i8 %240, metadata !71, metadata !DIExpression()), !dbg !1475
call void @llvm.dbg.value(metadata i64 %238, metadata !242, metadata !DIExpression()), !dbg !1476
br i1 %45, label %241, label %250, !dbg !1503
; <label>:241: ; preds = %237
%242 = call i32 @strcmp(i8* nonnull %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0)) #15, !dbg !1505
%243 = icmp eq i32 %242, 0, !dbg !1505
br i1 %243, label %244, label %250, !dbg !1506
; <label>:244: ; preds = %241
%245 = call i32 @strcmp(i8* nonnull %239, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0)) #15, !dbg !1507
%246 = icmp eq i32 %245, 0, !dbg !1507
br i1 %246, label %247, label %250, !dbg !1508
; <label>:247: ; preds = %244
%248 = call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.25, i64 0, i64 0), i32 5) #13, !dbg !1509
%249 = call i8* @quotearg_style(i32 4, i8* nonnull %239) #13, !dbg !1511
call void (i32, i32, i8*, ...) @error(i32 0, i32 0, i8* %248, i8* %249) #13, !dbg !1512
call void @llvm.dbg.value(metadata i8 1, metadata !244, metadata !DIExpression()), !dbg !1477
br label %250, !dbg !1513
; <label>:250: ; preds = %247, %244, %241, %237
%251 = phi i1 [ true, %247 ], [ false, %244 ], [ false, %241 ], [ false, %237 ], !dbg !1514
%252 = load i8, i8* %239, align 1, !dbg !1515, !tbaa !1489
%253 = icmp eq i8 %252, 0, !dbg !1515
br i1 %253, label %254, label %261, !dbg !1516
; <label>:254: ; preds = %250
br i1 %225, label %255, label %257, !dbg !1517
; <label>:255: ; preds = %254
%256 = call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.27, i64 0, i64 0), i32 5) #13, !dbg !1518
call void (i32, i32, i8*, ...) @error(i32 0, i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.26, i64 0, i64 0), i8* %256) #13, !dbg !1519
br label %288
; <label>:257: ; preds = %254
%258 = call i64 @argv_iter_n_args(%struct.argv_iterator* nonnull %129) #15, !dbg !1520
call void @llvm.dbg.value(metadata i64 %258, metadata !249, metadata !DIExpression()), !dbg !1521
%259 = call i8* @quotearg_n_style_colon(i32 0, i32 3, i8* nonnull %17) #13, !dbg !1522
%260 = call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.27, i64 0, i64 0), i32 5) #13, !dbg !1523
call void (i32, i32, i8*, ...) @error(i32 0, i32 0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.28, i64 0, i64 0), i8* %259, i64 %258, i8* %260) #13, !dbg !1524
br label %288
; <label>:261: ; preds = %250
br i1 %251, label %288, label %262, !dbg !1525
; <label>:262: ; preds = %261
%263 = select i1 %133, i64 0, i64 %238, !dbg !1526
%264 = getelementptr inbounds %struct.fstatus, %struct.fstatus* %140, i64 %263, !dbg !1526
call void @llvm.dbg.value(metadata i8* %239, metadata !1527, metadata !DIExpression()) #13, !dbg !1539
call void @llvm.dbg.value(metadata %struct.fstatus* %264, metadata !1532, metadata !DIExpression()) #13, !dbg !1541
%265 = call i32 @strcmp(i8* nonnull %239, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0)) #15, !dbg !1542
%266 = icmp eq i32 %265, 0, !dbg !1542
br i1 %266, label %267, label %269, !dbg !1543
; <label>:267: ; preds = %262
store i1 true, i1* @have_read_stdin, align 1
%268 = call fastcc zeroext i1 @wc(i32 0, i8* nonnull %239, %struct.fstatus* %264, i64 -1) #13, !dbg !1544
br label %284, !dbg !1546
; <label>:269: ; preds = %262
%270 = call i32 (i8*, i32, ...) @open(i8* nonnull %239, i32 0) #13, !dbg !1547
call void @llvm.dbg.value(metadata i32 %270, metadata !1533, metadata !DIExpression()) #13, !dbg !1548
%271 = icmp eq i32 %270, -1, !dbg !1549
br i1 %271, label %272, label %276, !dbg !1550
; <label>:272: ; preds = %269
%273 = tail call i32* @__errno_location() #17, !dbg !1551
%274 = load i32, i32* %273, align 4, !dbg !1551, !tbaa !1243
%275 = call i8* @quotearg_n_style_colon(i32 0, i32 3, i8* nonnull %239) #13, !dbg !1553
call void (i32, i32, i8*, ...) @error(i32 0, i32 %274, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.26, i64 0, i64 0), i8* %275) #13, !dbg !1554
br label %284, !dbg !1555
; <label>:276: ; preds = %269
%277 = call fastcc zeroext i1 @wc(i32 %270, i8* nonnull %239, %struct.fstatus* %264, i64 0) #13, !dbg !1556
%278 = call i32 @close(i32 %270) #13, !dbg !1557
%279 = icmp eq i32 %278, 0, !dbg !1559
br i1 %279, label %284, label %280, !dbg !1560
; <label>:280: ; preds = %276
%281 = tail call i32* @__errno_location() #17, !dbg !1561
%282 = load i32, i32* %281, align 4, !dbg !1561, !tbaa !1243
%283 = call i8* @quotearg_n_style_colon(i32 0, i32 3, i8* nonnull %239) #13, !dbg !1563
call void (i32, i32, i8*, ...) @error(i32 0, i32 %282, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.26, i64 0, i64 0), i8* %283) #13, !dbg !1564
br label %284, !dbg !1565
; <label>:284: ; preds = %267, %272, %276, %280
%285 = phi i1 [ %268, %267 ], [ false, %272 ], [ false, %280 ], [ %277, %276 ], !dbg !1566
%286 = zext i1 %285 to i8, !dbg !1567
%287 = and i8 %240, %286, !dbg !1568
call void @llvm.dbg.value(metadata i8 %287, metadata !71, metadata !DIExpression()), !dbg !1475
br label %288
; <label>:288: ; preds = %261, %257, %255, %284
%289 = phi i8 [ %287, %284 ], [ 0, %255 ], [ 0, %257 ], [ 0, %261 ], !dbg !1485
br i1 %133, label %290, label %291, !dbg !1569
; <label>:290: ; preds = %288
store i32 1, i32* %226, align 8, !dbg !1570, !tbaa !1381
br label %291, !dbg !1572
; <label>:291: ; preds = %288, %290
call void @llvm.dbg.value(metadata i8 undef, metadata !71, metadata !DIExpression()), !dbg !1475
call void @llvm.lifetime.end.p0i8(i64 4, i8* nonnull %221) #13, !dbg !1496
%292 = add nuw i64 %238, 1, !dbg !1573
call void @llvm.dbg.value(metadata i8 %289, metadata !71, metadata !DIExpression()), !dbg !1475
call void @llvm.dbg.value(metadata i32 undef, metadata !242, metadata !DIExpression(DW_OP_plus_uconst, 1, DW_OP_stack_value)), !dbg !1476
call void @llvm.dbg.value(metadata i8 0, metadata !244, metadata !DIExpression()), !dbg !1477
call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %221) #13, !dbg !1478
call void @llvm.dbg.value(metadata i32* %5, metadata !247, metadata !DIExpression(DW_OP_deref)), !dbg !1479
%293 = call i8* @argv_iter(%struct.argv_iterator* nonnull %129, i32* nonnull %5) #13, !dbg !1480
call void @llvm.dbg.value(metadata i8* %293, metadata !248, metadata !DIExpression()), !dbg !1481
%294 = icmp eq i8* %293, null, !dbg !1482
br i1 %294, label %227, label %237, !dbg !1484, !llvm.loop !1574
; <label>:295: ; preds = %227
call void @llvm.dbg.value(metadata i8 undef, metadata !71, metadata !DIExpression()), !dbg !1475
call void @llvm.lifetime.end.p0i8(i64 4, i8* nonnull %221) #13, !dbg !1496
%296 = and i8 %228, 1, !dbg !1577
%297 = icmp eq i8 %296, 0, !dbg !1577
%298 = or i1 %45, %297, !dbg !1497
br i1 %298, label %306, label %299, !dbg !1497
; <label>:299: ; preds = %295
%300 = call i64 @argv_iter_n_args(%struct.argv_iterator* nonnull %129) #15, !dbg !1578
%301 = icmp eq i64 %300, 0, !dbg !1579
br i1 %301, label %302, label %306, !dbg !1580
; <label>:302: ; preds = %299
call void @llvm.dbg.value(metadata i8* null, metadata !1527, metadata !DIExpression()) #13, !dbg !1581
call void @llvm.dbg.value(metadata %struct.fstatus* %140, metadata !1532, metadata !DIExpression()) #13, !dbg !1583
store i1 true, i1* @have_read_stdin, align 1
%303 = call fastcc zeroext i1 @wc(i32 0, i8* null, %struct.fstatus* %140, i64 -1) #13, !dbg !1584
%304 = zext i1 %303 to i8, !dbg !1585
%305 = and i8 %228, %304, !dbg !1586
call void @llvm.dbg.value(metadata i8 %305, metadata !71, metadata !DIExpression()), !dbg !1475
br label %306, !dbg !1587
; <label>:306: ; preds = %230, %295, %302, %299
%307 = phi i8 [ %228, %295 ], [ %305, %302 ], [ %228, %299 ], [ 0, %230 ], !dbg !1485
call void @llvm.dbg.value(metadata i8 %307, metadata !71, metadata !DIExpression()), !dbg !1475
br i1 %128, label %308, label %309, !dbg !1588
; <label>:308: ; preds = %306
call void @llvm.dbg.value(metadata %struct.Tokens* %3, metadata !122, metadata !DIExpression(DW_OP_deref)), !dbg !1295
call void @readtokens0_free(%struct.Tokens* nonnull %3) #13, !dbg !1589
br label %309, !dbg !1589
; <label>:309: ; preds = %308, %306
%310 = call i64 @argv_iter_n_args(%struct.argv_iterator* nonnull %129) #15, !dbg !1591
%311 = icmp ugt i64 %310, 1, !dbg !1593
br i1 %311, label %312, label %319, !dbg !1594
; <label>:312: ; preds = %309
%313 = load i64, i64* @total_lines, align 8, !dbg !1595, !tbaa !1207
%314 = load i64, i64* @total_words, align 8, !dbg !1596, !tbaa !1207
%315 = load i64, i64* @total_chars, align 8, !dbg !1597, !tbaa !1207
%316 = load i64, i64* @total_bytes, align 8, !dbg !1598, !tbaa !1207