// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mtp_mirth_c99_C99APIArg_C99APIArg
static void mtp_mirth_c99_C99APIArg_C99APIArg (struct mirth_c99_C99APIArg* in_C99APIArg_1, enum mirth_c99_C99APIArgMode *out_C99APIArgMode_2, struct mirth_c99_C99APIArgSource *out_C99APIArgSource_3, struct mirth_c99_C99ReprType *out_C99ReprType_4, STR* *out_Str_5) {
	struct mirth_c99_C99APIArg v6 = *in_C99APIArg_1;
	if (!--(in_C99APIArg_1->refs)) {
		free(in_C99APIArg_1);
	} else {
		incref(MK_mirth_c99_C99APIArgSource(v6.margzesource));
		incref(MK_mirth_c99_C99ReprType(v6.margzerepr));
		incref(MKSTR(v6.margzename));
	}
	*out_Str_5 = v6.margzename;
	*out_C99ReprType_4 = v6.margzerepr;
	*out_C99APIArgSource_3 = v6.margzesource;
	*out_C99APIArgMode_2 = v6.margzemode;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rsi
leaq -0x58(%rbp), %rdi
movl $0x30, %edx
callq 0x50e0
movq -0x8(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x28c83f
movq -0x8(%rbp), %rdi
callq 0x5030
jmp 0x28ca7b
jmp 0x28c841
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x286390
movq %rax, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq -0x60(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x28c8e9
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x286390
movq %rax, -0x78(%rbp)
movq %rdx, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x28c8e9
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x286390
movq %rax, -0x88(%rbp)
movq %rdx, -0x80(%rbp)
movq -0x88(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x28c8e9
movl -0x50(%rbp), %edi
movq -0x48(%rbp), %rsi
callq 0x286390
movq %rax, -0x98(%rbp)
movq %rdx, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x28c8eb
jmp 0x28c8ed
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xa8(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x28c9aa
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xb8(%rbp)
movq %rdx, -0xb0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xb8(%rbp), %rax
cmpq $0x0, %rax
je 0x28c9aa
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xc8(%rbp)
movq %rdx, -0xc0(%rbp)
movq -0xc8(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x28c9aa
movl -0x40(%rbp), %edi
movq -0x38(%rbp), %rsi
callq 0x2315b0
movq %rax, -0xd8(%rbp)
movq %rdx, -0xd0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xd8(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x28c9ac
jmp 0x28c9ae
movq -0x30(%rbp), %rax
movq %rax, -0xe8(%rbp)
leaq 0x104798(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x28ca77
movq -0x30(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq 0x104766(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xf0(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xf8(%rbp), %rax
cmpq $0x0, %rax
je 0x28ca77
movq -0x30(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq 0x104732(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x100(%rbp)
movq -0x108(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x28ca77
movq -0x30(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq 0x104704(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x110(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x118(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x28ca79
jmp 0x28ca7b
movq -0x30(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rax
movq -0x50(%rbp), %rcx
movq %rcx, (%rax)
movq -0x48(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl -0x54(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
nop