	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_thumbnail_get_type        ## -- Begin function menu_thumbnail_get_type
	.p2align	4, 0x90
_menu_thumbnail_get_type:               ## @menu_thumbnail_get_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	cmpl	$129, %r14d
	je	LBB0_6
## %bb.3:
	cmpl	$128, %r14d
	jne	LBB0_12
## %bb.4:
	movl	4(%rbx), %ecx
	movq	_PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
## %bb.5:
	movl	(%rax), %ecx
	jmp	LBB0_10
LBB0_6:
	movl	(%rbx), %ecx
	movq	_PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_9
## %bb.7:
	movl	4(%rax), %ecx
	jmp	LBB0_10
LBB0_9:
	decl	%ecx
LBB0_10:
	decl	%ecx
	cmpl	$3, %ecx
	jae	LBB0_12
## %bb.11:
	movslq	%ecx, %rax
	leaq	l_reltable.menu_thumbnail_get_type(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movq	_MENU_ENUM_LABEL_VALUE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_msg_hash_to_str                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_ENUM_LABEL_VALUE_OFF,4,2  ## @MENU_ENUM_LABEL_VALUE_OFF
	.comm	_PLAYLIST_THUMBNAIL_MODE_DEFAULT,4,2 ## @PLAYLIST_THUMBNAIL_MODE_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Named_Snaps"

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

L_.str.2:                               ## @.str.2
	.asciz	"Named_Boxarts"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.menu_thumbnail_get_type
l_reltable.menu_thumbnail_get_type:
	.long	L_.str-l_reltable.menu_thumbnail_get_type
	.long	L_.str.1-l_reltable.menu_thumbnail_get_type
	.long	L_.str.2-l_reltable.menu_thumbnail_get_type

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_thumbnail_get_type        ; -- Begin function menu_thumbnail_get_type
	.p2align	2
_menu_thumbnail_get_type:               ; @menu_thumbnail_get_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_config_get_ptr
	cbz	x19, LBB0_11
; %bb.1:
	cbz	x0, LBB0_11
; %bb.2:
	cmp	w20, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w20, #128
	b.ne	LBB0_11
; %bb.4:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.5:
	ldr	w8, [x0]
	b	LBB0_9
LBB0_6:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PLAYLIST_THUMBNAIL_MODE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x0, #4]
	b	LBB0_9
LBB0_8:
	sub	w8, w8, #1
LBB0_9:
	sub	w8, w8, #1
	cmp	w8, #3
	b.hs	LBB0_11
; %bb.10:
Lloh6:
	adrp	x9, l_switch.table.menu_thumbnail_get_type@PAGE
Lloh7:
	add	x9, x9, l_switch.table.menu_thumbnail_get_type@PAGEOFF
	ldr	x0, [x9, w8, sxtw #3]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh8:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_OFF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_OFF@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_msg_hash_to_str
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_ENUM_LABEL_VALUE_OFF,4,2  ; @MENU_ENUM_LABEL_VALUE_OFF
	.comm	_PLAYLIST_THUMBNAIL_MODE_DEFAULT,4,2 ; @PLAYLIST_THUMBNAIL_MODE_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Named_Snaps"

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

l_.str.2:                               ; @.str.2
	.asciz	"Named_Boxarts"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.menu_thumbnail_get_type
l_switch.table.menu_thumbnail_get_type:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

.subsections_via_symbols
