	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqDelete                       ## -- Begin function pqDelete
	.p2align	4, 0x90
_pqDelete:                              ## @pqDelete
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	24(%rdi), %r15
	movq	32(%rdi), %r13
	xorl	%edi, %edi
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	cmpl	%ebx, (%r14)
	jl	LBB0_3
## %bb.2:
	movl	%ebx, %eax
	shlq	$4, %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%r15,%rax)
	setne	%dil
LBB0_3:
	callq	_assert
	movslq	%ebx, %rdx
	movq	%rdx, %r12
	shlq	$4, %r12
	leaq	(%r15,%r12), %rsi
	movq	(%r15,%r12), %rbx
	movq	8(%r14), %rcx
	movq	(%r13,%rcx,8), %rax
	movq	%rax, (%r13,%rbx,8)
	shlq	$4, %rax
	movq	%rbx, (%r15,%rax)
	decq	%rcx
	movq	%rcx, 8(%r14)
	cmpq	%rcx, %rbx
	ja	LBB0_9
## %bb.4:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpq	$2, %rbx
	jl	LBB0_6
## %bb.5:
	movq	%rbx, %rcx
	andq	$-2, %rcx
	movq	(%r13,%rcx,4), %rcx
	shlq	$4, %rcx
	movq	8(%r15,%rcx), %rdi
	movq	8(%r15,%rax), %rsi
	callq	_LEQ
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FloatDown
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_FloatUp
LBB0_8:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_9:
	movq	$0, 8(%r15,%r12)
	movq	16(%r14), %rax
	movq	%rax, (%rsi)
	movq	%rdx, 16(%r14)
	addq	$24, %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	_pqDelete                       ; -- Begin function pqDelete
	.p2align	2
_pqDelete:                              ; @pqDelete
	.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
	mov	x20, x1
	mov	x19, x0
	ldp	x21, x22, [x0, #24]
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, w20
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	add	x8, x21, w20, uxtw #4
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_4:
	bl	_assert
	sxtw	x23, w20
	add	x24, x21, w20, sxtw #4
	ldr	x20, [x24]
	ldr	x9, [x19, #8]
	ldr	x8, [x22, x9, lsl #3]
	str	x8, [x22, x20, lsl #3]
	lsl	x10, x8, #4
	str	x20, [x21, x10]
	sub	x9, x9, #1
	str	x9, [x19, #8]
	cmp	x20, x9
	b.hi	LBB0_9
; %bb.5:
	cmp	x20, #2
	b.lt	LBB0_7
; %bb.6:
	lsl	x9, x20, #2
	and	x9, x9, #0xfffffffffffffff8
	ldr	x9, [x22, x9]
	add	x9, x21, x9, lsl #4
	ldr	x0, [x9, #8]
	add	x8, x21, x8, lsl #4
	ldr	x1, [x8, #8]
	bl	_LEQ
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_FloatDown
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_FloatUp
LBB0_9:
	add	x8, x21, x23, lsl #4
	str	xzr, [x8, #8]
	ldr	x8, [x19, #16]
	str	x8, [x24]
	str	x23, [x19, #16]
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
