	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqExtractMin                   ## -- Begin function pqExtractMin
	.p2align	4, 0x90
_pqExtractMin:                          ## @pqExtractMin
	.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
	movq	%rdi, %rbx
	movslq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	8(%rbx), %rcx
	movq	-8(%rcx,%rax,8), %rax
	movq	(%rax), %r14
	movl	16(%rbx), %edi
	callq	_pqHeapIsEmpty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	16(%rbx), %edi
	callq	_pqHeapMinimum
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_LEQ
	testq	%rax, %rax
	je	LBB0_3
LBB0_8:
	movl	16(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pqHeapExtractMin               ## TAILCALL
LBB0_3:
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	movl	$1, %eax
	cmovlel	%ecx, %eax
	decl	%eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %ecx
	jl	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-1(%rcx), %rdx
	movq	8(%rbx), %rsi
	addl	$-2, %ecx
	movq	(%rsi,%rcx,8), %rcx
	cmpq	$0, (%rcx)
	movq	%rdx, %rcx
	je	LBB0_4
## %bb.6:
	movl	%edx, %eax
LBB0_7:
	movl	%eax, (%rbx)
	movq	%r14, %rax
	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	_pqExtractMin                   ; -- Begin function pqExtractMin
	.p2align	2
_pqExtractMin:                          ; @pqExtractMin
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	sub	w8, w8, #1
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x20, [x8]
	ldr	w0, [x19, #16]
	bl	_pqHeapIsEmpty
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #16]
	bl	_pqHeapMinimum
	mov	x1, x20
	bl	_LEQ
	cbz	x0, LBB0_4
LBB0_3:
	ldr	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pqHeapExtractMin
LBB0_4:
	ldr	w9, [x19]
	cmp	w9, #1
	csinc	w8, w9, wzr, lt
	sub	w8, w8, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #2
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x10, x9, #1
	ldr	x11, [x19, #8]
	sub	w9, w9, #2
	ldr	x9, [x11, w9, uxtw #3]
	ldr	x11, [x9]
	mov	x9, x10
	cbz	x11, LBB0_5
; %bb.7:
	mov	x8, x10
LBB0_8:
	str	w8, [x19]
	mov	x0, x20
	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
