// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mirth_external_ExternalDeclPart_free
void mirth_external_ExternalDeclPart_free (VAL v) {
	struct mirth_external_ExternalDeclPart self = V_mirth_external_ExternalDeclPart(v);
	switch (self.tag) {
		case mirth_external_ExternalDeclPart_EDPCode: {
			decref(MKSTR(self.ptr.EDPCode->mcode));
			free(self.ptr.EDPCode);
		} break;
		case mirth_external_ExternalDeclPart_EDPDef: {
			decref(MK_std_maybe_Maybe_1(self.ptr.EDPDef->mdoc));
			decref(MK_std_maybe_Maybe_1(self.ptr.EDPDef->msymbol));
			free(self.ptr.EDPDef);
		} break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x10(%rbp)
movq %rsi, -0x8(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
callq 0x1610b0
movl %eax, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x114(%rbp)
testl %eax, %eax
je 0x16247a
jmp 0x162466
movl -0x114(%rbp), %eax
subl $0x1, %eax
je 0x162574
jmp 0x16278e
jmp 0x16247c
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
leaq 0x22ecc9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x162564
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x40(%rbp)
leaq 0x22ec9c(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x38(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x40(%rbp), %rax
cmpq $0x0, %rax
je 0x162564
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x50(%rbp)
leaq 0x22ec69(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x48(%rbp)
movq -0x50(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x162564
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x60(%rbp)
leaq 0x22ec40(%rip), %rax    # 0x391158
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 0x162562
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x70(%rbp)
leaq 0x22ec0b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x68(%rbp)
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x127c0
jmp 0x162564
jmp 0x162566
movq -0x18(%rbp), %rdi
callq 0x5030
jmp 0x16278e
jmp 0x162576
movq -0x18(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0x133a0
movq %rax, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x78(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x162676
movq -0x18(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0x133a0
movq %rax, -0x90(%rbp)
movq %rdx, -0x88(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x90(%rbp), %rax
cmpq $0x0, %rax
je 0x162676
movq -0x18(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0x133a0
movq %rax, -0xa0(%rbp)
movq %rdx, -0x98(%rbp)
movq -0xa0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x162676
movq -0x18(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %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 0x162674
movq -0x18(%rbp), %rax
movl 0x8(%rax), %edi
movq 0x10(%rax), %rsi
callq 0x133a0
movq %rax, -0xc0(%rbp)
movq %rdx, -0xb8(%rbp)
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
callq 0x127c0
jmp 0x162676
jmp 0x162678
jmp 0x16267a
movq -0x18(%rbp), %rax
movl 0x20(%rax), %edi
movq 0x28(%rax), %rsi
callq 0x133a0
movq %rax, -0xd0(%rbp)
movq %rdx, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x162783
movq -0x18(%rbp), %rax
movl 0x20(%rax), %edi
movq 0x28(%rax), %rsi
callq 0x133a0
movq %rax, -0xe0(%rbp)
movq %rdx, -0xd8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xe0(%rbp), %rax
cmpq $0x0, %rax
je 0x162783
movq -0x18(%rbp), %rax
movl 0x20(%rax), %edi
movq 0x28(%rax), %rsi
callq 0x133a0
movq %rax, -0xf0(%rbp)
movq %rdx, -0xe8(%rbp)
movq -0xf0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x162783
movq -0x18(%rbp), %rax
movl 0x20(%rax), %edi
movq 0x28(%rax), %rsi
callq 0x133a0
movq %rax, -0x100(%rbp)
movq %rdx, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x162781
movq -0x18(%rbp), %rax
movl 0x20(%rax), %edi
movq 0x28(%rax), %rsi
callq 0x133a0
movq %rax, -0x110(%rbp)
movq %rdx, -0x108(%rbp)
movq -0x110(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x127c0
jmp 0x162783
jmp 0x162785
movq -0x18(%rbp), %rdi
callq 0x5030
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nopw (%rax,%rax)