// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_numzeargs
static INT mw_mirth_token_Token_numzeargs (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	uint64_t v6 = mw_mirth_token_Token_argszestart(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	bool v8 = mw_mirth_token_Token_leftzeenclosurezy(v5, v6, &v7);
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	INT branch_Nat_10;
	if (v8) {
		INT v11 = WRAP_I63(0LL);
		struct mirth_mirth_zaMirth* v12;
		bool v13 = mw_mirth_token_Token_argszeendzy(v7, v6, &v12);
		bool v14 = !v13;
		INT v15 = v11;
		uint64_t v16 = v6;
		struct mirth_mirth_zaMirth* r17 = v12;
		bool v18 = v14;
		while (v18) {
			INT v19 = v15;
			uint64_t v20 = v16;
			struct mirth_mirth_zaMirth* r21 = r17;
			INT v22 = WRAP_I63(1LL);
			INT v23 = v19;
			INT v24 = v22;
			INT v25 = int_add(v23, v24);
			INT v26 = v25;
			struct mirth_mirth_zaMirth* v27;
			uint64_t v28 = mw_mirth_token_Token_succ(r21, v20, &v27);
			struct mirth_mirth_zaMirth* v29;
			uint64_t v30 = mw_mirth_token_Token_nextzeargzeend(v27, v28, &v29);
			struct mirth_mirth_zaMirth* v31;
			bool v32 = mw_mirth_token_Token_argszeendzy(v29, v30, &v31);
			bool v33 = !v32;
			v18 = v33;
			r17 = v31;
			v16 = v30;
			v15 = v26;
		}
		branch_Nat_10 = v15;
		branch_zaMirth_9 = r17;
	} else {
		INT v34 = WRAP_I63(0LL);
		branch_Nat_10 = v34;
		branch_zaMirth_9 = v7;
	}
	*out_zaMirth_3 = branch_zaMirth_9;
	return branch_Nat_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x28(%rbp), %rdx
callq 0x79160
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x793d0
andb $0x1, %al
movb %al, -0x39(%rbp)
testb $0x1, -0x39(%rbp)
je 0x7911b
movq 0x2f5aad(%rip), %rax    # 0x36ea50
movq %rax, -0x50(%rbp)
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq 0x79430
andb $0x1, %al
movb %al, -0x59(%rbp)
movb -0x59(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0x5a(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x78(%rbp)
movb -0x5a(%rbp), %al
andb $0x1, %al
movb %al, -0x79(%rbp)
testb $0x1, -0x79(%rbp)
je 0x79109
movq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x98(%rbp)
movq 0x2f5a3f(%rip), %rax    # 0x36ea58
movq %rax, -0xa0(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0xa8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0x1b780
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x98(%rbp), %rdi
movq -0x90(%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 0x794d0
movq %rax, -0xe0(%rbp)
movq -0xd8(%rbp), %rdi
movq -0xe0(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0x79430
andb $0x1, %al
movb %al, -0xe9(%rbp)
movb -0xe9(%rbp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, -0xea(%rbp)
movb -0xea(%rbp), %al
andb $0x1, %al
movb %al, -0x79(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0x68(%rbp)
jmp 0x78fe7
movq -0x68(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0x7913c
movq 0x2f592e(%rip), %rax    # 0x36ea50
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw %cs:(%rax,%rax)