// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_prim_Str_zgF64zy
static struct std_maybe_Maybe_1 mw_std_prim_Str_zgF64zy (STR* in_Str_1) {
	incref(MKSTR(in_Str_1));
	uint64_t v3 = str_size(in_Str_1);
	INT v4 = u64_to_int(v3);
	INT v5 = WRAP_I63(0LL);
	INT v6 = v5;
	bool v7 = int_eq(v4, v6);
	struct std_maybe_Maybe_1 branch_Maybe_8;
	if (v7) {
		decref(MKSTR(in_Str_1));
		struct std_maybe_Maybe_1 v9 = { .tag=std_maybe_Maybe_1_None };
		branch_Maybe_8 = v9;
	} else {
		STR* v10;
		double v11 = str_to_f64(in_Str_1, &v10);
		uint64_t v12 = str_size(v10);
		INT v13 = u64_to_int(v12);
		INT v14 = WRAP_I63(0LL);
		INT v15 = v14;
		bool v16 = int_eq(v13, v15);
		struct std_maybe_Maybe_1 branch_Maybe_17;
		if (v16) {
			struct std_maybe_Maybe_1 v18 = mtw_std_maybe_Maybe_1_Some(MKF64(v11));
			branch_Maybe_17 = v18;
		} else {
			struct std_maybe_Maybe_1 v19 = { .tag=std_maybe_Maybe_1_None };
			branch_Maybe_17 = v19;
		}
		branch_Maybe_8 = branch_Maybe_17;
	}
	return branch_Maybe_8;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0x1c04ba(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1d0d30
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x1c0495(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rax
cmpq $0x0, %rax
je 0x1d0d30
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x1c046a(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1d0d30
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x1c0445(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x50(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x58(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1d0d32
movq -0x18(%rbp), %rdi
callq 0x1b3f0
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
callq 0x1b520
movq %rax, -0x68(%rbp)
movq 0x19dcfd(%rip), %rax    # 0x36ea50
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0x79(%rbp)
testb $0x1, -0x79(%rbp)
je 0x1d0eb1
jmp 0x1d0d7d
movq -0x18(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq 0x1c03c9(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1d0e81
movq -0x18(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq 0x1c0397(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x98(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0xa0(%rbp), %rax
cmpq $0x0, %rax
je 0x1d0e81
movq -0x18(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq 0x1c035f(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xa8(%rbp)
movq -0xb0(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1d0e81
movq -0x18(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq 0x1c0331(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xb8(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0xc0(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1d0e7f
movq -0x18(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq 0x1c02f7(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xc8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
callq 0x127c0
jmp 0x1d0e81
jmp 0x1d0e83
leaq -0xe0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0xe0(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d0fd0
movq -0x18(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x1d10e0
movsd %xmm0, -0xf0(%rbp)
movq -0xe8(%rbp), %rdi
callq 0x1b3f0
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rdi
callq 0x1b520
movq %rax, -0x100(%rbp)
movq 0x19db5a(%rip), %rax    # 0x36ea50
movq %rax, -0x108(%rbp)
movq -0x108(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x100(%rbp), %rdi
movq -0x110(%rbp), %rsi
callq 0x194b0
andb $0x1, %al
movb %al, -0x111(%rbp)
testb $0x1, -0x111(%rbp)
je 0x1d0f8b
movsd -0xf0(%rbp), %xmm0
movsd %xmm0, -0x148(%rbp)
leaq 0x1c1dea(%rip), %rax    # 0x392d30
movq %rax, -0x140(%rbp)
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
callq 0xca10
movl %eax, -0x138(%rbp)
movq %rdx, -0x130(%rbp)
movq -0x138(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x1d0fba
leaq -0x158(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x5080
movq -0x158(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x128(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x120(%rbp), %rax
movq %rax, -0x8(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq