	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_setup_device_quirks      ## -- Begin function wacom_setup_device_quirks
	.p2align	4, 0x90
_wacom_setup_device_quirks:             ## @wacom_setup_device_quirks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 8(%rdi)
	jne	LBB0_3
## %bb.2:
	movabsq	$4393751544831, %rax            ## imm = 0x3FF000003FF
	movq	%rax, 8(%rdi)
LBB0_3:
	movq	16(%rdi), %rax
	movq	_TABLETPC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_TABLETPC2FG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.6:
	popq	%rbp
	retq
LBB0_5:
	movq	_WACOM_QUIRK_MULTI_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTN_TOOL_FINGER,8,3            ## @BTN_TOOL_FINGER
	.comm	_TABLETPC,8,3                   ## @TABLETPC
	.comm	_TABLETPC2FG,8,3                ## @TABLETPC2FG
	.comm	_WACOM_QUIRK_MULTI_INPUT,4,2    ## @WACOM_QUIRK_MULTI_INPUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wacom_setup_device_quirks      ; -- Begin function wacom_setup_device_quirks
	.p2align	2
_wacom_setup_device_quirks:             ; @wacom_setup_device_quirks
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BTN_TOOL_FINGER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_3
; %bb.2:
	movi.2s	v0, #3, msl #8
	str	d0, [x0, #8]
LBB0_3:
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _TABLETPC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TABLETPC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _TABLETPC2FG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TABLETPC2FG@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _WACOM_QUIRK_MULTI_INPUT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WACOM_QUIRK_MULTI_INPUT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
	str	w8, [x0, #24]
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BTN_TOOL_FINGER,8,3            ; @BTN_TOOL_FINGER
	.comm	_TABLETPC,8,3                   ; @TABLETPC
	.comm	_TABLETPC2FG,8,3                ; @TABLETPC2FG
	.comm	_WACOM_QUIRK_MULTI_INPUT,4,2    ; @WACOM_QUIRK_MULTI_INPUT
.subsections_via_symbols
