	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function textsetptrT
_textsetptrT:                           ## @textsetptrT
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_LPSTR_TEXTCALLBACKW@GOTPCREL(%rip), %r12
	cmpq	%rsi, (%r12)
	jne	LBB0_5
## %bb.1:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rbx), %rdi
	callq	_is_text
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	callq	_Free
LBB0_3:
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movl	%r14d, %eax
	jmp	LBB0_4
LBB0_5:
	movl	%edx, %r14d
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_textdupTtoW
	movq	%rax, %r15
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_7
## %bb.6:
	movq	$0, (%rbx)
LBB0_7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_Str_SetPtrW
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_textfreeT
	movl	%ebx, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_LPSTR_TEXTCALLBACKW,8,3        ## @LPSTR_TEXTCALLBACKW
	.no_dead_strip	_textsetptrT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function textsetptrT
_textsetptrT:                           ; @textsetptrT
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x22, _LPSTR_TEXTCALLBACKW@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LPSTR_TEXTCALLBACKW@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	ldr	x0, [x19]
	bl	_is_text
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	bl	_Free
LBB0_3:
	ldr	x8, [x22]
	str	x8, [x19]
	mov	x0, x20
	b	LBB0_7
LBB0_4:
	mov	x20, x2
	mov	x0, x1
	mov	x1, x2
	bl	_textdupTtoW
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	str	xzr, [x19]
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_Str_SetPtrW
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_textfreeT
	mov	x0, x19
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_LPSTR_TEXTCALLBACKW,8,3        ; @LPSTR_TEXTCALLBACKW
	.no_dead_strip	_textsetptrT
.subsections_via_symbols
