	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_node                     ## -- Begin function print_node
	.p2align	4, 0x90
_print_node:                            ## @print_node
	.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, %r12
	movl	$0, -56(%rbp)
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_41
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	xorl	%ecx, %ecx
	cmpl	$130, %eax
	jne	LBB0_6
## %bb.3:
	movq	_PRINT_CA@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_41:
	movq	_PRINT_SWITCH@GOTPCREL(%rip), %rax
	movq	_node_type_to_print@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_8
	jmp	LBB0_40
LBB0_4:
	movq	_PRINT_ROUTER@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
LBB0_6:
	movq	_node_type_to_print@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_40
## %bb.7:
	movl	$1, %r14d
	cmpl	$128, %eax
	jne	LBB0_9
LBB0_8:
	xorl	%r14d, %r14d
	cmpq	$0, 32(%r12)
	sete	%r14b
LBB0_9:
	movq	_node_name_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r12), %edx
	movl	24(%r12), %esi
	callq	_remap_node_name
	movq	%rax, %r13
	cmpl	$128, (%r12)
	jne	LBB0_10
## %bb.16:
	leaq	16(%r12), %rdx
	xorl	%r15d, %r15d
	jmp	LBB0_17
LBB0_10:
	movl	4(%r12), %r15d
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.12:
	movq	8(%r12), %rcx
	incq	%r15
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rax,8), %rdx
	testq	%rdx, %rdx
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rax
	cmpq	%rax, %r15
	jne	LBB0_13
	jmp	LBB0_18
LBB0_11:
	movl	$1, %r15d
	jmp	LBB0_18
LBB0_14:
	movl	%eax, %r15d
LBB0_17:
	movl	(%rdx), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ib_portid_set
LBB0_18:
	leaq	-48(%rbp), %rdi
	leaq	-44(%rbp), %rcx
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_query_cap_mask
	testq	%rax, %rax
	je	LBB0_19
## %bb.22:
	movq	_data_counters_only@GOTPCREL(%rip), %rax
	movb	$1, %cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpq	$0, (%rax)
	jne	LBB0_23
LBB0_31:
	cmpl	4(%r12), %r14d
	jg	LBB0_37
## %bb.32:
	movl	%r14d, %eax
	leaq	16(%r12), %r14
	movl	%eax, %ebx
	leaq	-48(%rbp), %r15
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=1
	leaq	1(%rbx), %rax
	movslq	4(%r12), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jge	LBB0_37
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpl	$128, (%r12)
	cmoveq	%r14, %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ib_portid_set
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	leaq	-56(%rbp), %r9
	callq	_print_errors
	movq	_summary@GOTPCREL(%rip), %rax
	incq	8(%rax)
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_clear_port
	jmp	LBB0_36
LBB0_19:
	movl	-44(%rbp), %esi
	movq	_IB_PM_ALL_PORT_SELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	sete	%cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	_data_counters_only@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_20
LBB0_23:
	cmpl	4(%r12), %r14d
	jle	LBB0_24
LBB0_37:
	movq	_summary@GOTPCREL(%rip), %rax
	incl	(%rax)
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_39
LBB0_38:
	movl	-44(%rbp), %esi
	leaq	-48(%rbp), %rdi
	movq	%r13, %rdx
	movl	$255, %ecx
	callq	_clear_port
LBB0_39:
	movq	%r13, %rdi
	callq	_free
