	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function splitter_port_format_commit
_splitter_port_format_commit:           ## @splitter_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_MMAL_PORT_TYPE_OUTPUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_LOG_ERROR
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	cmpl	$0, (%r15)
	je	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	movl	8(%r14), %esi
	callq	_mmal_format_full_copy
	cmpq	(%r12), %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	(%r15), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_4
	jmp	LBB0_8
LBB0_6:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_PORT_TYPE_OUTPUT,8,3      ## @MMAL_PORT_TYPE_OUTPUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"output port is read-only"

	.comm	_MMAL_EINVAL,8,3                ## @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.no_dead_strip	_splitter_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 splitter_port_format_commit
_splitter_port_format_commit:           ; @splitter_port_format_commit
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MMAL_PORT_TYPE_OUTPUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMAL_PORT_TYPE_OUTPUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_ERROR
Lloh5:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x21, #0
Lloh7:
	adrp	x22, _MMAL_SUCCESS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MMAL_SUCCESS@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_mmal_format_full_copy
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	w8, [x20]
	cmp	x21, x8
	b.lo	LBB0_4
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
LBB0_7:
	ldr	x0, [x8]
LBB0_8:
	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	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_PORT_TYPE_OUTPUT,8,3      ; @MMAL_PORT_TYPE_OUTPUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"output port is read-only"

	.comm	_MMAL_EINVAL,8,3                ; @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.no_dead_strip	_splitter_port_format_commit
.subsections_via_symbols
