	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_set_source_content         ## -- Begin function tui_set_source_content
	.p2align	4, 0x90
_tui_set_source_content:                ## @tui_set_source_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TUI_FAILURE@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	testq	%rdi, %rdi
	je	LBB0_68
## %bb.1:
	cmpq	$0, (%rdi)
	je	LBB0_68
## %bb.2:
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_TUI_SRC_WIN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_tui_alloc_source_buffer
	movl	%eax, %ebx
	movq	_TUI_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_68
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax), %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_open_source_file
	testl	%eax, %eax
	js	LBB0_4
## %bb.7:
	cmpq	$0, 16(%r14)
	jne	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%eax, %r14d
	callq	_find_source_lines
	movl	%r14d, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_9:
	testl	%r12d, %r12d
	movq	_TUI_SRC_WIN@GOTPCREL(%rip), %r13
	jle	LBB0_11
## %bb.10:
	cmpl	%r12d, 8(%r14)
	jge	LBB0_12
LBB0_11:
	movl	%eax, %edi
	callq	_close
	movq	(%r14), %rdx
	movl	8(%r14), %ecx
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	callq	_printf_unfiltered
	jmp	LBB0_68
LBB0_4:
	testl	%r15d, %r15d
	jne	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	100(%rax), %edi
	callq	_alloca
	movq	%rax, %r14
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_print_sys_errmsg
LBB0_6:
	movl	(%r13), %ebx
	jmp	LBB0_68
LBB0_12:
	movq	16(%r14), %rdx
	leal	-1(%r12), %ecx
	movl	(%rdx,%rcx,4), %esi
	movl	%eax, %edi
	movl	%eax, %r15d
	xorl	%edx, %edx
	callq	_lseek
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:
	xorl	%eax, %eax
	callq	_tui_locator_win_info_ptr
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	(%r13), %rbx
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_xfree
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_xstrdup
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_xfree
LBB0_18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_xstrdup
	movq	%rax, 32(%rbx)
	movslq	40(%rbx), %r14
	movq	_FOPEN_RT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_fdopen
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_clearerr
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, %eax
	addl	$-2, %eax
	movl	%r12d, 44(%rbx)
	testq	%r14, %r14
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_19
## %bb.20:
	leal	1(%rax), %edi
	callq	_xmalloc
	jmp	LBB0_21
LBB0_13:
	movl	%r15d, %edi
	callq	_close
	movq	(%r14), %rdi
	callq	_perror_with_name
	jmp	LBB0_68
LBB0_19:
	xorl	%eax, %eax
LBB0_21:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leal	-2(%rcx), %r15d
	cmpl	$3, %ecx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	jl	LBB0_22
