	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_large_ralloc                   ## -- Begin function large_ralloc
	.p2align	4, 0x90
_large_ralloc:                          ## @large_ralloc
	.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
	movl	%r9d, %r14d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	16(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_extent_usize_get
	testq	%rbx, %rbx
	setne	%cl
	movq	_LARGE_MAXCLASS@GOTPCREL(%rip), %rdx
	cmpq	%rbx, (%rdx)
	movq	%rax, %r12
	setae	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_LARGE_MINCLASS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r12
	setae	%cl
	cmpq	%rbx, %rax
	setbe	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	movl	%r14d, %r8d
	callq	_large_ralloc_no_move
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, %r8d
	callq	_large_ralloc_move_helper
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	cmpq	%rbx, %r12
	cmovbq	%r12, %rbx
	movq	%r13, %rdi
	callq	_extent_addr_get
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	%r13, %rdi
	callq	_extent_addr_get
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_isdalloct
	jmp	LBB0_4
LBB0_5:
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_extent_addr_get                ## TAILCALL
LBB0_2:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LARGE_MAXCLASS,8,3             ## @LARGE_MAXCLASS
	.comm	_LARGE_MINCLASS,8,3             ## @LARGE_MINCLASS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_large_ralloc                   ; -- Begin function large_ralloc
	.p2align	2
_large_ralloc:                          ; @large_ralloc
	.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	x19, x6
	mov	x24, x5
	mov	x25, x4
	mov	x23, x3
	mov	x22, x2
	mov	x26, x1
	mov	x20, x0
	mov	x0, x2
	bl	_extent_usize_get
	mov	x21, x0
	cmp	x23, #0
Lloh0:
	adrp	x8, _LARGE_MAXCLASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LARGE_MAXCLASS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ccmp	x8, x23, #0, ne
	cset	w0, hs
	bl	_assert
Lloh3:
	adrp	x8, _LARGE_MINCLASS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LARGE_MINCLASS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x21, x8
	ccmp	x8, x23, #2, hs
	cset	w0, ls
	bl	_assert
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x23
	mov	x4, x24
	bl	_large_ralloc_no_move
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x20
	mov	x1, x26
	mov	x2, x23
	mov	x3, x25
	mov	x4, x24
	bl	_large_ralloc_move_helper
	mov	x24, x0
	cbz	x0, LBB0_3
; %bb.2:
	cmp	x21, x23
	csel	x23, x21, x23, lo
	mov	x0, x22
	bl	_extent_addr_get
	mov	x1, x0
	mov	x0, x24
	mov	x2, x23
	bl	_memcpy
	mov	x0, x22
	bl	_extent_addr_get
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	mov	x4, #0
	mov	w5, #1
	bl	_isdalloct
LBB0_3:
	mov	x0, x24
	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
LBB0_4:
	mov	x0, x22
	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
	b	_extent_addr_get
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LARGE_MAXCLASS,8,3             ; @LARGE_MAXCLASS
	.comm	_LARGE_MINCLASS,8,3             ; @LARGE_MINCLASS
.subsections_via_symbols
