	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xmb_list_open
_xmb_list_open:                         ## @xmb_list_open
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r14
	xorl	%edi, %edi
	callq	_menu_entries_get_selection_buf_ptr
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movq	%rax, %r12
	movq	_MENU_LIST_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_xmb_list_get_size
	movl	%eax, (%rbx)
	movl	$1, %r13d
	cmpl	%eax, 4(%rbx)
	jl	LBB0_2
## %bb.1:
	movl	$-1, %r13d
	jle	LBB0_12
LBB0_2:
	movq	%rbx, %rdi
	callq	_xmb_list_open_horizontal_list
	movl	20(%rbx), %ecx
	movl	24(%rbx), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_xmb_list_open_old
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_xmb_list_open_new
	movl	(%rbx), %eax
	movl	$2, %edx
	subl	%eax, %edx
	subl	%eax, %edx
	imull	8(%rbx), %edx
	movl	%edx, -80(%rbp)
	leaq	16(%rbx), %rcx
	movq	%rcx, -64(%rbp)
	movl	$-1, -76(%rbp)
	movq	$0, -48(%rbp)
	movl	(%r14), %ecx
	cmpq	$3, %rcx
	ja	LBB0_9
## %bb.3:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	_EASING_OUT_QUAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movq	_XMB_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_8
LBB0_5:
	movq	_EASING_OUT_CIRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movq	_XMB_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	movq	_EASING_OUT_EXPO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movq	_XMB_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rcx,%rcx,2), %ecx
	jmp	LBB0_8
LBB0_7:
	movq	_EASING_OUT_BOUNCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movq	_XMB_DELAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$2, %ecx
LBB0_8:
	movl	%ecx, -72(%rbp)
LBB0_9:
	leal	-1(%rax), %ecx
	cmpl	$1, %ecx
	ja	LBB0_11
## %bb.10:
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_menu_animation_push
	movl	(%rbx), %eax
	decl	%eax
	movl	%eax, -80(%rbp)
	leaq	12(%rbx), %rax
	movq	%rax, -64(%rbp)
	movq	%r14, %rdi
	callq	_menu_animation_push
	movl	(%rbx), %eax
LBB0_11:
	movl	%eax, 4(%rbx)
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_MENU_LIST_PLAIN,4,2            ## @MENU_LIST_PLAIN
	.comm	_EASING_OUT_QUAD,4,2            ## @EASING_OUT_QUAD
	.comm	_XMB_DELAY,4,2                  ## @XMB_DELAY
	.comm	_EASING_OUT_CIRC,4,2            ## @EASING_OUT_CIRC
	.comm	_EASING_OUT_EXPO,4,2            ## @EASING_OUT_EXPO
	.comm	_EASING_OUT_BOUNCE,4,2          ## @EASING_OUT_BOUNCE
	.no_dead_strip	_xmb_list_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xmb_list_open
_xmb_list_open:                         ; @xmb_list_open
	.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
	mov	x19, x0
	bl	_config_get_ptr
	mov	x20, x0
	mov	w0, #0
	bl	_menu_entries_get_selection_buf_ptr
	mov	x21, x0
	bl	_menu_navigation_get_selection
	mov	x22, x0
Lloh0:
	adrp	x8, _MENU_LIST_PLAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MENU_LIST_PLAIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_xmb_list_get_size
	str	w0, [x19]
	ldr	w8, [x19, #4]
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
	mov	w23, #1
	b	LBB0_4
LBB0_2:
	b.le	LBB0_14
; %bb.3:
	mov	w23, #-1
LBB0_4:
	mov	x0, x19
	bl	_xmb_list_open_horizontal_list
	ldp	w3, w1, [x19, #20]
	mov	x0, x19
	mov	x2, x23
	bl	_xmb_list_open_old
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_xmb_list_open_new
	ldr	w9, [x19, #8]
	ldr	w8, [x19]
	mov	w10, #2
	sub	w10, w10, w8, lsl #1
	mul	w9, w10, w9
	add	x10, x19, #16
	mov	w11, #-1
	stp	w9, w11, [sp, #8]
	str	x10, [sp, #24]
	str	xzr, [sp, #40]
	ldr	w9, [x20]
	cmp	w9, #3
	b.hi	LBB0_11
; %bb.5:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh5:
	adrp	x9, _EASING_OUT_QUAD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EASING_OUT_QUAD@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [sp, #32]
Lloh8:
	adrp	x9, _XMB_DELAY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XMB_DELAY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	b	LBB0_10
LBB0_7:
Lloh11:
	adrp	x9, _EASING_OUT_CIRC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EASING_OUT_CIRC@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w9, [sp, #32]
Lloh14:
	adrp	x9, _XMB_DELAY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _XMB_DELAY@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w9, w9, #1
	b	LBB0_10
LBB0_8:
Lloh17:
	adrp	x9, _EASING_OUT_EXPO@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EASING_OUT_EXPO@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	str	w9, [sp, #32]
Lloh20:
	adrp	x9, _XMB_DELAY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _XMB_DELAY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	add	w9, w9, w9, lsl #1
	b	LBB0_10
LBB0_9:
Lloh23:
	adrp	x9, _EASING_OUT_BOUNCE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _EASING_OUT_BOUNCE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	str	w9, [sp, #32]
Lloh26:
	adrp	x9, _XMB_DELAY@GOTPAGE
Lloh27:
	ldr	x9, [x9, _XMB_DELAY@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	lsl	w9, w9, #2
LBB0_10:
	str	w9, [sp, #16]
LBB0_11:
	sub	w9, w8, #1
	cmp	w9, #1
	b.hi	LBB0_13
; %bb.12:
	add	x0, sp, #8
	bl	_menu_animation_push
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [sp, #8]
	add	x8, x19, #12
	str	x8, [sp, #24]
	add	x0, sp, #8
	bl	_menu_animation_push
	ldr	w8, [x19]
LBB0_13:
	str	w8, [x19, #4]
LBB0_14:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
                                        ; -- End function
	.comm	_MENU_LIST_PLAIN,4,2            ; @MENU_LIST_PLAIN
	.comm	_EASING_OUT_QUAD,4,2            ; @EASING_OUT_QUAD
	.comm	_XMB_DELAY,4,2                  ; @XMB_DELAY
	.comm	_EASING_OUT_CIRC,4,2            ; @EASING_OUT_CIRC
	.comm	_EASING_OUT_EXPO,4,2            ; @EASING_OUT_EXPO
	.comm	_EASING_OUT_BOUNCE,4,2          ; @EASING_OUT_BOUNCE
	.no_dead_strip	_xmb_list_open
.subsections_via_symbols
