// File: /workspace/github_c_makefile_star2_O2/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 0xf732
leaq 0x25979(%rip), %rcx     # 0x34ed0
movq 0x10(%rcx), %r8
movl 0x4f8(%rbx), %r9d
leaq 0xc1b1(%rip), %rdx      # 0x1b71a
pushq $0x2
popq %rdi
pushq $0x1
popq %rsi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
leaq 0xc1b8(%rip), %r15      # 0x1b738
xorl %r12d, %r12d
movl 0x4f8(%rbx), %r14d
callq 0xf732
movq %rax, %r13
leaq 0x25937(%rip), %rax     # 0x34ed0
movq 0x10(%rax), %rbp
cmpq %r14, %r12
jae 0xf5d1
movl 0xf0(%rbx,%r12,8), %edi
callq 0x196f4
movq %rax, (%rsp)
pushq $0x2
popq %rdi
pushq $0x1
popq %rsi
movq %r15, %rdx
movq %r13, %rcx
movq %rbp, %r8
movl %r12d, %r9d
xorl %eax, %eax
callq 0x19400
incq %r12
jmp 0xf583
leaq 0xc173(%rip), %rdx      # 0x1b74b
pushq $0x2
popq %r12
pushq $0x1
popq %r14
movl %r12d, %edi
movl %r14d, %esi
movq %r13, %rcx
movq %rbp, %r8
xorl %eax, %eax
callq 0x19400
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xb98008, %esi         # imm = 0xB98008
movl $0x100, %ecx            # imm = 0x100
callq 0x1a116
callq 0xf732
leaq 0x258b9(%rip), %r13     # 0x34ed0
movq 0x10(%r13), %r8
leaq 0xc14b(%rip), %rdx      # 0x1b76d
movl %r12d, %edi
movl %r14d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xb98010, %esi         # imm = 0xB98010
movl $0x100, %ecx            # imm = 0x100
callq 0x1a116
callq 0xf732
movq 0x10(%r13), %r8
leaq 0xc136(%rip), %rdx      # 0x1b790
movl %r12d, %edi
movl %r14d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
pushq $0x8
popq %rdx
pushq $0x10
popq %r15
movq %rbx, %rdi
movl $0xb9c100, %esi         # imm = 0xB9C100
movl %r15d, %ecx
callq 0x1a116
callq 0xf732
movq 0x10(%r13), %r8
leaq 0xc120(%rip), %rdx      # 0x1b7b1
movl %r12d, %edi
movl %r14d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xba8008, %esi         # imm = 0xBA8008
movl $0x100, %ecx            # imm = 0x100
callq 0x1a116
callq 0xf732
movq 0x10(%r13), %r8
leaq 0xc10a(%rip), %rdx      # 0x1b7d3
movl %r12d, %edi
movl %r14d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
movl 0x4f8(%rbx), %edx
movq %rbx, %rdi
movl $0xba8010, %esi         # imm = 0xBA8010
movl $0x100, %ecx            # imm = 0x100
callq 0x1a116
callq 0xf732
movq 0x10(%r13), %r8
leaq 0xc0f5(%rip), %rdx      # 0x1b7f6
movl %r12d, %edi
movl %r14d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x19400
pushq $0x3
popq %rdx
movq %rbx, %rdi
movl $0xbac100, %esi         # imm = 0xBAC100
movl %r15d, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1a116