3 .type timeout_handler, @function
6 .size timeout_handler, .-timeout_handler
8 .type try_file_lock, @function
23 leaq timeout_handler
(%rip
), %rax
43 call __fcntl64_nocancel
46 movq __libc_errno@gottpoff
(%rip
), %rbp
48 movl
%fs:0(%rbp
), %r14d
59 movl
%r14d
, %fs:0(%rbp
)
68 .size try_file_lock, .-try_file_lock
70 .type read_last_entry, @function
75 movq file_offset
(%rip
), %rcx
76 movl file_fd
(%rip
), %edi
79 call __pread64_nocancel
86 leaq last_entry
(%rip
), %rdi
90 addq $
384, file_offset
(%rip
)
101 .size read_last_entry, .-read_last_entry
103 .type matches_last_entry, @function
106 cmpq $
0, file_offset
(%rip
)
109 movzwl last_entry
(%rip
), %ecx
126 cmpb $
0, 40+last_entry
(%rip
)
131 leaq
40+last_entry
(%rip
), %rdi
145 leaq
8+last_entry
(%rip
), %rdi
153 .size matches_last_entry, .-matches_last_entry
155 .type internal_getut_nolock, @function
156 internal_getut_nolock
:
165 call matches_last_entry
178 movq __libc_errno@gottpoff
(%rip
), %rax
189 .size internal_getut_nolock, .-internal_getut_nolock
190 .section .rodata.str1.1,"aMS",@progbits,1
192 .string "/var/log/wtmpx"
194 .string "/var/run/utmpx"
196 .string "/var/run/utmp"
198 .string "/var/log/wtmp"
201 .globl __libc_setutent
202 .hidden __libc_setutent
203 .type __libc_setutent, @function
206 movl file_fd
(%rip
), %edi
209 movq __libc_utmp_file_name
(%rip
), %rdx
210 leaq
.LC2(%rip), %rdi
216 leaq
.LC3(%rip), %rdi
222 leaq
.LC1(%rip), %rax
229 leaq
.LC0(%rip), %rax
239 movb $
0, file_writable
(%rip
)
242 movl
%eax
, file_fd
(%rip
)
250 movq $
0, file_offset
(%rip
)
258 leaq
.LC1(%rip), %rdi
262 leaq
.LC1(%rip), %rdx
264 movq __libc_utmp_file_name
(%rip
), %rdx
269 leaq
.LC0(%rip), %rdi
273 leaq
.LC0(%rip), %rdx
275 movq __libc_utmp_file_name
(%rip
), %rdx
284 leaq
.LC2(%rip), %rdx
286 movq __libc_utmp_file_name
(%rip
), %rdx
294 leaq
.LC3(%rip), %rdx
296 cmove __libc_utmp_file_name
(%rip
), %rdx
298 .size __libc_setutent, .-__libc_setutent
300 .globl __libc_getutent_r
301 .hidden __libc_getutent_r
302 .type __libc_getutent_r, @function
312 movl file_fd
(%rip
), %edi
313 movq __libc_errno@gottpoff
(%rip
), %r12
315 movl
%fs:(%r12), %r13d
324 movl file_fd
(%rip
), %edi
334 movups
%xmm0
, 2(%rsp
)
336 call __fcntl64_nocancel
339 movq last_entry
(%rip
), %rax
342 leaq last_entry
(%rip
), %rsi
345 movq
376+last_entry
(%rip
), %rax
367 movl file_fd
(%rip
), %edi
388 movl
%r13d
, %fs:(%r12)
390 .size __libc_getutent_r, .-__libc_getutent_r
392 .globl __libc_getutid_r
393 .hidden __libc_getutid_r
394 .type __libc_getutid_r, @function
403 movl file_fd
(%rip
), %edi
412 call internal_getut_nolock
414 movl file_fd
(%rip
), %edi
424 movups
%xmm0
, 2(%rsp
)
426 call __fcntl64_nocancel
429 movq last_entry
(%rip
), %rax
432 leaq last_entry
(%rip
), %rsi
435 movq
376+last_entry
(%rip
), %rax
454 movl file_fd
(%rip
), %edi
464 .size __libc_getutid_r, .-__libc_getutid_r
466 .globl __libc_getutline_r
467 .hidden __libc_getutline_r
468 .type __libc_getutline_r, @function
479 movl file_fd
(%rip
), %edi
495 movzwl last_entry
(%rip
), %eax
496 leaq last_entry
(%rip
), %rbx
508 movl file_fd
(%rip
), %edi
518 movups
%xmm0
, 2(%rsp
)
519 call __fcntl64_nocancel
525 movq
376+last_entry
(%rip
), %rax
548 movl file_fd
(%rip
), %edi
555 movups
%xmm0
, 2(%rsp
)
559 call __fcntl64_nocancel
560 movq __libc_errno@gottpoff
(%rip
), %rax
579 movl file_fd
(%rip
), %edi
584 movups
%xmm0
, 2(%rsp
)
589 call __fcntl64_nocancel
604 movl file_fd
(%rip
), %edi
607 .size __libc_getutline_r, .-__libc_getutline_r
609 .globl __libc_pututline
610 .hidden __libc_pututline
611 .type __libc_pututline, @function
618 movl file_fd
(%rip
), %r9d
622 cmpb $
0, file_writable
(%rip
)
624 movq __libc_utmp_file_name
(%rip
), %rdx
625 leaq
.LC2(%rip), %rdi
631 leaq
.LC3(%rip), %rdi
637 leaq
.LC1(%rip), %rax
644 leaq
.LC0(%rip), %rax
658 movl file_fd
(%rip
), %esi
664 call __close_nocancel
665 movb $
1, file_writable
(%rip
)
667 movl file_fd
(%rip
), %edi
674 call matches_last_entry
677 subq $
384, file_offset
(%rip
)
684 call internal_getut_nolock
688 movq file_offset
(%rip
), %rax
690 leaq
-384(%rax
), %rbp
692 movl file_fd
(%rip
), %edi
698 movl file_fd
(%rip
), %edi
701 call __write_nocancel
705 movl file_fd
(%rip
), %edi
716 movups
%xmm0
, 2(%rsp
)
719 call __fcntl64_nocancel
721 movq
%rbp
, file_offset
(%rip
)
731 movl file_fd
(%rip
), %edi
735 movabsq $
-6148914691236517205, %rdx
738 leaq
(%rdx
,%rdx
,2), %rbp
744 leaq
.LC1(%rip), %rdi
748 leaq
.LC1(%rip), %rdx
750 movq __libc_utmp_file_name
(%rip
), %rdx
759 movl file_fd
(%rip
), %edi
770 movups
%xmm0
, 2(%rsp
)
772 call __fcntl64_nocancel
773 movq __libc_errno@gottpoff
(%rip
), %rax
795 call matches_last_entry
802 leaq
.LC0(%rip), %rdi
806 leaq
.LC0(%rip), %rdx
808 movq __libc_utmp_file_name
(%rip
), %rdx
817 leaq
.LC2(%rip), %rdx
819 movq __libc_utmp_file_name
(%rip
), %rdx
827 leaq
.LC3(%rip), %rdx
829 cmove __libc_utmp_file_name
(%rip
), %rdx
837 movl file_fd
(%rip
), %edi
842 movups
%xmm0
, 2(%rsp
)
846 call __fcntl64_nocancel
852 call __close_nocancel
855 .size __libc_pututline, .-__libc_pututline
857 .globl __libc_endutent
858 .hidden __libc_endutent
859 .type __libc_endutent, @function
861 movl file_fd
(%rip
), %edi
865 call __close_nocancel
866 movl $
-1, file_fd
(%rip
)
873 .size __libc_endutent, .-__libc_endutent
875 .globl __libc_updwtmp
876 .hidden __libc_updwtmp
877 .type __libc_updwtmp, @function
900 movabsq $
-6148914691236517205, %rdx
904 leaq
(%rdx
,%rdx
,2), %rax
924 call __write_nocancel
938 movups
%xmm0
, 2(%rsp
)
941 call __fcntl64_nocancel
943 call __close_nocancel
970 call __close_nocancel
972 .size __libc_updwtmp, .-__libc_updwtmp
974 .comm last_entry,384,32
976 .comm file_offset,8,8
978 .comm file_writable,1,1
981 .type file_fd, @object
985 .hidden __ftruncate64
986 .hidden __write_nocancel
987 .hidden __close_nocancel
991 .hidden __open_nocancel
992 .hidden __libc_utmp_file_name
994 .hidden __pread64_nocancel
995 .hidden __fcntl64_nocancel