	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HLPFILE_RtfAddText
_HLPFILE_RtfAddText:                    ## @HLPFILE_RtfAddText
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_HLPFILE_RtfAddRawString
	testl	%eax, %eax
	je	LBB0_20
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_3:
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_4
## %bb.5:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	1(%r15), %rbx
	movl	%r15d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testb	$-128, %al
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%al, %eax
	movl	$2, %r13d
	cmpl	$92, %eax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$123, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$125, %eax
	jne	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-1(%rbx), %edx
	leaq	_HLPFILE_RtfAddText.xx(%rip), %r12
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	movl	%eax, %r13d
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.4(%rip), %r12
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %r12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-1(%rbx), %rax
	cmpq	%r15, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, %edx
	subl	%r15d, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_HLPFILE_RtfAddRawString
	testl	%eax, %eax
	je	LBB0_20
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_HLPFILE_RtfAddRawString
	movq	%rbx, %r15
	testl	%eax, %eax
	je	LBB0_20
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	incl	%r14d
	testb	%al, %al
	jne	LBB0_6
## %bb.18:
	decq	%rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_20:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rbx
LBB0_19:
	subl	%r15d, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_HLPFILE_RtfAddRawString        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
.zerofill __DATA,__bss,_HLPFILE_RtfAddText.xx,8,0 ## @HLPFILE_RtfAddText.xx
L_.str.1:                               ## @.str.1
	.asciz	"\\'%x"

L_.str.2:                               ## @.str.2
	.asciz	"\\{"

L_.str.3:                               ## @.str.3
	.asciz	"\\}"

L_.str.4:                               ## @.str.4
	.asciz	"\\\\"

	.no_dead_strip	_HLPFILE_RtfAddText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HLPFILE_RtfAddText
_HLPFILE_RtfAddText:                    ; @HLPFILE_RtfAddText
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_16
; %bb.1:
	ldrb	w8, [x20]
	cbz	w8, LBB0_18
LBB0_2:
Lloh0:
	adrp	x26, l_.str.4@PAGE
Lloh1:
	add	x26, x26, l_.str.4@PAGEOFF
Lloh2:
	adrp	x28, l_.str.3@PAGE
Lloh3:
	add	x28, x28, l_.str.3@PAGEOFF
	add	x27, x20, #1
Lloh4:
	adrp	x21, _HLPFILE_RtfAddText.xx@PAGE
Lloh5:
	add	x21, x21, _HLPFILE_RtfAddText.xx@PAGEOFF
	mov	x25, x20
Lloh6:
	adrp	x22, l_.str.1@PAGE
Lloh7:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w8, w8
	tbnz	w8, #7, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #92
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #123
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #125
	b.ne	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #2
	mov	x24, x28
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldur	w2, [x27, #-1]
	mov	x0, x21
	mov	x1, x22
	bl	_sprintf
	mov	x23, x0
	mov	x24, x21
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #2
	mov	x24, x26
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #2
Lloh8:
	adrp	x24, l_.str.2@PAGE
Lloh9:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x27, #1
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	w2, w25, w20
	mov	x0, x19
	mov	x1, x20
	bl	_HLPFILE_RtfAddRawString
	cbz	w0, LBB0_20
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_HLPFILE_RtfAddRawString
	mov	x20, x27
	cbz	w0, LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x27], #1
	add	w25, w25, #1
	cbnz	w8, LBB0_3
; %bb.15:
	sub	x8, x27, #1
	b	LBB0_19
LBB0_16:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_HLPFILE_RtfAddRawString
	cbz	w0, LBB0_20
; %bb.17:
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19]
	ldrb	w8, [x20]
	cbnz	w8, LBB0_2
LBB0_18:
	mov	x8, x20
LBB0_19:
	sub	w2, w8, w20
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_HLPFILE_RtfAddRawString
LBB0_20:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
.zerofill __DATA,__bss,_HLPFILE_RtfAddText.xx,8,0 ; @HLPFILE_RtfAddText.xx
l_.str.1:                               ; @.str.1
	.asciz	"\\'%x"

l_.str.2:                               ; @.str.2
	.asciz	"\\{"

l_.str.3:                               ; @.str.3
	.asciz	"\\}"

l_.str.4:                               ; @.str.4
	.asciz	"\\\\"

	.no_dead_strip	_HLPFILE_RtfAddText
.subsections_via_symbols
