	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uni_iter_val_and_next          ## -- Begin function uni_iter_val_and_next
	.p2align	4, 0x90
_uni_iter_val_and_next:                 ## @uni_iter_val_and_next
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	cmpq	%rax, %r8
	jne	LBB0_23
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movl	8(%r14), %r9d
	testl	%r9d, %r9d
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %r10
	leaq	-1(%r9), %rax
	movl	%r9d, %edx
	andl	$3, %edx
	cmpq	$3, %rax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$-1, %esi
	xorl	%edi, %edi
	xorl	%ebx, %ebx
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rdx, %rdx
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rdi,4), %eax
	cmpl	%ebx, %eax
	cmovgl	%edi, %esi
	cmovgl	%eax, %ebx
	incq	%rdi
	decq	%rdx
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%esi, %esi
	js	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %edi
	shlq	$2, %rdi
	addq	16(%r14), %rdi
	callq	_data_iter_val_and_next
	movq	(%r14), %r8
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	andl	$-4, %r9d
	movl	$-1, %esi
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	%eax, %ebx
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=2
	addq	$4, %rdi
	cmpq	%r9, %rdi
	je	LBB0_18
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rdi,4), %eax
	cmpl	%ebx, %eax
	cmovgl	%edi, %esi
	movl	4(%r10,%rdi,4), %ecx
	cmovgl	%eax, %ebx
	cmpl	%ebx, %ecx
	jg	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%ebx, %ecx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=2
	leal	1(%rdi), %esi
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	8(%r10,%rdi,4), %eax
	cmpl	%ecx, %eax
	jg	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%ecx, %eax
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=2
	leal	2(%rdi), %esi
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	12(%r10,%rdi,4), %ebx
	cmpl	%eax, %ebx
	jle	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=2
	leal	3(%rdi), %esi
	jmp	LBB0_17
LBB0_23:
	movq	%rax, (%r14)
	jmp	LBB0_24
LBB0_1:
	xorl	%ebx, %ebx
LBB0_24:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	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	_uni_iter_val_and_next          ; -- Begin function uni_iter_val_and_next
	.p2align	2
_uni_iter_val_and_next:                 ; @uni_iter_val_and_next
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	x8, LBB0_10
; %bb.1:
	mov	x19, x0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, w20, uxtw
	b.ne	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w9, [x19, #8]
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	mov	w20, #0
	ldr	x12, [x19, #16]
	mov	w10, #-1
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x12, x11, lsl #2]
	cmp	w13, w20
	csel	w10, w11, w10, gt
	csel	w20, w13, w20, gt
	add	x11, x11, #1
	cmp	x9, x11
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w10, #31, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, w10, uxtw #2
	bl	_data_iter_val_and_next
	ldr	x8, [x19]
	b	LBB0_3
LBB0_9:
	mov	w8, w20
	str	x8, [x19]
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
