	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diff_iter_func
_diff_iter_func:                        ## @diff_iter_func
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_DEBUG
	movl	48(%r14), %edi
	movl	32(%r12), %esi
	callq	_ibnd_find_node_guid
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	%rax, %r15
	movl	8(%r14), %eax
	movq	_DIFF_FLAG_PORT_CONNECTION@GOTPCREL(%rip), %r13
	movq	_DIFF_FLAG_LID@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	(%r13), %esi
	orl	%edx, %esi
	movq	_DIFF_FLAG_NODE_DESCRIPTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, %esi
	testl	%eax, %esi
	je	LBB0_18
## %bb.8:
	movl	$0, -44(%rbp)
	testl	%eax, %edx
	je	LBB0_10
## %bb.9:
	movq	8(%r12), %rdx
	cmpq	8(%r15), %rdx
	jne	LBB0_12
LBB0_10:
	testl	%eax, %ecx
	je	LBB0_13
## %bb.11:
	movl	16(%r12), %edi
	movl	16(%r15), %esi
	movq	_IB_SMP_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	movq	(%r14), %r8
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	*32(%r14)
	movq	16(%r14), %rsi
	movq	%r15, %rdi
	callq	*24(%r14)
	movq	_f@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, -44(%rbp)
LBB0_13:
	movl	(%r12), %eax
	cmpl	(%r15), %eax
	jne	LBB0_14
## %bb.15:
	movl	8(%r14), %eax
	testl	%eax, (%r13)
	jne	LBB0_17
## %bb.16:
	testl	%eax, (%rbx)
	je	LBB0_18
LBB0_17:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_diff_ports
	jmp	LBB0_18
LBB0_1:
	movq	(%r14), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rcx, %r8
	callq	*32(%r14)
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rcx
	incq	%rbx
	cmpq	%rcx, %rbx
	jge	LBB0_18
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rcx
	movq	8(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rdx
	xorl	%esi, %esi
	callq	*40(%r14)
	movl	(%r12), %eax
	jmp	LBB0_6
LBB0_14:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_diff_iter_out_header
	movq	_f@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	(%r14), %rdx
	movl	(%r12), %ecx
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	movq	16(%r14), %rdx
	movl	(%r15), %ecx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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_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
	.comm	_f,4,2                          ## @f
L_.str.1:                               ## @.str.1
	.asciz	"\n"

L_.str.2:                               ## @.str.2
	.asciz	"%snumports = %d\n"

	.no_dead_strip	_diff_iter_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diff_iter_func
_diff_iter_func:                        ; @diff_iter_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_DEBUG
	ldr	w0, [x19, #48]
	ldr	w1, [x20, #32]
	bl	_ibnd_find_node_guid
	cbz	x0, LBB0_11
; %bb.1:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x24, _DIFF_FLAG_PORT_CONNECTION@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DIFF_FLAG_PORT_CONNECTION@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh4:
	adrp	x22, _DIFF_FLAG_LID@GOTPAGE
Lloh5:
	ldr	x22, [x22, _DIFF_FLAG_LID@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w11, w10, w9
Lloh6:
	adrp	x9, _DIFF_FLAG_NODE_DESCRIPTION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DIFF_FLAG_NODE_DESCRIPTION@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w11, w11, w9
	tst	w11, w8
	b.eq	LBB0_18
; %bb.2:
	mov	x21, x0
	str	wzr, [sp, #28]
Lloh9:
	adrp	x23, _f@GOTPAGE
Lloh10:
	ldr	x23, [x23, _f@GOTPAGEOFF]
	tst	w10, w8
	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, #16]
	ldr	w1, [x21, #16]
Lloh11:
	adrp	x8, _IB_SMP_DATA_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_SMP_DATA_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_memcmp
	cbz	x0, LBB0_7
LBB0_6:
	ldr	x8, [x19, #32]
	ldr	x4, [x19]
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
	mov	x3, #0
	blr	x8
	ldp	x1, x8, [x19, #16]
	mov	x0, x21
	blr	x8
	ldr	w0, [x23]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w8, #1
	str	w8, [sp, #28]
LBB0_7:
	ldr	w8, [x20]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.8:
	ldr	w8, [x19, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.9:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_10:
	add	x2, sp, #28
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_diff_ports
	b	LBB0_18
LBB0_11:
	ldr	x8, [x19, #32]
	ldr	x3, [x19]
	mov	x0, x20
	mov	w1, #0
	mov	x2, #0
	mov	x4, x3
	blr	x8
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.12:
	mov	x21, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #24]
	add	x9, x9, x21, lsl #3
	ldr	x0, [x9, #8]
	cbz	x0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x0]
	cbz	x9, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #40]
	ldr	x2, [x19]
	mov	w1, #0
	blr	x8
	ldr	w8, [x20]
	b	LBB0_13
LBB0_17:
	add	x2, sp, #28
	mov	x0, x20
	mov	x1, x19
	bl	_diff_iter_out_header
	ldr	w0, [x23]
	ldr	x8, [x19]
	ldr	w9, [x20]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x20, l_.str.2@PAGE
Lloh17:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_fprintf
	ldr	w0, [x23]
	ldr	x8, [x19, #16]
	ldr	w9, [x21]
	stp	x8, x9, [sp]
	mov	x1, x20
	bl	_fprintf
LBB0_18:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.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_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
	.comm	_f,4,2                          ; @f
l_.str.1:                               ; @.str.1
	.asciz	"\n"

l_.str.2:                               ; @.str.2
	.asciz	"%snumports = %d\n"

	.no_dead_strip	_diff_iter_func
.subsections_via_symbols
