	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_vc_port_info_get
_mmal_vc_port_info_get:                 ## @mmal_vc_port_info_get
	.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
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	56(%rdi), %rax
	movq	(%rax), %r12
	movq	$72, -40(%rbp)
	movl	4(%r12), %eax
	movl	%eax, -44(%rbp)
	movl	48(%rdi), %esi
	movl	%esi, -48(%rbp)
	movl	44(%rdi), %edx
	movl	%edx, -52(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_LOG_TRACE
	xorl	%eax, %eax
	callq	_mmal_vc_get_client
	movq	_MMAL_WORKER_PORT_INFO_GET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rsp)
	leaq	-56(%rbp), %rsi
	leaq	-128(%rbp), %r8
	leaq	-40(%rbp), %r9
	movl	%eax, %edi
	movl	$16, %edx
	callq	_mmal_vc_sendwait_message
	movq	%rax, %rbx
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rax, %rbx
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$72, -40(%rbp)
	sete	%dil
	callq	_vcos_assert
	movq	-128(%rbp), %rbx
	movq	(%r15), %rax
LBB0_2:
	cmpq	%rax, %rbx
	jne	LBB0_3
## %bb.4:
	movl	-60(%rbp), %eax
	movl	%eax, (%r12)
	movl	-64(%rbp), %eax
	movl	%eax, 40(%r14)
	movups	-80(%rbp), %xmm0
	movups	%xmm0, 24(%r14)
	movups	-96(%rbp), %xmm0
	movups	%xmm0, 8(%r14)
	movq	(%r14), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -108(%rbp)
	movq	8(%rax), %rcx
	movq	%rcx, -104(%rbp)
	movups	-112(%rbp), %xmm0
	movups	%xmm0, (%rax)
	movl	-116(%rbp), %eax
	movq	(%r14), %rdi
	movq	8(%rdi), %rcx
	movl	%eax, (%rcx)
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.5:
	callq	_mmal_format_extradata_alloc
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.7:
	movq	(%r14), %rax
	movl	(%rax), %edx
	movl	4(%rax), %edi
	movl	-120(%rbp), %esi
	callq	_memcpy
LBB0_8:
	movq	(%r15), %rbx
	jmp	LBB0_9
LBB0_3:
	movl	44(%r14), %r15d
	movl	48(%r14), %r14d
	movq	%rbx, %rdi
	callq	_mmal_status_to_string
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_9
LBB0_6:
	xorl	%edi, %edi
	callq	_vcos_assert
	movq	(%r14), %rax
	movl	$0, (%rax)
	leaq	L_.str.2(%rip), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_LOG_ERROR
	movq	_MMAL_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_9:
	movq	%rbx, %rax
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get port info (%i:%i)"

	.comm	_MMAL_WORKER_PORT_INFO_GET,4,2  ## @MMAL_WORKER_PORT_INFO_GET
	.comm	_MMAL_FALSE,4,2                 ## @MMAL_FALSE
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"failed to get port info (%i:%i): %s"

L_.str.2:                               ## @.str.2
	.asciz	"couldn't allocate extradata %i"

	.comm	_MMAL_ENOMEM,8,3                ## @MMAL_ENOMEM
	.no_dead_strip	_mmal_vc_port_info_get
.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_info_get
_mmal_vc_port_info_get:                 ; @mmal_vc_port_info_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x0
	ldr	x8, [x0, #56]
	ldr	x22, [x8]
	mov	w8, #72
	str	x8, [sp, #16]
	ldr	w8, [x22, #4]
	ldp	w2, w1, [x0, #44]
	stp	w1, w8, [x29, #-40]
	stur	w2, [x29, #-44]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_TRACE
	bl	_mmal_vc_get_client
Lloh2:
	adrp	x8, _MMAL_WORKER_PORT_INFO_GET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMAL_WORKER_PORT_INFO_GET@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _MMAL_FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMAL_FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
	sub	x1, x29, #48
	add	x4, sp, #24
	add	x5, sp, #16
	mov	w2, #16
	bl	_mmal_vc_sendwait_message
Lloh8:
	adrp	x21, _MMAL_SUCCESS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [sp, #16]
	cmp	x8, #72
	cset	w0, eq
	bl	_vcos_assert
	ldr	x20, [sp, #24]
	ldr	x8, [x21]
	cmp	x20, x8
	b.eq	LBB0_4
LBB0_2:
	ldp	w19, w21, [x19, #44]
	mov	x0, x20
	bl	_mmal_status_to_string
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_LOG_ERROR
	b	LBB0_9
LBB0_3:
	mov	x20, x0
	cmp	x20, x8
	b.ne	LBB0_2
LBB0_4:
	ldr	w8, [sp, #92]
	str	w8, [x22]
	ldur	q0, [sp, #72]
	ldur	q1, [sp, #56]
	stur	q0, [x19, #24]
	ldr	w8, [sp, #88]
	str	w8, [x19, #40]
	stur	q1, [x19, #8]
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	str	w9, [sp, #44]
	ldr	x9, [x8, #8]
	str	x9, [sp, #48]
	ldur	q0, [sp, #40]
	str	q0, [x8]
	ldr	w8, [sp, #36]
	ldr	x0, [x19]
	ldr	x9, [x0, #8]
	str	w8, [x9]
	ldr	w1, [x0]
	cbz	w1, LBB0_7
; %bb.5:
	bl	_mmal_format_extradata_alloc
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19]
	ldr	w1, [sp, #32]
	ldp	w2, w0, [x8]
	bl	_memcpy
LBB0_7:
	ldr	x20, [x21]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
	bl	_vcos_assert
	ldr	x8, [x19]
	str	wzr, [x8]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #0
	bl	_LOG_ERROR
Lloh14:
	adrp	x8, _MMAL_ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MMAL_ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	x20, [x8]
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get port info (%i:%i)"

	.comm	_MMAL_WORKER_PORT_INFO_GET,4,2  ; @MMAL_WORKER_PORT_INFO_GET
	.comm	_MMAL_FALSE,4,2                 ; @MMAL_FALSE
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"failed to get port info (%i:%i): %s"

l_.str.2:                               ; @.str.2
	.asciz	"couldn't allocate extradata %i"

	.comm	_MMAL_ENOMEM,8,3                ; @MMAL_ENOMEM
	.no_dead_strip	_mmal_vc_port_info_get
.subsections_via_symbols
