	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_set_video_param
_mmalomx_set_video_param:               ## @mmalomx_set_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	%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
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_mmalil_encoding_to_omx_video_coding
	movl	%eax, %r12d
	movq	(%rbx), %rdi
	movq	_MMAL_PARAMETER_INTRAPERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	callq	_mmal_port_parameter_set_uint32
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	_OMX_ErrorBadParameter@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_mmalil_omx_video_profile_to_mmal
	movq	%rax, 8
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_mmalil_omx_video_level_to_mmal
	ud2
	.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_ErrorBadParameter,4,2      ## @OMX_ErrorBadParameter
	.comm	_OMX_ErrorNone,4,2              ## @OMX_ErrorNone
	.no_dead_strip	_mmalomx_set_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_set_video_param
_mmalomx_set_video_param:               ; @mmalomx_set_video_param
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_mmalil_encoding_to_omx_video_coding
	mov	x20, x0
	ldr	x0, [x23]
Lloh0:
	adrp	x8, _MMAL_PARAMETER_INTRAPERIOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_PARAMETER_INTRAPERIOD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_mmal_port_parameter_set_uint32
Lloh3:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _OMX_ErrorBadParameter@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OMX_ErrorBadParameter@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_mmalil_omx_video_profile_to_mmal
	mov	w8, #8
	str	x0, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mmalil_omx_video_level_to_mmal
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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_ErrorBadParameter,4,2      ; @OMX_ErrorBadParameter
	.comm	_OMX_ErrorNone,4,2              ; @OMX_ErrorNone
	.no_dead_strip	_mmalomx_set_video_param
.subsections_via_symbols
