	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function query_sm_info_records
_query_sm_info_records:                 ## @query_sm_info_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	$0, -28(%rbp)
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.1:
	movq	(%r8), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_parse_lid_and_ports
LBB0_2:
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-28(%rbp), %edi
	movl	-32(%rbp), %ecx
	movq	_SMIR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_LID@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_CHECK_AND_SET_VAL
	movq	_IB_SA_ATTR_SMINFORECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_dump_sm_info_record@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$4, %r9d
	pushq	%r14
	pushq	%rax
	callq	_get_and_dump_any_records
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMIR,4,2                       ## @SMIR
	.comm	_LID,4,2                        ## @LID
	.comm	_IB_SA_ATTR_SMINFORECORD,4,2    ## @IB_SA_ATTR_SMINFORECORD
	.comm	_dump_sm_info_record,4,2        ## @dump_sm_info_record
	.no_dead_strip	_query_sm_info_records
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function query_sm_info_records
_query_sm_info_records:                 ; @query_sm_info_records
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	str	wzr, [sp, #4]
	cmp	w3, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x1, [x4]
	add	x2, sp, #4
	mov	x0, x20
	mov	x3, #0
	mov	x4, #0
	bl	_parse_lid_and_ports
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldp	w0, w3, [sp, #4]
Lloh0:
	adrp	x8, _SMIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMIR@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x8, _LID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LID@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	w1, #16
	mov	w2, #0
	bl	_CHECK_AND_SET_VAL
Lloh6:
	adrp	x8, _IB_SA_ATTR_SMINFORECORD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_SA_ATTR_SMINFORECORD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _dump_sm_info_record@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dump_sm_info_record@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	add	x4, sp, #8
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	mov	w5, #4
	mov	x7, x19
	bl	_get_and_dump_any_records
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMIR,4,2                       ; @SMIR
	.comm	_LID,4,2                        ; @LID
	.comm	_IB_SA_ATTR_SMINFORECORD,4,2    ; @IB_SA_ATTR_SMINFORECORD
	.comm	_dump_sm_info_record,4,2        ; @dump_sm_info_record
	.no_dead_strip	_query_sm_info_records
.subsections_via_symbols
