	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_bfstm
_probe_bfstm:                           ## @probe_bfstm
	.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, %r14
	movq	(%rdi), %rdi
	callq	_AV_RL32
	movq	%rax, %rbx
	movl	$70, %edi
	movl	$83, %esi
	movl	$84, %edx
	movl	$77, %ecx
	callq	_MKTAG
	cmpq	%rax, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rdi
	callq	_AV_RL32
	movq	%rax, %rbx
	movl	$67, %edi
	movl	$83, %esi
	movl	$84, %edx
	movl	$77, %ecx
	callq	_MKTAG
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jne	LBB0_5
LBB0_2:
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_AV_RL16
	cmpl	$65534, %eax                    ## imm = 0xFFFE
	je	LBB0_4
## %bb.3:
	movq	(%r14), %rdi
	addq	$4, %rdi
	callq	_AV_RL16
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$65279, %ecx                    ## imm = 0xFEFF
	jne	LBB0_5
LBB0_4:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	addl	%eax, %eax
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_probe_bfstm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_bfstm
_probe_bfstm:                           ; @probe_bfstm
	.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
	mov	x20, x0
	mov	w0, #70
	mov	w1, #83
	mov	w2, #84
	mov	w3, #77
	bl	_MKTAG
	cmp	x20, x0
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19]
	bl	_AV_RL32
	mov	x20, x0
	mov	w0, #67
	mov	w1, #83
	mov	w2, #84
	mov	w3, #77
	bl	_MKTAG
	cmp	x20, x0
	b.ne	LBB0_5
LBB0_2:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_AV_RL16
	mov	w8, #65534
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_AV_RL16
	mov	w8, #65279
	cmp	w0, w8
	b.ne	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	lsl	w0, w8, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_probe_bfstm
.subsections_via_symbols
