	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_reg_rdma_mem              ## -- Begin function iser_reg_rdma_mem
	.p2align	4, 0x90
_iser_reg_rdma_mem:                     ## @iser_reg_rdma_mem
	.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, %r13
	movq	24(%rdi), %r14
	movq	32(%rdi), %r15
	movq	(%r15), %rcx
	movl	%esi, %ebx
	leaq	(,%rbx,8), %r12
	addq	16(%rdi), %r12
	cmpl	$1, (%r14,%rbx,4)
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.1:
	testl	%edx, %edx
	jne	LBB0_3
## %bb.2:
	movq	_iser_always_reg@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
LBB0_3:
	movl	8(%r13), %edi
	callq	_scsi_get_prot_op
	movq	_SCSI_PROT_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_5
## %bb.4:
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_5:
	movq	(%rcx), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	movq	%rax, %r15
	movq	%rax, (%r12)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_6:
	leaq	(%r14,%rbx,4), %r14
	movl	8(%r13), %edi
	callq	_scsi_get_prot_op
	movq	_SCSI_PROT_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r12, %r8
	callq	_iser_reg_data_sg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_13
LBB0_9:
	shlq	$2, %rbx
	addq	(%r13), %rbx
	leaq	4(%r15), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r12, %r8
	callq	_iser_reg_sig_mr
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
LBB0_10:
	testq	%r15, %r15
	je	LBB0_14
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	*(%rax)
	jmp	LBB0_14
LBB0_12:
	movl	$1, (%r15)
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iser_always_reg,4,2            ## @iser_always_reg
	.comm	_SCSI_PROT_NORMAL,8,3           ## @SCSI_PROT_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_reg_rdma_mem              ; -- Begin function iser_reg_rdma_mem
	.p2align	2
_iser_reg_rdma_mem:                     ; @iser_reg_rdma_mem
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x1
	mov	x21, x0
	ldp	x8, x19, [x0, #24]
	ldr	x26, [x19]
	ldr	x9, [x0, #16]
	add	x23, x8, w1, uxtw #2
	add	x22, x9, w1, uxtw #3
	ldr	w8, [x23]
Lloh0:
	adrp	x27, _SCSI_PROT_NORMAL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _SCSI_PROT_NORMAL@GOTPAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.1:
	cbnz	w2, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _iser_always_reg@GOTPAGE
Lloh3:
	ldr	x8, [x8, _iser_always_reg@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
LBB0_3:
	ldr	w0, [x21, #8]
	bl	_scsi_get_prot_op
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x20, #0
	mov	w25, #1
	b	LBB0_6
LBB0_5:
	ldr	x8, [x26]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	mov	w25, #0
	str	x0, [x22]
LBB0_6:
	ldr	w0, [x21, #8]
	bl	_scsi_get_prot_op
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	mov	x3, x25
	mov	x4, x22
	bl	_iser_reg_data_sg
	mov	x21, x0
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.8:
	mov	w21, #0
	b	LBB0_13
LBB0_9:
	mov	w8, w24
	ldr	x9, [x21]
	add	x2, x9, x8, lsl #2
	add	x3, x20, #4
	mov	x0, x21
	mov	x1, x23
	mov	x4, x22
	bl	_iser_reg_sig_mr
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_12
LBB0_10:
	cbz	x20, LBB0_13
; %bb.11:
	ldr	x8, [x26]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_13
LBB0_12:
	mov	w21, #0
	mov	w8, #1
	str	w8, [x20]
LBB0_13:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_iser_always_reg,4,2            ; @iser_always_reg
	.comm	_SCSI_PROT_NORMAL,8,3           ; @SCSI_PROT_NORMAL
.subsections_via_symbols
