	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function valid_cw
_valid_cw:                              ## @valid_cw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %eax
	cmpl	$254, %edi
	jg	LBB0_4
## %bb.1:
	cmpl	$63, %edi
	ja	LBB0_2
## %bb.3:
	movl	%edi, %ecx
	movabsq	$-9223372034707259254, %rdx     ## imm = 0x800000008000808A
	btq	%rcx, %rdx
	jae	LBB0_2
LBB0_14:
	popq	%rbp
	retq
LBB0_4:
	cmpl	$2046, %edi                     ## imm = 0x7FE
	jle	LBB0_5
## %bb.8:
	cmpl	$8190, %edi                     ## imm = 0x1FFE
	jg	LBB0_11
## %bb.9:
	cmpl	$2047, %edi                     ## imm = 0x7FF
	je	LBB0_14
## %bb.10:
	cmpl	$4095, %edi                     ## imm = 0xFFF
	je	LBB0_14
	jmp	LBB0_13
LBB0_5:
	cmpl	$255, %edi
	je	LBB0_14
## %bb.6:
	cmpl	$511, %edi                      ## imm = 0x1FF
	je	LBB0_14
## %bb.7:
	cmpl	$1023, %edi                     ## imm = 0x3FF
	je	LBB0_14
	jmp	LBB0_13
LBB0_11:
	cmpl	$8191, %edi                     ## imm = 0x1FFF
	je	LBB0_14
## %bb.12:
	cmpl	$16383, %edi                    ## imm = 0x3FFF
	je	LBB0_14
	jmp	LBB0_13
LBB0_2:
	cmpl	$127, %edi
	je	LBB0_14
LBB0_13:
	xorl	%eax, %eax
	cmpl	$32767, %edi                    ## imm = 0x7FFF
	sete	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_valid_cw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function valid_cw
_valid_cw:                              ; @valid_cw
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w0, #1
	cmp	w8, #254
	b.gt	LBB0_4
; %bb.1:
	cmp	w8, #63
	b.hi	LBB0_13
; %bb.2:
	mov	w9, w8
	mov	w10, #1
	lsl	x9, x10, x9
	mov	x10, #-9223372034707292160
	movk	x10, #32906
	tst	x9, x10
	b.eq	LBB0_13
LBB0_3:
	ret
LBB0_4:
	cmp	w8, #2046
	b.le	LBB0_8
; %bb.5:
	mov	w9, #8190
	cmp	w8, w9
	b.gt	LBB0_11
; %bb.6:
	cmp	w8, #2047
	b.eq	LBB0_3
; %bb.7:
	cmp	w8, #4095
	b.eq	LBB0_3
	b	LBB0_14
LBB0_8:
	cmp	w8, #255
	b.eq	LBB0_3
; %bb.9:
	cmp	w8, #511
	b.eq	LBB0_3
; %bb.10:
	cmp	w8, #1023
	b.eq	LBB0_3
	b	LBB0_14
LBB0_11:
	mov	w9, #8191
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.12:
	mov	w9, #16383
	cmp	w8, w9
	b.eq	LBB0_3
	b	LBB0_14
LBB0_13:
	cmp	w8, #127
	b.eq	LBB0_3
LBB0_14:
	mov	w9, #32767
	cmp	w8, w9
	cset	w0, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_valid_cw
.subsections_via_symbols
