	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_param_mapping_ev_comp
_mmalomx_param_mapping_ev_comp:         ## @mmalomx_param_mapping_ev_comp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	(%rdx), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %eax
	sarl	$16, %eax
	movl	%eax, (%rsi)
	jmp	LBB0_3
LBB0_2:
	movl	(%rsi), %eax
	shll	$16, %eax
	cltq
	imulq	$715827883, %rax, %rax          ## imm = 0x2AAAAAAB
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	movl	%eax, (%rdx)
LBB0_3:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_ev_comp
.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_ev_comp
_mmalomx_param_mapping_ev_comp:         ; @mmalomx_param_mapping_ev_comp
	.cfi_startproc
; %bb.0:
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_2
; %bb.1:
	ldr	w8, [x2]
	add	w8, w8, w8, lsl #1
	sbfx	w8, w8, #15, #16
	str	w8, [x1]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x1]
	lsl	w8, w8, #16
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	str	w8, [x2]
LBB0_3:
Lloh3:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.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_ev_comp
.subsections_via_symbols
