	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SYSLINK_SetText
_SYSLINK_SetText:                       ## @SYSLINK_SetText
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_SYSLINK_ClearDoc
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_SYSLINK_ParseText
	testq	%rax, %rax
	jle	LBB0_6
## %bb.3:
	movl	(%r15), %edi
	leaq	-28(%rbp), %rsi
	callq	_GetClientRect
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%r15), %edi
	callq	_GetDC
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r14
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_SYSLINK_Render
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_ReleaseDC
	movl	(%r15), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_InvalidateRect
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_SYSLINK_SetText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SYSLINK_SetText
_SYSLINK_SetText:                       ; @SYSLINK_SetText
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	bl	_SYSLINK_ClearDoc
Lloh0:
	adrp	x21, _TRUE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	cbz	x20, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_SYSLINK_ParseText
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	w0, [x19]
	add	x1, sp, #12
	bl	_GetClientRect
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x19]
	bl	_GetDC
	cbz	x0, LBB0_6
; %bb.5:
	mov	x20, x0
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_SYSLINK_Render
	ldr	w0, [x19]
	mov	x1, x20
	bl	_ReleaseDC
	ldr	w0, [x19]
	ldr	w2, [x21]
	mov	x1, #0
	bl	_InvalidateRect
LBB0_6:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_SYSLINK_SetText
.subsections_via_symbols
