// File: /workspace/github_c_makefile_star2_O3/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_data_Tag_numzetotalzeinputs
static INT mw_mirth_data_Tag_numzetotalzeinputs (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Tag_2, struct mirth_mirth_zaMirth* *out_zaMirth_3) {
	struct mirth_mirth_zaMirth* v5;
	INT v6 = mw_mirth_data_Tag_numzelabelzeinputs(in_zaMirth_1, in_Tag_2, &v5);
	struct mirth_mirth_zaMirth* v7;
	INT v8 = mw_mirth_data_Tag_numzetypezeinputs(v5, in_Tag_2, &v7);
	INT v9 = v6;
	INT v10 = v8;
	INT v11 = int_add(v9, v10);
	INT v12 = v11;
	struct mirth_mirth_zaMirth* v13;
	INT v14 = mw_mirth_data_Tag_numzeresourcezeinputs(v7, in_Tag_2, &v13);
	INT v15 = v12;
	INT v16 = v14;
	INT v17 = int_add(v15, v16);
	INT v18 = v17;
	*out_zaMirth_3 = v13;
	return v18;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, -0x48(%rbp)
movq %rsi, %r14
movq %rdi, %r13
leaq 0x10a0c3a(%rip), %rdi   # 0x11162b0
callq 0x13c85
movq %rax, %rbx
cmpq $0x0, 0x8(%rax)
je 0x7569d
movq %rbx, %rdi
callq 0x13d82
movq %rax, %r15
movq %rax, %rdi
movq %rdx, %rsi
callq 0x324c1
jmp 0x756ec
leaq -0x30(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x759a5
movl %eax, %edi
movq %rdx, %rsi
callq 0x11653
movq %rax, %r15
leaq 0x9ba51(%rip), %rsi     # 0x111111
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r15, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x756dd
incl (%rax)
movq %r15, %rdi
movq %rbx, %rdx
callq 0x14766
movq -0x30(%rbp), %r13
leaq 0x109fbb5(%rip), %rdi   # 0x11152a8
movq %r14, %rsi
callq 0x13c85
movq %rax, %r12
cmpq $0x0, 0x8(%rax)
je 0x75720
movq %r12, %rdi
callq 0x13d82
movq %rax, %rbx
movq %rax, %rdi
movq %rdx, %rsi
callq 0x324c1
jmp 0x758d0
leaq 0x109f5f9(%rip), %rdi   # 0x1114d20
movq %r14, %rsi
callq 0x13c85
movq %rax, %rdi
callq 0x13d82
movq %rax, %rcx
shrq $0x30, %rcx
movl $0x1, %ebx
je 0x758be
movq %r15, -0x38(%rbp)
cmpl $0x1, %ecx
jne 0x75975
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq %rcx, %rax
movq %rax, %rdi
callq 0xd745
leaq -0x30(%rbp), %rbx
movq %r13, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x73af8
movl %eax, %edi
movq %rdx, %rsi
callq 0x11653
movq %rax, %r13
movq (%rbx), %rdi
leaq -0x30(%rbp), %rdx
movq %r14, %rsi
callq 0x75b87
movq %r13, %rdi
movq %rax, %rsi
callq 0xe9fc
movq %rax, %rbx
movq %rax, %r15
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %rax, %r15
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x757f4
incl (%r15)
movl $0x1, %r13d
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
testl %eax, %eax
jle 0x7580d
decl (%r15)
jne 0x75810
movq %rbx, %rdi
leaq 0x9bc3c(%rip), %rsi     # 0x111429
callq 0xd13d
jmp 0x75810
movl $0x1, %r15d
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
testl %eax, %eax
cmovgq %r15, %rbx
movq %rbx, %r13
movq -0x30(%rbp), %rdi
leaq -0x40(%rbp), %rdx
movq %r14, %rsi
callq 0x75a5d
movl %eax, %edi
movq %rdx, %rsi
callq 0x11653
movq %r13, %rdi
movq %rax, %rsi
callq 0xe9fc
movq %rax, %rbx
movq %rax, %r15
movabsq $0xfffffffffffc, %r13   # imm = 0xFFFFFFFFFFFC
andq %r13, %r15
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x75888
incl (%r15)
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
testl %eax, %eax
jle 0x758a7
decl (%r15)
jne 0x7587d
movq %rbx, %rdi
leaq 0x9bbb1(%rip), %rsi     # 0x111429
callq 0xd13d
movq -0x40(%rbp), %r13
movl $0x1, %ebx
jmp 0x758ba
movl $0x1, %r15d
movl $0x1, %edi
movq %rbx, %rsi
callq 0xe83a
testl %eax, %eax
cmovgq %r15, %rbx
andq %rbx, %r13
movq %r13, %r15
movq -0x40(%rbp), %r13
testq %r15, %r15
je 0x758ba
movl %ebx, %eax
andl $0x3, %eax
jne 0x758ba
incl (%r15)
movq -0x38(%rbp), %r15
leaq 0x9b84c(%rip), %rsi     # 0x111111
movq %rbx, %rdi
movq %r12, %rdx
callq 0x14766
movq %r15, %rdi
movq %rbx, %rsi
callq 0xe50f
movq %rax, %rbx
leaq 0x109f9d3(%rip), %rdi   # 0x11152b8
movq %r14, %rsi
callq 0x13c85
movq %rax, %r15
cmpq $0x0, 0x8(%rax)
je 0x7590f
movq %r15, %rdi
callq 0x13d82
movq %rax, %r14
movq %rax, %rdi
movq %rdx, %rsi
callq 0x324c1
jmp 0x75954
leaq -0x30(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x75b87
movq %rax, %r14
leaq 0x9b7e9(%rip), %rsi     # 0x111111
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq %r14, %rax
sete %cl
testb $0x3, %r14b
setne %dl
orb %cl, %dl
jne 0x75945
incl (%rax)
movq %r14, %rdi
movq %r15, %rdx
callq 0x14766
movq -0x30(%rbp), %r13
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe50f
movq -0x48(%rbp), %rcx
movq %r13, (%rcx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xf5e4
movq $0x20, 0x10(%rax)
movups 0x6ad3f(%rip), %xmm0    # 0xe06cd
movups %xmm0, 0x18(%rax)
movups 0x6ad44(%rip), %xmm0    # 0xe06dd
movups %xmm0, 0x28(%rax)
movq %rax, %rdi
callq 0x9302