	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gettoken
_gettoken:                              ## @gettoken
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	movb	(%r12), %al
	testb	%al, %al
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_ISSPACE
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	1(%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_1
LBB0_3:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12), %ebx
	testb	%bl, %bl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$58, %bl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movb	%bl, (%r13)
	incq	%r13
	jmp	LBB0_4
LBB0_7:
	xorl	%eax, %eax
	cmpb	$58, %bl
	setne	%al
	subq	%rax, %r13
	leaq	-1(%r13), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r14
	cmpq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%r15), %eax
	testb	%al, %al
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-1(%r14), %r13
	movsbl	%al, %edi
	callq	_ISSPACE
	decq	%r15
	testq	%rax, %rax
	jne	LBB0_8
LBB0_11:
	xorl	%eax, %eax
	cmpb	$58, %bl
	sete	%al
	addq	%rax, %r12
	movb	$0, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gettoken
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gettoken
_gettoken:                              ; @gettoken
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	ldrb	w8, [x21]
	cbz	w8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_ISSPACE
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x21, #1]!
	cbnz	w8, LBB0_1
LBB0_3:
	mov	x22, #0
	ldrb	w23, [x21, x22]
	cbz	w23, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w23, #58
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w23, [x19, x22]
	add	x22, x22, #1
	ldrb	w23, [x21, x22]
	cbnz	w23, LBB0_4
LBB0_6:
	cmp	w23, #58
	csetm	x24, ne
	add	x26, x19, x22
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x19, x24
	add	x8, x26, x24
	sub	x8, x8, #1
	cmp	x8, x19
	b.lo	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x25, x22
	ldurb	w8, [x8, #-1]
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w0, w8
	bl	_ISSPACE
	sub	x24, x24, #1
	cbnz	x0, LBB0_7
LBB0_10:
	cmp	w23, #58
	cinc	x8, x21, eq
	add	x8, x8, x22
	strb	wzr, [x25, x22]
	str	x8, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gettoken
.subsections_via_symbols
