	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_bamboo_pad_pen_event
_wacom_bamboo_pad_pen_event:            ## @wacom_bamboo_pad_pen_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movb	(%rsi), %r14b
	movq	_WACOM_REPORT_BPAD_PEN@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rsi)
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WACOM_PKGLEN_PENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdx
	movl	$1, %r8d
	callq	_hid_input_report
	movb	%r14b, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WACOM_REPORT_BPAD_PEN,1,0      ## @WACOM_REPORT_BPAD_PEN
	.comm	_HID_INPUT_REPORT,4,2           ## @HID_INPUT_REPORT
	.comm	_WACOM_PKGLEN_PENABLED,4,2      ## @WACOM_PKGLEN_PENABLED
	.no_dead_strip	_wacom_bamboo_pad_pen_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wacom_bamboo_pad_pen_event
_wacom_bamboo_pad_pen_event:            ; @wacom_bamboo_pad_pen_event
	.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
	ldrb	w20, [x1]
Lloh0:
	adrp	x8, _WACOM_REPORT_BPAD_PEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WACOM_REPORT_BPAD_PEN@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x1]
	ldr	x8, [x0]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _WACOM_PKGLEN_PENABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WACOM_PKGLEN_PENABLED@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x2, x19
	mov	w4, #1
	bl	_hid_input_report
	strb	w20, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WACOM_REPORT_BPAD_PEN,1,0      ; @WACOM_REPORT_BPAD_PEN
	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
	.comm	_WACOM_PKGLEN_PENABLED,4,2      ; @WACOM_PKGLEN_PENABLED
	.no_dead_strip	_wacom_bamboo_pad_pen_event
.subsections_via_symbols
