	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_vc_port_requirements_set
_mmal_vc_port_requirements_set:         ## @mmal_vc_port_requirements_set
	.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	16(%rdi), %rax
	movq	(%rax), %rax
	movq	$8, -32(%rbp)
	movl	4(%rax), %ecx
	movl	%ecx, -48(%rbp)
	movq	_MMAL_WORKER_PORT_ACTION_SET_REQUIREMENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -52(%rbp)
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)
	movups	(%rdi), %xmm0
	movups	%xmm0, -80(%rbp)
	xorl	%eax, %eax
	callq	_mmal_vc_get_client
	movq	_MMAL_WORKER_PORT_ACTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rsp)
	leaq	-88(%rbp), %rsi
	leaq	-40(%rbp), %r8
	leaq	-32(%rbp), %r9
	movl	%eax, %edi
	movl	$48, %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	$8, -32(%rbp)
	sete	%dil
	callq	_vcos_assert
	movq	-40(%rbp), %rbx
	movq	(%r15), %rax
LBB0_2:
	cmpq	%rax, %rbx
	je	LBB0_4
## %bb.3:
	movl	12(%r14), %esi
	movl	8(%r14), %edx
	movl	(%r14), %r8d
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_LOG_ERROR
LBB0_4:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_WORKER_PORT_ACTION_SET_REQUIREMENTS,4,2 ## @MMAL_WORKER_PORT_ACTION_SET_REQUIREMENTS
	.comm	_MMAL_WORKER_PORT_ACTION,4,2    ## @MMAL_WORKER_PORT_ACTION
	.comm	_MMAL_FALSE,4,2                 ## @MMAL_FALSE
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set port requirements (%i/%i,%i/%i)"

	.no_dead_strip	_mmal_vc_port_requirements_set
.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_set
_mmal_vc_port_requirements_set:         ; @mmal_vc_port_requirements_set
	.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, #16]
	ldr	x8, [x8]
	mov	w9, #8
	str	x9, [sp]
	ldr	w9, [x8, #4]
Lloh0:
	adrp	x10, _MMAL_WORKER_PORT_ACTION_SET_REQUIREMENTS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MMAL_WORKER_PORT_ACTION_SET_REQUIREMENTS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	stp	w10, w9, [sp, #44]
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	q0, [x0]
	stur	q0, [sp, #16]
	ldr	x8, [x0, #16]
	str	x8, [sp, #32]
	bl	_mmal_vc_get_client
Lloh3:
	adrp	x8, _MMAL_WORKER_PORT_ACTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_WORKER_PORT_ACTION@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _MMAL_FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMAL_FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	add	x1, sp, #8
	sub	x4, x29, #40
	mov	x5, sp
	mov	w2, #48
	bl	_mmal_vc_sendwait_message
Lloh9:
	adrp	x21, _MMAL_SUCCESS@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [sp]
	cmp	x8, #8
	cset	w0, eq
	bl	_vcos_assert
	ldur	x20, [x29, #-40]
	ldr	x8, [x21]
	cmp	x20, x8
	b.ne	LBB0_3
	b	LBB0_4
LBB0_2:
	mov	x20, x0
	cmp	x20, x8
	b.eq	LBB0_4
LBB0_3:
	ldp	w2, w1, [x19, #8]
	ldp	w4, w3, [x19]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_ERROR
LBB0_4:
	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	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_WORKER_PORT_ACTION_SET_REQUIREMENTS,4,2 ; @MMAL_WORKER_PORT_ACTION_SET_REQUIREMENTS
	.comm	_MMAL_WORKER_PORT_ACTION,4,2    ; @MMAL_WORKER_PORT_ACTION
	.comm	_MMAL_FALSE,4,2                 ; @MMAL_FALSE
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set port requirements (%i/%i,%i/%i)"

	.no_dead_strip	_mmal_vc_port_requirements_set
.subsections_via_symbols
