	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check
_check:                                 ## @check
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_iflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	xorl	%eax, %eax
	callq	_getchar
	movl	%eax, %r14d
	cmpl	$10, %eax
	je	LBB0_15
## %bb.12:
	movq	_EOF@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r14d
	je	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_getchar
	cmpl	$10, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	(%rbx), %eax
	jne	LBB0_13
LBB0_15:
	andl	$-33, %r14d
	xorl	%r12d, %r12d
	cmpl	$89, %r14d
	sete	%r12b
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_stdin_ok@GOTPCREL(%rip), %rax
	movl	$1, %r12d
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.3:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	12(%rdx), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	jne	LBB0_16
## %bb.4:
	movq	_W_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_access
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movl	(%r15), %eax
	movq	_SF_APPEND@GOTPCREL(%rip), %rcx
	movq	_SF_IMMUTABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_8
## %bb.6:
	movq	_UF_APPEND@GOTPCREL(%rip), %rcx
	movq	_UF_IMMUTABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_16
## %bb.7:
	movq	_uid@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
LBB0_8:
	movl	12(%r15), %edi
	leaq	-63(%rbp), %rsi
	callq	_strmode
	movl	(%r15), %edi
	callq	_fflagstostr
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpb	$32, -53(%rbp)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %r12
	movq	%r12, %r13
	cmoveq	%rax, %r13
	movl	8(%r15), %edi
	xorl	%esi, %esi
	callq	_user_from_uid
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r15), %edi
	xorl	%esi, %esi
	callq	_group_from_gid
	cmpb	$0, (%rbx)
	movq	%rbx, %r15
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rcx, %rbx
	cmoveq	%rcx, %r12
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rsi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	leaq	-62(%rbp), %rdx
	movq	%r13, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	%rax, %r9
	xorl	%eax, %eax
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	callq	_fprintf
	addq	$32, %rsp
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_11
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_iflag,8,3                      ## @iflag
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remove %s? "

	.comm	_stdin_ok,4,2                   ## @stdin_ok
	.comm	_W_OK,4,2                       ## @W_OK
	.comm	_SF_APPEND,4,2                  ## @SF_APPEND
	.comm	_SF_IMMUTABLE,4,2               ## @SF_IMMUTABLE
	.comm	_UF_APPEND,4,2                  ## @UF_APPEND
	.comm	_UF_IMMUTABLE,4,2               ## @UF_IMMUTABLE
	.comm	_uid,4,2                        ## @uid
L_.str.1:                               ## @.str.1
	.asciz	"fflagstostr"

L_.str.2:                               ## @.str.2
	.asciz	"override %s%s%s/%s %s%sfor %s? "

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	" "

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check
_check:                                 ; @check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
Lloh3:
	adrp	x8, _iflag@GOTPAGE
Lloh4:
	ldr	x8, [x8, _iflag@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x25, _stderr@GOTPAGE
Lloh7:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	w0, [x25]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_2:
	ldr	w0, [x25]
	bl	_fflush
	bl	_getchar
	mov	x19, x0
	cmp	w0, #10
	b.eq	LBB0_6
; %bb.3:
Lloh10:
	adrp	x20, _EOF@GOTPAGE
Lloh11:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w19, w8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_getchar
	cmp	w0, #10
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
LBB0_6:
	and	w8, w19, #0xffffffdf
	cmp	w8, #89
	cset	w0, eq
	b	LBB0_10
LBB0_7:
Lloh12:
	adrp	x8, _stdin_ok@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdin_ok@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.8:
	mov	x20, x2
	mov	x21, x1
	ldr	w0, [x2, #12]
	bl	_S_ISLNK
	cbz	x0, LBB0_12
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldr	x8, [sp, #72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.11:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_12:
Lloh18:
	adrp	x8, _W_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _W_OK@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_access
	cbnz	w0, LBB0_15
; %bb.13:
	ldr	w8, [x20]
Lloh21:
	adrp	x9, _SF_APPEND@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SF_APPEND@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _SF_IMMUTABLE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SF_IMMUTABLE@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_15
; %bb.14:
Lloh27:
	adrp	x9, _UF_APPEND@GOTPAGE
Lloh28:
	ldr	x9, [x9, _UF_APPEND@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _UF_IMMUTABLE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _UF_IMMUTABLE@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w8, w9, w8
Lloh33:
	adrp	x9, _uid@GOTPAGE
Lloh34:
	ldr	x9, [x9, _uid@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_9
LBB0_15:
	ldr	w0, [x20, #12]
	add	x23, sp, #57
	add	x1, sp, #57
	bl	_strmode
	ldr	w0, [x20]
	bl	_fflagstostr
	mov	x21, x0
	cbnz	x0, LBB0_17
; %bb.16:
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_17:
	ldr	w22, [x25]
	add	x23, x23, #1
Lloh38:
	adrp	x26, l_.str.4@PAGE
Lloh39:
	add	x26, x26, l_.str.4@PAGEOFF
	ldrb	w8, [sp, #67]
Lloh40:
	adrp	x27, l_.str.3@PAGE
Lloh41:
	add	x27, x27, l_.str.3@PAGEOFF
	cmp	w8, #32
	csel	x28, x27, x26, eq
	ldr	w0, [x20, #8]
	mov	w1, #0
	bl	_user_from_uid
	mov	x24, x0
	ldr	w0, [x20, #4]
	mov	w1, #0
	bl	_group_from_gid
	ldrb	w8, [x21]
	cmp	w8, #0
	csel	x8, x27, x21, eq
	csel	x9, x27, x26, eq
	stp	x9, x19, [sp, #32]
	stp	x0, x8, [sp, #16]
	stp	x28, x24, [sp]
Lloh42:
	adrp	x1, l_.str.2@PAGE
Lloh43:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_fprintf
	mov	x0, x21
	bl	_free
	b	LBB0_2
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_iflag,8,3                      ; @iflag
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remove %s? "

	.comm	_stdin_ok,4,2                   ; @stdin_ok
	.comm	_W_OK,4,2                       ; @W_OK
	.comm	_SF_APPEND,4,2                  ; @SF_APPEND
	.comm	_SF_IMMUTABLE,4,2               ; @SF_IMMUTABLE
	.comm	_UF_APPEND,4,2                  ; @UF_APPEND
	.comm	_UF_IMMUTABLE,4,2               ; @UF_IMMUTABLE
	.comm	_uid,4,2                        ; @uid
l_.str.1:                               ; @.str.1
	.asciz	"fflagstostr"

l_.str.2:                               ; @.str.2
	.asciz	"override %s%s%s/%s %s%sfor %s? "

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	" "

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