	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check2
_check2:                                ## @check2
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.9:
	addq	$8, %rbx
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %r12
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%r13d
	movq	-8(%rbx), %r14
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	je	LBB0_2
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rsi
	callq	_lstat
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-48(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	%r15d
	jmp	LBB0_14
LBB0_1:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leal	(%r15,%r13), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_stderr@GOTPCREL(%rip), %r14
	movq	_EOF@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ecx, %eax
	je	LBB0_30
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	leal	-78(%rbx), %eax
	cmpl	$43, %eax
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movabsq	$8800387991553, %rcx            ## imm = 0x80100000801
	btq	%rax, %rcx
	jb	LBB0_30
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%r13d, %r13d
	je	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_rflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edi
	cmpl	$1, %r13d
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$1, %r15d
	je	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	jle	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	cmpl	$4, %edx
	jl	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$1, %r15d
	jne	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edi
	callq	_fflush
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %ebx
	movl	(%r12), %ecx
	cmpl	$10, %eax
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %eax
	cmpl	%ecx, %ebx
	je	LBB0_29
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_getchar
	movl	(%r12), %ecx
	cmpl	$10, %eax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	cmpl	%ecx, %eax
	jne	LBB0_27
	jmp	LBB0_29
LBB0_30:
	andl	$-33, %ebx
	xorl	%eax, %eax
	cmpl	$89, %ebx
	sete	%al
LBB0_31:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	$1, %eax
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_rflag,8,3                      ## @rflag
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recursively remove"

L_.str.1:                               ## @.str.1
	.asciz	" %s"

L_.str.2:                               ## @.str.2
	.asciz	" %d dirs"

L_.str.3:                               ## @.str.3
	.asciz	" and 1 file"

L_.str.4:                               ## @.str.4
	.asciz	" and %d files"

L_.str.5:                               ## @.str.5
	.asciz	"remove %d files"

L_.str.6:                               ## @.str.6
	.asciz	"? "

	.comm	_EOF,4,2                        ## @EOF
	.no_dead_strip	_check2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check2
_check2:                                ; @check2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x8, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, #0
	mov	w28, #0
	mov	w27, #0
	add	x19, x8, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w28, w28, #1
	ldur	x22, [x19, #-8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19], #8
	cbz	x0, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	bl	_lstat
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #8]
	bl	_S_ISDIR
	cbnz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w27, #1
	b	LBB0_3
LBB0_7:
	mov	w27, #0
	mov	w28, #0
	mov	x22, #0
LBB0_8:
	mov	w26, #0
	add	w20, w28, w27
	mov	w21, #1
	mov	x23, #2049
	movk	x23, #2049, lsl #32
Lloh0:
	adrp	x25, _stderr@GOTPAGE
Lloh1:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
Lloh2:
	adrp	x24, l_.str.6@PAGE
Lloh3:
	add	x24, x24, l_.str.6@PAGEOFF
Lloh4:
	adrp	x19, _EOF@GOTPAGE
Lloh5:
	ldr	x19, [x19, _EOF@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x26
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w0, w8
	b.eq	LBB0_28
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	sub	w8, w26, #78
	cmp	w8, #43
	lsl	x8, x21, x8
	and	x8, x8, x23
	ccmp	x8, #0, #4, ls
	b.ne	LBB0_28
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cbz	w28, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh6:
	adrp	x8, _rflag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rflag@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x25]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x25]
	cmp	w28, #1
	b.ne	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	str	x22, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w20, #4
	b.lt	LBB0_30
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x25]
	str	x20, [sp]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=1
	str	x28, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_fprintf
	cmp	w27, #1
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x25]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w27, #2
	b.lt	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x25]
	str	x27, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_23:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_fprintf
LBB0_24:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x25]
	mov	x1, x24
	bl	_fprintf
	ldr	w0, [x25]
	bl	_fflush
	bl	_getchar
	mov	x26, x0
	ldr	w8, [x19]
	cmp	w0, #10
	b.eq	LBB0_9
; %bb.25:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x26
	cmp	w26, w8
	b.eq	LBB0_10
LBB0_26:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_getchar
	ldr	w8, [x19]
	cmp	w0, #10
	b.eq	LBB0_10
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	cmp	w0, w8
	b.ne	LBB0_26
	b	LBB0_10
LBB0_28:
	and	w8, w26, #0xffffffdf
	cmp	w8, #89
	cset	w0, eq
LBB0_29:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_30:
	mov	w0, #1
	b	LBB0_29
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_rflag,8,3                      ; @rflag
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recursively remove"

l_.str.1:                               ; @.str.1
	.asciz	" %s"

l_.str.2:                               ; @.str.2
	.asciz	" %d dirs"

l_.str.3:                               ; @.str.3
	.asciz	" and 1 file"

l_.str.4:                               ; @.str.4
	.asciz	" and %d files"

l_.str.5:                               ; @.str.5
	.asciz	"remove %d files"

l_.str.6:                               ; @.str.6
	.asciz	"? "

	.comm	_EOF,4,2                        ; @EOF
	.no_dead_strip	_check2
.subsections_via_symbols
