	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isert_rdma_rw_ctx_destroy
_isert_rdma_rw_ctx_destroy:             ## @isert_rdma_rw_ctx_destroy
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_target_reverse_dma_direction
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.1:
	movl	%eax, %r14d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_isert_prot_cmd
	movl	8(%r12), %esi
	movq	(%r12), %rcx
	movl	(%rcx), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %eax
	movl	12(%rbx), %r9d
	movq	%r15, %rdi
	pushq	%r14
	pushq	%rax
	callq	_rdma_rw_ctx_destroy_signature
	addq	$16, %rsp
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	movl	%r14d, %r9d
	callq	_rdma_rw_ctx_destroy
LBB0_4:
	movq	$0, (%r15)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_isert_rdma_rw_ctx_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isert_rdma_rw_ctx_destroy
_isert_rdma_rw_ctx_destroy:             ; @isert_rdma_rw_ctx_destroy
	.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	x22, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	bl	_target_reverse_dma_direction
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x22
	mov	x1, x21
	bl	_isert_prot_cmd
	ldr	w1, [x22, #8]
	ldr	x8, [x22]
	ldr	w2, [x8]
	ldp	w4, w3, [x21]
	cbz	x0, LBB0_3
; %bb.2:
	ldp	w6, w5, [x21, #8]
	mov	x0, x19
	mov	x7, x20
	bl	_rdma_rw_ctx_destroy_signature
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x5, x20
	bl	_rdma_rw_ctx_destroy
LBB0_4:
	str	xzr, [x19]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_isert_rdma_rw_ctx_destroy
.subsections_via_symbols
