clarify the purpose of this project
[nyanglibc.git] / rt / mq_timedsend.shared.s
blob95f56cd68af32cb9b967b50a0fe64f2720cd3e04
1 .text
2 .p2align 4,,15
3 .globl __GI___mq_timedsend
4 .hidden __GI___mq_timedsend
5 .type __GI___mq_timedsend, @function
6 __GI___mq_timedsend:
7 movl %ecx, %r10d
8 #APP
9 # 32 "../sysdeps/unix/sysv/linux/mq_timedsend.c" 1
10 movl %fs:24,%eax
11 # 0 "" 2
12 #NO_APP
13 testl %eax, %eax
14 jne .L2
15 movl $242, %eax
16 #APP
17 # 32 "../sysdeps/unix/sysv/linux/mq_timedsend.c" 1
18 syscall
20 # 0 "" 2
21 #NO_APP
22 cmpq $-4096, %rax
23 ja .L11
24 rep ret
25 .p2align 4,,10
26 .p2align 3
27 .L2:
28 pushq %r14
29 pushq %r13
30 movq %r8, %r14
31 pushq %r12
32 pushq %rbp
33 movl %ecx, %r13d
34 pushq %rbx
35 movq %rdx, %r12
36 movq %rsi, %rbp
37 movl %edi, %ebx
38 subq $16, %rsp
39 call __librt_enable_asynccancel
40 movq %r14, %r8
41 movl %eax, %r9d
42 movl %r13d, %r10d
43 movq %r12, %rdx
44 movq %rbp, %rsi
45 movl %ebx, %edi
46 movl $242, %eax
47 #APP
48 # 32 "../sysdeps/unix/sysv/linux/mq_timedsend.c" 1
49 syscall
51 # 0 "" 2
52 #NO_APP
53 cmpq $-4096, %rax
54 ja .L12
55 .L6:
56 movl %r9d, %edi
57 movl %eax, 12(%rsp)
58 call __librt_disable_asynccancel
59 movl 12(%rsp), %eax
60 addq $16, %rsp
61 popq %rbx
62 popq %rbp
63 popq %r12
64 popq %r13
65 popq %r14
66 ret
67 .p2align 4,,10
68 .p2align 3
69 .L11:
70 movq errno@gottpoff(%rip), %rdx
71 negl %eax
72 movl %eax, %fs:(%rdx)
73 movl $-1, %eax
74 ret
75 .L12:
76 movq errno@gottpoff(%rip), %rdx
77 negl %eax
78 movl %eax, %fs:(%rdx)
79 movl $-1, %eax
80 jmp .L6
81 .size __GI___mq_timedsend, .-__GI___mq_timedsend
82 .globl __mq_timedsend
83 .set __mq_timedsend,__GI___mq_timedsend
84 .weak __GI_mq_timedsend
85 .hidden __GI_mq_timedsend
86 .set __GI_mq_timedsend,__mq_timedsend
87 .weak mq_timedsend
88 .set mq_timedsend,__GI_mq_timedsend
89 .hidden __librt_disable_asynccancel
90 .hidden __librt_enable_asynccancel