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

    assert_true(sm_valid(handle), "A valid handle is obtained", __LINE__);
    assert_str_eq("Penabled", sm_get_name(handle),
            "The name of the parameter is available", __LINE__);
    assert_str_eq("enable", sm_get_short(handle),
            "The abbreviated name is available", __LINE__);
    assert_str_eq("Part enable", sm_get_tooltip(handle),
            "The tooltip is available", __LINE__);
    assert_str_eq("", sm_get_units(handle),
            "Optional units have some return value", __LINE__);

    void **v3_ = malloc(sizeof(void*));
    *v3_ = &v3;

    br_add_callback(bridge, uri, print_response, v3_);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
movq %rdi, -0x8(%rbp)
leaq 0x2548(%rip), %rdi      # 0xe1f6
movb $0x0, %al
callq 0x20e0
movq -0x78(%rbp), %rax
leaq 0x23c7(%rip), %rcx      # 0xe087
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 0x2419(%rip), %rsi      # 0xe143
movl $0x7c, %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 0x2319(%rip), %rdi      # 0xe08e
leaq 0x23e2(%rip), %rdx      # 0xe15e
movl $0x7e, %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 0x245c(%rip), %rdi      # 0xe223
leaq 0x23bb(%rip), %rdx      # 0xe189
movl $0x80, %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 0x2405(%rip), %rdi      # 0xe21e
leaq 0x2397(%rip), %rdx      # 0xe1b7
movl $0x82, %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 0x1687(%rip), %rdi      # 0xd4f2
leaq 0x235e(%rip), %rdx      # 0xe1d0
movl $0x84, %ecx
callq 0xb030
movl $0x8, %edi
callq 0x21f0
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
leaq 0x5933(%rip), %rcx      # 0x117c8
movq %rcx, (%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x70(%rbp), %rcx
leaq -0x55b(%rip), %rdx      # 0xb950
callq 0x39c0
addq $0xd0, %rsp
popq %rbp
retq
nopl (%rax)