	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmalomx_ComponentSetParameter
_mmalomx_ComponentSetParameter:         ## @mmalomx_ComponentSetParameter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_mmalomx_param_to_string
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movq	%r14, %r8
	callq	_LOG_TRACE
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	cmpl	$7, (%r14)
	ja	LBB0_5
LBB0_3:
	movq	_OMX_ErrorBadParameter@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_OMX_ErrorInvalidComponent@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	(%r15), %rcx
	movq	_OMX_StateInvalid@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_9
## %bb.6:
	movq	_OMX_ErrorInvalidState@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	leal	-128(%rbx), %eax
	cmpl	$7, %eax
	ja	LBB0_20
## %bb.10:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_11:
	movq	_OMX_ErrorNotImplemented@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_12:
	movq	_OMX_StateLoaded@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_23
## %bb.13:
	movl	4(%r14), %eax
	movl	%eax, 12(%r15)
	movl	(%r14), %eax
	movl	%eax, 8(%r15)
                                        ## implicit-def: $eax
	jmp	LBB0_24
LBB0_14:
	movl	4(%r14), %edx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_PARAM_GET_PORT
	movl	(%r14), %edi
	callq	_mmalil_omx_audio_coding_to_encoding
	jmp	LBB0_27
LBB0_15:
	movl	(%r14), %edx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_PARAM_GET_PORT
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_mmalomx_set_port_settings
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmalil_error_to_omx            ## TAILCALL
LBB0_16:
	movl	8(%r14), %edx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_PARAM_GET_PORT
	movl	4(%r14), %edi
	movq	_OMX_VIDEO_CodingUnused@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_26
## %bb.17:
	movl	(%r14), %edi
	callq	_mmalil_omx_color_format_to_encoding
	jmp	LBB0_27
LBB0_18:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmalomx_role_set               ## TAILCALL
LBB0_19:
	movl	(%r14), %edx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_PARAM_GET_PORT
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_20:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_mmalomx_parameter_set
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.21:
	movq	_OMX_IndexParamBrcmZeroCopy@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_8
## %bb.22:
	movl	4(%r14), %edx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_PARAM_GET_PORT
	ud2
LBB0_23:
	movq	_OMX_ErrorIncorrectStateOperation@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	cmpq	%rdx, %rcx
	jne	LBB0_8
	jmp	LBB0_25
LBB0_26:
	callq	_mmalil_omx_video_coding_to_encoding
LBB0_27:
	movq	8, %rdi
	movq	(%rdi), %rcx
	movl	%eax, 4(%rcx)
	movl	$0, (%rcx)
	callq	_mmal_port_format_commit
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.28:
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG_ERROR
LBB0_25:
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_19
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hComponent %p, nParamIndex 0x%x (%s), pParam %p"

	.comm	_OMX_ErrorInvalidComponent,4,2  ## @OMX_ErrorInvalidComponent
	.comm	_OMX_ErrorBadParameter,4,2      ## @OMX_ErrorBadParameter
	.comm	_OMX_StateInvalid,8,3           ## @OMX_StateInvalid
	.comm	_OMX_ErrorInvalidState,4,2      ## @OMX_ErrorInvalidState
	.comm	_OMX_ErrorNone,4,2              ## @OMX_ErrorNone
	.comm	_OMX_StateLoaded,8,3            ## @OMX_StateLoaded
	.comm	_OMX_ErrorIncorrectStateOperation,4,2 ## @OMX_ErrorIncorrectStateOperation
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"OMX_IndexParamAudioPortFormat commit failed"

	.comm	_OMX_VIDEO_CodingUnused,4,2     ## @OMX_VIDEO_CodingUnused
	.comm	_OMX_IndexParamBrcmZeroCopy,4,2 ## @OMX_IndexParamBrcmZeroCopy
	.comm	_OMX_ErrorNotImplemented,4,2    ## @OMX_ErrorNotImplemented
	.no_dead_strip	_mmalomx_ComponentSetParameter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmalomx_ComponentSetParameter
_mmalomx_ComponentSetParameter:         ; @mmalomx_ComponentSetParameter
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_mmalomx_param_to_string
	mov	x3, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x4, x19
	bl	_LOG_TRACE
	cbz	x20, LBB0_4
; %bb.1:
	cbz	x19, LBB0_3
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #7
	b.hi	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _OMX_ErrorBadParameter@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OMX_ErrorBadParameter@GOTPAGEOFF]
	b	LBB0_26
LBB0_4:
Lloh4:
	adrp	x8, _OMX_ErrorInvalidComponent@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OMX_ErrorInvalidComponent@GOTPAGEOFF]
	b	LBB0_26
LBB0_5:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _OMX_StateInvalid@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OMX_StateInvalid@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _OMX_ErrorInvalidState@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OMX_ErrorInvalidState@GOTPAGEOFF]
	b	LBB0_26
