	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avs2_probe
_avs2_probe:                            ## @avs2_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
	movl	$-1, -44(%rbp)
	movq	(%rdi), %r13
	movslq	8(%rdi), %rbx
	movq	%r13, %rdi
	callq	_AV_RB32
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$432, %ecx                      ## imm = 0x1B0
	jne	LBB0_19
## %bb.1:
	testl	%ebx, %ebx
	jle	LBB0_19
## %bb.2:
	leaq	(,%rbx,4), %r14
	addq	%r13, %r14
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rbx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %r12d
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %r15d
	cmpq	%r14, %r13
	jae	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_avpriv_find_start_code
	movq	%rax, %r13
	movl	-44(%rbp), %eax
	movl	%eax, %ecx
	andl	$-256, %ecx
	cmpl	$256, %ecx                      ## imm = 0x100
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %ebx
	movl	%ebx, %edi
	callq	_ISUNIT
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, %r12
	shrq	$2, %r12
	testl	%r15d, %r15d
	cmovnel	%r15d, %r12d
	testq	%rax, %rax
	cmovel	%r15d, %r12d
	movl	%ebx, %edi
	callq	_ISSQH
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	callq	_ISAVS2
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	movq	%r13, %rax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rbx
	jmp	LBB0_14
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %r12d
	leaq	-44(%rbp), %rbx
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_ISPIC
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	leaq	-44(%rbp), %rbx
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %edi
	callq	_ISEND
	testq	%rax, %rax
	leaq	-44(%rbp), %rbx
	je	LBB0_14
LBB0_15:
	xorl	%eax, %eax
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.16:
	cmpl	$21, %r12d
	jl	LBB0_19
## %bb.17:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.18:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$2, %eax
	jmp	LBB0_19
LBB0_9:
	xorl	%eax, %eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_avs2_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avs2_probe
_avs2_probe:                            ; @avs2_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	w8, #-1
	str	w8, [sp, #12]
	ldr	x19, [x0]
	ldrsw	x20, [x0, #8]
	mov	x0, x19
	bl	_AV_RB32
	cmp	w0, #432
	ccmp	w20, #1, #8, eq
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_16
LBB0_2:
	mov	x25, #0
	mov	w24, #0
	mov	w22, #0
	mov	w23, #0
	add	x20, x19, x20, lsl #2
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_ISPIC
	cbz	x0, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x19, x20
	b.hs	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_avpriv_find_start_code
	mov	x19, x0
	ldr	w8, [sp, #12]
	and	w9, w8, #0xffffff00
	cmp	w9, #256
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w21, w8, #0xff
	mov	x0, x21
	bl	_ISUNIT
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x19, x25
	cmp	w23, #0
	ccmp	x25, #0, #4, eq
	lsr	x8, x8, #2
	csel	w23, w23, w8, eq
	mov	x0, x21
	bl	_ISSQH
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
	bl	_ISAVS2
	cbz	w0, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	mov	x25, x19
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_ISEND
	cbz	x0, LBB0_5
LBB0_12:
	mov	w0, #0
	cbz	w24, LBB0_16
; %bb.13:
	cmp	w23, #21
	b.lt	LBB0_16
; %bb.14:
	cbz	w22, LBB0_16
; %bb.15:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w0, w8, #2
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_avs2_probe
.subsections_via_symbols
