a.smali
16.9 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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
.class public final Lcom/alipay/sdk/encrypt/a;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static final a:I = 0x80
.field private static final b:I = 0x40
.field private static final c:I = 0x18
.field private static final d:I = 0x8
.field private static final e:I = 0x10
.field private static final f:I = 0x4
.field private static final g:I = -0x80
.field private static final h:C = '='
.field private static final i:[B
.field private static final j:[C
# direct methods
.method static constructor <clinit>()V
.registers 9
.prologue
const/16 v8, 0x3f
const/16 v7, 0x3e
const/16 v6, 0x2f
const/16 v5, 0x2b
const/4 v0, 0x0
.line 19
const/16 v1, 0x80
new-array v1, v1, [B
sput-object v1, Lcom/alipay/sdk/encrypt/a;->i:[B
.line 20
const/16 v1, 0x40
new-array v1, v1, [C
sput-object v1, Lcom/alipay/sdk/encrypt/a;->j:[C
move v1, v0
.line 23
:goto_16
const/16 v2, 0x80
if-ge v1, v2, :cond_22
.line 24
sget-object v2, Lcom/alipay/sdk/encrypt/a;->i:[B
const/4 v3, -0x1
aput-byte v3, v2, v1
.line 23
add-int/lit8 v1, v1, 0x1
goto :goto_16
.line 26
:cond_22
const/16 v1, 0x5a
:goto_24
const/16 v2, 0x41
if-lt v1, v2, :cond_32
.line 27
sget-object v2, Lcom/alipay/sdk/encrypt/a;->i:[B
add-int/lit8 v3, v1, -0x41
int-to-byte v3, v3
aput-byte v3, v2, v1
.line 26
add-int/lit8 v1, v1, -0x1
goto :goto_24
.line 29
:cond_32
const/16 v1, 0x7a
:goto_34
const/16 v2, 0x61
if-lt v1, v2, :cond_44
.line 30
sget-object v2, Lcom/alipay/sdk/encrypt/a;->i:[B
add-int/lit8 v3, v1, -0x61
add-int/lit8 v3, v3, 0x1a
int-to-byte v3, v3
aput-byte v3, v2, v1
.line 29
add-int/lit8 v1, v1, -0x1
goto :goto_34
.line 33
:cond_44
const/16 v1, 0x39
:goto_46
const/16 v2, 0x30
if-lt v1, v2, :cond_56
.line 34
sget-object v2, Lcom/alipay/sdk/encrypt/a;->i:[B
add-int/lit8 v3, v1, -0x30
add-int/lit8 v3, v3, 0x34
int-to-byte v3, v3
aput-byte v3, v2, v1
.line 33
add-int/lit8 v1, v1, -0x1
goto :goto_46
.line 37
:cond_56
sget-object v1, Lcom/alipay/sdk/encrypt/a;->i:[B
aput-byte v7, v1, v5
.line 38
sget-object v1, Lcom/alipay/sdk/encrypt/a;->i:[B
aput-byte v8, v1, v6
move v1, v0
.line 40
:goto_5f
const/16 v2, 0x19
if-gt v1, v2, :cond_6d
.line 41
sget-object v2, Lcom/alipay/sdk/encrypt/a;->j:[C
add-int/lit8 v3, v1, 0x41
int-to-char v3, v3
aput-char v3, v2, v1
.line 40
add-int/lit8 v1, v1, 0x1
goto :goto_5f
.line 44
:cond_6d
const/16 v2, 0x1a
move v1, v0
:goto_70
const/16 v3, 0x33
if-gt v2, v3, :cond_80
.line 45
sget-object v3, Lcom/alipay/sdk/encrypt/a;->j:[C
add-int/lit8 v4, v1, 0x61
int-to-char v4, v4
aput-char v4, v3, v2
.line 44
add-int/lit8 v2, v2, 0x1
add-int/lit8 v1, v1, 0x1
goto :goto_70
.line 48
:cond_80
const/16 v1, 0x34
:goto_82
const/16 v2, 0x3d
if-gt v1, v2, :cond_92
.line 49
sget-object v2, Lcom/alipay/sdk/encrypt/a;->j:[C
add-int/lit8 v3, v0, 0x30
int-to-char v3, v3
aput-char v3, v2, v1
.line 48
add-int/lit8 v1, v1, 0x1
add-int/lit8 v0, v0, 0x1
goto :goto_82
.line 51
:cond_92
sget-object v0, Lcom/alipay/sdk/encrypt/a;->j:[C
aput-char v5, v0, v7
.line 52
sget-object v0, Lcom/alipay/sdk/encrypt/a;->j:[C
aput-char v6, v0, v8
.line 54
return-void
.end method
.method public constructor <init>()V
.registers 1
.prologue
.line 9
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static a([C)I
.registers 6
.prologue
const/4 v0, 0x0
.line 261
if-nez p0, :cond_5
move v1, v0
.line 273
:cond_4
return v1
.line 267
:cond_5
array-length v3, p0
move v2, v0
move v1, v0
.line 268
:goto_8
if-ge v2, v3, :cond_4
.line 269
aget-char v0, p0, v2
invoke-static {v0}, Lcom/alipay/sdk/encrypt/a;->a(C)Z
move-result v0
if-nez v0, :cond_1c
.line 270
add-int/lit8 v0, v1, 0x1
aget-char v4, p0, v2
aput-char v4, p0, v1
.line 268
:goto_18
add-int/lit8 v2, v2, 0x1
move v1, v0
goto :goto_8
:cond_1c
move v0, v1
goto :goto_18
.end method
.method public static a([B)Ljava/lang/String;
.registers 16
.prologue
const/16 v14, 0x3d
const/4 v2, 0x0
.line 77
if-nez p0, :cond_7
.line 78
const/4 v0, 0x0
.line 149
:goto_6
return-object v0
.line 81
:cond_7
array-length v0, p0
mul-int/lit8 v0, v0, 0x8
.line 82
if-nez v0, :cond_f
.line 83
const-string v0, ""
goto :goto_6
.line 86
:cond_f
rem-int/lit8 v7, v0, 0x18
.line 87
div-int/lit8 v1, v0, 0x18
.line 88
if-eqz v7, :cond_77
add-int/lit8 v0, v1, 0x1
.line 92
:goto_17
mul-int/lit8 v0, v0, 0x4
new-array v8, v0, [C
move v4, v2
move v3, v2
move v6, v2
.line 99
:goto_1e
if-ge v4, v1, :cond_8d
.line 100
add-int/lit8 v0, v3, 0x1
aget-byte v2, p0, v3
.line 101
add-int/lit8 v3, v0, 0x1
aget-byte v9, p0, v0
.line 102
add-int/lit8 v5, v3, 0x1
aget-byte v10, p0, v3
.line 105
and-int/lit8 v0, v9, 0xf
int-to-byte v11, v0
.line 106
and-int/lit8 v0, v2, 0x3
int-to-byte v12, v0
.line 108
and-int/lit8 v0, v2, -0x80
if-nez v0, :cond_79
shr-int/lit8 v0, v2, 0x2
int-to-byte v0, v0
move v3, v0
.line 110
:goto_3a
and-int/lit8 v0, v9, -0x80
if-nez v0, :cond_80
shr-int/lit8 v0, v9, 0x4
int-to-byte v0, v0
move v2, v0
.line 112
:goto_42
and-int/lit8 v0, v10, -0x80
if-nez v0, :cond_87
shr-int/lit8 v0, v10, 0x6
int-to-byte v0, v0
.line 116
:goto_49
add-int/lit8 v9, v6, 0x1
sget-object v13, Lcom/alipay/sdk/encrypt/a;->j:[C
aget-char v3, v13, v3
aput-char v3, v8, v6
.line 117
add-int/lit8 v3, v9, 0x1
sget-object v6, Lcom/alipay/sdk/encrypt/a;->j:[C
shl-int/lit8 v12, v12, 0x4
or-int/2addr v2, v12
aget-char v2, v6, v2
aput-char v2, v8, v9
.line 118
add-int/lit8 v6, v3, 0x1
sget-object v2, Lcom/alipay/sdk/encrypt/a;->j:[C
shl-int/lit8 v9, v11, 0x2
or-int/2addr v0, v9
aget-char v0, v2, v0
aput-char v0, v8, v3
.line 119
add-int/lit8 v2, v6, 0x1
sget-object v0, Lcom/alipay/sdk/encrypt/a;->j:[C
and-int/lit8 v3, v10, 0x3f
aget-char v0, v0, v3
aput-char v0, v8, v6
.line 99
add-int/lit8 v0, v4, 0x1
move v4, v0
move v3, v5
move v6, v2
goto :goto_1e
:cond_77
move v0, v1
.line 88
goto :goto_17
.line 108
:cond_79
shr-int/lit8 v0, v2, 0x2
xor-int/lit16 v0, v0, 0xc0
int-to-byte v0, v0
move v3, v0
goto :goto_3a
.line 110
:cond_80
shr-int/lit8 v0, v9, 0x4
xor-int/lit16 v0, v0, 0xf0
int-to-byte v0, v0
move v2, v0
goto :goto_42
.line 112
:cond_87
shr-int/lit8 v0, v10, 0x6
xor-int/lit16 v0, v0, 0xfc
int-to-byte v0, v0
goto :goto_49
.line 123
:cond_8d
const/16 v0, 0x8
if-ne v7, v0, :cond_c4
.line 124
aget-byte v0, p0, v3
.line 125
and-int/lit8 v1, v0, 0x3
int-to-byte v1, v1
.line 126
and-int/lit8 v2, v0, -0x80
if-nez v2, :cond_be
shr-int/lit8 v0, v0, 0x2
int-to-byte v0, v0
.line 128
:goto_9d
add-int/lit8 v2, v6, 0x1
sget-object v3, Lcom/alipay/sdk/encrypt/a;->j:[C
aget-char v0, v3, v0
aput-char v0, v8, v6
.line 129
add-int/lit8 v0, v2, 0x1
sget-object v3, Lcom/alipay/sdk/encrypt/a;->j:[C
shl-int/lit8 v1, v1, 0x4
aget-char v1, v3, v1
aput-char v1, v8, v2
.line 130
add-int/lit8 v1, v0, 0x1
aput-char v14, v8, v0
.line 131
add-int/lit8 v0, v1, 0x1
aput-char v14, v8, v1
.line 149
:cond_b7
:goto_b7
new-instance v0, Ljava/lang/String;
invoke-direct {v0, v8}, Ljava/lang/String;-><init>([C)V
goto/16 :goto_6
.line 126
:cond_be
shr-int/lit8 v0, v0, 0x2
xor-int/lit16 v0, v0, 0xc0
int-to-byte v0, v0
goto :goto_9d
.line 132
:cond_c4
const/16 v0, 0x10
if-ne v7, v0, :cond_b7
.line 133
aget-byte v0, p0, v3
.line 134
add-int/lit8 v1, v3, 0x1
aget-byte v2, p0, v1
.line 135
and-int/lit8 v1, v2, 0xf
int-to-byte v3, v1
.line 136
and-int/lit8 v1, v0, 0x3
int-to-byte v4, v1
.line 138
and-int/lit8 v1, v0, -0x80
if-nez v1, :cond_105
shr-int/lit8 v0, v0, 0x2
int-to-byte v0, v0
move v1, v0
.line 140
:goto_dc
and-int/lit8 v0, v2, -0x80
if-nez v0, :cond_10c
shr-int/lit8 v0, v2, 0x4
int-to-byte v0, v0
.line 143
:goto_e3
add-int/lit8 v2, v6, 0x1
sget-object v5, Lcom/alipay/sdk/encrypt/a;->j:[C
aget-char v1, v5, v1
aput-char v1, v8, v6
.line 144
add-int/lit8 v1, v2, 0x1
sget-object v5, Lcom/alipay/sdk/encrypt/a;->j:[C
shl-int/lit8 v4, v4, 0x4
or-int/2addr v0, v4
aget-char v0, v5, v0
aput-char v0, v8, v2
.line 145
add-int/lit8 v0, v1, 0x1
sget-object v2, Lcom/alipay/sdk/encrypt/a;->j:[C
shl-int/lit8 v3, v3, 0x2
aget-char v2, v2, v3
aput-char v2, v8, v1
.line 146
add-int/lit8 v1, v0, 0x1
aput-char v14, v8, v0
goto :goto_b7
.line 138
:cond_105
shr-int/lit8 v0, v0, 0x2
xor-int/lit16 v0, v0, 0xc0
int-to-byte v0, v0
move v1, v0
goto :goto_dc
.line 140
:cond_10c
shr-int/lit8 v0, v2, 0x4
xor-int/lit16 v0, v0, 0xf0
int-to-byte v0, v0
goto :goto_e3
.end method
.method private static a(C)Z
.registers 2
.prologue
.line 57
const/16 v0, 0x20
if-eq p0, v0, :cond_10
const/16 v0, 0xd
if-eq p0, v0, :cond_10
const/16 v0, 0xa
if-eq p0, v0, :cond_10
const/16 v0, 0x9
if-ne p0, v0, :cond_12
:cond_10
const/4 v0, 0x1
:goto_11
return v0
:cond_12
const/4 v0, 0x0
goto :goto_11
.end method
.method public static a(Ljava/lang/String;)[B
.registers 15
.prologue
const/4 v0, 0x0
const/4 v3, 0x0
.line 161
if-nez p0, :cond_5
.line 250
:cond_4
:goto_4
return-object v0
.line 165
:cond_5
invoke-virtual {p0}, Ljava/lang/String;->toCharArray()[C
move-result-object v6
.line 167
invoke-static {v6}, Lcom/alipay/sdk/encrypt/a;->a([C)I
move-result v1
.line 169
rem-int/lit8 v2, v1, 0x4
if-nez v2, :cond_4
.line 173
div-int/lit8 v7, v1, 0x4
.line 175
if-nez v7, :cond_18
.line 176
new-array v0, v3, [B
goto :goto_4
.line 186
:cond_18
mul-int/lit8 v1, v7, 0x3
new-array v1, v1, [B
move v2, v3
move v4, v3
move v5, v3
.line 188
:goto_1f
add-int/lit8 v8, v7, -0x1
if-ge v5, v8, :cond_7e
.line 190
add-int/lit8 v8, v2, 0x1
aget-char v9, v6, v2
invoke-static {v9}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v2
if-eqz v2, :cond_4
add-int/lit8 v2, v8, 0x1
aget-char v8, v6, v8
.line 191
invoke-static {v8}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v10
if-eqz v10, :cond_4
add-int/lit8 v10, v2, 0x1
aget-char v11, v6, v2
.line 192
invoke-static {v11}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v2
if-eqz v2, :cond_4
add-int/lit8 v2, v10, 0x1
aget-char v10, v6, v10
.line 193
invoke-static {v10}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v12
if-eqz v12, :cond_4
.line 197
sget-object v12, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v9, v12, v9
.line 198
sget-object v12, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v8, v12, v8
.line 199
sget-object v12, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v11, v12, v11
.line 200
sget-object v12, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v10, v12, v10
.line 202
add-int/lit8 v12, v4, 0x1
shl-int/lit8 v9, v9, 0x2
shr-int/lit8 v13, v8, 0x4
or-int/2addr v9, v13
int-to-byte v9, v9
aput-byte v9, v1, v4
.line 203
add-int/lit8 v9, v12, 0x1
and-int/lit8 v4, v8, 0xf
shl-int/lit8 v4, v4, 0x4
shr-int/lit8 v8, v11, 0x2
and-int/lit8 v8, v8, 0xf
or-int/2addr v4, v8
int-to-byte v4, v4
aput-byte v4, v1, v12
.line 204
add-int/lit8 v4, v9, 0x1
shl-int/lit8 v8, v11, 0x6
or-int/2addr v8, v10
int-to-byte v8, v8
aput-byte v8, v1, v9
.line 188
add-int/lit8 v5, v5, 0x1
goto :goto_1f
.line 207
:cond_7e
add-int/lit8 v7, v2, 0x1
aget-char v2, v6, v2
invoke-static {v2}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v8
if-eqz v8, :cond_4
add-int/lit8 v8, v7, 0x1
aget-char v7, v6, v7
.line 208
invoke-static {v7}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v9
if-eqz v9, :cond_4
.line 212
sget-object v9, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v2, v9, v2
.line 213
sget-object v9, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v7, v9, v7
.line 215
add-int/lit8 v9, v8, 0x1
aget-char v8, v6, v8
.line 216
add-int/lit8 v10, v9, 0x1
aget-char v6, v6, v9
.line 217
invoke-static {v8}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v9
if-eqz v9, :cond_ae
invoke-static {v6}, Lcom/alipay/sdk/encrypt/a;->c(C)Z
move-result v9
if-nez v9, :cond_10a
.line 218
:cond_ae
invoke-static {v8}, Lcom/alipay/sdk/encrypt/a;->b(C)Z
move-result v9
if-eqz v9, :cond_d3
invoke-static {v6}, Lcom/alipay/sdk/encrypt/a;->b(C)Z
move-result v9
if-eqz v9, :cond_d3
.line 219
and-int/lit8 v6, v7, 0xf
if-nez v6, :cond_4
.line 223
mul-int/lit8 v0, v5, 0x3
add-int/lit8 v0, v0, 0x1
new-array v0, v0, [B
.line 224
mul-int/lit8 v5, v5, 0x3
invoke-static {v1, v3, v0, v3, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
.line 225
shl-int/lit8 v1, v2, 0x2
shr-int/lit8 v2, v7, 0x4
or-int/2addr v1, v2
int-to-byte v1, v1
aput-byte v1, v0, v4
goto/16 :goto_4
.line 227
:cond_d3
invoke-static {v8}, Lcom/alipay/sdk/encrypt/a;->b(C)Z
move-result v9
if-nez v9, :cond_4
invoke-static {v6}, Lcom/alipay/sdk/encrypt/a;->b(C)Z
move-result v6
if-eqz v6, :cond_4
.line 228
sget-object v6, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v6, v6, v8
.line 229
and-int/lit8 v8, v6, 0x3
if-nez v8, :cond_4
.line 233
mul-int/lit8 v0, v5, 0x3
add-int/lit8 v0, v0, 0x2
new-array v0, v0, [B
.line 234
mul-int/lit8 v5, v5, 0x3
invoke-static {v1, v3, v0, v3, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
.line 235
add-int/lit8 v1, v4, 0x1
shl-int/lit8 v2, v2, 0x2
shr-int/lit8 v3, v7, 0x4
or-int/2addr v2, v3
int-to-byte v2, v2
aput-byte v2, v0, v4
.line 236
and-int/lit8 v2, v7, 0xf
shl-int/lit8 v2, v2, 0x4
shr-int/lit8 v3, v6, 0x2
and-int/lit8 v3, v3, 0xf
or-int/2addr v2, v3
int-to-byte v2, v2
aput-byte v2, v0, v1
goto/16 :goto_4
.line 242
:cond_10a
sget-object v0, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v0, v0, v8
.line 243
sget-object v3, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v3, v3, v6
.line 244
add-int/lit8 v5, v4, 0x1
shl-int/lit8 v2, v2, 0x2
shr-int/lit8 v6, v7, 0x4
or-int/2addr v2, v6
int-to-byte v2, v2
aput-byte v2, v1, v4
.line 245
add-int/lit8 v2, v5, 0x1
and-int/lit8 v4, v7, 0xf
shl-int/lit8 v4, v4, 0x4
shr-int/lit8 v6, v0, 0x2
and-int/lit8 v6, v6, 0xf
or-int/2addr v4, v6
int-to-byte v4, v4
aput-byte v4, v1, v5
.line 246
add-int/lit8 v4, v2, 0x1
shl-int/lit8 v0, v0, 0x6
or-int/2addr v0, v3
int-to-byte v0, v0
aput-byte v0, v1, v2
move-object v0, v1
.line 250
goto/16 :goto_4
.end method
.method private static b(C)Z
.registers 2
.prologue
.line 61
const/16 v0, 0x3d
if-ne p0, v0, :cond_6
const/4 v0, 0x1
:goto_5
return v0
:cond_6
const/4 v0, 0x0
goto :goto_5
.end method
.method private static c(C)Z
.registers 3
.prologue
.line 65
const/16 v0, 0x80
if-ge p0, v0, :cond_d
sget-object v0, Lcom/alipay/sdk/encrypt/a;->i:[B
aget-byte v0, v0, p0
const/4 v1, -0x1
if-eq v0, v1, :cond_d
const/4 v0, 0x1
:goto_c
return v0
:cond_d
const/4 v0, 0x0
goto :goto_c
.end method