	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_acquire_user_pages        ## -- Begin function hfi1_acquire_user_pages
	.p2align	4, 0x90
_hfi1_acquire_user_pages:               ## @hfi1_acquire_user_pages
	.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	%rdi, %r14
	movq	_FOLL_LONGTERM@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_FOLL_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	(%rax), %ecx
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movq	%r8, %rcx
	callq	_get_user_pages_fast
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_atomic64_add
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FOLL_LONGTERM,4,2              ## @FOLL_LONGTERM
	.comm	_FOLL_WRITE,4,2                 ## @FOLL_WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_acquire_user_pages        ; -- Begin function hfi1_acquire_user_pages
	.p2align	2
_hfi1_acquire_user_pages:               ; @hfi1_acquire_user_pages
	.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	x8, x2
	mov	x19, x0
Lloh0:
	adrp	x9, _FOLL_LONGTERM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FOLL_LONGTERM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _FOLL_WRITE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FOLL_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w3, #0
	csel	w10, wzr, w10, eq
	orr	w2, w10, w9
	mov	x0, x1
	mov	x1, x8
	mov	x3, x4
	bl	_get_user_pages_fast
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_atomic64_add
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FOLL_LONGTERM,4,2              ; @FOLL_LONGTERM
	.comm	_FOLL_WRITE,4,2                 ; @FOLL_WRITE
.subsections_via_symbols
