	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_alloc_dss               ## -- Begin function extent_alloc_dss
	.p2align	4, 0x90
_extent_alloc_dss:                      ## @extent_alloc_dss
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_have_dss@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cassert
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	movq	_PAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_ALIGNMENT_CEILING
	xorl	%edi, %edi
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	cmpq	%rbx, %rax
	sete	%dil
	callq	_assert
	testq	%r13, %r13
	js	LBB0_12
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_extent_alloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_extent_dss_extending_start
	movq	_ATOMIC_ACQUIRE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_dss_exhausted@GOTPCREL(%rip), %rdi
	callq	_atomic_load_b
	testl	%eax, %eax
	je	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_extent_dss_extending_finish
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_extent_dalloc
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_PAGE_CEILING
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_ALIGNMENT_CEILING
	movq	%rax, %r15
	movq	%rax, %rbx
	subq	%r12, %rbx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_arena_ind_get
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_SC_NSIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_arena_extent_sn_next
                                        ## kill: def $eax killed $eax def $rax
	movq	_extent_state_active@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_EXTENT_NOT_HEAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	movl	-80(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r11
	pushq	$1
	pushq	$1
	pushq	$0
	pushq	%r10
	pushq	%rax
	callq	_extent_init
	addq	$48, %rsp
LBB0_6:                                 ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%r14, %r15
	jb	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax), %r13
	cmpq	%r14, %r13
	jb	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	subq	%r14, %rbx
	addq	%r15, %rbx
	movl	$1, %edi
	callq	_assert
	movq	%rbx, %rdi
	callq	_extent_dss_sbrk
	cmpq	%r14, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$-1, %rax
	je	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_extent_dss_max_update
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_3
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r15, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ATOMIC_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_dss_max@GOTPCREL(%rip), %rdi
	movq	%r13, %rsi
	callq	_atomic_store_p
	xorl	%eax, %eax
	callq	_extent_dss_extending_finish
	cmpq	%r12, %r15
	jne	LBB0_17
## %bb.15:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_extent_dalloc
	jmp	LBB0_18
LBB0_16:
	movq	_ATOMIC_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_dss_exhausted@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_store_b
	jmp	LBB0_3
LBB0_17:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_extent_dalloc_gap
LBB0_18:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_pages_decommit
	movq	16(%rbp), %rcx
	movl	%eax, (%rcx)
LBB0_20:
	cmpl	$0, (%rbx)
	je	LBB0_13
## %bb.21:
	testl	%eax, %eax
	je	LBB0_13