LBB0_40:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	%r14d, %eax
	leaq	16(%r12), %r14
	movl	%eax, %ebx
	leaq	-48(%rbp), %r15
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	leaq	1(%rbx), %rax
	movslq	4(%r12), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jge	LBB0_37
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpl	$128, (%r12)
	cmoveq	%r14, %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ib_portid_set
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	leaq	-56(%rbp), %r9
	callq	_print_data_cnts
	movq	_summary@GOTPCREL(%rip), %rax
	incq	8(%rax)
	cmpb	$0, -52(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_clear_port
	jmp	LBB0_28
LBB0_20:
	testl	%esi, %eax
	je	LBB0_21
## %bb.29:
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %r9
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	$255, %r8d
	callq	_print_errors
	testl	%eax, %eax
	je	LBB0_42
## %bb.30:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_31
LBB0_21:
	movb	$1, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_31
LBB0_42:
	movslq	4(%r12), %rax
	movq	_summary@GOTPCREL(%rip), %rcx
	addq	%rax, 8(%rcx)
	incl	(%rcx)
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_PRINT_SWITCH,4,2               ## @PRINT_SWITCH
	.comm	_PRINT_CA,4,2                   ## @PRINT_CA
	.comm	_PRINT_ROUTER,4,2               ## @PRINT_ROUTER
	.comm	_node_type_to_print,4,2         ## @node_type_to_print
	.comm	_node_name_map,4,2              ## @node_name_map
	.comm	_IB_PM_ALL_PORT_SELECT,4,2      ## @IB_PM_ALL_PORT_SELECT
	.comm	_data_counters_only,8,3         ## @data_counters_only
	.comm	_summary,16,3                   ## @summary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_node                     ; -- Begin function print_node
	.p2align	2
_print_node:                            ; @print_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _node_type_to_print@GOTPAGE
Lloh1:
	ldr	x9, [x9, _node_type_to_print@GOTPAGEOFF]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	mov	w10, #0
	cmp	w8, #130
	b.ne	LBB0_7
; %bb.3:
Lloh2:
	adrp	x10, _PRINT_CA@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PRINT_CA@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _PRINT_SWITCH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PRINT_SWITCH@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
	b	LBB0_33
LBB0_5:
Lloh7:
	adrp	x10, _PRINT_ROUTER@GOTPAGE
Lloh8:
	ldr	x10, [x10, _PRINT_ROUTER@GOTPAGEOFF]
LBB0_6:
	ldr	w10, [x10]
LBB0_7:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_33
; %bb.8:
	cmp	w8, #128
	b.ne	LBB0_10
LBB0_9:
	ldr	x8, [x19, #32]
	cmp	x8, #0
	cset	w23, eq
	b	LBB0_11
LBB0_10:
	mov	w23, #1
LBB0_11:
Lloh9:
	adrp	x8, _node_name_map@GOTPAGE
Lloh10:
	ldr	x8, [x8, _node_name_map@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	w2, w1, [x19, #20]
	bl	_remap_node_name
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.12:
	mov	w21, #0
	add	x9, x19, #16
	b	LBB0_19
LBB0_13:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.14:
	ldr	x10, [x19, #8]
	add	x21, x8, #1
	mov	w8, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x10, x8, lsl #3]
	cbnz	x9, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x8, x8, #1
	cmp	x21, x8
	b.ne	LBB0_15
	b	LBB0_20
LBB0_17:
	mov	w21, #1
	b	LBB0_20
LBB0_18:
	mov	x21, x8
LBB0_19:
	ldr	w1, [x9]
	add	x0, sp, #8
	mov	w2, #0
	mov	w3, #0
	bl	_ib_portid_set
LBB0_20:
	add	x0, sp, #8
	add	x3, sp, #4
	mov	x1, x20
	mov	x2, x21
	bl	_query_cap_mask
Lloh12:
	adrp	x22, _summary@GOTPAGE
Lloh13:
	ldr	x22, [x22, _summary@GOTPAGEOFF]
	cbz	x0, LBB0_28
; %bb.21:
Lloh14:
	adrp	x8, _data_counters_only@GOTPAGE
Lloh15:
	ldr	x8, [x8, _data_counters_only@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	mov	w24, #1
	cbnz	x8, LBB0_29
LBB0_22:
	ldr	w8, [x19, #4]
	cmp	w23, w8
	b.gt	LBB0_30
; %bb.23:
	add	x25, x19, #16
	mov	w21, w23
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x8, x21, #1
	ldrsw	x9, [x19, #4]
	cmp	x21, x9
	mov	x21, x8
	b.ge	LBB0_30
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [x19]
	cmp	w9, #128
	csel	x8, x25, x8, eq
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	mov	w3, #0
	bl	_ib_portid_set
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	add	x5, sp, #12
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
	bl	_print_errors
	ldr	x8, [x22, #8]
	add	x8, x8, #1
	str	x8, [x22, #8]
	cbz	w24, LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	mov	x2, x20
	mov	x3, x21
	bl	_clear_port
	b	LBB0_24
LBB0_28:
	ldr	w1, [sp, #4]
Lloh17:
	adrp	x8, _IB_PM_ALL_PORT_SELECT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IB_PM_ALL_PORT_SELECT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ands	w8, w8, w1
	cset	w24, eq
Lloh20:
	adrp	x9, _data_counters_only@GOTPAGE
Lloh21:
	ldr	x9, [x9, _data_counters_only@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cbz	x9, LBB0_39
LBB0_29:
	ldr	w8, [x19, #4]
	cmp	w23, w8
	b.le	LBB0_34
LBB0_30:
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	tbnz	w24, #0, LBB0_32
LBB0_31:
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	mov	x2, x20
	mov	w3, #255
	bl	_clear_port
LBB0_32:
	mov	x0, x20
	bl	_free
LBB0_33:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_34:
	add	x25, x19, #16
	mov	w21, w23
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	x8, x21, #1
	ldrsw	x9, [x19, #4]
	cmp	x21, x9
	mov	x21, x8
	b.ge	LBB0_30
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	w9, [x19]
	cmp	w9, #128
	csel	x8, x25, x8, eq
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	mov	w3, #0
	bl	_ib_portid_set
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	add	x5, sp, #12
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
	bl	_print_data_cnts
	ldr	x8, [x22, #8]
	add	x8, x8, #1
	str	x8, [x22, #8]
	cbz	w24, LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	mov	x2, x20
	mov	x3, x21
	bl	_clear_port
	b	LBB0_35
LBB0_39:
	cbz	w8, LBB0_42
; %bb.40:
	add	x0, sp, #8
	add	x5, sp, #12
	mov	x2, x20
	mov	x3, x19
	mov	w4, #255
	bl	_print_errors
	cbz	w0, LBB0_43
; %bb.41:
	mov	w24, #0
	b	LBB0_22
LBB0_42:
	mov	w24, #1
	b	LBB0_22
LBB0_43:
	ldrsw	x8, [x19, #4]
	ldr	x9, [x22, #8]
	add	x8, x9, x8
	str	x8, [x22, #8]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_31
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PRINT_SWITCH,4,2               ; @PRINT_SWITCH
	.comm	_PRINT_CA,4,2                   ; @PRINT_CA
	.comm	_PRINT_ROUTER,4,2               ; @PRINT_ROUTER
	.comm	_node_type_to_print,4,2         ; @node_type_to_print
	.comm	_node_name_map,4,2              ; @node_name_map
	.comm	_IB_PM_ALL_PORT_SELECT,4,2      ; @IB_PM_ALL_PORT_SELECT
	.comm	_data_counters_only,8,3         ; @data_counters_only
	.comm	_summary,16,3                   ; @summary
.subsections_via_symbols
