	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_seq
_check_seq:                             ## @check_seq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -24(%rbp)
	movl	$0, -32(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	callq	_add_TESTSeqOf
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	leaq	-32(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	callq	_add_TESTSeqOf
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	leaq	-32(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	callq	_add_TESTSeqOf
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	-32(%rbp), %rdi
	leaq	-12(%rbp), %rsi
	callq	_add_TESTSeqOf
	testl	%eax, %eax
	je	LBB0_7
LBB0_4:
	movl	%eax, %ebx
	leaq	L_str.10(%rip), %rdi
LBB0_5:
	callq	_puts
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movl	-32(%rbp), %esi
	decl	%esi
	leaq	-32(%rbp), %rdi
	callq	_remove_TESTSeqOf
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	leaq	-32(%rbp), %rdi
	movl	$2, %esi
	callq	_remove_TESTSeqOf
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_remove_TESTSeqOf
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_remove_TESTSeqOf
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	movl	%eax, %ebx
	leaq	L_str.6(%rip), %rdi
	jmp	LBB0_5
LBB0_12:
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_remove_TESTSeqOf
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	cmpl	$0, -32(%rbp)
	je	LBB0_17
## %bb.14:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
LBB0_16:
	callq	_printf
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_17:
	leaq	-32(%rbp), %rdi
	callq	_free_TESTSeqOf
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"can remove from empty list"

L_.str.3:                               ## @.str.3
	.asciz	"seq not empty!"

L_str.6:                                ## @str.6
	.asciz	"failed removing"

L_str.10:                               ## @str.10
	.asciz	"failed adding"

	.no_dead_strip	_check_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_seq
_check_seq:                             ; @check_seq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #24]
	str	wzr, [sp, #16]
	add	x0, sp, #16
	add	x1, sp, #12
	bl	_add_TESTSeqOf
	cbnz	w0, LBB0_4
; %bb.1:
	add	x0, sp, #16
	add	x1, sp, #12
	bl	_add_TESTSeqOf
	cbnz	w0, LBB0_4
; %bb.2:
	add	x0, sp, #16
	add	x1, sp, #12
	bl	_add_TESTSeqOf
	cbnz	w0, LBB0_4
; %bb.3:
	add	x0, sp, #16
	add	x1, sp, #12
	bl	_add_TESTSeqOf
	cbz	w0, LBB0_7
LBB0_4:
	mov	x19, x0
Lloh0:
	adrp	x0, l_str.10@PAGE
Lloh1:
	add	x0, x0, l_str.10@PAGEOFF
LBB0_5:
	bl	_puts
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	ldr	w8, [sp, #16]
	sub	w1, w8, #1
	add	x0, sp, #16
	bl	_remove_TESTSeqOf
	cbnz	w0, LBB0_11
; %bb.8:
	add	x0, sp, #16
	mov	w1, #2
	bl	_remove_TESTSeqOf
	cbnz	w0, LBB0_11
; %bb.9:
	add	x0, sp, #16
	mov	w1, #0
	bl	_remove_TESTSeqOf
	cbnz	w0, LBB0_11
; %bb.10:
	add	x0, sp, #16
	mov	w1, #0
	bl	_remove_TESTSeqOf
	cbz	w0, LBB0_12
LBB0_11:
	mov	x19, x0
Lloh2:
	adrp	x0, l_str.6@PAGE
Lloh3:
	add	x0, x0, l_str.6@PAGEOFF
	b	LBB0_5
LBB0_12:
	add	x0, sp, #16
	mov	w1, #0
	bl	_remove_TESTSeqOf
	cbz	w0, LBB0_15
; %bb.13:
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_17
; %bb.14:
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_16:
	bl	_printf
	mov	w19, #1
	b	LBB0_6
LBB0_17:
	add	x0, sp, #16
	bl	_free_TESTSeqOf
	mov	w19, #0
	b	LBB0_6
	.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.2:                               ; @.str.2
	.asciz	"can remove from empty list"

l_.str.3:                               ; @.str.3
	.asciz	"seq not empty!"

l_str.6:                                ; @str.6
	.asciz	"failed removing"

l_str.10:                               ; @str.10
	.asciz	"failed adding"

	.no_dead_strip	_check_seq
.subsections_via_symbols
