	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_intuos_pro2_bt_battery
_wacom_intuos_pro2_bt_battery:          ## @wacom_intuos_pro2_bt_battery
	.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
	movzbl	284(%rax), %edx
	movl	%edx, %ecx
	andl	$-128, %ecx
	andl	$127, %edx
	movq	_WACOM_POWER_SUPPLY_STATUS_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %r8d
	movl	%ecx, %r9d
	popq	%rbp
	jmp	_wacom_notify_battery           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WACOM_POWER_SUPPLY_STATUS_AUTO,4,2 ## @WACOM_POWER_SUPPLY_STATUS_AUTO
	.no_dead_strip	_wacom_intuos_pro2_bt_battery
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_intuos_pro2_bt_battery
_wacom_intuos_pro2_bt_battery:          ; @wacom_intuos_pro2_bt_battery
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldrb	w8, [x8, #284]
	and	w3, w8, #0x80
	and	w2, w8, #0x7f
Lloh0:
	adrp	x8, _WACOM_POWER_SUPPLY_STATUS_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WACOM_POWER_SUPPLY_STATUS_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w4, #1
	mov	x5, x3
	b	_wacom_notify_battery
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WACOM_POWER_SUPPLY_STATUS_AUTO,4,2 ; @WACOM_POWER_SUPPLY_STATUS_AUTO
	.no_dead_strip	_wacom_intuos_pro2_bt_battery
.subsections_via_symbols
