	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asus_event
_asus_event:                            ## @asus_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rax
	movl	(%rdx), %edx
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	cmpl	$-13565952, %ecx                ## imm = 0xFF310000
	jne	LBB0_4
## %bb.1:
	movq	_HID_USAGE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	je	LBB0_4
## %bb.2:
	cmpl	$0, 4(%rax)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_hid_warn
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unmapped Asus vendor usagepage code 0x%02x\n"

	.no_dead_strip	_asus_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asus_event
_asus_event:                            ; @asus_event
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
	cmn	w9, #3312, lsl #12              ; =13565952
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ands	w8, w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	w9, [x2, #4]
	cbnz	w9, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_hid_warn
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unmapped Asus vendor usagepage code 0x%02x\n"

	.no_dead_strip	_asus_event
.subsections_via_symbols
