	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_report_fixup
_cp_report_fixup:                       ## @cp_report_fixup
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	callq	_hid_get_drvdata
	movq	_CP_RDESC_SWAPPED_MIN_MAX@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_7
## %bb.1:
	addl	$-4, %r14d
	je	LBB0_7
## %bb.2:
	movl	%r14d, %eax
	negq	%rax
	movl	$3, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rcx), %rdx
	incq	%rdx
	incq	%rcx
	cmpq	$3, %rdx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$41, -12(%rbx,%rcx,4)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-1(%rcx), %edx
	cmpl	$25, (%rbx,%rdx,4)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$25, -12(%rbx,%rcx,4)
	movl	$41, (%rbx,%rdx,4)
	movl	%ecx, %edx
	movl	(%rbx,%rdx,4), %esi
	movl	-8(%rbx,%rcx,4), %edi
	movl	%edi, (%rbx,%rdx,4)
	movl	%esi, -8(%rbx,%rcx,4)
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_RDESC_SWAPPED_MIN_MAX,8,3   ## @CP_RDESC_SWAPPED_MIN_MAX
	.no_dead_strip	_cp_report_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_report_fixup
_cp_report_fixup:                       ; @cp_report_fixup
	.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	x20, x2
	mov	x19, x1
	bl	_hid_get_drvdata
Lloh0:
	adrp	x8, _CP_RDESC_SWAPPED_MIN_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CP_RDESC_SWAPPED_MIN_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x0
	b.eq	LBB0_7
; %bb.1:
	subs	w8, w20, #4
	b.eq	LBB0_7
; %bb.2:
	mov	x9, #0
	mov	w10, #25
	mov	w11, #41
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x19, x9, lsl #2]
	cmp	w12, #41
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w12, w9, #2
	ldr	w13, [x19, w12, uxtw #2]
	cmp	w13, #25
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x19, x9, lsl #2
	str	w10, [x13]
	str	w11, [x19, x12, lsl #2]
	add	w12, w9, #3
	lsl	x12, x12, #2
	ldr	w14, [x19, x12]
	ldr	w15, [x13, #4]
	str	w15, [x19, x12]
	str	w14, [x13, #4]
	b	LBB0_3
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_RDESC_SWAPPED_MIN_MAX,8,3   ; @CP_RDESC_SWAPPED_MIN_MAX
	.no_dead_strip	_cp_report_fixup
.subsections_via_symbols
