	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nc_probe
_nc_probe:                              ## @nc_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	8(%rdi), %rdi
	callq	_AV_RB32
	movq	%rax, %rcx
	movq	_NC_VIDEO_FLAG@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	cmpq	(%r14), %rcx
	jne	LBB0_5
## %bb.1:
	movq	8(%rbx), %rdi
	addq	$5, %rdi
	callq	_AV_RL16
                                        ## kill: def $eax killed $eax def $rax
	leal	20(%rax), %ecx
	cmpl	(%rbx), %ecx
	jle	LBB0_3
## %bb.2:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	3(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$2, %eax
	jmp	LBB0_5
LBB0_3:
	movq	8(%rbx), %rcx
	cltq
	leaq	(%rax,%rcx), %rdi
	addq	$16, %rdi
	callq	_AV_RB32
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	(%r14), %rcx
	jne	LBB0_5
## %bb.4:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NC_VIDEO_FLAG,8,3              ## @NC_VIDEO_FLAG
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_nc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nc_probe
_nc_probe:                              ; @nc_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, #8]
	bl	_AV_RB32
Lloh0:
	adrp	x20, _NC_VIDEO_FLAG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NC_VIDEO_FLAG@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	add	x0, x8, #5
	bl	_AV_RL16
	add	w8, w0, #20
	ldr	w9, [x19]
	cmp	w8, w9
	b.le	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19, #8]
	add	x8, x8, w0, sxtw
	add	x0, x8, #16
	bl	_AV_RB32
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x0, x8
	csel	w0, w9, wzr, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NC_VIDEO_FLAG,8,3              ; @NC_VIDEO_FLAG
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_nc_probe
.subsections_via_symbols
