// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_zaTypeElab_elabzetypezeargzx
static struct mirth_type_Type mw_mirth_elab_zaTypeElab_elabzetypezeargzx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_elab_zaTypeElab* in_zaTypeElab_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_elab_zaTypeElab* *out_zaTypeElab_4) {
	struct mirth_mirth_zaMirth* v6;
	struct mirth_elab_zaTypeElab* v7;
	struct mirth_type_Type v8 = mw_mirth_elab_zaTypeElab_elabzetypezeatomzx(in_zaMirth_1, in_zaTypeElab_2, &v6, &v7);
	uint64_t v9 = v7->mtoken;
	struct mirth_mirth_zaMirth* v10;
	bool v11 = mw_mirth_token_Token_argzeendzy(v6, v9, &v10);
	struct mirth_mirth_zaMirth* branch_zaMirth_12;
	struct mirth_elab_zaTypeElab* branch_zaTypeElab_13;
	if (v11) {
		branch_zaTypeElab_13 = v7;
		branch_zaMirth_12 = v10;
	} else {
		uint64_t v14 = v7->mtoken;
		STR* v15;
		STRLIT(v15, "Unexpected token after type.", 28);
		struct mirth_mirth_zaMirth* v16;
		mw_mirth_mirth_zaMirth_emitzeerrorzx(v10, v14, v15, &v16);
		branch_zaTypeElab_13 = v7;
		branch_zaMirth_12 = v16;
	}
	*out_zaTypeElab_4 = branch_zaTypeElab_13;
	*out_zaMirth_3 = branch_zaMirth_12;
	return v8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x38(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0xd3450
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x38(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x7b320
andb $0x1, %al
movb %al, -0x51(%rbp)
testb $0x1, -0x51(%rbp)
je 0xd32e4
movq -0x40(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
jmp 0xd341b
movq -0x40(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x70(%rbp)
cmpq $0x0, 0x12c27b0(%rip)   # 0x1395aa8
jne 0xd3312
leaq 0x285b55(%rip), %rdi    # 0x358e56
movl $0x1c, %esi
callq 0xb6c0
movq %rax, 0x12c2796(%rip)   # 0x1395aa8
jmp 0xd3314
movq 0x12c278d(%rip), %rax   # 0x1395aa8
movq %rax, -0x88(%rbp)
leaq 0x2bde2f(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xd33e3
movq 0x12c275e(%rip), %rax   # 0x1395aa8
movq %rax, -0x98(%rbp)
leaq 0x2bde00(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
cmpq $0x0, %rax
je 0xd33e3
movq 0x12c2727(%rip), %rax   # 0x1395aa8
movq %rax, -0xa8(%rbp)
leaq 0x2bddc9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xa0(%rbp)
movq -0xa8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xd33e3
movq 0x12c26f6(%rip), %rax   # 0x1395aa8
movq %rax, -0xb8(%rbp)
leaq 0x2bdd98(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xd33e5
movq 0x12c26bc(%rip), %rax   # 0x1395aa8
movq %rax, -0x78(%rbp)
movq -0x50(%rbp), %rdi
movq -0x70(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0xc0(%rbp), %rcx
callq 0x98c50
movq -0x40(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x68(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x60(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)