	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidpp10_consumer_keys_raw_event
_hidpp10_consumer_keys_raw_event:       ## @hidpp10_consumer_keys_raw_event
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	xorl	%ebx, %ebx
	cmpl	$7, %edx
	jl	LBB0_4
## %bb.1:
	movl	(%rsi), %eax
	movq	_REPORT_ID_HIDPP_SHORT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.2:
	movl	8(%rsi), %eax
	movq	_HIDPP_SUB_ID_CONSUMER_VENDOR_KEYS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	%rdi, %r14
	movl	$3, -48(%rbp)
	leaq	-44(%rbp), %rdi
	addq	$12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r14), %edi
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movl	$1, %ebx
	movl	$5, %ecx
	movl	$1, %r8d
	callq	_hid_report_raw_event
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REPORT_ID_HIDPP_SHORT,4,2      ## @REPORT_ID_HIDPP_SHORT
	.comm	_HIDPP_SUB_ID_CONSUMER_VENDOR_KEYS,4,2 ## @HIDPP_SUB_ID_CONSUMER_VENDOR_KEYS
	.comm	_HID_INPUT_REPORT,4,2           ## @HID_INPUT_REPORT
	.no_dead_strip	_hidpp10_consumer_keys_raw_event
.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_raw_event
_hidpp10_consumer_keys_raw_event:       ; @hidpp10_consumer_keys_raw_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	w2, #7
	b.lt	LBB0_4
; %bb.1:
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _REPORT_ID_HIDPP_SHORT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REPORT_ID_HIDPP_SHORT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x1, #8]
Lloh6:
	adrp	x9, _HIDPP_SUB_ID_CONSUMER_VENDOR_KEYS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HIDPP_SUB_ID_CONSUMER_VENDOR_KEYS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	mov	x19, x0
	mov	w8, #3
	str	w8, [sp, #4]
	add	x8, sp, #4
	add	x0, x8, #4
	add	x1, x1, #12
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w19, #1
	add	x2, sp, #4
	mov	w3, #5
	mov	w4, #1
	bl	_hid_report_raw_event
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
	ldr	x8, [sp, #24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_REPORT_ID_HIDPP_SHORT,4,2      ; @REPORT_ID_HIDPP_SHORT
	.comm	_HIDPP_SUB_ID_CONSUMER_VENDOR_KEYS,4,2 ; @HIDPP_SUB_ID_CONSUMER_VENDOR_KEYS
	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
	.no_dead_strip	_hidpp10_consumer_keys_raw_event
.subsections_via_symbols
