// File: /workspace/github_c_makefile_star2_O3/wahern[P]cqueues/src/lib/dns.c
// Function: dns_nssconf_dump
int dns_nssconf_dump(struct dns_resolv_conf *resconf, FILE *fp) {
	struct dns_nssconf_source src;
	dns_nssconf_i i = 0;

	fputs("hosts:", fp);

	while (dns_nssconf_next(&src, resconf, &i)) {
		unsigned n = 0;

		fprintf(fp, " %s", dns_nssconf_k2s(src.source));

		dns_nssconf_dump_status(DNS_NSSCONF_SUCCESS, src.success, &n, fp);
		dns_nssconf_dump_status(DNS_NSSCONF_NOTFOUND, src.notfound, &n, fp);
		dns_nssconf_dump_status(DNS_NSSCONF_UNAVAIL, src.unavail, &n, fp);
		dns_nssconf_dump_status(DNS_NSSCONF_TRYAGAIN, src.tryagain, &n, fp);

		if (n)
			fputc(']', fp);
	}

	fputc('\n', fp);

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xca86(%rip), %rdi      # 0x3901d
callq 0xfea0
movl $0x6, %ebp
leaq 0xc178(%rip), %r13      # 0x38720
leaq 0xca5c(%rip), %rdi      # 0x3900b
leaq 0x14(%rsp), %r8
leaq 0xa5a9(%rip), %r9       # 0x36b64
leaq 0x10(%rsp), %r10
leaq 0xc(%rsp), %r11
leaq 0x8(%rsp), %r15
xorl %r12d, %r12d
movl $0x7, 0x14(%rsp)
movl %ebp, 0x10(%rsp)
movl %ebp, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %r12d, %ecx
cmpl $0x25, %r12d
movl $0x24, %edx
cmovael %r12d, %edx
decq %rcx
negq %rdx
leaq (%rdx,%rcx), %rax
cmpq $-0x1, %rax
je 0x2c78a
movsbq 0x581(%r14,%rcx), %rsi
testq %rsi, %rsi
je 0x2c78a
xorl %eax, %eax
cmpb $0x6d, %sil
ja 0x2c624
movsbl (%rsi,%r13), %eax
leal -0x8(%rax), %esi
incq %rcx
incl %r12d
cmpl $0x2, %esi
ja 0x2c5f7
cmpq $0x22, %rcx
ja 0x2c6d4
cmpl $0x23, %r12d
je 0x2c6b7
movl %r12d, %ecx
movb 0x580(%r14,%rcx), %sil
testb %sil, %sil
je 0x2c6b7
leal 0x1(%r12), %ecx
movsbq 0x580(%r14,%rcx), %rcx
testq %rcx, %rcx
je 0x2c6b7
xorl %edx, %edx
cmpb $0x6d, %sil
ja 0x2c676
movsbq %sil, %rdx
movsbl (%rdx,%r13), %edx
cmpb $0x6d, %cl
ja 0x2c6b7
movsbl (%rcx,%r13), %ecx
movl %ecx, %esi
andl $-0x2, %esi
cmpl $0x6, %esi
jne 0x2c6b7
addl $-0x2, %edx
cmpl $0x3, %edx
ja 0x2c6b7
movslq (%r9,%rdx,4), %rsi
addq %r9, %rsi
movq %r8, %rdx
jmpq *%rsi
movq %r10, %rdx
jmp 0x2c6ab
movq %r11, %rdx
jmp 0x2c6ab
movq %r15, %rdx
movl %ecx, (%rdx)
addl $0x2, %r12d
cmpl $0x24, %r12d
jb 0x2c63c
testl %eax, %eax
je 0x2c78a
movl $0x0, 0x4(%rsp)
leal -0xb(%rax), %ecx
movq %rdi, %rdx
cmpl $-0x9, %ecx
jae 0x2c6dc
jmp 0x2c6e9
movl $0x0, 0x4(%rsp)
movl %eax, %eax
leaq 0x1a50b(%rip), %rcx     # 0x46bf0
movq (%rcx,%rax,8), %rdx
movq %rbx, %rdi
leaq 0x9859(%rip), %rsi      # 0x35f4c
xorl %eax, %eax
callq 0x102e0
movl 0x14(%rsp), %esi
movl $0x2, %edi
leaq 0x4(%rsp), %r15
movq %r15, %rdx
movq %rbx, %rcx
callq 0x2c7a8
movl 0x10(%rsp), %esi
movl $0x3, %edi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x2c7a8
movl 0xc(%rsp), %esi
movl $0x4, %edi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x2c7a8
movl 0x8(%rsp), %esi
movl $0x5, %edi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x2c7a8
cmpl $0x0, 0x4(%rsp)
je 0x2c763
movl $0x5d, %edi
movq %rbx, %rsi
callq 0x10000
leaq 0xc8a1(%rip), %rdi      # 0x3900b
leaq 0x14(%rsp), %r8
leaq 0xa3ee(%rip), %r9       # 0x36b64
leaq 0x10(%rsp), %r10
leaq 0xc(%rsp), %r11
leaq 0x8(%rsp), %r15
jmp 0x2c5cd
movl $0xa, %edi
movq %rbx, %rsi
callq 0x10000
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq