	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_node_records
_print_node_records:                    ## @print_node_records
	.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	_IB_SA_ATTR_NODERECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_get_all_records
	testl	%eax, %eax
	jne	LBB0_20
## %bb.1:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_node_print_desc@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_ALL_DESC@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.2(%rip), %rdi
	callq	_puts
LBB0_3:
	cmpl	$0, -48(%rbp)
	je	LBB0_19
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_print_node_desc
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	cmpl	-48(%rbp), %ebx
	jae	LBB0_19
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi
	movl	%ebx, %esi
	callq	_sa_get_query_rec
	movq	%rax, %r15
	movq	(%r13), %rax
	cmpq	(%r14), %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_NAME_OF_LID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_requested_lid@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	16(%r15), %edi
	callq	_cl_ntoh16
	cmpq	%rax, %r12
	jne	LBB0_18
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NAME_OF_GUID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_requested_guid@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	12(%r15), %edi
	callq	_cl_ntoh64
	cmpq	%rax, %r12
	jne	LBB0_18
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_print_node_record
	jmp	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_node_name_map@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	8(%r15), %edi
	callq	_cl_ntoh64
	movq	(%r15), %rdx
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_remap_node_name
	movq	%rax, %r12
	movq	_requested_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rsi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_requested_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_print_node_record
	movq	(%r13), %rax
	movq	_UNIQUE_LID_ONLY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_18
LBB0_19:
	leaq	-48(%rbp), %rdi
	callq	_sa_free_result_mad
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	leaq	-48(%rbp), %rdi
	callq	_sa_free_result_mad
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_SA_ATTR_NODERECORD,4,2      ## @IB_SA_ATTR_NODERECORD
	.comm	_node_print_desc,8,3            ## @node_print_desc
	.comm	_ALL_DESC,8,3                   ## @ALL_DESC
	.comm	_NAME_OF_LID,8,3                ## @NAME_OF_LID
	.comm	_requested_lid,8,3              ## @requested_lid
	.comm	_NAME_OF_GUID,8,3               ## @NAME_OF_GUID
	.comm	_requested_guid,8,3             ## @requested_guid
	.comm	_node_name_map,4,2              ## @node_name_map
	.comm	_requested_name,4,2             ## @requested_name
	.comm	_UNIQUE_LID_ONLY,8,3            ## @UNIQUE_LID_ONLY
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"   LID \"name\""

L_str.2:                                ## @str.2
	.asciz	"================"

	.no_dead_strip	_print_node_records
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_node_records
_print_node_records:                    ; @print_node_records
	.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
Lloh0:
	adrp	x8, _IB_SA_ATTR_NODERECORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_SA_ATTR_NODERECORD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_get_all_records
	mov	x19, x0
	cbnz	w0, LBB0_19
; %bb.1:
Lloh3:
	adrp	x23, _node_print_desc@GOTPAGE
Lloh4:
	ldr	x23, [x23, _node_print_desc@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh5:
	adrp	x24, _ALL_DESC@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ALL_DESC@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, l_str@PAGE
Lloh8:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh9:
	adrp	x0, l_str.2@PAGE
Lloh10:
	add	x0, x0, l_str.2@PAGEOFF
	bl	_puts
LBB0_3:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_18
; %bb.4:
	mov	w20, #0
Lloh11:
	adrp	x25, _NAME_OF_LID@GOTPAGE
Lloh12:
	ldr	x25, [x25, _NAME_OF_LID@GOTPAGEOFF]
Lloh13:
	adrp	x26, _requested_lid@GOTPAGE
Lloh14:
	ldr	x26, [x26, _requested_lid@GOTPAGEOFF]
Lloh15:
	adrp	x27, _NAME_OF_GUID@GOTPAGE
Lloh16:
	ldr	x27, [x27, _NAME_OF_GUID@GOTPAGEOFF]
Lloh17:
	adrp	x28, _requested_name@GOTPAGE
Lloh18:
	ldr	x28, [x28, _requested_name@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_print_node_desc
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, #1
	ldr	w8, [sp, #8]
	cmp	w20, w8
	b.hs	LBB0_18
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #12]
	mov	x1, x20
	bl	_sa_get_query_rec
	mov	x21, x0
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x26]
	ldr	w0, [x21, #16]
	bl	_cl_ntoh16
	cmp	x22, x0
	b.ne	LBB0_6
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh19:
	adrp	x8, _requested_guid@GOTPAGE
Lloh20:
	ldr	x8, [x8, _requested_guid@GOTPAGEOFF]
Lloh21:
	ldr	x22, [x8]
	ldr	w0, [x21, #12]
	bl	_cl_ntoh64
	cmp	x22, x0
	b.ne	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_print_node_record
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh22:
	adrp	x8, _node_name_map@GOTPAGE
Lloh23:
	ldr	x8, [x8, _node_name_map@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	ldr	w0, [x21, #8]
	bl	_cl_ntoh64
	mov	x1, x0
	ldr	x2, [x21]
	mov	x0, x22
	bl	_remap_node_name
	mov	x22, x0
	ldr	w0, [x28]
	cbz	w0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x21]
	mov	w2, #8
	bl	_strncmp
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x28]
	mov	x1, x22
	mov	w2, #8
	bl	_strncmp
	cbnz	x0, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_print_node_record
	ldr	x8, [x23]
Lloh25:
	adrp	x9, _UNIQUE_LID_ONLY@GOTPAGE
Lloh26:
	ldr	x9, [x9, _UNIQUE_LID_ONLY@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_free
	b	LBB0_6
LBB0_18:
	add	x0, sp, #8
	bl	_sa_free_result_mad
LBB0_19:
	mov	x0, x19
	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
LBB0_20:
	add	x0, sp, #8
	bl	_sa_free_result_mad
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_SA_ATTR_NODERECORD,4,2      ; @IB_SA_ATTR_NODERECORD
	.comm	_node_print_desc,8,3            ; @node_print_desc
	.comm	_ALL_DESC,8,3                   ; @ALL_DESC
	.comm	_NAME_OF_LID,8,3                ; @NAME_OF_LID
	.comm	_requested_lid,8,3              ; @requested_lid
	.comm	_NAME_OF_GUID,8,3               ; @NAME_OF_GUID
	.comm	_requested_guid,8,3             ; @requested_guid
	.comm	_node_name_map,4,2              ; @node_name_map
	.comm	_requested_name,4,2             ; @requested_name
	.comm	_UNIQUE_LID_ONLY,8,3            ; @UNIQUE_LID_ONLY
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"   LID \"name\""

l_str.2:                                ; @str.2
	.asciz	"================"

	.no_dead_strip	_print_node_records
.subsections_via_symbols
