// File: /workspace/github_c_makefile_star2_O3/intel[P]pf-bb-config/daemon.c
// Function: cli_channel_event_processor
void cli_channel_event_processor(int fd, void *data)
{
	struct cmdReq *req = (struct cmdReq *)&cmdReq_g;
	struct cmdDef *cmd;

	if (data == NULL) {
		LOG(ERR, "event data is null");
		return;
	}
	if (!unix_channel_srv_rx(fd, req)) {
		if (get_cmd_by_id(req->id, &cmd) == -1)
			return;
		if (cmd->exec != NULL) {
			req->priv = data;
			cmd->exec(cmd, (void *)req);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
callq 0x19969
testq %rbx, %rbx
je 0x19526
leaq 0x1ab30(%rip), %r12     # 0x33ed0
movq 0x18(%r12), %r8
leaq 0x5206(%rip), %rdx      # 0x1e5b2
leaq 0x5229(%rip), %r9       # 0x1e5dc
movl $0x3, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl %ebp, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xd380
movl %eax, %r14d
callq 0x19969
testl %r14d, %r14d
js 0x19539
movq 0x18(%r12), %r8
subq $0x8, %rsp
leaq 0x5224(%rip), %rdx      # 0x1e614
leaq 0x51e5(%rip), %r9       # 0x1e5dc
movl $0x3, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
pushq %r14
callq 0x199b4
addq $0x10, %rsp
leaq 0x21663(%rip), %rsi     # 0x3aa78
movl $0x20, %edx
movl %r14d, %edi
xorl %ecx, %ecx
callq 0xd040
movq %rax, %r15
callq 0x19969
testl %r15d, %r15d
js 0x19560
movq 0x18(%r12), %r8
movswl 0x21636(%rip), %r10d    # 0x3aa78
movswl 0x21630(%rip), %r11d    # 0x3aa7a
leaq 0x5209(%rip), %rdx      # 0x1e65a
leaq 0x5184(%rip), %r9       # 0x1e5dc
xorl %r15d, %r15d
movl $0x3, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x199b4
addq $0x10, %rsp
movl %r14d, %edi
callq 0xd1a0
movswl 0x215f5(%rip), %ebp     # 0x3aa78
leaq 0x1a5c6(%rip), %rax     # 0x33a50
cmpl %ebp, (%rax)
je 0x194a1
incq %r15
subq $-0x80, %rax
cmpq $0x8, %r15
jne 0x1948a
movl $0x8, %r15d
movl %r15d, %r15d
shlq $0x7, %r15
leaq 0x1a5a1(%rip), %r14     # 0x33a50
movl (%r15,%r14), %r13d
callq 0x19969
cmpl $-0x1, %r13d
je 0x1958f
addq %r15, %r14
movq 0x18(%r12), %r8
leaq 0x4(%r14), %r10
movl (%r14), %r11d
leaq 0x51cc(%rip), %rdx      # 0x1e6a4
leaq 0x51ec(%rip), %r9       # 0x1e6cb
movl $0x3, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x199b4
addq $0x10, %rsp
movq 0x70(%r14), %rax
testq %rax, %rax
je 0x195b9
movq %rbx, 0x21574(%rip)     # 0x3aa80
leaq 0x21565(%rip), %rsi     # 0x3aa78
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
leaq 0x1a9a3(%rip), %rcx     # 0x33ed0
movq (%rcx), %r8
leaq 0x4feb(%rip), %rdx      # 0x1e522
jmp 0x19544
movq (%r12), %r8
leaq 0x50ac(%rip), %rdx      # 0x1e5f0
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x199b4
movq (%r12), %r8
leaq 0x50ce(%rip), %rdx      # 0x1e639
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl %r14d, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xd1a0
movq (%r12), %r8
leaq 0x50e3(%rip), %rdx      # 0x1e67d
xorl %edi, %edi
xorl %esi, %esi
movq %rax, %rcx
movl %ebp, %r9d
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x199b4
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq