	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testl	%esi, %esi
	js	LBB0_1
## %bb.8:
	movl	24(%rbx), %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pqHeapDelete                   ## TAILCALL
LBB0_1:
	notl	%r14d
	xorl	%edi, %edi
	cmpl	%r14d, (%rbx)
	jle	LBB0_3
## %bb.2:
	movq	16(%rbx), %rax
	movslq	%r14d, %rcx
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rcx,8)
	setne	%dil
LBB0_3:
	callq	_assert
	movq	16(%rbx), %rax
	movl	%r14d, %ecx
	movq	$0, (%rax,%rcx,8)
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.4:
	movq	8(%rbx), %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rdx
	movl	%edx, %esi
	movq	(%rcx,%rsi,8), %rsi
	cmpq	$0, (%rsi)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%eax
	movl	%eax, 4(%rbx)
	leaq	1(%rdx), %rsi
	movq	%rdx, %rax
	cmpq	$1, %rsi
	ja	LBB0_5
LBB0_7:
	popq	%rbx
	popq	%r14
	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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	tbnz	w1, #31, LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pqHeapDelete
LBB0_2:
	mvn	w20, w1
	ldr	w8, [x19]
	cmp	w8, w20
	b.le	LBB0_4
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, w20, sxtw #3]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_assert
	ldr	x8, [x19, #16]
	str	xzr, [x8, w20, uxtw #3]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	ldr	x9, [x19, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x10, x8, #1
	ldr	x11, [x9, w10, uxtw #3]
	ldr	x11, [x11]
	cbnz	x11, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w8, w8, #1
	str	w8, [x19, #4]
	add	x11, x10, #1
	mov	x8, x10
	cmp	x11, #1
	b.hi	LBB0_7
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
