// File: /workspace/github_c_makefile_star2_O2/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 $0x38, %rsp
movq %rdx, -0x50(%rbp)
movq %rsi, %r14
movq %rdi, %r13
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
leaq 0x109e3e8(%rip), %rdi   # 0x110d2b0
callq 0x12f88
movq %rax, %rbx
cmpq $0x0, 0x8(%rax)
je 0x6eeef
movq %rbx, %rdi
callq 0x1307d
movq %rax, %r15
movq %rax, %rdi
movq %rdx, %rsi
callq 0x2fb0c
jmp 0x6ef34
leaq -0x30(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x6f1b3
movl %eax, %edi
movq %rdx, %rsi
callq 0x10bca
movq %rax, %r15
leaq 0x991ff(%rip), %rsi     # 0x108111
andq %r12, %rax
sete %cl
testb $0x3, %r15b
setne %dl
orb %cl, %dl
jne 0x6ef25
incl (%rax)
movq %r15, %rdi
movq %rbx, %rdx
callq 0x1393b
movq -0x30(%rbp), %r13
leaq 0x109d36d(%rip), %rdi   # 0x110c2a8
movq %r14, %rsi
callq 0x12f88
cmpq $0x0, 0x8(%rax)
je 0x6ef65
movq %rax, %rdi
callq 0x1307d
movq %rax, %rbx
movq %rax, %rdi
movq %rdx, %rsi
callq 0x2fb0c
jmp 0x6f0f8
movq %rax, -0x48(%rbp)
leaq -0x38(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x190c9
testl %eax, %eax
je 0x6f021
movq %r15, -0x40(%rbp)
cmpl $0x1, %eax
jne 0x6f19c
movq %rdx, %rdi
callq 0xd491
movq -0x38(%rbp), %rdi
leaq -0x30(%rbp), %rbx
movq %rax, %rsi
movq %rbx, %rdx
callq 0x6d3c5
movl %eax, %edi
movq %rdx, %rsi
callq 0x10bca
movq %rax, %r13
movq (%rbx), %rdi
leaq -0x30(%rbp), %rdx
movq %r14, %rsi
callq 0x6f3b1
movq %r13, %rdi
movq %rax, %rsi
callq 0xe191
movq %rax, %rbx
movq %rax, %r15
andq %r12, %r15
sete %al
testb $0x3, %bl
setne %r12b
orb %al, %r12b
jne 0x6efea
incl (%r15)
pushq $0x1
popq %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0xdfd4
movq %r13, %rcx
orb %al, %r12b
testb %al, %al
movq %rbx, %r13
cmoveq %rcx, %r13
testb %r12b, %r12b
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
jne 0x6f03f
decl (%r15)
je 0x6f02d
movq %rcx, %r13
jmp 0x6f03f
pushq $0x1
popq %rbx
movq -0x38(%rbp), %r13
jmp 0x6f0d0
movq %rcx, %r13
movq %rbx, %rdi
leaq 0x993ef(%rip), %rsi     # 0x108429
callq 0xce94
movq -0x30(%rbp), %rdi
leaq -0x58(%rbp), %rdx
movq %r14, %rsi
callq 0x6f26b
movl %eax, %edi
movq %rdx, %rsi
callq 0x10bca
movq %r13, %rdi
movq %rax, %rsi
callq 0xe191
movq %rax, %r13
movq %rax, %r15
andq %r12, %r15
sete %al
testb $0x3, %r13b
setne %r12b
orb %al, %r12b
jne 0x6f080
incl (%r15)
pushq $0x1
popq %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0xdfd4
movq %rbx, %rcx
orb %al, %r12b
testb %al, %al
movq %r13, %rbx
cmoveq %rcx, %rbx
testb %r12b, %r12b
movabsq $0xfffffffffffc, %r12   # imm = 0xFFFFFFFFFFFC
jne 0x6f0c8
decl (%r15)
je 0x6f0b6
movq %rcx, %rbx
jmp 0x6f0c8
movq %rcx, %rbx
movq %r13, %rdi
leaq 0x99366(%rip), %rsi     # 0x108429
callq 0xce94
movq -0x58(%rbp), %r13
movq -0x40(%rbp), %r15
leaq 0x9903a(%rip), %rsi     # 0x108111
movq %rbx, %rax
andq %r12, %rax
sete %cl
testb $0x3, %bl
setne %dl
orb %cl, %dl
jne 0x6f0ec
incl (%rax)
movq %rbx, %rdi
movq -0x48(%rbp), %rdx
callq 0x1393b
movq %r15, %rdi
movq %rbx, %rsi
callq 0xdd03
movq %rax, %r15
leaq 0x109d1ab(%rip), %rdi   # 0x110c2b8
movq %r14, %rsi
callq 0x12f88
movq %rax, %r12
cmpq $0x0, 0x8(%rax)
je 0x6f137
movq %r12, %rdi
callq 0x1307d
movq %rax, %rbx
movq %rax, %rdi
movq %rdx, %rsi
callq 0x2fb0c
jmp 0x6f17b
leaq -0x30(%rbp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x6f3b1
movq %rax, %rbx
leaq 0x98fc1(%rip), %rsi     # 0x108111
movabsq $0xfffffffffffc, %rdx   # imm = 0xFFFFFFFFFFFC
andq %rax, %rdx
sete %al
testb $0x3, %bl
setne %cl
orb %al, %cl
jne 0x6f16c
incl (%rdx)
movq %rbx, %rdi
movq %r12, %rdx
callq 0x1393b
movq -0x30(%rbp), %r13
movq %r15, %rdi
movq %rbx, %rsi
callq 0xdd03
movq -0x50(%rbp), %rcx
movq %r13, (%rcx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6566a(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6