// File: /workspace/github_c_makefile_star2_O0/wahern[P]cqueues/src/lib/dns.c
// Function: dns_p_dump3
static void dns_p_dump3(struct dns_packet *P, struct dns_rr_i *I, FILE *fp) {
	enum dns_section section;
	struct dns_rr rr;
	int error;
	union dns_any any;
	char pretty[sizeof any * 2];
	size_t len;

	fputs(";; [HEADER]\n", fp);
	fprintf(fp, ";;    qid : %d\n", ntohs(dns_header(P)->qid));
	fprintf(fp, ";;     qr : %s(%d)\n", (dns_header(P)->qr)? "RESPONSE" : "QUERY", dns_header(P)->qr);
	fprintf(fp, ";; opcode : %s(%d)\n", dns_stropcode(dns_header(P)->opcode), dns_header(P)->opcode);
	fprintf(fp, ";;     aa : %s(%d)\n", (dns_header(P)->aa)? "AUTHORITATIVE" : "NON-AUTHORITATIVE", dns_header(P)->aa);
	fprintf(fp, ";;     tc : %s(%d)\n", (dns_header(P)->tc)? "TRUNCATED" : "NOT-TRUNCATED", dns_header(P)->tc);
	fprintf(fp, ";;     rd : %s(%d)\n", (dns_header(P)->rd)? "RECURSION-DESIRED" : "RECURSION-NOT-DESIRED", dns_header(P)->rd);
	fprintf(fp, ";;     ra : %s(%d)\n", (dns_header(P)->ra)? "RECURSION-ALLOWED" : "RECURSION-NOT-ALLOWED", dns_header(P)->ra);
	fprintf(fp, ";;  rcode : %s(%d)\n", dns_strrcode(dns_p_rcode(P)), dns_p_rcode(P));

	section	= 0;

	while (dns_rr_grep(&rr, 1, I, P, &error)) {
		if (section != rr.section)
			fprintf(fp, "\n;; [%s:%d]\n", dns_strsection(rr.section), dns_p_count(P, rr.section));

		if ((len = dns_rr_print(pretty, sizeof pretty, &rr, P, &error)))
			fprintf(fp, "%s\n", pretty);

		section	= rr.section;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xce0, %rsp            # imm = 0xCE0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rsi
leaq 0x1a381(%rip), %rdi     # 0x4d743
callq 0xffb0
movq -0x18(%rbp), %rax
movq %rax, -0xcc8(%rbp)
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
andq $0xffff, %rax           # imm = 0xFFFF
movzwl %ax, %edi
callq 0x10a80
movq -0xcc8(%rbp), %rdi
movzwl %ax, %edx
leaq 0x1a357(%rip), %rsi     # 0x4d750
movb $0x0, %al
callq 0x10440
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x17, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x15f0c(%rip), %rdx     # 0x49329
leaq 0x1a350(%rip), %rax     # 0x4d774
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x17, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a31c(%rip), %rsi     # 0x4d760
movb $0x0, %al
callq 0x10440
movq -0x18(%rbp), %rax
movq %rax, -0xcc0(%rbp)
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x13, %rax
andq $0xf, %rax
movl %eax, %edi
callq 0xf5f0
movq -0xcc0(%rbp), %rdi
movq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x13, %rax
andq $0xf, %rax
movl %eax, %ecx
leaq 0x1a2ed(%rip), %rsi     # 0x4d77d
movb $0x0, %al
callq 0x10440
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x12, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a2f1(%rip), %rdx     # 0x4d7a5
leaq 0x1a2ee(%rip), %rax     # 0x4d7a9
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x12, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a2b6(%rip), %rsi     # 0x4d791
movb $0x0, %al
callq 0x10440
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x11, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a2cc(%rip), %rdx     # 0x4d7cb
leaq 0x1a2c9(%rip), %rax     # 0x4d7cf
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x11, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a291(%rip), %rsi     # 0x4d7b7
movb $0x0, %al
callq 0x10440
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x10, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a2b5(%rip), %rdx     # 0x4d7ff
leaq 0x1a29c(%rip), %rax     # 0x4d7ed
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x10, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a268(%rip), %rsi     # 0x4d7d9
movb $0x0, %al
callq 0x10440
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a2a6(%rip), %rdx     # 0x4d83b
leaq 0x1a28d(%rip), %rax     # 0x4d829
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x5c(%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
movl %eax, %ecx
leaq 0x1a259(%rip), %rsi     # 0x4d815
movb $0x0, %al
callq 0x10440
movq -0x18(%rbp), %rax
movq %rax, -0xcb8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x105e0
movl %eax, %edi
callq 0xf8b0
movq %rax, -0xcb0(%rbp)
movq -0x8(%rbp), %rdi
callq 0x105e0
movq -0xcb8(%rbp), %rdi
movq -0xcb0(%rbp), %rdx
movl %eax, %ecx
leaq 0x1a24c(%rip), %rsi     # 0x4d851
movb $0x0, %al
callq 0x10440
movl $0x0, -0x1c(%rbp)
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rcx
leaq -0x34(%rbp), %rdi
movl $0x1, %esi
leaq -0x38(%rbp), %r8
callq 0xfe80
cmpl $0x0, %eax
je 0x336fb
movl -0x1c(%rbp), %eax
cmpl -0x34(%rbp), %eax
je 0x336ad
movq -0x18(%rbp), %rax
movq %rax, -0xcd8(%rbp)
movl -0x34(%rbp), %eax
movl %eax, -0xcdc(%rbp)
leaq -0xca8(%rbp), %rdi
xorl %esi, %esi
movl $0x30, %edx
callq 0xf7d0
movl -0xcdc(%rbp), %edi
leaq -0xca8(%rbp), %rsi
movl $0x30, %edx
callq 0xf1f0
movq %rax, -0xcd0(%rbp)
movq -0x8(%rbp), %rdi
movl -0x34(%rbp), %esi
callq 0x10950
movq -0xcd8(%rbp), %rdi
movq -0xcd0(%rbp), %rdx
movl %eax, %ecx
leaq 0x1a1bf(%rip), %rsi     # 0x4d865
movb $0x0, %al
callq 0x10440
leaq -0xc70(%rbp), %rdi
movq -0x8(%rbp), %rcx
movl $0x820, %esi            # imm = 0x820
leaq -0x34(%rbp), %rdx
leaq -0x38(%rbp), %r8
callq 0x10800
movq %rax, -0xc78(%rbp)
cmpq $0x0, %rax
je 0x336f0
movq -0x18(%rbp), %rdi
leaq -0xc70(%rbp), %rdx
leaq 0x19ea6(%rip), %rsi     # 0x4d58f
movb $0x0, %al
callq 0x10440
movl -0x34(%rbp), %eax
movl %eax, -0x1c(%rbp)
jmp 0x33613
addq $0xce0, %rsp            # imm = 0xCE0
popq %rbp
retq
nopw %cs:(%rax,%rax)