// File: ridiculousfish[P]docopt_fish/docopt_fish_test.cpp
// Function: run_1_description_test(char const*, char const*, char const*, unsigned long, unsigned long)
static void run_1_description_test(const char *usage, const char *option, const char *expected_description, size_t test_idx, size_t arg_idx) {
    /* Usage as a string */
    const string_t usage_str(usage, usage + strlen(usage));
    
    /* Perform the parsing */
    argument_parser_t parser(usage_str, nullptr);
    
    const string_t option_string(option, option + strlen(option));
    const string_t description_string = parser.metadata_for_name(option_string).description;
    const string_t expected_description_string(expected_description, expected_description + strlen(expected_description));
    
    if (expected_description_string != description_string) {
        err("Test %lu.%lu: Wrong description. Expected '%ls', got '%ls'", test_idx, arg_idx, wide(expected_description_string), wide(description_string));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x8110
movq %rax, %rcx
movq -0x158(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x150(%rbp)
leaq -0x49(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x8130
movq -0x158(%rbp), %rsi
movq -0x150(%rbp), %rdx
movq -0x148(%rbp), %rcx
leaq -0x48(%rbp), %rdi
callq 0x43f20
jmp 0x42e73
leaq -0x49(%rbp), %rdi
callq 0x85f0
xorl %eax, %eax
movl %eax, %edx
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0xab40
jmp 0x42e8f
movq -0x10(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0x8110
movq %rax, %rcx
movq -0x170(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x168(%rbp)
leaq -0x89(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x8130
movq -0x170(%rbp), %rsi
movq -0x168(%rbp), %rdx
movq -0x160(%rbp), %rcx
leaq -0x88(%rbp), %rdi
callq 0x43f20
jmp 0x42ee9
leaq -0x89(%rbp), %rdi
callq 0x85f0
leaq -0x118(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0xa660
jmp 0x42f0e
leaq -0xd8(%rbp), %rsi
leaq -0xb0(%rbp), %rdi
callq 0x8440
leaq -0x118(%rbp), %rdi
callq 0x11350
movq -0x18(%rbp), %rdi
movq %rdi, -0x188(%rbp)
callq 0x8110
movq %rax, %rcx
movq -0x188(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x180(%rbp)
leaq -0x139(%rbp), %rdi
movq %rdi, -0x178(%rbp)
callq 0x8130
movq -0x188(%rbp), %rsi
movq -0x180(%rbp), %rdx
movq -0x178(%rbp), %rcx
leaq -0x138(%rbp), %rdi
callq 0x43f20
jmp 0x42f87
leaq -0x139(%rbp), %rdi
callq 0x85f0
leaq -0x138(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x470e0
testb $0x1, %al
jne 0x42faf
jmp 0x4309b
movq -0x20(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x198(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x3b6c0
movq %rax, -0x190(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x3b6c0
movq -0x1a0(%rbp), %rsi
movq -0x198(%rbp), %rdx
movq -0x190(%rbp), %rcx
movq %rax, %r8
leaq 0xc4bc(%rip), %rdi      # 0x4f4bf
xorl %eax, %eax
callq 0x3b570
jmp 0x4300c
jmp 0x4309b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x49(%rbp), %rdi
callq 0x85f0
jmp 0x43104
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x430fb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x89(%rbp), %rdi
callq 0x85f0
jmp 0x430f2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x430e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x139(%rbp), %rdi
callq 0x85f0
jmp 0x430da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x8590
jmp 0x430da
leaq -0x138(%rbp), %rdi
callq 0x8590
leaq -0xb0(%rbp), %rdi
callq 0x8590
leaq -0x88(%rbp), %rdi
callq 0x8590
leaq -0x68(%rbp), %rdi
callq 0xac20
leaq -0x48(%rbp), %rdi
callq 0x8590
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
leaq -0xb0(%rbp), %rdi
callq 0x8590
leaq -0x88(%rbp), %rdi
callq 0x8590
leaq -0x68(%rbp), %rdi
callq 0xac20
leaq -0x48(%rbp), %rdi
callq 0x8590
movq -0x58(%rbp), %rdi
callq 0x85d0
nopl (%rax)