	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_rdma_release_rsp
_nvmet_rdma_release_rsp:                ## @nvmet_rdma_release_rsp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	movq	40(%rbx), %r14
	incq	%rdi
	leaq	16(%r14), %rsi
	callq	_atomic_add
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	24(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %r13d
	movq	(%rbx), %r15
	movl	8(%rbx), %r12d
	movq	%rbx, %rdi
	callq	_nvmet_data_dir
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	callq	_rdma_rw_ctx_destroy
LBB0_2:
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_nvmet_req_free_sgl
LBB0_4:
	movq	%r14, %rdi
	callq	_list_empty_careful
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_nvmet_rdma_process_wr_wait_list
LBB0_6:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvmet_rdma_put_rsp             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvmet_rdma_release_rsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_rdma_release_rsp
_nvmet_rdma_release_rsp:                ; @nvmet_rdma_release_rsp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldp	x8, x20, [x0, #32]
	add	x0, x8, #1
	add	x1, x20, #16
	bl	_atomic_add
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	add	x21, x19, #24
	ldr	x8, [x20, #8]
	ldp	w23, w22, [x8]
	ldr	x24, [x19]
	ldr	w25, [x19, #8]
	mov	x0, x19
	bl	_nvmet_data_dir
	mov	x5, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	bl	_rdma_rw_ctx_destroy
LBB0_2:
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_nvmet_req_free_sgl
LBB0_4:
	mov	x0, x20
	bl	_list_empty_careful
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_nvmet_rdma_process_wr_wait_list
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nvmet_rdma_put_rsp
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvmet_rdma_release_rsp
.subsections_via_symbols
