// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_elabzedatazeheaderzx
static uint64_t mw_mirth_data_elabzedatazeheaderzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Data_2, uint64_t in_SyntaxDataHeader_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* v6;
	struct std_maybe_Maybe_1 v7 = mw_mirth_token_Token_lastzenamezy(in_zaMirth_1, in_SyntaxDataHeader_3, &v6);
	struct mirth_mirth_zaMirth* v8;
	bool v9 = mw_std_maybe_Maybe_1_has_1_sp15(v6, v7, &v8);
	struct mirth_mirth_zaMirth* branch_zaMirth_10;
	uint64_t branch_Token_11;
	if (v9) {
		branch_Token_11 = in_SyntaxDataHeader_3;
		branch_zaMirth_10 = v8;
	} else {
		STR* v12;
		STRLIT(v12, "Expected type name.", 19);
		mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v8, in_SyntaxDataHeader_3, v12);
	}
	struct mirth_mirth_zaMirth* v14;
	uint64_t v15;
	uint64_t v16;
	INT v17;
	struct mirth_mirth_PropState_1 v18;
	mw_mirth_elab_elabzedefzehead(branch_zaMirth_10, branch_Token_11, &v14, &v15, &v16, &v17, &v18);
	struct std_maybe_Maybe_1 v19 = mtw_std_maybe_Maybe_1_Some(MK_mirth_token_Token(v15));
	struct mirth_mirth_zaMirth* v20;
	mw_mirth_data_Data_headzyzx(v14, v19, in_Data_2, &v20);
	INT v21 = v17;
	struct mirth_mirth_zaMirth* v22;
	mw_mirth_data_Data_arityzx(v20, v21, in_Data_2, &v22);
	struct mirth_mirth_zaMirth* v23;
	mw_mirth_data_Data_namezx(v22, v16, in_Data_2, &v23);
	struct mirth_mirth_PropLabel v24 = mtw_mirth_mirth_PropLabel_DataQName(in_Data_2);
	struct mirth_mirth_Prop_1* v25 = mtw_mirth_mirth_Prop_1_Prop(v24, v18);
	void* v26 = field_mut(&mfld_mirth_data_Data_ztqname, in_Data_2);
	mut_set(MK_mirth_mirth_Prop_1(v25), v26);
	struct mirth_mirth_zaMirth* v27;
	struct std_list_List_1 v28 = mw_mirth_token_Token_args(v23, v15, &v27);
	struct mirth_mirth_PropLabel v29 = mtw_mirth_mirth_PropLabel_DataParams(in_Data_2);
	struct mirth_mirth_zaMirth* v30;
	struct mirth_mirth_Prop_1* v31 = mw_mirth_mirth_PropLabel_prop_1_sp15(v28, v27, v29, &v30);
	void* v32 = field_mut(&mfld_mirth_data_Data_ztparams, in_Data_2);
	mut_set(MK_mirth_mirth_Prop_1(v31), v32);
	struct mirth_def_Def v33 = mtw_mirth_def_Def_Data(in_Data_2);
	struct mirth_mirth_zaMirth* v34;
	mw_mirth_def_Def_register(v30, v33, &v34);
	*out_zaMirth_4 = v34;
	return in_Data_2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x28(%rbp), %rdx
