	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icade_event
_icade_event:                           ## @icade_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_HID_CLAIMED_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	cmpq	$0, (%rsi)
	je	LBB0_6
## %bb.2:
	movq	%rdx, %r14
	cmpl	$0, 4(%rdx)
	je	LBB0_6
## %bb.3:
	movl	$1, %r15d
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.4:
	movq	_HID_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%r14), %edi
	callq	_icade_find_translation
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movl	4(%r14), %esi
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	callq	_input_event
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_CLAIMED_INPUT,4,2          ## @HID_CLAIMED_INPUT
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.no_dead_strip	_icade_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icade_event
_icade_event:                           ; @icade_event
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HID_CLAIMED_INPUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_CLAIMED_INPUT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x19, x2
	ldr	w8, [x2, #4]
	cbz	w8, LBB0_7
; %bb.3:
	cbz	w3, LBB0_6
; %bb.4:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_icade_find_translation
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	w8, [x8]
	ldr	w1, [x19, #4]
	ldp	w3, w2, [x0]
	mov	x0, x8
	bl	_input_event
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_CLAIMED_INPUT,4,2          ; @HID_CLAIMED_INPUT
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.no_dead_strip	_icade_event
.subsections_via_symbols
