	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diff_node_ports                ## -- Begin function diff_node_ports
	.p2align	4, 0x90
_diff_node_ports:                       ## @diff_node_ports
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rdi)
	jle	LBB0_34
## %bb.1:
	movq	%rsi, %rbx
	xorl	%r12d, %r12d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rdi), %rax
	incq	%r12
	cmpq	%rax, %r12
	jge	LBB0_34
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rax
	movq	8(%rax,%r12,8), %r14
	movq	8(%rbx), %rax
	movq	8(%rax,%r12,8), %r13
	movq	%r14, %rax
	orq	%r13, %rax
	je	LBB0_33
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	xorl	%r8d, %r8d
	movq	_DIFF_FLAG_PORT_CONNECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%esi, %ecx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	setne	%dl
	testq	%r14, %r14
	sete	%al
	movl	%eax, %ebx
	orb	%dl, %bl
	cmpb	$1, %bl
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	andb	%dl, %al
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movq	(%r13), %rdx
	testq	%rax, %rax
	je	LBB0_35
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r8d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DIFF_FLAG_PORT_STATE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r14), %edi
	movq	_IB_PORT_STATE_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	%r8d, %ebx
	callq	_mad_get_field
	movl	%eax, %r15d
	movl	8(%r13), %edi
	movq	_IB_PORT_STATE_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_mad_get_field
	movl	%ebx, %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	cmpl	%eax, %r15d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	setne	%cl
	addl	%ecx, %r8d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_DIFF_FLAG_PORT_CONNECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%esi, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	je	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_DIFF_FLAG_LID@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx), %rax
	xorl	%ecx, %ecx
	cmpq	8(%rdx), %rax
	setne	%cl
	addl	%ecx, %r8d
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DIFF_FLAG_NODE_DESCRIPTION@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %rax
	movl	(%rax), %edi
	movq	16(%rcx), %rax
	movl	(%rax), %esi
	movq	_IB_SMP_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r8d, %r15d
	callq	_memcmp
	movl	%r15d, %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$1, %rax
	sbbl	$-1, %r8d
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r8d, %r8d
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	%r8d, %r15d
	callq	_print_node_header
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_print_port
	movl	%r15d, %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r8d, %r8d
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_print_node_header
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_print_port
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_34:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_FLAG_PORT_CONNECTION,4,2  ## @DIFF_FLAG_PORT_CONNECTION
	.comm	_DIFF_FLAG_PORT_STATE,4,2       ## @DIFF_FLAG_PORT_STATE
	.comm	_IB_PORT_STATE_F,4,2            ## @IB_PORT_STATE_F
	.comm	_DIFF_FLAG_LID,4,2              ## @DIFF_FLAG_LID
	.comm	_DIFF_FLAG_NODE_DESCRIPTION,4,2 ## @DIFF_FLAG_NODE_DESCRIPTION
	.comm	_IB_SMP_DATA_SIZE,4,2           ## @IB_SMP_DATA_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diff_node_ports                ; -- Begin function diff_node_ports
	.p2align	2
_diff_node_ports:                       ; @diff_node_ports
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w26, #1
Lloh0:
	adrp	x27, _DIFF_FLAG_PORT_CONNECTION@GOTPAGE
Lloh1:
	ldr	x27, [x27, _DIFF_FLAG_PORT_CONNECTION@GOTPAGEOFF]
Lloh2:
	adrp	x25, _DIFF_FLAG_PORT_STATE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DIFF_FLAG_PORT_STATE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x26, #1
	ldrsw	x9, [x22]
	cmp	x26, x9
	mov	x26, x8
	b.ge	LBB0_30
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	lsl	x9, x26, #3
	ldr	x24, [x8, x9]
	ldr	x8, [x21, #8]
	ldr	x23, [x8, x9]
	orr	x8, x24, x23
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x27]
	ands	w9, w9, w8
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x23, #0
	cset	w10, ne
	cmp	x24, #0
	cset	w11, eq
	orr	w12, w11, w10
	cmp	w12, #1
	b.ne	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w10, w11, w10
	tbnz	w10, #0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x24]
	ldr	x10, [x23]
	cbz	x11, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x10, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x11]
	ldr	x10, [x10]
	cmp	x11, x10
	b.ne	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x10, LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #1
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x25]
	and	w10, w10, w8
	cmp	w10, #0
	ccmp	x24, #0, #4, ne
	ccmp	x23, #0, #4, ne
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24, #8]
Lloh4:
	adrp	x8, _IB_PORT_STATE_F@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IB_PORT_STATE_F@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_mad_get_field
	str	w28, [sp, #12]                  ; 4-byte Folded Spill
	mov	x28, x22
	mov	x22, x21
	mov	x21, x19
	mov	x19, x20
	mov	x20, x27
	mov	x27, x25
	mov	x25, x0
	ldr	w0, [x23, #8]
Lloh7:
	adrp	x8, _IB_PORT_STATE_F@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IB_PORT_STATE_F@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_mad_get_field
	cmp	w25, w0
	mov	x25, x27
	mov	x27, x20
	mov	x20, x19
	mov	x19, x21
	mov	x21, x22
	mov	x22, x28
	ldr	w28, [sp, #12]                  ; 4-byte Folded Reload
	cinc	w28, w28, ne
	ldr	w8, [x19]
	ldr	w9, [x27]
	and	w9, w9, w8
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w9, LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh10:
	adrp	x9, _DIFF_FLAG_LID@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DIFF_FLAG_LID@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w9, w9, w8
	cmp	w9, #0
	ccmp	x24, #0, #4, ne
	ccmp	x23, #0, #4, ne
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x24]
	cbz	x9, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x23]
	cbz	x10, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x9, #8]
	ldr	x10, [x10, #8]
	cmp	x9, x10
	cinc	w28, w28, ne
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh13:
	adrp	x9, _DIFF_FLAG_NODE_DESCRIPTION@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DIFF_FLAG_NODE_DESCRIPTION@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	x24, #0, #4, ne
	ccmp	x23, #0, #4, ne
	b.eq	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x23]
	cbz	x9, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #16]
	ldr	w0, [x8]
	ldr	x8, [x9, #16]
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _IB_SMP_DATA_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IB_SMP_DATA_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	bl	_memcmp
	cmp	x0, #0
	cinc	w28, w28, ne
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w28, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	x24, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, #0
	bl	_print_node_header
	ldr	w2, [x19, #8]
	mov	x0, x22
	mov	x1, x24
	bl	_print_port
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w28, LBB0_2
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	cbz	x23, LBB0_2
; %bb.29:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, #0
	bl	_print_node_header
	ldr	w2, [x19, #4]
	mov	x0, x21
	mov	x1, x23
	bl	_print_port
	b	LBB0_2
LBB0_30:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_FLAG_PORT_CONNECTION,4,2  ; @DIFF_FLAG_PORT_CONNECTION
	.comm	_DIFF_FLAG_PORT_STATE,4,2       ; @DIFF_FLAG_PORT_STATE
	.comm	_IB_PORT_STATE_F,4,2            ; @IB_PORT_STATE_F
	.comm	_DIFF_FLAG_LID,4,2              ; @DIFF_FLAG_LID
	.comm	_DIFF_FLAG_NODE_DESCRIPTION,4,2 ; @DIFF_FLAG_NODE_DESCRIPTION
	.comm	_IB_SMP_DATA_SIZE,4,2           ; @IB_SMP_DATA_SIZE
.subsections_via_symbols
