// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_type_StackType_tuplezec99zerepr
static struct mirth_c99_C99ReprType mw_mirth_type_StackType_tuplezec99zerepr (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_type_StackType in_StackType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_list_List_1 v6;
	struct mirth_type_StackTypeBase v7 = mw_mirth_type_StackType_splitzeparts(in_zaMirth_1, in_StackType_2, &v5, &v6);
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	struct mirth_c99_C99ReprType branch_C99ReprType_9;
	switch ((v7).tag) {
		case mirth_type_StackTypeBase_Unit: {
			INT v10 = mw_std_list_List_1_len(v6);
			INT v11 = WRAP_I63(0LL);
			INT v12 = v11;
			INT v13 = v10;
			bool v14 = int_eq(v13, v12);
			struct mirth_mirth_zaMirth* branch_zaMirth_15;
			struct mirth_c99_C99ReprType branch_C99ReprType_16;
			if (v14) {
				struct mirth_c99_C99ReprType v17 = { .tag=mirth_c99_C99ReprType_Void };
				branch_C99ReprType_16 = v17;
				branch_zaMirth_15 = v5;
			} else {
				struct mirth_c99_C99ReprType v18 = { .tag=mirth_c99_C99ReprType_TUP };
				branch_C99ReprType_16 = v18;
				branch_zaMirth_15 = v5;
			}
			branch_C99ReprType_9 = branch_C99ReprType_16;
			branch_zaMirth_8 = branch_zaMirth_15;
		} break;
		default: {
			decref(MK_mirth_type_StackTypeBase(v7));
			decref(MK_std_list_List_1(v6));
			struct mirth_c99_C99ReprType v19 = { .tag=mirth_c99_C99ReprType_TUP };
			branch_C99ReprType_9 = v19;
			branch_zaMirth_8 = v5;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_8;
	return branch_C99ReprType_9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movl %esi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %esi
movq -0x18(%rbp), %rdx
leaq -0x38(%rbp), %rcx
leaq -0x48(%rbp), %r8
callq 0xafdb0
movl %eax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movl -0x58(%rbp), %eax
subl $0x2, %eax
jne 0x2339f5
jmp 0x233907
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x33100
movq %rax, -0x68(%rbp)
movq 0x13b132(%rip), %rax    # 0x36ea50
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0x81(%rbp)
testb $0x1, -0x81(%rbp)
je 0x23398c
leaq -0xb0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0xb0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0x2339cf
movq 0x13b1b5(%rip), %rax    # 0x36eb48
movq %rax, -0xc0(%rbp)
movq 0x13b1af(%rip), %rax    # 0x36eb50
movq %rax, -0xb8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0x233c21
jmp 0x2339f7
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0xc0680
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x233aec
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0xc0680
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe0(%rbp), %rax
cmpq $0x0, %rax
je 0x233aec
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0xc0680
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x233aec
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0xc0680
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x233aea
movl -0x58(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0xc0680
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x127c0
jmp 0x233aec
jmp 0x233aee
jmp 0x233af0
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x118(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x233be5
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rax
cmpq $0x0, %rax
je 0x233be5
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x233be5
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x150(%rbp)
movq %rdx, -0x148(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x233be3
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x12780
movq %rax, -0x160(%rbp)
movq %rdx, -0x158(%rbp)
movq -0x160(%rbp), %rdi
movq -0x158(%rbp), %rsi
callq 0x127c0
jmp 0x233be5
jmp 0x233be7
movq 0x13af5a(%rip), %rax    # 0x36eb48
movq %rax, -0x170(%rbp)
movq 0x13af54(%rip), %rax    # 0x36eb50
movq %rax, -0x168(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x168(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
nopl (%rax)