	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function op_valid
_op_valid:                              ## @op_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	leal	-1(%rdi), %eax
	movzbl	%al, %ecx
	movl	$1, %eax
	btl	%ecx, %esi
	jae	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	cmpl	$32768, %edi                    ## imm = 0x8000
	setge	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_op_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function op_valid
_op_valid:                              ; @op_valid
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1
	mov	w9, #1
	lsr	w8, w1, w8
	cmp	w0, #8, lsl #12                 ; =32768
	cset	w10, ge
	tst	w8, #0x1
	csel	w8, w9, w10, ne
	cmp	w0, #0
	csel	w0, wzr, w8, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_op_valid
.subsections_via_symbols
