// File: /workspace/github_c_makefile_star2_O0/GangZhuo[P]dohclient/src/channel_doh.c
// Function: print_all_answers
static void print_all_answers(channel_req_t* rq, ns_msg_t* best)
{
	channel_doh_t* c = rq->ctx;
	int i, flags;
	ns_msg_t* msg;
	logd("All answers: - %s\n", qr_key(&rq->qr));
	for (i = 0; i < rq->result_num; i++) {
		msg = rq->results[i];
		flags = get_nsmsg_flags(c, msg);
		logd("(%d):%s%s%s%s%s%s%s%s%s%s%s\n",
			i + 1,
			msg == best             ? " BEST"         : "",
			(flags & FLG_A)         ? " FLG_A"        : "",
			(flags & FLG_A_CHN)     ? " FLG_A_CHN"    : "",
			(flags & FLG_A_FRN)     ? " FLG_A_FRN"    : "",
			(flags & FLG_AAAA)      ? " FLG_AAAA"     : "",
			(flags & FLG_AAAA_CHN)  ? " FLG_AAAA_CHN" : "",
			(flags & FLG_AAAA_FRN)  ? " FLG_AAAA_FRN" : "",
			(flags & FLG_ECS)       ? " FLG_ECS"      : "",
			(flags & FLG_ECS_CHN)   ? " FLG_ECS_CHN"  : "",
			(flags & FLG_ECS_FRN)   ? " FLG_ECS_FRN"  : "",
			(flags & FLG_BLACKLIST) ? " FLG_BLACKLIST" : "");
		ns_print(msg);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, -0x30(%rbp)
movq %rsi, -0x38(%rbp)
movq -0x30(%rbp), %rax
movq 0x60(%rax), %rax
movq %rax, -0x40(%rbp)
movb $0x0, %al
callq 0x242d0
cmpl $0x7, (%rax)
jl 0x14cda
movq -0x30(%rbp), %rdi
addq $0x8, %rdi
callq 0x27950
movq %rax, %r9
movl $0x7, %edi
leaq 0x21943(%rip), %rsi     # 0x36603
leaq 0x2168e(%rip), %rdx     # 0x36355
movl $0x17d, %ecx            # imm = 0x17D
leaq 0x21aa7(%rip), %r8      # 0x3677a
movb $0x0, %al
callq 0x243b0
jmp 0x14cdc
movl $0x0, -0x44(%rbp)
movl -0x44(%rbp), %eax
movq -0x30(%rbp), %rcx
cmpl 0x70(%rcx), %eax
jge 0x14ef3
movq -0x30(%rbp), %rax
movq 0x68(%rax), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x50(%rbp)
movq -0x40(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x14b90
movl %eax, -0x48(%rbp)
movb $0x0, %al
callq 0x242d0
cmpl $0x7, (%rax)
jl 0x14eda
movl -0x44(%rbp), %r9d
addl $0x1, %r9d
movq -0x50(%rbp), %rdx
movq -0x38(%rbp), %rsi
leaq 0x227a8(%rip), %rax     # 0x374e6
leaq 0x2165a(%rip), %rcx     # 0x3639f
cmpq %rsi, %rdx
cmoveq %rcx, %rax
movl -0x48(%rbp), %esi
andl $0x2, %esi
leaq 0x2278d(%rip), %rcx     # 0x374e6
leaq 0x21645(%rip), %rdx     # 0x363a5
cmpl $0x0, %esi
cmovneq %rdx, %rcx
movq %rcx, -0x68(%rbp)
movl -0x48(%rbp), %esi
andl $0x4, %esi
leaq 0x2276e(%rip), %rcx     # 0x374e6
leaq 0x2162d(%rip), %rdx     # 0x363ac
cmpl $0x0, %esi
cmovneq %rdx, %rcx
movq %rcx, -0x60(%rbp)
movl -0x48(%rbp), %edx
andl $0x8, %edx
leaq 0x2274f(%rip), %r13     # 0x374e6
leaq 0x21619(%rip), %rcx     # 0x363b7
cmpl $0x0, %edx
cmovneq %rcx, %r13
movl -0x48(%rbp), %edx
andl $0x10, %edx
leaq 0x22734(%rip), %r12     # 0x374e6
leaq 0x21609(%rip), %rcx     # 0x363c2
cmpl $0x0, %edx
cmovneq %rcx, %r12
movl -0x48(%rbp), %edx
andl $0x20, %edx
leaq 0x22719(%rip), %r15     # 0x374e6
leaq 0x215f8(%rip), %rcx     # 0x363cc
cmpl $0x0, %edx
cmovneq %rcx, %r15
movl -0x48(%rbp), %edx
andl $0x40, %edx
leaq 0x226fe(%rip), %r14     # 0x374e6
leaq 0x215eb(%rip), %rcx     # 0x363da
cmpl $0x0, %edx
cmovneq %rcx, %r14
movl -0x48(%rbp), %edx
andl $0x200, %edx            # imm = 0x200
leaq 0x226e0(%rip), %rbx     # 0x374e6
leaq 0x215db(%rip), %rcx     # 0x363e8
cmpl $0x0, %edx
cmovneq %rcx, %rbx
movl -0x48(%rbp), %edx
andl $0x400, %edx            # imm = 0x400
leaq 0x226c2(%rip), %r11     # 0x374e6
leaq 0x215c6(%rip), %rcx     # 0x363f1
cmpl $0x0, %edx
cmovneq %rcx, %r11
movl -0x48(%rbp), %edx
andl $0x800, %edx            # imm = 0x800
leaq 0x226a4(%rip), %r10     # 0x374e6
leaq 0x215b5(%rip), %rcx     # 0x363fe
cmpl $0x0, %edx
cmovneq %rcx, %r10
movl -0x48(%rbp), %esi
andl $0x1000, %esi           # imm = 0x1000
leaq 0x22686(%rip), %rcx     # 0x374e6
leaq 0x215a4(%rip), %rdx     # 0x3640b
cmpl $0x0, %esi
cmovneq %rdx, %rcx
movq %rcx, -0x58(%rbp)
movl $0x7, %edi
leaq 0x21785(%rip), %rsi     # 0x36603
leaq 0x214d0(%rip), %rdx     # 0x36355
movl $0x18d, %ecx            # imm = 0x18D
leaq 0x218fc(%rip), %r8      # 0x3678d
movq %rax, (%rsp)
movq -0x68(%rbp), %rax
movq %rax, 0x8(%rsp)
movq -0x60(%rbp), %rax
movq %rax, 0x10(%rsp)
movq -0x58(%rbp), %rax
movq %r13, 0x18(%rsp)
movq %r12, 0x20(%rsp)
movq %r15, 0x28(%rsp)
movq %r14, 0x30(%rsp)
movq %rbx, 0x38(%rsp)
movq %r11, 0x40(%rsp)
movq %r10, 0x48(%rsp)
movq %rax, 0x50(%rsp)
movb $0x0, %al
callq 0x243b0
jmp 0x14edc
movq -0x50(%rbp), %rdi
callq 0x2a690
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x14ce3
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)