	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xmb_list_switch_horizontal_list
_xmb_list_switch_horizontal_list:       ## @xmb_list_switch_horizontal_list
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_MENU_LIST_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_xmb_list_get_size
	movq	%rax, %r14
	addq	(%r12), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_XMB_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	addl	%ecx, %eax
	movq	_EASING_IN_SINE@GOTPCREL(%rip), %rcx
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, -96(%rbp)
	movl	(%rcx), %eax
	movl	%eax, -80(%rbp)
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-104(%rbp), %r15
	movq	%r15, %rdi
	callq	_menu_animation_push
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	extractps	$1, %xmm0, -104(%rbp)
	movq	%r13, -88(%rbp)
	movq	%r15, %rdi
	callq	_menu_animation_push
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpq	%rbx, %r14
	jb	LBB0_13
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r15
	movsd	8(%r12), %xmm0                  ## xmm0 = mem[0],zero
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_xmb_get_node
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r13
	cmpl	16(%r12), %ebx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movsd	20(%r12), %xmm0                 ## xmm0 = mem[0],zero
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	movss	%xmm0, -104(%rbp)
	leaq	4(%r13), %rax
	movq	%rax, -88(%rbp)
	movl	$-1, -100(%rbp)
	movq	$0, -72(%rbp)
	movl	(%r15), %eax
	cmpl	$2, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_XMB_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EASING_OUT_QUAD@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_XMB_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	movq	_EASING_OUT_BOUNCE@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_13:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_LIST_HORIZONTAL,4,2       ## @MENU_LIST_HORIZONTAL
	.comm	_XMB_DELAY,4,2                  ## @XMB_DELAY
	.comm	_EASING_OUT_QUAD,4,2            ## @EASING_OUT_QUAD
	.comm	_EASING_IN_SINE,4,2             ## @EASING_IN_SINE
	.comm	_EASING_OUT_BOUNCE,4,2          ## @EASING_OUT_BOUNCE
	.no_dead_strip	_xmb_list_switch_horizontal_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xmb_list_switch_horizontal_list
_xmb_list_switch_horizontal_list:       ; @xmb_list_switch_horizontal_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x0
Lloh0:
	adrp	x8, _MENU_LIST_HORIZONTAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MENU_LIST_HORIZONTAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_xmb_list_get_size
	mov	w20, #0
	ldr	x8, [x19]
	add	x23, x8, x0
	mov	w24, #-1
Lloh3:
	adrp	x25, _XMB_DELAY@GOTPAGE
Lloh4:
	ldr	x25, [x25, _XMB_DELAY@GOTPAGEOFF]
Lloh5:
	adrp	x26, _EASING_OUT_BOUNCE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _EASING_OUT_BOUNCE@GOTPAGEOFF]
Lloh7:
	adrp	x27, _EASING_IN_SINE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _EASING_IN_SINE@GOTPAGEOFF]
Lloh9:
	adrp	x28, _EASING_OUT_QUAD@GOTPAGE
Lloh10:
	ldr	x28, [x28, _EASING_OUT_QUAD@GOTPAGEOFF]
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	cmp	w8, #0
	cinc	w9, w8, lt
	add	w8, w8, w9, asr #1
	mov	x9, x27
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x9]
	str	w8, [sp, #16]
	str	w9, [sp, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_menu_animation_push
	str	s8, [sp, #8]
	str	x21, [sp, #24]
	add	x0, sp, #8
	bl	_menu_animation_push
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	cmp	x23, x20
	b.lo	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_config_get_ptr
	mov	x22, x0
	ldp	s9, s8, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_xmb_get_node
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	ldr	w8, [x19, #16]
	cmp	w20, w8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	s9, s8, [x19, #20]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	s9, [sp, #8]
	add	x8, x21, #4
	str	w24, [sp, #12]
	str	x8, [sp, #24]
	str	xzr, [sp, #40]
	ldr	w8, [x22]
	cmp	w8, #2
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #1
	b.eq	LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w8, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	mov	x9, x28
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	lsl	w8, w8, #1
	mov	x9, x26
	b	LBB0_2
LBB0_13:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_LIST_HORIZONTAL,4,2       ; @MENU_LIST_HORIZONTAL
	.comm	_XMB_DELAY,4,2                  ; @XMB_DELAY
	.comm	_EASING_OUT_QUAD,4,2            ; @EASING_OUT_QUAD
	.comm	_EASING_IN_SINE,4,2             ; @EASING_IN_SINE
	.comm	_EASING_OUT_BOUNCE,4,2          ; @EASING_OUT_BOUNCE
	.no_dead_strip	_xmb_list_switch_horizontal_list
.subsections_via_symbols
