	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_span
_init_span:                             ## @init_span
	.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	%r9, %r14
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_dsa_get_address
	movq	%rax, %rbx
	movq	_dsa_size_classes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_DSA_SCLASS_LOCK
	movl	%eax, %edi
	callq	_LWLockHeldByMe
	movl	%eax, %edi
	callq	_Assert
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	callq	_DsaPointerIsValid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	8(%rax), %rsi
	movq	%r12, %rdi
	callq	_dsa_get_address
	movq	%r13, 64(%rax)
LBB0_2:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_DsaAreaPoolToDsaPointer
	movl	%eax, 72(%rbx)
	movq	(%r15), %rax
	movq	8(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	_InvalidDsaPointer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rbx)
	movq	%r13, 8(%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 56(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	%r14, 16(%rbx)
	movl	$0, 24(%rbx)
	movq	_DSA_SCLASS_BLOCK_OF_SPANS@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_7
## %bb.3:
	movl	$1, 24(%rbx)
	movq	_FPM_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rsi
	decq	%rax
	jmp	LBB0_12
LBB0_7:
	movq	_DSA_SCLASS_SPAN_LARGE@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	32(%rbx), %rax
	jmp	LBB0_13
LBB0_9:
	movq	_DSA_SUPERBLOCK_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_10
## %bb.11:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_12
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	decq	%rax
	jmp	LBB0_12
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_12:
	movq	%rax, 32(%rbx)
LBB0_13:
	movq	_DSA_SPAN_NOTHING_FREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 52(%rbx)
	movq	%rax, 40(%rbx)
	movl	$1, 48(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dsa_size_classes,8,3           ## @dsa_size_classes
	.comm	_InvalidDsaPointer,8,3          ## @InvalidDsaPointer
	.comm	_DSA_SCLASS_BLOCK_OF_SPANS,8,3  ## @DSA_SCLASS_BLOCK_OF_SPANS
	.comm	_FPM_PAGE_SIZE,8,3              ## @FPM_PAGE_SIZE
	.comm	_DSA_SCLASS_SPAN_LARGE,8,3      ## @DSA_SCLASS_SPAN_LARGE
	.comm	_DSA_SUPERBLOCK_SIZE,8,3        ## @DSA_SUPERBLOCK_SIZE
	.comm	_DSA_SPAN_NOTHING_FREE,4,2      ## @DSA_SPAN_NOTHING_FREE
	.no_dead_strip	_init_span
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_span
_init_span:                             ; @init_span
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x25, x0
	bl	_dsa_get_address
	mov	x19, x0
Lloh0:
	adrp	x8, _dsa_size_classes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dsa_size_classes@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x26, [x8, x20, lsl #3]
	mov	x0, x25
	mov	x1, x20
	bl	_DSA_SCLASS_LOCK
	bl	_LWLockHeldByMe
	bl	_Assert
	ldr	x8, [x24]
	ldr	x0, [x8, #8]
	bl	_DsaPointerIsValid
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x24]
	ldr	x1, [x8, #8]
	mov	x0, x25
	bl	_dsa_get_address
	str	x23, [x0, #64]
LBB0_2:
	mov	x0, x25
	mov	x1, x24
	bl	_DsaAreaPoolToDsaPointer
	str	w0, [x19, #72]
	ldr	x8, [x24]
	ldr	x9, [x8, #8]
Lloh3:
	adrp	x10, _InvalidDsaPointer@GOTPAGE
Lloh4:
	ldr	x10, [x10, _InvalidDsaPointer@GOTPAGEOFF]
	str	x9, [x19]
Lloh5:
	ldr	x9, [x10]
	str	x9, [x19, #64]
	str	x23, [x8, #8]
	str	x22, [x19, #56]
	stp	x21, x20, [x19, #8]
	str	wzr, [x19, #24]
Lloh6:
	adrp	x8, _DSA_SCLASS_BLOCK_OF_SPANS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DSA_SCLASS_BLOCK_OF_SPANS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #24]
Lloh9:
	adrp	x8, _FPM_PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FPM_PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	udiv	x8, x8, x26
	sub	x8, x8, #1
	b	LBB0_7
LBB0_4:
Lloh12:
	adrp	x8, _DSA_SCLASS_SPAN_LARGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DSA_SCLASS_SPAN_LARGE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x19, #32]
	b	LBB0_8
LBB0_6:
Lloh15:
	adrp	x8, _DSA_SUPERBLOCK_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DSA_SUPERBLOCK_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	udiv	x8, x8, x26
LBB0_7:
	str	x8, [x19, #32]
LBB0_8:
Lloh18:
	adrp	x9, _DSA_SPAN_NOTHING_FREE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _DSA_SPAN_NOTHING_FREE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	str	x8, [x19, #40]
	mov	w8, #1
	stp	w8, w9, [x19, #48]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_dsa_size_classes,8,3           ; @dsa_size_classes
	.comm	_InvalidDsaPointer,8,3          ; @InvalidDsaPointer
	.comm	_DSA_SCLASS_BLOCK_OF_SPANS,8,3  ; @DSA_SCLASS_BLOCK_OF_SPANS
	.comm	_FPM_PAGE_SIZE,8,3              ; @FPM_PAGE_SIZE
	.comm	_DSA_SCLASS_SPAN_LARGE,8,3      ; @DSA_SCLASS_SPAN_LARGE
	.comm	_DSA_SUPERBLOCK_SIZE,8,3        ; @DSA_SUPERBLOCK_SIZE
	.comm	_DSA_SPAN_NOTHING_FREE,4,2      ; @DSA_SPAN_NOTHING_FREE
	.no_dead_strip	_init_span
.subsections_via_symbols
