	.file	"extr_obs-source.c_async_tick.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	async_tick, @function
async_tick:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR obs[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	lea	rbp, 12[rdi]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rbp
	mov	r12d, DWORD PTR [rax]
	call	pthread_mutex_lock@PLT
	mov	rdi, rbx
	call	deinterlacing_enabled@PLT
	test	rax, rax
	jne	.L14
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	je	.L4
	mov	rdi, rbx
	call	remove_async_frame@PLT
	mov	QWORD PTR [rbx], 0
.L4:
	mov	esi, r12d
	mov	rdi, rbx
	call	get_closest_frame@PLT
	mov	QWORD PTR [rbx], rax
.L3:
	mov	DWORD PTR 16[rbx], r12d
	mov	rdi, rbp
	call	pthread_mutex_unlock@PLT
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	je	.L1
	mov	rdi, rbx
	call	set_async_texture_size@PLT
	mov	DWORD PTR 8[rbx], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, rbx
	call	deinterlace_process_last_frame@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	async_tick, .-async_tick
	.comm	obs,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-source.c_async_tick.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	async_tick, %function
async_tick:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L15
	add	r7, r0, #8
	ldr	r3, [r3]
	mov	r0, r7
	ldr	r6, [r3]
	bl	pthread_mutex_lock
	mov	r0, r4
	bl	deinterlacing_enabled
	subs	r5, r0, #0
	bne	.L14
	ldr	r1, [r4]
	cmp	r1, #0
	beq	.L4
	mov	r0, r4
	bl	remove_async_frame
	str	r5, [r4]
.L4:
	mov	r1, r6
	mov	r0, r4
	bl	get_closest_frame
	str	r0, [r4]
.L3:
	mov	r0, r7
	str	r6, [r4, #12]
	bl	pthread_mutex_unlock
	ldr	r1, [r4]
	cmp	r1, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r4
	bl	set_async_texture_size
	str	r0, [r4, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r1, r6
	mov	r0, r4
	bl	deinterlace_process_last_frame
	b	.L3
.L16:
	.align	2
.L15:
	.word	obs
	.size	async_tick, .-async_tick
	.comm	obs,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
