	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_cmd
_validate_cmd:                          ## @validate_cmd
	.cfi_startproc
## %bb.0:
	movl	%edi, %ecx
	shrl	$29, %ecx
	cmpl	$3, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$2, %ecx
	je	LBB0_4
## %bb.2:
	movl	$0, %eax
	testl	%ecx, %ecx
	jne	LBB0_22
## %bb.3:
	xorl	%eax, %eax
	testl	$494927872, %edi                ## imm = 0x1D800000
	sete	%al
	retq
LBB0_5:
	movl	%edi, %ecx
	shrl	$24, %ecx
	andl	$31, %ecx
	movl	$1, %eax
	cmpl	$25, %ecx
	jae	LBB0_6
LBB0_22:
	retq
LBB0_4:
	movzbl	%dil, %eax
	addl	$2, %eax
	retq
LBB0_6:
	addl	$-28, %ecx
	cmpl	$3, %ecx
	ja	LBB0_21
## %bb.7:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	popq	%rbp
	jmpq	*%rcx
LBB0_8:
	movl	%edi, %eax
	shrl	$16, %eax
	cmpb	$4, %al
	je	LBB0_12
## %bb.9:
	cmpb	$3, %al
	jne	LBB0_13
## %bb.10:
	andl	$31, %edi
	jmp	LBB0_11
LBB0_21:
	xorl	%eax, %eax
	retq
LBB0_14:
	testl	$8388608, %edi                  ## imm = 0x800000
	je	LBB0_22
## %bb.15:
	movzwl	%di, %eax
	incl	%eax
	retq
LBB0_16:
	testl	$8388608, %edi                  ## imm = 0x800000
	jne	LBB0_18
## %bb.17:
	andl	$131071, %edi                   ## imm = 0x1FFFF
	jmp	LBB0_11
LBB0_18:
	movl	$2, %eax
	testl	$131072, %edi                   ## imm = 0x20000
	je	LBB0_22
## %bb.19:
	movl	$0, %eax
	andl	$65535, %edi                    ## imm = 0xFFFF
	je	LBB0_22
## %bb.20:
	incl	%edi
	shrl	%edi
	incl	%edi
	movl	%edi, %eax
	retq
LBB0_12:
	andl	$15, %edi
LBB0_11:
	addl	$2, %edi
	movl	%edi, %eax
	retq
LBB0_13:
	movzwl	%di, %eax
	addl	$2, %eax
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_validate_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_cmd
_validate_cmd:                          ; @validate_cmd
	.cfi_startproc
; %bb.0:
	lsr	w8, w0, #29
	cmp	w8, #3
	b.eq	LBB0_2
; %bb.1:
	and	w9, w0, #0xff
	add	w9, w9, #2
	mov	w10, #494927872
	tst	w0, w10
	cset	w10, eq
	cmp	w8, #0
	csel	w10, wzr, w10, ne
	cmp	w8, #2
	csel	w0, w9, w10, eq
	ret
LBB0_2:
	ubfx	w8, w0, #24, #5
	cmp	w8, #25
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
	sub	w9, w8, #28
	cmp	w9, #3
	b.hi	LBB0_7
; %bb.5:
	mov	w8, #1
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
	ubfx	w8, w0, #16, #8
	and	w9, w0, #0xf
	add	w9, w9, #2
	and	w10, w0, #0xffff
	add	w10, w10, #2
	and	w11, w0, #0x1f
	add	w11, w11, #2
	cmp	w8, #3
	csel	w10, w10, w11, ne
	cmp	w8, #4
	csel	w0, w9, w10, eq
	ret
LBB0_7:
	mov	w8, #0
LBB0_8:
	mov	x0, x8
	ret
LBB0_9:
	mov	w8, #1
	and	w9, w0, #0xffff
	tst	w0, #0x800000
	csinc	w0, w8, w9, eq
	ret
LBB0_10:
	mov	w8, #2
	ands	w9, w0, #0xffff
	add	w9, w9, #1
	lsr	w9, w9, #1
	csinc	w9, wzr, w9, eq
	tst	w0, #0x20000
	csel	w8, w8, w9, eq
	and	w9, w0, #0x1ffff
	add	w9, w9, #2
	tst	w0, #0x800000
	csel	w0, w8, w9, ne
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
                                        ; -- End function
	.no_dead_strip	_validate_cmd
.subsections_via_symbols
