// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_parsezestructzetag
static uint64_t mw_mirth_data_parsezestructzetag (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, uint64_t in_SyntaxDataHeader_3, struct mirth_mirth_zaMirth* *out_zaMirth_4, uint64_t *out_SyntaxDataHeader_6, struct mirth_data_SyntaxDataTag* *out_SyntaxDataTag_7) {
	struct std_maybe_Maybe_1 v8 = { .tag=std_maybe_Maybe_1_None };
	struct mirth_mirth_zaMirth* v9;
	struct std_maybe_Maybe_1 v10 = mw_mirth_token_Token_lastzenamezy(in_zaMirth_1, in_SyntaxDataHeader_3, &v9);
	struct mirth_mirth_zaMirth* v11;
	struct std_maybe_Maybe_1 v12 = mw_std_maybe_Maybe_1_filter_1_sp21(v9, v10, &v11);
	struct mirth_mirth_zaMirth* branch_zaMirth_13;
	uint64_t branch_SyntaxDataHeader_14;
	VAL branch_zux1_15;
	switch ((v12).tag) {
		case std_maybe_Maybe_1_Some: {
			VAL v16 = mtp_std_maybe_Maybe_1_Some(v12);
			branch_zux1_15 = v16;
			branch_SyntaxDataHeader_14 = in_SyntaxDataHeader_3;
			branch_zaMirth_13 = v11;
		} break;
		case std_maybe_Maybe_1_None: {
			STR* v17;
			STRLIT(v17, "Expected constructor name.", 26);
			mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v11, in_SyntaxDataHeader_3, v17);
		} break;
		default: {
			do_panic(str_make("unexpected fallthrough in match\n", 32));
		}
	}
	struct std_maybe_Maybe_1 v20 = { .tag=std_maybe_Maybe_1_None };
	struct std_maybe_Maybe_1 v21 = mtw_std_maybe_Maybe_1_Some(MK_mirth_token_Token(in_Token_2));
	struct mirth_mirth_zaMirth* v22;
	uint64_t v23 = mw_mirth_token_Token_sigzenextzestackzeend(branch_zaMirth_13, in_Token_2, &v22);
	struct mirth_data_SyntaxDataTag* v24 = mtw_mirth_data_SyntaxDataTag_SyntaxDataTag(v8, in_SyntaxDataHeader_3, v20, V_mirth_name_Name(branch_zux1_15), v21);
	*out_SyntaxDataTag_7 = v24;
	*out_SyntaxDataHeader_6 = branch_SyntaxDataHeader_14;
	*out_zaMirth_4 = v22;
	return v23;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, -0x38(%rbp)
movq %r8, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
movq %rdx, %rbx
movq %rsi, %r13
leaq -0x68(%rbp), %r14
movq %rdx, %rsi
movq %r14, %rdx
callq 0x6aa98
movq (%r14), %rdi
leaq -0x30(%rbp), %rcx
movl %eax, %esi
callq 0x6ce44
cmpl $0x1, %eax
jne 0x71c30
movq %rdx, %rdi
callq 0xd491
movq %rax, %r14
movq -0x30(%rbp), %r15
leaq 0x971f7(%rip), %rsi     # 0x108db8
movq %r13, %rdi
callq 0x8d0c
movl $0x1, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
leaq -0x60(%rbp), %r12
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x3e6b6
movq %rax, %r15
movups -0x58(%rbp), %xmm0
movups %xmm0, (%rsp)
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %r14, %r9
callq 0x6cf79
movq -0x38(%rbp), %rcx
movq %rax, (%rcx)
movq -0x40(%rbp), %rax
movq %rbx, (%rax)
movq (%r12), %rax
movq -0x48(%rbp), %rcx
movq %rax, (%rcx)
movq %r15, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x109b721(%rip), %rdx   # 0x110d358
testq %rdx, %rdx
jne 0x71c55
leaq 0x67e2d(%rip), %rdi     # 0xd9a70
pushq $0x1a
popq %rsi
callq 0x8a21
movq %rax, %rdx
movq %rax, 0x109b703(%rip)   # 0x110d358
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rdx, %rax
sete %cl
testb $0x3, %dl
setne %sil
orb %cl, %sil
jne 0x71c73
incl (%rax)
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x246fe