	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_get_title_generic
_action_get_title_generic:              ## @action_get_title_generic
	.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	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	%rdx, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	movq	_MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_strlcpy
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_string_split
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movb	$0, -304(%rbp)
	cmpq	$0, (%rax)
	jle	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	leaq	-304(%rbp), %rdi
	movl	$255, %edx
	callq	_strlcpy
LBB0_4:
	movq	%rbx, %rdi
	callq	_string_list_free
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_strlcpy
	leaq	-304(%rbp), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_strlcat
	leaq	-304(%rbp), %rdi
	callq	_path_basename
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_strlcat
	jmp	LBB0_7
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|"

L_.str.1:                               ## @.str.1
	.asciz	"- "

	.comm	_MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE,4,2 ## @MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE
	.no_dead_strip	_action_get_title_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_get_title_generic
_action_get_title_generic:              ; @action_get_title_generic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	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, #-56]
	mov	x0, x2
	bl	_string_is_empty
	cbz	w0, LBB0_4
LBB0_1:
Lloh3:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_4:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_string_split
	cbz	x0, LBB0_1
; %bb.5:
	mov	x22, x0
	strb	wzr, [sp, #9]
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	x8, [x22, #8]
	ldr	x1, [x8]
	add	x0, sp, #9
	mov	w2, #255
	bl	_strlcpy
LBB0_7:
	mov	x0, x22
	bl	_string_list_free
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_strlcpy
	add	x0, sp, #9
	bl	_string_is_empty
	cbnz	w0, LBB0_2
; %bb.8:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_strlcat
	add	x0, sp, #9
	bl	_path_basename
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_strlcat
	b	LBB0_2
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|"

l_.str.1:                               ; @.str.1
	.asciz	"- "

	.comm	_MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE,4,2 ; @MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE
	.no_dead_strip	_action_get_title_generic
.subsections_via_symbols
