	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_param_mapping_event_request
_mmalomx_param_mapping_event_request:   ## @mmalomx_param_mapping_event_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_5
## %bb.1:
	movl	4(%r14), %edi
	callq	_mmalomx_find_parameter_from_omx_id
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	4(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_8
LBB0_5:
	movl	4(%rbx), %edi
	callq	_mmalomx_find_parameter_from_mmal_id
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	(%rbx), %eax
	movl	%eax, (%r14)
LBB0_8:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_6:
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	callq	_VCOS_ALERT
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.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	"ommalomx_param_mapping_event_request: omx parameter 0x%08x not recognised"

	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"mmalomx_param_mapping_event_request: mmal parameter 0x%08x not recognised"

	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_mmalomx_param_mapping_event_request
.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_event_request
_mmalomx_param_mapping_event_request:   ; @mmalomx_param_mapping_event_request
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_mmalomx_find_parameter_from_omx_id
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w8, [x0, #4]
	ldr	w9, [x19]
	stp	w9, w8, [x20]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x20, #4]
	bl	_mmalomx_find_parameter_from_mmal_id
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w8, [x0]
	ldr	w9, [x20]
	stp	w9, w8, [x19]
LBB0_5:
Lloh3:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	w1, [x19, #4]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	w1, [x20, #4]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_VCOS_ALERT
Lloh9:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	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	"ommalomx_param_mapping_event_request: omx parameter 0x%08x not recognised"

	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"mmalomx_param_mapping_event_request: mmal parameter 0x%08x not recognised"

	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_mmalomx_param_mapping_event_request
.subsections_via_symbols
