	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wacom_calculate_res
_wacom_calculate_res:                   ## @wacom_calculate_res
	.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	%rdi, %rbx
	movl	(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %ecx
	jmp	LBB0_3
LBB0_2:
	movabsq	$-12884901871, %rax             ## imm = 0xFFFFFFFD00000011
	movq	%rax, (%rbx)
	movl	$17, %edx
	movl	$-3, %ecx
LBB0_3:
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	callq	_wacom_calc_hid_res
	movq	%rax, 32(%rbx)
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	callq	_wacom_calc_hid_res
	movq	%rax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wacom_calculate_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wacom_calculate_res
lCPI0_0:
	.long	17                              ; 0x11
	.long	4294967293                      ; 0xfffffffd
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wacom_calculate_res:                   ; @wacom_calculate_res
	.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, x0
	ldr	w2, [x0]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	w3, [x19, #4]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	w2, #17
	mov	w3, #-3
LBB0_3:
	ldp	w1, w0, [x19, #24]
	bl	_wacom_calc_hid_res
	str	x0, [x19, #32]
	ldp	w1, w0, [x19, #8]
	ldp	w2, w3, [x19]
	bl	_wacom_calc_hid_res
	str	x0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wacom_calculate_res
.subsections_via_symbols
