	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extent_gdump_sub
_extent_gdump_sub:                      ## @extent_gdump_sub
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_config_prof@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cassert
	movq	_opt_prof@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_extent_state_get
	movq	_extent_state_active@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_extent_size_get
	movq	%rax, %rbx
	movq	_LG_PAGE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rbx
	movq	_ATOMIC_RELAXED@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_curpages@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_atomic_load_zu
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setae	%dil
	callq	_assert
	movl	(%r15), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_fetch_sub_zu            ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_config_prof,4,2                ## @config_prof
	.comm	_opt_prof,8,3                   ## @opt_prof
	.comm	_extent_state_active,8,3        ## @extent_state_active
	.comm	_LG_PAGE,8,3                    ## @LG_PAGE
	.comm	_curpages,4,2                   ## @curpages
	.comm	_ATOMIC_RELAXED,4,2             ## @ATOMIC_RELAXED
	.no_dead_strip	_extent_gdump_sub
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extent_gdump_sub
_extent_gdump_sub:                      ; @extent_gdump_sub
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _config_prof@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_prof@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cassert
Lloh3:
	adrp	x8, _opt_prof@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opt_prof@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_extent_state_get
Lloh6:
	adrp	x8, _extent_state_active@GOTPAGE
Lloh7:
	ldr	x8, [x8, _extent_state_active@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_extent_size_get
Lloh9:
	adrp	x8, _LG_PAGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LG_PAGE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	lsr	x19, x0, x8
Lloh12:
	adrp	x21, _ATOMIC_RELAXED@GOTPAGE
Lloh13:
	ldr	x21, [x21, _ATOMIC_RELAXED@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh14:
	adrp	x20, _curpages@GOTPAGE
Lloh15:
	ldr	x20, [x20, _curpages@GOTPAGEOFF]
	mov	x0, x20
	bl	_atomic_load_zu
	cmp	x0, x19
	cset	w0, hs
	bl	_assert
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_atomic_fetch_sub_zu
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_config_prof,4,2                ; @config_prof
	.comm	_opt_prof,8,3                   ; @opt_prof
	.comm	_extent_state_active,8,3        ; @extent_state_active
	.comm	_LG_PAGE,8,3                    ; @LG_PAGE
	.comm	_curpages,4,2                   ; @curpages
	.comm	_ATOMIC_RELAXED,4,2             ; @ATOMIC_RELAXED
	.no_dead_strip	_extent_gdump_sub
.subsections_via_symbols
