	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_parameter_set          ## -- Begin function mmalomx_parameter_set
	.p2align	4, 0x90
_mmalomx_parameter_set:                 ## @mmalomx_parameter_set
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	leal	-128(%rbx), %eax
	cmpl	$12, %eax
	ja	LBB0_17
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_OMX_PARAM_U32TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_nU32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	movl	%eax, %r12d
	movl	8(%r15), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_PARAM_GET_PORT
	movl	(%r15), %edx
	movq	_OMX_ErrorBadParameter@GOTPCREL(%rip), %rax
	cmpl	$4, %edx
	ja	LBB0_12
## %bb.9:
	subl	%r12d, %edx
	jl	LBB0_12
## %bb.10:
	leaq	4(%r15), %rsi
	movl	$16, %edi
	callq	_memcpy
	movq	8, %rax
	movq	(%rax), %r14
	movl	%ebx, %edi
	callq	_mmalil_omx_audio_param_index_to_coding
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_mmalil_omx_audio_param_to_format
	movq	8, %rdi
	callq	_mmal_port_format_commit
	jmp	LBB0_11
LBB0_2:
	movl	16(%r15), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_PARAM_GET_PORT
	cmpl	$19, (%r15)
	ja	LBB0_4
## %bb.3:
	movq	_OMX_ErrorBadParameter@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:
	movq	_OMX_PARAM_U32TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_nU32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	movl	%eax, %ebx
	movl	8(%r15), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_PARAM_GET_PORT
	movl	(%r15), %edx
	movq	_OMX_ErrorBadParameter@GOTPCREL(%rip), %rax
	cmpl	$4, %edx
	ja	LBB0_12
## %bb.6:
	subl	%ebx, %edx
	jl	LBB0_12
## %bb.7:
	addq	$4, %r15
	movl	$16, %edi
	movq	%r15, %rsi
	callq	_memcpy
LBB0_11:
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	12(%r15), %esi
	movl	4(%r15), %ecx
	movl	8(%r15), %edx
	incl	%ecx
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmalomx_set_video_param        ## TAILCALL
LBB0_14:
	movl	4(%r15), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_PARAM_GET_PORT
	movl	(%r15), %edi
	callq	_mmalil_omx_color_space_to_mmal
	movq	8, %rdi
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_15
LBB0_13:
	movl	8(%r15), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_PARAM_GET_PORT
	movl	4(%r15), %eax
	movq	8, %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	leaq	4(%rcx), %rdi
	movl	%eax, 8(%rcx)
	movl	(%r15), %eax
	movl	%eax, 4(%rcx)
	callq	_mmal_rational_simplify
	movq	8, %rdi
LBB0_15:
	callq	_mmal_port_format_commit
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmalil_error_to_omx            ## TAILCALL
LBB0_17:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmalomx_parameter_set_xlat     ## TAILCALL
LBB0_16:
	movl	4(%r15), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_PARAM_GET_PORT
	ud2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_OMX_ErrorBadParameter,4,2      ## @OMX_ErrorBadParameter
	.comm	_OMX_PARAM_U32TYPE,4,2          ## @OMX_PARAM_U32TYPE
	.comm	_nU32,4,2                       ## @nU32
	.comm	_OMX_ErrorNone,4,2              ## @OMX_ErrorNone
	.comm	_OMX_ErrorNotImplemented,4,2    ## @OMX_ErrorNotImplemented
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_parameter_set          ; -- Begin function mmalomx_parameter_set
	.p2align	2
_mmalomx_parameter_set:                 ; @mmalomx_parameter_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x20, x0
	sub	w8, w1, #128
	cmp	w8, #12
	b.hi	LBB0_14
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _OMX_PARAM_U32TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OMX_PARAM_U32TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _nU32@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nU32@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_offsetof
	mov	x22, x0
	ldr	w2, [x19, #8]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	ldr	w8, [x19]
	cmp	w8, #4
	ccmp	w8, w22, #8, ls
	b.lt	LBB0_7
; %bb.3:
	add	x1, x19, #4
	sub	w2, w8, w22
	mov	w0, #16
	bl	_memcpy
	mov	w22, #8
	ldr	x8, [x22]
	ldr	x20, [x8]
	mov	x0, x21
	bl	_mmalil_omx_audio_param_index_to_coding
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_mmalil_omx_audio_param_to_format
	ldr	x0, [x22]
	bl	_mmal_port_format_commit
	b	LBB0_9
LBB0_4:
	ldr	w2, [x19, #16]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	ldr	w8, [x19]
	cmp	w8, #19
	b.ls	LBB0_7
; %bb.5:
	ldp	w2, w1, [x19, #8]
	ldr	w8, [x19, #4]
	add	w3, w8, #1
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mmalomx_set_video_param
LBB0_6:
Lloh8:
	adrp	x8, _OMX_PARAM_U32TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OMX_PARAM_U32TYPE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _nU32@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nU32@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_offsetof
	mov	x21, x0
	ldr	w2, [x19, #8]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	ldr	w8, [x19]
	cmp	w8, #4
	ccmp	w8, w21, #8, ls
	b.ge	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _OMX_ErrorBadParameter@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OMX_ErrorBadParameter@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	add	x1, x19, #4
	sub	w2, w8, w21
	mov	w0, #16
	bl	_memcpy
LBB0_9:
Lloh16:
	adrp	x8, _OMX_ErrorNone@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OMX_ErrorNone@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w2, [x19, #4]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	ldr	w0, [x19]
	bl	_mmalil_omx_color_space_to_mmal
	mov	w8, #8
	ldr	x8, [x8]
	ldr	x9, [x8]
	ldr	x9, [x9]
	str	w0, [x9]
	mov	x0, x8
	b	LBB0_13
LBB0_12:
	ldr	w2, [x19, #8]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	mov	w20, #8
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x0, [x8]
	ldr	d0, [x19]
	str	d0, [x0, #4]!
	bl	_mmal_rational_simplify
	ldr	x0, [x20]
LBB0_13:
	bl	_mmal_port_format_commit
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mmalil_error_to_omx
LBB0_14:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mmalomx_parameter_set_xlat
LBB0_15:
	ldr	w2, [x19, #4]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	brk	#0x1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_OMX_ErrorBadParameter,4,2      ; @OMX_ErrorBadParameter
	.comm	_OMX_PARAM_U32TYPE,4,2          ; @OMX_PARAM_U32TYPE
	.comm	_nU32,4,2                       ; @nU32
	.comm	_OMX_ErrorNone,4,2              ; @OMX_ErrorNone
	.comm	_OMX_ErrorNotImplemented,4,2    ; @OMX_ErrorNotImplemented
.subsections_via_symbols
