	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_vc_port_set_format
_mmal_vc_port_set_format:               ## @mmal_vc_port_set_format
	.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, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	callq	_mmal_vc_port_info_set
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_mmal_vc_port_info_get
	movq	%rax, %r14
	cmpq	(%r12), %rax
	jne	LBB0_10
## %bb.2:
	movq	(%rbx), %rax
	movq	_MMAL_PORT_TYPE_INPUT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.3:
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	xorl	%ebx, %ebx
	movq	_MMAL_PORT_TYPE_OUTPUT@GOTPCREL(%rip), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	(%rcx), %rdi
	movq	(%rdi), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_mmal_vc_port_info_get
	movq	%rax, %r14
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %eax
	jmp	LBB0_5
LBB0_9:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mmal_status_to_string
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	callq	_mmal_status_to_string
	leaq	L_.str.1(%rip), %rdi
LBB0_11:
	movq	%rbx, %rsi
	movq	%rax, %rdx
LBB0_12:
	callq	_LOG_ERROR
LBB0_13:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rdx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mmal_vc_port_info_set failed %p (%s)"

L_.str.1:                               ## @.str.1
	.asciz	"mmal_vc_port_info_get failed %p (%s)"

	.comm	_MMAL_PORT_TYPE_INPUT,8,3       ## @MMAL_PORT_TYPE_INPUT
	.comm	_MMAL_PORT_TYPE_OUTPUT,8,3      ## @MMAL_PORT_TYPE_OUTPUT
L_.str.2:                               ## @.str.2
	.asciz	"mmal_vc_port_info_get failed %p (%i)"

	.no_dead_strip	_mmal_vc_port_set_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_vc_port_set_format
_mmal_vc_port_set_format:               ; @mmal_vc_port_set_format
	.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	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x21, [x8]
	bl	_mmal_vc_port_info_set
Lloh0:
	adrp	x22, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_mmal_vc_port_info_get
	mov	x19, x0
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.2:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _MMAL_PORT_TYPE_INPUT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMAL_PORT_TYPE_INPUT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.3:
	ldr	w8, [x21]
	cbz	w8, LBB0_13
; %bb.4:
	mov	x20, #0
Lloh5:
	adrp	x23, _MMAL_PORT_TYPE_OUTPUT@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MMAL_PORT_TYPE_OUTPUT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, uxtw
	b.hs	LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	ldr	x9, [x9, x20, lsl #3]
	ldr	x0, [x9]
	ldr	x9, [x0]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_mmal_vc_port_info_get
	mov	x19, x0
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	b	LBB0_5
LBB0_9:
	mov	x19, x0
	bl	_mmal_status_to_string
	mov	x2, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_mmal_status_to_string
	mov	x2, x0
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_11:
	mov	x1, x20
LBB0_12:
	bl	_LOG_ERROR
LBB0_13:
	mov	x0, x19
	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
LBB0_14:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x20, lsl #3]
	ldr	x1, [x8]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mmal_vc_port_info_set failed %p (%s)"

l_.str.1:                               ; @.str.1
	.asciz	"mmal_vc_port_info_get failed %p (%s)"

	.comm	_MMAL_PORT_TYPE_INPUT,8,3       ; @MMAL_PORT_TYPE_INPUT
	.comm	_MMAL_PORT_TYPE_OUTPUT,8,3      ; @MMAL_PORT_TYPE_OUTPUT
l_.str.2:                               ; @.str.2
	.asciz	"mmal_vc_port_info_get failed %p (%i)"

	.no_dead_strip	_mmal_vc_port_set_format
.subsections_via_symbols
