// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_buffer_zaBuffer_expandzx
static void mw_std_buffer_zaBuffer_expandzx (ARR* in_zaBuffer_1, INT in_Sizze_2, ARR* *out_zaBuffer_3) {
	incref(MKINT(in_Sizze_2));
	ARR* v4;
	INT v5 = mw_std_buffer_zaBuffer_sizze(in_zaBuffer_1, &v4);
	bool v6 = int_lt(v5, in_Sizze_2);
	ARR* branch_zaBuffer_7;
	if (v6) {
		ARR* v8;
		INT v9 = mw_std_buffer_zaBuffer_sizze(v4, &v8);
		INT v10 = WRAP_I63(2LL);
		INT v11 = int_mul(v9, v10);
		incref(MKINT(in_Sizze_2));
		incref(MKINT(v11));
		bool v12 = int_lt(in_Sizze_2, v11);
		INT branch_Sizze_13;
		if (v12) {
			decref(MKINT(in_Sizze_2));
			branch_Sizze_13 = v11;
		} else {
			decref(MKINT(v11));
			branch_Sizze_13 = in_Sizze_2;
		}
		ARR* v14;
		mw_std_buffer_zaBuffer_resizzezx(v8, branch_Sizze_13, &v14);
		branch_zaBuffer_7 = v14;
	} else {
		decref(MKINT(in_Sizze_2));
		branch_zaBuffer_7 = v4;
	}
	*out_zaBuffer_3 = branch_zaBuffer_7;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
movq %rsi, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0x35cd62(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x34758
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x35cd3d(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rax
cmpq $0x0, %rax
je 0x34758
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x35cd12(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x34758
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x35cced(%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 0x3475a
movq -0x10(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x33770
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0x69(%rbp)
testb $0x1, -0x69(%rbp)
je 0x34bf0
movq -0x60(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x33770
movq %rax, -0x88(%rbp)
movq 0x33a2be(%rip), %rax    # 0x36ea60
movq %rax, -0x90(%rbp)
movq -0x88(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x2b090
movq %rax, -0x98(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x35cc53(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3488c
movq -0x8(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x35cc21(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0x3488c
movq -0x8(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x35cbed(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3488c
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x35cbbf(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x3488e
jmp 0x34890
movq -0x98(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x35cb83(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x34965
movq -0x98(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x35cb4e(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0x34965
movq -0x98(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x35cb17(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x108(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x34965
movq -0x98(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x35cae6(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x34967
movq -0x8(%rbp), %rdi
movq -0x98(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0x119(%rbp)
testb $0x1, -0x119(%rbp)
je 0x34aa7
jmp 0x3498e
movq -0x8(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x35ca88(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x34a92
movq -0x8(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq 0x35ca56(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
cmpq $0x0, %rax
je 0x34a92
movq -0x8(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq 0x35ca1e(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movq -0x158(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x34a92
movq -0x8(%rbp), %rax
movq %rax, -0x168(%rbp)
leaq 0x35c9f0(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x168(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x34a90
movq -0x8(%rbp), %rax
movq %rax, -0x178(%rbp)
leaq 0x35c9b6(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x170(%rbp)
movq -0x178(%rbp), %rdi
movq -0x170(%rbp), %rsi
callq 0x127c0
jmp 0x34a92
jmp 0x34a94
movq -0x98(%rbp), %rax
movq %rax, -0x128(%rbp)
jmp 0x34bc9
jmp 0x34aa9
movq -0x98(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq 0x35c96a(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x180(%rbp)
movq -0x180(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x34bbc
movq -0x98(%rbp), %rax
movq %rax, -0x198(%rbp)
leaq 0x35c935(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x190(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
cmpq $0x0, %rax
je 0x34bbc
movq -0x98(%rbp), %rax
movq %rax, -0x1a8(%rbp)
leaq 0x35c8fa(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x34bbc
movq -0x98(%rbp), %rax
movq %rax, -0x1b8(%rbp)
leaq 0x35c8c9(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1b0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1b8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x34bba
movq -0x98(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq 0x35c88c(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rdi
movq -0x1c0(%rbp), %rsi
callq 0x127c0
jmp 0x34bbc
jmp 0x34bbe
movq -0x8(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x80(%rbp), %rdi
movq -0x128(%rbp), %rsi
leaq -0x1d0(%rbp), %rdx
callq 0x34d20
movq -0x1d0(%rbp), %rax
movq %rax, -0x78(%rbp)
jmp 0x34d00
jmp 0x34bf2
movq -0x8(%rbp), %rax
movq %rax, -0x1e0(%rbp)
leaq 0x35c824(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1d8(%rbp)
movq -0x1d8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x34cf6
movq -0x8(%rbp), %rax
movq %rax, -0x1f0(%rbp)
leaq 0x35c7f2(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1e8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1f0(%rbp), %rax
cmpq $0x0, %rax
je 0x34cf6
movq -0x8(%rbp), %rax
movq %rax, -0x200(%rbp)
leaq 0x35c7ba(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1f8(%rbp)
movq -0x200(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x34cf6
movq -0x8(%rbp), %rax
movq %rax, -0x210(%rbp)
leaq 0x35c78c(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x208(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x210(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x34cf4
movq -0x8(%rbp), %rax
movq %rax, -0x220(%rbp)
leaq 0x35c752(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movq -0x220(%rbp), %rdi
movq -0x218(%rbp), %rsi
callq 0x127c0
jmp 0x34cf6
jmp 0x34cf8
movq -0x60(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
nopw %cs:(%rax,%rax)