	.file	"extr_mmalomx_parameters.c_mmalomx_set_video_param.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mmalomx_set_video_param, @function
mmalomx_set_video_param:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR MMAL_PARAMETER_PROFILE[rip]
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	mov	DWORD PTR [rsp], eax
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 32[rsp], 0
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	mmalil_encoding_to_omx_video_coding@PLT
	mov	esi, DWORD PTR MMAL_PARAMETER_INTRAPERIOD[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	edx, r12d
	mov	r14d, eax
	call	mmal_port_parameter_set_uint32@PLT
	cmp	rax, QWORD PTR MMAL_SUCCESS[rip]
	je	.L2
.L7:
	mov	eax, DWORD PTR OMX_ErrorBadParameter[rip]
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, QWORD PTR 8[rsp]
	mov	esi, r14d
	mov	edi, r13d
	call	mmalil_omx_video_profile_to_mmal@PLT
	mov	esi, r14d
	mov	edi, ebp
	mov	QWORD PTR 8[r12], rax
	mov	r12, QWORD PTR 8[rsp]
	call	mmalil_omx_video_level_to_mmal@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rsp
	mov	QWORD PTR [r12], rax
	call	mmal_port_parameter_set@PLT
	mov	r8, rax
	cmp	r8, QWORD PTR MMAL_SUCCESS[rip]
	mov	eax, DWORD PTR OMX_ErrorNone[rip]
	je	.L1
	jmp	.L7
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mmalomx_set_video_param, .-mmalomx_set_video_param
	.comm	OMX_ErrorNone,4,4
	.comm	OMX_ErrorBadParameter,4,4
	.comm	MMAL_SUCCESS,8,8
	.comm	MMAL_PARAMETER_PROFILE,4,4
	.comm	MMAL_PARAMETER_INTRAPERIOD,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_mmalomx_parameters.c_mmalomx_set_video_param.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmalomx_set_video_param, %function
mmalomx_set_video_param:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0]
	ldr	lr, .L10
	ldr	r0, [r0]
	mov	r5, r3
	ldr	lr, [lr]
	ldr	r3, .L10+4
	sub	sp, sp, #32
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r7, r1
	mov	r6, r2
	str	lr, [sp, #4]
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	str	ip, [sp, #24]
	bl	mmalil_encoding_to_omx_video_coding
	mov	r3, r0
	ldr	r1, .L10+8
	mov	r2, r5
	ldr	r0, [r4]
	ldr	r1, [r1]
	mov	r5, r3
	bl	mmal_port_parameter_set_uint32
	ldr	r8, .L10+12
	ldr	r3, [r8]
	cmp	r0, r3
	beq	.L2
.L7:
	ldr	r3, .L10+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, r5
	mov	r0, r7
	ldr	r7, [sp, #8]
	bl	mmalil_omx_video_profile_to_mmal
	mov	r1, r5
	str	r0, [r7, #4]
	mov	r0, r6
	ldr	r5, [sp, #8]
	bl	mmalil_omx_video_level_to_mmal
	add	r1, sp, #4
	str	r0, [r5]
	ldr	r0, [r4]
	bl	mmal_port_parameter_set
	ldr	r3, [r8]
	cmp	r0, r3
	bne	.L7
	ldr	r3, .L10+20
	ldr	r0, [r3]
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	MMAL_PARAMETER_PROFILE
	.word	.LC0
	.word	MMAL_PARAMETER_INTRAPERIOD
	.word	MMAL_SUCCESS
	.word	OMX_ErrorBadParameter
	.word	OMX_ErrorNone
	.size	mmalomx_set_video_param, .-mmalomx_set_video_param
	.comm	OMX_ErrorNone,4,4
	.comm	OMX_ErrorBadParameter,4,4
	.comm	MMAL_SUCCESS,4,4
	.comm	MMAL_PARAMETER_PROFILE,4,4
	.comm	MMAL_PARAMETER_INTRAPERIOD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
