// File: /workspace/github_c_makefile_star2_O2/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 $0x58, %rsp
movq 0x8(%rsi), %rax
movl 0x8(%rax), %edx
cmpq $0x5, %rdx
ja 0xaf42
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x476d(%rip), %rcx      # 0xf2ec
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movq (%rax), %r13
movq (%r13), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xb0f1
testl %eax, %eax
je 0xacc2
pushq $-0x1
popq %rbp
jmp 0xac65
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 0x9ec2
movl %eax, %ebp
movq 0x8(%rbx), %r15
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
jne 0xac72
testq %rsi, %rsi
je 0xad0d
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 0xafa7
movq 0x8(%r15), %rsi
jmp 0xad2b
movq (%rax), %rax
movq (%rax), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xb0f1
testl %eax, %eax
je 0xac7a
pushq $-0x1
popq %rbp
jmp 0xae45
movq (%rax), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xb0f1
jmp 0xac63
movq (%rax), %rsi
movq %rbx, %rdi
callq 0x9da7
movl %eax, %ebp
testl %ebp, %ebp
jne 0xae45
jmp 0xadd1
movq (%r15), %rax
jmp 0xad2b
movq 0x8(%rbx), %r15
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
jne 0xad73
testq %rsi, %rsi
je 0xada7
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 0xb037
movq 0x8(%r15), %rsi
jmp 0xadc5
movq 0x8(%rbx), %r15
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
jne 0xad78
testq %rsi, %rsi
je 0xae56
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 0xb059
movq %rax, %r12
movq 0x8(%r15), %rsi
jmp 0xae77
movq $0x1, 0x10(%r15)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xafeb
xorl %esi, %esi
movq $0x1, (%rax,%rsi,8)
movq 0x8(%r15), %rsi
incq %rsi
movq %rsi, 0x8(%r15)
cmpq 0x10(%r15), %rsi
jne 0xad9e
testq %rsi, %rsi
je 0xad80
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 0xafc9
movq 0x8(%r15), %rsi
jmp 0xad9e
movq (%r15), %rax
jmp 0xadc5
movq (%r15), %r12
jmp 0xae77
movq $0x1, 0x10(%r15)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xb011
xorl %esi, %esi
movslq %ebp, %rcx
movq %rcx, (%rax,%rsi,8)
jmp 0xadcd
movq $0x1, 0x10(%r15)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xb07b
xorl %esi, %esi
movq $0x1b, (%rax,%rsi,8)
incq 0x8(%r15)
xorl %ebp, %ebp
cmpl $0x1, (%r14)
jne 0xae45
movq 0x8(%rbx), %r14
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
jne 0xae16
testq %rsi, %rsi
je 0xae1b
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 0xaf5f
movq 0x8(%r14), %rsi
jmp 0xae39
movq (%r14), %rax
jmp 0xae39
movq $0x1, 0x10(%r14)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r14)
testq %rax, %rax
je 0xaf81
xorl %esi, %esi
movq $0x19, (%rax,%rsi,8)
incq 0x8(%r14)
movl %ebp, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq $0x1, 0x10(%r15)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xb09e
movq %rax, %r12
xorl %esi, %esi
movq $0x1a, (%r12,%rsi,8)
incq 0x8(%r15)
movq 0x8(%r13), %rsi
leaq 0x30(%rsp), %rdi
callq 0x85c8
movq 0x8(%r15), %rsi
cmpq 0x10(%r15), %rsi
jne 0xaf01
testq %rsi, %rsi
je 0xaee5
leaq (%rsi,%rsi), %rax
movq %rax, 0x10(%r15)
shlq $0x4, %rsi
movq %r12, %rdi
callq 0x1160
movq 0x8(%rbx), %r15
movq %rax, (%r15)
testq %rax, %rax
jne 0xaf01
movq 0xb129(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r15), %r8
shlq $0x3, %r8
leaq 0x3a18(%rip), %rsi      # 0xe8f1
leaq 0x4438(%rip), %rdx      # 0xf318
jmp 0xb0dd
movq $0x1, 0x10(%r15)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r15)
testq %rax, %rax
je 0xb0c1
movq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r15, %rdi
callq 0x9ec2
cltq
movq 0x8(%rbx), %rcx
movq (%rcx), %rdx
movq 0x8(%rcx), %rsi
movq %rax, (%rdx,%rsi,8)
incq 0x8(%rcx)
xorl %ebp, %ebp
jmp 0xac65
movq 0xb0a7(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x3b3b(%rip), %rsi      # 0xea8e
xorl %eax, %eax
callq 0x1100
jmp 0xb0e9
movq 0xb08a(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r14), %r8
shlq $0x3, %r8
leaq 0x3979(%rip), %rsi      # 0xe8f1
leaq 0x4399(%rip), %rdx      # 0xf318
jmp 0xaf9d
movq 0xb068(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x362c(%rip), %rsi      # 0xe5be
leaq 0x437f(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0x143, %ecx            # imm = 0x143
jmp 0xb0e2
movq 0xb042(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r15), %r8
shlq $0x3, %r8
leaq 0x3931(%rip), %rsi      # 0xe8f1
leaq 0x4351(%rip), %rdx      # 0xf318
jmp 0xb007
movq 0xb020(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r15), %r8
shlq $0x3, %r8
leaq 0x390f(%rip), %rsi      # 0xe8f1
leaq 0x432f(%rip), %rdx      # 0xf318
jmp 0xb02d
movq 0xaffe(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x35c2(%rip), %rsi      # 0xe5be
leaq 0x4315(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0xbc, %ecx
jmp 0xb0e2
movq 0xafd8(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x359c(%rip), %rsi      # 0xe5be
leaq 0x42ef(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0xbd, %ecx
jmp 0xb0e2
movq 0xafb2(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r15), %r8
shlq $0x3, %r8
leaq 0x38a1(%rip), %rsi      # 0xe8f1
leaq 0x42c1(%rip), %rdx      # 0xf318
jmp 0xb097
movq 0xaf90(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r15), %r8
shlq $0x3, %r8
leaq 0x387f(%rip), %rsi      # 0xe8f1
leaq 0x429f(%rip), %rdx      # 0xf318
jmp 0xb0ba
movq 0xaf6e(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x3532(%rip), %rsi      # 0xe5be
leaq 0x4285(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0x10c, %ecx            # imm = 0x10C
jmp 0xb0e2
movq 0xaf4b(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x350f(%rip), %rsi      # 0xe5be
leaq 0x4262(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0xff, %ecx
jmp 0xb0e2
movq 0xaf28(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x34ec(%rip), %rsi      # 0xe5be
leaq 0x423f(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0x101, %ecx            # imm = 0x101
xorl %eax, %eax
callq 0x1100
pushq $0x1
popq %rdi
callq 0x1180