// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_elabzemaxzemirthzerevisionzx
static uint64_t mw_mirth_elab_elabzemaxzemirthzerevisionzx (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v7;
	mw_mirth_token_Token_argsze0(in_zaMirth_1, in_Token_2, &v7);
	struct mirth_mirth_zaMirth* v8;
	uint64_t v9 = mw_mirth_token_Token_succ(v7, in_Token_2, &v8);
	struct mirth_mirth_zaMirth* v10;
	struct std_maybe_Maybe_1 v11 = mw_mirth_token_Token_intzy(v8, v9, &v10);
	struct mirth_mirth_zaMirth* v12;
	VAL v13;
	uint64_t v14 = mw_std_maybe_Maybe_1_elsezy_1_sp8(v10, v9, v11, &v12, &v13);
	VAL v15 = mw_mirth_version_mirthzerevision();
	bool v16 = int_le(value_int(v15), value_int(v13));
	struct mirth_mirth_zaMirth* branch_zaMirth_17;
	uint64_t branch_Token_18;
	if (v16) {
		struct mirth_mirth_zaMirth* v19;
		uint64_t v20 = mw_mirth_token_Token_succ(v12, v14, &v19);
		struct mirth_mirth_zaMirth* v21;
		uint64_t v22 = mw_mirth_elab_elabzedeclzeblockzx(v19, v20, &v21);
		branch_Token_18 = v22;
		branch_zaMirth_17 = v21;
	} else {
		struct mirth_mirth_zaMirth* v23;
		uint64_t v24 = mw_mirth_token_Token_succ(v12, v14, &v23);
		struct mirth_mirth_zaMirth* v25;
		uint64_t v26 = mw_mirth_elab_skipzedeclzeblockzx(v23, v24, &v25);
		branch_Token_18 = v26;
		branch_zaMirth_17 = v25;
	}
	*out_zaMirth_3 = branch_zaMirth_17;
	return branch_Token_18;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
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 0x78300
movq -0x20(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0x28(%rbp), %rdx
callq 0x78490
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x16fc30
movl %eax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
movl -0x48(%rbp), %edx
movq -0x40(%rbp), %rcx
leaq -0x50(%rbp), %r8
leaq -0x60(%rbp), %r9
callq 0x1b4da0
movq %rax, -0x68(%rbp)
callq 0x1b4f70
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
callq 0x2ac40
movq %rax, -0x88(%rbp)
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x2ac40
movq %rax, -0x90(%rbp)
movq -0x88(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x1c1b0
andb $0x1, %al
movb %al, -0x79(%rbp)
testb $0x1, -0x79(%rbp)
je 0x1b4d22
movq -0x50(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
callq 0x78490
movq %rax, -0xb0(%rbp)
movq -0xa8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x78be0
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x98(%rbp)
jmp 0x1b4d7a
movq -0x50(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
callq 0x78490
movq %rax, -0xd0(%rbp)
movq -0xc8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x1b4fb0
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0xa0(%rbp), %rax
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax,%rax)