	.file	"extr_vo_vaapi.c_control.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	control, @function
control:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	esi, 128
	je	.L2
	mov	rbp, rdi
	mov	r8d, esi
	cmp	esi, 129
	jne	.L3
	mov	eax, DWORD PTR 0[r13]
	mov	r12d, 1
	mov	DWORD PTR 4[r13], eax
	call	draw_osd@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r13
	call	resize@PLT
	mov	r12d, DWORD PTR VO_TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rsi, 4[rsp]
	mov	rcx, rdx
	mov	edx, r8d
	mov	DWORD PTR 4[rsp], 0
	call	vo_x11_control@PLT
	mov	esi, DWORD PTR 4[rsp]
	mov	r12d, eax
	test	DWORD PTR VO_EVENT_RESIZE[rip], esi
	jne	.L17
.L5:
	test	DWORD PTR VO_EVENT_EXPOSE[rip], esi
	je	.L6
	mov	DWORD PTR 0[rbp], 1
.L6:
	mov	rdi, rbp
	call	vo_event@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r13
	call	resize@PLT
	mov	esi, DWORD PTR 4[rsp]
	jmp	.L5
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	control, .-control
	.comm	VO_TRUE,4,4
	.comm	VO_EVENT_RESIZE,4,4
	.comm	VO_EVENT_EXPOSE,4,4
	.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_vo_vaapi.c_control.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	control, %function
control:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L18
	sub	sp, sp, #8
	cmp	r1, #128
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r6, [r0, #4]
	beq	.L2
	cmp	r1, #129
	bne	.L3
	ldr	r3, [r6]
	mov	r5, #1
	str	r3, [r6, #4]
	bl	draw_osd
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r0, r6
	bl	resize
	ldr	r3, .L18+4
	ldr	r5, [r3]
	b	.L1
.L3:
	mov	ip, #0
	mov	r3, r2
	mov	r2, r1
	mov	r1, sp
	mov	r4, r0
	str	ip, [sp]
	bl	vo_x11_control
	ldr	r3, .L18+8
	ldr	r1, [sp]
	ldr	r3, [r3]
	mov	r5, r0
	tst	r1, r3
	bne	.L17
.L5:
	ldr	r3, .L18+12
	mov	r0, r4
	ldr	r3, [r3]
	tst	r1, r3
	movne	r3, #1
	strne	r3, [r4]
	bl	vo_event
	b	.L1
.L17:
	mov	r0, r6
	bl	resize
	ldr	r1, [sp]
	b	.L5
.L16:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	VO_TRUE
	.word	VO_EVENT_RESIZE
	.word	VO_EVENT_EXPOSE
	.size	control, .-control
	.comm	VO_TRUE,4,4
	.comm	VO_EVENT_RESIZE,4,4
	.comm	VO_EVENT_EXPOSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
