	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shrink_potential_moved_blocks
_shrink_potential_moved_blocks:         ## @shrink_potential_moved_blocks
	.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	%esi, %r14d
	leal	-1(%r14), %ebx
	testl	%esi, %esi
	jle	LBB0_18
## %bb.1:
	movq	%rdi, %r15
	movl	%r14d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r13d
	jg	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	cmpl	%r14d, %r13d
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %r13
	cmpq	$0, (%r15,%r13,8)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r13, %r12
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=2
	leaq	1(%r13), %rcx
	cmpq	$0, (%r15,%r13,8)
	movq	%rcx, %r13
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	decq	%rcx
	cmpq	%r12, %rcx
	setl	%sil
	movq	%rcx, %r13
	testl	%ebx, %ebx
	jns	LBB0_12
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	testl	%ebx, %ebx
	jns	LBB0_12
	jmp	LBB0_17
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %sil
	testl	%ebx, %ebx
	jns	LBB0_12
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	setg	%sil
	movl	%r14d, %r13d
	testl	%ebx, %ebx
	js	LBB0_17
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %ecx
	movq	(%r15,%rcx,8), %rdx
	testq	%rdx, %rdx
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	leal	-1(%rbx), %ecx
	testl	%ebx, %ebx
	movl	%ecx, %ebx
	jg	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %ebx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r13d
	setl	%al
	andb	%al, %sil
	cmpb	$1, %sil
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r13d, %rax
	leaq	(%r15,%rcx,8), %rdi
	movq	%rdx, (%r15,%rax,8)
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	decl	%ebx
	incl	%r13d
	jmp	LBB0_17
LBB0_18:
	incl	%ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shrink_potential_moved_blocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shrink_potential_moved_blocks
_shrink_potential_moved_blocks:         ; @shrink_potential_moved_blocks
	.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
	subs	w21, w1, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w23, #0
	mov	w22, w1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w21
	b.gt	LBB0_18
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	cmp	w23, w19
	b.ge	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x9, w23
	ldr	x8, [x20, w23, sxtw #3]
	cbz	x8, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x9, #1
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x22, x8
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x9, [x20, x8, lsl #3]
	add	x8, x8, #1
	cbnz	x9, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x9, x8, #1
	cmp	x9, x22
	cset	w8, lt
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #0
	tbz	w21, #31, LBB0_13
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #1
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x9
	tbz	w21, #31, LBB0_13
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x22
	cset	w8, lt
	mov	x23, x19
	tbnz	w21, #31, LBB0_2
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x20, w21, uxtw #3]
	cbnz	x9, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	sub	w9, w21, #1
	cmp	w21, #0
	mov	x21, x9
	b.gt	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #-1
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w21
	cset	w10, lt
	and	w8, w8, w10
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, w21
	add	x0, x20, x8, lsl #3
	str	x9, [x20, w23, sxtw #3]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	sub	w21, w21, #1
	add	w23, w23, #1
	b	LBB0_2
LBB0_18:
	add	w0, w21, #1
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shrink_potential_moved_blocks
.subsections_via_symbols
