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

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

    if (token->type != YAML_VALUE_TOKEN && token->type != YAML_FLOW_ENTRY_TOKEN
            && token->type != YAML_FLOW_SEQUENCE_END_TOKEN) {
        if (!PUSH(parser, parser->states,
                    YAML_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE))
            return 0;
        return yaml_parser_parse_node(parser, event, 0, 0);
    }
    else {
        yaml_mark_t mark = token->end_mark;
        SKIP_TOKEN(parser);
        parser->state = YAML_PARSE_FLOW_SEQUENCE_ENTRY_MAPPING_VALUE_STATE;
        return yaml_parser_process_empty_scalar(parser, event, mark);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x130(%rax)
jne 0x1bd8b
movq -0x10(%rbp), %rdi
callq 0x21c0
cmpl $0x0, %eax
je 0x1bd9c
movq -0x10(%rbp), %rax
movq 0x118(%rax), %rax
movq %rax, -0x40(%rbp)
jmp 0x1bda4
xorl %eax, %eax
movq %rax, -0x40(%rbp)
jmp 0x1bda4
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x1bdbf
movl $0x0, -0x4(%rbp)
jmp 0x1bf3e
movq -0x20(%rbp), %rax
cmpl $0x11, (%rax)
je 0x1be8d
movq -0x20(%rbp), %rax
cmpl $0xf, (%rax)
je 0x1be8d
movq -0x20(%rbp), %rax
cmpl $0xb, (%rax)
je 0x1be8d
movq -0x10(%rbp), %rax
movq 0x180(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0x178(%rcx), %rax
jne 0x1be31
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 0x1be58
movq -0x10(%rbp), %rcx
movq 0x180(%rcx), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0x180(%rcx)
movl $0x11, (%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x1be74
jmp 0x1be68
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
xorl %eax, %eax
testb $0x1, %al
jne 0x1be74
movl $0x0, -0x4(%rbp)
jmp 0x1bf3e
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
xorl %ecx, %ecx
movl %ecx, %edx
callq 0x19870
movl %eax, -0x4(%rbp)
jmp 0x1bf3e
movq -0x20(%rbp), %rax
movq 0x38(%rax), %rcx
movq %rcx, -0x38(%rbp)
movq 0x40(%rax), %rcx
movq %rcx, -0x30(%rbp)
movq 0x48(%rax), %rax
movq %rax, -0x28(%rbp)
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
movl $0x11, 0x188(%rax)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x38(%rbp), %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 $0x60, %rsp
popq %rbp
retq
nopw (%rax,%rax)