	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btreeHeapPull
_btreeHeapPull:                         ## @btreeHeapPull
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rcx
	movq	%rcx, (%rsi)
	movq	(%rdi,%rax,8), %rcx
	movq	%rcx, 8(%rdi)
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	movq	%rcx, (%rdi,%rax,8)
	movq	(%rdi), %rcx
	decq	%rcx
	movq	%rcx, (%rdi)
	movl	$1, %eax
	cmpq	$2, %rcx
	jb	LBB0_8
## %bb.3:
	movq	8(%rdi), %r8
	movl	$1, %edx
	movl	$2, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rcx,8), %r9
	movq	%rcx, %rsi
	orq	$1, %rsi
	cmpq	(%rdi,%rsi,8), %r9
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, %rsi
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdi,%rsi,8), %rcx
	cmpq	%rcx, %r8
	jb	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rcx, (%rdi,%rdx,8)
	movq	%r8, (%rdi,%rsi,8)
	leaq	(%rsi,%rsi), %rcx
	movq	%rsi, %rdx
	cmpq	(%rdi), %rcx
	jbe	LBB0_4
LBB0_8:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_btreeHeapPull
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btreeHeapPull
_btreeHeapPull:                         ; @btreeHeapPull
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x9, [x0, #8]
	str	x9, [x1]
	lsl	x8, x8, #3
	ldr	x9, [x0, x8]
	mov	w10, #-1
	ldr	x11, [x0]
	sub	x11, x11, #1
	stp	x11, x9, [x0]
	str	x10, [x0, x8]
	cmp	x11, #2
	b.lo	LBB0_5
; %bb.2:
	ldr	x8, [x0, #8]
	mov	w9, #1
	mov	w10, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, x10, lsl #3]
	orr	x12, x10, #0x1
	ldr	x13, [x0, x12, lsl #3]
	cmp	x11, x13
	csel	x11, x12, x10, hi
	ldr	x10, [x0, x11, lsl #3]
	cmp	x8, x10
	b.lo	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x10, [x0, x9, lsl #3]
	str	x8, [x0, x11, lsl #3]
	lsl	x10, x11, #1
	ldr	x12, [x0]
	mov	x9, x11
	cmp	x10, x12
	b.ls	LBB0_3
LBB0_5:
	mov	w0, #1
	ret
LBB0_6:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_btreeHeapPull
.subsections_via_symbols
