	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RxSeqValid
_RxSeqValid:                            ## @RxSeqValid
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_FLAG_UPDATE_MULTI@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_2:
	movq	_FLAG_UPDATE_UNI@GOTPCREL(%rip), %rbx
LBB0_3:
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_clear_bit
	cmpl	$34, %r14d
	movl	$33, %eax
	cmovgel	%r14d, %eax
	movl	%eax, (%r15)
	movl	$0, 4(%r15)
LBB0_5:
	movl	%r14d, %ecx
	subl	(%r15), %ecx
	addl	$33, %ecx
	movq	_ERROR@GOTPCREL(%rip), %rax
	js	LBB0_10
## %bb.6:
	cmpl	$64, %ecx
	ja	LBB0_9
## %bb.7:
	shrl	%ecx
	movl	$1, %edx
	shll	%cl, %edx
	movl	4(%r15), %esi
	btl	%ecx, %esi
	jb	LBB0_10
## %bb.8:
	orl	%edx, %esi
	movl	%esi, 4(%r15)
LBB0_9:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_MoveWindow
	movq	_SUCCESS@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_UPDATE_MULTI,4,2          ## @FLAG_UPDATE_MULTI
	.comm	_FLAG_UPDATE_UNI,4,2            ## @FLAG_UPDATE_UNI
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_RxSeqValid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RxSeqValid
_RxSeqValid:                            ; @RxSeqValid
	.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
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	cbz	w2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x22, _FLAG_UPDATE_MULTI@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FLAG_UPDATE_MULTI@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x22, _FLAG_UPDATE_UNI@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FLAG_UPDATE_UNI@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_clear_bit
	mov	w8, #33
	cmp	w19, #33
	csel	w8, w19, w8, gt
	stp	w8, wzr, [x20]
LBB0_5:
	ldr	w8, [x20]
	sub	w8, w19, w8
	adds	w8, w8, #33
	b.mi	LBB0_8
; %bb.6:
	cmp	w8, #64
	b.hi	LBB0_10
; %bb.7:
	lsr	w8, w8, #1
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x20, #4]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_8:
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_MoveWindow
Lloh6:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_UPDATE_MULTI,4,2          ; @FLAG_UPDATE_MULTI
	.comm	_FLAG_UPDATE_UNI,4,2            ; @FLAG_UPDATE_UNI
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_RxSeqValid
.subsections_via_symbols
