	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tw_wl_next                     ## -- Begin function tw_wl_next
	.p2align	4, 0x90
_tw_wl_next:                            ## @tw_wl_next
	.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	%rdx, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_USE
	movq	%rbx, %rdi
	callq	_USE
	movq	_tw_word@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_Isspace
	movq	(%r12), %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rbx), %rax
	movq	%rax, (%r12)
	movzbl	1(%rbx), %eax
	testb	%al, %al
	jne	LBB0_3
LBB0_12:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_Isspace
	movq	(%r12), %rcx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r12)
	movzbl	1(%rcx), %eax
	testb	%al, %al
	jne	LBB0_6
## %bb.9:
	cmpq	%rbx, %rdx
	jne	LBB0_10
	jmp	LBB0_12
LBB0_7:
	movq	%rcx, %rdx
	cmpq	%rbx, %rdx
	je	LBB0_12
LBB0_10:
	subl	%ebx, %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_Strbuf_appendn
	movq	(%r12), %rax
	movl	$1, %r15d
	cmpb	$0, (%rax)
	je	LBB0_12
## %bb.11:
	incq	%rax
	movq	%rax, (%r12)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_tw_word,8,3                    ## @tw_word
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tw_wl_next                     ; -- Begin function tw_wl_next
	.p2align	2
_tw_wl_next:                            ; @tw_wl_next
	.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	x20, x2
	mov	x19, x0
	mov	x0, x1
	bl	_USE
	mov	x0, x20
	bl	_USE
Lloh0:
	adrp	x21, _tw_word@GOTPAGE
Lloh1:
	ldr	x21, [x21, _tw_word@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.1:
	ldrb	w8, [x8]
	cbz	w8, LBB0_12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_Isspace
	ldr	x20, [x21]
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x20, #1
	str	x8, [x21]
	ldrb	w8, [x20, #1]
	cbnz	w8, LBB0_2
	b	LBB0_12
LBB0_4:
	ldrb	w8, [x20]
	cbz	w8, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_Isspace
	ldr	x8, [x21]
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x8, #1
	str	x9, [x21]
	ldrb	w8, [x8, #1]
	cbnz	w8, LBB0_5
; %bb.7:
	mov	x8, x9
LBB0_8:
	cmp	x8, x20
	b.eq	LBB0_12
; %bb.9:
	sub	w2, w8, w20
	mov	x0, x19
	mov	x1, x20
	bl	_Strbuf_appendn
	ldr	x8, [x21]
	ldrb	w9, [x8]
	cbz	w9, LBB0_11
; %bb.10:
	add	x8, x8, #1
	str	x8, [x21]
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_tw_word,8,3                    ; @tw_word
.subsections_via_symbols
