	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw_dollar
_tw_dollar:                             ## @tw_dollar
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r13d
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_Strbuf_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movb	(%rdi), %al
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testb	%al, %al
	je	LBB0_18
## %bb.1:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpb	%r13b, %al
	je	LBB0_18
## %bb.2:
	movq	%rdx, %r12
	leaq	-48(%rbp), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpb	$36, %al
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$36, %al
	cmpb	$58, 1(%rbx)
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	cmpb	$45, 2(%rbx)
	sete	%al
	movsbl	2(%rax,%rbx), %edi
	callq	_Isdigit
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	2(%rbx), %r15b
	leaq	3(%rbx), %rax
	leaq	2(%rbx), %rcx
	xorl	%edx, %edx
	cmpb	$45, %r15b
	sete	%dl
	cmoveq	%rax, %rcx
	movsbl	2(%rdx,%rbx), %r14d
	addl	$-48, %r14d
	movsbl	1(%rcx), %edi
	movq	%rcx, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rbx
	callq	_Isdigit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	leal	(%r14,%r14,4), %eax
	movsbl	(%rbx), %ecx
	leal	(%r14,%rax,2), %eax
	leal	(%rcx,%rax), %r14d
	addl	$-48, %r14d
	movsbl	1(%rbx), %edi
	jmp	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %eax
	notl	%eax
	addl	%r12d, %eax
	cmpb	$45, %r15b
	cmovnel	%r14d, %eax
	testl	%eax, %eax
	js	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %eax
	cmpq	%r12, %rax
	jae	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_Strbuf_append
	jmp	LBB0_14
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %r15
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	(%rbx), %al
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_Strbuf_append1
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	%r13b, %al
	jne	LBB0_3
LBB0_18:
	leaq	-48(%rbp), %rdi
	callq	_Strbuf_finish
	cmpb	%r13b, (%rbx)
	jne	LBB0_20
## %bb.19:
	incq	%rbx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_21
LBB0_20:
	movsbl	%r13b, %r14d
	movq	%rax, %rdi
	callq	_xfree
	movq	_ERR_COMPMIS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_short2str
	movl	%r12d, %edi
	movl	%r14d, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_stderror
LBB0_21:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Strbuf_INIT,4,2                ## @Strbuf_INIT
	.comm	_ERR_COMPMIS,4,2                ## @ERR_COMPMIS
	.no_dead_strip	_tw_dollar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw_dollar
_tw_dollar:                             ; @tw_dollar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x5, [sp]                        ; 8-byte Folded Spill
	mov	x20, x4
	mov	x23, x3
	mov	x21, x0
Lloh0:
	adrp	x8, _Strbuf_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Strbuf_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldrb	w8, [x0]
	mov	x22, x0
	cbz	w8, LBB0_17
; %bb.1:
	cmp	w8, w20, uxtb
	mov	x22, x21
	b.eq	LBB0_17
; %bb.2:
	mov	x24, x2
	mov	x25, x1
	mov	w26, #2
	mov	w27, #10
	mov	x22, x21
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	and	w9, w8, #0xff
	cmp	w9, #36
	b.ne	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x22, #1]
	cmp	w8, #58
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x22
	ldrb	w8, [x19, #2]!
	cmp	w8, #45
	cinc	x8, x26, eq
	ldrsb	w0, [x22, x8]
	bl	_Isdigit
	cbz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w28, [x22, #2]
	cmp	w28, #45
	cinc	x8, x26, eq
	ldrsb	w8, [x22, x8]
	add	x9, x22, #3
	csel	x22, x9, x19, eq
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w19, w8, #48
	ldrsb	w0, [x22, #1]!
	bl	_Isdigit
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldrsb	w8, [x22]
	madd	w9, w19, w27, w19
	add	w8, w9, w8
	b	LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #36
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mvn	w8, w19
	add	w8, w8, w24
	cmp	w28, #45
	csel	w8, w8, w19, eq
	tbnz	w8, #31, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x24
	b.hs	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x25, x8, lsl #3]
	add	x0, sp, #8
	bl	_Strbuf_append
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x22]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	sxtb	w1, w8
	add	x0, sp, #8
	bl	_Strbuf_append1
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, w20, uxtb
	b.ne	LBB0_3
LBB0_17:
	add	x0, sp, #8
	bl	_Strbuf_finish
	ldrb	w8, [x22]
	cmp	w8, w20, uxtb
	b.ne	LBB0_19
; %bb.18:
	add	x22, x22, #1
	str	x0, [x23]
	b	LBB0_20
LBB0_19:
	bl	_xfree
Lloh3:
	adrp	x8, _ERR_COMPMIS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_COMPMIS@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_short2str
	mov	x3, x0
	mov	x0, x23
	mov	x1, x20
	ldr	x2, [sp]                        ; 8-byte Folded Reload
	bl	_stderror
LBB0_20:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_Strbuf_INIT,4,2                ; @Strbuf_INIT
	.comm	_ERR_COMPMIS,4,2                ; @ERR_COMPMIS
	.no_dead_strip	_tw_dollar
.subsections_via_symbols
