// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_macro_Macro_Prim
static uint64_t mw_mirth_macro_Macro_Prim (struct mirth_mirth_zaMirth* in_zaMirth_1, STR* in_Str_2, INT in_Int_3, struct mirth_macro_MacroAction in_MacroAction_4, struct mirth_mirth_zaMirth* *out_zaMirth_5) {
	struct mirth_mirth_zaMirth* v7;
	uint64_t v8 = mw_mirth_name_Name_Name(in_zaMirth_1, in_Str_2, &v7);
	struct std_maybe_Maybe_1 v9 = { .tag=std_maybe_Maybe_1_None };
	struct mirth_mirth_zaMirth* v10;
	uint64_t v11 = mw_mirth_macro_Macro_Makezx(v7, v9, v8, in_Int_3, in_MacroAction_4, &v10);
	struct mirth_mirth_zaMirth* v12;
	uint64_t v13 = mw_mirth_macro_Macro_name(v10, v11, &v12);
	struct mirth_mirth_zaMirth* v14;
	STR* v15 = mw_mirth_name_Name_zgStr(v12, v13, &v14);
	struct mirth_mirth_zaMirth* v16;
	INT v17 = mw_mirth_macro_Macro_arity(v14, v11, &v16);
	struct mirth_mirth_zaMirth* v18;
	struct mirth_name_QName* v19 = mw_mirth_name_QName_Prim(v16, v15, v17, &v18);
	struct mirth_mirth_PropLabel v20 = mtw_mirth_mirth_PropLabel_MacroQName(v11);
	struct mirth_mirth_zaMirth* v21;
	struct mirth_mirth_Prop_1* v22 = mw_mirth_mirth_PropLabel_prop(v18, MK_mirth_name_QName(v19), v20, &v21);
	void* v23 = field_mut(&mfld_mirth_macro_Macro_ztqname, v11);
	mut_set(MK_mirth_mirth_Prop_1(v22), v23);
	*out_zaMirth_5 = v21;
	return v11;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdx, -0x8(%rbp)
movl %ecx, -0x18(%rbp)
movq %r8, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x3ed80
movq %rax, -0x40(%rbp)
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rcx
movl -0x50(%rbp), %esi
movq -0x48(%rbp), %rdx
movq -0x8(%rbp), %r8
leaq -0x18(%rbp), %rax
leaq -0x58(%rbp), %r9
movq (%rax), %r10
movq %r10, (%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x8(%rsp)
callq 0x76fc0
movq %rax, -0x60(%rbp)
movq -0x58(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x64640
movq %rax, -0x70(%rbp)
movq -0x68(%rbp), %rdi
movq -0x70(%rbp), %rsi
leaq -0x78(%rbp), %rdx
callq 0x6e5d0
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x88(%rbp), %rdx
callq 0x77120
movq %rax, -0x90(%rbp)
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
movq -0x90(%rbp), %rdx
leaq -0x98(%rbp), %rcx
callq 0x619f0
movq %rax, -0xa0(%rbp)
movq -0x60(%rbp), %rdi
callq 0x77180
movl %eax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0x98(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x31a949(%rip), %rax    # 0x3917d0
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
movl -0xb0(%rbp), %ecx
movq -0xa8(%rbp), %r8
leaq -0xb8(%rbp), %r9
callq 0x70840
movq %rax, -0xc0(%rbp)
movq -0x60(%rbp), %rsi
leaq 0x131de75(%rip), %rdi   # 0x1394d40
callq 0x40d30
movq %rax, -0xd8(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x31a974(%rip), %rax    # 0x391860
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xd8(%rbp), %rdx
movq -0xe8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
callq 0x431a0
movq -0xb8(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq -0x60(%rbp), %rax
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopl (%rax)