	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenkbd_handle_mt_event
_xenkbd_handle_mt_event:                ## @xenkbd_handle_mt_event
	.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	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, 8(%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	(%r14), %rsi
	cmpq	(%rbx), %rsi
	je	LBB0_3
## %bb.2:
	movq	%rsi, (%rbx)
	movl	8(%rbx), %edi
	callq	_input_mt_slot
LBB0_3:
	movl	8(%r14), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	8(%rbx), %edi
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_mt_report_slot_state     ## TAILCALL
LBB0_11:
	movl	8(%rbx), %edi
	callq	_input_mt_sync_frame
	movl	8(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
LBB0_7:
	movl	8(%rbx), %edi
	movq	_ABS_MT_TOUCH_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r14), %edx
	callq	_input_report_abs
	movl	8(%rbx), %edi
	movq	_ABS_MT_TOUCH_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	jmp	LBB0_9
LBB0_8:
	movl	8(%rbx), %edi
	movq	_ABS_MT_ORIENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	jmp	LBB0_9
LBB0_5:
	movl	8(%rbx), %edi
	movq	_MT_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_input_mt_report_slot_state
LBB0_6:
	movl	8(%rbx), %edi
	movq	_ABS_MT_POSITION_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r14), %edx
	callq	_input_report_abs
	movl	8(%rbx), %edi
	movq	_ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %edx
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_report_abs               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_MT_TOOL_FINGER,4,2             ## @MT_TOOL_FINGER
	.comm	_ABS_MT_POSITION_X,4,2          ## @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ## @ABS_MT_POSITION_Y
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ## @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ## @ABS_MT_TOUCH_MINOR
	.comm	_ABS_MT_ORIENTATION,4,2         ## @ABS_MT_ORIENTATION
	.no_dead_strip	_xenkbd_handle_mt_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenkbd_handle_mt_event
_xenkbd_handle_mt_event:                ; @xenkbd_handle_mt_event
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x1, [x20]
	ldr	x8, [x19]
	cmp	x1, x8
	b.eq	LBB0_4
; %bb.3:
	str	x1, [x19]
	ldr	w0, [x19, #8]
	bl	_input_mt_slot
LBB0_4:
	ldr	w8, [x20, #8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_1
; %bb.5:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x8, _MT_TOOL_FINGER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_mt_report_slot_state
LBB0_7:
	ldr	w0, [x19, #8]
	bl	_input_mt_sync_frame
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_sync
LBB0_8:
	ldr	w0, [x19, #8]
Lloh5:
	adrp	x8, _ABS_MT_TOUCH_MAJOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ABS_MT_TOUCH_MAJOR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x20, #20]
	bl	_input_report_abs
Lloh8:
	adrp	x8, _ABS_MT_TOUCH_MINOR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ABS_MT_TOUCH_MINOR@GOTPAGEOFF]
	ldr	w0, [x19, #8]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	b	LBB0_12
LBB0_9:
Lloh11:
	adrp	x8, _ABS_MT_ORIENTATION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ABS_MT_ORIENTATION@GOTPAGEOFF]
	ldr	w0, [x19, #8]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	b	LBB0_12
LBB0_10:
	ldr	w0, [x19, #8]
Lloh14:
	adrp	x8, _MT_TOOL_FINGER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT_TOOL_FINGER@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_input_mt_report_slot_state
LBB0_11:
	ldr	w0, [x19, #8]
Lloh17:
	adrp	x8, _ABS_MT_POSITION_X@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ABS_MT_POSITION_X@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
	bl	_input_report_abs
Lloh20:
	adrp	x8, _ABS_MT_POSITION_Y@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ABS_MT_POSITION_Y@GOTPAGEOFF]
	ldr	w0, [x19, #8]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x20, #24]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_report_abs
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
                                        ; -- End function
	.comm	_MT_TOOL_FINGER,4,2             ; @MT_TOOL_FINGER
	.comm	_ABS_MT_POSITION_X,4,2          ; @ABS_MT_POSITION_X
	.comm	_ABS_MT_POSITION_Y,4,2          ; @ABS_MT_POSITION_Y
	.comm	_ABS_MT_TOUCH_MAJOR,4,2         ; @ABS_MT_TOUCH_MAJOR
	.comm	_ABS_MT_TOUCH_MINOR,4,2         ; @ABS_MT_TOUCH_MINOR
	.comm	_ABS_MT_ORIENTATION,4,2         ; @ABS_MT_ORIENTATION
	.no_dead_strip	_xenkbd_handle_mt_event
.subsections_via_symbols
