// File: /workspace/github_c_makefile_star2_O2/markdryan[P]subtilis/frontend/string_type.c
// Function: subtilis_string_zt_non_const
subtilis_exp_t *subtilis_string_zt_non_const(subtilis_parser_t *p,
					     subtilis_exp_t *e,
					     subtilis_error_t *err)
{
	if (e->type.type != SUBTILIS_TYPE_STRING) {
		subtilis_error_set_string_variable_expected(
		    err, p->l->stream->name, p->l->line);
		subtilis_exp_delete(e);
		return NULL;
	}

	if (e->temporary)
		return prv_zt_non_const_tmp(p, e, err);

	/*
	 * We need to create a brand new temporary string and copy
	 * the contents of the old string appending a 0 to the end
	 */

	return prv_zt_non_const(p, e, err);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
cmpl $0x7, (%rsi)
jne 0x46208
cmpq $0x0, 0x158(%rbx)
je 0x4622c
movq 0x148(%rbx), %rsi
xorl %r12d, %r12d
movq %r15, %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x4a690
cmpl $0x0, (%r14)
jne 0x461fb
movq %rax, %rbp
movq 0x148(%rbx), %rsi
xorl %r12d, %r12d
movq %r15, %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x4a6a8
cmpl $0x0, (%r14)
jne 0x461fb
movq %rax, %r13
movq 0x148(%rbx), %rsi
xorl %r12d, %r12d
movq %r15, %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x4acab
cmpl $0x0, (%r14)
jne 0x461fb
movq %rax, %r12
movq 0x48(%r15), %rdi
pushq $0x1b
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x2a981
cmpl $0x0, (%r14)
jne 0x461f8
movq %rax, 0x20(%rsp)
movq 0x48(%r15), %rdi
pushq $0x9
popq %rsi
pushq $0x1
popq %rcx
movq %r12, %rdx
movq %r14, %r8
callq 0x2a819
cmpl $0x0, (%r14)
je 0x462fd
xorl %r12d, %r12d
movq %rbx, %rdi
callq 0x29d88
jmp 0x46294
movq (%r15), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x29853(%rip), %r8      # 0x6fa6c
pushq $0x4b
popq %rsi
movq %r14, %rdi
movl $0x279, %r9d            # imm = 0x279
callq 0x142c0
jmp 0x46289
leaq 0x28(%rsp), %r12
pushq $0x2
popq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x146a8
leaq 0x2983c(%rip), %rsi     # 0x6fa83
movq %r12, %rdi
movq %r13, %rdx
movq %r14, %rcx
callq 0x14795
cmpl $0x0, (%r14)
je 0x46260
xorl %r13d, %r13d
jmp 0x46281
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x2a406
movq %rax, %r13
movq %r12, %rdi
callq 0x14a01
cmpl $0x0, (%r14)
je 0x462a6
movq %r13, %rdi
callq 0x29d88
movq %rbx, %rdi
callq 0x29d88
xorl %r12d, %r12d
movq %r12, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
movq %r14, %r8
callq 0x48feb
cmpl $0x0, (%r14)
jne 0x46294
movq %rax, %rbx
movq 0x148(%rax), %rsi
xorl %r12d, %r12d
movq %r15, %rdi
xorl %edx, %edx
movq %r14, %rcx
callq 0x4a690
movq %rax, %r15
movq %rbx, %rdi
callq 0x29d88
cmpl $0x0, (%r14)
jne 0x46294
movl %r15d, %edi
movq %r14, %rsi
callq 0x2a336
movq %rax, %r12
jmp 0x46294
movq 0x148(%rbx), %rdx
movq %r14, 0x18(%rsp)
movq 0x20(%rsp), %rcx
movq %rcx, 0x8(%rsp)
orq $-0x1, 0x10(%rsp)
movq %rax, (%rsp)
movq %r12, %rax
xorl %r12d, %r12d
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rcx
movq %rbp, %r8
movq %rax, %rbp
movq %rax, %r9
callq 0x4b1f9
cmpl $0x0, (%r14)
jne 0x461fb
movq %rax, %r13
movq %rbp, %rcx
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
andq %rax, %rbp
movq 0x48(%r15), %rdi
pushq $0x1b
popq %rsi
movq %rcx, %r12
movq %rbp, %rdx
movq %r14, %rcx
callq 0x2a981
cmpl $0x0, (%r14)
jne 0x461f8
movq %rax, 0x20(%rsp)
movq 0x48(%r15), %rdi
movq %r12, %rcx
xorl %r12d, %r12d
xorl %esi, %esi
movq %r13, %rdx
movq %r14, %r8
callq 0x2a819
cmpl $0x0, (%r14)
jne 0x461fb
movq 0x48(%r15), %rdi
pushq $0x16
popq %rsi
movq 0x20(%rsp), %rdx
movq %rax, %rcx
movq %rbp, %r8
movq %r14, %r9
callq 0x2a8c1
cmpl $0x0, (%r14)
jne 0x461f8
movl %r13d, %edi
movq %r14, %rsi
callq 0x2a336
movq %rax, %r12
jmp 0x461fb