	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_get_video_param
_mmalomx_get_video_param:               ## @mmalomx_get_video_param
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MMAL_PARAMETER_PROFILE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -64(%rbp)
	leaq	-56(%rbp), %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movl	$0, -40(%rbp)
	movq	$0, (%rcx)
	movq	$0, (%rdx)
	movq	$0, (%rsi)
	movl	(%rdi), %edi
	movq	_MMAL_PARAMETER_INTRAPERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rdx
	callq	_mmal_port_parameter_get_uint32
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_mmal_port_parameter_get
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	-64(%rbp), %rax
	movl	4(%rax), %edi
	callq	_mmalil_video_profile_to_omx
	movq	%rax, (%r15)
	movq	-64(%rbp), %rax
	movl	(%rax), %edi
	callq	_mmalil_video_level_to_omx
	movq	%rax, (%r14)
LBB0_2:
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_PARAMETER_PROFILE,4,2     ## @MMAL_PARAMETER_PROFILE
	.comm	_MMAL_PARAMETER_INTRAPERIOD,4,2 ## @MMAL_PARAMETER_INTRAPERIOD
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_OMX_ErrorNone,4,2              ## @OMX_ErrorNone
	.no_dead_strip	_mmalomx_get_video_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalomx_get_video_param
_mmalomx_get_video_param:               ; @mmalomx_get_video_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MMAL_PARAMETER_PROFILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_PARAMETER_PROFILE@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	x9, sp
	add	x22, x9, #8
	stp	xzr, xzr, [sp, #8]
	str	x8, [sp]
	str	wzr, [sp, #24]
	str	xzr, [x3]
	str	xzr, [x2]
	str	xzr, [x1]
	ldr	w0, [x0]
Lloh3:
	adrp	x8, _MMAL_PARAMETER_INTRAPERIOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_PARAMETER_INTRAPERIOD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x3
	bl	_mmal_port_parameter_get_uint32
	ldr	w0, [x21]
	mov	x1, x22
	bl	_mmal_port_parameter_get
Lloh6:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [sp]
	ldr	w0, [x8, #4]
	bl	_mmalil_video_profile_to_omx
	str	x0, [x20]
	ldr	x8, [sp]
	ldr	w0, [x8]
	bl	_mmalil_video_level_to_omx
	str	x0, [x19]
LBB0_2:
Lloh9:
	adrp	x8, _OMX_ErrorNone@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OMX_ErrorNone@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_PARAMETER_PROFILE,4,2     ; @MMAL_PARAMETER_PROFILE
	.comm	_MMAL_PARAMETER_INTRAPERIOD,4,2 ; @MMAL_PARAMETER_INTRAPERIOD
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_OMX_ErrorNone,4,2              ; @OMX_ErrorNone
	.no_dead_strip	_mmalomx_get_video_param
.subsections_via_symbols
