	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ui_browser__input_window       ## -- Begin function ui_browser__input_window
	.p2align	4, 0x90
_ui_browser__input_window:              ## @ui_browser__input_window
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	$60, %r14d
	movl	$8, %r13d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ecx
	subl	%ebx, %ecx
	cmpl	%ecx, %r14d
	cmovlel	%ecx, %r14d
	leaq	1(%rax), %rbx
	incl	%r13d
	cmpb	$0, (%rax)
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	addq	%rbx, %rax
	jmp	LBB0_3
LBB0_4:
	leal	2(%r14), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	_SLtt_Screen_Rows@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	movl	%r13d, %eax
	shrl	%eax
	subl	%eax, %r15d
	movq	_SLtt_Screen_Cols@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%r14d, %eax
	addl	$2, %eax
	sarl	%eax
	subl	%eax, %ebx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_SLsmg_set_color
	leal	1(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_SLsmg_draw_box
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leal	2(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movl	%r15d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_SLsmg_gotorc
	movq	%rbx, %rdi
	callq	_SLsmg_write_string
LBB0_6:
	leal	1(%r15), %ebx
	movl	%ebx, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_SLsmg_gotorc
	leal	-7(%r13), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %r8d
	movl	$1, %r9d
	callq	_SLsmg_write_wrapped_string
	leal	(%r15,%r13), %eax
	addl	$-7, %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	leal	(%r15,%r13), %edi
	addl	$-3, %edi
	movl	%ebx, %esi
	callq	_SLsmg_gotorc
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_SLsmg_write_nstring
	leal	(%r15,%r13), %edi
	addl	$-4, %edi
	movl	%ebx, %esi
	callq	_SLsmg_gotorc
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_SLsmg_write_nstring
	leal	(%r15,%r13), %edi
	addl	$-5, %edi
	movl	%edi, -80(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_SLsmg_gotorc
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_SLsmg_write_nstring
	leal	(%r15,%r13), %edi
	addl	$-6, %edi
	movl	%edi, -84(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_SLsmg_gotorc
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_SLsmg_write_nstring
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_SLsmg_gotorc
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	callq	_SLsmg_write_nstring
	leal	-2(%r14), %ecx
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	$3, %edx
	callq	_SLsmg_draw_box
	leal	(%r15,%r13), %edi
	addl	$-2, %edi
	movl	%ebx, %esi
	callq	_SLsmg_gotorc
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_SLsmg_write_nstring
	xorl	%eax, %eax
	callq	_SLsmg_refresh
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_ui__getch
	movl	%eax, %ebx
	movq	_K_TIMER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_20
## %bb.7:
	movq	_K_ENTER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_20
## %bb.8:
	movq	_K_ESC@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ebx
	je	LBB0_20
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	$3, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_K_BKSPC@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r14), %ebx
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	decl	%r12d
	movl	$32, %ebx
	movl	%r12d, %r15d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movslq	%r12d, %r15
	leaq	_ui_browser__input_window.buf(%rip), %rax
	movb	%bl, (%r15,%rax)
	incl	%r15d
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_SLsmg_gotorc
	movl	%ebx, %edi
	callq	_SLsmg_write_char
	xorl	%eax, %eax
	callq	_SLsmg_refresh
	movl	%r15d, %r12d
	cmpl	$49, %r15d
	je	LBB0_19
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_ui__getch
	movl	%eax, %ebx
	movq	_K_TIMER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_K_ENTER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	(%r13), %ebx
	jne	LBB0_10
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
	callq	_ui_helpline__push
	movq	_K_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$49, %r12d
LBB0_20:
	movslq	%r12d, %rdx
	leaq	_ui_browser__input_window.buf(%rip), %rsi
	movb	$0, (%rdx,%rsi)
	incl	%edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_ui_browser__input_window.buf,50,4 ## @ui_browser__input_window.buf
	.comm	_SLtt_Screen_Rows,4,2           ## @SLtt_Screen_Rows
	.comm	_SLtt_Screen_Cols,4,2           ## @SLtt_Screen_Cols
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.comm	_K_TIMER,4,2                    ## @K_TIMER
	.comm	_K_ENTER,4,2                    ## @K_ENTER
	.comm	_K_ESC,4,2                      ## @K_ESC
	.comm	_K_BKSPC,4,2                    ## @K_BKSPC
L_.str.1:                               ## @.str.1
	.asciz	"maximum size of symbol name reached!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ui_browser__input_window       ; -- Begin function ui_browser__input_window
	.p2align	2
_ui_browser__input_window:              ; @ui_browser__input_window
	.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
	mov	x20, x4
	stp	x3, x2, [sp]                    ; 16-byte Folded Spill
	mov	x26, x1
	mov	x28, x0
	mov	w22, #60
	mov	w23, #8
	mov	x19, x1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w0, w19
	cmp	w22, w8
	csel	w22, w22, w8, gt
	ldrb	w8, [x0], #1
	add	w23, w23, #1
	mov	x19, x0
	cbz	w8, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #10
	bl	_strchr
	cbnz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_strlen
	add	x0, x19, x0
	b	LBB0_1
LBB0_4:
	add	w27, w22, #2
Lloh0:
	adrp	x8, _SLtt_Screen_Rows@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLtt_Screen_Rows@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w19, w8, w23, lsr #1
Lloh3:
	adrp	x8, _SLtt_Screen_Cols@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLtt_Screen_Cols@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	w9, w22, #3
	cmp	w27, #0
	csel	w9, w9, w27, lt
	sub	w24, w8, w9, asr #1
	mov	w0, #0
	bl	_SLsmg_set_color
	add	w25, w24, #1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	x3, x27
	bl	_SLsmg_draw_box
	add	w27, w24, #2
	cbz	x28, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x27
	bl	_SLsmg_gotorc
	mov	x0, x28
	bl	_SLsmg_write_string
LBB0_6:
	add	w28, w19, #1
	mov	x0, x28
	mov	x1, x25
	bl	_SLsmg_gotorc
	sub	w3, w23, #7
	mov	x0, x26
	mov	x1, x28
	mov	x2, x25
	mov	x4, x22
	mov	w5, #1
	bl	_SLsmg_write_wrapped_string
	add	w21, w19, w23
	sub	w19, w21, #7
	sub	w0, w21, #3
	mov	x1, x25
	bl	_SLsmg_gotorc
Lloh6:
	adrp	x26, l_.str@PAGE
Lloh7:
	add	x26, x26, l_.str@PAGEOFF
	mov	x0, x26
	mov	x1, x22
	bl	_SLsmg_write_nstring
	sub	w0, w21, #4
	mov	x1, x25
	bl	_SLsmg_gotorc
	mov	x0, x26
	mov	x1, x22
	bl	_SLsmg_write_nstring
	sub	w23, w21, #5
	mov	x0, x23
	mov	x1, x25
	bl	_SLsmg_gotorc
	mov	x0, x26
	mov	x1, x22
	bl	_SLsmg_write_nstring
	sub	w28, w21, #6
	mov	x0, x28
	mov	x1, x25
	bl	_SLsmg_gotorc
	mov	x0, x26
	mov	x1, x22
	bl	_SLsmg_write_nstring
	mov	x0, x19
	mov	x1, x25
	bl	_SLsmg_gotorc
	mov	x0, x26
	mov	x1, x22
	bl	_SLsmg_write_nstring
	sub	w3, w22, #2
	mov	x0, x28
	mov	x1, x27
	mov	w2, #3
	bl	_SLsmg_draw_box
	sub	w0, w21, #2
	mov	x1, x25
	bl	_SLsmg_gotorc
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x22
	bl	_SLsmg_write_nstring
	bl	_SLsmg_refresh
	mov	x0, x20
	bl	_ui__getch
	mov	x22, x0
	mov	w26, #0
Lloh8:
	adrp	x19, _K_TIMER@GOTPAGE
Lloh9:
	ldr	x19, [x19, _K_TIMER@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh10:
	adrp	x21, _ui_browser__input_window.buf@PAGE
Lloh11:
	add	x21, x21, _ui_browser__input_window.buf@PAGEOFF
	cmp	w0, w8
	b.eq	LBB0_18
; %bb.7:
Lloh12:
	adrp	x25, _K_ENTER@GOTPAGE
Lloh13:
	ldr	x25, [x25, _K_ENTER@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w22, w8
	b.eq	LBB0_18
; %bb.8:
Lloh14:
	adrp	x27, _K_ESC@GOTPAGE
Lloh15:
	ldr	x27, [x27, _K_ESC@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w22, w8
	b.eq	LBB0_18
; %bb.9:
	mov	w8, #0
	add	w24, w24, #3
Lloh16:
	adrp	x28, _K_BKSPC@GOTPAGE
Lloh17:
	ldr	x28, [x28, _K_BKSPC@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	strb	w22, [x21, w8, sxtw]
	add	w26, w8, #1
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w1, w8, w24
	mov	x0, x23
	bl	_SLsmg_gotorc
	mov	x0, x22
	bl	_SLsmg_write_char
	bl	_SLsmg_refresh
	cmp	w26, #49
	b.eq	LBB0_17
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_ui__getch
	mov	x22, x0
	ldr	w8, [x19]
	ldr	w9, [x25]
	ldr	w10, [x27]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	ccmp	w0, w10, #4, ne
	mov	x8, x26
	b.eq	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x28]
	cmp	w22, w9
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w8, w8, #1
	mov	w22, #32
	mov	x26, x8
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w26, #0
	b	LBB0_12
LBB0_17:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ui_helpline__push
	ldr	w22, [x25]
LBB0_18:
	strb	wzr, [x21, w26, sxtw]
	add	w2, w26, #1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x21
	bl	_strncpy
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_ui_browser__input_window.buf,50,0 ; @ui_browser__input_window.buf
	.comm	_SLtt_Screen_Rows,4,2           ; @SLtt_Screen_Rows
	.comm	_SLtt_Screen_Cols,4,2           ; @SLtt_Screen_Cols
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_K_TIMER,4,2                    ; @K_TIMER
	.comm	_K_ENTER,4,2                    ; @K_ENTER
	.comm	_K_ESC,4,2                      ; @K_ESC
	.comm	_K_BKSPC,4,2                    ; @K_BKSPC
l_.str.1:                               ; @.str.1
	.asciz	"maximum size of symbol name reached!"

.subsections_via_symbols
