// File: /workspace/github_c_makefile_star2_O1/back1127[P]linkedge-thing-access-websocket_client_sdk/sdk/test/linux/simulated_device.c
// Function: report_all_property
void report_all_property(const char *pk, const char *dn)
{
    leda_device_data_t property[14];
    
    snprintf(property[0].key, MAX_PARAM_NAME_LENGTH, PROPERTY_INT32_RW);
    property[0].type = LEDA_TYPE_INT;
    snprintf(property[0].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_int32_rw(pk, dn));
    
    snprintf(property[1].key, MAX_PARAM_NAME_LENGTH, PROPERTY_INT32_R);
    property[1].type = LEDA_TYPE_INT;
    snprintf(property[1].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_int32_r(pk, dn));
    
    snprintf(property[2].key, MAX_PARAM_NAME_LENGTH, PROPERTY_FLOAT_RW);
    property[2].type = LEDA_TYPE_FLOAT;
    snprintf(property[2].value, MAX_PARAM_VALUE_LENGTH, "%f", get_dev_float_rw(pk, dn));
    
    snprintf(property[3].key, MAX_PARAM_NAME_LENGTH, PROPERTY_FLOAT_R);
    property[3].type = LEDA_TYPE_FLOAT;
    snprintf(property[3].value, MAX_PARAM_VALUE_LENGTH, "%f", get_dev_float_r(pk, dn));
    
    snprintf(property[4].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DOUBLE_RW);
    property[4].type = LEDA_TYPE_DOUBLE;
    snprintf(property[4].value, MAX_PARAM_VALUE_LENGTH, "%lf", get_dev_double_rw(pk, dn));
    
    snprintf(property[5].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DOUBLE_R);
    property[5].type = LEDA_TYPE_DOUBLE;
    snprintf(property[5].value, MAX_PARAM_VALUE_LENGTH, "%lf", get_dev_double_r(pk, dn));
    
    snprintf(property[6].key, MAX_PARAM_NAME_LENGTH, PROPERTY_ENUM_RW);
    property[6].type = LEDA_TYPE_ENUM;
    snprintf(property[6].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_enum_rw(pk, dn));
    
    snprintf(property[7].key, MAX_PARAM_NAME_LENGTH, PROPERTY_ENUM_R);
    property[7].type = LEDA_TYPE_ENUM;
    snprintf(property[7].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_enum_r(pk, dn));
    
    snprintf(property[8].key, MAX_PARAM_NAME_LENGTH, PROPERTY_BOOL_RW);
    property[8].type = LEDA_TYPE_BOOL;
    snprintf(property[8].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_bool_rw(pk,dn));
    
    snprintf(property[9].key, MAX_PARAM_NAME_LENGTH, PROPERTY_BOOL_R);
    property[9].type = LEDA_TYPE_BOOL;
    snprintf(property[9].value, MAX_PARAM_VALUE_LENGTH, "%d", get_dev_bool_r(pk, dn));
    
    snprintf(property[10].key, MAX_PARAM_NAME_LENGTH, PROPERTY_STRING_RW);
    property[10].type = LEDA_TYPE_TEXT;
    snprintf(property[10].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_string_rw(pk, dn));
    
    snprintf(property[11].key, MAX_PARAM_NAME_LENGTH, PROPERTY_STRING_R);
    property[11].type = LEDA_TYPE_TEXT;
    snprintf(property[11].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_string_r(pk, dn));
    
    snprintf(property[12].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DATE_RW);
    property[12].type = LEDA_TYPE_DATE;
    snprintf(property[12].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_date_rw(pk, dn));
    
    snprintf(property[13].key, MAX_PARAM_NAME_LENGTH, PROPERTY_DATE_R);
    property[13].type = LEDA_TYPE_DATE;
    snprintf(property[13].value, MAX_PARAM_VALUE_LENGTH, "%s", get_dev_date_r(pk, dn));
    
    leda_report_properties(pk, dn, property, sizeof(property) / sizeof(leda_device_data_t));

    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x73c8, %rsp           # imm = 0x73C8
movq %rsi, %rbx
movq %rdi, -0x30(%rbp)
movabsq $0x77725f3233746e69, %rax # imm = 0x77725F3233746E69
leaq -0x73ac(%rbp), %r12
movq %rax, -0x40(%r12)
xorl %eax, %eax
movb %al, -0x38(%r12)
movl %eax, -0x44(%r12)
xorl %r14d, %r14d
callq 0x137c
movq 0x37c2(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movl 0x34(%rcx,%rax), %ecx
leaq 0x157a(%rip), %r15      # 0x305c
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x1050
movabsq $0x725f3233746e69, %rax # imm = 0x725F3233746E69
movq %rax, 0x804(%r12)
movl %r14d, 0x800(%r12)
xorl %r14d, %r14d
leaq -0x6b68(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x3769(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movl 0x38(%rcx,%rax), %ecx
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x1050
movabsq $0x77725f74616f6c66, %rax # imm = 0x77725F74616F6C66
movq %rax, 0x804(%r12)
movb %r14b, 0x80c(%r12)
movl $0x2, %r14d
movl %r14d, 0x800(%r12)
leaq -0x6324(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x370c(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
cvtss2sd 0x3c(%rcx,%rax), %xmm0
leaq 0x14da(%rip), %r13      # 0x3074
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movabsq $0x725f74616f6c66, %rax # imm = 0x725F74616F6C66
movq %rax, 0x804(%r12)
movl %r14d, 0x800(%r12)
leaq -0x5ae0(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x36b4(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
xorps %xmm0, %xmm0
cvtss2sd 0x40(%rcx,%rax), %xmm0
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movabsq $0x725f656c62756f64, %r14 # imm = 0x725F656C62756F64
movq %r14, 0x804(%r12)
movw $0x77, %ax
movw %ax, 0x80c(%r12)
movl $0x8, %r15d
movl %r15d, 0x800(%r12)
leaq -0x529c(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x364d(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movsd 0x48(%rcx,%rax), %xmm0
leaq 0x145b(%rip), %r13      # 0x30b4
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movq %r14, 0x804(%r12)
xorl %eax, %eax
movb %al, 0x80c(%r12)
movl %r15d, 0x800(%r12)
leaq -0x4a58(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x35f5(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movsd 0x50(%rcx,%rax), %xmm0
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r13, %rdx
movb $0x1, %al
callq 0x1050
movabsq $0x77725f65746164, %rcx # imm = 0x77725F65746164
leaq 0x8010d01(%rcx), %rax
movq %rcx, %r15
movq %rax, 0x804(%r12)
movl $0x5, 0x800(%r12)
leaq -0x4214(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x3596(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movl 0x58(%rcx,%rax), %ecx
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
leaq 0x1346(%rip), %r14      # 0x305c
movq %r14, %rdx
xorl %eax, %eax
callq 0x1050
movl $0x725f6d, 0x807(%r12) # imm = 0x725F6D
movabsq $0x6d756e6500000005, %rax # imm = 0x6D756E6500000005
movq %rax, 0x800(%r12)
leaq -0x39d0(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x353c(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movl 0x5c(%rcx,%rax), %ecx
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1050
leaq 0x6fb0dfe(%r15), %rax
movq %rax, 0x804(%r12)
movl $0x1, 0x800(%r12)
leaq -0x318c(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x34ec(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movzbl 0x60(%rcx,%rax), %ecx
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1050
movl $0x725f6c, 0x807(%r12) # imm = 0x725F6C
movabsq $0x6c6f6f6200000001, %rax # imm = 0x6C6F6F6200000001
movq %rax, 0x800(%r12)
leaq -0x2948(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x3498(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
movzbl 0x61(%rcx,%rax), %ecx
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x1050
movabsq $0x725f676e69727473, %r14 # imm = 0x725F676E69727473
movq %r14, 0x804(%r12)
movw $0x77, %ax
movw %ax, 0x80c(%r12)
movl $0x3, %r13d
movl %r13d, 0x800(%r12)
leaq -0x2104(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x3435(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
addq %rax, %rcx
addq $0x62, %rcx
leaq 0x11ce(%rip), %r15      # 0x3040
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x1050
movq %r14, 0x804(%r12)
xorl %eax, %eax
movb %al, 0x80c(%r12)
movl %r13d, 0x800(%r12)
leaq -0x18c0(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x33dc(%rip), %rdx      # 0x5290
cltq
imulq $0x10a8, %rax, %rcx     # imm = 0x10A8
movl $0x56526c4d, 0x862(%rdx,%rcx) # imm = 0x56526C4D
movl $0x715a56, 0x865(%rdx,%rcx) # imm = 0x715A56
addq 0x33b6(%rip), %rcx      # 0x5290
addq $0x862, %rcx            # imm = 0x862
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x1050
movabsq $0x77725f65746164, %rax # imm = 0x77725F65746164
movq %rax, 0x804(%r12)
movl $0x4, 0x800(%r12)
leaq -0x107c(%rbp), %r12
movq %rbx, %rsi
callq 0x137c
movq 0x3369(%rip), %rcx      # 0x5290
cltq
imulq $0x10a8, %rax, %rax     # imm = 0x10A8
addq %rax, %rcx
addq $0x1062, %rcx           # imm = 0x1062
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x1050
movl $0x725f65, 0x807(%r12) # imm = 0x725F65
movabsq $0x6574616400000004, %rax # imm = 0x6574616400000004
movq %rax, 0x800(%r12)
leaq -0x838(%rbp), %r12
movq %rbx, %rsi
callq 0x17b3
movl $0x800, %esi            # imm = 0x800
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1050
leaq -0x73f0(%rbp), %rdx
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
movl $0xe, %ecx
callq 0x1210
addq $0x73c8, %rsp           # imm = 0x73C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq