	.file	"extr_mmal_graph.c_graph_port_send.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	graph_port_send, @function
graph_port_send:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	mov	rsi, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	mov	r14, QWORD PTR [rax]
	mov	rdi, r14
	call	find_port_from_graph@PLT
	test	rax, rax
	je	.L8
	mov	r12, rax
	mov	rax, QWORD PTR [r14]
	test	rax, rax
	je	.L5
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	call	rax
	cmp	QWORD PTR MMAL_ENOSYS[rip], rax
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	mov	rdi, r12
	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
	jmp	mmal_port_send_buffer@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR MMAL_EINVAL[rip]
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	graph_port_send, .-graph_port_send
	.comm	MMAL_ENOSYS,8,8
	.comm	MMAL_EINVAL,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_mmal_graph.c_graph_port_send.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	graph_port_send, %function
graph_port_send:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r7, [r3]
	mov	r6, r1
	mov	r1, r0
	mov	r0, r7
	bl	find_port_from_graph
	subs	r5, r0, #0
	beq	.L8
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L5
	mov	r1, r4
	mov	r0, r7
	mov	r2, r6
	blx	r3
	ldr	r3, .L9
	ldr	r3, [r3]
	cmp	r3, r0
	popne	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	mmal_port_send_buffer
.L8:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	MMAL_ENOSYS
	.word	MMAL_EINVAL
	.size	graph_port_send, .-graph_port_send
	.comm	MMAL_ENOSYS,4,4
	.comm	MMAL_EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
