	.file	"extr_mirror.c_Filter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"can't get output picture"
	.text
	.p2align 4
	.type	Filter, @function
Filter:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L13
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR [rdi]
	lea	rdi, 4[r12]
	call	atomic_load@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	atomic_load@PLT
	mov	rdi, r15
	test	eax, eax
	sete	r14b
	call	filter_NewPicture@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR 0[rbp]
	xor	ebx, ebx
	test	eax, eax
	jg	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	call	VerticalMirror@PLT
	add	ebx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L5
.L4:
	mov	ecx, r14d
	mov	edx, ebx
	mov	rsi, r12
	mov	rdi, rbp
	test	r13d, r13d
	je	.L17
	call	HorizontalMirror@PLT
	add	ebx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L4
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	CopyInfoAndRelease@PLT
.L3:
	.cfi_restore_state
	mov	rdi, r15
	lea	rsi, .LC0[rip]
	call	msg_Warn@PLT
	mov	rdi, rbp
	call	picture_Release@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	Filter, .-Filter
	.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_mirror.c_Filter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can't get output picture\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Filter, %function
Filter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r1, #0
	beq	.L1
	ldr	r6, [r0]
	mov	r4, r0
	add	r0, r6, #4
	bl	atomic_load
	mov	r8, r0
	mov	r0, r6
	bl	atomic_load
	mov	r6, r0
	mov	r0, r4
	bl	filter_NewPicture
	clz	r6, r6
	subs	r7, r0, #0
	lsr	r6, r6, #5
	beq	.L3
	ldr	r3, [r5]
	cmp	r3, #0
	movgt	r4, #0
	bgt	.L4
	b	.L5
.L14:
	bl	VerticalMirror
	ldr	r2, [r5]
	add	r4, r4, #1
	cmp	r2, r4
	ble	.L5
.L4:
	cmp	r8, #0
	mov	r3, r6
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	beq	.L14
	bl	HorizontalMirror
	ldr	r2, [r5]
	add	r4, r4, #1
	cmp	r2, r4
	bgt	.L4
.L5:
	mov	r1, r5
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	CopyInfoAndRelease
.L3:
	mov	r0, r4
	ldr	r1, .L15
	bl	msg_Warn
	mov	r0, r5
	bl	picture_Release
.L1:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	Filter, .-Filter
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
