	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalplay_connection_create
_mmalplay_connection_create:            ## @mmalplay_connection_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	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movq	80(%rdi), %rdi
	movq	_MMAL_ENCODING_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_MMAL_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_MMAL_COUNTOF
	movq	%r12, %rcx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r12
	jae	LBB0_1
## %bb.2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	56(%r14), %r12
	movq	72(%r14), %rax
	testq	%r12, %r12
	movq	%r14, %rbx
	je	LBB0_4
## %bb.3:
	movq	_MMAL_CONNECTION_FLAG_TUNNELLING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
LBB0_4:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	cmpq	%r14, %rax
	movq	%r15, %rdx
	je	LBB0_5
## %bb.6:
	cmpq	%r14, 64(%rbx)
	movq	%r14, %r15
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	_MMAL_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_22
LBB0_5:
	movq	8(%rbx), %r13
	leaq	40(%rbx), %rax
	movq	%r14, %r15
	jmp	LBB0_9
LBB0_8:
	movq	16(%rbx), %r13
	leaq	24(%rbx), %rax
LBB0_9:
	movq	_MMAL_ENCODING_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	je	LBB0_12
## %bb.10:
	movq	(%r15), %rcx
	cmpq	(%rcx), %r13
	je	LBB0_12
## %bb.11:
	movq	%r13, (%rcx)
	movq	_MMAL_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
LBB0_12:
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	cmpq	$0, 8(%rax)
	je	LBB0_16
## %bb.14:
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.15:
	movq	(%r15), %rcx
	movq	8(%rcx), %rcx
	movups	(%rax), %xmm0
	movups	%xmm0, 16(%rcx)
	movq	(%r15), %rcx
	movq	8(%rcx), %rcx
	movups	(%rax), %xmm0
	movups	%xmm0, (%rcx)
	movq	_MMAL_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
LBB0_16:
	testq	%rdx, %rdx
	je	LBB0_19
## %bb.17:
	movq	%r15, %rdi
	callq	_mmal_port_format_commit
	movq	%rax, %r14
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_18
LBB0_19:
	movq	%rbx, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rbx
	orq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rcx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_mmal_connection_create
	movq	%rax, %r14
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_20
## %bb.21:
	movq	%rax, %r14
	movq	_mmalplay_connection_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	%r13, (%rcx)
	movq	(%r15), %rdi
	movq	%r15, %rsi
	callq	_log_format
	movq	(%r12), %rdi
	movq	%r12, %rsi
	callq	_log_format
	incq	(%r13)
	movq	(%r14), %r14
	jmp	LBB0_22
LBB0_20:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
	jmp	LBB0_22
LBB0_18:
	movl	8(%r15), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_LOG_ERROR
LBB0_22:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_ENCODING_UNKNOWN,8,3      ## @MMAL_ENCODING_UNKNOWN
	.comm	_MMAL_FALSE,8,3                 ## @MMAL_FALSE
	.comm	_MMAL_ENOMEM,8,3                ## @MMAL_ENOMEM
	.comm	_MMAL_CONNECTION_FLAG_TUNNELLING,8,3 ## @MMAL_CONNECTION_FLAG_TUNNELLING
	.comm	_MMAL_TRUE,8,3                  ## @MMAL_TRUE
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot override format on output port %s"

L_.str.1:                               ## @.str.1
	.asciz	"cannot create connection"

	.comm	_mmalplay_connection_cb,4,2     ## @mmalplay_connection_cb
	.no_dead_strip	_mmalplay_connection_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalplay_connection_create
_mmalplay_connection_create:            ; @mmalplay_connection_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0, #80]
	ldr	x25, [x0]
Lloh0:
	adrp	x28, _MMAL_ENCODING_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MMAL_ENCODING_UNKNOWN@GOTPAGEOFF]
	ldr	x27, [x28]
