// File: /workspace/github_c_makefile_star2_O0/mirth-lang[P]mirth/bin/mirth1.c
// Function: mw_std_prim_Str_slice
static STR* mw_std_prim_Str_slice (INT in_Offset_1, INT in_Sizze_2, STR* in_Str_3) {
	incref(MKSTR(in_Str_3));
	incref(MKSTR(in_Str_3));
	void* v7 = str_base(in_Str_3);
	uint64_t v8 = str_size(in_Str_3);
	INT v9 = u64_to_int(v8);
	INT v10;
	INT v11 = mw_std_str_clampzeslicezeoffsetzesizze(in_Offset_1, in_Sizze_2, v9, &v10);
	int64_t v12 = int_to_i64(v11);
	void* v13 = (void*)(v12 + (char*)v7);
	uint64_t v14 = int_to_u64(v10);
	STR* v15 = str_make(v13, v14);
	decref(MKSTR(in_Str_3));
	return v15;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq 0x374492(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1cd58
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq 0x37446d(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x30(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x38(%rbp), %rax
cmpq $0x0, %rax
je 0x1cd58
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq 0x374442(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1cd58
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq 0x37441d(%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 0x1cd5a
jmp 0x1cd5c
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x3743ed(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1ce10
movq -0x18(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq 0x3743c4(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x70(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x78(%rbp), %rax
cmpq $0x0, %rax
je 0x1ce10
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x374396(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x80(%rbp)
movq -0x88(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1ce10
movq -0x18(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x37436b(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x90(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x98(%rbp), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0x1ce12
movq -0x18(%rbp), %rdi
callq 0x1be20
movq %rax, -0xa0(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1b3f0
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rdi
callq 0x1b520
movq %rax, -0xb0(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0xb0(%rbp), %rdx
leaq -0xb8(%rbp), %rcx
callq 0x1cfe0
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rdi
callq 0xc6c0
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
addq -0xa0(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0xb8(%rbp), %rdi
callq 0x1b680
movq %rax, -0xd8(%rbp)
movq -0xd0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0xb6c0
movq %rax, -0xe0(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq 0x37428a(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xe8(%rbp)
movq -0xe8(%rbp), %rax
andq $0x1, %rax
cmpq $0x0, %rax
je 0x1cfc0
movq -0x18(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq 0x374258(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0xf8(%rbp)
movabsq $0xfffffffffffc, %rax   # imm = 0xFFFFFFFFFFFC
andq -0x100(%rbp), %rax
cmpq $0x0, %rax
je 0x1cfc0
movq -0x18(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq 0x374220(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x108(%rbp)
movq -0x110(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
jne 0x1cfc0
movq -0x18(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x3741f2(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x118(%rbp)
movabsq $0xfffffffffffc, %rcx   # imm = 0xFFFFFFFFFFFC
andq -0x120(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jne 0x1cfbe
movq -0x18(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0x3741b8(%rip), %rax    # 0x391158
orq $0x1, %rax
movq %rax, -0x128(%rbp)
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0x127c0
jmp 0x1cfc0
jmp 0x1cfc2
movq -0xe0(%rbp), %rax
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopw %cs:(%rax,%rax)