	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rdma_block_iter_next         ## -- Begin function __rdma_block_iter_next
	.p2align	4, 0x90
___rdma_block_iter_next:                ## @__rdma_block_iter_next
	.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
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	callq	_sg_dma_address
	movl	%eax, %r14d
	addl	4(%rbx), %r14d
	movl	%r14d, (%rbx)
	movl	24(%rbx), %edi
	callq	_BIT_ULL
	movl	%eax, %r15d
	decl	%r15d
	andl	%r14d, %r15d
	movl	24(%rbx), %edi
	callq	_BIT_ULL
	subl	%r15d, %eax
	addl	4(%rbx), %eax
	movl	%eax, 4(%rbx)
	movslq	%eax, %r15
	movq	16(%rbx), %rdi
	callq	_sg_dma_len
	movl	$1, %r14d
	cmpq	%r15, %rax
	jg	LBB0_4
## %bb.3:
	movl	$0, 4(%rbx)
	movq	16(%rbx), %rdi
	callq	_sg_next
	movq	%rax, 16(%rbx)
	decl	8(%rbx)
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rdma_block_iter_next         ; -- Begin function __rdma_block_iter_next
	.p2align	2
___rdma_block_iter_next:                ; @__rdma_block_iter_next
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_6
; %bb.2:
	bl	_sg_dma_address
	ldr	w8, [x19, #4]
	add	w20, w8, w0
	str	w20, [x19]
	ldr	w0, [x19, #24]
	bl	_BIT_ULL
	sub	w8, w0, #1
	and	w20, w8, w20
	ldr	w0, [x19, #24]
	bl	_BIT_ULL
	ldr	w8, [x19, #4]
	sub	w9, w0, w20
	add	w20, w8, w9
	str	w20, [x19, #4]
	ldr	x0, [x19, #16]
	bl	_sg_dma_len
	cmp	x0, w20, sxtw
	b.gt	LBB0_4
; %bb.3:
	str	wzr, [x19, #4]
	ldr	x0, [x19, #16]
	bl	_sg_next
	str	x0, [x19, #16]
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #8]
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
