// File: /workspace/github_c_makefile_star2_O3/intel[P]pf-bb-config/acc100/acc100_cfg_app.c
// Function: acc100_device_data
void acc100_device_data(void *dev)
{
	uint32_t vf_idx;

	hw_device *accel_dev = (hw_device *)dev;

	LOG_RESP(INFO, "Device Status:: %d VFs", accel_dev->numvfs);
	for (vf_idx = 0; vf_idx < accel_dev->numvfs; vf_idx++)
		LOG_RESP(INFO, "-  VF %d %s", vf_idx,
			 bb_acc_device_status_str(accel_dev->dev_status[vf_idx]));
	LOG_RESP(INFO, "5GUL counters: Code Blocks");
	print_all_stat32(accel_dev, HWPfPermonACountVf, accel_dev->numvfs, ACC100_PMON_OFF_1);
	LOG_RESP(INFO, "5GUL counters: Data (Bytes)");
	print_all_stat32(accel_dev, HWPfPermonAKCntLoVf, accel_dev->numvfs, ACC100_PMON_OFF_1);
	LOG_RESP(INFO, "5GUL counters: Per Engine");
	print_all_stat32(accel_dev, HWPfPermonACbCountFec, ACC100_5GUL_ENGS, ACC100_PMON_OFF_2);
	LOG_RESP(INFO, "5GDL counters: Code Blocks");
	print_all_stat32(accel_dev, HWPfPermonBCountVf, accel_dev->numvfs, ACC100_PMON_OFF_1);
	LOG_RESP(INFO, "5GDL counters: Data (Bytes)");
	print_all_stat32(accel_dev, HWPfPermonBKCntLoVf, accel_dev->numvfs, ACC100_PMON_OFF_1);
	LOG_RESP(INFO, "5GDL counters: Per Engine");
	print_all_stat32(accel_dev, HWPfPermonBCbCountFec, ACC100_5GDL_ENGS, ACC100_PMON_OFF_2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0xf853
leaq 0x24872(%rip), %rbp     # 0x33ed0
movq 0x10(%rbp), %r8
movl 0x4f8(%rbx), %r9d
leaq 0xc0aa(%rip), %rdx      # 0x1b71a
movl $0x2, %edi
movl $0x1, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
cmpl $0x0, 0x4f8(%rbx)
je 0xf6df
leaq 0xc0a4(%rip), %r14      # 0x1b738
xorl %r15d, %r15d
callq 0xf853
movq %rax, %r12
movq 0x10(%rbp), %r13
movl 0xf0(%rbx,%r15,8), %edi
callq 0x19cac
movq %rax, (%rsp)
movl $0x2, %edi
movl $0x1, %esi
movq %r14, %rdx
movq %r12, %rcx
movq %r13, %r8
movl %r15d, %r9d
xorl %eax, %eax
callq 0x199b4
incq %r15
movl 0x4f8(%rbx), %eax
cmpq %rax, %r15
jb 0xf697
callq 0xf853
movq 0x10(%rbp), %r8
leaq 0xc05c(%rip), %rdx      # 0x1b74b
movl $0x2, %edi
movl $0x1, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xb98008, %esi         # imm = 0xB98008
movl $0x100, %ecx            # imm = 0x100
callq 0x1a724
callq 0xf853
movq 0x10(%rbp), %r8
leaq 0xc042(%rip), %rdx      # 0x1b76d
movl $0x2, %edi
movl $0x1, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xb98010, %esi         # imm = 0xB98010
movl $0x100, %ecx            # imm = 0x100
callq 0x1a724
callq 0xf853
movq 0x10(%rbp), %r8
leaq 0xc029(%rip), %rdx      # 0x1b790
movl $0x2, %edi
movl $0x1, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movq %rbx, %rdi
movl $0xb9c100, %esi         # imm = 0xB9C100
movl $0x8, %edx
movl $0x10, %ecx
callq 0x1a724
callq 0xf853
movq 0x10(%rbp), %r8
leaq 0xc00f(%rip), %rdx      # 0x1b7b1
movl $0x2, %edi
movl $0x1, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xba8008, %esi         # imm = 0xBA8008
movl $0x100, %ecx            # imm = 0x100
callq 0x1a724
callq 0xf853
movq 0x10(%rbp), %r8
leaq 0xbff5(%rip), %rdx      # 0x1b7d3
movl $0x2, %edi
movl $0x1, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xba8010, %esi         # imm = 0xBA8010
movl $0x100, %ecx            # imm = 0x100
callq 0x1a724
callq 0xf853
movq 0x10(%rbp), %r8
leaq 0xbfdc(%rip), %rdx      # 0x1b7f6
movl $0x2, %edi
movl $0x1, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x199b4
movq %rbx, %rdi
movl $0xbac100, %esi         # imm = 0xBAC100
movl $0x3, %edx
movl $0x10, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1a724