	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_reg_class_intersect
_p2p_reg_class_intersect:               ## @p2p_reg_class_intersect
	.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
	movl	16(%rdi), %eax
	movl	%eax, 16(%rdx)
	movq	(%rdi), %r9
	testq	%r9, %r9
	je	LBB0_11
## %bb.1:
	movq	(%rsi), %r11
	xorl	%r10d, %r10d
	movq	_P2P_MAX_REG_CLASS_CHANNELS@GOTPCREL(%rip), %r8
	movq	%r11, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %r9
	movq	%r11, %rax
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r10
	cmpq	%r9, %r10
	jae	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %r9
	movq	8(%rsi), %r14
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rcx
	cmpq	%r11, %rcx
	jae	LBB0_9
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r9,%r10,8), %rbx
	cmpq	(%r14,%rcx,8), %rbx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rdx), %r11
	movq	8(%rdx), %rax
	movq	%rbx, (%rax,%r11,8)
	movq	(%rdx), %rax
	incq	%rax
	movq	%rax, (%rdx)
	cmpq	(%r8), %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rsi), %r11
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_MAX_REG_CLASS_CHANNELS,8,3 ## @P2P_MAX_REG_CLASS_CHANNELS
	.no_dead_strip	_p2p_reg_class_intersect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_reg_class_intersect
_p2p_reg_class_intersect:               ; @p2p_reg_class_intersect
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #16]
	str	w8, [x2, #16]
	ldr	x11, [x0]
	cbz	x11, LBB0_10
; %bb.1:
	mov	x8, #0
	ldr	x10, [x1]
Lloh0:
	adrp	x9, _P2P_MAX_REG_CLASS_CHANNELS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P2P_MAX_REG_CLASS_CHANNELS@GOTPAGEOFF]
	mov	x12, x10
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x0]
	mov	x12, x10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x8, x11
	b.hs	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	x12, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	ldr	x12, [x0, #8]
	ldr	x13, [x1, #8]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x11, x11, #1
	cmp	x11, x10
	b.hs	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x12, x8, lsl #3]
	ldr	x15, [x13, x11, lsl #3]
	cmp	x14, x15
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x15, x10, [x2]
	str	x14, [x10, x15, lsl #3]
	ldr	x10, [x2]
	add	x10, x10, #1
	str	x10, [x2]
	ldr	x14, [x9]
	cmp	x10, x14
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x10, [x1]
	b	LBB0_6
LBB0_10:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_MAX_REG_CLASS_CHANNELS,8,3 ; @P2P_MAX_REG_CLASS_CHANNELS
	.no_dead_strip	_p2p_reg_class_intersect
.subsections_via_symbols
