	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_set_source_content_nil     ## -- Begin function tui_set_source_content_nil
	.p2align	4, 0x90
_tui_set_source_content_nil:            ## @tui_set_source_content_nil
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%rdi)
	jle	LBB0_19
## %bb.1:
	movslq	(%rdi), %r13
	leal	-2(%r13), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
                                        ## kill: def $eax killed $eax def $rax
	shrl	$31, %eax
	leal	(%rax,%r13), %edx
	addl	$-2, %edx
	decq	%r13
	movl	4(%rdi), %eax
	movl	%eax, %ecx
	addl	$-2, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	addl	$-2, %ecx
	sarl	%ecx
	incl	%ecx
	sarl	%edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	_FALSE@GOTPCREL(%rip), %rdx
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movb	$10, (%rbx,%rax)
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	8(%rdi), %rax
	cmpq	%rax, %r14
	jge	LBB0_19
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movq	16(%rdi), %rax
	movq	(%rax,%r14,8), %rbx
	movq	$0, 24(%rbx)
	movq	(%rdx), %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rax
	movb	$0, (%rax)
	cmpq	%rcx, %r14
	jne	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %r12d
	movq	(%rbx), %rbx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	subl	%r12d, %r15d
	movl	$1, %eax
	cmovlel	%eax, %r15d
	testl	%r15d, %r15d
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_memset
	leal	-1(%r15), %edi
	incq	%rdi
	jmp	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcpy
	addl	%r12d, %r15d
	cmpl	%r13d, %r15d
	jge	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	movslq	%r15d, %rbx
	movq	%rax, %r12
	leaq	(%rax,%rbx), %rdi
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %edx
	subl	%r15d, %edx
	incq	%rdx
	movl	$32, %esi
	callq	_memset
	movl	%r13d, %ecx
	subl	%r15d, %ecx
	movq	%rbx, %rax
	notq	%rax
	addq	%r13, %rax
	andq	$7, %rcx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	negq	%rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	%rdx, %rbx
	movq	%rbx, %r15
	jmp	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
                                        ## implicit-def: $r15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	_FALSE@GOTPCREL(%rip), %rdx
	cmpq	$7, %rax
	jb	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r15
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	$8, %r15
	cmpq	%r13, %r15
	jl	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rbx
	jmp	LBB0_17
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_set_source_content_nil     ; -- Begin function tui_set_source_content_nil
	.p2align	2
_tui_set_source_content_nil:            ; @tui_set_source_content_nil
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x24, #0
	ldp	w8, w9, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	sub	x25, x8, #1
	sub	w10, w9, #2
	sub	w9, w9, #1
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #1
	add	w26, w9, #1
	sub	w9, w8, #2
	sub	w8, w8, #1
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #1
	stp	w9, w8, [sp, #8]                ; 8-byte Folded Spill
Lloh0:
	adrp	x28, _FALSE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x22
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #10
	strb	w9, [x21, w8, sxtw]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20, #8]
	cmp	x24, x8
	b.ge	LBB0_15
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x8, [x20, #16]
	ldr	x21, [x8, x24, lsl #3]
	ldr	x8, [x28]
	stp	x8, xzr, [x21, #16]
	str	x8, [x21, #8]
	ldr	x8, [x21]
	strb	wzr, [x8]
	cmp	x24, x26
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	ldr	x21, [x21]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	subs	w8, w8, w0
	csinc	w23, w8, wzr, gt
	subs	w27, w23, #1
	b.lt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w1, #32
	mov	x2, x23
	bl	_memset
	add	x8, x27, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x21, x8
	mov	x1, x19
	bl	_strcpy
	add	w8, w23, w22
	cmp	w8, w25
	b.ge	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x22, w8
	add	x0, x21, x22
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	sub	w8, w9, w8
	add	x2, x8, #1
	mov	w1, #32
	bl	_memset
	sub	x8, x25, x22
	cmp	x8, #4
	b.lo	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	and	x9, x8, #0xfffffffffffffffc
	add	x22, x9, x22
	mov	x10, x9
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	x10, x10, #4
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_14:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x22, x22, #1
	cmp	x22, x25
	b.lt	LBB0_14
	b	LBB0_2
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
.subsections_via_symbols
