	.file	"extr_mmalomx_util_params_video.c_mmalomx_param_mapping_displayregion.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmalomx_param_mapping_displayregion, @function
mmalomx_param_mapping_displayregion:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r9, rdi
	mov	r13, rsi
	lea	r8, 40[rsi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	lea	rdi, 40[rdx]
	lea	r12, 36[rsi]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	rbp, 36[rdx]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR MMALOMX_PARAM_MAPPING_TO_MMAL[rip], r9
	je	.L6
	mov	eax, DWORD PTR 64[rsi]
	mov	DWORD PTR 64[rdx], eax
	mov	eax, DWORD PTR 60[rsi]
	mov	DWORD PTR 60[rdx], eax
	mov	eax, DWORD PTR 56[rsi]
	mov	DWORD PTR 56[rdx], eax
	mov	rax, QWORD PTR 48[rsi]
	mov	rsi, r8
	mov	QWORD PTR 48[rdx], rax
	call	rect_to_omx@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	rect_to_omx@PLT
	mov	eax, DWORD PTR 32[r13]
	mov	DWORD PTR 32[rbx], eax
	mov	rax, QWORD PTR 24[r13]
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR 16[r13]
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR 12[r13]
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR 8[r13]
	mov	DWORD PTR 8[rbx], eax
	mov	eax, DWORD PTR 4[r13]
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR [rbx], eax
.L3:
	mov	eax, DWORD PTR MMAL_SUCCESS[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR 64[rdx]
	mov	DWORD PTR 64[rsi], eax
	mov	eax, DWORD PTR 60[rdx]
	mov	DWORD PTR 60[rsi], eax
	mov	eax, DWORD PTR 56[rdx]
	mov	DWORD PTR 56[rsi], eax
	mov	rax, QWORD PTR 48[rdx]
	mov	QWORD PTR 48[rsi], rax
	mov	rsi, rdi
	mov	rdi, r8
	call	rect_to_mmal@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	rect_to_mmal@PLT
	mov	eax, DWORD PTR 32[rbx]
	mov	DWORD PTR 32[r13], eax
	mov	rax, QWORD PTR 24[rbx]
	mov	QWORD PTR 24[r13], rax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 16[r13], eax
	mov	eax, DWORD PTR 12[rbx]
	mov	DWORD PTR 12[r13], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 8[r13], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[r13], eax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 0[r13], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	mmalomx_param_mapping_displayregion, .-mmalomx_param_mapping_displayregion
	.comm	MMAL_SUCCESS,4,4
	.comm	MMALOMX_PARAM_MAPPING_TO_MMAL,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_mmalomx_util_params_video.c_mmalomx_param_mapping_displayregion.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmalomx_param_mapping_displayregion, %function
mmalomx_param_mapping_displayregion:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r2, .L7
	mov	r7, r1
	ldr	ip, [r2]
	add	r3, r4, #32
	cmp	ip, r0
	add	r2, r1, #32
	add	r5, r4, #28
	add	r6, r1, #28
	beq	.L6
	ldr	lr, [r1, #48]
	ldr	ip, [r1, #44]
	mov	r0, r3
	mov	r1, r2
	ldr	r3, [r7, #36]
	ldr	r2, [r7, #40]
	str	lr, [r4, #48]
	str	ip, [r4, #44]
	str	r2, [r4, #40]
	str	r3, [r4, #36]
	bl	rect_to_omx
	mov	r1, r6
	mov	r0, r5
	bl	rect_to_omx
	ldr	r5, [r7, #24]
	ldr	r1, [r7, #8]
	ldr	r2, [r7, #4]
	ldr	r3, [r7]
	add	r0, r7, #12
	ldm	r0, {r0, ip, lr}
	str	r5, [r4, #24]
	str	lr, [r4, #20]
	str	ip, [r4, #16]
	str	r0, [r4, #12]
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r3, [r4]
.L3:
	ldr	r3, .L7+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	lr, [r4, #48]
	ldr	ip, [r4, #44]
	mov	r1, r3
	mov	r0, r2
	ldr	r3, [r4, #36]
	ldr	r2, [r4, #40]
	str	lr, [r7, #48]
	str	ip, [r7, #44]
	str	r2, [r7, #40]
	str	r3, [r7, #36]
	bl	rect_to_mmal
	mov	r1, r5
	mov	r0, r6
	bl	rect_to_mmal
	ldr	r5, [r4, #24]
	ldr	r1, [r4, #8]
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	add	r0, r4, #12
	ldm	r0, {r0, ip, lr}
	str	r5, [r7, #24]
	str	lr, [r7, #20]
	str	ip, [r7, #16]
	str	r0, [r7, #12]
	str	r1, [r7, #8]
	str	r2, [r7, #4]
	str	r3, [r7]
	b	.L3
.L8:
	.align	2
.L7:
	.word	MMALOMX_PARAM_MAPPING_TO_MMAL
	.word	MMAL_SUCCESS
	.size	mmalomx_param_mapping_displayregion, .-mmalomx_param_mapping_displayregion
	.comm	MMAL_SUCCESS,4,4
	.comm	MMALOMX_PARAM_MAPPING_TO_MMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
