	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucast_cache_dump
_ucast_cache_dump:                      ## @ucast_cache_dump
	.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, %r15
	movl	(%rdi), %edi
	callq	_OSM_LOG_ENTER
	movl	(%r15), %edi
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OSM_LOG_IS_ACTIVE_V2
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	(%r15), %edi
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_OSM_LOG
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_cl_qmap_head
	movq	%rax, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_cl_qmap_end
	cmpq	%rax, %r14
	je	LBB0_9
## %bb.2:
	leaq	L_.str.6(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %r14
	movq	%r14, %rdi
	callq	_cl_qmap_next
	movq	%rax, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cl_qmap_end
	cmpq	%rax, %r14
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%r15), %r12d
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_cache_sw_get_base_lid_ho
	movq	%r13, %rbx
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_cache_sw_is_leaf
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r8
	cmpq	$0, 16(%r14)
	leaq	L_.str.4(%rip), %r9
	cmoveq	%rax, %r9
	movl	%r12d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	L_.str.1(%rip), %rdx
	movl	%r13d, %ecx
	movq	%rbx, %r13
	xorl	%eax, %eax
	callq	_OSM_LOG
	movl	(%r14), %eax
	cmpl	$2, %eax
	jb	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r12d
	movl	$24, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r12
	movl	%eax, %ecx
	addq	$16, %rbx
	cmpq	%rcx, %r12
	jae	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rcx
	movq	-8(%rcx,%rbx), %r8
	testq	%r8, %r8
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	(%r15), %edi
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpq	$0, (%rcx,%rbx)
	movq	%r13, %r9
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %r9
	leaq	L_.str.5(%rip), %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_OSM_LOG
	movl	(%r14), %eax
	jmp	LBB0_7
LBB0_9:
	movl	(%r15), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSM_LOG_EXIT                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ## @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dumping missing nodes/links as logged by unicast cache:\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t Switch lid %u %s%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"[leaf switch] "

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"[whole switch missing]"

L_.str.5:                               ## @.str.5
	.asciz	"\t     - port %u -> lid %u %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"[remote node is leaf]"

	.no_dead_strip	_ucast_cache_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucast_cache_dump
_ucast_cache_dump:                      ; @ucast_cache_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_OSM_LOG_ENTER
	ldr	w0, [x19]
Lloh0:
	adrp	x27, _OSM_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x27, [x27, _OSM_LOG_DEBUG@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_OSM_LOG_IS_ACTIVE_V2
	cbz	w0, LBB0_9
; %bb.1:
	mov	x20, x19
	ldr	w0, [x20], #4
	ldr	w1, [x27]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_OSM_LOG
	mov	x0, x20
	bl	_cl_qmap_head
	mov	x21, x0
	mov	x0, x20
	bl	_cl_qmap_end
	cmp	x21, x0
	b.eq	LBB0_9
; %bb.2:
Lloh4:
	adrp	x28, l_.str.3@PAGE
Lloh5:
	add	x28, x28, l_.str.3@PAGEOFF
Lloh6:
	adrp	x22, l_.str.6@PAGE
Lloh7:
	add	x22, x22, l_.str.6@PAGEOFF
Lloh8:
	adrp	x23, l_.str.5@PAGE
Lloh9:
	add	x23, x23, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x21, #24
	bl	_cl_qmap_next
	mov	x21, x0
	mov	x0, x20
	bl	_cl_qmap_end
	cmp	x21, x0
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w24, [x19]
	ldr	w25, [x27]
	mov	x0, x21
	bl	_cache_sw_get_base_lid_ho
	mov	x26, x0
	mov	x0, x21
	bl	_cache_sw_is_leaf
	cmp	x0, #0
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x8, x28, x8, eq
	ldr	x9, [x21, #16]
	cmp	x9, #0
Lloh12:
	adrp	x9, l_.str.4@PAGE
Lloh13:
	add	x9, x9, l_.str.4@PAGEOFF
	csel	x9, x28, x9, eq
	stp	x8, x9, [sp, #8]
	str	x26, [sp]
	mov	x0, x24
	mov	x1, x25
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_OSM_LOG
	ldr	w8, [x21]
	cmp	w8, #2
	b.lo	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, #0
	mov	w25, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x25, x25, #1
	add	x24, x24, #16
	cmp	x25, w8, uxtw
	b.hs	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x21, #8]
	add	x10, x9, x24
	ldr	x9, [x10, #16]
	cbz	x9, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w0, [x19]
	ldr	w1, [x27]
	ldr	x8, [x10, #24]
	cmp	x8, #0
	csel	x8, x28, x22, eq
	stp	x9, x8, [sp, #8]
	str	x25, [sp]
	mov	x2, x23
	bl	_OSM_LOG
	ldr	w8, [x21]
	b	LBB0_6
LBB0_9:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_OSM_LOG_EXIT
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ; @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dumping missing nodes/links as logged by unicast cache:\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t Switch lid %u %s%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"[leaf switch] "

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"[whole switch missing]"

l_.str.5:                               ; @.str.5
	.asciz	"\t     - port %u -> lid %u %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"[remote node is leaf]"

	.no_dead_strip	_ucast_cache_dump
.subsections_via_symbols
