	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kye_consumer_control_fixup
_kye_consumer_control_fixup:            ## @kye_consumer_control_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
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rsi, %rbx
	leal	31(%rcx), %eax
	cmpl	%eax, (%rdx)
	jb	LBB0_8
## %bb.1:
	movslq	%ecx, %r14
	cmpl	$5, (%rbx,%r14,4)
	jne	LBB0_8
## %bb.2:
	cmpl	$12, 4(%rbx,%r14,4)
	jne	LBB0_8
## %bb.3:
	cmpl	$9, 8(%rbx,%r14,4)
	jne	LBB0_8
## %bb.4:
	cmpl	$1, 12(%rbx,%r14,4)
	jne	LBB0_8
## %bb.5:
	cmpl	$42, 40(%rbx,%r14,4)
	jne	LBB0_8
## %bb.6:
	cmpl	$48, 48(%rbx,%r14,4)
	jl	LBB0_8
## %bb.7:
	addq	$12, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r8, %rdx
	callq	_hid_info
	movl	$47, (%rbx,%r14,4)
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fixing up %s report descriptor\n"

	.no_dead_strip	_kye_consumer_control_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kye_consumer_control_fixup
_kye_consumer_control_fixup:            ; @kye_consumer_control_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
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x19, x1
	ldr	w8, [x2]
	add	w9, w3, #31
	cmp	w8, w9
	b.lo	LBB0_8
; %bb.1:
	ldr	w8, [x19, w3, sxtw #2]
	cmp	w8, #5
	b.ne	LBB0_8
; %bb.2:
	sxtw	x8, w3
	add	x9, x19, x8, lsl #2
	ldr	w10, [x9, #4]
	cmp	w10, #12
	b.ne	LBB0_8
; %bb.3:
	ldr	w9, [x9, #8]
	cmp	w9, #9
	b.ne	LBB0_8
; %bb.4:
	add	x9, x19, x8, lsl #2
	ldr	w10, [x9, #12]
	cmp	w10, #1
	b.ne	LBB0_8
; %bb.5:
	ldr	w9, [x9, #40]
	cmp	w9, #42
	b.ne	LBB0_8
; %bb.6:
	add	x20, x8, #12
	ldr	w8, [x19, x20, lsl #2]
	cmp	w8, #48
	b.lt	LBB0_8
; %bb.7:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x4
	bl	_hid_info
	mov	w8, #47
	str	w8, [x19, x20, lsl #2]
LBB0_8:
	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,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fixing up %s report descriptor\n"

	.no_dead_strip	_kye_consumer_control_fixup
.subsections_via_symbols
