// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99DataSumRepr_Make
static struct mirth_c99_C99DataSumRepr* mw_mirth_c99_C99DataSumRepr_Make (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Data_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	struct std_list_List_1 v6 = mw_mirth_data_Data_tags(in_zaMirth_1, in_Data_2, &v5);
	struct std_list_List_1 v7 = { .tag=std_list_List_1_Nil };
	struct std_list_List_1 v8;
	mw_std_list_List_1_buildzx(v7, &v8);
	bool v9 = true;
	struct mirth_mirth_zaMirth* r10 = v5;
	struct std_list_List_1 r11 = v8;
	struct std_list_List_1 v12 = v6;
	bool v13 = v9;
	bool v14 = v9;
	while (v14) {
		struct mirth_mirth_zaMirth* r15 = r10;
		struct std_list_List_1 r16 = r11;
		struct std_list_List_1 v17 = v12;
		bool v18 = v13;
		struct mirth_mirth_zaMirth* branch_zaMirth_19;
		struct std_list_List_1 branch_zaLister_20;
		struct std_list_List_1 branch_List_21;
		bool branch_Bool_22;
		switch ((v17).tag) {
			case std_list_List_1_Cons: {
				struct std_list_List_1 v23;
				VAL v24 = mtp_std_list_List_1_Cons(v17, &v23);
				struct mirth_mirth_zaMirth* v25;
				struct mirth_c99_C99DataSumTagRepr v26 = mw_mirth_c99_C99DataSumTagRepr_Make(r15, V_mirth_data_Tag(v24), &v25);
				struct std_list_List_1 v27;
				mw_std_list_zaLister_1_pushzx(MK_mirth_c99_C99DataSumTagRepr(v26), r16, &v27);
				bool v28 = true;
				branch_Bool_22 = v28;
				branch_List_21 = v23;
				branch_zaLister_20 = v27;
				branch_zaMirth_19 = v25;
			} break;
			case std_list_List_1_Nil: {
				struct std_list_List_1 v29 = { .tag=std_list_List_1_Nil };
				bool v30 = false;
				branch_Bool_22 = v30;
				branch_List_21 = v29;
				branch_zaLister_20 = r16;
				branch_zaMirth_19 = r15;
			} break;
			default: {
				do_panic(str_make("unexpected fallthrough in match\n", 32));
			}
		}
		v14 = branch_Bool_22;
		v13 = branch_Bool_22;
		v12 = branch_List_21;
		r11 = branch_zaLister_20;
		r10 = branch_zaMirth_19;
	}
	decref(MK_std_list_List_1(v12));
	struct std_list_List_1 v31 = mw_std_list_zaLister_1_donezx(r11);
	struct mirth_c99_C99DataSumRepr* v32 = mtw_mirth_c99_C99DataSumRepr_C99DataSumRepr(in_Data_2, v31);
	*out_zaMirth_3 = r10;
	return v32;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x20(%rbp), %rdx
callq 0x10e0f0
movl %eax, -0x30(%rbp)
movq %rdx, -0x28(%rbp)
leaq -0x40(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0xc9d0
movb $0x1, -0x51(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
movb -0x51(%rbp), %al
andb $0x1, %al
movb %al, -0x81(%rbp)
movb -0x51(%rbp), %al
andb $0x1, %al
movb %al, -0x82(%rbp)
testb $0x1, -0x82(%rbp)
je 0x22fe8a
movq -0x60(%rbp), %rax
movq %rax, -0x90(%rbp)
movups -0x70(%rbp), %xmm0
movaps %xmm0, -0xa0(%rbp)
movups -0x80(%rbp), %xmm0
movaps %xmm0, -0xb0(%rbp)
movb -0x81(%rbp), %al
andb $0x1, %al
movb %al, -0xb1(%rbp)
movl -0xb0(%rbp), %eax
movl %eax, -0x1cc(%rbp)
testl %eax, %eax
je 0x22fda9
jmp 0x22fca3
movl -0x1cc(%rbp), %eax
subl $0x1, %eax
jne 0x22fe19
jmp 0x22fcb4
movl -0xb0(%rbp), %edi
movq -0xa8(%rbp), %rsi
leaq -0xf8(%rbp), %rdx
callq 0x125e0
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movq -0x90(%rbp), %rdi
movq -0x108(%rbp), %rsi
leaq -0x110(%rbp), %rdx
callq 0x236800
movl %eax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
callq 0x236ab0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
movl -0xa0(%rbp), %edx
movq -0x98(%rbp), %rcx
leaq -0x130(%rbp), %r8
callq 0xcc30
movb $0x1, -0x141(%rbp)
movb -0x141(%rbp), %al
andb $0x1, %al
movb %al, -0xe1(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0x22fe32
leaq -0x158(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movb $0x0, -0x159(%rbp)
movb -0x159(%rbp), %al
andb $0x1, %al
movb %al, -0xe1(%rbp)
movq -0x158(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0x22fe32
leaq 0x124061(%rip), %rdi    # 0x353e81
movl $0x20, %esi
callq 0xb6c0
movq %rax, %rdi
callq 0xc620
movb -0xe1(%rbp), %al
andb $0x1, %al
movb %al, -0x82(%rbp)
movb -0xe1(%rbp), %al
andb $0x1, %al
movb %al, -0x81(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0x22fc51
jmp 0x22fe8c
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x170(%rbp)
movq %rdx, -0x168(%rbp)
movq -0x168(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x22ff81
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x180(%rbp)
movq %rdx, -0x178(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x180(%rbp), %rax
cmpq $0x0, %rax
je 0x22ff81
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x190(%rbp)
movq %rdx, -0x188(%rbp)
movq -0x190(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x22ff81
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1a0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x22ff7f
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b0(%rbp)
movq %rdx, -0x1a8(%rbp)
movq -0x1b0(%rbp), %rdi
movq -0x1a8(%rbp), %rsi
callq 0x127c0
jmp 0x22ff81
jmp 0x22ff83
movl -0x70(%rbp), %edi
movq -0x68(%rbp), %rsi
callq 0xcea0
movl %eax, -0x1c0(%rbp)
movq %rdx, -0x1b8(%rbp)
movq -0x10(%rbp), %rdi
movl -0x1c0(%rbp), %esi
movq -0x1b8(%rbp), %rdx
callq 0x236af0
movq %rax, -0x1c8(%rbp)
movq -0x60(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x1c8(%rbp), %rax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
nopw %cs:(%rax,%rax)