	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extent_split_impl
_extent_split_impl:                     ## @extent_split_impl
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%r8, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	24(%rbp), %r14
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_extent_size_get
	addq	%r12, %r14
	xorl	%edi, %edi
	cmpq	%r14, %rax
	sete	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_tsdn_witness_tsdp_get
	movq	_WITNESS_RANK_CORE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%edx, %edx
	cmpl	$0, 48(%rbp)
	setne	%dl
	movl	%eax, %edi
	callq	_witness_assert_depth_to_rank
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_extent_hooks_assure_initialized
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.1:
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_extent_alloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	-168(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_extent_base_get
	addq	%r12, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_sn_get
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_state_get
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_zeroed_get
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %r12
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_extent_committed_get
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_extent_dumpable_get
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	24(%rbp), %rcx
	movl	40(%rbp), %r8d
	movl	32(%rbp), %r9d
	pushq	%rax
	pushq	%r15
	pushq	%r13
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_extent_init
	addq	$48, %rsp
	leaq	-172(%rbp), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_tsdn_rtree_ctx
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_extent_addr_get
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_sn_get
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_state_get
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_zeroed_get
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_extent_committed_get
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_extent_dumpable_get
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	-100(%rbp), %rdi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	16(%rbp), %r8d
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r13
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	pushq	%r15
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_extent_init
	addq	$40, %rsp
	leaq	-128(%rbp), %rax
	leaq	-136(%rbp), %r9
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	-100(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	pushq	%rax
	callq	_extent_rtree_leaf_elms_lookup
	addq	$8, %rsp
	leaq	-112(%rbp), %rax
	leaq	-120(%rbp), %r9
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	pushq	%rax
	callq	_extent_rtree_leaf_elms_lookup
	addq	$16, %rsp
	cmpq	$0, -136(%rbp)
	je	LBB0_13
## %bb.3:
	cmpq	$0, -128(%rbp)
	je	LBB0_13
## %bb.4:
	cmpq	$0, -120(%rbp)
	je	LBB0_13
## %bb.5:
	cmpq	$0, -112(%rbp)
	je	LBB0_13
## %bb.6:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_extent_lock2
	movq	_extent_hooks_default@GOTPCREL(%rip), %r15
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	cmpq	%r15, (%rbx)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_extent_hook_pre_reentrancy
	movq	(%rbx), %r15
LBB0_8:
	movq	(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_base_get
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_extent_committed_get
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_arena_ind_get
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rbp), %r8
	movl	%r13d, %r9d
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	pushq	%rax
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	addq	$16, %rsp
	movl	%eax, %r15d
	movq	(%rbx), %rax
	cmpq	_extent_hooks_default@GOTPCREL(%rip), %rax
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_extent_hook_post_reentrancy
LBB0_10:
	testl	%r15d, %r15d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_11
## %bb.12:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_extent_unlock2
LBB0_13:
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_extent_dalloc
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	movq	%r12, %rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_extent_size_set
	movq	%r14, %rdi
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_extent_szind_set
	movq	-136(%rbp), %rsi
	movq	-128(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rcx
	movl	%r15d, %r8d
	movl	16(%rbp), %r9d
	callq	_extent_rtree_write_acquired
	movq	-120(%rbp), %rsi
	movq	-112(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rcx
	movl	32(%rbp), %r8d
	movl	40(%rbp), %r9d
	callq	_extent_rtree_write_acquired
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_extent_unlock2
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ## @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,8,3       ## @extent_hooks_default
	.no_dead_strip	_extent_split_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extent_split_impl
_extent_split_impl:                     ; @extent_split_impl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x28, x7
	mov	x22, x6
	mov	x25, x5
	mov	x27, x4
	mov	x20, x3
	mov	x26, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w21, [x29, #24]
	mov	x0, x3
	bl	_extent_size_get
	add	x23, x28, x27
	cmp	x0, x23
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_tsdn_witness_tsdp_get
Lloh0:
	adrp	x8, _WITNESS_RANK_CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WITNESS_RANK_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	cmp	w21, #0
	cset	w2, ne
	bl	_witness_assert_depth_to_rank
	mov	x0, x24
	mov	x1, x26
	bl	_extent_hooks_assure_initialized
	ldr	x8, [x26]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.1:
	str	x23, [sp, #56]                  ; 8-byte Folded Spill
	mov	x0, x19
	mov	x1, x24
	bl	_extent_alloc
	mov	x23, x0
	cbz	x0, LBB0_15
; %bb.2:
	str	x26, [sp, #32]                  ; 8-byte Folded Spill
	mov	x26, x24
	ldp	w24, w21, [x29, #16]
	mov	x0, x20
	bl	_extent_base_get
	add	x8, x0, x27
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	mov	x0, x20
	bl	_extent_sn_get
	str	w22, [sp, #68]                  ; 4-byte Folded Spill
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	mov	x0, x20
	bl	_extent_state_get
	str	w25, [sp, #64]                  ; 4-byte Folded Spill
	mov	x22, x0
	mov	x0, x20
	bl	_extent_zeroed_get
	str	x27, [sp, #72]                  ; 8-byte Folded Spill
	mov	x27, x0
	mov	x0, x20
	bl	_extent_committed_get
	mov	x25, x0
	mov	x0, x20
	bl	_extent_dumpable_get
	stp	w25, w0, [sp, #4]
	str	w27, [sp]
	mov	x0, x23
	mov	x1, x26
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	str	x28, [sp, #48]                  ; 8-byte Folded Spill
	mov	x3, x28
	stp	w24, w21, [sp, #24]             ; 8-byte Folded Spill
	mov	x4, x21
	mov	x5, x24
	mov	x24, x26
	ldr	w6, [sp, #44]                   ; 4-byte Folded Reload
	mov	x7, x22
	bl	_extent_init
	sub	x1, x29, #84
	mov	x0, x19
	bl	_tsdn_rtree_ctx
	mov	x26, x0
	mov	x0, x20
	bl	_extent_addr_get
	mov	x22, x0
	mov	x0, x20
	bl	_extent_sn_get
	mov	x25, x0
	mov	x0, x20
	bl	_extent_state_get
	mov	x27, x0
	mov	x0, x20
	bl	_extent_zeroed_get
	mov	x28, x0
	mov	x0, x20
	bl	_extent_committed_get
	mov	x21, x0
	mov	x0, x20
	bl	_extent_dumpable_get
	stp	w21, w0, [sp, #4]
	add	x0, sp, #100
	str	w28, [sp]
	mov	x1, x24
	mov	x2, x22
	ldr	x3, [sp, #72]                   ; 8-byte Folded Reload
	ldp	w5, w4, [sp, #64]               ; 8-byte Folded Reload
	mov	x6, x25
	mov	x7, x27
	bl	_extent_init
	add	x2, sp, #100
	sub	x5, x29, #96
	add	x6, sp, #104
	mov	x0, x19
	mov	x1, x26
	mov	w3, #0
	mov	w4, #1
	bl	_extent_rtree_leaf_elms_lookup
	add	x5, sp, #88
	add	x6, sp, #80
	mov	x0, x19
	mov	x1, x26
	mov	x2, x23
	mov	w3, #0
	mov	w4, #1
	bl	_extent_rtree_leaf_elms_lookup
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_13
; %bb.3:
	ldr	x8, [sp, #104]
	cbz	x8, LBB0_13
; %bb.4:
	ldr	x8, [sp, #88]
	cbz	x8, LBB0_13
; %bb.5:
	ldr	x8, [sp, #80]
	cbz	x8, LBB0_13
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_extent_lock2
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x8, [x26]
Lloh3:
	adrp	x27, _extent_hooks_default@GOTPAGE
Lloh4:
	ldr	x27, [x27, _extent_hooks_default@GOTPAGEOFF]
	cmp	x8, x27
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x24
	bl	_extent_hook_pre_reentrancy
	ldr	x21, [x26]
	b	LBB0_9
LBB0_8:
	mov	x21, x27
LBB0_9:
	ldr	x28, [x21]
	mov	x0, x20
	bl	_extent_base_get
	mov	x22, x0
	mov	x0, x20
	bl	_extent_committed_get
	mov	x25, x0
	mov	x0, x24
	bl	_arena_ind_get
	mov	x6, x0
	mov	x0, x21
	mov	x1, x22
	ldp	x4, x2, [sp, #48]               ; 16-byte Folded Reload
	ldr	x3, [sp, #72]                   ; 8-byte Folded Reload
	mov	x5, x25
	blr	x28
	mov	x21, x0
	ldr	x8, [x26]
	cmp	x8, x27
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_extent_hook_post_reentrancy
LBB0_11:
	ldp	w25, w22, [sp, #64]             ; 8-byte Folded Reload
	cbz	w21, LBB0_16
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_extent_unlock2
LBB0_13:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_extent_dalloc
LBB0_14:
	mov	x23, #0
LBB0_15:
	mov	x0, x23
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_16:
	mov	x0, x20
	ldr	x1, [sp, #72]                   ; 8-byte Folded Reload
	bl	_extent_size_set
	mov	x0, x20
	mov	x1, x25
	bl	_extent_szind_set
	ldur	x1, [x29, #-96]
	ldr	x2, [sp, #104]
	mov	x0, x19
	mov	x3, x20
	mov	x4, x25
	mov	x5, x22
	bl	_extent_rtree_write_acquired
	ldp	x2, x1, [sp, #80]
	mov	x0, x19
	mov	x3, x23
	ldp	w4, w5, [sp, #24]               ; 8-byte Folded Reload
	bl	_extent_rtree_write_acquired
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_extent_unlock2
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WITNESS_RANK_CORE,4,2          ; @WITNESS_RANK_CORE
	.comm	_extent_hooks_default,8,3       ; @extent_hooks_default
	.no_dead_strip	_extent_split_impl
.subsections_via_symbols
