	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_channels_union_inplace     ## -- Begin function p2p_channels_union_inplace
	.p2align	4, 0x90
_p2p_channels_union_inplace:            ## @p2p_channels_union_inplace
	.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
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.7:
	movq	(%r15), %rax
	xorl	%r12d, %r12d
	movq	%rax, %rcx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	movq	%rax, %rcx
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r12
	cmpq	%rdi, %r12
	jae	LBB0_2
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rcx
	leaq	(,%r12,8), %r13
	addq	8(%rcx), %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%r14
	addq	$8, %rbx
	cmpq	%rax, %r14
	jae	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rsi
	movq	(%r13), %rcx
	cmpq	(%rsi,%r14,8), %rcx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	addq	%rbx, %rsi
	movq	%r13, %rdi
	callq	_p2p_op_class_union
	movq	(%r15), %rax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_15
LBB0_1:
	movq	(%r15), %rax
	xorl	%edi, %edi
LBB0_2:
	testq	%rax, %rax
	je	LBB0_23
## %bb.3:
	xorl	%r14d, %r14d
	movq	_P2P_MAX_REG_CLASSES@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	leaq	(,%r14,8), %rsi
	addq	8(%r15), %rsi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %rdx
	movq	(%rsi), %rbx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rbx, (%rdx,%rcx,8)
	je	LBB0_6
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	incq	%rcx
	cmpq	%rcx, %rdi
	jne	LBB0_17
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdi, %rcx
	jne	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	(%r12), %rdi
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rdi), %rax
	movq	%rax, (%r13)
	shlq	$3, %rdi
	addq	8(%r13), %rdi
	movl	$8, %edx
	callq	_os_memcpy
	movq	(%r15), %rax
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	%rax, %r14
	jae	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rdi
	jmp	LBB0_4
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_MAX_REG_CLASSES,8,3        ## @P2P_MAX_REG_CLASSES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_channels_union_inplace     ; -- Begin function p2p_channels_union_inplace
	.p2align	2
_p2p_channels_union_inplace:            ; @p2p_channels_union_inplace
	.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	x19, x1
	mov	x20, x0
	ldr	x9, [x0]
	cbz	x9, LBB0_9
; %bb.1:
	mov	x22, #0
	ldr	x8, [x19]
	mov	x10, x8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20]
	mov	x10, x8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	cmp	x22, x9
	b.hs	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	x10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
	mov	x24, #0
	ldr	x9, [x20, #8]
	add	x21, x9, x22, lsl #3
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	add	x23, x23, #8
	cmp	x24, x8
	b.hs	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #8]
	ldr	x10, [x21]
	ldr	x11, [x9, x24, lsl #3]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x1, x9, x23
	mov	x0, x21
	bl	_p2p_op_class_union
	ldr	x8, [x19]
	b	LBB0_6
LBB0_9:
	ldr	x8, [x19]
LBB0_10:
	cbz	x8, LBB0_21
; %bb.11:
	mov	x21, #0
Lloh0:
	adrp	x22, _P2P_MAX_REG_CLASSES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _P2P_MAX_REG_CLASSES@GOTPAGEOFF]
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x10, [x19, #8]
	add	x1, x10, x21, lsl #3
	mov	x10, #0
	cbz	x9, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x11, [x20, #8]
	ldr	x12, [x1]
LBB0_14:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x11, x10, lsl #3]
	cmp	x13, x12
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_14
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	x10, x9
	b.ne	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x22]
	cmp	x9, x8
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x20, #8]
	add	x10, x9, #1
	str	x10, [x20]
	add	x0, x8, x9, lsl #3
	mov	w2, #8
	bl	_os_memcpy
	ldr	x8, [x19]
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #1
	cmp	x21, x8
	b.hs	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x9, [x20]
	b	LBB0_12
LBB0_21:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_MAX_REG_CLASSES,8,3        ; @P2P_MAX_REG_CLASSES
.subsections_via_symbols
