// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_token_Token_prev
static uint64_t mw_mirth_token_Token_prev (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_pred(in_zaMirth_1, in_Token_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	struct mirth_token_TokenValue v8 = mw_mirth_token_Token_value(v5, v6, &v7);
	struct mirth_mirth_zaMirth* branch_zaMirth_9;
	uint64_t branch_Token_10;
	switch ((v8).tag) {
		case mirth_token_TokenValue_RSquare: {
			uint64_t v11 = mtp_mirth_token_TokenValue_RSquare(v8);
			branch_Token_10 = v11;
			branch_zaMirth_9 = v7;
		} break;
		case mirth_token_TokenValue_RCurly: {
			uint64_t v12 = mtp_mirth_token_TokenValue_RCurly(v8);
			branch_Token_10 = v12;
			branch_zaMirth_9 = v7;
		} break;
		case mirth_token_TokenValue_RParen: {
			uint64_t v13 = mtp_mirth_token_TokenValue_RParen(v8);
			struct mirth_mirth_zaMirth* v14;
			uint64_t v15 = mw_mirth_token_Token_pred(v7, v13, &v14);
			struct mirth_mirth_zaMirth* v16;
			bool v17 = mw_mirth_token_Token_canzetakezeargszy(v14, v15, &v16);
			struct mirth_mirth_zaMirth* branch_zaMirth_18;
			uint64_t branch_Token_19;
			if (v17) {
				struct mirth_mirth_zaMirth* v20;
				uint64_t v21 = mw_mirth_token_Token_pred(v16, v13, &v20);
				branch_Token_19 = v21;
				branch_zaMirth_18 = v20;
			} else {
				branch_Token_19 = v13;
				branch_zaMirth_18 = v16;
			}
			branch_Token_10 = branch_Token_19;
			branch_zaMirth_9 = branch_zaMirth_18;
		} break;
		case mirth_token_TokenValue_RColon: {
			uint64_t v22 = mtp_mirth_token_TokenValue_RColon(v8);
			struct mirth_mirth_zaMirth* v23;
			uint64_t v24 = mw_mirth_token_Token_pred(v7, v22, &v23);
			struct mirth_mirth_zaMirth* v25;
			bool v26 = mw_mirth_token_Token_canzetakezeargszy(v23, v24, &v25);
			struct mirth_mirth_zaMirth* branch_zaMirth_27;
			uint64_t branch_Token_28;
			if (v26) {
				struct mirth_mirth_zaMirth* v29;
				uint64_t v30 = mw_mirth_token_Token_pred(v25, v22, &v29);
				branch_Token_28 = v30;
				branch_zaMirth_27 = v29;
			} else {
				branch_Token_28 = v22;
				branch_zaMirth_27 = v25;
			}
			branch_Token_10 = branch_Token_28;
			branch_zaMirth_9 = branch_zaMirth_27;
		} break;
		default: {
			decref(MK_mirth_token_TokenValue(v8));
			branch_Token_10 = v6;
			branch_zaMirth_9 = v7;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_9;
	return branch_Token_10;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
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 0xf8d80
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x79660
movl %eax, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movl -0x40(%rbp), %eax
addl $-0x7, %eax
movl %eax, %ecx
movq %rcx, -0x148(%rbp)
subl $0x6, %eax
ja 0xf7200
movq -0x148(%rbp), %rax
leaq 0x25afb6(%rip), %rcx    # 0x351fe0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7b230
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xf7309
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7b280
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xf7309
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7b1e0
movq %rax, -0x68(%rbp)
movq -0x30(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0x70(%rbp), %rdx
callq 0xf8d80
movq %rax, -0x78(%rbp)
movq -0x70(%rbp), %rdi
movq -0x78(%rbp), %rsi
leaq -0x80(%rbp), %rdx
callq 0x795a0
andb $0x1, %al
movb %al, -0x81(%rbp)
testb $0x1, -0x81(%rbp)
je 0xf70fd
movq -0x80(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq -0xa0(%rbp), %rdx
callq 0xf8d80
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x90(%rbp)
jmp 0xf7113
movq -0x68(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xf7309
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x7b2d0
movq %rax, -0xb0(%rbp)
movq -0x30(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0xf8d80
movq %rax, -0xc0(%rbp)
movq -0xb8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
callq 0x795a0
andb $0x1, %al
movb %al, -0xc9(%rbp)
testb $0x1, -0xc9(%rbp)
je 0xf71c9
movq -0xc8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
leaq -0xe8(%rbp), %rdx
callq 0xf8d80
movq %rax, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xe8(%rbp), %rax
movq %rax, -0xd8(%rbp)
jmp 0xf71e5
movq -0xb0(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0xe0(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xf7309
jmp 0xf7202
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x79bd0
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0xf72f7
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x79bd0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x110(%rbp), %rax
cmpq $0x0, %rax
je 0xf72f7
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x79bd0
movq %rax, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq -0x120(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0xf72f7
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x79bd0
movq %rax, -0x130(%rbp)
movq %rdx, -0x128(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0xf72f5
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x79bd0
movq %rax, -0x140(%rbp)
movq %rdx, -0x138(%rbp)
movq -0x140(%rbp), %rdi
movq -0x138(%rbp), %rsi
callq 0x127c0
jmp 0xf72f7
jmp 0xf72f9
movq -0x28(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
movq -0x50(%rbp), %rax
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopw %cs:(%rax,%rax)