LBB0_7:
	sub	w9, w21, #128
	cmp	w9, #7
	b.hi	LBB0_18
; %bb.8:
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_9
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:
Lloh13:
	adrp	x8, _OMX_ErrorNotImplemented@GOTPAGE
Lloh14:
	ldr	x8, [x8, _OMX_ErrorNotImplemented@GOTPAGEOFF]
	b	LBB0_26
LBB0_10:
Lloh15:
	adrp	x9, _OMX_StateLoaded@GOTPAGE
Lloh16:
	ldr	x9, [x9, _OMX_StateLoaded@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.11:
	ldr	d0, [x19]
	str	d0, [x20, #8]
                                        ; implicit-def: $w10
	b	LBB0_21
LBB0_12:
	ldr	w2, [x19, #4]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	ldr	w0, [x19]
	bl	_mmalil_omx_audio_coding_to_encoding
	b	LBB0_23
LBB0_13:
	ldr	w2, [x19]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	mov	x0, #0
	mov	x1, x19
	bl	_mmalomx_set_port_settings
	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
	b	_mmalil_error_to_omx
LBB0_14:
	ldr	w2, [x19, #8]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	ldr	w0, [x19, #4]
Lloh18:
	adrp	x8, _OMX_VIDEO_CodingUnused@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OMX_VIDEO_CodingUnused@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.15:
	ldr	w0, [x19]
	bl	_mmalil_omx_color_format_to_encoding
	b	LBB0_23
LBB0_16:
	ldr	x1, [x19]
	mov	x0, x20
	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
	b	_mmalomx_role_set
LBB0_17:
	ldr	w2, [x19]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	b	LBB0_25
LBB0_18:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_mmalomx_parameter_set
Lloh21:
	adrp	x8, _OMX_ErrorNone@GOTPAGE
Lloh22:
	ldr	x8, [x8, _OMX_ErrorNone@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _OMX_IndexParamBrcmZeroCopy@GOTPAGE
Lloh25:
	ldr	x9, [x9, _OMX_IndexParamBrcmZeroCopy@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w9, w21, #0, eq
	b.ne	LBB0_27
; %bb.19:
	ldr	w2, [x19, #4]
	mov	x0, #0
	mov	x1, x20
	bl	_PARAM_GET_PORT
	brk	#0x1
LBB0_20:
Lloh27:
	adrp	x10, _OMX_ErrorIncorrectStateOperation@GOTPAGE
Lloh28:
	ldr	x10, [x10, _OMX_ErrorIncorrectStateOperation@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
LBB0_21:
Lloh30:
	adrp	x11, _OMX_ErrorNone@GOTPAGE
Lloh31:
	ldr	x11, [x11, _OMX_ErrorNone@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	cmp	x8, x9
	csel	w0, w11, w10, eq
	b	LBB0_27
LBB0_22:
	bl	_mmalil_omx_video_coding_to_encoding
LBB0_23:
	mov	w8, #8
	ldr	x8, [x8]
	ldr	x9, [x8]
	stp	wzr, w0, [x9]
	mov	x0, x8
	bl	_mmal_port_format_commit
Lloh33:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_25
; %bb.24:
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_LOG_ERROR
LBB0_25:
Lloh38:
	adrp	x8, _OMX_ErrorNone@GOTPAGE
Lloh39:
	ldr	x8, [x8, _OMX_ErrorNone@GOTPAGEOFF]
LBB0_26:
	ldr	w0, [x8]
LBB0_27:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_17-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hComponent %p, nParamIndex 0x%x (%s), pParam %p"

	.comm	_OMX_ErrorInvalidComponent,4,2  ; @OMX_ErrorInvalidComponent
	.comm	_OMX_ErrorBadParameter,4,2      ; @OMX_ErrorBadParameter
	.comm	_OMX_StateInvalid,8,3           ; @OMX_StateInvalid
	.comm	_OMX_ErrorInvalidState,4,2      ; @OMX_ErrorInvalidState
	.comm	_OMX_ErrorNone,4,2              ; @OMX_ErrorNone
	.comm	_OMX_StateLoaded,8,3            ; @OMX_StateLoaded
	.comm	_OMX_ErrorIncorrectStateOperation,4,2 ; @OMX_ErrorIncorrectStateOperation
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"OMX_IndexParamAudioPortFormat commit failed"

	.comm	_OMX_VIDEO_CodingUnused,4,2     ; @OMX_VIDEO_CodingUnused
	.comm	_OMX_IndexParamBrcmZeroCopy,4,2 ; @OMX_IndexParamBrcmZeroCopy
	.comm	_OMX_ErrorNotImplemented,4,2    ; @OMX_ErrorNotImplemented
	.no_dead_strip	_mmalomx_ComponentSetParameter
.subsections_via_symbols
