	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_schedule_dir_for_removal       ## -- Begin function schedule_dir_for_removal
	.p2align	4, 0x90
_schedule_dir_for_removal:              ## @schedule_dir_for_removal
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_removal@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	leaq	-36(%rbp), %r8
	callq	_longest_path_match
	cmpl	%ebx, %eax
	jge	LBB0_10
## %bb.1:
	movslq	%eax, %r12
	movslq	%ebx, %rcx
	subl	%eax, %ebx
	movq	%r12, %rdi
	notq	%rdi
	addq	%rcx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	andq	$3, %rbx
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$47, (%r14,%rsi)
	cmovel	%esi, %edx
	incq	%rsi
	decq	%rbx
	jne	LBB0_2
LBB0_3:
	cmpq	$3, %rdi
	jb	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$47, (%r14,%rsi)
	cmovel	%esi, %edx
	cmpb	$47, 1(%r14,%rsi)
	leal	1(%rsi), %edi
	cmovnel	%edx, %edi
	leal	2(%rsi), %ebx
	cmpb	$47, 2(%r14,%rsi)
	cmovnel	%edi, %ebx
	leal	3(%rsi), %edx
	cmpb	$47, 3(%r14,%rsi)
	cmovnel	%ebx, %edx
	addq	$4, %rsi
	cmpq	%rcx, %rsi
	jne	LBB0_4
LBB0_5:
	movl	%edx, %ebx
	subl	%eax, %ebx
	jle	LBB0_8
## %bb.6:
	cmpl	(%r15), %eax
	jge	LBB0_8
## %bb.7:
	movl	%eax, %edi
	callq	_do_remove_scheduled_dirs
	jmp	LBB0_9
LBB0_8:
	cmpl	%eax, %edx
	jle	LBB0_10
LBB0_9:
	addq	%r12, %r14
	movq	_removal@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_strbuf_add
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_removal,8,2                    ## @removal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_schedule_dir_for_removal       ; -- Begin function schedule_dir_for_removal
	.p2align	2
_schedule_dir_for_removal:              ; @schedule_dir_for_removal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _removal@GOTPAGE
Lloh1:
	ldr	x21, [x21, _removal@GOTPAGEOFF]
	ldp	w3, w2, [x21]
	add	x4, sp, #12
	bl	_longest_path_match
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, w20
	b.ge	LBB0_7
; %bb.1:
	mov	x9, #0
	mov	w8, w0
	sxtw	x22, w0
	sxtw	x10, w20
	add	x11, x19, x22
	sub	x12, x10, x22
	mov	x10, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x11, x9]
	add	w14, w8, w9
	cmp	w13, #47
	csel	w10, w14, w10, eq
	add	x9, x9, #1
	cmp	x12, x9
	b.ne	LBB0_2
; %bb.3:
	ldr	w9, [x21]
	subs	w20, w10, w0
	ccmp	w8, w9, #0, gt
	b.lt	LBB0_5
; %bb.4:
	cmp	w10, w0
	b.gt	LBB0_6
	b	LBB0_7
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_do_remove_scheduled_dirs
LBB0_6:
	add	x1, x19, x22
Lloh2:
	adrp	x0, _removal@GOTPAGE
Lloh3:
	ldr	x0, [x0, _removal@GOTPAGEOFF]
	mov	x2, x20
	bl	_strbuf_add
LBB0_7:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_removal,8,2                    ; @removal
.subsections_via_symbols
