	.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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	leal	(%rsi,%rsi), %eax
	movq	_R_cnt@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_2
LBB0_8:
	movl	%esi, %r12d
	jmp	LBB0_9
LBB0_2:
	movq	_RR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r14
	movq	_R@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r9
	movq	_hm@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r10
	movq	_RS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r11
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, %eax
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rcx
	movq	(%r14,%rcx,8), %r15
	movl	%eax, %r12d
	orl	$1, %r12d
	movslq	%r12d, %rcx
	cmpq	(%r14,%rcx,8), %r15
	jl	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r12d, %rax
	movq	(%r14,%rax,8), %rcx
	cmpq	%rcx, (%rdi)
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r9,%rax,4), %ebx
	movslq	%esi, %rsi
	movl	%ebx, (%r9,%rsi,4)
	movq	%rcx, (%r14,%rsi,8)
	movq	(%r11,%rax,8), %rcx
	movq	%rcx, (%r11,%rsi,8)
	movl	%esi, (%r10,%rcx,4)
	addl	%eax, %eax
	movl	(%r8), %ecx
	movl	%r12d, %esi
	cmpl	%ecx, %eax
	jle	LBB0_3
LBB0_9:
	movl	8(%rdi), %eax
	movq	_R@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r12d, %rsi
	movl	%eax, (%rcx,%rsi,4)
	movq	(%rdi), %rax
	movq	_RR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rsi,8)
	movq	_hm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movq	_RS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdx,%rsi,8)
	movl	%esi, (%rax,%rcx,4)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_cnt,4,2                      ## @R_cnt
	.comm	_RR,8,3                         ## @RR
	.comm	_R,8,3                          ## @R
	.comm	_hm,8,3                         ## @hm
	.comm	_RS,8,3                         ## @RS
	.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:
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	lsl	w3, w1, #1
Lloh0:
	adrp	x12, _R_cnt@GOTPAGE
Lloh1:
	ldr	x12, [x12, _R_cnt@GOTPAGEOFF]
Lloh2:
	adrp	x11, _R@GOTPAGE
Lloh3:
	ldr	x11, [x11, _R@GOTPAGEOFF]
Lloh4:
	adrp	x10, _RR@GOTPAGE
Lloh5:
	ldr	x10, [x10, _RR@GOTPAGEOFF]
	ldr	w4, [x12]
Lloh6:
	adrp	x9, _hm@GOTPAGE
Lloh7:
	ldr	x9, [x9, _hm@GOTPAGEOFF]
Lloh8:
	adrp	x8, _RS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RS@GOTPAGEOFF]
	cmp	w3, w4
	b.le	LBB0_2
LBB0_1:
	mov	x17, x1
	b	LBB0_8
LBB0_2:
	ldr	x13, [x10]
	ldr	x14, [x11]
	ldr	x15, [x9]
	ldr	x16, [x8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w3, w4
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x17, [x13, w3, sxtw #3]
	sxtw	x4, w3
	orr	x4, x4, #0x1
	ldr	x5, [x13, x4, lsl #3]
	cmp	x17, x5
	csel	w17, w4, w3, lt
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x17, x3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x4, [x0]
	ldr	x3, [x13, w17, sxtw #3]
	cmp	x4, x3
	b.ge	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x4, w17
	ldr	w5, [x14, x4, lsl #2]
	str	w5, [x14, w1, sxtw #2]
	sbfiz	x5, x1, #3, #32
	str	x3, [x13, x5]
	ldr	x3, [x16, x4, lsl #3]
	str	x3, [x16, x5]
	str	w1, [x15, x3, lsl #2]
	lsl	w3, w17, #1
	ldr	w4, [x12]
	mov	x1, x17
	cmp	w3, w4
	b.le	LBB0_3
LBB0_8:
	ldr	w12, [x0, #8]
	ldr	x11, [x11]
	str	w12, [x11, w17, sxtw #2]
	ldr	x11, [x0]
	ldr	x10, [x10]
	mov	x12, x17
	sbfiz	x12, x12, #3, #32
	str	x11, [x10, x12]
	ldr	x9, [x9]
	sxtw	x10, w2
	ldr	x8, [x8]
	str	x10, [x8, x12]
	str	w17, [x9, w2, sxtw #2]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_R_cnt,4,2                      ; @R_cnt
	.comm	_RR,8,3                         ; @RR
	.comm	_R,8,3                          ; @R
	.comm	_hm,8,3                         ; @hm
	.comm	_RS,8,3                         ; @RS
	.no_dead_strip	_heapify_front
.subsections_via_symbols
