	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CheckSupportedFolder
_CheckSupportedFolder:                  ## @CheckSupportedFolder
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %eax
	addl	$-5, %eax
	movq	_SZ_ERROR_UNSUPPORTED@GOTPCREL(%rip), %r14
	cmpl	$-4, %eax
	jb	LBB0_36
## %bb.1:
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	callq	_IS_SUPPORTED_CODER
	testl	%eax, %eax
	je	LBB0_36
## %bb.2:
	movl	(%rbx), %eax
	cmpl	$4, %eax
	je	LBB0_9
## %bb.3:
	cmpl	$2, %eax
	je	LBB0_25
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_36
## %bb.5:
	cmpl	$1, 4(%rbx)
	jne	LBB0_36
## %bb.6:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_36
## %bb.7:
	cmpl	$0, 16(%rbx)
	jne	LBB0_35
LBB0_8:
	movq	_SZ_OK@GOTPCREL(%rip), %r14
	jmp	LBB0_36
LBB0_9:
	movq	32(%rbx), %rdi
	addq	$16, %rdi
	callq	_IS_SUPPORTED_CODER
	testl	%eax, %eax
	je	LBB0_36
## %bb.10:
	movq	32(%rbx), %rdi
	addq	$32, %rdi
	callq	_IS_SUPPORTED_CODER
	testl	%eax, %eax
	je	LBB0_36
## %bb.11:
	movq	32(%rbx), %rdi
	addq	$48, %rdi
	callq	_IS_BCJ2
	testl	%eax, %eax
	je	LBB0_36
## %bb.12:
	cmpl	$4, 4(%rbx)
	jne	LBB0_36
## %bb.13:
	movq	8(%rbx), %rax
	cmpq	$2, (%rax)
	jne	LBB0_36
## %bb.14:
	cmpq	$6, 8(%rax)
	jne	LBB0_36
## %bb.15:
	cmpq	$1, 16(%rax)
	jne	LBB0_36
## %bb.16:
	cmpq	$0, 24(%rax)
	jne	LBB0_36
## %bb.17:
	cmpl	$3, 16(%rbx)
	jne	LBB0_36
## %bb.18:
	movq	24(%rbx), %rax
	cmpl	$5, (%rax)
	jne	LBB0_36
## %bb.19:
	cmpq	$0, 8(%rax)
	jne	LBB0_36
## %bb.20:
	cmpl	$4, 16(%rax)
	jne	LBB0_36
## %bb.21:
	cmpq	$1, 24(%rax)
	jne	LBB0_36
## %bb.22:
	cmpl	$3, 32(%rax)
	jne	LBB0_36
## %bb.23:
	cmpq	$2, 40(%rax)
	je	LBB0_8
	jmp	LBB0_35
LBB0_25:
	movq	32(%rbx), %rcx
	movq	16(%rcx), %rax
	movl	$4294967295, %edx               ## imm = 0xFFFFFFFF
	cmpq	%rdx, %rax
	jg	LBB0_36
## %bb.26:
	cmpl	$1, 24(%rcx)
	jne	LBB0_36
## %bb.27:
	cmpl	$1, 28(%rcx)
	jne	LBB0_36
## %bb.28:
	cmpl	$1, 4(%rbx)
	jne	LBB0_36
## %bb.29:
	movq	8(%rbx), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_36
## %bb.30:
	cmpl	$1, 16(%rbx)
	jne	LBB0_36
## %bb.31:
	movq	24(%rbx), %rcx
	cmpl	$1, (%rcx)
	jne	LBB0_36
## %bb.32:
	cmpq	$0, 8(%rcx)
	jne	LBB0_36
## %bb.33:
	andq	$-2, %rax
	cmpq	$128, %rax
	je	LBB0_8
LBB0_35:
	movq	_SZ_ERROR_UNSUPPORTED@GOTPCREL(%rip), %r14
LBB0_36:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_ERROR_UNSUPPORTED,4,2       ## @SZ_ERROR_UNSUPPORTED
	.comm	_SZ_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_CheckSupportedFolder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CheckSupportedFolder
_CheckSupportedFolder:                  ; @CheckSupportedFolder
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	sub	w8, w8, #5
	cmn	w8, #4
	b.lo	LBB0_32
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #32]
	bl	_IS_SUPPORTED_CODER
	cbz	w0, LBB0_32
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #4
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #2
	b.eq	LBB0_24
; %bb.4:
	cmp	w8, #1
	b.ne	LBB0_32
