	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_guidinfo_records
_query_guidinfo_records:                ## @query_guidinfo_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	$0, -40(%rbp)
	movl	$-1, -36(%rbp)
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.1:
	movq	(%r8), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	movq	%r12, %rdi
	xorl	%r8d, %r8d
	callq	_parse_lid_and_ports
LBB0_2:
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	-40(%rbp), %edi
	movl	-44(%rbp), %ecx
	movq	_GIR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	_LID@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_CHECK_AND_SET_VAL
	movl	-36(%rbp), %edi
	movl	-48(%rbp), %ecx
	movl	(%rbx), %r8d
	movq	_BLOCKNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$8, %esi
	movl	$-1, %edx
	callq	_CHECK_AND_SET_VAL
	movq	_IB_SA_ATTR_GUIDINFORECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_dump_one_guidinfo_record@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$8, %r9d
	pushq	%r14
	pushq	%rax
	callq	_get_and_dump_any_records
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GIR,4,2                        ## @GIR
	.comm	_LID,4,2                        ## @LID
	.comm	_BLOCKNUM,4,2                   ## @BLOCKNUM
	.comm	_IB_SA_ATTR_GUIDINFORECORD,4,2  ## @IB_SA_ATTR_GUIDINFORECORD
	.comm	_dump_one_guidinfo_record,4,2   ## @dump_one_guidinfo_record
	.no_dead_strip	_query_guidinfo_records
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_guidinfo_records
_query_guidinfo_records:                ; @query_guidinfo_records
	.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, x2
	mov	x20, x1
	mov	w8, #-1
	stp	w8, wzr, [sp]
	cmp	w3, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x1, [x4]
	add	x2, sp, #4
	mov	x3, sp
	mov	x0, x20
	mov	x4, #0
	bl	_parse_lid_and_ports
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w0, [sp, #4]
	ldr	w3, [sp, #12]
Lloh0:
	adrp	x21, _GIR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GIR@GOTPAGEOFF]
	ldr	w4, [x21]
Lloh2:
	adrp	x8, _LID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LID@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	w1, #16
	mov	w2, #0
	bl	_CHECK_AND_SET_VAL
	ldr	w0, [sp]
	ldr	w3, [sp, #8]
	ldr	w4, [x21]
Lloh5:
	adrp	x8, _BLOCKNUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BLOCKNUM@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	mov	w1, #8
	mov	w2, #-1
	bl	_CHECK_AND_SET_VAL
Lloh8:
	adrp	x8, _IB_SA_ATTR_GUIDINFORECORD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_SA_ATTR_GUIDINFORECORD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _dump_one_guidinfo_record@GOTPAGE
Lloh12:
	ldr	x8, [x8, _dump_one_guidinfo_record@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	add	x4, sp, #8
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	mov	w5, #8
	mov	x7, x19
	bl	_get_and_dump_any_records
	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 AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GIR,4,2                        ; @GIR
	.comm	_LID,4,2                        ; @LID
	.comm	_BLOCKNUM,4,2                   ; @BLOCKNUM
	.comm	_IB_SA_ATTR_GUIDINFORECORD,4,2  ; @IB_SA_ATTR_GUIDINFORECORD
	.comm	_dump_one_guidinfo_record,4,2   ; @dump_one_guidinfo_record
	.no_dead_strip	_query_guidinfo_records
.subsections_via_symbols
