	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swf_probe
_swf_probe:                             ## @swf_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpl	$15, (%rdi)
	jge	LBB0_1
LBB0_18:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	callq	_AV_RB24
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_AV_RB24
	cmpq	%rax, %rbx
	je	LBB0_3
## %bb.2:
	movq	8(%r15), %rdi
	callq	_AV_RB24
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_AV_RB24
	cmpq	%rax, %rbx
	jne	LBB0_18
LBB0_3:
	movq	8(%r15), %rdi
	callq	_AV_RB24
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_AV_RB24
	movq	8(%r15), %rsi
	cmpq	%rax, %rbx
	jne	LBB0_6
## %bb.4:
	cmpb	$20, 3(%rsi)
	jg	LBB0_6
## %bb.5:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %r14d
	testl	%eax, %eax
	cmovnsl	%eax, %r14d
	sarl	$2, %r14d
	jmp	LBB0_17
LBB0_6:
	addq	$3, %rsi
	movl	(%r15), %edx
	addl	$-3, %edx
	leaq	-44(%rbp), %rdi
	callq	_init_get_bits8
	testq	%rax, %rax
	js	LBB0_18
## %bb.7:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_skip_bits
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_get_bits
	testl	%eax, %eax
	je	LBB0_18
## %bb.8:
	movl	%eax, %r12d
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_get_bits_long
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_get_bits_long
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_get_bits_long
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_get_bits_long
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.9:
	testl	%r13d, %r13d
	jne	LBB0_18
## %bb.10:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	je	LBB0_18
## %bb.11:
	testl	%eax, %eax
	je	LBB0_18
## %bb.12:
	movq	8(%r15), %rcx
	cmpb	$19, 3(%rcx)
	jg	LBB0_15
## %bb.13:
	cmpl	$16, %edx
	jl	LBB0_15
## %bb.14:
	cmpl	$15, %eax
	jle	LBB0_15
## %bb.16:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_17:
	incl	%r14d
	jmp	LBB0_18
LBB0_15:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %r14d
	testl	%eax, %eax
	cmovnsl	%eax, %r14d
	sarl	$2, %r14d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CWS"

L_.str.1:                               ## @.str.1
	.asciz	"FWS"

	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_swf_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swf_probe
_swf_probe:                             ; @swf_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	cmp	w8, #15
	b.ge	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_AV_RB24
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_AV_RB24
	cmp	x20, x0
	b.eq	LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
	bl	_AV_RB24
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_AV_RB24
	cmp	x20, x0
	b.ne	LBB0_1
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_AV_RB24
	mov	x20, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_AV_RB24
	ldr	x8, [x19, #8]
	cmp	x20, x0
	b.ne	LBB0_8
; %bb.6:
	ldrsb	w9, [x8, #3]
	cmp	w9, #20
	b.gt	LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	b	LBB0_18
LBB0_8:
	add	x1, x8, #3
	ldr	w8, [x19]
	sub	w2, w8, #3
	add	x0, sp, #12
	bl	_init_get_bits8
	tbnz	x0, #63, LBB0_1
; %bb.9:
	add	x0, sp, #12
	mov	w1, #40
	bl	_skip_bits
	add	x0, sp, #12
	mov	w1, #5
	bl	_get_bits
	cbz	w0, LBB0_2
; %bb.10:
	mov	x21, x0
	add	x0, sp, #12
	mov	x1, x21
	bl	_get_bits_long
	mov	x23, x0
	add	x0, sp, #12
	mov	x1, x21
	bl	_get_bits_long
	mov	x20, x0
	add	x0, sp, #12
	mov	x1, x21
	bl	_get_bits_long
	mov	x22, x0
	add	x0, sp, #12
	mov	x1, x21
	bl	_get_bits_long
	mov	x8, x0
	mov	w0, #0
	cbnz	w23, LBB0_2
; %bb.11:
	cbnz	w22, LBB0_2
; %bb.12:
	cbz	w20, LBB0_2
; %bb.13:
	cbz	w8, LBB0_2
; %bb.14:
	ldr	x9, [x19, #8]
	ldrsb	w9, [x9, #3]
	cmp	w9, #19
	b.gt	LBB0_19
; %bb.15:
	cmp	w20, #16
	b.lt	LBB0_19
; %bb.16:
	cmp	w8, #15
	b.le	LBB0_19
; %bb.17:
Lloh9:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
LBB0_18:
	add	w0, w8, #1
	b	LBB0_2
LBB0_19:
Lloh12:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CWS"

l_.str.1:                               ; @.str.1
	.asciz	"FWS"

	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_swf_probe
.subsections_via_symbols
