	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expand_lex                     ## -- Begin function expand_lex
	.p2align	4, 0x90
_expand_lex:                            ## @expand_lex
	.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
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	_Strbuf_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	8(%rdi), %rcx
	cmpq	%rdi, %rcx
	je	LBB0_18
## %bb.2:
	movq	16(%rdi), %rax
	cmpq	%rax, %rcx
	je	LBB0_18
## %bb.3:
	xorl	%r14d, %r14d
	leaq	-48(%rbp), %rbx
	movq	_TRIM@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_Strbuf_append1
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx), %rcx
	incl	%r13d
	cmpq	%rax, %rcx
	je	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpl	%esi, %r13d
	jl	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	-56(%rbp), %r13d                ## 4-byte Folded Reload
	jg	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rcx), %r12
	movb	(%r12), %al
	testb	%al, %al
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdi
	movl	$92, %esi
	callq	_Strbuf_append1
	movzbl	(%r12), %eax
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	andb	(%r15), %al
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_Strbuf_append1
	movzbl	(%r12), %r14d
	movzbl	1(%r12), %eax
	incq	%r12
	testb	%al, %al
	je	LBB0_14
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_QUOTE@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movzbl	(%r15), %ecx
	andb	%al, %cl
	movq	_HIST@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	cmpb	%dl, %cl
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	testb	%dl, %dl
	jne	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpb	$39, %cl
	movq	%rbx, %rsi
	sete	%bl
	cmpb	$92, %r14b
	setne	%dl
	cmpb	$34, %cl
	sete	%cl
	testb	%dl, %bl
	movq	%rsi, %rbx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	andb	%dl, %cl
	je	LBB0_13
	jmp	LBB0_12
LBB0_16:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	decq	%rax
	movq	%rax, -48(%rbp)
LBB0_18:
	leaq	-48(%rbp), %rdi
	callq	_Strbuf_finish
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Strbuf_INIT,8,3                ## @Strbuf_INIT
	.comm	_QUOTE,1,0                      ## @QUOTE
	.comm	_TRIM,1,0                       ## @TRIM
	.comm	_HIST,1,0                       ## @HIST
	.comm	_INVALID_BYTE,1,0               ## @INVALID_BYTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expand_lex                     ; -- Begin function expand_lex
	.p2align	2
_expand_lex:                            ; @expand_lex
	.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
Lloh0:
	adrp	x8, _Strbuf_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Strbuf_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	cbz	x0, LBB0_17
; %bb.1:
	ldr	x21, [x0, #8]
	cmp	x21, x0
	b.eq	LBB0_17
; %bb.2:
	ldr	x22, [x0, #16]
	cmp	x21, x22
	b.eq	LBB0_17
; %bb.3:
	mov	x19, x2
	mov	x20, x1
	mov	w27, #0
	mov	w23, #0
Lloh3:
	adrp	x24, _QUOTE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _QUOTE@GOTPAGEOFF]
Lloh5:
	adrp	x25, _TRIM@GOTPAGE
Lloh6:
	ldr	x25, [x25, _TRIM@GOTPAGEOFF]
Lloh7:
	adrp	x26, _HIST@GOTPAGE
Lloh8:
	ldr	x26, [x26, _HIST@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	mov	w1, #32
	bl	_Strbuf_append1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x21, #8]
	add	w23, w23, #1
	cmp	x21, x22
	b.eq	LBB0_15
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	cmp	w23, w20
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w23, w19
	b.gt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x28, [x21]
	ldrb	w8, [x28]
	cbnz	w8, LBB0_11
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	add	x0, sp, #8
	mov	w1, #92
	bl	_Strbuf_append1
	ldrb	w8, [x28]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldrb	w9, [x25]
	and	w8, w9, w8
	sxtb	w1, w8
	add	x0, sp, #8
	bl	_Strbuf_append1
	ldrb	w27, [x28]
	ldrb	w8, [x28, #1]!
	cbz	w8, LBB0_4
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x24]
	tst	w8, w9
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldrb	w9, [x25]
	and	w9, w9, w8
	ldrb	w10, [x26]
	cmp	w10, w9, uxtb
	ccmp	w10, #0, #4, eq
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	and	w10, w9, #0xff
	cmp	w10, #39
	cset	w11, eq
	cmp	w27, #92
	cset	w9, ne
	and	w11, w11, w9
	cmp	w10, #34
	cset	w10, eq
	tbnz	w11, #0, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	and	w9, w10, w9
	cbz	w9, LBB0_10
	b	LBB0_9
LBB0_15:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_17
; %bb.16:
	sub	x8, x8, #1
	str	x8, [sp, #8]
LBB0_17:
	add	x0, sp, #8
	bl	_Strbuf_finish
	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 AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Strbuf_INIT,8,3                ; @Strbuf_INIT
	.comm	_QUOTE,1,0                      ; @QUOTE
	.comm	_TRIM,1,0                       ; @TRIM
	.comm	_HIST,1,0                       ; @HIST
	.comm	_INVALID_BYTE,1,0               ; @INVALID_BYTE
.subsections_via_symbols
