	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function container_port_enable
_container_port_enable:                 ## @container_port_enable
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rbx
	movq	(%rax), %r15
	movl	%esi, %edi
	callq	_MMAL_PARAM_UNUSED
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	movq	(%rdi), %rax
	movq	%rax, (%r15)
	movq	_VC_CONTAINER_CONTROL_TRACK_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	callq	_vc_container_control
	movq	%rax, %r14
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_7
## %bb.3:
	movq	(%rbx), %rdi
LBB0_4:
	movq	(%r15), %rdx
	movq	(%rdi), %rcx
	cmpq	%rcx, %rdx
	jae	LBB0_8
## %bb.5:
	movq	8(%rdi), %rax
	movq	(%rax,%rdx,8), %rax
	movl	$1, (%rax)
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	(%r12), %rsi
	movslq	%r14d, %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_container_map_to_mmal_status   ## TAILCALL
LBB0_8:
	movq	(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_9:
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_VC_CONTAINER_CONTROL_TRACK_ADD,4,2 ## @VC_CONTAINER_CONTROL_TRACK_ADD
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error adding track %4.4s (%i)"

L_.str.1:                               ## @.str.1
	.asciz	"error 1 adding track %4.4s (%i/%i)"

	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_container_port_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function container_port_enable
_container_port_enable:                 ; @container_port_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldp	x9, x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x22, [x8]
	ldr	x21, [x9]
	mov	x0, x1
	bl	_MMAL_PARAM_UNUSED
	ldr	x0, [x22]
	cbz	x0, LBB0_8
; %bb.1:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	str	x8, [x21]
Lloh0:
	adrp	x8, _VC_CONTAINER_CONTROL_TRACK_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_CONTROL_TRACK_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	bl	_vc_container_control
Lloh3:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	ldr	x0, [x22]
LBB0_4:
	ldr	x2, [x21]
	ldr	x8, [x0]
	cmp	x2, x8
	b.hs	LBB0_7
; %bb.5:
	ldr	x8, [x0, #8]
	ldr	x8, [x8, x2, lsl #3]
	mov	w9, #1
	str	w9, [x8]
Lloh6:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	x20, x0
	ldr	x1, [x19]
	sxtw	x2, w0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG_ERROR
	mov	x0, x20
	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
	add	sp, sp, #64
	b	_container_map_to_mmal_status
LBB0_7:
	ldr	x1, [x19]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
LBB0_8:
Lloh12:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_VC_CONTAINER_CONTROL_TRACK_ADD,4,2 ; @VC_CONTAINER_CONTROL_TRACK_ADD
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error adding track %4.4s (%i)"

l_.str.1:                               ; @.str.1
	.asciz	"error 1 adding track %4.4s (%i/%i)"

	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_container_port_enable
.subsections_via_symbols
