	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_param_enum_generic     ## -- Begin function mmalomx_param_enum_generic
	.p2align	4, 0x90
_mmalomx_param_enum_generic:            ## @mmalomx_param_enum_generic
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%r8, %rdi
	callq	_MMAL_PARAM_UNUSED
	xorl	%eax, %eax
	cmpq	$0, 16(%rbx)
	sete	%al
	leaq	2(%rax,%rax), %r8
	movq	_MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	(%rbx), %eax
	cmpq	%r12, %rcx
	jne	LBB0_1
## %bb.5:
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movq	8(%rbx), %rdx
	movq	(%rdx), %rsi
	movq	(%r14,%r8,4), %rdi
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	decl	%edx
	jne	LBB0_7
	jmp	LBB0_10
LBB0_1:
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movq	8(%rbx), %rdx
	movq	8(%rdx), %rsi
	movq	16(%r15), %rdi
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rsi
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%edx
	jne	LBB0_3
	jmp	LBB0_10
LBB0_9:
	testl	%eax, %eax
	je	LBB0_10
## %bb.14:
	movq	8(%rbx), %rax
	cmpq	%r12, %rcx
	jne	LBB0_16
## %bb.15:
	movq	8(%rax), %rax
	movq	%rax, 16(%r15)
	jmp	LBB0_17
LBB0_10:
	cmpq	%r12, %rcx
	jne	LBB0_13
LBB0_11:
	movl	(%r14,%r8,4), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_12
LBB0_13:
	movl	16(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_12:
	callq	_VCOS_ALERT
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	(%rax), %rax
	movq	%rax, (%r14,%r8,4)
LBB0_17:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_MMALOMX_PARAM_MAPPING_TO_MMAL,8,3 ## @MMALOMX_PARAM_MAPPING_TO_MMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mmalomx_param_enum_generic: omx enum value %u not supported"

L_.str.1:                               ## @.str.1
	.asciz	"mmalomx_param_enum_generic: mmal enum value %u not supported"

	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalomx_param_enum_generic     ; -- Begin function mmalomx_param_enum_generic
	.p2align	2
_mmalomx_param_enum_generic:            ; @mmalomx_param_enum_generic
	.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	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x4
	bl	_MMAL_PARAM_UNUSED
	ldr	x8, [x21, #16]
	mov	w9, #8
	mov	w10, #16
	cmp	x8, #0
	csel	x8, x10, x9, eq
	add	x8, x22, x8
Lloh0:
	adrp	x9, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w10, [x21]
	cmp	x9, x20
	b.ne	LBB0_5
; %bb.1:
	cbz	w10, LBB0_13
; %bb.2:
	ldr	x11, [x21, #8]
	ldr	x11, [x11]
	ldr	x12, [x8]
	mov	x13, x10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x12
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	w13, w13, #1
	b.ne	LBB0_3
	b	LBB0_12
LBB0_5:
	cbz	w10, LBB0_14
; %bb.6:
	ldr	x11, [x21, #8]
	ldr	x11, [x11, #8]
	ldr	x12, [x19, #16]
	mov	x13, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x12
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	subs	w13, w13, #1
	b.ne	LBB0_7
	b	LBB0_12
LBB0_9:
	cbz	w10, LBB0_12
; %bb.10:
	ldr	x10, [x21, #8]
	cmp	x9, x20
	b.ne	LBB0_17
; %bb.11:
	ldr	x8, [x10, #8]
	str	x8, [x19, #16]
	b	LBB0_18
LBB0_12:
	cmp	x9, x20
	b.ne	LBB0_14
LBB0_13:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_15
LBB0_14:
	ldr	w1, [x19, #16]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_15:
	bl	_VCOS_ALERT
Lloh7:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
LBB0_16:
	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_17:
	ldr	x9, [x10]
	str	x9, [x8]
LBB0_18:
Lloh9:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MMALOMX_PARAM_MAPPING_TO_MMAL,8,3 ; @MMALOMX_PARAM_MAPPING_TO_MMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mmalomx_param_enum_generic: omx enum value %u not supported"

l_.str.1:                               ; @.str.1
	.asciz	"mmalomx_param_enum_generic: mmal enum value %u not supported"

	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
.subsections_via_symbols
