6 .section __libc_freeres_ptrs, "aw", %nobits
8 .section .rodata.str1.1,"aMS",@progbits,1
15 .section .rodata.str1.8,"aMS",@progbits,1
18 .string "/root/wip/nyanglibc/fork/time/tzfile.c"
19 .section .rodata.str1.1
21 .string "tzspec_len > 0"
23 .string "num_types == 1"
31 .type __tzfile_read, @function
43 movl __use_tzfile
(%rip
), %r13d
45 movl $
0, __use_tzfile
(%rip
)
55 movq transitions
(%rip
), %rdi
57 movq $
0, transitions
(%rip
)
70 movq __libc_enable_secure@GOTPCREL
(%rip
), %rdx
87 call _IO_new_fopen@PLT
99 movq transitions
(%rip
), %rdi
103 movq $
0, transitions
(%rip
)
105 movq
%rax
, tzfile_dev
(%rip
)
107 movq
%rax
, tzfile_ino
(%rip
)
110 movq
%rax
, tzfile_mtime
(%rip
)
118 call __GI___fread_unlocked
121 cmpl $
1718180436, 96(%rsp
)
124 movl
136(%rsp
), %r12d
126 movl
116(%rsp
), %r10d
145 movq
%rcx
, num_transitions
(%rip
)
147 movq
%rax
, num_types
(%rip
)
149 movq
%rdx
, num_leaps
(%rip
)
157 leaq
(%rcx
,%rcx
,4), %rcx
158 leaq
(%rax
,%rax
,2), %rax
163 leaq
(%r10,%rax
,2), %rax
164 leaq
(%rax
,%rdx
,8), %rsi
174 call _IO_new_fclose@PLT
181 movq conf_tzdefault@GOTPCREL
(%rip
), %r12
186 leaq
.LC0(%rip), %rdi
193 movq conf_default_tzdir@GOTPCREL
(%rip
), %rax
196 leaq
.LC1(%rip), %rsi
210 leaq
.LC6(%rip), %rsi
219 movq tzfile_ino
(%rip
), %rax
222 movq tzfile_dev
(%rip
), %rax
225 movq tzfile_mtime
(%rip
), %rax
230 movl $
1, __use_tzfile
(%rip
)
243 leaq
(%rax
,%rdx
,2), %rdx
248 leaq
(%rax
,%rdx
,8), %r14
252 movq
%rax
, transitions
(%rip
)
267 call __GI___libc_alloc_buffer_alloc_array
268 movq num_leaps
(%rip
), %rcx
272 call __GI___libc_alloc_buffer_alloc_array
273 movq num_types
(%rip
), %rcx
277 movq
%rax
, leaps
(%rip
)
278 call __GI___libc_alloc_buffer_alloc_array
279 movq num_transitions
(%rip
), %rcx
283 movq
%rax
, types
(%rip
)
284 call __GI___libc_alloc_buffer_alloc_array
289 movq
%rax
, type_idxs
(%rip
)
290 call __GI___libc_alloc_buffer_alloc_array
292 movq
%rax
, zone_names
(%rip
)
295 movq $
0, tzspec
(%rip
)
302 movslq
16(%rsp
), %rbx
303 movq num_transitions
(%rip
), %rdx
305 movq transitions
(%rip
), %rdi
308 call __GI___fread_unlocked
309 cmpq num_transitions
(%rip
), %rax
311 movq type_idxs
(%rip
), %rdi
315 call __GI___fread_unlocked
316 movq num_transitions
(%rip
), %rdi
320 movq num_types
(%rip
), %rsi
323 movq type_idxs
(%rip
), %rcx
342 movq conf_tzdefault_bytes_n@GOTPCREL
(%rip
), %rax
343 movq conf_tzdefault@GOTPCREL
(%rip
), %rsi
348 movq conf_default_tzdir_bytes_n@GOTPCREL
(%rip
), %rax
349 movq conf_default_tzdir@GOTPCREL
(%rip
), %rsi
357 leaq
.LC6(%rip), %rsi
372 movq num_transitions
(%rip
), %rcx
373 movq num_types
(%rip
), %rax
374 leaq
(%rcx
,%rcx
,8), %rdx
375 leaq
(%rax
,%rax
,2), %rsi
376 leaq
(%rdx
,%rsi
,2), %rdx
381 movq num_leaps
(%rip
), %rdx
382 movabsq $
1537228672809129301, %rsi
385 leaq
(%rdx
,%rdx
,2), %rsi
412 call __GI___libc_alloc_buffer_alloc_array
421 call __GI___libc_alloc_buffer_alloc_array
423 movq
%rax
, tzspec
(%rip
)
428 movq transitions
(%rip
), %rax
429 leaq
(%rax
,%rdi
,8), %rcx
448 call __GI___fread_unlocked
461 movq types
(%rip
), %rcx
462 leaq
0(,%r14,8), %rdx
463 movb
%al
, 4(%rcx
,%rdx
)
474 addq types
(%rip
), %rdx
476 cmpq
%r14, num_types
(%rip
)
484 movq zone_names
(%rip
), %rdi
489 call __GI___fread_unlocked
494 cmpq $
0, num_leaps
(%rip
)
503 call __GI___fread_unlocked
506 movq leaps
(%rip
), %rdx
523 call __GI___fread_unlocked
528 cmpq
%r14, num_leaps
(%rip
)
529 movq leaps
(%rip
), %rdx
534 movq
%rax
, 8(%rdx
,%r8)
545 movq types
(%rip
), %rax
571 movq transitions
(%rip
), %rcx
573 movl
(%rcx
,%rdx
,4), %eax
576 movq
%rax
, (%rcx
,%rdx
,8)
609 call __GI___libc_alloc_buffer_create_failure
610 movq num_transitions
(%rip
), %rcx
616 movq num_types
(%rip
), %rax
617 movq types
(%rip
), %rdx
622 movb $
0, -2(%rdx
,%rbx
,8)
641 movq num_types
(%rip
), %rax
645 movb $
0, -1(%rdx
,%rbx
,8)
649 cmpq $
0, tzspec
(%rip
)
663 movq $
0, tzspec
(%rip
)
667 call _IO_new_fclose@PLT
670 movq types
(%rip
), %rax
671 movzbl
5(%rax
,%rbx
,8), %edi
672 addq zone_names
(%rip
), %rdi
678 cmpq
%rbx
, num_types
(%rip
)
680 movq __tzname@GOTPCREL
(%rip
), %rbx
681 movq num_transitions
(%rip
), %rbp
687 movq type_idxs
(%rip
), %rax
689 movzbl
(%rax
,%rbp
), %edx
690 movq types
(%rip
), %rax
691 leaq
(%rax
,%rdx
,8), %rax
692 movzbl
4(%rax
), %r15d
693 cmpq $
0, (%rbx
,%r15,8)
706 movq types
(%rip
), %rdx
710 movq tzspec
(%rip
), %rdi
715 call __GI___fread_unlocked
718 movq tzspec
(%rip
), %rax
721 movb $
0, -1(%rax
,%rbx
)
731 leaq __PRETTY_FUNCTION__.7128
(%rip
), %rcx
732 leaq
.LC3(%rip), %rsi
733 leaq
.LC4(%rip), %rdi
735 call __GI___assert_fail
738 addq zone_names
(%rip
), %rdi
740 movq
%rax
, (%rbx
,%r15,8)
744 cmpq $
0, (%rbx
,%rax
,8)
755 movq num_transitions
(%rip
), %rax
756 movq types
(%rip
), %r9
760 movq
%rax
, rule_dstoff
(%rip
)
761 movq
%rax
, rule_stdoff
(%rip
)
764 cmpq
%rax
, rule_dstoff
(%rip
)
765 movq __daylight@GOTPCREL
(%rip
), %rdx
769 movq __timezone@GOTPCREL
(%rip
), %rdx
773 cmpq $
1, num_types
(%rip
)
775 movq zone_names
(%rip
), %rdi
780 movq type_idxs
(%rip
), %r10
781 movq $
0, rule_dstoff
(%rip
)
783 movq $
0, rule_stdoff
(%rip
)
791 movzbl
(%r10,%rax
), %ecx
792 leaq
(%r9,%rcx
,8), %rcx
807 movq
%r8, rule_stdoff
(%rip
)
811 movq
%rsi
, rule_dstoff
(%rip
)
814 movq rule_stdoff
(%rip
), %rax
816 movq
%rax
, rule_dstoff
(%rip
)
819 leaq __PRETTY_FUNCTION__.7128
(%rip
), %rcx
820 leaq
.LC3(%rip), %rsi
821 leaq
.LC5(%rip), %rdi
823 call __GI___assert_fail
827 movq
%r8, rule_stdoff
(%rip
)
831 movq
%rsi
, rule_dstoff
(%rip
)
833 movq rule_stdoff
(%rip
), %rax
846 movzbl
(%r10,%rax
), %ecx
847 leaq
(%r9,%rcx
,8), %rcx
851 .size __tzfile_read, .-__tzfile_read
852 .section .rodata.str1.1
857 .globl __tzfile_default
858 .hidden __tzfile_default
859 .type __tzfile_default, @function
878 leaq
.LC7(%rip), %rdi
879 leaq
(%rbx
,%r15), %rsi
881 movl __use_tzfile
(%rip
), %edx
884 cmpq $
1, num_types
(%rip
)
886 movl $
0, __use_tzfile
(%rip
)
902 call __GI_mempcpy@PLT
907 movq num_transitions
(%rip
), %r9
910 movq $
2, num_types
(%rip
)
911 movq types
(%rip
), %rsi
914 movq
%rax
, zone_names
(%rip
)
917 subq rule_stdoff
(%rip
), %rax
918 movq type_idxs
(%rip
), %rcx
919 movq transitions
(%rip
), %r10
924 subq rule_dstoff
(%rip
), %rax
933 movq
%rdi
, (%r10,%rdx
,8)
940 movzbl
(%rcx
,%rdx
), %eax
941 leaq
(%rsi
,%rax
,8), %rax
943 movb
%dil
, (%rcx
,%rdx
)
947 movq
(%r10,%rdx
,8), %rdi
951 movq
%rdi
, (%r10,%rdx
,8)
961 movq __tzname@GOTPCREL
(%rip
), %rax
966 movq
%r15, rule_stdoff
(%rip
)
967 movq
%r11, rule_dstoff
(%rip
)
970 movq __timezone@GOTPCREL
(%rip
), %rax
971 movq $
0, tzfile_dev
(%rip
)
972 movq $
0, tzfile_ino
(%rip
)
973 movq $
0, tzfile_mtime
(%rip
)
983 .size __tzfile_default, .-__tzfile_default
984 .section .rodata.str1.1
986 .string "num_types == 2"
987 .section .rodata.str1.8
990 .string "strcmp (&zone_names[info->idx], __tzname[tp->tm_isdst]) == 0"
993 .globl __tzfile_compute
994 .hidden __tzfile_compute
995 .type __tzfile_compute, @function
1010 movq num_transitions
(%rip
), %r8
1011 movq __tzname@GOTPCREL
(%rip
), %r13
1016 movq transitions
(%rip
), %rsi
1019 movq
-8(%rsi
,%r8,8), %rdx
1023 movabsq $
4903594774003285691, %rdi
1038 leaq
(%rdx
,%rbx
), %rax
1040 cmpq
%r15, (%rsi
,%rax
,8)
1049 movq type_idxs
(%rip
), %rax
1050 movzbl
-1(%rax
,%rbx
), %edx
1051 movq types
(%rip
), %rax
1052 leaq
(%rax
,%rdx
,8), %rax
1053 movzbl
5(%rax
), %edi
1054 movzbl
4(%rax
), %r14d
1055 addq zone_names
(%rip
), %rdi
1057 cmpq num_transitions
(%rip
), %rbx
1058 movq
%rax
, 0(%r13,%r14,8)
1059 movq type_idxs
(%rip
), %r8
1060 movq types
(%rip
), %rdi
1067 cmpq
%rbx
, num_transitions
(%rip
)
1070 movzbl
(%r8,%rbx
), %eax
1071 leaq
(%rdi
,%rax
,8), %rax
1072 movzbl
4(%rax
), %esi
1073 cmpq $
0, 0(%r13,%rsi
,8)
1076 movzbl
5(%rax
), %edi
1078 addq zone_names
(%rip
), %rdi
1081 movq type_idxs
(%rip
), %r8
1082 movq types
(%rip
), %rdi
1083 movq
%rax
, 0(%r13,%rsi
,8)
1087 cmpq $
0, 0(%r13,%rax
,8)
1097 movzbl
(%r8,%rcx
), %edx
1098 leaq
(%rdi
,%rdx
,8), %r14
1100 movq rule_stdoff
(%rip
), %rdx
1102 cmpq
%rdx
, rule_dstoff
(%rip
)
1103 movq __daylight@GOTPCREL
(%rip
), %rsi
1108 movq __timezone@GOTPCREL
(%rip
), %rsi
1115 movzbl
4(%r14), %eax
1117 movzbl
5(%r14), %edi
1118 movq
0(%r13,%rax
,8), %rbx
1119 addq zone_names
(%rip
), %rdi
1128 movq leaps
(%rip
), %r8
1129 movq num_leaps
(%rip
), %rax
1135 leaq
-16(%r8,%rax
), %rax
1184 cmpq
%r15, (%rsi
,%rax
,8)
1185 leaq
0(,%rax
,8), %rdi
1190 cmpq
-8(%rsi
,%rdi
), %r15
1197 cmpq
%r15, -8(%rsi
,%rbx
,8)
1203 movq num_types
(%rip
), %rbx
1204 movq types
(%rip
), %rax
1205 movq zone_names
(%rip
), %rsi
1222 leaq
0(,%rbx
,8), %rcx
1223 leaq
(%rdi
,%rcx
), %rax
1230 movzbl
5(%rax
), %edi
1233 movq zone_names
(%rip
), %rsi
1235 movq num_types
(%rip
), %r8
1236 movq types
(%rip
), %rdi
1252 cmpq $
1, num_types
(%rip
)
1254 movq zone_names
(%rip
), %rdi
1263 movzbl
5(%rax
), %edi
1272 addq types
(%rip
), %rcx
1287 cmpq
%r15, (%rsi
,%rbx
,8)
1293 leaq
-16(%r8,%rdi
), %rdi
1308 leaq
-32(%r8,%rdx
), %rax
1336 cmpq
%r15, (%rsi
,%rdx
,8)
1340 cmpq
%r15, -80(%rsi
,%rdi
)
1342 leaq
-11(%rdx
), %rbx
1346 movq tzspec
(%rip
), %rdi
1349 call __tzset_parse_tz
1355 movq num_transitions
(%rip
), %r8
1361 movq num_leaps
(%rip
), %rax
1362 movq leaps
(%rip
), %r8
1366 cmpq zone_names
(%rip
), %rdi
1368 cmpq $
2, num_types
(%rip
)
1371 movq zone_names
(%rip
), %rbx
1375 leaq
1(%rbx
,%rax
), %rdi
1377 movq leaps
(%rip
), %r8
1379 movq num_leaps
(%rip
), %rax
1388 cmpq
%rsi
, -8(%r8,%rdi
)
1392 movq num_types
(%rip
), %rsi
1393 movq types
(%rip
), %rdx
1395 leaq
(%rdx
,%rcx
), %r14
1399 leaq
(%rdx
,%rbx
,8), %rdx
1414 movzbl
5(%rdi
), %edi
1416 addq zone_names
(%rip
), %rdi
1423 leaq
0(,%rbx
,8), %rcx
1436 leaq __PRETTY_FUNCTION__.7174
(%rip
), %rcx
1437 leaq
.LC3(%rip), %rsi
1438 leaq
.LC8(%rip), %rdi
1440 call __GI___assert_fail
1442 leaq __PRETTY_FUNCTION__.7174
(%rip
), %rcx
1443 leaq
.LC3(%rip), %rsi
1444 leaq
.LC9(%rip), %rdi
1446 call __GI___assert_fail
1452 leaq __PRETTY_FUNCTION__.7174
(%rip
), %rcx
1453 leaq
.LC3(%rip), %rsi
1454 leaq
.LC5(%rip), %rdi
1456 call __GI___assert_fail
1457 .size __tzfile_compute, .-__tzfile_compute
1458 .section .rodata.str1.16,"aMS",@progbits,1
1460 .type __PRETTY_FUNCTION__.7174, @object
1461 .size __PRETTY_FUNCTION__.7174, 17
1462 __PRETTY_FUNCTION__.7174
:
1463 .string "__tzfile_compute"
1464 .section .rodata.str1.8
1466 .type __PRETTY_FUNCTION__.7128, @object
1467 .size __PRETTY_FUNCTION__.7128, 14
1468 __PRETTY_FUNCTION__.7128
:
1469 .string "__tzfile_read"
1470 .globl conf_default_tzdir_bytes_n
1473 .type conf_default_tzdir_bytes_n, @object
1474 .size conf_default_tzdir_bytes_n, 8
1475 conf_default_tzdir_bytes_n
:
1476 .quad CONF_DEFAULT_TZDIR_STR_BYTES_N
1477 .globl conf_default_tzdir
1479 .type conf_default_tzdir, @object
1480 .size conf_default_tzdir, CONF_DEFAULT_TZDIR_STR_BYTES_N
1482 .string "CONF_DEFAULT_TZDIR_STR"
1483 .globl conf_tzdefault_bytes_n
1485 .type conf_tzdefault_bytes_n, @object
1486 .size conf_tzdefault_bytes_n, 8
1487 conf_tzdefault_bytes_n
:
1488 .quad CONF_TZDEFAULT_STR_BYTES_N
1489 .globl conf_tzdefault
1491 .type conf_tzdefault, @object
1492 .size conf_tzdefault, CONF_TZDEFAULT_STR_BYTES_N
1494 .string "CONF_TZDEFAULT_STR"
1502 .comm rule_dstoff,8,8
1504 .comm rule_stdoff,8,8
1506 .comm zone_names,8,8
1513 .section __libc_freeres_ptrs
1516 .type transitions, @object
1517 .size transitions, 8
1520 .local num_transitions
1521 .comm num_transitions,8,8
1523 .comm tzfile_mtime,8,8
1525 .comm tzfile_ino,8,8
1527 .comm tzfile_dev,8,8
1528 .hidden __use_tzfile
1529 .comm __use_tzfile,4,4
1530 .hidden __tz_compute
1532 .hidden __tzset_parse_tz