// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_mirth_zaMirth_incrementzemainzehomezeindexzx
static INT mw_mirth_mirth_zaMirth_incrementzemainzehomezeindexzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_mirth_zaMirth* *out_zaMirth_2) {
	INT v4 = in_zaMirth_1->mmainzehomezeindex;
	incref(MKINT(v4));
	incref(MKINT(v4));
	INT v5 = WRAP_I63(1LL);
	INT v6 = v5;
	INT v7 = int_add(v4, v6);
	INT v8 = in_zaMirth_1->mmainzehomezeindex;
	decref(MKINT(v8));
	in_zaMirth_1->mmainzehomezeindex = v7;
	*out_zaMirth_2 = in_zaMirth_1;
	return v4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0xd1b4a(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2bf970
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0xd1b25(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rax
cmpq $0x0, %rax
je 0x2bf970
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0xd1afa(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2bf970
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0xd1ad5(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2bf972
jmp 0x2bf974
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0xd1aa5(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2bfa28
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0xd1a7c(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x2bfa28
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0xd1a4e(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x88(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2bfa28
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0xd1a23(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x2bfa2a
movq 0xaf027(%rip), %rax     # 0x36ea58
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x1b780
movq %rax, -0xb0(%rbp)
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rax
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0xd19a7(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x2bfb7f
movq -0xb8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0xd1972(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
cmpq $0x0, %rax
je 0x2bfb7f
movq -0xb8(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0xd1937(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x2bfb7f
movq -0xb8(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0xd1906(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x2bfb7d
movq -0xb8(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0xd18c9(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x108(%rbp), %rdi
movq -0x100(%rbp), %rsi
callq 0x127c0
jmp 0x2bfb7f
jmp 0x2bfb81
movq -0x10(%rbp), %rax
movq -0xb0(%rbp), %rcx
movq %rcx, 0x50(%rax)
movq -0x10(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopl (%rax,%rax)