	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripes_render
_stripes_render:                        ## @stripes_render
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_config_get_ptr
	xorl	%eax, %eax
	callq	_menu_entries_get_size
	testq	%r13, %r13
	je	LBB0_14
## %bb.1:
	movl	%eax, %r14d
	leaq	-88(%rbp), %rdi
	callq	_menu_input_get_pointer_state
	movq	-88(%rbp), %rax
	movq	_MENU_POINTER_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.2:
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movq	%rax, %r15
	movss	-80(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	movl	$0, -60(%rbp)
	movl	%r14d, -44(%rbp)
	movq	-88(%rbp), %rax
	movq	_MENU_POINTER_MOUSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r13), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cvtsi2ss	%ecx, %xmm0
	addss	%xmm0, %xmm1
LBB0_4:
	movss	%xmm1, -64(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.6:
	leaq	-60(%rbp), %r8
	leaq	-44(%rbp), %r9
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	%r15, %rcx
	callq	_stripes_calculate_visible_range
	movl	-60(%rbp), %ebx
	movq	%rbx, -56(%rbp)
	cmpl	-44(%rbp), %ebx
	jbe	LBB0_7
LBB0_11:
	movq	_MENU_ENTRIES_CTL_START_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rsi
	callq	_menu_entries_ctl
	movl	%r14d, %eax
	cmpq	%rax, -56(%rbp)
	jb	LBB0_13
## %bb.12:
	movq	$0, -56(%rbp)
	movq	_MENU_ENTRIES_CTL_SET_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rsi
	callq	_menu_entries_ctl
LBB0_13:
	movq	_MENU_ANIMATION_CTL_CLEAR_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_menu_animation_ctl
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	%rbx, -56(%rbp)
	movl	-44(%rbp), %eax
	cmpq	%rax, %rbx
	ja	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movss	4(%r13), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -68(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_stripes_item_y
	addss	-68(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	addss	8(%r13), %xmm0
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_menu_input_set_pointer_selection
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_POINTER_DISABLED,8,3      ## @MENU_POINTER_DISABLED
	.comm	_MENU_POINTER_MOUSE,8,3         ## @MENU_POINTER_MOUSE
	.comm	_MENU_ENTRIES_CTL_START_GET,4,2 ## @MENU_ENTRIES_CTL_START_GET
	.comm	_MENU_ENTRIES_CTL_SET_START,4,2 ## @MENU_ENTRIES_CTL_SET_START
	.comm	_MENU_ANIMATION_CTL_CLEAR_ACTIVE,4,2 ## @MENU_ANIMATION_CTL_CLEAR_ACTIVE
	.no_dead_strip	_stripes_render
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripes_render
_stripes_render:                        ; @stripes_render
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x22, x2
	mov	x20, x0
	bl	_config_get_ptr
	bl	_menu_entries_get_size
	cbz	x20, LBB0_9
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	bl	_menu_input_get_pointer_state
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _MENU_POINTER_DISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MENU_POINTER_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.2:
	bl	_menu_navigation_get_selection
	mov	x21, x0
	ldr	s8, [sp, #16]
	stp	w19, wzr, [sp]
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _MENU_POINTER_MOUSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MENU_POINTER_MOUSE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	scvtf	s0, w8
	fadd	s8, s8, s0
LBB0_4:
	cbz	w22, LBB0_10
; %bb.5:
	add	x4, sp, #4
	mov	x5, sp
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_stripes_calculate_visible_range
	ldp	w8, w22, [sp]
	str	x22, [sp, #24]
	cmp	w22, w8
	b.ls	LBB0_12
LBB0_6:
Lloh6:
	adrp	x8, _MENU_ENTRIES_CTL_START_GET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MENU_ENTRIES_CTL_START_GET@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, sp, #24
	bl	_menu_entries_ctl
	ldr	x8, [sp, #24]
	cmp	x8, w19, uxtw
	b.lo	LBB0_8
; %bb.7:
	str	xzr, [sp, #24]
Lloh9:
	adrp	x8, _MENU_ENTRIES_CTL_SET_START@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MENU_ENTRIES_CTL_SET_START@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, sp, #24
	bl	_menu_entries_ctl
LBB0_8:
Lloh12:
	adrp	x8, _MENU_ANIMATION_CTL_CLEAR_ACTIVE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MENU_ANIMATION_CTL_CLEAR_ACTIVE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_menu_animation_ctl
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	mov	x22, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	str	x22, [sp, #24]
	ldr	w8, [sp]
	cmp	x22, x8
	b.hi	LBB0_6
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	s9, [x20, #4]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_stripes_item_y
	fadd	s0, s9, s0
	fcmp	s8, s0
	b.le	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	s1, [x20, #8]
	fadd	s0, s0, s1
	fcmp	s8, s0
	b.pl	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	bl	_menu_input_set_pointer_selection
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_POINTER_DISABLED,8,3      ; @MENU_POINTER_DISABLED
	.comm	_MENU_POINTER_MOUSE,8,3         ; @MENU_POINTER_MOUSE
	.comm	_MENU_ENTRIES_CTL_START_GET,4,2 ; @MENU_ENTRIES_CTL_START_GET
	.comm	_MENU_ENTRIES_CTL_SET_START,4,2 ; @MENU_ENTRIES_CTL_SET_START
	.comm	_MENU_ANIMATION_CTL_CLEAR_ACTIVE,4,2 ; @MENU_ANIMATION_CTL_CLEAR_ACTIVE
	.no_dead_strip	_stripes_render
.subsections_via_symbols
