	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_offset_rotation
_wacom_offset_rotation:                 ## @wacom_offset_rotation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %eax
	movl	%edx, %r9d
	movq	(%rdi), %rdx
	movq	(%rsi), %rsi
	movl	(%rdx,%rsi,8), %r10d
	movl	4(%rdx,%rsi,8), %esi
	movl	%r10d, %ecx
	subl	%esi, %ecx
	leal	1(%rcx), %edi
	imull	%edi, %eax
	cltd
	idivl	%r8d
	addl	%r9d, %eax
	xorl	%edx, %edx
	cmpl	%esi, %eax
	cmovll	%edi, %edx
	cmpl	%r10d, %eax
	notl	%ecx
	cmovlel	%edx, %ecx
	addl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wacom_offset_rotation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_offset_rotation
_wacom_offset_rotation:                 ; @wacom_offset_rotation
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x1]
	add	x8, x8, x9, lsl #3
	ldp	w9, w8, [x8]
	sub	w10, w9, w8
	add	w11, w10, #1
	mul	w11, w11, w3
	sdiv	w11, w11, w4
	add	w11, w11, w2
	cmp	w11, w8
	csinc	w8, wzr, w10, ge
	cmp	w11, w9
	csinv	w8, w8, w10, le
	add	w0, w8, w11
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wacom_offset_rotation
.subsections_via_symbols
