	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heapify_front
_heapify_front:                         ## @heapify_front
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_queue_size@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	leal	(%rsi,%rsi), %ecx
	cmpl	%r10d, %ecx
	jle	LBB0_2
LBB0_8:
	movl	%esi, %edx
	jmp	LBB0_9
LBB0_2:
	movq	(%rdi), %r9
	movq	_HEAP@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8), %rax
	cmpl	%r10d, %ecx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ecx, %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	(%rdx), %r11
	movl	%ecx, %edx
	orl	$1, %edx
	movslq	%edx, %rbx
	movq	(%rax,%rbx,8), %rbx
	cmpq	(%rbx), %r11
	jg	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %rcx
	cmpq	(%rcx), %r9
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%esi, %rsi
	movq	%rcx, (%rax,%rsi,8)
	leal	(%rdx,%rdx), %ecx
	movl	%edx, %esi
	cmpl	%r10d, %ecx
	jle	LBB0_3
LBB0_9:
	movq	_HEAP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	%rdi, (%rax,%rcx,8)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_queue_size,4,2                 ## @queue_size
	.comm	_HEAP,8,3                       ## @HEAP
	.no_dead_strip	_heapify_front
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heapify_front
_heapify_front:                         ; @heapify_front
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _queue_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _queue_size@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	lsl	w11, w1, #1
Lloh3:
	adrp	x8, _HEAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEAP@GOTPAGEOFF]
	cmp	w11, w9
	b.le	LBB0_2
LBB0_1:
	mov	x12, x1
	b	LBB0_8
LBB0_2:
	ldr	x10, [x0]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8]
	cmp	w11, w9
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x12, w11
	ldr	x14, [x13, w11, sxtw #3]
	ldr	x14, [x14]
	orr	x12, x12, #0x1
	ldr	x15, [x13, x12, lsl #3]
	ldr	x15, [x15]
	cmp	x14, x15
	csel	w12, w12, w11, gt
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, x11
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x13, w12, sxtw #3]
	ldr	x14, [x11]
	cmp	x10, x14
	b.le	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x11, [x13, w1, sxtw #3]
	lsl	w11, w12, #1
	mov	x1, x12
	cmp	w11, w9
	b.le	LBB0_3
LBB0_8:
	ldr	x8, [x8]
	str	x0, [x8, w12, sxtw #3]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_queue_size,4,2                 ; @queue_size
	.comm	_HEAP,8,3                       ; @HEAP
	.no_dead_strip	_heapify_front
.subsections_via_symbols
