	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_end_token
_find_end_token:                        ## @find_end_token
	.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
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	cmpb	$37, %al
	jne	LBB0_3
## %bb.4:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, 1(%r14,%rcx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	2(%rcx), %rax
	cmpb	$37, 2(%r14,%rcx)
	movq	%rax, %rcx
	je	LBB0_5
	jmp	LBB0_8
LBB0_1:
	movq	%r14, %rax
	jmp	LBB0_20
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	%rcx, %rax
LBB0_8:
	movl	%eax, %eax
	addq	%rax, %r14
	movq	%r14, %rdi
	movl	$37, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	incq	%rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rbx
	cmpb	$32, -2(%rax)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$-2, %rax
	cmpq	%r14, %rax
	movq	%rbx, %rax
	ja	LBB0_10
LBB0_12:
	movb	(%rbx), %r12b
	movb	$0, (%rbx)
	decq	%r15
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, 1(%r15)
	leaq	1(%r15), %r15
	je	LBB0_13
## %bb.14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strstr
	movb	%r12b, (%rbx)
	testq	%rax, %rax
	jne	LBB0_20
	jmp	LBB0_17
LBB0_15:
	movq	%r15, %rdi
	callq	_strlen
	cltq
	addq	%r15, %rax
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_20
LBB0_17:
	xorl	%eax, %eax
	cmpb	$32, (%r14)
	jne	LBB0_20
## %bb.18:
	incq	%r14
	cmpq	%rbx, %r14
	jne	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	callq	_strlen
	cltq
	addq	%r15, %rax
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_end_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_end_token
_find_end_token:                        ; @find_end_token
	.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
	ldrb	w8, [x1]
	cbz	w8, LBB0_16
; %bb.1:
	mov	x19, x0
	cmp	w8, #37
	b.ne	LBB0_5
; %bb.2:
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x1, x8
	ldrb	w10, [x9, #1]
	cbz	w10, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #2
	ldrb	w9, [x9, #2]
	cmp	w9, #37
	b.eq	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	x8, #0
LBB0_6:
	add	x20, x1, w8, uxtw
	mov	x0, x20
	mov	w1, #37
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.7:
	add	x21, x0, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21, #-2]!
	cmp	w8, #32
	ccmp	x21, x20, #0, eq
	add	x21, x21, #1
	b.hi	LBB0_8
; %bb.9:
	ldrb	w22, [x21]
	strb	wzr, [x21]
	sub	x19, x19, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19, #1]!
	cmp	w8, #32
	b.eq	LBB0_10
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	bl	_strstr
	mov	x1, x0
	strb	w22, [x21]
	cbnz	x1, LBB0_16
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_strlen
	mov	x21, #0
	add	x1, x19, w0, sxtw
	cbnz	x1, LBB0_16
LBB0_13:
	ldrb	w8, [x20], #1
	cmp	w8, #32
	ccmp	x20, x21, #0, eq
	b.eq	LBB0_15
; %bb.14:
	mov	x1, #0
	b	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_strlen
	add	x1, x19, w0, sxtw
LBB0_16:
	mov	x0, x1
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_end_token
.subsections_via_symbols