Lloh2:
	adrp	x8, _MMAL_FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMAL_FALSE@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x8]
	mov	x0, x23
	bl	_MMAL_COUNTOF
	cmp	x25, x0
	b.hs	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _MMAL_CONNECTION_FLAG_TUNNELLING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMAL_CONNECTION_FLAG_TUNNELLING@GOTPAGEOFF]
	ldr	x9, [x19, #56]
Lloh7:
	ldr	x8, [x8]
	cmp	x9, #0
	csel	x26, xzr, x8, eq
	ldr	x8, [x19, #72]
	cmp	x8, x21
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x19, #64]
	cmp	x8, x21
	b.eq	LBB0_6
; %bb.3:
	mov	x8, #0
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _MMAL_ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MMAL_ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	x24, [x8]
	b	LBB0_21
LBB0_5:
	ldr	x27, [x19, #8]
	add	x8, x19, #40
	b	LBB0_7
LBB0_6:
	ldr	x27, [x19, #16]
	add	x8, x19, #24
LBB0_7:
	ldr	x9, [x28]
	cmp	x27, x9
	b.eq	LBB0_10
; %bb.8:
	ldr	x9, [x21]
	ldr	x10, [x9]
	cmp	x27, x10
	b.eq	LBB0_10
; %bb.9:
	str	x27, [x9]
Lloh11:
	adrp	x9, _MMAL_TRUE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MMAL_TRUE@GOTPAGEOFF]
Lloh13:
	ldr	x24, [x9]
LBB0_10:
	cbz	x8, LBB0_14
; %bb.11:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_14
; %bb.12:
	ldr	x9, [x8]
	cbz	x9, LBB0_14
; %bb.13:
	ldr	x9, [x21]
	ldr	x9, [x9, #8]
	ldr	q0, [x8]
	str	q0, [x9, #16]
	ldr	x9, [x21]
	ldr	x9, [x9, #8]
	ldr	q0, [x8]
	str	q0, [x9]
Lloh14:
	adrp	x8, _MMAL_TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MMAL_TRUE@GOTPAGEOFF]
Lloh16:
	ldr	x24, [x8]
LBB0_14:
Lloh17:
	adrp	x27, _MMAL_SUCCESS@GOTPAGE
Lloh18:
	ldr	x27, [x27, _MMAL_SUCCESS@GOTPAGEOFF]
	cbz	x24, LBB0_16
; %bb.15:
	mov	x0, x21
	bl	_mmal_port_format_commit
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_19
LBB0_16:
	add	x23, x23, x25, lsl #3
	orr	x3, x26, x22
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_mmal_connection_create
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.17:
Lloh19:
	adrp	x8, _mmalplay_connection_cb@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mmalplay_connection_cb@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	x9, [x23]
	str	w8, [x9, #8]
	str	x19, [x9]
	ldr	x0, [x21]
	mov	x1, x21
	bl	_log_format
	ldr	x0, [x20]
	mov	x1, x20
	bl	_log_format
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x24, [x27]
	b	LBB0_21
LBB0_18:
	mov	x24, x0
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_19:
	mov	x24, x0
	ldr	w8, [x21, #8]
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
LBB0_20:
	bl	_LOG_ERROR
LBB0_21:
	mov	x0, x24
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_ENCODING_UNKNOWN,8,3      ; @MMAL_ENCODING_UNKNOWN
	.comm	_MMAL_FALSE,8,3                 ; @MMAL_FALSE
	.comm	_MMAL_ENOMEM,8,3                ; @MMAL_ENOMEM
	.comm	_MMAL_CONNECTION_FLAG_TUNNELLING,8,3 ; @MMAL_CONNECTION_FLAG_TUNNELLING
	.comm	_MMAL_TRUE,8,3                  ; @MMAL_TRUE
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot override format on output port %s"

l_.str.1:                               ; @.str.1
	.asciz	"cannot create connection"

	.comm	_mmalplay_connection_cb,4,2     ; @mmalplay_connection_cb
	.no_dead_strip	_mmalplay_connection_create
.subsections_via_symbols