; %bb.5:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.ne	LBB0_32
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
Lloh0:
	adrp	x8, _SZ_ERROR_UNSUPPORTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_ERROR_UNSUPPORTED@GOTPAGEOFF]
	cbnz	x9, LBB0_33
; %bb.7:
	ldr	w9, [x19, #16]
Lloh2:
	adrp	x10, _SZ_OK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SZ_OK@GOTPAGEOFF]
	cmp	w9, #0
LBB0_8:
	csel	x8, x10, x8, eq
	b	LBB0_33
LBB0_9:
	ldr	x8, [x19, #32]
	add	x0, x8, #16
	bl	_IS_SUPPORTED_CODER
	cbz	w0, LBB0_32
; %bb.10:
	ldr	x8, [x19, #32]
	add	x0, x8, #32
	bl	_IS_SUPPORTED_CODER
	cbz	w0, LBB0_32
; %bb.11:
	ldr	x8, [x19, #32]
	add	x0, x8, #48
	bl	_IS_BCJ2
	cbz	w0, LBB0_32
; %bb.12:
	ldr	w8, [x19, #4]
	cmp	w8, #4
	b.ne	LBB0_32
; %bb.13:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cmp	x9, #2
	b.ne	LBB0_32
; %bb.14:
	ldr	x9, [x8, #8]
	cmp	x9, #6
	b.ne	LBB0_32
; %bb.15:
	ldr	x9, [x8, #16]
	cmp	x9, #1
	b.ne	LBB0_32
; %bb.16:
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_32
; %bb.17:
	ldr	w8, [x19, #16]
	cmp	w8, #3
	b.ne	LBB0_32
; %bb.18:
	ldr	x9, [x19, #24]
	ldr	w8, [x9]
	cmp	w8, #5
	b.ne	LBB0_32
; %bb.19:
	ldr	x8, [x9, #8]
	cbnz	x8, LBB0_32
; %bb.20:
	ldr	w8, [x9, #16]
	cmp	w8, #4
	b.ne	LBB0_32
; %bb.21:
	ldr	x8, [x9, #24]
	cmp	x8, #1
	b.ne	LBB0_32
; %bb.22:
	ldr	w10, [x9, #32]
Lloh4:
	adrp	x8, _SZ_ERROR_UNSUPPORTED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SZ_ERROR_UNSUPPORTED@GOTPAGEOFF]
	cmp	w10, #3
	b.ne	LBB0_33
; %bb.23:
	ldr	x9, [x9, #40]
Lloh6:
	adrp	x10, _SZ_OK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SZ_OK@GOTPAGEOFF]
	cmp	x9, #2
	b	LBB0_8
LBB0_24:
	ldr	x9, [x19, #32]
	ldr	x8, [x9, #16]
	mov	w10, #-1
	cmp	x8, x10
	b.gt	LBB0_32
; %bb.25:
	ldr	w10, [x9, #24]
	cmp	w10, #1
	b.ne	LBB0_32
; %bb.26:
	ldr	w9, [x9, #28]
	cmp	w9, #1
	b.ne	LBB0_32
; %bb.27:
	ldr	w9, [x19, #4]
	cmp	w9, #1
	b.ne	LBB0_32
; %bb.28:
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	cbnz	x9, LBB0_32
; %bb.29:
	ldr	w9, [x19, #16]
	cmp	w9, #1
	b.ne	LBB0_32
; %bb.30:
	ldr	x9, [x19, #24]
	ldr	w10, [x9]
	cmp	w10, #1
	b.ne	LBB0_32
; %bb.31:
	ldr	x9, [x9, #8]
Lloh8:
	adrp	x10, _SZ_ERROR_UNSUPPORTED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SZ_ERROR_UNSUPPORTED@GOTPAGEOFF]
	and	x8, x8, #0xfffffffffffffffe
Lloh10:
	adrp	x11, _SZ_OK@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SZ_OK@GOTPAGEOFF]
	cmp	x8, #128
	csel	x8, x11, x10, eq
	cmp	x9, #0
	csel	x8, x10, x8, ne
	b	LBB0_33
LBB0_32:
Lloh12:
	adrp	x8, _SZ_ERROR_UNSUPPORTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SZ_ERROR_UNSUPPORTED@GOTPAGEOFF]
LBB0_33:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_ERROR_UNSUPPORTED,4,2       ; @SZ_ERROR_UNSUPPORTED
	.comm	_SZ_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_CheckSupportedFolder
.subsections_via_symbols
