	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_are_sibling
_wacom_are_sibling:                     ## @wacom_are_sibling
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_hid_get_drvdata
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_hid_get_drvdata
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	%rax, %rcx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
LBB0_2:
	movq	8(%r15), %rsi
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jne	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdx
LBB0_4:
	movq	_HID_ANY_ID@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%rdi, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpq	%rcx, (%r12)
	jne	LBB0_21
LBB0_6:
	cmpq	%rdi, %rsi
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpq	%rdx, 8(%r12)
	jne	LBB0_21
LBB0_8:
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_13
## %bb.9:
	movq	8(%rbx), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$47, %edx
	jmp	LBB0_11
LBB0_13:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$46, %edx
LBB0_11:
	callq	_hid_compare_device_paths
	testl	%eax, %eax
	je	LBB0_12
## %bb.14:
	movq	16(%r15), %rcx
	movq	_HID_GENERIC@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_21
## %bb.15:
	movl	24(%r15), %ecx
	movq	_WACOM_DEVICETYPE_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %edx
	testl	%ecx, %esi
	je	LBB0_17
## %bb.16:
	testl	%esi, %edx
	jne	LBB0_18
LBB0_12:
	xorl	%eax, %eax
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%eax, %eax
	testl	%esi, %edx
	jne	LBB0_21
LBB0_18:
	movq	_WACOM_DEVICETYPE_PEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WACOM_DEVICETYPE_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ecx, %esi
	je	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	movl	%ebx, %edi
	andl	%edx, %edi
	je	LBB0_21
LBB0_20:
	testl	%ecx, %ebx
	sete	%al
	testl	%esi, %edx
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_ANY_ID,8,3                 ## @HID_ANY_ID
	.comm	_HID_GENERIC,8,3                ## @HID_GENERIC
	.comm	_WACOM_DEVICETYPE_DIRECT,4,2    ## @WACOM_DEVICETYPE_DIRECT
	.comm	_WACOM_DEVICETYPE_PEN,4,2       ## @WACOM_DEVICETYPE_PEN
	.comm	_WACOM_DEVICETYPE_TOUCH,4,2     ## @WACOM_DEVICETYPE_TOUCH
	.no_dead_strip	_wacom_are_sibling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_are_sibling
_wacom_are_sibling:                     ; @wacom_are_sibling
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x22, x0
	bl	_hid_get_drvdata
	mov	x19, x0
	mov	x0, x21
	bl	_hid_get_drvdata
	mov	x20, x0
	ldr	x9, [x19]
	mov	x8, x9
	cbnz	x9, LBB0_2
; %bb.1:
	ldr	x8, [x22]
LBB0_2:
	ldr	x11, [x19, #8]
	mov	x10, x11
	cbnz	x11, LBB0_4
; %bb.3:
	ldr	x10, [x22, #8]
LBB0_4:
Lloh0:
	adrp	x12, _HID_ANY_ID@GOTPAGE
Lloh1:
	ldr	x12, [x12, _HID_ANY_ID@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	cmp	x9, x12
	b.eq	LBB0_6
; %bb.5:
	ldr	x9, [x21]
	cmp	x9, x8
	b.ne	LBB0_19
LBB0_6:
	cmp	x11, x12
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x21, #8]
	cmp	x8, x10
	b.ne	LBB0_19
LBB0_8:
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x22, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #47
	bl	_hid_compare_device_paths
	cbnz	w0, LBB0_12
	b	LBB0_20
LBB0_11:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #46
	bl	_hid_compare_device_paths
	cbz	w0, LBB0_20
LBB0_12:
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _HID_GENERIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HID_GENERIC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.13:
	ldr	w8, [x19, #24]
Lloh6:
	adrp	x9, _WACOM_DEVICETYPE_DIRECT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WACOM_DEVICETYPE_DIRECT@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x9]
	ldr	w9, [x20, #24]
	and	w10, w9, w11
	tst	w11, w8
	b.eq	LBB0_16
; %bb.14:
	cbnz	w10, LBB0_17
	b	LBB0_19
LBB0_15:
	mov	w0, #1
	b	LBB0_20
LBB0_16:
	cbnz	w10, LBB0_19
LBB0_17:
Lloh9:
	adrp	x10, _WACOM_DEVICETYPE_PEN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WACOM_DEVICETYPE_PEN@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _WACOM_DEVICETYPE_TOUCH@GOTPAGE
Lloh13:
	ldr	x11, [x11, _WACOM_DEVICETYPE_TOUCH@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w10, w8
	b.eq	LBB0_21
; %bb.18:
	and	w12, w11, w9
	cbnz	w12, LBB0_21
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_21:
	tst	w11, w8
	cset	w8, eq
	tst	w9, w10
	cset	w9, ne
	orr	w0, w8, w9
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_ANY_ID,8,3                 ; @HID_ANY_ID
	.comm	_HID_GENERIC,8,3                ; @HID_GENERIC
	.comm	_WACOM_DEVICETYPE_DIRECT,4,2    ; @WACOM_DEVICETYPE_DIRECT
	.comm	_WACOM_DEVICETYPE_PEN,4,2       ; @WACOM_DEVICETYPE_PEN
	.comm	_WACOM_DEVICETYPE_TOUCH,4,2     ; @WACOM_DEVICETYPE_TOUCH
	.no_dead_strip	_wacom_are_sibling
.subsections_via_symbols
