// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Tag_inputs
static struct std_list_List_1 mw_mirth_data_Tag_inputs (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	void* v5 = field_mut(&mfld_mirth_data_Tag_inputs, in_Tag_2);
	bool v6 = mut_is_set(v5);
	struct mirth_mirth_zaMirth* branch_zaMirth_7;
	struct std_list_List_1 branch_List_8;
	if (v6) {
		VAL v9 = mut_get(v5);
		branch_List_8 = V_std_list_List_1(v9);
		branch_zaMirth_7 = in_zaMirth_1;
	} else {
		struct mirth_mirth_zaMirth* v10;
		struct mirth_type_ArrowType* v11 = mw_mirth_data_Tag_type(in_zaMirth_1, in_Tag_2, &v10);
		struct mirth_type_StackType v12 = v11->mdom;
		incref(MK_mirth_type_StackType(v12));
		decref(MK_mirth_type_ArrowType(v11));
		struct mirth_mirth_zaMirth* v13;
		struct std_list_List_1 v14;
		struct mirth_type_StackTypeBase v15 = mw_mirth_type_StackType_splitzeparts(v10, v12, &v13, &v14);
		decref(MK_mirth_type_StackTypeBase(v15));
		incref(MK_std_list_List_1(v14));
		mut_set(MK_std_list_List_1(v14), v5);
		branch_List_8 = v14;
		branch_zaMirth_7 = v13;
	}
	*out_zaMirth_3 = branch_zaMirth_7;
	return branch_List_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x20(%rbp), %rsi
leaq 0x11e7686(%rip), %rdi   # 0x13953d8
callq 0x40d30
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x45e40
andb $0x1, %al
movb %al, -0x31(%rbp)
testb $0x1, -0x31(%rbp)
je 0x1addb1
movq -0x30(%rbp), %rdi
callq 0x40f30
movq %rax, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0x12c80
movl %eax, -0x60(%rbp)
movq %rdx, -0x58(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x1ae212
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x1043a0
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq 0x8(%rax), %rcx
movq %rcx, -0x80(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x78(%rbp)
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ade97
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x1ade97
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ade97
movl -0x80(%rbp), %edi
movq -0x78(%rbp), %rsi
callq 0x6f140
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ade99
jmp 0x1ade9b
movq -0x70(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x1e3d5b(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1adf9f
movq -0x70(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq 0x1e3d29(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe0(%rbp), %rax
cmpq $0x0, %rax
je 0x1adf9f
movq -0x70(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x1e3cf1(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1adf9f
movq -0x70(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x1e3cc3(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1adf9d
movq -0x70(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x1e3c89(%rip), %rax    # 0x391c08
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x127c0
jmp 0x1adf9f
jmp 0x1adfa1
movq -0x68(%rbp), %rdi
movl -0x80(%rbp), %esi
movq -0x78(%rbp), %rdx
leaq -0x118(%rbp), %rcx
leaq -0x128(%rbp), %r8
callq 0xafdb0
movl %eax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movl -0x138(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0xc0680
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movq -0x140(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ae0df
movl -0x138(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0xc0680
movq %rax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x158(%rbp), %rax
cmpq $0x0, %rax
je 0x1ae0df
movl -0x138(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0xc0680
movq %rax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movq -0x168(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ae0df
movl -0x138(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0xc0680
movq %rax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x178(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1ae0dd
movl -0x138(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0xc0680
movq %rax, -0x188(%rbp)
movq %rdx, -0x180(%rbp)
movq -0x188(%rbp), %rdi
movq -0x180(%rbp), %rsi
callq 0x127c0
jmp 0x1ae0df
jmp 0x1ae0e1
jmp 0x1ae0e3
movl -0x128(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x12780
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x190(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ae1b8
movl -0x128(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x12780
movq %rax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a8(%rbp), %rax
cmpq $0x0, %rax
je 0x1ae1b8
movl -0x128(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x12780
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ae1b8
movl -0x128(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x12780
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ae1ba
movl -0x128(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x12780
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x30(%rbp), %rdx
movq -0x1d8(%rbp), %rdi
movq -0x1d0(%rbp), %rsi
callq 0x431a0
movq -0x128(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x118(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
nopl (%rax)