	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hugetlb_get_unmapped_area_bottomup
_hugetlb_get_unmapped_area_bottomup:    ## @hugetlb_get_unmapped_area_bottomup
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	_TASK_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_TIF_32BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_thread_flag
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_STACK_TOP32@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_2:
	movq	_VA_EXCLUDE_START@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	setbe	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	jmp	LBB0_4
LBB0_5:
	cmpq	%r14, (%r12)
	jae	LBB0_7
## %bb.6:
	movq	8(%r12), %rdi
	jmp	LBB0_8
LBB0_7:
	movq	_TASK_UNMAPPED_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	$0, (%r12)
LBB0_8:
	subq	%r14, -48(%rbp)                 ## 8-byte Folded Spill
	movq	_HPAGE_SIZE@GOTPCREL(%rip), %rax
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%rax, %r15
	movl	(%rax), %esi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_ALIGN
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_find_vma
	movq	%rax, %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	8(%r13), %rdi
	movl	(%r15), %esi
	callq	_ALIGN
	movq	%rax, %rbx
	movq	16(%r13), %r13
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_VA_EXCLUDE_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	jae	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	leaq	(%rbx,%r14), %rcx
	cmpq	%rax, %rcx
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	_VA_EXCLUDE_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_find_vma
	movq	%rax, %r13
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	xorl	%edi, %edi
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=2
	testq	%r13, %r13
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=2
	leaq	(%rbx,%r14), %rax
	cmpq	(%r13), %rax
	setbe	%al
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=2
	movb	$1, %al
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=2
	movzbl	%al, %edi
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r12), %rcx
	addq	%rbx, %rcx
	movq	(%r13), %rax
	cmpq	%rax, %rcx
	jae	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=2
	subq	%rbx, %rax
	movq	%rax, (%r12)
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_TASK_UNMAPPED_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	$0, (%r12)
	movq	%rax, %rdi
	movq	%r15, %rax
	jmp	LBB0_9
LBB0_20:
	addq	%rbx, %r14
	movq	%r14, 8(%r12)
LBB0_4:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_TASK_SIZE,8,3                  ## @TASK_SIZE
	.comm	_TIF_32BIT,4,2                  ## @TIF_32BIT
	.comm	_STACK_TOP32,8,3                ## @STACK_TOP32
	.comm	_VA_EXCLUDE_START,8,3           ## @VA_EXCLUDE_START
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_TASK_UNMAPPED_BASE,8,3         ## @TASK_UNMAPPED_BASE
	.comm	_HPAGE_SIZE,4,2                 ## @HPAGE_SIZE
	.comm	_VA_EXCLUDE_END,8,3             ## @VA_EXCLUDE_END
	.no_dead_strip	_hugetlb_get_unmapped_area_bottomup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hugetlb_get_unmapped_area_bottomup
_hugetlb_get_unmapped_area_bottomup:    ; @hugetlb_get_unmapped_area_bottomup
	.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	x19, x2
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _TASK_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TASK_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
Lloh6:
	adrp	x8, _TIF_32BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIF_32BIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_test_thread_flag
Lloh9:
	adrp	x8, _STACK_TOP32@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STACK_TOP32@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x22, x21, x8, eq
Lloh12:
	adrp	x24, _VA_EXCLUDE_START@GOTPAGE
Lloh13:
	ldr	x24, [x24, _VA_EXCLUDE_START@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x19
	cset	w0, ls
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	neg	x22, x8
	b	LBB0_19
LBB0_2:
	ldr	x8, [x20]
Lloh17:
	adrp	x25, _TASK_UNMAPPED_BASE@GOTPAGE
Lloh18:
	ldr	x25, [x25, _TASK_UNMAPPED_BASE@GOTPAGEOFF]
	cmp	x8, x19
	b.hs	LBB0_4
; %bb.3:
	ldr	x21, [x20, #8]
	b	LBB0_5
LBB0_4:
	ldr	x21, [x25]
	str	xzr, [x20]
LBB0_5:
	sub	x26, x22, x19
Lloh19:
	adrp	x27, _HPAGE_SIZE@GOTPAGE
Lloh20:
	ldr	x27, [x27, _HPAGE_SIZE@GOTPAGEOFF]
Lloh21:
	adrp	x28, _VA_EXCLUDE_END@GOTPAGE
Lloh22:
	ldr	x28, [x28, _VA_EXCLUDE_END@GOTPAGEOFF]
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w1, [x27]
	mov	x0, x21
	bl	_ALIGN
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_find_vma
	mov	x23, x0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	x0, [x23, #8]
	ldr	w1, [x27]
	bl	_ALIGN
	mov	x22, x0
	ldr	x23, [x23, #16]
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	add	x9, x22, x19
	cmp	x22, x8
	ccmp	x9, x8, #0, lo
	b.lo	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x22, [x28]
	mov	x0, x20
	mov	x1, x22
	bl	_find_vma
	mov	x23, x0
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	x26, x22
	cset	w0, lo
	bl	_unlikely
	cbnz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	cbz	x23, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x23]
	add	x9, x22, x19
	cmp	x9, x8
	cset	w0, ls
	bl	_likely
	cbz	x0, LBB0_14
	b	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	w0, #1
	bl	_likely
	cbnz	x0, LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x9, [x20]
	ldr	x8, [x23]
	add	x9, x9, x22
	cmp	x9, x8
	b.hs	LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=2
	sub	x8, x8, x22
	str	x8, [x20]
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25]
	cmp	x21, x8
	b.eq	LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x20]
	mov	x21, x8
	b	LBB0_6
LBB0_18:
	add	x8, x22, x19
	str	x8, [x20, #8]
LBB0_19:
	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	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_TASK_SIZE,8,3                  ; @TASK_SIZE
	.comm	_TIF_32BIT,4,2                  ; @TIF_32BIT
	.comm	_STACK_TOP32,8,3                ; @STACK_TOP32
	.comm	_VA_EXCLUDE_START,8,3           ; @VA_EXCLUDE_START
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_TASK_UNMAPPED_BASE,8,3         ; @TASK_UNMAPPED_BASE
	.comm	_HPAGE_SIZE,4,2                 ; @HPAGE_SIZE
	.comm	_VA_EXCLUDE_END,8,3             ; @VA_EXCLUDE_END
	.no_dead_strip	_hugetlb_get_unmapped_area_bottomup
.subsections_via_symbols
