	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ms_surface_dial_quirk
_ms_surface_dial_quirk:                 ## @ms_surface_dial_quirk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %ecx
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ecx, %edx
	movl	$-1, %eax
	cmpl	$-16318464, %edx                ## imm = 0xFF070000
	je	LBB0_5
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_4
## %bb.3:
	addl	$-130, %ecx
	cmpl	$3, %ecx
	jb	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.no_dead_strip	_ms_surface_dial_quirk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ms_surface_dial_quirk
_ms_surface_dial_quirk:                 ; @ms_surface_dial_quirk
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	mov	w0, #-1
	cmn	w9, #3984, lsl #12              ; =16318464
	b.eq	LBB0_6
; %bb.1:
	cmp	w9, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w9, #128
	b.ne	LBB0_5
; %bb.3:
	sub	w8, w8, #130
	cmp	w8, #3
	b.hs	LBB0_5
; %bb.4:
	mov	w0, #-1
	ret
LBB0_5:
	mov	w0, #0
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.no_dead_strip	_ms_surface_dial_quirk
.subsections_via_symbols
