	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rave_sp_rdu1_cmd_translate
_rave_sp_rdu1_cmd_translate:            ## @rave_sp_rdu1_cmd_translate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RAVE_SP_CMD_STATUS@GOTPCREL(%rip), %rcx
	movq	_RAVE_SP_CMD_CONTROL_EVENTS@GOTPCREL(%rip), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	subl	(%rdx), %esi
	cmpl	%edi, (%rax)
	movl	%edi, %eax
	cmovbl	%esi, %eax
	cmpl	%edi, (%rcx)
	cmoval	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAVE_SP_CMD_STATUS,4,2         ## @RAVE_SP_CMD_STATUS
	.comm	_RAVE_SP_CMD_CONTROL_EVENTS,4,2 ## @RAVE_SP_CMD_CONTROL_EVENTS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_rave_sp_rdu1_cmd_translate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rave_sp_rdu1_cmd_translate
_rave_sp_rdu1_cmd_translate:            ; @rave_sp_rdu1_cmd_translate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RAVE_SP_CMD_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAVE_SP_CMD_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RAVE_SP_CMD_CONTROL_EVENTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RAVE_SP_CMD_CONTROL_EVENTS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w0
	ccmp	w8, w0, #2, hs
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	csneg	w0, w0, w8, ls
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RAVE_SP_CMD_STATUS,4,2         ; @RAVE_SP_CMD_STATUS
	.comm	_RAVE_SP_CMD_CONTROL_EVENTS,4,2 ; @RAVE_SP_CMD_CONTROL_EVENTS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_rave_sp_rdu1_cmd_translate
.subsections_via_symbols
