	.file	"extr_es_format.c_video_format_TransformBy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	video_format_TransformBy
	.type	video_format_TransformBy, @function
video_format_TransformBy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, esi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 16[rsp]
	lea	rsi, 8[rsp]
	call	transform_GetBasicOps@PLT
	mov	edi, DWORD PTR [rbx]
	lea	rdx, 20[rsp]
	lea	rsi, 12[rsp]
	call	transform_GetBasicOps@PLT
	mov	eax, DWORD PTR 12[rsp]
	mov	rbp, QWORD PTR ORIENT_NORMAL[rip]
	mov	ecx, DWORD PTR 16[rsp]
	lea	edx, 360[rax]
	sub	edx, DWORD PTR 8[rsp]
	mov	eax, edx
	shr	eax, 3
	imul	rax, rax, 381774871
	shr	rax, 34
	imul	eax, eax, 360
	sub	edx, eax
	cmp	DWORD PTR 20[rsp], ecx
	je	.L2
	test	edx, edx
	jne	.L3
	mov	rbp, QWORD PTR ORIENT_HFLIPPED[rip]
.L4:
	mov	rdi, QWORD PTR [rbx]
	call	ORIENT_IS_SWAP@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	ORIENT_IS_SWAP@PLT
	cmp	r12, rax
	je	.L9
	mov	eax, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR 12[rbx]
	mov	ecx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 20[rbx]
	mov	edi, DWORD PTR 24[rbx]
	mov	r9d, DWORD PTR 28[rbx]
	mov	DWORD PTR 8[rbx], edx
	mov	r8d, DWORD PTR 32[rbx]
	mov	r10d, DWORD PTR 36[rbx]
	mov	DWORD PTR 16[rbx], esi
	mov	DWORD PTR 24[rbx], r9d
	mov	DWORD PTR 32[rbx], r10d
	mov	DWORD PTR 36[rbx], r8d
	mov	DWORD PTR 28[rbx], edi
	mov	DWORD PTR 20[rbx], ecx
	mov	DWORD PTR 12[rbx], eax
.L9:
	mov	QWORD PTR [rbx], rbp
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L3:
	.cfi_restore_state
	cmp	edx, 90
	je	.L14
	cmp	edx, 180
	je	.L15
	cmp	edx, 270
	cmove	rbp, QWORD PTR ORIENT_TRANSPOSED[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	edx, 90
	je	.L16
	cmp	edx, 180
	je	.L17
	cmp	edx, 270
	cmove	rbp, QWORD PTR ORIENT_ROTATED_270[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rbp, QWORD PTR ORIENT_ROTATED_180[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rbp, QWORD PTR ORIENT_VFLIPPED[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rbp, QWORD PTR ORIENT_ROTATED_90[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rbp, QWORD PTR ORIENT_ANTI_TRANSPOSED[rip]
	jmp	.L4
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	video_format_TransformBy, .-video_format_TransformBy
	.comm	ORIENT_VFLIPPED,8,8
	.comm	ORIENT_TRANSPOSED,8,8
	.comm	ORIENT_ROTATED_90,8,8
	.comm	ORIENT_ROTATED_270,8,8
	.comm	ORIENT_ROTATED_180,8,8
	.comm	ORIENT_NORMAL,8,8
	.comm	ORIENT_HFLIPPED,8,8
	.comm	ORIENT_ANTI_TRANSPOSED,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_es_format.c_video_format_TransformBy.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	video_format_TransformBy
	.syntax unified
	.arm
	.fpu softvfp
	.type	video_format_TransformBy, %function
video_format_TransformBy:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #24
	ldr	r3, .L18
	mov	r0, r1
	add	r2, sp, #12
	add	r1, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	transform_GetBasicOps
	add	r2, sp, #16
	add	r1, sp, #8
	ldr	r0, [r4]
	bl	transform_GetBasicOps
	ldr	r2, [sp, #8]
	ldr	r3, [sp, #4]
	add	r2, r2, #360
	ldr	r1, .L18+4
	sub	r2, r2, r3
	lsr	r3, r2, #3
	umull	r0, r3, r1, r3
	ldr	ip, [sp, #16]
	ldr	r0, [sp, #12]
	lsr	r3, r3, #2
	ldr	r1, .L18+8
	add	r3, r3, r3, lsl #1
	rsb	r3, r3, r3, lsl #4
	cmp	ip, r0
	ldr	r6, [r1]
	sub	r3, r2, r3, lsl #3
	beq	.L2
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L18+12
	ldr	r6, [r3]
.L4:
	ldr	r0, [r4]
	bl	ORIENT_IS_SWAP
	mov	r5, r0
	mov	r0, r6
	bl	ORIENT_IS_SWAP
	cmp	r5, r0
	beq	.L9
	ldmib	r4, {r0, r1, r2, r3}
	str	r0, [r4, #8]
	str	r1, [r4, #4]
	ldr	r0, [r4, #20]
	ldr	r1, [r4, #24]
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	ldr	r2, [r4, #28]
	ldr	r3, [r4, #32]
	str	r0, [r4, #24]
	str	r1, [r4, #20]
	str	r2, [r4, #32]
	str	r3, [r4, #28]
.L9:
	ldr	r3, .L18
	str	r6, [r4]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	cmp	r3, #90
	beq	.L14
	cmp	r3, #180
	beq	.L15
	ldr	r2, .L18+16
	cmp	r3, r2
	ldreq	r3, .L18+20
	ldreq	r6, [r3]
	b	.L4
.L2:
	cmp	r3, #90
	beq	.L16
	cmp	r3, #180
	beq	.L17
	ldr	r2, .L18+16
	cmp	r3, r2
	ldreq	r3, .L18+24
	ldreq	r6, [r3]
	b	.L4
.L17:
	ldr	r3, .L18+28
	ldr	r6, [r3]
	b	.L4
.L15:
	ldr	r3, .L18+32
	ldr	r6, [r3]
	b	.L4
.L16:
	ldr	r3, .L18+36
	ldr	r6, [r3]
	b	.L4
.L14:
	ldr	r3, .L18+40
	ldr	r6, [r3]
	b	.L4
.L13:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	381774871
	.word	ORIENT_NORMAL
	.word	ORIENT_HFLIPPED
	.word	270
	.word	ORIENT_TRANSPOSED
	.word	ORIENT_ROTATED_270
	.word	ORIENT_ROTATED_180
	.word	ORIENT_VFLIPPED
	.word	ORIENT_ROTATED_90
	.word	ORIENT_ANTI_TRANSPOSED
	.size	video_format_TransformBy, .-video_format_TransformBy
	.comm	ORIENT_VFLIPPED,4,4
	.comm	ORIENT_TRANSPOSED,4,4
	.comm	ORIENT_ROTATED_90,4,4
	.comm	ORIENT_ROTATED_270,4,4
	.comm	ORIENT_ROTATED_180,4,4
	.comm	ORIENT_NORMAL,4,4
	.comm	ORIENT_HFLIPPED,4,4
	.comm	ORIENT_ANTI_TRANSPOSED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
