	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function graph_port_parameter_set
_graph_port_parameter_set:              ## @graph_port_parameter_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	24(%rax), %rax
	movq	(%rax), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	*%rax
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_find_port_from_graph
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_mmal_port_parameter_set
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.5:
	movq	(%r15), %rcx
	movq	_MMAL_PARAMETER_BUFFER_REQUIREMENTS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.6:
	movq	(%rbx), %r15
	cmpl	$0, (%r15)
	je	LBB0_10
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_graph_port_update_requirements
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movl	(%r15), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_9
LBB0_10:
	cmpl	$0, 4(%r15)
	je	LBB0_14
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_graph_port_update_requirements
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movl	4(%r15), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_13
	jmp	LBB0_14
LBB0_3:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
	.comm	_MMAL_EINVAL,8,3                ## @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_MMAL_PARAMETER_BUFFER_REQUIREMENTS,8,3 ## @MMAL_PARAMETER_BUFFER_REQUIREMENTS
	.no_dead_strip	_graph_port_parameter_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function graph_port_parameter_set
_graph_port_parameter_set:              ; @graph_port_parameter_set
	.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	x21, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #24]
	ldr	x19, [x8]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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_14
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_find_port_from_graph
	cbz	x0, LBB0_13
; %bb.3:
	mov	x1, x21
	bl	_mmal_port_parameter_set
Lloh3:
	adrp	x22, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.4:
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _MMAL_PARAMETER_BUFFER_REQUIREMENTS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MMAL_PARAMETER_BUFFER_REQUIREMENTS@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.5:
	ldr	x20, [x20]
	ldr	w8, [x20]
	cbz	w8, LBB0_9
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_graph_port_update_requirements
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldr	w8, [x20]
	cmp	x21, x8
	b.lo	LBB0_7
LBB0_9:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_14
; %bb.10:
	mov	x21, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x21, lsl #2]
	mov	x0, x19
	bl	_graph_port_update_requirements
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	ldr	w8, [x20, #4]
	cmp	x21, x8
	b.lo	LBB0_11
	b	LBB0_14
LBB0_13:
Lloh8:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
LBB0_14:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
	.comm	_MMAL_EINVAL,8,3                ; @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_MMAL_PARAMETER_BUFFER_REQUIREMENTS,8,3 ; @MMAL_PARAMETER_BUFFER_REQUIREMENTS
	.no_dead_strip	_graph_port_parameter_set
.subsections_via_symbols
