	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iser_reg_dma
_iser_reg_dma:                          ## @iser_reg_dma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	(%rsi), %r14
	movq	(%rdi), %rax
	movl	16(%rax), %ecx
	movl	%ecx, 8(%rdx)
	movq	_IB_PD_UNSAFE_GLOBAL_RKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	8(%rax), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_sg_dma_address
	movl	%eax, 4(%rbx)
	movq	%r14, %rdi
	callq	_sg_dma_len
	movl	%eax, (%rbx)
	movl	4(%rbx), %ecx
	movl	8(%rbx), %esi
	movq	16(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %r8d
	callq	_iser_dbg
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PD_UNSAFE_GLOBAL_RKEY,4,2   ## @IB_PD_UNSAFE_GLOBAL_RKEY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Single DMA entry: lkey=0x%x, rkey=0x%x, addr=0x%llx, length=0x%x\n"

	.no_dead_strip	_iser_reg_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iser_reg_dma
_iser_reg_dma:                          ; @iser_reg_dma
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x20, [x1]
	ldr	x8, [x0]
	ldr	w9, [x8, #16]
	str	w9, [x2, #8]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _IB_PD_UNSAFE_GLOBAL_RKEY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IB_PD_UNSAFE_GLOBAL_RKEY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	str	x8, [x19, #16]
	mov	x0, x20
	bl	_sg_dma_address
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_sg_dma_len
	mov	x4, x0
	str	w0, [x19]
	ldr	x2, [x19, #16]
	ldp	w3, w1, [x19, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_iser_dbg
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PD_UNSAFE_GLOBAL_RKEY,4,2   ; @IB_PD_UNSAFE_GLOBAL_RKEY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Single DMA entry: lkey=0x%x, rkey=0x%x, addr=0x%llx, length=0x%x\n"

	.no_dead_strip	_iser_reg_dma
.subsections_via_symbols
