	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Panel_selectByTyping           ## -- Begin function Panel_selectByTyping
	.p2align	4, 0x90
_Panel_selectByTyping:                  ## @Panel_selectByTyping
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_Panel_size
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_2
## %bb.1:
	movl	$100, %edi
	movl	$1, %esi
	callq	_xCalloc
	movq	%rax, %r12
	movq	%rax, (%r15)
LBB0_2:
	leal	-1(%rbx), %eax
	cmpl	$253, %eax
	ja	LBB0_12
## %bb.3:
	movl	%ebx, %edi
	callq	_isalnum
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	%r12, %rdi
	callq	_strlen
	cmpl	$98, %eax
	jg	LBB0_6
## %bb.5:
	cltq
	movb	%bl, (%r12,%rax)
	movb	$0, 1(%r12,%rax)
LBB0_6:
	movq	%r12, %rdi
	callq	_strlen
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_17
## %bb.7:
	movl	%eax, %r13d
	xorl	%r14d, %r14d
	movb	$1, %bl
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Panel_get
	movq	(%rax), %rdi
	decq	%rdi
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, 1(%rdi)
	leaq	1(%rdi), %rdi
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	incl	%r14d
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	setl	%bl
	jne	LBB0_8
	jmp	LBB0_20
LBB0_12:
	movq	_ERR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	movb	$0, (%r12)
LBB0_14:
	cmpl	$13, %ebx
	jne	LBB0_16
## %bb.15:
	movq	_BREAK_LOOP@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_16:
	movq	_IGNORED@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_17:
	movb	%bl, (%r12)
	movb	$0, 1(%r12)
	movq	%r12, %rdi
	callq	_strlen
	jmp	LBB0_28
LBB0_18:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_Panel_setSelected
	testb	$1, %bl
	jne	LBB0_29
LBB0_20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	%al, (%r12)
	movb	$0, 1(%r12)
	movq	%r12, %rdi
	callq	_strlen
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_28
## %bb.21:
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	movb	$1, %r14b
	.p2align	4, 0x90
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_Panel_get
	movq	(%rax), %rdi
	decq	%rdi
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$32, 1(%rdi)
	leaq	1(%rdi), %rdi
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	incl	%ebx
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	setl	%r14b
	jne	LBB0_22
	jmp	LBB0_28
LBB0_26:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_Panel_setSelected
	testb	$1, %r14b
	jne	LBB0_29
LBB0_28:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	%al, (%r12)
	movb	$0, 1(%r12)
LBB0_29:
	movq	_HANDLED@GOTPCREL(%rip), %rax
LBB0_30:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HANDLED,4,2                    ## @HANDLED
	.comm	_ERR,4,2                        ## @ERR
	.comm	_BREAK_LOOP,4,2                 ## @BREAK_LOOP
	.comm	_IGNORED,4,2                    ## @IGNORED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Panel_selectByTyping           ; -- Begin function Panel_selectByTyping
	.p2align	2
_Panel_selectByTyping:                  ; @Panel_selectByTyping
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_Panel_size
	mov	x22, x0
	ldr	x20, [x21]
	cbnz	x20, LBB0_2
; %bb.1:
	mov	w0, #100
	mov	w1, #1
	bl	_xCalloc
	mov	x20, x0
	str	x0, [x21]
LBB0_2:
	sub	w8, w19, #1
	cmp	w8, #253
	b.hi	LBB0_12
; %bb.3:
	mov	x0, x19
	bl	_isalnum
	cbz	x0, LBB0_12
; %bb.4:
	mov	x0, x20
	bl	_strlen
	cmp	w0, #98
	b.gt	LBB0_6
; %bb.5:
	add	x8, x20, w0, sxtw
	strb	w19, [x8]
	strb	wzr, [x8, #1]
LBB0_6:
	mov	x0, x20
	bl	_strlen
	cmp	w22, #1
	b.lt	LBB0_15
; %bb.7:
	mov	x23, x0
	mov	w24, #0
	mov	w25, #1
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x21
	mov	x1, x24
	bl	_Panel_get
	ldr	x8, [x0]
	sub	x0, x8, #1
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x0, #1]!
	cmp	w8, #32
	b.eq	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x20
	mov	x2, x23
	bl	_strncasecmp
	cbz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w24, #1
	cmp	w24, w22
	cset	w25, lt
	b.ne	LBB0_8
	b	LBB0_17
LBB0_12:
Lloh0:
	adrp	x8, _ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_14
; %bb.13:
	strb	wzr, [x20]
LBB0_14:
Lloh3:
	adrp	x8, _IGNORED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IGNORED@GOTPAGEOFF]
Lloh5:
	adrp	x9, _BREAK_LOOP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BREAK_LOOP@GOTPAGEOFF]
	cmp	w19, #13
	csel	x8, x9, x8, eq
	b	LBB0_26
LBB0_15:
	strb	w19, [x20]
	strb	wzr, [x20, #1]
	mov	x0, x20
	bl	_strlen
	b	LBB0_24
LBB0_16:
	mov	x0, x21
	mov	x1, x24
	bl	_Panel_setSelected
	tbnz	w25, #0, LBB0_25
LBB0_17:
	strb	w19, [x20]
	strb	wzr, [x20, #1]
	mov	x0, x20
	bl	_strlen
	cmp	w22, #1
	b.lt	LBB0_24
; %bb.18:
	mov	x23, x0
	mov	w24, #0
	mov	w25, #1
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	mov	x0, x21
	mov	x1, x24
	bl	_Panel_get
	ldr	x8, [x0]
	sub	x0, x8, #1
LBB0_20:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x0, #1]!
	cmp	w8, #32
	b.eq	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x1, x20
	mov	x2, x23
	bl	_strncasecmp
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	add	w24, w24, #1
	cmp	w24, w22
	cset	w25, lt
	b.ne	LBB0_19
	b	LBB0_24
LBB0_23:
	mov	x0, x21
	mov	x1, x24
	bl	_Panel_setSelected
	tbnz	w25, #0, LBB0_25
LBB0_24:
	strb	w19, [x20]
	strb	wzr, [x20, #1]
LBB0_25:
Lloh7:
	adrp	x8, _HANDLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HANDLED@GOTPAGEOFF]
LBB0_26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HANDLED,4,2                    ; @HANDLED
	.comm	_ERR,4,2                        ; @ERR
	.comm	_BREAK_LOOP,4,2                 ; @BREAK_LOOP
	.comm	_IGNORED,4,2                    ; @IGNORED
.subsections_via_symbols
