	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snarf                          ## -- Begin function snarf
	.p2align	4, 0x90
_snarf:                                 ## @snarf
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$1, (%rsi)
	callq	_strlen
	movslq	%eax, %rbx
	addq	%r15, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	decq	%rbx
	cmpq	%r15, %rbx
	jbe	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rbx), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	movb	$0, (%r12)
	cmpq	%r15, %r12
	jbe	LBB0_9
## %bb.4:
	xorl	%edi, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	cmpq	%r15, %rbx
	jbe	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%r12), %edi
	callq	_isspace
	leaq	-1(%r12), %rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_8:
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_9
## %bb.10:
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movb	$0, (%r12)
	incq	%r12
	jmp	LBB0_13
LBB0_9:
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$0, (%r14)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"No file specified."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snarf                          ; -- Begin function snarf
	.p2align	2
_snarf:                                 ; @snarf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x21, x0
	mov	w8, #1
	str	w8, [x1]
	bl	_strlen
	add	x22, x21, w0, sxtw
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x22
	sub	x22, x22, #1
	cmp	x22, x21
	b.ls	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w0, [x22]
	bl	_isspace
	cbnz	x0, LBB0_1
LBB0_3:
	mov	x22, x20
	strb	wzr, [x22], #-1
	cmp	x20, x21
	b.ls	LBB0_10
; %bb.4:
	mov	w0, #0
	bl	_isspace
	cbnz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x22
	cmp	x22, x21
	b.ls	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x20
	ldrb	w0, [x22], #-1
	bl	_isspace
	cbz	x0, LBB0_5
LBB0_7:
	ldrb	w0, [x20]
	cbz	w0, LBB0_10
; %bb.8:
	bl	_isspace
	cbz	x0, LBB0_12
; %bb.9:
	strb	wzr, [x20], #1
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x20, #0
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	str	wzr, [x19]
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"No file specified."

.subsections_via_symbols
