	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_parameter_get_xlat
_mmalomx_parameter_get_xlat:            ## @mmalomx_parameter_get_xlat
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_mmalomx_find_parameter_from_omx_id
	movq	%rax, %r13
	movq	16(%rbx), %rax
	movq	(%rax), %r15
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -56(%rbp)
	testq	%r13, %r13
	je	LBB0_24
## %bb.1:
	movq	72(%r13), %rcx
	movl	(%r14), %edx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	cmpl	(%r13), %edx
	jl	LBB0_8
LBB0_3:
	movq	8(%r13), %rdx
	movq	_MMALOMX_PARAM_TRANSLATION_TYPE_DIRECT@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	testq	%rcx, %rcx
	setne	%al
	sete	%bl
	shlq	$4, %rbx
	leaq	(%r14,%rbx), %rsi
	movq	(%r14,%rbx), %rcx
	movq	%rcx, -48(%rbp)
	movl	(%r14), %ecx
	leal	-4(%rcx,%rax,4), %eax
	movl	%eax, (%r14,%rbx)
	movl	64(%r13), %eax
	movl	%eax, 4(%r14,%rbx)
	movq	%r15, %rdi
	callq	_mmal_port_parameter_get
	movq	%rax, -56(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, (%r14,%rbx)
	xorl	%ecx, %ecx
	cmpq	$0, 72(%r13)
	sete	%cl
	leal	(%rax,%rcx,4), %eax
	movl	%eax, (%r14)
	movq	-56(%rbp), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmalil_error_to_omx            ## TAILCALL
LBB0_5:
	cmpl	$15, %edx
	jbe	LBB0_8
## %bb.6:
	movq	8(%r14), %rsi
	cmpq	(%rbx), %rsi
	jae	LBB0_13
## %bb.7:
	movq	8(%rbx), %rdi
	movq	(%rdi,%rsi,8), %r15
	cmpl	(%r13), %edx
	jge	LBB0_3
LBB0_8:
	movq	_OMX_ErrorBadParameter@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_9:
	movq	24(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.10:
	movq	_MMALOMX_PARAM_MAPPING_TO_OMX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rsi
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	*%rbx
LBB0_11:
	movq	%rax, %rdi
LBB0_12:
	callq	_mmalil_error_to_omx
	jmp	LBB0_26
LBB0_13:
	movq	_OMX_ErrorBadPortIndex@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_14:
	cmpq	$0, 32(%r13)
	je	LBB0_18
## %bb.15:
	movl	16(%r13), %eax
	movl	64(%r13), %esi
	addl	%eax, %eax
	leal	(%rax,%rax,4), %edx
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	callq	_mmal_port_parameter_alloc_get
	testq	%rax, %rax
	je	LBB0_27
## %bb.16:
	movq	%rax, %r12
	movslq	20(%r13), %rax
	movl	(%r14,%rax,4), %ecx
	movslq	(%r12), %rax
	addq	$-8, %rax
	movslq	16(%r13), %rsi
	addq	$-8, %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_28
## %bb.17:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_29
LBB0_18:
	movq	40(%r13), %rbx
	testq	%rbx, %rbx
	jne	LBB0_20
## %bb.19:
	cmpq	$0, 48(%r13)
	je	LBB0_24
LBB0_20:
	movl	16(%r13), %ecx
	cmpl	$9, %ecx
	jae	LBB0_8
## %bb.21:
	movl	%ecx, -48(%rbp)
	movl	64(%r13), %ecx
	movl	%ecx, -44(%rbp)
	cmpq	$0, 56(%r13)
	je	LBB0_34
## %bb.22:
	movq	_MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_32
## %bb.23:
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rsi
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	*%rbx
	jmp	LBB0_33
LBB0_24:
	movq	_OMX_ErrorNotImplemented@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %eax
LBB0_26:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	_OMX_ErrorInsufficientResources@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_28:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_29:
	cmpl	%eax, %ecx
	jge	LBB0_31
## %bb.30:
	movq	_MMALOMX_PARAM_MAPPING_TO_OMX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	%ecx, %edx
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r15, %r9
	callq	*32(%r13)
	movq	%rax, -56(%rbp)
	movq	%r12, %rdi
	callq	_vcos_free
	movq	-56(%rbp), %rdi
	jmp	LBB0_12
LBB0_31:
	movq	%r12, %rdi
	callq	_vcos_free
	movq	_OMX_ErrorNoMore@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_32:
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdx
	callq	*48(%r13)
LBB0_33:
	movq	%rax, -56(%rbp)
LBB0_34:
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.35:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mmal_port_parameter_get
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.36:
	movq	40(%r13), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movq	_MMALOMX_PARAM_MAPPING_TO_OMX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rsi
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	*%rax
	jmp	LBB0_11
LBB0_38:
	movq	_MMALOMX_PARAM_MAPPING_TO_OMX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdx
	callq	*48(%r13)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_SUCCESS,8,3               ## @MMAL_SUCCESS
	.comm	_OMX_ErrorNotImplemented,4,2    ## @OMX_ErrorNotImplemented
	.comm	_OMX_ErrorBadParameter,4,2      ## @OMX_ErrorBadParameter
	.comm	_OMX_ErrorBadPortIndex,4,2      ## @OMX_ErrorBadPortIndex
	.comm	_MMALOMX_PARAM_TRANSLATION_TYPE_DIRECT,8,3 ## @MMALOMX_PARAM_TRANSLATION_TYPE_DIRECT
	.comm	_MMALOMX_PARAM_MAPPING_TO_OMX,4,2 ## @MMALOMX_PARAM_MAPPING_TO_OMX
	.comm	_OMX_ErrorInsufficientResources,4,2 ## @OMX_ErrorInsufficientResources
	.comm	_OMX_ErrorNoMore,4,2            ## @OMX_ErrorNoMore
	.comm	_MMALOMX_PARAM_MAPPING_TO_MMAL,4,2 ## @MMALOMX_PARAM_MAPPING_TO_MMAL
	.no_dead_strip	_mmalomx_parameter_get_xlat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalomx_parameter_get_xlat
_mmalomx_parameter_get_xlat:            ; @mmalomx_parameter_get_xlat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x0
	mov	x0, x1
	bl	_mmalomx_find_parameter_from_omx_id
	mov	x20, x0
	ldr	x8, [x22, #16]
	ldr	x21, [x8]
Lloh0:
	adrp	x23, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MMAL_SUCCESS@GOTPAGEOFF]
	ldr	x0, [x23]
	str	x0, [sp]
	cbz	x20, LBB0_23
; %bb.1:
	ldr	x8, [x20, #72]
	ldr	w9, [x19]
	cbz	x8, LBB0_5
LBB0_2:
	ldr	w10, [x20]
	cmp	w9, w10
	b.lt	LBB0_6
; %bb.3:
	ldr	x9, [x20, #8]
Lloh2:
	adrp	x10, _MMALOMX_PARAM_TRANSLATION_TYPE_DIRECT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MMALOMX_PARAM_TRANSLATION_TYPE_DIRECT@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.4:
	cmp	x8, #0
	cset	w8, eq
	add	x22, x19, w8, uxtw #4
	ldr	x8, [x22]
	str	x8, [sp, #8]
	ldr	w8, [x19]
	mov	w9, #-4
	csel	w9, w9, wzr, eq
	add	w8, w8, w9
	str	w8, [x22]
	ldr	w8, [x20, #64]
	str	w8, [x22, #4]
	mov	x0, x21
	mov	x1, x22
	bl	_mmal_port_parameter_get
	str	x0, [sp]
	ldr	x8, [sp, #8]
	str	x8, [x22]
	ldr	x9, [x20, #72]
	cmp	x9, #0
	cset	w9, eq
	add	w8, w8, w9, lsl #2
	str	w8, [x19]
	ldr	x0, [sp]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_mmalil_error_to_omx
LBB0_5:
	cmp	w9, #15
	b.hi	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _OMX_ErrorBadParameter@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OMX_ErrorBadParameter@GOTPAGEOFF]
	b	LBB0_24
LBB0_7:
	ldr	x10, [x19, #8]
	ldr	x11, [x22]
	cmp	x10, x11
	b.hs	LBB0_12
; %bb.8:
	ldr	x11, [x22, #8]
	ldr	x21, [x11, x10, lsl #3]
	b	LBB0_2
LBB0_9:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_13
LBB0_10:
Lloh7:
	adrp	x9, _MMALOMX_PARAM_MAPPING_TO_OMX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MMALOMX_PARAM_MAPPING_TO_OMX@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	add	x2, sp, #8
	mov	x1, x20
	mov	x3, x19
	mov	x4, x21
	blr	x8
LBB0_11:
	bl	_mmalil_error_to_omx
	b	LBB0_25
LBB0_12:
Lloh10:
	adrp	x8, _OMX_ErrorBadPortIndex@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OMX_ErrorBadPortIndex@GOTPAGEOFF]
	b	LBB0_24
LBB0_13:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_17
; %bb.14:
	ldr	w1, [x20, #64]
	ldr	w8, [x20, #16]
	add	w8, w8, w8, lsl #2
	lsl	w2, w8, #1
	mov	x3, sp
	mov	x0, x21
	bl	_mmal_port_parameter_alloc_get
	cbz	x0, LBB0_26
; %bb.15:
	mov	x22, x0
	ldpsw	x9, x8, [x20, #16]
	ldr	w2, [x19, x8, lsl #2]
	ldrsw	x8, [x0]
	sub	x8, x8, #8
	sub	x9, x9, #8
	udiv	x8, x8, x9
	cmp	w2, w8
	b.ge	LBB0_27
; %bb.16:
	ldr	x8, [x20, #32]
Lloh12:
	adrp	x9, _MMALOMX_PARAM_MAPPING_TO_OMX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MMALOMX_PARAM_MAPPING_TO_OMX@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
	mov	x1, x20
	mov	x3, x22
	mov	x4, x19
	mov	x5, x21
	blr	x8
	str	x0, [sp]
	mov	x0, x22
	bl	_vcos_free
	ldr	x0, [sp]
	b	LBB0_11
LBB0_17:
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	x9, [x20, #48]
	cbz	x9, LBB0_23
LBB0_19:
	ldr	w9, [x20, #16]
	cmp	w9, #9
	b.hs	LBB0_6
; %bb.20:
	ldr	w10, [x20, #64]
	stp	w9, w10, [sp, #8]
	ldr	x9, [x20, #56]
	cbz	x9, LBB0_30
; %bb.21:
	cbz	x8, LBB0_28
; %bb.22:
Lloh15:
	adrp	x9, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x9]
	add	x2, sp, #8
	mov	x1, x20
	mov	x3, x19
	mov	x4, x21
	blr	x8
	b	LBB0_29
LBB0_23:
Lloh18:
	adrp	x8, _OMX_ErrorNotImplemented@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OMX_ErrorNotImplemented@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
LBB0_25:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_26:
Lloh20:
	adrp	x8, _OMX_ErrorInsufficientResources@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OMX_ErrorInsufficientResources@GOTPAGEOFF]
	b	LBB0_24
LBB0_27:
	mov	x0, x22
	bl	_vcos_free
Lloh22:
	adrp	x8, _OMX_ErrorNoMore@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OMX_ErrorNoMore@GOTPAGEOFF]
	b	LBB0_24
LBB0_28:
	ldr	x8, [x20, #48]
Lloh24:
	adrp	x9, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MMALOMX_PARAM_MAPPING_TO_MMAL@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x9]
	add	x1, sp, #8
	mov	x2, x19
	blr	x8
LBB0_29:
	str	x0, [sp]
LBB0_30:
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.31:
	add	x1, sp, #8
	mov	x0, x21
	bl	_mmal_port_parameter_get
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.32:
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_10
; %bb.33:
	ldr	x8, [x20, #48]
Lloh27:
	adrp	x9, _MMALOMX_PARAM_MAPPING_TO_OMX@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MMALOMX_PARAM_MAPPING_TO_OMX@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
	add	x1, sp, #8
	mov	x2, x19
	blr	x8
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_SUCCESS,8,3               ; @MMAL_SUCCESS
	.comm	_OMX_ErrorNotImplemented,4,2    ; @OMX_ErrorNotImplemented
	.comm	_OMX_ErrorBadParameter,4,2      ; @OMX_ErrorBadParameter
	.comm	_OMX_ErrorBadPortIndex,4,2      ; @OMX_ErrorBadPortIndex
	.comm	_MMALOMX_PARAM_TRANSLATION_TYPE_DIRECT,8,3 ; @MMALOMX_PARAM_TRANSLATION_TYPE_DIRECT
	.comm	_MMALOMX_PARAM_MAPPING_TO_OMX,4,2 ; @MMALOMX_PARAM_MAPPING_TO_OMX
	.comm	_OMX_ErrorInsufficientResources,4,2 ; @OMX_ErrorInsufficientResources
	.comm	_OMX_ErrorNoMore,4,2            ; @OMX_ErrorNoMore
	.comm	_MMALOMX_PARAM_MAPPING_TO_MMAL,4,2 ; @MMALOMX_PARAM_MAPPING_TO_MMAL
	.no_dead_strip	_mmalomx_parameter_get_xlat
.subsections_via_symbols
