	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_is_led_toggled
_wacom_is_led_toggled:                  ## @wacom_is_led_toggled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r8d
	movl	%esi, %eax
	movq	(%rdi), %r10
	movq	_WACOM_21UX2@GOTPCREL(%rip), %r9
	movl	$1, %edx
	subl	%ecx, %edx
	cmpq	(%r9), %r10
	cmovel	%edx, %ecx
	movl	$1, %esi
	cltd
	idivl	8(%rdi)
	imull	%eax, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movq	_INTUOSP2_BT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r10
	movl	$256, %eax                      ## imm = 0x100
	cmovnel	%esi, %eax
	andl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WACOM_21UX2,8,3                ## @WACOM_21UX2
	.comm	_INTUOSP2_BT,8,3                ## @INTUOSP2_BT
	.no_dead_strip	_wacom_is_led_toggled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_is_led_toggled
_wacom_is_led_toggled:                  ; @wacom_is_led_toggled
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _WACOM_21UX2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WACOM_21UX2@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	mov	w10, #1
	sub	w11, w10, w3
	cmp	x9, x8
	csel	w8, w11, w3, eq
	ldr	w11, [x0, #8]
	sdiv	w11, w1, w11
	mul	w8, w8, w11
Lloh3:
	adrp	x11, _INTUOSP2_BT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _INTUOSP2_BT@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	lsl	w8, w10, w8
	cmp	x9, x11
	mov	w9, #256
	csel	w8, w9, w8, eq
	and	w0, w8, w2
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WACOM_21UX2,8,3                ; @WACOM_21UX2
	.comm	_INTUOSP2_BT,8,3                ; @INTUOSP2_BT
	.no_dead_strip	_wacom_is_led_toggled
.subsections_via_symbols
