2 .section .rodata.str1.1,"aMS",@progbits,1
13 .type initshells, @function
20 movq shells
(%rip
), %rdi
22 movq strings
(%rip
), %rdi
27 movq $
0, strings
(%rip
)
28 call _IO_new_fopen@PLT
40 movabsq $
6917529027641081853, %rax
45 call _IO_new_fclose@PLT
48 movq
%rax
, okshells
(%rip
)
50 movq
%rax
, 8+okshells
(%rip
)
51 leaq okshells
(%rip
), %rax
67 movq
%rax
, strings
(%rip
)
70 movabsq $
6148914691236517206, %rdx
78 movq
%rax
, shells
(%rip
)
110 movq strings
(%rip
), %rax
122 movq __libc_tsd_CTYPE_B@gottpoff
(%rip
), %rdx
126 movq
%fs:(%rdx
), %rcx
128 testb $
32, 1(%rcx
,%rdi
,2)
150 testb $
32, 1(%rcx
,%rdx
,2)
156 movq strings
(%rip
), %rax
163 call _IO_new_fclose@PLT
164 movq shells
(%rip
), %rax
169 movq $
0, strings
(%rip
)
171 .size initshells, .-initshells
174 .type getusershell, @function
176 movq curshell
(%rip
), %rdx
183 movq
%rdx
, curshell
(%rip
)
195 movq
%rax
, curshell
(%rip
)
200 movq
%rdx
, curshell
(%rip
)
204 .size getusershell, .-getusershell
207 .type endusershell, @function
210 movq shells
(%rip
), %rdi
212 movq strings
(%rip
), %rdi
213 movq $
0, shells
(%rip
)
215 movq $
0, strings
(%rip
)
216 movq $
0, curshell
(%rip
)
219 .size endusershell, .-endusershell
222 .type setusershell, @function
226 movq
%rax
, curshell
(%rip
)
229 .size setusershell, .-setusershell
238 .hidden fgets_unlocked