	.file	"extr_mmalomx_core.c_mmalomx_ComponentSetCallbacks.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"hComponent %p, pCallbacks %p, pAppData %p"
	.text
	.p2align 4
	.type	mmalomx_ComponentSetCallbacks, @function
mmalomx_ComponentSetCallbacks:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	MMAL_PARAM_UNUSED@PLT
	mov	ecx, r12d
	mov	rdx, rbp
	mov	rsi, rbx
	lea	rdi, .LC0[rip]
	call	LOG_TRACE@PLT
	mov	eax, DWORD PTR OMX_ErrorInvalidComponent[rip]
	test	rbx, rbx
	je	.L1
	mov	eax, DWORD PTR OMX_ErrorBadParameter[rip]
	test	rbp, rbp
	je	.L1
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR OMX_StateInvalid[rip]
	je	.L6
	cmp	rax, QWORD PTR OMX_StateLoaded[rip]
	jne	.L6
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 8[rbx], r12d
	mov	DWORD PTR 12[rbx], eax
	mov	eax, DWORD PTR OMX_ErrorNone[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L6:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR OMX_ErrorInvalidState[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mmalomx_ComponentSetCallbacks, .-mmalomx_ComponentSetCallbacks
	.comm	OMX_StateLoaded,8,8
	.comm	OMX_StateInvalid,8,8
	.comm	OMX_ErrorNone,4,4
	.comm	OMX_ErrorInvalidState,4,4
	.comm	OMX_ErrorInvalidComponent,4,4
	.comm	OMX_ErrorBadParameter,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_core.c_mmalomx_ComponentSetCallbacks.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"hComponent %p, pCallbacks %p, pAppData %p\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmalomx_ComponentSetCallbacks, %function
mmalomx_ComponentSetCallbacks:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	bl	MMAL_PARAM_UNUSED
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L11
	bl	LOG_TRACE
	cmp	r4, #0
	beq	.L9
	cmp	r5, #0
	beq	.L10
	ldr	r2, .L11+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L6
	ldr	r2, .L11+8
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L6
	ldr	r3, [r5]
	ldr	r2, .L11+12
	str	r3, [r4, #8]
	ldr	r0, [r2]
	str	r6, [r4, #4]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L11+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L11+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, .L11+24
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	OMX_StateInvalid
	.word	OMX_StateLoaded
	.word	OMX_ErrorNone
	.word	OMX_ErrorInvalidState
	.word	OMX_ErrorInvalidComponent
	.word	OMX_ErrorBadParameter
	.size	mmalomx_ComponentSetCallbacks, .-mmalomx_ComponentSetCallbacks
	.comm	OMX_StateLoaded,4,4
	.comm	OMX_StateInvalid,4,4
	.comm	OMX_ErrorNone,4,4
	.comm	OMX_ErrorInvalidState,4,4
	.comm	OMX_ErrorInvalidComponent,4,4
	.comm	OMX_ErrorBadParameter,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
