	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_action_setting_disp_set_label_core_option_create
_menu_action_setting_disp_set_label_core_option_create: ## @menu_action_setting_disp_set_label_core_option_create
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	40(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rbp), %r15
	movq	24(%rbp), %r12
	movq	16(%rbp), %r13
	movb	$0, (%r9)
	movl	$19, (%rsi)
	leaq	L_.str(%rip), %rsi
	movq	%r9, %rdi
	movq	%r13, %rdx
	callq	_strlcpy
	movq	_RARCH_PATH_BASENAME@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_path_get
	movl	%eax, %edi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_path_get
	movl	%eax, %edi
	callq	_path_basename
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_strlcpy
LBB0_2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strlcpy                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_RARCH_PATH_BASENAME,4,2        ## @RARCH_PATH_BASENAME
	.no_dead_strip	_menu_action_setting_disp_set_label_core_option_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_action_setting_disp_set_label_core_option_create
_menu_action_setting_disp_set_label_core_option_create: ; @menu_action_setting_disp_set_label_core_option_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x7
	mov	x21, x6
	mov	x23, x5
	ldp	x22, x20, [x29, #16]
	strb	wzr, [x5]
	mov	w8, #19
	str	w8, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x5
	mov	x2, x6
	bl	_strlcpy
Lloh2:
	adrp	x24, _RARCH_PATH_BASENAME@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RARCH_PATH_BASENAME@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_path_get
	bl	_string_is_empty
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x24]
	bl	_path_get
	bl	_path_basename
	mov	x1, x0
	mov	x0, x23
	mov	x2, x21
	bl	_strlcpy
LBB0_2:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_strlcpy
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_RARCH_PATH_BASENAME,4,2        ; @RARCH_PATH_BASENAME
	.no_dead_strip	_menu_action_setting_disp_set_label_core_option_create
.subsections_via_symbols
