	.file	"225142595.c"
	.intel_syntax noprefix
	.text
	.globl	heap
	.bss
	.align 8
	.type	heap, @object
	.size	heap, 8
heap:
	.zero	8
	.globl	rootstack
	.align 8
	.type	rootstack, @object
	.size	rootstack, 8
rootstack:
	.zero	8
	.globl	free_ptr
	.align 8
	.type	free_ptr, @object
	.size	free_ptr, 8
free_ptr:
	.zero	8
	.globl	TRUE
	.section	.rodata
	.align 8
	.type	TRUE, @object
	.size	TRUE, 8
TRUE:
	.quad	-1
	.globl	FALSE
	.align 8
	.type	FALSE, @object
	.size	FALSE, 8
FALSE:
	.quad	9223372036854775807
.LC0:
	.string	"%ld"
.LC1:
	.string	"#t"
.LC2:
	.string	"#f"
.LC3:
	.string	", "
.LC4:
	.string	"Unknown value: %#010x"
	.text
	.globl	rec_print
	.type	rec_print, @function
rec_print:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	and	eax, 1
	test	rax, rax
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -40[rbp]
	sar	rax
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L4:
	mov	rax, -1
	cmp	QWORD PTR -40[rbp], rax
	jne	.L6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L6:
	movabs	rax, 9223372036854775807
	cmp	QWORD PTR -40[rbp], rax
	jne	.L7
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L7:
	mov	rax, QWORD PTR -40[rbp]
	and	eax, 3
	cmp	rax, 1
	jne	.L8
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 1
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	edi, 40
	call	putchar@PLT
	mov	DWORD PTR -24[rbp], 1
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rec_print
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	je	.L10
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	add	DWORD PTR -24[rbp], 1
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L11
	mov	edi, 41
	call	putchar@PLT
	jmp	.L12
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rec_print, .-rec_print
	.globl	print
	.type	print, @function
print:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rec_print
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print, .-print
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 200
	call	malloc@PLT
	mov	QWORD PTR heap[rip], rax
	mov	edi, 200
	call	malloc@PLT
	mov	QWORD PTR rootstack[rip], rax
	mov	rax, QWORD PTR heap[rip]
	mov	QWORD PTR free_ptr[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	initialize, .-initialize
	.section	.rodata
.LC5:
	.string	"expected a number: %#010x\n"
	.text
	.globl	error_not_number
	.type	error_not_number, @function
error_not_number:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	error_not_number, .-error_not_number
	.section	.rodata
.LC6:
	.string	"expected a boolean: %#010x\n"
	.text
	.globl	error_not_bool
	.type	error_not_bool, @function
error_not_bool:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	error_not_bool, .-error_not_bool
	.section	.rodata
.LC7:
	.string	"expected a tuple: %#010x\n"
	.text
	.globl	error_not_tuple
	.type	error_not_tuple, @function
error_not_tuple:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.size	error_not_tuple, .-error_not_tuple
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"225142595.c"
	.text
	.comm	heap,4,4
	.comm	rootstack,4,4
	.comm	free_ptr,4,4
	.global	TRUE
	.section	.rodata
	.align	3
	.type	TRUE, %object
	.size	TRUE, 8
TRUE:
	.word	-1
	.word	-1
	.global	FALSE
	.align	3
	.type	FALSE, %object
	.size	FALSE, 8
FALSE:
	.word	-1
	.word	2147483647
	.align	2
.LC0:
	.ascii	"%lld\000"
	.align	2
.LC1:
	.ascii	"#t\000"
	.align	2
.LC2:
	.ascii	"#f\000"
	.align	2
.LC3:
	.ascii	", \000"
	.align	2
.LC4:
	.ascii	"Unknown value: %#010x\000"
	.text
	.align	2
	.global	rec_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	rec_print, %function
rec_print:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #32
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r6, #1
	mov	r7, #0
	and	r4, r0, r6
	and	r5, r1, r7
	orrs	r1, r4, r5
	bne	.L2
	mov	r1, #1
	b	.L3
.L2:
	mov	r1, #0
.L3:
	cmp	r1, #0
	beq	.L4
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #1
	orr	r2, r2, r1, lsl #31
	asr	r3, r1, #1
	ldr	r0, .L13
	bl	printf
	b	.L12
.L4:
	mvn	r4, #0
	mvn	r5, #0
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r1, r5
	cmpeq	r0, r4
	bne	.L6
	ldr	r0, .L13+4
	bl	printf
	b	.L12
.L6:
	mvn	r4, #0
	mvn	r5, #-2147483648
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r1, r5
	cmpeq	r0, r4
	bne	.L7
	ldr	r0, .L13+8
	bl	printf
	b	.L12
.L7:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	mov	r4, #3
	mov	r5, #0
	and	r2, r0, r4
	and	r3, r1, r5
	cmp	r3, #0
	cmpeq	r2, #1
	bne	.L8
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	subs	r8, r2, #1
	sbc	r9, r3, #0
	mov	r3, r8
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	ldmia	r3, {r2-r3}
	mov	r3, r2
	str	r3, [fp, #-40]
	mov	r0, #40
	bl	putchar
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L9
.L11:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	rec_print
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	beq	.L10
	ldr	r0, .L13+12
	bl	printf
.L10:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L9:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bge	.L11
	mov	r0, #41
	bl	putchar
	b	.L12
.L8:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L13+16
	bl	printf
.L12:
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	rec_print, .-rec_print
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	rec_print
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print, .-print
	.align	2
	.global	initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize, %function
initialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #200
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18
	str	r2, [r3]
	mov	r0, #200
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+4
	str	r2, [r3]
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, .L18+8
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	heap
	.word	rootstack
	.word	free_ptr
	.size	initialize, .-initialize
	.section	.rodata
	.align	2
.LC5:
	.ascii	"expected a number: %#010x\012\000"
	.text
	.align	2
	.global	error_not_number
	.syntax unified
	.arm
	.fpu softvfp
	.type	error_not_number, %function
error_not_number:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, .L21
	ldr	r4, [r3]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	print
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L21+4
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L22:
	.align	2
.L21:
	.word	stderr
	.word	.LC5
	.size	error_not_number, .-error_not_number
	.section	.rodata
	.align	2
.LC6:
	.ascii	"expected a boolean: %#010x\012\000"
	.text
	.align	2
	.global	error_not_bool
	.syntax unified
	.arm
	.fpu softvfp
	.type	error_not_bool, %function
error_not_bool:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	ldr	r3, .L24
	ldr	r0, [r3]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r1, .L24+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L25:
	.align	2
.L24:
	.word	stderr
	.word	.LC6
	.size	error_not_bool, .-error_not_bool
	.section	.rodata
	.align	2
.LC7:
	.ascii	"expected a tuple: %#010x\012\000"
	.text
	.align	2
	.global	error_not_tuple
	.syntax unified
	.arm
	.fpu softvfp
	.type	error_not_tuple, %function
error_not_tuple:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	ldr	r3, .L27
	ldr	r0, [r3]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r1, .L27+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L28:
	.align	2
.L27:
	.word	stderr
	.word	.LC7
	.size	error_not_tuple, .-error_not_tuple
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
