	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_entry_get                 ## -- Begin function menu_entry_get
	.p2align	4, 0x90
_menu_entry_get:                        ## @menu_entry_get
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_menu_entries_get_selection_buf_ptr_internal
	movq	%rax, %r13
	testq	%rbx, %rbx
	cmovneq	%rbx, %r13
	movl	(%r14), %eax
	movb	$0, -304(%rbp)
	testq	%r13, %r13
	je	LBB0_33
## %bb.1:
	movl	%eax, -312(%rbp)                ## 4-byte Spill
	movl	%r15d, -308(%rbp)               ## 4-byte Spill
	movq	(%r13), %rax
	movq	%r12, %rcx
	shlq	$5, %rcx
	movq	(%rax,%rcx), %rbx
	movq	8(%rax,%rcx), %r15
	movl	28(%rax,%rcx), %edx
	movl	%edx, 56(%r14)
	movl	24(%rax,%rcx), %edx
	movl	%edx, 112(%r14)
	movq	%r12, %rdx
	movq	16(%rax,%rcx), %r12
	movq	%rdx, -328(%rbp)                ## 8-byte Spill
	movl	%edx, 4(%r14)
	cmpq	$0, 104(%r14)
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_21
LBB0_3:
	testq	%r12, %r12
	je	LBB0_22
