	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpcrdma_convert_iovs
_rpcrdma_convert_iovs:                  ## @rpcrdma_convert_iovs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdi, %r13
	xorl	%r12d, %r12d
	testl	%esi, %esi
	jne	LBB0_3
## %bb.1:
	movq	32(%r13), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	$0, 16(%r15)
	movq	8(%rcx), %rcx
	movq	%rcx, 8(%r15)
	movl	%eax, (%r15)
	movl	$1, %r12d
LBB0_3:
	movl	(%r13), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.4:
	movq	16(%r13), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.5:
	xorl	%eax, %eax
	cmpl	%r8d, %r12d
	je	LBB0_20
## %bb.6:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %r14
	movq	%rcx, 16(%r15,%r14,8)
	movq	24(%r13), %rax
	movq	%rax, 8(%r15,%r14,8)
	movq	_u32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	subq	%rax, %rsi
	callq	_min_t
	movl	%eax, (%r15,%r14,8)
	movl	(%r13), %ebx
	subl	%eax, %ebx
	jle	LBB0_7
## %bb.8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	subq	%r12, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r14,8), %r14
	addq	$40, %r14
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movq	%rax, (%r14)
	movq	$0, -8(%r14)
	movq	_u32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%ebx, %edx
	callq	_min_t
	movl	%eax, -16(%r14)
	incq	%r15
	addq	$24, %r14
	subl	%eax, %ebx
	jg	LBB0_9
## %bb.12:
	addl	%r15d, %r12d
                                        ## kill: def $r12d killed $r12d killed $r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_7:
	incl	%r12d
LBB0_13:
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_14:
	movq	8(%r13), %rcx
	movl	(%rcx), %esi
	testl	%esi, %esi
	je	LBB0_19
## %bb.15:
	cmpl	$3, %esi
	jg	LBB0_17
## %bb.16:
	movq	_xprt_rdma_pad_optimize@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	jne	LBB0_19
LBB0_17:
	xorl	%eax, %eax
	cmpl	%r8d, %r12d
	je	LBB0_20
## %bb.18:
	movslq	%r12d, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	$0, 16(%r15,%rdx,8)
	movq	8(%rcx), %rcx
	movq	%rcx, 8(%r15,%rdx,8)
	movl	%esi, (%r15,%rdx,8)
	incl	%r12d
LBB0_19:
	movl	%r12d, %eax
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_u32,4,2                        ## @u32
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_xprt_rdma_pad_optimize,8,3     ## @xprt_rdma_pad_optimize
	.no_dead_strip	_rpcrdma_convert_iovs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpcrdma_convert_iovs
_rpcrdma_convert_iovs:                  ; @rpcrdma_convert_iovs
	.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	x20, x4
	mov	x19, x3
	mov	x21, x0
	cbz	w1, LBB0_2
LBB0_1:
	mov	w22, #0
	ldr	w2, [x21]
	cbnz	w2, LBB0_4
	b	LBB0_12
LBB0_2:
	ldr	x9, [x21, #32]
	ldr	w8, [x9]
	cbz	w8, LBB0_1
; %bb.3:
	ldr	x9, [x9, #8]
	stp	x9, xzr, [x19, #8]
	str	w8, [x19]
	mov	w22, #1
	ldr	w2, [x21]
	cbz	w2, LBB0_12
LBB0_4:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.5:
	cmp	w22, w20
	b.eq	LBB0_15
; %bb.6:
	mov	w9, #24
	umaddl	x23, w22, w9, x19
	ldr	x9, [x21, #24]
Lloh0:
	adrp	x24, _u32@GOTPAGE
Lloh1:
	ldr	x24, [x24, _u32@GOTPAGEOFF]
	stp	x9, x8, [x23, #8]
	ldr	w0, [x24]
Lloh2:
	adrp	x25, _PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x8, [x25]
	sub	x1, x8, x9
	bl	_min_t
	str	w0, [x23]
	ldr	w8, [x21]
	sub	w23, w8, w0
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.7:
	mov	w22, w22
	mov	w8, #24
	mov	w9, w20
	sub	x27, x9, x22
	madd	x8, x22, x8, x19
	add	x28, x8, #40
	mov	w26, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x27, x26
	b.eq	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26, lsl #3]
	stp	xzr, x8, [x28, #-8]
	ldr	w0, [x24]
	ldr	x1, [x25]
	mov	x2, x23
	bl	_min_t
	stur	w0, [x28, #-16]
	sub	w23, w23, w0
	add	x26, x26, #1
	add	x28, x28, #24
	cmp	w23, #0
	b.gt	LBB0_8
; %bb.10:
	add	w22, w22, w26
	b	LBB0_12
LBB0_11:
	add	w22, w22, #1
LBB0_12:
	ldr	x9, [x21, #8]
	ldr	w8, [x9]
	cbz	w8, LBB0_17
; %bb.13:
Lloh4:
	adrp	x10, _xprt_rdma_pad_optimize@GOTPAGE
Lloh5:
	ldr	x10, [x10, _xprt_rdma_pad_optimize@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	w8, #3
	ccmp	x10, #0, #4, le
	b.ne	LBB0_17
; %bb.14:
	cmp	w22, w20
	b.ne	LBB0_16
LBB0_15:
	mov	w22, #0
	b	LBB0_17
LBB0_16:
	mov	w10, #24
	ldr	x9, [x9, #8]
	smaddl	x10, w22, w10, x19
	stp	x9, xzr, [x10, #8]
	str	w8, [x10]
	add	w22, w22, #1
LBB0_17:
	mov	x0, x22
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_u32,4,2                        ; @u32
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_xprt_rdma_pad_optimize,8,3     ; @xprt_rdma_pad_optimize
	.no_dead_strip	_rpcrdma_convert_iovs
.subsections_via_symbols
