	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iser_check_remote_inv
_iser_check_remote_inv:                 ## @iser_check_remote_inv
	.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	_IB_WC_WITH_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	testl	%eax, (%rsi)
	je	LBB0_12
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movl	4(%rsi), %r14d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_iser_dbg
	xorl	%edi, %edi
	cmpl	$0, 4(%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_iser_err
	movq	_EPROTO@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	movl	(%rbx), %edi
	movq	(%r15), %rsi
	callq	_iscsi_itt_to_ctask
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	(%rbx), %rbx
	movq	8(%rbx), %rax
	movq	_ISER_DIR_IN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_7
## %bb.5:
	movq	(%rbx), %rax
	movq	(%rax,%rcx,8), %rdi
	movl	%r14d, %esi
	callq	_iser_inv_desc
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movq	8(%rbx), %rax
LBB0_7:
	movq	_ISER_DIR_OUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_12
## %bb.8:
	movq	(%rbx), %rax
	movq	(%rax,%rcx,8), %rdi
	movl	%r14d, %esi
	callq	_iser_inv_desc
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_12
LBB0_9:
	movq	(%r15), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_iser_err
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_12:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WC_WITH_INVALIDATE,4,2      ## @IB_WC_WITH_INVALIDATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"conn %p: remote invalidation for rkey %#x\n"

L_.str.1:                               ## @.str.1
	.asciz	"conn %p: unexpected remote invalidation, terminating connection\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ISER_DIR_IN,8,3                ## @ISER_DIR_IN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ISER_DIR_OUT,8,3               ## @ISER_DIR_OUT
L_.str.2:                               ## @.str.2
	.asciz	"failed to get task for itt=%d\n"

	.no_dead_strip	_iser_check_remote_inv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iser_check_remote_inv
_iser_check_remote_inv:                 ; @iser_check_remote_inv
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _IB_WC_WITH_INVALIDATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_WC_WITH_INVALIDATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x20, x2
	mov	x21, x0
	ldr	w19, [x1, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	bl	_iser_dbg
	ldr	w8, [x21, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_iser_err
Lloh7:
	adrp	x8, _EPROTO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
	ldr	w0, [x21]
	ldr	x1, [x20]
	bl	_iscsi_itt_to_ctask
	mov	x21, x0
	bl	_likely
	cbz	x0, LBB0_10
; %bb.4:
	ldr	x20, [x21]
	ldr	x8, [x20, #8]
Lloh9:
	adrp	x9, _ISER_DIR_IN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ISER_DIR_IN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x10, [x8, x9, lsl #3]
	cbz	x10, LBB0_7
; %bb.5:
	ldr	x8, [x20]
	ldr	x0, [x8, x9, lsl #3]
	mov	x1, x19
	bl	_iser_inv_desc
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.6:
	ldr	x8, [x20, #8]
LBB0_7:
Lloh12:
	adrp	x9, _ISER_DIR_OUT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISER_DIR_OUT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x20]
	ldr	x0, [x8, x9, lsl #3]
	mov	x1, x19
	bl	_iser_inv_desc
	bl	_unlikely
	cbnz	x0, LBB0_11
	b	LBB0_13
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
	ldr	x1, [x20]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_iser_err
LBB0_11:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_WC_WITH_INVALIDATE,4,2      ; @IB_WC_WITH_INVALIDATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"conn %p: remote invalidation for rkey %#x\n"

l_.str.1:                               ; @.str.1
	.asciz	"conn %p: unexpected remote invalidation, terminating connection\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ISER_DIR_IN,8,3                ; @ISER_DIR_IN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ISER_DIR_OUT,8,3               ; @ISER_DIR_OUT
l_.str.2:                               ; @.str.2
	.asciz	"failed to get task for itt=%d\n"

	.no_dead_strip	_iser_check_remote_inv
.subsections_via_symbols
