	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function materialui_render_entry_touch_feedback
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0xc47a0000                      ## float -1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_materialui_render_entry_touch_feedback: ## @materialui_render_entry_touch_feedback
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %r12d
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$0, 80(%rdi)
	je	LBB0_1
LBB0_11:
	movss	24(%rbx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_menu_animation_get_delta_time
	mulss	LCPI0_1(%rip), %xmm0
	movq	_MENU_INPUT_PRESS_TIME_SHORT@GOTPCREL(%rip), %rax
	xorps	%xmm1, %xmm1
	cvtsi2ssq	(%rax), %xmm1
	divss	%xmm1, %xmm0
	addss	24(%rbx), %xmm0
	xorps	%xmm1, %xmm1
	maxss	%xmm0, %xmm1
	movss	%xmm1, 24(%rbx)
	movaps	%xmm1, %xmm0
LBB0_13:
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_15
## %bb.14:
	movl	32(%rbx), %esi
	movl	%r15d, -116(%rbp)               ## 4-byte Spill
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	movl	$64, %edx
	callq	_memcpy
	xorps	%xmm0, %xmm0
	cvtsi2ssl	28(%rbx), %xmm0
	mulss	24(%rbx), %xmm0
	cvttss2si	%xmm0, %esi
	movq	%r15, %rdi
	callq	_menu_display_set_alpha
	movq	%rbx, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	movl	-116(%rbp), %r9d                ## 4-byte Reload
	pushq	%r15
	pushq	(%rbx)
	callq	_materialui_render_selection_highlight
	addq	$16, %rsp
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, 72(%rbx)
	je	LBB0_11
## %bb.2:
	cmpl	$0, 64(%rbx)
	jne	LBB0_11
## %bb.3:
	movl	%r13d, -116(%rbp)               ## 4-byte Spill
	movl	%r14d, %r13d
	movl	%r12d, %r14d
	movl	%r15d, %r12d
	movq	(%rbx), %r15
	xorl	%eax, %eax
	callq	_menu_input_get_pointer_selection
	cmpq	%rax, %r15
	movl	%r12d, %r15d
	movl	%r14d, %r12d
	movl	%r13d, %r14d
	movl	-116(%rbp), %r13d               ## 4-byte Reload
	jne	LBB0_11
## %bb.4:
	movq	8(%rbx), %rcx
	movq	40(%rbx), %rax
	cmpq	%rcx, %rax
	jle	LBB0_11
## %bb.5:
	movl	%r13d, %edx
	movl	16(%rbx), %esi
	addq	%rsi, %rcx
	subq	%rcx, %rdx
	cmpq	%rdx, %rax
	jge	LBB0_11
## %bb.6:
	movl	48(%rbx), %eax
	cmpl	%r12d, %eax
	jb	LBB0_11
## %bb.7:
	movl	%r14d, %ecx
	subl	20(%rbx), %ecx
	cmpl	%ecx, %eax
	ja	LBB0_11
## %bb.8:
	movq	16(%rbp), %rax
	cmpq	%rax, (%rbx)
	jne	LBB0_10
## %bb.9:
	movl	$0, 24(%rbx)
	jmp	LBB0_15
LBB0_10:
	cvtsi2ssq	56(%rbx), %xmm1
	movq	_MENU_INPUT_PRESS_TIME_SHORT@GOTPCREL(%rip), %rax
	cvtsi2ssq	(%rax), %xmm0
	divss	%xmm0, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	minss	%xmm1, %xmm0
	movss	%xmm0, 24(%rbx)
	jmp	LBB0_13
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_INPUT_PRESS_TIME_SHORT,8,3 ## @MENU_INPUT_PRESS_TIME_SHORT
	.no_dead_strip	_materialui_render_entry_touch_feedback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function materialui_render_entry_touch_feedback
_materialui_render_entry_touch_feedback: ; @materialui_render_entry_touch_feedback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	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
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	w8, [x0, #80]
	cbz	w8, LBB0_8
LBB0_1:
	ldr	s0, [x23, #24]
	fcmp	s0, #0.0
	b.le	LBB0_4
; %bb.2:
	bl	_menu_animation_get_delta_time
	mov	w8, #-998637568
	fmov	s1, w8
	fmul	s0, s0, s1
Lloh3:
	adrp	x8, _MENU_INPUT_PRESS_TIME_SHORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_INPUT_PRESS_TIME_SHORT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	scvtf	s1, x8
	fdiv	s0, s0, s1
	ldr	s1, [x23, #24]
	fadd	s0, s1, s0
	movi	d1, #0000000000000000
	fmax	s0, s0, s1
LBB0_3:
	str	s0, [x23, #24]
LBB0_4:
	fcmp	s0, #0.0
	b.le	LBB0_6
; %bb.5:
	ldr	w1, [x23, #32]
	add	x0, sp, #8
	mov	w2, #64
	bl	_memcpy
	ldp	s1, s0, [x23, #24]
	scvtf	s0, s0
	fmul	s0, s1, s0
	fcvtzs	w1, s0
	add	x0, sp, #8
	bl	_menu_display_set_alpha
	ldr	x6, [x23]
	add	x7, sp, #8
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_materialui_render_selection_highlight
LBB0_6:
	ldr	x8, [sp, #72]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.7:
	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
	add	sp, sp, #160
	ret
LBB0_8:
	ldr	x8, [x23, #72]
	cbz	x8, LBB0_1
; %bb.9:
	ldr	w8, [x23, #64]
	cbnz	w8, LBB0_1
; %bb.10:
	mov	x25, x6
	ldr	x26, [x23]
	bl	_menu_input_get_pointer_selection
	cmp	x26, x0
	b.ne	LBB0_1
; %bb.11:
	ldr	x8, [x23, #40]
	ldr	x9, [x23, #8]
	cmp	x8, x9
	b.le	LBB0_1
; %bb.12:
	mov	w10, w22
	ldr	w11, [x23, #16]
	add	x9, x9, x11
	sub	x9, x10, x9
	cmp	x8, x9
	b.ge	LBB0_1
; %bb.13:
	ldr	w8, [x23, #48]
	cmp	w8, w20
	b.lo	LBB0_1
; %bb.14:
	ldr	w9, [x23, #20]
	sub	w9, w21, w9
	cmp	w8, w9
	b.hi	LBB0_1
; %bb.15:
	ldr	x8, [x23]
	cmp	x8, x25
	b.ne	LBB0_17
; %bb.16:
	str	wzr, [x23, #24]
	b	LBB0_6
LBB0_17:
	ldr	x8, [x23, #56]
	scvtf	s0, x8
Lloh9:
	adrp	x8, _MENU_INPUT_PRESS_TIME_SHORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MENU_INPUT_PRESS_TIME_SHORT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	scvtf	s1, x8
	fdiv	s0, s0, s1
	fmov	s1, #1.00000000
	fmin	s0, s0, s1
	b	LBB0_3
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_INPUT_PRESS_TIME_SHORT,8,3 ; @MENU_INPUT_PRESS_TIME_SHORT
	.no_dead_strip	_materialui_render_entry_touch_feedback
.subsections_via_symbols
