	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heap_sift_down
_heap_sift_down:                        ## @heap_sift_down
	.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
                                        ## kill: def $edi killed $edi def $rdi
	leal	(%rdi,%rdi), %esi
	movq	_HN@GOTPCREL(%rip), %r10
	movl	(%r10), %ecx
	cmpl	%ecx, %esi
	jle	LBB0_2
LBB0_9:
	movl	%edi, %eax
	jmp	LBB0_10
LBB0_2:
	movq	_H@GOTPCREL(%rip), %r9
	movq	_HS@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r9), %rdx
	cmpl	%ecx, %esi
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %r11d
	orl	$1, %r11d
	movslq	%r11d, %r14
	movq	%r14, %rax
	shlq	$4, %rax
	movslq	%esi, %rbx
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movss	(%rdx,%rcx), %xmm1              ## xmm1 = mem[0],zero,zero,zero
	ucomiss	(%rdx,%rax), %xmm1
	movl	%esi, %eax
	jbe	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rbx
	movl	%r11d, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%esi, %rbx
	movl	%esi, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	shlq	$4, %rbx
	movss	(%rdx,%rbx), %xmm1              ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rdx,%rbx), %rcx
	movq	(%r8), %rsi
	movl	%edi, (%rsi,%rcx,4)
	movslq	%edi, %rcx
	shlq	$4, %rcx
	movups	(%rdx,%rbx), %xmm1
	movups	%xmm1, (%rdx,%rcx)
	leal	(%rax,%rax), %esi
	movl	(%r10), %ecx
	movl	%eax, %edi
	cmpl	%ecx, %esi
	jle	LBB0_3
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HN,4,2                         ## @HN
	.comm	_H,8,3                          ## @H
	.comm	_HS,8,3                         ## @HS
	.no_dead_strip	_heap_sift_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heap_sift_down
_heap_sift_down:                        ; @heap_sift_down
	.cfi_startproc
; %bb.0:
	lsl	w12, w0, #1
Lloh0:
	adrp	x9, _HN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HN@GOTPAGEOFF]
	ldr	w14, [x9]
	cmp	w12, w14
	b.gt	LBB0_9
; %bb.1:
Lloh2:
	adrp	x10, _H@GOTPAGE
Lloh3:
	ldr	x10, [x10, _H@GOTPAGEOFF]
Lloh4:
	adrp	x11, _HS@GOTPAGE
Lloh5:
	ldr	x11, [x11, _HS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x10]
	cmp	w12, w14
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x14, w12
	orr	x15, x14, #0x1
	lsl	x8, x15, #4
	ldr	s1, [x13, x8]
	sbfiz	x8, x12, #4, #32
	ldr	s2, [x13, x8]
	fcmp	s1, s2
	mov	x8, x12
	b.pl	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x14, x15
	mov	x8, x15
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x12
	sxtw	x14, w8
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	lsl	x12, x14, #4
	ldr	s1, [x13, x12]
	fcmp	s1, s0
	b.ge	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x13, x14, lsl #4
	ldr	x14, [x12, #8]
	ldr	x15, [x11]
	str	w0, [x15, x14, lsl #2]
	ldr	q1, [x12]
	str	q1, [x13, w0, sxtw #4]
	lsl	w12, w8, #1
	ldr	w14, [x9]
	mov	x0, x8
	cmp	w12, w14
	b.le	LBB0_2
; %bb.8:
	mov	x0, x8
LBB0_9:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HN,4,2                         ; @HN
	.comm	_H,8,3                          ; @H
	.comm	_HS,8,3                         ; @HS
	.no_dead_strip	_heap_sift_down
.subsections_via_symbols
