	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_prefetch_sg_list
_mlx5_ib_prefetch_sg_list:              ## @mlx5_ib_prefetch_sg_list
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_to_mdev
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	decq	%r14
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, -44(%rbp)
	movl	(%rbx), %edx
	movl	-8(%rbx), %r8d
	movl	-4(%rbx), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	leaq	-44(%rbp), %r9
	pushq	%r15
	pushq	$0
	callq	_pagefault_single_data_segment
	addq	$16, %rsp
	subq	$1, %r14
	setb	%cl
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$12, %rbx
	testb	%cl, %cl
	je	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%eax, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlx5_ib_prefetch_sg_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_ib_prefetch_sg_list
_mlx5_ib_prefetch_sg_list:              ; @mlx5_ib_prefetch_sg_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_to_mdev
	cbz	x23, LBB0_4
; %bb.1:
	mov	x21, x0
	sub	x8, x23, #1
	add	x22, x22, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	str	wzr, [sp, #12]
	ldp	w3, w2, [x22, #-4]
	ldur	w4, [x22, #-8]
	add	x5, sp, #12
	mov	x0, x21
	mov	x1, x20
	mov	x6, #0
	mov	x7, x19
	bl	_pagefault_single_data_segment
	tbnz	w0, #31, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x8, x23, #1
	add	x22, x22, #12
	cbnz	x23, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlx5_ib_prefetch_sg_list
.subsections_via_symbols
