	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_scrolling_args
_parse_scrolling_args:                  ## @parse_scrolling_args
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	$0, (%r12)
LBB0_2:
	xorl	%eax, %eax
	callq	_tui_win_with_focus
	movq	%rax, (%r14)
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.3:
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, %r15
	movsbl	(%rax), %edi
	callq	_isdigit
	movq	%r15, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_17
## %bb.5:
	movq	%rax, %rbx
	movb	$0, (%rax)
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, (%r12)
LBB0_7:
	incq	%rbx
LBB0_8:
	movb	(%rbx), %al
	cmpb	$32, %al
	jne	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	cmpb	$32, %al
	je	LBB0_9
LBB0_11:
	testb	%al, %al
	leaq	L_.str(%rip), %r12
	cmovneq	%rbx, %r12
	movq	%r12, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_14
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%rbx), %edi
	callq	_toupper
	movb	%al, (%r12,%rbx)
	incq	%rbx
	movq	%r12, %rdi
	callq	_strlen
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_14:
	movq	%r12, %rdi
	callq	_tui_partial_win_by_name
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.19:
	movq	_TUI_CMD_WIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	callq	_tui_source_windows
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	jmp	LBB0_21
LBB0_22:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	callq	_warning
	jmp	LBB0_21
LBB0_17:
	testq	%r12, %r12
	je	LBB0_21
## %bb.18:
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, (%r12)
LBB0_21:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"?"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid window specified. \nThe window name specified must be valid and visible.\n"

	.comm	_TUI_CMD_WIN,8,3                ## @TUI_CMD_WIN
	.no_dead_strip	_parse_scrolling_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_scrolling_args
_parse_scrolling_args:                  ; @parse_scrolling_args
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	cbz	x2, LBB0_2
; %bb.1:
	str	wzr, [x21]
LBB0_2:
	bl	_tui_win_with_focus
	str	x0, [x20]
	cbz	x19, LBB0_17
; %bb.3:
	mov	x0, x19
	bl	_xstrdup
	mov	x19, x0
	ldrsb	w0, [x0]
	bl	_isdigit
	mov	x8, x19
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x19
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_19
; %bb.5:
	mov	x22, x0
	strb	wzr, [x0]
	cbz	x21, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_atoi
	str	w0, [x21]
LBB0_7:
	add	x8, x22, #1
LBB0_8:
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, #1]!
	cmp	w9, #32
	b.eq	LBB0_9
LBB0_10:
Lloh0:
	adrp	x10, l_.str@PAGE
Lloh1:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w9, #0
	csel	x21, x10, x8, eq
	mov	x0, x21
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x22, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21, x22]
	bl	_toupper
	strb	w0, [x21, x22]
	add	x22, x22, #1
	mov	x0, x21
	bl	_strlen
	cmp	x22, w0, sxtw
	b.lt	LBB0_12
LBB0_13:
	mov	x0, x21
	bl	_tui_partial_win_by_name
	str	x0, [x20]
	cbz	x0, LBB0_18
; %bb.14:
	ldr	w8, [x0]
	cbz	w8, LBB0_18
; %bb.15:
Lloh2:
	adrp	x8, _TUI_CMD_WIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TUI_CMD_WIN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.16:
	bl	_tui_source_windows
	ldr	x8, [x0]
	ldr	x8, [x8]
	str	x8, [x20]
	b	LBB0_21
LBB0_17:
	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
	ret
LBB0_18:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
	b	LBB0_21
LBB0_19:
	cbz	x21, LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_atoi
	str	w0, [x21]
LBB0_21:
	mov	x0, x19
	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	_xfree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"?"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid window specified. \nThe window name specified must be valid and visible.\n"

	.comm	_TUI_CMD_WIN,8,3                ; @TUI_CMD_WIN
	.no_dead_strip	_parse_scrolling_args
.subsections_via_symbols
