2 .section .rodata.str1.8,"aMS",@progbits,1
5 .string "The futex facility returned an unexpected error code.\n"
8 .globl __pthread_rwlock_wrlock
9 .type __pthread_rwlock_wrlock, @function
10 __pthread_rwlock_wrlock
:
13 # 603 "pthread_rwlock_common.c" 1
29 lock cmpxchgl
%ecx
, (%rdi
)
48 lock cmpxchgl
%ecx
, (%rbx
)
54 # 947 "pthread_rwlock_common.c" 1
89 lock cmpxchgl
%esi
, (%rbx
)
118 lock cmpxchgl
%edx
, 0(%rbp
)
125 call __futex_abstimed_wait64@PLT
169 lock cmpxchgl
%edx
, (%r12)
177 call __futex_abstimed_wait64@PLT
195 orl $
-2147483648, %esi
196 lock cmpxchgl
%esi
, (%rdx
)
207 # 209 "../sysdeps/nptl/futex-internal.h" 1
219 leaq
.LC0(%rip), %rdi
220 call __libc_fatal@PLT
237 lock cmpxchgl
%ecx
, (%rbx
)
249 # 209 "../sysdeps/nptl/futex-internal.h" 1
261 movl $
2147483647, %edx
266 # 209 "../sysdeps/nptl/futex-internal.h" 1
300 lock addl $
1, 4(%rdi
)
309 leal
2147483647(%rax
), %edi
310 lock cmpxchgl
%edi
, (%rsi
)
317 lock subl $
1, 4(%rbx
)
341 cmpl $
-2147483647, %eax
345 lock cmpxchgl
%ecx
, (%rdx
)
347 cmpl $
-2147483647, %eax
356 .size __pthread_rwlock_wrlock, .-__pthread_rwlock_wrlock
357 .weak pthread_rwlock_wrlock
358 .set pthread_rwlock_wrlock,__pthread_rwlock_wrlock