// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_elabzematchzecaseszx
static void mw_mirth_elab_elabzematchzecaseszx (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_match_zaMatch* in_zaMatch_2, struct mirth_mirth_zaMirth* *out_zaMirth_3, struct mirth_match_zaMatch* *out_zaMatch_4) {
	uint64_t v5 = in_zaMatch_2->mbody;
	struct mirth_mirth_zaMirth* v6;
	struct std_maybe_Maybe_1 v7 = mw_mirth_token_Token_lcurlyzy(in_zaMirth_1, v5, &v6);
	int64_t v8 = (v7).tag;
	decref(MK_std_maybe_Maybe_1(v7));
	INT v9 = WRAP_I63(0LL);
	INT v10 = v9;
	INT v11 = i64_to_int(v8);
	bool v12 = int_eq(v11, v10);
	bool v13 = !v12;
	struct mirth_mirth_zaMirth* branch_zaMirth_14;
	struct mirth_match_zaMatch* branch_zaMatch_15;
	if (v13) {
		struct mirth_mirth_zaMirth* v16;
		struct mirth_match_zaMatch* v17;
		mw_mirth_elab_elabzematchzecaseszecurlyzx(v6, in_zaMatch_2, &v16, &v17);
		branch_zaMatch_15 = v17;
		branch_zaMirth_14 = v16;
	} else {
		struct mirth_mirth_zaMirth* v18;
		struct mirth_match_zaMatch* v19;
		mw_mirth_elab_elabzematchzecaseszeargszx(v6, in_zaMatch_2, &v18, &v19);
		branch_zaMatch_15 = v19;
		branch_zaMirth_14 = v18;
	}
	*out_zaMatch_4 = branch_zaMatch_15;
	*out_zaMirth_3 = branch_zaMirth_14;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x9e8d0
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x40(%rbp), %eax
movq %rax, -0x48(%rbp)
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x133a0
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x50(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf4b4d
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x133a0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
cmpq $0x0, %rax
je 0xf4b4d
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x133a0
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x78(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf4b4d
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x133a0
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf4b4b
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x133a0
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x127c0
jmp 0xf4b4d
jmp 0xf4b4f
movq 0x279efa(%rip), %rax    # 0x36ea50
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x48(%rbp), %rdi
callq 0x1a290
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0xb1(%rbp)
movb -0xb1(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xb2(%rbp)
testb $0x1, -0xb2(%rbp)
je 0xf4be8
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
leaq -0xd8(%rbp), %rcx
callq 0xf51f0
movq -0xd8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0xc0(%rbp)
jmp 0xf4c1f
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
leaq -0xe8(%rbp), %rcx
callq 0xf58d0
movq -0xe8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0xc8(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0xc0(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
addq $0xf0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)