	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqHeapDelete                   ## -- Begin function pqHeapDelete
	.p2align	4, 0x90
_pqHeapDelete:                          ## @pqHeapDelete
	.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
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	24(%rdi), %r12
	movq	32(%rdi), %r15
	xorl	%edi, %edi
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	cmpl	%r14d, (%r13)
	jl	LBB0_3
## %bb.2:
	movl	%r14d, %eax
	shlq	$4, %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%r12,%rax)
	setne	%dil
LBB0_3:
	callq	_assert
	movslq	%r14d, %rbx
	shlq	$4, %rbx
	leaq	(%r12,%rbx), %rsi
	movslq	(%r12,%rbx), %rcx
	movq	8(%r13), %rdx
	movq	(%r15,%rdx,8), %rax
	movq	%rax, (%r15,%rcx,8)
	shlq	$4, %rax
	movl	%ecx, (%r12,%rax)
	decq	%rdx
	movq	%rdx, 8(%r13)
	cmpq	%rcx, %rdx
	jb	LBB0_9
## %bb.4:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, %esi
	cmpl	$2, %esi
	jl	LBB0_6
## %bb.5:
	movl	%esi, %ecx
	andl	$-2, %ecx
	movq	(%r15,%rcx,4), %rcx
	shlq	$4, %rcx
	movq	8(%r12,%rcx), %rdi
	movq	%rsi, %r15
	movq	8(%r12,%rax), %rsi
	callq	_LEQ
	movq	%r15, %rsi
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FloatDown
	jmp	LBB0_8
LBB0_7:
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FloatUp
LBB0_8:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_9:
	movq	$0, 8(%r12,%rbx)
	movl	16(%r13), %eax
	movl	%eax, (%rsi)
	movl	%r14d, 16(%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqHeapDelete                   ; -- Begin function pqHeapDelete
	.p2align	2
_pqHeapDelete:                          ; @pqHeapDelete
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	x22, x23, [x0, #24]
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, w19
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	add	x8, x22, w19, uxtw #4
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_4:
	bl	_assert
	sxtw	x25, w19
	add	x24, x22, w19, sxtw #4
	ldrsw	x9, [x24]
	ldr	x10, [x20, #8]
	ldr	x8, [x23, x10, lsl #3]
	str	x8, [x23, x9, lsl #3]
	lsl	x11, x8, #4
	str	w9, [x22, x11]
	sub	x10, x10, #1
	str	x10, [x20, #8]
	cmp	x10, x9
	b.lo	LBB0_9
; %bb.5:
	and	x21, x9, #0xffffffff
	cmp	w21, #2
	b.lt	LBB0_7
; %bb.6:
	lsl	x9, x21, #2
	and	x9, x9, #0x3fffffff8
	ldr	x9, [x23, x9]
	add	x9, x22, x9, lsl #4
	ldr	x0, [x9, #8]
	add	x8, x22, x8, lsl #4
	ldr	x1, [x8, #8]
	bl	_LEQ
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	bl	_FloatDown
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	mov	x1, x21
	bl	_FloatUp
LBB0_9:
	add	x8, x22, x25, lsl #4
	str	xzr, [x8, #8]
	ldr	w8, [x20, #16]
	str	w8, [x24]
	str	w19, [x20, #16]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
