	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenkbd_handle_position_event
_xenkbd_handle_position_event:          ## @xenkbd_handle_position_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, (%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	(%rbx), %edi
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	callq	_input_report_abs
	movl	(%rbx), %edi
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	callq	_input_report_abs
	movl	(%r14), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	negl	%edx
	callq	_input_report_rel
LBB0_3:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.no_dead_strip	_xenkbd_handle_position_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_position_event
_xenkbd_handle_position_event:          ; @xenkbd_handle_position_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]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _ABS_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	bl	_input_report_abs
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	bl	_input_report_abs
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh6:
	adrp	x9, _REL_WHEEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REL_WHEEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	neg	w2, w8
	bl	_input_report_rel
LBB0_4:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.no_dead_strip	_xenkbd_handle_position_event
.subsections_via_symbols
