	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ch_report_fixup
_ch_report_fixup:                       ## @ch_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$17, %edx
	jb	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$60, 44(%rsi)
	jne	LBB0_4
## %bb.2:
	cmpl	$2, 48(%rbx)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movabsq	$12884902143, %rax              ## imm = 0x3000000FF
	movq	%rax, 64(%rbx)
	movq	%rax, 44(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fixing up Cherry Cymotion report descriptor\n"

	.no_dead_strip	_ch_report_fixup
.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 ch_report_fixup
lCPI0_0:
	.long	255                             ; 0xff
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ch_report_fixup:                       ; @ch_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
	cmp	w2, #17
	b.lo	LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1, #44]
	cmp	w8, #60
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x19, #48]
	cmp	w8, #2
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #64]
	stur	d0, [x19, #44]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fixing up Cherry Cymotion report descriptor\n"

	.no_dead_strip	_ch_report_fixup
.subsections_via_symbols
