	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_hid_get_drvdata
	movq	_CP_RDESC_SWAPPED_MIN_MAX@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	je	LBB0_7
## %bb.1:
	movl	(%r14), %eax
	cmpl	$5, %eax
	jae	LBB0_2
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	leal	-4(%rax), %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$41, (%r15,%rbx,4)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	2(%rbx), %ecx
	cmpl	$25, (%r15,%rcx,4)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$25, (%r15,%rbx,4)
	movl	$41, (%r15,%rcx,4)
	leal	3(%rbx), %eax
	movl	(%r15,%rax,4), %edi
	movl	4(%r15,%rbx,4), %esi
	callq	_swap
	movl	(%r14), %eax
	jmp	LBB0_6
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	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_2
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #5
	b.hs	LBB0_3
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x21, #0
	mov	w22, #25
	mov	w23, #41
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	sub	w9, w8, #4
	cmp	x21, x9
	b.hs	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, x21, lsl #2]
	cmp	w9, #41
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w21, #2
	ldr	w10, [x19, w9, uxtw #2]
	cmp	w10, #25
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x19, x21, lsl #2
	str	w22, [x8]
	str	w23, [x19, x9, lsl #2]
	add	w9, w21, #3
	ldr	w0, [x19, w9, uxtw #2]
	ldr	w1, [x8, #4]
	bl	_swap
	ldr	w8, [x20]
	b	LBB0_4
	.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
