	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gup_pmd_range
_gup_pmd_range:                         ## @gup_pmd_range
	.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	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movl	%edi, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_pmd_offset
	movq	%rax, %r15
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_pmd_addr_end
	movq	%rax, %r14
	movl	%r13d, %edi
	callq	_pmd_none
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %edi
	callq	_pmd_trans_splitting
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %edi
	callq	_pmd_large
	movl	%eax, %edi
	callq	_unlikely
	movl	%r13d, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_gup_huge_pmd
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_gup_pte_range
	testl	%eax, %eax
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$4, %r15
	movq	%r14, %r12
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, %r14
	jne	LBB0_1
## %bb.8:
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gup_pmd_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gup_pmd_range
_gup_pmd_range:                         ; @gup_pmd_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	str	w0, [sp, #12]
	add	x0, sp, #12
	bl	_pmd_offset
	mov	x23, x0
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	mov	x1, x24
	mov	x2, x25
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_gup_pte_range
	cbz	w0, LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #4
	mov	x24, x25
	cmp	x25, x22
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w26, [x23]
	mov	x0, x24
	mov	x1, x22
	bl	_pmd_addr_end
	mov	x25, x0
	mov	x0, x26
	bl	_pmd_none
	cbnz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	bl	_pmd_trans_splitting
	cbnz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	bl	_pmd_large
	bl	_unlikely
	cbz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x26
	mov	x1, x24
	mov	x2, x25
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_gup_huge_pmd
	cbnz	w0, LBB0_2
	b	LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gup_pmd_range
.subsections_via_symbols
