	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalplay_setup_video_scheduler
_mmalplay_setup_video_scheduler:        ## @mmalplay_setup_video_scheduler
	.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_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpl	$0, 36(%rsi)
	je	LBB0_6
## %bb.1:
	cmpl	$0, 32(%rbx)
	je	LBB0_6
## %bb.2:
	cmpl	$0, 28(%rbx)
	je	LBB0_6
## %bb.3:
	movq	%rdi, %r14
	cmpl	$0, 4(%rdi)
	je	LBB0_9
## %bb.4:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_5:
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_8
LBB0_6:
	movl	24(%rbx), %esi
	leaq	L_.str(%rip), %rdi
LBB0_7:
	callq	_LOG_ERROR
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	movq	_MMAL_PARAMETER_ZERO_COPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MMAL_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_mmal_port_parameter_set_boolean
	movq	%rax, %r15
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r13
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rax
	cmpq	(%r13), %r15
	je	LBB0_12
## %bb.10:
	cmpq	(%rax), %r15
	je	LBB0_12
## %bb.11:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_12:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movq	_MMAL_PARAMETER_ZERO_COPY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	callq	_mmal_port_parameter_set_boolean
	movq	(%r13), %r15
	cmpq	%r15, %rax
	je	LBB0_5
## %bb.13:
	movq	%rax, %r12
	movq	_MMAL_ENOSYS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_5
## %bb.14:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG_ERROR
	movq	%r12, %r15
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_EINVAL,8,3                ## @MMAL_EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s doesn't have input/output/clock ports"

	.comm	_MMAL_PARAMETER_ZERO_COPY,4,2   ## @MMAL_PARAMETER_ZERO_COPY
	.comm	_MMAL_TRUE,4,2                  ## @MMAL_TRUE
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_MMAL_ENOSYS,8,3                ## @MMAL_ENOSYS
L_.str.1:                               ## @.str.1
	.asciz	"failed to set zero copy on %s"

	.no_dead_strip	_mmalplay_setup_video_scheduler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalplay_setup_video_scheduler
_mmalplay_setup_video_scheduler:        ; @mmalplay_setup_video_scheduler
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
Lloh0:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w8, [x1, #36]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_9
; %bb.4:
Lloh3:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
LBB0_5:
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_8
LBB0_6:
	ldr	w1, [x19, #24]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_LOG_ERROR
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
Lloh8:
	adrp	x22, _MMAL_PARAMETER_ZERO_COPY@GOTPAGE
Lloh9:
	ldr	x22, [x22, _MMAL_PARAMETER_ZERO_COPY@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh10:
	adrp	x24, _MMAL_TRUE@GOTPAGE
Lloh11:
	ldr	x24, [x24, _MMAL_TRUE@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_mmal_port_parameter_set_boolean
Lloh12:
	adrp	x25, _MMAL_SUCCESS@GOTPAGE
Lloh13:
	ldr	x25, [x25, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh14:
	adrp	x23, _MMAL_ENOSYS@GOTPAGE
Lloh15:
	ldr	x23, [x23, _MMAL_ENOSYS@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_13
; %bb.10:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	w1, [x22]
	ldr	w2, [x24]
	bl	_mmal_port_parameter_set_boolean
	ldr	x21, [x25]
	cmp	x0, x21
	b.eq	LBB0_5
; %bb.11:
	mov	x22, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.12:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
	mov	x21, x22
	b	LBB0_8
LBB0_13:
	mov	x21, x0
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w1, [x8]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_EINVAL,8,3                ; @MMAL_EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s doesn't have input/output/clock ports"

	.comm	_MMAL_PARAMETER_ZERO_COPY,4,2   ; @MMAL_PARAMETER_ZERO_COPY
	.comm	_MMAL_TRUE,4,2                  ; @MMAL_TRUE
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_MMAL_ENOSYS,8,3                ; @MMAL_ENOSYS
l_.str.1:                               ; @.str.1
	.asciz	"failed to set zero copy on %s"

	.no_dead_strip	_mmalplay_setup_video_scheduler
.subsections_via_symbols
