3 .section __libc_freeres_ptrs, "aw", %nobits
8 .type fgetsgent, @function
21 call _IO_new_fgetpos@PLT
34 # 47 "../sysdeps/unix/sysv/linux/x86/lowlevellock.h" 1
35 cmpxchgl
%edx
, lock
(%rip
)
39 movq buffer
(%rip
), %rdx
43 movq __libc_errno@gottpoff
(%rip
), %r13
51 movq
%rax
, buffer
(%rip
)
52 call _IO_new_fsetpos@PLT
55 movq buffer
(%rip
), %rdx
59 movq buffer_size.8526
(%rip
), %rcx
60 leaq resbuf.8527
(%rip
), %rsi
66 movq buffer_size.8526
(%rip
), %rax
67 movq buffer
(%rip
), %r14
70 movq
%rsi
, buffer_size.8526
(%rip
)
74 movl
%fs:0(%r13), %r15d
79 movl
%r15d
, %fs:0(%r13)
88 movl
%fs:0(%r13), %r8d
99 movl
%r8d
, %fs:0(%r13)
112 cmpq $
0, buffer
(%rip
)
119 movq $
1024, buffer_size.8526
(%rip
)
122 movq
%rax
, buffer
(%rip
)
128 xchgl
%eax
, lock
(%rip
)
136 leaq lock
(%rip
), %rdi
147 lock cmpxchgl
%edx
, lock
(%rip
)
149 leaq lock
(%rip
), %rdi
150 call __lll_lock_wait_private
156 .size fgetsgent, .-fgetsgent
158 .comm resbuf.8527,32,32
159 .local buffer_size.8526
160 .comm buffer_size.8526,8,8
161 .section __libc_freeres_ptrs
164 .type buffer, @object
170 .hidden __lll_lock_wait_private
171 .hidden __fgetsgent_r