	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_param_custom_ratecontrol
_mmalomx_param_custom_ratecontrol:      ## @mmalomx_param_custom_ratecontrol
	.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	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_MMAL_PARAM_UNUSED
	movq	_MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	4(%r12), %edi
	callq	_mmalil_omx_video_ratecontrol_to_mmal
	movl	%eax, (%r15)
	jmp	LBB0_3
LBB0_2:
	movl	(%r15), %edi
	callq	_mmalil_video_ratecontrol_to_omx
	movl	%eax, 4(%r12)
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_3:
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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_custom_ratecontrol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalomx_param_custom_ratecontrol
_mmalomx_param_custom_ratecontrol:      ; @mmalomx_param_custom_ratecontrol
	.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	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x0
	mov	x0, x1
	bl	_MMAL_PARAM_UNUSED
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, x22
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_mmalil_omx_video_ratecontrol_to_mmal
	str	w0, [x21]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21]
	bl	_mmalil_video_ratecontrol_to_omx
	ldr	x8, [x20]
	ldr	w8, [x8]
	stp	w8, w0, [x19]
LBB0_3:
Lloh3:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh5:
	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
	.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_custom_ratecontrol
.subsections_via_symbols
