// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_c99_C99ReprType_stripzenewtypes
static struct mirth_c99_C99ReprType mw_mirth_c99_C99ReprType_stripzenewtypes (struct mirth_mirth_zaMirth* in_zaMirth_1, struct mirth_c99_C99ReprType in_C99ReprType_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* branch_zaMirth_5;
	struct mirth_c99_C99ReprType branch_C99ReprType_6;
	switch ((in_C99ReprType_2).tag) {
		case mirth_c99_C99ReprType_Data: {
			uint64_t v7 = mtp_mirth_c99_C99ReprType_Data(in_C99ReprType_2);
			struct mirth_mirth_zaMirth* v8;
			struct mirth_c99_C99ReprType v9 = mw_mirth_data_Data_stripzenewtypeszec99zerepr(in_zaMirth_1, v7, &v8);
			branch_C99ReprType_6 = v9;
			branch_zaMirth_5 = v8;
		} break;
		default: {
			branch_C99ReprType_6 = in_C99ReprType_2;
			branch_zaMirth_5 = in_zaMirth_1;
		} break;
	}
	*out_zaMirth_3 = branch_zaMirth_5;
	return branch_C99ReprType_6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %rbx
movq %rdx, %r13
movq %rdi, %r15
cmpl $0x15, %esi
jne 0xa98bd
movabsq $0xfffffffffffc, %r14   # imm = 0xFFFFFFFFFFFC
movq %r13, %rdi
callq 0x97e24
movq %rax, %r12
leaq 0x10654b4(%rip), %rdi   # 0x110ed48
movq %rax, %rsi
callq 0x12f88
cmpq $0x0, 0x8(%rax)
je 0xa98c5
movq %rax, %rdi
callq 0x1307d
movq %rax, %r12
andq %rax, %r14
shrq $0x30, %r12
movq %r14, %r13
jmp 0xa9acb
movl %esi, %r12d
jmp 0xa9acb
movq %rax, -0x50(%rbp)
movq %r12, %rdi
callq 0x93ff0
movq %rax, %r13
movabsq $0x15000000000000, %rax # imm = 0x15000000000000
orq %r13, %rax
movq %rax, -0x48(%rbp)
movq %r13, %rcx
andq %r14, %rcx
setne %al
testb $0x3, %r13b
sete %dl
andb %al, %dl
movb %dl, -0x29(%rbp)
cmpb $0x1, %dl
jne 0xa9901
incl (%rcx)
movq %rcx, -0x38(%rbp)
leaq 0x106543c(%rip), %rdi   # 0x110ed48
movq %r12, %rsi
callq 0x12f88
movq -0x48(%rbp), %rdi
leaq 0x6060a(%rip), %rsi     # 0x109f29
movq %rax, %rdx
callq 0x1393b
leaq -0x40(%rbp), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x8cba8
cmpl $0x4, %eax
ja 0xa9ae3
movl %eax, %eax
leaq 0x2a6f8(%rip), %rcx     # 0xd4040
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rdx, %rdi
callq 0x94a52
movq %rax, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0xa9980
decl (%rcx)
jne 0xa9980
leaq 0x60449(%rip), %rsi     # 0x109dc1
movq %rax, %rdi
callq 0xce94
xorl %r12d, %r12d
movq -0x40(%rbp), %r15
xorl %r13d, %r13d
jmp 0xa9a2e
movq %rdx, %rdi
callq 0x94b20
movq %rax, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0xa9a70
decl (%rcx)
jne 0xa9a70
leaq 0x60523(%rip), %rsi     # 0x109ee1
jmp 0xa9a5e
movq %rdx, %rdi
callq 0x94aaa
movq %rax, %rdi
movl 0x30(%rax), %r13d
movq 0x38(%rax), %r12
movq %r12, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %r12b
setne %sil
orb %dl, %sil
jne 0xa99ee
incl (%rcx)
andq %r14, %rax
sete %cl
testb $0x3, %dil
setne %dl
orb %cl, %dl
jne 0xa9a0f
decl (%rax)
jne 0xa9a0f
leaq 0x60447(%rip), %rsi     # 0x109e51
callq 0xce94
movq -0x40(%rbp), %rdi
leaq -0x58(%rbp), %r15
movl %r13d, %esi
movq %r12, %rdx
movq %r15, %rcx
callq 0xa9859
movl %eax, %r12d
movq %rdx, %r13
movq (%r15), %r15
movq -0x38(%rbp), %rax
movb -0x29(%rbp), %cl
jmp 0xa9a85
movq %rdx, %rdi
callq 0x94ae5
movq %rax, %rcx
andq %r14, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0xa9a70
decl (%rcx)
jne 0xa9a70
leaq 0x6043b(%rip), %rsi     # 0x109e99
movq %rax, %rdi
callq 0xce94
jmp 0xa9a70
movq %rdx, %rdi
callq 0x94a8d
movb -0x29(%rbp), %cl
testb %cl, %cl
movq -0x38(%rbp), %rax
je 0xa9a7d
incl (%rax)
pushq $0x15
popq %r12
movq -0x40(%rbp), %r15
testb %cl, %cl
je 0xa9a9d
decl (%rax)
jne 0xa9a9d
movq -0x48(%rbp), %rdi
leaq 0x60491(%rip), %rsi     # 0x109f29
callq 0xce94
movq %r12, %rdi
shlq $0x30, %rdi
orq %r13, %rdi
andq %r13, %r14
sete %al
testb $0x3, %r13b
setne %cl
orb %al, %cl
jne 0xa9abb
incl (%r14)
leaq 0x60467(%rip), %rsi     # 0x109f29
movq -0x50(%rbp), %rdx
callq 0x1393b
movq %r15, (%rbx)
movl %r12d, %eax
movq %r13, %rdx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2ad23(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6