	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prio_queue_put                 ## -- Begin function prio_queue_put
	.p2align	4, 0x90
_prio_queue_put:                        ## @prio_queue_put
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	movl	(%r14), %esi
	incl	%esi
	movl	20(%r14), %edx
	callq	_ALLOC_GROW
	movslq	16(%r14), %rax
	leal	1(%rax), %ecx
	movl	%ecx, 16(%r14)
	movq	8(%r14), %rcx
	movslq	(%r14), %r15
	movq	%r15, %rdx
	shlq	$4, %rdx
	movq	%rax, 8(%rcx,%rdx)
	movq	%rbx, (%rcx,%rdx)
	leal	1(%r15), %eax
	movl	%eax, (%r14)
	cmpl	$0, 4(%r14)
	je	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%r15), %eax
	shrl	$31, %eax
	leal	(%r15,%rax), %ebx
	decl	%ebx
	sarl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_compare
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_swap
	cmpl	$2, %r15d
	movl	%ebx, %r15d
	ja	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	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	_prio_queue_put                 ; -- Begin function prio_queue_put
	.p2align	2
_prio_queue_put:                        ; @prio_queue_put
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	w8, [x19]
	add	w1, w8, #1
	ldr	w2, [x19, #20]
	bl	_ALLOC_GROW
	ldrsw	x8, [x19, #16]
	add	w9, w8, #1
	str	w9, [x19, #16]
	ldr	x9, [x19, #8]
	ldp	w20, w10, [x19]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	add	x9, x9, x20, lsl #4
	stp	x21, x8, [x9]
	add	w8, w20, #1
	str	w8, [x19]
	cbz	w10, LBB0_4
; %bb.1:
	cbz	w20, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w20, #1
	cmp	w8, #0
	csel	w8, w20, w8, lt
	asr	w21, w8, #1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_compare
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_swap
	cmp	w20, #2
	mov	x20, x21
	b.hi	LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
