	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_action_handle_setting     ## -- Begin function menu_action_handle_setting
	.p2align	4, 0x90
_menu_action_handle_setting:            ## @menu_action_handle_setting
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r15d
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r13
	callq	_setting_get_type
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_28
## %bb.2:
	addl	$-140, %ebx
	cmpl	$4, %eax
	je	LBB0_3
## %bb.10:
	cmpl	$7, %ebx
	ja	LBB0_28
## %bb.11:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_12:
	movq	8(%r13), %rcx
	testq	%rcx, %rcx
	jne	LBB0_24
	jmp	LBB0_28
LBB0_3:
	cmpl	$7, %ebx
	ja	LBB0_28
## %bb.4:
	leaq	LJTI0_1(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_22:
	movq	64(%r13), %rcx
	testq	%rcx, %rcx
	jne	LBB0_24
	jmp	LBB0_28
LBB0_18:
	movq	40(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.19:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	*%rcx
	jmp	LBB0_25
LBB0_17:
	movq	32(%r13), %rcx
	testq	%rcx, %rcx
	jne	LBB0_16
	jmp	LBB0_28
LBB0_14:
	movq	24(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
LBB0_16:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	*%rcx
	movl	%eax, %r12d
	movq	_RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_menu_driver_ctl
	movq	_RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_IMAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_menu_driver_ctl
	testl	%r12d, %r12d
	jne	LBB0_28
	jmp	LBB0_27
LBB0_13:
	movq	16(%r13), %rcx
	testq	%rcx, %rcx
	jne	LBB0_24
	jmp	LBB0_28
LBB0_21:
	movq	56(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
LBB0_24:
	movq	%r13, %rdi
	callq	*%rcx
LBB0_25:
	movl	%eax, %r12d
	testl	%r12d, %r12d
	jne	LBB0_28
LBB0_27:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_menu_setting_generic
	movl	%eax, %r15d
LBB0_28:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%edi, %edi
	callq	_menu_entries_get_menu_stack_ptr
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rbx
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %rdi
	callq	_menu_displaylist_info_init
	movq	72(%r13), %rdi
	callq	_strdup
	movq	%rax, -64(%rbp)
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, -72(%rbp)
	movl	%r12d, -96(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -88(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movq	_DISPLAYLIST_GENERIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-96(%rbp), %rsi
	callq	_menu_displaylist_ctl
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	-96(%rbp), %rdi
	callq	_menu_displaylist_process
LBB0_7:
	leaq	-96(%rbp), %rdi
	callq	_menu_displaylist_info_free
LBB0_8:
	movq	48(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.9:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	*%rcx
	jmp	LBB0_25
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_22
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_21
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_5, LBB0_5-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
LJTI0_1:
	.long	L0_1_set_12
	.long	L0_1_set_22
	.long	L0_1_set_18
	.long	L0_1_set_17
	.long	L0_1_set_5
	.long	L0_1_set_14
	.long	L0_1_set_13
	.long	L0_1_set_21
	.end_data_region
                                        ## -- End function
	.comm	_DISPLAYLIST_GENERIC,4,2        ## @DISPLAYLIST_GENERIC
	.comm	_RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_PATH,4,2 ## @RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_PATH
	.comm	_RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_IMAGE,4,2 ## @RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_IMAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_action_handle_setting     ; -- Begin function menu_action_handle_setting
	.p2align	2
_menu_action_handle_setting:            ; @menu_action_handle_setting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x0, LBB0_23
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_setting_get_type
	sub	w8, w0, #128
	cmp	w8, #11
	b.hi	LBB0_23
; %bb.2:
	cmp	w8, #4
	b.eq	LBB0_6
; %bb.3:
	sub	w8, w22, #140
	cmp	w8, #7
	b.hi	LBB0_23
; %bb.4:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_16
	b	LBB0_23
LBB0_6:
	sub	w8, w22, #140
	cmp	w8, #7
	b.hi	LBB0_23
; %bb.7:
Lloh2:
	adrp	x9, lJTI0_1@PAGE
Lloh3:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_16
	b	LBB0_23
LBB0_9:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_23
; %bb.10:
	mov	x0, x20
	mov	w1, #1
	blr	x8
	mov	x21, x0
	cbnz	w21, LBB0_23
	b	LBB0_17
LBB0_11:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_13
	b	LBB0_23
LBB0_12:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_23
LBB0_13:
	mov	x0, x20
	mov	w1, #0
	blr	x8
	mov	x21, x0
Lloh4:
	adrp	x8, _RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_PATH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_PATH@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_menu_driver_ctl
Lloh7:
	adrp	x8, _RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_IMAGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_IMAGE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_menu_driver_ctl
	cbnz	w21, LBB0_23
	b	LBB0_17
LBB0_14:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_16
	b	LBB0_23
LBB0_15:
	ldr	x8, [x20, #56]
	cbz	x8, LBB0_23
LBB0_16:
	mov	x0, x20
	blr	x8
	mov	x21, x0
	cbnz	w21, LBB0_23
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	_menu_setting_generic
	b	LBB0_24
LBB0_18:
	mov	w0, #0
	bl	_menu_entries_get_menu_stack_ptr
	mov	x22, x0
	ldr	x23, [x20]
	bl	_menu_navigation_get_selection
	mov	x24, x0
	add	x0, sp, #8
	bl	_menu_displaylist_info_init
	ldr	x0, [x20, #72]
	bl	_strdup
	str	x0, [sp, #40]
	mov	x0, x23
	bl	_strdup
	stp	x22, x0, [sp, #24]
	str	w21, [sp, #8]
	str	x24, [sp, #16]
Lloh10:
	adrp	x8, _DISPLAYLIST_GENERIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DISPLAYLIST_GENERIC@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_menu_displaylist_ctl
	cbz	w0, LBB0_20
; %bb.19:
	add	x0, sp, #8
	bl	_menu_displaylist_process
LBB0_20:
	add	x0, sp, #8
	bl	_menu_displaylist_info_free
LBB0_21:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_23
; %bb.22:
	mov	x0, x20
	mov	w1, #0
	blr	x8
	mov	x21, x0
	cbz	w21, LBB0_17
LBB0_23:
	mov	w0, #-1
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_21-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
lJTI0_1:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
                                        ; -- End function
	.comm	_DISPLAYLIST_GENERIC,4,2        ; @DISPLAYLIST_GENERIC
	.comm	_RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_PATH,4,2 ; @RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_PATH
	.comm	_RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_IMAGE,4,2 ; @RARCH_MENU_CTL_UPDATE_SAVESTATE_THUMBNAIL_IMAGE
.subsections_via_symbols
