	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_post_parse_hid
_wacom_post_parse_hid:                  ## @wacom_post_parse_hid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_hid_get_drvdata
	movq	(%rbx), %rcx
	movq	_HID_GENERIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.1:
	cmpq	$0, 16(%rax)
	je	LBB0_5
## %bb.2:
	cmpq	$0, 8(%rax)
	movq	_WACOM_DEVICETYPE_DIRECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	je	LBB0_4
## %bb.3:
	orl	%ecx, 8(%rbx)
LBB0_5:
	cmpl	$2, 12(%rbx)
	jl	LBB0_10
LBB0_6:
	movq	_WACOM_DEVICETYPE_DIRECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %esi
	movl	4(%rax), %edi
	andl	8(%rbx), %ecx
	jne	LBB0_7
## %bb.8:
	movq	_INPUT_MT_POINTER@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	notl	%ecx
	andl	%ecx, 8(%rbx)
	cmpl	$2, 12(%rbx)
	jge	LBB0_6
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movq	_INPUT_MT_DIRECT@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_input_mt_init_slots            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_GENERIC,8,3                ## @HID_GENERIC
	.comm	_WACOM_DEVICETYPE_DIRECT,4,2    ## @WACOM_DEVICETYPE_DIRECT
	.comm	_INPUT_MT_DIRECT,4,2            ## @INPUT_MT_DIRECT
	.comm	_INPUT_MT_POINTER,4,2           ## @INPUT_MT_POINTER
	.no_dead_strip	_wacom_post_parse_hid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_post_parse_hid
_wacom_post_parse_hid:                  ; @wacom_post_parse_hid
	.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	x19, x1
	bl	_hid_get_drvdata
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _HID_GENERIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_GENERIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	x9, [x0, #16]
Lloh3:
	adrp	x8, _WACOM_DEVICETYPE_DIRECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WACOM_DEVICETYPE_DIRECT@GOTPAGEOFF]
	cbz	x9, LBB0_6
; %bb.2:
	ldr	x10, [x0, #8]
	ldr	w9, [x8]
	cbz	x10, LBB0_4
; %bb.3:
	ldr	w10, [x19, #8]
	orr	w9, w10, w9
	b	LBB0_5
LBB0_4:
	ldr	w10, [x19, #8]
	bic	w9, w10, w9
LBB0_5:
	str	w9, [x19, #8]
LBB0_6:
	ldr	w9, [x19, #12]
	cmp	w9, #2
	b.lt	LBB0_8
; %bb.7:
	ldr	w9, [x19, #8]
	ldr	w10, [x8]
	ldp	w1, w8, [x0]
Lloh5:
	adrp	x11, _INPUT_MT_POINTER@GOTPAGE
Lloh6:
	ldr	x11, [x11, _INPUT_MT_POINTER@GOTPAGEOFF]
Lloh7:
	adrp	x12, _INPUT_MT_DIRECT@GOTPAGE
Lloh8:
	ldr	x12, [x12, _INPUT_MT_DIRECT@GOTPAGEOFF]
	tst	w10, w9
	csel	x9, x11, x12, eq
	ldr	w2, [x9]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_input_mt_init_slots
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_GENERIC,8,3                ; @HID_GENERIC
	.comm	_WACOM_DEVICETYPE_DIRECT,4,2    ; @WACOM_DEVICETYPE_DIRECT
	.comm	_INPUT_MT_DIRECT,4,2            ; @INPUT_MT_DIRECT
	.comm	_INPUT_MT_POINTER,4,2           ; @INPUT_MT_POINTER
	.no_dead_strip	_wacom_post_parse_hid
.subsections_via_symbols
