	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmal_component_create_splitter
_mmal_component_create_splitter:        ## @mmal_component_create_splitter
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_MMAL_ENOMEM@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	callq	_MMAL_PARAM_UNUSED
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_vcos_malloc
	movq	24(%rbx), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	24(%rbx), %rax
	movq	_splitter_component_destroy@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_MMAL_PORT_TYPE_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$4, %ecx
	callq	_mmal_ports_alloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movl	$1, (%rbx)
	movq	_splitter_port_enable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 48(%rdx)
	movq	_splitter_port_disable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 40(%rdx)
	movq	_splitter_port_flush@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 32(%rdx)
	movq	_splitter_port_send@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 24(%rdx)
	movq	_splitter_port_format_commit@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 16(%rdx)
	movq	_splitter_port_parameter_set@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	(%rax), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 8(%rdx)
	movq	(%rax), %rax
	movl	$1, (%rax)
	movq	$0, 16(%rax)
	xorl	%eax, %eax
	callq	_mmal_queue_create
	movq	16(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	8(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rdx)
	movq	(%rcx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.4:
	movq	_SPLITTER_OUTPUT_PORTS_NUM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MMAL_PORT_TYPE_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_mmal_ports_alloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movl	(%r15), %ecx
	movl	%ecx, 4(%rbx)
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.6:
	movq	_MMAL_PORT_CAPABILITY_PASSTHROUGH@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_splitter_port_enable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%r12,8), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 48(%rdx)
	movq	_splitter_port_disable@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%r12,8), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 40(%rdx)
	movq	_splitter_port_flush@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%r12,8), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 32(%rdx)
	movq	_splitter_port_send@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%r12,8), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 24(%rdx)
	movq	_splitter_port_format_commit@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%r12,8), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 16(%rdx)
	movq	(%r13), %rcx
	movq	(%rax,%r12,8), %rdx
	movq	8(%rdx), %rdx
	movq	%rcx, 8(%rdx)
	movq	(%rax,%r12,8), %rax
	movl	$1, (%rax)
	movq	$0, 24(%rax)
	movl	(%r15), %ecx
	movl	%ecx, 16(%rax)
	xorl	%eax, %eax
	callq	_mmal_queue_create
	movq	%rax, %rcx
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rdx
	movq	8(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdx)
	movq	(%rax,%r12,8), %rcx
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%r12
	movl	4(%rbx), %ecx
	cmpq	%rcx, %r12
	jb	LBB0_8
LBB0_11:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_splitter_component_destroy
	jmp	LBB0_10
