	.file	"extr_video.c_validate_window_opt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"help"
.LC1:
	.string	"%.*s"
.LC2:
	.string	"Available windows:\n"
.LC3:
	.string	"    %s\n"
.LC4:
	.string	"No window named '%s' found!\n"
	.text
	.p2align 4
	.type	validate_window_opt, @function
validate_window_opt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, ecx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 16[rsp], 0
	movaps	XMMWORD PTR [rsp], xmm0
	call	bstr_equals0@PLT
	test	rax, rax
	je	.L2
	mov	r12d, DWORD PTR M_OPT_EXIT[rip]
.L3:
	test	r12d, r12d
	jle	.L15
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	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	edi, r12d
	mov	r12, rsp
	call	BSTR_P@PLT
	mov	rdi, r12
	mov	esi, 20
	lea	rdx, .LC1[rip]
	mov	rcx, rax
	call	snprintf@PLT
	mov	rdi, r12
	mov	r12d, 1
	call	mp_find_filter_window@PLT
	test	rax, rax
	jne	.L1
	mov	r12d, DWORD PTR M_OPT_INVALID[rip]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	mp_info@PLT
	mov	rax, QWORD PTR mp_filter_windows[rip]
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	je	.L5
	mov	ebx, 8
	lea	r13, .LC3[rip]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, r13
	mov	rdi, rbp
	xor	eax, eax
	call	mp_info@PLT
	mov	rax, QWORD PTR mp_filter_windows[rip]
	mov	rdx, QWORD PTR [rax+rbx]
	add	rbx, 8
	test	rdx, rdx
	jne	.L6
.L5:
	cmp	BYTE PTR [rsp], 0
	je	.L1
	mov	rdx, rsp
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	mp_fatal@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	validate_window_opt, .-validate_window_opt
	.comm	mp_filter_windows,8,8
	.comm	M_OPT_INVALID,4,4
	.comm	M_OPT_EXIT,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_video.c_validate_window_opt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"help\000"
	.align	2
.LC1:
	.ascii	"%.*s\000"
	.align	2
.LC2:
	.ascii	"Available windows:\012\000"
	.align	2
.LC3:
	.ascii	"    %s\012\000"
	.align	2
.LC4:
	.ascii	"No window named '%s' found!\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_window_opt, %function
validate_window_opt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	mov	r5, r0
	mov	r0, r3
	ldr	r3, .L20
	sub	sp, sp, #24
	ldr	r1, .L20+4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	str	r2, [sp]
	str	r2, [sp, #4]
	str	r2, [sp, #8]
	str	r2, [sp, #12]
	str	r2, [sp, #16]
	bl	bstr_equals0
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L20+8
	ldr	r6, [r3]
.L3:
	cmp	r6, #0
	ble	.L18
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r6
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r4
	bl	BSTR_P
	mov	r1, #20
	mov	r3, r0
	ldr	r2, .L20+12
	mov	r0, sp
	bl	snprintf
	mov	r0, sp
	bl	mp_find_filter_window
	cmp	r0, #0
	movne	r6, #1
	bne	.L1
	ldr	r3, .L20+16
	ldr	r6, [r3]
	b	.L3
.L18:
	ldr	r7, .L20+20
	mov	r0, r5
	ldr	r1, .L20+24
	bl	mp_info
	ldr	r3, [r7]
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L5
	mov	r4, #4
	ldr	r8, .L20+28
.L6:
	mov	r1, r8
	mov	r0, r5
	bl	mp_info
	ldr	r3, [r7]
	ldr	r2, [r3, r4]
	add	r4, r4, #4
	cmp	r2, #0
	bne	.L6
.L5:
	ldrb	r3, [sp]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L1
	mov	r0, r5
	mov	r2, sp
	ldr	r1, .L20+32
	bl	mp_fatal
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC5
	.word	.LC0
	.word	M_OPT_EXIT
	.word	.LC1
	.word	M_OPT_INVALID
	.word	mp_filter_windows
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	validate_window_opt, .-validate_window_opt
	.comm	mp_filter_windows,4,4
	.comm	M_OPT_INVALID,4,4
	.comm	M_OPT_EXIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
