	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gyration_event
_gyration_event:                        ## @gyration_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	%r14d, %r14d
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rdx, %rbx
	movl	(%rdx), %ecx
	cmpb	$-126, %cl
	jne	LBB0_5
## %bb.3:
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	movq	_HID_UP_GENDESK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_5
## %bb.4:
	movq	(%rax), %r15
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movl	$1, %r14d
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_input_event
	movq	%r15, %rdi
	callq	_input_sync
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_input_event
	movq	%r15, %rdi
	callq	_input_sync
LBB0_5:
	movl	%r14d, %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_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_GENDESK,4,2             ## @HID_UP_GENDESK
	.no_dead_strip	_gyration_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gyration_event
_gyration_event:                        ; @gyration_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	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_3
; %bb.1:
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x19, x2
	ldr	w9, [x2]
Lloh3:
	adrp	x10, _HID_USAGE_PAGE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w10, w10, w9
Lloh6:
	adrp	x11, _HID_UP_GENDESK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _HID_UP_GENDESK@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	and	w9, w9, #0xff
	cmp	w9, #130
	ccmp	w10, w11, #0, eq
	b.eq	LBB0_4
LBB0_3:
	mov	w20, #0
	b	LBB0_5
LBB0_4:
	ldr	x21, [x8]
	ldp	w2, w1, [x19, #4]
	mov	w20, #1
	mov	x0, x21
	mov	w3, #1
	bl	_input_event
	mov	x0, x21
	bl	_input_sync
	ldp	w2, w1, [x19, #4]
	mov	x0, x21
	mov	w3, #0
	bl	_input_event
	mov	x0, x21
	bl	_input_sync
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_CLAIMED_INPUT,4,2          ; @HID_CLAIMED_INPUT
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_GENDESK,4,2             ; @HID_UP_GENDESK
	.no_dead_strip	_gyration_event
.subsections_via_symbols
