// File: /workspace/github_c_makefile_star2_O0/mruby-zest[P]osc-bridge/test/mock-test.c
// Function: test_pvolume
void test_pvolume(schema_t schema, bridge_t *bridge)
{
    //Add a view to /part0/Pvolume
    printf("#Grabbing Pvolume Handle On Schema...\n");
    uri_t uri = "/part0/Pvolume";
    schema_handle_t handle = sm_get(schema, uri);

    assert_true(sm_valid(handle), "A valid handle is obtained", __LINE__);

    //printf("Obtained Handle for <%s>...\n", uri);
    assert_str_eq("Pvolume", sm_get_name(handle),
            "The name of the parameter is available", __LINE__);
    assert_str_eq("Vol", sm_get_short(handle),
            "The abbreviated name is available", __LINE__);
    assert_str_eq("Part Volume", sm_get_tooltip(handle),
            "The tooltip is available", __LINE__);
    assert_str_eq("", sm_get_units(handle),
            "Optional units have some return value", __LINE__);

    void **v1_ = malloc(sizeof(void*));
    void **v2_ = malloc(sizeof(void*));
    *v1_ = &v1;
    *v2_ = &v2;

    br_add_callback(bridge, uri, print_response, v1_);
    br_add_callback(bridge, uri, print_response, v2_);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movq %rdi, -0x8(%rbp)
leaq 0x26ce(%rip), %rdi      # 0xe11c
movb $0x0, %al
callq 0x20e0
movq -0x80(%rbp), %rax
leaq 0x2618(%rip), %rcx      # 0xe078
movq %rcx, -0x10(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x68(%rbp), %rdi
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x8260
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x50(%rax)
movups -0x28(%rbp), %xmm0
movups %xmm0, 0x40(%rax)
movups -0x68(%rbp), %xmm0
movups -0x58(%rbp), %xmm1
movups -0x48(%rbp), %xmm2
movups -0x38(%rbp), %xmm3
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x8700
movl %eax, %edi
leaq 0x2679(%rip), %rsi      # 0xe143
movl $0x61, %edx
callq 0xaf50
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x50(%rax)
movups -0x28(%rbp), %xmm0
movups %xmm0, 0x40(%rax)
movups -0x68(%rbp), %xmm0
movups -0x58(%rbp), %xmm1
movups -0x48(%rbp), %xmm2
movups -0x38(%rbp), %xmm3
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x8610
movq %rax, %rsi
leaq 0x256a(%rip), %rdi      # 0xe07f
leaq 0x2642(%rip), %rdx      # 0xe15e
movl $0x65, %ecx
callq 0xb030
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x50(%rax)
movups -0x28(%rbp), %xmm0
movups %xmm0, 0x40(%rax)
movups -0x68(%rbp), %xmm0
movups -0x58(%rbp), %xmm1
movups -0x48(%rbp), %xmm2
movups -0x38(%rbp), %xmm3
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x8650
movq %rax, %rsi
leaq 0x261e(%rip), %rdi      # 0xe185
leaq 0x261b(%rip), %rdx      # 0xe189
movl $0x67, %ecx
callq 0xb030
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x50(%rax)
movups -0x28(%rbp), %xmm0
movups %xmm0, 0x40(%rax)
movups -0x68(%rbp), %xmm0
movups -0x58(%rbp), %xmm1
movups -0x48(%rbp), %xmm2
movups -0x38(%rbp), %xmm3
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x8690
movq %rax, %rsi
leaq 0x25f2(%rip), %rdi      # 0xe1ab
leaq 0x25f7(%rip), %rdx      # 0xe1b7
movl $0x69, %ecx
callq 0xb030
movq -0x18(%rbp), %rcx
movq %rsp, %rax
movq %rcx, 0x50(%rax)
movups -0x28(%rbp), %xmm0
movups %xmm0, 0x40(%rax)
movups -0x68(%rbp), %xmm0
movups -0x58(%rbp), %xmm1
movups -0x48(%rbp), %xmm2
movups -0x38(%rbp), %xmm3
movups %xmm3, 0x30(%rax)
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x86d0
movq %rax, %rsi
leaq 0x18e7(%rip), %rdi      # 0xd4f2
leaq 0x25be(%rip), %rdx      # 0xe1d0
movl $0x6b, %ecx
callq 0xb030
movl $0x8, %edi
callq 0x21f0
movq %rax, -0x70(%rbp)
movl $0x8, %edi
callq 0x21f0
movq %rax, -0x78(%rbp)
movq -0x70(%rbp), %rax
leaq 0x553d(%rip), %rcx      # 0x11180
movq %rcx, (%rax)
movq -0x78(%rbp), %rax
leaq 0x5533(%rip), %rcx      # 0x11184
movq %rcx, (%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x70(%rbp), %rcx
leaq -0x317(%rip), %rdx      # 0xb950
callq 0x39c0
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x78(%rbp), %rcx
leaq -0x32f(%rip), %rdx      # 0xb950
callq 0x39c0
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax)