	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sa_rpc_call                    ## -- Begin function sa_rpc_call
	.p2align	4, 0x90
_sa_rpc_call:                           ## @sa_rpc_call
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, -84(%rbp)
	movups	%xmm0, -100(%rbp)
	movq	$0, -68(%rbp)
	movl	12(%rcx), %r14d
	movl	16(%rcx), %r12d
	movq	%rdx, %rdi
	callq	_portid2str
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_DEBUG
	cmpq	$0, (%rbx)
	jle	LBB0_1
## %bb.2:
	movq	_IB_SA_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movups	8(%r15), %xmm0
	movups	%xmm0, -84(%rbp)
	movl	%r13d, -104(%rbp)
	movq	_IB_SA_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_IB_SA_DATA_OFFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -96(%rbp)
	movl	$1, 8(%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_IB_DEFAULT_QP1_QKEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_4:
	leaq	-104(%rbp), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_mad_rpc_rmpp
	movl	-100(%rbp), %ecx
	movl	%ecx, (%r15)
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_IBWARN
	xorl	%eax, %eax
LBB0_5:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attr 0x%x mod 0x%x route %s"

L_.str.1:                               ## @.str.1
	.asciz	"only lid routes are supported"

	.comm	_IB_SA_CLASS,4,2                ## @IB_SA_CLASS
	.comm	_IB_SA_DATA_SIZE,4,2            ## @IB_SA_DATA_SIZE
	.comm	_IB_SA_DATA_OFFS,4,2            ## @IB_SA_DATA_OFFS
	.comm	_IB_DEFAULT_QP1_QKEY,8,3        ## @IB_DEFAULT_QP1_QKEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sa_rpc_call                    ; -- Begin function sa_rpc_call
	.p2align	2
_sa_rpc_call:                           ; @sa_rpc_call
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x4
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	stur	xzr, [sp, #36]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #20]
	stur	q0, [sp, #4]
	ldp	w25, w24, [x3, #12]
	mov	x0, x2
	bl	_portid2str
	mov	x3, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x25
	bl	_DEBUG
	ldr	x8, [x21]
	cmp	x8, #0
	b.le	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _IB_SA_CLASS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_SA_CLASS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #36]
	ldur	q0, [x19, #8]
	stur	q0, [sp, #20]
Lloh5:
	adrp	x8, _IB_SA_DATA_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_SA_DATA_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IB_SA_DATA_OFFS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IB_SA_DATA_OFFS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #12]
	ldr	w8, [x19, #4]
	str	w23, [sp]
	str	w8, [sp, #8]
	mov	w8, #1
	str	w8, [x21, #8]
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _IB_DEFAULT_QP1_QKEY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_DEFAULT_QP1_QKEY@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x21, #16]
LBB0_3:
	mov	x1, sp
	mov	x0, x22
	mov	x2, x21
	mov	w3, #0
	mov	x4, x20
	bl	_mad_rpc_rmpp
	ldr	w8, [sp, #4]
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IBWARN
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attr 0x%x mod 0x%x route %s"

l_.str.1:                               ; @.str.1
	.asciz	"only lid routes are supported"

	.comm	_IB_SA_CLASS,4,2                ; @IB_SA_CLASS
	.comm	_IB_SA_DATA_SIZE,4,2            ; @IB_SA_DATA_SIZE
	.comm	_IB_SA_DATA_OFFS,4,2            ; @IB_SA_DATA_OFFS
	.comm	_IB_DEFAULT_QP1_QKEY,8,3        ; @IB_DEFAULT_QP1_QKEY
.subsections_via_symbols
