	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalplay_component_create
_mmalplay_component_create:             ## @mmalplay_component_create
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	96(%rdi), %r15
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_LOG_TRACE
	movq	(%r14), %rbx
	movq	96(%r14), %rdi
	callq	_MMAL_COUNTOF
	cmpq	%rax, %rbx
	jae	LBB0_1
## %bb.2:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	cmpq	$0, 88(%r14)
	movq	%r13, %r14
	je	LBB0_6
## %bb.3:
	movq	_MMAL_COMPONENT_DEFAULT_VIDEO_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	cmpq	$0, 8(%r12)
	jne	LBB0_6
## %bb.5:
	movq	_MMAL_COMPONENT_DEFAULT_IMAGE_DECODER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
LBB0_6:
	movq	_MMAL_COMPONENT_DEFAULT_VIDEO_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	movq	%r15, %r13
	movq	%r12, %r15
	je	LBB0_7
LBB0_8:
	movq	_MMAL_COMPONENT_DEFAULT_SPLITTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movq	_MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
LBB0_12:
	movq	_MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
LBB0_14:
	movq	_MMAL_COMPONENT_DEFAULT_SCHEDULER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
LBB0_16:
	movq	_MMAL_COMPONENT_DEFAULT_AUDIO_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
LBB0_18:
	movq	_MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_19
LBB0_20:
	movq	_MMAL_COMPONENT_DEFAULT_CONTAINER_READER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_strcmp
	movq	%r14, %r12
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movq	64(%r15), %r12
	testq	%r12, %r12
	cmoveq	%r14, %r12
	jmp	LBB0_22
LBB0_1:
	movq	_MMAL_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	jmp	LBB0_52
