	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_mt_report_pointer_emulation ## -- Begin function input_mt_report_pointer_emulation
	.p2align	4, 0x90
_input_mt_report_pointer_emulation:     ## @input_mt_report_pointer_emulation
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_20
## %bb.1:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, 4(%r12)
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	jle	LBB0_2
## %bb.3:
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movslq	4(%r12), %rax
	addq	$4, %r14
	cmpq	%rax, %r13
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rbx
	addq	%r14, %rbx
	movq	_ABS_MT_TRACKING_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_input_mt_get_value
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ecx
	subl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	_TRKID_SGN@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_2:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_9:
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	movq	%r15, %rbx
	testl	%ebx, %ebx
	setg	%cl
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_input_event
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_15
## %bb.10:
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.11:
	movq	_ABS_MT_DISTANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	movq	_ABS_DISTANCE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_input_abs_get_val
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_14:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_input_mt_report_finger_count
LBB0_15:
	testq	%r13, %r13
	je	LBB0_19
## %bb.16:
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_input_mt_get_value
	movl	%eax, %r15d
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_input_mt_get_value
	movl	%eax, %r12d
	movq	_EV_ABS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_input_event
	movl	(%rbx), %esi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	callq	_input_event
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_input_mt_get_value
	movl	%eax, %ecx
	jmp	LBB0_18
LBB0_19:
	movq	_ABS_MT_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_20
LBB0_18:
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_event                    ## TAILCALL
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ABS_MT_TRACKING_ID,4,2         ## @ABS_MT_TRACKING_ID
	.comm	_TRKID_SGN,4,2                  ## @TRKID_SGN
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_ABS_MT_DISTANCE,4,2            ## @ABS_MT_DISTANCE
	.comm	_ABS_DISTANCE,4,2               ## @ABS_DISTANCE
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_ABS_MT_PRESSURE,4,2            ## @ABS_MT_PRESSURE
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_mt_report_pointer_emulation ; -- Begin function input_mt_report_pointer_emulation
	.p2align	2
_input_mt_report_pointer_emulation:     ; @input_mt_report_pointer_emulation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x24, [x0, #8]
	cbz	x24, LBB0_20
; %bb.1:
	mov	x19, x0
	ldr	w8, [x24, #4]
	cmp	w8, #1
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	b.lt	LBB0_6
; %bb.2:
	mov	x25, #0
	mov	x26, #0
	mov	x20, #0
	mov	w22, #0
	ldr	w27, [x24]
Lloh0:
	adrp	x28, _ABS_MT_TRACKING_ID@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ABS_MT_TRACKING_ID@GOTPAGEOFF]
Lloh2:
	adrp	x21, _TRKID_SGN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TRKID_SGN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x24, #4]
	add	x25, x25, #4
	cmp	x26, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #8]
	add	x23, x8, x25
	ldr	w1, [x28]
	mov	x0, x23
	bl	_input_mt_get_value
	tbnz	w0, #31, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w0, w27
	ldr	w9, [x21]
	tst	w9, w8
	csel	w27, w27, w0, eq
	csel	x20, x20, x23, eq
	add	w22, w22, #1
	b	LBB0_3
LBB0_6:
	mov	w22, #0
	mov	x20, #0
LBB0_7:
Lloh4:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	cmp	w22, #0
	cset	w3, gt
	mov	x0, x19
	bl	_input_event
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_14
; %bb.8:
	cbnz	w22, LBB0_13
; %bb.9:
Lloh10:
	adrp	x8, _ABS_MT_DISTANCE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ABS_MT_DISTANCE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_11
LBB0_10:
	mov	w22, #0
	b	LBB0_13
LBB0_11:
Lloh13:
	adrp	x21, _ABS_DISTANCE@GOTPAGE
Lloh14:
	ldr	x21, [x21, _ABS_DISTANCE@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.12:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_input_abs_get_val
	cmp	x0, #0
	cset	w22, ne
LBB0_13:
	mov	x0, x19
	mov	x1, x22
	bl	_input_mt_report_finger_count
LBB0_14:
Lloh15:
	adrp	x23, _EV_ABS@GOTPAGE
Lloh16:
	ldr	x23, [x23, _EV_ABS@GOTPAGEOFF]
	cbz	x20, LBB0_17
; %bb.15:
Lloh17:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_input_mt_get_value
	mov	x21, x0
Lloh20:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_input_mt_get_value
	mov	x22, x0
	ldr	w1, [x23]
Lloh23:
	adrp	x8, _ABS_X@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x21
	bl	_input_event
	ldr	w1, [x23]
Lloh26:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x22
	bl	_input_event
Lloh29:
	adrp	x21, _ABS_MT_PRESSURE@GOTPAGE
Lloh30:
	ldr	x21, [x21, _ABS_MT_PRESSURE@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_20
; %bb.16:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_input_mt_get_value
	mov	x3, x0
	b	LBB0_19
LBB0_17:
Lloh31:
	adrp	x8, _ABS_MT_PRESSURE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ABS_MT_PRESSURE@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	x0, LBB0_20
; %bb.18:
	mov	w3, #0
LBB0_19:
Lloh34:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_input_event
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_ABS_MT_TRACKING_ID,4,2         ; @ABS_MT_TRACKING_ID
	.comm	_TRKID_SGN,4,2                  ; @TRKID_SGN
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_ABS_MT_DISTANCE,4,2            ; @ABS_MT_DISTANCE
	.comm	_ABS_DISTANCE,4,2               ; @ABS_DISTANCE
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_ABS_MT_PRESSURE,4,2            ; @ABS_MT_PRESSURE
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
.subsections_via_symbols
