	.file	"extr_xmb.c_xmb_list_switch_horizontal_list.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xmb_list_switch_horizontal_list, @function
xmb_list_switch_horizontal_list:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	esi, DWORD PTR MENU_LIST_HORIZONTAL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	r14, 16[rsp]
	call	xmb_list_get_size@PLT
	add	rax, QWORD PTR 0[rbp]
	mov	r15, rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L15:
	test	eax, eax
	je	.L13
.L7:
	mov	rdi, r14
	call	menu_animation_push@PLT
	movss	xmm2, DWORD PTR 8[rsp]
	mov	rdi, r14
	mov	QWORD PTR 32[rsp], rbx
	movss	DWORD PTR 16[rsp], xmm2
	call	menu_animation_push@PLT
.L3:
	lea	eax, 1[r12]
	mov	r12, rax
	cmp	rax, r15
	ja	.L14
.L8:
	xor	eax, eax
	call	config_get_ptr@PLT
	movss	xmm0, DWORD PTR 8[rbp]
	mov	esi, r12d
	mov	rdi, rbp
	movss	xmm1, DWORD PTR 12[rbp]
	mov	r13, rax
	movss	DWORD PTR 12[rsp], xmm0
	movss	DWORD PTR 8[rsp], xmm1
	call	xmb_get_node@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	cmp	DWORD PTR 16[rbp], r12d
	movss	xmm0, DWORD PTR 12[rsp]
	jne	.L4
	movss	xmm3, DWORD PTR 24[rbp]
	movss	xmm0, DWORD PTR 20[rbp]
	movss	DWORD PTR 8[rsp], xmm3
.L4:
	lea	rax, 4[rbx]
	mov	DWORD PTR 20[rsp], -1
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 0[r13]
	mov	QWORD PTR 48[rsp], 0
	movss	DWORD PTR 16[rsp], xmm0
	cmp	eax, 1
	je	.L5
	cmp	eax, 2
	jne	.L15
	mov	eax, DWORD PTR XMB_DELAY[rip]
	add	eax, eax
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR EASING_OUT_BOUNCE[rip]
	mov	DWORD PTR 40[rsp], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR XMB_DELAY[rip]
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR EASING_OUT_QUAD[rip]
	mov	DWORD PTR 40[rsp], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR XMB_DELAY[rip]
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	add	eax, edx
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR EASING_IN_SINE[rip]
	mov	DWORD PTR 40[rsp], eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xmb_list_switch_horizontal_list, .-xmb_list_switch_horizontal_list
	.comm	XMB_DELAY,4,4
	.comm	MENU_LIST_HORIZONTAL,4,4
	.comm	EASING_OUT_QUAD,4,4
	.comm	EASING_OUT_BOUNCE,4,4
	.comm	EASING_IN_SINE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_xmb.c_xmb_list_switch_horizontal_list.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xmb_list_switch_horizontal_list, %function
xmb_list_switch_horizontal_list:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, .L17
	mov	fp, r0
	ldr	r3, .L17+4
	ldr	r1, [r2]
	sub	sp, sp, #36
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	xmb_list_get_size
	ldr	r2, [fp]
	mov	r4, #0
	ldr	r10, .L17+8
	add	r7, r0, r2
	b	.L8
.L15:
	cmp	r3, r1
	beq	.L13
.L7:
	add	r0, sp, #4
	bl	menu_animation_push
	add	r0, sp, #4
	str	r6, [sp, #4]	@ float
	str	r5, [sp, #16]
	bl	menu_animation_push
.L3:
	add	r4, r4, #1
	cmp	r7, r4
	bcc	.L14
.L8:
	bl	config_get_ptr
	mov	r1, r4
	mov	r8, r0
	mov	r0, fp
	ldr	r9, [fp, #4]	@ float
	ldr	r6, [fp, #8]	@ float
	bl	xmb_get_node
	subs	r5, r0, #0
	beq	.L3
	mvn	r1, #0
	ldr	r3, [fp, #12]
	add	r2, r5, #4
	cmp	r3, r4
	ldr	r3, [r8]
	str	r1, [sp, #8]
	mov	r1, #0
	ldreq	r9, [fp, #16]	@ float
	ldreq	r6, [fp, #20]	@ float
	cmp	r3, #1
	str	r9, [sp, #4]	@ float
	str	r1, [sp, #24]
	str	r2, [sp, #16]
	beq	.L5
	cmp	r3, #2
	bne	.L15
	ldr	r2, .L17+12
	ldr	r3, [r10]
	ldr	r2, [r2]
	lsl	r3, r3, #1
	str	r3, [sp, #12]
	str	r2, [sp, #20]
	b	.L7
.L13:
	ldr	r3, .L17+16
	ldr	r2, [r10]
	ldr	r3, [r3]
	str	r2, [sp, #12]
	str	r3, [sp, #20]
	b	.L7
.L5:
	ldr	r3, [r10]
	ldr	r2, .L17+20
	add	r1, r3, r3, lsr #31
	ldr	r2, [r2]
	add	r3, r3, r1, asr #1
	str	r3, [sp, #12]
	str	r2, [sp, #20]
	b	.L7
.L14:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	MENU_LIST_HORIZONTAL
	.word	.LC0
	.word	XMB_DELAY
	.word	EASING_OUT_BOUNCE
	.word	EASING_OUT_QUAD
	.word	EASING_IN_SINE
	.size	xmb_list_switch_horizontal_list, .-xmb_list_switch_horizontal_list
	.comm	XMB_DELAY,4,4
	.comm	MENU_LIST_HORIZONTAL,4,4
	.comm	EASING_OUT_QUAD,4,4
	.comm	EASING_OUT_BOUNCE,4,4
	.comm	EASING_IN_SINE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
