3 .section __libc_freeres_ptrs, "aw", %nobits
5 .section __libc_freeres_ptrs, "aw", %nobits
7 .section .rodata.str1.1,"aMS",@progbits,1
15 .section .text.compat,"ax",@progbits
17 .type getttyname, @function
38 cmpq
%r15, namelen.8898
(%rip
)
76 movq getttyname_name
(%rip
), %r8
79 leaq
(%r15,%rcx
), %rax
80 cmpq namelen.8898
(%rip
), %rax
87 leaq
(%rax
,%rax
), %rdi
88 movq
%rdi
, namelen.8898
(%rip
)
91 movq
%rax
, getttyname_name
(%rip
)
104 leaq
(%r8,%r15), %rdi
130 movq __libc_errno@gottpoff
(%rip
), %rax
132 movq getttyname_name
(%rip
), %r14
133 movl
%ebx
, %fs:(%rax
)
141 movq __libc_errno@gottpoff
(%rip
), %rax
143 movl
%ebx
, %fs:(%rax
)
159 movq getttyname_name
(%rip
), %rdi
173 .size getttyname, .-getttyname
174 .section .rodata.str1.1
176 .string "(unreachable)"
184 .type ttyname, @function
193 movq __libc_errno@gottpoff
(%rip
), %rbp
196 movl
%fs:0(%rbp
), %r14d
207 movabsq $
7310238724270485551, %rax
214 movl $
1714382444, 24(%rsp
)
218 movq buflen.8911
(%rip
), %rdx
222 movq ttyname_buf
(%rip
), %rax
229 cmpq buflen.8911
(%rip
), %rax
233 movq ttyname_buf
(%rip
), %rcx
235 movabsq $
7521962890978293032, %rax
246 leaq
.LC4(%rip), %rdi
257 movl
%r14d
, %fs:0(%rbp
)
261 leaq
.LC5(%rip), %rdi
270 leaq
.LC5(%rip), %rdi
283 leaq
.LC4(%rip), %rdi
312 movl $
19, %fs:0(%rbp
)
329 movq $
4095, buflen.8911
(%rip
)
332 movq
%rax
, ttyname_buf
(%rip
)
335 movq $
0, buflen.8911
(%rip
)
358 movq ttyname_buf
(%rip
), %rax
363 cmpl $
1701601889, 8(%rcx
)
380 .size ttyname, .-ttyname
382 .comm namelen.8898,8,8
384 .comm buflen.8911,8,8
385 .section __libc_freeres_ptrs
388 .type ttyname_buf, @object
393 .type getttyname_name, @object
394 .size getttyname_name, 8