	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_component_create_aggregator_pipeline
_mmal_component_create_aggregator_pipeline: ## @mmal_component_create_aggregator_pipeline
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_MMAL_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r15d
	leal	1(%r15), %esi
	leaq	L_.str(%rip), %rdx
	movl	$1, %edi
	callq	_vcos_calloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_30
## %bb.1:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	leaq	-72(%rbp), %rdi
	movl	$4, %esi
	callq	_mmal_graph_create
	movq	%rax, %r14
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_30
## %bb.2:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	_aggregator_parameter_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movq	_aggregator_parameter_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	cmpb	$0, (%r12)
	je	LBB0_23
## %bb.3:
	leaq	-56(%rbp), %r13
	movq	%r12, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_23
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rbx, %r14
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_mmal_component_destroy
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$58, %al
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%rbx)
	incq	%rbx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, (%r14)
	je	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_mmal_component_create
	cmpq	(%r15), %rax
	jne	LBB0_29
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	movq	-56(%rbp), %rsi
	callq	_mmal_graph_add_component
	movq	%rax, %r14
	cmpq	(%r15), %rax
	jne	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, 4(%rax)
	jle	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_30
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rax), %rax
	movq	(%rax), %rsi
	movq	24(%rcx), %rax
	movq	(%rax), %rdx
	leaq	-80(%rbp), %rdi
	xorl	%ecx, %ecx
	callq	_mmal_connection_create
	cmpq	(%r15), %rax
	jne	LBB0_29
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	movq	-80(%rbp), %rsi
	callq	_mmal_graph_add_connection
	movq	%rax, %r14
	movq	-80(%rbp), %rdi
	callq	_mmal_connection_destroy
	cmpq	(%r15), %r14
	je	LBB0_4
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi
	movq	24(%rax), %rax
	movq	(%rax), %rsi
	callq	_mmal_graph_add_port
	cmpq	(%r15), %rax
	je	LBB0_4
LBB0_29:
	movq	%rax, %r14
	jmp	LBB0_30
LBB0_23:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_27
## %bb.24:
	cmpl	$0, 4(%rax)
	je	LBB0_27
## %bb.25:
	movq	16(%rax), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_27
## %bb.26:
	movq	-72(%rbp), %rdi
	callq	_mmal_graph_add_port
	movq	%rax, %r14
	cmpq	(%r15), %rax
	jne	LBB0_30
LBB0_27:
	movq	-72(%rbp), %rax
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_mmal_graph_component_constructor
	movq	%rax, %r14
	cmpq	(%r15), %rax
	je	LBB0_32
LBB0_30:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.31:
	callq	_mmal_graph_destroy
LBB0_32:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.33:
	callq	_mmal_component_destroy
LBB0_34:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.35:
	callq	_mmal_component_destroy
LBB0_36:
	movq	%r12, %rdi
	callq	_vcos_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_ENOMEM,8,3                ## @MMAL_ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mmal aggregator"

	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_aggregator_parameter_get,4,2   ## @aggregator_parameter_get
	.comm	_aggregator_parameter_set,4,2   ## @aggregator_parameter_set
	.no_dead_strip	_mmal_component_create_aggregator_pipeline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmal_component_create_aggregator_pipeline
_mmal_component_create_aggregator_pipeline: ; @mmal_component_create_aggregator_pipeline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #32]
Lloh3:
	adrp	x8, _MMAL_ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	mov	x0, x1
	bl	_strlen
	mov	x24, x0
	add	w1, w0, #1
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #1
	bl	_vcos_calloc
	mov	x19, x0
	cbz	x0, LBB0_27
; %bb.1:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	add	x0, sp, #16
	mov	w1, #4
	bl	_mmal_graph_create
	mov	x22, x0
Lloh8:
	adrp	x24, _MMAL_SUCCESS@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_27
; %bb.2:
Lloh10:
	adrp	x8, _aggregator_parameter_get@GOTPAGE
Lloh11:
	ldr	x8, [x8, _aggregator_parameter_get@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
Lloh13:
	adrp	x10, _aggregator_parameter_set@GOTPAGE
Lloh14:
	ldr	x10, [x10, _aggregator_parameter_set@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	stp	w10, w8, [x9]
	ldrb	w8, [x19]
	cbz	w8, LBB0_22
; %bb.3:
	add	x8, sp, #24
	add	x23, x8, #8
	mov	x25, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_22
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x22, x25
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_mmal_component_destroy
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #32]
	stp	x8, xzr, [sp, #24]
	mov	x25, x22
	ldrb	w8, [x25]
	cbz	w8, LBB0_10
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #58
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x25, x25, #1
	ldrb	w8, [x25]
	cbnz	w8, LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x22]
	cbnz	w8, LBB0_12
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x25], #1
	ldrb	w8, [x22]
	cbz	w8, LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_mmal_component_create
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #16]
	ldr	x1, [sp, #32]
	bl	_mmal_graph_add_component
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #32]
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x8, #16]
	ldr	x1, [x8]
	ldr	x8, [x9, #24]
	ldr	x2, [x8]
	add	x0, sp, #8
	mov	w3, #0
	bl	_mmal_connection_create
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	x1, x0, [sp, #8]
	bl	_mmal_graph_add_connection
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_mmal_connection_destroy
	ldr	x8, [x24]
	cmp	x22, x8
	b.eq	LBB0_4
	b	LBB0_27
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #32]
	ldr	w9, [x8]
	cbz	w9, LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #16]
	ldr	x8, [x8, #24]
	ldr	x1, [x8]
	bl	_mmal_graph_add_port
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_4
LBB0_21:
	mov	x22, x0
	b	LBB0_27
LBB0_22:
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_26
; %bb.23:
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_26
; %bb.24:
	ldr	x8, [x8, #16]
	ldr	x1, [x8]
	cbz	x1, LBB0_26
; %bb.25:
	ldr	x0, [sp, #16]
	bl	_mmal_graph_add_port
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_27
LBB0_26:
	ldr	x8, [sp, #16]
	ldr	x9, [x20, #8]
	str	x8, [x9]
	mov	x0, x21
	mov	x1, x20
	bl	_mmal_graph_component_constructor
	mov	x22, x0
	ldr	x8, [x24]
	ldr	x0, [sp, #16]
	cmp	x22, x8
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_28
	b	LBB0_29
LBB0_27:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_29
LBB0_28:
	bl	_mmal_graph_destroy
LBB0_29:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_31
; %bb.30:
	bl	_mmal_component_destroy
LBB0_31:
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_33
; %bb.32:
	bl	_mmal_component_destroy
LBB0_33:
	mov	x0, x19
	bl	_vcos_free
	ldr	x8, [sp, #40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.34:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_ENOMEM,8,3                ; @MMAL_ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mmal aggregator"

	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_aggregator_parameter_get,4,2   ; @aggregator_parameter_get
	.comm	_aggregator_parameter_set,4,2   ; @aggregator_parameter_set
	.no_dead_strip	_mmal_component_create_aggregator_pipeline
.subsections_via_symbols