callq 0x196620
movl %eax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movl -0x38(%rbp), %esi
movq -0x30(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0x198670
andb $0x1, %al
movb %al, -0x41(%rbp)
testb $0x1, -0x41(%rbp)
je 0x19a957
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x19aa5e
jmp 0x19a959
cmpq $0x0, 0x11fba07(%rip)   # 0x1396368
jne 0x19a97b
leaq 0x1c0ae0(%rip), %rdi    # 0x35b44a
movl $0x13, %esi
callq 0xb6c0
movq %rax, 0x11fb9ed(%rip)   # 0x1396368
jmp 0x19a97d
movq 0x11fb9e4(%rip), %rax   # 0x1396368
movq %rax, -0x70(%rbp)
leaq 0x1f67c9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x19aa40
movq 0x11fb9b8(%rip), %rax   # 0x1396368
movq %rax, -0x80(%rbp)
leaq 0x1f679d(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x80(%rbp), %rax
cmpq $0x0, %rax
je 0x19aa40
movq 0x11fb98a(%rip), %rax   # 0x1396368
movq %rax, -0x90(%rbp)
leaq 0x1f676c(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x90(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x19aa40
movq 0x11fb959(%rip), %rax   # 0x1396368
movq %rax, -0xa0(%rbp)
leaq 0x1f673b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x19aa42
movq 0x11fb91f(%rip), %rax   # 0x1396368
movq %rax, -0x60(%rbp)
movq -0x40(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x60(%rbp), %rdx
callq 0x76b70
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
leaq -0xb0(%rbp), %rcx
leaq -0xb8(%rbp), %r8
leaq -0xc0(%rbp), %r9
leaq -0xd0(%rbp), %rax
movq %rax, (%rsp)
callq 0xa1770
movq -0xb0(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x1f73a1(%rip), %rax    # 0x391e48
movq %rax, -0xe8(%rbp)
movq -0xf0(%rbp), %rdi
movq -0xe8(%rbp), %rsi
callq 0xca10
movl %eax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movq -0xa8(%rbp), %rdi
movq -0x10(%rbp), %rcx
movl -0xe0(%rbp), %esi
movq -0xd8(%rbp), %rdx
leaq -0xf8(%rbp), %r8
callq 0x72950
movq -0xc0(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xf8(%rbp), %rdi
movq -0x10(%rbp), %rdx
movq -0x100(%rbp), %rsi
leaq -0x108(%rbp), %rcx
callq 0x725e0
movq -0x108(%rbp), %rdi
movq -0xb8(%rbp), %rsi
movq -0x10(%rbp), %rdx
leaq -0x110(%rbp), %rcx
callq 0x72650
movq -0x10(%rbp), %rdi
callq 0x726c0
movl %eax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movl -0x120(%rbp), %edi
movq -0x118(%rbp), %rsi
movl -0xd0(%rbp), %edx
movq -0xc8(%rbp), %rcx
callq 0x70ac0
movq %rax, -0x128(%rbp)
movq -0x10(%rbp), %rsi
leaq 0x11fa13d(%rip), %rdi   # 0x1394cc0
callq 0x40d30
movq %rax, -0x130(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq 0x1f6cbc(%rip), %rax    # 0x391860
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x130(%rbp), %rdx
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x431a0
movq -0x110(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0x148(%rbp), %rdx
callq 0xa5a80
movl %eax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movq -0x10(%rbp), %rdi
callq 0x728c0
movl %eax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movq -0x148(%rbp), %rdx
movl -0x158(%rbp), %edi
movq -0x150(%rbp), %rsi
movl -0x168(%rbp), %ecx
movq -0x160(%rbp), %r8
leaq -0x170(%rbp), %r9
callq 0x15ec70
movq %rax, -0x178(%rbp)
movq -0x10(%rbp), %rsi
leaq 0x11fa733(%rip), %rdi   # 0x1395378
callq 0x40d30
movq %rax, -0x180(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x190(%rbp)
leaq 0x1f6bfa(%rip), %rax    # 0x391860
orq $0x1, %rax
movq %rax, -0x188(%rbp)
movq -0x180(%rbp), %rdx
movq -0x190(%rbp), %rdi
movq -0x188(%rbp), %rsi
callq 0x431a0
movq -0x10(%rbp), %rdi
callq 0x729c0
movl %eax, -0x1a0(%rbp)
movq %rdx, -0x198(%rbp)
movq -0x170(%rbp), %rdi
movl -0x1a0(%rbp), %esi
movq -0x198(%rbp), %rdx
leaq -0x1a8(%rbp), %rcx
callq 0x3f300
movq -0x1a8(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
nopl (%rax)