	.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_input_desc
_menu_action_setting_disp_set_label_input_desc: ## @menu_action_setting_disp_set_label_input_desc
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_runloop_get_system_info
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_config_get_ptr
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %rcx
	movq	_MENU_SETTINGS_INPUT_DESC_BEGIN@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	_RARCH_FIRST_CUSTOM_BIND@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	addl	$8, %esi
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	testq	%r15, %r15
	je	LBB0_20
## %bb.2:
	movq	%r13, -312(%rbp)                ## 8-byte Spill
	movq	%r12, -320(%rbp)                ## 8-byte Spill
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movl	(%rcx,%rdx,4), %r13d
	movq	_RARCH_UNMAPPED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r13d
	jne	LBB0_4
## %bb.3:
	xorl	%r12d, %r12d
	jmp	LBB0_5
LBB0_4:
	movq	(%r15), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax,%r13,8), %r12
LBB0_5:
	movq	40(%rbp), %r15
	movq	24(%rbp), %rbx
	movq	%r12, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	cmpl	(%r14), %r13d
	jae	LBB0_8
## %bb.7:
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movq	16(%rbp), %rdx
	callq	_strlcpy
	jmp	LBB0_19
LBB0_8:
	movq	%r12, %rdi
	callq	_string_is_empty
	movl	%r13d, %r15d
	andl	$1, %r15d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:
	cmpl	(%r14), %r13d
	jb	LBB0_13
## %bb.10:
	testl	%r15d, %r15d
	jne	LBB0_13
## %bb.11:
	leaq	L_.str(%rip), %rdx
	leaq	-304(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r12, %rcx
	movl	$43, %r8d
	jmp	LBB0_12
LBB0_13:
	movq	%r12, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	cmpl	(%r14), %r13d
	jb	LBB0_17
## %bb.15:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.16:
	leaq	L_.str(%rip), %rdx
	leaq	-304(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r12, %rcx
	movl	$45, %r8d
LBB0_12:
	callq	_snprintf
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.1(%rip), %rsi
	movq	-312(%rbp), %rdi                ## 8-byte Reload
LBB0_18:
	movq	16(%rbp), %rdx
	callq	_strlcpy
	movq	40(%rbp), %r15
	movq	24(%rbp), %rbx
LBB0_19:
	movq	-320(%rbp), %rax                ## 8-byte Reload
	movl	$19, (%rax)
	movq	32(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_strlcpy
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_SETTINGS_INPUT_DESC_BEGIN,4,2 ## @MENU_SETTINGS_INPUT_DESC_BEGIN
	.comm	_RARCH_FIRST_CUSTOM_BIND,4,2    ## @RARCH_FIRST_CUSTOM_BIND
	.comm	_RARCH_UNMAPPED,4,2             ## @RARCH_UNMAPPED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %c"

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

	.no_dead_strip	_menu_action_setting_disp_set_label_input_desc
.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_input_desc
_menu_action_setting_disp_set_label_input_desc: ; @menu_action_setting_disp_set_label_input_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	mov	x19, x7
	mov	x21, x6
	mov	x24, x5
	mov	x26, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_runloop_get_system_info
	mov	x25, x0
	bl	_config_get_ptr
	cbz	x0, LBB0_18
; %bb.1:
	cbz	x25, LBB0_18
; %bb.2:
Lloh3:
	adrp	x8, _MENU_SETTINGS_INPUT_DESC_BEGIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_SETTINGS_INPUT_DESC_BEGIN@GOTPAGEOFF]
	ldp	x23, x22, [x29, #16]
Lloh5:
	ldr	w8, [x8]
	sub	w9, w26, w8
Lloh6:
	adrp	x26, _RARCH_FIRST_CUSTOM_BIND@GOTPAGE
Lloh7:
	ldr	x26, [x26, _RARCH_FIRST_CUSTOM_BIND@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w10, w8, #8
	udiv	w8, w9, w10
	msub	w9, w10, w8, w9
	ldr	x10, [x0]
	ldr	x10, [x10, w8, uxtw #3]
	ldr	w27, [x10, w9, uxtw #2]
Lloh8:
	adrp	x9, _RARCH_UNMAPPED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RARCH_UNMAPPED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w27, w9
	b.ne	LBB0_4
; %bb.3:
	mov	x25, #0
	b	LBB0_5
LBB0_4:
	ldr	x9, [x25]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x25, [x8, x27, lsl #3]
LBB0_5:
	mov	x0, x25
	bl	_string_is_empty
	cbnz	w0, LBB0_8
; %bb.6:
	ldr	w8, [x26]
	cmp	w27, w8
	b.hs	LBB0_8
; %bb.7:
	mov	x0, x24
	mov	x1, x25
	b	LBB0_17
LBB0_8:
	mov	x0, x25
	bl	_string_is_empty
	and	w28, w27, #0x1
	cbnz	w0, LBB0_11
; %bb.9:
	ldr	w8, [x26]
	cmp	w27, w8
	ccmp	w28, #0, #0, hs
	b.ne	LBB0_11
; %bb.10:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, sp
	mov	w1, #256
	mov	x3, x25
	mov	w4, #43
	b	LBB0_14
LBB0_11:
	mov	x0, x25
	bl	_string_is_empty
	cbnz	w0, LBB0_15
; %bb.12:
	ldr	w8, [x26]
	cmp	w27, w8
	ccmp	w28, #0, #4, hs
	b.eq	LBB0_15
; %bb.13:
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, sp
	mov	w1, #256
	mov	x3, x25
	mov	w4, #45
LBB0_14:
	bl	_snprintf
	mov	x1, sp
	b	LBB0_16
LBB0_15:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_16:
	mov	x0, x24
LBB0_17:
	mov	x2, x21
	bl	_strlcpy
	mov	w8, #19
	str	w8, [x20]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	bl	_strlcpy
LBB0_18:
	ldur	x8, [x29, #-96]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_SETTINGS_INPUT_DESC_BEGIN,4,2 ; @MENU_SETTINGS_INPUT_DESC_BEGIN
	.comm	_RARCH_FIRST_CUSTOM_BIND,4,2    ; @RARCH_FIRST_CUSTOM_BIND
	.comm	_RARCH_UNMAPPED,4,2             ; @RARCH_UNMAPPED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %c"

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

	.no_dead_strip	_menu_action_setting_disp_set_label_input_desc
.subsections_via_symbols
