	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmv_probe
_tmv_probe:                             ## @tmv_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_AV_RL32
	movq	_TMV_TAG@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	(%rbx), %rdi
	addq	$16, %rdi
	callq	_AV_RL16
	movq	_PROBE_MIN_SAMPLE_RATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.2:
	movq	(%rbx), %rdi
	addq	$24, %rdi
	callq	_AV_RL16
	movq	_PROBE_MIN_AUDIO_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	cmpl	$0, 32(%rax)
	jne	LBB0_7
## %bb.4:
	movl	36(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.5:
	movl	40(%rax), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.6:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	$40, %ecx
	xorl	$25, %edx
	xorl	%esi, %esi
	orl	%ecx, %edx
	setne	%sil
	leal	(%rsi,%rsi,2), %ecx
	incl	%ecx
	cltd
	idivl	%ecx
	movl	%eax, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMV_TAG,8,3                    ## @TMV_TAG
	.comm	_PROBE_MIN_SAMPLE_RATE,8,3      ## @PROBE_MIN_SAMPLE_RATE
	.comm	_PROBE_MIN_AUDIO_SIZE,8,3       ## @PROBE_MIN_AUDIO_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_tmv_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmv_probe
_tmv_probe:                             ; @tmv_probe
	.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
	mov	x19, x0
	ldr	x0, [x0]
	bl	_AV_RL32
Lloh0:
	adrp	x8, _TMV_TAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMV_TAG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_AV_RL16
Lloh3:
	adrp	x8, _PROBE_MIN_SAMPLE_RATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROBE_MIN_SAMPLE_RATE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_4
; %bb.2:
	ldr	x8, [x19]
	add	x0, x8, #24
	bl	_AV_RL16
Lloh6:
	adrp	x8, _PROBE_MIN_AUDIO_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PROBE_MIN_AUDIO_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_4
; %bb.3:
	ldr	x9, [x19]
	ldr	w8, [x9, #32]
	cbz	w8, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x9, #36]
	cbz	w8, LBB0_4
; %bb.7:
	ldr	w9, [x9, #40]
	cbz	w9, LBB0_4
; %bb.8:
Lloh9:
	adrp	x10, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, #25
	mov	w9, #40
	ccmp	w8, w9, #0, eq
	mov	w8, #4
	csinc	w8, w8, wzr, ne
	sdiv	w0, w10, w8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TMV_TAG,8,3                    ; @TMV_TAG
	.comm	_PROBE_MIN_SAMPLE_RATE,8,3      ; @PROBE_MIN_SAMPLE_RATE
	.comm	_PROBE_MIN_AUDIO_SIZE,8,3       ; @PROBE_MIN_AUDIO_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_tmv_probe
.subsections_via_symbols
