clarify the purpose of this project
[nyanglibc.git] / argp / argp-xinl.s
blob4bb4a3367ecc11ccedb5af28ad72684e30669b5d
1 .text
2 .p2align 4,,15
3 .globl __argp_usage
4 .type __argp_usage, @function
5 __argp_usage:
6 movq stderr(%rip), %rsi
7 movl $262, %edx
8 jmp __argp_state_help
9 .size __argp_usage, .-__argp_usage
10 .weak argp_usage
11 .set argp_usage,__argp_usage
12 .p2align 4,,15
13 .globl __option_is_short
14 .type __option_is_short, @function
15 __option_is_short:
16 movl 24(%rdi), %eax
17 andl $8, %eax
18 jne .L5
19 movslq 8(%rdi), %rdx
20 leal -1(%rdx), %ecx
21 cmpl $254, %ecx
22 ja .L3
23 movq __libc_tsd_CTYPE_B@gottpoff(%rip), %rax
24 movq %fs:(%rax), %rax
25 movzwl (%rax,%rdx,2), %eax
26 shrw $14, %ax
27 andl $1, %eax
28 ret
29 .p2align 4,,10
30 .p2align 3
31 .L5:
32 xorl %eax, %eax
33 .L3:
34 rep ret
35 .size __option_is_short, .-__option_is_short
36 .weak _option_is_short
37 .set _option_is_short,__option_is_short
38 .p2align 4,,15
39 .globl __option_is_end
40 .type __option_is_end, @function
41 __option_is_end:
42 movl 8(%rdi), %ecx
43 xorl %eax, %eax
44 testl %ecx, %ecx
45 jne .L6
46 cmpq $0, (%rdi)
47 je .L11
48 .L6:
49 rep ret
50 .p2align 4,,10
51 .p2align 3
52 .L11:
53 cmpq $0, 32(%rdi)
54 jne .L6
55 movl 40(%rdi), %edx
56 xorl %eax, %eax
57 testl %edx, %edx
58 sete %al
59 ret
60 .size __option_is_end, .-__option_is_end
61 .weak _option_is_end
62 .set _option_is_end,__option_is_end
63 .hidden __argp_state_help