	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_expression_remove_sugar     ## -- Begin function tl_expression_remove_sugar
	.p2align	4, 0x90
_tl_expression_remove_sugar:            ## @tl_expression_remove_sugar
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_vkprintf
	xorl	%eax, %eax
	movq	%rbx, %rcx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$32, (%rcx)
	incl	%eax
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rcx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %edx
	cmpb	$60, %dl
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$62, %dl
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%dl, %dl
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$44, %dl
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	$32, (%rcx)
	incq	%rcx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$32, (%rcx)
	testl	%eax, %eax
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	decl	%eax
	incq	%rcx
	jmp	LBB0_1
LBB0_13:
	testl	%eax, %eax
	jle	LBB0_15
## %bb.14:
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_12
LBB0_11:
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tl_failf                       ## TAILCALL
LBB0_15:
	movq	%rbx, %rdi
	callq	_cstr_remove_extra_spaces
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edi
	movq	%rbx, %rdx
	callq	_vkprintf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tl_expression_remove_sugar (\"%s\")\n"

L_.str.1:                               ## @.str.1
	.asciz	"tl_expression_remove_sugar: too many '>', expr: %s"

L_.str.2:                               ## @.str.2
	.asciz	"tl_expression_remove_sugar: too many '<', expr: %s"

L_.str.3:                               ## @.str.3
	.asciz	"after removing sugar: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_expression_remove_sugar     ; -- Begin function tl_expression_remove_sugar
	.p2align	2
_tl_expression_remove_sugar:            ; @tl_expression_remove_sugar
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_vkprintf
	mov	w8, #0
	mov	w9, #32
	mov	x10, x19
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w9, [x10]
	add	w8, w8, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10]
	cmp	w11, #60
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w11, #62
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w11, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w11, #44
	ccmp	w8, #1, #8, eq
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w9, [x10], #1
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w9, [x10]
	cmp	w8, #0
	b.le	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w8, #1
	add	x10, x10, #1
	b	LBB0_3
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.11:
	ldr	w2, [x21]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_12:
	ldr	w2, [x21]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
	mov	x0, x20
	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
	b	_tl_failf
LBB0_14:
	mov	x0, x19
	bl	_cstr_remove_extra_spaces
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #4
	mov	x2, x19
	bl	_vkprintf
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tl_expression_remove_sugar (\"%s\")\n"

l_.str.1:                               ; @.str.1
	.asciz	"tl_expression_remove_sugar: too many '>', expr: %s"

l_.str.2:                               ; @.str.2
	.asciz	"tl_expression_remove_sugar: too many '<', expr: %s"

l_.str.3:                               ; @.str.3
	.asciz	"after removing sugar: %s\n"

.subsections_via_symbols
