	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HUlib_addLineToSText           ## -- Begin function HUlib_addLineToSText
	.p2align	4, 0x90
_HUlib_addLineToSText:                  ## @HUlib_addLineToSText
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	incq	%rax
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	cmovneq	%rax, %rdi
	movq	%rdi, (%rbx)
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	callq	_HUlib_clearTextLine
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rdi
	shlq	$2, %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HUlib_addLineToSText           ; -- Begin function HUlib_addLineToSText
	.p2align	2
_HUlib_addLineToSText:                  ; @HUlib_addLineToSText
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x8, x9, [x0]
	add	x10, x8, #1
	cmp	x10, x9
	csinc	x8, xzr, x8, eq
	str	x8, [x0]
	ldr	x9, [x0, #16]
	add	x0, x9, x8, lsl #2
	bl	_HUlib_clearTextLine
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x19, #16]
	lsl	x2, x8, #2
Lloh0:
	adrp	x1, l_.memset_pattern@PAGE
Lloh1:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	4                               ; 0x4

.subsections_via_symbols
