	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ez_event
_ez_event:                              ## @ez_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	_HID_CLAIMED_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%eax, %eax
	testl	%r8d, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	(%rsi), %r8
	testq	%r8, %r8
	je	LBB0_6
## %bb.2:
	movq	(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	movq	_EV_REL@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_6
## %bb.4:
	movq	8(%rdx), %rdx
	movq	_REL_HWHEEL@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rdx
	jne	LBB0_6
## %bb.5:
	movq	(%r8), %rdi
	movq	_REL_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	negl	%ecx
	callq	_input_event
	movl	$1, %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_CLAIMED_INPUT,4,2          ## @HID_CLAIMED_INPUT
	.comm	_EV_REL,8,3                     ## @EV_REL
	.comm	_REL_HWHEEL,8,3                 ## @REL_HWHEEL
	.comm	_REL_WHEEL,4,2                  ## @REL_WHEEL
	.no_dead_strip	_ez_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ez_event
_ez_event:                              ; @ez_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, [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_5
; %bb.1:
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x1, [x2]
Lloh3:
	adrp	x9, _EV_REL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EV_REL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x1, #0
	ccmp	x1, x9, #0, ne
	b.ne	LBB0_5
; %bb.3:
	ldr	x9, [x2, #8]
Lloh6:
	adrp	x10, _REL_HWHEEL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _REL_HWHEEL@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	ldr	x0, [x8]
Lloh9:
	adrp	x8, _REL_WHEEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REL_WHEEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	neg	w3, w3
	bl	_input_event
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_CLAIMED_INPUT,4,2          ; @HID_CLAIMED_INPUT
	.comm	_EV_REL,8,3                     ; @EV_REL
	.comm	_REL_HWHEEL,8,3                 ; @REL_HWHEEL
	.comm	_REL_WHEEL,4,2                  ; @REL_WHEEL
	.no_dead_strip	_ez_event
.subsections_via_symbols
