	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	24(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	callq	_iealloc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_extent_usize_get
	testq	%r15, %r15
	setne	%cl
	movq	_SC_LARGE_MAXCLASS@GOTPCREL(%rip), %rdx
	cmpq	%r15, (%rdx)
	movq	%rax, %r13
	setae	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_SC_LARGE_MINCLASS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r13
	setae	%cl
	cmpq	%r15, %rax
	setbe	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	%r14, %rdi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_large_ralloc_no_move
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, %r8d
	callq	_large_ralloc_move_helper
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movq	%r14, %rbx
	movq	%r13, %r14
	cmpq	$0, 8(%r13)
	jne	LBB0_8
## %bb.9:
	movq	_hook_alloc_rallocx@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 8(%r14)
	jne	LBB0_2
## %bb.3:
	movq	_hook_expand_rallocx@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_8:
	movq	_hook_alloc_realloc@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edi
	movl	(%r14), %ecx
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_hook_invoke_alloc
	cmpq	$0, 8(%r14)
	jne	LBB0_11
## %bb.12:
	movq	_hook_dalloc_rallocx@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_2:
	movq	_hook_expand_realloc@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	movl	(%r14), %r9d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	%rsi, %r8
	callq	_hook_invoke_expand
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_extent_addr_get                ## TAILCALL
LBB0_11:
	movq	_hook_dalloc_realloc@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_hook_invoke_dalloc
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r15, %r13
	cmovbq	%r13, %r15
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_extent_addr_get
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	%r14, %rdi
	callq	_extent_addr_get
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_isdalloct
LBB0_14:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SC_LARGE_MAXCLASS,8,3          ## @SC_LARGE_MAXCLASS
	.comm	_SC_LARGE_MINCLASS,8,3          ## @SC_LARGE_MINCLASS
	.comm	_hook_expand_realloc,4,2        ## @hook_expand_realloc
	.comm	_hook_expand_rallocx,4,2        ## @hook_expand_rallocx
	.comm	_hook_alloc_realloc,4,2         ## @hook_alloc_realloc
	.comm	_hook_alloc_rallocx,4,2         ## @hook_alloc_rallocx
	.comm	_hook_dalloc_realloc,4,2        ## @hook_dalloc_realloc
	.comm	_hook_dalloc_rallocx,4,2        ## @hook_dalloc_rallocx
.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	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x25, x7
	mov	x19, x6
	mov	x26, x5
	mov	x27, x4
	mov	x23, x3
	mov	x24, x2
	mov	x28, x1
	mov	x22, x0
	mov	x1, x2
	bl	_iealloc
	mov	x20, x0
	bl	_extent_usize_get
	mov	x21, x0
	cmp	x23, #0
Lloh0:
	adrp	x8, _SC_LARGE_MAXCLASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SC_LARGE_MAXCLASS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ccmp	x8, x23, #0, ne
	cset	w0, hs
	bl	_assert
Lloh3:
	adrp	x8, _SC_LARGE_MINCLASS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_LARGE_MINCLASS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x21, x8
	ccmp	x8, x23, #2, hs
	cset	w0, ls
	bl	_assert
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x3, x23
	mov	x4, x26
	bl	_large_ralloc_no_move
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x22
	mov	x1, x28
	mov	x2, x23
	mov	x3, x27
	mov	x4, x26
	bl	_large_ralloc_move_helper
	mov	x26, x0
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x25, #8]
Lloh6:
	adrp	x9, _hook_alloc_realloc@GOTPAGE
Lloh7:
	ldr	x9, [x9, _hook_alloc_realloc@GOTPAGEOFF]
Lloh8:
	adrp	x10, _hook_alloc_rallocx@GOTPAGE
Lloh9:
	ldr	x10, [x10, _hook_alloc_rallocx@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldr	w3, [x25]
	mov	x1, x26
	mov	x2, x26
	bl	_hook_invoke_alloc
	ldr	x8, [x25, #8]
Lloh10:
	adrp	x9, _hook_dalloc_realloc@GOTPAGE
Lloh11:
	ldr	x9, [x9, _hook_dalloc_realloc@GOTPAGEOFF]
Lloh12:
	adrp	x10, _hook_dalloc_rallocx@GOTPAGE
Lloh13:
	ldr	x10, [x10, _hook_dalloc_rallocx@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldr	w2, [x25]
	mov	x1, x24
	bl	_hook_invoke_dalloc
	cmp	x21, x23
	csel	x23, x21, x23, lo
	mov	x0, x20
	bl	_extent_addr_get
	mov	x1, x0
	mov	x0, x26
	mov	x2, x23
	bl	_memcpy
	mov	x0, x20
	bl	_extent_addr_get
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	mov	x3, x19
	mov	x4, #0
	mov	w5, #1
	bl	_isdalloct
LBB0_3:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x25, #8]
Lloh14:
	adrp	x9, _hook_expand_realloc@GOTPAGE
Lloh15:
	ldr	x9, [x9, _hook_expand_realloc@GOTPAGEOFF]
Lloh16:
	adrp	x10, _hook_expand_rallocx@GOTPAGE
Lloh17:
	ldr	x10, [x10, _hook_expand_rallocx@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldr	w5, [x25]
	mov	x1, x24
	mov	x2, x21
	mov	x3, x23
	mov	x4, x24
	bl	_hook_invoke_expand
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_extent_addr_get
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SC_LARGE_MAXCLASS,8,3          ; @SC_LARGE_MAXCLASS
	.comm	_SC_LARGE_MINCLASS,8,3          ; @SC_LARGE_MINCLASS
	.comm	_hook_expand_realloc,4,2        ; @hook_expand_realloc
	.comm	_hook_expand_rallocx,4,2        ; @hook_expand_rallocx
	.comm	_hook_alloc_realloc,4,2         ; @hook_alloc_realloc
	.comm	_hook_alloc_rallocx,4,2         ; @hook_alloc_rallocx
	.comm	_hook_dalloc_realloc,4,2        ; @hook_dalloc_realloc
	.comm	_hook_dalloc_rallocx,4,2        ; @hook_dalloc_rallocx
.subsections_via_symbols
