	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diff_node_iter                 ## -- Begin function diff_node_iter
	.p2align	4, 0x90
_diff_node_iter:                        ## @diff_node_iter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -28(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DEBUG
	movl	24(%r14), %edi
	movl	28(%rbx), %esi
	callq	_ibnd_find_node_guid
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	movq	_DIFF_FLAG_PORT_CONNECTION@GOTPCREL(%rip), %rax
	movq	_DIFF_FLAG_PORT_STATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	8(%r14), %eax
	movq	_DIFF_FLAG_LID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DIFF_FLAG_NODE_DESCRIPTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%edx, %edi
	orl	%ecx, %edi
	orl	%esi, %edi
	testl	%eax, %edi
	je	LBB0_11
## %bb.2:
	movq	(%rbx), %rsi
	movq	_IB_NODE_SWITCH@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_5
## %bb.3:
	andl	%eax, %edx
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdx
	cmpq	8(%r15), %rdx
	jne	LBB0_7
LBB0_5:
	testl	%eax, %ecx
	je	LBB0_8
## %bb.6:
	movl	24(%rbx), %edi
	movl	24(%r15), %esi
	movq	_IB_SMP_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movq	(%r14), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_print_node_header
	movq	16(%r14), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_print_node_header
	movl	$1, -28(%rbp)
LBB0_8:
	movq	16(%rbx), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_9
## %bb.10:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_diff_node_ports
	jmp	LBB0_11
LBB0_12:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_node                     ## TAILCALL
LBB0_9:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_print_node_header
	movq	(%r14), %rsi
	movq	16(%rbx), %rdx
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_printf
	movq	16(%r14), %rsi
	movq	16(%r15), %rdx
	movq	%rbx, %rdi
	callq	_printf
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DEBUG: fabric1_node %p\n"

	.comm	_DIFF_FLAG_PORT_CONNECTION,4,2  ## @DIFF_FLAG_PORT_CONNECTION
	.comm	_DIFF_FLAG_PORT_STATE,4,2       ## @DIFF_FLAG_PORT_STATE
	.comm	_DIFF_FLAG_LID,4,2              ## @DIFF_FLAG_LID
	.comm	_DIFF_FLAG_NODE_DESCRIPTION,4,2 ## @DIFF_FLAG_NODE_DESCRIPTION
	.comm	_IB_NODE_SWITCH,8,3             ## @IB_NODE_SWITCH
	.comm	_IB_SMP_DATA_SIZE,4,2           ## @IB_SMP_DATA_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"%snumports = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diff_node_iter                 ; -- Begin function diff_node_iter
	.p2align	2
_diff_node_iter:                        ; @diff_node_iter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_DEBUG
	ldr	w0, [x19, #24]
	ldr	w1, [x20, #28]
	bl	_ibnd_find_node_guid
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _DIFF_FLAG_PORT_CONNECTION@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DIFF_FLAG_PORT_CONNECTION@GOTPAGEOFF]
Lloh4:
	adrp	x10, _DIFF_FLAG_PORT_STATE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _DIFF_FLAG_PORT_STATE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x10, _DIFF_FLAG_LID@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DIFF_FLAG_LID@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w11, w9, w10
Lloh11:
	adrp	x9, _DIFF_FLAG_NODE_DESCRIPTION@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DIFF_FLAG_NODE_DESCRIPTION@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w11, w11, w9
	tst	w11, w8
	b.eq	LBB0_11
; %bb.2:
	mov	x21, x0
	ldr	x11, [x20]
Lloh14:
	adrp	x12, _IB_NODE_SWITCH@GOTPAGE
Lloh15:
	ldr	x12, [x12, _IB_NODE_SWITCH@GOTPAGEOFF]
Lloh16:
	ldr	x12, [x12]
	and	w10, w10, w8
	cmp	x11, x12
	ccmp	w10, #0, #4, eq
	b.eq	LBB0_4
; %bb.3:
	ldr	x10, [x20, #8]
	ldr	x11, [x21, #8]
	cmp	x10, x11
	b.ne	LBB0_6
LBB0_4:
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	w0, [x20, #24]
	ldr	w1, [x21, #24]
Lloh17:
	adrp	x8, _IB_SMP_DATA_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IB_SMP_DATA_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_memcmp
	cbz	x0, LBB0_7
LBB0_6:
	ldr	x2, [x19]
	mov	x0, x20
	mov	x1, #0
	bl	_print_node_header
	ldr	x2, [x19, #16]
	mov	x0, x21
	mov	x1, #0
	bl	_print_node_header
	mov	w8, #1
	str	w8, [sp, #12]
LBB0_7:
	ldr	x8, [x20, #16]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_diff_node_ports
	b	LBB0_11
LBB0_9:
	ldr	x1, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_print_node
LBB0_10:
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, #0
	bl	_print_node_header
	ldr	x1, [x19]
	ldr	x2, [x20, #16]
Lloh20:
	adrp	x20, l_.str.1@PAGE
Lloh21:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_printf
	ldr	x1, [x19, #16]
	ldr	x2, [x21, #16]
	mov	x0, x20
	bl	_printf
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DEBUG: fabric1_node %p\n"

	.comm	_DIFF_FLAG_PORT_CONNECTION,4,2  ; @DIFF_FLAG_PORT_CONNECTION
	.comm	_DIFF_FLAG_PORT_STATE,4,2       ; @DIFF_FLAG_PORT_STATE
	.comm	_DIFF_FLAG_LID,4,2              ; @DIFF_FLAG_LID
	.comm	_DIFF_FLAG_NODE_DESCRIPTION,4,2 ; @DIFF_FLAG_NODE_DESCRIPTION
	.comm	_IB_NODE_SWITCH,8,3             ; @IB_NODE_SWITCH
	.comm	_IB_SMP_DATA_SIZE,4,2           ; @IB_SMP_DATA_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"%snumports = %d\n"

.subsections_via_symbols
