	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movb	$0, -28(%rbp)
	movl	$1953719668, -32(%rbp)          ## imm = 0x74736574
	xorl	%eax, %eax
	callq	_sl_init
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	-32(%rbp), %r15
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_sl_add
	movl	$2, %r14d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movl	$3, %r14d
	cmpl	$1, (%rbx)
	jne	LBB0_6
## %bb.4:
	movq	8(%rbx), %rax
	movl	$4, %r14d
	cmpq	%r15, (%rax)
	jne	LBB0_6
## %bb.5:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sl_free
	jmp	LBB0_6
LBB0_1:
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.main.teststr:                 ## @__const.main.teststr
	.asciz	"test"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	strb	wzr, [sp, #12]
	mov	w8, #25972
	movk	w8, #29811, lsl #16
	str	w8, [sp, #8]
	bl	_sl_init
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, sp, #8
	bl	_sl_add
	cbz	x0, LBB0_4
; %bb.2:
	mov	w0, #2
	b	LBB0_9
LBB0_3:
	mov	w0, #1
	b	LBB0_9
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	add	x9, sp, #8
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.6:
	mov	w0, #4
	b	LBB0_9
LBB0_7:
	mov	w0, #3
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	mov	w1, #0
	bl	_sl_free
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.main.teststr:                 ; @__const.main.teststr
	.asciz	"test"

.subsections_via_symbols
