	.file	"192331988.c"
	.intel_syntax noprefix
	.text
	.local	test_num_passed
	.comm	test_num_passed,4,4
	.local	test_num_failed
	.comm	test_num_failed,4,4
	.section	.rodata
.LC0:
	.string	"======"
	.text
	.globl	test_start
	.type	test_start, @function
test_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR test_num_passed[rip], 0
	mov	DWORD PTR test_num_failed[rip], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	test_start, .-test_start
	.section	.rodata
.LC1:
	.string	"%d tests ran\n"
.LC2:
	.string	"\033[0m"
.LC3:
	.string	"\033[0;32m"
.LC4:
	.string	"%sALL TESTS PASSED!%s\n"
.LC5:
	.string	"test"
.LC6:
	.string	"tests"
.LC7:
	.string	"%s%d %s passed %s\n"
.LC8:
	.string	"\033[0;31m"
.LC9:
	.string	"%s%d %s failed %s\n"
	.text
	.globl	test_end
	.type	test_end, @function
test_end:
.LFB1:
	.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	edx, DWORD PTR test_num_passed[rip]
	mov	eax, DWORD PTR test_num_failed[rip]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR test_num_passed[rip]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L3
	lea	rdx, .LC2[rip]
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L3:
	mov	eax, DWORD PTR test_num_passed[rip]
	test	eax, eax
	je	.L5
	mov	eax, DWORD PTR test_num_passed[rip]
	cmp	eax, 1
	jne	.L6
	lea	rax, .LC5[rip]
	jmp	.L7
.L6:
	lea	rax, .LC6[rip]
.L7:
	mov	edx, DWORD PTR test_num_passed[rip]
	lea	r8, .LC2[rip]
	mov	rcx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	eax, DWORD PTR test_num_failed[rip]
	test	eax, eax
	je	.L2
	mov	eax, DWORD PTR test_num_failed[rip]
	cmp	eax, 1
	jne	.L8
	lea	rax, .LC5[rip]
	jmp	.L9
.L8:
	lea	rax, .LC6[rip]
.L9:
	mov	edx, DWORD PTR test_num_failed[rip]
	lea	r8, .LC2[rip]
	mov	rcx, rax
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	test_end, .-test_end
	.section	.rodata
.LC10:
	.string	"PASS"
.LC11:
	.string	"%s[%s]%s %s\n"
.LC12:
	.string	"FAIL"
	.text
	.globl	test
	.type	test, @function
