	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_heap_entry
_update_heap_entry:                     ## @update_heap_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %r11
	movq	(%rdi), %r10
	movq	8(%rdi), %r9
	movl	%esi, %r8d
	cmpq	$0, (%r9,%r8,8)
	je	LBB0_5
## %bb.1:
	movl	(%r10,%r8,4), %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
	jmp	LBB0_2
LBB0_5:
	movl	16(%rdi), %ecx
	leal	1(%rcx), %esi
	movl	%esi, 16(%rdi)
	movq	_TRUE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, (%r9,%r8,8)
	cmpl	$2, %ecx
	jb	LBB0_7
LBB0_2:
	movl	%ecx, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	shrl	%esi
	movq	%rsi, %rdi
	shlq	$4, %rdi
	cmpq	%rdx, (%r11,%rdi)
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r11,%rdi), %r9
	movl	%ecx, %eax
	shlq	$4, %rax
	movups	(%r9), %xmm0
	movups	%xmm0, (%r11,%rax)
	movq	8(%r11,%rdi), %rax
	movl	%ecx, (%r10,%rax,4)
	cmpl	$3, %ecx
	movl	%esi, %ecx
	ja	LBB0_3
	jmp	LBB0_8
LBB0_7:
	movl	%ecx, %esi
LBB0_8:
	movl	%esi, %eax
	shlq	$4, %rax
	movq	%rdx, (%r11,%rax)
	movq	%r8, 8(%r11,%rax)
	movl	%esi, (%r10,%r8,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_update_heap_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_heap_entry
_update_heap_entry:                     ; @update_heap_entry
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #24]
	ldp	x8, x12, [x0]
	mov	w10, w1
	ldr	x11, [x12, w1, uxtw #3]
	cbz	x11, LBB0_2
; %bb.1:
	ldr	w11, [x8, x10, lsl #2]
	cmp	w11, #2
	b.lo	LBB0_5
	b	LBB0_3
LBB0_2:
	ldr	w11, [x0, #16]
	add	w13, w11, #1
	str	w13, [x0, #16]
Lloh0:
	adrp	x13, _TRUE@GOTPAGE
Lloh1:
	ldr	x13, [x13, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x13, [x13]
	str	x13, [x12, x10, lsl #3]
	cmp	w11, #2
	b.lo	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w12, w11, #1
	add	x13, x9, w12, uxtw #4
	ldr	x14, [x13]
	cmp	x14, x2
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	q0, [x13]
	str	q0, [x9, w11, uxtw #4]
	add	x13, x9, x12, lsl #4
	ldr	x13, [x13, #8]
	str	w11, [x8, x13, lsl #2]
	cmp	w11, #3
	mov	x11, x12
	b.hi	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	x12, x11
LBB0_6:
	add	x9, x9, w12, uxtw #4
	stp	x2, x10, [x9]
	str	w12, [x8, x10, lsl #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_update_heap_entry
.subsections_via_symbols
