// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_list_List_1_dropzeslice
static struct std_list_List_1 mw_std_list_List_1_dropzeslice (INT in_Nat_1, struct std_list_List_1 in_List_2) {
	incref(MKNAT(in_Nat_1));
	INT v4 = WRAP_I63(0LL);
	INT v5 = in_Nat_1;
	INT v6 = v4;
	bool v7 = int_lt(v6, v5);
	struct std_list_List_1 v8 = in_List_2;
	INT v9 = in_Nat_1;
	bool v10 = v7;
	while (v10) {
		struct std_list_List_1 v11 = v8;
		INT v12 = v9;
		struct std_list_List_1 v13 = mw_std_list_List_1_tail(v11);
		INT v14 = WRAP_I63(1LL);
		INT v15 = v12;
		INT v16 = v14;
		INT v17 = int_sub(v15, v16);
		incref(MKINT(v17));
		INT v18 = WRAP_I63(0LL);
		INT v19 = v18;
		bool v20 = int_le(v19, v17);
		INT branch_Nat_21;
		if (v20) {
			INT v22 = v17;
			branch_Nat_21 = v22;
		} else {
			decref(MKINT(v17));
			INT v23 = WRAP_I63(0LL);
			branch_Nat_21 = v23;
		}
		incref(MKNAT(branch_Nat_21));
		INT v24 = WRAP_I63(0LL);
		INT v25 = branch_Nat_21;
		INT v26 = v24;
		bool v27 = int_lt(v26, v25);
		v10 = v27;
		v9 = branch_Nat_21;
		v8 = v13;
	}
	decref(MKNAT(v9));
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rdi, -0x18(%rbp)
movl %esi, -0x28(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x27b2db(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x115ec7
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x27b2b6(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0x115ec7
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x27b28b(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x115ec7
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x27b266(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x115ec9
movq 0x258b80(%rip), %rax    # 0x36ea50
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0x81(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x90(%rbp)
movb -0x81(%rbp), %al
andb $0x1, %al
movb %al, -0x91(%rbp)
testb $0x1, -0x91(%rbp)
je 0x116376
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xb0(%rbp)
movl -0xa8(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x11c800
movl %eax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq 0x258adf(%rip), %rax    # 0x36ea58
movq %rax, -0xc8(%rbp)
movq -0xb0(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0x1c670
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x27b45d(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x11608b
movq -0xe0(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x27b428(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rax
cmpq $0x0, %rax
je 0x11608b
movq -0xe0(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x27b3f1(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x11608b
movq -0xe0(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x27b3c0(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x11608d
movq 0x2589bc(%rip), %rax    # 0x36ea50
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x130(%rbp)
movq -0x130(%rbp), %rdi
movq -0xe0(%rbp), %rsi
callq 0x1c1b0
andb $0x1, %al
movb %al, -0x131(%rbp)
testb $0x1, -0x131(%rbp)
je 0x1160ee
movq -0xe0(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rax
movq %rax, -0x140(%rbp)
jmp 0x116221
jmp 0x1160f0
movq -0xe0(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq 0x27b323(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x116203
movq -0xe0(%rbp), %rax
movq %rax, -0x168(%rbp)
leaq 0x27b2ee(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x160(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x168(%rbp), %rax
cmpq $0x0, %rax
je 0x116203
movq -0xe0(%rbp), %rax
movq %rax, -0x178(%rbp)
leaq 0x27b2b3(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x170(%rbp)
movq -0x178(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x116203
movq -0xe0(%rbp), %rax
movq %rax, -0x188(%rbp)
leaq 0x27b282(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x180(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x188(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x116201
movq -0xe0(%rbp), %rax
movq %rax, -0x198(%rbp)
leaq 0x27b245(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x190(%rbp)
movq -0x198(%rbp), %rdi
movq -0x190(%rbp), %rsi
callq 0x127c0
jmp 0x116203
jmp 0x116205
movq 0x258844(%rip), %rax    # 0x36ea50
movq %rax, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rax
movq %rax, -0x140(%rbp)
jmp 0x116223
movq -0x140(%rbp), %rax
movq %rax, -0x1b0(%rbp)
leaq 0x27aed8(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x1a8(%rbp)
movq -0x1a8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1162f8
movq -0x140(%rbp), %rax
movq %rax, -0x1c0(%rbp)
leaq 0x27aea3(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x1b8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c0(%rbp), %rax
cmpq $0x0, %rax
je 0x1162f8
movq -0x140(%rbp), %rax
movq %rax, -0x1d0(%rbp)
leaq 0x27ae6c(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x1c8(%rbp)
movq -0x1d0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1162f8
movq -0x140(%rbp), %rax
movq %rax, -0x1e0(%rbp)
leaq 0x27ae3b(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x1d8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1e0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1162fa
movq 0x25874f(%rip), %rax    # 0x36ea50
movq %rax, -0x1e8(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x1e8(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x1f8(%rbp), %rdi
movq -0x1f0(%rbp), %rsi
callq 0xae20
andb $0x1, %al
movb %al, -0x1f9(%rbp)
movb -0x1f9(%rbp), %al
andb $0x1, %al
movb %al, -0x91(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x115f22
jmp 0x116378
movq -0x90(%rbp), %rax
movq %rax, -0x210(%rbp)
leaq 0x27ad83(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x208(%rbp)
movq -0x208(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x11648b
movq -0x90(%rbp), %rax
movq %rax, -0x220(%rbp)
leaq 0x27ad4e(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x218(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x220(%rbp), %rax
cmpq $0x0, %rax
je 0x11648b
movq -0x90(%rbp), %rax
movq %rax, -0x230(%rbp)
leaq 0x27ad13(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x228(%rbp)
movq -0x230(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x11648b
movq -0x90(%rbp), %rax
movq %rax, -0x240(%rbp)
leaq 0x27ace2(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x238(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x240(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x116489
movq -0x90(%rbp), %rax
movq %rax, -0x250(%rbp)
leaq 0x27aca5(%rip), %rax    # 0x391110
orq $0x1, %rax
movq %rax, -0x248(%rbp)
movq -0x250(%rbp), %rdi
movq -0x248(%rbp), %rsi
callq 0x127c0
jmp 0x11648b
jmp 0x11648d
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
nopl (%rax)