LBB0_1:
	movl	(%r15), %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_ENOMEM,4,2                ## @MMAL_ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mmal module"

	.comm	_MMAL_PORT_TYPE_INPUT,4,2       ## @MMAL_PORT_TYPE_INPUT
	.comm	_splitter_port_enable,8,3       ## @splitter_port_enable
	.comm	_splitter_port_disable,8,3      ## @splitter_port_disable
	.comm	_splitter_port_flush,8,3        ## @splitter_port_flush
	.comm	_splitter_port_send,8,3         ## @splitter_port_send
	.comm	_splitter_port_format_commit,8,3 ## @splitter_port_format_commit
	.comm	_splitter_port_parameter_set,8,3 ## @splitter_port_parameter_set
	.comm	_SPLITTER_OUTPUT_PORTS_NUM,4,2  ## @SPLITTER_OUTPUT_PORTS_NUM
	.comm	_MMAL_PORT_TYPE_OUTPUT,4,2      ## @MMAL_PORT_TYPE_OUTPUT
	.comm	_MMAL_PORT_CAPABILITY_PASSTHROUGH,4,2 ## @MMAL_PORT_CAPABILITY_PASSTHROUGH
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_mmal_component_create_splitter
.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_splitter
_mmal_component_create_splitter:        ; @mmal_component_create_splitter
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
Lloh0:
	adrp	x21, _MMAL_ENOMEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MMAL_ENOMEM@GOTPAGEOFF]
	ldr	w19, [x21]
	bl	_MMAL_PARAM_UNUSED
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_vcos_malloc
	ldr	x8, [x20, #24]
	str	x0, [x8, #8]
	cbz	x0, LBB0_10
; %bb.1:
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x20, #24]
Lloh4:
	adrp	x9, _splitter_component_destroy@GOTPAGE
Lloh5:
	ldr	x9, [x9, _splitter_component_destroy@GOTPAGEOFF]
	str	x9, [x8]
Lloh6:
	adrp	x8, _MMAL_PORT_TYPE_INPUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMAL_PORT_TYPE_INPUT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w21, #1
	mov	x0, x20
	mov	w1, #1
	mov	w3, #4
	bl	_mmal_ports_alloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_9
; %bb.2:
	str	w21, [x20]
Lloh9:
	adrp	x8, _splitter_port_enable@GOTPAGE
Lloh10:
	ldr	x8, [x8, _splitter_port_enable@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
	str	x8, [x9, #48]
Lloh12:
	adrp	x8, _splitter_port_disable@GOTPAGE
Lloh13:
	ldr	x8, [x8, _splitter_port_disable@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
	str	x8, [x9, #40]
Lloh15:
	adrp	x23, _splitter_port_flush@GOTPAGE
Lloh16:
	ldr	x23, [x23, _splitter_port_flush@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
	str	x8, [x9, #32]
Lloh17:
	adrp	x24, _splitter_port_send@GOTPAGE
Lloh18:
	ldr	x24, [x24, _splitter_port_send@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
	str	x8, [x9, #24]
Lloh19:
	adrp	x25, _splitter_port_format_commit@GOTPAGE
Lloh20:
	ldr	x25, [x25, _splitter_port_format_commit@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
	str	x8, [x9, #16]
Lloh21:
	adrp	x26, _splitter_port_parameter_set@GOTPAGE
Lloh22:
	ldr	x26, [x26, _splitter_port_parameter_set@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
	str	x8, [x9, #8]
	ldr	x8, [x0]
	str	w21, [x8]
	str	xzr, [x8, #16]
	bl	_mmal_queue_create
	ldr	x8, [x20, #16]
	ldr	x9, [x8]
	ldr	x9, [x9, #8]
	ldr	x9, [x9]
	str	x0, [x9]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.3:
Lloh23:
	adrp	x21, _SPLITTER_OUTPUT_PORTS_NUM@GOTPAGE
Lloh24:
	ldr	x21, [x21, _SPLITTER_OUTPUT_PORTS_NUM@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh25:
	adrp	x8, _MMAL_PORT_TYPE_OUTPUT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MMAL_PORT_TYPE_OUTPUT@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #4
	bl	_mmal_ports_alloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w8, [x21]
	str	w8, [x20, #4]
	cbz	w8, LBB0_8
; %bb.5:
	mov	x27, #0
	mov	w28, #1
Lloh28:
	adrp	x21, _MMAL_PORT_CAPABILITY_PASSTHROUGH@GOTPAGE
Lloh29:
	ldr	x21, [x21, _MMAL_PORT_CAPABILITY_PASSTHROUGH@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
Lloh30:
	adrp	x8, _splitter_port_enable@GOTPAGE
Lloh31:
	ldr	x8, [x8, _splitter_port_enable@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	lsl	x22, x27, #3
	ldr	x9, [x0, x22]
	ldr	x9, [x9, #8]
	str	x8, [x9, #48]
Lloh33:
	adrp	x8, _splitter_port_disable@GOTPAGE
Lloh34:
	ldr	x8, [x8, _splitter_port_disable@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	x9, [x0, x22]
	ldr	x9, [x9, #8]
	str	x8, [x9, #40]
	ldr	x8, [x0, x22]
	ldr	x9, [x23]
	ldr	x8, [x8, #8]
	str	x9, [x8, #32]
	ldr	x8, [x24]
	ldr	x9, [x0, x22]
	ldr	x9, [x9, #8]
	str	x8, [x9, #24]
	ldr	x8, [x25]
	ldr	x9, [x0, x22]
	ldr	x9, [x9, #8]
	str	x8, [x9, #16]
	ldr	x8, [x26]
	ldr	x9, [x0, x22]
	ldr	x9, [x9, #8]
	str	x8, [x9, #8]
	ldr	x8, [x0, x22]
	str	w28, [x8]
	str	xzr, [x8, #24]
	ldr	w9, [x21]
	str	w9, [x8, #16]
	bl	_mmal_queue_create
	mov	x8, x0
	ldr	x0, [x20, #8]
	ldr	x9, [x0, x22]
	ldr	x9, [x9, #8]
	ldr	x9, [x9]
	str	x8, [x9]
	ldr	x8, [x0, x22]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	ldr	w8, [x20, #4]
	cmp	x27, x8
	b.lo	LBB0_6
LBB0_8:
Lloh36:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh38:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_9:
	mov	x0, x20
	bl	_splitter_component_destroy
	b	LBB0_11
LBB0_10:
	ldr	w19, [x21]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_ENOMEM,4,2                ; @MMAL_ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mmal module"

	.comm	_MMAL_PORT_TYPE_INPUT,4,2       ; @MMAL_PORT_TYPE_INPUT
	.comm	_splitter_port_enable,8,3       ; @splitter_port_enable
	.comm	_splitter_port_disable,8,3      ; @splitter_port_disable
	.comm	_splitter_port_flush,8,3        ; @splitter_port_flush
	.comm	_splitter_port_send,8,3         ; @splitter_port_send
	.comm	_splitter_port_format_commit,8,3 ; @splitter_port_format_commit
	.comm	_splitter_port_parameter_set,8,3 ; @splitter_port_parameter_set
	.comm	_SPLITTER_OUTPUT_PORTS_NUM,4,2  ; @SPLITTER_OUTPUT_PORTS_NUM
	.comm	_MMAL_PORT_TYPE_OUTPUT,4,2      ; @MMAL_PORT_TYPE_OUTPUT
	.comm	_MMAL_PORT_CAPABILITY_PASSTHROUGH,4,2 ; @MMAL_PORT_CAPABILITY_PASSTHROUGH
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_mmal_component_create_splitter
.subsections_via_symbols
