	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_rdma_execute_command
_nvmet_rdma_execute_command:            ## @nvmet_rdma_execute_command
	.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	%rdi, %r15
	movq	16(%rdi), %rdi
	movq	24(%r15), %rbx
	incq	%rdi
	leaq	8(%rbx), %r14
	movq	%r14, %rsi
	callq	_atomic_sub_return
	shrq	$63, %rax
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	16(%r15), %rsi
	incq	%rsi
	movl	24(%rbx), %edx
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	16(%r15), %rdi
	incq	%rdi
	movq	%r14, %rsi
	callq	_atomic_add
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rdi
	callq	_nvmet_rdma_need_data_in
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	8(%r15), %rdi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	4(%r15), %rcx
	xorl	%r8d, %r8d
	callq	_rdma_rw_ctx_post
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_NVME_SC_DATA_XFER_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nvmet_req_complete
	jmp	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_nvmet_req_execute
	movl	$1, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IB send queue full (needed %d): queue %u cntlid %u\n"

	.comm	_NVME_SC_DATA_XFER_ERROR,4,2    ## @NVME_SC_DATA_XFER_ERROR
	.no_dead_strip	_nvmet_rdma_execute_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_rdma_execute_command
_nvmet_rdma_execute_command:            ; @nvmet_rdma_execute_command
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldp	x8, x21, [x0, #16]
	add	x0, x8, #1
	add	x20, x21, #8
	mov	x1, x20
	bl	_atomic_sub_return
	lsr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	add	x1, x8, #1
	ldr	w2, [x21, #24]
	ldr	x8, [x21, #16]
	ldr	w3, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x19, #16]
	add	x0, x8, #1
	mov	x1, x20
	bl	_atomic_add
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_nvmet_rdma_need_data_in
	cbz	x0, LBB0_5
; %bb.3:
	add	x0, x19, #8
	ldr	x8, [x21]
	ldp	w2, w1, [x8]
	add	x3, x19, #4
	mov	x4, #0
	bl	_rdma_rw_ctx_post
	cbz	x0, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _NVME_SC_DATA_XFER_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NVME_SC_DATA_XFER_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvmet_req_complete
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_nvmet_req_execute
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IB send queue full (needed %d): queue %u cntlid %u\n"

	.comm	_NVME_SC_DATA_XFER_ERROR,4,2    ; @NVME_SC_DATA_XFER_ERROR
	.no_dead_strip	_nvmet_rdma_execute_command
.subsections_via_symbols
