	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sm_pr_query
_sm_pr_query:                           ## @sm_pr_query
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	-64(%rbp), %ecx
	movq	_PR@GOTPCREL(%rip), %r14
	movl	(%r14), %r8d
	movq	_SLID@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%ebx, %edi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_CHECK_AND_SET_VAL
	movl	-68(%rbp), %ecx
	movl	(%r14), %r8d
	movq	_DLID@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r13d, %edi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_CHECK_AND_SET_VAL
	movq	_IB_SA_ATTR_PATHRECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r12, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	$12, %r9d
	callq	_get_any_records
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	callq	_sa_get_query_rec
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$16, %edx
	callq	_memcpy
	leaq	-48(%rbp), %rdi
	callq	_sa_free_result_mad
LBB0_2:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PR,4,2                         ## @PR
	.comm	_SLID,4,2                       ## @SLID
	.comm	_DLID,4,2                       ## @DLID
	.comm	_IB_SA_ATTR_PATHRECORD,4,2      ## @IB_SA_ATTR_PATHRECORD
	.no_dead_strip	_sm_pr_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sm_pr_query
_sm_pr_query:                           ; @sm_pr_query
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w3, [sp, #24]
Lloh0:
	adrp	x23, _PR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PR@GOTPAGEOFF]
	ldr	w4, [x23]
Lloh2:
	adrp	x8, _SLID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SLID@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	x0, x21
	mov	w1, #16
	mov	w2, #0
	bl	_CHECK_AND_SET_VAL
	ldr	w3, [sp, #20]
	ldr	w4, [x23]
Lloh5:
	adrp	x8, _DLID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DLID@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	mov	x0, x20
	mov	w1, #16
	mov	w2, #0
	bl	_CHECK_AND_SET_VAL
Lloh8:
	adrp	x8, _IB_SA_ATTR_PATHRECORD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_SA_ATTR_PATHRECORD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x4, sp, #16
	add	x6, sp, #8
	mov	x0, x22
	mov	w2, #0
	mov	w3, #0
	mov	w5, #12
	bl	_get_any_records
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_sa_get_query_rec
	mov	x1, x0
	mov	x0, x19
	mov	w2, #16
	bl	_memcpy
	add	x0, sp, #8
	bl	_sa_free_result_mad
LBB0_2:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PR,4,2                         ; @PR
	.comm	_SLID,4,2                       ; @SLID
	.comm	_DLID,4,2                       ; @DLID
	.comm	_IB_SA_ATTR_PATHRECORD,4,2      ; @IB_SA_ATTR_PATHRECORD
	.no_dead_strip	_sm_pr_query
.subsections_via_symbols
