	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_erase_data_content         ## -- Begin function tui_erase_data_content
	.p2align	4, 0x90
_tui_erase_data_content:                ## @tui_erase_data_content
	.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	%rdi, %r15
	movq	_TUI_DATA_WIN@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	8(%rax), %edi
	callq	_werase
	movq	(%r14), %rdi
	callq	_tui_check_and_display_highlight_if_needed
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	addl	$-2, %ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %ebx
	addl	$-2, %ebx
	sarl	%ebx
	movq	%r15, %rdi
	callq	_strlen
	movl	$1, %edx
	cmpl	%ebx, %eax
	jge	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_strlen
	subl	%eax, %ebx
	movl	%ebx, %edx
LBB0_3:
	movq	(%r14), %rax
	movl	4(%rax), %ecx
	movl	8(%rax), %edi
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	movq	%r15, %rcx
	callq	_mvwaddstr
LBB0_4:
	movq	(%r14), %rax
	movl	8(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wrefresh                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TUI_DATA_WIN,8,3               ## @TUI_DATA_WIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_erase_data_content         ; -- Begin function tui_erase_data_content
	.p2align	2
_tui_erase_data_content:                ; @tui_erase_data_content
	.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	x20, _TUI_DATA_WIN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TUI_DATA_WIN@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	bl	_werase
	ldr	x0, [x20]
	bl	_tui_check_and_display_highlight_if_needed
	cbz	x19, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	ldr	w8, [x8]
	sub	w9, w8, #2
	sub	w8, w8, #1
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w21, w8, #1
	mov	x0, x19
	bl	_strlen
	cmp	w0, w21
	b.ge	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_strlen
	sub	w2, w21, w0
	b	LBB0_4
LBB0_3:
	mov	w2, #1
LBB0_4:
	ldr	x8, [x20]
	ldp	w8, w0, [x8, #4]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	mov	x3, x19
	bl	_mvwaddstr
LBB0_5:
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	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
	b	_wrefresh
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TUI_DATA_WIN,8,3               ; @TUI_DATA_WIN
.subsections_via_symbols
