	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_fix_up                    ## -- Begin function heap_fix_up
	.p2align	4, 0x90
_heap_fix_up:                           ## @heap_fix_up
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	cmpl	$2, %edi
	jl	LBB0_4
## %bb.1:
	movq	_heap@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8), %rdx
	movl	%edi, %ecx
	movq	(%rdx,%rcx,8), %rsi
	movq	(%rsi), %r9
	shrl	%edi
	movq	(%rdx,%rdi,8), %rax
	cmpq	(%rax), %r9
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%rdx,%rcx,8)
	movq	(%r8), %rax
	movq	%rsi, (%rax,%rdi,8)
	cmpl	$3, %ecx
	ja	LBB0_2
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_heap,8,3                       ## @heap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_fix_up                    ; -- Begin function heap_fix_up
	.p2align	2
_heap_fix_up:                           ; @heap_fix_up
	.cfi_startproc
; %bb.0:
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _heap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _heap@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	ldr	x9, [x11, w0, uxtw #3]
	ldr	x13, [x9]
	lsr	w10, w0, #1
	ldr	x12, [x11, w10, uxtw #3]
	ldr	x14, [x12]
	cmp	x13, x14
	b.le	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w13, w0
	str	x12, [x11, x13, lsl #3]
	ldr	x11, [x8]
	str	x9, [x11, x10, lsl #3]
	mov	x0, x10
	cmp	w13, #3
	b.hi	LBB0_2
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_heap,8,3                       ; @heap
.subsections_via_symbols
