// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_elabzedeclzeblockzx
static uint64_t mw_mirth_elab_elabzedeclzeblockzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v7;
	struct std_maybe_Maybe_1 v8 = mw_mirth_token_Token_lcurlyzy(in_zaMirth_1, in_Token_2, &v7);
	struct mirth_mirth_zaMirth* v9;
	uint64_t v10 = mw_std_maybe_Maybe_1_else_1_sp3(v7, in_Token_2, v8, &v9);
	struct mirth_mirth_zaMirth* v11;
	uint64_t v12 = mw_mirth_token_Token_succ(v9, v10, &v11);
	struct mirth_mirth_zaMirth* v13;
	uint64_t v14 = mw_mirth_elab_elabzedeclszx(v11, v12, &v13);
	struct mirth_mirth_zaMirth* v15;
	struct std_maybe_Maybe_1 v16 = mw_mirth_token_Token_rcurlyzy(v13, v14, &v15);
	int64_t v17 = (v16).tag;
	decref(MK_std_maybe_Maybe_1(v16));
	INT v18 = WRAP_I63(0LL);
	INT v19 = v18;
	INT v20 = i64_to_int(v17);
	bool v21 = int_eq(v20, v19);
	bool v22 = !v21;
	struct mirth_mirth_zaMirth* branch_zaMirth_23;
	uint64_t branch_Token_24;
	if (v22) {
		branch_Token_24 = v14;
		branch_zaMirth_23 = v15;
	} else {
		STR* v25;
		STRLIT(v25, "Expected end of declaration block.", 34);
		mw_mirth_mirth_zaMirth_emitzefatalzeerrorzx(v15, v14, v25);
	}
	struct mirth_mirth_zaMirth* v28;
	uint64_t v29 = mw_mirth_token_Token_succ(branch_zaMirth_23, branch_Token_24, &v28);
	*out_zaMirth_3 = v28;
	return v29;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x20(%rbp), %rdx
callq 0x9e8d0
movl %eax, -0x30(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x20(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x30(%rbp), %edx
movq -0x28(%rbp), %rcx
leaq -0x38(%rbp), %r8
callq 0x9e930
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x78490
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x9ebd0
movq %rax, -0x60(%rbp)
movq -0x58(%rbp), %rdi
movq -0x60(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x9ed40
movl %eax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movl -0x78(%rbp), %eax
movq %rax, -0x80(%rbp)
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x133a0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x78d69
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x133a0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x78d69
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x133a0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x78d69
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x133a0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x78d67
movl -0x78(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x133a0
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0x127c0
jmp 0x78d69
jmp 0x78d6b
movq 0x2f5cde(%rip), %rax    # 0x36ea50
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x80(%rbp), %rdi
callq 0x1a290
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0xe9(%rbp)
movb -0xe9(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xea(%rbp)
testb $0x1, -0xea(%rbp)
je 0x78de6
movq -0x60(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0xf8(%rbp)
jmp 0x78f05
jmp 0x78de8
cmpq $0x0, 0x131c910(%rip)   # 0x1395700
jne 0x78e0a
leaq 0x2df358(%rip), %rdi    # 0x358151
movl $0x22, %esi
callq 0xb6c0
movq %rax, 0x131c8f6(%rip)   # 0x1395700
jmp 0x78e0c
movq 0x131c8ed(%rip), %rax   # 0x1395700
movq %rax, -0x118(%rbp)
leaq 0x318337(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movq -0x110(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x78ee1
movq 0x131c8b8(%rip), %rax   # 0x1395700
movq %rax, -0x128(%rbp)
leaq 0x318302(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x120(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
cmpq $0x0, %rax
je 0x78ee1
movq 0x131c881(%rip), %rax   # 0x1395700
movq %rax, -0x138(%rbp)
leaq 0x3182cb(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x130(%rbp)
movq -0x138(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x78ee1
movq 0x131c850(%rip), %rax   # 0x1395700
movq %rax, -0x148(%rbp)
leaq 0x31829a(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x78ee3
movq 0x131c816(%rip), %rax   # 0x1395700
movq %rax, -0x108(%rbp)
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
movq -0x108(%rbp), %rdx
callq 0x76b70
movq -0xf8(%rbp), %rdi
movq -0x100(%rbp), %rsi
leaq -0x150(%rbp), %rdx
callq 0x78490
movq %rax, -0x158(%rbp)
movq -0x150(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x158(%rbp), %rax
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
nopw %cs:(%rax,%rax)