// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_argszestart
static uint64_t mw_mirth_token_Token_argszestart (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	bool v6 = mw_mirth_token_Token_canzetakezeargszy(in_zaMirth_1, in_Token_2, &v5);
	uint64_t branch_Token_7;
	struct mirth_mirth_zaMirth* branch_zaMirth_8;
	bool branch_Bool_9;
	if (v6) {
		struct mirth_mirth_zaMirth* v10;
		uint64_t v11 = mw_mirth_token_Token_succ(v5, in_Token_2, &v10);
		struct mirth_mirth_zaMirth* v12;
		struct std_maybe_Maybe_1 v13 = mw_mirth_token_Token_lparenzeorzelcolonzy(v10, v11, &v12);
		int64_t v14 = (v13).tag;
		decref(MK_std_maybe_Maybe_1(v13));
		INT v15 = WRAP_I63(0LL);
		INT v16 = v15;
		INT v17 = i64_to_int(v14);
		bool v18 = int_eq(v17, v16);
		bool v19 = !v18;
		branch_Bool_9 = v19;
		branch_zaMirth_8 = v12;
		branch_Token_7 = in_Token_2;
	} else {
		bool v20 = false;
		branch_Bool_9 = v20;
		branch_zaMirth_8 = v5;
		branch_Token_7 = in_Token_2;
	}
	struct mirth_mirth_zaMirth* branch_zaMirth_21;
	uint64_t branch_Token_22;
	if (branch_Bool_9) {
		struct mirth_mirth_zaMirth* v23;
		uint64_t v24 = mw_mirth_token_Token_succ(branch_zaMirth_8, branch_Token_7, &v23);
		branch_Token_22 = v24;
		branch_zaMirth_21 = v23;
	} else {
		branch_Token_22 = branch_Token_7;
		branch_zaMirth_21 = branch_zaMirth_8;
	}
	*out_zaMirth_3 = branch_zaMirth_21;
	return branch_Token_22;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
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 0x795a0
andb $0x1, %al
movb %al, -0x21(%rbp)
testb $0x1, -0x21(%rbp)
je 0x7932d
movq -0x20(%rbp), %rdi
movq -0x10(%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 0x79600
movl %eax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movl -0x68(%rbp), %eax
movq %rax, -0x70(%rbp)
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x792b7
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x792b7
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x792b7
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0xb0(%rbp)
movq %rdx, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x792b5
movl -0x68(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x133a0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
callq 0x127c0
jmp 0x792b7
jmp 0x792b9
movq 0x2f5790(%rip), %rax    # 0x36ea50
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x70(%rbp), %rdi
callq 0x1a290
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0xd9(%rbp)
movb -0xd9(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xda(%rbp)
movb -0xda(%rbp), %al
andb $0x1, %al
movb %al, -0x39(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
jmp 0x7934f
movb $0x0, -0xdb(%rbp)
movb -0xdb(%rbp), %al
andb $0x1, %al
movb %al, -0x39(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
testb $0x1, -0x39(%rbp)
je 0x7938e
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0xf8(%rbp), %rdx
callq 0x78490
movq %rax, -0x100(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0xe8(%rbp)
jmp 0x793a4
movq -0x30(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0xf0(%rbp), %rax
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw %cs:(%rax,%rax)