	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function stream_has_enough_packets
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stream_has_enough_packets:             ## @stream_has_enough_packets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$1, %eax
	testl	%esi, %esi
	js	LBB0_6
## %bb.1:
	movq	%rdx, %rbx
	cmpq	$0, 16(%rdx)
	jne	LBB0_6
## %bb.2:
	movq	_AV_DISPOSITION_ATTACHED_PIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	jne	LBB0_6
## %bb.3:
	movq	(%rbx), %rcx
	movq	_MIN_FRAMES@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jle	LBB0_6
## %bb.4:
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	movl	$1, %eax
	jne	LBB0_5
	jnp	LBB0_6
LBB0_5:
	movl	4(%rdi), %edi
	callq	_av_q2d
	mulsd	8(%rbx), %xmm0
	xorl	%eax, %eax
	ucomisd	LCPI0_0(%rip), %xmm0
	seta	%al
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_DISPOSITION_ATTACHED_PIC,4,2 ## @AV_DISPOSITION_ATTACHED_PIC
	.comm	_MIN_FRAMES,8,3                 ## @MIN_FRAMES
	.no_dead_strip	_stream_has_enough_packets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_has_enough_packets
_stream_has_enough_packets:             ; @stream_has_enough_packets
	.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
	tbnz	w1, #31, LBB0_3
; %bb.1:
	mov	x19, x2
	ldr	x8, [x2, #16]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AV_DISPOSITION_ATTACHED_PIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_DISPOSITION_ATTACHED_PIC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _MIN_FRAMES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIN_FRAMES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_8
; %bb.6:
	ldr	d0, [x19, #8]
	fcmp	d0, #0.0
	b.eq	LBB0_3
; %bb.7:
	ldr	w0, [x0, #4]
	bl	_av_q2d
	ldr	d1, [x19, #8]
	fmul	d0, d0, d1
	fmov	d1, #1.00000000
	fcmp	d0, d1
	cset	w0, gt
	b	LBB0_4
LBB0_8:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_DISPOSITION_ATTACHED_PIC,4,2 ; @AV_DISPOSITION_ATTACHED_PIC
	.comm	_MIN_FRAMES,8,3                 ; @MIN_FRAMES
	.no_dead_strip	_stream_has_enough_packets
.subsections_via_symbols
