	.file	"extr_obs-audio.c_audio_buffer_insuffient.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	audio_buffer_insuffient, @function
audio_buffer_insuffient:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR 16[rdi], 0
	jne	.L4
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jne	.L4
	mov	rdi, rsi
	mov	esi, DWORD PTR 4[rbx]
	test	esi, esi
	je	.L4
	mov	rbp, QWORD PTR AUDIO_OUTPUT_FRAMES[rip]
	cmp	esi, edx
	je	.L5
	lea	eax, -1[rdx]
	cmp	esi, eax
	je	.L5
	sub	esi, edx
	call	convert_time_to_frames@PLT
	cmp	QWORD PTR AUDIO_OUTPUT_FRAMES[rip], rax
	jbe	.L4
	sub	rbp, rax
.L5:
	mov	rax, QWORD PTR 8[rbx]
	sal	rbp, 2
	cmp	QWORD PTR [rax], rbp
	jb	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	DWORD PTR [rbx], 1
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	audio_buffer_insuffient, .-audio_buffer_insuffient
	.comm	AUDIO_OUTPUT_FRAMES,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_obs-audio.c_audio_buffer_insuffient.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	audio_buffer_insuffient, %function
audio_buffer_insuffient:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	bne	.L4
	mov	r0, r1
	ldr	r1, [r4, #4]
	cmp	r1, #0
	beq	.L4
	ldr	r5, .L15
	cmp	r1, r2
	ldr	r6, [r5]
	beq	.L5
	sub	r3, r2, #1
	cmp	r1, r3
	beq	.L5
	sub	r1, r1, r2
	bl	convert_time_to_frames
	ldr	r3, [r5]
	cmp	r3, r0
	bls	.L4
	sub	r6, r6, r0
.L5:
	ldr	r3, [r4, #8]
	ldr	r3, [r3]
	cmp	r3, r6, lsl #2
	bcc	.L14
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, #0
	bx	lr
.L14:
	mov	r3, #1
	mov	r0, r3
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L16:
	.align	2
.L15:
	.word	AUDIO_OUTPUT_FRAMES
	.size	audio_buffer_insuffient, .-audio_buffer_insuffient
	.comm	AUDIO_OUTPUT_FRAMES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
