	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_entries_elem_get_first_char
_menu_entries_elem_get_first_char:      ## @menu_entries_elem_get_first_char
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %rcx
	movl	%esi, %edx
	shlq	$4, %rdx
	movq	(%rcx,%rdx), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	8(%rcx,%rdx), %rax
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movsbl	(%rax), %edi
	callq	_tolower
	movl	%eax, %ecx
	cmpl	$123, %eax
	movl	$123, %eax
	cmovll	%ecx, %eax
	cmpl	$96, %ecx
	jg	LBB0_5
LBB0_4:
	movl	$96, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_menu_entries_elem_get_first_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_entries_elem_get_first_char
_menu_entries_elem_get_first_char:      ; @menu_entries_elem_get_first_char
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x9, [x0]
	mov	w10, w1
	lsl	x8, x10, #4
	ldr	x8, [x9, x8]
	cbnz	x8, LBB0_3
; %bb.2:
	add	x8, x9, x10, lsl #4
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
LBB0_3:
	ldrsb	w0, [x8]
	bl	_tolower
	mov	x8, x0
	mov	w9, #123
	cmp	w0, #123
	csel	w0, w0, w9, lt
	cmp	w8, #96
	b.gt	LBB0_5
LBB0_4:
	mov	w0, #96
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_menu_entries_elem_get_first_char
.subsections_via_symbols
