	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_rdma_send_error            ## -- Begin function svc_rdma_send_error
	.p2align	4, 0x90
_svc_rdma_send_error:                   ## @svc_rdma_send_error
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_svc_rdma_get_page
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_page_address
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%rax, %rcx
	callq	_svc_rdma_xdr_encode_error
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_svc_rdma_get_context
	movq	%rax, %rbx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, 32(%rbx)
	movl	$1, (%rbx)
	movq	24(%rbx), %rcx
	movq	%r15, (%rcx)
	movq	8(%r14), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %r8d
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	callq	_ib_dma_map_page
	movq	8(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	8(%r14), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%r15, %rdi
	callq	_put_page
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svc_rdma_put_context           ## TAILCALL
LBB0_1:
	leaq	4(%r14), %rdi
	callq	_atomic_inc
	movl	(%r14), %eax
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	%r12d, (%rcx)
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_IB_WR_SEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, -64(%rbp)
	movq	8(%rbx), %rcx
	movq	%rcx, -40(%rbp)
	movl	$1, -56(%rbp)
	movq	%rax, -48(%rbp)
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_svc_rdma_send
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_dprintk
	movq	%rbx, %rdi
	callq	_svc_rdma_unmap_dma
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_svc_rdma_put_context
LBB0_3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_IB_WR_SEND,8,3                 ## @IB_WR_SEND
	.comm	_IB_SEND_SIGNALED,4,2           ## @IB_SEND_SIGNALED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svcrdma: Error %d posting send for protocol error\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_rdma_send_error            ; -- Begin function svc_rdma_send_error
	.p2align	2
_svc_rdma_send_error:                   ; @svc_rdma_send_error
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
	bl	_svc_rdma_get_page
	mov	x21, x0
	bl	_page_address
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_svc_rdma_xdr_encode_error
	mov	x22, x0
	mov	x0, x20
	bl	_svc_rdma_get_context
	mov	x19, x0
Lloh0:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [x0, #32]
	mov	w23, #1
	str	w23, [x0]
	ldr	x9, [x0, #24]
	str	x21, [x9]
	ldr	x9, [x20, #8]
	ldr	w0, [x9]
	ldr	w4, [x8]
	mov	x1, x21
	mov	w2, #0
	mov	x3, x22
	bl	_ib_dma_map_page
	mov	x1, x0
	ldr	x8, [x19, #8]
	str	w0, [x8, #8]
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	bl	_ib_dma_mapping_error
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_put_page
	mov	x0, x19
	mov	w1, #1
	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
	b	_svc_rdma_put_context
LBB0_2:
	add	x0, x20, #4
	bl	_atomic_inc
	ldr	w8, [x20]
	ldr	x9, [x19, #8]
	stp	w22, w8, [x9]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh2:
	adrp	x8, _IB_WR_SEND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IB_WR_SEND@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	str	x19, [sp]
	ldr	x9, [x19, #8]
	stp	x8, x9, [sp, #16]
Lloh5:
	adrp	x8, _IB_SEND_SIGNALED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_SEND_SIGNALED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w23, w8, [sp, #8]
	mov	x1, sp
	mov	x0, x20
	bl	_svc_rdma_send
	cbz	w0, LBB0_4
; %bb.3:
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	bl	_svc_rdma_unmap_dma
	mov	x0, x19
	mov	w1, #1
	bl	_svc_rdma_put_context
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_IB_WR_SEND,8,3                 ; @IB_WR_SEND
	.comm	_IB_SEND_SIGNALED,4,2           ; @IB_SEND_SIGNALED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svcrdma: Error %d posting send for protocol error\n"

.subsections_via_symbols
