	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_wl_touch_pool
_input_wl_touch_pool:                   ## @input_wl_touch_pool
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	_MAX_TOUCHES@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.2:
	movq	%rdi, %r14
	movl	$8, %r13d
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rcx
	callq	_wayland_context_gettouchpos
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	(%r14), %rax
	movl	%ecx, -8(%rax,%r13)
	movl	-48(%rbp), %ecx
	movl	%ecx, -4(%rax,%r13)
	movl	-44(%rbp), %ecx
	movl	%ecx, (%rax,%r13)
	incq	%rbx
	movslq	(%r15), %rax
	addq	$12, %r13
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOUCHES,4,2                ## @MAX_TOUCHES
	.no_dead_strip	_input_wl_touch_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_wl_touch_pool
_input_wl_touch_pool:                   ; @input_wl_touch_pool
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	xzr, [sp, #8]
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x21, _MAX_TOUCHES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_TOUCHES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x19, x0
	mov	x22, #0
	mov	x20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_wayland_context_gettouchpos
	cmp	x0, #0
	cset	w8, ne
	ldr	x9, [x19]
	add	x9, x9, x22
	str	w8, [x9]
	ldr	w8, [sp, #12]
	str	w8, [x9, #4]
	ldr	w8, [sp, #8]
	str	w8, [x9, #8]
	add	x20, x20, #1
	ldrsw	x8, [x21]
	add	x22, x22, #12
	cmp	x20, x8
	b.lt	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOUCHES,4,2                ; @MAX_TOUCHES
	.no_dead_strip	_input_wl_touch_pool
.subsections_via_symbols
