	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_node_info
_get_node_info:                         ## @get_node_info
	.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	%rsi, %rbx
	movq	%rdi, %rsi
	movq	_IB_ATTR_NODE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_srcport@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_smp_query_via
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_IBEXIT
LBB0_2:
	movq	_IB_NODE_TYPE_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mad_get_field
	movq	_IB_NODE_SWITCH@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	sete	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_ATTR_NODE_INFO,4,2          ## @IB_ATTR_NODE_INFO
	.comm	_srcport,4,2                    ## @srcport
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smp query nodeinfo failed"

	.comm	_IB_NODE_TYPE_F,4,2             ## @IB_NODE_TYPE_F
	.comm	_IB_NODE_SWITCH,4,2             ## @IB_NODE_SWITCH
	.no_dead_strip	_get_node_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_node_info
_get_node_info:                         ; @get_node_info
	.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, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _IB_ATTR_NODE_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_ATTR_NODE_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _srcport@GOTPAGE
Lloh4:
	ldr	x8, [x8, _srcport@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_smp_query_via
	cbnz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IBEXIT
LBB0_2:
Lloh8:
	adrp	x8, _IB_NODE_TYPE_F@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_NODE_TYPE_F@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_mad_get_field
Lloh11:
	adrp	x8, _IB_NODE_SWITCH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_NODE_SWITCH@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_ATTR_NODE_INFO,4,2          ; @IB_ATTR_NODE_INFO
	.comm	_srcport,4,2                    ; @srcport
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smp query nodeinfo failed"

	.comm	_IB_NODE_TYPE_F,4,2             ; @IB_NODE_TYPE_F
	.comm	_IB_NODE_SWITCH,4,2             ; @IB_NODE_SWITCH
	.no_dead_strip	_get_node_info
.subsections_via_symbols
