// File: /workspace/github_c_makefile_star2_O2/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_mirth_elab_modulezevisiblezefromzetokenzy
static bool mw_mirth_elab_modulezevisiblezefromzetokenzy (struct mirth_mirth_zaMirth* in_zaMirth_1, uint64_t in_Token_2, uint64_t in_Module_3, struct mirth_mirth_zaMirth* *out_zaMirth_4) {
	struct mirth_mirth_zaMirth* v6;
	uint64_t v7 = mw_mirth_token_Token_module(in_zaMirth_1, in_Token_2, &v6);
	struct mirth_mirth_zaMirth* v8;
	bool v9 = mw_mirth_module_Module_visible(v6, in_Module_3, v7, &v8);
	*out_zaMirth_4 = v8;
	return v9;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, -0x50(%rbp)
movq %rdx, -0x38(%rbp)
movabsq $0xfffffffffffc, %rbx   # imm = 0xFFFFFFFFFFFC
leaq -0x60(%rbp), %r14
movq %r14, %rdx
callq 0x19434
movq %rax, %r12
movq (%r14), %rdi
leaq -0x58(%rbp), %rdx
movq %rax, %rsi
callq 0x2c6c3
movq %rdx, %rcx
leaq 0xdcb0b(%rip), %rsi     # 0x108ff8
movq %r12, %rdi
movl %eax, %edx
callq 0xcf39
movq %rdx, %rsi
movq $0x0, -0x30(%rbp)
pushq $0x1
popq %rax
movb $0x1, %r13b
leaq -0x48(%rbp), %r14
movl %eax, %edi
xorl %r15d, %r15d
testb $0x1, %r13b
je 0x2c623
movq %r14, %rdx
callq 0x1075d
testl %eax, %eax
je 0x2c579
cmpl $0x1, %eax
jne 0x2c6ac
movq %rdx, %rdi
callq 0xd491
testb $0x1, %dl
je 0x2c585
movq %rax, %rcx
andq %rbx, %rcx
sete %sil
testb $0x3, %al
setne %dil
orb %sil, %dil
jne 0x2c585
movl (%rcx), %esi
leal 0x1(%rsi), %edi
movl %edi, (%rcx)
cmpq -0x38(%rbp), %rax
je 0x2c58f
movl %esi, (%rcx)
testl %esi, %esi
jne 0x2c614
movq %rax, %rdi
movq %rdx, %rsi
callq 0xce94
jmp 0x2c614
movl -0x48(%rbp), %edi
movq -0x40(%rbp), %rsi
xorl %r13d, %r13d
jmp 0x2c511
cmpq -0x38(%rbp), %rax
jne 0x2c614
movq %rax, %rdi
movq %rdx, %rsi
callq 0x8d0c
movq %rdx, %r12
movq -0x40(%rbp), %rax
movq %rax, %rcx
andq %rbx, %rcx
sete %dl
testb $0x3, %al
setne %sil
orb %dl, %sil
jne 0x2c5cf
movl -0x48(%rbp), %edi
decl (%rcx)
jne 0x2c5cf
shlq $0x30, %rdi
orq %rax, %rdi
leaq 0xdbcaf(%rip), %rsi     # 0x108279
callq 0xce94
movq %r15, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %r15b
setne %dl
movb $0x1, %r13b
orb %cl, %dl
jne 0x2c601
decl (%rax)
jne 0x2c601
movq -0x30(%rbp), %rdi
shlq $0x30, %rdi
orq %r15, %rdi
leaq 0xdbcc5(%rip), %rsi     # 0x1082c1
callq 0xce94
xorl %edi, %edi
pushq $0x1
popq %rax
movq %rax, -0x30(%rbp)
movq %r12, %r15
xorl %esi, %esi
jmp 0x2c511
movl -0x48(%rbp), %edi
movb $0x1, %r13b
movq -0x40(%rbp), %rsi
jmp 0x2c511
movq %rsi, %rax
andq %rbx, %rax
sete %cl
testb $0x3, %sil
setne %dl
orb %cl, %dl
jne 0x2c64e
decl (%rax)
jne 0x2c64e
shlq $0x30, %rdi
orq %rsi, %rdi
leaq 0xdbc30(%rip), %rsi     # 0x108279
callq 0xce94
movl -0x30(%rbp), %r14d
andq %r15, %rbx
sete %al
testb $0x3, %r15b
setne %cl
orb %al, %cl
jne 0x2c67d
decl (%rbx)
jne 0x2c67d
movq %r14, %rdi
shlq $0x30, %rdi
orq %r15, %rdi
leaq 0xdbc49(%rip), %rsi     # 0x1082c1
callq 0xce94
movq %r14, %rdi
callq 0xd86d
pushq $0x1
popq %rsi
movq %rax, %rdi
callq 0xd759
xorb $0x1, %al
movq -0x58(%rbp), %rcx
movq -0x50(%rbp), %rdx
movq %rcx, (%rdx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa815a(%rip), %rdi     # 0xd480d
pushq $0x20
popq %rsi
callq 0x8a21
movq %rax, %rdi
callq 0x8cc6