	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function touch_handle_up
LCPI0_0:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_touch_handle_up:                       ## @touch_handle_up
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_TOUCHES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movq	_active_touch_positions@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,4294967295,0,0]
	movq	_num_active_touches@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movslq	%ecx, %rdi
	addq	$16, %rdx
	cmpq	%rdi, %rsi
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r8d, 4(%rdx)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movups	%xmm0, (%rdx)
	decl	(%r9)
	movl	(%rax), %ecx
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_reorder_touches                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOUCHES,4,2                ## @MAX_TOUCHES
	.comm	_active_touch_positions,8,3     ## @active_touch_positions
	.comm	_num_active_touches,4,2         ## @num_active_touches
	.no_dead_strip	_touch_handle_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function touch_handle_up
lCPI0_0:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_touch_handle_up:                       ; @touch_handle_up
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_TOUCHES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_TOUCHES@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x11, _active_touch_positions@GOTPAGE
Lloh3:
	ldr	x11, [x11, _active_touch_positions@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
Lloh5:
	adrp	x12, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x12, lCPI0_0@PAGEOFF]
Lloh7:
	adrp	x12, _num_active_touches@GOTPAGE
Lloh8:
	ldr	x12, [x12, _num_active_touches@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x11, x11, #16
	cmp	x9, w10, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11]
	cbz	w13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x11, #4]
	cmp	w13, w4
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	q0, [x11]
	ldr	w10, [x12]
	sub	w10, w10, #1
	str	w10, [x12]
	ldr	w10, [x8]
	b	LBB0_2
LBB0_6:
	b	_reorder_touches
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOUCHES,4,2                ; @MAX_TOUCHES
	.comm	_active_touch_positions,8,3     ; @active_touch_positions
	.comm	_num_active_touches,4,2         ; @num_active_touches
	.no_dead_strip	_touch_handle_up
.subsections_via_symbols
