// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_List_1_sp13
static struct std_list_List_1 mw_std_list_List_1_List_1_sp13 (INT in_Nat_1) {
	struct std_list_List_1 v3 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v4;
	mw_std_list_List_1_buildzx(v3, &v4);
	incref(MKNAT(in_Nat_1));
	INT v5 = WRAP_I63(0LL);
	INT v6 = in_Nat_1;
	INT v7 = v5;
	bool v8 = int_lt(v7, v6);
	struct std_list_List_1 r9 = v4;
	INT v10 = in_Nat_1;
	bool v11 = v8;
	while (v11) {
		struct std_list_List_1 r12 = r9;
		INT v13 = v10;
		struct mirth_type_Type v14 = { .tag=mirth_type_Type_Ignore };
		struct mirth_type_StackTypePart v15 = mtw_mirth_type_StackTypePart_Cons(v14);
		struct std_list_List_1 v16;
		mw_std_list_zaLister_1_pushzx(MK_mirth_type_StackTypePart(v15), r12, &v16);
		INT v17 = WRAP_I63(1LL);
		INT v18 = v13;
		INT v19 = v17;
		INT v20 = int_sub(v18, v19);
		incref(MKINT(v20));
		INT v21 = WRAP_I63(0LL);
		INT v22 = v21;
		bool v23 = int_le(v22, v20);
		INT branch_Nat_24;
		if (v23) {
			INT v25 = v20;
			branch_Nat_24 = v25;
		} else {
			decref(MKINT(v20));
			INT v26 = WRAP_I63(0LL);
			branch_Nat_24 = v26;
		}
		incref(MKNAT(branch_Nat_24));
		INT v27 = WRAP_I63(0LL);
		INT v28 = branch_Nat_24;
		INT v29 = v27;
		bool v30 = int_lt(v29, v28);
		v11 = v30;
		v10 = branch_Nat_24;
		r9 = v16;
	}
	decref(MKNAT(v10));
	struct std_list_List_1 v31 = mw_std_list_zaLister_1_donezx(r9);
	return v31;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2a0, %rsp            # imm = 0x2A0
movq %rdi, -0x18(%rbp)
leaq -0x28(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x28(%rbp), %edi
movq -0x20(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0xc9d0
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x5b0a2(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x336100
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x5b07d(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
cmpq $0x0, %rax
je 0x336100
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x5b052(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movq -0x68(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x336100
movq -0x18(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x5b02d(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x336102
movq 0x38947(%rip), %rax     # 0x36ea50
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0x91(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xb0(%rbp)
movb -0x91(%rbp), %al
andb $0x1, %al
movb %al, -0xb1(%rbp)
testb $0x1, -0xb1(%rbp)
je 0x336630
movq -0xa8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq 0x389cd(%rip), %rax     # 0x36eb78
movq %rax, -0xe0(%rbp)
movq 0x389c7(%rip), %rax     # 0x36eb80
movq %rax, -0xd8(%rbp)
movl -0xe0(%rbp), %edi
movq -0xd8(%rbp), %rsi
callq 0x72d40
movl %eax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movl -0xf0(%rbp), %edi
movq -0xe8(%rbp), %rsi
callq 0x72dd0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
movl -0xc8(%rbp), %edx
movq -0xc0(%rbp), %rcx
leaq -0x100(%rbp), %r8
callq 0xcc30
movq 0x3882b(%rip), %rax     # 0x36ea58
movq %rax, -0x118(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x120(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0x1c670
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x5b1a9(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x33633f
movq -0x130(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq 0x5b174(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x148(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rax
cmpq $0x0, %rax
je 0x33633f
movq -0x130(%rbp), %rax
movq %rax, -0x160(%rbp)
leaq 0x5b13d(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x158(%rbp)
movq -0x160(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x33633f
movq -0x130(%rbp), %rax
movq %rax, -0x170(%rbp)
leaq 0x5b10c(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x168(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x170(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x336341
movq 0x38708(%rip), %rax     # 0x36ea50
movq %rax, -0x178(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x180(%rbp), %rdi
movq -0x130(%rbp), %rsi
callq 0x1c1b0
andb $0x1, %al
movb %al, -0x181(%rbp)
testb $0x1, -0x181(%rbp)
je 0x3363a2
movq -0x130(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0x198(%rbp), %rax
movq %rax, -0x190(%rbp)
jmp 0x3364d5
jmp 0x3363a4
movq -0x130(%rbp), %rax
movq %rax, -0x1a8(%rbp)
leaq 0x5b06f(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3364b7
movq -0x130(%rbp), %rax
movq %rax, -0x1b8(%rbp)
leaq 0x5b03a(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x1b0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1b8(%rbp), %rax
cmpq $0x0, %rax
je 0x3364b7
movq -0x130(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq 0x5afff(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x1c0(%rbp)
movq -0x1c8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3364b7
movq -0x130(%rbp), %rax
movq %rax, -0x1d8(%rbp)
leaq 0x5afce(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x1d0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1d8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x3364b5
movq -0x130(%rbp), %rax
movq %rax, -0x1e8(%rbp)
leaq 0x5af91(%rip), %rax     # 0x391428
orq $0x1, %rax
movq %rax, -0x1e0(%rbp)
movq -0x1e8(%rbp), %rdi
movq -0x1e0(%rbp), %rsi
callq 0x127c0
jmp 0x3364b7
jmp 0x3364b9
movq 0x38590(%rip), %rax     # 0x36ea50
movq %rax, -0x1f0(%rbp)
movq -0x1f0(%rbp), %rax
movq %rax, -0x190(%rbp)
jmp 0x3364d7
movq -0x190(%rbp), %rax
movq %rax, -0x200(%rbp)
leaq 0x5ac24(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3365ac
movq -0x190(%rbp), %rax
movq %rax, -0x210(%rbp)
leaq 0x5abef(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x208(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x210(%rbp), %rax
cmpq $0x0, %rax
je 0x3365ac
movq -0x190(%rbp), %rax
movq %rax, -0x220(%rbp)
leaq 0x5abb8(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movq -0x220(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3365ac
movq -0x190(%rbp), %rax
movq %rax, -0x230(%rbp)
leaq 0x5ab87(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x228(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x230(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x3365ae
movq 0x3849b(%rip), %rax     # 0x36ea50
movq %rax, -0x238(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0x240(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x248(%rbp)
movq -0x248(%rbp), %rdi
movq -0x240(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0x249(%rbp)
movb -0x249(%rbp), %al
andb $0x1, %al
movb %al, -0xb1(%rbp)
movq -0x190(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xa0(%rbp)
jmp 0x33616d
jmp 0x336632
movq -0xb0(%rbp), %rax
movq %rax, -0x260(%rbp)
leaq 0x5aac9(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x258(%rbp)
movq -0x258(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x336745
movq -0xb0(%rbp), %rax
movq %rax, -0x270(%rbp)
leaq 0x5aa94(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x268(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x270(%rbp), %rax
cmpq $0x0, %rax
je 0x336745
movq -0xb0(%rbp), %rax
movq %rax, -0x280(%rbp)
leaq 0x5aa59(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x278(%rbp)
movq -0x280(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x336745
movq -0xb0(%rbp), %rax
movq %rax, -0x290(%rbp)
leaq 0x5aa28(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x288(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x290(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x336743
movq -0xb0(%rbp), %rax
movq %rax, -0x2a0(%rbp)
leaq 0x5a9eb(%rip), %rax     # 0x391110
orq $0x1, %rax
movq %rax, -0x298(%rbp)
movq -0x2a0(%rbp), %rdi
movq -0x298(%rbp), %rsi
callq 0x127c0
jmp 0x336745
jmp 0x336747
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0xcea0
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x2a0, %rsp            # imm = 0x2A0
popq %rbp
retq