3 .section __libc_freeres_ptrs, "aw", %nobits
5 .section .rodata.str1.1,"aMS",@progbits,1
12 .section .rodata.str1.8,"aMS",@progbits,1
15 .string "/root/wip/nyanglibc/fork/time/tzfile.c"
16 .section .rodata.str1.1
18 .string "tzspec_len > 0"
20 .string "num_types == 1"
28 .type __tzfile_read, @function
40 movl __use_tzfile
(%rip
), %r13d
42 movl $
0, __use_tzfile
(%rip
)
52 movq transitions
(%rip
), %rdi
54 movq $
0, transitions
(%rip
)
67 movl __libc_enable_secure
(%rip
), %edx
83 call _IO_new_fopen@PLT
95 movq transitions
(%rip
), %rdi
99 movq $
0, transitions
(%rip
)
101 movq
%rax
, tzfile_dev
(%rip
)
103 movq
%rax
, tzfile_ino
(%rip
)
106 movq
%rax
, tzfile_mtime
(%rip
)
114 call __fread_unlocked
117 cmpl $
1718180436, 96(%rsp
)
120 movl
136(%rsp
), %r12d
122 movl
116(%rsp
), %r10d
141 movq
%rcx
, num_transitions
(%rip
)
143 movq
%rax
, num_types
(%rip
)
145 movq
%rdx
, num_leaps
(%rip
)
153 leaq
(%rcx
,%rcx
,4), %rcx
154 leaq
(%rax
,%rax
,2), %rax
159 leaq
(%r10,%rax
,2), %rax
160 leaq
(%rax
,%rdx
,8), %rsi
170 call _IO_new_fclose@PLT
177 movzbl conf_tzdefault
(%rip
), %eax
178 leaq conf_tzdefault
(%rip
), %r12
182 leaq
.LC0(%rip), %rdi
187 leaq conf_default_tzdir
(%rip
), %rdx
191 leaq
.LC1(%rip), %rsi
205 leaq
.LC6(%rip), %rsi
214 movq tzfile_ino
(%rip
), %rax
217 movq tzfile_dev
(%rip
), %rax
220 movq tzfile_mtime
(%rip
), %rax
225 movl $
1, __use_tzfile
(%rip
)
231 leaq conf_default_tzdir
(%rip
), %rax
243 leaq
(%rax
,%rdx
,2), %rdx
248 leaq
(%rax
,%rdx
,8), %r14
252 movq
%rax
, transitions
(%rip
)
267 call __libc_alloc_buffer_alloc_array
268 movq num_leaps
(%rip
), %rcx
272 call __libc_alloc_buffer_alloc_array
273 movq num_types
(%rip
), %rcx
277 movq
%rax
, leaps
(%rip
)
278 call __libc_alloc_buffer_alloc_array
279 movq num_transitions
(%rip
), %rcx
283 movq
%rax
, types
(%rip
)
284 call __libc_alloc_buffer_alloc_array
289 movq
%rax
, type_idxs
(%rip
)
290 call __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 __fread_unlocked
309 cmpq num_transitions
(%rip
), %rax
311 movq type_idxs
(%rip
), %rdi
315 call __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
(%rip
), %rdx
343 leaq conf_tzdefault
(%rip
), %rsi
347 movq conf_default_tzdir_bytes_n
(%rip
), %rax
348 leaq conf_default_tzdir
(%rip
), %rsi
355 leaq
.LC6(%rip), %rsi
370 movq num_transitions
(%rip
), %rcx
371 movq num_types
(%rip
), %rax
372 leaq
(%rcx
,%rcx
,8), %rdx
373 leaq
(%rax
,%rax
,2), %rsi
374 leaq
(%rdx
,%rsi
,2), %rdx
379 movq num_leaps
(%rip
), %rdx
380 movabsq $
1537228672809129301, %rsi
383 leaq
(%rdx
,%rdx
,2), %rsi
410 call __libc_alloc_buffer_alloc_array
419 call __libc_alloc_buffer_alloc_array
421 movq
%rax
, tzspec
(%rip
)
426 movq transitions
(%rip
), %rax
427 leaq
(%rax
,%rdi
,8), %rcx
446 call __fread_unlocked
459 movq types
(%rip
), %rcx
460 leaq
0(,%r14,8), %rdx
461 movb
%al
, 4(%rcx
,%rdx
)
472 addq types
(%rip
), %rdx
474 cmpq
%r14, num_types
(%rip
)
482 movq zone_names
(%rip
), %rdi
487 call __fread_unlocked
492 cmpq $
0, num_leaps
(%rip
)
501 call __fread_unlocked
504 movq leaps
(%rip
), %rdx
521 call __fread_unlocked
526 cmpq
%r14, num_leaps
(%rip
)
527 movq leaps
(%rip
), %rdx
532 movq
%rax
, 8(%rdx
,%r8)
543 movq types
(%rip
), %rax
569 movq transitions
(%rip
), %rcx
571 movl
(%rcx
,%rdx
,4), %eax
574 movq
%rax
, (%rcx
,%rdx
,8)
607 call __libc_alloc_buffer_create_failure
608 movq num_transitions
(%rip
), %rcx
614 movq num_types
(%rip
), %rax
615 movq types
(%rip
), %rdx
620 movb $
0, -2(%rdx
,%rbx
,8)
639 movq num_types
(%rip
), %rax
643 movb $
0, -1(%rdx
,%rbx
,8)
647 cmpq $
0, tzspec
(%rip
)
661 movq $
0, tzspec
(%rip
)
665 call _IO_new_fclose@PLT
668 movq types
(%rip
), %rax
669 movzbl
5(%rax
,%rbx
,8), %edi
670 addq zone_names
(%rip
), %rdi
676 cmpq
%rbx
, num_types
(%rip
)
678 movq $
0, __tzname
(%rip
)
679 movq $
0, 8+__tzname
(%rip
)
680 leaq __tzname
(%rip
), %rbp
681 movq num_transitions
(%rip
), %rbx
684 movq type_idxs
(%rip
), %rax
686 movzbl
(%rax
,%rbx
), %edx
687 movq types
(%rip
), %rax
688 leaq
(%rax
,%rdx
,8), %rax
689 movzbl
4(%rax
), %r14d
690 cmpq $
0, 0(%rbp
,%r14,8)
703 movq types
(%rip
), %rdx
707 movq tzspec
(%rip
), %rdi
712 call __fread_unlocked
715 movq tzspec
(%rip
), %rax
718 movb $
0, -1(%rax
,%rbx
)
728 leaq __PRETTY_FUNCTION__.7130
(%rip
), %rcx
729 leaq
.LC3(%rip), %rsi
730 leaq
.LC4(%rip), %rdi
735 addq zone_names
(%rip
), %rdi
737 movq
%rax
, 0(%rbp
,%r14,8)
741 cmpq $
0, 0(%rbp
,%rax
,8)
744 cmpq $
0, __tzname
(%rip
)
747 cmpq $
0, 8+__tzname
(%rip
)
749 movq __tzname
(%rip
), %rax
750 movq
%rax
, 8+__tzname
(%rip
)
752 movq num_transitions
(%rip
), %rax
753 movq types
(%rip
), %r9
757 movq
%rax
, rule_dstoff
(%rip
)
758 movq
%rax
, rule_stdoff
(%rip
)
761 cmpq
%rax
, rule_dstoff
(%rip
)
764 movl
%edx
, __daylight
(%rip
)
765 movq
%rax
, __timezone
(%rip
)
768 cmpq $
1, num_types
(%rip
)
770 movq zone_names
(%rip
), %rdi
772 movq
%rax
, __tzname
(%rip
)
775 movq type_idxs
(%rip
), %r10
776 movq $
0, rule_dstoff
(%rip
)
778 movq $
0, rule_stdoff
(%rip
)
786 movzbl
(%r10,%rax
), %ecx
787 leaq
(%r9,%rcx
,8), %rcx
802 movq
%r8, rule_stdoff
(%rip
)
806 movq
%rsi
, rule_dstoff
(%rip
)
809 movq rule_stdoff
(%rip
), %rax
811 movq
%rax
, rule_dstoff
(%rip
)
814 leaq __PRETTY_FUNCTION__.7130
(%rip
), %rcx
815 leaq
.LC3(%rip), %rsi
816 leaq
.LC5(%rip), %rdi
822 movq
%r8, rule_stdoff
(%rip
)
826 movq
%rsi
, rule_dstoff
(%rip
)
828 movq rule_stdoff
(%rip
), %rax
841 movzbl
(%r10,%rax
), %ecx
842 leaq
(%r9,%rcx
,8), %rcx
846 .size __tzfile_read, .-__tzfile_read
847 .section .rodata.str1.1
852 .globl __tzfile_default
853 .hidden __tzfile_default
854 .type __tzfile_default, @function
873 leaq
.LC7(%rip), %rdi
874 leaq
(%rbx
,%r15), %rsi
876 movl __use_tzfile
(%rip
), %edx
879 cmpq $
1, num_types
(%rip
)
881 movl $
0, __use_tzfile
(%rip
)
902 movq num_transitions
(%rip
), %r9
905 movq $
2, num_types
(%rip
)
906 movq types
(%rip
), %rsi
909 movq
%rax
, zone_names
(%rip
)
912 subq rule_stdoff
(%rip
), %rax
913 movq type_idxs
(%rip
), %rcx
914 movq transitions
(%rip
), %r10
919 subq rule_dstoff
(%rip
), %rax
928 movq
%rdi
, (%r10,%rdx
,8)
935 movzbl
(%rcx
,%rdx
), %eax
936 leaq
(%rsi
,%rax
,8), %rax
938 movb
%dil
, (%rcx
,%rdx
)
942 movq
(%r10,%rdx
,8), %rdi
946 movq
%rdi
, (%r10,%rdx
,8)
960 movq
%r15, rule_stdoff
(%rip
)
961 movq
%r13, __tzname
(%rip
)
962 movq
%r12, 8+__tzname
(%rip
)
963 movq
%rbp
, __timezone
(%rip
)
964 movq
%r11, rule_dstoff
(%rip
)
965 movq $
0, tzfile_dev
(%rip
)
966 movq $
0, tzfile_ino
(%rip
)
967 movq $
0, tzfile_mtime
(%rip
)
976 .size __tzfile_default, .-__tzfile_default
977 .section .rodata.str1.1
979 .string "num_types == 2"
980 .section .rodata.str1.8
983 .string "strcmp (&zone_names[info->idx], __tzname[tp->tm_isdst]) == 0"
986 .globl __tzfile_compute
987 .hidden __tzfile_compute
988 .type __tzfile_compute, @function
1002 movq num_transitions
(%rip
), %rsi
1004 movq $
0, __tzname
(%rip
)
1005 movq $
0, 8+__tzname
(%rip
)
1008 movq transitions
(%rip
), %rcx
1011 movq
-8(%rcx
,%rsi
,8), %rdx
1015 movabsq $
4903594774003285691, %rdi
1030 leaq
(%rdx
,%rbx
), %rax
1032 cmpq
%r15, (%rcx
,%rax
,8)
1041 movq type_idxs
(%rip
), %rax
1042 movzbl
-1(%rax
,%rbx
), %edx
1043 movq types
(%rip
), %rax
1044 leaq
(%rax
,%rdx
,8), %rax
1045 movzbl
5(%rax
), %edi
1046 movzbl
4(%rax
), %r14d
1047 addq zone_names
(%rip
), %rdi
1049 cmpq num_transitions
(%rip
), %rbx
1050 leaq __tzname
(%rip
), %rsi
1051 movq type_idxs
(%rip
), %r8
1052 movq types
(%rip
), %rdi
1053 movq
%rax
, (%rsi
,%r14,8)
1060 cmpq
%rbx
, num_transitions
(%rip
)
1063 movzbl
(%r8,%rbx
), %eax
1064 leaq
(%rdi
,%rax
,8), %rax
1065 movzbl
4(%rax
), %ecx
1066 cmpq $
0, (%rsi
,%rcx
,8)
1069 movzbl
5(%rax
), %edi
1071 addq zone_names
(%rip
), %rdi
1076 movq type_idxs
(%rip
), %r8
1077 movq types
(%rip
), %rdi
1078 movq
%rax
, (%rsi
,%rcx
,8)
1082 cmpq $
0, (%rsi
,%rax
,8)
1087 movq __tzname
(%rip
), %rax
1092 movzbl
(%r8,%rbx
), %edx
1093 leaq
(%rdi
,%rdx
,8), %r14
1095 movq rule_stdoff
(%rip
), %rdx
1097 cmpq
%rdx
, rule_dstoff
(%rip
)
1101 movl
%ecx
, __daylight
(%rip
)
1102 movq
%rdx
, __timezone
(%rip
)
1105 cmpq $
0, 8+__tzname
(%rip
)
1108 movzbl
4(%r14), %eax
1109 leaq __tzname
(%rip
), %rdx
1111 movzbl
5(%r14), %edi
1112 movq
(%rdx
,%rax
,8), %rbx
1113 addq zone_names
(%rip
), %rdi
1122 movq leaps
(%rip
), %r8
1123 movq num_leaps
(%rip
), %rax
1128 leaq
-16(%r8,%rax
), %rax
1176 cmpq
%r15, (%rcx
,%rax
,8)
1177 leaq
0(,%rax
,8), %rdi
1182 cmpq
-8(%rcx
,%rdi
), %r15
1189 cmpq
%r15, -8(%rcx
,%rbx
,8)
1195 movq num_types
(%rip
), %rbx
1196 movq types
(%rip
), %rax
1197 movq zone_names
(%rip
), %rcx
1214 leaq
0(,%rbx
,8), %r8
1215 leaq
(%rdi
,%r8), %rax
1218 movq
8+__tzname
(%rip
), %rdx
1222 movzbl
5(%rax
), %edi
1225 movq zone_names
(%rip
), %rcx
1226 movq
%rax
, 8+__tzname
(%rip
)
1227 movq num_types
(%rip
), %rsi
1228 movq types
(%rip
), %rdi
1238 movq __tzname
(%rip
), %rax
1239 movq
%rax
, 8+__tzname
(%rip
)
1244 cmpq $
1, num_types
(%rip
)
1246 movq zone_names
(%rip
), %rdi
1248 movq
%rax
, __tzname
(%rip
)
1255 movzbl
5(%rax
), %edi
1259 cmpq $
0, 8+__tzname
(%rip
)
1260 movq
%rax
, __tzname
(%rip
)
1264 movq types
(%rip
), %r14
1279 cmpq
%r15, (%rcx
,%rbx
,8)
1285 leaq
-16(%r8,%rdi
), %rdi
1299 leaq
-32(%r8,%rdx
), %rax
1326 cmpq
%r15, (%rcx
,%rdx
,8)
1330 cmpq
%r15, -80(%rcx
,%rdi
)
1332 leaq
-11(%rdx
), %rbx
1336 movq tzspec
(%rip
), %rdi
1339 call __tzset_parse_tz
1345 movq num_transitions
(%rip
), %rsi
1351 movq num_leaps
(%rip
), %rax
1352 movq leaps
(%rip
), %r8
1356 cmpq zone_names
(%rip
), %rdi
1358 cmpq $
2, num_types
(%rip
)
1361 movq zone_names
(%rip
), %rbx
1362 movq
%rax
, __tzname
(%rip
)
1365 leaq
1(%rbx
,%rax
), %rdi
1367 movq leaps
(%rip
), %r8
1368 movq
%rax
, 8+__tzname
(%rip
)
1369 movq num_leaps
(%rip
), %rax
1374 movq
8+__tzname
(%rip
), %rax
1375 movq
%rax
, __tzname
(%rip
)
1378 cmpq
%rsi
, -8(%r8,%rdi
)
1382 movq num_types
(%rip
), %rcx
1383 movq types
(%rip
), %rdx
1385 leaq
(%rdx
,%r8), %r14
1389 leaq
(%rdx
,%rbx
,8), %rdx
1404 movzbl
5(%rsi
), %edi
1406 addq zone_names
(%rip
), %rdi
1409 movq
%rax
, 8+__tzname
(%rip
)
1410 movq __tzname
(%rip
), %rax
1413 leaq
0(,%rbx
,8), %r8
1426 leaq __PRETTY_FUNCTION__.7176
(%rip
), %rcx
1427 leaq
.LC3(%rip), %rsi
1428 leaq
.LC8(%rip), %rdi
1432 leaq __PRETTY_FUNCTION__.7176
(%rip
), %rcx
1433 leaq
.LC3(%rip), %rsi
1434 leaq
.LC9(%rip), %rdi
1441 leaq __PRETTY_FUNCTION__.7176
(%rip
), %rcx
1442 leaq
.LC3(%rip), %rsi
1443 leaq
.LC5(%rip), %rdi
1446 .size __tzfile_compute, .-__tzfile_compute
1447 .section .rodata.str1.16,"aMS",@progbits,1
1449 .type __PRETTY_FUNCTION__.7176, @object
1450 .size __PRETTY_FUNCTION__.7176, 17
1451 __PRETTY_FUNCTION__.7176
:
1452 .string "__tzfile_compute"
1453 .section .rodata.str1.8
1455 .type __PRETTY_FUNCTION__.7130, @object
1456 .size __PRETTY_FUNCTION__.7130, 14
1457 __PRETTY_FUNCTION__.7130
:
1458 .string "__tzfile_read"
1459 .globl conf_default_tzdir_bytes_n
1462 .type conf_default_tzdir_bytes_n, @object
1463 .size conf_default_tzdir_bytes_n, 8
1464 conf_default_tzdir_bytes_n
:
1465 .quad CONF_DEFAULT_TZDIR_STR_BYTES_N
1466 .globl conf_default_tzdir
1468 .type conf_default_tzdir, @object
1469 .size conf_default_tzdir, CONF_DEFAULT_TZDIR_STR_BYTES_N
1471 .string "CONF_DEFAULT_TZDIR_STR"
1472 .globl conf_tzdefault_bytes_n
1474 .type conf_tzdefault_bytes_n, @object
1475 .size conf_tzdefault_bytes_n, 8
1476 conf_tzdefault_bytes_n
:
1477 .quad CONF_TZDEFAULT_STR_BYTES_N
1478 .globl conf_tzdefault
1480 .type conf_tzdefault, @object
1481 .size conf_tzdefault, CONF_TZDEFAULT_STR_BYTES_N
1483 .string "CONF_TZDEFAULT_STR"
1491 .comm rule_dstoff,8,8
1493 .comm rule_stdoff,8,8
1495 .comm zone_names,8,8
1502 .section __libc_freeres_ptrs
1505 .type transitions, @object
1506 .size transitions, 8
1509 .local num_transitions
1510 .comm num_transitions,8,8
1512 .comm tzfile_mtime,8,8
1514 .comm tzfile_ino,8,8
1516 .comm tzfile_dev,8,8
1517 .hidden __use_tzfile
1518 .comm __use_tzfile,4,4
1519 .hidden __tz_compute
1521 .hidden __tzset_parse_tz
1524 .hidden __assert_fail
1526 .hidden __libc_alloc_buffer_create_failure
1529 .hidden __libc_alloc_buffer_alloc_array
1534 .hidden __fread_unlocked