// File: /workspace/github_c_makefile_star2_O2/masyagin1998[P]GCI/src/bytecode-generator/bytecode-generator.c
// Function: assignment_expr_ast_bytecode_generate
static enum BYTECODE_GENERATOR_CODES assignment_expr_ast_bytecode_generate(bytecode_generator_type_t bc_gen, const struct ASSIGNMENT_EXPR_AST*ast)
{
    enum BYTECODE_GENERATOR_CODES r;
    
    switch (ast->type) {
    case AST_ASSIGNMENT_EXPR_TYPE_OBJECT_LITERAL:
        r = object_literal_ast_bytecode_generate(bc_gen, ast->object_literal);
        break;
    case AST_ASSIGNMENT_EXPR_TYPE_ARRAY_LITERAL:
        r = array_literal_ast_bytecode_generate(bc_gen, ast->array_literal);
        break;
    case AST_ASSIGNMENT_EXPR_TYPE_LOGICAL_OR_EXPR:
        r = logical_or_expr_ast_bytecode_generate(bc_gen, ast->logical_or_expr);
        break;
    default:
        fprintf(stderr, "Invalid ASSIGNMENT_EXPR_AST type: %d\n", ast->type);
        exit(EXIT_FAILURE);
        break;
    }

    return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movl 0x8(%rsi), %edx
cmpl $0x2, %edx
je 0x98e6
cmpl $0x1, %edx
je 0x98a8
testl %edx, %edx
jne 0x9bcf
movq (%rsi), %r13
xorl %ebp, %ebp
leaq 0x30(%rsp), %r15
cmpq 0x8(%r13), %rbp
jae 0x993c
movq (%r13), %rax
movq (%rax,%rbp,8), %r14
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x9730
testl %eax, %eax
jne 0x9b27
movq 0x8(%rbx), %r12
movq 0x8(%r12), %rsi
cmpq 0x10(%r12), %rsi
jne 0x97d1
testq %rsi, %rsi
je 0x97d7
leaq (%rsi,%rsi), %rax
movq %rax, 0x10(%r12)
movq (%r12), %rdi
shlq $0x4, %rsi
callq 0x1160
movq 0x8(%rbx), %r12
movq %rax, (%r12)
testq %rax, %rax
je 0x9b59
movq 0x8(%r12), %rsi
jmp 0x97f7
movq (%r12), %rax
jmp 0x97f7
movq $0x1, 0x10(%r12)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r12)
testq %rax, %rax
je 0x9b9f
xorl %esi, %esi
movq $0x6, (%rax,%rsi,8)
incq 0x8(%r12)
movq (%r14), %rsi
movq %r15, %rdi
callq 0x85c8
movq 0x8(%r12), %rsi
cmpq 0x10(%r12), %rsi
jne 0x9866
testq %rsi, %rsi
je 0x9848
leaq (%rsi,%rsi), %rax
movq %rax, 0x10(%r12)
movq (%r12), %rdi
shlq $0x4, %rsi
callq 0x1160
movq 0x8(%rbx), %r12
movq %rax, (%r12)
testq %rax, %rax
jne 0x9866
jmp 0x9b36
movq $0x1, 0x10(%r12)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r12)
testq %rax, %rax
je 0x9b7c
movq 0x50(%rsp), %rax
movq %rax, 0x20(%rsp)
movups 0x30(%rsp), %xmm0
movups 0x40(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r12, %rdi
callq 0x9ec2
cltq
movq 0x8(%rbx), %rcx
movq (%rcx), %rdx
movq 0x8(%rcx), %rsi
movq %rax, (%rdx,%rsi,8)
incq 0x8(%rcx)
incq %rbp
jmp 0x9768
movq (%rsi), %r15
movq (%r15), %rax
testq %rax, %rax
je 0x98ff
movl 0x8(%rax), %r14d
decq %r14
testl %r14d, %r14d
js 0x98ff
movq (%r15), %rax
movq (%rax), %rax
movl %r14d, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movq (%rax,%rcx,8), %rsi
movq %rbx, %rdi
callq 0x9730
decq %r14
testl %eax, %eax
je 0x98ba
jmp 0x9b27
movq (%rsi), %rsi
movq %rbx, %rdi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9da7
movq 0x8(%rbx), %r14
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
jne 0x9980
testq %rsi, %rsi
je 0x998d
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 0x9be9
movq 0x8(%r14), %rsi
jmp 0x99ab
movq 0x8(%rbx), %r14
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
jne 0x9985
testq %rsi, %rsi
je 0x9a4b
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 0x9c0e
movq 0x8(%r14), %rsi
jmp 0x9a69
movq (%r14), %rax
jmp 0x99ab
movq (%r14), %rax
jmp 0x9a69
movq $0x1, 0x10(%r14)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r14)
testq %rax, %rax
je 0x9c7d
xorl %esi, %esi
movq $0x7, (%rax,%rsi,8)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rcx
incq %rsi
movq %rsi, 0x8(%r14)
movq (%r15), %r12
testq %r12, %r12
je 0x9a0c
cmpq %rcx, %rsi
jne 0x9af3
testq %rsi, %rsi
je 0x9ad5
leaq (%rsi,%rsi), %rcx
movq %rcx, 0x10(%r14)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x1160
movq 0x8(%rbx), %r14
movq %rax, (%r14)
testq %rax, %rax
je 0x9c58
movq (%r15), %r12
movq 0x8(%r14), %rsi
jmp 0x9af3
cmpq %rcx, %rsi
jne 0x9b1c
testq %rsi, %rsi
je 0x9afe
leaq (%rsi,%rsi), %rcx
movq %rcx, 0x10(%r14)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x1160
movq 0x8(%rbx), %r14
movq %rax, (%r14)
testq %rax, %rax
je 0x9cef
movq 0x8(%r14), %rsi
jmp 0x9b1c
movq $0x1, 0x10(%r14)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r14)
testq %rax, %rax
je 0x9ca3
xorl %esi, %esi
movq $0x5, (%rax,%rsi,8)
movq 0x8(%r14), %rsi
incq %rsi
movq %rsi, 0x8(%r14)
cmpq 0x10(%r14), %rsi
jne 0x9acf
testq %rsi, %rsi
je 0x9ab1
leaq (%rsi,%rsi), %rcx
movq %rcx, 0x10(%r14)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x1160
movq 0x8(%rbx), %r14
movq %rax, (%r14)
testq %rax, %rax
je 0x9c33
movq 0x8(%r14), %rsi
jmp 0x9acf
movq $0x1, 0x10(%r14)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r14)
testq %rax, %rax
je 0x9cc9
xorl %esi, %esi
movq 0x8(%r13), %rcx
jmp 0x9af8
movq $0x1, 0x10(%r14)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r14)
testq %rax, %rax
je 0x9d11
xorl %esi, %esi
movq 0x8(%r12), %rcx
movq %rcx, (%rax,%rsi,8)
jmp 0x9b21
movq $0x1, 0x10(%r14)
pushq $0x8
popq %rdi
callq 0x1130
movq %rax, (%r14)
testq %rax, %rax
je 0x9d37
xorl %esi, %esi
andq $0x0, (%rax,%rsi,8)
incq 0x8(%r14)
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xc4b3(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r12), %r8
shlq $0x3, %r8
leaq 0x4da1(%rip), %rsi      # 0xe8f1
leaq 0x57c1(%rip), %rdx      # 0xf318
jmp 0x9b98
movq 0xc490(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r12), %r8
shlq $0x3, %r8
leaq 0x4d7e(%rip), %rsi      # 0xe8f1
leaq 0x579e(%rip), %rdx      # 0xf318
jmp 0x9bbb
movq 0xc46d(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x4a31(%rip), %rsi      # 0xe5be
leaq 0x5784(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0x89, %ecx
jmp 0x9bc0
movq 0xc44a(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x4a0e(%rip), %rsi      # 0xe5be
leaq 0x5761(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0x87, %ecx
xorl %eax, %eax
callq 0x1100
pushq $0x1
popq %rdi
callq 0x1180
movq 0xc41a(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x4e4c(%rip), %rsi      # 0xea2c
xorl %eax, %eax
callq 0x1100
jmp 0x9bc7
movq 0xc400(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r14), %r8
shlq $0x3, %r8
leaq 0x4cef(%rip), %rsi      # 0xe8f1
leaq 0x570f(%rip), %rdx      # 0xf318
jmp 0x9c99
movq 0xc3db(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r14), %r8
shlq $0x3, %r8
leaq 0x4cca(%rip), %rsi      # 0xe8f1
leaq 0x56ea(%rip), %rdx      # 0xf318
jmp 0x9cbf
movq 0xc3b6(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r14), %r8
shlq $0x3, %r8
leaq 0x4ca5(%rip), %rsi      # 0xe8f1
leaq 0x56c5(%rip), %rdx      # 0xf318
jmp 0x9ce5
movq 0xc391(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r14), %r8
shlq $0x3, %r8
leaq 0x4c80(%rip), %rsi      # 0xe8f1
leaq 0x56a0(%rip), %rdx      # 0xf318
jmp 0x9d2d
movq 0xc36c(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x4930(%rip), %rsi      # 0xe5be
leaq 0x5683(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0xac, %ecx
jmp 0x9bc0
movq 0xc346(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x490a(%rip), %rsi      # 0xe5be
leaq 0x565d(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0x99, %ecx
jmp 0x9bc0
movq 0xc320(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x48e4(%rip), %rsi      # 0xe5be
leaq 0x5637(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0x9a, %ecx
jmp 0x9bc0
movq 0xc2fa(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
movq 0x10(%r14), %r8
shlq $0x3, %r8
leaq 0x4be9(%rip), %rsi      # 0xe8f1
leaq 0x5609(%rip), %rdx      # 0xf318
jmp 0x9d53
movq 0xc2d8(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x489c(%rip), %rsi      # 0xe5be
leaq 0x55ef(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0xaf, %ecx
jmp 0x9bc0
movq 0xc2b2(%rip), %rax      # 0x15ff0
movq (%rax), %rdi
leaq 0x4876(%rip), %rsi      # 0xe5be
leaq 0x55c9(%rip), %rdx      # 0xf318
pushq $0x8
popq %r8
movl $0xb1, %ecx
jmp 0x9bc0