	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chg_iter_val                   ## -- Begin function chg_iter_val
	.p2align	4, 0x90
_chg_iter_val:                          ## @chg_iter_val
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.1:
	movslq	8(%rdi), %rdx
	cmpq	$-1, %rdx
	je	LBB0_2
## %bb.3:
	testq	%rcx, %rcx
	jns	LBB0_6
## %bb.4:
	testl	%edx, %edx
	je	LBB0_5
LBB0_8:
	popq	%rbp
	retq
LBB0_2:
	movq	16(%rdi), %rax
	movq	24(%rdi), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_6:
	cmpl	(%rcx), %edx
	jge	LBB0_8
## %bb.7:
	movl	4(%rcx,%rdx,4), %eax
	popq	%rbp
	retq
LBB0_5:
	negl	%ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chg_iter_val                   ; -- Begin function chg_iter_val
	.p2align	2
_chg_iter_val:                          ; @chg_iter_val
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w9, [x0, #8]
	cmn	w9, #1
	b.eq	LBB0_5
; %bb.2:
	ldr	w10, [x8]
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.3:
	add	w9, w9, #1
	add	x8, x8, w9, sxtw #2
	ldr	w0, [x8]
	ret
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
	ldp	x8, x9, [x0, #16]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w0, [x8]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
