	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adts_aac_probe
_adts_aac_probe:                        ## @adts_aac_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
	movq	8(%rdi), %rcx
	movslq	(%rdi), %rax
	leaq	(%rcx,%rax,4), %r13
	addq	$-28, %r13
	xorl	%r12d, %r12d
	cmpq	%r13, %rcx
	jae	LBB0_15
## %bb.1:
	xorl	%eax, %eax
	movq	%rcx, %r14
	xorl	%r12d, %r12d
	movq	%rcx, %rbx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	movl	$0, %eax
	cmovnel	%eax, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	callq	_FFMAX
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %r14
	cmovel	%r15d, %r12d
	addq	$4, %rbx
	movq	%rbx, %r14
	cmpq	%r13, %rbx
	jae	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$0, %r15d
	cmpq	%r13, %r14
	jae	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_AV_RB16
	andl	$65526, %eax                    ## imm = 0xFFF6
	cmpl	$65520, %eax                    ## imm = 0xFFF0
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	12(%rbx), %rdi
	callq	_AV_RB32
	shrl	$13, %eax
	andl	$8191, %eax                     ## imm = 0x1FFF
	cmpl	$7, %eax
	jb	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r13, %rsi
	subq	%rbx, %rsi
	shrq	$2, %rsi
	movl	%eax, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FFMIN
	cltq
	leaq	(%rbx,%rax,4), %rbx
	incl	%r15d
	cmpq	%r13, %rbx
	jb	LBB0_4
	jmp	LBB0_8
LBB0_9:
	cmpl	$3, %r12d
	jl	LBB0_11
## %bb.10:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	jmp	LBB0_16
LBB0_11:
	cmpl	$101, %eax
	jl	LBB0_13
## %bb.12:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_13:
	cmpl	$3, %eax
	jl	LBB0_15
## %bb.14:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	jmp	LBB0_16
LBB0_15:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setg	%al
LBB0_16:
	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	_adts_aac_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adts_aac_probe
_adts_aac_probe:                        ; @adts_aac_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x23, [x0, #8]
	ldrsw	x8, [x0]
	add	x8, x23, x8, lsl #2
	sub	x24, x8, #28
	cmp	x23, x24
	b.hs	LBB0_10
; %bb.1:
	mov	w19, #0
	mov	w22, #0
	mov	w25, #65526
	mov	w26, #65520
	mov	x27, x23
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	mov	x21, x27
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_FFMAX
	mov	x19, x0
	cmp	x27, x23
	csel	w22, w20, w22, eq
	add	x27, x21, #4
	cmp	x27, x24
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	x27, x24
	b.hs	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	mov	x21, x27
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_AV_RB16
	and	w8, w0, w25
	cmp	w8, w26
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x0, x21, #12
	bl	_AV_RB32
	ubfx	w0, w0, #13, #13
	cmp	w0, #7
	b.lo	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	sub	x8, x24, x21
	lsr	x1, x8, #2
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_FFMIN
	add	x21, x21, w0, sxtw #2
	add	w20, w20, #1
	cmp	x21, x24
	b.lo	LBB0_6
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x27, x23
	csel	w20, w20, wzr, eq
	b	LBB0_3
LBB0_10:
	mov	w22, #0
LBB0_11:
	cmp	w22, #0
	cset	w0, gt
	b	LBB0_18
LBB0_12:
	cmp	w22, #3
	b.lt	LBB0_14
; %bb.13:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w0, w8, #1
	b	LBB0_18
LBB0_14:
	cmp	w19, #101
	b.lt	LBB0_16
; %bb.15:
Lloh3:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_18
LBB0_16:
	cmp	w19, #3
	b.lt	LBB0_11
; %bb.17:
Lloh6:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
LBB0_18:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_adts_aac_probe
.subsections_via_symbols
