// File: /workspace/github_c_makefile_star2_O0/mijallen[P]SimpleHTTPServer/lib/libyaml/src/parser.c
// Function: yaml_parser_parse_flow_mapping_value
static int
yaml_parser_parse_flow_mapping_value(yaml_parser_t *parser,
        yaml_event_t *event, int empty)
{
    yaml_token_t *token;

    token = PEEK_TOKEN(parser);
    if (!token) return 0;

    if (empty) {
        parser->state = YAML_PARSE_FLOW_MAPPING_KEY_STATE;
        return yaml_parser_process_empty_scalar(parser, event,
                token->start_mark);
    }

    if (token->type == YAML_VALUE_TOKEN) {
        SKIP_TOKEN(parser);
        token = PEEK_TOKEN(parser);
        if (!token) return 0;
        if (token->type != YAML_FLOW_ENTRY_TOKEN
                && token->type != YAML_FLOW_MAPPING_END_TOKEN) {
            if (!PUSH(parser, parser->states,
                        YAML_PARSE_FLOW_MAPPING_KEY_STATE))
                return 0;
            return yaml_parser_parse_node(parser, event, 0, 0);
        }
    }

    parser->state = YAML_PARSE_FLOW_MAPPING_KEY_STATE;
    return yaml_parser_process_empty_scalar(parser, event, token->start_mark);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x130(%rax)
jne 0x1c90e
movq -0x10(%rbp), %rdi
callq 0x21c0
cmpl $0x0, %eax
je 0x1c91f
movq -0x10(%rbp), %rax
movq 0x118(%rax), %rax
movq %rax, -0x30(%rbp)
jmp 0x1c927
xorl %eax, %eax
movq %rax, -0x30(%rbp)
jmp 0x1c927
movq -0x30(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x1c942
movl $0x0, -0x4(%rbp)
jmp 0x1cb3e
cmpl $0x0, -0x1c(%rbp)
je 0x1c98c
movq -0x10(%rbp), %rax
movl $0x14, 0x188(%rax)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x28(%rbp), %rax
addq $0x20, %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x1d2d0
movl %eax, -0x4(%rbp)
jmp 0x1cb3e
movq -0x28(%rbp), %rax
cmpl $0x11, (%rax)
jne 0x1caff
movq -0x10(%rbp), %rax
movl $0x0, 0x130(%rax)
movq -0x10(%rbp), %rax
movq 0x128(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x128(%rax)
movq -0x10(%rbp), %rax
movq 0x118(%rax), %rax
cmpl $0x2, (%rax)
sete %al
andb $0x1, %al
movzbl %al, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xfc(%rax)
movq -0x10(%rbp), %rax
movq 0x118(%rax), %rcx
addq $0x50, %rcx
movq %rcx, 0x118(%rax)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x130(%rax)
jne 0x1ca0e
movq -0x10(%rbp), %rdi
callq 0x21c0
cmpl $0x0, %eax
je 0x1ca1f
movq -0x10(%rbp), %rax
movq 0x118(%rax), %rax
movq %rax, -0x38(%rbp)
jmp 0x1ca27
xorl %eax, %eax
movq %rax, -0x38(%rbp)
jmp 0x1ca27
movq -0x38(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x1ca42
movl $0x0, -0x4(%rbp)
jmp 0x1cb3e
movq -0x28(%rbp), %rax
cmpl $0xf, (%rax)
je 0x1cafd
movq -0x28(%rbp), %rax
cmpl $0xd, (%rax)
je 0x1cafd
movq -0x10(%rbp), %rax
movq 0x180(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0x178(%rcx), %rax
jne 0x1caa7
movq -0x10(%rbp), %rdi
addq $0x170, %rdi            # imm = 0x170
movq -0x10(%rbp), %rsi
addq $0x170, %rsi            # imm = 0x170
addq $0x10, %rsi
movq -0x10(%rbp), %rdx
addq $0x170, %rdx            # imm = 0x170
addq $0x8, %rdx
callq 0x20e0
cmpl $0x0, %eax
je 0x1cace
movq -0x10(%rbp), %rcx
movq 0x180(%rcx), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0x180(%rcx)
movl $0x14, (%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x1cae7
jmp 0x1cade
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
xorl %eax, %eax
testb $0x1, %al
jne 0x1cae7
movl $0x0, -0x4(%rbp)
jmp 0x1cb3e
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x19870
movl %eax, -0x4(%rbp)
jmp 0x1cb3e
jmp 0x1caff
movq -0x10(%rbp), %rax
movl $0x14, 0x188(%rax)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x28(%rbp), %rax
addq $0x20, %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
callq 0x1d2d0
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)