// File: /workspace/github_c_makefile_star2_O3/masyagin1998[P]GCI/src/bytecode-generator/bytecode-generator.c
// Function: left_unary_expr_ast_bytecode_generate
static enum BYTECODE_GENERATOR_CODES left_unary_expr_ast_bytecode_generate(bytecode_generator_type_t bc_gen, const struct LEFT_UNARY_EXPR_AST*ast)
{

    enum BYTECODE_GENERATOR_CODES r = primary_expr_ast_bytecode_generate(bc_gen, ast->expr);
    if (r != BYTECODE_GENERATOR_OK) {
        return r;
    }
    if (ast->op != AST_LEFT_UNARY_OP_PLUS) {
        if (ast->op == AST_LEFT_UNARY_OP_MINUS) {
            PUSH_BACK(bc_gen->bc->op_codes, BC_OP_NEGATE);
        }
    }

    return BYTECODE_GENERATOR_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
movq 0x8(%rsi), %rax
movl 0x8(%rax), %edi
cmpq $0x5, %rdi
ja 0xcc4c
movq %rsi, %r14
leaq 0x3a8b(%rip), %rcx      # 0x102ec
movslq (%rcx,%rdi,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movq (%rax), %r12
movq (%r12), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xcc97
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0xc9d9
movq 0x8(%rbx), %r15
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
jne 0xca58
testq %rsi, %rsi
je 0xcb3f
leaq (%rsi,%rsi), %rax
movq %rax, 0x10(%r15)
movq (%r15), %rdi
shlq $0x4, %rsi
callq 0x1160
movq 0x8(%rbx), %r15
movq %rax, (%r15)
testq %rax, %rax
je 0xcc78
movq 0x8(%r15), %rsi
jmp 0xcb5f
movq (%rax), %rax
movq (%rax), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x48(%rsp)
movups %xmm0, 0x38(%rsp)
movq %rax, 0x30(%rsp)
movq 0x8(%rbx), %rdi
movq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0xbf36
movl %eax, %ebp
movq 0x8(%rbx), %r15
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
jne 0xc9e6
testq %rsi, %rsi
je 0xc9eb
leaq (%rsi,%rsi), %rax
movq %rax, 0x10(%r15)
movq (%r15), %rdi
shlq $0x4, %rsi
callq 0x1160
movq 0x8(%rbx), %r15
movq %rax, (%r15)
testq %rax, %rax
je 0xcc5e
movq 0x8(%r15), %rsi
jmp 0xca0b
movq (%rax), %rax
movq (%rax), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xcc97
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0xcb2b
movq 0x8(%rbx), %r15
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
jne 0xca53
testq %rsi, %rsi
je 0xca89
leaq (%rsi,%rsi), %rax
movq %rax, 0x10(%r15)
movq (%r15), %rdi
shlq $0x4, %rsi
callq 0x1160
movq 0x8(%rbx), %r15
movq %rax, (%r15)
testq %rax, %rax
je 0xcc80
movq 0x8(%r15), %rsi
jmp 0xcaa9
movq (%rax), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xcc97
jmp 0xc9d7
movq (%rax), %rsi
movq %rbx, %rdi
callq 0xbe63
movl %eax, %ebp
testl %ebp, %ebp
jne 0xcb2b
jmp 0xcab5
movq (%r15), %rax
jmp 0xca0b
movq $0x1, 0x10(%r15)
movl $0x8, %edi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xcc6e
xorl %esi, %esi
movq $0x1, (%rax,%rsi,8)
movq 0x8(%r15), %rsi
incq %rsi
movq %rsi, 0x8(%r15)
cmpq 0x10(%r15), %rsi
jne 0xca80
testq %rsi, %rsi
je 0xca60
leaq (%rsi,%rsi), %rcx
movq %rcx, 0x10(%r15)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x1160
movq 0x8(%rbx), %r15
movq %rax, (%r15)
testq %rax, %rax
je 0xcc66
movq 0x8(%r15), %rsi
jmp 0xca80
movq (%r15), %rax
jmp 0xcaa9
movq (%r15), %rax
jmp 0xcb5f
movq $0x1, 0x10(%r15)
movl $0x8, %edi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xcc73
xorl %esi, %esi
movslq %ebp, %rcx
movq %rcx, (%rax,%rsi,8)
jmp 0xcab1
movq $0x1, 0x10(%r15)
movl $0x8, %edi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xcc88
xorl %esi, %esi
movq $0x1b, (%rax,%rsi,8)
incq 0x8(%r15)
xorl %ebp, %ebp
cmpl $0x1, (%r14)
jne 0xcb2b
movq 0x8(%rbx), %r14
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
jne 0xcafa
testq %rsi, %rsi
je 0xcaff
leaq (%rsi,%rsi), %rax
movq %rax, 0x10(%r14)
movq (%r14), %rdi
shlq $0x4, %rsi
callq 0x1160
movq 0x8(%rbx), %r14
movq %rax, (%r14)
testq %rax, %rax
je 0xcc51
movq 0x8(%r14), %rsi
jmp 0xcb1f
movq (%r14), %rax
jmp 0xcb1f
movq $0x1, 0x10(%r14)
movl $0x8, %edi
callq 0x1130
movq %rax, (%r14)
testq %rax, %rax
je 0xcc59
xorl %esi, %esi
movq $0x19, (%rax,%rsi,8)
incq 0x8(%r14)
movl %ebp, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq $0x1, 0x10(%r15)
movl $0x8, %edi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xcc8d
xorl %esi, %esi
movq %rax, 0x58(%rsp)
movq $0x1a, (%rax,%rsi,8)
movq 0x8(%r15), %r13
incq %r13
movq %r13, 0x8(%r15)
movq 0x8(%r12), %rsi
leaq 0x60(%rsp), %rbp
movq $0x2, 0x20(%rbp)
movl $0x20, %edx
movq %rbp, %rdi
callq 0x1040
movups (%rbp), %xmm0
movups 0x10(%rbp), %xmm1
movaps %xmm0, 0x30(%rsp)
movaps %xmm1, 0x40(%rsp)
movq 0x20(%rbp), %rax
movq %rax, 0x50(%rsp)
cmpq 0x10(%r15), %r13
jne 0xcc0b
testq %r13, %r13
je 0xcbed
leaq (,%r13,2), %rax
movq %rax, 0x10(%r15)
shlq $0x4, %r13
movq 0x58(%rsp), %rdi
movq %r13, %rsi
callq 0x1160
movq 0x8(%rbx), %r15
movq %rax, (%r15)
testq %rax, %rax
jne 0xcc0b
movq %r15, %rdi
callq 0x3588
movq $0x1, 0x10(%r15)
movl $0x8, %edi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xcc92
movq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movaps 0x30(%rsp), %xmm0
movaps 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r15, %rdi
callq 0xbf36
cltq
movq 0x8(%rbx), %rcx
movq (%rcx), %rdx
movq 0x8(%rcx), %rsi
movq %rax, (%rdx,%rsi,8)
incq 0x8(%rcx)
xorl %ebp, %ebp
jmp 0xc9d9
callq 0x368b
movq %r14, %rdi
callq 0x35c0
callq 0x35f8
movq %r15, %rdi
callq 0x3415
movq %r15, %rdi
callq 0x344d
callq 0x34b6
callq 0x3485
movq %r15, %rdi
callq 0x3550
movq %r15, %rdi
callq 0x34e7
callq 0x351f
callq 0x365a
callq 0x3629