	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function graph_port_format_commit
_graph_port_format_commit:              ## @graph_port_format_commit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	8(%rax), %rax
	movq	(%rax), %r15
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	8(%r15), %rdi
	movq	%r14, %rsi
	callq	*%rax
	movq	%rax, %rbx
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_2
LBB0_9:
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_graph_port_update
	movq	%rax, %rbx
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.10:
	movq	(%r14), %rax
	movq	_MMAL_PORT_TYPE_INPUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.11:
	cmpl	$0, (%r15)
	je	LBB0_15
## %bb.12:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %rsi
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_graph_port_update
	movq	%rax, %rbx
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%r12
	movl	(%r15), %eax
	cmpq	%rax, %r12
	jb	LBB0_14
	jmp	LBB0_15
LBB0_2:
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_15
LBB0_3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_find_port_from_graph
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movl	28(%rax), %edi
	movl	28(%r14), %esi
	callq	_mmal_format_full_copy
	movq	%rax, %rbx
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.6:
	movl	24(%r14), %eax
	movl	%eax, 24(%r12)
	movl	20(%r14), %eax
	movl	%eax, 20(%r12)
	movq	%r12, %rdi
	callq	_mmal_port_format_commit
	movq	%rax, %rbx
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_graph_port_format_commit_propagate
	cmpq	(%r13), %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	movl	16(%r12), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	callq	_LOG_ERROR
	jmp	LBB0_15
LBB0_4:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_15:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
	.comm	_MMAL_EINVAL,8,3                ## @MMAL_EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't propagate format commit of port %s(%p)"

	.comm	_MMAL_FALSE,4,2                 ## @MMAL_FALSE
	.comm	_MMAL_PORT_TYPE_INPUT,8,3       ## @MMAL_PORT_TYPE_INPUT
	.no_dead_strip	_graph_port_format_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function graph_port_format_commit
_graph_port_format_commit:              ; @graph_port_format_commit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	ldr	x20, [x8]
	mov	x0, x20
	ldr	x8, [x0, #8]!
	cbz	x8, LBB0_9
; %bb.1:
	mov	x1, x19
	blr	x8
Lloh0:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
LBB0_2:
Lloh3:
	adrp	x22, _MMAL_FALSE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MMAL_FALSE@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_graph_port_update
	mov	x21, x0
Lloh5:
	adrp	x23, _MMAL_SUCCESS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.3:
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _MMAL_PORT_TYPE_INPUT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MMAL_PORT_TYPE_INPUT@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.4:
	ldr	w8, [x20]
	cbz	w8, LBB0_15
; %bb.5:
	mov	x24, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x1, [x8, x24, lsl #3]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_graph_port_update
	mov	x21, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldr	w8, [x20]
	cmp	x24, x8
	b.lo	LBB0_6
	b	LBB0_15
LBB0_8:
	mov	x21, x0
Lloh10:
	adrp	x8, _MMAL_ENOSYS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MMAL_ENOSYS@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_find_port_from_graph
	cbz	x0, LBB0_14
; %bb.10:
	mov	x22, x0
	ldr	w0, [x0, #28]
	ldr	w1, [x19, #28]
	bl	_mmal_format_full_copy
	mov	x21, x0
Lloh13:
	adrp	x23, _MMAL_SUCCESS@GOTPAGE
Lloh14:
	ldr	x23, [x23, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.11:
	ldur	d0, [x19, #20]
	stur	d0, [x22, #20]
	mov	x0, x22
	bl	_mmal_port_format_commit
	mov	x21, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.12:
	mov	x0, x20
	mov	x1, x22
	bl	_graph_port_format_commit_propagate
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.13:
	mov	x21, x0
	ldr	w1, [x22, #16]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	bl	_LOG_ERROR
	b	LBB0_15
LBB0_14:
Lloh17:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	x21, [x8]
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
	.comm	_MMAL_EINVAL,8,3                ; @MMAL_EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't propagate format commit of port %s(%p)"

	.comm	_MMAL_FALSE,4,2                 ; @MMAL_FALSE
	.comm	_MMAL_PORT_TYPE_INPUT,8,3       ; @MMAL_PORT_TYPE_INPUT
	.no_dead_strip	_graph_port_format_commit
.subsections_via_symbols
