	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function passthrough_port_format_commit
_passthrough_port_format_commit:        ## @passthrough_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
	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
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movq	8(%rdi), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %eax
	movl	16(%rdi), %esi
	movl	%eax, %edi
	popq	%rbp
	jmp	_mmal_format_full_copy          ## TAILCALL
	.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,4,2                ## @MMAL_EINVAL
	.no_dead_strip	_passthrough_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 passthrough_port_format_commit
_passthrough_port_format_commit:        ; @passthrough_port_format_commit
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	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]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
	ldr	w1, [x0, #16]
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_mmal_format_full_copy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.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,4,2                ; @MMAL_EINVAL
	.no_dead_strip	_passthrough_port_format_commit
.subsections_via_symbols
