	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_entries_get_title         ## -- Begin function menu_entries_get_title
	.p2align	4, 0x90
_menu_entries_get_title:                ## @menu_entries_get_title
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$0, -36(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	_menu_entries_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r15
	xorl	%esi, %esi
	callq	_menu_list_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	8(%rax), %rcx
	movslq	(%rax), %rax
	movq	-8(%rcx,%rax,8), %r12
	testq	%r12, %r12
	je	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.4:
	movq	8(%r12), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_menu_entries_get_last_stack
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	-36(%rbp), %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	*(%r12)
	movl	%eax, %ebx
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.7:
	movq	8(%r12), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_strlcpy
	movl	$1, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	8(%r12), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_strlcpy
LBB0_8:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_menu_entries_list,8,3          ## @menu_entries_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_entries_get_title         ; -- Begin function menu_entries_get_title
	.p2align	2
_menu_entries_get_title:                ; @menu_entries_get_title
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	str	wzr, [sp, #28]
	stp	xzr, xzr, [sp, #8]
Lloh0:
	adrp	x8, _menu_entries_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _menu_entries_list@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	mov	w1, #0
	bl	_menu_list_get
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x8, [x0, #8]
	ldrsw	x9, [x0]
	add	x8, x8, x9, lsl #3
	ldur	x21, [x8, #-8]
	cbz	x21, LBB0_7
; %bb.3:
	ldr	x8, [x21]
	cbz	x8, LBB0_10
; %bb.4:
	ldr	x0, [x21, #8]
	bl	_string_is_empty
	cbz	w0, LBB0_9
; %bb.5:
	add	x0, sp, #16
	add	x1, sp, #8
	add	x2, sp, #28
	mov	x3, #0
	mov	x4, #0
	bl	_menu_entries_get_last_stack
	ldr	x8, [x21]
	ldp	x1, x0, [sp, #8]
	ldr	w2, [sp, #28]
	mov	x3, x19
	mov	x4, x20
	blr	x8
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.6:
	ldr	x0, [x21, #8]
	mov	x1, x19
	mov	w2, #8
	bl	_strlcpy
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	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
	add	sp, sp, #80
	ret
LBB0_9:
	ldr	x1, [x21, #8]
	mov	x0, x19
	mov	x2, x20
	bl	_strlcpy
LBB0_10:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_menu_entries_list,8,3          ; @menu_entries_list
.subsections_via_symbols
