	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HLPFILE_RtfAddHexBytes
_HLPFILE_RtfAddHexBytes:                ## @HLPFILE_RtfAddHexBytes
	.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
	subq	$520, %rsp                      ## imm = 0x208
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_HLPFILE_RtfAddRawString
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.4:
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	$256, %edi                      ## imm = 0x100
	movl	%r14d, %esi
	callq	_min
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %eax
	addq	%rax, %rax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15,%rdx,2), %esi
	sarl	$4, %esi
	movslq	%esi, %rsi
	movzbl	(%rsi,%r12), %ebx
	movl	%edx, %esi
	movb	%bl, -560(%rbp,%rsi)
	movl	(%r15,%rdx,2), %esi
	andl	$15, %esi
	movzbl	(%rsi,%r12), %ebx
	leal	1(%rdx), %esi
	movb	%bl, -560(%rbp,%rsi)
	addq	$2, %rdx
	addq	$-4, %rcx
	cmpq	%rdx, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	subq	%rcx, %r15
	movq	%rdi, %rbx
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leal	(%r13,%r13), %edx
	movq	%rbx, %rdi
	leaq	-560(%rbp), %rsi
	callq	_HLPFILE_RtfAddRawString
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	subl	%r13d, %r14d
	jne	LBB0_5
## %bb.11:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$520, %rsp                      ## imm = 0x208
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789abcdef"

L_.str.1:                               ## @.str.1
	.asciz	" "

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_HLPFILE_RtfAddHexBytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HLPFILE_RtfAddHexBytes
_HLPFILE_RtfAddHexBytes:                ; @HLPFILE_RtfAddHexBytes
	.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
	sub	sp, sp, #528
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.1:
	cbz	w19, LBB0_10
LBB0_2:
	add	x25, sp, #8
Lloh3:
	adrp	x24, _FALSE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
Lloh5:
	adrp	x23, _TRUE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
Lloh7:
	adrp	x26, l_.str@PAGE
Lloh8:
	add	x26, x26, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	w0, #256
	mov	x1, x19
	bl	_min
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	mov	w9, w22
	lsl	x9, x9, #1
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x20]
	asr	w10, w10, #4
	ldrb	w10, [x26, w10, sxtw]
	strb	w10, [x25, w8, uxtw]
	ldr	w10, [x20], #4
	and	x10, x10, #0xf
	ldrb	w10, [x26, x10]
	add	w11, w8, #1
	strb	w10, [x25, w11, uxtw]
	add	x8, x8, #2
	cmp	x9, x8
	b.ne	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	w2, w22, #1
	add	x1, sp, #8
	mov	x0, x21
	bl	_HLPFILE_RtfAddRawString
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	w19, w19, w22
	b.ne	LBB0_3
	b	LBB0_13
LBB0_8:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #1
	bl	_HLPFILE_RtfAddRawString
	cbz	w0, LBB0_12
; %bb.9:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x21]
	cbnz	w19, LBB0_2
LBB0_10:
Lloh14:
	adrp	x23, _TRUE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	x23, x24
	b	LBB0_13
LBB0_12:
Lloh16:
	adrp	x23, _FALSE@GOTPAGE
Lloh17:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
LBB0_13:
	ldr	x0, [x23]
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	sp, sp, #528
	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
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789abcdef"

l_.str.1:                               ; @.str.1
	.asciz	" "

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_HLPFILE_RtfAddHexBytes
.subsections_via_symbols
