	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iter_prepend
_iter_prepend:                          ## @iter_prepend
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	movq	(%r13), %rax
	testq	%rax, %rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.5:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r14
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_4:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %r15
	movl	$1, %r12d
	addq	%rbx, %r15
	je	LBB0_23
## %bb.8:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	(%r14,%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movq	_RR_COUNT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r12d, %r12d
	cmpq	%rax, %rbx
	ja	LBB0_23
## %bb.9:
	cmpq	%rax, %r14
	ja	LBB0_23
## %bb.10:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx), %rsi
	cmpq	%rax, %rsi
	ja	LBB0_23
## %bb.11:
	addq	%r15, %rsi
	shlq	$3, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.12:
	movq	8(%r13), %rdx
	xorl	%r14d, %r14d
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.14:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rcx
	movq	%rcx, (%rax,%r14,8)
	incq	%r14
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_15
	jmp	LBB0_16
LBB0_13:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_16:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r14,8), %r12
	movq	(%r15), %rax
	movq	32(%rax), %rsi
	movl	8(%rax), %edx
	shll	$3, %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	(%r13), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%rbx), %rbx
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r15), %rax
	movslq	8(%rax), %rax
	leaq	(%r12,%rax,8), %rdi
	movq	(%rbx), %rdx
	movq	%r13, %rsi
	callq	_prepend_is_duplicate
	testq	%rax, %rax
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r15), %rax
	movslq	8(%rax), %rdi
	shlq	$3, %rdi
	addq	32(%rax), %rdi
	movq	16(%rax), %rsi
	movq	(%rbx), %rdx
	callq	_prepend_is_duplicate
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movslq	8(%rcx), %rcx
	leaq	1(%r13), %rdx
	addq	%r14, %r13
	addq	%rcx, %r13
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	movq	%rdx, %r13
	jmp	LBB0_21
LBB0_22:
	movq	(%r15), %rax
	movslq	8(%rax), %rsi
	leaq	(%r12,%rsi,8), %rcx
	shlq	$3, %rsi
	leaq	(%rcx,%r13,8), %rdi
	addq	32(%rax), %rsi
	movl	24(%rax), %edx
	addl	16(%rax), %edx
	shll	$3, %edx
	callq	_memcpy
	leaq	(%r14,%r13), %rax
	movq	(%r15), %rcx
	addq	%rax, (%rcx)
	addl	%r14d, 8(%rcx)
	addq	%r13, 16(%rcx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%rcx)
	movl	$1, %r12d
LBB0_23:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prepending %d rrsets"

	.comm	_RR_COUNT_MAX,8,3               ## @RR_COUNT_MAX
	.no_dead_strip	_iter_prepend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iter_prepend
_iter_prepend:                          ; @iter_prepend
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x22, #1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
; %bb.3:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
LBB0_4:
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x23, #1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_5
; %bb.6:
	adds	x24, x23, x22
	b.ne	LBB0_9
	b	LBB0_25
LBB0_7:
	mov	x22, #0
	ldr	x8, [x21]
	cbnz	x8, LBB0_4
LBB0_8:
	mov	x23, #0
	adds	x24, x23, x22
	b.eq	LBB0_25
LBB0_9:
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	w2, w23, w22
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
Lloh5:
	adrp	x8, _RR_COUNT_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RR_COUNT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x22, x8
	ccmp	x23, x8, #2, ls
	b.hi	LBB0_11
; %bb.10:
	ldr	x9, [x19]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ls	LBB0_12
LBB0_11:
	mov	w0, #0
	b	LBB0_26
LBB0_12:
	add	x8, x9, x24
	lsl	x1, x8, #3
	mov	x0, x20
	bl	_regional_alloc
	cbz	x0, LBB0_26
; %bb.13:
	mov	x20, x0
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_16
; %bb.14:
	mov	x9, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	add	x23, x9, #1
	str	x10, [x20, x9, lsl #3]
	ldr	x8, [x8, #8]
	mov	x9, x23
	cbnz	x8, LBB0_15
	b	LBB0_17
LBB0_16:
	mov	x23, #0
LBB0_17:
	add	x22, x20, x23, lsl #3
	ldr	x8, [x19]
	ldr	x1, [x8, #32]
	ldr	w8, [x8, #8]
	lsl	w2, w8, #3
	mov	x0, x22
	bl	_memcpy
	ldr	x24, [x21]
	cbz	x24, LBB0_23
; %bb.18:
	mov	x21, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_24
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldrsw	x8, [x8, #8]
	add	x0, x22, x8, lsl #3
	ldr	x2, [x24]
	mov	x1, x21
	bl	_prepend_is_duplicate
	cbnz	x0, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x8, #32]
	ldrsw	x10, [x8, #8]
	add	x0, x9, x10, lsl #3
	ldr	x1, [x8, #16]
	ldr	x2, [x24]
	bl	_prepend_is_duplicate
	cbnz	x0, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x19]
	ldrsw	x9, [x9, #8]
	add	x10, x21, #1
	add	x11, x21, x23
	add	x9, x11, x9
	str	x8, [x20, x9, lsl #3]
	mov	x21, x10
	b	LBB0_19
LBB0_23:
	mov	x21, #0
LBB0_24:
	ldr	x8, [x19]
	ldrsw	x9, [x8, #8]
	lsl	x9, x9, #3
	add	x10, x22, x9
	add	x0, x10, x21, lsl #3
	ldr	x10, [x8, #32]
	add	x1, x10, x9
	ldr	w9, [x8, #16]
	ldr	w8, [x8, #24]
	add	w8, w8, w9
	lsl	w2, w8, #3
	bl	_memcpy
	ldr	x8, [x19]
	ldr	x9, [x8]
	add	x10, x21, x23
	add	x9, x10, x9
	str	x9, [x8]
	ldr	w9, [x8, #8]
	add	w9, w9, w23
	str	w9, [x8, #8]
	ldr	x9, [x8, #16]
	add	x9, x9, x21
	str	x9, [x8, #16]
	str	x20, [x8, #32]
LBB0_25:
	mov	w0, #1
LBB0_26:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prepending %d rrsets"

	.comm	_RR_COUNT_MAX,8,3               ; @RR_COUNT_MAX
	.no_dead_strip	_iter_prepend
.subsections_via_symbols
