	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rev_friends_intersect_constructive
_rev_friends_intersect_constructive:    ## @rev_friends_intersect_constructive
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rdi, %r12
	xorl	%r14d, %r14d
	movq	_rev_friends_intersect_len@GOTPCREL(%rip), %rbx
	movq	_rev_friends_intersect_pos@GOTPCREL(%rip), %r9
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%esi, %eax
	jg	LBB0_18
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %r12
	movslq	%r10d, %rax
	leaq	(%r13,%rax,4), %r13
	subl	%eax, %r15d
	addl	%eax, %r14d
	testq	%r12, %r12
	je	LBB0_17
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%r12), %eax
	movl	$0, %r10d
	cmpl	%esi, %eax
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rdi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	_rev_friends_intersect_constructive
	movq	_rev_friends_intersect_pos@GOTPCREL(%rip), %r9
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %r10d
	movl	(%r12), %eax
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%esi, %eax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdx
	movq	(%r9), %rax
	cmpq	%rdx, %rax
	jae	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r8
	movq	_rev_friends_intersect_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%r12), %rbx
	incq	%rax
	negq	%rdx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, -8(%rcx,%rax,8)
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%rax, (%r9)
	leaq	(%rdx,%rax), %rdi
	incq	%rdi
	incq	%rax
	cmpq	$1, %rdi
	jne	LBB0_9
	jmp	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r15d, %r10d
	movq	%r8, %rbx
	jge	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, (%r9)
	movq	-8(%rcx,%rax,8), %rdi
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	callq	_unconv_uid
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	movq	_rev_friends_intersect_pos@GOTPCREL(%rip), %r9
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movslq	%r10d, %rcx
	incl	%r10d
	movl	%eax, (%r13,%rcx,4)
	movl	(%r12), %eax
	jmp	LBB0_2
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r8, %rbx
	jmp	LBB0_3
LBB0_16:
	xorl	%r14d, %r14d
	jmp	LBB0_19
LBB0_17:
	xorl	%r10d, %r10d
LBB0_18:
	addl	%r10d, %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rev_friends_intersect_pos,8,3  ## @rev_friends_intersect_pos
	.comm	_rev_friends_intersect_len,8,3  ## @rev_friends_intersect_len
	.comm	_rev_friends_intersect_list,8,3 ## @rev_friends_intersect_list
	.no_dead_strip	_rev_friends_intersect_constructive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rev_friends_intersect_constructive
_rev_friends_intersect_constructive:    ; @rev_friends_intersect_constructive
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w24, #0
Lloh0:
	adrp	x25, _rev_friends_intersect_len@GOTPAGE
Lloh1:
	ldr	x25, [x25, _rev_friends_intersect_len@GOTPAGEOFF]
Lloh2:
	adrp	x26, _rev_friends_intersect_pos@GOTPAGE
Lloh3:
	ldr	x26, [x26, _rev_friends_intersect_pos@GOTPAGEOFF]
Lloh4:
	adrp	x27, _rev_friends_intersect_list@GOTPAGE
Lloh5:
	ldr	x27, [x27, _rev_friends_intersect_list@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w21
	b.gt	LBB0_14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x22, #16]
	add	x20, x20, w23, sxtw #2
	sub	w19, w19, w23
	add	w24, w23, w24
	cbz	x22, LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w8, [x22]
	cmp	w8, w21
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	cmp	w8, w21
	b.ne	LBB0_2
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #24]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_rev_friends_intersect_constructive
	mov	x23, x0
	ldr	w8, [x22]
	cmp	w8, w21
	b.ne	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x25]
	ldr	x8, [x26]
	cmp	x8, x10
	b.hs	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27]
	ldr	x11, [x22, #8]
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x9, x8, lsl #3]
	cmp	x12, x11
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x8, #1
	str	x8, [x26]
	cmp	x10, x8
	b.ne	LBB0_9
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ccmp	w23, w19, #0, eq
	b.ge	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x8, #1
	str	x10, [x26]
	ldr	x0, [x9, x8, lsl #3]
	bl	_unconv_uid
	str	w0, [x20, w23, sxtw #2]
	add	w23, w23, #1
	ldr	w8, [x22]
	b	LBB0_2
LBB0_13:
	mov	w23, #0
LBB0_14:
	add	w0, w23, w24
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rev_friends_intersect_pos,8,3  ; @rev_friends_intersect_pos
	.comm	_rev_friends_intersect_len,8,3  ; @rev_friends_intersect_len
	.comm	_rev_friends_intersect_list,8,3 ; @rev_friends_intersect_list
	.no_dead_strip	_rev_friends_intersect_constructive
.subsections_via_symbols
