	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uinput_get_rcpt_mask
_uinput_get_rcpt_mask:                  ## @uinput_get_rcpt_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	_CLOCK_MONOTONIC_FAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rsi
	callq	_clock_gettime
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.1:
	movq	-40(%rbp), %rax
	movq	-32(%rbp), %rcx
	subq	_uinput_get_rcpt_mask.last(%rip), %rax
	xorl	%edx, %edx
	cmpq	_uinput_get_rcpt_mask.last+8(%rip), %rcx
	setl	%dl
	subq	%rdx, %rax
	movq	_MASK_POLL_INTERVAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_5
## %bb.2:
	movq	$4, -16(%rbp)
	movq	_MASK_SYSCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_uinput_get_rcpt_mask.mask(%rip), %rsi
	xorl	%ebx, %ebx
	leaq	-16(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movq	_EVDEV_RCPT_HW_MOUSE@GOTPCREL(%rip), %rdx
	movq	_EVDEV_RCPT_HW_KBD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	cmpq	(%rcx), %rax
	cmovel	%esi, %ebx
	movl	%ebx, _uinput_get_rcpt_mask.mask(%rip)
LBB0_4:
	movq	-24(%rbp), %rax
	movq	%rax, _uinput_get_rcpt_mask.last+16(%rip)
	movups	-40(%rbp), %xmm0
	movups	%xmm0, _uinput_get_rcpt_mask.last(%rip)
LBB0_5:
	movl	_uinput_get_rcpt_mask.mask(%rip), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_uinput_get_rcpt_mask.last,24,3 ## @uinput_get_rcpt_mask.last
.zerofill __DATA,__bss,_uinput_get_rcpt_mask.mask,4,2 ## @uinput_get_rcpt_mask.mask
	.comm	_CLOCK_MONOTONIC_FAST,4,2       ## @CLOCK_MONOTONIC_FAST
	.comm	_MASK_POLL_INTERVAL,8,3         ## @MASK_POLL_INTERVAL
	.comm	_MASK_SYSCTL,4,2                ## @MASK_SYSCTL
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_EVDEV_RCPT_HW_MOUSE,4,2        ## @EVDEV_RCPT_HW_MOUSE
	.comm	_EVDEV_RCPT_HW_KBD,4,2          ## @EVDEV_RCPT_HW_KBD
	.no_dead_strip	_uinput_get_rcpt_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uinput_get_rcpt_mask
_uinput_get_rcpt_mask:                  ; @uinput_get_rcpt_mask
	.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, _CLOCK_MONOTONIC_FAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCK_MONOTONIC_FAST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_clock_gettime
	adrp	x19, _uinput_get_rcpt_mask.mask@PAGE
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x20, _uinput_get_rcpt_mask.last@PAGE
Lloh4:
	add	x20, x20, _uinput_get_rcpt_mask.last@PAGEOFF
	ldp	x8, x9, [sp, #8]
	ldp	x10, x11, [x20]
	cmp	x9, x11
	cset	w9, lt
	sub	x8, x8, x10
	sub	x8, x8, x9
Lloh5:
	adrp	x9, _MASK_POLL_INTERVAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MASK_POLL_INTERVAL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_5
; %bb.2:
	mov	w8, #4
	str	x8, [sp]
Lloh8:
	adrp	x8, _MASK_SYSCTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MASK_SYSCTL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, _uinput_get_rcpt_mask.mask@PAGE
Lloh12:
	add	x1, x1, _uinput_get_rcpt_mask.mask@PAGEOFF
	mov	x2, sp
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _errno@GOTPAGE
Lloh14:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh15:
	adrp	x9, _ENOENT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	ldr	x9, [x9]
Lloh19:
	adrp	x10, _EVDEV_RCPT_HW_MOUSE@GOTPAGE
Lloh20:
	ldr	x10, [x10, _EVDEV_RCPT_HW_MOUSE@GOTPAGEOFF]
Lloh21:
	adrp	x11, _EVDEV_RCPT_HW_KBD@GOTPAGE
Lloh22:
	ldr	x11, [x11, _EVDEV_RCPT_HW_KBD@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	x8, x9
	csel	w8, w10, wzr, eq
	str	w8, [x19, _uinput_get_rcpt_mask.mask@PAGEOFF]
LBB0_4:
	ldur	q0, [sp, #8]
	str	q0, [x20]
	ldr	x8, [sp, #24]
	str	x8, [x20, #16]
LBB0_5:
	ldr	w0, [x19, _uinput_get_rcpt_mask.mask@PAGEOFF]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_uinput_get_rcpt_mask.last,24,3 ; @uinput_get_rcpt_mask.last
.zerofill __DATA,__bss,_uinput_get_rcpt_mask.mask,4,2 ; @uinput_get_rcpt_mask.mask
	.comm	_CLOCK_MONOTONIC_FAST,4,2       ; @CLOCK_MONOTONIC_FAST
	.comm	_MASK_POLL_INTERVAL,8,3         ; @MASK_POLL_INTERVAL
	.comm	_MASK_SYSCTL,4,2                ; @MASK_SYSCTL
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_EVDEV_RCPT_HW_MOUSE,4,2        ; @EVDEV_RCPT_HW_MOUSE
	.comm	_EVDEV_RCPT_HW_KBD,4,2          ; @EVDEV_RCPT_HW_KBD
	.no_dead_strip	_uinput_get_rcpt_mask
.subsections_via_symbols
