	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setting_get_string_representation_uint_analog_dpad_mode
_setting_get_string_representation_uint_analog_dpad_mode: ## @setting_get_string_representation_uint_analog_dpad_mode
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MENU_ENUM_LABEL_VALUE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, -64(%rbp)
	movq	_MENU_ENUM_LABEL_VALUE_LEFT_ANALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, -56(%rbp)
	movq	_MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, -48(%rbp)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_ANALOG_DPAD_LAST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	-64(%rbp,%rdx,8), %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	movq	%r14, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strlcpy                        ## TAILCALL
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_ENUM_LABEL_VALUE_NONE,4,2 ## @MENU_ENUM_LABEL_VALUE_NONE
	.comm	_MENU_ENUM_LABEL_VALUE_LEFT_ANALOG,4,2 ## @MENU_ENUM_LABEL_VALUE_LEFT_ANALOG
	.comm	_MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG,4,2 ## @MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG
	.comm	_ANALOG_DPAD_LAST,8,3           ## @ANALOG_DPAD_LAST
	.no_dead_strip	_setting_get_string_representation_uint_analog_dpad_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setting_get_string_representation_uint_analog_dpad_mode
_setting_get_string_representation_uint_analog_dpad_mode: ; @setting_get_string_representation_uint_analog_dpad_mode
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	str	x0, [sp]
Lloh6:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_LEFT_ANALOG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_LEFT_ANALOG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	str	x0, [sp, #8]
Lloh9:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	str	x0, [sp, #16]
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _ANALOG_DPAD_LAST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ANALOG_DPAD_LAST@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	mov	x9, sp
	ldr	x1, [x9, x8, lsl #3]
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x2, x19
	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
	b	_strlcpy
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_ENUM_LABEL_VALUE_NONE,4,2 ; @MENU_ENUM_LABEL_VALUE_NONE
	.comm	_MENU_ENUM_LABEL_VALUE_LEFT_ANALOG,4,2 ; @MENU_ENUM_LABEL_VALUE_LEFT_ANALOG
	.comm	_MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG,4,2 ; @MENU_ENUM_LABEL_VALUE_RIGHT_ANALOG
	.comm	_ANALOG_DPAD_LAST,8,3           ; @ANALOG_DPAD_LAST
	.no_dead_strip	_setting_get_string_representation_uint_analog_dpad_mode
.subsections_via_symbols