## %bb.22:
	movq	_EXTENT_HOOKS_INITIALIZER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)
	movq	%r14, %rdi
	callq	_arena_ind_get
	movq	_SC_NSIZES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_extent_state_active@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movq	%r12, %rbx
	movq	_EXTENT_NOT_HEAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	leaq	-84(%rbp), %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	pushq	%r12
	pushq	$1
	pushq	$1
	pushq	$0
	pushq	%r11
	pushq	%r10
	callq	_extent_init
	addq	$48, %rsp
	leaq	-120(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	leaq	-84(%rbp), %rcx
	xorl	%r8d, %r8d
	movq	%r13, %r9
	callq	_extent_purge_forced_wrapper
	testq	%rax, %rax
	je	LBB0_13
## %bb.23:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_memset
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_have_dss,4,2                   ## @have_dss
	.comm	_PAGE,8,3                       ## @PAGE
	.comm	_dss_exhausted,4,2              ## @dss_exhausted
	.comm	_ATOMIC_ACQUIRE,4,2             ## @ATOMIC_ACQUIRE
	.comm	_SC_NSIZES,4,2                  ## @SC_NSIZES
	.comm	_extent_state_active,4,2        ## @extent_state_active
	.comm	_EXTENT_NOT_HEAD,4,2            ## @EXTENT_NOT_HEAD
	.comm	_dss_max,4,2                    ## @dss_max
	.comm	_ATOMIC_RELEASE,4,2             ## @ATOMIC_RELEASE
	.comm	_EXTENT_HOOKS_INITIALIZER,8,3   ## @EXTENT_HOOKS_INITIALIZER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extent_alloc_dss               ; -- Begin function extent_alloc_dss
	.p2align	2
_extent_alloc_dss:                      ; @extent_alloc_dss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x23, x6
	mov	x22, x5
	mov	x26, x4
	mov	x21, x3
	mov	x27, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _have_dss@GOTPAGE
Lloh1:
	ldr	x8, [x8, _have_dss@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cassert
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
Lloh3:
	adrp	x8, _PAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	x0, x26
	bl	_ALIGNMENT_CEILING
	cmp	x0, x26
	cset	w0, eq
	bl	_assert
	tbnz	x21, #63, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_extent_alloc
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	cbz	x0, LBB0_4
; %bb.2:
	stp	x23, x22, [sp, #16]             ; 16-byte Folded Spill
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	bl	_extent_dss_extending_start
Lloh6:
	adrp	x8, _ATOMIC_ACQUIRE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATOMIC_ACQUIRE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x0, _dss_exhausted@GOTPAGE
Lloh10:
	ldr	x0, [x0, _dss_exhausted@GOTPAGEOFF]
	bl	_atomic_load_b
	cbz	w0, LBB0_12
LBB0_3:
	bl	_extent_dss_extending_finish
	ldp	x0, x2, [sp, #32]               ; 16-byte Folded Reload
	mov	x1, x20
	bl	_extent_dalloc
LBB0_4:
	mov	x24, #0
LBB0_5:
	mov	x0, x24
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:                                 ;   in Loop: Header=BB0_12 Depth=1
	mov	x22, x0
	bl	_PAGE_CEILING
	mov	x28, x0
	mov	x1, x26
	bl	_ALIGNMENT_CEILING
	mov	x24, x0
	subs	x23, x0, x28
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_arena_ind_get
	mov	x25, x0
Lloh11:
	adrp	x8, _SC_NSIZES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SC_NSIZES@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_arena_extent_sn_next
	mov	x6, x0
Lloh14:
	adrp	x8, _extent_state_active@GOTPAGE
Lloh15:
	ldr	x8, [x8, _extent_state_active@GOTPAGEOFF]
Lloh16:
	ldr	w7, [x8]
Lloh17:
	adrp	x8, _EXTENT_NOT_HEAD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXTENT_NOT_HEAD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x8]
	mov	w8, #1
	stp	w8, w9, [sp, #8]
	mov	x8, #4294967296
	str	x8, [sp]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x28
	mov	x3, x23
	mov	x4, #0
	mov	x5, x19
	bl	_extent_init
LBB0_8:                                 ;   in Loop: Header=BB0_12 Depth=1
	cmp	x24, x22
	b.lo	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x23, x24, x21
	cmp	x23, x22
	b.lo	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	x8, x21, x22
	add	x19, x8, x24
	mov	w0, #1
	bl	_assert
	mov	x0, x19
	bl	_extent_dss_sbrk
	cmp	x0, x22
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_12 Depth=1
	cmn	x0, #1
	b.eq	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	bl	_extent_dss_max_update
	cbnz	x0, LBB0_6
	b	LBB0_3
LBB0_13:
Lloh20:
	adrp	x8, _ATOMIC_RELEASE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ATOMIC_RELEASE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x0, _dss_max@GOTPAGE
Lloh24:
	ldr	x0, [x0, _dss_max@GOTPAGEOFF]
	mov	x1, x23
	bl	_atomic_store_p
	bl	_extent_dss_extending_finish
	cmp	x24, x28
	b.ne	LBB0_16
; %bb.14:
	ldp	x19, x2, [sp, #32]              ; 16-byte Folded Reload
	mov	x0, x19
	mov	x1, x20
	bl	_extent_dalloc
	b	LBB0_17
LBB0_15:
Lloh25:
	adrp	x8, _ATOMIC_RELEASE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ATOMIC_RELEASE@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x0, _dss_exhausted@GOTPAGE
Lloh29:
	ldr	x0, [x0, _dss_exhausted@GOTPAGEOFF]
	mov	w1, #1
	bl	_atomic_store_b
	b	LBB0_3
LBB0_16:
	ldp	x19, x2, [sp, #32]              ; 16-byte Folded Reload
	mov	x0, x19
	mov	x1, x20
	bl	_extent_dalloc_gap
LBB0_17:
	ldp	x23, x22, [sp, #16]             ; 16-byte Folded Reload
	ldr	w0, [x23]
	cbnz	w0, LBB0_19
; %bb.18:
	mov	x0, x24
	mov	x1, x21
	bl	_pages_decommit
	str	w0, [x23]
LBB0_19:
	ldr	w8, [x22]
	cbz	w8, LBB0_5
; %bb.20:
	cbz	w0, LBB0_5
; %bb.21:
Lloh30:
	adrp	x8, _EXTENT_HOOKS_INITIALIZER@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EXTENT_HOOKS_INITIALIZER@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	mov	x0, x20
	bl	_arena_ind_get
	mov	x1, x0
Lloh33:
	adrp	x8, _SC_NSIZES@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SC_NSIZES@GOTPAGEOFF]
Lloh35:
	ldr	w6, [x8]
Lloh36:
	adrp	x8, _extent_state_active@GOTPAGE
Lloh37:
	ldr	x8, [x8, _extent_state_active@GOTPAGEOFF]
Lloh38:
	ldr	w7, [x8]
Lloh39:
	adrp	x8, _EXTENT_NOT_HEAD@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EXTENT_NOT_HEAD@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [sp, #8]
	mov	x8, #4294967296
	str	x8, [sp]
	add	x0, sp, #52
	mov	x2, x24
	mov	x3, x21
	mov	x4, x21
	mov	w5, #0
	bl	_extent_init
	add	x2, sp, #56
	add	x3, sp, #52
	mov	x0, x19
	mov	x1, x20
	mov	w4, #0
	mov	x5, x21
	bl	_extent_purge_forced_wrapper
	cbz	x0, LBB0_5
; %bb.22:
	mov	x0, x24
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_have_dss,4,2                   ; @have_dss
	.comm	_PAGE,8,3                       ; @PAGE
	.comm	_dss_exhausted,4,2              ; @dss_exhausted
	.comm	_ATOMIC_ACQUIRE,4,2             ; @ATOMIC_ACQUIRE
	.comm	_SC_NSIZES,4,2                  ; @SC_NSIZES
	.comm	_extent_state_active,4,2        ; @extent_state_active
	.comm	_EXTENT_NOT_HEAD,4,2            ; @EXTENT_NOT_HEAD
	.comm	_dss_max,4,2                    ; @dss_max
	.comm	_ATOMIC_RELEASE,4,2             ; @ATOMIC_RELEASE
	.comm	_EXTENT_HOOKS_INITIALIZER,8,3   ; @EXTENT_HOOKS_INITIALIZER
.subsections_via_symbols
