	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_portSettingsChangedAgain       ## -- Begin function portSettingsChangedAgain
	.p2align	4, 0x90
_portSettingsChangedAgain:              ## @portSettingsChangedAgain
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_ilclient_disable_port
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	8(%rax), %esi
	callq	_ilclient_disable_port
	movl	$12, -40(%rbp)
	movq	_OMX_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
	movl	8(%rax), %edi
	movq	_OMX_IndexParamPortDefinition@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-40(%rbp), %r14
	movq	%r14, %rdx
	callq	_OMX_GetParameter
	movq	(%rbx), %rax
	movl	8(%rax), %ecx
	movl	%ecx, -36(%rbp)
	movl	12(%rax), %edi
	movl	(%r15), %esi
	movq	%r14, %rdx
	callq	_OMX_SetParameter
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_ilclient_enable_port
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	8(%rax), %esi
	callq	_ilclient_enable_port
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %edi
	movq	_OMX_EventPortSettingsChanged@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_ilclient_wait_for_event
	addq	$16, %rsp
	movq	_OMXJPEG_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMX_VERSION,4,2                ## @OMX_VERSION
	.comm	_OMX_IndexParamPortDefinition,4,2 ## @OMX_IndexParamPortDefinition
	.comm	_OMX_EventPortSettingsChanged,4,2 ## @OMX_EventPortSettingsChanged
	.comm	_TIMEOUT_MS,4,2                 ## @TIMEOUT_MS
	.comm	_OMXJPEG_OK,4,2                 ## @OMXJPEG_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_portSettingsChangedAgain       ; -- Begin function portSettingsChangedAgain
	.p2align	2
_portSettingsChangedAgain:              ; @portSettingsChangedAgain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldp	w1, w0, [x8]
	bl	_ilclient_disable_port
	ldr	x8, [x19]
	ldp	w0, w1, [x8, #4]
	bl	_ilclient_disable_port
	mov	w8, #12
Lloh0:
	adrp	x9, _OMX_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OMX_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	stp	w8, w10, [sp]
	ldr	w0, [x9, #8]
Lloh3:
	adrp	x20, _OMX_IndexParamPortDefinition@GOTPAGE
Lloh4:
	ldr	x20, [x20, _OMX_IndexParamPortDefinition@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x2, sp
	bl	_OMX_GetParameter
	ldr	x8, [x19]
	ldp	w9, w0, [x8, #8]
	str	w9, [sp, #4]
	ldr	w1, [x20]
	mov	x2, sp
	bl	_OMX_SetParameter
	ldr	x8, [x19, #8]
	ldp	w1, w0, [x8]
	bl	_ilclient_enable_port
	ldr	x8, [x19]
	ldp	w0, w1, [x8, #4]
	bl	_ilclient_enable_port
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _OMX_EventPortSettingsChanged@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OMX_EventPortSettingsChanged@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	ldp	w2, w0, [x8]
Lloh8:
	adrp	x8, _TIMEOUT_MS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TIMEOUT_MS@GOTPAGEOFF]
Lloh10:
	ldr	w7, [x8]
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_ilclient_wait_for_event
Lloh11:
	adrp	x8, _OMXJPEG_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OMXJPEG_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OMX_VERSION,4,2                ; @OMX_VERSION
	.comm	_OMX_IndexParamPortDefinition,4,2 ; @OMX_IndexParamPortDefinition
	.comm	_OMX_EventPortSettingsChanged,4,2 ; @OMX_EventPortSettingsChanged
	.comm	_TIMEOUT_MS,4,2                 ; @TIMEOUT_MS
	.comm	_OMXJPEG_OK,4,2                 ; @OMXJPEG_OK
.subsections_via_symbols
