	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsource                        ## -- Begin function rsource
	.p2align	4, 0x90
_rsource:                               ## @rsource
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rdi
	callq	_opendir
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r12
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %r15
	testq	%rax, %rax
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	cmoveq	%rbx, %r15
	movq	_pflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %r8
	movq	16(%rbx), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movq	_remout@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, %rdi
	callq	_strlen
	movl	%r13d, %edi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write
	xorl	%eax, %eax
	callq	_response
	testq	%rax, %rax
	js	LBB0_15
LBB0_3:
	movq	_MODEMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	xorl	%r8d, %r8d
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_snprintf
	movq	_remout@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_write
	xorl	%eax, %eax
	callq	_response
	testq	%rax, %rax
	js	LBB0_15
## %bb.4:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_readdir
	testq	%rax, %rax
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_16
## %bb.5:
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rbx
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	movq	%r8, %rdx
	callq	_run_err
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_readdir
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r14), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %r13
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	incl	%eax
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	movq	8(%r14), %r8
	cmpl	%ecx, %eax
	jge	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rbx, -56(%rbp)
	movl	$1, %edi
	leaq	-56(%rbp), %rsi
	callq	_source
	jmp	LBB0_7
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_run_err
	jmp	LBB0_18
LBB0_15:
	movq	%r12, %rdi
	callq	_closedir
	jmp	LBB0_17
LBB0_16:
	movq	%r12, %rdi
	callq	_closedir
	movq	_remout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$2, %edx
	callq	_write
	xorl	%eax, %eax
	callq	_response
LBB0_17:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_18:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_pflag,8,3                      ## @pflag
L_.str.1:                               ## @.str.1
	.asciz	"T%ld 0 %ld 0\n"

	.comm	_remout,4,2                     ## @remout
L_.str.2:                               ## @.str.2
	.asciz	"D%04o %d %s\n"

	.comm	_MODEMASK,4,2                   ## @MODEMASK
L_.str.3:                               ## @.str.3
	.asciz	"."

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

L_.str.5:                               ## @.str.5
	.asciz	"%s/%s: name too long"

L_.str.6:                               ## @.str.6
	.asciz	"%s/%s"

L_.str.7:                               ## @.str.7
	.asciz	"E\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsource                        ; -- Begin function rsource
	.p2align	2
_rsource:                               ; @rsource
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x23, x1
	mov	x19, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w20, [x26]
	mov	x9, x20
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	bl	_opendir
	cbz	x0, LBB0_13
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x27, x19, x0, eq
Lloh7:
	adrp	x8, _pflag@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pflag@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x28, _remout@GOTPAGE
Lloh11:
	ldr	x28, [x28, _remout@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.2:
	ldp	x9, x8, [x23, #8]
	stp	x8, x9, [sp, #-16]!
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
	add	sp, sp, #16
	ldr	w24, [x28]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x21
	bl	_write
	bl	_response
	tbnz	x0, #63, LBB0_14
LBB0_3:
	ldr	w8, [x23]
Lloh14:
	adrp	x9, _MODEMASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MODEMASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	sp, sp, #32
	stp	xzr, x27, [sp, #8]
	str	x8, [sp]
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
	add	sp, sp, #32
	ldr	w23, [x28]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x21
	bl	_write
	bl	_response
	tbnz	x0, #63, LBB0_14
; %bb.4:
	mov	x0, x22
	bl	_readdir
	cbz	x0, LBB0_15
; %bb.5:
	mov	x27, x0
Lloh19:
	adrp	x23, l_.str.3@PAGE
Lloh20:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh21:
	adrp	x24, l_.str.4@PAGE
Lloh22:
	add	x24, x24, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_run_err
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_readdir
	mov	x27, x0
	cbz	x0, LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x28, [x27, #8]
	mov	x0, x28
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x28
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_strlen
	mov	x28, x0
	ldr	x0, [x27, #8]
	bl	_strlen
	add	w8, w28, w0
	add	w8, w8, #1
	ldr	w9, [x26]
	sub	w9, w9, #1
	ldr	x2, [x27, #8]
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	stp	x19, x2, [sp, #-16]!
	mov	x0, x21
	mov	x1, x20
Lloh25:
	adrp	x2, l_.str.6@PAGE
Lloh26:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_snprintf
	add	sp, sp, #16
	stur	x21, [x29, #-96]
	sub	x1, x29, #96
	mov	w0, #1
	bl	_source
	b	LBB0_7
LBB0_13:
Lloh27:
	adrp	x8, _errno@GOTPAGE
Lloh28:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_run_err
	b	LBB0_16
LBB0_14:
	mov	x0, x22
	bl	_closedir
	b	LBB0_16
LBB0_15:
	mov	x0, x22
	bl	_closedir
Lloh32:
	adrp	x8, _remout@GOTPAGE
Lloh33:
	ldr	x8, [x8, _remout@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #2
	bl	_write
	bl	_response
LBB0_16:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_pflag,8,3                      ; @pflag
l_.str.1:                               ; @.str.1
	.asciz	"T%ld 0 %ld 0\n"

	.comm	_remout,4,2                     ; @remout
l_.str.2:                               ; @.str.2
	.asciz	"D%04o %d %s\n"

	.comm	_MODEMASK,4,2                   ; @MODEMASK
l_.str.3:                               ; @.str.3
	.asciz	"."

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

l_.str.5:                               ; @.str.5
	.asciz	"%s/%s: name too long"

l_.str.6:                               ; @.str.6
	.asciz	"%s/%s"

l_.str.7:                               ; @.str.7
	.asciz	"E\n"

.subsections_via_symbols
