3 .type check_add_mapping, @function
23 lock cmpxchgl
%edx
, __sem_mappings_lock
(%rip
)
39 leaq __sem_search
(%rip
), %rdx
40 leaq __sem_mappings
(%rip
), %rsi
60 # 124 "../sysdeps/pthread/sem_open.c" 1
61 xchgl
%eax
, __sem_mappings_lock
(%rip
)
82 movq errno@gottpoff
(%rip
), %r13
85 movl
%fs:0(%r13), %r14d
87 movl
%r14d
, %fs:0(%r13)
111 movq
-192(%rbp
), %rax
118 movq
-184(%rbp
), %rax
126 leaq __sem_search
(%rip
), %rdx
127 leaq __sem_mappings
(%rip
), %rsi
151 leaq __sem_mappings_lock
(%rip
), %rdi
154 # 124 "../sysdeps/pthread/sem_open.c" 1
163 leaq __sem_mappings_lock
(%rip
), %rdi
164 call __lll_lock_wait_private@PLT
189 .size check_add_mapping, .-check_add_mapping
192 .type __sem_search, @function
210 .size __sem_search, .-__sem_search
213 .type sem_open, @function
224 leaq
-160(%rbp
), %rdi
228 call __shm_directory@PLT
253 movq
-160(%rbp
), %rdx
255 leaq
34(%rdx
,%r12), %rax
261 movq
%rax
, -200(%rbp
)
266 movl $
778921331, (%rax
)
268 leaq
-164(%rbp
), %rsi
270 call __pthread_setcancelstate@PLT
277 movq
-200(%rbp
), %rdi
287 movq errno@gottpoff
(%rip
), %r11
293 movl
-164(%rbp
), %edi
295 call __pthread_setcancelstate@PLT
302 movq
%rax
, -144(%rbp
)
305 movq
%rax
, -136(%rbp
)
307 movl
%ecx
, -188(%rbp
)
310 movq errno@gottpoff
(%rip
), %rax
318 movq errno@gottpoff
(%rip
), %rax
338 movl
%eax
, -184(%rbp
)
339 call check_add_mapping
340 movq errno@gottpoff
(%rip
), %r11
341 movl
-184(%rbp
), %r10d
349 movl
%fs:(%r11), %ebx
350 movq
%r11, -184(%rbp
)
351 call __libc_close@PLT
352 movq
-184(%rbp
), %r11
353 movl
%ebx
, %fs:(%r11)
358 movq
-160(%rbp
), %rdx
359 movq
%rax
, -128(%rbp
)
362 movq $
128, -120(%rbp
)
364 movaps
%xmm0
, -112(%rbp
)
370 movq
%rax
, -184(%rbp
)
383 movq
-184(%rbp
), %rdi
385 movl $
1482184792, (%r14)
391 movl
-188(%rbp
), %edx
392 movq
-184(%rbp
), %rdi
398 movq errno@gottpoff
(%rip
), %r11
400 leaq
-128(%rbp
), %r14
411 movq
%r11, -208(%rbp
)
412 movl
%r10d
, -188(%rbp
)
413 call __libc_write@PLT
415 movl
-188(%rbp
), %r10d
416 movq
-208(%rbp
), %r11
426 movq
%r11, -208(%rbp
)
427 movl
%r10d
, -188(%rbp
)
431 movl
-188(%rbp
), %r10d
432 movq
-208(%rbp
), %r11
434 movq
-200(%rbp
), %rsi
435 movq
-184(%rbp
), %rdi
436 movq
%r11, -208(%rbp
)
437 movl
%r10d
, -188(%rbp
)
440 movl
-188(%rbp
), %r10d
441 movq
-208(%rbp
), %r11
447 movl
-188(%rbp
), %r10d
448 movq
-208(%rbp
), %r11
451 movq
%r11, -208(%rbp
)
452 movl
%r10d
, -188(%rbp
)
453 movq
-184(%rbp
), %rdi
457 movl
-188(%rbp
), %r10d
458 movq
-208(%rbp
), %r11
463 movq errno@gottpoff
(%rip
), %rax
468 movq
%r11, -200(%rbp
)
469 movl
%r10d
, -188(%rbp
)
471 movq
-184(%rbp
), %rdi
474 movl
-188(%rbp
), %r10d
475 movq
-200(%rbp
), %r11
481 movq
%r11, -200(%rbp
)
488 movq
%r11, -200(%rbp
)
489 movl
%r10d
, -188(%rbp
)
490 call check_add_mapping
491 movq
-184(%rbp
), %rdi
494 movl
-188(%rbp
), %r10d
495 movq
-200(%rbp
), %r11
499 movl
-188(%rbp
), %r10d
501 call __libc_close@PLT
503 .size sem_open, .-sem_open
504 .globl __sem_mappings_lock
507 .type __sem_mappings_lock, @object
508 .size __sem_mappings_lock, 4
511 .comm __sem_mappings,8,8
512 .weak __pthread_setcancelstate