	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucast_mgr_build_lfts
_ucast_mgr_build_lfts:                  ## @ucast_mgr_build_lfts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_cl_qlist_init
	movq	8(%rbx), %rax
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movl	16(%rbx), %edi
	movq	_OSM_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_OSM_LOG
	movq	8(%rbx), %rax
	movq	16(%rax), %rdi
	movq	_add_guid_to_order_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_parse_node_map
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	16(%rbx), %edi
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movq	16(%rax), %rcx
	leaq	L_.str.1(%rip), %rdx
	callq	_OSM_LOG
LBB0_3:
	movq	%rbx, %rdi
	callq	_sort_ports_by_switch_load
	movq	8(%rbx), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.4:
	movq	_clear_prof_ignore_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_cl_qmap_apply_func
	movq	8(%rbx), %rax
	movq	8(%rax), %rdi
	movq	_mark_ignored_port@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_parse_node_map
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	16(%rbx), %edi
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	leaq	L_.str.2(%rip), %rdx
	callq	_OSM_LOG
LBB0_6:
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	movq	_add_port_to_order_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_cl_qmap_apply_func
	movq	8(%rbx), %rdi
	movq	_ucast_mgr_process_tbl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_cl_qmap_apply_func
	movq	%rbx, %rdi
	callq	_cl_qlist_remove_all
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ## @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fetching guid routing order file '%s'\n"

	.comm	_add_guid_to_order_list,4,2     ## @add_guid_to_order_list
	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"ERR 3A0D: cannot parse guid routing order file '%s'\n"

	.comm	_clear_prof_ignore_flag,4,2     ## @clear_prof_ignore_flag
	.comm	_mark_ignored_port,4,2          ## @mark_ignored_port
L_.str.2:                               ## @.str.2
	.asciz	"ERR 3A0E: cannot parse port prof ignore file '%s'\n"

	.comm	_add_port_to_order_list,4,2     ## @add_port_to_order_list
	.comm	_ucast_mgr_process_tbl,4,2      ## @ucast_mgr_process_tbl
	.no_dead_strip	_ucast_mgr_build_lfts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucast_mgr_build_lfts
_ucast_mgr_build_lfts:                  ; @ucast_mgr_build_lfts
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_cl_qlist_init
	ldr	x8, [x19, #8]
	ldr	x3, [x8, #16]
	cbz	x3, LBB0_3
; %bb.1:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _OSM_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSM_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_OSM_LOG
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #16]
Lloh5:
	adrp	x8, _add_guid_to_order_list@GOTPAGE
Lloh6:
	ldr	x8, [x8, _add_guid_to_order_list@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_parse_node_map
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
Lloh8:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	x3, [x8, #16]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_OSM_LOG
LBB0_3:
	mov	x0, x19
	bl	_sort_ports_by_switch_load
	ldr	x0, [x19, #8]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.4:
Lloh13:
	adrp	x8, _clear_prof_ignore_flag@GOTPAGE
Lloh14:
	ldr	x8, [x8, _clear_prof_ignore_flag@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_cl_qmap_apply_func
	ldr	x8, [x19, #8]
	ldr	x0, [x8, #8]
Lloh16:
	adrp	x8, _mark_ignored_port@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mark_ignored_port@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_parse_node_map
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #16]
Lloh19:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	x3, [x8, #8]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_OSM_LOG
LBB0_6:
	ldr	x8, [x19, #8]
	add	x0, x8, #4
Lloh24:
	adrp	x8, _add_port_to_order_list@GOTPAGE
Lloh25:
	ldr	x8, [x8, _add_port_to_order_list@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_cl_qmap_apply_func
	ldr	x0, [x19, #8]
Lloh27:
	adrp	x8, _ucast_mgr_process_tbl@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ucast_mgr_process_tbl@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_cl_qmap_apply_func
	mov	x0, x19
	bl	_cl_qlist_remove_all
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_OSM_LOG_DEBUG,4,2              ; @OSM_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fetching guid routing order file '%s'\n"

	.comm	_add_guid_to_order_list,4,2     ; @add_guid_to_order_list
	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"ERR 3A0D: cannot parse guid routing order file '%s'\n"

	.comm	_clear_prof_ignore_flag,4,2     ; @clear_prof_ignore_flag
	.comm	_mark_ignored_port,4,2          ; @mark_ignored_port
l_.str.2:                               ; @.str.2
	.asciz	"ERR 3A0E: cannot parse port prof ignore file '%s'\n"

	.comm	_add_port_to_order_list,4,2     ; @add_port_to_order_list
	.comm	_ucast_mgr_process_tbl,4,2      ; @ucast_mgr_process_tbl
	.no_dead_strip	_ucast_mgr_build_lfts
.subsections_via_symbols
