8 .type timeout_handler, @function
11 .size timeout_handler, .-timeout_handler
13 .type try_file_lock, @function
28 leaq timeout_handler
(%rip
), %rax
48 call __GI___fcntl64_nocancel
51 movq __libc_errno@gottpoff
(%rip
), %rbp
53 movl
%fs:0(%rbp
), %r14d
64 movl
%r14d
, %fs:0(%rbp
)
73 .size try_file_lock, .-try_file_lock
75 .type read_last_entry, @function
80 movq file_offset
(%rip
), %rcx
81 movl file_fd
(%rip
), %edi
84 call __GI___pread64_nocancel
91 leaq last_entry
(%rip
), %rdi
95 addq $
384, file_offset
(%rip
)
106 .size read_last_entry, .-read_last_entry
108 .type matches_last_entry, @function
111 cmpq $
0, file_offset
(%rip
)
114 movzwl last_entry
(%rip
), %ecx
131 cmpb $
0, 40+last_entry
(%rip
)
136 leaq
40+last_entry
(%rip
), %rdi
150 leaq
8+last_entry
(%rip
), %rdi
158 .size matches_last_entry, .-matches_last_entry
160 .type internal_getut_nolock, @function
161 internal_getut_nolock
:
170 call matches_last_entry
183 movq __libc_errno@gottpoff
(%rip
), %rax
194 .size internal_getut_nolock, .-internal_getut_nolock
195 .section .rodata.str1.1,"aMS",@progbits,1
197 .string "/var/log/wtmpx"
199 .string "/var/run/utmpx"
201 .string "/var/run/utmp"
203 .string "/var/log/wtmp"
206 .globl __libc_setutent
207 .hidden __libc_setutent
208 .type __libc_setutent, @function
211 movl file_fd
(%rip
), %edi
214 movq __libc_utmp_file_name
(%rip
), %rdx
215 leaq
.LC2(%rip), %rdi
221 leaq
.LC3(%rip), %rdi
227 leaq
.LC1(%rip), %rax
234 leaq
.LC0(%rip), %rax
244 movb $
0, file_writable
(%rip
)
245 call __GI___open_nocancel
247 movl
%eax
, file_fd
(%rip
)
255 movq $
0, file_offset
(%rip
)
263 leaq
.LC1(%rip), %rdi
267 leaq
.LC1(%rip), %rdx
269 movq __libc_utmp_file_name
(%rip
), %rdx
274 leaq
.LC0(%rip), %rdi
278 leaq
.LC0(%rip), %rdx
280 movq __libc_utmp_file_name
(%rip
), %rdx
289 leaq
.LC2(%rip), %rdx
291 movq __libc_utmp_file_name
(%rip
), %rdx
299 leaq
.LC3(%rip), %rdx
301 cmove __libc_utmp_file_name
(%rip
), %rdx
303 .size __libc_setutent, .-__libc_setutent
305 .globl __libc_getutent_r
306 .hidden __libc_getutent_r
307 .type __libc_getutent_r, @function
317 movl file_fd
(%rip
), %edi
318 movq __libc_errno@gottpoff
(%rip
), %r12
320 movl
%fs:(%r12), %r13d
329 movl file_fd
(%rip
), %edi
339 movups
%xmm0
, 2(%rsp
)
341 call __GI___fcntl64_nocancel
344 movq last_entry
(%rip
), %rax
347 leaq last_entry
(%rip
), %rsi
350 movq
376+last_entry
(%rip
), %rax
372 movl file_fd
(%rip
), %edi
393 movl
%r13d
, %fs:(%r12)
395 .size __libc_getutent_r, .-__libc_getutent_r
397 .globl __libc_getutid_r
398 .hidden __libc_getutid_r
399 .type __libc_getutid_r, @function
408 movl file_fd
(%rip
), %edi
417 call internal_getut_nolock
419 movl file_fd
(%rip
), %edi
429 movups
%xmm0
, 2(%rsp
)
431 call __GI___fcntl64_nocancel
434 movq last_entry
(%rip
), %rax
437 leaq last_entry
(%rip
), %rsi
440 movq
376+last_entry
(%rip
), %rax
459 movl file_fd
(%rip
), %edi
469 .size __libc_getutid_r, .-__libc_getutid_r
471 .globl __libc_getutline_r
472 .hidden __libc_getutline_r
473 .type __libc_getutline_r, @function
484 movl file_fd
(%rip
), %edi
500 movzwl last_entry
(%rip
), %eax
501 leaq last_entry
(%rip
), %rbx
513 movl file_fd
(%rip
), %edi
523 movups
%xmm0
, 2(%rsp
)
524 call __GI___fcntl64_nocancel
530 movq
376+last_entry
(%rip
), %rax
553 movl file_fd
(%rip
), %edi
560 movups
%xmm0
, 2(%rsp
)
564 call __GI___fcntl64_nocancel
565 movq __libc_errno@gottpoff
(%rip
), %rax
584 movl file_fd
(%rip
), %edi
589 movups
%xmm0
, 2(%rsp
)
594 call __GI___fcntl64_nocancel
609 movl file_fd
(%rip
), %edi
612 .size __libc_getutline_r, .-__libc_getutline_r
614 .globl __libc_pututline
615 .hidden __libc_pututline
616 .type __libc_pututline, @function
623 movl file_fd
(%rip
), %r9d
627 cmpb $
0, file_writable
(%rip
)
629 movq __libc_utmp_file_name
(%rip
), %rdx
630 leaq
.LC2(%rip), %rdi
636 leaq
.LC3(%rip), %rdi
642 leaq
.LC1(%rip), %rax
649 leaq
.LC0(%rip), %rax
659 call __GI___open_nocancel
663 movl file_fd
(%rip
), %esi
669 call __GI___close_nocancel
670 movb $
1, file_writable
(%rip
)
672 movl file_fd
(%rip
), %edi
679 call matches_last_entry
682 subq $
384, file_offset
(%rip
)
689 call internal_getut_nolock
693 movq file_offset
(%rip
), %rax
695 leaq
-384(%rax
), %rbp
697 movl file_fd
(%rip
), %edi
703 movl file_fd
(%rip
), %edi
706 call __GI___write_nocancel
710 movl file_fd
(%rip
), %edi
721 movups
%xmm0
, 2(%rsp
)
724 call __GI___fcntl64_nocancel
726 movq
%rbp
, file_offset
(%rip
)
736 movl file_fd
(%rip
), %edi
740 movabsq $
-6148914691236517205, %rdx
743 leaq
(%rdx
,%rdx
,2), %rbp
749 leaq
.LC1(%rip), %rdi
753 leaq
.LC1(%rip), %rdx
755 movq __libc_utmp_file_name
(%rip
), %rdx
764 movl file_fd
(%rip
), %edi
775 movups
%xmm0
, 2(%rsp
)
777 call __GI___fcntl64_nocancel
778 movq __libc_errno@gottpoff
(%rip
), %rax
800 call matches_last_entry
807 leaq
.LC0(%rip), %rdi
811 leaq
.LC0(%rip), %rdx
813 movq __libc_utmp_file_name
(%rip
), %rdx
822 leaq
.LC2(%rip), %rdx
824 movq __libc_utmp_file_name
(%rip
), %rdx
832 leaq
.LC3(%rip), %rdx
834 cmove __libc_utmp_file_name
(%rip
), %rdx
842 movl file_fd
(%rip
), %edi
847 movups
%xmm0
, 2(%rsp
)
851 call __GI___fcntl64_nocancel
857 call __GI___close_nocancel
860 .size __libc_pututline, .-__libc_pututline
862 .globl __libc_endutent
863 .hidden __libc_endutent
864 .type __libc_endutent, @function
866 movl file_fd
(%rip
), %edi
870 call __GI___close_nocancel
871 movl $
-1, file_fd
(%rip
)
878 .size __libc_endutent, .-__libc_endutent
880 .globl __libc_updwtmp
881 .hidden __libc_updwtmp
882 .type __libc_updwtmp, @function
892 call __GI___open_nocancel
905 movabsq $
-6148914691236517205, %rdx
909 leaq
(%rdx
,%rdx
,2), %rax
929 call __GI___write_nocancel
943 movups
%xmm0
, 2(%rsp
)
946 call __GI___fcntl64_nocancel
948 call __GI___close_nocancel
975 call __GI___close_nocancel
977 .size __libc_updwtmp, .-__libc_updwtmp
979 .comm last_entry,384,32
981 .comm file_offset,8,8
983 .comm file_writable,1,1
986 .type file_fd, @object
990 .hidden __ftruncate64
992 .hidden __libc_utmp_file_name