	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pat_valid
_pat_valid:                             ## @pat_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %ecx
	andl	$254, %ecx
	xorl	%eax, %eax
	cmpl	$2, %ecx
	je	LBB0_7
## %bb.1:
	movl	%edi, %ecx
	andl	$248, %ecx
	jne	LBB0_7
## %bb.2:
	movl	%edi, %ecx
	andl	$65024, %ecx                    ## imm = 0xFE00
	cmpl	$512, %ecx                      ## imm = 0x200
	je	LBB0_7
## %bb.3:
	movl	%edi, %ecx
	andl	$63488, %ecx                    ## imm = 0xF800
	jne	LBB0_7
## %bb.4:
	movl	%edi, %ecx
	andl	$16646144, %ecx                 ## imm = 0xFE0000
	cmpl	$131072, %ecx                   ## imm = 0x20000
	je	LBB0_7
## %bb.5:
	movl	%edi, %ecx
	andl	$16252928, %ecx                 ## imm = 0xF80000
	jne	LBB0_7
## %bb.6:
	sarl	$24, %edi
	movl	%edi, %eax
	andl	$254, %eax
	cmpl	$2, %eax
	setne	%al
	testb	$-8, %dil
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pat_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pat_valid
_pat_valid:                             ; @pat_valid
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0xf8
	and	w9, w0, #0xfe
	cmp	w9, #2
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	and	w8, w0, #0xfe00
	and	w9, w0, #0xf800
	and	w10, w0, #0xfe0000
	and	w11, w0, #0xf80000
	asr	w12, w0, #24
	and	w13, w12, #0xfe
	tst	w12, #0xf8
	ccmp	w13, #2, #4, eq
	cset	w12, ne
	cmp	w11, #0
	csel	w11, wzr, w12, ne
	cmp	w10, #32, lsl #12               ; =131072
	csel	w10, wzr, w11, eq
	cmp	w9, #0
	csel	w9, wzr, w10, ne
	cmp	w8, #512
	csel	w0, wzr, w9, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pat_valid
.subsections_via_symbols
