// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: std_terminal_SGRColor_free
void std_terminal_SGRColor_free (VAL v) {
	struct std_terminal_SGRColor self = V_std_terminal_SGRColor(v);
	switch (self.tag) {
		case std_terminal_SGRColor_Numbered: {
			decref(MKINT(self.ptr.Numbered->mInt));
			free(self.ptr.Numbered);
		} break;
		case std_terminal_SGRColor_RGB: {
			decref(MKINT(self.ptr.RGB->mInt_2));
			decref(MKINT(self.ptr.RGB->mInt_1));
			decref(MKINT(self.ptr.RGB->mInt));
			free(self.ptr.RGB);
		} break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movq %rdi, -0x10(%rbp)
movq %rsi, -0x8(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x395b0
movl %eax, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x164(%rbp)
testl %eax, %eax
je 0x3905a
jmp 0x39046
movl -0x164(%rbp), %eax
subl $0x1, %eax
je 0x39154
jmp 0x394a8
jmp 0x3905c
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
leaq 0x3583b9(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x39144
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
leaq 0x35838c(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x38(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rax
cmpq $0x0, %rax
je 0x39144
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x50(%rbp)
leaq 0x358359(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movq -0x50(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x39144
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x60(%rbp)
leaq 0x358330(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x58(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x60(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x39142
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x70(%rbp)
leaq 0x3582fb(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x127c0
jmp 0x39144
jmp 0x39146
movq -0x18(%rbp), %rdi
callq 0x5030
jmp 0x394a8
jmp 0x39156
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x80(%rbp)
leaq 0x3582bf(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x39265
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x90(%rbp)
leaq 0x35828f(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x39265
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xa0(%rbp)
leaq 0x358253(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x39265
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xb0(%rbp)
leaq 0x358221(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xa8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xb0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x39263
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xc0(%rbp)
leaq 0x3581e3(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xb8(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
callq 0x127c0
jmp 0x39265
jmp 0x39267
jmp 0x39269
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0xd0(%rbp)
leaq 0x3581a9(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x39381
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0xe0(%rbp)
leaq 0x358173(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xd8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe0(%rbp), %rax
cmpq $0x0, %rax
je 0x39381
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0xf0(%rbp)
leaq 0x358137(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x39381
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x100(%rbp)
leaq 0x358105(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x3937f
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x110(%rbp)
leaq 0x3580c7(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x127c0
jmp 0x39381
jmp 0x39383
jmp 0x39385
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x120(%rbp)
leaq 0x35808d(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movq -0x118(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x3949d
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x130(%rbp)
leaq 0x358057(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x128(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x130(%rbp), %rax
cmpq $0x0, %rax
je 0x3949d
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x140(%rbp)
leaq 0x35801b(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x138(%rbp)
movq -0x140(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x3949d
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x150(%rbp)
leaq 0x357fe9(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x148(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x150(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x3949b
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x160(%rbp)
leaq 0x357fab(%rip), %rax    # 0x391428
orq $0x1, %rax
movq %rax, -0x158(%rbp)
movq -0x160(%rbp), %rdi
movq -0x158(%rbp), %rsi
callq 0x127c0
jmp 0x3949d
jmp 0x3949f
movq -0x18(%rbp), %rdi
callq 0x5030
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
nopw %cs:(%rax,%rax)