	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_param_mapping_image_effect_params
_mmalomx_param_mapping_image_effect_params: ## @mmalomx_param_mapping_image_effect_params
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MMALOMX_PARAM_ENUM_TRANSLATE_T@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_xenum@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	_mmalomx_param_enum_image_effect@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r15), %r8d
	movl	8(%r14), %r9d
	movq	%rbx, %rcx
	callq	_MMALOMX_PARAM_ENUM_FIND
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %r13
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.1:
	movq	_MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_4
## %bb.2:
	movl	(%r14), %ebx
	movl	4(%r15), %edi
	callq	_MMAL_COUNTOF
	cmpl	%eax, %ebx
	jg	LBB0_7
## %bb.3:
	leaq	4(%r15), %rax
	movq	(%r12), %rcx
	movl	4(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movl	(%r14), %edx
	movl	%edx, (%r15)
	addq	$4, %r14
	jmp	LBB0_6
LBB0_4:
	movl	(%r15), %ebx
	movl	4(%r14), %edi
	callq	_MMAL_COUNTOF
	cmpl	%eax, %ebx
	jg	LBB0_7
## %bb.5:
	leaq	4(%r14), %rax
	movq	(%r12), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	movl	(%r15), %edx
	movl	%edx, (%r14)
	addq	$4, %r15
	movq	%r15, %r14
LBB0_6:
	movl	(%rax), %edi
	movl	(%r14), %esi
	shll	$2, %edx
	callq	_memcpy
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r13
LBB0_7:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMALOMX_PARAM_ENUM_TRANSLATE_T,4,2 ## @MMALOMX_PARAM_ENUM_TRANSLATE_T
	.comm	_xenum,8,3                      ## @xenum
	.comm	_mmalomx_param_enum_image_effect,4,2 ## @mmalomx_param_enum_image_effect
	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_MMALOMX_PARAM_MAPPING_TO_MMAL,8,3 ## @MMALOMX_PARAM_MAPPING_TO_MMAL
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_mmalomx_param_mapping_image_effect_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalomx_param_mapping_image_effect_params
_mmalomx_param_mapping_image_effect_params: ; @mmalomx_param_mapping_image_effect_params
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MMALOMX_PARAM_ENUM_TRANSLATE_T@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMALOMX_PARAM_ENUM_TRANSLATE_T@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x22, _xenum@GOTPAGE
Lloh4:
	ldr	x22, [x22, _xenum@GOTPAGEOFF]
	ldr	x1, [x22]
Lloh5:
	adrp	x8, _mmalomx_param_enum_image_effect@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mmalomx_param_enum_image_effect@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w4, [x20, #8]
	ldr	w5, [x19, #8]
	mov	x3, x21
	bl	_MMALOMX_PARAM_ENUM_FIND
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.1:
Lloh8:
	adrp	x8, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.2:
	ldr	w23, [x19]
	mov	x21, x20
	ldr	w0, [x21, #4]!
	bl	_MMAL_COUNTOF
	cmp	w23, w0
	b.gt	LBB0_5
; %bb.3:
	ldr	x8, [x22]
	ldr	w8, [x8, #4]
	str	w8, [x20, #8]
	ldr	w8, [x19], #4
	str	w8, [x20]
	b	LBB0_7
LBB0_4:
	ldr	w23, [x20]
	mov	x21, x19
	ldr	w0, [x21, #4]!
	bl	_MMAL_COUNTOF
	cmp	w23, w0
	b.le	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	x8, [x22]
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w8, [x20], #4
	str	w8, [x19]
	mov	x19, x20
LBB0_7:
	ldr	w0, [x21]
	ldr	w1, [x19]
	lsl	w2, w8, #2
	bl	_memcpy
Lloh13:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MMALOMX_PARAM_ENUM_TRANSLATE_T,4,2 ; @MMALOMX_PARAM_ENUM_TRANSLATE_T
	.comm	_xenum,8,3                      ; @xenum
	.comm	_mmalomx_param_enum_image_effect,4,2 ; @mmalomx_param_enum_image_effect
	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_MMALOMX_PARAM_MAPPING_TO_MMAL,8,3 ; @MMALOMX_PARAM_MAPPING_TO_MMAL
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_mmalomx_param_mapping_image_effect_params
.subsections_via_symbols
