	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_mt_sync_frame            ## -- Begin function input_mt_sync_frame
	.p2align	4, 0x90
_input_mt_sync_frame:                   ## @input_mt_sync_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movl	(%rbx), %eax
	movq	_INPUT_MT_DROP_UNUSED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___input_mt_drop_unused
	movl	(%rbx), %eax
LBB0_3:
	movq	_INPUT_MT_POINTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%cl
	movq	_INPUT_MT_SEMI_MT@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	sete	%al
	andb	%cl, %al
	movzbl	%al, %esi
	movq	%r14, %rdi
	callq	_input_mt_report_pointer_emulation
	incl	4(%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INPUT_MT_DROP_UNUSED,4,2       ## @INPUT_MT_DROP_UNUSED
	.comm	_INPUT_MT_POINTER,4,2           ## @INPUT_MT_POINTER
	.comm	_INPUT_MT_SEMI_MT,4,2           ## @INPUT_MT_SEMI_MT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_mt_sync_frame            ; -- Begin function input_mt_sync_frame
	.p2align	2
_input_mt_sync_frame:                   ; @input_mt_sync_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _INPUT_MT_DROP_UNUSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INPUT_MT_DROP_UNUSED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	___input_mt_drop_unused
	ldr	w8, [x19]
LBB0_3:
Lloh3:
	adrp	x9, _INPUT_MT_POINTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INPUT_MT_POINTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, ne
Lloh6:
	adrp	x10, _INPUT_MT_SEMI_MT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _INPUT_MT_SEMI_MT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w8, eq
	and	w1, w9, w8
	mov	x0, x20
	bl	_input_mt_report_pointer_emulation
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INPUT_MT_DROP_UNUSED,4,2       ; @INPUT_MT_DROP_UNUSED
	.comm	_INPUT_MT_POINTER,4,2           ; @INPUT_MT_POINTER
	.comm	_INPUT_MT_SEMI_MT,4,2           ; @INPUT_MT_SEMI_MT
.subsections_via_symbols