## %bb.23:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%r14d, %ecx
	addl	$-4, %ecx
	movl	%ecx, -108(%rbp)                ## 4-byte Spill
	movslq	-64(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	%r15d, %ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	movq	%rax, %r14
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	jmp	LBB0_24
LBB0_63:                                ##   in Loop: Header=BB0_24 Depth=1
	movb	$0, (%rdi)
LBB0_64:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	incq	%rdx
	incl	%r12d
	cmpq	-144(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_65
LBB0_24:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
                                        ##       Child Loop BB0_51 Depth 3
                                        ##       Child Loop BB0_39 Depth 3
	movq	(%r13), %rax
	movq	24(%rax), %rax
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	(%rax,%rdx,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_fgetc
	movl	%eax, %r15d
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r13), %rax
	movq	24(%rax), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %r14
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_tui_default_tab_len
	movl	%eax, %ecx
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_tui_default_tab_len
	movq	%r14, %r13
	movl	%eax, %r14d
	imull	%ebx, %r14d
	movl	%r12d, %ebx
	subl	%r14d, %ebx
	xorl	%eax, %eax
	callq	_tui_default_tab_len
	cmpl	%eax, %ebx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jge	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	movslq	%r12d, %rbx
	addq	%r13, %rbx
	negl	%r14d
	movq	-120(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	$32, (%rbx)
	xorl	%eax, %eax
	callq	_tui_default_tab_len
	incq	%rbx
	movl	%r12d, %ecx
	incl	%ecx
	leal	(%r14,%r12), %edx
	incl	%edx
	movl	%ecx, %r12d
	cmpl	%eax, %edx
	jl	LBB0_29
	jmp	LBB0_30
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	%r12d, %ecx
	movq	-120(%rbp), %r13                ## 8-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=1
	movslq	%ecx, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	$0, (%rcx,%rax)
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, 12(%rax)
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	20(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_24 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rax
	cmpl	16(%rax), %r12d
	sete	%al
LBB0_33:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movzbl	%al, %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx)
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_34
LBB0_61:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_strlen
	movq	_TUI_SRC_WIN@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	24(%rcx), %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx), %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ecx, %eax
	jle	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	(%r14,%rcx), %rsi
	callq	_strcpy
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	jmp	LBB0_64
LBB0_34:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %r13d
	decl	%r13d
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_51 Depth 3
                                        ##       Child Loop BB0_39 Depth 3
	cmpl	$10, %r15d
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	cmpl	$13, %r15d
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	%r14, %rax
	leal	1(%r13), %r14d
	cmpl	%eax, %r14d
	jge	LBB0_38
## %bb.43:                              ##   in Loop: Header=BB0_35 Depth=2
	cmpl	$31, %r15d
	jg	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_35 Depth=2
	cmpl	$9, %r15d
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_35 Depth=2
	movslq	%r14d, %rax
	movslq	%r13d, %r14
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	$94, (%rcx,%rax)
	leal	64(%r15), %eax
	movb	%al, 2(%rcx,%r14)
	addq	$2, %r14
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	jmp	LBB0_55
LBB0_38:                                ##   in Loop: Header=BB0_35 Depth=2
	movl	%r14d, %r13d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	je	LBB0_56
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=3
	cmpl	$10, %r15d
	je	LBB0_56
## %bb.41:                              ##   in Loop: Header=BB0_39 Depth=3
	cmpl	$13, %r15d
	je	LBB0_56
## %bb.42:                              ##   in Loop: Header=BB0_39 Depth=3
	movq	%rbx, %rdi
	callq	_fgetc
	movl	%eax, %r15d
	jmp	LBB0_39
LBB0_46:                                ##   in Loop: Header=BB0_35 Depth=2
	cmpl	$9, %r15d
	je	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_35 Depth=2
	movslq	%r14d, %rax
	cmpl	$127, %r15d
	jne	LBB0_54
## %bb.48:                              ##   in Loop: Header=BB0_35 Depth=2
	movslq	%r13d, %r14
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	$94, (%rcx,%rax)
	movb	$63, 2(%rcx,%r14)
	addq	$2, %r14
	jmp	LBB0_55
LBB0_49:                                ##   in Loop: Header=BB0_35 Depth=2
	xorl	%eax, %eax
	callq	_tui_default_tab_len
	testl	%eax, %eax
	js	LBB0_53
## %bb.50:                              ##   in Loop: Header=BB0_35 Depth=2
	movl	%eax, %ecx
	movl	%r14d, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
	movslq	%r14d, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	leal	1(%rdx), %r12d
	cmpl	%r12d, %ecx
	movl	%r12d, %eax
	cmovgl	%ecx, %eax
	notl	%edx
	addl	%eax, %edx
	movl	-108(%rbp), %eax                ## 4-byte Reload
	subl	%r13d, %eax
	cmpl	%edx, %eax
	cmovael	%edx, %eax
	testl	%edx, %edx
	cmovnel	%eax, %edx
	incq	%rdx
	movl	%ecx, %r13d
	movl	$32, %esi
	callq	_memset
	movl	%r13d, %edx
	incq	%rbx
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_51:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	incl	%r14d
	cmpl	%edx, %r12d
	jge	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=3
	leaq	1(%rbx), %rax
	incl	%r12d
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_51
LBB0_53:                                ##   in Loop: Header=BB0_35 Depth=2
	decl	%r14d
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_55
LBB0_54:                                ##   in Loop: Header=BB0_35 Depth=2
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	%r15b, (%rcx,%rax)
LBB0_55:                                ##   in Loop: Header=BB0_35 Depth=2
	movslq	%r14d, %rax
	movb	$0, 1(%rax,%rcx)
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r14d, %r13d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_35 Depth=2
	cmpl	%eax, %r15d
	je	LBB0_61
## %bb.57:                              ##   in Loop: Header=BB0_35 Depth=2
	cmpl	$10, %r15d
	je	LBB0_61
## %bb.58:                              ##   in Loop: Header=BB0_35 Depth=2
	cmpl	$13, %r15d
	je	LBB0_61
## %bb.59:                              ##   in Loop: Header=BB0_35 Depth=2
	cmpl	%r14d, %r13d
	jge	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	%rbx, %rdi
	callq	_fgetc
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_35
	jmp	LBB0_61
LBB0_22:
	movq	%rax, %r14
LBB0_65:
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_67
## %bb.66:
	movq	%r14, %rdi
	callq	_xfree
LBB0_67:
	movq	%rbx, %rdi
	callq	_fclose
	movq	(%r13), %rax
	movl	%r15d, 16(%rax)
	movq	_TUI_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_68:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUI_FAILURE,4,2                ## @TUI_FAILURE
	.comm	_TUI_SRC_WIN,8,3                ## @TUI_SRC_WIN
	.comm	_TUI_SUCCESS,4,2                ## @TUI_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%d"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Line number %d out of range; %s has %d lines.\n"

	.comm	_FOPEN_RT,4,2                   ## @FOPEN_RT
L_.str.2:                               ## @.str.2
	.asciz	"%-6d"

	.comm	_EOF,4,2                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_set_source_content         ; -- Begin function tui_set_source_content
	.p2align	2
_tui_set_source_content:                ; @tui_set_source_content
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
Lloh0:
	adrp	x25, _TUI_FAILURE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TUI_FAILURE@GOTPAGEOFF]
	ldr	w21, [x25]
	cbz	x0, LBB0_70
; %bb.1:
	mov	x26, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_70
; %bb.2:
	mov	x23, x2
	mov	x19, x1
Lloh2:
	adrp	x20, _TUI_SRC_WIN@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TUI_SRC_WIN@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_tui_alloc_source_buffer
	mov	x21, x0
Lloh4:
	adrp	x8, _TUI_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TUI_SUCCESS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_70
; %bb.3:
	ldr	x8, [x20]
	ldp	w20, w24, [x8]
	mov	x0, x26
	bl	_open_source_file
	tbnz	w0, #31, LBB0_6
; %bb.4:
	mov	x22, x0
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_9
; %bb.5:
	subs	w8, w19, #1
	b.ge	LBB0_10
	b	LBB0_11
LBB0_6:
	cbnz	w23, LBB0_8
; %bb.7:
	ldr	x0, [x26]
	bl	_strlen
	add	w0, w0, #100
	bl	_alloca
	mov	x21, x0
	ldr	x8, [x26]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	stp	x8, x19, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_print_sys_errmsg
LBB0_8:
	ldr	w21, [x25]
	b	LBB0_70
LBB0_9:
	mov	x0, x26
	mov	x1, x22
	bl	_find_source_lines
	subs	w8, w19, #1
	b.lt	LBB0_11
LBB0_10:
	ldr	w9, [x26, #8]
	cmp	w9, w19
	b.ge	LBB0_12
LBB0_11:
	mov	x0, x22
	bl	_close
	ldr	x2, [x26]
	ldr	w3, [x26, #8]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf_unfiltered
	b	LBB0_70
LBB0_12:
	ldr	x9, [x26, #16]
	ldr	w1, [x9, w8, uxtw #2]
	mov	x0, x22
	mov	w2, #0
	bl	_lseek
	tbnz	x0, #63, LBB0_19
; %bb.13:
	bl	_tui_locator_win_info_ptr
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
Lloh14:
	adrp	x8, _TUI_SRC_WIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TUI_SRC_WIN@GOTPAGEOFF]
Lloh16:
	ldr	x21, [x8]
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_xfree
LBB0_15:
	ldr	x0, [x26]
	bl	_xstrdup
Lloh17:
	adrp	x8, _TUI_SRC_WIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TUI_SRC_WIN@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x0, [x8, #8]
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_xfree
LBB0_17:
	ldr	x0, [x26]
	bl	_xstrdup
	str	x0, [x21, #32]
	ldrsw	x23, [x21, #40]
	add	w8, w20, w23
	sub	w25, w8, #2
Lloh20:
	adrp	x8, _FOPEN_RT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FOPEN_RT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_fdopen
	mov	x22, x0
	bl	_clearerr
	str	w19, [x21, #44]
	cmp	w23, #1
	b.lt	LBB0_20
; %bb.18:
	add	w0, w25, #1
	bl	_xmalloc
	b	LBB0_21
LBB0_19:
	mov	x0, x22
	bl	_close
	ldr	x0, [x26]
	bl	_perror_with_name
	b	LBB0_70
LBB0_20:
	mov	x0, #0
LBB0_21:
	mov	x21, x25
	sub	w8, w24, #2
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	cmp	w24, #3
	b.lt	LBB0_66
; %bb.22:
	str	x26, [sp, #64]                  ; 8-byte Folded Spill
	mov	x24, #0
	add	w8, w23, w20
	sub	w8, w8, #4
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	sxtw	x8, w21
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh23:
	adrp	x20, _TUI_SRC_WIN@GOTPAGE
Lloh24:
	ldr	x20, [x20, _TUI_SRC_WIN@GOTPAGEOFF]
	mov	x26, x0
	stp	x21, x23, [sp, #48]             ; 16-byte Folded Spill
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	strb	wzr, [x0]
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x24, x24, #1
	add	w19, w19, #1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cmp	x24, x8
	b.eq	LBB0_67
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
                                        ;       Child Loop BB0_57 Depth 3
                                        ;       Child Loop BB0_60 Depth 3
                                        ;       Child Loop BB0_45 Depth 3
	ldr	x8, [x20]
	ldr	x8, [x8, #24]
	ldr	x20, [x8, x24, lsl #3]
	mov	x0, x22
	bl	_fgetc
	mov	x25, x0
	cbnz	w23, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
Lloh25:
	adrp	x8, _TUI_SRC_WIN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TUI_SRC_WIN@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x8, [x8, #24]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x26, [x8]
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=1
	str	x24, [sp, #88]                  ; 8-byte Folded Spill
	mov	x24, x19
	str	x19, [sp]
	mov	x0, x26
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sprintf
	mov	x0, x26
	bl	_strlen
	mov	x19, x26
	mov	x26, x0
	bl	_tui_default_tab_len
	sdiv	w21, w26, w0
	bl	_tui_default_tab_len
	mov	x27, x0
	msub	w23, w0, w21, w26
	bl	_tui_default_tab_len
	cmp	w23, w0
	b.ge	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x28, x19
	add	x23, x19, w26, sxtw
	mneg	w27, w27, w21
	mov	w19, #32
LBB0_29:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	w19, [x23], #1
	bl	_tui_default_tab_len
	add	w26, w26, #1
	add	w8, w27, w26
	cmp	w8, w0
	b.lt	LBB0_29
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x28, x19
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	strb	wzr, [x28, w26, sxtw]
	mov	x26, x28
	mov	x19, x24
	str	w19, [x20, #12]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x8, #20]
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	x1, [x8]
	bl	_strcmp
	mov	w8, #0
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	cbnz	x0, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w8, [x8, #16]
	cmp	w19, w8
	cset	w8, eq
LBB0_33:                                ;   in Loop: Header=BB0_25 Depth=1
	str	w8, [x20, #8]
Lloh30:
	adrp	x28, _EOF@GOTPAGE
Lloh31:
	ldr	x28, [x28, _EOF@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w25, w8
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x24, [sp, #88]                  ; 8-byte Folded Reload
	b.ne	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x26
	bl	_strlen
	mov	x8, x0
Lloh32:
	adrp	x20, _TUI_SRC_WIN@GOTPAGE
Lloh33:
	ldr	x20, [x20, _TUI_SRC_WIN@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x9, [x9, #24]
	ldr	x9, [x9, x24, lsl #3]
	ldr	x0, [x9]
	cmp	w8, w23
	b.le	LBB0_23
; %bb.35:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x1, x26, x23
	bl	_strcpy
	b	LBB0_24
LBB0_36:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x26
	bl	_strlen
	sub	w20, w0, #1
LBB0_37:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_57 Depth 3
                                        ;       Child Loop BB0_60 Depth 3
                                        ;       Child Loop BB0_45 Depth 3
	cmp	w25, #10
	b.eq	LBB0_44
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	cmp	w25, #13
	b.eq	LBB0_44
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=2
	add	w27, w20, #1
	cmp	w27, w21
	b.ge	LBB0_43
; %bb.40:                               ;   in Loop: Header=BB0_37 Depth=2
	cmp	w25, #31
	b.gt	LBB0_48
; %bb.41:                               ;   in Loop: Header=BB0_37 Depth=2
	cmp	w25, #9
	b.eq	LBB0_48
; %bb.42:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	w8, #94
	strb	w8, [x26, w27, sxtw]
	sxtw	x8, w20
	add	x27, x8, #2
	add	w8, w25, #64
	b	LBB0_51
LBB0_43:                                ;   in Loop: Header=BB0_37 Depth=2
	mov	x20, x27
LBB0_44:                                ;   in Loop: Header=BB0_37 Depth=2
	ldr	w8, [x28]
	cmp	w25, w8
	b.eq	LBB0_64
LBB0_45:                                ;   Parent Loop BB0_25 Depth=1
                                        ;     Parent Loop BB0_37 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	w25, #10
	b.eq	LBB0_64
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=3
	cmp	w25, #13
	b.eq	LBB0_64
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=3
	mov	x0, x22
	bl	_fgetc
	mov	x25, x0
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_45
	b	LBB0_64
LBB0_48:                                ;   in Loop: Header=BB0_37 Depth=2
	cmp	w25, #9
	b.eq	LBB0_52
; %bb.49:                               ;   in Loop: Header=BB0_37 Depth=2
	cmp	w25, #127
	b.ne	LBB0_55
; %bb.50:                               ;   in Loop: Header=BB0_37 Depth=2
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	sxtw	x8, w20
	mov	w9, #94
	strb	w9, [x26, w27, sxtw]
	add	x27, x8, #2
	mov	w8, #63
LBB0_51:                                ;   in Loop: Header=BB0_37 Depth=2
	strb	w8, [x26, x27]
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	b	LBB0_63
LBB0_52:                                ;   in Loop: Header=BB0_37 Depth=2
	str	x26, [sp, #40]                  ; 8-byte Folded Spill
	bl	_tui_default_tab_len
	tbnz	w0, #31, LBB0_62
; %bb.53:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x26, x0
	sdiv	w8, w27, w0
	msub	w9, w8, w0, w27
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	sxtw	x27, w27
	ldp	x11, x8, [sp, #32]              ; 16-byte Folded Reload
	add	x0, x8, x27
	add	w8, w9, #1
	cmp	w26, w8
	csinc	w8, w26, w9, gt
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
	mvn	w9, w9
	add	w8, w8, w9
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	sub	w9, w9, w20
	cmp	w9, w8
	csel	w9, w9, w8, lo
	mvn	x10, x27
	add	x10, x10, x11
	cmp	x10, x8
	csel	x10, x10, x8, lo
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	add	x2, x8, #1
	mov	w8, #1
	csinc	x20, x8, x10, eq
	mov	w1, #32
	bl	_memset
	cmp	x20, #4
	b.hs	LBB0_56
; %bb.54:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	b	LBB0_59
LBB0_55:                                ;   in Loop: Header=BB0_37 Depth=2
	strb	w25, [x26, w27, sxtw]
	b	LBB0_63
LBB0_56:                                ;   in Loop: Header=BB0_37 Depth=2
	and	x8, x20, #0x1fffffffc
	add	x27, x8, x27
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	add	w10, w10, w8
	mov	x9, x8
LBB0_57:                                ;   Parent Loop BB0_25 Depth=1
                                        ;     Parent Loop BB0_37 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	subs	x9, x9, #4
	b.ne	LBB0_57
; %bb.58:                               ;   in Loop: Header=BB0_37 Depth=2
	cmp	x20, x8
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	b.eq	LBB0_62
LBB0_59:                                ;   in Loop: Header=BB0_37 Depth=2
	add	w8, w10, #1
LBB0_60:                                ;   Parent Loop BB0_25 Depth=1
                                        ;     Parent Loop BB0_37 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x27, x27, #1
	cmp	w8, w26
	b.ge	LBB0_62
; %bb.61:                               ;   in Loop: Header=BB0_60 Depth=3
	add	w8, w8, #1
	cmp	x27, x9
	b.lt	LBB0_60
LBB0_62:                                ;   in Loop: Header=BB0_37 Depth=2
	sub	w27, w27, #1
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
LBB0_63:                                ;   in Loop: Header=BB0_37 Depth=2
	add	x8, x26, w27, sxtw
	strb	wzr, [x8, #1]
	ldr	w8, [x28]
	mov	x20, x27
LBB0_64:                                ;   in Loop: Header=BB0_37 Depth=2
	cmp	w25, w8
	ccmp	w25, #10, #4, ne
	ccmp	w25, #13, #4, ne
	ccmp	w20, w21, #0, ne
	b.ge	LBB0_34
; %bb.65:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x0, x22
	bl	_fgetc
	mov	x25, x0
	cbnz	w0, LBB0_37
	b	LBB0_34
LBB0_66:
Lloh34:
	adrp	x20, _TUI_SRC_WIN@GOTPAGE
Lloh35:
	ldr	x20, [x20, _TUI_SRC_WIN@GOTPAGEOFF]
	mov	x26, x0
LBB0_67:
	cmp	w23, #1
	b.lt	LBB0_69
; %bb.68:
	mov	x0, x26
	bl	_xfree
LBB0_69:
	mov	x0, x22
	bl	_fclose
	ldr	x8, [x20]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	str	w9, [x8, #16]
Lloh36:
	adrp	x8, _TUI_SUCCESS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TUI_SUCCESS@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
LBB0_70:
	mov	x0, x21
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_TUI_FAILURE,4,2                ; @TUI_FAILURE
	.comm	_TUI_SRC_WIN,8,3                ; @TUI_SRC_WIN
	.comm	_TUI_SUCCESS,4,2                ; @TUI_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%d"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Line number %d out of range; %s has %d lines.\n"

	.comm	_FOPEN_RT,4,2                   ; @FOPEN_RT
l_.str.2:                               ; @.str.2
	.asciz	"%-6d"

	.comm	_EOF,4,2                        ; @EOF
.subsections_via_symbols
