	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perf_init_peers
_perf_init_peers:                       ## @perf_init_peers
	.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	%rdi, %r14
	movq	8(%rdi), %rdi
	callq	_ntb_port_number
	movl	%eax, %r15d
	movl	$-1, (%r14)
	movl	4(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, 4(%r13,%r12,8)
	incq	%rbx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(,%r12,8), %rdi
	addq	%r13, %rdi
	movq	_perf_service_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movslq	4(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %r13
	leaq	(%rbx,%rbx,2), %r12
	movq	%r14, 16(%r13,%r12,8)
	movl	%ebx, (%r13,%r12,8)
	movq	8(%r14), %rdi
	movl	%ebx, %esi
	callq	_ntb_peer_port_number
	cmpl	%eax, %r15d
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, (%r14)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, (%r14)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movl	%ebx, 4(%r13,%r12,8)
	jmp	LBB0_8
LBB0_9:
	movl	(%r14), %edx
	cmpl	$-1, %edx
	je	LBB0_10
## %bb.12:
	testl	%eax, %eax
	jg	LBB0_13
	jmp	LBB0_17
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_10:
	movl	%ebx, %edx
LBB0_11:
	movl	%edx, (%r14)
	testl	%eax, %eax
	jle	LBB0_17
LBB0_13:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdi
	addq	%r15, %rdi
	callq	_perf_setup_peer_mw
	testl	%eax, %eax
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movslq	4(%r14), %rax
	addq	$24, %r15
	cmpq	%rax, %rbx
	jl	LBB0_15
## %bb.16:
	movl	(%r14), %edx
LBB0_17:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_perf_service_work,4,2          ## @perf_service_work
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Global port index %d\n"

	.no_dead_strip	_perf_init_peers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perf_init_peers
_perf_init_peers:                       ; @perf_init_peers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_ntb_port_number
	mov	w8, #-1
	str	w8, [x19]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x20, x0
	mov	x21, #0
	mov	w22, #24
Lloh0:
	adrp	x23, _perf_service_work@GOTPAGE
Lloh1:
	ldr	x23, [x23, _perf_service_work@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x21, x22, x24
	str	w21, [x8, #4]
	add	x25, x21, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x8, x21, x22, x24
	add	x0, x8, #8
	ldr	w1, [x23]
	bl	_INIT_WORK
	ldrsw	x8, [x19, #4]
	mov	x21, x25
	cmp	x25, x8
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x24, [x19, #8]
	madd	x8, x21, x22, x24
	str	x19, [x8, #16]
	str	w21, [x8]
	mov	x1, x21
	bl	_ntb_peer_port_number
	cmp	w20, w0
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	cmn	w8, #1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w21, [x19]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x21, #1
	madd	x8, x21, x22, x24
	str	w25, [x8, #4]
	b	LBB0_3
LBB0_8:
	ldr	w2, [x19]
	cmn	w2, #1
	b.eq	LBB0_11
; %bb.9:
	cmp	w8, #1
	b.ge	LBB0_13
	b	LBB0_17
LBB0_10:
	mov	w2, #0
	b	LBB0_12
LBB0_11:
	mov	x2, x25
LBB0_12:
	str	w2, [x19]
	cmp	w8, #1
	b.lt	LBB0_17
LBB0_13:
	mov	x20, #0
	mov	x21, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x20
	bl	_perf_setup_peer_mw
	cbnz	w0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x20, x20, #24
	cmp	x21, x8
	b.lt	LBB0_14
; %bb.16:
	ldr	w2, [x19]
LBB0_17:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_perf_service_work,4,2          ; @perf_service_work
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Global port index %d\n"

	.no_dead_strip	_perf_init_peers
.subsections_via_symbols