LBB0_7:
	movq	8(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_22
	jmp	LBB0_8
LBB0_9:
	movq	16(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_22
	jmp	LBB0_10
LBB0_11:
	movq	24(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_22
	jmp	LBB0_12
LBB0_13:
	movq	32(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_22
	jmp	LBB0_14
LBB0_15:
	movq	40(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_22
	jmp	LBB0_16
LBB0_17:
	movq	48(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_22
	jmp	LBB0_18
LBB0_19:
	movq	56(%r15), %r12
	testq	%r12, %r12
	je	LBB0_20
LBB0_22:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %rbx
	leaq	(,%rbx,8), %rax
	addq	%r13, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r13,%rbx,8), %r14
	movq	$0, 8(%r13,%rbx,8)
	movl	16(%r13,%rbx,8), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_vcos_safe_strcpy
	xorl	%eax, %eax
	callq	_vcos_getmicrosecs
	movq	%rax, (%r13,%rbx,8)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mmal_component_create
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, (%r13)
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.25:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_MMAL_COMPONENT_DEFAULT_CONTAINER_READER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:
	movq	_MMAL_COMPONENT_DEFAULT_CONTAINER_WRITER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_28
## %bb.29:
	movq	_MMAL_COMPONENT_DEFAULT_VIDEO_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_30
## %bb.31:
	movq	_MMAL_COMPONENT_DEFAULT_SPLITTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_32
## %bb.33:
	movq	_MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_34
## %bb.35:
	movq	_MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_36
## %bb.37:
	movq	_MMAL_COMPONENT_DEFAULT_SCHEDULER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_38
## %bb.39:
	movq	_MMAL_COMPONENT_DEFAULT_AUDIO_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_40
## %bb.41:
	movq	_MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_43
## %bb.42:
	movl	(%r13), %eax
	jmp	LBB0_45
LBB0_23:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	jmp	LBB0_24
LBB0_26:
	movq	(%r14), %rsi
	movl	80(%r15), %edx
	movq	%r15, %rdi
	callq	_mmalplay_setup_container_reader
	jmp	LBB0_44
LBB0_28:
	movq	(%r14), %rsi
	movl	72(%r15), %edx
	movq	%r15, %rdi
	callq	_mmalplay_setup_container_writer
	jmp	LBB0_44
LBB0_30:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_mmalplay_setup_video_decoder
	jmp	LBB0_44
LBB0_32:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_mmalplay_setup_splitter
	jmp	LBB0_44
LBB0_34:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_mmalplay_setup_video_converter
	jmp	LBB0_44
LBB0_36:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_mmalplay_setup_video_render
	jmp	LBB0_44
LBB0_38:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_mmalplay_setup_video_scheduler
	jmp	LBB0_44
LBB0_40:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_mmalplay_setup_audio_decoder
	jmp	LBB0_44
LBB0_43:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_mmalplay_setup_audio_render
LBB0_44:
	movl	%eax, (%r13)
LBB0_45:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_50
## %bb.46:
	movq	(%r14), %rdi
	callq	_mmal_component_enable
	movl	%eax, (%r13)
	testl	%eax, %eax
	je	LBB0_48
## %bb.47:
	leaq	L_.str.2(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_24:
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_50:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_vcos_getmicrosecs
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	(%rcx), %rax
	movq	%rax, (%rcx)
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_53
## %bb.51:
	callq	_mmal_component_destroy
LBB0_52:
	xorl	%ebx, %ebx
LBB0_53:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movq	%r15, (%rdi)
	movq	_mmalplay_bh_control_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mmal_port_enable
	movl	%eax, (%r13)
	testl	%eax, %eax
	je	LBB0_54
## %bb.49:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_50
LBB0_54:
	xorl	%eax, %eax
	callq	_vcos_getmicrosecs
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	(%rcx), %rax
	movq	%rax, (%rcx)
	incq	(%r15)
	movq	(%r14), %rbx
	jmp	LBB0_53
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p, %s"

	.comm	_MMAL_ENOSPC,4,2                ## @MMAL_ENOSPC
	.comm	_MMAL_COMPONENT_DEFAULT_VIDEO_DECODER,4,2 ## @MMAL_COMPONENT_DEFAULT_VIDEO_DECODER
	.comm	_MMAL_COMPONENT_DEFAULT_IMAGE_DECODER,8,3 ## @MMAL_COMPONENT_DEFAULT_IMAGE_DECODER
	.comm	_MMAL_COMPONENT_DEFAULT_SPLITTER,4,2 ## @MMAL_COMPONENT_DEFAULT_SPLITTER
	.comm	_MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER,4,2 ## @MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER
	.comm	_MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER,4,2 ## @MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER
	.comm	_MMAL_COMPONENT_DEFAULT_SCHEDULER,4,2 ## @MMAL_COMPONENT_DEFAULT_SCHEDULER
	.comm	_MMAL_COMPONENT_DEFAULT_AUDIO_DECODER,4,2 ## @MMAL_COMPONENT_DEFAULT_AUDIO_DECODER
	.comm	_MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER,4,2 ## @MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER
	.comm	_MMAL_COMPONENT_DEFAULT_CONTAINER_READER,4,2 ## @MMAL_COMPONENT_DEFAULT_CONTAINER_READER
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"couldn't create %s"

	.comm	_MMAL_COMPONENT_DEFAULT_CONTAINER_WRITER,4,2 ## @MMAL_COMPONENT_DEFAULT_CONTAINER_WRITER
L_.str.2:                               ## @.str.2
	.asciz	"%s couldn't be enabled"

	.comm	_mmalplay_bh_control_cb,4,2     ## @mmalplay_bh_control_cb
L_.str.3:                               ## @.str.3
	.asciz	"control port couldn't be enabled"

	.no_dead_strip	_mmalplay_component_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalplay_component_create
_mmalplay_component_create:             ; @mmalplay_component_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x21, [x0, #96]
	ldr	x24, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x23
	bl	_LOG_TRACE
	ldr	x22, [x19]
	ldr	x0, [x19, #96]
	bl	_MMAL_COUNTOF
	cmp	x22, x0
	b.hs	LBB0_14
; %bb.1:
	ldr	x8, [x19, #88]
Lloh2:
	adrp	x26, _MMAL_COMPONENT_DEFAULT_VIDEO_DECODER@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MMAL_COMPONENT_DEFAULT_VIDEO_DECODER@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w1, [x26]
	mov	x0, x23
	bl	_strcmp
	cbnz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_IMAGE_DECODER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_IMAGE_DECODER@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_5:
	ldr	w1, [x26]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_15
LBB0_6:
Lloh7:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_SPLITTER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_SPLITTER@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_16
LBB0_7:
Lloh10:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_17
LBB0_8:
Lloh13:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_18
LBB0_9:
Lloh16:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_SCHEDULER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_SCHEDULER@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_19
LBB0_10:
Lloh19:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_AUDIO_DECODER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_AUDIO_DECODER@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_20
LBB0_11:
Lloh22:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_21
LBB0_12:
Lloh25:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_CONTAINER_READER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_CONTAINER_READER@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	mov	x22, x23
	cbnz	w0, LBB0_22
; %bb.13:
	ldr	x8, [x19, #64]
	cmp	x8, #0
	csel	x22, x23, x8, eq
	b	LBB0_22
LBB0_14:
	mov	x0, #0
Lloh28:
	adrp	x8, _MMAL_ENOSPC@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MMAL_ENOSPC@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_52
LBB0_15:
	ldr	x22, [x19, #8]
	cbnz	x22, LBB0_22
	b	LBB0_6
LBB0_16:
	ldr	x22, [x19, #16]
	cbnz	x22, LBB0_22
	b	LBB0_7
LBB0_17:
	ldr	x22, [x19, #24]
	cbnz	x22, LBB0_22
	b	LBB0_8
LBB0_18:
	ldr	x22, [x19, #32]
	cbnz	x22, LBB0_22
	b	LBB0_9
LBB0_19:
	ldr	x22, [x19, #40]
	cbnz	x22, LBB0_22
	b	LBB0_10
LBB0_20:
	ldr	x22, [x19, #48]
	cbnz	x22, LBB0_22
	b	LBB0_11
LBB0_21:
	ldr	x22, [x19, #56]
	cbz	x22, LBB0_12
LBB0_22:
	mov	w8, #24
	madd	x24, x24, x8, x21
	mov	x21, x24
	str	xzr, [x21, #8]!
	ldr	w0, [x24, #16]
	mov	x1, x22
	mov	w2, #4
	mov	w3, #0
	bl	_vcos_safe_strcpy
	bl	_vcos_getmicrosecs
	str	x0, [x24]
	mov	x0, x22
	mov	x1, x21
	bl	_mmal_component_create
	str	w0, [x20]
Lloh31:
	adrp	x25, _MMAL_SUCCESS@GOTPAGE
Lloh32:
	ldr	x25, [x25, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_33
; %bb.23:
Lloh33:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_CONTAINER_READER@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_CONTAINER_READER@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_34
; %bb.24:
Lloh36:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_CONTAINER_WRITER@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_CONTAINER_WRITER@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_35
; %bb.25:
	ldr	w1, [x26]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_36
; %bb.26:
Lloh39:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_SPLITTER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_SPLITTER@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_37
; %bb.27:
Lloh42:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_38
; %bb.28:
Lloh45:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_39
; %bb.29:
Lloh48:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_SCHEDULER@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_SCHEDULER@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_40
; %bb.30:
Lloh51:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_AUDIO_DECODER@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_AUDIO_DECODER@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_41
; %bb.31:
Lloh54:
	adrp	x8, _MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_42
; %bb.32:
	ldr	w0, [x20]
	b	LBB0_44
LBB0_33:
	str	x22, [sp]
Lloh57:
	adrp	x0, l_.str.1@PAGE
Lloh58:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_49
LBB0_34:
	ldr	x1, [x21]
	ldr	w2, [x19, #80]
	mov	x0, x19
	bl	_mmalplay_setup_container_reader
	b	LBB0_43
LBB0_35:
	ldr	x1, [x21]
	ldr	w2, [x19, #72]
	mov	x0, x19
	bl	_mmalplay_setup_container_writer
	b	LBB0_43
LBB0_36:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_mmalplay_setup_video_decoder
	b	LBB0_43
LBB0_37:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_mmalplay_setup_splitter
	b	LBB0_43
LBB0_38:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_mmalplay_setup_video_converter
	b	LBB0_43
LBB0_39:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_mmalplay_setup_video_render
	b	LBB0_43
LBB0_40:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_mmalplay_setup_video_scheduler
	b	LBB0_43
LBB0_41:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_mmalplay_setup_audio_decoder
	b	LBB0_43
LBB0_42:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_mmalplay_setup_audio_render
LBB0_43:
	str	w0, [x20]
LBB0_44:
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_50
; %bb.45:
	ldr	x0, [x21]
	bl	_mmal_component_enable
	str	w0, [x20]
	cbz	w0, LBB0_47
; %bb.46:
	str	x22, [sp]
Lloh59:
	adrp	x0, l_.str.2@PAGE
Lloh60:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_49
LBB0_47:
	ldr	x8, [x21]
	ldr	x0, [x8]
	str	x19, [x0]
Lloh61:
	adrp	x8, _mmalplay_bh_control_cb@GOTPAGE
Lloh62:
	ldr	x8, [x8, _mmalplay_bh_control_cb@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	bl	_mmal_port_enable
	str	w0, [x20]
	cbz	w0, LBB0_53
; %bb.48:
Lloh64:
	adrp	x0, l_.str.3@PAGE
Lloh65:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_49:
	bl	_LOG_ERROR
LBB0_50:
	bl	_vcos_getmicrosecs
	ldr	x8, [x24]
	sub	x8, x0, x8
	str	x8, [x24]
	ldr	x0, [x21]
	cbz	x0, LBB0_52
; %bb.51:
	bl	_mmal_component_destroy
	mov	x0, #0
LBB0_52:
	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
	add	sp, sp, #96
	ret
LBB0_53:
	bl	_vcos_getmicrosecs
	ldr	x8, [x24]
	sub	x8, x0, x8
	str	x8, [x24]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x0, [x21]
	b	LBB0_52
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p, %s"

	.comm	_MMAL_ENOSPC,4,2                ; @MMAL_ENOSPC
	.comm	_MMAL_COMPONENT_DEFAULT_VIDEO_DECODER,4,2 ; @MMAL_COMPONENT_DEFAULT_VIDEO_DECODER
	.comm	_MMAL_COMPONENT_DEFAULT_IMAGE_DECODER,8,3 ; @MMAL_COMPONENT_DEFAULT_IMAGE_DECODER
	.comm	_MMAL_COMPONENT_DEFAULT_SPLITTER,4,2 ; @MMAL_COMPONENT_DEFAULT_SPLITTER
	.comm	_MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER,4,2 ; @MMAL_COMPONENT_DEFAULT_VIDEO_RENDERER
	.comm	_MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER,4,2 ; @MMAL_COMPONENT_DEFAULT_VIDEO_CONVERTER
	.comm	_MMAL_COMPONENT_DEFAULT_SCHEDULER,4,2 ; @MMAL_COMPONENT_DEFAULT_SCHEDULER
	.comm	_MMAL_COMPONENT_DEFAULT_AUDIO_DECODER,4,2 ; @MMAL_COMPONENT_DEFAULT_AUDIO_DECODER
	.comm	_MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER,4,2 ; @MMAL_COMPONENT_DEFAULT_AUDIO_RENDERER
	.comm	_MMAL_COMPONENT_DEFAULT_CONTAINER_READER,4,2 ; @MMAL_COMPONENT_DEFAULT_CONTAINER_READER
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"couldn't create %s"

	.comm	_MMAL_COMPONENT_DEFAULT_CONTAINER_WRITER,4,2 ; @MMAL_COMPONENT_DEFAULT_CONTAINER_WRITER
l_.str.2:                               ; @.str.2
	.asciz	"%s couldn't be enabled"

	.comm	_mmalplay_bh_control_cb,4,2     ; @mmalplay_bh_control_cb
l_.str.3:                               ; @.str.3
	.asciz	"control port couldn't be enabled"

	.no_dead_strip	_mmalplay_component_create
.subsections_via_symbols