LBB0_4:
	movq	$0, -320(%rbp)
	movl	44(%r12), %eax
	movl	%eax, 100(%r14)
	movl	40(%r12), %eax
	movl	%eax, 96(%r14)
	leaq	-320(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_menu_entries_get_last_stack
	cmpq	$0, 88(%r14)
	movl	-308(%rbp), %r15d               ## 4-byte Reload
	je	LBB0_8
## %bb.5:
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	56(%r14), %esi
	movq	-320(%rbp), %rcx
	movq	16(%r14), %r9
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-328(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rbx, %r8
	pushq	$8
	callq	*%rax
	addq	$16, %rsp
	movq	16(%r14), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1, -312(%rbp)                  ## 4-byte Folded Spill
	movl	$255, %r10d
	jmp	LBB0_10
LBB0_8:
	movl	$255, %r10d
	cmpl	$0, -312(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_10
## %bb.9:
	xorl	%r10d, %r10d
	cmpq	$0, 72(%r14)
	movl	$0, -312(%rbp)                  ## 4-byte Folded Spill
	je	LBB0_15
LBB0_10:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.11:
	movq	%rbx, %r15
	movq	24(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	leaq	80(%r14), %rsi
	movl	56(%r14), %edx
	movq	-320(%rbp), %r8
	movq	24(%r14), %r9
	xorl	%eax, %eax
	cmpq	$0, 72(%r14)
	setne	%al
	shll	$3, %eax
	leaq	-304(%rbp), %r11
	movq	%r13, %rdi
	movq	-328(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	pushq	%r10
	pushq	%r11
	pushq	%r15
	pushq	%rax
	callq	*%rbx
	addq	$32, %rsp
	movq	24(%r14), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_36
LBB0_13:
	movq	%r15, %rbx
LBB0_14:
	movl	-308(%rbp), %r15d               ## 4-byte Reload
LBB0_15:
	cmpq	$0, 64(%r14)
	je	LBB0_23
## %bb.16:
	movq	(%r12), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_35
## %bb.17:
	cmpq	$0, 8(%r12)
	je	LBB0_23
## %bb.18:
	movq	%rsp, -344(%rbp)                ## 8-byte Spill
	movq	_MENU_SUBLABEL_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rbx, %r8
	movq	%rsp, %r15
	movb	$0, (%r15)
	movl	56(%r14), %esi
	movq	-320(%rbp), %rcx
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-328(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r15, %r9
	pushq	-336(%rbp)                      ## 8-byte Folded Reload
	callq	*8(%r12)
	addq	$16, %rsp
	testq	%rax, %rax
	jle	LBB0_20
## %bb.19:
	movq	(%r12), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_strlcpy
LBB0_20:
	movq	40(%r14), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_strlcpy
	movq	-344(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_22
LBB0_21:
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_strlcpy
	testq	%r12, %r12
	jne	LBB0_4
LBB0_22:
	movl	-308(%rbp), %r15d               ## 4-byte Reload
LBB0_23:
	cmpl	$0, -312(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_33
LBB0_24:
	movq	%rbx, %rdi
	callq	_string_is_empty
	testl	%r15d, %r15d
	jne	LBB0_27
## %bb.25:
	testq	%rax, %rax
	jne	LBB0_27
LBB0_26:
	leaq	-304(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$255, %edx
	callq	_strlcpy
	jmp	LBB0_31
LBB0_27:
	testq	%r12, %r12
	je	LBB0_31
## %bb.28:
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:
	movq	(%rax), %rdi
	movq	_MSG_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_31
## %bb.30:
	cmpl	$0, 8(%rax)
	je	LBB0_41
LBB0_31:
	leaq	-304(%rbp), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_33
## %bb.32:
	movq	48(%r14), %rdi
	leaq	-304(%rbp), %rsi
	movl	$8, %edx
	callq	_strlcpy
LBB0_33:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.34:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	40(%r14), %rdi
	movq	(%r12), %rsi
	movl	$8, %edx
	callq	_strlcpy
	cmpl	$0, -312(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_24
	jmp	LBB0_33
LBB0_36:
	movq	%r14, %rdi
	callq	_menu_entry_is_password
	testq	%rax, %rax
	movq	%r15, %rbx
	je	LBB0_14
## %bb.37:
	movq	24(%r14), %rsi
	movq	32(%r14), %rdi
	movl	$8, %edx
	callq	_strlcpy
	testq	%rax, %rax
	movl	-308(%rbp), %r15d               ## 4-byte Reload
	je	LBB0_15
## %bb.38:
	leaq	-1(%rax), %rdx
	movl	%eax, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_42
## %bb.39:
	xorl	%edx, %edx
	jmp	LBB0_44
LBB0_41:
	callq	_msg_hash_to_str
	movq	%rax, %rbx
	jmp	LBB0_26
LBB0_42:
	andq	$-4, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rsi
	movb	$42, (%rsi,%rdx)
	movq	32(%r14), %rsi
	movb	$42, 1(%rsi,%rdx)
	movq	32(%r14), %rsi
	movb	$42, 2(%rsi,%rdx)
	movq	32(%r14), %rsi
	movb	$42, 3(%rsi,%rdx)
	addq	$4, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_43
LBB0_44:
	testq	%rcx, %rcx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movb	$42, (%rax,%rdx)
	incq	%rdx
	decq	%rcx
	jne	LBB0_45
	jmp	LBB0_15
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_SUBLABEL_MAX_LENGTH,4,2   ## @MENU_SUBLABEL_MAX_LENGTH
	.comm	_MSG_UNKNOWN,8,3                ## @MSG_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_entry_get                 ; -- Begin function menu_entry_get
	.p2align	2
_menu_entry_get:                        ; @menu_entry_get
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #288
	mov	x19, sp
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	x0, x1
	bl	_menu_entries_get_selection_buf_ptr_internal
	cmp	x22, #0
	csel	x24, x0, x22, eq
	ldr	w27, [x20]
	strb	wzr, [x19, #17]
	cbz	x24, LBB0_31
; %bb.1:
	ldr	x8, [x24]
	add	x8, x8, x23, lsl #5
	ldp	x22, x25, [x8]
	ldr	w9, [x8, #28]
	str	w9, [x20, #56]
	ldr	w9, [x8, #24]
	str	w9, [x20, #112]
	ldr	x26, [x8, #16]
	str	w23, [x20, #4]
	ldr	x8, [x20, #104]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x25
	bl	_string_is_empty
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x20, #8]
	mov	x1, x25
	mov	w2, #8
	bl	_strlcpy
LBB0_4:
	cbz	x26, LBB0_21
; %bb.5:
	str	xzr, [x19, #8]
	ldr	d0, [x26, #40]
	str	d0, [x20, #96]
	add	x1, x19, #8
	mov	x0, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_menu_entries_get_last_stack
	ldr	x8, [x20, #88]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x8, [x26, #32]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	w1, [x20, #56]
	ldr	x3, [x19, #8]
	ldr	x5, [x20, #16]
	mov	x0, x24
	mov	x2, x23
	mov	x4, x22
	mov	w6, #8
	blr	x8
	ldr	x0, [x20, #16]
	bl	_string_is_empty
	cbz	x0, LBB0_9
; %bb.8:
	mov	w27, #1
	mov	w8, #255
	b	LBB0_12
LBB0_9:
	cbz	w27, LBB0_11
; %bb.10:
	mov	w8, #255
	b	LBB0_12
LBB0_11:
	mov	w8, #0
	ldr	x9, [x20, #72]
	cbz	x9, LBB0_15
LBB0_12:
	cbz	w21, LBB0_15
; %bb.13:
	ldr	x9, [x26, #24]
	cbz	x9, LBB0_15
; %bb.14:
	add	x1, x20, #80
	ldr	w2, [x20, #56]
	ldr	x4, [x19, #8]
	ldr	x5, [x20, #24]
	ldr	x10, [x20, #72]
	cmp	x10, #0
	cset	w10, ne
	lsl	w6, w10, #3
	sub	sp, sp, #16
	str	w8, [sp, #8]
	add	x8, x19, #17
	str	x8, [sp]
	mov	x0, x24
	mov	x3, x23
	mov	x7, x22
	blr	x9
	add	sp, sp, #16
	ldr	x0, [x20, #24]
	bl	_string_is_empty
	cbz	x0, LBB0_34
LBB0_15:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_21
; %bb.16:
	ldr	x0, [x26]
	bl	_string_is_empty
	cbz	x0, LBB0_33
; %bb.17:
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_21
; %bb.18:
	mov	x28, sp
Lloh3:
	adrp	x8, _MENU_SUBLABEL_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_SUBLABEL_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	mov	x9, x6
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x6, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	strb	wzr, [x25]
	ldr	x8, [x26, #8]
	ldr	w1, [x20, #56]
	ldr	x3, [x19, #8]
	mov	x0, x24
	mov	x2, x23
	mov	x4, x22
	mov	x5, x25
                                        ; kill: def $w6 killed $w6 killed $x6
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_20
; %bb.19:
	ldr	x0, [x26]
	mov	x1, x25
	mov	w2, #8
	bl	_strlcpy
LBB0_20:
	ldr	x0, [x20, #40]
	mov	x1, x25
	mov	w2, #8
	bl	_strlcpy
	mov	sp, x28
LBB0_21:
	cbz	w27, LBB0_31
LBB0_22:
	mov	x0, x22
	bl	_string_is_empty
	cbnz	w21, LBB0_25
; %bb.23:
	cbnz	x0, LBB0_25
LBB0_24:
	add	x0, x19, #17
	mov	x1, x22
	mov	w2, #255
	bl	_strlcpy
	b	LBB0_29
LBB0_25:
	cbz	x26, LBB0_29
; %bb.26:
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_29
; %bb.27:
	ldr	x0, [x8]
Lloh8:
	adrp	x9, _MSG_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MSG_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x0, x9
	b.eq	LBB0_29
; %bb.28:
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_38
LBB0_29:
	add	x0, x19, #17
	bl	_string_is_empty
	cbnz	x0, LBB0_31
; %bb.30:
	ldr	x0, [x20, #48]
	add	x1, x19, #17
	mov	w2, #8
	bl	_strlcpy
LBB0_31:
	ldur	x8, [x29, #-96]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.32:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_33:
	ldr	x0, [x20, #40]
	ldr	x1, [x26]
	mov	w2, #8
	bl	_strlcpy
	cbnz	w27, LBB0_22
	b	LBB0_31
LBB0_34:
	mov	x0, x20
	bl	_menu_entry_is_password
	cbz	x0, LBB0_15
; %bb.35:
	ldp	x1, x0, [x20, #24]
	mov	w2, #8
	bl	_strlcpy
	cbz	x0, LBB0_15
; %bb.36:
	mov	x8, #0
	mov	w9, #42
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #32]
	strb	w9, [x10, x8]
	add	x8, x8, #1
	cmp	x0, x8
	b.ne	LBB0_37
	b	LBB0_15
LBB0_38:
	bl	_msg_hash_to_str
	mov	x22, x0
	b	LBB0_24
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_SUBLABEL_MAX_LENGTH,4,2   ; @MENU_SUBLABEL_MAX_LENGTH
	.comm	_MSG_UNKNOWN,8,3                ; @MSG_UNKNOWN
.subsections_via_symbols
