// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_prim_Array_1_expand
static ARR* mw_std_prim_Array_1_expand (VAL in_a_1, INT in_Nat_2, ARR* in_Array_3) {
	INT v5 = in_Nat_2;
	INT v6 = WRAP_I63(0LL);
	INT v7 = WRAP_I63(-1LL);
	uint64_t v8 = int_to_u64(v7);
	INT v9 = u64_to_int(v8);
	incref(MKINT(v5));
	incref(MKINT(v6));
	bool v10 = int_lt(v5, v6);
	INT branch_Int_11;
	if (v10) {
		decref(MKINT(v5));
		branch_Int_11 = v6;
	} else {
		decref(MKINT(v6));
		branch_Int_11 = v5;
	}
	incref(MKINT(branch_Int_11));
	incref(MKINT(v9));
	bool v12 = int_lt(v9, branch_Int_11);
	INT branch_Int_13;
	if (v12) {
		decref(MKINT(branch_Int_11));
		branch_Int_13 = v9;
	} else {
		decref(MKINT(v9));
		branch_Int_13 = branch_Int_11;
	}
	uint64_t v14 = int_to_u64(branch_Int_13);
	ARR* v15 = arr_expand(in_Array_3, v14, in_a_1);
	return v15;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2c0, %rsp            # imm = 0x2C0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x8(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq 0x336d86(%rip), %rax    # 0x36ea50
movq %rax, -0x30(%rbp)
movq 0x336d9b(%rip), %rax    # 0x36ea70
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x1b680
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0x1b520
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x359726(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x37d9e
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x3596fd(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
cmpq $0x0, %rax
je 0x37d9e
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x3596d2(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x37d9e
movq -0x28(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x3596aa(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x37da0
jmp 0x37da2
movq -0x30(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x359674(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x37e6b
movq -0x30(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq 0x359642(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
cmpq $0x0, %rax
je 0x37e6b
movq -0x30(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq 0x35960e(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movq -0xb8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x37e6b
movq -0x30(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq 0x3595e0(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xc0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x37e6d
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0xc9(%rbp)
testb $0x1, -0xc9(%rbp)
je 0x37fa7
jmp 0x37e91
movq -0x28(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x359585(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x37f95
movq -0x28(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x359553(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0x37f95
movq -0x28(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x35951b(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x108(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x37f95
movq -0x28(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x3594ed(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x37f93
movq -0x28(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x3594b3(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
callq 0x127c0
jmp 0x37f95
jmp 0x37f97
movq -0x30(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0x380ba
jmp 0x37fa9
movq -0x30(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x35946d(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x380ad
movq -0x30(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq 0x35943b(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
cmpq $0x0, %rax
je 0x380ad
movq -0x30(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq 0x359403(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movq -0x158(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x380ad
movq -0x30(%rbp), %rax
movq %rax, -0x168(%rbp)
leaq 0x3593d5(%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 0x380ab
movq -0x30(%rbp), %rax
movq %rax, -0x178(%rbp)
leaq 0x35939b(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x170(%rbp)
movq -0x178(%rbp), %rdi
movq -0x170(%rbp), %rsi
callq 0x127c0
jmp 0x380ad
jmp 0x380af
movq -0x28(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0x380bc
movq -0xd8(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq 0x359357(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x180(%rbp)
movq -0x180(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x38191
movq -0xd8(%rbp), %rax
movq %rax, -0x198(%rbp)
leaq 0x359322(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x190(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x198(%rbp), %rax
cmpq $0x0, %rax
je 0x38191
movq -0xd8(%rbp), %rax
movq %rax, -0x1a8(%rbp)
leaq 0x3592eb(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x38191
movq -0xd8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
leaq 0x3592ba(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1b0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1b8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x38193
jmp 0x38195
movq -0x48(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq 0x359281(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1c0(%rbp)
movq -0x1c0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3825e
movq -0x48(%rbp), %rax
movq %rax, -0x1d8(%rbp)
leaq 0x35924f(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1d0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1d8(%rbp), %rax
cmpq $0x0, %rax
je 0x3825e
movq -0x48(%rbp), %rax
movq %rax, -0x1e8(%rbp)
leaq 0x35921b(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1e0(%rbp)
movq -0x1e8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3825e
movq -0x48(%rbp), %rax
movq %rax, -0x1f8(%rbp)
leaq 0x3591ed(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x1f0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1f8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x38260
movq -0x48(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0x1f9(%rbp)
testb $0x1, -0x1f9(%rbp)
je 0x383ac
jmp 0x38287
movq -0xd8(%rbp), %rax
movq %rax, -0x218(%rbp)
leaq 0x35918c(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x210(%rbp)
movq -0x210(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3839a
movq -0xd8(%rbp), %rax
movq %rax, -0x228(%rbp)
leaq 0x359157(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x220(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x228(%rbp), %rax
cmpq $0x0, %rax
je 0x3839a
movq -0xd8(%rbp), %rax
movq %rax, -0x238(%rbp)
leaq 0x35911c(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x230(%rbp)
movq -0x238(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3839a
movq -0xd8(%rbp), %rax
movq %rax, -0x248(%rbp)
leaq 0x3590eb(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x240(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x248(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x38398
movq -0xd8(%rbp), %rax
movq %rax, -0x258(%rbp)
leaq 0x3590ae(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x250(%rbp)
movq -0x258(%rbp), %rdi
movq -0x250(%rbp), %rsi
callq 0x127c0
jmp 0x3839a
jmp 0x3839c
movq -0x48(%rbp), %rax
movq %rax, -0x208(%rbp)
jmp 0x384c2
jmp 0x383ae
movq -0x48(%rbp), %rax
movq %rax, -0x268(%rbp)
leaq 0x359068(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x260(%rbp)
movq -0x260(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x384b2
movq -0x48(%rbp), %rax
movq %rax, -0x278(%rbp)
leaq 0x359036(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x270(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x278(%rbp), %rax
cmpq $0x0, %rax
je 0x384b2
movq -0x48(%rbp), %rax
movq %rax, -0x288(%rbp)
leaq 0x358ffe(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x280(%rbp)
movq -0x288(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x384b2
movq -0x48(%rbp), %rax
movq %rax, -0x298(%rbp)
leaq 0x358fd0(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x290(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x298(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x384b0
movq -0x48(%rbp), %rax
movq %rax, -0x2a8(%rbp)
leaq 0x358f96(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x2a0(%rbp)
movq -0x2a8(%rbp), %rdi
movq -0x2a0(%rbp), %rsi
callq 0x127c0
jmp 0x384b2
jmp 0x384b4
movq -0xd8(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x208(%rbp), %rdi
callq 0x1b680
movq %rax, -0x2b0(%rbp)
movq -0x20(%rbp), %rdi
movq -0x2b0(%rbp), %rsi
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rcx
callq 0x38510
movq %rax, -0x2b8(%rbp)
movq -0x2b8(%rbp), %rax
addq $0x2c0, %rsp            # imm = 0x2C0
popq %rbp
retq
nopw %cs:(%rax,%rax)