	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function graph_port_enable
_graph_port_enable:                     ## @graph_port_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movl	%esi, %edi
	callq	_MMAL_PARAM_UNUSED
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_find_port_from_graph
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	20(%r15), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 16(%rbx)
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	*%rax
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_4:
	movq	%r14, 8(%rbx)
	movq	_graph_port_enable_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mmal_port_enable
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_graph_port_state_propagate
	movq	%rax, %rbx
	movq	(%r15), %rdi
	callq	_mmal_component_action_trigger
	movq	%rbx, %rax
	jmp	LBB0_6
LBB0_1:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_EINVAL,8,3                ## @MMAL_EINVAL
	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
	.comm	_graph_port_enable_cb,4,2       ## @graph_port_enable_cb
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.no_dead_strip	_graph_port_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function graph_port_enable
_graph_port_enable:                     ; @graph_port_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	mov	x0, x1
	bl	_MMAL_PARAM_UNUSED
	mov	x0, x20
	mov	x1, x19
	bl	_find_port_from_graph
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	d0, [x19, #16]
	str	d0, [x0, #16]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	blr	x8
Lloh0:
	adrp	x8, _MMAL_ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_3:
	str	x20, [x21, #8]
Lloh3:
	adrp	x8, _graph_port_enable_cb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _graph_port_enable_cb@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mmal_port_enable
Lloh6:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_graph_port_state_propagate
	mov	x20, x0
	ldr	x0, [x19]
	bl	_mmal_component_action_trigger
	mov	x0, x20
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_EINVAL,8,3                ; @MMAL_EINVAL
	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
	.comm	_graph_port_enable_cb,4,2       ; @graph_port_enable_cb
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.no_dead_strip	_graph_port_enable
.subsections_via_symbols
