	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sup_probe
_sup_probe:                             ## @sup_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r12
	xorl	%eax, %eax
	cmpq	$13, %r12
	jb	LBB0_17
## %bb.1:
	movq	(%rdi), %rbx
	movb	$1, %r15b
	movq	_SUP_PGS_MAGIC@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_AV_RB16
	cmpl	(%r13), %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	11(%rbx), %rdi
	callq	_AV_RB16
	addl	$13, %eax
	movslq	%eax, %rcx
	subq	%rcx, %r12
	jb	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r14), %eax
	cmpl	$9, %r14d
	setb	%r15b
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rcx, %rbx
	movl	%eax, %r14d
	cmpq	$12, %r12
	ja	LBB0_2
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_5:
	movl	%r14d, %eax
LBB0_8:
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.10:
	movq	_AVPROBE_SCORE_RETRY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	jmp	LBB0_17
LBB0_11:
	cmpl	$3, %eax
	ja	LBB0_13
## %bb.12:
	movq	_AVPROBE_SCORE_RETRY@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	testb	$1, %r15b
	je	LBB0_15
## %bb.14:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUP_PGS_MAGIC,4,2              ## @SUP_PGS_MAGIC
	.comm	_AVPROBE_SCORE_RETRY,4,2        ## @AVPROBE_SCORE_RETRY
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_sup_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sup_probe
_sup_probe:                             ; @sup_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, [x0, #8]
	cmp	x21, #13
	b.hs	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w22, #0
	ldr	x19, [x0]
	mov	w20, #1
Lloh0:
	adrp	x23, _SUP_PGS_MAGIC@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SUP_PGS_MAGIC@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_AV_RB16
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x19, #11
	bl	_AV_RB16
	add	w8, w0, #13
	sxtw	x8, w8
	subs	x21, x21, x8
	b.lo	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w0, w22, #1
	cmp	w22, #9
	cset	w20, lo
	cmp	w22, #8
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, x8
	mov	x22, x0
	cmp	x21, #12
	b.hi	LBB0_4
	b	LBB0_9
LBB0_8:
	mov	x0, x22
LBB0_9:
	cbz	w0, LBB0_2
; %bb.10:
	cmp	w0, #1
	b.ne	LBB0_12
; %bb.11:
Lloh2:
	adrp	x8, _AVPROBE_SCORE_RETRY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVPROBE_SCORE_RETRY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	b	LBB0_2
LBB0_12:
	cmp	w0, #3
	b.hi	LBB0_14
; %bb.13:
Lloh5:
	adrp	x8, _AVPROBE_SCORE_RETRY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVPROBE_SCORE_RETRY@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
	tbz	w20, #0, LBB0_16
; %bb.15:
Lloh7:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh9:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SUP_PGS_MAGIC,4,2              ; @SUP_PGS_MAGIC
	.comm	_AVPROBE_SCORE_RETRY,4,2        ; @AVPROBE_SCORE_RETRY
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_sup_probe
.subsections_via_symbols
