// File: /workspace/github_c_makefile_star2_O3/Ihsoh[P]ilang/compiler/frontend/irgen_c.c
// Function: ir_expr_assign
static bool _ir_expr_assign(
	IRGeneratorCContext *ctx,
	ResizableString *rstr,
	ParserASTNode *node_expr
) {
	assert(ctx);
	assert(rstr);
	assert(node_expr);

	#define	_IR_EXPR_ASSIGN(str_opt)	\
	{	\
		assert(node_expr->nchilds == 2);	\
		rstr_append_with_cstr(rstr, "(");	\
		_ir_expr(ctx, rstr, node_expr->childs[0]);	\
		rstr_append_with_cstr(rstr, (str_opt));	\
		_ir_expr(ctx, rstr, node_expr->childs[1]);	\
		rstr_append_with_cstr(rstr, ")");	\
	}

	switch (node_expr->type) {
		case FE_NODE_EXPR_ASSIGN: {
			_IR_EXPR_ASSIGN(" = ")
			return true;
		}
		case FE_NODE_EXPR_ADD_ASSIGN: {
			_IR_EXPR_ASSIGN(" += ")
			return true;
		}
		case FE_NODE_EXPR_SUB_ASSIGN: {
			_IR_EXPR_ASSIGN(" -= ")
			return true;
		}
		case FE_NODE_EXPR_MUL_ASSIGN: {
			_IR_EXPR_ASSIGN(" *= ")
			return true;
		}
		case FE_NODE_EXPR_DIV_ASSIGN: {
			_IR_EXPR_ASSIGN(" /= ")
			return true;
		}
		case FE_NODE_EXPR_MOD_ASSIGN: {
			_IR_EXPR_ASSIGN(" %= ")
			return true;
		}
		case FE_NODE_EXPR_BAND_ASSIGN: {
			_IR_EXPR_ASSIGN(" &= ")
			return true;
		}
		case FE_NODE_EXPR_BOR_ASSIGN: {
			_IR_EXPR_ASSIGN(" |= ")
			return true;
		}
		case FE_NODE_EXPR_BXOR_ASSIGN: {
			_IR_EXPR_ASSIGN(" ^= ")
			return true;
		}
		case FE_NODE_EXPR_SHIFT_LEFT_ASSIGN: {
			_IR_EXPR_ASSIGN(" <<= ")
			return true;
		}
		case FE_NODE_EXPR_SHIFT_RIGHT_ASSIGN: {
			_IR_EXPR_ASSIGN(" >>= ")
			return true;
		}
		default: {
			return false;
		}
	}

	#undef	_IR_EXPR_ASSIGN
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl $0xfffff1f0, %eax       # imm = 0xFFFFF1F0
addl (%rdx), %eax
cmpl $0xa, %eax
ja 0x16cc7
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x2cce1(%rip), %rcx     # 0x43860
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x2, 0x44(%r15)
jne 0x16d66
leaq 0x2e77d(%rip), %r12     # 0x45317
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16ccb
leaq 0x2d70d(%rip), %r12     # 0x442be
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16cea
leaq 0x2d70f(%rip), %r12     # 0x442d7
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16d09
leaq 0x2d6d5(%rip), %r12     # 0x442b4
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16d28
leaq 0x2d6c3(%rip), %r12     # 0x442b9
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16d47
leaq 0x2d6c3(%rip), %r12     # 0x442cd
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16d85
leaq 0x2d691(%rip), %r12     # 0x442af
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16da4
leaq 0x2d691(%rip), %r12     # 0x442c3
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16dc3
leaq 0x2d682(%rip), %r12     # 0x442c8
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16de2
leaq 0x2d683(%rip), %r12     # 0x442dd
jmp 0x16c6e
cmpl $0x2, 0x44(%r15)
jne 0x16e01
leaq 0x2d664(%rip), %r12     # 0x442d2
leaq 0x2d7d1(%rip), %rsi     # 0x44446
movq %rbx, %rdi
callq 0x73db
movq 0x48(%r15), %rax
movq (%rax), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x15332
movq %rbx, %rdi
movq %r12, %rsi
callq 0x73db
movq 0x48(%r15), %rax
movq 0x8(%rax), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x15332
leaq 0x2cd56(%rip), %rsi     # 0x43a0a
movq %rbx, %rdi
callq 0x73db
movb $0x1, %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
jmp 0x16cbe
leaq 0x2d0af(%rip), %rdi     # 0x43d81
leaq 0x2cbb3(%rip), %rsi     # 0x4388c
leaq 0x2d57e(%rip), %rcx     # 0x4425e
movl $0x443, %edx            # imm = 0x443
callq 0x30a0
leaq 0x2d090(%rip), %rdi     # 0x43d81
leaq 0x2cb94(%rip), %rsi     # 0x4388c
leaq 0x2d55f(%rip), %rcx     # 0x4425e
movl $0x457, %edx            # imm = 0x457
callq 0x30a0
leaq 0x2d071(%rip), %rdi     # 0x43d81
leaq 0x2cb75(%rip), %rsi     # 0x4388c
leaq 0x2d540(%rip), %rcx     # 0x4425e
movl $0x43b, %edx            # imm = 0x43B
callq 0x30a0
leaq 0x2d052(%rip), %rdi     # 0x43d81
leaq 0x2cb56(%rip), %rsi     # 0x4388c
leaq 0x2d521(%rip), %rcx     # 0x4425e
movl $0x43f, %edx            # imm = 0x43F
callq 0x30a0
leaq 0x2d033(%rip), %rdi     # 0x43d81
leaq 0x2cb37(%rip), %rsi     # 0x4388c
leaq 0x2d502(%rip), %rcx     # 0x4425e
movl $0x44f, %edx            # imm = 0x44F
callq 0x30a0
leaq 0x2d014(%rip), %rdi     # 0x43d81
leaq 0x2cb18(%rip), %rsi     # 0x4388c
leaq 0x2d4e3(%rip), %rcx     # 0x4425e
movl $0x433, %edx            # imm = 0x433
callq 0x30a0
leaq 0x2cff5(%rip), %rdi     # 0x43d81
leaq 0x2caf9(%rip), %rsi     # 0x4388c
leaq 0x2d4c4(%rip), %rcx     # 0x4425e
movl $0x437, %edx            # imm = 0x437
callq 0x30a0
leaq 0x2cfd6(%rip), %rdi     # 0x43d81
leaq 0x2cada(%rip), %rsi     # 0x4388c
leaq 0x2d4a5(%rip), %rcx     # 0x4425e
movl $0x447, %edx            # imm = 0x447
callq 0x30a0
leaq 0x2cfb7(%rip), %rdi     # 0x43d81
leaq 0x2cabb(%rip), %rsi     # 0x4388c
leaq 0x2d486(%rip), %rcx     # 0x4425e
movl $0x44b, %edx            # imm = 0x44B
callq 0x30a0
leaq 0x2cf98(%rip), %rdi     # 0x43d81
leaq 0x2ca9c(%rip), %rsi     # 0x4388c
leaq 0x2d467(%rip), %rcx     # 0x4425e
movl $0x45b, %edx            # imm = 0x45B
callq 0x30a0
leaq 0x2cf79(%rip), %rdi     # 0x43d81
leaq 0x2ca7d(%rip), %rsi     # 0x4388c
leaq 0x2d448(%rip), %rcx     # 0x4425e
movl $0x453, %edx            # imm = 0x453
callq 0x30a0