	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqHeapInsert                   ## -- Begin function pqHeapInsert
	.p2align	4, 0x90
_pqHeapInsert:                          ## @pqHeapInsert
	.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	%edx, %r15d
	movq	%rsi, %rbx
	movslq	(%rsi), %r14
	incq	%r14
	movl	%r14d, (%rsi)
	leal	(%r14,%r14), %eax
	movl	4(%rsi), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	24(%rbx), %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %r13
	leal	(%rcx,%rcx), %edx
	movl	%edx, 4(%rbx)
	movl	(%r12), %edi
	addl	%ecx, %ecx
	incl	%ecx
	movslq	%ecx, %rcx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rdx
	movq	%r13, %rsi
	callq	*%rax
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%r12), %edi
	movq	24(%rbx), %rsi
	movslq	4(%rbx), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	24(,%rax,8), %rdx
	callq	*8(%r12)
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movq	8(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_8
## %bb.9:
	movq	24(%rbx), %rax
	leaq	(%r12,%r12,2), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, 8(%rbx)
	movslq	%r14d, %rcx
	jmp	LBB0_10
LBB0_8:
	movq	24(%rbx), %rax
	movq	%r14, %rcx
	movq	%r14, %r12
LBB0_10:
	movq	32(%rbx), %rdx
	leaq	(%rcx,%rcx,2), %rsi
	movq	%r12, 8(%rdx,%rsi,8)
	leaq	(%r12,%r12,2), %rdx
	movq	%rcx, (%rax,%rdx,8)
	movl	%r15d, 16(%rax,%rdx,8)
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_FloatUp
LBB0_12:
	movq	_INV_HANDLE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r12
	setne	%dil
	callq	_assert
	jmp	LBB0_13
LBB0_4:
	movq	%r13, 32(%rbx)
	jmp	LBB0_2
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
LBB0_2:
	movq	_INV_HANDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_13:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INV_HANDLE,8,3                 ## @INV_HANDLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqHeapInsert                   ; -- Begin function pqHeapInsert
	.p2align	2
_pqHeapInsert:                          ; @pqHeapInsert
	.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, x2
	mov	x19, x1
	ldp	w8, w9, [x1]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x21, x8, #1
	str	w21, [x1]
	cmp	w9, w21, lsl #1
	b.ge	LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_12
; %bb.2:
	ldp	x24, x23, [x19, #24]
	lsl	w10, w9, #1
	str	w10, [x19, #4]
	ldr	w0, [x22]
	mov	w10, #1
	bfi	w10, w9, #1, #31
	mov	w9, #24
	smull	x2, w10, w9
	mov	x1, x23
	blr	x8
	str	x0, [x19, #32]
	cbz	x0, LBB0_10
; %bb.3:
	ldr	x8, [x22, #8]
	ldr	w0, [x22]
	ldr	x1, [x19, #24]
	ldrsw	x9, [x19, #4]
	mov	w10, #24
	orr	x11, xzr, #0x18
	madd	x2, x9, x10, x11
	blr	x8
	str	x0, [x19, #24]
	cbz	x0, LBB0_11
LBB0_4:
	ldr	x22, [x19, #8]
	cbz	x22, LBB0_6
; %bb.5:
	ldr	x8, [x19, #24]
	mov	w9, #24
	mul	x9, x22, x9
	ldr	x9, [x8, x9]
	str	x9, [x19, #8]
	mov	x9, x21
	sxtw	x9, w9
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #24]
	mov	x9, x21
	mov	x22, x21
LBB0_7:
	ldr	x10, [x19, #32]
	mov	w11, #24
	madd	x10, x9, x11, x10
	str	x22, [x10, #8]
	madd	x8, x22, x11, x8
	str	x9, [x8]
	str	w20, [x8, #16]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	bl	_FloatUp
LBB0_9:
Lloh0:
	adrp	x8, _INV_HANDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INV_HANDLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x22, x8
	cset	w0, ne
	bl	_assert
	b	LBB0_13
LBB0_10:
	str	x23, [x19, #32]
	b	LBB0_12
LBB0_11:
	str	x24, [x19, #24]
LBB0_12:
Lloh3:
	adrp	x8, _INV_HANDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INV_HANDLE@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
LBB0_13:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INV_HANDLE,8,3                 ; @INV_HANDLE
.subsections_via_symbols
