	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_vc_port_requirements_get
_mmal_vc_port_requirements_get:         ## @mmal_vc_port_requirements_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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movq	$32, -32(%rbp)
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	24(%rdi), %esi
	movl	%esi, -40(%rbp)
	movl	20(%rdi), %edx
	movl	%edx, -44(%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	-48(%rbp), %rsi
	leaq	-80(%rbp), %r8
	leaq	-32(%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	$32, -32(%rbp)
	sete	%dil
	callq	_vcos_assert
	movq	-80(%rbp), %rbx
	movq	(%r15), %rax
LBB0_2:
	cmpq	%rax, %rbx
	jne	LBB0_3
## %bb.4:
	movl	-56(%rbp), %eax
	movl	%eax, 16(%r14)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, (%r14)
	jmp	LBB0_5
LBB0_3:
	movl	20(%r14), %edx
	movl	24(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG_ERROR
LBB0_5:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get port requirements (%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 requirements (%i:%i)"

	.no_dead_strip	_mmal_vc_port_requirements_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_requirements_get
_mmal_vc_port_requirements_get:         ; @mmal_vc_port_requirements_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, #32]
	ldr	x8, [x8]
	mov	w9, #32
	str	x9, [sp, #8]
	ldr	w8, [x8]
	ldp	w2, w1, [x0, #20]
	stp	w1, w8, [sp, #56]
	str	w2, [sp, #52]
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]
	add	x1, sp, #48
	add	x4, sp, #16
	add	x5, sp, #8
	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, #8]
	cmp	x8, #32
	cset	w0, eq
	bl	_vcos_assert
	ldr	x20, [sp, #16]
	ldr	x8, [x21]
	cmp	x20, x8
	b.eq	LBB0_4
LBB0_2:
	ldp	w2, w1, [x19, #20]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
	b	LBB0_5
LBB0_3:
	mov	x20, x0
	cmp	x20, x8
	b.ne	LBB0_2
LBB0_4:
	ldr	w8, [sp, #40]
	str	w8, [x19, #16]
	ldur	q0, [sp, #24]
	str	q0, [x19]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get port requirements (%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 requirements (%i:%i)"

	.no_dead_strip	_mmal_vc_port_requirements_get
.subsections_via_symbols
