	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expdollar                      ## -- Begin function expdollar
	.p2align	4, 0x90
_expdollar:                             ## @expdollar
	.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
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_Strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_xmalloc
	movq	%rax, %r14
	xorl	%r12d, %r12d
	movq	_TRIM@GOTPCREL(%rip), %r15
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r12
	movq	%r13, %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %r13
	movzbl	(%r15), %eax
	andb	1(%rbx), %al
	movb	%al, (%r14,%r12)
	testq	%r12, %r12
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$123, %al
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%r15), %eax
	andb	2(%rbx), %al
	addq	$2, %rbx
	movb	%al, (%r14,%r12)
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %r13
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%al, %edi
	callq	_alnum
	testl	%eax, %eax
	jne	LBB0_29
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$95, (%r14,%r12)
	je	LBB0_29
## %bb.6:
	movb	$0, (%r14,%r12)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movb	(%r15), %al
	andb	(%r13), %al
	xorl	%ecx, %ecx
	cmpb	$125, %al
	sete	%cl
	addq	%rcx, %r13
LBB0_8:
	movq	%r14, %rdi
	callq	_adrof
	testq	%rax, %rax
	je	LBB0_20
## %bb.9:
	movq	%rax, %r15
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.10:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.11:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $al killed $al killed $eax
	orb	$32, %al
	xorl	%r12d, %r12d
	movsbl	%al, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	orb	-48(%rbp), %al                  ## 1-byte Folded Reload
	movsbl	%al, %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_Strbuf_append1
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$10, %al
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$13, %al
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	testb	%al, %al
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rax
	cmpq	$0, 8(%rax,%r12,8)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r12
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_Strbuf_append1
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_12
LBB0_19:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	%r14, %rdi
	callq	_xfree
	movl	$1, %eax
	jmp	LBB0_28
LBB0_20:
	movq	%r14, %rdi
	callq	_tgetenv
	testq	%rax, %rax
	je	LBB0_27
## %bb.21:
	movq	%rax, %rbx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%rbx
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$10, %al
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpb	$13, %al
	je	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	testb	%al, %al
	je	LBB0_19
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	orb	-48(%rbp), %al                  ## 1-byte Folded Reload
	movsbl	%al, %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_Strbuf_append1
	jmp	LBB0_26
LBB0_27:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	%r14, %rdi
	callq	_xfree
	xorl	%eax, %eax
LBB0_28:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRIM,1,0                       ## @TRIM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expdollar                      ; -- Begin function expdollar
	.p2align	2
_expdollar:                             ; @expdollar
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x23, [x1]
	mov	x0, x23
	bl	_Strlen
	add	w0, w0, #1
	bl	_xmalloc
	mov	x22, x0
	mov	x24, #0
	mov	w27, #0
Lloh0:
	adrp	x26, _TRIM@GOTPAGE
Lloh1:
	ldr	x26, [x26, _TRIM@GOTPAGEOFF]
	mov	x25, x23
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	mov	x23, x25
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x25, #1]!
	ldrb	w9, [x26]
	and	w8, w9, w8
	strb	w8, [x22, x24]
	cbnz	x24, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w9, w8, #0xff
	cmp	w9, #123
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x23, #2]!
	ldrb	w9, [x26]
	and	w8, w9, w8
	strb	w8, [x22, x24]
	mov	w27, #1
	mov	x25, x23
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w0, w8
	bl	_alnum
	cbnz	w0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x22, x24]
	cmp	w8, #95
	b.eq	LBB0_1
; %bb.7:
	strb	wzr, [x22, x24]
	cbz	w27, LBB0_9
; %bb.8:
	mov	x8, x25
	ldrb	w9, [x8], #1
	ldrb	w10, [x26]
	and	w9, w10, w9
	cmp	w9, #125
	csel	x25, x25, x8, ne
LBB0_9:
	mov	x0, x22
	bl	_adrof
	cbz	x0, LBB0_20
; %bb.10:
	mov	x23, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_26
; %bb.11:
	ldr	x27, [x8]
	cbz	x27, LBB0_19
; %bb.12:
	mov	x26, #0
	orr	w24, w20, #0x20
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	orr	w8, w8, w20
	sxtb	w1, w8
	mov	x0, x21
	bl	_Strbuf_append1
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x27, x27, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x27]
	cmp	w8, #10
	ccmp	w8, #13, #4, ne
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	cbnz	w8, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x23]
	add	x26, x26, #1
	ldr	x8, [x8, x26, lsl #3]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_Strbuf_append1
	ldr	x8, [x23]
	ldr	x27, [x8, x26, lsl #3]
	cbnz	x27, LBB0_15
LBB0_19:
	str	x25, [x19]
	mov	x0, x22
	bl	_xfree
	mov	w0, #1
	b	LBB0_27
LBB0_20:
	mov	x0, x22
	bl	_tgetenv
	cbz	x0, LBB0_26
; %bb.21:
	mov	x23, x0
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x23, x23, #1
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23]
	cmp	w8, #10
	ccmp	w8, #13, #4, ne
	b.eq	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	cbz	w8, LBB0_19
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	orr	w8, w8, w20
	sxtb	w1, w8
	mov	x0, x21
	bl	_Strbuf_append1
	b	LBB0_22
LBB0_26:
	str	x25, [x19]
	mov	x0, x22
	bl	_xfree
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TRIM,1,0                       ; @TRIM
.subsections_via_symbols