test:
.LFB2:
	.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	eax, esi
	mov	BYTE PTR -12[rbp], al
	cmp	BYTE PTR -12[rbp], 0
	je	.L11
	mov	eax, DWORD PTR test_num_passed[rip]
	add	eax, 1
	mov	DWORD PTR test_num_passed[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	r8, rax
	lea	rcx, .LC2[rip]
	lea	rdx, .LC10[rip]
	lea	rsi, .LC3[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L11:
	mov	eax, DWORD PTR test_num_failed[rip]
	add	eax, 1
	mov	DWORD PTR test_num_failed[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	r8, rax
	lea	rcx, .LC2[rip]
	lea	rdx, .LC12[rip]
	lea	rsi, .LC8[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	test, .-test
	.globl	add
	.type	add, @function
add:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	add, .-add
	.globl	sub
	.type	sub, @function
sub:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	sub, .-sub
	.section	.rodata
.LC13:
	.string	"Adding"
.LC14:
	.string	"#      %s:\n"
.LC15:
	.string	"10 + 20 = 30"
.LC16:
	.string	"1 + 1 = 2"
.LC17:
	.string	"Subtracting"
.LC18:
	.string	"10 - 20 = -1"
.LC19:
	.string	"1 - 1 = 0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	test_start
	lea	rsi, .LC13[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 20
	mov	edi, 10
	call	add
	cmp	eax, 30
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	call	test
	mov	esi, 1
	mov	edi, 1
	call	add
	cmp	eax, 2
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC16[rip]
	call	test
	lea	rsi, .LC17[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 20
	mov	edi, 10
	call	sub
	cmp	eax, -10
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC18[rip]
	call	test
	mov	esi, 1
	mov	edi, 1
	call	sub
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC19[rip]
	call	test
	mov	eax, 0
	call	test_end
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.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	"192331988.c"
	.text
	.local	test_num_passed
	.comm	test_num_passed,4,4
	.local	test_num_failed
	.comm	test_num_failed,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"======\000"
	.text
	.align	2
	.global	test_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_start, %function
test_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L2+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L2+8
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	test_num_passed
	.word	test_num_failed
	.word	.LC0
	.size	test_start, .-test_start
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d tests ran\012\000"
	.align	2
.LC2:
	.ascii	"\033[0m\000"
	.align	2
.LC3:
	.ascii	"\033[0;32m\000"
	.align	2
.LC4:
	.ascii	"%sALL TESTS PASSED!%s\012\000"
	.align	2
.LC5:
	.ascii	"test\000"
	.align	2
.LC6:
	.ascii	"tests\000"
	.align	2
.LC7:
	.ascii	"%s%d %s passed %s\012\000"
	.align	2
.LC8:
	.ascii	"\033[0;31m\000"
	.align	2
.LC9:
	.ascii	"%s%d %s failed %s\012\000"
	.text
	.align	2
	.global	test_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_end, %function
test_end:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r0, .L12+8
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L5
	ldr	r2, .L12+16
	ldr	r1, .L12+20
	ldr	r0, .L12+24
	bl	printf
	b	.L4
.L5:
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L8
	ldr	r3, .L12+28
	b	.L9
.L8:
	ldr	r3, .L12+32
.L9:
	ldr	r1, .L12+16
	str	r1, [sp]
	ldr	r1, .L12+20
	ldr	r0, .L12+36
	bl	printf
.L7:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L10
	ldr	r3, .L12+28
	b	.L11
.L10:
	ldr	r3, .L12+32
.L11:
	ldr	r1, .L12+16
	str	r1, [sp]
	ldr	r1, .L12+40
	ldr	r0, .L12+44
	bl	printf
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	test_num_passed
	.word	test_num_failed
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	test_end, .-test_end
	.section	.rodata
	.align	2
.LC10:
	.ascii	"PASS\000"
	.align	2
.LC11:
	.ascii	"%s[%s]%s %s\012\000"
	.align	2
.LC12:
	.ascii	"FAIL\000"
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	mov	r3, r1
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L18
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L18
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, .L18+4
	ldr	r2, .L18+8
	ldr	r1, .L18+12
	ldr	r0, .L18+16
	bl	printf
	b	.L17
.L15:
	ldr	r3, .L18+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L18+20
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, .L18+4
	ldr	r2, .L18+24
	ldr	r1, .L18+28
	ldr	r0, .L18+16
	bl	printf
.L17:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	test_num_passed
	.word	.LC2
	.word	.LC10
	.word	.LC3
	.word	.LC11
	.word	test_num_failed
	.word	.LC12
	.word	.LC8
	.size	test, .-test
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	add, .-add
	.align	2
	.global	sub
	.syntax unified
	.arm
	.fpu softvfp
	.type	sub, %function
sub:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sub, .-sub
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Adding\000"
	.align	2
.LC14:
	.ascii	"#      %s:\012\000"
	.align	2
.LC15:
	.ascii	"10 + 20 = 30\000"
	.align	2
.LC16:
	.ascii	"1 + 1 = 2\000"
	.align	2
.LC17:
	.ascii	"Subtracting\000"
	.align	2
.LC18:
	.ascii	"10 - 20 = -1\000"
	.align	2
.LC19:
	.ascii	"1 - 1 = 0\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	test_start
	ldr	r1, .L25
	ldr	r0, .L25+4
	bl	printf
	mov	r1, #20
	mov	r0, #10
	bl	add
	mov	r3, r0
	cmp	r3, #30
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L25+8
	bl	test
	mov	r1, #1
	mov	r0, #1
	bl	add
	mov	r3, r0
	cmp	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L25+12
	bl	test
	ldr	r1, .L25+16
	ldr	r0, .L25+4
	bl	printf
	mov	r1, #20
	mov	r0, #10
	bl	sub
	mov	r3, r0
	cmn	r3, #10
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L25+20
	bl	test
	mov	r1, #1
	mov	r0, #1
	bl	sub
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L25+24
	bl	test
	bl	test_end
	nop
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
