	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function stripes_context_reset_horizontal_list
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
LCPI0_1:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stripes_context_reset_horizontal_list: ## @stripes_context_reset_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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MENU_LIST_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_stripes_list_get_size
	cvtsi2ssq	24(%r14), %xmm0
	movq	%rax, %r13
	xorps	LCPI0_0(%rip), %xmm0
	mulss	4(%r14), %xmm0
	movss	%xmm0, (%r14)
	xorl	%eax, %eax
	cmpl	$2, 8(%r14)
	setl	%al
	addl	%eax, %eax
	addl	$-2, %eax
	imull	16(%r14), %eax
	movl	%eax, 12(%r14)
	testq	%r13, %r13
	je	LBB0_16
## %bb.1:
	movl	$1, %r12d
	movq	%r14, -328(%rbp)                ## 8-byte Spill
	movq	%r13, -320(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_image_texture_free
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_free
	movq	-352(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	movq	%r13, %rdi
	callq	_free
	movq	-328(%rbp), %r14                ## 8-byte Reload
	movq	-320(%rbp), %r13                ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	incl	%r12d
	cmpq	%rax, %r13
	jbe	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r12), %ebx
	movq	$0, -312(%rbp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_stripes_get_userdata_from_horizontal_list
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_stripes_node_allocate_userdata
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_15
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%r14), %edi
	movl	%ebx, %esi
	leaq	-312(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_file_list_get_at_offset
	movq	-312(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testl	%eax, %eax
	je	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_malloc
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_malloc
	movq	%rax, %r13
	movl	(%r14), %edi
	callq	_malloc
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movb	$0, (%rax)
	movb	$0, (%r13)
	movb	$0, -304(%rbp)
	movb	$0, (%rbx)
	movq	-312(%rbp), %rsi
	leaq	-304(%rbp), %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_fill_pathname_base_noext
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_fill_pathname_application_special
	movl	(%r14), %r8d
	movq	%r13, %rdi
	movq	%rbx, -344(%rbp)                ## 8-byte Spill
	movq	%rbx, %rsi
	leaq	-304(%rbp), %rdx
	leaq	L_.str.1(%rip), %rcx
	callq	_fill_pathname_join_concat
	movq	$0, -384(%rbp)
	leaq	-368(%rbp), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	xorl	%eax, %eax
	callq	_video_driver_supports_rgba
	movl	%eax, -376(%rbp)
	leaq	-384(%rbp), %r14
	movq	%r14, %rdi
	movq	%r13, -352(%rbp)                ## 8-byte Spill
	movq	%r13, %rsi
	callq	_image_texture_load
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -384(%rbp)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_video_driver_texture_unload
	movq	_TEXTURE_FILTER_MIPMAP_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_video_driver_texture_load
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_image_texture_free
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	-344(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	-304(%rbp), %rsi
	callq	_strlcat
	movl	(%r13), %r8d
	movq	-336(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	$45, %ecx
	callq	_fill_pathname_join_delim
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_image_texture_load
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -384(%rbp)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_video_driver_texture_unload
	movq	_TEXTURE_FILTER_MIPMAP_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_video_driver_texture_load
	jmp	LBB0_13
LBB0_16:
	movq	%r14, %rdi
	callq	_stripes_toggle_horizontal_list
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_LIST_HORIZONTAL,4,2       ## @MENU_LIST_HORIZONTAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".lpl"

	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS,4,2 ## @APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS
L_.str.1:                               ## @.str.1
	.asciz	".png"

	.comm	_TEXTURE_FILTER_MIPMAP_LINEAR,4,2 ## @TEXTURE_FILTER_MIPMAP_LINEAR
L_.str.2:                               ## @.str.2
	.asciz	"content.png"

	.no_dead_strip	_stripes_context_reset_horizontal_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripes_context_reset_horizontal_list
_stripes_context_reset_horizontal_list: ; @stripes_context_reset_horizontal_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #336]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #352]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #368]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #384]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #400]            ; 16-byte Folded Spill
	add	x29, sp, #400
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _MENU_LIST_HORIZONTAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_LIST_HORIZONTAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_stripes_list_get_size
	ldr	s0, [x19, #4]
	ldr	x8, [x19, #24]
	scvtf	s1, x8
	fneg	s1, s1
	fmul	s0, s0, s1
	str	s0, [x19]
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	mov	w10, #-2
	cmp	w8, #2
	csel	w8, wzr, w10, lt
	mul	w8, w8, w9
	str	w8, [x19, #12]
	cbz	x0, LBB0_16
; %bb.1:
	mov	x20, x0
	add	x8, sp, #8
	add	x22, x8, #16
	mov	w23, #1
Lloh6:
	adrp	x28, l_.str@PAGE
Lloh7:
	add	x28, x28, l_.str@PAGEOFF
Lloh8:
	adrp	x21, _PATH_MAX_LENGTH@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PATH_MAX_LENGTH@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_image_texture_free
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_free
	mov	x0, x26
	bl	_free
	mov	x0, x27
	bl	_free
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x20, w23, uxtw
	add	w23, w23, #1
	b.ls	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w25, w23, #1
	str	xzr, [sp, #40]
	mov	x0, x19
	mov	x1, x25
	bl	_stripes_get_userdata_from_horizontal_list
	mov	x24, x0
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_stripes_node_allocate_userdata
	mov	x24, x0
	cbz	x0, LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #20]
	add	x2, sp, #40
	mov	x1, x25
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_file_list_get_at_offset
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x28
	bl	_strstr
	cbz	w0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	bl	_malloc
	mov	x25, x0
	ldr	w0, [x21]
	bl	_malloc
	mov	x26, x0
	ldr	w0, [x21]
	bl	_malloc
	mov	x27, x0
	strb	wzr, [x0]
	strb	wzr, [x26]
	strb	wzr, [sp, #48]
	strb	wzr, [x25]
	ldr	x1, [sp, #40]
	add	x0, sp, #48
	mov	w2, #256
	bl	_fill_pathname_base_noext
	ldr	w1, [x21]
Lloh10:
	adrp	x8, _APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x25
	bl	_fill_pathname_application_special
	ldr	w4, [x21]
	add	x2, sp, #48
	mov	x0, x26
	mov	x1, x25
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_fill_pathname_join_concat
	str	xzr, [sp, #8]
	stp	xzr, xzr, [x22]
	bl	_video_driver_supports_rgba
	str	w0, [sp, #16]
	add	x0, sp, #8
	mov	x1, x26
	bl	_image_texture_load
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x20
	mov	x20, x22
	mov	x22, x28
	add	x28, x24, #4
	mov	x0, x28
	bl	_video_driver_texture_unload
Lloh15:
	adrp	x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x28
	mov	x28, x22
	mov	x22, x20
	mov	x20, x21
Lloh18:
	adrp	x21, _PATH_MAX_LENGTH@GOTPAGE
Lloh19:
	ldr	x21, [x21, _PATH_MAX_LENGTH@GOTPAGEOFF]
	bl	_video_driver_texture_load
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_image_texture_free
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x21]
	add	x1, sp, #48
	mov	x0, x25
	bl	_strlcat
	ldr	w4, [x21]
	mov	x0, x27
	mov	x1, x25
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w3, #45
	bl	_fill_pathname_join_delim
	add	x0, sp, #8
	mov	x1, x27
	bl	_image_texture_load
	cbz	x0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_video_driver_texture_unload
Lloh22:
	adrp	x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x24
	bl	_video_driver_texture_load
	b	LBB0_2
LBB0_16:
	mov	x0, x19
	bl	_stripes_toggle_horizontal_list
	ldur	x8, [x29, #-96]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	ldp	x29, x30, [sp, #400]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #384]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #368]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #352]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #416
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_LIST_HORIZONTAL,4,2       ; @MENU_LIST_HORIZONTAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".lpl"

	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS,4,2 ; @APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS
l_.str.1:                               ; @.str.1
	.asciz	".png"

	.comm	_TEXTURE_FILTER_MIPMAP_LINEAR,4,2 ; @TEXTURE_FILTER_MIPMAP_LINEAR
l_.str.2:                               ; @.str.2
	.asciz	"content.png"

	.no_dead_strip	_stripes_context_reset_horizontal_list
.subsections_via_symbols
