// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_match_Pattern_set_saved
static struct mirth_match_Pattern* mirth_match_Pattern_set_saved(struct mirth_match_Pattern* self, struct std_list_List_1 x) {
	if (self->refs > 1) {
		struct mirth_match_Pattern* self2 = calloc(1, sizeof * self2);
		ASSERT(self2); memcpy(self2, self, sizeof * self2);
		incref(MK_mirth_arrow_Home(self2->mhome));
		incref(MK_std_list_List_1(self2->mouterzectx));
		incref(MK_std_list_List_1(self2->minnerzectx));
		self2->msaved = x;
		incref(MK_mirth_type_StackType(self2->mmid));
		incref(MK_mirth_type_StackType(self2->mcod));
		incref(MK_std_list_List_1(self2->matoms));
		self->refs--;
		return self2;
	}
	decref(MK_std_list_List_1(self->msaved));
	self->msaved = x;
	return self;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp            # imm = 0x200
movl %esi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpl $0x1, (%rax)
jbe 0x1010a1
movl $0x1, %edi
movl $0x88, %esi
callq 0x50c0
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x100ba7
movl $0x2, %edi
leaq 0x258822(%rip), %rsi    # 0x3593ab
movl $0x33, %edx
callq 0x5060
callq 0x5310
callq 0x53b0
movl $0x1, %edi
callq 0x5130
jmp 0x100ba9
movq -0x28(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl $0x88, %edx
callq 0x50e0
movq -0x28(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0xce0b0
movq %rax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x30(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x100c60
movq -0x28(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0xce0b0
movq %rax, -0x48(%rbp)
movq %rdx, -0x40(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x48(%rbp), %rax
cmpq $0x0, %rax
je 0x100c60
movq -0x28(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0xce0b0
movq %rax, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
movq -0x58(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x100c60
movq -0x28(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0xce0b0
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x68(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x100c62
jmp 0x100c64
movq -0x28(%rbp), %rax
movl 0x28(%rax), %edi
movq 0x30(%rax), %rsi
callq 0x12780
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movq -0x70(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x100d25
movq -0x28(%rbp), %rax
movl 0x28(%rax), %edi
movq 0x30(%rax), %rsi
callq 0x12780
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x88(%rbp), %rax
cmpq $0x0, %rax
je 0x100d25
movq -0x28(%rbp), %rax
movl 0x28(%rax), %edi
movq 0x30(%rax), %rsi
callq 0x12780
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movq -0x98(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x100d25
movq -0x28(%rbp), %rax
movl 0x28(%rax), %edi
movq 0x30(%rax), %rsi
callq 0x12780
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x100d27
jmp 0x100d29
movq -0x28(%rbp), %rax
movl 0x38(%rax), %edi
movq 0x40(%rax), %rsi
callq 0x12780
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x100df6
movq -0x28(%rbp), %rax
movl 0x38(%rax), %edi
movq 0x40(%rax), %rsi
callq 0x12780
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xc8(%rbp), %rax
cmpq $0x0, %rax
je 0x100df6
movq -0x28(%rbp), %rax
movl 0x38(%rax), %edi
movq 0x40(%rax), %rsi
callq 0x12780
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movq -0xd8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x100df6
movq -0x28(%rbp), %rax
movl 0x38(%rax), %edi
movq 0x40(%rax), %rsi
callq 0x12780
movq %rax, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x100df8
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
movq %rcx, 0x48(%rax)
movq -0x10(%rbp), %rcx
movq %rcx, 0x50(%rax)
movq -0x28(%rbp), %rax
movl 0x58(%rax), %edi
movq 0x60(%rax), %rsi
callq 0x6f140
movq %rax, -0xf8(%rbp)
movq %rdx, -0xf0(%rbp)
movq -0xf0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x100ed9
movq -0x28(%rbp), %rax
movl 0x58(%rax), %edi
movq 0x60(%rax), %rsi
callq 0x6f140
movq %rax, -0x108(%rbp)
movq %rdx, -0x100(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x108(%rbp), %rax
cmpq $0x0, %rax
je 0x100ed9
movq -0x28(%rbp), %rax
movl 0x58(%rax), %edi
movq 0x60(%rax), %rsi
callq 0x6f140
movq %rax, -0x118(%rbp)
movq %rdx, -0x110(%rbp)
movq -0x118(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x100ed9
movq -0x28(%rbp), %rax
movl 0x58(%rax), %edi
movq 0x60(%rax), %rsi
callq 0x6f140
movq %rax, -0x128(%rbp)
movq %rdx, -0x120(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x128(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x100edb
jmp 0x100edd
movq -0x28(%rbp), %rax
movl 0x68(%rax), %edi
movq 0x70(%rax), %rsi
callq 0x6f140
movq %rax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x130(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x100faa
movq -0x28(%rbp), %rax
movl 0x68(%rax), %edi
movq 0x70(%rax), %rsi
callq 0x6f140
movq %rax, -0x148(%rbp)
movq %rdx, -0x140(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x148(%rbp), %rax
cmpq $0x0, %rax
je 0x100faa
movq -0x28(%rbp), %rax
movl 0x68(%rax), %edi
movq 0x70(%rax), %rsi
callq 0x6f140
movq %rax, -0x158(%rbp)
movq %rdx, -0x150(%rbp)
movq -0x158(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x100faa
movq -0x28(%rbp), %rax
movl 0x68(%rax), %edi
movq 0x70(%rax), %rsi
callq 0x6f140
movq %rax, -0x168(%rbp)
movq %rdx, -0x160(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x168(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x100fac
jmp 0x100fae
movq -0x28(%rbp), %rax
movl 0x78(%rax), %edi
movq 0x80(%rax), %rsi
callq 0x12780
movq %rax, -0x178(%rbp)
movq %rdx, -0x170(%rbp)
movq -0x170(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x101087
movq -0x28(%rbp), %rax
movl 0x78(%rax), %edi
movq 0x80(%rax), %rsi
callq 0x12780
movq %rax, -0x188(%rbp)
movq %rdx, -0x180(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x188(%rbp), %rax
cmpq $0x0, %rax
je 0x101087
movq -0x28(%rbp), %rax
movl 0x78(%rax), %edi
movq 0x80(%rax), %rsi
callq 0x12780
movq %rax, -0x198(%rbp)
movq %rdx, -0x190(%rbp)
movq -0x198(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x101087
movq -0x28(%rbp), %rax
movl 0x78(%rax), %edi
movq 0x80(%rax), %rsi
callq 0x12780
movq %rax, -0x1a8(%rbp)
movq %rdx, -0x1a0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1a8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x101089
movq -0x20(%rbp), %rax
movl (%rax), %ecx
addl $-0x1, %ecx
movl %ecx, (%rax)
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1011ca
jmp 0x1010a3
movq -0x20(%rbp), %rax
movl 0x48(%rax), %edi
movq 0x50(%rax), %rsi
callq 0x12780
movq %rax, -0x1b8(%rbp)
movq %rdx, -0x1b0(%rbp)
movq -0x1b0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1011ac
movq -0x20(%rbp), %rax
movl 0x48(%rax), %edi
movq 0x50(%rax), %rsi
callq 0x12780
movq %rax, -0x1c8(%rbp)
movq %rdx, -0x1c0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x1c8(%rbp), %rax
cmpq $0x0, %rax
je 0x1011ac
movq -0x20(%rbp), %rax
movl 0x48(%rax), %edi
movq 0x50(%rax), %rsi
callq 0x12780
movq %rax, -0x1d8(%rbp)
movq %rdx, -0x1d0(%rbp)
movq -0x1d8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1011ac
movq -0x20(%rbp), %rax
movl 0x48(%rax), %edi
movq 0x50(%rax), %rsi
callq 0x12780
movq %rax, -0x1e8(%rbp)
movq %rdx, -0x1e0(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x1e8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1011aa
movq -0x20(%rbp), %rax
movl 0x48(%rax), %edi
movq 0x50(%rax), %rsi
callq 0x12780
movq %rax, -0x1f8(%rbp)
movq %rdx, -0x1f0(%rbp)
movq -0x1f8(%rbp), %rdi
movq -0x1f0(%rbp), %rsi
callq 0x127c0
jmp 0x1011ac
jmp 0x1011ae
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
movq %rcx, 0x48(%rax)
movq -0x10(%rbp), %rcx
movq %rcx, 0x50(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
nopw (%rax,%rax)