3 .section __libc_freeres_ptrs, "aw", %nobits
5 .section .rodata.str1.8,"aMS",@progbits,1
8 .string "%s: line %d: cannot specify more than %d trim domains"
9 .section .rodata.str1.1,"aMS",@progbits,1
12 .section .rodata.str1.8
15 .string "%s: line %d: list delimiter not followed by domain"
19 .type arg_trimdomain_list, @function
31 leaq _res_hconf
(%rip
), %rbp
32 movabsq $
864708720641179648, %r12
40 movq __libc_tsd_CTYPE_B@gottpoff
(%rip
), %rax
44 testb $
32, 1(%rax
,%rcx
,2)
68 testb $
32, 1(%rax
,%rsi
,2)
74 movslq
24+_res_hconf
(%rip
), %r15
79 movl
%eax
, 24+_res_hconf
(%rip
)
81 movq
%rax
, 32(%rbp
,%r15,8)
82 movq __libc_tsd_CTYPE_B@gottpoff
(%rip
), %rax
85 testb $
32, 1(%rsi
,%rax
,2)
93 testb $
32, 1(%rsi
,%rax
,2)
123 testb $
32, 1(%rsi
,%rdx
,2)
131 testb $
32, 1(%rsi
,%rdx
,2)
140 leaq
.LC2(%rip), %rsi
141 leaq _libc_intl_domainname
(%rip
), %rdi
166 movslq
24+_res_hconf
(%rip
), %r15
171 leaq
.LC0(%rip), %rsi
172 leaq _libc_intl_domainname
(%rip
), %rdi
186 leaq
.LC1(%rip), %rsi
199 .size arg_trimdomain_list, .-arg_trimdomain_list
200 .section .rodata.str1.1
205 .section .rodata.str1.8
208 .string "%s: line %d: expected `on' or `off', found `%s'\n"
211 .type arg_bool, @function
219 leaq
.LC3(%rip), %rsi
226 call __strncasecmp@PLT
229 leaq
.LC4(%rip), %rsi
232 call __strncasecmp@PLT
236 andl
%ebp
, 64+_res_hconf
(%rip
)
248 orl
%ebp
, 64+_res_hconf
(%rip
)
259 leaq
.LC5(%rip), %rsi
260 leaq _libc_intl_domainname
(%rip
), %rdi
278 leaq
.LC1(%rip), %rsi
287 .size arg_bool, .-arg_bool
288 .section .rodata.str1.1
290 .string "/etc/host.conf"
292 .string "RESOLV_HOST_CONF"
295 .section .rodata.str1.8
298 .string "%s: line %d: ignoring trailing garbage `%s'\n"
299 .section .rodata.str1.1
301 .string "RESOLV_MULTI"
303 .string "RESOLV_REORDER"
305 .string "RESOLV_ADD_TRIM_DOMAINS"
307 .string "RESOLV_OVERRIDE_TRIM_DOMAINS"
308 .section .rodata.str1.8
311 .string "%s: line %d: bad command `%s'\n"
314 .type do_init, @function
321 leaq
.LC7(%rip), %rdi
326 movq $
0, 64+_res_hconf
(%rip
)
327 movups
%xmm0
, _res_hconf
(%rip
)
328 movups
%xmm0
, 16+_res_hconf
(%rip
)
329 movups
%xmm0
, 32+_res_hconf
(%rip
)
330 movups
%xmm0
, 48+_res_hconf
(%rip
)
334 leaq
.LC6(%rip), %rax
336 leaq
.LC8(%rip), %rsi
339 call _IO_new_fopen@PLT
354 call __fgets_unlocked
362 movq __libc_tsd_CTYPE_B@gottpoff
(%rip
), %rax
364 movsbq
48(%rsp
), %rdx
365 movq
%fs:(%rax
), %r13
367 testb $
32, 1(%r13,%rdx
,2)
374 testb $
32, 1(%r13,%rdx
,2)
387 testb $
32, 1(%r13,%rdx
,2)
411 testb $
32, 1(%r13,%rdx
,2)
422 call __strncasecmp@PLT
429 leal
-16843009(%rcx
), %eax
432 andl $
-2139062144, %eax
447 leaq
64+cmd
(%rip
), %rax
451 leaq
.LC14(%rip), %rsi
454 leaq _libc_intl_domainname
(%rip
), %rdi
466 leaq
.LC1(%rip), %rsi
479 testb $
32, 1(%r13,%rax
,2)
481 movzbl
11(%r14), %eax
498 movq __libc_tsd_CTYPE_B@gottpoff
(%rip
), %rdi
500 movq
%fs:(%rdi
), %rcx
501 testb $
32, 1(%rcx
,%rdx
,2)
511 testb $
32, 1(%rcx
,%rdx
,2)
517 leaq
.LC9(%rip), %rsi
523 call _IO_new_fclose@PLT
525 leaq
.LC10(%rip), %rdi
529 leaq
.LC10(%rip), %rdi
535 leaq
.LC11(%rip), %rdi
539 leaq
.LC11(%rip), %rdi
545 leaq
.LC12(%rip), %rdi
549 leaq
.LC12(%rip), %rdi
552 call arg_trimdomain_list
554 leaq
.LC13(%rip), %rdi
558 leaq
.LC13(%rip), %rdi
561 movl $
0, 24+_res_hconf
(%rip
)
562 call arg_trimdomain_list
564 movl $
1, _res_hconf
(%rip
)
579 call arg_trimdomain_list
590 .size do_init, .-do_init
592 .globl _res_hconf_init
593 .hidden _res_hconf_init
594 .type _res_hconf_init, @function
597 cmpq $
0, __pthread_once@GOTPCREL
(%rip
)
599 movl once.14257
(%rip
), %eax
606 leaq do_init
(%rip
), %rsi
607 leaq once.14257
(%rip
), %rdi
608 jmp __pthread_once@PLT
614 orl $
2, once.14257
(%rip
)
618 .size _res_hconf_init, .-_res_hconf_init
619 .section .rodata.str1.1
621 .string "res_hconf.c"
623 .string "ifaddrs != NULL"
626 .globl _res_hconf_reorder_addrs
627 .type _res_hconf_reorder_addrs, @function
628 _res_hconf_reorder_addrs
:
630 testb $
8, 64+_res_hconf
(%rip
)
647 movl num_ifs.14272
(%rip
), %ebp
655 movq ifaddrs
(%rip
), %rax
696 movq __libc_errno@gottpoff
(%rip
), %rax
700 movl
%fs:(%rax
), %r13d
706 # 396 "res_hconf.c" 1
714 # 47 "../sysdeps/unix/sysv/linux/x86/lowlevellock.h" 1
715 cmpxchgl
%edx
, lock.14274
(%rip
)
719 movl num_ifs.14272
(%rip
), %ebp
724 # 469 "res_hconf.c" 1
730 subl $
1, lock.14274
(%rip
)
747 movslq
20(%rsp
), %rax
748 leaq
(%rax
,%rax
,2), %rdi
752 movq
%rax
, ifaddrs
(%rip
)
769 leaq
(%rdx
,%rdx
,2), %rcx
788 movq ifaddrs
(%rip
), %rax
793 movl
%edx
, 8(%rax
,%rcx
)
803 movq
%rax
, ifaddrs
(%rip
)
810 movq __libc_errno@gottpoff
(%rip
), %rsi
811 movl
%r13d
, %fs:(%rsi
)
812 movl
%eax
, num_ifs.14272
(%rip
)
817 lock cmpxchgl
%edx
, lock.14274
(%rip
)
819 leaq lock.14274
(%rip
), %rdi
820 call __lll_lock_wait_private
825 # 469 "res_hconf.c" 1
826 xchgl
%eax
, lock.14274
(%rip
)
834 leaq lock.14274
(%rip
), %rdi
837 # 469 "res_hconf.c" 1
851 leaq __PRETTY_FUNCTION__.14298
(%rip
), %rcx
852 leaq
.LC15(%rip), %rsi
853 leaq
.LC16(%rip), %rdi
857 .size _res_hconf_reorder_addrs, .-_res_hconf_reorder_addrs
859 .globl _res_hconf_trim_domain
860 .type _res_hconf_trim_domain, @function
861 _res_hconf_trim_domain
:
872 movl
24+_res_hconf
(%rip
), %r13d
875 leaq
32+_res_hconf
(%rip
), %r14
881 movq
(%r14,%rbx
,8), %r15
920 .size _res_hconf_trim_domain, .-_res_hconf_trim_domain
922 .globl _res_hconf_trim_domains
923 .type _res_hconf_trim_domains, @function
924 _res_hconf_trim_domains
:
926 movl
24+_res_hconf
(%rip
), %eax
938 call _res_hconf_trim_domain
947 call _res_hconf_trim_domain
949 movq
(%rax
,%rbx
), %rdi
959 .size _res_hconf_trim_domains, .-_res_hconf_trim_domains
960 .section .rodata.str1.16,"aMS",@progbits,1
962 .type __PRETTY_FUNCTION__.14298, @object
963 .size __PRETTY_FUNCTION__.14298, 25
964 __PRETTY_FUNCTION__.14298
:
965 .string "_res_hconf_reorder_addrs"
970 .type num_ifs.14272, @object
971 .size num_ifs.14272, 4
976 .section __libc_freeres_ptrs
979 .type ifaddrs, @object
983 .comm _res_hconf,72,32
1005 .weak __pthread_once
1006 .hidden __strcasecmp
1008 .hidden __assert_fail
1009 .hidden __lll_lock_wait_private
1014 .hidden __fgets_unlocked
1019 .hidden _libc_intl_domainname