	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_cycle_parameter
_update_cycle_parameter:                ## @update_cycle_parameter
	.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
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_vcos_assert
	xorl	%eax, %eax
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movl	(%r15), %eax
	movq	_parameter_reset@GOTPCREL(%rip), %rcx
	subl	%r12d, %ebx
	cmpl	(%rcx), %eax
	cmovnel	%eax, %ebx
	addl	%r12d, %ebx
	movl	%ebx, (%r15)
	movl	$1, %eax
	cmpl	%r14d, %ebx
	jle	LBB0_3
## %bb.2:
	movl	(%rcx), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_parameter_reset,4,2            ## @parameter_reset
	.no_dead_strip	_update_cycle_parameter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_cycle_parameter
_update_cycle_parameter:                ; @update_cycle_parameter
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_vcos_assert
	cbz	x19, LBB0_3
; %bb.1:
	ldr	w9, [x19]
Lloh0:
	adrp	x8, _parameter_reset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _parameter_reset@GOTPAGEOFF]
	ldr	w10, [x8]
	sub	w11, w22, w21
	cmp	w9, w10
	csel	w9, w11, w9, eq
	add	w9, w9, w21
	cmp	w9, w20
	str	w9, [x19]
	b.le	LBB0_4
; %bb.2:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_parameter_reset,4,2            ; @parameter_reset
	.no_dead_strip	_update_cycle_parameter
.subsections_via_symbols
