	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heap_sift_up
_heap_sift_up:                          ## @heap_sift_up
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_HN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %r12d
	movl	%r12d, (%rax)
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_H@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shrl	%ebx
	leaq	(%rax,%rbx,4), %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_heap_cmp
	testq	%rax, %rax
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	%r12d, %edx
	movl	%ecx, (%rax,%rdx,4)
	cmpl	$3, %r12d
	movl	%ebx, %r12d
	ja	LBB0_2
	jmp	LBB0_6
LBB0_5:
	movl	%r12d, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HN,4,2                         ## @HN
	.comm	_H,8,3                          ## @H
	.no_dead_strip	_heap_sift_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heap_sift_up
_heap_sift_up:                          ; @heap_sift_up
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _HN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HN@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w22, w9, #1
	str	w22, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh2:
	adrp	x23, _H@GOTPAGE
Lloh3:
	ldr	x23, [x23, _H@GOTPAGEOFF]
	ldr	x8, [x23]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w21, w22, #1
	add	x0, x8, w21, uxtw #2
	mov	x1, x20
	mov	x2, x19
	bl	_heap_cmp
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	ldr	w9, [x8, x21, lsl #2]
	str	w9, [x8, w22, uxtw #2]
	cmp	w22, #3
	mov	x22, x21
	b.hi	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x21, x22
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HN,4,2                         ; @HN
	.comm	_H,8,3                          ; @H
	.no_dead_strip	_heap_sift_up
.subsections_via_symbols
