	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidpp10_consumer_keys_report_fixup
_hidpp10_consumer_keys_report_fixup:    ## @hidpp10_consumer_keys_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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	(%rdx), %edx
	leaq	_hidpp10_consumer_keys_report_fixup.consumer_rdesc_start(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strnstr
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	%ebx, %ecx
	subl	%eax, %ecx
	addl	(%r14), %ecx
	cmpl	$25, %ecx
	jb	LBB0_3
## %bb.2:
	movw	$4223, 15(%rax)                 ## imm = 0x107F
	movw	$4223, 20(%rax)                 ## imm = 0x107F
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @hidpp10_consumer_keys_report_fixup.consumer_rdesc_start
_hidpp10_consumer_keys_report_fixup.consumer_rdesc_start:
	.asciz	"\005\f\t\001\241\001\205\003u\020\225\002\025\001&"

	.no_dead_strip	_hidpp10_consumer_keys_report_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidpp10_consumer_keys_report_fixup
_hidpp10_consumer_keys_report_fixup:    ; @hidpp10_consumer_keys_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
	ldr	w2, [x2]
Lloh0:
	adrp	x1, _hidpp10_consumer_keys_report_fixup.consumer_rdesc_start@PAGE
Lloh1:
	add	x1, x1, _hidpp10_consumer_keys_report_fixup.consumer_rdesc_start@PAGEOFF
	mov	x0, x19
	bl	_strnstr
	ldr	w8, [x20]
	sub	w9, w19, w0
	add	w8, w8, w9
	cmp	x0, #0
	ccmp	w8, #25, #0, ne
	b.lo	LBB0_2
; %bb.1:
	mov	w8, #4223
	sturh	w8, [x0, #15]
	strh	w8, [x0, #20]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_hidpp10_consumer_keys_report_fixup.consumer_rdesc_start: ; @hidpp10_consumer_keys_report_fixup.consumer_rdesc_start
	.asciz	"\005\f\t\001\241\001\205\003u\020\225\002\025\001&"

	.no_dead_strip	_hidpp10_consumer_keys_report_fixup
.subsections_via_symbols
